ETH Price: $2,096.20 (+1.82%)

Contract

0x4f4e40E8F66e3Cc0FD7423E2fbd62A769ff551FB
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve163344142023-01-04 15:47:231164 days ago1672847243IN
0x4f4e40E8...69ff551FB
0 ETH0.0005248521.57221467
Approve163344142023-01-04 15:47:231164 days ago1672847243IN
0x4f4e40E8...69ff551FB
0 ETH0.0005248521.57221467
Transfer161945312022-12-16 3:20:111183 days ago1671160811IN
0x4f4e40E8...69ff551FB
0 ETH0.0010658220.64471295
Approve160988902022-12-02 18:23:231196 days ago1670005403IN
0x4f4e40E8...69ff551FB
0 ETH0.0003602313.68773641
Approve160734512022-11-29 5:06:351200 days ago1669698395IN
0x4f4e40E8...69ff551FB
0 ETH0.0005687912.27484167
Approve160665992022-11-28 6:09:471201 days ago1669615787IN
0x4f4e40E8...69ff551FB
0 ETH0.000506710.9377888
Approve160616152022-11-27 13:26:351202 days ago1669555595IN
0x4f4e40E8...69ff551FB
0 ETH0.000486310.49744518
Approve160564162022-11-26 20:02:231202 days ago1669492943IN
0x4f4e40E8...69ff551FB
0 ETH0.000457819.88249029
Approve160382272022-11-24 7:03:591205 days ago1669273439IN
0x4f4e40E8...69ff551FB
0 ETH0.0005987712.92516056
Approve160381922022-11-24 6:56:591205 days ago1669273019IN
0x4f4e40E8...69ff551FB
0 ETH0.0005712412.33102839
Approve160381582022-11-24 6:50:111205 days ago1669272611IN
0x4f4e40E8...69ff551FB
0 ETH0.000564212.17906306
Mint160329092022-11-23 13:11:351206 days ago1669209095IN
0x4f4e40E8...69ff551FB
0 ETH0.0006730512.57334972
Approve160328942022-11-23 13:08:351206 days ago1669208915IN
0x4f4e40E8...69ff551FB
0 ETH0.0005843312.61676911
Transfer160326602022-11-23 12:21:231206 days ago1669206083IN
0x4f4e40E8...69ff551FB
0 ETH0.0005323915.41968011
Transfer160325362022-11-23 11:56:111206 days ago1669204571IN
0x4f4e40E8...69ff551FB
0 ETH0.0004241712.28522986
Approve160283122022-11-22 21:45:591206 days ago1669153559IN
0x4f4e40E8...69ff551FB
0 ETH0.0005502611.87805205
Approve160156042022-11-21 3:08:231208 days ago1669000103IN
0x4f4e40E8...69ff551FB
0 ETH0.0005330711.50706241
Claim160048862022-11-19 15:14:351210 days ago1668870875IN
0x4f4e40E8...69ff551FB
0 ETH0.0066740915.3709121
Approve160014222022-11-19 3:37:231210 days ago1668829043IN
0x4f4e40E8...69ff551FB
0 ETH0.0005896712.72876812
Transfer159937322022-11-18 1:51:471211 days ago1668736307IN
0x4f4e40E8...69ff551FB
0 ETH0.0003887213.07651003
Transfer159820312022-11-16 10:36:231213 days ago1668594983IN
0x4f4e40E8...69ff551FB
0 ETH0.0006792113.15623911
Mint159793732022-11-16 1:41:231213 days ago1668562883IN
0x4f4e40E8...69ff551FB
0 ETH0.0005255214.42548656
Transfer159793162022-11-16 1:29:471213 days ago1668562187IN
0x4f4e40E8...69ff551FB
0 ETH0.0005045114.61229679
Transfer159703692022-11-14 19:28:351214 days ago1668454115IN
0x4f4e40E8...69ff551FB
0 ETH0.0008865118.93179959
Claim159603092022-11-13 9:48:591216 days ago1668332939IN
0x4f4e40E8...69ff551FB
0 ETH0.0017376413
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
OasisToken

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 800 runs

Other Settings:
default evmVersion
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

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

/**
 * @author  . 0xFirekeeper
 * @title   . Oasis Token
 * @notice  . Standard ERC-20 for the Oasis. Mintable by assigned Minters or by burning a Crazy Camels NFT.
 */

contract OasisToken is ERC20, Ownable {
    /// ERRORS ///

    error NotMinter();
    error InvalidArguments();

    /// STATE VARIABLES ///

    address public immutable crazyCamels;
    address public immutable oasisGraveyard;
    uint128 public immutable tokensPerCrazyCamel;
    mapping(address => bool) public minter;

    /// EVENTS ///

    event Claimed(address indexed claimer, uint256 indexed camelsBurned);

    /// CONSTRUCTOR ///

    constructor(
        address _crazyCamels,
        address _oasisGraveyard,
        uint128 _tokensPerCrazyCamel
    ) ERC20("Oasis Token", "OST") {
        crazyCamels = _crazyCamels;
        oasisGraveyard = _oasisGraveyard;
        tokensPerCrazyCamel = _tokensPerCrazyCamel;
    }

    /// OWNER FUNCTIONS ///

    function addMinter(address _minter) external onlyOwner {
        minter[_minter] = true;
    }

    function removeMinter(address _minter) external onlyOwner {
        minter[_minter] = false;
    }

    /// MINTER FUNCTIONS ///

    function mint(address _to, uint256 _amount) external {
        if (!minter[msg.sender]) revert NotMinter();
        _mint(_to, _amount);
    }

    /// USER FUNCTIONS ///

    function claim(uint256[] calldata _tokenIds) external {
        if (1 > _tokenIds.length) revert InvalidArguments();

        for (uint256 i = 0; i < _tokenIds.length; i++)
            IERC721(crazyCamels).transferFrom(msg.sender, oasisGraveyard, _tokenIds[i]);

        _mint(msg.sender, _tokenIds.length * tokensPerCrazyCamel);

        emit Claimed(msg.sender, _tokenIds.length);
    }
}

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

File 3 of 9 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC721.sol)

pragma solidity ^0.8.0;

import "../token/ERC721/IERC721.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 {}
}

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

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

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

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);
}

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 800
  },
  "evmVersion": "london",
  "remappings": [],
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_crazyCamels","type":"address"},{"internalType":"address","name":"_oasisGraveyard","type":"address"},{"internalType":"uint128","name":"_tokensPerCrazyCamel","type":"uint128"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"InvalidArguments","type":"error"},{"inputs":[],"name":"NotMinter","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":"claimer","type":"address"},{"indexed":true,"internalType":"uint256","name":"camelsBurned","type":"uint256"}],"name":"Claimed","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":[{"internalType":"address","name":"_minter","type":"address"}],"name":"addMinter","outputs":[],"stateMutability":"nonpayable","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":"amount","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":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"crazyCamels","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"oasisGraveyard","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_minter","type":"address"}],"name":"removeMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensPerCrazyCamel","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"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":"amount","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":"amount","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"}]

60e06040523480156200001157600080fd5b5060405162001352380380620013528339810160408190526200003491620001fd565b6040518060400160405280600b81526020016a27b0b9b4b9902a37b5b2b760a91b8152506040518060400160405280600381526020016213d4d560ea1b81525081600390805190602001906200008c9291906200013a565b508051620000a29060049060208401906200013a565b505050620000bf620000b9620000e460201b60201c565b620000e8565b6001600160a01b03928316608052911660a0526001600160801b031660c05262000293565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001489062000257565b90600052602060002090601f0160209004810192826200016c5760008555620001b7565b82601f106200018757805160ff1916838001178555620001b7565b82800160010185558215620001b7579182015b82811115620001b75782518255916020019190600101906200019a565b50620001c5929150620001c9565b5090565b5b80821115620001c55760008155600101620001ca565b80516001600160a01b0381168114620001f857600080fd5b919050565b6000806000606084860312156200021357600080fd5b6200021e84620001e0565b92506200022e60208501620001e0565b60408501519092506001600160801b03811681146200024c57600080fd5b809150509250925092565b600181811c908216806200026c57607f821691505b6020821081036200028d57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05161107a620002d8600039600081816101f2015261069f01526000818161032b01526105b90152600081816103780152610589015261107a6000f3fe608060405234801561001057600080fd5b50600436106101825760003560e01c806370a08231116100d85780639ff516751161008c578063c79476b511610066578063c79476b514610373578063dd62ed3e1461039a578063f2fde38b146103d357600080fd5b80639ff5167514610326578063a457c2d71461034d578063a9059cbb1461036057600080fd5b80638da5cb5b116100bd5780638da5cb5b146102e657806395d89b411461030b578063983b2d561461031357600080fd5b806370a08231146102b5578063715018a6146102de57600080fd5b80633092afd51161013a5780633dd08c38116101145780633dd08c381461026c57806340c10f191461028f5780636ba4c138146102a257600080fd5b80633092afd514610235578063313ce5671461024a578063395093511461025957600080fd5b806318160ddd1161016b57806318160ddd146101c857806323b872dd146101da5780632647cfac146101ed57600080fd5b806306fdde0314610187578063095ea7b3146101a5575b600080fd5b61018f6103e6565b60405161019c9190610ded565b60405180910390f35b6101b86101b3366004610e5e565b610478565b604051901515815260200161019c565b6002545b60405190815260200161019c565b6101b86101e8366004610e88565b610490565b6102147f000000000000000000000000000000000000000000000000000000000000000081565b6040516fffffffffffffffffffffffffffffffff909116815260200161019c565b610248610243366004610ec4565b6104b4565b005b6040516012815260200161019c565b6101b8610267366004610e5e565b6104dd565b6101b861027a366004610ec4565b60066020526000908152604090205460ff1681565b61024861029d366004610e5e565b61051c565b6102486102b0366004610ee6565b61055a565b6101cc6102c3366004610ec4565b6001600160a01b031660009081526020819052604090205490565b6102486106fb565b6005546001600160a01b03165b6040516001600160a01b03909116815260200161019c565b61018f61070f565b610248610321366004610ec4565b61071e565b6102f37f000000000000000000000000000000000000000000000000000000000000000081565b6101b861035b366004610e5e565b61074a565b6101b861036e366004610e5e565b6107f9565b6102f37f000000000000000000000000000000000000000000000000000000000000000081565b6101cc6103a8366004610f5b565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6102486103e1366004610ec4565b610807565b6060600380546103f590610f8e565b80601f016020809104026020016040519081016040528092919081815260200182805461042190610f8e565b801561046e5780601f106104435761010080835404028352916020019161046e565b820191906000526020600020905b81548152906001019060200180831161045157829003601f168201915b5050505050905090565b600033610486818585610897565b5060019392505050565b60003361049e8582856109bb565b6104a9858585610a4d565b506001949350505050565b6104bc610c4a565b6001600160a01b03166000908152600660205260409020805460ff19169055565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906104869082908690610517908790610fde565b610897565b3360009081526006602052604090205460ff1661054c57604051633e34a41b60e21b815260040160405180910390fd5b6105568282610ca4565b5050565b600181101561057c576040516317dbc4cb60e21b815260040160405180910390fd5b60005b81811015610684577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166323b872dd337f00000000000000000000000000000000000000000000000000000000000000008686868181106105ea576105ea610ff6565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152606401600060405180830381600087803b15801561065957600080fd5b505af115801561066d573d6000803e3d6000fd5b50505050808061067c9061100c565b91505061057f565b506106ca336106c56fffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001684611025565b610ca4565b604051819033907fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a90600090a35050565b610703610c4a565b61070d6000610d83565b565b6060600480546103f590610f8e565b610726610c4a565b6001600160a01b03166000908152600660205260409020805460ff19166001179055565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156107ec5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6104a98286868403610897565b600033610486818585610a4d565b61080f610c4a565b6001600160a01b03811661088b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016107e3565b61089481610d83565b50565b6001600160a01b0383166108f95760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107e3565b6001600160a01b03821661095a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107e3565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610a475781811015610a3a5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016107e3565b610a478484848403610897565b50505050565b6001600160a01b038316610ac95760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016107e3565b6001600160a01b038216610b2b5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016107e3565b6001600160a01b03831660009081526020819052604090205481811015610bba5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016107e3565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610bf1908490610fde565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610c3d91815260200190565b60405180910390a3610a47565b6005546001600160a01b0316331461070d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e3565b6001600160a01b038216610cfa5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016107e3565b8060026000828254610d0c9190610fde565b90915550506001600160a01b03821660009081526020819052604081208054839290610d39908490610fde565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600580546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600060208083528351808285015260005b81811015610e1a57858101830151858201604001528201610dfe565b81811115610e2c576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b0381168114610e5957600080fd5b919050565b60008060408385031215610e7157600080fd5b610e7a83610e42565b946020939093013593505050565b600080600060608486031215610e9d57600080fd5b610ea684610e42565b9250610eb460208501610e42565b9150604084013590509250925092565b600060208284031215610ed657600080fd5b610edf82610e42565b9392505050565b60008060208385031215610ef957600080fd5b823567ffffffffffffffff80821115610f1157600080fd5b818501915085601f830112610f2557600080fd5b813581811115610f3457600080fd5b8660208260051b8501011115610f4957600080fd5b60209290920196919550909350505050565b60008060408385031215610f6e57600080fd5b610f7783610e42565b9150610f8560208401610e42565b90509250929050565b600181811c90821680610fa257607f821691505b602082108103610fc257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115610ff157610ff1610fc8565b500190565b634e487b7160e01b600052603260045260246000fd5b60006001820161101e5761101e610fc8565b5060010190565b600081600019048311821515161561103f5761103f610fc8565b50029056fea264697066735822122094dd9ec1bdba0cb6e85ce7fa8bf21895b907785233e275f0b045e657f53e34d164736f6c634300080d0033000000000000000000000000062c74e593ce3c6574f126a1a35ab55dffdd63a600000000000000000000000004293732bc3da7b555d948b62a44193b6af50da100000000000000000000000000000000000000000000021e19e0c9bab2400000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101825760003560e01c806370a08231116100d85780639ff516751161008c578063c79476b511610066578063c79476b514610373578063dd62ed3e1461039a578063f2fde38b146103d357600080fd5b80639ff5167514610326578063a457c2d71461034d578063a9059cbb1461036057600080fd5b80638da5cb5b116100bd5780638da5cb5b146102e657806395d89b411461030b578063983b2d561461031357600080fd5b806370a08231146102b5578063715018a6146102de57600080fd5b80633092afd51161013a5780633dd08c38116101145780633dd08c381461026c57806340c10f191461028f5780636ba4c138146102a257600080fd5b80633092afd514610235578063313ce5671461024a578063395093511461025957600080fd5b806318160ddd1161016b57806318160ddd146101c857806323b872dd146101da5780632647cfac146101ed57600080fd5b806306fdde0314610187578063095ea7b3146101a5575b600080fd5b61018f6103e6565b60405161019c9190610ded565b60405180910390f35b6101b86101b3366004610e5e565b610478565b604051901515815260200161019c565b6002545b60405190815260200161019c565b6101b86101e8366004610e88565b610490565b6102147f00000000000000000000000000000000000000000000021e19e0c9bab240000081565b6040516fffffffffffffffffffffffffffffffff909116815260200161019c565b610248610243366004610ec4565b6104b4565b005b6040516012815260200161019c565b6101b8610267366004610e5e565b6104dd565b6101b861027a366004610ec4565b60066020526000908152604090205460ff1681565b61024861029d366004610e5e565b61051c565b6102486102b0366004610ee6565b61055a565b6101cc6102c3366004610ec4565b6001600160a01b031660009081526020819052604090205490565b6102486106fb565b6005546001600160a01b03165b6040516001600160a01b03909116815260200161019c565b61018f61070f565b610248610321366004610ec4565b61071e565b6102f37f00000000000000000000000004293732bc3da7b555d948b62a44193b6af50da181565b6101b861035b366004610e5e565b61074a565b6101b861036e366004610e5e565b6107f9565b6102f37f000000000000000000000000062c74e593ce3c6574f126a1a35ab55dffdd63a681565b6101cc6103a8366004610f5b565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6102486103e1366004610ec4565b610807565b6060600380546103f590610f8e565b80601f016020809104026020016040519081016040528092919081815260200182805461042190610f8e565b801561046e5780601f106104435761010080835404028352916020019161046e565b820191906000526020600020905b81548152906001019060200180831161045157829003601f168201915b5050505050905090565b600033610486818585610897565b5060019392505050565b60003361049e8582856109bb565b6104a9858585610a4d565b506001949350505050565b6104bc610c4a565b6001600160a01b03166000908152600660205260409020805460ff19169055565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906104869082908690610517908790610fde565b610897565b3360009081526006602052604090205460ff1661054c57604051633e34a41b60e21b815260040160405180910390fd5b6105568282610ca4565b5050565b600181101561057c576040516317dbc4cb60e21b815260040160405180910390fd5b60005b81811015610684577f000000000000000000000000062c74e593ce3c6574f126a1a35ab55dffdd63a66001600160a01b03166323b872dd337f00000000000000000000000004293732bc3da7b555d948b62a44193b6af50da18686868181106105ea576105ea610ff6565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152606401600060405180830381600087803b15801561065957600080fd5b505af115801561066d573d6000803e3d6000fd5b50505050808061067c9061100c565b91505061057f565b506106ca336106c56fffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000021e19e0c9bab24000001684611025565b610ca4565b604051819033907fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a90600090a35050565b610703610c4a565b61070d6000610d83565b565b6060600480546103f590610f8e565b610726610c4a565b6001600160a01b03166000908152600660205260409020805460ff19166001179055565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156107ec5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6104a98286868403610897565b600033610486818585610a4d565b61080f610c4a565b6001600160a01b03811661088b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016107e3565b61089481610d83565b50565b6001600160a01b0383166108f95760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107e3565b6001600160a01b03821661095a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107e3565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610a475781811015610a3a5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016107e3565b610a478484848403610897565b50505050565b6001600160a01b038316610ac95760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016107e3565b6001600160a01b038216610b2b5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016107e3565b6001600160a01b03831660009081526020819052604090205481811015610bba5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016107e3565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610bf1908490610fde565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610c3d91815260200190565b60405180910390a3610a47565b6005546001600160a01b0316331461070d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e3565b6001600160a01b038216610cfa5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016107e3565b8060026000828254610d0c9190610fde565b90915550506001600160a01b03821660009081526020819052604081208054839290610d39908490610fde565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600580546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600060208083528351808285015260005b81811015610e1a57858101830151858201604001528201610dfe565b81811115610e2c576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b0381168114610e5957600080fd5b919050565b60008060408385031215610e7157600080fd5b610e7a83610e42565b946020939093013593505050565b600080600060608486031215610e9d57600080fd5b610ea684610e42565b9250610eb460208501610e42565b9150604084013590509250925092565b600060208284031215610ed657600080fd5b610edf82610e42565b9392505050565b60008060208385031215610ef957600080fd5b823567ffffffffffffffff80821115610f1157600080fd5b818501915085601f830112610f2557600080fd5b813581811115610f3457600080fd5b8660208260051b8501011115610f4957600080fd5b60209290920196919550909350505050565b60008060408385031215610f6e57600080fd5b610f7783610e42565b9150610f8560208401610e42565b90509250929050565b600181811c90821680610fa257607f821691505b602082108103610fc257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115610ff157610ff1610fc8565b500190565b634e487b7160e01b600052603260045260246000fd5b60006001820161101e5761101e610fc8565b5060010190565b600081600019048311821515161561103f5761103f610fc8565b50029056fea264697066735822122094dd9ec1bdba0cb6e85ce7fa8bf21895b907785233e275f0b045e657f53e34d164736f6c634300080d0033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000062c74e593ce3c6574f126a1a35ab55dffdd63a600000000000000000000000004293732bc3da7b555d948b62a44193b6af50da100000000000000000000000000000000000000000000021e19e0c9bab2400000

-----Decoded View---------------
Arg [0] : _crazyCamels (address): 0x062c74E593CE3C6574F126A1a35Ab55Dffdd63A6
Arg [1] : _oasisGraveyard (address): 0x04293732bc3da7B555d948B62A44193B6Af50DA1
Arg [2] : _tokensPerCrazyCamel (uint128): 10000000000000000000000

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000062c74e593ce3c6574f126a1a35ab55dffdd63a6
Arg [1] : 00000000000000000000000004293732bc3da7b555d948b62a44193b6af50da1
Arg [2] : 00000000000000000000000000000000000000000000021e19e0c9bab2400000


Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.