Token crow with knife

MEME 

Overview CRC20

Price
$0.00 @ 0.000000 CRO (-10.02%)
Fully Diluted Market Cap
Total Supply:
777,777,777,777,777 CAW

Holders:
9,744 addresses

Transfers:
-

Loading
[ Download CSV Export  ] 
Loading
[ Download CSV Export  ] 
Loading

OVERVIEW

literally just a crow with a knife.

Market

Volume (24H):$1,583,780.00
Market Capitalization:$40,040,838.00
Circulating Supply:769,863,473,587,431.00 CAW
Market Data Source: Coinmarketcap


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

Contract Source Code Verified (Exact Match)

Contract Name:
CawCaw

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 7 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../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.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @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 {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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 {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _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);
    }
}

File 2 of 7 : draft-IERC6093.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;

/**
 * @dev Standard ERC20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.
 */
interface IERC20Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC20InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC20InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     * @param allowance Amount of tokens a `spender` is allowed to operate with.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC20InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC20InvalidSpender(address spender);
}

/**
 * @dev Standard ERC721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.
     * Used in balance queries.
     * @param owner Address of the current owner of a token.
     */
    error ERC721InvalidOwner(address owner);

    /**
     * @dev Indicates a `tokenId` whose `owner` is the zero address.
     * @param tokenId Identifier number of a token.
     */
    error ERC721NonexistentToken(uint256 tokenId);

    /**
     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param tokenId Identifier number of a token.
     * @param owner Address of the current owner of a token.
     */
    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC721InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC721InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param tokenId Identifier number of a token.
     */
    error ERC721InsufficientApproval(address operator, uint256 tokenId);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC721InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC721InvalidOperator(address operator);
}

/**
 * @dev Standard ERC1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.
 */
interface IERC1155Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     * @param tokenId Identifier number of a token.
     */
    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC1155InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC1155InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param owner Address of the current owner of a token.
     */
    error ERC1155MissingApprovalForAll(address operator, address owner);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC1155InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC1155InvalidOperator(address operator);

    /**
     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
     * Used in batch transfers.
     * @param idsLength Length of the array of token identifiers
     * @param valuesLength Length of the array of token amounts
     */
    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}

File 3 of 7 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.20;

import {IERC20} from "./IERC20.sol";
import {IERC20Metadata} from "./extensions/IERC20Metadata.sol";
import {Context} from "../../utils/Context.sol";
import {IERC20Errors} from "../../interfaces/draft-IERC6093.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}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * 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.
 */
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
    mapping(address account => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * 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 returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual 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 default value returned by this function, unless
     * it's 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 returns (uint8) {
        return 18;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual 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 `value`.
     */
    function transfer(address to, uint256 value) public virtual returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, value);
        return true;
    }

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

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `value` 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 value) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, value);
        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 `value`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `value`.
     */
    function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, value);
        _transfer(from, to, value);
        return true;
    }

    /**
     * @dev Moves a `value` 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.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _transfer(address from, address to, uint256 value) internal {
        if (from == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        if (to == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(from, to, value);
    }

    /**
     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
     * this function.
     *
     * Emits a {Transfer} event.
     */
    function _update(address from, address to, uint256 value) internal virtual {
        if (from == address(0)) {
            // Overflow check required: The rest of the code assumes that totalSupply never overflows
            _totalSupply += value;
        } else {
            uint256 fromBalance = _balances[from];
            if (fromBalance < value) {
                revert ERC20InsufficientBalance(from, fromBalance, value);
            }
            unchecked {
                // Overflow not possible: value <= fromBalance <= totalSupply.
                _balances[from] = fromBalance - value;
            }
        }

        if (to == address(0)) {
            unchecked {
                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
                _totalSupply -= value;
            }
        } else {
            unchecked {
                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
                _balances[to] += value;
            }
        }

        emit Transfer(from, to, value);
    }

    /**
     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
     * Relies on the `_update` mechanism
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _mint(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(address(0), account, value);
    }

    /**
     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
     * Relies on the `_update` mechanism.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead
     */
    function _burn(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        _update(account, address(0), value);
    }

    /**
     * @dev Sets `value` 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.
     *
     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
     */
    function _approve(address owner, address spender, uint256 value) internal {
        _approve(owner, spender, value, true);
    }

    /**
     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
     *
     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
     * `Approval` event during `transferFrom` operations.
     *
     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
     * true using the following override:
     * ```
     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
     *     super._approve(owner, spender, value, true);
     * }
     * ```
     *
     * Requirements are the same as {_approve}.
     */
    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
        if (owner == address(0)) {
            revert ERC20InvalidApprover(address(0));
        }
        if (spender == address(0)) {
            revert ERC20InvalidSpender(address(0));
        }
        _allowances[owner][spender] = value;
        if (emitEvent) {
            emit Approval(owner, spender, value);
        }
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `value`.
     *
     * Does not update the allowance value in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Does not emit an {Approval} event.
     */
    function _spendAllowance(address owner, address spender, uint256 value) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            if (currentAllowance < value) {
                revert ERC20InsufficientAllowance(spender, currentAllowance, value);
            }
            unchecked {
                _approve(owner, spender, currentAllowance - value, false);
            }
        }
    }
}

File 4 of 7 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.20;

import {IERC20} from "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 */
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);
}

File 5 of 7 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

/**
 * @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 value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the
     * allowance mechanism. `value` 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 value) external returns (bool);
}

File 6 of 7 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Context.sol)

pragma solidity ^0.8.20;

/**
 * @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;
    }
}

File 7 of 7 : CawCaw.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

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


// ░█████╗░░█████╗░░██╗░░░░░░░██╗░█████╗░░█████╗░░██╗░░░░░░░██╗
// ██╔══██╗██╔══██╗░██║░░██╗░░██║██╔══██╗██╔══██╗░██║░░██╗░░██║
// ██║░░╚═╝███████║░╚██╗████╗██╔╝██║░░╚═╝███████║░╚██╗████╗██╔╝
// ██║░░██╗██╔══██║░░████╔═████║░██║░░██╗██╔══██║░░████╔═████║░
// ╚█████╔╝██║░░██║░░╚██╔╝░╚██╔╝░╚█████╔╝██║░░██║░░╚██╔╝░╚██╔╝░
// ░╚════╝░╚═╝░░╚═╝░░░╚═╝░░░╚═╝░░░╚════╝░╚═╝░░╚═╝░░░╚═╝░░░╚═╝░░

contract CawCaw is ERC20, Ownable {
    uint256 public constant TOTAL_SUPPLY = 777777777777777 * (10 ** 18);
    uint256 public constant SALE_SUPPLY = TOTAL_SUPPLY / 2; 
    uint256 public totalCROContributed = 0;
    mapping(address => uint256) public croContributions;

    uint256 public saleStartTimestamp;
    uint256 public saleEndTimestamp;
    uint256 public claimStartTimestamp;

    string public earlycrow = "greetings from block 946";

    error SaleNotStarted();
    error SaleAlreadyEnded();
    error ClaimNotStarted();
    error NoContribution();
    error InvalidTimestamps();
    error RecipientsAmountsMismatch();

    event ContributionUpdated(address indexed contributor, uint256 amountContributed, uint256 newTotalCROContributed);

    constructor() ERC20("crow with knife", "CAW") Ownable(msg.sender) {
        _mint(address(this), TOTAL_SUPPLY);
    }

    function setSalePeriod(uint256 _saleStartTimestamp, uint256 _saleEndTimestamp) public onlyOwner {
        if (_saleStartTimestamp >= _saleEndTimestamp) revert InvalidTimestamps();
        saleStartTimestamp = _saleStartTimestamp;
        saleEndTimestamp = _saleEndTimestamp;
    }

    function setClaimStartTimestamp(uint256 _claimStartTimestamp) public onlyOwner {
        if (_claimStartTimestamp <= saleEndTimestamp) revert InvalidTimestamps();
        claimStartTimestamp = _claimStartTimestamp;
    }

    function caw() public payable {
        if (block.timestamp < saleStartTimestamp || block.timestamp > saleEndTimestamp) revert SaleNotStarted();
        croContributions[msg.sender] += msg.value;
        totalCROContributed += msg.value;

        emit ContributionUpdated(msg.sender, msg.value, totalCROContributed);
    }

    function claim() public {
        if (block.timestamp < claimStartTimestamp) revert ClaimNotStarted();
        uint256 contribution = croContributions[msg.sender];
        if (contribution == 0) revert NoContribution();

        uint256 claimableAmount = (contribution * SALE_SUPPLY) / totalCROContributed;
        croContributions[msg.sender] = 0; 
        _transfer(address(this), msg.sender, claimableAmount);
    }

    function withdrawCro(uint256 amount, address receiver) public onlyOwner {
        (bool ok, ) = payable(receiver).call{value: amount}("");
        if (!ok) revert NoContribution();
    }

    function cawcaw(address[] memory recipients, uint256[] memory amounts) public onlyOwner {
        if (recipients.length != amounts.length) revert RecipientsAmountsMismatch();

        for (uint256 i = 0; i < recipients.length; i++) {
            _transfer(address(this), recipients[i], amounts[i]);
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ClaimNotStarted","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[],"name":"InvalidTimestamps","type":"error"},{"inputs":[],"name":"NoContribution","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"RecipientsAmountsMismatch","type":"error"},{"inputs":[],"name":"SaleAlreadyEnded","type":"error"},{"inputs":[],"name":"SaleNotStarted","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"contributor","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountContributed","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newTotalCROContributed","type":"uint256"}],"name":"ContributionUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"SALE_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"caw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"cawcaw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimStartTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"croContributions","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"earlycrow","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleEndTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"saleStartTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_claimStartTimestamp","type":"uint256"}],"name":"setClaimStartTimestamp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_saleStartTimestamp","type":"uint256"},{"internalType":"uint256","name":"_saleEndTimestamp","type":"uint256"}],"name":"setSalePeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalCROContributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"withdrawCro","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260006006556040518060400160405280601881526020017f6772656574696e67732066726f6d20626c6f636b203934360000000000000000815250600b90816200004f91906200079b565b503480156200005d57600080fd5b50336040518060400160405280600f81526020017f63726f772077697468206b6e69666500000000000000000000000000000000008152506040518060400160405280600381526020017f43415700000000000000000000000000000000000000000000000000000000008152508160039081620000dc91906200079b565b508060049081620000ee91906200079b565b505050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603620001665760006040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016200015d9190620008c7565b60405180910390fd5b62000177816200019e60201b60201c565b5062000198306d2658ef8aa700af9246edd32400006200026460201b60201c565b620009b9565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620002d95760006040517fec442f05000000000000000000000000000000000000000000000000000000008152600401620002d09190620008c7565b60405180910390fd5b620002ed60008383620002f160201b60201c565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603620003475780600260008282546200033a919062000913565b925050819055506200041d565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015620003d6578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401620003cd939291906200095f565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620004685780600260008282540392505081905550620004b5565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200051491906200099c565b60405180910390a3505050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620005a357607f821691505b602082108103620005b957620005b86200055b565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620006237fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620005e4565b6200062f8683620005e4565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b60006200067c62000676620006708462000647565b62000651565b62000647565b9050919050565b6000819050919050565b62000698836200065b565b620006b0620006a78262000683565b848454620005f1565b825550505050565b600090565b620006c7620006b8565b620006d48184846200068d565b505050565b5b81811015620006fc57620006f0600082620006bd565b600181019050620006da565b5050565b601f8211156200074b576200071581620005bf565b6200072084620005d4565b8101602085101562000730578190505b620007486200073f85620005d4565b830182620006d9565b50505b505050565b600082821c905092915050565b6000620007706000198460080262000750565b1980831691505092915050565b60006200078b83836200075d565b9150826002028217905092915050565b620007a68262000521565b67ffffffffffffffff811115620007c257620007c16200052c565b5b620007ce82546200058a565b620007db82828562000700565b600060209050601f831160018114620008135760008415620007fe578287015190505b6200080a85826200077d565b8655506200087a565b601f1984166200082386620005bf565b60005b828110156200084d5784890151825560018201915060208501945060208101905062000826565b868310156200086d578489015162000869601f8916826200075d565b8355505b6001600288020188555050505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620008af8262000882565b9050919050565b620008c181620008a2565b82525050565b6000602082019050620008de6000830184620008b6565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000620009208262000647565b91506200092d8362000647565b9250828201905080821115620009485762000947620008e4565b5b92915050565b620009598162000647565b82525050565b6000606082019050620009766000830186620008b6565b6200098560208301856200094e565b6200099460408301846200094e565b949350505050565b6000602082019050620009b360008301846200094e565b92915050565b611e5e80620009c96000396000f3fe6080604052600436106101815760003560e01c8063715018a6116100d1578063ba1c3b921161008a578063d99e4ba811610064578063d99e4ba814610541578063dd62ed3e1461056c578063dfc5d02f146105a9578063f2fde38b146105d457610181565b8063ba1c3b92146104c2578063c68deb7e146104eb578063cbf6fff91461051657610181565b8063715018a6146103c25780638da5cb5b146103d9578063902d55a51461040457806395d89b411461042f578063a9059cbb1461045a578063b9d8f2de1461049757610181565b8063313ce5671161013e5780634e71d92d116101185780634e71d92d146103275780635187c3a81461033e57806354a4e08a1461034857806370a082311461038557610181565b8063313ce567146102a857806337c7d97c146102d35780633c276d86146102fc57610181565b806306fdde031461018657806309299101146101b1578063095ea7b3146101da57806318160ddd146102175780631e62b4361461024257806323b872dd1461026b575b600080fd5b34801561019257600080fd5b5061019b6105fd565b6040516101a891906115eb565b60405180910390f35b3480156101bd57600080fd5b506101d860048036038101906101d391906116b5565b61068f565b005b3480156101e657600080fd5b5061020160048036038101906101fc91906116f5565b61073f565b60405161020e9190611750565b60405180910390f35b34801561022357600080fd5b5061022c610762565b604051610239919061177a565b60405180910390f35b34801561024e57600080fd5b50610269600480360381019061026491906119a0565b61076c565b005b34801561027757600080fd5b50610292600480360381019061028d9190611a18565b610812565b60405161029f9190611750565b60405180910390f35b3480156102b457600080fd5b506102bd610841565b6040516102ca9190611a87565b60405180910390f35b3480156102df57600080fd5b506102fa60048036038101906102f59190611aa2565b61084a565b005b34801561030857600080fd5b50610311610897565b60405161031e919061177a565b60405180910390f35b34801561033357600080fd5b5061033c61089d565b005b6103466109e2565b005b34801561035457600080fd5b5061036f600480360381019061036a9190611acf565b610aed565b60405161037c919061177a565b60405180910390f35b34801561039157600080fd5b506103ac60048036038101906103a79190611acf565b610b05565b6040516103b9919061177a565b60405180910390f35b3480156103ce57600080fd5b506103d7610b4d565b005b3480156103e557600080fd5b506103ee610b61565b6040516103fb9190611b0b565b60405180910390f35b34801561041057600080fd5b50610419610b8b565b604051610426919061177a565b60405180910390f35b34801561043b57600080fd5b50610444610b9d565b60405161045191906115eb565b60405180910390f35b34801561046657600080fd5b50610481600480360381019061047c91906116f5565b610c2f565b60405161048e9190611750565b60405180910390f35b3480156104a357600080fd5b506104ac610c52565b6040516104b9919061177a565b60405180910390f35b3480156104ce57600080fd5b506104e960048036038101906104e49190611b26565b610c58565b005b3480156104f757600080fd5b50610500610cab565b60405161050d919061177a565b60405180910390f35b34801561052257600080fd5b5061052b610cb1565b604051610538919061177a565b60405180910390f35b34801561054d57600080fd5b50610556610ccf565b60405161056391906115eb565b60405180910390f35b34801561057857600080fd5b50610593600480360381019061058e9190611b66565b610d5d565b6040516105a0919061177a565b60405180910390f35b3480156105b557600080fd5b506105be610de4565b6040516105cb919061177a565b60405180910390f35b3480156105e057600080fd5b506105fb60048036038101906105f69190611acf565b610dea565b005b60606003805461060c90611bd5565b80601f016020809104026020016040519081016040528092919081815260200182805461063890611bd5565b80156106855780601f1061065a57610100808354040283529160200191610685565b820191906000526020600020905b81548152906001019060200180831161066857829003601f168201915b5050505050905090565b610697610e70565b60008173ffffffffffffffffffffffffffffffffffffffff16836040516106bd90611c37565b60006040518083038185875af1925050503d80600081146106fa576040519150601f19603f3d011682016040523d82523d6000602084013e6106ff565b606091505b505090508061073a576040517f65c7efcc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b60008061074a610ef7565b9050610757818585610eff565b600191505092915050565b6000600254905090565b610774610e70565b80518251146107af576040517feba50f8100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b825181101561080d576107fa308483815181106107d2576107d1611c4c565b5b60200260200101518484815181106107ed576107ec611c4c565b5b6020026020010151610f11565b808061080590611caa565b9150506107b2565b505050565b60008061081d610ef7565b905061082a858285611005565b610835858585610f11565b60019150509392505050565b60006012905090565b610852610e70565b600954811161088d576040517fd22806e300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600a8190555050565b60085481565b600a544210156108d9576040517fb0e9ce1e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060008103610957576040517f65c7efcc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060065460026d2658ef8aa700af9246edd32400006109779190611d21565b836109829190611d52565b61098c9190611d21565b90506000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506109de303383610f11565b5050565b6008544210806109f3575060095442115b15610a2a576040517f2d0a346e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b34600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610a799190611d94565b925050819055503460066000828254610a929190611d94565b925050819055503373ffffffffffffffffffffffffffffffffffffffff167f36c7c98dfe7e045d8de3e3a8ef7280d623eeb82e7ac5f92d4854297dd078130534600654604051610ae3929190611dc8565b60405180910390a2565b60076020528060005260406000206000915090505481565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610b55610e70565b610b5f6000611099565b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6d2658ef8aa700af9246edd324000081565b606060048054610bac90611bd5565b80601f0160208091040260200160405190810160405280929190818152602001828054610bd890611bd5565b8015610c255780601f10610bfa57610100808354040283529160200191610c25565b820191906000526020600020905b815481529060010190602001808311610c0857829003601f168201915b5050505050905090565b600080610c3a610ef7565b9050610c47818585610f11565b600191505092915050565b60065481565b610c60610e70565b808210610c99576040517fd22806e300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81600881905550806009819055505050565b60095481565b60026d2658ef8aa700af9246edd3240000610ccc9190611d21565b81565b600b8054610cdc90611bd5565b80601f0160208091040260200160405190810160405280929190818152602001828054610d0890611bd5565b8015610d555780601f10610d2a57610100808354040283529160200191610d55565b820191906000526020600020905b815481529060010190602001808311610d3857829003601f168201915b505050505081565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600a5481565b610df2610e70565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610e645760006040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401610e5b9190611b0b565b60405180910390fd5b610e6d81611099565b50565b610e78610ef7565b73ffffffffffffffffffffffffffffffffffffffff16610e96610b61565b73ffffffffffffffffffffffffffffffffffffffff1614610ef557610eb9610ef7565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610eec9190611b0b565b60405180910390fd5b565b600033905090565b610f0c838383600161115f565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610f835760006040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610f7a9190611b0b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610ff55760006040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610fec9190611b0b565b60405180910390fd5b611000838383611336565b505050565b60006110118484610d5d565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146110935781811015611083578281836040517ffb8f41b200000000000000000000000000000000000000000000000000000000815260040161107a93929190611df1565b60405180910390fd5b6110928484848403600061115f565b5b50505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036111d15760006040517fe602df050000000000000000000000000000000000000000000000000000000081526004016111c89190611b0b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036112435760006040517f94280d6200000000000000000000000000000000000000000000000000000000815260040161123a9190611b0b565b60405180910390fd5b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508015611330578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051611327919061177a565b60405180910390a35b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361138857806002600082825461137c9190611d94565b9250508190555061145b565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611414578381836040517fe450d38c00000000000000000000000000000000000000000000000000000000815260040161140b93929190611df1565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036114a457806002600082825403925050819055506114f1565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161154e919061177a565b60405180910390a3505050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561159557808201518184015260208101905061157a565b60008484015250505050565b6000601f19601f8301169050919050565b60006115bd8261155b565b6115c78185611566565b93506115d7818560208601611577565b6115e0816115a1565b840191505092915050565b6000602082019050818103600083015261160581846115b2565b905092915050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b61163481611621565b811461163f57600080fd5b50565b6000813590506116518161162b565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061168282611657565b9050919050565b61169281611677565b811461169d57600080fd5b50565b6000813590506116af81611689565b92915050565b600080604083850312156116cc576116cb611617565b5b60006116da85828601611642565b92505060206116eb858286016116a0565b9150509250929050565b6000806040838503121561170c5761170b611617565b5b600061171a858286016116a0565b925050602061172b85828601611642565b9150509250929050565b60008115159050919050565b61174a81611735565b82525050565b60006020820190506117656000830184611741565b92915050565b61177481611621565b82525050565b600060208201905061178f600083018461176b565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6117d2826115a1565b810181811067ffffffffffffffff821117156117f1576117f061179a565b5b80604052505050565b600061180461160d565b905061181082826117c9565b919050565b600067ffffffffffffffff8211156118305761182f61179a565b5b602082029050602081019050919050565b600080fd5b600061185961185484611815565b6117fa565b9050808382526020820190506020840283018581111561187c5761187b611841565b5b835b818110156118a5578061189188826116a0565b84526020840193505060208101905061187e565b5050509392505050565b600082601f8301126118c4576118c3611795565b5b81356118d4848260208601611846565b91505092915050565b600067ffffffffffffffff8211156118f8576118f761179a565b5b602082029050602081019050919050565b600061191c611917846118dd565b6117fa565b9050808382526020820190506020840283018581111561193f5761193e611841565b5b835b8181101561196857806119548882611642565b845260208401935050602081019050611941565b5050509392505050565b600082601f83011261198757611986611795565b5b8135611997848260208601611909565b91505092915050565b600080604083850312156119b7576119b6611617565b5b600083013567ffffffffffffffff8111156119d5576119d461161c565b5b6119e1858286016118af565b925050602083013567ffffffffffffffff811115611a0257611a0161161c565b5b611a0e85828601611972565b9150509250929050565b600080600060608486031215611a3157611a30611617565b5b6000611a3f868287016116a0565b9350506020611a50868287016116a0565b9250506040611a6186828701611642565b9150509250925092565b600060ff82169050919050565b611a8181611a6b565b82525050565b6000602082019050611a9c6000830184611a78565b92915050565b600060208284031215611ab857611ab7611617565b5b6000611ac684828501611642565b91505092915050565b600060208284031215611ae557611ae4611617565b5b6000611af3848285016116a0565b91505092915050565b611b0581611677565b82525050565b6000602082019050611b206000830184611afc565b92915050565b60008060408385031215611b3d57611b3c611617565b5b6000611b4b85828601611642565b9250506020611b5c85828601611642565b9150509250929050565b60008060408385031215611b7d57611b7c611617565b5b6000611b8b858286016116a0565b9250506020611b9c858286016116a0565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611bed57607f821691505b602082108103611c0057611bff611ba6565b5b50919050565b600081905092915050565b50565b6000611c21600083611c06565b9150611c2c82611c11565b600082019050919050565b6000611c4282611c14565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611cb582611621565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611ce757611ce6611c7b565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000611d2c82611621565b9150611d3783611621565b925082611d4757611d46611cf2565b5b828204905092915050565b6000611d5d82611621565b9150611d6883611621565b9250828202611d7681611621565b91508282048414831517611d8d57611d8c611c7b565b5b5092915050565b6000611d9f82611621565b9150611daa83611621565b9250828201905080821115611dc257611dc1611c7b565b5b92915050565b6000604082019050611ddd600083018561176b565b611dea602083018461176b565b9392505050565b6000606082019050611e066000830186611afc565b611e13602083018561176b565b611e20604083018461176b565b94935050505056fea2646970667358221220f51adc9962e07554b81fa6037b633666aee6fec435029e23736fec891c3d0d0564736f6c63430008140033

Deployed Bytecode

0x6080604052600436106101815760003560e01c8063715018a6116100d1578063ba1c3b921161008a578063d99e4ba811610064578063d99e4ba814610541578063dd62ed3e1461056c578063dfc5d02f146105a9578063f2fde38b146105d457610181565b8063ba1c3b92146104c2578063c68deb7e146104eb578063cbf6fff91461051657610181565b8063715018a6146103c25780638da5cb5b146103d9578063902d55a51461040457806395d89b411461042f578063a9059cbb1461045a578063b9d8f2de1461049757610181565b8063313ce5671161013e5780634e71d92d116101185780634e71d92d146103275780635187c3a81461033e57806354a4e08a1461034857806370a082311461038557610181565b8063313ce567146102a857806337c7d97c146102d35780633c276d86146102fc57610181565b806306fdde031461018657806309299101146101b1578063095ea7b3146101da57806318160ddd146102175780631e62b4361461024257806323b872dd1461026b575b600080fd5b34801561019257600080fd5b5061019b6105fd565b6040516101a891906115eb565b60405180910390f35b3480156101bd57600080fd5b506101d860048036038101906101d391906116b5565b61068f565b005b3480156101e657600080fd5b5061020160048036038101906101fc91906116f5565b61073f565b60405161020e9190611750565b60405180910390f35b34801561022357600080fd5b5061022c610762565b604051610239919061177a565b60405180910390f35b34801561024e57600080fd5b50610269600480360381019061026491906119a0565b61076c565b005b34801561027757600080fd5b50610292600480360381019061028d9190611a18565b610812565b60405161029f9190611750565b60405180910390f35b3480156102b457600080fd5b506102bd610841565b6040516102ca9190611a87565b60405180910390f35b3480156102df57600080fd5b506102fa60048036038101906102f59190611aa2565b61084a565b005b34801561030857600080fd5b50610311610897565b60405161031e919061177a565b60405180910390f35b34801561033357600080fd5b5061033c61089d565b005b6103466109e2565b005b34801561035457600080fd5b5061036f600480360381019061036a9190611acf565b610aed565b60405161037c919061177a565b60405180910390f35b34801561039157600080fd5b506103ac60048036038101906103a79190611acf565b610b05565b6040516103b9919061177a565b60405180910390f35b3480156103ce57600080fd5b506103d7610b4d565b005b3480156103e557600080fd5b506103ee610b61565b6040516103fb9190611b0b565b60405180910390f35b34801561041057600080fd5b50610419610b8b565b604051610426919061177a565b60405180910390f35b34801561043b57600080fd5b50610444610b9d565b60405161045191906115eb565b60405180910390f35b34801561046657600080fd5b50610481600480360381019061047c91906116f5565b610c2f565b60405161048e9190611750565b60405180910390f35b3480156104a357600080fd5b506104ac610c52565b6040516104b9919061177a565b60405180910390f35b3480156104ce57600080fd5b506104e960048036038101906104e49190611b26565b610c58565b005b3480156104f757600080fd5b50610500610cab565b60405161050d919061177a565b60405180910390f35b34801561052257600080fd5b5061052b610cb1565b604051610538919061177a565b60405180910390f35b34801561054d57600080fd5b50610556610ccf565b60405161056391906115eb565b60405180910390f35b34801561057857600080fd5b50610593600480360381019061058e9190611b66565b610d5d565b6040516105a0919061177a565b60405180910390f35b3480156105b557600080fd5b506105be610de4565b6040516105cb919061177a565b60405180910390f35b3480156105e057600080fd5b506105fb60048036038101906105f69190611acf565b610dea565b005b60606003805461060c90611bd5565b80601f016020809104026020016040519081016040528092919081815260200182805461063890611bd5565b80156106855780601f1061065a57610100808354040283529160200191610685565b820191906000526020600020905b81548152906001019060200180831161066857829003601f168201915b5050505050905090565b610697610e70565b60008173ffffffffffffffffffffffffffffffffffffffff16836040516106bd90611c37565b60006040518083038185875af1925050503d80600081146106fa576040519150601f19603f3d011682016040523d82523d6000602084013e6106ff565b606091505b505090508061073a576040517f65c7efcc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b60008061074a610ef7565b9050610757818585610eff565b600191505092915050565b6000600254905090565b610774610e70565b80518251146107af576040517feba50f8100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b825181101561080d576107fa308483815181106107d2576107d1611c4c565b5b60200260200101518484815181106107ed576107ec611c4c565b5b6020026020010151610f11565b808061080590611caa565b9150506107b2565b505050565b60008061081d610ef7565b905061082a858285611005565b610835858585610f11565b60019150509392505050565b60006012905090565b610852610e70565b600954811161088d576040517fd22806e300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600a8190555050565b60085481565b600a544210156108d9576040517fb0e9ce1e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060008103610957576040517f65c7efcc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060065460026d2658ef8aa700af9246edd32400006109779190611d21565b836109829190611d52565b61098c9190611d21565b90506000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506109de303383610f11565b5050565b6008544210806109f3575060095442115b15610a2a576040517f2d0a346e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b34600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610a799190611d94565b925050819055503460066000828254610a929190611d94565b925050819055503373ffffffffffffffffffffffffffffffffffffffff167f36c7c98dfe7e045d8de3e3a8ef7280d623eeb82e7ac5f92d4854297dd078130534600654604051610ae3929190611dc8565b60405180910390a2565b60076020528060005260406000206000915090505481565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610b55610e70565b610b5f6000611099565b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6d2658ef8aa700af9246edd324000081565b606060048054610bac90611bd5565b80601f0160208091040260200160405190810160405280929190818152602001828054610bd890611bd5565b8015610c255780601f10610bfa57610100808354040283529160200191610c25565b820191906000526020600020905b815481529060010190602001808311610c0857829003601f168201915b5050505050905090565b600080610c3a610ef7565b9050610c47818585610f11565b600191505092915050565b60065481565b610c60610e70565b808210610c99576040517fd22806e300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81600881905550806009819055505050565b60095481565b60026d2658ef8aa700af9246edd3240000610ccc9190611d21565b81565b600b8054610cdc90611bd5565b80601f0160208091040260200160405190810160405280929190818152602001828054610d0890611bd5565b8015610d555780601f10610d2a57610100808354040283529160200191610d55565b820191906000526020600020905b815481529060010190602001808311610d3857829003601f168201915b505050505081565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600a5481565b610df2610e70565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610e645760006040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401610e5b9190611b0b565b60405180910390fd5b610e6d81611099565b50565b610e78610ef7565b73ffffffffffffffffffffffffffffffffffffffff16610e96610b61565b73ffffffffffffffffffffffffffffffffffffffff1614610ef557610eb9610ef7565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610eec9190611b0b565b60405180910390fd5b565b600033905090565b610f0c838383600161115f565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610f835760006040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610f7a9190611b0b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610ff55760006040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610fec9190611b0b565b60405180910390fd5b611000838383611336565b505050565b60006110118484610d5d565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146110935781811015611083578281836040517ffb8f41b200000000000000000000000000000000000000000000000000000000815260040161107a93929190611df1565b60405180910390fd5b6110928484848403600061115f565b5b50505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036111d15760006040517fe602df050000000000000000000000000000000000000000000000000000000081526004016111c89190611b0b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036112435760006040517f94280d6200000000000000000000000000000000000000000000000000000000815260040161123a9190611b0b565b60405180910390fd5b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508015611330578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051611327919061177a565b60405180910390a35b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361138857806002600082825461137c9190611d94565b9250508190555061145b565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611414578381836040517fe450d38c00000000000000000000000000000000000000000000000000000000815260040161140b93929190611df1565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036114a457806002600082825403925050819055506114f1565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161154e919061177a565b60405180910390a3505050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561159557808201518184015260208101905061157a565b60008484015250505050565b6000601f19601f8301169050919050565b60006115bd8261155b565b6115c78185611566565b93506115d7818560208601611577565b6115e0816115a1565b840191505092915050565b6000602082019050818103600083015261160581846115b2565b905092915050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b61163481611621565b811461163f57600080fd5b50565b6000813590506116518161162b565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061168282611657565b9050919050565b61169281611677565b811461169d57600080fd5b50565b6000813590506116af81611689565b92915050565b600080604083850312156116cc576116cb611617565b5b60006116da85828601611642565b92505060206116eb858286016116a0565b9150509250929050565b6000806040838503121561170c5761170b611617565b5b600061171a858286016116a0565b925050602061172b85828601611642565b9150509250929050565b60008115159050919050565b61174a81611735565b82525050565b60006020820190506117656000830184611741565b92915050565b61177481611621565b82525050565b600060208201905061178f600083018461176b565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6117d2826115a1565b810181811067ffffffffffffffff821117156117f1576117f061179a565b5b80604052505050565b600061180461160d565b905061181082826117c9565b919050565b600067ffffffffffffffff8211156118305761182f61179a565b5b602082029050602081019050919050565b600080fd5b600061185961185484611815565b6117fa565b9050808382526020820190506020840283018581111561187c5761187b611841565b5b835b818110156118a5578061189188826116a0565b84526020840193505060208101905061187e565b5050509392505050565b600082601f8301126118c4576118c3611795565b5b81356118d4848260208601611846565b91505092915050565b600067ffffffffffffffff8211156118f8576118f761179a565b5b602082029050602081019050919050565b600061191c611917846118dd565b6117fa565b9050808382526020820190506020840283018581111561193f5761193e611841565b5b835b8181101561196857806119548882611642565b845260208401935050602081019050611941565b5050509392505050565b600082601f83011261198757611986611795565b5b8135611997848260208601611909565b91505092915050565b600080604083850312156119b7576119b6611617565b5b600083013567ffffffffffffffff8111156119d5576119d461161c565b5b6119e1858286016118af565b925050602083013567ffffffffffffffff811115611a0257611a0161161c565b5b611a0e85828601611972565b9150509250929050565b600080600060608486031215611a3157611a30611617565b5b6000611a3f868287016116a0565b9350506020611a50868287016116a0565b9250506040611a6186828701611642565b9150509250925092565b600060ff82169050919050565b611a8181611a6b565b82525050565b6000602082019050611a9c6000830184611a78565b92915050565b600060208284031215611ab857611ab7611617565b5b6000611ac684828501611642565b91505092915050565b600060208284031215611ae557611ae4611617565b5b6000611af3848285016116a0565b91505092915050565b611b0581611677565b82525050565b6000602082019050611b206000830184611afc565b92915050565b60008060408385031215611b3d57611b3c611617565b5b6000611b4b85828601611642565b9250506020611b5c85828601611642565b9150509250929050565b60008060408385031215611b7d57611b7c611617565b5b6000611b8b858286016116a0565b9250506020611b9c858286016116a0565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611bed57607f821691505b602082108103611c0057611bff611ba6565b5b50919050565b600081905092915050565b50565b6000611c21600083611c06565b9150611c2c82611c11565b600082019050919050565b6000611c4282611c14565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611cb582611621565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611ce757611ce6611c7b565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000611d2c82611621565b9150611d3783611621565b925082611d4757611d46611cf2565b5b828204905092915050565b6000611d5d82611621565b9150611d6883611621565b9250828202611d7681611621565b91508282048414831517611d8d57611d8c611c7b565b5b5092915050565b6000611d9f82611621565b9150611daa83611621565b9250828201905080821115611dc257611dc1611c7b565b5b92915050565b6000604082019050611ddd600083018561176b565b611dea602083018461176b565b9392505050565b6000606082019050611e066000830186611afc565b611e13602083018561176b565b611e20604083018461176b565b94935050505056fea2646970667358221220f51adc9962e07554b81fa6037b633666aee6fec435029e23736fec891c3d0d0564736f6c63430008140033

Loading