Address Details
contract

0xf207813e587eB4d5e97De2f5470f760792b42b77

Contract Name
VidaoClaim
Creator
0xf600c2–fea2f2 at 0xe19d57–945308
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
10 Transactions
Transfers
0 Transfers
Gas Used
734,647
Last Balance Update
14606769
This contract has been verified via Sourcify. View contract in Sourcify repository
Contract name:
VidaoClaim




Optimization enabled
false
Compiler version
v0.8.15+commit.e14f2714




EVM Version
london




Verified at
2023-01-26T07:27:03.837110Z

project:/contracts/VidaoClaim.sol

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

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

enum Status {
    Active,
    Paused,
    Pending,
    Banned
}

contract VidaoClaim is Ownable {
    address public cUSDAddress;
    address public vidaoWallet;

    uint256 public claimAmount;
    uint256 public KYCAmount;

    mapping(address => address) public tokenOwner;
    mapping(address => Status) public status;
    mapping(address => bool) KYC;

    address[] public claimedTokens;

    constructor(uint256 _claimAmount, uint256 _KYCAmount) {
        vidaoWallet = msg.sender;
        claimAmount = _claimAmount;
        KYCAmount = _KYCAmount;
    }

    event ClaimRequested(
        address tokenAddress,
        address account,
        uint256 timestamp
    );
    event KYCRequested(
        address tokenAddress,
        address account,
        uint256 timestamp
    );

    event NewClaim(address tokenAddress, address owner, uint256 timestamp);

    modifier onlyTokenOwner(address tokenAddress) {
        require(
            tokenOwner[tokenAddress] == msg.sender,
            "VIDAO Claim: caller is not the owner!"
        );
        _;
    }

    function quickClaim(address tokenAddress) public {
        require(
            tokenOwner[tokenAddress] == address(0),
            "VIDAO claim: token already claimed!"
        );
        Ownable ownable = Ownable(tokenAddress);

        require(
            ownable.owner() == msg.sender,
            "VIDAO claimer: caller is not the owner!"
        );

        setClaimed(tokenAddress, msg.sender);
    }

    function setClaimed(address tokenAddress, address owner) internal {
        tokenOwner[tokenAddress] = owner;
        status[tokenAddress] = Status.Active;

        claimedTokens.push(tokenAddress);

        emit NewClaim(tokenAddress, owner, block.timestamp);
    }

    function specialClaim(address tokenAddress, address owner)
        public
        onlyOwner
    {
        setClaimed(tokenAddress, owner);
    }

    function setOwner(address tokenAddress, address newOwner)
        public
        onlyTokenOwner(tokenAddress)
    {
        tokenOwner[tokenAddress] = newOwner;
    }

    function requestSpecialClaim(address tokenAddress) public {
        ERC20 _cUSD = ERC20(cUSDAddress);

        bool success = _cUSD.transferFrom(
            msg.sender,
            vidaoWallet,
            getPrice(claimAmount)
        );

        require(success, "VIDAO claim: failed to transfer funds!");

        status[tokenAddress] = Status.Pending;
        emit ClaimRequested(tokenAddress, msg.sender, block.timestamp);
    }

    function requestKYC(address tokenAddress) public {
        ERC20 _cUSD = ERC20(cUSDAddress);

        bool success = _cUSD.transferFrom(
            msg.sender,
            vidaoWallet,
            getPrice(KYCAmount)
        );

        require(success, "VIDAO claim: failed to transfer funds!");

        emit KYCRequested(tokenAddress, msg.sender, block.timestamp);
    }

    function setStatus(address tokenAddress, Status _status) public onlyOwner {
        status[tokenAddress] = _status;
    }

    function setKYC(address tokenAddress) public onlyOwner {
        KYC[tokenAddress] = true;
    }

    function setcUSDAddress(address _cUSDAddress) public onlyOwner {
        cUSDAddress = _cUSDAddress;
    }

    function setClaimAmount(uint256 amount) public onlyOwner {
        claimAmount = amount;
    }

    function setKYCAmount(uint256 amount) public onlyOwner {
        KYCAmount = amount;
    }

    function setVidaoWallet(address wallet) public onlyOwner {
        vidaoWallet = wallet;
    }

    function getStatus(address tokenAddress) public view returns (Status) {
        return status[tokenAddress];
    }

    function getTokenOwner(address tokenAddress) public view returns (address) {
        return tokenOwner[tokenAddress];
    }

    function getTokensClaimed() public view returns (address[] memory) {
        return claimedTokens;
    }

    function getTotalClaimed() public view returns (uint256) {
        return claimedTokens.length;
    }

    function getPrice(uint256 amount) public view returns (uint256) {
        ERC20 _cUSD = ERC20(cUSDAddress);

        return amount * 10**_cUSD.decimals();
    }
}
        

/_openzeppelin/contracts/access/Ownable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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);
    }
}
          

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

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

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:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, 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}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, 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}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, 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) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, 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) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * 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:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, 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 Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - 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
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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);

    /**
     * @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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from,
        address to,
        uint256 amount
    ) external returns (bool);
}
          

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

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

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
// OpenZeppelin Contracts v4.4.1 (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;
    }
}
          

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"uint256","name":"_claimAmount","internalType":"uint256"},{"type":"uint256","name":"_KYCAmount","internalType":"uint256"}]},{"type":"event","name":"ClaimRequested","inputs":[{"type":"address","name":"tokenAddress","internalType":"address","indexed":false},{"type":"address","name":"account","internalType":"address","indexed":false},{"type":"uint256","name":"timestamp","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"KYCRequested","inputs":[{"type":"address","name":"tokenAddress","internalType":"address","indexed":false},{"type":"address","name":"account","internalType":"address","indexed":false},{"type":"uint256","name":"timestamp","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"NewClaim","inputs":[{"type":"address","name":"tokenAddress","internalType":"address","indexed":false},{"type":"address","name":"owner","internalType":"address","indexed":false},{"type":"uint256","name":"timestamp","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"KYCAmount","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"cUSDAddress","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"claimAmount","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"claimedTokens","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getPrice","inputs":[{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"enum Status"}],"name":"getStatus","inputs":[{"type":"address","name":"tokenAddress","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"getTokenOwner","inputs":[{"type":"address","name":"tokenAddress","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address[]","name":"","internalType":"address[]"}],"name":"getTokensClaimed","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getTotalClaimed","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"quickClaim","inputs":[{"type":"address","name":"tokenAddress","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"requestKYC","inputs":[{"type":"address","name":"tokenAddress","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"requestSpecialClaim","inputs":[{"type":"address","name":"tokenAddress","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setClaimAmount","inputs":[{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setKYC","inputs":[{"type":"address","name":"tokenAddress","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setKYCAmount","inputs":[{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setOwner","inputs":[{"type":"address","name":"tokenAddress","internalType":"address"},{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setStatus","inputs":[{"type":"address","name":"tokenAddress","internalType":"address"},{"type":"uint8","name":"_status","internalType":"enum Status"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setVidaoWallet","inputs":[{"type":"address","name":"wallet","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setcUSDAddress","inputs":[{"type":"address","name":"_cUSDAddress","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"specialClaim","inputs":[{"type":"address","name":"tokenAddress","internalType":"address"},{"type":"address","name":"owner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"enum Status"}],"name":"status","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"tokenOwner","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"vidaoWallet","inputs":[]}]
              

Contract Creation Code

0x60806040523480156200001157600080fd5b5060405162001f7e38038062001f7e8339818101604052810190620000379190620001ba565b620000576200004b620000ae60201b60201c565b620000b660201b60201c565b33600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160038190555080600481905550505062000201565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b6000819050919050565b62000194816200017f565b8114620001a057600080fd5b50565b600081519050620001b48162000189565b92915050565b60008060408385031215620001d457620001d36200017a565b5b6000620001e485828601620001a3565b9250506020620001f785828601620001a3565b9150509250929050565b611d6d80620002116000396000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c8063830953ab116100de578063dc17c9ca11610097578063e5f479a111610071578063e5f479a114610459578063e757223014610477578063f2fde38b146104a7578063fece962d146104c35761018e565b8063dc17c9ca146103dd578063e4579cec1461040d578063e5a342a3146104295761018e565b8063830953ab146103315780638da5cb5b1461034f578063a40a20091461036d578063b1c7ef0c14610389578063b345a624146103a5578063c10cebe6146103c15761018e565b80633ab69b621161014b578063483a83df11610125578063483a83df146102bd578063645b8b1b146102d9578063715018a614610309578063736a83a1146103135761018e565b80633ab69b62146102515780633ff574b6146102815780634718a4bc1461029f5761018e565b80631ba671f314610193578063278e07ce146101af578063299a7bcc146101cb57806330a9bba6146101e757806330ccebb5146102055780633a6e1dfb14610235575b600080fd5b6101ad60048036038101906101a8919061139a565b6104df565b005b6101c960048036038101906101c491906113ec565b61052b565b005b6101e560048036038101906101e0919061142c565b61059e565b005b6101ef6106ef565b6040516101fc9190611485565b60405180910390f35b61021f600480360381019061021a919061139a565b6106f5565b60405161022c9190611517565b60405180910390f35b61024f600480360381019061024a919061139a565b61074b565b005b61026b6004803603810190610266919061139a565b610797565b6040516102789190611541565b60405180910390f35b6102896107ca565b6040516102969190611541565b60405180910390f35b6102a76107f0565b6040516102b49190611541565b60405180910390f35b6102d760048036038101906102d2919061139a565b610816565b005b6102f360048036038101906102ee919061139a565b610879565b6040516103009190611517565b60405180910390f35b610311610899565b005b61031b6108ad565b6040516103289190611485565b60405180910390f35b6103396108ba565b6040516103469190611485565b60405180910390f35b6103576108c0565b6040516103649190611541565b60405180910390f35b6103876004803603810190610382919061139a565b6108e9565b005b6103a3600480360381019061039e9190611588565b610aa8565b005b6103bf60048036038101906103ba919061139a565b610aba565b005b6103db60048036038101906103d6919061139a565b610c77565b005b6103f760048036038101906103f2919061139a565b610dce565b6040516104049190611541565b60405180910390f35b6104276004803603810190610422919061142c565b610e37565b005b610443600480360381019061043e9190611588565b610e4d565b6040516104509190611541565b60405180910390f35b610461610e8c565b60405161046e9190611673565b60405180910390f35b610491600480360381019061048c9190611588565b610f1a565b60405161049e9190611485565b60405180910390f35b6104c160048036038101906104bc919061139a565b610fd0565b005b6104dd60048036038101906104d89190611588565b611053565b005b6104e7611065565b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610533611065565b80600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690836003811115610595576105946114a0565b5b02179055505050565b813373ffffffffffffffffffffffffffffffffffffffff16600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461066c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161066390611718565b60405180910390fd5b81600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050565b60045481565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b610753611065565b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60056020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61081e611065565b6001600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60066020528060005260406000206000915054906101000a900460ff1681565b6108a1611065565b6108ab60006110e3565b565b6000600880549050905090565b60035481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff166323b872dd33600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661095d600354610f1a565b6040518463ffffffff1660e01b815260040161097b93929190611738565b6020604051808303816000875af115801561099a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109be91906117a7565b905080610a00576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f790611846565b60405180910390fd5b6002600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690836003811115610a6357610a626114a0565b5b02179055507f4937cce2b75e8534dd1b00c796a7527bad00a7993dfb8232adeef9166906da0d833342604051610a9b93929190611738565b60405180910390a1505050565b610ab0611065565b8060038190555050565b600073ffffffffffffffffffffffffffffffffffffffff16600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610b88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7f906118d8565b60405180910390fd5b60008190503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c13919061190d565b73ffffffffffffffffffffffffffffffffffffffff1614610c69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c60906119ac565b60405180910390fd5b610c7382336111a7565b5050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff166323b872dd33600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610ceb600454610f1a565b6040518463ffffffff1660e01b8152600401610d0993929190611738565b6020604051808303816000875af1158015610d28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d4c91906117a7565b905080610d8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8590611846565b60405180910390fd5b7f820ea62f62cc3a881dab25861bc4d33faa4108809691ee972bceaa1e4bc41cd0833342604051610dc193929190611738565b60405180910390a1505050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610e3f611065565b610e4982826111a7565b5050565b60088181548110610e5d57600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606008805480602002602001604051908101604052809291908181526020018280548015610f1057602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311610ec6575b5050505050905090565b600080600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f8d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb19190611a05565b600a610fbd9190611b94565b83610fc89190611bdf565b915050919050565b610fd8611065565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611047576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103e90611cab565b60405180910390fd5b611050816110e3565b50565b61105b611065565b8060048190555050565b61106d61132f565b73ffffffffffffffffffffffffffffffffffffffff1661108b6108c0565b73ffffffffffffffffffffffffffffffffffffffff16146110e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d890611d17565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b80600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690836003811115611288576112876114a0565b5b02179055506008829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f4869c61031d189c5af20039bdb04d7d557499b1ed01b3e3656fac6d302d6b8ed82824260405161132393929190611738565b60405180910390a15050565b600033905090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006113678261133c565b9050919050565b6113778161135c565b811461138257600080fd5b50565b6000813590506113948161136e565b92915050565b6000602082840312156113b0576113af611337565b5b60006113be84828501611385565b91505092915050565b600481106113d457600080fd5b50565b6000813590506113e6816113c7565b92915050565b6000806040838503121561140357611402611337565b5b600061141185828601611385565b9250506020611422858286016113d7565b9150509250929050565b6000806040838503121561144357611442611337565b5b600061145185828601611385565b925050602061146285828601611385565b9150509250929050565b6000819050919050565b61147f8161146c565b82525050565b600060208201905061149a6000830184611476565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600481106114e0576114df6114a0565b5b50565b60008190506114f1826114cf565b919050565b6000611501826114e3565b9050919050565b611511816114f6565b82525050565b600060208201905061152c6000830184611508565b92915050565b61153b8161135c565b82525050565b60006020820190506115566000830184611532565b92915050565b6115658161146c565b811461157057600080fd5b50565b6000813590506115828161155c565b92915050565b60006020828403121561159e5761159d611337565b5b60006115ac84828501611573565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6115ea8161135c565b82525050565b60006115fc83836115e1565b60208301905092915050565b6000602082019050919050565b6000611620826115b5565b61162a81856115c0565b9350611635836115d1565b8060005b8381101561166657815161164d88826115f0565b975061165883611608565b925050600181019050611639565b5085935050505092915050565b6000602082019050818103600083015261168d8184611615565b905092915050565b600082825260208201905092915050565b7f564944414f20436c61696d3a2063616c6c6572206973206e6f7420746865206f60008201527f776e657221000000000000000000000000000000000000000000000000000000602082015250565b6000611702602583611695565b915061170d826116a6565b604082019050919050565b60006020820190508181036000830152611731816116f5565b9050919050565b600060608201905061174d6000830186611532565b61175a6020830185611532565b6117676040830184611476565b949350505050565b60008115159050919050565b6117848161176f565b811461178f57600080fd5b50565b6000815190506117a18161177b565b92915050565b6000602082840312156117bd576117bc611337565b5b60006117cb84828501611792565b91505092915050565b7f564944414f20636c61696d3a206661696c656420746f207472616e736665722060008201527f66756e6473210000000000000000000000000000000000000000000000000000602082015250565b6000611830602683611695565b915061183b826117d4565b604082019050919050565b6000602082019050818103600083015261185f81611823565b9050919050565b7f564944414f20636c61696d3a20746f6b656e20616c726561647920636c61696d60008201527f6564210000000000000000000000000000000000000000000000000000000000602082015250565b60006118c2602383611695565b91506118cd82611866565b604082019050919050565b600060208201905081810360008301526118f1816118b5565b9050919050565b6000815190506119078161136e565b92915050565b60006020828403121561192357611922611337565b5b6000611931848285016118f8565b91505092915050565b7f564944414f20636c61696d65723a2063616c6c6572206973206e6f742074686560008201527f206f776e65722100000000000000000000000000000000000000000000000000602082015250565b6000611996602783611695565b91506119a18261193a565b604082019050919050565b600060208201905081810360008301526119c581611989565b9050919050565b600060ff82169050919050565b6119e2816119cc565b81146119ed57600080fd5b50565b6000815190506119ff816119d9565b92915050565b600060208284031215611a1b57611a1a611337565b5b6000611a29848285016119f0565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b6001851115611ab857808604811115611a9457611a93611a32565b5b6001851615611aa35780820291505b8081029050611ab185611a61565b9450611a78565b94509492505050565b600082611ad15760019050611b8d565b81611adf5760009050611b8d565b8160018114611af55760028114611aff57611b2e565b6001915050611b8d565b60ff841115611b1157611b10611a32565b5b8360020a915084821115611b2857611b27611a32565b5b50611b8d565b5060208310610133831016604e8410600b8410161715611b635782820a905083811115611b5e57611b5d611a32565b5b611b8d565b611b708484846001611a6e565b92509050818404811115611b8757611b86611a32565b5b81810290505b9392505050565b6000611b9f8261146c565b9150611baa836119cc565b9250611bd77fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484611ac1565b905092915050565b6000611bea8261146c565b9150611bf58361146c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611c2e57611c2d611a32565b5b828202905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000611c95602683611695565b9150611ca082611c39565b604082019050919050565b60006020820190508181036000830152611cc481611c88565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000611d01602083611695565b9150611d0c82611ccb565b602082019050919050565b60006020820190508181036000830152611d3081611cf4565b905091905056fea2646970667358221220077f8a151883d0f009a72f768a089ad27258ec5e4341db7b60e6575caa7f70ad64736f6c634300080f0033000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000064

Deployed ByteCode

0x608060405234801561001057600080fd5b506004361061018e5760003560e01c8063830953ab116100de578063dc17c9ca11610097578063e5f479a111610071578063e5f479a114610459578063e757223014610477578063f2fde38b146104a7578063fece962d146104c35761018e565b8063dc17c9ca146103dd578063e4579cec1461040d578063e5a342a3146104295761018e565b8063830953ab146103315780638da5cb5b1461034f578063a40a20091461036d578063b1c7ef0c14610389578063b345a624146103a5578063c10cebe6146103c15761018e565b80633ab69b621161014b578063483a83df11610125578063483a83df146102bd578063645b8b1b146102d9578063715018a614610309578063736a83a1146103135761018e565b80633ab69b62146102515780633ff574b6146102815780634718a4bc1461029f5761018e565b80631ba671f314610193578063278e07ce146101af578063299a7bcc146101cb57806330a9bba6146101e757806330ccebb5146102055780633a6e1dfb14610235575b600080fd5b6101ad60048036038101906101a8919061139a565b6104df565b005b6101c960048036038101906101c491906113ec565b61052b565b005b6101e560048036038101906101e0919061142c565b61059e565b005b6101ef6106ef565b6040516101fc9190611485565b60405180910390f35b61021f600480360381019061021a919061139a565b6106f5565b60405161022c9190611517565b60405180910390f35b61024f600480360381019061024a919061139a565b61074b565b005b61026b6004803603810190610266919061139a565b610797565b6040516102789190611541565b60405180910390f35b6102896107ca565b6040516102969190611541565b60405180910390f35b6102a76107f0565b6040516102b49190611541565b60405180910390f35b6102d760048036038101906102d2919061139a565b610816565b005b6102f360048036038101906102ee919061139a565b610879565b6040516103009190611517565b60405180910390f35b610311610899565b005b61031b6108ad565b6040516103289190611485565b60405180910390f35b6103396108ba565b6040516103469190611485565b60405180910390f35b6103576108c0565b6040516103649190611541565b60405180910390f35b6103876004803603810190610382919061139a565b6108e9565b005b6103a3600480360381019061039e9190611588565b610aa8565b005b6103bf60048036038101906103ba919061139a565b610aba565b005b6103db60048036038101906103d6919061139a565b610c77565b005b6103f760048036038101906103f2919061139a565b610dce565b6040516104049190611541565b60405180910390f35b6104276004803603810190610422919061142c565b610e37565b005b610443600480360381019061043e9190611588565b610e4d565b6040516104509190611541565b60405180910390f35b610461610e8c565b60405161046e9190611673565b60405180910390f35b610491600480360381019061048c9190611588565b610f1a565b60405161049e9190611485565b60405180910390f35b6104c160048036038101906104bc919061139a565b610fd0565b005b6104dd60048036038101906104d89190611588565b611053565b005b6104e7611065565b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610533611065565b80600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690836003811115610595576105946114a0565b5b02179055505050565b813373ffffffffffffffffffffffffffffffffffffffff16600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461066c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161066390611718565b60405180910390fd5b81600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050565b60045481565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b610753611065565b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60056020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61081e611065565b6001600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60066020528060005260406000206000915054906101000a900460ff1681565b6108a1611065565b6108ab60006110e3565b565b6000600880549050905090565b60035481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff166323b872dd33600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661095d600354610f1a565b6040518463ffffffff1660e01b815260040161097b93929190611738565b6020604051808303816000875af115801561099a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109be91906117a7565b905080610a00576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f790611846565b60405180910390fd5b6002600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690836003811115610a6357610a626114a0565b5b02179055507f4937cce2b75e8534dd1b00c796a7527bad00a7993dfb8232adeef9166906da0d833342604051610a9b93929190611738565b60405180910390a1505050565b610ab0611065565b8060038190555050565b600073ffffffffffffffffffffffffffffffffffffffff16600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610b88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7f906118d8565b60405180910390fd5b60008190503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c13919061190d565b73ffffffffffffffffffffffffffffffffffffffff1614610c69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c60906119ac565b60405180910390fd5b610c7382336111a7565b5050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff166323b872dd33600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610ceb600454610f1a565b6040518463ffffffff1660e01b8152600401610d0993929190611738565b6020604051808303816000875af1158015610d28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d4c91906117a7565b905080610d8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8590611846565b60405180910390fd5b7f820ea62f62cc3a881dab25861bc4d33faa4108809691ee972bceaa1e4bc41cd0833342604051610dc193929190611738565b60405180910390a1505050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610e3f611065565b610e4982826111a7565b5050565b60088181548110610e5d57600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606008805480602002602001604051908101604052809291908181526020018280548015610f1057602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311610ec6575b5050505050905090565b600080600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f8d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb19190611a05565b600a610fbd9190611b94565b83610fc89190611bdf565b915050919050565b610fd8611065565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611047576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103e90611cab565b60405180910390fd5b611050816110e3565b50565b61105b611065565b8060048190555050565b61106d61132f565b73ffffffffffffffffffffffffffffffffffffffff1661108b6108c0565b73ffffffffffffffffffffffffffffffffffffffff16146110e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d890611d17565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b80600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690836003811115611288576112876114a0565b5b02179055506008829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f4869c61031d189c5af20039bdb04d7d557499b1ed01b3e3656fac6d302d6b8ed82824260405161132393929190611738565b60405180910390a15050565b600033905090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006113678261133c565b9050919050565b6113778161135c565b811461138257600080fd5b50565b6000813590506113948161136e565b92915050565b6000602082840312156113b0576113af611337565b5b60006113be84828501611385565b91505092915050565b600481106113d457600080fd5b50565b6000813590506113e6816113c7565b92915050565b6000806040838503121561140357611402611337565b5b600061141185828601611385565b9250506020611422858286016113d7565b9150509250929050565b6000806040838503121561144357611442611337565b5b600061145185828601611385565b925050602061146285828601611385565b9150509250929050565b6000819050919050565b61147f8161146c565b82525050565b600060208201905061149a6000830184611476565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600481106114e0576114df6114a0565b5b50565b60008190506114f1826114cf565b919050565b6000611501826114e3565b9050919050565b611511816114f6565b82525050565b600060208201905061152c6000830184611508565b92915050565b61153b8161135c565b82525050565b60006020820190506115566000830184611532565b92915050565b6115658161146c565b811461157057600080fd5b50565b6000813590506115828161155c565b92915050565b60006020828403121561159e5761159d611337565b5b60006115ac84828501611573565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6115ea8161135c565b82525050565b60006115fc83836115e1565b60208301905092915050565b6000602082019050919050565b6000611620826115b5565b61162a81856115c0565b9350611635836115d1565b8060005b8381101561166657815161164d88826115f0565b975061165883611608565b925050600181019050611639565b5085935050505092915050565b6000602082019050818103600083015261168d8184611615565b905092915050565b600082825260208201905092915050565b7f564944414f20436c61696d3a2063616c6c6572206973206e6f7420746865206f60008201527f776e657221000000000000000000000000000000000000000000000000000000602082015250565b6000611702602583611695565b915061170d826116a6565b604082019050919050565b60006020820190508181036000830152611731816116f5565b9050919050565b600060608201905061174d6000830186611532565b61175a6020830185611532565b6117676040830184611476565b949350505050565b60008115159050919050565b6117848161176f565b811461178f57600080fd5b50565b6000815190506117a18161177b565b92915050565b6000602082840312156117bd576117bc611337565b5b60006117cb84828501611792565b91505092915050565b7f564944414f20636c61696d3a206661696c656420746f207472616e736665722060008201527f66756e6473210000000000000000000000000000000000000000000000000000602082015250565b6000611830602683611695565b915061183b826117d4565b604082019050919050565b6000602082019050818103600083015261185f81611823565b9050919050565b7f564944414f20636c61696d3a20746f6b656e20616c726561647920636c61696d60008201527f6564210000000000000000000000000000000000000000000000000000000000602082015250565b60006118c2602383611695565b91506118cd82611866565b604082019050919050565b600060208201905081810360008301526118f1816118b5565b9050919050565b6000815190506119078161136e565b92915050565b60006020828403121561192357611922611337565b5b6000611931848285016118f8565b91505092915050565b7f564944414f20636c61696d65723a2063616c6c6572206973206e6f742074686560008201527f206f776e65722100000000000000000000000000000000000000000000000000602082015250565b6000611996602783611695565b91506119a18261193a565b604082019050919050565b600060208201905081810360008301526119c581611989565b9050919050565b600060ff82169050919050565b6119e2816119cc565b81146119ed57600080fd5b50565b6000815190506119ff816119d9565b92915050565b600060208284031215611a1b57611a1a611337565b5b6000611a29848285016119f0565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b6001851115611ab857808604811115611a9457611a93611a32565b5b6001851615611aa35780820291505b8081029050611ab185611a61565b9450611a78565b94509492505050565b600082611ad15760019050611b8d565b81611adf5760009050611b8d565b8160018114611af55760028114611aff57611b2e565b6001915050611b8d565b60ff841115611b1157611b10611a32565b5b8360020a915084821115611b2857611b27611a32565b5b50611b8d565b5060208310610133831016604e8410600b8410161715611b635782820a905083811115611b5e57611b5d611a32565b5b611b8d565b611b708484846001611a6e565b92509050818404811115611b8757611b86611a32565b5b81810290505b9392505050565b6000611b9f8261146c565b9150611baa836119cc565b9250611bd77fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484611ac1565b905092915050565b6000611bea8261146c565b9150611bf58361146c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611c2e57611c2d611a32565b5b828202905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000611c95602683611695565b9150611ca082611c39565b604082019050919050565b60006020820190508181036000830152611cc481611c88565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000611d01602083611695565b9150611d0c82611ccb565b602082019050919050565b60006020820190508181036000830152611d3081611cf4565b905091905056fea2646970667358221220077f8a151883d0f009a72f768a089ad27258ec5e4341db7b60e6575caa7f70ad64736f6c634300080f0033