ETH Price: $2,963.26 (-0.75%)

Contract

0x4053546dc04dD87B2fc384cC8FE1730582fdb1b4
 

Overview

ETH Balance

0 ETH

ETH Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Block
From
To
Withdraw59985452024-07-12 17:55:05561 days ago1720806905IN
0x4053546d...582fdb1b4
0 ETH0.000000160.00481096
Buy57624582024-07-07 6:45:31566 days ago1720334731IN
0x4053546d...582fdb1b4
0.005 ETH0.000000040.00150071
Buy57624282024-07-07 6:44:31566 days ago1720334671IN
0x4053546d...582fdb1b4
0.005 ETH00.00008272
Buy57605532024-07-07 5:42:01566 days ago1720330921IN
0x4053546d...582fdb1b4
0.005 ETH0.000000040.00150087
Buy57602012024-07-07 5:30:17566 days ago1720330217IN
0x4053546d...582fdb1b4
0.005 ETH00.0001087
Buy57504832024-07-07 0:06:21566 days ago1720310781IN
0x4053546d...582fdb1b4
0.005 ETH0.000000040.00150063
Buy57504802024-07-07 0:06:15566 days ago1720310775IN
0x4053546d...582fdb1b4
0.005 ETH0.000000040.00150063
Buy57504382024-07-07 0:04:51566 days ago1720310691IN
0x4053546d...582fdb1b4
0.005 ETH0.000000040.00150063
Buy57470942024-07-06 22:13:23566 days ago1720304003IN
0x4053546d...582fdb1b4
0.005 ETH0.000000040.00150076
Buy57451622024-07-06 21:08:59566 days ago1720300139IN
0x4053546d...582fdb1b4
0.005 ETH0.000000040.00150109
Buy57443162024-07-06 20:40:47566 days ago1720298447IN
0x4053546d...582fdb1b4
0.005 ETH0.000000040.00150104
Buy57442652024-07-06 20:39:05566 days ago1720298345IN
0x4053546d...582fdb1b4
0.005 ETH0.000000040.00150103
Buy57442012024-07-06 20:36:57566 days ago1720298217IN
0x4053546d...582fdb1b4
0.005 ETH00.0001737
Buy57440962024-07-06 20:33:27566 days ago1720298007IN
0x4053546d...582fdb1b4
0.005 ETH0.000000040.00150099
Buy57440942024-07-06 20:33:23566 days ago1720298003IN
0x4053546d...582fdb1b4
0.005 ETH0.000000040.00150099
Buy57433082024-07-06 20:07:11566 days ago1720296431IN
0x4053546d...582fdb1b4
0.005 ETH0.000000030.0012
Buy57425362024-07-06 19:41:27566 days ago1720294887IN
0x4053546d...582fdb1b4
0.005 ETH0.000000040.00150099
Buy57424782024-07-06 19:39:31566 days ago1720294771IN
0x4053546d...582fdb1b4
0.005 ETH0.000000040.00150101
Buy57423532024-07-06 19:35:21566 days ago1720294521IN
0x4053546d...582fdb1b4
0.005 ETH0.000000040.00150103
Buy57422902024-07-06 19:33:15566 days ago1720294395IN
0x4053546d...582fdb1b4
0.005 ETH0.000008040.3
Buy57419832024-07-06 19:23:01566 days ago1720293781IN
0x4053546d...582fdb1b4
0.005 ETH0.000000040.00150105
Buy57413812024-07-06 19:02:57566 days ago1720292577IN
0x4053546d...582fdb1b4
0.005 ETH0.000000040.00150131
Buy57408872024-07-06 18:46:29566 days ago1720291589IN
0x4053546d...582fdb1b4
0.005 ETH0.000000040.00150163
Buy57406952024-07-06 18:40:05567 days ago1720291205IN
0x4053546d...582fdb1b4
0.005 ETH0.000000040.00150173
Buy57405462024-07-06 18:35:07567 days ago1720290907IN
0x4053546d...582fdb1b4
0.005 ETH0.000000040.00150187
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
59985452024-07-12 17:55:05561 days ago1720806905
0x4053546d...582fdb1b4
0.825 ETH

Cross-Chain Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BlastGoldRushEnergyMarket

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 10000 runs

Other Settings:
paris EvmVersion
File 1 of 7 : BlastGoldRushEnergyMarket.sol
// SPDX-License-Identifier: UNLICENSED

/**
 *   ______                           __                  __
 *  /      \                         |  \                |  \
 * |  $$$$$$\  ______   ______ ____  | $$____    ______   \$$  ______
 * | $$   \$$ |      \ |      \    \ | $$    \  /      \ |  \ |      \
 * | $$        \$$$$$$\| $$$$$$\$$$$\| $$$$$$$\|  $$$$$$\| $$  \$$$$$$\
 * | $$   __  /      $$| $$ | $$ | $$| $$  | $$| $$   \$$| $$ /      $$
 * | $$__/  \|  $$$$$$$| $$ | $$ | $$| $$__/ $$| $$      | $$|  $$$$$$$
 *  \$$    $$ \$$    $$| $$ | $$ | $$| $$    $$| $$      | $$ \$$    $$
 *   \$$$$$$   \$$$$$$$ \$$  \$$  \$$ \$$$$$$$  \$$       \$$  \$$$$$$$
 *
 *   ______             __        __        _______                       __
 *  /      \           |  \      |  \      |       \                     |  \
 * |  $$$$$$\  ______  | $$  ____| $$      | $$$$$$$\ __    __   _______ | $$____
 * | $$ __\$$ /      \ | $$ /      $$      | $$__| $$|  \  |  \ /       \| $$    \
 * | $$|    \|  $$$$$$\| $$|  $$$$$$$      | $$    $$| $$  | $$|  $$$$$$$| $$$$$$$\
 * | $$ \$$$$| $$  | $$| $$| $$  | $$      | $$$$$$$\| $$  | $$ \$$    \ | $$  | $$
 * | $$__| $$| $$__/ $$| $$| $$__| $$      | $$  | $$| $$__/ $$ _\$$$$$$\| $$  | $$
 *  \$$    $$ \$$    $$| $$ \$$    $$      | $$  | $$ \$$    $$|       $$| $$  | $$
 *   \$$$$$$   \$$$$$$  \$$  \$$$$$$$       \$$   \$$  \$$$$$$  \$$$$$$$  \$$   \$$
 *
 *
 * @title Cambria Goldrush Charter
 * @notice See cambria.gg for more details.
 * @author will [at] cambria dot gg
 * @notice questions, concerns, vulns to security [at] cambria.gg
 */
pragma solidity 0.8.18;

import { GoldRushEnergyMarket } from "./GoldRushEnergyMarket.sol";
import { BlastAdapter } from "../blast/BlastAdapter.sol";

contract BlastGoldRushEnergyMarket is GoldRushEnergyMarket, BlastAdapter {
    constructor(
        uint256 _price,
        uint256 _quantity,
        address _owner,
        address _operator,
        bool _isTestnet
    )
        BlastAdapter(_owner, _operator, _isTestnet)
        GoldRushEnergyMarket(_price, _quantity, _owner)
    { }
}

// SPDX-License-Identifier: UNLICENSED

/**
 *   ______                           __                  __
 *  /      \                         |  \                |  \
 * |  $$$$$$\  ______   ______ ____  | $$____    ______   \$$  ______
 * | $$   \$$ |      \ |      \    \ | $$    \  /      \ |  \ |      \
 * | $$        \$$$$$$\| $$$$$$\$$$$\| $$$$$$$\|  $$$$$$\| $$  \$$$$$$\
 * | $$   __  /      $$| $$ | $$ | $$| $$  | $$| $$   \$$| $$ /      $$
 * | $$__/  \|  $$$$$$$| $$ | $$ | $$| $$__/ $$| $$      | $$|  $$$$$$$
 *  \$$    $$ \$$    $$| $$ | $$ | $$| $$    $$| $$      | $$ \$$    $$
 *   \$$$$$$   \$$$$$$$ \$$  \$$  \$$ \$$$$$$$  \$$       \$$  \$$$$$$$
 *
 *   ______             __        __        _______                       __
 *  /      \           |  \      |  \      |       \                     |  \
 * |  $$$$$$\  ______  | $$  ____| $$      | $$$$$$$\ __    __   _______ | $$____
 * | $$ __\$$ /      \ | $$ /      $$      | $$__| $$|  \  |  \ /       \| $$    \
 * | $$|    \|  $$$$$$\| $$|  $$$$$$$      | $$    $$| $$  | $$|  $$$$$$$| $$$$$$$\
 * | $$ \$$$$| $$  | $$| $$| $$  | $$      | $$$$$$$\| $$  | $$ \$$    \ | $$  | $$
 * | $$__| $$| $$__/ $$| $$| $$__| $$      | $$  | $$| $$__/ $$ _\$$$$$$\| $$  | $$
 *  \$$    $$ \$$    $$| $$ \$$    $$      | $$  | $$ \$$    $$|       $$| $$  | $$
 *   \$$$$$$   \$$$$$$  \$$  \$$$$$$$       \$$   \$$  \$$$$$$  \$$$$$$$  \$$   \$$
 *
 *
 * @title Cambria Goldrush Charter
 * @notice See cambria.gg for more details.
 * @author will [at] cambria dot gg
 * @notice questions, concerns, vulns to security [at] cambria.gg
 */
pragma solidity 0.8.18;

import "openzeppelin-contracts/access/Ownable.sol";

error ZeroAddressNotAllowed();
error TransferFailed();
error InvalidPrice();

contract GoldRushEnergyMarket is Ownable {
    uint256 public price;
    uint256 public quantity;

    event BoughtEnergy(address player, uint256 quantity);

    constructor(uint256 _price, uint256 _quantity, address _owner) {
        price = _price;
        quantity = _quantity;
        _transferOwnership(_owner);
    }

    function setPrice(uint256 _price) external onlyOwner {
        price = _price;
    }

    function setQuantity(uint256 _quantity) external onlyOwner {
        quantity = _quantity;
    }

    function withdraw(address payable payee) external onlyOwner {
        if (payee == address(0)) {
            revert ZeroAddressNotAllowed();
        }
        uint256 balance = address(this).balance;
        (bool transferTx,) = payee.call{ value: balance }("");
        if (!transferTx) {
            revert TransferFailed();
        }
    }

    function buy() external payable {
        if (msg.value != price) revert InvalidPrice();
        emit BoughtEnergy(msg.sender, quantity);
    }
}

File 3 of 7 : BlastAdapter.sol
// SPDX-License-Identifier: UNLICENSED

pragma solidity 0.8.18;

import "./IBlast.sol";
import "./IBlastPoints.sol";

error ZeroAddressNotAllowed();

/**
 * @title BlastAdapter
 * @notice For use with Blast / Blast Sepolia Contracts
 * @author will [at] cambria.gg
 */
contract BlastAdapter {
    IBlast public constant BLAST = IBlast(0x4300000000000000000000000000000000000002);
    IBlastPoints public immutable BLASTPOINTS;

    constructor(address gov, address operator, bool _isTestnet) {
        if (gov == address(0) || operator == address(0)) revert ZeroAddressNotAllowed();

        BLASTPOINTS = _isTestnet
            ? IBlastPoints(0x2fc95838c71e76ec69ff817983BFf17c710F34E0)
            : IBlastPoints(0x2536FE9ab3F511540F2f9e2eC2A805005C3Dd800);

        BLAST.configureClaimableYield();
        BLAST.configureClaimableGas();
        BLAST.configureGovernor(gov);
        BLASTPOINTS.configurePointsOperator(operator);
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. 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 {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

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

// SPDX-License-Identifier: MIT
pragma solidity 0.8.18;

enum YieldMode {
    AUTOMATIC,
    VOID,
    CLAIMABLE
}

enum GasMode {
    VOID,
    CLAIMABLE
}

interface IBlast {
    // configure
    function configureContract(address contractAddress, YieldMode _yield, GasMode gasMode, address governor) external;
    function configure(YieldMode _yield, GasMode gasMode, address governor) external;

    // base configuration options
    function configureClaimableYield() external;
    function configureClaimableYieldOnBehalf(address contractAddress) external;
    function configureAutomaticYield() external;
    function configureAutomaticYieldOnBehalf(address contractAddress) external;
    function configureVoidYield() external;
    function configureVoidYieldOnBehalf(address contractAddress) external;
    function configureClaimableGas() external;
    function configureClaimableGasOnBehalf(address contractAddress) external;
    function configureVoidGas() external;
    function configureVoidGasOnBehalf(address contractAddress) external;
    function configureGovernor(address _governor) external;
    function configureGovernorOnBehalf(address _newGovernor, address contractAddress) external;

    // claim yield
    function claimYield(address contractAddress, address recipientOfYield, uint256 amount) external returns (uint256);
    function claimAllYield(address contractAddress, address recipientOfYield) external returns (uint256);

    // claim gas
    function claimAllGas(address contractAddress, address recipientOfGas) external returns (uint256);
    function claimGasAtMinClaimRate(
        address contractAddress,
        address recipientOfGas,
        uint256 minClaimRateBips
    )
        external
        returns (uint256);
    function claimMaxGas(address contractAddress, address recipientOfGas) external returns (uint256);
    function claimGas(
        address contractAddress,
        address recipientOfGas,
        uint256 gasToClaim,
        uint256 gasSecondsToConsume
    )
        external
        returns (uint256);

    // read functions
    function readClaimableYield(address contractAddress) external view returns (uint256);
    function readYieldConfiguration(address contractAddress) external view returns (uint8);
    function readGasParams(address contractAddress)
        external
        view
        returns (uint256 etherSeconds, uint256 etherBalance, uint256 lastUpdated, GasMode);
}

// SPDX-License-Identifier: MIT
pragma solidity 0.8.18;

interface IBlastPoints {
    function configurePointsOperator(address operator) external;
    function configurePointsOperatorOnBehalf(address contractAddress, address operator) external;
}

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

pragma solidity ^0.8.0;

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

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

Settings
{
  "remappings": [
    "ds-test/=contracts/lib/forge-std/lib/ds-test/src/",
    "erc4626-tests/=contracts/lib/openzeppelin-contracts/lib/erc4626-tests/",
    "forge-std/=contracts/lib/forge-std/src/",
    "openzeppelin-contracts/=contracts/lib/openzeppelin-contracts/contracts/",
    "solady/=contracts/lib/solady/src/",
    "openzeppelin/=contracts/lib/openzeppelin-contracts/contracts/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 10000
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "ipfs",
    "appendCBOR": true
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "paris",
  "viaIR": false,
  "libraries": {}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"},{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_operator","type":"address"},{"internalType":"bool","name":"_isTestnet","type":"bool"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"InvalidPrice","type":"error"},{"inputs":[],"name":"TransferFailed","type":"error"},{"inputs":[],"name":"ZeroAddressNotAllowed","type":"error"},{"inputs":[],"name":"ZeroAddressNotAllowed","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"player","type":"address"},{"indexed":false,"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"BoughtEnergy","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"BLAST","outputs":[{"internalType":"contract IBlast","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BLASTPOINTS","outputs":[{"internalType":"contract IBlastPoints","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"quantity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"setQuantity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"payee","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a060405234801561001057600080fd5b5060405161098838038061098883398101604081905261002f916102e0565b82828287878461003e33610274565b6001839055600282905561005181610274565b5050506001600160a01b038316158061007157506001600160a01b038216155b1561008f576040516342bcdf7f60e11b815260040160405180910390fd5b806100ae57732536fe9ab3f511540f2f9e2ec2a805005c3dd8006100c4565b732fc95838c71e76ec69ff817983bff17c710f34e05b6001600160a01b03166080526040805163784c3b3d60e11b815290517343000000000000000000000000000000000000029163f098767a91600480830192600092919082900301818387803b15801561011c57600080fd5b505af1158015610130573d6000803e3d6000fd5b505050507343000000000000000000000000000000000000026001600160a01b0316634e606c476040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561018357600080fd5b505af1158015610197573d6000803e3d6000fd5b5050604051631d70c8d360e31b81526001600160a01b0386166004820152734300000000000000000000000000000000000002925063eb8646989150602401600060405180830381600087803b1580156101f057600080fd5b505af1158015610204573d6000803e3d6000fd5b50506080516040516336b91f2b60e01b81526001600160a01b03868116600483015290911692506336b91f2b9150602401600060405180830381600087803b15801561024f57600080fd5b505af1158015610263573d6000803e3d6000fd5b505050505050505050505050610340565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146102db57600080fd5b919050565b600080600080600060a086880312156102f857600080fd5b855194506020860151935061030f604087016102c4565b925061031d606087016102c4565b91506080860151801515811461033257600080fd5b809150509295509295909350565b60805161062d61035b6000396000610153015261062d6000f3fe6080604052600436106100bc5760003560e01c80638da5cb5b11610074578063a035b1fe1161004e578063a035b1fe1461020d578063a6f2ae3a14610223578063f2fde38b1461022b57600080fd5b80638da5cb5b1461019a57806391b7f5ed146101c557806397d75776146101e557600080fd5b806351cff8d9116100a557806351cff8d91461010c578063715018a61461012c578063728e616f1461014157600080fd5b80630bf15326146100c157806317fc45e2146100e3575b600080fd5b3480156100cd57600080fd5b506100e16100dc366004610598565b61024b565b005b3480156100ef57600080fd5b506100f960025481565b6040519081526020015b60405180910390f35b34801561011857600080fd5b506100e16101273660046105d3565b610258565b34801561013857600080fd5b506100e161034c565b34801561014d57600080fd5b506101757f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610103565b3480156101a657600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff16610175565b3480156101d157600080fd5b506100e16101e0366004610598565b610360565b3480156101f157600080fd5b5061017573430000000000000000000000000000000000000281565b34801561021957600080fd5b506100f960015481565b6100e161036d565b34801561023757600080fd5b506100e16102463660046105d3565b6103e6565b6102536104a2565b600255565b6102606104a2565b73ffffffffffffffffffffffffffffffffffffffff81166102ad576040517f8579befe00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b604051479060009073ffffffffffffffffffffffffffffffffffffffff84169083908381818185875af1925050503d8060008114610307576040519150601f19603f3d011682016040523d82523d6000602084013e61030c565b606091505b5050905080610347576040517f90b8ec1800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b6103546104a2565b61035e6000610523565b565b6103686104a2565b600155565b60015434146103a7576040517ebfc92100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002546040805133815260208101929092527f99d68768c97c62f9bf22af9837634510c94f35f3b18bd23f8eff1e9bb037cd3b910160405180910390a1565b6103ee6104a2565b73ffffffffffffffffffffffffffffffffffffffff8116610496576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61049f81610523565b50565b60005473ffffffffffffffffffffffffffffffffffffffff16331461035e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161048d565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156105aa57600080fd5b5035919050565b73ffffffffffffffffffffffffffffffffffffffff8116811461049f57600080fd5b6000602082840312156105e557600080fd5b81356105f0816105b1565b939250505056fea2646970667358221220d99b799abf8e34c350cecb89c38f9ad48b04cba4377acc183a2ffaf9da06f18864736f6c6343000812003300000000000000000000000000000000000000000000000000038d7ea4c680000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000be16d5c286aa885a2261a6b99a518e5effd2f388000000000000000000000000c5db40980054628ad901846164c6b3418d92dabe0000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106100bc5760003560e01c80638da5cb5b11610074578063a035b1fe1161004e578063a035b1fe1461020d578063a6f2ae3a14610223578063f2fde38b1461022b57600080fd5b80638da5cb5b1461019a57806391b7f5ed146101c557806397d75776146101e557600080fd5b806351cff8d9116100a557806351cff8d91461010c578063715018a61461012c578063728e616f1461014157600080fd5b80630bf15326146100c157806317fc45e2146100e3575b600080fd5b3480156100cd57600080fd5b506100e16100dc366004610598565b61024b565b005b3480156100ef57600080fd5b506100f960025481565b6040519081526020015b60405180910390f35b34801561011857600080fd5b506100e16101273660046105d3565b610258565b34801561013857600080fd5b506100e161034c565b34801561014d57600080fd5b506101757f0000000000000000000000002536fe9ab3f511540f2f9e2ec2a805005c3dd80081565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610103565b3480156101a657600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff16610175565b3480156101d157600080fd5b506100e16101e0366004610598565b610360565b3480156101f157600080fd5b5061017573430000000000000000000000000000000000000281565b34801561021957600080fd5b506100f960015481565b6100e161036d565b34801561023757600080fd5b506100e16102463660046105d3565b6103e6565b6102536104a2565b600255565b6102606104a2565b73ffffffffffffffffffffffffffffffffffffffff81166102ad576040517f8579befe00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b604051479060009073ffffffffffffffffffffffffffffffffffffffff84169083908381818185875af1925050503d8060008114610307576040519150601f19603f3d011682016040523d82523d6000602084013e61030c565b606091505b5050905080610347576040517f90b8ec1800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b6103546104a2565b61035e6000610523565b565b6103686104a2565b600155565b60015434146103a7576040517ebfc92100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002546040805133815260208101929092527f99d68768c97c62f9bf22af9837634510c94f35f3b18bd23f8eff1e9bb037cd3b910160405180910390a1565b6103ee6104a2565b73ffffffffffffffffffffffffffffffffffffffff8116610496576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61049f81610523565b50565b60005473ffffffffffffffffffffffffffffffffffffffff16331461035e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161048d565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156105aa57600080fd5b5035919050565b73ffffffffffffffffffffffffffffffffffffffff8116811461049f57600080fd5b6000602082840312156105e557600080fd5b81356105f0816105b1565b939250505056fea2646970667358221220d99b799abf8e34c350cecb89c38f9ad48b04cba4377acc183a2ffaf9da06f18864736f6c63430008120033

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

00000000000000000000000000000000000000000000000000038d7ea4c680000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000be16d5c286aa885a2261a6b99a518e5effd2f388000000000000000000000000c5db40980054628ad901846164c6b3418d92dabe0000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _price (uint256): 1000000000000000
Arg [1] : _quantity (uint256): 1
Arg [2] : _owner (address): 0xbE16D5c286aa885A2261a6b99A518E5eFFD2f388
Arg [3] : _operator (address): 0xc5DB40980054628AD901846164c6B3418d92DABE
Arg [4] : _isTestnet (bool): False

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000038d7ea4c68000
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [2] : 000000000000000000000000be16d5c286aa885a2261a6b99a518e5effd2f388
Arg [3] : 000000000000000000000000c5db40980054628ad901846164c6b3418d92dabe
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000000


Block Transaction Difficulty 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.