ETH Price: $2,643.34 (-3.49%)

Contract

0xED4c9666B367597060378E019cd5716934A10069
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Claim Tokens207902172024-09-20 7:09:35154 days ago1726816175IN
0xED4c9666...934A10069
0 ETH0.000613610.12149373
Claim Tokens207902152024-09-20 7:09:11154 days ago1726816151IN
0xED4c9666...934A10069
0 ETH0.0007948510.30420545
Claim Tokens207902112024-09-20 7:08:23154 days ago1726816103IN
0xED4c9666...934A10069
0 ETH0.0009649410.9530933
Claim Tokens206897512024-09-06 6:26:23168 days ago1725603983IN
0xED4c9666...934A10069
0 ETH0.000108151.78399272
Claim Tokens199227032024-05-22 3:18:47275 days ago1716347927IN
0xED4c9666...934A10069
0 ETH0.000519488.56889921
Claim Tokens199226912024-05-22 3:16:23275 days ago1716347783IN
0xED4c9666...934A10069
0 ETH0.000572797.7051269

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TimeLock

Compiler Version
v0.8.25+commit.b61c2a91

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 7 : TimeLock.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC777/IERC777.sol";
import "@openzeppelin/contracts/token/ERC777/IERC777Recipient.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/introspection/IERC1820Registry.sol";

contract TimeLock is Ownable, IERC777Recipient {

    using SafeMath for uint256;

    IERC1820Registry internal constant _ERC1820_REGISTRY = IERC1820Registry(0x1820a4B7618BdE71Dce8cdc73aAB6C95905faD24);
	bytes32 private constant _TOKENS_RECIPIENT_INTERFACE_HASH = keccak256("ERC777TokensRecipient");
    
    IERC777 dmccToken;

    address dmccTokenClaimRecipient;

    address dmccTokenRefundRecipient;

    event TokensReceived(address from, uint256 amount);

    struct TimeLockedAmount {
		uint256 releaseTime;
		uint256 amount; 
	}

    TimeLockedAmount[] private timeLockedAmounts;

    constructor(address _dmccTokenAddress, address _dmccTokenClaimRecipient, address _dmccTokenRefundRecipient)
        Ownable(msg.sender)
    {
        require(_dmccTokenAddress != address(0), "Invalid token address");

        dmccToken = IERC777(_dmccTokenAddress);
        dmccTokenClaimRecipient = _dmccTokenClaimRecipient;    
        dmccTokenRefundRecipient = _dmccTokenRefundRecipient;

        _ERC1820_REGISTRY.setInterfaceImplementer(address(this), _TOKENS_RECIPIENT_INTERFACE_HASH, address(this));
    }

    function tokenName() external view returns (string memory) {
        return dmccToken.name();
    }

    function tokenSymbol() external view returns (string memory) {
        return dmccToken.symbol();
    }

    function claimRecipient() public view virtual returns (address) {
		return dmccTokenClaimRecipient;
	}

    function refundRecipient() public view virtual returns (address) {
		return dmccTokenRefundRecipient;
	}

    function tokensReceived(
        address,
        address from,
        address,
        uint256 amount,
        bytes calldata,
        bytes calldata
    ) external {
        require(msg.sender == address(dmccToken), "Tokens received from invalid token");

        TimeLockedAmount storage lockedAmount = timeLockedAmounts.push();
        lockedAmount.releaseTime = block.timestamp + (48 hours);
		lockedAmount.amount = amount;

        emit TokensReceived(from, amount);

    }

    function nextClaimSchedule() public view returns (uint256) {
        if(timeLockedAmounts.length < 1){
            return 0;
        } 

        return timeLockedAmounts[0].releaseTime;
    }

    modifier onlyClaimRecipient() {
        require(msg.sender == dmccTokenClaimRecipient, "You are not allowed to claim tokens");
        _;
    }

    modifier contractBalanceShouldBeMoreThanZero() {
        require(dmccToken.balanceOf(address(this)) > 0, "No tokens to claim");
        _;
    }    

    function claimTokens() external onlyClaimRecipient contractBalanceShouldBeMoreThanZero {
        
        uint256 totalClaimableAmount;

        TimeLockedAmount[] storage temp = timeLockedAmounts;

        for(uint256 i = 0; i < temp.length; i++) {
            TimeLockedAmount storage lockedAmount = temp[i];
            if(lockedAmount.releaseTime < block.timestamp){
                totalClaimableAmount += lockedAmount.amount;
                removeLockedAmount(i);
                break;
            }
        }

        require(totalClaimableAmount > 0, "Tokens are still locked");

        dmccToken.send(dmccTokenClaimRecipient, totalClaimableAmount, "");

    }

    function refundUnclaimedTokens() external onlyOwner {

        uint256 totalUnclaimedAmount;

        for(uint256 i = 0; i < timeLockedAmounts.length; i++) {
            TimeLockedAmount storage lockedAmount = timeLockedAmounts[i];
            if(lockedAmount.releaseTime < block.timestamp){
                totalUnclaimedAmount += lockedAmount.amount;
                removeLockedAmount(i);
                break;
            }
        }

        require(totalUnclaimedAmount > 0, "No available unclaimed tokens to be refunded");

        dmccToken.send(dmccTokenRefundRecipient, totalUnclaimedAmount, "");
        
    }

    function removeLockedAmount(uint256 index) internal {

        for (uint256 i = index; i < timeLockedAmounts.length - 1; i++) {
            timeLockedAmounts[i] = timeLockedAmounts[i + 1];
        }

        timeLockedAmounts.pop();

    }

}

File 2 of 7 : IERC1820Registry.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/introspection/IERC1820Registry.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the global ERC1820 Registry, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1820[EIP]. Accounts may register
 * implementers for interfaces in this registry, as well as query support.
 *
 * Implementers may be shared by multiple accounts, and can also implement more
 * than a single interface for each account. Contracts can implement interfaces
 * for themselves, but externally-owned accounts (EOA) must delegate this to a
 * contract.
 *
 * {IERC165} interfaces can also be queried via the registry.
 *
 * For an in-depth explanation and source code analysis, see the EIP text.
 */
interface IERC1820Registry {
    event InterfaceImplementerSet(address indexed account, bytes32 indexed interfaceHash, address indexed implementer);

    event ManagerChanged(address indexed account, address indexed newManager);

    /**
     * @dev Sets `newManager` as the manager for `account`. A manager of an
     * account is able to set interface implementers for it.
     *
     * By default, each account is its own manager. Passing a value of `0x0` in
     * `newManager` will reset the manager to this initial state.
     *
     * Emits a {ManagerChanged} event.
     *
     * Requirements:
     *
     * - the caller must be the current manager for `account`.
     */
    function setManager(address account, address newManager) external;

    /**
     * @dev Returns the manager for `account`.
     *
     * See {setManager}.
     */
    function getManager(address account) external view returns (address);

    /**
     * @dev Sets the `implementer` contract as ``account``'s implementer for
     * `interfaceHash`.
     *
     * `account` being the zero address is an alias for the caller's address.
     * The zero address can also be used in `implementer` to remove an old one.
     *
     * See {interfaceHash} to learn how these are created.
     *
     * Emits an {InterfaceImplementerSet} event.
     *
     * Requirements:
     *
     * - the caller must be the current manager for `account`.
     * - `interfaceHash` must not be an {IERC165} interface id (i.e. it must not
     * end in 28 zeroes).
     * - `implementer` must implement {IERC1820Implementer} and return true when
     * queried for support, unless `implementer` is the caller. See
     * {IERC1820Implementer-canImplementInterfaceForAddress}.
     */
    function setInterfaceImplementer(address account, bytes32 _interfaceHash, address implementer) external;

    /**
     * @dev Returns the implementer of `interfaceHash` for `account`. If no such
     * implementer is registered, returns the zero address.
     *
     * If `interfaceHash` is an {IERC165} interface id (i.e. it ends with 28
     * zeroes), `account` will be queried for support of it.
     *
     * `account` being the zero address is an alias for the caller's address.
     */
    function getInterfaceImplementer(address account, bytes32 _interfaceHash) external view returns (address);

    /**
     * @dev Returns the interface hash for an `interfaceName`, as defined in the
     * corresponding
     * https://eips.ethereum.org/EIPS/eip-1820#interface-name[section of the EIP].
     */
    function interfaceHash(string calldata interfaceName) external pure returns (bytes32);

    /**
     * @notice Updates the cache with whether the contract implements an ERC165 interface or not.
     * @param account Address of the contract for which to update the cache.
     * @param interfaceId ERC165 interface for which to update the cache.
     */
    function updateERC165Cache(address account, bytes4 interfaceId) external;

    /**
     * @notice Checks whether a contract implements an ERC165 interface or not.
     * If the result is not cached a direct lookup on the contract address is performed.
     * If the result is not cached or the cached value is out-of-date, the cache MUST be updated manually by calling
     * {updateERC165Cache} with the contract address.
     * @param account Address of the contract to check.
     * @param interfaceId ERC165 interface to check.
     * @return True if `account` implements `interfaceId`, false otherwise.
     */
    function implementsERC165Interface(address account, bytes4 interfaceId) external view returns (bool);

    /**
     * @notice Checks whether a contract implements an ERC165 interface or not without using or updating the cache.
     * @param account Address of the contract to check.
     * @param interfaceId ERC165 interface to check.
     * @return True if `account` implements `interfaceId`, false otherwise.
     */
    function implementsERC165InterfaceNoCache(address account, bytes4 interfaceId) external view returns (bool);
}

File 3 of 7 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 4 of 7 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../utils/Context.sol";

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

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

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

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

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

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

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

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

File 5 of 7 : IERC777Recipient.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC777/IERC777Recipient.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC777TokensRecipient standard as defined in the EIP.
 *
 * Accounts can be notified of {IERC777} tokens being sent to them by having a
 * contract implement this interface (contract holders can be their own
 * implementer) and registering it on the
 * https://eips.ethereum.org/EIPS/eip-1820[ERC1820 global registry].
 *
 * See {IERC1820Registry} and {ERC1820Implementer}.
 */
interface IERC777Recipient {
    /**
     * @dev Called by an {IERC777} token contract whenever tokens are being
     * moved or created into a registered account (`to`). The type of operation
     * is conveyed by `from` being the zero address or not.
     *
     * This call occurs _after_ the token contract's state is updated, so
     * {IERC777-balanceOf}, etc., can be used to query the post-operation state.
     *
     * This function may revert to prevent the operation from being executed.
     */
    function tokensReceived(
        address operator,
        address from,
        address to,
        uint256 amount,
        bytes calldata userData,
        bytes calldata operatorData
    ) external;
}

File 6 of 7 : IERC777.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC777/IERC777.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC777Token standard as defined in the EIP.
 *
 * This contract uses the
 * https://eips.ethereum.org/EIPS/eip-1820[ERC1820 registry standard] to let
 * token holders and recipients react to token movements by using setting implementers
 * for the associated interfaces in said registry. See {IERC1820Registry} and
 * {ERC1820Implementer}.
 */
interface IERC777 {
    /**
     * @dev Emitted when `amount` tokens are created by `operator` and assigned to `to`.
     *
     * Note that some additional user `data` and `operatorData` can be logged in the event.
     */
    event Minted(address indexed operator, address indexed to, uint256 amount, bytes data, bytes operatorData);

    /**
     * @dev Emitted when `operator` destroys `amount` tokens from `account`.
     *
     * Note that some additional user `data` and `operatorData` can be logged in the event.
     */
    event Burned(address indexed operator, address indexed from, uint256 amount, bytes data, bytes operatorData);

    /**
     * @dev Emitted when `operator` is made operator for `tokenHolder`.
     */
    event AuthorizedOperator(address indexed operator, address indexed tokenHolder);

    /**
     * @dev Emitted when `operator` is revoked its operator status for `tokenHolder`.
     */
    event RevokedOperator(address indexed operator, address indexed tokenHolder);

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the smallest part of the token that is not divisible. This
     * means all token operations (creation, movement and destruction) must have
     * amounts that are a multiple of this number.
     *
     * For most token contracts, this value will equal 1.
     */
    function granularity() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * If send or receive hooks are registered for the caller and `recipient`,
     * the corresponding functions will be called with `data` and empty
     * `operatorData`. See {IERC777Sender} and {IERC777Recipient}.
     *
     * Emits a {Sent} event.
     *
     * Requirements
     *
     * - the caller must have at least `amount` tokens.
     * - `recipient` cannot be the zero address.
     * - if `recipient` is a contract, it must implement the {IERC777Recipient}
     * interface.
     */
    function send(address recipient, uint256 amount, bytes calldata data) external;

    /**
     * @dev Destroys `amount` tokens from the caller's account, reducing the
     * total supply.
     *
     * If a send hook is registered for the caller, the corresponding function
     * will be called with `data` and empty `operatorData`. See {IERC777Sender}.
     *
     * Emits a {Burned} event.
     *
     * Requirements
     *
     * - the caller must have at least `amount` tokens.
     */
    function burn(uint256 amount, bytes calldata data) external;

    /**
     * @dev Returns true if an account is an operator of `tokenHolder`.
     * Operators can send and burn tokens on behalf of their owners. All
     * accounts are their own operator.
     *
     * See {operatorSend} and {operatorBurn}.
     */
    function isOperatorFor(address operator, address tokenHolder) external view returns (bool);

    /**
     * @dev Make an account an operator of the caller.
     *
     * See {isOperatorFor}.
     *
     * Emits an {AuthorizedOperator} event.
     *
     * Requirements
     *
     * - `operator` cannot be calling address.
     */
    function authorizeOperator(address operator) external;

    /**
     * @dev Revoke an account's operator status for the caller.
     *
     * See {isOperatorFor} and {defaultOperators}.
     *
     * Emits a {RevokedOperator} event.
     *
     * Requirements
     *
     * - `operator` cannot be calling address.
     */
    function revokeOperator(address operator) external;

    /**
     * @dev Returns the list of default operators. These accounts are operators
     * for all token holders, even if {authorizeOperator} was never called on
     * them.
     *
     * This list is immutable, but individual holders may revoke these via
     * {revokeOperator}, in which case {isOperatorFor} will return false.
     */
    function defaultOperators() external view returns (address[] memory);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient`. The caller must
     * be an operator of `sender`.
     *
     * If send or receive hooks are registered for `sender` and `recipient`,
     * the corresponding functions will be called with `data` and
     * `operatorData`. See {IERC777Sender} and {IERC777Recipient}.
     *
     * Emits a {Sent} event.
     *
     * Requirements
     *
     * - `sender` cannot be the zero address.
     * - `sender` must have at least `amount` tokens.
     * - the caller must be an operator for `sender`.
     * - `recipient` cannot be the zero address.
     * - if `recipient` is a contract, it must implement the {IERC777Recipient}
     * interface.
     */
    function operatorSend(
        address sender,
        address recipient,
        uint256 amount,
        bytes calldata data,
        bytes calldata operatorData
    ) external;

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the total supply.
     * The caller must be an operator of `account`.
     *
     * If a send hook is registered for `account`, the corresponding function
     * will be called with `data` and `operatorData`. See {IERC777Sender}.
     *
     * Emits a {Burned} event.
     *
     * Requirements
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     * - the caller must be an operator for `account`.
     */
    function operatorBurn(address account, uint256 amount, bytes calldata data, bytes calldata operatorData) external;

    event Sent(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256 amount,
        bytes data,
        bytes operatorData
    );
}

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

pragma solidity ^0.8.20;

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

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

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_dmccTokenAddress","type":"address"},{"internalType":"address","name":"_dmccTokenClaimRecipient","type":"address"},{"internalType":"address","name":"_dmccTokenRefundRecipient","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"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":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokensReceived","type":"event"},{"inputs":[],"name":"claimRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"nextClaimSchedule","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"refundRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"refundUnclaimedTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tokenName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenSymbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"tokensReceived","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561000f575f80fd5b50604051611920380380611920833981810160405281019061003191906103a5565b335f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036100a2575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016100999190610404565b60405180910390fd5b6100b18161028660201b60201c565b505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610120576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161011790610477565b60405180910390fd5b8260015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160025f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508060035f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550731820a4b7618bde71dce8cdc73aab6c95905fad2473ffffffffffffffffffffffffffffffffffffffff166329965a1d307fb281fc8c12954d22544db45de3159a39272895b169a852b314f9cc762e44c53b306040518463ffffffff1660e01b8152600401610251939291906104ad565b5f604051808303815f87803b158015610268575f80fd5b505af115801561027a573d5f803e3d5ffd5b505050505050506104e2565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6103748261034b565b9050919050565b6103848161036a565b811461038e575f80fd5b50565b5f8151905061039f8161037b565b92915050565b5f805f606084860312156103bc576103bb610347565b5b5f6103c986828701610391565b93505060206103da86828701610391565b92505060406103eb86828701610391565b9150509250925092565b6103fe8161036a565b82525050565b5f6020820190506104175f8301846103f5565b92915050565b5f82825260208201905092915050565b7f496e76616c696420746f6b656e206164647265737300000000000000000000005f82015250565b5f61046160158361041d565b915061046c8261042d565b602082019050919050565b5f6020820190508181035f83015261048e81610455565b9050919050565b5f819050919050565b6104a781610495565b82525050565b5f6060820190506104c05f8301866103f5565b6104cd602083018561049e565b6104da60408301846103f5565b949350505050565b611431806104ef5f395ff3fe608060405234801561000f575f80fd5b50600436106100a6575f3560e01c80636c02a9311161006f5780636c02a9311461012a578063715018a6146101485780637b61c320146101525780638da5cb5b14610170578063c7ada9821461018e578063f2fde38b14610198576100a6565b806223de29146100aa57806301f5ad5a146100c65780631a421774146100e45780632bb411ff1461010257806348c54b9d14610120575b5f80fd5b6100c460048036038101906100bf9190610c8b565b6101b4565b005b6100ce6102c7565b6040516100db9190610d64565b60405180910390f35b6100ec6102ef565b6040516100f99190610d8c565b60405180910390f35b61010a61032f565b6040516101179190610d64565b60405180910390f35b610128610357565b005b610132610621565b60405161013f9190610e15565b60405180910390f35b6101506106b9565b005b61015a6106cc565b6040516101679190610e15565b60405180910390f35b610178610764565b6040516101859190610d64565b60405180910390f35b61019661078b565b005b6101b260048036038101906101ad9190610e35565b6108f3565b005b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610243576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161023a90610ed0565b60405180910390fd5b5f600460018160018154018082558091505003905f5260205f20906002020190506202a300426102739190610f1b565b815f01819055508581600101819055507f5a0ebf9442637ca6e817894481a6de0c29715a73efc9e02bb7ef4ed52843362d88876040516102b4929190610f4e565b60405180910390a1505050505050505050565b5f60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b5f60016004805490501015610306575f905061032c565b60045f8154811061031a57610319610f75565b5b905f5260205f2090600202015f015490505b90565b5f60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146103e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103dd90611012565b60405180910390fd5b5f60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016104419190610d64565b602060405180830381865afa15801561045c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104809190611044565b116104c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104b7906110b9565b60405180910390fd5b5f80600490505f5b8180549050811015610530575f8282815481106104e8576104e7610f75565b5b905f5260205f209060020201905042815f01541015610522578060010154846105119190610f1b565b935061051c82610977565b50610530565b5080806001019150506104c8565b505f8211610573576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161056a90611121565b60405180910390fd5b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639bd9bbc660025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518363ffffffff1660e01b81526004016105f0929190611172565b5f604051808303815f87803b158015610607575f80fd5b505af1158015610619573d5f803e3d5ffd5b505050505050565b606060015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166306fdde036040518163ffffffff1660e01b81526004015f60405180830381865afa15801561068c573d5f803e3d5ffd5b505050506040513d5f823e3d601f19601f820116820180604052508101906106b491906112c6565b905090565b6106c1610a3d565b6106ca5f610ac4565b565b606060015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166395d89b416040518163ffffffff1660e01b81526004015f60405180830381865afa158015610737573d5f803e3d5ffd5b505050506040513d5f823e3d601f19601f8201168201806040525081019061075f91906112c6565b905090565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610793610a3d565b5f805f90505b600480549050811015610803575f600482815481106107bb576107ba610f75565b5b905f5260205f209060020201905042815f015410156107f5578060010154836107e49190610f1b565b92506107ef82610977565b50610803565b508080600101915050610799565b505f8111610846576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083d9061137d565b60405180910390fd5b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639bd9bbc660035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b81526004016108c3929190611172565b5f604051808303815f87803b1580156108da575f80fd5b505af11580156108ec573d5f803e3d5ffd5b5050505050565b6108fb610a3d565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361096b575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016109629190610d64565b60405180910390fd5b61097481610ac4565b50565b5f8190505b600160048054905061098e919061139b565b811015610a035760046001826109a49190610f1b565b815481106109b5576109b4610f75565b5b905f5260205f209060020201600482815481106109d5576109d4610f75565b5b905f5260205f2090600202015f820154815f015560018201548160010155905050808060010191505061097c565b506004805480610a1657610a156113ce565b5b600190038181905f5260205f2090600202015f8082015f9055600182015f90555050905550565b610a45610b85565b73ffffffffffffffffffffffffffffffffffffffff16610a63610764565b73ffffffffffffffffffffffffffffffffffffffff1614610ac257610a86610b85565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610ab99190610d64565b60405180910390fd5b565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f33905090565b5f604051905090565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610bc682610b9d565b9050919050565b610bd681610bbc565b8114610be0575f80fd5b50565b5f81359050610bf181610bcd565b92915050565b5f819050919050565b610c0981610bf7565b8114610c13575f80fd5b50565b5f81359050610c2481610c00565b92915050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f840112610c4b57610c4a610c2a565b5b8235905067ffffffffffffffff811115610c6857610c67610c2e565b5b602083019150836001820283011115610c8457610c83610c32565b5b9250929050565b5f805f805f805f8060c0898b031215610ca757610ca6610b95565b5b5f610cb48b828c01610be3565b9850506020610cc58b828c01610be3565b9750506040610cd68b828c01610be3565b9650506060610ce78b828c01610c16565b955050608089013567ffffffffffffffff811115610d0857610d07610b99565b5b610d148b828c01610c36565b945094505060a089013567ffffffffffffffff811115610d3757610d36610b99565b5b610d438b828c01610c36565b92509250509295985092959890939650565b610d5e81610bbc565b82525050565b5f602082019050610d775f830184610d55565b92915050565b610d8681610bf7565b82525050565b5f602082019050610d9f5f830184610d7d565b92915050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f610de782610da5565b610df18185610daf565b9350610e01818560208601610dbf565b610e0a81610dcd565b840191505092915050565b5f6020820190508181035f830152610e2d8184610ddd565b905092915050565b5f60208284031215610e4a57610e49610b95565b5b5f610e5784828501610be3565b91505092915050565b7f546f6b656e732072656365697665642066726f6d20696e76616c696420746f6b5f8201527f656e000000000000000000000000000000000000000000000000000000000000602082015250565b5f610eba602283610daf565b9150610ec582610e60565b604082019050919050565b5f6020820190508181035f830152610ee781610eae565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f610f2582610bf7565b9150610f3083610bf7565b9250828201905080821115610f4857610f47610eee565b5b92915050565b5f604082019050610f615f830185610d55565b610f6e6020830184610d7d565b9392505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f596f7520617265206e6f7420616c6c6f77656420746f20636c61696d20746f6b5f8201527f656e730000000000000000000000000000000000000000000000000000000000602082015250565b5f610ffc602383610daf565b915061100782610fa2565b604082019050919050565b5f6020820190508181035f83015261102981610ff0565b9050919050565b5f8151905061103e81610c00565b92915050565b5f6020828403121561105957611058610b95565b5b5f61106684828501611030565b91505092915050565b7f4e6f20746f6b656e7320746f20636c61696d00000000000000000000000000005f82015250565b5f6110a3601283610daf565b91506110ae8261106f565b602082019050919050565b5f6020820190508181035f8301526110d081611097565b9050919050565b7f546f6b656e7320617265207374696c6c206c6f636b65640000000000000000005f82015250565b5f61110b601783610daf565b9150611116826110d7565b602082019050919050565b5f6020820190508181035f830152611138816110ff565b9050919050565b5f82825260208201905092915050565b50565b5f61115d5f8361113f565b91506111688261114f565b5f82019050919050565b5f6060820190506111855f830185610d55565b6111926020830184610d7d565b81810360408301526111a381611152565b90509392505050565b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6111e682610dcd565b810181811067ffffffffffffffff82111715611205576112046111b0565b5b80604052505050565b5f611217610b8c565b905061122382826111dd565b919050565b5f67ffffffffffffffff821115611242576112416111b0565b5b61124b82610dcd565b9050602081019050919050565b5f61126a61126584611228565b61120e565b905082815260208101848484011115611286576112856111ac565b5b611291848285610dbf565b509392505050565b5f82601f8301126112ad576112ac610c2a565b5b81516112bd848260208601611258565b91505092915050565b5f602082840312156112db576112da610b95565b5b5f82015167ffffffffffffffff8111156112f8576112f7610b99565b5b61130484828501611299565b91505092915050565b7f4e6f20617661696c61626c6520756e636c61696d656420746f6b656e7320746f5f8201527f20626520726566756e6465640000000000000000000000000000000000000000602082015250565b5f611367602c83610daf565b91506113728261130d565b604082019050919050565b5f6020820190508181035f8301526113948161135b565b9050919050565b5f6113a582610bf7565b91506113b083610bf7565b92508282039050818111156113c8576113c7610eee565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603160045260245ffdfea2646970667358221220f20c7e5999d53ad55630e2cd5d7ffa22980dcd31fbc5b8e43bcd065cc01b582164736f6c63430008190033000000000000000000000000148255a3b10666d9788ec48bc61ea3e48974bf2c000000000000000000000000db7bd5c576acae4c762eed00abacf75c630d2556000000000000000000000000fecfe70ba842ab3c2b8687c7891f7e81ee414bc2

Deployed Bytecode

0x608060405234801561000f575f80fd5b50600436106100a6575f3560e01c80636c02a9311161006f5780636c02a9311461012a578063715018a6146101485780637b61c320146101525780638da5cb5b14610170578063c7ada9821461018e578063f2fde38b14610198576100a6565b806223de29146100aa57806301f5ad5a146100c65780631a421774146100e45780632bb411ff1461010257806348c54b9d14610120575b5f80fd5b6100c460048036038101906100bf9190610c8b565b6101b4565b005b6100ce6102c7565b6040516100db9190610d64565b60405180910390f35b6100ec6102ef565b6040516100f99190610d8c565b60405180910390f35b61010a61032f565b6040516101179190610d64565b60405180910390f35b610128610357565b005b610132610621565b60405161013f9190610e15565b60405180910390f35b6101506106b9565b005b61015a6106cc565b6040516101679190610e15565b60405180910390f35b610178610764565b6040516101859190610d64565b60405180910390f35b61019661078b565b005b6101b260048036038101906101ad9190610e35565b6108f3565b005b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610243576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161023a90610ed0565b60405180910390fd5b5f600460018160018154018082558091505003905f5260205f20906002020190506202a300426102739190610f1b565b815f01819055508581600101819055507f5a0ebf9442637ca6e817894481a6de0c29715a73efc9e02bb7ef4ed52843362d88876040516102b4929190610f4e565b60405180910390a1505050505050505050565b5f60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b5f60016004805490501015610306575f905061032c565b60045f8154811061031a57610319610f75565b5b905f5260205f2090600202015f015490505b90565b5f60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146103e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103dd90611012565b60405180910390fd5b5f60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016104419190610d64565b602060405180830381865afa15801561045c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104809190611044565b116104c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104b7906110b9565b60405180910390fd5b5f80600490505f5b8180549050811015610530575f8282815481106104e8576104e7610f75565b5b905f5260205f209060020201905042815f01541015610522578060010154846105119190610f1b565b935061051c82610977565b50610530565b5080806001019150506104c8565b505f8211610573576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161056a90611121565b60405180910390fd5b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639bd9bbc660025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518363ffffffff1660e01b81526004016105f0929190611172565b5f604051808303815f87803b158015610607575f80fd5b505af1158015610619573d5f803e3d5ffd5b505050505050565b606060015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166306fdde036040518163ffffffff1660e01b81526004015f60405180830381865afa15801561068c573d5f803e3d5ffd5b505050506040513d5f823e3d601f19601f820116820180604052508101906106b491906112c6565b905090565b6106c1610a3d565b6106ca5f610ac4565b565b606060015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166395d89b416040518163ffffffff1660e01b81526004015f60405180830381865afa158015610737573d5f803e3d5ffd5b505050506040513d5f823e3d601f19601f8201168201806040525081019061075f91906112c6565b905090565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610793610a3d565b5f805f90505b600480549050811015610803575f600482815481106107bb576107ba610f75565b5b905f5260205f209060020201905042815f015410156107f5578060010154836107e49190610f1b565b92506107ef82610977565b50610803565b508080600101915050610799565b505f8111610846576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083d9061137d565b60405180910390fd5b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639bd9bbc660035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b81526004016108c3929190611172565b5f604051808303815f87803b1580156108da575f80fd5b505af11580156108ec573d5f803e3d5ffd5b5050505050565b6108fb610a3d565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361096b575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016109629190610d64565b60405180910390fd5b61097481610ac4565b50565b5f8190505b600160048054905061098e919061139b565b811015610a035760046001826109a49190610f1b565b815481106109b5576109b4610f75565b5b905f5260205f209060020201600482815481106109d5576109d4610f75565b5b905f5260205f2090600202015f820154815f015560018201548160010155905050808060010191505061097c565b506004805480610a1657610a156113ce565b5b600190038181905f5260205f2090600202015f8082015f9055600182015f90555050905550565b610a45610b85565b73ffffffffffffffffffffffffffffffffffffffff16610a63610764565b73ffffffffffffffffffffffffffffffffffffffff1614610ac257610a86610b85565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610ab99190610d64565b60405180910390fd5b565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f33905090565b5f604051905090565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610bc682610b9d565b9050919050565b610bd681610bbc565b8114610be0575f80fd5b50565b5f81359050610bf181610bcd565b92915050565b5f819050919050565b610c0981610bf7565b8114610c13575f80fd5b50565b5f81359050610c2481610c00565b92915050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f840112610c4b57610c4a610c2a565b5b8235905067ffffffffffffffff811115610c6857610c67610c2e565b5b602083019150836001820283011115610c8457610c83610c32565b5b9250929050565b5f805f805f805f8060c0898b031215610ca757610ca6610b95565b5b5f610cb48b828c01610be3565b9850506020610cc58b828c01610be3565b9750506040610cd68b828c01610be3565b9650506060610ce78b828c01610c16565b955050608089013567ffffffffffffffff811115610d0857610d07610b99565b5b610d148b828c01610c36565b945094505060a089013567ffffffffffffffff811115610d3757610d36610b99565b5b610d438b828c01610c36565b92509250509295985092959890939650565b610d5e81610bbc565b82525050565b5f602082019050610d775f830184610d55565b92915050565b610d8681610bf7565b82525050565b5f602082019050610d9f5f830184610d7d565b92915050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f610de782610da5565b610df18185610daf565b9350610e01818560208601610dbf565b610e0a81610dcd565b840191505092915050565b5f6020820190508181035f830152610e2d8184610ddd565b905092915050565b5f60208284031215610e4a57610e49610b95565b5b5f610e5784828501610be3565b91505092915050565b7f546f6b656e732072656365697665642066726f6d20696e76616c696420746f6b5f8201527f656e000000000000000000000000000000000000000000000000000000000000602082015250565b5f610eba602283610daf565b9150610ec582610e60565b604082019050919050565b5f6020820190508181035f830152610ee781610eae565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f610f2582610bf7565b9150610f3083610bf7565b9250828201905080821115610f4857610f47610eee565b5b92915050565b5f604082019050610f615f830185610d55565b610f6e6020830184610d7d565b9392505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f596f7520617265206e6f7420616c6c6f77656420746f20636c61696d20746f6b5f8201527f656e730000000000000000000000000000000000000000000000000000000000602082015250565b5f610ffc602383610daf565b915061100782610fa2565b604082019050919050565b5f6020820190508181035f83015261102981610ff0565b9050919050565b5f8151905061103e81610c00565b92915050565b5f6020828403121561105957611058610b95565b5b5f61106684828501611030565b91505092915050565b7f4e6f20746f6b656e7320746f20636c61696d00000000000000000000000000005f82015250565b5f6110a3601283610daf565b91506110ae8261106f565b602082019050919050565b5f6020820190508181035f8301526110d081611097565b9050919050565b7f546f6b656e7320617265207374696c6c206c6f636b65640000000000000000005f82015250565b5f61110b601783610daf565b9150611116826110d7565b602082019050919050565b5f6020820190508181035f830152611138816110ff565b9050919050565b5f82825260208201905092915050565b50565b5f61115d5f8361113f565b91506111688261114f565b5f82019050919050565b5f6060820190506111855f830185610d55565b6111926020830184610d7d565b81810360408301526111a381611152565b90509392505050565b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6111e682610dcd565b810181811067ffffffffffffffff82111715611205576112046111b0565b5b80604052505050565b5f611217610b8c565b905061122382826111dd565b919050565b5f67ffffffffffffffff821115611242576112416111b0565b5b61124b82610dcd565b9050602081019050919050565b5f61126a61126584611228565b61120e565b905082815260208101848484011115611286576112856111ac565b5b611291848285610dbf565b509392505050565b5f82601f8301126112ad576112ac610c2a565b5b81516112bd848260208601611258565b91505092915050565b5f602082840312156112db576112da610b95565b5b5f82015167ffffffffffffffff8111156112f8576112f7610b99565b5b61130484828501611299565b91505092915050565b7f4e6f20617661696c61626c6520756e636c61696d656420746f6b656e7320746f5f8201527f20626520726566756e6465640000000000000000000000000000000000000000602082015250565b5f611367602c83610daf565b91506113728261130d565b604082019050919050565b5f6020820190508181035f8301526113948161135b565b9050919050565b5f6113a582610bf7565b91506113b083610bf7565b92508282039050818111156113c8576113c7610eee565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603160045260245ffdfea2646970667358221220f20c7e5999d53ad55630e2cd5d7ffa22980dcd31fbc5b8e43bcd065cc01b582164736f6c63430008190033

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

000000000000000000000000148255a3b10666d9788ec48bc61ea3e48974bf2c000000000000000000000000db7bd5c576acae4c762eed00abacf75c630d2556000000000000000000000000fecfe70ba842ab3c2b8687c7891f7e81ee414bc2

-----Decoded View---------------
Arg [0] : _dmccTokenAddress (address): 0x148255a3b10666D9788Ec48BC61Ea3e48974bf2C
Arg [1] : _dmccTokenClaimRecipient (address): 0xDB7BD5c576acaE4C762EED00AbAcF75c630D2556
Arg [2] : _dmccTokenRefundRecipient (address): 0xFeCFe70bA842Ab3c2B8687c7891f7e81eE414BC2

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000148255a3b10666d9788ec48bc61ea3e48974bf2c
Arg [1] : 000000000000000000000000db7bd5c576acae4c762eed00abacf75c630d2556
Arg [2] : 000000000000000000000000fecfe70ba842ab3c2b8687c7891f7e81ee414bc2


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.