CRO Price: $0.08 (+1.31%)

Contract

0xe6AAC8BfC6DD1DBa5680513dC12C2a78BD84e4E8

Overview

CRO Balance

Cronos Chain LogoCronos Chain LogoCronos Chain Logo0 CRO

CRO Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Create Market It...140977472024-05-25 9:38:14105 days ago1716629894IN
0xe6AAC8Bf...8BD84e4E8
0 CRO1.286886455,050
Create Market Sa...140193822024-05-20 5:39:38110 days ago1716183578IN
0xe6AAC8Bf...8BD84e4E8
295 CRO1.143687195,048.5
Unlist Market It...138904342024-05-11 17:33:22119 days ago1715448802IN
0xe6AAC8Bf...8BD84e4E8
0 CRO0.671877255,555
Unlist Market It...138904302024-05-11 17:33:00119 days ago1715448780IN
0xe6AAC8Bf...8BD84e4E8
0 CRO0.671877255,555
Unlist Market It...138904262024-05-11 17:32:37119 days ago1715448757IN
0xe6AAC8Bf...8BD84e4E8
0 CRO0.671877255,555
Unlist Market It...138904222024-05-11 17:32:14119 days ago1715448734IN
0xe6AAC8Bf...8BD84e4E8
0 CRO0.671877255,555
Unlist Market It...138904192024-05-11 17:31:56119 days ago1715448716IN
0xe6AAC8Bf...8BD84e4E8
0 CRO0.671877255,555
Unlist Market It...138904142024-05-11 17:31:28119 days ago1715448688IN
0xe6AAC8Bf...8BD84e4E8
0 CRO0.671877255,555
Unlist Market It...138904102024-05-11 17:31:05119 days ago1715448665IN
0xe6AAC8Bf...8BD84e4E8
0 CRO0.671877255,555
Unlist Market It...138904072024-05-11 17:30:48119 days ago1715448648IN
0xe6AAC8Bf...8BD84e4E8
0 CRO0.671877255,555
Unlist Market It...138904032024-05-11 17:30:25119 days ago1715448625IN
0xe6AAC8Bf...8BD84e4E8
0 CRO0.671877255,555
Unlist Market It...138904002024-05-11 17:30:08119 days ago1715448608IN
0xe6AAC8Bf...8BD84e4E8
0 CRO0.671877255,555
Unlist Market It...138903972024-05-11 17:29:51119 days ago1715448591IN
0xe6AAC8Bf...8BD84e4E8
0 CRO0.671877255,555
Unlist Market It...138903852024-05-11 17:28:43119 days ago1715448523IN
0xe6AAC8Bf...8BD84e4E8
0 CRO0.671877255,555
Unlist Market It...138903822024-05-11 17:28:26119 days ago1715448506IN
0xe6AAC8Bf...8BD84e4E8
0 CRO0.671877255,555
Unlist Market It...138903772024-05-11 17:27:57119 days ago1715448477IN
0xe6AAC8Bf...8BD84e4E8
0 CRO0.671877255,555
Unlist Market It...138903732024-05-11 17:27:34119 days ago1715448454IN
0xe6AAC8Bf...8BD84e4E8
0 CRO0.671877255,555
Unlist Market It...138903692024-05-11 17:27:11119 days ago1715448431IN
0xe6AAC8Bf...8BD84e4E8
0 CRO0.671877255,555
Unlist Market It...138903662024-05-11 17:26:54119 days ago1715448414IN
0xe6AAC8Bf...8BD84e4E8
0 CRO0.671877255,555
Unlist Market It...138903622024-05-11 17:26:31119 days ago1715448391IN
0xe6AAC8Bf...8BD84e4E8
0 CRO0.671877255,555
Unlist Market It...138903572024-05-11 17:26:02119 days ago1715448362IN
0xe6AAC8Bf...8BD84e4E8
0 CRO0.671877255,555
Unlist Market It...138903562024-05-11 17:25:56119 days ago1715448356IN
0xe6AAC8Bf...8BD84e4E8
0 CRO0.671877255,555
Create Market It...138245002024-05-07 9:07:50123 days ago1715072870IN
0xe6AAC8Bf...8BD84e4E8
0 CRO1.285147035,042.93670128
Create Market It...136780692024-04-27 16:43:16133 days ago1714236196IN
0xe6AAC8Bf...8BD84e4E8
0 CRO1.286886455,050
Create Market It...134232592024-04-10 22:47:36150 days ago1712789256IN
0xe6AAC8Bf...8BD84e4E8
0 CRO1.286886455,050
View all transactions

Latest 25 internal transactions (View All)

Parent Transaction Hash Block From To
140193822024-05-20 5:39:38110 days ago1716183578
0xe6AAC8Bf...8BD84e4E8
5.9 CRO
140193822024-05-20 5:39:38110 days ago1716183578
0xe6AAC8Bf...8BD84e4E8
11.8 CRO
140193822024-05-20 5:39:38110 days ago1716183578
0xe6AAC8Bf...8BD84e4E8
277.3 CRO
128168882024-03-02 12:11:45189 days ago1709381505
0xe6AAC8Bf...8BD84e4E8
5.9 CRO
128168882024-03-02 12:11:45189 days ago1709381505
0xe6AAC8Bf...8BD84e4E8
11.8 CRO
128168882024-03-02 12:11:45189 days ago1709381505
0xe6AAC8Bf...8BD84e4E8
277.3 CRO
121739022024-01-20 17:39:40231 days ago1705772380
0xe6AAC8Bf...8BD84e4E8
6.66 CRO
121739022024-01-20 17:39:40231 days ago1705772380
0xe6AAC8Bf...8BD84e4E8
13.32 CRO
121739022024-01-20 17:39:40231 days ago1705772380
0xe6AAC8Bf...8BD84e4E8
313.02 CRO
121737572024-01-20 17:26:10231 days ago1705771570
0xe6AAC8Bf...8BD84e4E8
6.66 CRO
121737572024-01-20 17:26:10231 days ago1705771570
0xe6AAC8Bf...8BD84e4E8
13.32 CRO
121737572024-01-20 17:26:10231 days ago1705771570
0xe6AAC8Bf...8BD84e4E8
313.02 CRO
118215992023-12-28 20:01:20254 days ago1703793680
0xe6AAC8Bf...8BD84e4E8
20 CRO
118215992023-12-28 20:01:20254 days ago1703793680
0xe6AAC8Bf...8BD84e4E8
40 CRO
118215992023-12-28 20:01:20254 days ago1703793680
0xe6AAC8Bf...8BD84e4E8
940 CRO
118026952023-12-27 14:33:57255 days ago1703687637
0xe6AAC8Bf...8BD84e4E8
1.98 CRO
118026952023-12-27 14:33:57255 days ago1703687637
0xe6AAC8Bf...8BD84e4E8
3.96 CRO
118026952023-12-27 14:33:57255 days ago1703687637
0xe6AAC8Bf...8BD84e4E8
93.06 CRO
118024062023-12-27 14:06:53255 days ago1703686013
0xe6AAC8Bf...8BD84e4E8
16 CRO
118024062023-12-27 14:06:53255 days ago1703686013
0xe6AAC8Bf...8BD84e4E8
32 CRO
118024062023-12-27 14:06:53255 days ago1703686013
0xe6AAC8Bf...8BD84e4E8
752 CRO
117938442023-12-27 0:46:56255 days ago1703638016
0xe6AAC8Bf...8BD84e4E8
12 CRO
117938442023-12-27 0:46:56255 days ago1703638016
0xe6AAC8Bf...8BD84e4E8
24 CRO
117938442023-12-27 0:46:56255 days ago1703638016
0xe6AAC8Bf...8BD84e4E8
564 CRO
117163872023-12-22 0:08:06260 days ago1703203686
0xe6AAC8Bf...8BD84e4E8
4.4 CRO
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MagicverseMarket

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at cronoscan.com on 2023-11-29
*/

// SPDX-License-Identifier: MIT

/*

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

*/

pragma solidity ^0.8.18;

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

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

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

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

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}
/**
 * @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;
    }
}

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
     * @dev Handles the receipt of a single ERC1155 token type. This function is
     * called at the end of a `safeTransferFrom` after the balance has been updated.
     *
     * NOTE: To accept the transfer, this must return
     * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
     * (i.e. 0xf23a6e61, or its own function selector).
     *
     * @param operator The address which initiated the transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param id The ID of the token being transferred
     * @param value The amount of tokens being transferred
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
     */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
     * @dev Handles the receipt of a multiple ERC1155 token types. This function
     * is called at the end of a `safeBatchTransferFrom` after the balances have
     * been updated.
     *
     * NOTE: To accept the transfer(s), this must return
     * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
     * (i.e. 0xbc197c81, or its own function selector).
     *
     * @param operator The address which initiated the batch transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param ids An array containing ids of each token being transferred (order and length must match values array)
     * @param values An array containing amounts of each token being transferred (order and length must match ids array)
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
     */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}


contract MagicverseMarket is ReentrancyGuard, Ownable {
    using Counters for Counters.Counter;
    Counters.Counter private _itemIds;
    mapping(uint=>address) private AcceptedNFTContracts;
    uint private AcceptedContracts = 2;
    address public MagicFarm;
    address public Team;
    uint256 public MagicFarmPercentage = 400;
    uint256 public TeamPercentage = 200;
    uint256[] public IdsUnsold;
    uint256[] public ItemsSold;
     constructor(address _MAContract,address _EPhoenexes,address _MagicFarm, address _Team) {
         AcceptedNFTContracts[0] = _MAContract;
         AcceptedNFTContracts[1] = _EPhoenexes;
         MagicFarm = _MagicFarm;
         Team = _Team;
     }
     
     struct MarketItem {
         uint itemId;
         address nftContract;
         uint256 tokenId;
         uint amount;
         address payable seller;
         address payable owner;
         uint256 price;
         bool finished;
         uint256 indexOfUnsold;
         uint256 TimeofPurchase;
     }
     
     mapping(uint256 => MarketItem) private idToMarketItem;
     
     event MarketItemCreated (
        uint indexed itemId,
        address indexed nftContract,
        uint256 indexed tokenId,
        uint amount,
        address seller,
        address owner,
        uint256 price,
        bool finished,
        uint256 indexOfUnsold
     );
     
     event MarketItemSold (
         uint indexed itemId,
         address owner
         );

     event MarketItemUnlisted (
         uint indexed itemId,
         address owner
         );
    
   
    
    function createMarketItem(
        address nftContract,
        uint256 tokenId,
        uint amount,
        uint256 price
        ) public payable nonReentrant {
           
            bool isAccepted = false;

             for (uint i=0; i<AcceptedContracts; i++){
               if (AcceptedNFTContracts[i] == nftContract) {
                   isAccepted = true;
               }
            }
            require(isAccepted, "Not Accepted NFT Contract");
            require(price > 0, "Price must be greater than 0");
            
            _itemIds.increment();
            uint256 itemId = _itemIds.current();
            uint256 indexOfUnsold = IdsUnsold.length;
            idToMarketItem[itemId] =  MarketItem(
                itemId,
                nftContract,
                tokenId,
                amount,
                payable(msg.sender),
                payable(address(0)),
                price,
                false,
                indexOfUnsold,
                0
            );

            IdsUnsold.push(itemId);

            IERC1155(nftContract).safeTransferFrom(msg.sender, address(this), tokenId, amount, '');
                
            emit MarketItemCreated(
                itemId,
                nftContract,
                tokenId,
                amount,
                msg.sender,
                address(0),
                price,
                false,
                indexOfUnsold
            );
        }

    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4) {
        return bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"));
    }

    function createMarketSale(
        address nftContract,
        uint256 itemId
        ) public payable nonReentrant {
            uint price = idToMarketItem[itemId].price;
            uint tokenId = idToMarketItem[itemId].tokenId;
            uint amount = idToMarketItem[itemId].amount;
            bool finished = idToMarketItem[itemId].finished;
            address seller = idToMarketItem[itemId].seller;
            require(msg.value == price, "Please submit the asking price in order to complete the purchase");
            require(finished != true, "This Sale has alredy finnished");
            emit MarketItemSold(
                itemId,
                msg.sender
                );
            uint256 CROforMagicFarm = msg.value*MagicFarmPercentage/10000;
            uint256 CROforTeam = msg.value*TeamPercentage/10000;
            uint256 CROforSeller = msg.value-CROforMagicFarm-CROforTeam;
            payable(seller).transfer(CROforSeller);
            payable(MagicFarm).transfer(CROforMagicFarm);
            payable(Team).transfer(CROforTeam);
            IERC1155(nftContract).safeTransferFrom(address(this), msg.sender, tokenId, amount, "");
            idToMarketItem[itemId].owner = payable(msg.sender);

            idToMarketItem[itemId].finished = true;
            idToMarketItem[itemId].TimeofPurchase = block.timestamp;
            
            uint256 indexInMarket = idToMarketItem[itemId].indexOfUnsold;
            
            idToMarketItem[IdsUnsold[IdsUnsold.length-1]].indexOfUnsold = indexInMarket;
            IdsUnsold[indexInMarket] = IdsUnsold[IdsUnsold.length-1];
            IdsUnsold.pop();
            
            ItemsSold.push(itemId);
        }
        
    function unlistMarketItem(
        address nftContract,
        uint256 itemId
        ) public  nonReentrant {
            uint tokenId = idToMarketItem[itemId].tokenId;
            uint amount = idToMarketItem[itemId].amount;
            bool finished = idToMarketItem[itemId].finished;
            address seller = idToMarketItem[itemId].seller;
            require(msg.sender == seller, "Not the Owner");
            require(finished != true, "This Sale has alredy finnished");
             emit MarketItemUnlisted(
                itemId,
                msg.sender
                );
            IERC1155(nftContract).safeTransferFrom(address(this), msg.sender, tokenId, amount, "");
            idToMarketItem[itemId].owner = payable(msg.sender);
            
            idToMarketItem[itemId].finished = true;
            
            uint256 indexInMarket = idToMarketItem[itemId].indexOfUnsold;
            idToMarketItem[IdsUnsold[IdsUnsold.length-1]].indexOfUnsold = indexInMarket;
            IdsUnsold[indexInMarket] = IdsUnsold[IdsUnsold.length-1];
            IdsUnsold.pop();
            

        }

    function fetchMarketItems(uint cursor) public view returns (MarketItem[] memory) {
        uint start_point = cursor*400;
        uint end_point;
        IdsUnsold.length < start_point + 400 ? end_point = IdsUnsold.length : end_point = start_point + 400;
        uint MarketItems = end_point - start_point ;
        MarketItem[] memory items = new MarketItem[](MarketItems);
        uint currentindex;
        for (uint i = start_point; i < end_point; i++) {
         uint256 itemId =  IdsUnsold[i];
         MarketItem storage currentItem = idToMarketItem[itemId];
         items[currentindex] = currentItem;
        currentindex += 1;
        }
        return items;
    }
     
     
    function fetchSoldItems(uint cursor) public view returns (MarketItem[] memory) {
        uint start_point = cursor*400;
        uint end_point;
        ItemsSold.length < start_point + 400 ? end_point = ItemsSold.length : end_point = start_point + 400;
        uint SoldItems = end_point - start_point ;
        MarketItem[] memory items = new MarketItem[](SoldItems);
        uint currentindex;
        for (uint i = start_point; i < end_point; i++) {
         uint256 itemId =  ItemsSold[i];
         MarketItem storage currentItem = idToMarketItem[itemId];
         items[currentindex] = currentItem;
        currentindex += 1;
        }
        return items;
    }
     
     function TotalItemsonMarket () public view returns(uint256){
       return IdsUnsold.length;
     }
     
     function TotalItemsSold () public view returns(uint256){
       return ItemsSold.length;
     }

     function AddNFTContracts(address _NFTcontract) external onlyOwner{
       uint index = AcceptedContracts;
       AcceptedNFTContracts[index] = _NFTcontract;
       AcceptedContracts ++;
     } 
     
      function ChangeFees(uint256 _MagicFarmFee, uint256 _TeamFee) external onlyOwner{
          MagicFarmPercentage = _MagicFarmFee;
          TeamPercentage = _TeamFee;
      }

      function ChangeMagicFarm(address _MagicFarm) external onlyOwner {
         MagicFarm = _MagicFarm;
     }

     function ChangeTeamAddress(address _Team) external onlyOwner {
         Team = _Team;
     }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_MAContract","type":"address"},{"internalType":"address","name":"_EPhoenexes","type":"address"},{"internalType":"address","name":"_MagicFarm","type":"address"},{"internalType":"address","name":"_Team","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"itemId","type":"uint256"},{"indexed":true,"internalType":"address","name":"nftContract","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"address","name":"seller","type":"address"},{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"},{"indexed":false,"internalType":"bool","name":"finished","type":"bool"},{"indexed":false,"internalType":"uint256","name":"indexOfUnsold","type":"uint256"}],"name":"MarketItemCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"itemId","type":"uint256"},{"indexed":false,"internalType":"address","name":"owner","type":"address"}],"name":"MarketItemSold","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"itemId","type":"uint256"},{"indexed":false,"internalType":"address","name":"owner","type":"address"}],"name":"MarketItemUnlisted","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":[{"internalType":"address","name":"_NFTcontract","type":"address"}],"name":"AddNFTContracts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_MagicFarmFee","type":"uint256"},{"internalType":"uint256","name":"_TeamFee","type":"uint256"}],"name":"ChangeFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_MagicFarm","type":"address"}],"name":"ChangeMagicFarm","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_Team","type":"address"}],"name":"ChangeTeamAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"IdsUnsold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"ItemsSold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MagicFarm","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MagicFarmPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Team","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TeamPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TotalItemsSold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TotalItemsonMarket","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"nftContract","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"}],"name":"createMarketItem","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"nftContract","type":"address"},{"internalType":"uint256","name":"itemId","type":"uint256"}],"name":"createMarketSale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"cursor","type":"uint256"}],"name":"fetchMarketItems","outputs":[{"components":[{"internalType":"uint256","name":"itemId","type":"uint256"},{"internalType":"address","name":"nftContract","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address payable","name":"seller","type":"address"},{"internalType":"address payable","name":"owner","type":"address"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"bool","name":"finished","type":"bool"},{"internalType":"uint256","name":"indexOfUnsold","type":"uint256"},{"internalType":"uint256","name":"TimeofPurchase","type":"uint256"}],"internalType":"struct MagicverseMarket.MarketItem[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"cursor","type":"uint256"}],"name":"fetchSoldItems","outputs":[{"components":[{"internalType":"uint256","name":"itemId","type":"uint256"},{"internalType":"address","name":"nftContract","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address payable","name":"seller","type":"address"},{"internalType":"address payable","name":"owner","type":"address"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"bool","name":"finished","type":"bool"},{"internalType":"uint256","name":"indexOfUnsold","type":"uint256"},{"internalType":"uint256","name":"TimeofPurchase","type":"uint256"}],"internalType":"struct MagicverseMarket.MarketItem[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"onERC1155Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","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":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"nftContract","type":"address"},{"internalType":"uint256","name":"itemId","type":"uint256"}],"name":"unlistMarketItem","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600260045561019060075560c86008553480156200002157600080fd5b5060405162001a3538038062001a3583398101604081905262000044916200015f565b60016000556200005433620000f0565b60036020527f3617319a054d772f909f7c479a2cebe5066e836a939412e32403c99029b92eff80546001600160a01b039586166001600160a01b03199182161790915560016000527fa15bc60c955c405d20d9149c709e2460f1c2d9a497496a7f46004d1772c3054c805494861694821694909417909355600580549285169284169290921790915560068054919093169116179055620001bc565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b80516001600160a01b03811681146200015a57600080fd5b919050565b600080600080608085870312156200017657600080fd5b620001818562000142565b9350620001916020860162000142565b9250620001a16040860162000142565b9150620001b16060860162000142565b905092959194509250565b61186980620001cc6000396000f3fe60806040526004361061012a5760003560e01c80638990af8c116100ab578063c23b139e1161006f578063c23b139e1461030f578063d43d600114610322578063edb25e5c14610338578063f23a6e6114610358578063f2fde38b146103b7578063f70659fc146103d757600080fd5b80638990af8c146102865780638da5cb5b1461029c5780639025cca8146102ba578063a9e0c316146102da578063b21d5444146102fa57600080fd5b80634f0b0a7c116100f25780634f0b0a7c146101fe578063599ba2341461021e578063639e01dd14610231578063715018a6146102515780637f307b081461026657600080fd5b80630dba25721461012f578063130d117114610151578063172055d5146101845780631bea95f9146101995780633155cd09146101d1575b600080fd5b34801561013b57600080fd5b5061014f61014a366004611482565b6103f7565b005b34801561015d57600080fd5b5061017161016c3660046114a4565b610435565b6040519081526020015b60405180910390f35b34801561019057600080fd5b50600a54610171565b3480156101a557600080fd5b506005546101b9906001600160a01b031681565b6040516001600160a01b03909116815260200161017b565b3480156101dd57600080fd5b506101f16101ec3660046114a4565b610456565b60405161017b91906114bd565b34801561020a57600080fd5b506101716102193660046114a4565b61060f565b61014f61022c36600461158e565b61061f565b34801561023d57600080fd5b506006546101b9906001600160a01b031681565b34801561025d57600080fd5b5061014f6109af565b34801561027257600080fd5b5061014f6102813660046115c7565b6109e5565b34801561029257600080fd5b5061017160075481565b3480156102a857600080fd5b506001546001600160a01b03166101b9565b3480156102c657600080fd5b506101f16102d53660046114a4565b610a51565b3480156102e657600080fd5b5061014f6102f53660046115e9565b610bfe565b34801561030657600080fd5b50600954610171565b61014f61031d3660046115e9565b610e86565b34801561032e57600080fd5b5061017160085481565b34801561034457600080fd5b5061014f6103533660046115c7565b61128d565b34801561036457600080fd5b5061039e610373366004611613565b7ff23a6e612e1ff4830e658fe43f4e3cb4a5f8170bd5d9e69fb5d7a7fa9e4fdf979695505050505050565b6040516001600160e01b0319909116815260200161017b565b3480156103c357600080fd5b5061014f6103d23660046115c7565b6112d9565b3480156103e357600080fd5b5061014f6103f23660046115c7565b611374565b6001546001600160a01b0316331461042a5760405162461bcd60e51b8152600401610421906116b9565b60405180910390fd5b600791909155600855565b600a818154811061044557600080fd5b600091825260209091200154905081565b6060600061046683610190611704565b9050600061047682610190611721565b600954106104925761048a82610190611721565b905080610498565b50600954805b5060006104a58383611734565b905060008167ffffffffffffffff8111156104c2576104c2611747565b6040519080825280602002602001820160405280156104fb57816020015b6104e8611412565b8152602001906001900390816104e05790505b5090506000845b848110156106035760006009828154811061051f5761051f61175d565b6000918252602080832090910154808352600b82526040928390208351610140810185528154815260018201546001600160a01b039081169482019490945260028201549481019490945260038101546060850152600481015483166080850152600581015490921660a0840152600682015460c0840152600782015460ff16151560e08401526008820154610100840152600982015461012084015286519093509091908690869081106105d6576105d661175d565b60209081029190910101526105ec600185611721565b9350505080806105fb90611773565b915050610502565b50909695505050505050565b6009818154811061044557600080fd5b6002600054036106415760405162461bcd60e51b81526004016104219061178c565b60026000908155805b60045481101561068c576000818152600360205260409020546001600160a01b0380881691160361067a57600191505b8061068481611773565b91505061064a565b50806106da5760405162461bcd60e51b815260206004820152601960248201527f4e6f74204163636570746564204e465420436f6e7472616374000000000000006044820152606401610421565b6000821161072a5760405162461bcd60e51b815260206004820152601c60248201527f5072696365206d7573742062652067726561746572207468616e2030000000006044820152606401610421565b610738600280546001019055565b600061074360025490565b905060006009805490509050604051806101400160405280838152602001886001600160a01b03168152602001878152602001868152602001336001600160a01b0316815260200160006001600160a01b031681526020018581526020016000151581526020018281526020016000815250600b60008481526020019081526020016000206000820151816000015560208201518160010160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550604082015181600201556060820151816003015560808201518160040160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a08201518160050160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060c0820151816006015560e08201518160070160006101000a81548160ff021916908315150217905550610100820151816008015561012082015181600901559050506009829080600181540180825580915050600190039060005260206000200160009091909190915055866001600160a01b031663f242432a333089896040518563ffffffff1660e01b815260040161090b94939291906117c3565b600060405180830381600087803b15801561092557600080fd5b505af1158015610939573d6000803e3d6000fd5b505060408051888152336020820152600081830181905260608201899052608082015260a0810185905290518993506001600160a01b038b16925085917f59891d0c6083fd1a323642ae5458f47ad6446540d0b5a7f6d57d2abaf1287a11919081900360c00190a4505060016000555050505050565b6001546001600160a01b031633146109d95760405162461bcd60e51b8152600401610421906116b9565b6109e360006113c0565b565b6001546001600160a01b03163314610a0f5760405162461bcd60e51b8152600401610421906116b9565b60048054600081815260036020526040812080546001600160a01b0319166001600160a01b0386161790558254919290610a4883611773565b91905055505050565b60606000610a6183610190611704565b90506000610a7182610190611721565b600a5410610a8d57610a8582610190611721565b905080610a93565b50600a54805b506000610aa08383611734565b905060008167ffffffffffffffff811115610abd57610abd611747565b604051908082528060200260200182016040528015610af657816020015b610ae3611412565b815260200190600190039081610adb5790505b5090506000845b84811015610603576000600a8281548110610b1a57610b1a61175d565b6000918252602080832090910154808352600b82526040928390208351610140810185528154815260018201546001600160a01b039081169482019490945260028201549481019490945260038101546060850152600481015483166080850152600581015490921660a0840152600682015460c0840152600782015460ff16151560e0840152600882015461010084015260098201546101208401528651909350909190869086908110610bd157610bd161175d565b6020908102919091010152610be7600185611721565b935050508080610bf690611773565b915050610afd565b600260005403610c205760405162461bcd60e51b81526004016104219061178c565b60026000818155828152600b6020526040902090810154600382015460078301546004909301549192909160ff909116906001600160a01b0316338114610c995760405162461bcd60e51b815260206004820152600d60248201526c2737ba103a34329027bbb732b960991b6044820152606401610421565b811515600103610ceb5760405162461bcd60e51b815260206004820152601e60248201527f546869732053616c652068617320616c726564792066696e6e697368656400006044820152606401610421565b60405133815285907f8b3868bb97ca853c562de4665d26b9437b797c1763cf2cf4341ef089cdffc70a9060200160405180910390a2604051637921219560e11b81526001600160a01b0387169063f242432a90610d529030903390899089906004016117c3565b600060405180830381600087803b158015610d6c57600080fd5b505af1158015610d80573d6000803e3d6000fd5b5050506000868152600b6020819052604082206005810180546001600160a01b0319163317905560078101805460ff19166001908117909155600890910154600980549195508594929091610dd59190611734565b81548110610de557610de561175d565b6000918252602080832090910154835282019290925260400190206008015560098054610e1490600190611734565b81548110610e2457610e2461175d565b906000526020600020015460098281548110610e4257610e4261175d565b6000918252602090912001556009805480610e5f57610e5f6117fb565b60019003818190600052602060002001600090559055505050505060016000819055505050565b600260005403610ea85760405162461bcd60e51b81526004016104219061178c565b60026000818155828152600b60205260409020600681015491810154600382015460078301546004909301549192909160ff909116906001600160a01b0316348514610f5e576040805162461bcd60e51b81526020600482015260248101919091527f506c65617365207375626d6974207468652061736b696e67207072696365206960448201527f6e206f7264657220746f20636f6d706c657465207468652070757263686173656064820152608401610421565b811515600103610fb05760405162461bcd60e51b815260206004820152601e60248201527f546869732053616c652068617320616c726564792066696e6e697368656400006044820152606401610421565b60405133815286907f2073b2706c235effb1e3840575370a51749afd8181b4018f93bff955d50792cb9060200160405180910390a2600061271060075434610ff89190611704565b6110029190611811565b90506000612710600854346110179190611704565b6110219190611811565b90506000816110308434611734565b61103a9190611734565b6040519091506001600160a01b0385169082156108fc029083906000818181858888f19350505050158015611073573d6000803e3d6000fd5b506005546040516001600160a01b039091169084156108fc029085906000818181858888f193505050501580156110ae573d6000803e3d6000fd5b506006546040516001600160a01b039091169083156108fc029084906000818181858888f193505050501580156110e9573d6000803e3d6000fd5b50604051637921219560e11b81526001600160a01b038b169063f242432a9061111c90309033908c908c906004016117c3565b600060405180830381600087803b15801561113657600080fd5b505af115801561114a573d6000803e3d6000fd5b50505060008a8152600b6020819052604082206005810180546001600160a01b0319163317905560078101805460ff19166001908117909155426009808401919091556008909201548254909550859492916111a591611734565b815481106111b5576111b561175d565b60009182526020808320909101548352820192909252604001902060080155600980546111e490600190611734565b815481106111f4576111f461175d565b9060005260206000200154600982815481106112125761121261175d565b600091825260209091200155600980548061122f5761122f6117fb565b6000828152602081208201600019908101829055909101909155600a8054600181810183559183527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a8019b909b559990995550505050505050505050565b6001546001600160a01b031633146112b75760405162461bcd60e51b8152600401610421906116b9565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6001546001600160a01b031633146113035760405162461bcd60e51b8152600401610421906116b9565b6001600160a01b0381166113685760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610421565b611371816113c0565b50565b6001546001600160a01b0316331461139e5760405162461bcd60e51b8152600401610421906116b9565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040518061014001604052806000815260200160006001600160a01b03168152602001600081526020016000815260200160006001600160a01b0316815260200160006001600160a01b031681526020016000815260200160001515815260200160008152602001600081525090565b6000806040838503121561149557600080fd5b50508035926020909101359150565b6000602082840312156114b657600080fd5b5035919050565b602080825282518282018190526000919060409081850190868401855b8281101561156557815180518552868101516001600160a01b039081168887015286820151878701526060808301519087015260808083015182169087015260a0808301519091169086015260c0808201519086015260e0808201511515908601526101008082015190860152610120908101519085015261014090930192908501906001016114da565b5091979650505050505050565b80356001600160a01b038116811461158957600080fd5b919050565b600080600080608085870312156115a457600080fd5b6115ad85611572565b966020860135965060408601359560600135945092505050565b6000602082840312156115d957600080fd5b6115e282611572565b9392505050565b600080604083850312156115fc57600080fd5b61160583611572565b946020939093013593505050565b60008060008060008060a0878903121561162c57600080fd5b61163587611572565b955061164360208801611572565b94506040870135935060608701359250608087013567ffffffffffffffff8082111561166e57600080fd5b818901915089601f83011261168257600080fd5b81358181111561169157600080fd5b8a60208285010111156116a357600080fd5b6020830194508093505050509295509295509295565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761171b5761171b6116ee565b92915050565b8082018082111561171b5761171b6116ee565b8181038181111561171b5761171b6116ee565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600060018201611785576117856116ee565b5060010190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6001600160a01b0394851681529290931660208301526040820152606081019190915260a06080820181905260009082015260c00190565b634e487b7160e01b600052603160045260246000fd5b60008261182e57634e487b7160e01b600052601260045260246000fd5b50049056fea264697066735822122093e59988f4c3fb305e60390298bf14f5ccef15962c9f303dd338819da6fa004464736f6c63430008120033000000000000000000000000c6a22eef316a4aa3ae596f2fe0912b360805587a00000000000000000000000042e4bd0a367adaf84e75dee4467f8d94cad3dfbe00000000000000000000000060abad422bed8a46d7a320d90eb0ec2110034e5c000000000000000000000000a6a802cec7f84afd10bfa24856271adfcc968808

Deployed Bytecode

0x60806040526004361061012a5760003560e01c80638990af8c116100ab578063c23b139e1161006f578063c23b139e1461030f578063d43d600114610322578063edb25e5c14610338578063f23a6e6114610358578063f2fde38b146103b7578063f70659fc146103d757600080fd5b80638990af8c146102865780638da5cb5b1461029c5780639025cca8146102ba578063a9e0c316146102da578063b21d5444146102fa57600080fd5b80634f0b0a7c116100f25780634f0b0a7c146101fe578063599ba2341461021e578063639e01dd14610231578063715018a6146102515780637f307b081461026657600080fd5b80630dba25721461012f578063130d117114610151578063172055d5146101845780631bea95f9146101995780633155cd09146101d1575b600080fd5b34801561013b57600080fd5b5061014f61014a366004611482565b6103f7565b005b34801561015d57600080fd5b5061017161016c3660046114a4565b610435565b6040519081526020015b60405180910390f35b34801561019057600080fd5b50600a54610171565b3480156101a557600080fd5b506005546101b9906001600160a01b031681565b6040516001600160a01b03909116815260200161017b565b3480156101dd57600080fd5b506101f16101ec3660046114a4565b610456565b60405161017b91906114bd565b34801561020a57600080fd5b506101716102193660046114a4565b61060f565b61014f61022c36600461158e565b61061f565b34801561023d57600080fd5b506006546101b9906001600160a01b031681565b34801561025d57600080fd5b5061014f6109af565b34801561027257600080fd5b5061014f6102813660046115c7565b6109e5565b34801561029257600080fd5b5061017160075481565b3480156102a857600080fd5b506001546001600160a01b03166101b9565b3480156102c657600080fd5b506101f16102d53660046114a4565b610a51565b3480156102e657600080fd5b5061014f6102f53660046115e9565b610bfe565b34801561030657600080fd5b50600954610171565b61014f61031d3660046115e9565b610e86565b34801561032e57600080fd5b5061017160085481565b34801561034457600080fd5b5061014f6103533660046115c7565b61128d565b34801561036457600080fd5b5061039e610373366004611613565b7ff23a6e612e1ff4830e658fe43f4e3cb4a5f8170bd5d9e69fb5d7a7fa9e4fdf979695505050505050565b6040516001600160e01b0319909116815260200161017b565b3480156103c357600080fd5b5061014f6103d23660046115c7565b6112d9565b3480156103e357600080fd5b5061014f6103f23660046115c7565b611374565b6001546001600160a01b0316331461042a5760405162461bcd60e51b8152600401610421906116b9565b60405180910390fd5b600791909155600855565b600a818154811061044557600080fd5b600091825260209091200154905081565b6060600061046683610190611704565b9050600061047682610190611721565b600954106104925761048a82610190611721565b905080610498565b50600954805b5060006104a58383611734565b905060008167ffffffffffffffff8111156104c2576104c2611747565b6040519080825280602002602001820160405280156104fb57816020015b6104e8611412565b8152602001906001900390816104e05790505b5090506000845b848110156106035760006009828154811061051f5761051f61175d565b6000918252602080832090910154808352600b82526040928390208351610140810185528154815260018201546001600160a01b039081169482019490945260028201549481019490945260038101546060850152600481015483166080850152600581015490921660a0840152600682015460c0840152600782015460ff16151560e08401526008820154610100840152600982015461012084015286519093509091908690869081106105d6576105d661175d565b60209081029190910101526105ec600185611721565b9350505080806105fb90611773565b915050610502565b50909695505050505050565b6009818154811061044557600080fd5b6002600054036106415760405162461bcd60e51b81526004016104219061178c565b60026000908155805b60045481101561068c576000818152600360205260409020546001600160a01b0380881691160361067a57600191505b8061068481611773565b91505061064a565b50806106da5760405162461bcd60e51b815260206004820152601960248201527f4e6f74204163636570746564204e465420436f6e7472616374000000000000006044820152606401610421565b6000821161072a5760405162461bcd60e51b815260206004820152601c60248201527f5072696365206d7573742062652067726561746572207468616e2030000000006044820152606401610421565b610738600280546001019055565b600061074360025490565b905060006009805490509050604051806101400160405280838152602001886001600160a01b03168152602001878152602001868152602001336001600160a01b0316815260200160006001600160a01b031681526020018581526020016000151581526020018281526020016000815250600b60008481526020019081526020016000206000820151816000015560208201518160010160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550604082015181600201556060820151816003015560808201518160040160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a08201518160050160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060c0820151816006015560e08201518160070160006101000a81548160ff021916908315150217905550610100820151816008015561012082015181600901559050506009829080600181540180825580915050600190039060005260206000200160009091909190915055866001600160a01b031663f242432a333089896040518563ffffffff1660e01b815260040161090b94939291906117c3565b600060405180830381600087803b15801561092557600080fd5b505af1158015610939573d6000803e3d6000fd5b505060408051888152336020820152600081830181905260608201899052608082015260a0810185905290518993506001600160a01b038b16925085917f59891d0c6083fd1a323642ae5458f47ad6446540d0b5a7f6d57d2abaf1287a11919081900360c00190a4505060016000555050505050565b6001546001600160a01b031633146109d95760405162461bcd60e51b8152600401610421906116b9565b6109e360006113c0565b565b6001546001600160a01b03163314610a0f5760405162461bcd60e51b8152600401610421906116b9565b60048054600081815260036020526040812080546001600160a01b0319166001600160a01b0386161790558254919290610a4883611773565b91905055505050565b60606000610a6183610190611704565b90506000610a7182610190611721565b600a5410610a8d57610a8582610190611721565b905080610a93565b50600a54805b506000610aa08383611734565b905060008167ffffffffffffffff811115610abd57610abd611747565b604051908082528060200260200182016040528015610af657816020015b610ae3611412565b815260200190600190039081610adb5790505b5090506000845b84811015610603576000600a8281548110610b1a57610b1a61175d565b6000918252602080832090910154808352600b82526040928390208351610140810185528154815260018201546001600160a01b039081169482019490945260028201549481019490945260038101546060850152600481015483166080850152600581015490921660a0840152600682015460c0840152600782015460ff16151560e0840152600882015461010084015260098201546101208401528651909350909190869086908110610bd157610bd161175d565b6020908102919091010152610be7600185611721565b935050508080610bf690611773565b915050610afd565b600260005403610c205760405162461bcd60e51b81526004016104219061178c565b60026000818155828152600b6020526040902090810154600382015460078301546004909301549192909160ff909116906001600160a01b0316338114610c995760405162461bcd60e51b815260206004820152600d60248201526c2737ba103a34329027bbb732b960991b6044820152606401610421565b811515600103610ceb5760405162461bcd60e51b815260206004820152601e60248201527f546869732053616c652068617320616c726564792066696e6e697368656400006044820152606401610421565b60405133815285907f8b3868bb97ca853c562de4665d26b9437b797c1763cf2cf4341ef089cdffc70a9060200160405180910390a2604051637921219560e11b81526001600160a01b0387169063f242432a90610d529030903390899089906004016117c3565b600060405180830381600087803b158015610d6c57600080fd5b505af1158015610d80573d6000803e3d6000fd5b5050506000868152600b6020819052604082206005810180546001600160a01b0319163317905560078101805460ff19166001908117909155600890910154600980549195508594929091610dd59190611734565b81548110610de557610de561175d565b6000918252602080832090910154835282019290925260400190206008015560098054610e1490600190611734565b81548110610e2457610e2461175d565b906000526020600020015460098281548110610e4257610e4261175d565b6000918252602090912001556009805480610e5f57610e5f6117fb565b60019003818190600052602060002001600090559055505050505060016000819055505050565b600260005403610ea85760405162461bcd60e51b81526004016104219061178c565b60026000818155828152600b60205260409020600681015491810154600382015460078301546004909301549192909160ff909116906001600160a01b0316348514610f5e576040805162461bcd60e51b81526020600482015260248101919091527f506c65617365207375626d6974207468652061736b696e67207072696365206960448201527f6e206f7264657220746f20636f6d706c657465207468652070757263686173656064820152608401610421565b811515600103610fb05760405162461bcd60e51b815260206004820152601e60248201527f546869732053616c652068617320616c726564792066696e6e697368656400006044820152606401610421565b60405133815286907f2073b2706c235effb1e3840575370a51749afd8181b4018f93bff955d50792cb9060200160405180910390a2600061271060075434610ff89190611704565b6110029190611811565b90506000612710600854346110179190611704565b6110219190611811565b90506000816110308434611734565b61103a9190611734565b6040519091506001600160a01b0385169082156108fc029083906000818181858888f19350505050158015611073573d6000803e3d6000fd5b506005546040516001600160a01b039091169084156108fc029085906000818181858888f193505050501580156110ae573d6000803e3d6000fd5b506006546040516001600160a01b039091169083156108fc029084906000818181858888f193505050501580156110e9573d6000803e3d6000fd5b50604051637921219560e11b81526001600160a01b038b169063f242432a9061111c90309033908c908c906004016117c3565b600060405180830381600087803b15801561113657600080fd5b505af115801561114a573d6000803e3d6000fd5b50505060008a8152600b6020819052604082206005810180546001600160a01b0319163317905560078101805460ff19166001908117909155426009808401919091556008909201548254909550859492916111a591611734565b815481106111b5576111b561175d565b60009182526020808320909101548352820192909252604001902060080155600980546111e490600190611734565b815481106111f4576111f461175d565b9060005260206000200154600982815481106112125761121261175d565b600091825260209091200155600980548061122f5761122f6117fb565b6000828152602081208201600019908101829055909101909155600a8054600181810183559183527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a8019b909b559990995550505050505050505050565b6001546001600160a01b031633146112b75760405162461bcd60e51b8152600401610421906116b9565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6001546001600160a01b031633146113035760405162461bcd60e51b8152600401610421906116b9565b6001600160a01b0381166113685760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610421565b611371816113c0565b50565b6001546001600160a01b0316331461139e5760405162461bcd60e51b8152600401610421906116b9565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040518061014001604052806000815260200160006001600160a01b03168152602001600081526020016000815260200160006001600160a01b0316815260200160006001600160a01b031681526020016000815260200160001515815260200160008152602001600081525090565b6000806040838503121561149557600080fd5b50508035926020909101359150565b6000602082840312156114b657600080fd5b5035919050565b602080825282518282018190526000919060409081850190868401855b8281101561156557815180518552868101516001600160a01b039081168887015286820151878701526060808301519087015260808083015182169087015260a0808301519091169086015260c0808201519086015260e0808201511515908601526101008082015190860152610120908101519085015261014090930192908501906001016114da565b5091979650505050505050565b80356001600160a01b038116811461158957600080fd5b919050565b600080600080608085870312156115a457600080fd5b6115ad85611572565b966020860135965060408601359560600135945092505050565b6000602082840312156115d957600080fd5b6115e282611572565b9392505050565b600080604083850312156115fc57600080fd5b61160583611572565b946020939093013593505050565b60008060008060008060a0878903121561162c57600080fd5b61163587611572565b955061164360208801611572565b94506040870135935060608701359250608087013567ffffffffffffffff8082111561166e57600080fd5b818901915089601f83011261168257600080fd5b81358181111561169157600080fd5b8a60208285010111156116a357600080fd5b6020830194508093505050509295509295509295565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761171b5761171b6116ee565b92915050565b8082018082111561171b5761171b6116ee565b8181038181111561171b5761171b6116ee565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600060018201611785576117856116ee565b5060010190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6001600160a01b0394851681529290931660208301526040820152606081019190915260a06080820181905260009082015260c00190565b634e487b7160e01b600052603160045260246000fd5b60008261182e57634e487b7160e01b600052601260045260246000fd5b50049056fea264697066735822122093e59988f4c3fb305e60390298bf14f5ccef15962c9f303dd338819da6fa004464736f6c63430008120033

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

000000000000000000000000c6a22eef316a4aa3ae596f2fe0912b360805587a00000000000000000000000042e4bd0a367adaf84e75dee4467f8d94cad3dfbe00000000000000000000000060abad422bed8a46d7a320d90eb0ec2110034e5c000000000000000000000000a6a802cec7f84afd10bfa24856271adfcc968808

-----Decoded View---------------
Arg [0] : _MAContract (address): 0xC6a22Eef316a4aa3ae596f2FE0912b360805587a
Arg [1] : _EPhoenexes (address): 0x42E4bD0a367ADAf84E75DEE4467F8d94caD3dfbE
Arg [2] : _MagicFarm (address): 0x60abAD422BEd8a46D7a320d90Eb0EC2110034E5c
Arg [3] : _Team (address): 0xa6A802CeC7F84Afd10bFa24856271AdfCc968808

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000c6a22eef316a4aa3ae596f2fe0912b360805587a
Arg [1] : 00000000000000000000000042e4bd0a367adaf84e75dee4467f8d94cad3dfbe
Arg [2] : 00000000000000000000000060abad422bed8a46d7a320d90eb0ec2110034e5c
Arg [3] : 000000000000000000000000a6a802cec7f84afd10bfa24856271adfcc968808


Deployed Bytecode Sourcemap

15719:8580:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23901:175;;;;;;;;;;-1:-1:-1;23901:175:0;;;;;:::i;:::-;;:::i;:::-;;16140:26;;;;;;;;;;-1:-1:-1;16140:26:0;;;;;:::i;:::-;;:::i;:::-;;;598:25:1;;;586:2;571:18;16140:26:0;;;;;;;;23583:97;;;;;;;;;;-1:-1:-1;23655:9:0;:16;23583:97;;15961:24;;;;;;;;;;-1:-1:-1;15961:24:0;;;;-1:-1:-1;;;;;15961:24:0;;;;;;-1:-1:-1;;;;;907:32:1;;;889:51;;877:2;862:18;15961:24:0;743:203:1;22064:688:0;;;;;;;;;;-1:-1:-1;22064:688:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;16107:26::-;;;;;;;;;;-1:-1:-1;16107:26:0;;;;;:::i;:::-;;:::i;17353:1508::-;;;;;;:::i;:::-;;:::i;15992:19::-;;;;;;;;;;-1:-1:-1;15992:19:0;;;;-1:-1:-1;;;;;15992:19:0;;;3854:103;;;;;;;;;;;;;:::i;23689:196::-;;;;;;;;;;-1:-1:-1;23689:196:0;;;;;:::i;:::-;;:::i;16018:40::-;;;;;;;;;;;;;;;;3203:87;;;;;;;;;;-1:-1:-1;3276:6:0;;-1:-1:-1;;;;;3276:6:0;3203:87;;22772:682;;;;;;;;;;-1:-1:-1;22772:682:0;;;;;:::i;:::-;;:::i;20914:1142::-;;;;;;;;;;-1:-1:-1;20914:1142:0;;;;;:::i;:::-;;:::i;23468:101::-;;;;;;;;;;-1:-1:-1;23544:9:0;:16;23468:101;;19165:1733;;;;;;:::i;:::-;;:::i;16065:35::-;;;;;;;;;;;;;;;;24086:107;;;;;;;;;;-1:-1:-1;24086:107:0;;;;;:::i;:::-;;:::i;18869:288::-;;;;;;;;;;-1:-1:-1;18869:288:0;;;;;:::i;:::-;19079:69;18869:288;;;;;;;;;;;;-1:-1:-1;;;;;;4773:33:1;;;4755:52;;4743:2;4728:18;18869:288:0;4611:202:1;4112:201:0;;;;;;;;;;-1:-1:-1;4112:201:0;;;;;:::i;:::-;;:::i;24202:94::-;;;;;;;;;;-1:-1:-1;24202:94:0;;;;;:::i;:::-;;:::i;23901:175::-;3276:6;;-1:-1:-1;;;;;3276:6:0;2150:10;3423:23;3415:68;;;;-1:-1:-1;;;3415:68:0;;;;;;;:::i;:::-;;;;;;;;;23993:19:::1;:35:::0;;;;24041:14:::1;:25:::0;23901:175::o;16140:26::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;16140:26:0;:::o;22064:688::-;22124:19;22156:16;22175:10;:6;22182:3;22175:10;:::i;:::-;22156:29;-1:-1:-1;22196:14:0;22240:17;22156:29;22254:3;22240:17;:::i;:::-;22221:9;:16;:36;:99;;22303:17;:11;22317:3;22303:17;:::i;:::-;22291:29;;;22221:99;;;-1:-1:-1;22272:9:0;:16;;22221:99;-1:-1:-1;22331:16:0;22350:23;22362:11;22350:9;:23;:::i;:::-;22331:42;;22385:25;22430:11;22413:29;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;22385:57:0;-1:-1:-1;22453:17:0;22495:11;22481:241;22512:9;22508:1;:13;22481:241;;;22540:14;22558:9;22568:1;22558:12;;;;;;;;:::i;:::-;;;;;;;;;;;;;22615:22;;;:14;:22;;;;;;;22649:33;;;;;;;;;;;;;;;-1:-1:-1;;;;;22649:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:19;;22558:12;;-1:-1:-1;22615:22:0;;22649:33;:5;;22655:12;;22649:19;;;;;;:::i;:::-;;;;;;;;;;:33;22693:17;22709:1;22693:17;;:::i;:::-;;;22528:194;;22523:3;;;;;:::i;:::-;;;;22481:241;;;-1:-1:-1;22739:5:0;;22064:688;-1:-1:-1;;;;;;22064:688:0:o;16107:26::-;;;;;;;;;;;;17353:1508;12407:1;13005:7;;:19;12997:63;;;;-1:-1:-1;;;12997:63:0;;;;;;;:::i;:::-;12407:1;13138:7;:18;;;:7;17589:175:::1;17606:17;;17604:1;:19;17589:175;;;17651:23;::::0;;;:20:::1;:23;::::0;;;;;-1:-1:-1;;;;;17651:38:0;;::::1;:23:::0;::::1;:38:::0;17647:102:::1;;17726:4;17713:17;;17647:102;17625:3:::0;::::1;::::0;::::1;:::i;:::-;;;;17589:175;;;;17786:10;17778:48;;;::::0;-1:-1:-1;;;17778:48:0;;6713:2:1;17778:48:0::1;::::0;::::1;6695:21:1::0;6752:2;6732:18;;;6725:30;6791:27;6771:18;;;6764:55;6836:18;;17778:48:0::1;6511:349:1::0;17778:48:0::1;17857:1;17849:5;:9;17841:50;;;::::0;-1:-1:-1;;;17841:50:0;;7067:2:1;17841:50:0::1;::::0;::::1;7049:21:1::0;7106:2;7086:18;;;7079:30;7145;7125:18;;;7118:58;7193:18;;17841:50:0::1;6865:352:1::0;17841:50:0::1;17920:20;:8;5613:19:::0;;5631:1;5613:19;;;5524:127;17920:20:::1;17955:14;17972:18;:8;5494:14:::0;;5402:114;17972:18:::1;17955:35;;18005:21;18029:9;:16;;;;18005:40;;18086:307;;;;;;;;18115:6;18086:307;;;;18140:11;-1:-1:-1::0;;;;;18086:307:0::1;;;;;18170:7;18086:307;;;;18196:6;18086:307;;;;18229:10;-1:-1:-1::0;;;;;18086:307:0::1;;;;;18275:1;-1:-1:-1::0;;;;;18086:307:0::1;;;;;18297:5;18086:307;;;;18321:5;18086:307;;;;;;18345:13;18086:307;;;;18377:1;18086:307;;::::0;18060:14:::1;:22;18075:6;18060:22;;;;;;;;;;;:333;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;18060:333:0::1;;;;;-1:-1:-1::0;;;;;18060:333:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;18060:333:0::1;;;;;-1:-1:-1::0;;;;;18060:333:0::1;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;18060:333:0::1;;;;;-1:-1:-1::0;;;;;18060:333:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18410:9;18425:6;18410:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18458:11;-1:-1:-1::0;;;;;18449:38:0::1;;18488:10;18508:4;18515:7;18524:6;18449:86;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;18573:276:0::1;::::0;;8135:25:1;;;18715:10:0::1;8229:2:1::0;8214:18;;8207:43;-1:-1:-1;8266:18:1;;;8259:43;;;8333:2;8318:18;;8311:34;;;8376:3;8361:19;;8354:51;8187:3;8421:19;;8414:35;;;18573:276:0;;18664:7;;-1:-1:-1;;;;;;18573:276:0;::::1;::::0;-1:-1:-1;18609:6:0;;18573:276:::1;::::0;;;;;8122:3:1;18573:276:0;;::::1;-1:-1:-1::0;;12363:1:0;13317:7;:22;-1:-1:-1;;;;;17353:1508:0:o;3854:103::-;3276:6;;-1:-1:-1;;;;;3276:6:0;2150:10;3423:23;3415:68;;;;-1:-1:-1;;;3415:68:0;;;;;;;:::i;:::-;3919:30:::1;3946:1;3919:18;:30::i;:::-;3854:103::o:0;23689:196::-;3276:6;;-1:-1:-1;;;;;3276:6:0;2150:10;3423:23;3415:68;;;;-1:-1:-1;;;3415:68:0;;;;;;;:::i;:::-;23777:17:::1;::::0;;23764:10:::1;23804:27:::0;;;:20:::1;:27;::::0;;;;:42;;-1:-1:-1;;;;;;23804:42:0::1;-1:-1:-1::0;;;;;23804:42:0;::::1;;::::0;;23856:20;;23777:17;;;23856:20:::1;::::0;::::1;:::i;:::-;;;;;;23754:131;23689:196:::0;:::o;22772:682::-;22830:19;22862:16;22881:10;:6;22888:3;22881:10;:::i;:::-;22862:29;-1:-1:-1;22902:14:0;22946:17;22862:29;22960:3;22946:17;:::i;:::-;22927:9;:16;:36;:99;;23009:17;:11;23023:3;23009:17;:::i;:::-;22997:29;;;22927:99;;;-1:-1:-1;22978:9:0;:16;;22927:99;-1:-1:-1;23037:14:0;23054:23;23066:11;23054:9;:23;:::i;:::-;23037:40;;23089:25;23134:9;23117:27;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;23089:55:0;-1:-1:-1;23155:17:0;23197:11;23183:241;23214:9;23210:1;:13;23183:241;;;23242:14;23260:9;23270:1;23260:12;;;;;;;;:::i;:::-;;;;;;;;;;;;;23317:22;;;:14;:22;;;;;;;23351:33;;;;;;;;;;;;;;;-1:-1:-1;;;;;23351:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:19;;23260:12;;-1:-1:-1;23317:22:0;;23351:33;:5;;23357:12;;23351:19;;;;;;:::i;:::-;;;;;;;;;;:33;23395:17;23411:1;23395:17;;:::i;:::-;;;23230:194;;23225:3;;;;;:::i;:::-;;;;23183:241;;20914:1142;12407:1;13005:7;;:19;12997:63;;;;-1:-1:-1;;;12997:63:0;;;;;;;:::i;:::-;12407:1;13138:7;:18;;;21057:22;;;:14:::1;:22;::::0;;;;:30;;::::1;::::0;21116:29:::1;::::0;::::1;::::0;21176:31:::1;::::0;::::1;::::0;21239:29:::1;::::0;;::::1;::::0;21057:30;;21116:29;;21176:31:::1;::::0;;::::1;::::0;-1:-1:-1;;;;;21239:29:0::1;21291:10;:20:::0;::::1;21283:46;;;::::0;-1:-1:-1;;;21283:46:0;;8662:2:1;21283:46:0::1;::::0;::::1;8644:21:1::0;8701:2;8681:18;;;8674:30;-1:-1:-1;;;8720:18:1;;;8713:43;8773:18;;21283:46:0::1;8460:337:1::0;21283:46:0::1;21352:16:::0;::::1;;21364:4;21352:16:::0;21344:59:::1;;;::::0;-1:-1:-1;;;21344:59:0;;9004:2:1;21344:59:0::1;::::0;::::1;8986:21:1::0;9043:2;9023:18;;;9016:30;9082:32;9062:18;;;9055:60;9132:18;;21344:59:0::1;8802:354:1::0;21344:59:0::1;21424:91;::::0;21486:10:::1;889:51:1::0;;21461:6:0;;21424:91:::1;::::0;877:2:1;862:18;21424:91:0::1;;;;;;;21530:86;::::0;-1:-1:-1;;;21530:86:0;;-1:-1:-1;;;;;21530:38:0;::::1;::::0;::::1;::::0;:86:::1;::::0;21577:4:::1;::::0;21584:10:::1;::::0;21596:7;;21605:6;;21530:86:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;;21631:22:0::1;::::0;;;:14:::1;:22;::::0;;;;;;:28:::1;::::0;::::1;:50:::0;;-1:-1:-1;;;;;;21631:50:0::1;21670:10;21631:50;::::0;;21710:31:::1;::::0;::::1;:38:::0;;-1:-1:-1;;21710:38:0::1;21631:50:::0;21710:38;;::::1;::::0;;;21801:36:::1;::::0;;::::1;::::0;21867:9:::1;21877:16:::0;;21801:36;;-1:-1:-1;21801:36:0;;21631:22;21867:9;;21877:18:::1;::::0;21631:50;21877:18:::1;:::i;:::-;21867:29;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;;::::1;::::0;21852:45;;;::::1;::::0;;;;;;;;:59:::1;;:75:::0;21969:9:::1;21979:16:::0;;:18:::1;::::0;21996:1:::1;::::0;21979:18:::1;:::i;:::-;21969:29;;;;;;;;:::i;:::-;;;;;;;;;21942:9;21952:13;21942:24;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;:56:::0;22013:9:::1;:15:::0;;;::::1;;;;:::i;:::-;;;;;;;;;;;;;;;;;;21027:1029;;;;;12363:1:::0;13317:7;:22;;;;20914:1142;;:::o;19165:1733::-;12407:1;13005:7;;:19;12997:63;;;;-1:-1:-1;;;12997:63:0;;;;;;;:::i;:::-;12407:1;13138:7;:18;;;19313:22;;;:14:::1;:22;::::0;;;;:28:::1;::::0;::::1;::::0;19371:30;;::::1;::::0;19430:29:::1;::::0;::::1;::::0;19490:31:::1;::::0;::::1;::::0;19553:29:::1;::::0;;::::1;::::0;19371:30;;19430:29;;19490:31:::1;::::0;;::::1;::::0;-1:-1:-1;;;;;19553:29:0::1;19605:9;:18:::0;::::1;19597:95;;;::::0;;-1:-1:-1;;;19597:95:0;;9495:2:1;19597:95:0::1;::::0;::::1;9477:21:1::0;9514:18;;;9507:30;;;;9573:34;9553:18;;;9546:62;9644:34;9624:18;;;9617:62;9696:19;;19597:95:0::1;9293:428:1::0;19597:95:0::1;19715:16:::0;::::1;;19727:4;19715:16:::0;19707:59:::1;;;::::0;-1:-1:-1;;;19707:59:0;;9004:2:1;19707:59:0::1;::::0;::::1;8986:21:1::0;9043:2;9023:18;;;9016:30;9082:32;9062:18;;;9055:60;9132:18;;19707:59:0::1;8802:354:1::0;19707:59:0::1;19786:87;::::0;19844:10:::1;889:51:1::0;;19819:6:0;;19786:87:::1;::::0;877:2:1;862:18;19786:87:0::1;;;;;;;19888:23;19944:5;19924:19;;19914:9;:29;;;;:::i;:::-;:35;;;;:::i;:::-;19888:61;;19964:18;20010:5;19995:14;;19985:9;:24;;;;:::i;:::-;:30;;;;:::i;:::-;19964:51:::0;-1:-1:-1;20030:20:0::1;19964:51:::0;20053:25:::1;20063:15:::0;20053:9:::1;:25;:::i;:::-;:36;;;;:::i;:::-;20104:38;::::0;20030:59;;-1:-1:-1;;;;;;20104:24:0;::::1;::::0;:38;::::1;;;::::0;20030:59;;20104:38:::1;::::0;;;20030:59;20104:24;:38;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;20165:9:0::1;::::0;20157:44:::1;::::0;-1:-1:-1;;;;;20165:9:0;;::::1;::::0;20157:44;::::1;;;::::0;20185:15;;20165:9:::1;20157:44:::0;20165:9;20157:44;20185:15;20165:9;20157:44;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;20224:4:0::1;::::0;20216:34:::1;::::0;-1:-1:-1;;;;;20224:4:0;;::::1;::::0;20216:34;::::1;;;::::0;20239:10;;20224:4:::1;20216:34:::0;20224:4;20216:34;20239:10;20224:4;20216:34;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;20265:86:0::1;::::0;-1:-1:-1;;;20265:86:0;;-1:-1:-1;;;;;20265:38:0;::::1;::::0;::::1;::::0;:86:::1;::::0;20312:4:::1;::::0;20319:10:::1;::::0;20331:7;;20340:6;;20265:86:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;;20366:22:0::1;::::0;;;:14:::1;:22;::::0;;;;;;:28:::1;::::0;::::1;:50:::0;;-1:-1:-1;;;;;;20366:50:0::1;20405:10;20366:50;::::0;;20433:31:::1;::::0;::::1;:38:::0;;-1:-1:-1;;20433:38:0::1;20366:50:::0;20433:38;;::::1;::::0;;;20526:15:::1;20486:37;::::0;;::::1;:55:::0;;;;20594:36:::1;::::0;;::::1;::::0;20684:16;;20594:36;;-1:-1:-1;20594:36:0;;20366:22;20486:37;20684:18:::1;::::0;::::1;:::i;:::-;20674:29;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;;::::1;::::0;20659:45;;;::::1;::::0;;;;;;;;:59:::1;;:75:::0;20776:9:::1;20786:16:::0;;:18:::1;::::0;20803:1:::1;::::0;20786:18:::1;:::i;:::-;20776:29;;;;;;;;:::i;:::-;;;;;;;;;20749:9;20759:13;20749:24;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;:56:::0;20820:9:::1;:15:::0;;;::::1;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;-1:-1:-1;;20820:15:0;;;;;;;;;;;;20864:9:::1;:22:::0;;20820:15:::1;20864:22:::0;;::::1;::::0;;;;;;::::1;::::0;;;;13317;;;;-1:-1:-1;;;;;;;;;;19165:1733:0:o;24086:107::-;3276:6;;-1:-1:-1;;;;;3276:6:0;2150:10;3423:23;3415:68;;;;-1:-1:-1;;;3415:68:0;;;;;;;:::i;:::-;24162:9:::1;:22:::0;;-1:-1:-1;;;;;;24162:22:0::1;-1:-1:-1::0;;;;;24162:22:0;;;::::1;::::0;;;::::1;::::0;;24086:107::o;4112:201::-;3276:6;;-1:-1:-1;;;;;3276:6:0;2150:10;3423:23;3415:68;;;;-1:-1:-1;;;3415:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;4201:22:0;::::1;4193:73;;;::::0;-1:-1:-1;;;4193:73:0;;10150:2:1;4193:73:0::1;::::0;::::1;10132:21:1::0;10189:2;10169:18;;;10162:30;10228:34;10208:18;;;10201:62;-1:-1:-1;;;10279:18:1;;;10272:36;10325:19;;4193:73:0::1;9948:402:1::0;4193:73:0::1;4277:28;4296:8;4277:18;:28::i;:::-;4112:201:::0;:::o;24202:94::-;3276:6;;-1:-1:-1;;;;;3276:6:0;2150:10;3423:23;3415:68;;;;-1:-1:-1;;;3415:68:0;;;;;;;:::i;:::-;24275:4:::1;:12:::0;;-1:-1:-1;;;;;;24275:12:0::1;-1:-1:-1::0;;;;;24275:12:0;;;::::1;::::0;;;::::1;::::0;;24202:94::o;4473:191::-;4566:6;;;-1:-1:-1;;;;;4583:17:0;;;-1:-1:-1;;;;;;4583:17:0;;;;;;;4616:40;;4566:6;;;4583:17;4566:6;;4616:40;;4547:16;;4616:40;4536:128;4473:191;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;14:248:1:-;82:6;90;143:2;131:9;122:7;118:23;114:32;111:52;;;159:1;156;149:12;111:52;-1:-1:-1;;182:23:1;;;252:2;237:18;;;224:32;;-1:-1:-1;14:248:1:o;267:180::-;326:6;379:2;367:9;358:7;354:23;350:32;347:52;;;395:1;392;385:12;347:52;-1:-1:-1;418:23:1;;267:180;-1:-1:-1;267:180:1:o;1047:1653::-;1272:2;1324:21;;;1394:13;;1297:18;;;1416:22;;;1243:4;;1272:2;1457;;1475:18;;;;1516:15;;;1243:4;1559:1115;1573:6;1570:1;1567:13;1559:1115;;;1632:13;;1670:9;;1658:22;;1719:11;;;1713:18;-1:-1:-1;;;;;700:31:1;;;1777:12;;;688:44;1830:11;;;1824:18;1810:12;;;1803:40;1866:4;1910:11;;;1904:18;1890:12;;;1883:40;1946:4;1991:11;;;1985:18;700:31;;2051:12;;;688:44;2087:4;2132:11;;;2126:18;700:31;;;2192:12;;;688:44;2228:4;2272:11;;;2266:18;2252:12;;;2245:40;2308:4;2353:11;;;2347:18;1021:13;1014:21;2410:12;;;1002:34;2446:6;2492:11;;;2486:18;2472:12;;;2465:40;2529:6;2576:12;;;2570:19;2555:13;;;2548:42;2619:6;2610:16;;;;2649:15;;;;1595:1;1588:9;1559:1115;;;-1:-1:-1;2691:3:1;;1047:1653;-1:-1:-1;;;;;;;1047:1653:1:o;2705:173::-;2773:20;;-1:-1:-1;;;;;2822:31:1;;2812:42;;2802:70;;2868:1;2865;2858:12;2802:70;2705:173;;;:::o;2883:391::-;2969:6;2977;2985;2993;3046:3;3034:9;3025:7;3021:23;3017:33;3014:53;;;3063:1;3060;3053:12;3014:53;3086:29;3105:9;3086:29;:::i;:::-;3076:39;3162:2;3147:18;;3134:32;;-1:-1:-1;3213:2:1;3198:18;;3185:32;;3264:2;3249:18;3236:32;;-1:-1:-1;2883:391:1;-1:-1:-1;;;2883:391:1:o;3279:186::-;3338:6;3391:2;3379:9;3370:7;3366:23;3362:32;3359:52;;;3407:1;3404;3397:12;3359:52;3430:29;3449:9;3430:29;:::i;:::-;3420:39;3279:186;-1:-1:-1;;;3279:186:1:o;3470:254::-;3538:6;3546;3599:2;3587:9;3578:7;3574:23;3570:32;3567:52;;;3615:1;3612;3605:12;3567:52;3638:29;3657:9;3638:29;:::i;:::-;3628:39;3714:2;3699:18;;;;3686:32;;-1:-1:-1;;;3470:254:1:o;3729:877::-;3835:6;3843;3851;3859;3867;3875;3928:3;3916:9;3907:7;3903:23;3899:33;3896:53;;;3945:1;3942;3935:12;3896:53;3968:29;3987:9;3968:29;:::i;:::-;3958:39;;4016:38;4050:2;4039:9;4035:18;4016:38;:::i;:::-;4006:48;;4101:2;4090:9;4086:18;4073:32;4063:42;;4152:2;4141:9;4137:18;4124:32;4114:42;;4207:3;4196:9;4192:19;4179:33;4231:18;4272:2;4264:6;4261:14;4258:34;;;4288:1;4285;4278:12;4258:34;4326:6;4315:9;4311:22;4301:32;;4371:7;4364:4;4360:2;4356:13;4352:27;4342:55;;4393:1;4390;4383:12;4342:55;4433:2;4420:16;4459:2;4451:6;4448:14;4445:34;;;4475:1;4472;4465:12;4445:34;4520:7;4515:2;4506:6;4502:2;4498:15;4494:24;4491:37;4488:57;;;4541:1;4538;4531:12;4488:57;4572:2;4568;4564:11;4554:21;;4594:6;4584:16;;;;;3729:877;;;;;;;;:::o;4818:356::-;5020:2;5002:21;;;5039:18;;;5032:30;5098:34;5093:2;5078:18;;5071:62;5165:2;5150:18;;4818:356::o;5179:127::-;5240:10;5235:3;5231:20;5228:1;5221:31;5271:4;5268:1;5261:15;5295:4;5292:1;5285:15;5311:168;5384:9;;;5415;;5432:15;;;5426:22;;5412:37;5402:71;;5453:18;;:::i;:::-;5311:168;;;;:::o;5484:125::-;5549:9;;;5570:10;;;5567:36;;;5583:18;;:::i;5614:128::-;5681:9;;;5702:11;;;5699:37;;;5716:18;;:::i;5747:127::-;5808:10;5803:3;5799:20;5796:1;5789:31;5839:4;5836:1;5829:15;5863:4;5860:1;5853:15;5879:127;5940:10;5935:3;5931:20;5928:1;5921:31;5971:4;5968:1;5961:15;5995:4;5992:1;5985:15;6011:135;6050:3;6071:17;;;6068:43;;6091:18;;:::i;:::-;-1:-1:-1;6138:1:1;6127:13;;6011:135::o;6151:355::-;6353:2;6335:21;;;6392:2;6372:18;;;6365:30;6431:33;6426:2;6411:18;;6404:61;6497:2;6482:18;;6151:355::o;7222:627::-;-1:-1:-1;;;;;7573:15:1;;;7555:34;;7625:15;;;;7620:2;7605:18;;7598:43;7672:2;7657:18;;7650:34;7715:2;7700:18;;7693:34;;;;7535:3;7758;7743:19;;7736:32;;;7498:4;7784:19;;;7777:30;7839:3;7824:19;;7222:627::o;9161:127::-;9222:10;9217:3;9213:20;9210:1;9203:31;9253:4;9250:1;9243:15;9277:4;9274:1;9267:15;9726:217;9766:1;9792;9782:132;;9836:10;9831:3;9827:20;9824:1;9817:31;9871:4;9868:1;9861:15;9899:4;9896:1;9889:15;9782:132;-1:-1:-1;9928:9:1;;9726:217::o

Swarm Source

ipfs://93e59988f4c3fb305e60390298bf14f5ccef15962c9f303dd338819da6fa0044

Block Transaction Gas Used Reward
view all blocks validated

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
[ 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.