ETH Price: $3,375.93 (-2.37%)

Contract

0x3c28F37AD4B835EBc00c1386347DBFC25CD27905
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Fund Calladita169147172023-03-26 22:58:23641 days ago1679871503IN
0x3c28F37A...25CD27905
0.18 ETH0.0040928418.42552725
Fund Calladita169146692023-03-26 22:48:23641 days ago1679870903IN
0x3c28F37A...25CD27905
0.18 ETH0.0041675116.10140553
Fund Calladita169146472023-03-26 22:43:59641 days ago1679870639IN
0x3c28F37A...25CD27905
0.36 ETH0.0073561417.98137546
Fund Calladita169146262023-03-26 22:39:47641 days ago1679870387IN
0x3c28F37A...25CD27905
0.18 ETH0.0049869919.26753231
Fund Calladita169146162023-03-26 22:37:47641 days ago1679870267IN
0x3c28F37A...25CD27905
0.18 ETH0.0053592420.70573974
Fund Calladita169145672023-03-26 22:27:35641 days ago1679869655IN
0x3c28F37A...25CD27905
0.18 ETH0.0064404524.88303179
Fund Calladita169145572023-03-26 22:25:35641 days ago1679869535IN
0x3c28F37A...25CD27905
1.26 ETH0.0338181530.09370252
Fund Calladita169144112023-03-26 21:55:59641 days ago1679867759IN
0x3c28F37A...25CD27905
0.18 ETH0.005111119.74702335
Fund Calladita169140772023-03-26 20:48:47641 days ago1679863727IN
0x3c28F37A...25CD27905
0.18 ETH0.0047266118.26155123
Fund Calladita169140502023-03-26 20:43:23641 days ago1679863403IN
0x3c28F37A...25CD27905
0.18 ETH0.0063997624.72585568
Fund Calladita169140292023-03-26 20:39:11641 days ago1679863151IN
0x3c28F37A...25CD27905
0.18 ETH0.0058042822.42515887
Fund Calladita169139502023-03-26 20:23:23641 days ago1679862203IN
0x3c28F37A...25CD27905
0.18 ETH0.0054499621.05624032
Fund Calladita169139082023-03-26 20:14:59641 days ago1679861699IN
0x3c28F37A...25CD27905
0.18 ETH0.0049459122.01814346
Fund Calladita169138542023-03-26 20:04:11641 days ago1679861051IN
0x3c28F37A...25CD27905
0.18 ETH0.0057489225.59297487
Fund Calladita169136372023-03-26 19:20:11641 days ago1679858411IN
0x3c28F37A...25CD27905
0.18 ETH0.0054467421.0437792
Fund Calladita169134172023-03-26 18:35:35641 days ago1679855735IN
0x3c28F37A...25CD27905
3.06 ETH0.0557008320.91464995
Fund Calladita169132652023-03-26 18:04:35641 days ago1679853875IN
0x3c28F37A...25CD27905
0.18 ETH0.0054746322.64780226
Fund Calladita169132592023-03-26 18:03:23641 days ago1679853803IN
0x3c28F37A...25CD27905
0.18 ETH0.0055467921.43033135
Fund Calladita169123202023-03-26 14:53:23641 days ago1679842403IN
0x3c28F37A...25CD27905
0.36 ETH0.0104054125.43502003
Fund Calladita169120942023-03-26 14:07:59641 days ago1679839679IN
0x3c28F37A...25CD27905
0.18 ETH0.0067156725.94639465
Fund Calladita169117392023-03-26 12:55:59641 days ago1679835359IN
0x3c28F37A...25CD27905
0.18 ETH0.0042493816.41774815
Fund Calladita169088432023-03-26 3:11:23641 days ago1679800283IN
0x3c28F37A...25CD27905
0.18 ETH0.0041248515.9365925
Fund Calladita169083652023-03-26 1:34:35642 days ago1679794475IN
0x3c28F37A...25CD27905
0.18 ETH0.0042534916.43361943
Fund Calladita169081272023-03-26 0:46:23642 days ago1679791583IN
0x3c28F37A...25CD27905
0.18 ETH0.005025519.41630719
Fund Calladita169078072023-03-25 23:41:11642 days ago1679787671IN
0x3c28F37A...25CD27905
0.18 ETH0.0050332219.4461368
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
169147172023-03-26 22:58:23641 days ago1679871503
0x3c28F37A...25CD27905
0.18 ETH
169146692023-03-26 22:48:23641 days ago1679870903
0x3c28F37A...25CD27905
0.18 ETH
169146472023-03-26 22:43:59641 days ago1679870639
0x3c28F37A...25CD27905
0.36 ETH
169146262023-03-26 22:39:47641 days ago1679870387
0x3c28F37A...25CD27905
0.18 ETH
169146162023-03-26 22:37:47641 days ago1679870267
0x3c28F37A...25CD27905
0.18 ETH
169145672023-03-26 22:27:35641 days ago1679869655
0x3c28F37A...25CD27905
0.18 ETH
169145572023-03-26 22:25:35641 days ago1679869535
0x3c28F37A...25CD27905
1.26 ETH
169144112023-03-26 21:55:59641 days ago1679867759
0x3c28F37A...25CD27905
0.18 ETH
169140772023-03-26 20:48:47641 days ago1679863727
0x3c28F37A...25CD27905
0.18 ETH
169140502023-03-26 20:43:23641 days ago1679863403
0x3c28F37A...25CD27905
0.18 ETH
169140292023-03-26 20:39:11641 days ago1679863151
0x3c28F37A...25CD27905
0.18 ETH
169139502023-03-26 20:23:23641 days ago1679862203
0x3c28F37A...25CD27905
0.18 ETH
169139082023-03-26 20:14:59641 days ago1679861699
0x3c28F37A...25CD27905
0.18 ETH
169138542023-03-26 20:04:11641 days ago1679861051
0x3c28F37A...25CD27905
0.18 ETH
169136372023-03-26 19:20:11641 days ago1679858411
0x3c28F37A...25CD27905
0.18 ETH
169134172023-03-26 18:35:35641 days ago1679855735
0x3c28F37A...25CD27905
3.06 ETH
169132652023-03-26 18:04:35641 days ago1679853875
0x3c28F37A...25CD27905
0.18 ETH
169132592023-03-26 18:03:23641 days ago1679853803
0x3c28F37A...25CD27905
0.18 ETH
169123202023-03-26 14:53:23641 days ago1679842403
0x3c28F37A...25CD27905
0.36 ETH
169120942023-03-26 14:07:59641 days ago1679839679
0x3c28F37A...25CD27905
0.18 ETH
169117392023-03-26 12:55:59641 days ago1679835359
0x3c28F37A...25CD27905
0.18 ETH
169088432023-03-26 3:11:23641 days ago1679800283
0x3c28F37A...25CD27905
0.18 ETH
169083652023-03-26 1:34:35642 days ago1679794475
0x3c28F37A...25CD27905
0.18 ETH
169081272023-03-26 0:46:23642 days ago1679791583
0x3c28F37A...25CD27905
0.18 ETH
169078072023-03-25 23:41:11642 days ago1679787671
0x3c28F37A...25CD27905
0.18 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CalladitaCrowdfundingV4

Compiler Version
v0.8.12+commit.f00d7308

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 17 : CalladitaCrowdfundingV4.sol
// SPDX-License-Identifier: MIT
pragma solidity >= 0.8.0;

import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Address.sol";
//import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
//import "./Base64.sol";
import "./CalladitaToken721.sol";

contract CalladitaCrowdfundingV4 is Context, ReentrancyGuard, Ownable{

    //using SafeMath for uint256;
    using Address for address;
    using Strings for uint256;
    using Strings for uint8;


    /*
     * Event for funding
     * @param sender who send funds     
     * @param amount transfered
     */
    event Funding(address indexed sender, uint256 amount);

    //Balances
    mapping(address => uint256) private userBalance;
    
    //End date
    //uint256 private endDate;

    // Address where funds are collected
    address payable private _wallet;

    // Amount of wei raised
    uint256 private _weiRaised;

    mapping(uint8 => uint256) public tokenTierCounter;
    mapping(uint8 => uint256) private tokenTierMax;
    mapping(uint8 => uint256) private tokenTierUnitCost;

    CalladitaToken721 public _token;

    

    /*
    * @param wallet Address where collected funds will be forwarded to    
    */
    constructor (address payable recipientWallet)
    {
        require(recipientWallet != address(0), "Crowdsale: wallet is the zero address");
        
        _wallet = recipientWallet;

        //End date by default is set 60 days from deploy date
        //endDate = block.timestamp + 60 days;

        tokenTierMax[1] = 2300;
        tokenTierMax[2] = 92;
        tokenTierMax[3] = 15;
        tokenTierMax[4] = 5;

        tokenTierUnitCost[1] = 180000000000000000;
        tokenTierUnitCost[2] = 600000000000000000;
        tokenTierUnitCost[3] = 3000000000000000000;
        tokenTierUnitCost[4] = 6000000000000000000;

        //_token = token;
        _token = new CalladitaToken721();

        _token.transferOwnership (msg.sender);
    }

    receive () external payable {
        _forwardFunds(msg.value);
    }

    function tokenURI(uint8 _tier, uint256 _counter) private pure returns (string memory)
    {
        string memory baseURI = "https://calladita.mypinata.cloud/ipfs/QmSjxSvMPjYtCEZfdVLciHGCySJnVjZZ58hZR4BaTLxAet/";

        return string(abi.encodePacked(baseURI, "tier_",_tier.toString(), "_", _counter.toString(), ".json"));

    }

    //El usuario elige desde el front, que TIER y que cantidad de tokens quiere comprar.
    //La cantidad de ETH que transfiere el usuario se calcula en el front y viene seteado en msg.value.
    //(es el producto de la cantidad de tokens elegido y el precio prefijado del tier).
    function fundCalladita(uint8 _tier, uint256 _tokenAmount) public payable nonReentrant {
        address spender = _msgSender();
        _preValidateFunding(msg.value);
        _preValidateAmount(msg.value, _tier, _tokenAmount);

        // Update user balance
        userBalance[spender] = userBalance[spender] + msg.value;

        // update state
        _weiRaised = _weiRaised + msg.value;

        _forwardFunds(msg.value);
        emit Funding(spender, msg.value);

        for (uint256 i; i < _tokenAmount; i++) {

            string memory _tokenUri = "";
            tokenTierCounter[_tier]++;
            _tokenUri = tokenURI(_tier, tokenTierCounter[_tier]);
            _token.awardNFT(msg.sender, _tokenUri);
        }
    }
  
    function _forwardFunds(uint256 amount) internal {
        (bool success, ) = payable(_wallet).call{value: amount}("");
        require(success, "ForwardFunds: unable to send value");
    }

    //weiAmount: msg.value, _tier: 1,2,3 or 4, _tokenAmount: token quantity
    function _preValidateAmount(uint256 weiAmount, uint8 _tier, uint256 _tokenAmount) internal view {  
        uint256 weiTotal;
        uint256 tokensAvailabe;

        weiTotal = tokenTierUnitCost[_tier] * _tokenAmount;
        tokensAvailabe = tokenTierMax[_tier] - tokenTierCounter[_tier];

        require(weiTotal <= weiAmount, "Calladita: Amount sent is not enough");
        require(tokensAvailabe >= _tokenAmount, "Calladita: No tokens enough for required tier");
    }

    function _preValidateFunding(uint256 weiAmount) internal pure {        
        require(weiAmount != 0, "Calladita: weiAmount is 0");
        //require(block.timestamp <= getEndDate(), "Calladita: crowdfunding period is over");
    }

    function getUserBalance(address user) public view returns(uint256){
        return userBalance[user];
    }

    /**
     * @return the address where funds are collected.
     */
    function wallet() public view returns (address payable) {
        return _wallet;
    }

    /**
     * @return the amount of wei raised.
     */
    function weiRaised() public view returns (uint256) {
        return _weiRaised;
    }

    // function setEndDate(uint256 _endDate) public onlyOwner() {
    //     endDate = _endDate;      
    // }

    // function getEndDate() public view returns (uint256){
    //   return endDate;
    // }
}

File 2 of 17 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 3 of 17 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 4 of 17 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 5 of 17 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 6 of 17 : CalladitaToken721.sol
// SPDX-License-Identifier: MIT
pragma solidity >= 0.8.0;

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";

contract CalladitaToken721 is ERC721URIStorage, Ownable, AccessControl {
    using Counters for Counters.Counter;
    Counters.Counter private _tokenIds;
    

    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");

    constructor() ERC721("Calladita Collection", "CLLDT") {
        //minter is owner (crowfunding contract)
        _setupRole(MINTER_ROLE, msg.sender);
    }

    function awardNFT(address _to, string memory tokenURI) public returns (uint256)
    {   
        require(hasRole(MINTER_ROLE, msg.sender), "Caller is not a minter");
        _tokenIds.increment();

        uint256 newItemId = _tokenIds.current();
        _mint(_to, newItemId);
        _setTokenURI(newItemId, tokenURI);

        return newItemId;
    }

    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, AccessControl) returns (bool) {

        return super.supportsInterface(interfaceId);

    }

}

File 7 of 17 : ERC721URIStorage.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721URIStorage.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";

/**
 * @dev ERC721 token with storage based token URI management.
 */
abstract contract ERC721URIStorage is ERC721 {
    using Strings for uint256;

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token");

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }

        return super.tokenURI(tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual override {
        super._burn(tokenId);

        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }
}

File 8 of 17 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 9 of 17 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 10 of 17 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 11 of 17 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @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.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);

        _afterTokenTransfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);

        _afterTokenTransfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` 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 tokenId
    ) 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.
     * - `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 tokenId
    ) internal virtual {}
}

File 12 of 17 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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`, 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 be 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 Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

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

File 13 of 17 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 14 of 17 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

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

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 15 of 17 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 16 of 17 : IERC165.sol
// 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);
}

File 17 of 17 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address payable","name":"recipientWallet","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Funding","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"},{"inputs":[],"name":"_token","outputs":[{"internalType":"contract CalladitaToken721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"_tier","type":"uint8"},{"internalType":"uint256","name":"_tokenAmount","type":"uint256"}],"name":"fundCalladita","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getUserBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"uint8","name":"","type":"uint8"}],"name":"tokenTierCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"weiRaised","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b5060405162005cd638038062005cd6833981810160405281019062000037919062000462565b60016000819055506200005f620000536200031c60201b60201c565b6200032460201b60201c565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415620000d2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000c9906200051b565b60405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506108fc60066000600160ff16815260200190815260200160002081905550605c60066000600260ff16815260200190815260200160002081905550600f60066000600360ff16815260200190815260200160002081905550600560066000600460ff1681526020019081526020016000208190555067027f7d0bdb92000060076000600160ff16815260200190815260200160002081905550670853a0d2313c000060076000600260ff168152602001908152602001600020819055506729a2241af62c000060076000600360ff168152602001908152602001600020819055506753444835ec58000060076000600460ff168152602001908152602001600020819055506040516200022690620003ea565b604051809103906000f08015801562000243573d6000803e3d6000fd5b50600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f2fde38b336040518263ffffffff1660e01b8152600401620002e1919062000562565b600060405180830381600087803b158015620002fc57600080fd5b505af115801562000311573d6000803e3d6000fd5b50505050506200057f565b600033905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b613feb8062001ceb83390190565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200042a82620003fd565b9050919050565b6200043c816200041d565b81146200044857600080fd5b50565b6000815190506200045c8162000431565b92915050565b6000602082840312156200047b576200047a620003f8565b5b60006200048b848285016200044b565b91505092915050565b600082825260208201905092915050565b7f43726f776473616c653a2077616c6c657420697320746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006200050360258362000494565b91506200051082620004a5565b604082019050919050565b600060208201905081810360008301526200053681620004f4565b9050919050565b60006200054a82620003fd565b9050919050565b6200055c816200053d565b82525050565b600060208201905062000579600083018462000551565b92915050565b61175c806200058f6000396000f3fe60806040526004361061008a5760003560e01c80638da5cb5b116100595780638da5cb5b146101495780638fa0da0914610174578063d91a499014610190578063ecd0c0c3146101cd578063f2fde38b146101f85761009a565b80634042b66f1461009f57806347734892146100ca578063521eb27314610107578063715018a6146101325761009a565b3661009a5761009834610221565b005b600080fd5b3480156100ab57600080fd5b506100b46102f3565b6040516100c19190610bda565b60405180910390f35b3480156100d657600080fd5b506100f160048036038101906100ec9190610c58565b6102fd565b6040516100fe9190610bda565b60405180910390f35b34801561011357600080fd5b5061011c610346565b6040516101299190610ca6565b60405180910390f35b34801561013e57600080fd5b50610147610370565b005b34801561015557600080fd5b5061015e6103f8565b60405161016b9190610cd0565b60405180910390f35b61018e60048036038101906101899190610d50565b610422565b005b34801561019c57600080fd5b506101b760048036038101906101b29190610d90565b6106bf565b6040516101c49190610bda565b60405180910390f35b3480156101d957600080fd5b506101e26106d7565b6040516101ef9190610e1c565b60405180910390f35b34801561020457600080fd5b5061021f600480360381019061021a9190610c58565b6106fd565b005b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168260405161026990610e68565b60006040518083038185875af1925050503d80600081146102a6576040519150601f19603f3d011682016040523d82523d6000602084013e6102ab565b606091505b50509050806102ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102e690610f00565b60405180910390fd5b5050565b6000600454905090565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6103786107f5565b73ffffffffffffffffffffffffffffffffffffffff166103966103f8565b73ffffffffffffffffffffffffffffffffffffffff16146103ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103e390610f6c565b60405180910390fd5b6103f660006107fd565b565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60026000541415610468576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161045f90610fd8565b60405180910390fd5b6002600081905550600061047a6107f5565b9050610485346108c3565b61049034848461090a565b34600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546104db9190611027565b600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503460045461052c9190611027565b60048190555061053b34610221565b8073ffffffffffffffffffffffffffffffffffffffff167f1af855f8ecf9e2874e8d95b2f5b91f1afa7cea4cfac27e00fb165ebec0e671af346040516105819190610bda565b60405180910390a260005b828110156106b1576000604051806020016040528060008152509050600560008660ff1660ff16815260200190815260200160002060008154809291906105d29061107d565b91905055506105fa85600560008860ff1660ff16815260200190815260200160002054610a01565b9050600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636ed5a48e33836040518363ffffffff1660e01b815260040161065992919061114e565b6020604051808303816000875af1158015610678573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061069c9190611193565b505080806106a99061107d565b91505061058c565b505060016000819055505050565b60056020528060005260406000206000915090505481565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6107056107f5565b73ffffffffffffffffffffffffffffffffffffffff166107236103f8565b73ffffffffffffffffffffffffffffffffffffffff1614610779576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077090610f6c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156107e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107e090611232565b60405180910390fd5b6107f2816107fd565b50565b600033905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000811415610907576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108fe9061129e565b60405180910390fd5b50565b60008082600760008660ff1660ff1681526020019081526020016000205461093291906112be565b9150600560008560ff1660ff16815260200190815260200160002054600660008660ff1660ff168152602001908152602001600020546109729190611318565b9050848211156109b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ae906113be565b60405180910390fd5b828110156109fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f190611450565b60405180910390fd5b5050505050565b606060006040518060800160405280605581526020016116d260559139905080610a2d8560ff16610a60565b610a3685610a60565b604051602001610a4893929190611590565b60405160208183030381529060405291505092915050565b60606000821415610aa8576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050610bbc565b600082905060005b60008214610ada578080610ac39061107d565b915050600a82610ad39190611611565b9150610ab0565b60008167ffffffffffffffff811115610af657610af5611642565b5b6040519080825280601f01601f191660200182016040528015610b285781602001600182028036833780820191505090505b5090505b60008514610bb557600182610b419190611318565b9150600a85610b509190611671565b6030610b5c9190611027565b60f81b818381518110610b7257610b716116a2565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85610bae9190611611565b9450610b2c565b8093505050505b919050565b6000819050919050565b610bd481610bc1565b82525050565b6000602082019050610bef6000830184610bcb565b92915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610c2582610bfa565b9050919050565b610c3581610c1a565b8114610c4057600080fd5b50565b600081359050610c5281610c2c565b92915050565b600060208284031215610c6e57610c6d610bf5565b5b6000610c7c84828501610c43565b91505092915050565b6000610c9082610bfa565b9050919050565b610ca081610c85565b82525050565b6000602082019050610cbb6000830184610c97565b92915050565b610cca81610c1a565b82525050565b6000602082019050610ce56000830184610cc1565b92915050565b600060ff82169050919050565b610d0181610ceb565b8114610d0c57600080fd5b50565b600081359050610d1e81610cf8565b92915050565b610d2d81610bc1565b8114610d3857600080fd5b50565b600081359050610d4a81610d24565b92915050565b60008060408385031215610d6757610d66610bf5565b5b6000610d7585828601610d0f565b9250506020610d8685828601610d3b565b9150509250929050565b600060208284031215610da657610da5610bf5565b5b6000610db484828501610d0f565b91505092915050565b6000819050919050565b6000610de2610ddd610dd884610bfa565b610dbd565b610bfa565b9050919050565b6000610df482610dc7565b9050919050565b6000610e0682610de9565b9050919050565b610e1681610dfb565b82525050565b6000602082019050610e316000830184610e0d565b92915050565b600081905092915050565b50565b6000610e52600083610e37565b9150610e5d82610e42565b600082019050919050565b6000610e7382610e45565b9150819050919050565b600082825260208201905092915050565b7f466f727761726446756e64733a20756e61626c6520746f2073656e642076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000610eea602283610e7d565b9150610ef582610e8e565b604082019050919050565b60006020820190508181036000830152610f1981610edd565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000610f56602083610e7d565b9150610f6182610f20565b602082019050919050565b60006020820190508181036000830152610f8581610f49565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000610fc2601f83610e7d565b9150610fcd82610f8c565b602082019050919050565b60006020820190508181036000830152610ff181610fb5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061103282610bc1565b915061103d83610bc1565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561107257611071610ff8565b5b828201905092915050565b600061108882610bc1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156110bb576110ba610ff8565b5b600182019050919050565b600081519050919050565b60005b838110156110ef5780820151818401526020810190506110d4565b838111156110fe576000848401525b50505050565b6000601f19601f8301169050919050565b6000611120826110c6565b61112a8185610e7d565b935061113a8185602086016110d1565b61114381611104565b840191505092915050565b60006040820190506111636000830185610cc1565b81810360208301526111758184611115565b90509392505050565b60008151905061118d81610d24565b92915050565b6000602082840312156111a9576111a8610bf5565b5b60006111b78482850161117e565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061121c602683610e7d565b9150611227826111c0565b604082019050919050565b6000602082019050818103600083015261124b8161120f565b9050919050565b7f43616c6c61646974613a20776569416d6f756e74206973203000000000000000600082015250565b6000611288601983610e7d565b915061129382611252565b602082019050919050565b600060208201905081810360008301526112b78161127b565b9050919050565b60006112c982610bc1565b91506112d483610bc1565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561130d5761130c610ff8565b5b828202905092915050565b600061132382610bc1565b915061132e83610bc1565b92508282101561134157611340610ff8565b5b828203905092915050565b7f43616c6c61646974613a20416d6f756e742073656e74206973206e6f7420656e60008201527f6f75676800000000000000000000000000000000000000000000000000000000602082015250565b60006113a8602483610e7d565b91506113b38261134c565b604082019050919050565b600060208201905081810360008301526113d78161139b565b9050919050565b7f43616c6c61646974613a204e6f20746f6b656e7320656e6f75676820666f722060008201527f7265717569726564207469657200000000000000000000000000000000000000602082015250565b600061143a602d83610e7d565b9150611445826113de565b604082019050919050565b600060208201905081810360008301526114698161142d565b9050919050565b600081905092915050565b6000611486826110c6565b6114908185611470565b93506114a08185602086016110d1565b80840191505092915050565b7f746965725f000000000000000000000000000000000000000000000000000000600082015250565b60006114e2600583611470565b91506114ed826114ac565b600582019050919050565b7f5f00000000000000000000000000000000000000000000000000000000000000600082015250565b600061152e600183611470565b9150611539826114f8565b600182019050919050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b600061157a600583611470565b915061158582611544565b600582019050919050565b600061159c828661147b565b91506115a7826114d5565b91506115b3828561147b565b91506115be82611521565b91506115ca828461147b565b91506115d58261156d565b9150819050949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061161c82610bc1565b915061162783610bc1565b925082611637576116366115e2565b5b828204905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600061167c82610bc1565b915061168783610bc1565b925082611697576116966115e2565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfe68747470733a2f2f63616c6c61646974612e6d7970696e6174612e636c6f75642f697066732f516d536a7853764d506a597443455a6664564c636948474379534a6e566a5a5a3538685a52344261544c784165742fa26469706673582212208a5eb1924c905ab2ccde4a466bc26253f5bf9eeaee611fed0b3ddbb382dcf7d564736f6c634300080c003360806040523480156200001157600080fd5b506040518060400160405280601481526020017f43616c6c616469746120436f6c6c656374696f6e0000000000000000000000008152506040518060400160405280600581526020017f434c4c44540000000000000000000000000000000000000000000000000000008152508160009080519060200190620000969291906200034b565b508060019080519060200190620000af9291906200034b565b505050620000d2620000c66200010a60201b60201c565b6200011260201b60201c565b620001047f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633620001d860201b60201c565b62000460565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620001ea8282620001ee60201b60201c565b5050565b620002008282620002e060201b60201c565b620002dc5760016008600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620002816200010a60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006008600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b82805462000359906200042a565b90600052602060002090601f0160209004810192826200037d5760008555620003c9565b82601f106200039857805160ff1916838001178555620003c9565b82800160010185558215620003c9579182015b82811115620003c8578251825591602001919060010190620003ab565b5b509050620003d89190620003dc565b5090565b5b80821115620003f7576000816000905550600101620003dd565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200044357607f821691505b602082108114156200045a5762000459620003fb565b5b50919050565b613b7b80620004706000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c8063715018a6116100c3578063b88d4fde1161007c578063b88d4fde146103d7578063c87b56dd146103f3578063d539139314610423578063d547741f14610441578063e985e9c51461045d578063f2fde38b1461048d57610158565b8063715018a6146103275780638da5cb5b1461033157806391d148541461034f57806395d89b411461037f578063a217fddf1461039d578063a22cb465146103bb57610158565b80632f2ff15d116101155780632f2ff15d1461024357806336568abe1461025f57806342842e0e1461027b5780636352211e146102975780636ed5a48e146102c757806370a08231146102f757610158565b806301ffc9a71461015d57806306fdde031461018d578063081812fc146101ab578063095ea7b3146101db57806323b872dd146101f7578063248a9ca314610213575b600080fd5b61017760048036038101906101729190612452565b6104a9565b604051610184919061249a565b60405180910390f35b6101956104bb565b6040516101a2919061254e565b60405180910390f35b6101c560048036038101906101c091906125a6565b61054d565b6040516101d29190612614565b60405180910390f35b6101f560048036038101906101f0919061265b565b6105d2565b005b610211600480360381019061020c919061269b565b6106ea565b005b61022d60048036038101906102289190612724565b61074a565b60405161023a9190612760565b60405180910390f35b61025d6004803603810190610258919061277b565b61076a565b005b6102796004803603810190610274919061277b565b610793565b005b6102956004803603810190610290919061269b565b610816565b005b6102b160048036038101906102ac91906125a6565b610836565b6040516102be9190612614565b60405180910390f35b6102e160048036038101906102dc91906128f0565b6108e8565b6040516102ee919061295b565b60405180910390f35b610311600480360381019061030c9190612976565b610989565b60405161031e919061295b565b60405180910390f35b61032f610a41565b005b610339610ac9565b6040516103469190612614565b60405180910390f35b6103696004803603810190610364919061277b565b610af3565b604051610376919061249a565b60405180910390f35b610387610b5e565b604051610394919061254e565b60405180910390f35b6103a5610bf0565b6040516103b29190612760565b60405180910390f35b6103d560048036038101906103d091906129cf565b610bf7565b005b6103f160048036038101906103ec9190612ab0565b610c0d565b005b61040d600480360381019061040891906125a6565b610c6f565b60405161041a919061254e565b60405180910390f35b61042b610dc1565b6040516104389190612760565b60405180910390f35b61045b6004803603810190610456919061277b565b610de5565b005b61047760048036038101906104729190612b33565b610e0e565b604051610484919061249a565b60405180910390f35b6104a760048036038101906104a29190612976565b610ea2565b005b60006104b482610f9a565b9050919050565b6060600080546104ca90612ba2565b80601f01602080910402602001604051908101604052809291908181526020018280546104f690612ba2565b80156105435780601f1061051857610100808354040283529160200191610543565b820191906000526020600020905b81548152906001019060200180831161052657829003601f168201915b5050505050905090565b600061055882611014565b610597576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161058e90612c46565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006105dd82610836565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561064e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161064590612cd8565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661066d611080565b73ffffffffffffffffffffffffffffffffffffffff16148061069c575061069b81610696611080565b610e0e565b5b6106db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106d290612d6a565b60405180910390fd5b6106e58383611088565b505050565b6106fb6106f5611080565b82611141565b61073a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073190612dfc565b60405180910390fd5b61074583838361121f565b505050565b600060086000838152602001908152602001600020600101549050919050565b6107738261074a565b6107848161077f611080565b611486565b61078e8383611523565b505050565b61079b611080565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610808576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ff90612e8e565b60405180910390fd5b6108128282611604565b5050565b61083183838360405180602001604052806000815250610c0d565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156108df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d690612f20565b60405180910390fd5b80915050919050565b60006109147f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610af3565b610953576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094a90612f8c565b60405180910390fd5b61095d60096116e6565b600061096960096116fc565b9050610975848261170a565b61097f81846118e4565b8091505092915050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156109fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f19061301e565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610a49611080565b73ffffffffffffffffffffffffffffffffffffffff16610a67610ac9565b73ffffffffffffffffffffffffffffffffffffffff1614610abd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab49061308a565b60405180910390fd5b610ac76000611958565b565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006008600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060018054610b6d90612ba2565b80601f0160208091040260200160405190810160405280929190818152602001828054610b9990612ba2565b8015610be65780601f10610bbb57610100808354040283529160200191610be6565b820191906000526020600020905b815481529060010190602001808311610bc957829003601f168201915b5050505050905090565b6000801b81565b610c09610c02611080565b8383611a1e565b5050565b610c1e610c18611080565b83611141565b610c5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5490612dfc565b60405180910390fd5b610c6984848484611b8b565b50505050565b6060610c7a82611014565b610cb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb09061311c565b60405180910390fd5b6000600660008481526020019081526020016000208054610cd990612ba2565b80601f0160208091040260200160405190810160405280929190818152602001828054610d0590612ba2565b8015610d525780601f10610d2757610100808354040283529160200191610d52565b820191906000526020600020905b815481529060010190602001808311610d3557829003601f168201915b505050505090506000610d63611be7565b9050600081511415610d79578192505050610dbc565b600082511115610dae578082604051602001610d96929190613178565b60405160208183030381529060405292505050610dbc565b610db784611bfe565b925050505b919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b610dee8261074a565b610dff81610dfa611080565b611486565b610e098383611604565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610eaa611080565b73ffffffffffffffffffffffffffffffffffffffff16610ec8610ac9565b73ffffffffffffffffffffffffffffffffffffffff1614610f1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f159061308a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f859061320e565b60405180910390fd5b610f9781611958565b50565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061100d575061100c82611ca5565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166110fb83610836565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061114c82611014565b61118b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611182906132a0565b60405180910390fd5b600061119683610836565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061120557508373ffffffffffffffffffffffffffffffffffffffff166111ed8461054d565b73ffffffffffffffffffffffffffffffffffffffff16145b8061121657506112158185610e0e565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661123f82610836565b73ffffffffffffffffffffffffffffffffffffffff1614611295576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128c90613332565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611305576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112fc906133c4565b60405180910390fd5b611310838383611d87565b61131b600082611088565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461136b9190613413565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113c29190613447565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611481838383611d8c565b505050565b6114908282610af3565b61151f576114b58173ffffffffffffffffffffffffffffffffffffffff166014611d91565b6114c38360001c6020611d91565b6040516020016114d4929190613535565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611516919061254e565b60405180910390fd5b5050565b61152d8282610af3565b6116005760016008600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506115a5611080565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b61160e8282610af3565b156116e25760006008600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611687611080565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6001816000016000828254019250508190555050565b600081600001549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561177a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611771906135bb565b60405180910390fd5b61178381611014565b156117c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ba90613627565b60405180910390fd5b6117cf60008383611d87565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461181f9190613447565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46118e060008383611d8c565b5050565b6118ed82611014565b61192c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611923906136b9565b60405180910390fd5b80600660008481526020019081526020016000209080519060200190611953929190612343565b505050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611a8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8490613725565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b7e919061249a565b60405180910390a3505050565b611b9684848461121f565b611ba284848484611fcd565b611be1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd8906137b7565b60405180910390fd5b50505050565b606060405180602001604052806000815250905090565b6060611c0982611014565b611c48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3f90613849565b60405180910390fd5b6000611c52611be7565b90506000815111611c725760405180602001604052806000815250611c9d565b80611c7c84612155565b604051602001611c8d929190613178565b6040516020818303038152906040525b915050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611d7057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611d805750611d7f826122b6565b5b9050919050565b505050565b505050565b606060006002836002611da49190613869565b611dae9190613447565b67ffffffffffffffff811115611dc757611dc66127c5565b5b6040519080825280601f01601f191660200182016040528015611df95781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110611e3157611e306138c3565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110611e9557611e946138c3565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002611ed59190613869565b611edf9190613447565b90505b6001811115611f7f577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110611f2157611f206138c3565b5b1a60f81b828281518110611f3857611f376138c3565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080611f78906138f2565b9050611ee2565b5060008414611fc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fba90613968565b60405180910390fd5b8091505092915050565b6000611fee8473ffffffffffffffffffffffffffffffffffffffff16612320565b15612148578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612017611080565b8786866040518563ffffffff1660e01b815260040161203994939291906139dd565b6020604051808303816000875af192505050801561207557506040513d601f19601f820116820180604052508101906120729190613a3e565b60015b6120f8573d80600081146120a5576040519150601f19603f3d011682016040523d82523d6000602084013e6120aa565b606091505b506000815114156120f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e7906137b7565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061214d565b600190505b949350505050565b6060600082141561219d576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506122b1565b600082905060005b600082146121cf5780806121b890613a6b565b915050600a826121c89190613ae3565b91506121a5565b60008167ffffffffffffffff8111156121eb576121ea6127c5565b5b6040519080825280601f01601f19166020018201604052801561221d5781602001600182028036833780820191505090505b5090505b600085146122aa576001826122369190613413565b9150600a856122459190613b14565b60306122519190613447565b60f81b818381518110612267576122666138c3565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856122a39190613ae3565b9450612221565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461234f90612ba2565b90600052602060002090601f01602090048101928261237157600085556123b8565b82601f1061238a57805160ff19168380011785556123b8565b828001600101855582156123b8579182015b828111156123b757825182559160200191906001019061239c565b5b5090506123c591906123c9565b5090565b5b808211156123e25760008160009055506001016123ca565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61242f816123fa565b811461243a57600080fd5b50565b60008135905061244c81612426565b92915050565b600060208284031215612468576124676123f0565b5b60006124768482850161243d565b91505092915050565b60008115159050919050565b6124948161247f565b82525050565b60006020820190506124af600083018461248b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156124ef5780820151818401526020810190506124d4565b838111156124fe576000848401525b50505050565b6000601f19601f8301169050919050565b6000612520826124b5565b61252a81856124c0565b935061253a8185602086016124d1565b61254381612504565b840191505092915050565b600060208201905081810360008301526125688184612515565b905092915050565b6000819050919050565b61258381612570565b811461258e57600080fd5b50565b6000813590506125a08161257a565b92915050565b6000602082840312156125bc576125bb6123f0565b5b60006125ca84828501612591565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006125fe826125d3565b9050919050565b61260e816125f3565b82525050565b60006020820190506126296000830184612605565b92915050565b612638816125f3565b811461264357600080fd5b50565b6000813590506126558161262f565b92915050565b60008060408385031215612672576126716123f0565b5b600061268085828601612646565b925050602061269185828601612591565b9150509250929050565b6000806000606084860312156126b4576126b36123f0565b5b60006126c286828701612646565b93505060206126d386828701612646565b92505060406126e486828701612591565b9150509250925092565b6000819050919050565b612701816126ee565b811461270c57600080fd5b50565b60008135905061271e816126f8565b92915050565b60006020828403121561273a576127396123f0565b5b60006127488482850161270f565b91505092915050565b61275a816126ee565b82525050565b60006020820190506127756000830184612751565b92915050565b60008060408385031215612792576127916123f0565b5b60006127a08582860161270f565b92505060206127b185828601612646565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6127fd82612504565b810181811067ffffffffffffffff8211171561281c5761281b6127c5565b5b80604052505050565b600061282f6123e6565b905061283b82826127f4565b919050565b600067ffffffffffffffff82111561285b5761285a6127c5565b5b61286482612504565b9050602081019050919050565b82818337600083830152505050565b600061289361288e84612840565b612825565b9050828152602081018484840111156128af576128ae6127c0565b5b6128ba848285612871565b509392505050565b600082601f8301126128d7576128d66127bb565b5b81356128e7848260208601612880565b91505092915050565b60008060408385031215612907576129066123f0565b5b600061291585828601612646565b925050602083013567ffffffffffffffff811115612936576129356123f5565b5b612942858286016128c2565b9150509250929050565b61295581612570565b82525050565b6000602082019050612970600083018461294c565b92915050565b60006020828403121561298c5761298b6123f0565b5b600061299a84828501612646565b91505092915050565b6129ac8161247f565b81146129b757600080fd5b50565b6000813590506129c9816129a3565b92915050565b600080604083850312156129e6576129e56123f0565b5b60006129f485828601612646565b9250506020612a05858286016129ba565b9150509250929050565b600067ffffffffffffffff821115612a2a57612a296127c5565b5b612a3382612504565b9050602081019050919050565b6000612a53612a4e84612a0f565b612825565b905082815260208101848484011115612a6f57612a6e6127c0565b5b612a7a848285612871565b509392505050565b600082601f830112612a9757612a966127bb565b5b8135612aa7848260208601612a40565b91505092915050565b60008060008060808587031215612aca57612ac96123f0565b5b6000612ad887828801612646565b9450506020612ae987828801612646565b9350506040612afa87828801612591565b925050606085013567ffffffffffffffff811115612b1b57612b1a6123f5565b5b612b2787828801612a82565b91505092959194509250565b60008060408385031215612b4a57612b496123f0565b5b6000612b5885828601612646565b9250506020612b6985828601612646565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612bba57607f821691505b60208210811415612bce57612bcd612b73565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000612c30602c836124c0565b9150612c3b82612bd4565b604082019050919050565b60006020820190508181036000830152612c5f81612c23565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000612cc26021836124c0565b9150612ccd82612c66565b604082019050919050565b60006020820190508181036000830152612cf181612cb5565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000612d546038836124c0565b9150612d5f82612cf8565b604082019050919050565b60006020820190508181036000830152612d8381612d47565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000612de66031836124c0565b9150612df182612d8a565b604082019050919050565b60006020820190508181036000830152612e1581612dd9565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000612e78602f836124c0565b9150612e8382612e1c565b604082019050919050565b60006020820190508181036000830152612ea781612e6b565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000612f0a6029836124c0565b9150612f1582612eae565b604082019050919050565b60006020820190508181036000830152612f3981612efd565b9050919050565b7f43616c6c6572206973206e6f742061206d696e74657200000000000000000000600082015250565b6000612f766016836124c0565b9150612f8182612f40565b602082019050919050565b60006020820190508181036000830152612fa581612f69565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000613008602a836124c0565b915061301382612fac565b604082019050919050565b6000602082019050818103600083015261303781612ffb565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006130746020836124c0565b915061307f8261303e565b602082019050919050565b600060208201905081810360008301526130a381613067565b9050919050565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b60006131066031836124c0565b9150613111826130aa565b604082019050919050565b60006020820190508181036000830152613135816130f9565b9050919050565b600081905092915050565b6000613152826124b5565b61315c818561313c565b935061316c8185602086016124d1565b80840191505092915050565b60006131848285613147565b91506131908284613147565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006131f86026836124c0565b91506132038261319c565b604082019050919050565b60006020820190508181036000830152613227816131eb565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061328a602c836124c0565b91506132958261322e565b604082019050919050565b600060208201905081810360008301526132b98161327d565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061331c6025836124c0565b9150613327826132c0565b604082019050919050565b6000602082019050818103600083015261334b8161330f565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006133ae6024836124c0565b91506133b982613352565b604082019050919050565b600060208201905081810360008301526133dd816133a1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061341e82612570565b915061342983612570565b92508282101561343c5761343b6133e4565b5b828203905092915050565b600061345282612570565b915061345d83612570565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613492576134916133e4565b5b828201905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b60006134d360178361313c565b91506134de8261349d565b601782019050919050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b600061351f60118361313c565b915061352a826134e9565b601182019050919050565b6000613540826134c6565b915061354c8285613147565b915061355782613512565b91506135638284613147565b91508190509392505050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006135a56020836124c0565b91506135b08261356f565b602082019050919050565b600060208201905081810360008301526135d481613598565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000613611601c836124c0565b915061361c826135db565b602082019050919050565b6000602082019050818103600083015261364081613604565b9050919050565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b60006136a3602e836124c0565b91506136ae82613647565b604082019050919050565b600060208201905081810360008301526136d281613696565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061370f6019836124c0565b915061371a826136d9565b602082019050919050565b6000602082019050818103600083015261373e81613702565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006137a16032836124c0565b91506137ac82613745565b604082019050919050565b600060208201905081810360008301526137d081613794565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613833602f836124c0565b915061383e826137d7565b604082019050919050565b6000602082019050818103600083015261386281613826565b9050919050565b600061387482612570565b915061387f83612570565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156138b8576138b76133e4565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006138fd82612570565b91506000821415613911576139106133e4565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b60006139526020836124c0565b915061395d8261391c565b602082019050919050565b6000602082019050818103600083015261398181613945565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006139af82613988565b6139b98185613993565b93506139c98185602086016124d1565b6139d281612504565b840191505092915050565b60006080820190506139f26000830187612605565b6139ff6020830186612605565b613a0c604083018561294c565b8181036060830152613a1e81846139a4565b905095945050505050565b600081519050613a3881612426565b92915050565b600060208284031215613a5457613a536123f0565b5b6000613a6284828501613a29565b91505092915050565b6000613a7682612570565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613aa957613aa86133e4565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613aee82612570565b9150613af983612570565b925082613b0957613b08613ab4565b5b828204905092915050565b6000613b1f82612570565b9150613b2a83612570565b925082613b3a57613b39613ab4565b5b82820690509291505056fea2646970667358221220c4a1685709195eb26e03b7ad01e14f90550004a13c53d0ca623318d3a34f8bc464736f6c634300080c00330000000000000000000000001bb96b19858b12d91b8512580147a03cca62c29e

Deployed Bytecode

0x60806040526004361061008a5760003560e01c80638da5cb5b116100595780638da5cb5b146101495780638fa0da0914610174578063d91a499014610190578063ecd0c0c3146101cd578063f2fde38b146101f85761009a565b80634042b66f1461009f57806347734892146100ca578063521eb27314610107578063715018a6146101325761009a565b3661009a5761009834610221565b005b600080fd5b3480156100ab57600080fd5b506100b46102f3565b6040516100c19190610bda565b60405180910390f35b3480156100d657600080fd5b506100f160048036038101906100ec9190610c58565b6102fd565b6040516100fe9190610bda565b60405180910390f35b34801561011357600080fd5b5061011c610346565b6040516101299190610ca6565b60405180910390f35b34801561013e57600080fd5b50610147610370565b005b34801561015557600080fd5b5061015e6103f8565b60405161016b9190610cd0565b60405180910390f35b61018e60048036038101906101899190610d50565b610422565b005b34801561019c57600080fd5b506101b760048036038101906101b29190610d90565b6106bf565b6040516101c49190610bda565b60405180910390f35b3480156101d957600080fd5b506101e26106d7565b6040516101ef9190610e1c565b60405180910390f35b34801561020457600080fd5b5061021f600480360381019061021a9190610c58565b6106fd565b005b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168260405161026990610e68565b60006040518083038185875af1925050503d80600081146102a6576040519150601f19603f3d011682016040523d82523d6000602084013e6102ab565b606091505b50509050806102ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102e690610f00565b60405180910390fd5b5050565b6000600454905090565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6103786107f5565b73ffffffffffffffffffffffffffffffffffffffff166103966103f8565b73ffffffffffffffffffffffffffffffffffffffff16146103ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103e390610f6c565b60405180910390fd5b6103f660006107fd565b565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60026000541415610468576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161045f90610fd8565b60405180910390fd5b6002600081905550600061047a6107f5565b9050610485346108c3565b61049034848461090a565b34600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546104db9190611027565b600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503460045461052c9190611027565b60048190555061053b34610221565b8073ffffffffffffffffffffffffffffffffffffffff167f1af855f8ecf9e2874e8d95b2f5b91f1afa7cea4cfac27e00fb165ebec0e671af346040516105819190610bda565b60405180910390a260005b828110156106b1576000604051806020016040528060008152509050600560008660ff1660ff16815260200190815260200160002060008154809291906105d29061107d565b91905055506105fa85600560008860ff1660ff16815260200190815260200160002054610a01565b9050600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636ed5a48e33836040518363ffffffff1660e01b815260040161065992919061114e565b6020604051808303816000875af1158015610678573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061069c9190611193565b505080806106a99061107d565b91505061058c565b505060016000819055505050565b60056020528060005260406000206000915090505481565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6107056107f5565b73ffffffffffffffffffffffffffffffffffffffff166107236103f8565b73ffffffffffffffffffffffffffffffffffffffff1614610779576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077090610f6c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156107e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107e090611232565b60405180910390fd5b6107f2816107fd565b50565b600033905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000811415610907576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108fe9061129e565b60405180910390fd5b50565b60008082600760008660ff1660ff1681526020019081526020016000205461093291906112be565b9150600560008560ff1660ff16815260200190815260200160002054600660008660ff1660ff168152602001908152602001600020546109729190611318565b9050848211156109b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ae906113be565b60405180910390fd5b828110156109fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f190611450565b60405180910390fd5b5050505050565b606060006040518060800160405280605581526020016116d260559139905080610a2d8560ff16610a60565b610a3685610a60565b604051602001610a4893929190611590565b60405160208183030381529060405291505092915050565b60606000821415610aa8576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050610bbc565b600082905060005b60008214610ada578080610ac39061107d565b915050600a82610ad39190611611565b9150610ab0565b60008167ffffffffffffffff811115610af657610af5611642565b5b6040519080825280601f01601f191660200182016040528015610b285781602001600182028036833780820191505090505b5090505b60008514610bb557600182610b419190611318565b9150600a85610b509190611671565b6030610b5c9190611027565b60f81b818381518110610b7257610b716116a2565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85610bae9190611611565b9450610b2c565b8093505050505b919050565b6000819050919050565b610bd481610bc1565b82525050565b6000602082019050610bef6000830184610bcb565b92915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610c2582610bfa565b9050919050565b610c3581610c1a565b8114610c4057600080fd5b50565b600081359050610c5281610c2c565b92915050565b600060208284031215610c6e57610c6d610bf5565b5b6000610c7c84828501610c43565b91505092915050565b6000610c9082610bfa565b9050919050565b610ca081610c85565b82525050565b6000602082019050610cbb6000830184610c97565b92915050565b610cca81610c1a565b82525050565b6000602082019050610ce56000830184610cc1565b92915050565b600060ff82169050919050565b610d0181610ceb565b8114610d0c57600080fd5b50565b600081359050610d1e81610cf8565b92915050565b610d2d81610bc1565b8114610d3857600080fd5b50565b600081359050610d4a81610d24565b92915050565b60008060408385031215610d6757610d66610bf5565b5b6000610d7585828601610d0f565b9250506020610d8685828601610d3b565b9150509250929050565b600060208284031215610da657610da5610bf5565b5b6000610db484828501610d0f565b91505092915050565b6000819050919050565b6000610de2610ddd610dd884610bfa565b610dbd565b610bfa565b9050919050565b6000610df482610dc7565b9050919050565b6000610e0682610de9565b9050919050565b610e1681610dfb565b82525050565b6000602082019050610e316000830184610e0d565b92915050565b600081905092915050565b50565b6000610e52600083610e37565b9150610e5d82610e42565b600082019050919050565b6000610e7382610e45565b9150819050919050565b600082825260208201905092915050565b7f466f727761726446756e64733a20756e61626c6520746f2073656e642076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000610eea602283610e7d565b9150610ef582610e8e565b604082019050919050565b60006020820190508181036000830152610f1981610edd565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000610f56602083610e7d565b9150610f6182610f20565b602082019050919050565b60006020820190508181036000830152610f8581610f49565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000610fc2601f83610e7d565b9150610fcd82610f8c565b602082019050919050565b60006020820190508181036000830152610ff181610fb5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061103282610bc1565b915061103d83610bc1565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561107257611071610ff8565b5b828201905092915050565b600061108882610bc1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156110bb576110ba610ff8565b5b600182019050919050565b600081519050919050565b60005b838110156110ef5780820151818401526020810190506110d4565b838111156110fe576000848401525b50505050565b6000601f19601f8301169050919050565b6000611120826110c6565b61112a8185610e7d565b935061113a8185602086016110d1565b61114381611104565b840191505092915050565b60006040820190506111636000830185610cc1565b81810360208301526111758184611115565b90509392505050565b60008151905061118d81610d24565b92915050565b6000602082840312156111a9576111a8610bf5565b5b60006111b78482850161117e565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061121c602683610e7d565b9150611227826111c0565b604082019050919050565b6000602082019050818103600083015261124b8161120f565b9050919050565b7f43616c6c61646974613a20776569416d6f756e74206973203000000000000000600082015250565b6000611288601983610e7d565b915061129382611252565b602082019050919050565b600060208201905081810360008301526112b78161127b565b9050919050565b60006112c982610bc1565b91506112d483610bc1565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561130d5761130c610ff8565b5b828202905092915050565b600061132382610bc1565b915061132e83610bc1565b92508282101561134157611340610ff8565b5b828203905092915050565b7f43616c6c61646974613a20416d6f756e742073656e74206973206e6f7420656e60008201527f6f75676800000000000000000000000000000000000000000000000000000000602082015250565b60006113a8602483610e7d565b91506113b38261134c565b604082019050919050565b600060208201905081810360008301526113d78161139b565b9050919050565b7f43616c6c61646974613a204e6f20746f6b656e7320656e6f75676820666f722060008201527f7265717569726564207469657200000000000000000000000000000000000000602082015250565b600061143a602d83610e7d565b9150611445826113de565b604082019050919050565b600060208201905081810360008301526114698161142d565b9050919050565b600081905092915050565b6000611486826110c6565b6114908185611470565b93506114a08185602086016110d1565b80840191505092915050565b7f746965725f000000000000000000000000000000000000000000000000000000600082015250565b60006114e2600583611470565b91506114ed826114ac565b600582019050919050565b7f5f00000000000000000000000000000000000000000000000000000000000000600082015250565b600061152e600183611470565b9150611539826114f8565b600182019050919050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b600061157a600583611470565b915061158582611544565b600582019050919050565b600061159c828661147b565b91506115a7826114d5565b91506115b3828561147b565b91506115be82611521565b91506115ca828461147b565b91506115d58261156d565b9150819050949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061161c82610bc1565b915061162783610bc1565b925082611637576116366115e2565b5b828204905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600061167c82610bc1565b915061168783610bc1565b925082611697576116966115e2565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfe68747470733a2f2f63616c6c61646974612e6d7970696e6174612e636c6f75642f697066732f516d536a7853764d506a597443455a6664564c636948474379534a6e566a5a5a3538685a52344261544c784165742fa26469706673582212208a5eb1924c905ab2ccde4a466bc26253f5bf9eeaee611fed0b3ddbb382dcf7d564736f6c634300080c0033

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

0000000000000000000000001bb96b19858b12d91b8512580147a03cca62c29e

-----Decoded View---------------
Arg [0] : recipientWallet (address): 0x1Bb96B19858b12d91B8512580147A03cCa62C29e

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000001bb96b19858b12d91b8512580147a03cca62c29e


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ 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.