false
true
0

Contract Address Details

0xC5c84c5b07e927178C001B87F3Cdf7ca1B36Ea68

Contract Name
PresaleClaim
Creator
0xe84973–4f1867 at 0x55e18b–6974f8
Balance
0 PLS ( )
Tokens
Fetching tokens...
Transactions
Fetching transactions...
Transfers
Fetching transfers...
Gas Used
Fetching gas used...
Last Balance Update
26211282
Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
This contract has been partially verified via Sourcify. View contract in Sourcify repository
Contract name:
PresaleClaim




Optimization enabled
false
Compiler version
v0.8.0+commit.c7dfd78e




EVM Version
istanbul




Verified at
2026-04-06T02:40:20.861879Z

Constructor Arguments

000000000000000000000000000000000000000000000000000000000000000f0000000000000000000000000000000000000000000000000000000061c487e800000000000000000000000000000000000000000000000000000000621644e80000000000000000000000000000000000000000000000000000000000c5c100

Arg [0] (uint256) : 15
Arg [1] (uint256) : 1640269800
Arg [2] (uint256) : 1645626600
Arg [3] (uint256) : 12960000

              

/contracts/PresaleClaim.sol

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import '@openzeppelin/contracts/access/Ownable.sol';

interface IPresale {
  function buyTokens(address) view external returns (uint256);
}

contract PresaleClaim is Ownable {
  IERC20 kataToken;
  IPresale presale;

  mapping(address => uint256) public claimedTokens;

  uint256 public tgeAmount = 15;
  uint256 public tgeCliffTime = 1645617600;
  uint256 public tgeTime = 1640260800;
  uint256 public duration = 60 * 60 * 24 * 30 * 5;    // 5 months

  constructor(uint256 _tgeAmount, uint256 _tgeTime, uint256 _tgeCliffTime, uint256 _duration) {
    tgeAmount = _tgeAmount;
    tgeTime = _tgeTime;
    tgeCliffTime = _tgeCliffTime;
    duration = _duration;
  }

  function getClaimable(uint256 timestamp) public view returns(uint256) {
    uint256 buyTokens = presale.buyTokens(msg.sender);

    if (timestamp < tgeTime) return 0;
    if (timestamp < tgeCliffTime) {
      uint256 claimable = (buyTokens * tgeAmount) / 100;
      if (claimedTokens[msg.sender] > claimable) {
        return 0;
      }
      claimable = claimable - claimedTokens[msg.sender];
      return claimable;
    }
    if (buyTokens <= 0) return 0;
    if (buyTokens <= claimedTokens[msg.sender]) return 0;

    uint256 timeElapsed = timestamp - tgeCliffTime;

    if (timeElapsed > duration)
        timeElapsed = duration;

    uint256 _tge = 100 - tgeAmount;
    uint256 unlockedPercent = (10**6 * _tge * timeElapsed) / duration;
    unlockedPercent = unlockedPercent + tgeAmount * 10**6;

    uint256 unlockedAmount = (buyTokens * unlockedPercent) / (100 * 10**6);

    if (unlockedAmount < claimedTokens[msg.sender]) {
      return 0;
    }

    if (claimedTokens[msg.sender] > unlockedAmount) {
      return 0;
    } else {
      uint256 claimable = unlockedAmount - claimedTokens[msg.sender];

      return claimable;
    }
  }

  function claim() external {
    uint256 buyTokens = presale.buyTokens(msg.sender);

    require(buyTokens > 0, "No token purchased");
    require(buyTokens > claimedTokens[msg.sender], "You already claimed all");
    require(address(kataToken) != address(0), "Not initialised");

    uint256 claimable = getClaimable(block.timestamp);

    require (claimable > 0, "No token to claim");

    kataToken.transfer(msg.sender, claimable);

    claimedTokens[msg.sender] = claimedTokens[msg.sender] + claimable;
  }

  function setVesting(uint256 _tgeAmount, uint256 _tgeTime, uint256 _tgeCliffTime, uint256 _duration) external onlyOwner {
    tgeAmount = _tgeAmount;
    tgeTime = _tgeTime;
    tgeCliffTime = _tgeCliffTime;
    duration = _duration;
  }

  function setKataToken(address _kata) external onlyOwner {
    kataToken = IERC20(_kata);
  }

  function setPresale(address _presale) external onlyOwner {
    presale = IPresale(_presale);
  }
}
        

/IERC20.sol

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

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}
          

/Ownable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

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

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

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

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}
          

/Context.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}
          

Compiler Settings

{"remappings":[],"optimizer":{"runs":200,"enabled":false},"metadata":{"bytecodeHash":"ipfs"},"libraries":{},"evmVersion":"istanbul","compilationTarget":{"/contracts/PresaleClaim.sol":"PresaleClaim"}}
              

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"uint256","name":"_tgeAmount","internalType":"uint256"},{"type":"uint256","name":"_tgeTime","internalType":"uint256"},{"type":"uint256","name":"_tgeCliffTime","internalType":"uint256"},{"type":"uint256","name":"_duration","internalType":"uint256"}]},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"claim","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"claimedTokens","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"duration","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getClaimable","inputs":[{"type":"uint256","name":"timestamp","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setKataToken","inputs":[{"type":"address","name":"_kata","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setPresale","inputs":[{"type":"address","name":"_presale","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setVesting","inputs":[{"type":"uint256","name":"_tgeAmount","internalType":"uint256"},{"type":"uint256","name":"_tgeTime","internalType":"uint256"},{"type":"uint256","name":"_tgeCliffTime","internalType":"uint256"},{"type":"uint256","name":"_duration","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"tgeAmount","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"tgeCliffTime","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"tgeTime","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]}]
              

Contract Creation Code

Verify & Publish
0x6080604052600f60045563621621c06005556361c464c060065562c5c1006007553480156200002d57600080fd5b50604051620016e5380380620016e583398181016040528101906200005391906200017c565b62000073620000676200009960201b60201c565b620000a160201b60201c565b83600481905550826006819055508160058190555080600781905550505050506200020c565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000815190506200017681620001f2565b92915050565b600080600080608085870312156200019357600080fd5b6000620001a38782880162000165565b9450506020620001b68782880162000165565b9350506040620001c98782880162000165565b9250506060620001dc8782880162000165565b91505092959194509250565b6000819050919050565b620001fd81620001e8565b81146200020957600080fd5b50565b6114c9806200021c6000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c806378878b5d1161008c5780639c7e4a66116100665780639c7e4a66146101b6578063a960c65f146101e6578063d5fcc7b614610216578063f2fde38b14610232576100cf565b806378878b5d1461015e5780637910d9fd1461017c5780638da5cb5b14610198576100cf565b80630fb5a6b4146100d45780631091827a146100f25780632ce71832146101105780633163e3a81461012c5780634e71d92d1461014a578063715018a614610154575b600080fd5b6100dc61024e565b6040516100e99190611267565b60405180910390f35b6100fa610254565b6040516101079190611267565b60405180910390f35b61012a60048036038101906101259190610f3c565b61025a565b005b6101346102f8565b6040516101419190611267565b60405180910390f35b6101526102fe565b005b61015c610695565b005b61016661071d565b6040516101739190611267565b60405180910390f35b61019660048036038101906101919190610e98565b610723565b005b6101a06107e3565b6040516101ad9190611163565b60405180910390f35b6101d060048036038101906101cb9190610eea565b61080c565b6040516101dd9190611267565b60405180910390f35b61020060048036038101906101fb9190610e98565b610ba8565b60405161020d9190611267565b60405180910390f35b610230600480360381019061022b9190610e98565b610bc0565b005b61024c60048036038101906102479190610e98565b610c80565b005b60075481565b60045481565b610262610d78565b73ffffffffffffffffffffffffffffffffffffffff166102806107e3565b73ffffffffffffffffffffffffffffffffffffffff16146102d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102cd90611207565b60405180910390fd5b8360048190555082600681905550816005819055508060078190555050505050565b60065481565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ec8ac4d8336040518263ffffffff1660e01b815260040161035b9190611163565b60206040518083038186803b15801561037357600080fd5b505afa158015610387573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103ab9190610f13565b9050600081116103f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103e790611247565b60405180910390fd5b600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548111610471576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610468906111c7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610503576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104fa90611227565b60405180910390fd5b600061050e4261080c565b905060008111610553576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161054a906111e7565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b81526004016105b092919061117e565b602060405180830381600087803b1580156105ca57600080fd5b505af11580156105de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106029190610ec1565b5080600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461064e9190611293565b600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b61069d610d78565b73ffffffffffffffffffffffffffffffffffffffff166106bb6107e3565b73ffffffffffffffffffffffffffffffffffffffff1614610711576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070890611207565b60405180910390fd5b61071b6000610d80565b565b60055481565b61072b610d78565b73ffffffffffffffffffffffffffffffffffffffff166107496107e3565b73ffffffffffffffffffffffffffffffffffffffff161461079f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079690611207565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ec8ac4d8336040518263ffffffff1660e01b815260040161086a9190611163565b60206040518083038186803b15801561088257600080fd5b505afa158015610896573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ba9190610f13565b90506006548310156108d0576000915050610ba3565b6005548310156109a15760006064600454836108ec919061131a565b6108f691906112e9565b905080600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054111561094a57600092505050610ba3565b600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054816109959190611374565b90508092505050610ba3565b600081116109b3576000915050610ba3565b600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548111610a03576000915050610ba3565b600060055484610a139190611374565b9050600754811115610a255760075490505b60006004546064610a369190611374565b905060006007548383620f4240610a4d919061131a565b610a57919061131a565b610a6191906112e9565b9050620f4240600454610a74919061131a565b81610a7f9190611293565b905060006305f5e1008286610a94919061131a565b610a9e91906112e9565b9050600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054811015610af557600095505050505050610ba3565b80600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541115610b4a57600095505050505050610ba3565b6000600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205482610b979190611374565b90508096505050505050505b919050565b60036020528060005260406000206000915090505481565b610bc8610d78565b73ffffffffffffffffffffffffffffffffffffffff16610be66107e3565b73ffffffffffffffffffffffffffffffffffffffff1614610c3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3390611207565b60405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610c88610d78565b73ffffffffffffffffffffffffffffffffffffffff16610ca66107e3565b73ffffffffffffffffffffffffffffffffffffffff1614610cfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf390611207565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d63906111a7565b60405180910390fd5b610d7581610d80565b50565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081359050610e538161144e565b92915050565b600081519050610e6881611465565b92915050565b600081359050610e7d8161147c565b92915050565b600081519050610e928161147c565b92915050565b600060208284031215610eaa57600080fd5b6000610eb884828501610e44565b91505092915050565b600060208284031215610ed357600080fd5b6000610ee184828501610e59565b91505092915050565b600060208284031215610efc57600080fd5b6000610f0a84828501610e6e565b91505092915050565b600060208284031215610f2557600080fd5b6000610f3384828501610e83565b91505092915050565b60008060008060808587031215610f5257600080fd5b6000610f6087828801610e6e565b9450506020610f7187828801610e6e565b9350506040610f8287828801610e6e565b9250506060610f9387828801610e6e565b91505092959194509250565b610fa8816113a8565b82525050565b6000610fbb602683611282565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611021601783611282565b91507f596f7520616c726561647920636c61696d656420616c6c0000000000000000006000830152602082019050919050565b6000611061601183611282565b91507f4e6f20746f6b656e20746f20636c61696d0000000000000000000000000000006000830152602082019050919050565b60006110a1602083611282565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b60006110e1600f83611282565b91507f4e6f7420696e697469616c6973656400000000000000000000000000000000006000830152602082019050919050565b6000611121601283611282565b91507f4e6f20746f6b656e2070757263686173656400000000000000000000000000006000830152602082019050919050565b61115d816113e6565b82525050565b60006020820190506111786000830184610f9f565b92915050565b60006040820190506111936000830185610f9f565b6111a06020830184611154565b9392505050565b600060208201905081810360008301526111c081610fae565b9050919050565b600060208201905081810360008301526111e081611014565b9050919050565b6000602082019050818103600083015261120081611054565b9050919050565b6000602082019050818103600083015261122081611094565b9050919050565b60006020820190508181036000830152611240816110d4565b9050919050565b6000602082019050818103600083015261126081611114565b9050919050565b600060208201905061127c6000830184611154565b92915050565b600082825260208201905092915050565b600061129e826113e6565b91506112a9836113e6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156112de576112dd6113f0565b5b828201905092915050565b60006112f4826113e6565b91506112ff836113e6565b92508261130f5761130e61141f565b5b828204905092915050565b6000611325826113e6565b9150611330836113e6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611369576113686113f0565b5b828202905092915050565b600061137f826113e6565b915061138a836113e6565b92508282101561139d5761139c6113f0565b5b828203905092915050565b60006113b3826113c6565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b611457816113a8565b811461146257600080fd5b50565b61146e816113ba565b811461147957600080fd5b50565b611485816113e6565b811461149057600080fd5b5056fea2646970667358221220c08c696708e27c6ef52a997a6a1fdf4fc718df75c02e32b2a3778bcfe98f702d64736f6c63430008000033000000000000000000000000000000000000000000000000000000000000000f0000000000000000000000000000000000000000000000000000000061c487e800000000000000000000000000000000000000000000000000000000621644e80000000000000000000000000000000000000000000000000000000000c5c100

Deployed ByteCode

0x608060405234801561001057600080fd5b50600436106100cf5760003560e01c806378878b5d1161008c5780639c7e4a66116100665780639c7e4a66146101b6578063a960c65f146101e6578063d5fcc7b614610216578063f2fde38b14610232576100cf565b806378878b5d1461015e5780637910d9fd1461017c5780638da5cb5b14610198576100cf565b80630fb5a6b4146100d45780631091827a146100f25780632ce71832146101105780633163e3a81461012c5780634e71d92d1461014a578063715018a614610154575b600080fd5b6100dc61024e565b6040516100e99190611267565b60405180910390f35b6100fa610254565b6040516101079190611267565b60405180910390f35b61012a60048036038101906101259190610f3c565b61025a565b005b6101346102f8565b6040516101419190611267565b60405180910390f35b6101526102fe565b005b61015c610695565b005b61016661071d565b6040516101739190611267565b60405180910390f35b61019660048036038101906101919190610e98565b610723565b005b6101a06107e3565b6040516101ad9190611163565b60405180910390f35b6101d060048036038101906101cb9190610eea565b61080c565b6040516101dd9190611267565b60405180910390f35b61020060048036038101906101fb9190610e98565b610ba8565b60405161020d9190611267565b60405180910390f35b610230600480360381019061022b9190610e98565b610bc0565b005b61024c60048036038101906102479190610e98565b610c80565b005b60075481565b60045481565b610262610d78565b73ffffffffffffffffffffffffffffffffffffffff166102806107e3565b73ffffffffffffffffffffffffffffffffffffffff16146102d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102cd90611207565b60405180910390fd5b8360048190555082600681905550816005819055508060078190555050505050565b60065481565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ec8ac4d8336040518263ffffffff1660e01b815260040161035b9190611163565b60206040518083038186803b15801561037357600080fd5b505afa158015610387573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103ab9190610f13565b9050600081116103f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103e790611247565b60405180910390fd5b600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548111610471576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610468906111c7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610503576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104fa90611227565b60405180910390fd5b600061050e4261080c565b905060008111610553576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161054a906111e7565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b81526004016105b092919061117e565b602060405180830381600087803b1580156105ca57600080fd5b505af11580156105de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106029190610ec1565b5080600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461064e9190611293565b600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b61069d610d78565b73ffffffffffffffffffffffffffffffffffffffff166106bb6107e3565b73ffffffffffffffffffffffffffffffffffffffff1614610711576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070890611207565b60405180910390fd5b61071b6000610d80565b565b60055481565b61072b610d78565b73ffffffffffffffffffffffffffffffffffffffff166107496107e3565b73ffffffffffffffffffffffffffffffffffffffff161461079f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079690611207565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ec8ac4d8336040518263ffffffff1660e01b815260040161086a9190611163565b60206040518083038186803b15801561088257600080fd5b505afa158015610896573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ba9190610f13565b90506006548310156108d0576000915050610ba3565b6005548310156109a15760006064600454836108ec919061131a565b6108f691906112e9565b905080600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054111561094a57600092505050610ba3565b600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054816109959190611374565b90508092505050610ba3565b600081116109b3576000915050610ba3565b600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548111610a03576000915050610ba3565b600060055484610a139190611374565b9050600754811115610a255760075490505b60006004546064610a369190611374565b905060006007548383620f4240610a4d919061131a565b610a57919061131a565b610a6191906112e9565b9050620f4240600454610a74919061131a565b81610a7f9190611293565b905060006305f5e1008286610a94919061131a565b610a9e91906112e9565b9050600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054811015610af557600095505050505050610ba3565b80600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541115610b4a57600095505050505050610ba3565b6000600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205482610b979190611374565b90508096505050505050505b919050565b60036020528060005260406000206000915090505481565b610bc8610d78565b73ffffffffffffffffffffffffffffffffffffffff16610be66107e3565b73ffffffffffffffffffffffffffffffffffffffff1614610c3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3390611207565b60405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610c88610d78565b73ffffffffffffffffffffffffffffffffffffffff16610ca66107e3565b73ffffffffffffffffffffffffffffffffffffffff1614610cfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf390611207565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d63906111a7565b60405180910390fd5b610d7581610d80565b50565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081359050610e538161144e565b92915050565b600081519050610e6881611465565b92915050565b600081359050610e7d8161147c565b92915050565b600081519050610e928161147c565b92915050565b600060208284031215610eaa57600080fd5b6000610eb884828501610e44565b91505092915050565b600060208284031215610ed357600080fd5b6000610ee184828501610e59565b91505092915050565b600060208284031215610efc57600080fd5b6000610f0a84828501610e6e565b91505092915050565b600060208284031215610f2557600080fd5b6000610f3384828501610e83565b91505092915050565b60008060008060808587031215610f5257600080fd5b6000610f6087828801610e6e565b9450506020610f7187828801610e6e565b9350506040610f8287828801610e6e565b9250506060610f9387828801610e6e565b91505092959194509250565b610fa8816113a8565b82525050565b6000610fbb602683611282565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611021601783611282565b91507f596f7520616c726561647920636c61696d656420616c6c0000000000000000006000830152602082019050919050565b6000611061601183611282565b91507f4e6f20746f6b656e20746f20636c61696d0000000000000000000000000000006000830152602082019050919050565b60006110a1602083611282565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b60006110e1600f83611282565b91507f4e6f7420696e697469616c6973656400000000000000000000000000000000006000830152602082019050919050565b6000611121601283611282565b91507f4e6f20746f6b656e2070757263686173656400000000000000000000000000006000830152602082019050919050565b61115d816113e6565b82525050565b60006020820190506111786000830184610f9f565b92915050565b60006040820190506111936000830185610f9f565b6111a06020830184611154565b9392505050565b600060208201905081810360008301526111c081610fae565b9050919050565b600060208201905081810360008301526111e081611014565b9050919050565b6000602082019050818103600083015261120081611054565b9050919050565b6000602082019050818103600083015261122081611094565b9050919050565b60006020820190508181036000830152611240816110d4565b9050919050565b6000602082019050818103600083015261126081611114565b9050919050565b600060208201905061127c6000830184611154565b92915050565b600082825260208201905092915050565b600061129e826113e6565b91506112a9836113e6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156112de576112dd6113f0565b5b828201905092915050565b60006112f4826113e6565b91506112ff836113e6565b92508261130f5761130e61141f565b5b828204905092915050565b6000611325826113e6565b9150611330836113e6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611369576113686113f0565b5b828202905092915050565b600061137f826113e6565b915061138a836113e6565b92508282101561139d5761139c6113f0565b5b828203905092915050565b60006113b3826113c6565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b611457816113a8565b811461146257600080fd5b50565b61146e816113ba565b811461147957600080fd5b50565b611485816113e6565b811461149057600080fd5b5056fea2646970667358221220c08c696708e27c6ef52a997a6a1fdf4fc718df75c02e32b2a3778bcfe98f702d64736f6c63430008000033