ETH Price: $3,333.01 (-1.31%)

Contract

0xeb557e1cFE42261562932c8ecC4c478435D469bf
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Conversion R...213375592024-12-05 16:42:5917 days ago1733416979IN
0xeb557e1c...435D469bf
0 ETH0.0060714726.40045363

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Burner

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
Yes with 60 runs

Other Settings:
paris EvmVersion
File 1 of 5 : Burner.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;

import "@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

interface IResources {
    function burn(
        address account,
        uint256[] memory tokenIds,
        uint256[] memory amounts
    ) external;
}

contract Burner is IERC1155Receiver, Ownable {
    IResources public tokenContract;
    mapping(uint256 => uint256) public conversionRates;
    uint256 public nonce;

    // EVENTS
    event PromoCodeClaimed(address indexed user, uint256 points, uint256 nonce);

    // ERRORS
    error InvalidTokenContract();
    error ConversionRateNotSet();
    error InvalidInput();

    constructor(address _tokenContract) {
        tokenContract = IResources(_tokenContract);
    }

    function setConversionRate(
        uint256[] memory tokenIds,
        uint256[] memory rates
    ) external onlyOwner {
        if (tokenIds.length != rates.length || tokenIds.length == 0) {
            revert InvalidInput();
        }
        for (uint256 i = 0; i < tokenIds.length; i++) {
            conversionRates[tokenIds[i]] = rates[i];
        }
    }

    function onERC1155Received(
        address,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata
    ) public virtual override(IERC1155Receiver) returns (bytes4) {
        if (msg.sender != address(tokenContract)) revert InvalidTokenContract();
        if (conversionRates[id] == 0) revert ConversionRateNotSet();

        // Create single-element arrays for burning
        uint256[] memory ids = new uint256[](1);
        uint256[] memory values = new uint256[](1);
        ids[0] = id;
        values[0] = value;

        // Burn tokens using arrays
        tokenContract.burn(address(this), ids, values);

        // Convert burned tokens to points and generate promo code immediately
        uint256 points = value * conversionRates[id];

        nonce++;
        emit PromoCodeClaimed(from, points, nonce);

        return this.onERC1155Received.selector;
    }

    function onERC1155BatchReceived(
        address,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata
    ) public virtual override(IERC1155Receiver) returns (bytes4) {
        if (msg.sender != address(tokenContract)) revert InvalidTokenContract();

        uint256 totalPoints = 0;

        // Verify conversion rates and calculate total points
        for (uint256 i = 0; i < ids.length; i++) {
            if (conversionRates[ids[i]] == 0) revert ConversionRateNotSet();
            totalPoints += values[i] * conversionRates[ids[i]];
        }

        // Burn all tokens in a single transaction
        tokenContract.burn(address(this), ids, values);

        // Generate promo code with nonce
        nonce++;
        emit PromoCodeClaimed(from, totalPoints, nonce);

        return this.onERC1155BatchReceived.selector;
    }

    function supportsInterface(
        bytes4 interfaceId
    ) public view virtual override returns (bool) {
        return interfaceId == type(IERC1155Receiver).interfaceId;
    }
}

File 2 of 5 : Ownable.sol
// 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);
    }
}

File 3 of 5 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
     * @dev Handles the receipt of a single ERC1155 token type. This function is
     * called at the end of a `safeTransferFrom` after the balance has been updated.
     *
     * NOTE: To accept the transfer, this must return
     * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
     * (i.e. 0xf23a6e61, or its own function selector).
     *
     * @param operator The address which initiated the transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param id The ID of the token being transferred
     * @param value The amount of tokens being transferred
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
     */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
     * @dev Handles the receipt of a multiple ERC1155 token types. This function
     * is called at the end of a `safeBatchTransferFrom` after the balances have
     * been updated.
     *
     * NOTE: To accept the transfer(s), this must return
     * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
     * (i.e. 0xbc197c81, or its own function selector).
     *
     * @param operator The address which initiated the batch transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param ids An array containing ids of each token being transferred (order and length must match values array)
     * @param values An array containing amounts of each token being transferred (order and length must match ids array)
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
     */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

File 4 of 5 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.4) (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;
    }

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

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

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_tokenContract","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ConversionRateNotSet","type":"error"},{"inputs":[],"name":"InvalidInput","type":"error"},{"inputs":[],"name":"InvalidTokenContract","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"points","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"nonce","type":"uint256"}],"name":"PromoCodeClaimed","type":"event"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"conversionRates","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC1155BatchReceived","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC1155Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","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":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"uint256[]","name":"rates","type":"uint256[]"}],"name":"setConversionRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenContract","outputs":[{"internalType":"contract IResources","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50604051610d0b380380610d0b83398101604081905261002f916100ad565b6100383361005d565b600180546001600160a01b0319166001600160a01b03929092169190911790556100dd565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100bf57600080fd5b81516001600160a01b03811681146100d657600080fd5b9392505050565b610c1f806100ec6000396000f3fe608060405234801561001057600080fd5b506004361061008e5760003560e01c806301ffc9a71461009357806355a373d6146100cc578063665e3d05146100f7578063715018a61461010c5780638da5cb5b14610114578063affed0e014610125578063bc197c811461013c578063f23a6e6114610168578063f2fde38b1461017b578063f65ea54e1461018e575b600080fd5b6100b76100a136600461072e565b6001600160e01b031916630271189760e51b1490565b60405190151581526020015b60405180910390f35b6001546100df906001600160a01b031681565b6040516001600160a01b0390911681526020016100c3565b61010a610105366004610812565b6101ae565b005b61010a610248565b6000546001600160a01b03166100df565b61012e60035481565b6040519081526020016100c3565b61014f61014a36600461091d565b61025c565b6040516001600160e01b031990911681526020016100c3565b61014f6101763660046109d7565b61042a565b61010a610189366004610a4e565b610606565b61012e61019c366004610a69565b60026020526000908152604090205481565b6101b6610684565b805182511415806101c657508151155b156101e45760405163b4fa3fb360e01b815260040160405180910390fd5b60005b82518110156102435781818151811061020257610202610a82565b60200260200101516002600085848151811061022057610220610a82565b6020908102919091018101518252810191909152604001600020556001016101e7565b505050565b610250610684565b61025a60006106de565b565b6001546000906001600160a01b0316331461028a57604051630a6f7ecd60e21b815260040160405180910390fd5b6000805b8781101561034557600260008a8a848181106102ac576102ac610a82565b905060200201358152602001908152602001600020546000036102e25760405163534163af60e01b815260040160405180910390fd5b600260008a8a848181106102f8576102f8610a82565b9050602002013581526020019081526020016000205487878381811061032057610320610a82565b905060200201356103319190610aae565b61033b9083610acb565b915060010161028e565b50600154604051633db0f8ab60e01b81526001600160a01b0390911690633db0f8ab9061037e9030908c908c908c908c90600401610b10565b600060405180830381600087803b15801561039857600080fd5b505af11580156103ac573d6000803e3d6000fd5b5050600380549250905060006103c183610b54565b9190505550886001600160a01b03167f75898b7821caa86ba48323636a31be579a91c67a37616d0be80e2034a8c9c2fd8260035460405161040c929190918252602082015260400190565b60405180910390a25063bc197c8160e01b9998505050505050505050565b6001546000906001600160a01b0316331461045857604051630a6f7ecd60e21b815260040160405180910390fd5b60008581526002602052604081205490036104865760405163534163af60e01b815260040160405180910390fd5b60408051600180825281830190925260009160208083019080368337505060408051600180825281830190925292935060009291506020808301908036833701905050905086826000815181106104df576104df610a82565b60200260200101818152505085816000815181106104ff576104ff610a82565b6020908102919091010152600154604051633db0f8ab60e01b81526001600160a01b0390911690633db0f8ab9061053e90309086908690600401610ba9565b600060405180830381600087803b15801561055857600080fd5b505af115801561056c573d6000803e3d6000fd5b50505060008881526002602052604081205490915061058b9088610aae565b60038054919250600061059d83610b54565b9190505550886001600160a01b03167f75898b7821caa86ba48323636a31be579a91c67a37616d0be80e2034a8c9c2fd826003546040516105e8929190918252602082015260400190565b60405180910390a25063f23a6e6160e01b9998505050505050505050565b61060e610684565b6001600160a01b0381166106785760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b610681816106de565b50565b6000546001600160a01b0316331461025a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161066f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006020828403121561074057600080fd5b81356001600160e01b03198116811461075857600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261078657600080fd5b813560206001600160401b03808311156107a2576107a261075f565b8260051b604051601f19603f830116810181811084821117156107c7576107c761075f565b60405293845260208187018101949081019250878511156107e757600080fd5b6020870191505b84821015610807578135835291830191908301906107ee565b979650505050505050565b6000806040838503121561082557600080fd5b82356001600160401b038082111561083c57600080fd5b61084886838701610775565b9350602085013591508082111561085e57600080fd5b5061086b85828601610775565b9150509250929050565b80356001600160a01b038116811461088c57600080fd5b919050565b60008083601f8401126108a357600080fd5b5081356001600160401b038111156108ba57600080fd5b6020830191508360208260051b85010111156108d557600080fd5b9250929050565b60008083601f8401126108ee57600080fd5b5081356001600160401b0381111561090557600080fd5b6020830191508360208285010111156108d557600080fd5b60008060008060008060008060a0898b03121561093957600080fd5b61094289610875565b975061095060208a01610875565b965060408901356001600160401b038082111561096c57600080fd5b6109788c838d01610891565b909850965060608b013591508082111561099157600080fd5b61099d8c838d01610891565b909650945060808b01359150808211156109b657600080fd5b506109c38b828c016108dc565b999c989b5096995094979396929594505050565b60008060008060008060a087890312156109f057600080fd5b6109f987610875565b9550610a0760208801610875565b9450604087013593506060870135925060808701356001600160401b03811115610a3057600080fd5b610a3c89828a016108dc565b979a9699509497509295939492505050565b600060208284031215610a6057600080fd5b61075882610875565b600060208284031215610a7b57600080fd5b5035919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610ac557610ac5610a98565b92915050565b80820180821115610ac557610ac5610a98565b81835260006001600160fb1b03831115610af757600080fd5b8260051b80836020870137939093016020019392505050565b6001600160a01b0386168152606060208201819052600090610b359083018688610ade565b8281036040840152610b48818587610ade565b98975050505050505050565b600060018201610b6657610b66610a98565b5060010190565b60008151808452602080850194506020840160005b83811015610b9e57815187529582019590820190600101610b82565b509495945050505050565b6001600160a01b0384168152606060208201819052600090610bcd90830185610b6d565b8281036040840152610bdf8185610b6d565b969550505050505056fea26469706673582212200026cb8b92c28ddd06876b3192c9b1583c384bcdda3aac84587aa8cb0da2156c64736f6c6343000818003300000000000000000000000097a20815a061eae224c4fdf3109731f73743db73

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061008e5760003560e01c806301ffc9a71461009357806355a373d6146100cc578063665e3d05146100f7578063715018a61461010c5780638da5cb5b14610114578063affed0e014610125578063bc197c811461013c578063f23a6e6114610168578063f2fde38b1461017b578063f65ea54e1461018e575b600080fd5b6100b76100a136600461072e565b6001600160e01b031916630271189760e51b1490565b60405190151581526020015b60405180910390f35b6001546100df906001600160a01b031681565b6040516001600160a01b0390911681526020016100c3565b61010a610105366004610812565b6101ae565b005b61010a610248565b6000546001600160a01b03166100df565b61012e60035481565b6040519081526020016100c3565b61014f61014a36600461091d565b61025c565b6040516001600160e01b031990911681526020016100c3565b61014f6101763660046109d7565b61042a565b61010a610189366004610a4e565b610606565b61012e61019c366004610a69565b60026020526000908152604090205481565b6101b6610684565b805182511415806101c657508151155b156101e45760405163b4fa3fb360e01b815260040160405180910390fd5b60005b82518110156102435781818151811061020257610202610a82565b60200260200101516002600085848151811061022057610220610a82565b6020908102919091018101518252810191909152604001600020556001016101e7565b505050565b610250610684565b61025a60006106de565b565b6001546000906001600160a01b0316331461028a57604051630a6f7ecd60e21b815260040160405180910390fd5b6000805b8781101561034557600260008a8a848181106102ac576102ac610a82565b905060200201358152602001908152602001600020546000036102e25760405163534163af60e01b815260040160405180910390fd5b600260008a8a848181106102f8576102f8610a82565b9050602002013581526020019081526020016000205487878381811061032057610320610a82565b905060200201356103319190610aae565b61033b9083610acb565b915060010161028e565b50600154604051633db0f8ab60e01b81526001600160a01b0390911690633db0f8ab9061037e9030908c908c908c908c90600401610b10565b600060405180830381600087803b15801561039857600080fd5b505af11580156103ac573d6000803e3d6000fd5b5050600380549250905060006103c183610b54565b9190505550886001600160a01b03167f75898b7821caa86ba48323636a31be579a91c67a37616d0be80e2034a8c9c2fd8260035460405161040c929190918252602082015260400190565b60405180910390a25063bc197c8160e01b9998505050505050505050565b6001546000906001600160a01b0316331461045857604051630a6f7ecd60e21b815260040160405180910390fd5b60008581526002602052604081205490036104865760405163534163af60e01b815260040160405180910390fd5b60408051600180825281830190925260009160208083019080368337505060408051600180825281830190925292935060009291506020808301908036833701905050905086826000815181106104df576104df610a82565b60200260200101818152505085816000815181106104ff576104ff610a82565b6020908102919091010152600154604051633db0f8ab60e01b81526001600160a01b0390911690633db0f8ab9061053e90309086908690600401610ba9565b600060405180830381600087803b15801561055857600080fd5b505af115801561056c573d6000803e3d6000fd5b50505060008881526002602052604081205490915061058b9088610aae565b60038054919250600061059d83610b54565b9190505550886001600160a01b03167f75898b7821caa86ba48323636a31be579a91c67a37616d0be80e2034a8c9c2fd826003546040516105e8929190918252602082015260400190565b60405180910390a25063f23a6e6160e01b9998505050505050505050565b61060e610684565b6001600160a01b0381166106785760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b610681816106de565b50565b6000546001600160a01b0316331461025a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161066f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006020828403121561074057600080fd5b81356001600160e01b03198116811461075857600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261078657600080fd5b813560206001600160401b03808311156107a2576107a261075f565b8260051b604051601f19603f830116810181811084821117156107c7576107c761075f565b60405293845260208187018101949081019250878511156107e757600080fd5b6020870191505b84821015610807578135835291830191908301906107ee565b979650505050505050565b6000806040838503121561082557600080fd5b82356001600160401b038082111561083c57600080fd5b61084886838701610775565b9350602085013591508082111561085e57600080fd5b5061086b85828601610775565b9150509250929050565b80356001600160a01b038116811461088c57600080fd5b919050565b60008083601f8401126108a357600080fd5b5081356001600160401b038111156108ba57600080fd5b6020830191508360208260051b85010111156108d557600080fd5b9250929050565b60008083601f8401126108ee57600080fd5b5081356001600160401b0381111561090557600080fd5b6020830191508360208285010111156108d557600080fd5b60008060008060008060008060a0898b03121561093957600080fd5b61094289610875565b975061095060208a01610875565b965060408901356001600160401b038082111561096c57600080fd5b6109788c838d01610891565b909850965060608b013591508082111561099157600080fd5b61099d8c838d01610891565b909650945060808b01359150808211156109b657600080fd5b506109c38b828c016108dc565b999c989b5096995094979396929594505050565b60008060008060008060a087890312156109f057600080fd5b6109f987610875565b9550610a0760208801610875565b9450604087013593506060870135925060808701356001600160401b03811115610a3057600080fd5b610a3c89828a016108dc565b979a9699509497509295939492505050565b600060208284031215610a6057600080fd5b61075882610875565b600060208284031215610a7b57600080fd5b5035919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610ac557610ac5610a98565b92915050565b80820180821115610ac557610ac5610a98565b81835260006001600160fb1b03831115610af757600080fd5b8260051b80836020870137939093016020019392505050565b6001600160a01b0386168152606060208201819052600090610b359083018688610ade565b8281036040840152610b48818587610ade565b98975050505050505050565b600060018201610b6657610b66610a98565b5060010190565b60008151808452602080850194506020840160005b83811015610b9e57815187529582019590820190600101610b82565b509495945050505050565b6001600160a01b0384168152606060208201819052600090610bcd90830185610b6d565b8281036040840152610bdf8185610b6d565b969550505050505056fea26469706673582212200026cb8b92c28ddd06876b3192c9b1583c384bcdda3aac84587aa8cb0da2156c64736f6c63430008180033

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

00000000000000000000000097a20815a061eae224c4fdf3109731f73743db73

-----Decoded View---------------
Arg [0] : _tokenContract (address): 0x97A20815a061EaE224c4fdF3109731f73743db73

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000097a20815a061eae224c4fdf3109731f73743db73


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.