S Price: $0.067919 (-0.59%)
Gas: 55 Gwei

Contract

0x90Ed98468bB00123D14e3C785B6007052F598Cd5

Overview

S Balance

Sonic LogoSonic LogoSonic Logo0 S

S Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Block
From
To
Deploy With Payl...383115962025-07-13 11:30:29197 days ago1752406229IN
0x90Ed9846...52F598Cd5
0.404 S0.0223035455
Deploy With Payl...259106402025-05-11 4:10:58260 days ago1746936658IN
0x90Ed9846...52F598Cd5
0.404 S0.0233903357.68
Deploy With Payl...252328622025-05-08 11:06:22263 days ago1746702382IN
0x90Ed9846...52F598Cd5
0.404 S0.0234357755
Deploy With Payl...241558202025-05-04 1:10:21267 days ago1746321021IN
0x90Ed9846...52F598Cd5
0.404 S0.0258964255
Deploy With Payl...225202232025-04-26 21:09:28274 days ago1745701768IN
0x90Ed9846...52F598Cd5
0.202 S0.0202777550
Deploy With Payl...225194302025-04-26 21:03:59274 days ago1745701439IN
0x90Ed9846...52F598Cd5
0.202 S0.0202783550
Deploy With Payl...222020112025-04-25 11:01:00276 days ago1745578860IN
0x90Ed9846...52F598Cd5
0.202 S0.0234316555
Deploy With Payl...212252752025-04-20 19:17:32280 days ago1745176652IN
0x90Ed9846...52F598Cd5
0.202 S0.0234316555
Deploy With Payl...212238822025-04-20 19:07:23280 days ago1745176043IN
0x90Ed9846...52F598Cd5
0.202 S0.0234316555
Deploy With Payl...210370452025-04-19 13:19:32282 days ago1745068772IN
0x90Ed9846...52F598Cd5
0.202 S0.0234316555
Deploy With Payl...209531292025-04-18 22:34:07282 days ago1745015647IN
0x90Ed9846...52F598Cd5
0.202 S0.0234440855
Deploy With Payl...209244972025-04-18 17:44:50283 days ago1744998290IN
0x90Ed9846...52F598Cd5
0.202 S0.0234316555
Deploy With Payl...205532802025-04-16 12:45:52285 days ago1744807552IN
0x90Ed9846...52F598Cd5
0.202 S0.0234385855
Deploy With Payl...204049892025-04-15 16:20:38286 days ago1744734038IN
0x90Ed9846...52F598Cd5
0.202 S0.0234316555
Deploy With Payl...202369742025-04-14 17:23:42287 days ago1744651422IN
0x90Ed9846...52F598Cd5
0.202 S0.0234316555
Deploy With Payl...196416452025-04-11 18:51:25289 days ago1744397485IN
0x90Ed9846...52F598Cd5
0.202 S0.0234316555
Deploy With Payl...195675122025-04-11 10:41:22290 days ago1744368082IN
0x90Ed9846...52F598Cd5
0.202 S0.0234385855
Deploy With Payl...194163752025-04-10 17:00:47291 days ago1744304447IN
0x90Ed9846...52F598Cd5
0.202 S0.0234359155.01
Deploy With Payl...189560132025-04-08 15:11:03293 days ago1744125063IN
0x90Ed9846...52F598Cd5
0.202 S0.0234359155.01
Deploy With Payl...187439282025-04-07 14:34:04294 days ago1744036444IN
0x90Ed9846...52F598Cd5
0.202 S0.0234359155.01
Deploy With Payl...185218642025-04-06 15:45:44295 days ago1743954344IN
0x90Ed9846...52F598Cd5
0.202 S0.0234359155.01
Deploy With Payl...185217032025-04-06 15:44:32295 days ago1743954272IN
0x90Ed9846...52F598Cd5
0.202 S0.0234359155.01
Deploy With Payl...184224752025-04-06 2:50:28295 days ago1743907828IN
0x90Ed9846...52F598Cd5
0.202 S0.0234112455
Deploy With Payl...183844252025-04-05 21:15:24295 days ago1743887724IN
0x90Ed9846...52F598Cd5
0.202 S0.0234401755.02
Deploy With Payl...183842462025-04-05 21:14:18295 days ago1743887658IN
0x90Ed9846...52F598Cd5
0.202 S0.0234359155.01
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
383115962025-07-13 11:30:29197 days ago1752406229
0x90Ed9846...52F598Cd5
0.004 S
383115962025-07-13 11:30:29197 days ago1752406229
0x90Ed9846...52F598Cd5
0.4 S
383115962025-07-13 11:30:29197 days ago1752406229
0x90Ed9846...52F598Cd5
 Contract Creation0 S
259106402025-05-11 4:10:58260 days ago1746936658
0x90Ed9846...52F598Cd5
0.004 S
259106402025-05-11 4:10:58260 days ago1746936658
0x90Ed9846...52F598Cd5
0.4 S
259106402025-05-11 4:10:58260 days ago1746936658
0x90Ed9846...52F598Cd5
 Contract Creation0 S
252328622025-05-08 11:06:22263 days ago1746702382
0x90Ed9846...52F598Cd5
0.004 S
252328622025-05-08 11:06:22263 days ago1746702382
0x90Ed9846...52F598Cd5
0.4 S
252328622025-05-08 11:06:22263 days ago1746702382
0x90Ed9846...52F598Cd5
 Contract Creation0 S
241558202025-05-04 1:10:21267 days ago1746321021
0x90Ed9846...52F598Cd5
0.004 S
241558202025-05-04 1:10:21267 days ago1746321021
0x90Ed9846...52F598Cd5
0.4 S
241558202025-05-04 1:10:21267 days ago1746321021
0x90Ed9846...52F598Cd5
 Contract Creation0 S
225202232025-04-26 21:09:28274 days ago1745701768
0x90Ed9846...52F598Cd5
0.002 S
225202232025-04-26 21:09:28274 days ago1745701768
0x90Ed9846...52F598Cd5
0.2 S
225202232025-04-26 21:09:28274 days ago1745701768
0x90Ed9846...52F598Cd5
 Contract Creation0 S
225194302025-04-26 21:03:59274 days ago1745701439
0x90Ed9846...52F598Cd5
0.002 S
225194302025-04-26 21:03:59274 days ago1745701439
0x90Ed9846...52F598Cd5
0.2 S
225194302025-04-26 21:03:59274 days ago1745701439
0x90Ed9846...52F598Cd5
 Contract Creation0 S
222020112025-04-25 11:01:00276 days ago1745578860
0x90Ed9846...52F598Cd5
0.002 S
222020112025-04-25 11:01:00276 days ago1745578860
0x90Ed9846...52F598Cd5
0.2 S
222020112025-04-25 11:01:00276 days ago1745578860
0x90Ed9846...52F598Cd5
 Contract Creation0 S
212252752025-04-20 19:17:32280 days ago1745176652
0x90Ed9846...52F598Cd5
0.002 S
212252752025-04-20 19:17:32280 days ago1745176652
0x90Ed9846...52F598Cd5
0.2 S
212252752025-04-20 19:17:32280 days ago1745176652
0x90Ed9846...52F598Cd5
 Contract Creation0 S
212238822025-04-20 19:07:23280 days ago1745176043
0x90Ed9846...52F598Cd5
0.002 S
View All Internal Transactions
Cross-Chain Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MicroMinimal

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

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

import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "../MicroUtilityV4.sol";

contract MicroMinimal is Ownable, ReentrancyGuard, MicroUtilityV4 {
    address public microERC721;
    bool private _initialized;

    mapping(address => bool) public dropInfos;

    error PurchaseWrongPrice(uint256 correctPrice);

    error Unauthorized();

    event NewCollectionDeployed(
        address indexed sender,
        address indexed contractAddress
    );

    function init(bytes memory initPayload) external returns (bool) {
        if (_initialized) {
            revert Unauthorized();
        }
        (address _owner, address _manager, address _microERC721) = abi.decode(
            initPayload,
            (address, address, address)
        );
        transferOwnership(_owner);
        microERC721 = _microERC721;
        _setManager(_manager);
        _initialized = true;
        return true;
    }

    function deployWithPayload(bytes12 saltHash, bytes memory initCode)
        external
        payable
        nonReentrant
    {
        uint256 protocolFee = getMicroFeeWei(uint256(1));

        if (msg.value < protocolFee) {
            revert PurchaseWrongPrice(protocolFee);
        }
        address sender = msg.sender;

        bytes32 _salt = keccak256(abi.encodePacked(sender, saltHash));

        address proxyAddress = deployMinimal(
            microERC721,
            abi.encodeWithSignature("init(bytes)", initCode),
            _salt
        );

        _payoutMicroFee(protocolFee);

        _payoutRemainder(sender, msg.value - protocolFee);

        dropInfos[proxyAddress] = true;

        emit NewCollectionDeployed(sender, proxyAddress);
    }

    function editMicro(address _microERC721) onlyOwner external {
        microERC721 = _microERC721;
    }

    function editManager(address _manager) onlyOwner external {
        _setManager(_manager);
    }

    function deployMinimal(
        address _logic,
        bytes memory _data,
        bytes32 salt
    ) internal returns (address proxy) {
        bytes20 targetBytes = bytes20(_logic);
        assembly {
            let clone := mload(0x40)
            mstore(
                clone,
                0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000
            )
            mstore(add(clone, 0x14), targetBytes)
            mstore(
                add(clone, 0x28),
                0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000
            )
            proxy := create2(0, clone, 0x37, salt)
        }

        if (_data.length > 0) {
            (bool success, ) = proxy.call(_data);
            require(success);
        }
    }
}

// SPDX-License-Identifier: MIT

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() {
        _setOwner(_msgSender());
    }

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 8 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

// SPDX-License-Identifier: MIT

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 no longer needed starting with Solidity 0.8. 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 substraction 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;
        }
    }
}

// SPDX-License-Identifier: UNLICENSED

pragma solidity >=0.5.0;

interface IMicroManager {
    function microBridge(address _address) external view returns (bool);

    function treasuryAddress() external view returns (address);

    function microProtocolFee() external view returns (uint256);

    function oracleAddress() external view returns (address);
}

// SPDX-License-Identifier: MIT

pragma solidity >=0.5.0;

interface IPriceOracle {
    function convertUsdToWei(uint256 usdAmount) external view returns (uint256 weiAmount);
}

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import {IPriceOracle} from "./interfaces/IPriceOracle.sol";
import {IMicroManager} from "./interfaces/IMicroManager.sol";

error PaymentFailed();

contract MicroUtilityV4 {
    using SafeMath for uint256;
    IMicroManager public microManager;
    uint256 private constant STATIC_GAS_LIMIT = 210_000;

    event FeePayout(
        uint256 MicroMintFeeWei,
        address MicroFeeRecipient,
        bool success
    );

    /**
     * PUBLIC FUNCTIONS
     * state changing
     */

    function getMicroFeeWei(uint256 quantity) public view returns (uint256) {
        if (quantity == 0) {
            return 0;
        }
        return
            IPriceOracle(microManager.oracleAddress()).convertUsdToWei(
                microManager.microProtocolFee().mul(quantity)
            );
    }

    function _payoutMicroFee(uint256 microProtocolFee) internal {
        address treasury = microManager.treasuryAddress();
        _payoutRemainder(treasury, microProtocolFee);
        emit FeePayout(microProtocolFee, treasury, true);
    }

    function _setManager(address _manager) internal {
        microManager = IMicroManager(_manager);
    }

    function _payoutRemainder(address recipient, uint256 value) internal {
        if (value > 0) {
            (bool success, ) = payable(recipient).call{
                value: value,
                gas: gasleft() > STATIC_GAS_LIMIT ? STATIC_GAS_LIMIT : gasleft()
            }("");
            if (!success) {
                revert PaymentFailed();
            }
        }
    }
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[],"name":"PaymentFailed","type":"error"},{"inputs":[{"internalType":"uint256","name":"correctPrice","type":"uint256"}],"name":"PurchaseWrongPrice","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"MicroMintFeeWei","type":"uint256"},{"indexed":false,"internalType":"address","name":"MicroFeeRecipient","type":"address"},{"indexed":false,"internalType":"bool","name":"success","type":"bool"}],"name":"FeePayout","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"contractAddress","type":"address"}],"name":"NewCollectionDeployed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"bytes12","name":"saltHash","type":"bytes12"},{"internalType":"bytes","name":"initCode","type":"bytes"}],"name":"deployWithPayload","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"dropInfos","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_manager","type":"address"}],"name":"editManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_microERC721","type":"address"}],"name":"editMicro","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"getMicroFeeWei","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"initPayload","type":"bytes"}],"name":"init","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"microERC721","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"microManager","outputs":[{"internalType":"contract IMicroManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5061001a33610023565b60018055610073565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610d34806100826000396000f3fe60806040526004361061009c5760003560e01c8063715018a611610064578063715018a61461018c57806387031fe5146101a35780638da5cb5b146101c3578063c42640b3146101e1578063ec98a0df14610201578063f2fde38b1461021457600080fd5b80630e21ea06146100a1578063195c2192146100de578063396434ff1461011e5780634ddf47d41461013e578063616985ed1461015e575b600080fd5b3480156100ad57600080fd5b506002546100c1906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156100ea57600080fd5b5061010e6100f9366004610a08565b60046020526000908152604090205460ff1681565b60405190151581526020016100d5565b34801561012a57600080fd5b506003546100c1906001600160a01b031681565b34801561014a57600080fd5b5061010e610159366004610ac8565b610234565b34801561016a57600080fd5b5061017e610179366004610b05565b6102cb565b6040519081526020016100d5565b34801561019857600080fd5b506101a1610448565b005b3480156101af57600080fd5b506101a16101be366004610a08565b610487565b3480156101cf57600080fd5b506000546001600160a01b03166100c1565b3480156101ed57600080fd5b506101a16101fc366004610a08565b6104bd565b6101a161020f366004610b1e565b610509565b34801561022057600080fd5b506101a161022f366004610a08565b6106af565b600354600090600160a01b900460ff1615610261576040516282b42960e81b815260040160405180910390fd5b60008060008480602001905181019061027a9190610b7b565b925092509250610289836106af565b600380546001600160a01b0319166001600160a01b0383161790556102ad82610747565b50506003805460ff60a01b1916600160a01b17905550600192915050565b6000816000036102dd57506000919050565b600260009054906101000a90046001600160a01b03166001600160a01b031663a89ae4ba6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610330573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103549190610bc8565b6001600160a01b031663f5d781616103e384600260009054906101000a90046001600160a01b03166001600160a01b0316630c1119bb6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156103b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103dd9190610be5565b90610769565b6040518263ffffffff1660e01b815260040161040191815260200190565b602060405180830381865afa15801561041e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104429190610be5565b92915050565b6000546001600160a01b0316331461047b5760405162461bcd60e51b815260040161047290610bfe565b60405180910390fd5b610485600061077c565b565b6000546001600160a01b031633146104b15760405162461bcd60e51b815260040161047290610bfe565b6104ba81610747565b50565b6000546001600160a01b031633146104e75760405162461bcd60e51b815260040161047290610bfe565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b60026001540361055b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610472565b6002600181905550600061056f60016102cb565b9050803410156105955760405163c5a8df2f60e01b815260048101829052602401610472565b6040805133606081901b6bffffffffffffffffffffffff191660208301526001600160a01b031986166034830152916000910160408051601f19818403018152908290528051602090910120600354909250600091610636916001600160a01b031690610606908890602401610c63565b60408051601f198184030181529190526020810180516001600160e01b0316631377d1f560e21b179052846107cc565b905061064184610898565b6106548361064f8634610cac565b61095e565b6001600160a01b03808216600081815260046020526040808220805460ff191660011790555191928616917f1a14c2d344f3be50bc24035a55504e8a742632b16a41eace87e6c0d2270e74989190a350506001805550505050565b6000546001600160a01b031633146106d95760405162461bcd60e51b815260040161047290610bfe565b6001600160a01b03811661073e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610472565b6104ba8161077c565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b60006107758284610cc3565b9392505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000808460601b9050604051733d602d80600a3d3981f3363d3d373d3d3d363d7360601b81528160148201526e5af43d82803e903d91602b57fd5bf360881b6028820152836037826000f5925050600084511115610890576000826001600160a01b03168560405161083e9190610ce2565b6000604051808303816000865af19150503d806000811461087b576040519150601f19603f3d011682016040523d82523d6000602084013e610880565b606091505b505090508061088e57600080fd5b505b509392505050565b6002546040805163c5f956af60e01b815290516000926001600160a01b03169163c5f956af9160048083019260209291908290030181865afa1580156108e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109069190610bc8565b9050610912818361095e565b604080518381526001600160a01b038316602082015260018183015290517f7d91e6735310f2a10253c2b777a07cdd5bce000456de934af23dfc9e4aea7f879181900360600190a15050565b80156109ef576000826001600160a01b031682620334505a11610981575a610986565b620334505b6040519091906000818181858888f193505050503d80600081146109c6576040519150601f19603f3d011682016040523d82523d6000602084013e6109cb565b606091505b50509050806109ed576040516307a4ced160e51b815260040160405180910390fd5b505b5050565b6001600160a01b03811681146104ba57600080fd5b600060208284031215610a1a57600080fd5b8135610775816109f3565b634e487b7160e01b600052604160045260246000fd5b600082601f830112610a4c57600080fd5b813567ffffffffffffffff80821115610a6757610a67610a25565b604051601f8301601f19908116603f01168101908282118183101715610a8f57610a8f610a25565b81604052838152866020858801011115610aa857600080fd5b836020870160208301376000602085830101528094505050505092915050565b600060208284031215610ada57600080fd5b813567ffffffffffffffff811115610af157600080fd5b610afd84828501610a3b565b949350505050565b600060208284031215610b1757600080fd5b5035919050565b60008060408385031215610b3157600080fd5b82356001600160a01b031981168114610b4957600080fd5b9150602083013567ffffffffffffffff811115610b6557600080fd5b610b7185828601610a3b565b9150509250929050565b600080600060608486031215610b9057600080fd5b8351610b9b816109f3565b6020850151909350610bac816109f3565b6040850151909250610bbd816109f3565b809150509250925092565b600060208284031215610bda57600080fd5b8151610775816109f3565b600060208284031215610bf757600080fd5b5051919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60005b83811015610c4e578181015183820152602001610c36565b83811115610c5d576000848401525b50505050565b6020815260008251806020840152610c82816040850160208701610c33565b601f01601f19169190910160400192915050565b634e487b7160e01b600052601160045260246000fd5b600082821015610cbe57610cbe610c96565b500390565b6000816000190483118215151615610cdd57610cdd610c96565b500290565b60008251610cf4818460208701610c33565b919091019291505056fea264697066735822122054b2fe795c56c21c9770905e0c62fbc4850b5dc866e16389d432a80c17f11a4f64736f6c634300080d0033

Deployed Bytecode

0x60806040526004361061009c5760003560e01c8063715018a611610064578063715018a61461018c57806387031fe5146101a35780638da5cb5b146101c3578063c42640b3146101e1578063ec98a0df14610201578063f2fde38b1461021457600080fd5b80630e21ea06146100a1578063195c2192146100de578063396434ff1461011e5780634ddf47d41461013e578063616985ed1461015e575b600080fd5b3480156100ad57600080fd5b506002546100c1906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156100ea57600080fd5b5061010e6100f9366004610a08565b60046020526000908152604090205460ff1681565b60405190151581526020016100d5565b34801561012a57600080fd5b506003546100c1906001600160a01b031681565b34801561014a57600080fd5b5061010e610159366004610ac8565b610234565b34801561016a57600080fd5b5061017e610179366004610b05565b6102cb565b6040519081526020016100d5565b34801561019857600080fd5b506101a1610448565b005b3480156101af57600080fd5b506101a16101be366004610a08565b610487565b3480156101cf57600080fd5b506000546001600160a01b03166100c1565b3480156101ed57600080fd5b506101a16101fc366004610a08565b6104bd565b6101a161020f366004610b1e565b610509565b34801561022057600080fd5b506101a161022f366004610a08565b6106af565b600354600090600160a01b900460ff1615610261576040516282b42960e81b815260040160405180910390fd5b60008060008480602001905181019061027a9190610b7b565b925092509250610289836106af565b600380546001600160a01b0319166001600160a01b0383161790556102ad82610747565b50506003805460ff60a01b1916600160a01b17905550600192915050565b6000816000036102dd57506000919050565b600260009054906101000a90046001600160a01b03166001600160a01b031663a89ae4ba6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610330573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103549190610bc8565b6001600160a01b031663f5d781616103e384600260009054906101000a90046001600160a01b03166001600160a01b0316630c1119bb6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156103b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103dd9190610be5565b90610769565b6040518263ffffffff1660e01b815260040161040191815260200190565b602060405180830381865afa15801561041e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104429190610be5565b92915050565b6000546001600160a01b0316331461047b5760405162461bcd60e51b815260040161047290610bfe565b60405180910390fd5b610485600061077c565b565b6000546001600160a01b031633146104b15760405162461bcd60e51b815260040161047290610bfe565b6104ba81610747565b50565b6000546001600160a01b031633146104e75760405162461bcd60e51b815260040161047290610bfe565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b60026001540361055b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610472565b6002600181905550600061056f60016102cb565b9050803410156105955760405163c5a8df2f60e01b815260048101829052602401610472565b6040805133606081901b6bffffffffffffffffffffffff191660208301526001600160a01b031986166034830152916000910160408051601f19818403018152908290528051602090910120600354909250600091610636916001600160a01b031690610606908890602401610c63565b60408051601f198184030181529190526020810180516001600160e01b0316631377d1f560e21b179052846107cc565b905061064184610898565b6106548361064f8634610cac565b61095e565b6001600160a01b03808216600081815260046020526040808220805460ff191660011790555191928616917f1a14c2d344f3be50bc24035a55504e8a742632b16a41eace87e6c0d2270e74989190a350506001805550505050565b6000546001600160a01b031633146106d95760405162461bcd60e51b815260040161047290610bfe565b6001600160a01b03811661073e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610472565b6104ba8161077c565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b60006107758284610cc3565b9392505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000808460601b9050604051733d602d80600a3d3981f3363d3d373d3d3d363d7360601b81528160148201526e5af43d82803e903d91602b57fd5bf360881b6028820152836037826000f5925050600084511115610890576000826001600160a01b03168560405161083e9190610ce2565b6000604051808303816000865af19150503d806000811461087b576040519150601f19603f3d011682016040523d82523d6000602084013e610880565b606091505b505090508061088e57600080fd5b505b509392505050565b6002546040805163c5f956af60e01b815290516000926001600160a01b03169163c5f956af9160048083019260209291908290030181865afa1580156108e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109069190610bc8565b9050610912818361095e565b604080518381526001600160a01b038316602082015260018183015290517f7d91e6735310f2a10253c2b777a07cdd5bce000456de934af23dfc9e4aea7f879181900360600190a15050565b80156109ef576000826001600160a01b031682620334505a11610981575a610986565b620334505b6040519091906000818181858888f193505050503d80600081146109c6576040519150601f19603f3d011682016040523d82523d6000602084013e6109cb565b606091505b50509050806109ed576040516307a4ced160e51b815260040160405180910390fd5b505b5050565b6001600160a01b03811681146104ba57600080fd5b600060208284031215610a1a57600080fd5b8135610775816109f3565b634e487b7160e01b600052604160045260246000fd5b600082601f830112610a4c57600080fd5b813567ffffffffffffffff80821115610a6757610a67610a25565b604051601f8301601f19908116603f01168101908282118183101715610a8f57610a8f610a25565b81604052838152866020858801011115610aa857600080fd5b836020870160208301376000602085830101528094505050505092915050565b600060208284031215610ada57600080fd5b813567ffffffffffffffff811115610af157600080fd5b610afd84828501610a3b565b949350505050565b600060208284031215610b1757600080fd5b5035919050565b60008060408385031215610b3157600080fd5b82356001600160a01b031981168114610b4957600080fd5b9150602083013567ffffffffffffffff811115610b6557600080fd5b610b7185828601610a3b565b9150509250929050565b600080600060608486031215610b9057600080fd5b8351610b9b816109f3565b6020850151909350610bac816109f3565b6040850151909250610bbd816109f3565b809150509250925092565b600060208284031215610bda57600080fd5b8151610775816109f3565b600060208284031215610bf757600080fd5b5051919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60005b83811015610c4e578181015183820152602001610c36565b83811115610c5d576000848401525b50505050565b6020815260008251806020840152610c82816040850160208701610c33565b601f01601f19169190910160400192915050565b634e487b7160e01b600052601160045260246000fd5b600082821015610cbe57610cbe610c96565b500390565b6000816000190483118215151615610cdd57610cdd610c96565b500290565b60008251610cf4818460208701610c33565b919091019291505056fea264697066735822122054b2fe795c56c21c9770905e0c62fbc4850b5dc866e16389d432a80c17f11a4f64736f6c634300080d0033

Block Transaction Gas Used Reward
view all blocks ##produced##

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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