Address Details
contract
token

0xf4361a8Fbcf6b6A2402f1A1d6c4b945e59a29934

Token
PLASTIK Token (PLASTIK)
Creator
0x22cac6–aef142 at 0x31b798–df7fd6
Balance
0 CELO ( )
Locked CELO Balance
0.00 CELO
Voting CELO Balance
0.00 CELO
Pending Unlocked Gold
0.00 CELO
Tokens
Fetching tokens...
Transactions
414 Transactions
Transfers
6 Transfers
Gas Used
15,106,645
Last Balance Update
24265715
This contract has been verified via Sourcify. View contract in Sourcify repository
Contract name:
PlastikToken




Optimization enabled
false
Compiler version
v0.8.13+commit.abaa5c0e




EVM Version
london




Verified at
2022-05-06T13:05:41.275171Z

PlastikToken.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Pausable.sol";


contract PlastikToken is ERC20, ERC20Pausable {
    
    address private _owner;
    mapping(address => bool) private _lockers;
    mapping(address => uint256) private _locks;
    
    constructor() ERC20("PLASTIK Token", "PLASTIK") {
        _owner = _msgSender();
        _lockers[_msgSender()] = true;
        _mint(_msgSender(), 1000000000 * (10 ** decimals()));
    }

    modifier onlyOwner {
      require(msg.sender == _owner);
      _;
    }

    function pause() public virtual onlyOwner {
        _pause();
    }

    function unpause() public virtual onlyOwner {
        _unpause();
    }
    
    function decimals() public view virtual override(ERC20) returns (uint8) {
        return 9;
    }
    
    function setLocker(address locker, bool canLock) public virtual onlyOwner {
        _lockers[locker] = canLock;
    }
    
    function getLockupTime(address _address) public view virtual returns (uint256) {
        return _locks[_address];
    }

    function transferWithLockup(address recipient, uint256 amount, uint numMonthsLockup) public virtual returns (bool) {
        require(numMonthsLockup > 0 && numMonthsLockup <= 12, "Lockup cannot be smaller than 0 or greater than 12 months");
        require(_lockers[_msgSender()], "Only lockers can lock");
        uint256 previousBalance = balanceOf(recipient);
        transfer(recipient, amount);
        if(_locks[recipient] == 0 && previousBalance == 0) {
            _locks[recipient] = block.timestamp + (numMonthsLockup * 4 weeks );
        }
        return true;
    }

    function transferFromWithLockup(address sender, address recipient, uint256 amount, uint numMonthsLockup) public virtual returns (bool) {
        require(numMonthsLockup > 0 && numMonthsLockup <= 12, "Lockup cannot be smaller than 0 or greater than 12 months");
        require(_lockers[_msgSender()], "Only lockers can lock");
        uint256 previousBalance = balanceOf(recipient);
        transferFrom(sender, recipient, amount);
        if(_locks[recipient] == 0 && previousBalance == 0) {
            _locks[recipient] = block.timestamp + (numMonthsLockup * 4 weeks );
        }
        return true;
    }
    
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual override(ERC20, ERC20Pausable) {
        require(_owner == from || _locks[from] == 0 || _locks[from] <= block.timestamp, "Wallet is locked");
        super._beforeTokenTransfer(from, to, amount);
    }
}
        

/_openzeppelin/contracts/security/Pausable.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}
          

/_openzeppelin/contracts/token/ERC20/ERC20.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

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

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

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

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

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

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

        _afterTokenTransfer(address(0), account, amount);
    }

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

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

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

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal 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);
    }

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

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}
          

/_openzeppelin/contracts/token/ERC20/IERC20.sol

// SPDX-License-Identifier: MIT

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

/_openzeppelin/contracts/token/ERC20/extensions/ERC20Pausable.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC20.sol";
import "../../../security/Pausable.sol";

/**
 * @dev ERC20 token with pausable token transfers, minting and burning.
 *
 * Useful for scenarios such as preventing trades until the end of an evaluation
 * period, or having an emergency switch for freezing all token transfers in the
 * event of a large bug.
 */
abstract contract ERC20Pausable is ERC20, Pausable {
    /**
     * @dev See {ERC20-_beforeTokenTransfer}.
     *
     * Requirements:
     *
     * - the contract must not be paused.
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, amount);

        require(!paused(), "ERC20Pausable: token transfer while paused");
    }
}
          

/_openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}
          

/_openzeppelin/contracts/utils/Context.sol

// SPDX-License-Identifier: MIT

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

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":"Paused","inputs":[{"type":"address","name":"account","internalType":"address","indexed":false}],"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":"Unpaused","inputs":[{"type":"address","name":"account","internalType":"address","indexed":false}],"anonymous":false},{"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":"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":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getLockupTime","inputs":[{"type":"address","name":"_address","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":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"pause","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"paused","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setLocker","inputs":[{"type":"address","name":"locker","internalType":"address"},{"type":"bool","name":"canLock","internalType":"bool"}]},{"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":"recipient","internalType":"address"},{"type":"uint256","name":"amount","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":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferFromWithLockup","inputs":[{"type":"address","name":"sender","internalType":"address"},{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"},{"type":"uint256","name":"numMonthsLockup","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferWithLockup","inputs":[{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"},{"type":"uint256","name":"numMonthsLockup","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"unpause","inputs":[]}]
              

Contract Creation Code

0x60806040523480156200001157600080fd5b506040518060400160405280600d81526020017f504c415354494b20546f6b656e000000000000000000000000000000000000008152506040518060400160405280600781526020017f504c415354494b0000000000000000000000000000000000000000000000000081525081600390805190602001906200009692919062000539565b508060049080519060200190620000af92919062000539565b5050506000600560006101000a81548160ff021916908315150217905550620000dd620001d960201b60201c565b600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060016006600062000133620001d960201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620001d362000198620001d960201b60201c565b620001a8620001e160201b60201c565b600a620001b6919062000783565b633b9aca00620001c79190620007d4565b620001ea60201b60201c565b62000ab1565b600033905090565b60006009905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036200025c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002539062000896565b60405180910390fd5b62000270600083836200036260201b60201c565b8060026000828254620002849190620008b8565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254620002db9190620008b8565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405162000342919062000926565b60405180910390a36200035e60008383620004a860201b60201c565b5050565b8273ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480620003fe57506000600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054145b8062000449575042600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411155b6200048b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004829062000993565b60405180910390fd5b620004a3838383620004ad60201b62000de51760201c565b505050565b505050565b620004c58383836200051d60201b62000e3d1760201c565b620004d56200052260201b60201c565b1562000518576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200050f9062000a2b565b60405180910390fd5b505050565b505050565b6000600560009054906101000a900460ff16905090565b828054620005479062000a7c565b90600052602060002090601f0160209004810192826200056b5760008555620005b7565b82601f106200058657805160ff1916838001178555620005b7565b82800160010185558215620005b7579182015b82811115620005b657825182559160200191906001019062000599565b5b509050620005c69190620005ca565b5090565b5b80821115620005e5576000816000905550600101620005cb565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b600185111562000677578086048111156200064f576200064e620005e9565b5b60018516156200065f5780820291505b80810290506200066f8562000618565b94506200062f565b94509492505050565b60008262000692576001905062000765565b81620006a2576000905062000765565b8160018114620006bb5760028114620006c657620006fc565b600191505062000765565b60ff841115620006db57620006da620005e9565b5b8360020a915084821115620006f557620006f4620005e9565b5b5062000765565b5060208310610133831016604e8410600b8410161715620007365782820a90508381111562000730576200072f620005e9565b5b62000765565b62000745848484600162000625565b925090508184048111156200075f576200075e620005e9565b5b81810290505b9392505050565b6000819050919050565b600060ff82169050919050565b600062000790826200076c565b91506200079d8362000776565b9250620007cc7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848462000680565b905092915050565b6000620007e1826200076c565b9150620007ee836200076c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156200082a5762000829620005e9565b5b828202905092915050565b600082825260208201905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b60006200087e601f8362000835565b91506200088b8262000846565b602082019050919050565b60006020820190508181036000830152620008b1816200086f565b9050919050565b6000620008c5826200076c565b9150620008d2836200076c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156200090a5762000909620005e9565b5b828201905092915050565b62000920816200076c565b82525050565b60006020820190506200093d600083018462000915565b92915050565b7f57616c6c6574206973206c6f636b656400000000000000000000000000000000600082015250565b60006200097b60108362000835565b9150620009888262000943565b602082019050919050565b60006020820190508181036000830152620009ae816200096c565b9050919050565b7f45524332305061757361626c653a20746f6b656e207472616e7366657220776860008201527f696c652070617573656400000000000000000000000000000000000000000000602082015250565b600062000a13602a8362000835565b915062000a2082620009b5565b604082019050919050565b6000602082019050818103600083015262000a468162000a04565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000a9557607f821691505b60208210810362000aab5762000aaa62000a4d565b5b50919050565b6121928062000ac16000396000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c80635c975abb116100a257806395d89b411161007157806395d89b41146102e3578063a3ca4b4014610301578063a457c2d714610331578063a9059cbb14610361578063dd62ed3e1461039157610116565b80635c975abb1461026f57806362370ce11461028d57806370a08231146102a95780638456cb59146102d957610116565b8063313ce567116100e9578063313ce567146101b757806339509351146101d55780633f4ba83a146102055780634a909d5f1461020f5780635a5991821461023f57610116565b806306fdde031461011b578063095ea7b31461013957806318160ddd1461016957806323b872dd14610187575b600080fd5b6101236103c1565b60405161013091906115a9565b60405180910390f35b610153600480360381019061014e9190611664565b610453565b60405161016091906116bf565b60405180910390f35b610171610471565b60405161017e91906116e9565b60405180910390f35b6101a1600480360381019061019c9190611704565b61047b565b6040516101ae91906116bf565b60405180910390f35b6101bf610573565b6040516101cc9190611773565b60405180910390f35b6101ef60048036038101906101ea9190611664565b61057c565b6040516101fc91906116bf565b60405180910390f35b61020d610628565b005b6102296004803603810190610224919061178e565b61068c565b60405161023691906116bf565b60405180910390f35b610259600480360381019061025491906117e1565b610846565b60405161026691906116e9565b60405180910390f35b61027761088f565b60405161028491906116bf565b60405180910390f35b6102a760048036038101906102a2919061183a565b6108a6565b005b6102c360048036038101906102be91906117e1565b61095b565b6040516102d091906116e9565b60405180910390f35b6102e16109a3565b005b6102eb610a07565b6040516102f891906115a9565b60405180910390f35b61031b6004803603810190610316919061187a565b610a99565b60405161032891906116bf565b60405180910390f35b61034b60048036038101906103469190611664565b610c55565b60405161035891906116bf565b60405180910390f35b61037b60048036038101906103769190611664565b610d40565b60405161038891906116bf565b60405180910390f35b6103ab60048036038101906103a691906118e1565b610d5e565b6040516103b891906116e9565b60405180910390f35b6060600380546103d090611950565b80601f01602080910402602001604051908101604052809291908181526020018280546103fc90611950565b80156104495780601f1061041e57610100808354040283529160200191610449565b820191906000526020600020905b81548152906001019060200180831161042c57829003601f168201915b5050505050905090565b6000610467610460610e42565b8484610e4a565b6001905092915050565b6000600254905090565b6000610488848484611013565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006104d3610e42565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610553576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161054a906119f3565b60405180910390fd5b6105678561055f610e42565b858403610e4a565b60019150509392505050565b60006009905090565b600061061e610589610e42565b848460016000610597610e42565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546106199190611a42565b610e4a565b6001905092915050565b600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461068257600080fd5b61068a611292565b565b6000808211801561069e5750600c8211155b6106dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106d490611b0a565b60405180910390fd5b600660006106e9610e42565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610770576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161076790611b76565b60405180910390fd5b600061077b8561095b565b90506107878585610d40565b506000600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541480156107d75750600081145b1561083a576224ea00836107eb9190611b96565b426107f69190611a42565b600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60019150509392505050565b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600560009054906101000a900460ff16905090565b600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461090057600080fd5b80600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146109fd57600080fd5b610a05611334565b565b606060048054610a1690611950565b80601f0160208091040260200160405190810160405280929190818152602001828054610a4290611950565b8015610a8f5780601f10610a6457610100808354040283529160200191610a8f565b820191906000526020600020905b815481529060010190602001808311610a7257829003601f168201915b5050505050905090565b60008082118015610aab5750600c8211155b610aea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae190611b0a565b60405180910390fd5b60066000610af6610e42565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610b7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7490611b76565b60405180910390fd5b6000610b888561095b565b9050610b9586868661047b565b506000600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054148015610be55750600081145b15610c48576224ea0083610bf99190611b96565b42610c049190611a42565b600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6001915050949350505050565b60008060016000610c64610e42565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610d21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1890611c62565b60405180910390fd5b610d35610d2c610e42565b85858403610e4a565b600191505092915050565b6000610d54610d4d610e42565b8484611013565b6001905092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610df0838383610e3d565b610df861088f565b15610e38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2f90611cf4565b60405180910390fd5b505050565b505050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610eb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb090611d86565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610f28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1f90611e18565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161100691906116e9565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611082576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107990611eaa565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036110f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e890611f3c565b60405180910390fd5b6110fc8383836113d7565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611182576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117990611fce565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112159190611a42565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161127991906116e9565b60405180910390a361128c84848461150b565b50505050565b61129a61088f565b6112d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d09061203a565b60405180910390fd5b6000600560006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61131d610e42565b60405161132a9190612069565b60405180910390a1565b61133c61088f565b1561137c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611373906120d0565b60405180910390fd5b6001600560006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586113c0610e42565b6040516113cd9190612069565b60405180910390a1565b8273ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148061147257506000600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054145b806114bc575042600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411155b6114fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f29061213c565b60405180910390fd5b611506838383610de5565b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561154a57808201518184015260208101905061152f565b83811115611559576000848401525b50505050565b6000601f19601f8301169050919050565b600061157b82611510565b611585818561151b565b935061159581856020860161152c565b61159e8161155f565b840191505092915050565b600060208201905081810360008301526115c38184611570565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006115fb826115d0565b9050919050565b61160b816115f0565b811461161657600080fd5b50565b60008135905061162881611602565b92915050565b6000819050919050565b6116418161162e565b811461164c57600080fd5b50565b60008135905061165e81611638565b92915050565b6000806040838503121561167b5761167a6115cb565b5b600061168985828601611619565b925050602061169a8582860161164f565b9150509250929050565b60008115159050919050565b6116b9816116a4565b82525050565b60006020820190506116d460008301846116b0565b92915050565b6116e38161162e565b82525050565b60006020820190506116fe60008301846116da565b92915050565b60008060006060848603121561171d5761171c6115cb565b5b600061172b86828701611619565b935050602061173c86828701611619565b925050604061174d8682870161164f565b9150509250925092565b600060ff82169050919050565b61176d81611757565b82525050565b60006020820190506117886000830184611764565b92915050565b6000806000606084860312156117a7576117a66115cb565b5b60006117b586828701611619565b93505060206117c68682870161164f565b92505060406117d78682870161164f565b9150509250925092565b6000602082840312156117f7576117f66115cb565b5b600061180584828501611619565b91505092915050565b611817816116a4565b811461182257600080fd5b50565b6000813590506118348161180e565b92915050565b60008060408385031215611851576118506115cb565b5b600061185f85828601611619565b925050602061187085828601611825565b9150509250929050565b60008060008060808587031215611894576118936115cb565b5b60006118a287828801611619565b94505060206118b387828801611619565b93505060406118c48782880161164f565b92505060606118d58782880161164f565b91505092959194509250565b600080604083850312156118f8576118f76115cb565b5b600061190685828601611619565b925050602061191785828601611619565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061196857607f821691505b60208210810361197b5761197a611921565b5b50919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b60006119dd60288361151b565b91506119e882611981565b604082019050919050565b60006020820190508181036000830152611a0c816119d0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611a4d8261162e565b9150611a588361162e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611a8d57611a8c611a13565b5b828201905092915050565b7f4c6f636b75702063616e6e6f7420626520736d616c6c6572207468616e20302060008201527f6f722067726561746572207468616e203132206d6f6e74687300000000000000602082015250565b6000611af460398361151b565b9150611aff82611a98565b604082019050919050565b60006020820190508181036000830152611b2381611ae7565b9050919050565b7f4f6e6c79206c6f636b6572732063616e206c6f636b0000000000000000000000600082015250565b6000611b6060158361151b565b9150611b6b82611b2a565b602082019050919050565b60006020820190508181036000830152611b8f81611b53565b9050919050565b6000611ba18261162e565b9150611bac8361162e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611be557611be4611a13565b5b828202905092915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000611c4c60258361151b565b9150611c5782611bf0565b604082019050919050565b60006020820190508181036000830152611c7b81611c3f565b9050919050565b7f45524332305061757361626c653a20746f6b656e207472616e7366657220776860008201527f696c652070617573656400000000000000000000000000000000000000000000602082015250565b6000611cde602a8361151b565b9150611ce982611c82565b604082019050919050565b60006020820190508181036000830152611d0d81611cd1565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000611d7060248361151b565b9150611d7b82611d14565b604082019050919050565b60006020820190508181036000830152611d9f81611d63565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000611e0260228361151b565b9150611e0d82611da6565b604082019050919050565b60006020820190508181036000830152611e3181611df5565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000611e9460258361151b565b9150611e9f82611e38565b604082019050919050565b60006020820190508181036000830152611ec381611e87565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000611f2660238361151b565b9150611f3182611eca565b604082019050919050565b60006020820190508181036000830152611f5581611f19565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000611fb860268361151b565b9150611fc382611f5c565b604082019050919050565b60006020820190508181036000830152611fe781611fab565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b600061202460148361151b565b915061202f82611fee565b602082019050919050565b6000602082019050818103600083015261205381612017565b9050919050565b612063816115f0565b82525050565b600060208201905061207e600083018461205a565b92915050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006120ba60108361151b565b91506120c582612084565b602082019050919050565b600060208201905081810360008301526120e9816120ad565b9050919050565b7f57616c6c6574206973206c6f636b656400000000000000000000000000000000600082015250565b600061212660108361151b565b9150612131826120f0565b602082019050919050565b6000602082019050818103600083015261215581612119565b905091905056fea264697066735822122084f85bd3954dacc495919de2ed1b348539f7cea48f9fed47c9204eb9bfdb259864736f6c634300080d0033

Deployed ByteCode

0x608060405234801561001057600080fd5b50600436106101165760003560e01c80635c975abb116100a257806395d89b411161007157806395d89b41146102e3578063a3ca4b4014610301578063a457c2d714610331578063a9059cbb14610361578063dd62ed3e1461039157610116565b80635c975abb1461026f57806362370ce11461028d57806370a08231146102a95780638456cb59146102d957610116565b8063313ce567116100e9578063313ce567146101b757806339509351146101d55780633f4ba83a146102055780634a909d5f1461020f5780635a5991821461023f57610116565b806306fdde031461011b578063095ea7b31461013957806318160ddd1461016957806323b872dd14610187575b600080fd5b6101236103c1565b60405161013091906115a9565b60405180910390f35b610153600480360381019061014e9190611664565b610453565b60405161016091906116bf565b60405180910390f35b610171610471565b60405161017e91906116e9565b60405180910390f35b6101a1600480360381019061019c9190611704565b61047b565b6040516101ae91906116bf565b60405180910390f35b6101bf610573565b6040516101cc9190611773565b60405180910390f35b6101ef60048036038101906101ea9190611664565b61057c565b6040516101fc91906116bf565b60405180910390f35b61020d610628565b005b6102296004803603810190610224919061178e565b61068c565b60405161023691906116bf565b60405180910390f35b610259600480360381019061025491906117e1565b610846565b60405161026691906116e9565b60405180910390f35b61027761088f565b60405161028491906116bf565b60405180910390f35b6102a760048036038101906102a2919061183a565b6108a6565b005b6102c360048036038101906102be91906117e1565b61095b565b6040516102d091906116e9565b60405180910390f35b6102e16109a3565b005b6102eb610a07565b6040516102f891906115a9565b60405180910390f35b61031b6004803603810190610316919061187a565b610a99565b60405161032891906116bf565b60405180910390f35b61034b60048036038101906103469190611664565b610c55565b60405161035891906116bf565b60405180910390f35b61037b60048036038101906103769190611664565b610d40565b60405161038891906116bf565b60405180910390f35b6103ab60048036038101906103a691906118e1565b610d5e565b6040516103b891906116e9565b60405180910390f35b6060600380546103d090611950565b80601f01602080910402602001604051908101604052809291908181526020018280546103fc90611950565b80156104495780601f1061041e57610100808354040283529160200191610449565b820191906000526020600020905b81548152906001019060200180831161042c57829003601f168201915b5050505050905090565b6000610467610460610e42565b8484610e4a565b6001905092915050565b6000600254905090565b6000610488848484611013565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006104d3610e42565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610553576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161054a906119f3565b60405180910390fd5b6105678561055f610e42565b858403610e4a565b60019150509392505050565b60006009905090565b600061061e610589610e42565b848460016000610597610e42565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546106199190611a42565b610e4a565b6001905092915050565b600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461068257600080fd5b61068a611292565b565b6000808211801561069e5750600c8211155b6106dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106d490611b0a565b60405180910390fd5b600660006106e9610e42565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610770576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161076790611b76565b60405180910390fd5b600061077b8561095b565b90506107878585610d40565b506000600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541480156107d75750600081145b1561083a576224ea00836107eb9190611b96565b426107f69190611a42565b600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60019150509392505050565b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600560009054906101000a900460ff16905090565b600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461090057600080fd5b80600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146109fd57600080fd5b610a05611334565b565b606060048054610a1690611950565b80601f0160208091040260200160405190810160405280929190818152602001828054610a4290611950565b8015610a8f5780601f10610a6457610100808354040283529160200191610a8f565b820191906000526020600020905b815481529060010190602001808311610a7257829003601f168201915b5050505050905090565b60008082118015610aab5750600c8211155b610aea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae190611b0a565b60405180910390fd5b60066000610af6610e42565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610b7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7490611b76565b60405180910390fd5b6000610b888561095b565b9050610b9586868661047b565b506000600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054148015610be55750600081145b15610c48576224ea0083610bf99190611b96565b42610c049190611a42565b600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6001915050949350505050565b60008060016000610c64610e42565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610d21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1890611c62565b60405180910390fd5b610d35610d2c610e42565b85858403610e4a565b600191505092915050565b6000610d54610d4d610e42565b8484611013565b6001905092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610df0838383610e3d565b610df861088f565b15610e38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2f90611cf4565b60405180910390fd5b505050565b505050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610eb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb090611d86565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610f28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1f90611e18565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161100691906116e9565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611082576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107990611eaa565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036110f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e890611f3c565b60405180910390fd5b6110fc8383836113d7565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611182576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117990611fce565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112159190611a42565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161127991906116e9565b60405180910390a361128c84848461150b565b50505050565b61129a61088f565b6112d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d09061203a565b60405180910390fd5b6000600560006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61131d610e42565b60405161132a9190612069565b60405180910390a1565b61133c61088f565b1561137c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611373906120d0565b60405180910390fd5b6001600560006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586113c0610e42565b6040516113cd9190612069565b60405180910390a1565b8273ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148061147257506000600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054145b806114bc575042600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411155b6114fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f29061213c565b60405180910390fd5b611506838383610de5565b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561154a57808201518184015260208101905061152f565b83811115611559576000848401525b50505050565b6000601f19601f8301169050919050565b600061157b82611510565b611585818561151b565b935061159581856020860161152c565b61159e8161155f565b840191505092915050565b600060208201905081810360008301526115c38184611570565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006115fb826115d0565b9050919050565b61160b816115f0565b811461161657600080fd5b50565b60008135905061162881611602565b92915050565b6000819050919050565b6116418161162e565b811461164c57600080fd5b50565b60008135905061165e81611638565b92915050565b6000806040838503121561167b5761167a6115cb565b5b600061168985828601611619565b925050602061169a8582860161164f565b9150509250929050565b60008115159050919050565b6116b9816116a4565b82525050565b60006020820190506116d460008301846116b0565b92915050565b6116e38161162e565b82525050565b60006020820190506116fe60008301846116da565b92915050565b60008060006060848603121561171d5761171c6115cb565b5b600061172b86828701611619565b935050602061173c86828701611619565b925050604061174d8682870161164f565b9150509250925092565b600060ff82169050919050565b61176d81611757565b82525050565b60006020820190506117886000830184611764565b92915050565b6000806000606084860312156117a7576117a66115cb565b5b60006117b586828701611619565b93505060206117c68682870161164f565b92505060406117d78682870161164f565b9150509250925092565b6000602082840312156117f7576117f66115cb565b5b600061180584828501611619565b91505092915050565b611817816116a4565b811461182257600080fd5b50565b6000813590506118348161180e565b92915050565b60008060408385031215611851576118506115cb565b5b600061185f85828601611619565b925050602061187085828601611825565b9150509250929050565b60008060008060808587031215611894576118936115cb565b5b60006118a287828801611619565b94505060206118b387828801611619565b93505060406118c48782880161164f565b92505060606118d58782880161164f565b91505092959194509250565b600080604083850312156118f8576118f76115cb565b5b600061190685828601611619565b925050602061191785828601611619565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061196857607f821691505b60208210810361197b5761197a611921565b5b50919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b60006119dd60288361151b565b91506119e882611981565b604082019050919050565b60006020820190508181036000830152611a0c816119d0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611a4d8261162e565b9150611a588361162e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611a8d57611a8c611a13565b5b828201905092915050565b7f4c6f636b75702063616e6e6f7420626520736d616c6c6572207468616e20302060008201527f6f722067726561746572207468616e203132206d6f6e74687300000000000000602082015250565b6000611af460398361151b565b9150611aff82611a98565b604082019050919050565b60006020820190508181036000830152611b2381611ae7565b9050919050565b7f4f6e6c79206c6f636b6572732063616e206c6f636b0000000000000000000000600082015250565b6000611b6060158361151b565b9150611b6b82611b2a565b602082019050919050565b60006020820190508181036000830152611b8f81611b53565b9050919050565b6000611ba18261162e565b9150611bac8361162e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611be557611be4611a13565b5b828202905092915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000611c4c60258361151b565b9150611c5782611bf0565b604082019050919050565b60006020820190508181036000830152611c7b81611c3f565b9050919050565b7f45524332305061757361626c653a20746f6b656e207472616e7366657220776860008201527f696c652070617573656400000000000000000000000000000000000000000000602082015250565b6000611cde602a8361151b565b9150611ce982611c82565b604082019050919050565b60006020820190508181036000830152611d0d81611cd1565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000611d7060248361151b565b9150611d7b82611d14565b604082019050919050565b60006020820190508181036000830152611d9f81611d63565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000611e0260228361151b565b9150611e0d82611da6565b604082019050919050565b60006020820190508181036000830152611e3181611df5565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000611e9460258361151b565b9150611e9f82611e38565b604082019050919050565b60006020820190508181036000830152611ec381611e87565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000611f2660238361151b565b9150611f3182611eca565b604082019050919050565b60006020820190508181036000830152611f5581611f19565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000611fb860268361151b565b9150611fc382611f5c565b604082019050919050565b60006020820190508181036000830152611fe781611fab565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b600061202460148361151b565b915061202f82611fee565b602082019050919050565b6000602082019050818103600083015261205381612017565b9050919050565b612063816115f0565b82525050565b600060208201905061207e600083018461205a565b92915050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006120ba60108361151b565b91506120c582612084565b602082019050919050565b600060208201905081810360008301526120e9816120ad565b9050919050565b7f57616c6c6574206973206c6f636b656400000000000000000000000000000000600082015250565b600061212660108361151b565b9150612131826120f0565b602082019050919050565b6000602082019050818103600083015261215581612119565b905091905056fea264697066735822122084f85bd3954dacc495919de2ed1b348539f7cea48f9fed47c9204eb9bfdb259864736f6c634300080d0033