ETH Price: $3,393.73 (-3.57%)
Gas: 8 Gwei

Contract

0x4e8ca5cb9FCA486d09EE7C8dBbFe99AC96Ec1982
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Purchase184891672023-11-03 4:30:59228 days ago1698985859IN
0x4e8ca5cb...C96Ec1982
0 ETH0.0002653611.19988041
Purchase184857392023-11-02 17:00:35228 days ago1698944435IN
0x4e8ca5cb...C96Ec1982
0 ETH0.0007621132.16481225
Set Is Forge Pur...184857382023-11-02 17:00:11228 days ago1698944411IN
0x4e8ca5cb...C96Ec1982
0 ETH0.0008394231.46046037
Purchase184857322023-11-02 16:58:59228 days ago1698944339IN
0x4e8ca5cb...C96Ec1982
0 ETH0.0015190328.29265038
Purchase184857312023-11-02 16:58:47228 days ago1698944327IN
0x4e8ca5cb...C96Ec1982
0 ETH0.0016202630.17819022
Purchase184857212023-11-02 16:56:47228 days ago1698944207IN
0x4e8ca5cb...C96Ec1982
0 ETH0.0013380327.36824057
Purchase184857172023-11-02 16:55:59228 days ago1698944159IN
0x4e8ca5cb...C96Ec1982
0 ETH0.0015665529.17772406
Purchase184857122023-11-02 16:54:59228 days ago1698944099IN
0x4e8ca5cb...C96Ec1982
0 ETH0.0017249132.12726985
Purchase184857102023-11-02 16:54:35228 days ago1698944075IN
0x4e8ca5cb...C96Ec1982
0 ETH0.001704831.7527218
Purchase184857092023-11-02 16:54:23228 days ago1698944063IN
0x4e8ca5cb...C96Ec1982
0 ETH0.0016657831.0259758
Purchase184857082023-11-02 16:54:11228 days ago1698944051IN
0x4e8ca5cb...C96Ec1982
0 ETH0.0016641630.99584386
Purchase184857072023-11-02 16:53:59228 days ago1698944039IN
0x4e8ca5cb...C96Ec1982
0 ETH0.0016850131.38418303
Purchase184857022023-11-02 16:52:47228 days ago1698943967IN
0x4e8ca5cb...C96Ec1982
0 ETH0.0014656727.29887464
Purchase184857022023-11-02 16:52:47228 days ago1698943967IN
0x4e8ca5cb...C96Ec1982
0 ETH0.0014656727.29887464
Purchase184857012023-11-02 16:52:35228 days ago1698943955IN
0x4e8ca5cb...C96Ec1982
0 ETH0.0014836927.63441894
Purchase184856882023-11-02 16:49:59228 days ago1698943799IN
0x4e8ca5cb...C96Ec1982
0 ETH0.0015690329.22397357
Purchase184856852023-11-02 16:49:23228 days ago1698943763IN
0x4e8ca5cb...C96Ec1982
0 ETH0.0015636229.12328859
Purchase184856842023-11-02 16:49:11228 days ago1698943751IN
0x4e8ca5cb...C96Ec1982
0 ETH0.0016095129.97791369
Purchase184856702023-11-02 16:46:23228 days ago1698943583IN
0x4e8ca5cb...C96Ec1982
0 ETH0.0015642629.1351876
Purchase184856602023-11-02 16:44:23228 days ago1698943463IN
0x4e8ca5cb...C96Ec1982
0 ETH0.0016969631.60664601
Purchase184856532023-11-02 16:42:59228 days ago1698943379IN
0x4e8ca5cb...C96Ec1982
0 ETH0.0019176135.71646432
Purchase184856532023-11-02 16:42:59228 days ago1698943379IN
0x4e8ca5cb...C96Ec1982
0 ETH0.0019176135.71646432
Purchase184856532023-11-02 16:42:59228 days ago1698943379IN
0x4e8ca5cb...C96Ec1982
0 ETH0.0019176135.71646432
Purchase184856472023-11-02 16:41:47228 days ago1698943307IN
0x4e8ca5cb...C96Ec1982
0 ETH0.0020787838.71837954
Purchase184856402023-11-02 16:40:23228 days ago1698943223IN
0x4e8ca5cb...C96Ec1982
0 ETH0.0021770940.54942021
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
HVMTLForge

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 5 : HVMTLForge.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "./lib/Operator.sol";

error ForgePurchasesNotEnabled();

contract HVMTLForge is Operator {
    bool public isForgePurchasesEnabled = false;
    address public immutable apeCoinContract;

    mapping(address => uint256) totalPurchased;

    event ForgePurchase(
        address indexed playerAddress,
        uint256 indexed amountApePurchased
    );

    constructor(address _apeCoinContract, address _operator)
        Operator(_operator)
    {
        apeCoinContract = _apeCoinContract;
    }

    /**
     * @notice purchase gears with apecoin
     * @param quantity the amount of apecoin to purchase
     */
    function purchase(uint256 quantity) external {
        if (!isForgePurchasesEnabled) revert ForgePurchasesNotEnabled();

        IERC20(apeCoinContract).transferFrom(
            _msgSender(),
            address(this),
            quantity * 1 ether
        );

        totalPurchased[_msgSender()] += quantity;
        emit ForgePurchase(_msgSender(), quantity);
    }

    /**
     * @notice get the total purchases for a player address
     * @param playerAddress the address of the player
     * @return uint256 total number of purchases
     */
    function getPurchasesByPlayer(address playerAddress)
        external
        view
        returns (uint256)
    {
        return totalPurchased[playerAddress];
    }

    // Operator functions

    /**
     * @notice set the state of forge purchases
     * @param isEnabled the state of forge purchases
     */
    function setIsForgePurchasesEnabled(bool isEnabled) external onlyOperator {
        isForgePurchasesEnabled = isEnabled;
    }

    /**
     * @notice withdraw APE erc-20 tokens from the contract
     */
    function withdrawAPE() external onlyOperator {
        uint256 balance = IERC20(apeCoinContract).balanceOf(address(this));
        if (balance > 0) {
            IERC20(apeCoinContract).transfer(operator, balance);
        }
    }

    /**
     * @notice withdraw any erc-20 tokens from the contract
     * @param coinContract the erc-20 contract address
     */
    function withdraw(address coinContract) external onlyOperator {
        uint256 balance = IERC20(coinContract).balanceOf(address(this));
        if (balance > 0) {
            IERC20(coinContract).transfer(operator, balance);
        }
    }
}

File 2 of 5 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

File 3 of 5 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

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

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

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}

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

pragma solidity ^0.8.0;

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

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

File 5 of 5 : Operator.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

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

error OnlyOperatorError();
error OperatorZeroAddressCheck();

contract Operator is Ownable {
    address public operator;

    event OperatorChanged(address operator);

    modifier onlyOperator() {
        if (operator != _msgSender()) revert OnlyOperatorError();
        _;
    }

    constructor(address _operator) {
        if (_operator == address(0)) revert OperatorZeroAddressCheck();
        operator = _operator;
    }

    /**
     * @notice change operator
     */
    function setOperator(address _operator) external onlyOwner {
        if (_operator == address(0)) revert OperatorZeroAddressCheck();

        operator = _operator;
        emit OperatorChanged(_operator);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_apeCoinContract","type":"address"},{"internalType":"address","name":"_operator","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ForgePurchasesNotEnabled","type":"error"},{"inputs":[],"name":"OnlyOperatorError","type":"error"},{"inputs":[],"name":"OperatorZeroAddressCheck","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"playerAddress","type":"address"},{"indexed":true,"internalType":"uint256","name":"amountApePurchased","type":"uint256"}],"name":"ForgePurchase","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"operator","type":"address"}],"name":"OperatorChanged","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":"apeCoinContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"playerAddress","type":"address"}],"name":"getPurchasesByPlayer","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isForgePurchasesEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"purchase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isEnabled","type":"bool"}],"name":"setIsForgePurchasesEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"}],"name":"setOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"coinContract","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAPE","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040526001805460ff60a01b1916905534801561001d57600080fd5b50604051610a2b380380610a2b83398101604081905261003c91610102565b8061004633610096565b6001600160a01b03811661006d57604051637652539b60e01b815260040160405180910390fd5b600180546001600160a01b0319166001600160a01b039283161790559190911660805250610135565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146100fd57600080fd5b919050565b6000806040838503121561011557600080fd5b61011e836100e6565b915061012c602084016100e6565b90509250929050565b6080516108c6610165600039600081816101660152818161042b015281816104cf015261057501526108c66000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c80639c6ce69c116100715780639c6ce69c14610161578063b3ab15fb14610188578063b3c8ee1f1461019b578063eac93c67146101a3578063efef39a1146101c7578063f2fde38b146101da57600080fd5b80634b7b1b96146100b95780634bf8af4f146100ce57806351cff8d91461010a578063570ca7351461011d578063715018a6146101485780638da5cb5b14610150575b600080fd5b6100cc6100c73660046107ae565b6101ed565b005b6100f76100dc3660046107d2565b6001600160a01b031660009081526002602052604090205490565b6040519081526020015b60405180910390f35b6100cc6101183660046107d2565b610236565b600154610130906001600160a01b031681565b6040516001600160a01b039091168152602001610101565b6100cc610351565b6000546001600160a01b0316610130565b6101307f000000000000000000000000000000000000000000000000000000000000000081565b6100cc6101963660046107d2565b610365565b6100cc6103e8565b6001546101b790600160a01b900460ff1681565b6040519015158152602001610101565b6100cc6101d53660046107fb565b610541565b6100cc6101e83660046107d2565b61067b565b6001546001600160a01b03163314610218576040516337fa462360e11b815260040160405180910390fd5b60018054911515600160a01b0260ff60a01b19909216919091179055565b6001546001600160a01b03163314610261576040516337fa462360e11b815260040160405180910390fd5b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa1580156102a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102cc9190610814565b9050801561034d5760015460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390529083169063a9059cbb906044016020604051808303816000875af1158015610327573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061034b919061082d565b505b5050565b6103596106f6565b6103636000610750565b565b61036d6106f6565b6001600160a01b03811661039457604051637652539b60e01b815260040160405180910390fd5b600180546001600160a01b0319166001600160a01b0383169081179091556040519081527f4721129e0e676ed6a92909bb24e853ccdd63ad72280cc2e974e38e480e0e6e549060200160405180910390a150565b6001546001600160a01b03163314610413576040516337fa462360e11b815260040160405180910390fd5b6040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa15801561047a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049e9190610814565b9050801561053e5760015460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390527f00000000000000000000000000000000000000000000000000000000000000009091169063a9059cbb906044016020604051808303816000875af115801561051a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061034d919061082d565b50565b600154600160a01b900460ff1661056b576040516343c96a4760e11b815260040160405180910390fd5b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166323b872dd33306105ae85670de0b6b3a7640000610860565b6040516001600160e01b031960e086901b1681526001600160a01b03938416600482015292909116602483015260448201526064016020604051808303816000875af1158015610602573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610626919061082d565b50336000908152600260205260408120805483929061064690849061087d565b9091555050604051819033907f854b9652b54e460736e98c16b01accf780b6473ab6c733952caa8971a583f6fa90600090a350565b6106836106f6565b6001600160a01b0381166106ed5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b61053e81610750565b6000546001600160a01b031633146103635760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106e4565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b801515811461053e57600080fd5b6000602082840312156107c057600080fd5b81356107cb816107a0565b9392505050565b6000602082840312156107e457600080fd5b81356001600160a01b03811681146107cb57600080fd5b60006020828403121561080d57600080fd5b5035919050565b60006020828403121561082657600080fd5b5051919050565b60006020828403121561083f57600080fd5b81516107cb816107a0565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176108775761087761084a565b92915050565b808201808211156108775761087761084a56fea26469706673582212206f96b189cfa37d8be8019061eaf871704c77296b21c16c0a73be9157a7b5ded264736f6c634300081100330000000000000000000000004d224452801aced8b2f0aebe155379bb5d59438100000000000000000000000039a6b72307b604086cc3502f0f6761dd07b66c4e

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100b45760003560e01c80639c6ce69c116100715780639c6ce69c14610161578063b3ab15fb14610188578063b3c8ee1f1461019b578063eac93c67146101a3578063efef39a1146101c7578063f2fde38b146101da57600080fd5b80634b7b1b96146100b95780634bf8af4f146100ce57806351cff8d91461010a578063570ca7351461011d578063715018a6146101485780638da5cb5b14610150575b600080fd5b6100cc6100c73660046107ae565b6101ed565b005b6100f76100dc3660046107d2565b6001600160a01b031660009081526002602052604090205490565b6040519081526020015b60405180910390f35b6100cc6101183660046107d2565b610236565b600154610130906001600160a01b031681565b6040516001600160a01b039091168152602001610101565b6100cc610351565b6000546001600160a01b0316610130565b6101307f0000000000000000000000004d224452801aced8b2f0aebe155379bb5d59438181565b6100cc6101963660046107d2565b610365565b6100cc6103e8565b6001546101b790600160a01b900460ff1681565b6040519015158152602001610101565b6100cc6101d53660046107fb565b610541565b6100cc6101e83660046107d2565b61067b565b6001546001600160a01b03163314610218576040516337fa462360e11b815260040160405180910390fd5b60018054911515600160a01b0260ff60a01b19909216919091179055565b6001546001600160a01b03163314610261576040516337fa462360e11b815260040160405180910390fd5b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa1580156102a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102cc9190610814565b9050801561034d5760015460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390529083169063a9059cbb906044016020604051808303816000875af1158015610327573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061034b919061082d565b505b5050565b6103596106f6565b6103636000610750565b565b61036d6106f6565b6001600160a01b03811661039457604051637652539b60e01b815260040160405180910390fd5b600180546001600160a01b0319166001600160a01b0383169081179091556040519081527f4721129e0e676ed6a92909bb24e853ccdd63ad72280cc2e974e38e480e0e6e549060200160405180910390a150565b6001546001600160a01b03163314610413576040516337fa462360e11b815260040160405180910390fd5b6040516370a0823160e01b81523060048201526000907f0000000000000000000000004d224452801aced8b2f0aebe155379bb5d5943816001600160a01b0316906370a0823190602401602060405180830381865afa15801561047a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049e9190610814565b9050801561053e5760015460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390527f0000000000000000000000004d224452801aced8b2f0aebe155379bb5d5943819091169063a9059cbb906044016020604051808303816000875af115801561051a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061034d919061082d565b50565b600154600160a01b900460ff1661056b576040516343c96a4760e11b815260040160405180910390fd5b6001600160a01b037f0000000000000000000000004d224452801aced8b2f0aebe155379bb5d594381166323b872dd33306105ae85670de0b6b3a7640000610860565b6040516001600160e01b031960e086901b1681526001600160a01b03938416600482015292909116602483015260448201526064016020604051808303816000875af1158015610602573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610626919061082d565b50336000908152600260205260408120805483929061064690849061087d565b9091555050604051819033907f854b9652b54e460736e98c16b01accf780b6473ab6c733952caa8971a583f6fa90600090a350565b6106836106f6565b6001600160a01b0381166106ed5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b61053e81610750565b6000546001600160a01b031633146103635760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106e4565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b801515811461053e57600080fd5b6000602082840312156107c057600080fd5b81356107cb816107a0565b9392505050565b6000602082840312156107e457600080fd5b81356001600160a01b03811681146107cb57600080fd5b60006020828403121561080d57600080fd5b5035919050565b60006020828403121561082657600080fd5b5051919050565b60006020828403121561083f57600080fd5b81516107cb816107a0565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176108775761087761084a565b92915050565b808201808211156108775761087761084a56fea26469706673582212206f96b189cfa37d8be8019061eaf871704c77296b21c16c0a73be9157a7b5ded264736f6c63430008110033

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

0000000000000000000000004d224452801aced8b2f0aebe155379bb5d59438100000000000000000000000039a6b72307b604086cc3502f0f6761dd07b66c4e

-----Decoded View---------------
Arg [0] : _apeCoinContract (address): 0x4d224452801ACEd8B2F0aebE155379bb5D594381
Arg [1] : _operator (address): 0x39a6b72307B604086Cc3502F0F6761dd07b66C4E

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000004d224452801aced8b2f0aebe155379bb5d594381
Arg [1] : 00000000000000000000000039a6b72307b604086cc3502f0f6761dd07b66c4e


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.