ETH Price: $3,530.79 (-4.95%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Redeem160936032022-12-02 0:41:35767 days ago1669941695IN
0x736D6f6c...8F40fDEa4
0 ETH0.0008162311.06844474
Redeem147178942022-05-05 15:02:28978 days ago1651762948IN
0x736D6f6c...8F40fDEa4
0 ETH0.0071509396.9697176
Redeem145280622022-04-05 20:22:161007 days ago1649190136IN
0x736D6f6c...8F40fDEa4
0 ETH0.0085985494.65179443
Redeem142997862022-03-01 7:37:421043 days ago1646120262IN
0x736D6f6c...8F40fDEa4
0 ETH0.0039806253.9789001
Redeem142997852022-03-01 7:37:291043 days ago1646120249IN
0x736D6f6c...8F40fDEa4
0 ETH0.0051355456.53148562
Redeem142997842022-03-01 7:37:181043 days ago1646120238IN
0x736D6f6c...8F40fDEa4
0 ETH0.0044861460.83404265
Redeem142997832022-03-01 7:37:151043 days ago1646120235IN
0x736D6f6c...8F40fDEa4
0 ETH0.0052331257.60556686
Redeem142997832022-03-01 7:37:151043 days ago1646120235IN
0x736D6f6c...8F40fDEa4
0 ETH0.0052331257.60556686
Redeem142997832022-03-01 7:37:151043 days ago1646120235IN
0x736D6f6c...8F40fDEa4
0 ETH0.0052331257.60556686
Redeem142997812022-03-01 7:36:351043 days ago1646120195IN
0x736D6f6c...8F40fDEa4
0 ETH0.0047319752.08903487
Redeem142768002022-02-25 18:14:361046 days ago1645812876IN
0x736D6f6c...8F40fDEa4
0 ETH0.0074390181.88780462
Redeem137968212021-12-13 12:27:391121 days ago1639398459IN
0x736D6f6c...8F40fDEa4
0 ETH0.003294636.26667424
Redeem137967722021-12-13 12:17:281121 days ago1639397848IN
0x736D6f6c...8F40fDEa4
0 ETH0.0029918632.93404754
Redeem137967682021-12-13 12:16:501121 days ago1639397810IN
0x736D6f6c...8F40fDEa4
0 ETH0.0030444233.51265435
Redeem137967632021-12-13 12:15:461121 days ago1639397746IN
0x736D6f6c...8F40fDEa4
0 ETH0.003092934.04631291
Redeem137967502021-12-13 12:14:071121 days ago1639397647IN
0x736D6f6c...8F40fDEa4
0 ETH0.0038805642.71681589
Redeem137967502021-12-13 12:14:071121 days ago1639397647IN
0x736D6f6c...8F40fDEa4
0 ETH0.003864742.54221589
Redeem137967442021-12-13 12:12:261121 days ago1639397546IN
0x736D6f6c...8F40fDEa4
0 ETH0.0037589641.37827264
Redeem137967372021-12-13 12:10:451121 days ago1639397445IN
0x736D6f6c...8F40fDEa4
0 ETH0.0033083636.41807238
Redeem135627972021-11-06 11:49:271158 days ago1636199367IN
0x736D6f6c...8F40fDEa4
0 ETH0.0064157287
Redeem135627952021-11-06 11:49:111158 days ago1636199351IN
0x736D6f6c...8F40fDEa4
0 ETH0.0064157287
Redeem135433902021-11-03 10:38:411161 days ago1635935921IN
0x736D6f6c...8F40fDEa4
0 ETH0.01234036135.84126228
Redeem134715122021-10-23 3:42:021172 days ago1634960522IN
0x736D6f6c...8F40fDEa4
0 ETH0.0049635754.63846077
Redeem134231702021-10-15 14:21:591180 days ago1634307719IN
0x736D6f6c...8F40fDEa4
0 ETH0.009182101.07445158
Redeem134231362021-10-15 14:15:461180 days ago1634307346IN
0x736D6f6c...8F40fDEa4
0 ETH0.01090355120.02501763
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:
SmolMart

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
No with 999999 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2020-11-13
*/

pragma solidity ^0.5.0;


/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow, so we distribute
        return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2);
    }
}

/*
 * @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 GSN 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.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor () internal { }
    // solhint-disable-previous-line no-empty-blocks

    function _msgSender() internal view returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

/**
 * @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.
 *
 * 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.
 */
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 () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

    /**
     * @dev Returns true if the caller is the current owner.
     */
    function isOwner() public view returns (bool) {
        return _msgSender() == _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 onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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 onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function _transferOwnership(address newOwner) internal {
        require(newOwner != address(0), "ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}


interface SmolTing {
    function balanceOf(address owner) external view returns (uint256);
    function burn(address _account, uint256 value) external;
}

interface SmolStudio {
    function mint(address _to, uint256 _id, uint256 _quantity, bytes calldata _data) external;
    function totalSupply(uint256 _id) external view returns (uint256);
    function maxSupply(uint256 _id) external view returns (uint256);
}


contract SmolMart is Ownable {
    SmolStudio public smolStudio;
    SmolTing public Ting;
    mapping(uint256 => uint256) public cardCosts;

    event CardAdded(uint256 card, uint256 points);
    event Redeemed(address indexed user, uint256 amount);

    constructor(SmolStudio _SmolStudioAddress, SmolTing _tingAddress) public {
        smolStudio = _SmolStudioAddress;
        Ting = _tingAddress;
    }

    function addCard(uint256 cardId, uint256 amount) public onlyOwner {
        cardCosts[cardId] = amount;
        emit CardAdded(cardId, amount);
    }

    function redeem(uint256 card) public {
        require(cardCosts[card] != 0, "card not found");
        require(Ting.balanceOf(msg.sender) >= cardCosts[card], "not enough TINGs to redeem for a ting");
        require(smolStudio.totalSupply(card) < smolStudio.maxSupply(card), "max cards minted");

        Ting.burn(msg.sender, cardCosts[card]);
        smolStudio.mint(msg.sender, card, 1, "");
        emit Redeemed(msg.sender, cardCosts[card]);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract SmolStudio","name":"_SmolStudioAddress","type":"address"},{"internalType":"contract SmolTing","name":"_tingAddress","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"card","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"points","type":"uint256"}],"name":"CardAdded","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Redeemed","type":"event"},{"constant":true,"inputs":[],"name":"Ting","outputs":[{"internalType":"contract SmolTing","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"cardId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"addCard","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"cardCosts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"card","type":"uint256"}],"name":"redeem","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"smolStudio","outputs":[{"internalType":"contract SmolStudio","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50604051610f39380380610f398339818101604052604081101561003357600080fd5b810190808051906020019092919080519060200190929190505050600061005e61018560201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35081600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505061018d565b600033905090565b610d9d8061019c6000396000f3fe608060405234801561001057600080fd5b50600436106100a35760003560e01c806390f2435511610076578063db006a751161005b578063db006a75146101f4578063ea4a294f14610222578063f2fde38b1461025a576100a3565b806390f24355146101685780639b6bdf39146101b2576100a3565b8063715018a6146100a857806386425777146100b25780638da5cb5b146100fc5780638f32d59b14610146575b600080fd5b6100b061029e565b005b6100ba6103d7565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6101046103fd565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61014e610426565b604051808215151515815260200191505060405180910390f35b610170610484565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6101de600480360360208110156101c857600080fd5b81019080803590602001909291905050506104aa565b6040518082815260200191505060405180910390f35b6102206004803603602081101561020a57600080fd5b81019080803590602001909291905050506104c2565b005b6102586004803603604081101561023857600080fd5b810190808035906020019092919080359060200190929190505050610a76565b005b61029c6004803603602081101561027057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610b4b565b005b6102a6610426565b610318576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610468610bd1565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60036020528060005260406000206000915090505481565b60006003600083815260200190815260200160002054141561054c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f63617264206e6f7420666f756e6400000000000000000000000000000000000081525060200191505060405180910390fd5b6003600082815260200190815260200160002054600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156105ff57600080fd5b505afa158015610613573d6000803e3d6000fd5b505050506040513d602081101561062957600080fd5b81019080805190602001909291905050501015610691576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180610d1e6025913960400191505060405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663869f7594826040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561070457600080fd5b505afa158015610718573d6000803e3d6000fd5b505050506040513d602081101561072e57600080fd5b8101908080519060200190929190505050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bd85b039836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b1580156107b257600080fd5b505afa1580156107c6573d6000803e3d6000fd5b505050506040513d60208110156107dc57600080fd5b810190808051906020019092919050505010610860576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f6d6178206361726473206d696e7465640000000000000000000000000000000081525060200191505060405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639dc29fac3360036000858152602001908152602001600020546040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561091c57600080fd5b505af1158015610930573d6000803e3d6000fd5b50505050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663731133e9338360016040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200183815260200182815260200180602001828103825260008152602001602001945050505050600060405180830381600087803b1580156109fa57600080fd5b505af1158015610a0e573d6000803e3d6000fd5b505050503373ffffffffffffffffffffffffffffffffffffffff167f4896181ff8f4543cc00db9fe9b6fb7e6f032b7eb772c72ab1ec1b4d2e03b936960036000848152602001908152602001600020546040518082815260200191505060405180910390a250565b610a7e610426565b610af0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8060036000848152602001908152602001600020819055507f62399d91d89d6e694d41e47f3e6010c0e0b4ec78ecdddb1c02d0e321780859b08282604051808381526020018281526020019250505060405180910390a15050565b610b53610426565b610bc5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b610bce81610bd9565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610c5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180610d436026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505056fe6e6f7420656e6f7567682054494e477320746f2072656465656d20666f7220612074696e676f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373a265627a7a72315820d193efc948633a695ad82177f3413137ffca8d755dafad23b1085ee3ed355e7f64736f6c634300051100320000000000000000000000006d696d6982d2332f44358d9673c14a33780ea53100000000000000000000000074696e67451a48c2ac387b5855981654dc858ec3

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100a35760003560e01c806390f2435511610076578063db006a751161005b578063db006a75146101f4578063ea4a294f14610222578063f2fde38b1461025a576100a3565b806390f24355146101685780639b6bdf39146101b2576100a3565b8063715018a6146100a857806386425777146100b25780638da5cb5b146100fc5780638f32d59b14610146575b600080fd5b6100b061029e565b005b6100ba6103d7565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6101046103fd565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61014e610426565b604051808215151515815260200191505060405180910390f35b610170610484565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6101de600480360360208110156101c857600080fd5b81019080803590602001909291905050506104aa565b6040518082815260200191505060405180910390f35b6102206004803603602081101561020a57600080fd5b81019080803590602001909291905050506104c2565b005b6102586004803603604081101561023857600080fd5b810190808035906020019092919080359060200190929190505050610a76565b005b61029c6004803603602081101561027057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610b4b565b005b6102a6610426565b610318576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610468610bd1565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60036020528060005260406000206000915090505481565b60006003600083815260200190815260200160002054141561054c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f63617264206e6f7420666f756e6400000000000000000000000000000000000081525060200191505060405180910390fd5b6003600082815260200190815260200160002054600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156105ff57600080fd5b505afa158015610613573d6000803e3d6000fd5b505050506040513d602081101561062957600080fd5b81019080805190602001909291905050501015610691576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180610d1e6025913960400191505060405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663869f7594826040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561070457600080fd5b505afa158015610718573d6000803e3d6000fd5b505050506040513d602081101561072e57600080fd5b8101908080519060200190929190505050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bd85b039836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b1580156107b257600080fd5b505afa1580156107c6573d6000803e3d6000fd5b505050506040513d60208110156107dc57600080fd5b810190808051906020019092919050505010610860576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f6d6178206361726473206d696e7465640000000000000000000000000000000081525060200191505060405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639dc29fac3360036000858152602001908152602001600020546040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561091c57600080fd5b505af1158015610930573d6000803e3d6000fd5b50505050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663731133e9338360016040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200183815260200182815260200180602001828103825260008152602001602001945050505050600060405180830381600087803b1580156109fa57600080fd5b505af1158015610a0e573d6000803e3d6000fd5b505050503373ffffffffffffffffffffffffffffffffffffffff167f4896181ff8f4543cc00db9fe9b6fb7e6f032b7eb772c72ab1ec1b4d2e03b936960036000848152602001908152602001600020546040518082815260200191505060405180910390a250565b610a7e610426565b610af0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8060036000848152602001908152602001600020819055507f62399d91d89d6e694d41e47f3e6010c0e0b4ec78ecdddb1c02d0e321780859b08282604051808381526020018281526020019250505060405180910390a15050565b610b53610426565b610bc5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b610bce81610bd9565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610c5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180610d436026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505056fe6e6f7420656e6f7567682054494e477320746f2072656465656d20666f7220612074696e676f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373a265627a7a72315820d193efc948633a695ad82177f3413137ffca8d755dafad23b1085ee3ed355e7f64736f6c63430005110032

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

0000000000000000000000006d696d6982d2332f44358d9673c14a33780ea53100000000000000000000000074696e67451a48c2ac387b5855981654dc858ec3

-----Decoded View---------------
Arg [0] : _SmolStudioAddress (address): 0x6d696d6982D2332f44358d9673C14a33780Ea531
Arg [1] : _tingAddress (address): 0x74696e67451a48C2ac387B5855981654dc858Ec3

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000006d696d6982d2332f44358d9673c14a33780ea531
Arg [1] : 00000000000000000000000074696e67451a48c2ac387b5855981654dc858ec3


Deployed Bytecode Sourcemap

4778:1049:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4778:1049:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3600:140;;;:::i;:::-;;4814:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;2789:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;3155:94;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;4849:20;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;4876:44;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;4876:44:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;5363:461;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;5363:461:0;;;;;;;;;;;;;;;;;:::i;:::-;;5203:152;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;5203:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;3895:109;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;3895:109:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;3600:140;3001:9;:7;:9::i;:::-;2993:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3699:1;3662:40;;3683:6;;;;;;;;;;;3662:40;;;;;;;;;;;;3730:1;3713:6;;:19;;;;;;;;;;;;;;;;;;3600:140::o;4814:28::-;;;;;;;;;;;;;:::o;2789:79::-;2827:7;2854:6;;;;;;;;;;;2847:13;;2789:79;:::o;3155:94::-;3195:4;3235:6;;;;;;;;;;;3219:22;;:12;:10;:12::i;:::-;:22;;;3212:29;;3155:94;:::o;4849:20::-;;;;;;;;;;;;;:::o;4876:44::-;;;;;;;;;;;;;;;;;:::o;5363:461::-;5438:1;5419:9;:15;5429:4;5419:15;;;;;;;;;;;;:20;;5411:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5507:9;:15;5517:4;5507:15;;;;;;;;;;;;5477:4;;;;;;;;;;;:14;;;5492:10;5477:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5477:26:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;5477:26:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;5477:26:0;;;;;;;;;;;;;;;;:45;;5469:95;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5614:10;;;;;;;;;;;:20;;;5635:4;5614:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5614:26:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;5614:26:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;5614:26:0;;;;;;;;;;;;;;;;5583:10;;;;;;;;;;;:22;;;5606:4;5583:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5583:28:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;5583:28:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;5583:28:0;;;;;;;;;;;;;;;;:57;5575:86;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5674:4;;;;;;;;;;;:9;;;5684:10;5696:9;:15;5706:4;5696:15;;;;;;;;;;;;5674:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5674:38:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;5674:38:0;;;;5723:10;;;;;;;;;;;:15;;;5739:10;5751:4;5757:1;5723:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5723:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;5723:40:0;;;;5788:10;5779:37;;;5800:9;:15;5810:4;5800:15;;;;;;;;;;;;5779:37;;;;;;;;;;;;;;;;;;5363:461;:::o;5203:152::-;3001:9;:7;:9::i;:::-;2993:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5300:6;5280:9;:17;5290:6;5280:17;;;;;;;;;;;:26;;;;5322:25;5332:6;5340;5322:25;;;;;;;;;;;;;;;;;;;;;;;;5203:152;;:::o;3895:109::-;3001:9;:7;:9::i;:::-;2993:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3968:28;3987:8;3968:18;:28::i;:::-;3895:109;:::o;1580:98::-;1625:15;1660:10;1653:17;;1580:98;:::o;4110:229::-;4204:1;4184:22;;:8;:22;;;;4176:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4294:8;4265:38;;4286:6;;;;;;;;;;;4265:38;;;;;;;;;;;;4323:8;4314:6;;:17;;;;;;;;;;;;;;;;;;4110:229;:::o

Swarm Source

bzzr://d193efc948633a695ad82177f3413137ffca8d755dafad23b1085ee3ed355e7f

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.