ETH Price: $3,700.75 (+3.89%)

Contract

0x5156A7F668E59119db23a264502F40407CDa076F
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Sear Concords210168292024-10-21 22:05:3539 days ago1729548335IN
0x5156A7F6...07CDa076F
0 ETH0.00049776.60491701
Sear Concords209825262024-10-17 3:13:5944 days ago1729134839IN
0x5156A7F6...07CDa076F
0 ETH0.000758179.45905734
Sear Concords205868992024-08-22 21:41:1199 days ago1724362871IN
0x5156A7F6...07CDa076F
0 ETH0.000071910.8972224
Sear Concords205868822024-08-22 21:37:4799 days ago1724362667IN
0x5156A7F6...07CDa076F
0 ETH0.000076421.0142237
Sear Concords205868692024-08-22 21:35:1199 days ago1724362511IN
0x5156A7F6...07CDa076F
0 ETH0.00007571.00487863
Sear Concords205785352024-08-21 17:37:47100 days ago1724261867IN
0x5156A7F6...07CDa076F
0 ETH0.000356034.44199662
Sear Concords205785212024-08-21 17:34:59100 days ago1724261699IN
0x5156A7F6...07CDa076F
0 ETH0.000378175.01874712
Set Blocked WAGD...201221392024-06-19 0:12:35164 days ago1718755955IN
0x5156A7F6...07CDa076F
0 ETH0.000217364.62115862
Sear Concords200350332024-06-06 20:00:23176 days ago1717704023IN
0x5156A7F6...07CDa076F
0 ETH0.0016667320.79446781
Sear Concords200292562024-06-06 0:37:35177 days ago1717634255IN
0x5156A7F6...07CDa076F
0 ETH0.0012584316.70051333
Sear Concords200168062024-06-04 6:56:11178 days ago1717484171IN
0x5156A7F6...07CDa076F
0 ETH0.000467796.20809209
Sear Concords199728052024-05-29 3:21:59185 days ago1716952919IN
0x5156A7F6...07CDa076F
0 ETH0.000623857.78326376
Sear Concords199727732024-05-29 3:15:23185 days ago1716952523IN
0x5156A7F6...07CDa076F
0 ETH0.000629327.85149659
Sear Concords199193372024-05-21 16:00:47192 days ago1716307247IN
0x5156A7F6...07CDa076F
0 ETH0.0021558528.61008095
Sear Concords198702742024-05-14 19:21:47199 days ago1715714507IN
0x5156A7F6...07CDa076F
0 ETH0.000670198.89400792
Sear Concords198702642024-05-14 19:19:35199 days ago1715714375IN
0x5156A7F6...07CDa076F
0 ETH0.0008499.36664577
Sear Concords198702442024-05-14 19:15:35199 days ago1715714135IN
0x5156A7F6...07CDa076F
0 ETH0.000643036.73753226
Sear Concords198702342024-05-14 19:13:35199 days ago1715714015IN
0x5156A7F6...07CDa076F
0 ETH0.000598297.93989299
Sear Concords198629732024-05-13 18:45:59200 days ago1715625959IN
0x5156A7F6...07CDa076F
0 ETH0.0010419312.99926473
Sear Concords198491362024-05-11 20:20:11202 days ago1715458811IN
0x5156A7F6...07CDa076F
0 ETH0.000259453.23699018
Sear Concords198159482024-05-07 4:56:35207 days ago1715057795IN
0x5156A7F6...07CDa076F
0 ETH0.000326754.33636127
Sear Concords198146972024-05-07 0:44:11207 days ago1715042651IN
0x5156A7F6...07CDa076F
0 ETH0.00037214.10520929
Sear Concords198031242024-05-05 9:53:47208 days ago1714902827IN
0x5156A7F6...07CDa076F
0 ETH0.000635156.65498323
Sear Concords197926542024-05-03 22:45:59210 days ago1714776359IN
0x5156A7F6...07CDa076F
0 ETH0.000488725.39185053
Sear Concords197710912024-04-30 22:25:47213 days ago1714515947IN
0x5156A7F6...07CDa076F
0 ETH0.000701437.73855359
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SearWagdie

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
File 1 of 6 : SearWagdie.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import "../external/IWagdie.sol";
import "@openzeppelin/contracts/access/Ownable.sol";


interface IConcord {
    function burn(address _from, uint256 _token, uint256 _quantity) external;
    function balanceOf(address account, uint256 id) external view returns (uint256);
}

interface IWagdieWorld {
    struct WagdieInfo {
        uint64 locationIdCur;
        address owner;
        uint32 emptySpace;
    }

    function wagdieIdToInfo(uint16) external view returns (WagdieInfo memory);
}


contract SearWagdie is Ownable {
    bool public isSearingEnabled;
    address public wagdieAddress;
    address public concordAddress;
    address public wagdieWorldAddress;
    
    mapping(uint16 => uint16) public wagdieSeared;
    mapping(uint16 => bool) public wagdieBlocked;
    mapping(uint16 => bool) public concordBlocked;
    
    event ConcordSeared(uint16 wagdieId, uint16 tokenId, address owner);
    event SearingEnabledChanged(bool isSearingEnabled);

    constructor(address _wagdieAddress, address _concordAddress, address _wagdieWorldAddress) {
        wagdieAddress = _wagdieAddress;
        concordAddress = _concordAddress;
        wagdieWorldAddress = _wagdieWorldAddress;
    }

    function searConcords(
        SearParams[] calldata _searParams)
    external
    {
        require(isSearingEnabled, "Searing is not enabled");
        require(_searParams.length > 0, "No parameters given");

        for(uint256 i = 0; i < _searParams.length; i++) {
            _searConcord(_searParams[i].wagdieId, _searParams[i].tokenId);
        }
    }

    // Sear WAGDIE and Burn Concord
    function _searConcord(
        uint16 _wagdieId,
        uint16 _tokenId)
    private
    {
        require(wagdieSeared[_wagdieId] == 0, "Character Already Seared");
        require(IConcord(concordAddress).balanceOf(msg.sender, _tokenId) > 0, "You Lack Available Concords");
        require(!wagdieBlocked[_wagdieId], "Unable to sear this WAGDIE");
        require(!concordBlocked[_tokenId], "Unable to sear this Concord");
        // Handle staked ownership
        if (msg.sender != IWagdie(wagdieAddress).ownerOf(_wagdieId)) {
            require(msg.sender == IWagdieWorld(wagdieWorldAddress).wagdieIdToInfo(_wagdieId).owner, "Not Character Owner");
        }        
        // Record Token Searing
        wagdieSeared[_wagdieId] = _tokenId;

        // Burn Concord
        IConcord(concordAddress).burn(msg.sender, _tokenId, 1);

        emit ConcordSeared(_wagdieId, _tokenId, msg.sender);
    }

    function updateIsSearingEnabled(bool _isSearingEnabled) external onlyOwner {
        isSearingEnabled = _isSearingEnabled;
        emit SearingEnabledChanged(isSearingEnabled);
    }

    function updateWagdieWorldAddress(address _wagdieWorldAddress) external onlyOwner {
        wagdieWorldAddress = _wagdieWorldAddress;
    }

    function setBlockedWAGDIE(BlockParams[] calldata _blockParams) external onlyOwner {
        for(uint256 i = 0; i < _blockParams.length; i++) {
            wagdieBlocked[_blockParams[i].tokenId] = _blockParams[i].isBlocked;
        }
    }

    function setBlockedConcords(BlockParams[] calldata _blockParams) external onlyOwner {
        require(_blockParams.length > 0, "No parameters given");
        for(uint256 i = 0; i < _blockParams.length; i++) {
            concordBlocked[_blockParams[i].tokenId] = _blockParams[i].isBlocked;
        }
    }
}

struct SearParams {
    // Slot1 (32/256 used)
    uint16 wagdieId;
    uint16 tokenId;
}

struct BlockParams {
    // Slot1 (24/256 used)
    uint16 tokenId;
    bool isBlocked;
}

File 2 of 6 : IERC721Upgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

File 3 of 6 : IERC165Upgradeable.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 IERC165Upgradeable {
    /**
     * @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 4 of 6 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

File 5 of 6 : 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 6 of 6 : IWagdie.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts-upgradeable/token/ERC721/IERC721Upgradeable.sol";

interface IWagdie is IERC721Upgradeable {

}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_wagdieAddress","type":"address"},{"internalType":"address","name":"_concordAddress","type":"address"},{"internalType":"address","name":"_wagdieWorldAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"wagdieId","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"tokenId","type":"uint16"},{"indexed":false,"internalType":"address","name":"owner","type":"address"}],"name":"ConcordSeared","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"isSearingEnabled","type":"bool"}],"name":"SearingEnabledChanged","type":"event"},{"inputs":[],"name":"concordAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"concordBlocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSearingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"components":[{"internalType":"uint16","name":"wagdieId","type":"uint16"},{"internalType":"uint16","name":"tokenId","type":"uint16"}],"internalType":"struct SearParams[]","name":"_searParams","type":"tuple[]"}],"name":"searConcords","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint16","name":"tokenId","type":"uint16"},{"internalType":"bool","name":"isBlocked","type":"bool"}],"internalType":"struct BlockParams[]","name":"_blockParams","type":"tuple[]"}],"name":"setBlockedConcords","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint16","name":"tokenId","type":"uint16"},{"internalType":"bool","name":"isBlocked","type":"bool"}],"internalType":"struct BlockParams[]","name":"_blockParams","type":"tuple[]"}],"name":"setBlockedWAGDIE","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isSearingEnabled","type":"bool"}],"name":"updateIsSearingEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_wagdieWorldAddress","type":"address"}],"name":"updateWagdieWorldAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wagdieAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"wagdieBlocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"wagdieSeared","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wagdieWorldAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b50604051610e6e380380610e6e83398101604081905261002f916100e6565b6100383361007a565b600180546001600160a01b039485166001600160a01b031991821617909155600280549385169382169390931790925560038054919093169116179055610129565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146100e157600080fd5b919050565b6000806000606084860312156100fb57600080fd5b610104846100ca565b9250610112602085016100ca565b9150610120604085016100ca565b90509250925092565b610d36806101386000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c8063a5a0e59711610097578063d2a02f7411610066578063d2a02f741461022e578063d688c8ff14610241578063daa92a9c14610254578063f2fde38b1461026757600080fd5b8063a5a0e597146101e1578063ad129901146101f4578063afa8b27414610208578063b635a2601461021b57600080fd5b80636adb761c116100d35780636adb761c1461017e578063715018a6146101a15780638da5cb5b146101a957806394db29c6146101ce57600080fd5b806330895c2e146100fa578063463a87cf1461010f57806354116c361461014b575b600080fd5b61010d610108366004610aed565b61027a565b005b61013361011d366004610b16565b60046020526000908152604090205461ffff1681565b60405161ffff90911681526020015b60405180910390f35b61016e610159366004610b16565b60056020526000908152604090205460ff1681565b6040519015158152602001610142565b61016e61018c366004610b16565b60066020526000908152604090205460ff1681565b61010d6102dd565b6000546001600160a01b03165b6040516001600160a01b039091168152602001610142565b61010d6101dc366004610b86565b6102f1565b61010d6101ef366004610b86565b610407565b60005461016e90600160a01b900460ff1681565b61010d610216366004610b86565b6104e8565b61010d610229366004610bdd565b610586565b6001546101b6906001600160a01b031681565b6003546101b6906001600160a01b031681565b6002546101b6906001600160a01b031681565b61010d610275366004610bdd565b6105b0565b610282610629565b6000805460ff60a01b1916600160a01b8315158102919091179182905560405160ff9190920416151581527f2296674a2949b8bf1352e142a1b935b8367182c6638412494a3bae2d07c0067e9060200160405180910390a150565b6102e5610629565b6102ef6000610683565b565b600054600160a01b900460ff166103485760405162461bcd60e51b815260206004820152601660248201527514d9585c9a5b99c81a5cc81b9bdd08195b98589b195960521b60448201526064015b60405180910390fd5b8061038b5760405162461bcd60e51b81526020600482015260136024820152722737903830b930b6b2ba32b9399033b4bb32b760691b604482015260640161033f565b60005b81811015610402576103f08383838181106103ab576103ab610bfa565b6103c19260206040909202019081019150610b16565b8484848181106103d3576103d3610bfa565b90506040020160200160208101906103eb9190610b16565b6106d3565b806103fa81610c10565b91505061038e565b505050565b61040f610629565b806104525760405162461bcd60e51b81526020600482015260136024820152722737903830b930b6b2ba32b9399033b4bb32b760691b604482015260640161033f565b60005b818110156104025782828281811061046f5761046f610bfa565b90506040020160200160208101906104879190610aed565b6006600085858581811061049d5761049d610bfa565b6104b39260206040909202019081019150610b16565b61ffff1681526020810191909152604001600020805460ff1916911515919091179055806104e081610c10565b915050610455565b6104f0610629565b60005b818110156104025782828281811061050d5761050d610bfa565b90506040020160200160208101906105259190610aed565b6005600085858581811061053b5761053b610bfa565b6105519260206040909202019081019150610b16565b61ffff1681526020810191909152604001600020805460ff19169115159190911790558061057e81610c10565b9150506104f3565b61058e610629565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6105b8610629565b6001600160a01b03811661061d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161033f565b61062681610683565b50565b6000546001600160a01b031633146102ef5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161033f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b61ffff80831660009081526004602052604090205416156107365760405162461bcd60e51b815260206004820152601860248201527f43686172616374657220416c7265616479205365617265640000000000000000604482015260640161033f565b600254604051627eeac760e11b815233600482015261ffff831660248201526000916001600160a01b03169062fdd58e90604401602060405180830381865afa158015610787573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ab9190610c37565b116107f85760405162461bcd60e51b815260206004820152601b60248201527f596f75204c61636b20417661696c61626c6520436f6e636f7264730000000000604482015260640161033f565b61ffff821660009081526005602052604090205460ff161561085c5760405162461bcd60e51b815260206004820152601a60248201527f556e61626c6520746f2073656172207468697320574147444945000000000000604482015260640161033f565b61ffff811660009081526006602052604090205460ff16156108c05760405162461bcd60e51b815260206004820152601b60248201527f556e61626c6520746f2073656172207468697320436f6e636f72640000000000604482015260640161033f565b6001546040516331a9108f60e11b815261ffff841660048201526001600160a01b0390911690636352211e90602401602060405180830381865afa15801561090c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109309190610c50565b6001600160a01b0316336001600160a01b031614610a1257600354604051638866b6a960e01b815261ffff841660048201526001600160a01b0390911690638866b6a990602401606060405180830381865afa158015610994573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109b89190610c6d565b602001516001600160a01b0316336001600160a01b031614610a125760405162461bcd60e51b81526020600482015260136024820152722737ba1021b430b930b1ba32b91027bbb732b960691b604482015260640161033f565b61ffff828116600090815260046020819052604091829020805461ffff191693851693841790556002549151637a94c56560e11b815233918101919091526024810192909252600160448301526001600160a01b03169063f5298aca90606401600060405180830381600087803b158015610a8c57600080fd5b505af1158015610aa0573d6000803e3d6000fd5b50506040805161ffff868116825285166020820152338183015290517f264071db4c9b45acadae999c5940b63d7f4c982f1d0342dac85d0457f69a167f9350908190036060019150a15050565b600060208284031215610aff57600080fd5b81358015158114610b0f57600080fd5b9392505050565b600060208284031215610b2857600080fd5b813561ffff81168114610b0f57600080fd5b60008083601f840112610b4c57600080fd5b50813567ffffffffffffffff811115610b6457600080fd5b6020830191508360208260061b8501011115610b7f57600080fd5b9250929050565b60008060208385031215610b9957600080fd5b823567ffffffffffffffff811115610bb057600080fd5b610bbc85828601610b3a565b90969095509350505050565b6001600160a01b038116811461062657600080fd5b600060208284031215610bef57600080fd5b8135610b0f81610bc8565b634e487b7160e01b600052603260045260246000fd5b600060018201610c3057634e487b7160e01b600052601160045260246000fd5b5060010190565b600060208284031215610c4957600080fd5b5051919050565b600060208284031215610c6257600080fd5b8151610b0f81610bc8565b600060608284031215610c7f57600080fd5b6040516060810167ffffffffffffffff8282108183111715610cb157634e487b7160e01b600052604160045260246000fd5b81604052845191508082168214610cc757600080fd5b5081526020830151610cd881610bc8565b6020820152604083015163ffffffff81168114610cf457600080fd5b6040820152939250505056fea2646970667358221220be6d59de6d3ea7dedbfaad5cc11a754ba227900908a0a5101c2ec82c39e4fa0364736f6c634300080f0033000000000000000000000000659a4bdaaacc62d2bd9cb18225d9c89b5b697a5a0000000000000000000000001d38150f1fd989fb89ab19518a9c4e93c5554634000000000000000000000000616d4635cecf94597690cab0fc159c3a8231c904

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100f55760003560e01c8063a5a0e59711610097578063d2a02f7411610066578063d2a02f741461022e578063d688c8ff14610241578063daa92a9c14610254578063f2fde38b1461026757600080fd5b8063a5a0e597146101e1578063ad129901146101f4578063afa8b27414610208578063b635a2601461021b57600080fd5b80636adb761c116100d35780636adb761c1461017e578063715018a6146101a15780638da5cb5b146101a957806394db29c6146101ce57600080fd5b806330895c2e146100fa578063463a87cf1461010f57806354116c361461014b575b600080fd5b61010d610108366004610aed565b61027a565b005b61013361011d366004610b16565b60046020526000908152604090205461ffff1681565b60405161ffff90911681526020015b60405180910390f35b61016e610159366004610b16565b60056020526000908152604090205460ff1681565b6040519015158152602001610142565b61016e61018c366004610b16565b60066020526000908152604090205460ff1681565b61010d6102dd565b6000546001600160a01b03165b6040516001600160a01b039091168152602001610142565b61010d6101dc366004610b86565b6102f1565b61010d6101ef366004610b86565b610407565b60005461016e90600160a01b900460ff1681565b61010d610216366004610b86565b6104e8565b61010d610229366004610bdd565b610586565b6001546101b6906001600160a01b031681565b6003546101b6906001600160a01b031681565b6002546101b6906001600160a01b031681565b61010d610275366004610bdd565b6105b0565b610282610629565b6000805460ff60a01b1916600160a01b8315158102919091179182905560405160ff9190920416151581527f2296674a2949b8bf1352e142a1b935b8367182c6638412494a3bae2d07c0067e9060200160405180910390a150565b6102e5610629565b6102ef6000610683565b565b600054600160a01b900460ff166103485760405162461bcd60e51b815260206004820152601660248201527514d9585c9a5b99c81a5cc81b9bdd08195b98589b195960521b60448201526064015b60405180910390fd5b8061038b5760405162461bcd60e51b81526020600482015260136024820152722737903830b930b6b2ba32b9399033b4bb32b760691b604482015260640161033f565b60005b81811015610402576103f08383838181106103ab576103ab610bfa565b6103c19260206040909202019081019150610b16565b8484848181106103d3576103d3610bfa565b90506040020160200160208101906103eb9190610b16565b6106d3565b806103fa81610c10565b91505061038e565b505050565b61040f610629565b806104525760405162461bcd60e51b81526020600482015260136024820152722737903830b930b6b2ba32b9399033b4bb32b760691b604482015260640161033f565b60005b818110156104025782828281811061046f5761046f610bfa565b90506040020160200160208101906104879190610aed565b6006600085858581811061049d5761049d610bfa565b6104b39260206040909202019081019150610b16565b61ffff1681526020810191909152604001600020805460ff1916911515919091179055806104e081610c10565b915050610455565b6104f0610629565b60005b818110156104025782828281811061050d5761050d610bfa565b90506040020160200160208101906105259190610aed565b6005600085858581811061053b5761053b610bfa565b6105519260206040909202019081019150610b16565b61ffff1681526020810191909152604001600020805460ff19169115159190911790558061057e81610c10565b9150506104f3565b61058e610629565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6105b8610629565b6001600160a01b03811661061d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161033f565b61062681610683565b50565b6000546001600160a01b031633146102ef5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161033f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b61ffff80831660009081526004602052604090205416156107365760405162461bcd60e51b815260206004820152601860248201527f43686172616374657220416c7265616479205365617265640000000000000000604482015260640161033f565b600254604051627eeac760e11b815233600482015261ffff831660248201526000916001600160a01b03169062fdd58e90604401602060405180830381865afa158015610787573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ab9190610c37565b116107f85760405162461bcd60e51b815260206004820152601b60248201527f596f75204c61636b20417661696c61626c6520436f6e636f7264730000000000604482015260640161033f565b61ffff821660009081526005602052604090205460ff161561085c5760405162461bcd60e51b815260206004820152601a60248201527f556e61626c6520746f2073656172207468697320574147444945000000000000604482015260640161033f565b61ffff811660009081526006602052604090205460ff16156108c05760405162461bcd60e51b815260206004820152601b60248201527f556e61626c6520746f2073656172207468697320436f6e636f72640000000000604482015260640161033f565b6001546040516331a9108f60e11b815261ffff841660048201526001600160a01b0390911690636352211e90602401602060405180830381865afa15801561090c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109309190610c50565b6001600160a01b0316336001600160a01b031614610a1257600354604051638866b6a960e01b815261ffff841660048201526001600160a01b0390911690638866b6a990602401606060405180830381865afa158015610994573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109b89190610c6d565b602001516001600160a01b0316336001600160a01b031614610a125760405162461bcd60e51b81526020600482015260136024820152722737ba1021b430b930b1ba32b91027bbb732b960691b604482015260640161033f565b61ffff828116600090815260046020819052604091829020805461ffff191693851693841790556002549151637a94c56560e11b815233918101919091526024810192909252600160448301526001600160a01b03169063f5298aca90606401600060405180830381600087803b158015610a8c57600080fd5b505af1158015610aa0573d6000803e3d6000fd5b50506040805161ffff868116825285166020820152338183015290517f264071db4c9b45acadae999c5940b63d7f4c982f1d0342dac85d0457f69a167f9350908190036060019150a15050565b600060208284031215610aff57600080fd5b81358015158114610b0f57600080fd5b9392505050565b600060208284031215610b2857600080fd5b813561ffff81168114610b0f57600080fd5b60008083601f840112610b4c57600080fd5b50813567ffffffffffffffff811115610b6457600080fd5b6020830191508360208260061b8501011115610b7f57600080fd5b9250929050565b60008060208385031215610b9957600080fd5b823567ffffffffffffffff811115610bb057600080fd5b610bbc85828601610b3a565b90969095509350505050565b6001600160a01b038116811461062657600080fd5b600060208284031215610bef57600080fd5b8135610b0f81610bc8565b634e487b7160e01b600052603260045260246000fd5b600060018201610c3057634e487b7160e01b600052601160045260246000fd5b5060010190565b600060208284031215610c4957600080fd5b5051919050565b600060208284031215610c6257600080fd5b8151610b0f81610bc8565b600060608284031215610c7f57600080fd5b6040516060810167ffffffffffffffff8282108183111715610cb157634e487b7160e01b600052604160045260246000fd5b81604052845191508082168214610cc757600080fd5b5081526020830151610cd881610bc8565b6020820152604083015163ffffffff81168114610cf457600080fd5b6040820152939250505056fea2646970667358221220be6d59de6d3ea7dedbfaad5cc11a754ba227900908a0a5101c2ec82c39e4fa0364736f6c634300080f0033

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

000000000000000000000000659a4bdaaacc62d2bd9cb18225d9c89b5b697a5a0000000000000000000000001d38150f1fd989fb89ab19518a9c4e93c5554634000000000000000000000000616d4635cecf94597690cab0fc159c3a8231c904

-----Decoded View---------------
Arg [0] : _wagdieAddress (address): 0x659A4BdaAaCc62d2bd9Cb18225D9C89b5B697A5A
Arg [1] : _concordAddress (address): 0x1d38150f1Fd989Fb89Ab19518A9C4E93C5554634
Arg [2] : _wagdieWorldAddress (address): 0x616D4635ceCf94597690Cab0Fc159c3A8231C904

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000659a4bdaaacc62d2bd9cb18225d9c89b5b697a5a
Arg [1] : 0000000000000000000000001d38150f1fd989fb89ab19518a9c4e93c5554634
Arg [2] : 000000000000000000000000616d4635cecf94597690cab0fc159c3a8231c904


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  ]

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.