Contract 0x9aA3D159Eb155305A11aF921696576A3e195d24d 1

 

Contract Overview

Balance:
0.‍01 Ether

EtherValue:
$18.97 (@ $1,896.85/ETH)

Token:
Txn Hash
Method
Block
From
To
Value
0xa608d91a45de44c5a13b2f7206bf1baf004b9e7262413d4cb2bb31ddefd903a1Buy And Wrap121566502021-04-01 23:37:47496 days 15 hrs agoENS Name crunchycat.eth IN  0x9aa3d159eb155305a11af921696576a3e195d24d0.‍31 Ether0.‍04927104141
0xeecd9afb32d39e40e3d8cfd21f0f95cf918fd5307cc891238514dae8f021e4fbWithdraw120995582021-03-24 4:45:35505 days 10 hrs agoENS Name foobardev.eth IN  0x9aa3d159eb155305a11af921696576a3e195d24d0 Ether0.‍00369962125
0xce2cce54f1c93abe7c67c7a9caf791501f68fdd8d653088812b1bce40ca55d6eBuy And Wrap120685562021-03-19 10:11:13510 days 4 hrs ago0x508d496036bc285487086a649e816fd5ca8f54ff IN  0x9aa3d159eb155305a11af921696576a3e195d24d0.‍58 Ether0.‍03898576136
0x5b7ad40c77cd4058c8ef9adefad0bf1f16e3ba3d8311b5a8746c74faaf4968eeBuy And Wrap120682862021-03-19 9:12:54510 days 5 hrs ago0x508d496036bc285487086a649e816fd5ca8f54ff IN  0x9aa3d159eb155305a11af921696576a3e195d24d0.‍81 Ether0.‍05484816164
0xb51b7f6df4f67c3f0b0e85889d42170fada61251c7aab037430480def552f55aBuy And Wrap120590822021-03-17 23:09:31511 days 15 hrs ago0x508d496036bc285487086a649e816fd5ca8f54ff IN  0x9aa3d159eb155305a11af921696576a3e195d24d0.‍51 Ether0.‍06045312173
0x324114b966cdc0045db1d224e5bdb23351cd30636fa3b217421d4a031221e475Buy And Wrap120582622021-03-17 20:13:12511 days 18 hrs ago0x50ed6500e5e0e4ca1cf8f7006c4a4ebc469c82e1 IN  0x9aa3d159eb155305a11af921696576a3e195d24d0.‍66 Ether0.‍07223904216
0x47ac0e8f8b8c372c94c3ca24231b1eee64475d6b5e3bfbfb9283214962a25c8aBuy And Wrap120581962021-03-17 19:58:45511 days 18 hrs ago0x50ed6500e5e0e4ca1cf8f7006c4a4ebc469c82e1 IN  0x9aa3d159eb155305a11af921696576a3e195d24d0.‍54 Ether0.‍0733824210
0x897febbd62673d463f97496f956ea8301b9e2adead18a8537be8b488e828fc99Buy And Wrap120542222021-03-17 5:17:07512 days 9 hrs ago0x50ed6500e5e0e4ca1cf8f7006c4a4ebc469c82e1 IN  0x9aa3d159eb155305a11af921696576a3e195d24d0.‍59 Ether0.‍04882824146
0x61a4f72368bd1cbfe97981b02c28ac390cfa80ed3aefa30c16d1f642030f8b48Buy And Wrap120541782021-03-17 5:06:24512 days 9 hrs ago0x50ed6500e5e0e4ca1cf8f7006c4a4ebc469c82e1 IN  0x9aa3d159eb155305a11af921696576a3e195d24d0.‍61 Ether0.‍05381376154
0xf3c796d6352600844b6826a703926fccf6a1b0491b6238651180726a6c8f2521Buy And Wrap120541482021-03-17 4:59:40512 days 9 hrs ago0x50ed6500e5e0e4ca1cf8f7006c4a4ebc469c82e1 IN  0x9aa3d159eb155305a11af921696576a3e195d24d0.‍59 Ether0.‍05381376154
0x61ebc875454b1c4298fd6ca0d48a3865a1be65db2520c796386bef7c63b7afabBuy And Wrap120539092021-03-17 4:08:53512 days 10 hrs agoENS Name newreligion.eth IN  0x9aa3d159eb155305a11af921696576a3e195d24d0.‍61 Ether0.‍04481496134
0x10da54758961fe0c77a8b62272c2f2c7b2091f44a40e50c47a6b36aff43714ecBuy And Wrap120538772021-03-17 4:01:26512 days 10 hrs ago0x50ed6500e5e0e4ca1cf8f7006c4a4ebc469c82e1 IN  0x9aa3d159eb155305a11af921696576a3e195d24d0.‍59 Ether0.‍0518382155
0x12b61ae9d4431fe4650a8e2259239f71b3e25c2d2a25272fc0176c2c649e992dBuy And Wrap120535702021-03-17 2:51:16512 days 11 hrs ago0x508d496036bc285487086a649e816fd5ca8f54ff IN  0x9aa3d159eb155305a11af921696576a3e195d24d0.‍56 Ether0.‍00545446163
0xe17da588c331846ef11c0d48852be1d2336d6b63d258a9bc11c13242c9a24c13Buy And Wrap120533532021-03-17 2:04:24512 days 12 hrs agoENS Name crunchycat.eth IN  0x9aa3d159eb155305a11af921696576a3e195d24d0.‍557 Ether0.‍05083488152
0x0a0a25be89ce9617c4da4f197440c155d02695d587708a768342b6f32bc67f8eBuy And Wrap120530902021-03-17 1:04:53512 days 13 hrs agoENS Name avarice.eth IN  0x9aa3d159eb155305a11af921696576a3e195d24d0.‍61 Ether0.‍06254028187
0xe2cd69e66af1c33f186bc512c1f5a8a1c4ba368de18ece4c9c605f17ce7eb013Buy And Wrap120530712021-03-17 1:01:37512 days 13 hrs ago0x50ed6500e5e0e4ca1cf8f7006c4a4ebc469c82e1 IN  0x9aa3d159eb155305a11af921696576a3e195d24d0.‍51 Ether0.‍0735768220
0x5dabe6317a819860e30091a1bb02ceb996d64c0abaa9f203bf0559dcaf4dafefBuy And Wrap120530512021-03-17 0:56:46512 days 13 hrs ago0x50ed6500e5e0e4ca1cf8f7006c4a4ebc469c82e1 IN  0x9aa3d159eb155305a11af921696576a3e195d24d0.‍51 Ether0.‍06989796209
0x3be856e219f28a6d7762a6c7acf25f7884675334ee3a25db115997ee70abb347Buy And Wrap120528902021-03-17 0:19:54512 days 14 hrs ago0x50ed6500e5e0e4ca1cf8f7006c4a4ebc469c82e1 IN  0x9aa3d159eb155305a11af921696576a3e195d24d0.‍63 Ether0.‍069888200
0xbb73ffb768c7d8ce10d5ba6cafbb841faefe59768b8bc1e507392285443feb090x60806040120525632021-03-16 22:58:18512 days 15 hrs agoENS Name foobardev.eth IN  Create: MooncatHelper0 Ether0.‍07063140
[ Download CSV Export 
Latest 18 internal transactions
Parent Txn Hash Block From To Value
0xa608d91a45de44c5a13b2f7206bf1baf004b9e7262413d4cb2bb31ddefd903a1121566502021-04-01 23:37:47496 days 15 hrs ago 0x9aa3d159eb155305a11af921696576a3e195d24d 0x60cd862c9c687a9de49aecdc3a99b74a4fc54ab60.‍3 Ether
0xeecd9afb32d39e40e3d8cfd21f0f95cf918fd5307cc891238514dae8f021e4fb120995582021-03-24 4:45:35505 days 10 hrs ago 0x9aa3d159eb155305a11af921696576a3e195d24dENS Name foobardev.eth0.‍15 Ether
0xce2cce54f1c93abe7c67c7a9caf791501f68fdd8d653088812b1bce40ca55d6e120685562021-03-19 10:11:13510 days 4 hrs ago 0x9aa3d159eb155305a11af921696576a3e195d24d 0x60cd862c9c687a9de49aecdc3a99b74a4fc54ab60.‍57 Ether
0x5b7ad40c77cd4058c8ef9adefad0bf1f16e3ba3d8311b5a8746c74faaf4968ee120682862021-03-19 9:12:54510 days 5 hrs ago 0x9aa3d159eb155305a11af921696576a3e195d24d 0x60cd862c9c687a9de49aecdc3a99b74a4fc54ab60.‍8 Ether
0xb51b7f6df4f67c3f0b0e85889d42170fada61251c7aab037430480def552f55a120590822021-03-17 23:09:31511 days 15 hrs ago 0x9aa3d159eb155305a11af921696576a3e195d24d 0x60cd862c9c687a9de49aecdc3a99b74a4fc54ab60.‍5 Ether
0x324114b966cdc0045db1d224e5bdb23351cd30636fa3b217421d4a031221e475120582622021-03-17 20:13:12511 days 18 hrs ago 0x9aa3d159eb155305a11af921696576a3e195d24d 0x60cd862c9c687a9de49aecdc3a99b74a4fc54ab60.‍65 Ether
0x47ac0e8f8b8c372c94c3ca24231b1eee64475d6b5e3bfbfb9283214962a25c8a120581962021-03-17 19:58:45511 days 18 hrs ago 0x9aa3d159eb155305a11af921696576a3e195d24d 0x60cd862c9c687a9de49aecdc3a99b74a4fc54ab60.‍53 Ether
0x897febbd62673d463f97496f956ea8301b9e2adead18a8537be8b488e828fc99120542222021-03-17 5:17:07512 days 9 hrs ago 0x9aa3d159eb155305a11af921696576a3e195d24d 0x60cd862c9c687a9de49aecdc3a99b74a4fc54ab60.‍58 Ether
0x61a4f72368bd1cbfe97981b02c28ac390cfa80ed3aefa30c16d1f642030f8b48120541782021-03-17 5:06:24512 days 9 hrs ago 0x9aa3d159eb155305a11af921696576a3e195d24d 0x60cd862c9c687a9de49aecdc3a99b74a4fc54ab60.‍6 Ether
0xf3c796d6352600844b6826a703926fccf6a1b0491b6238651180726a6c8f2521120541482021-03-17 4:59:40512 days 9 hrs ago 0x9aa3d159eb155305a11af921696576a3e195d24d 0x60cd862c9c687a9de49aecdc3a99b74a4fc54ab60.‍58 Ether
0x61ebc875454b1c4298fd6ca0d48a3865a1be65db2520c796386bef7c63b7afab120539092021-03-17 4:08:53512 days 10 hrs ago 0x9aa3d159eb155305a11af921696576a3e195d24d 0x60cd862c9c687a9de49aecdc3a99b74a4fc54ab60.‍6 Ether
0x10da54758961fe0c77a8b62272c2f2c7b2091f44a40e50c47a6b36aff43714ec120538772021-03-17 4:01:26512 days 10 hrs ago 0x9aa3d159eb155305a11af921696576a3e195d24d 0x60cd862c9c687a9de49aecdc3a99b74a4fc54ab60.‍58 Ether
0x12b61ae9d4431fe4650a8e2259239f71b3e25c2d2a25272fc0176c2c649e992d120535702021-03-17 2:51:16512 days 11 hrs ago 0x9aa3d159eb155305a11af921696576a3e195d24d 0x60cd862c9c687a9de49aecdc3a99b74a4fc54ab60.‍55 Ether
0xe17da588c331846ef11c0d48852be1d2336d6b63d258a9bc11c13242c9a24c13120533532021-03-17 2:04:24512 days 12 hrs ago 0x9aa3d159eb155305a11af921696576a3e195d24d 0x60cd862c9c687a9de49aecdc3a99b74a4fc54ab60.‍547 Ether
0x0a0a25be89ce9617c4da4f197440c155d02695d587708a768342b6f32bc67f8e120530902021-03-17 1:04:53512 days 13 hrs ago 0x9aa3d159eb155305a11af921696576a3e195d24d 0x60cd862c9c687a9de49aecdc3a99b74a4fc54ab60.‍6 Ether
0xe2cd69e66af1c33f186bc512c1f5a8a1c4ba368de18ece4c9c605f17ce7eb013120530712021-03-17 1:01:37512 days 13 hrs ago 0x9aa3d159eb155305a11af921696576a3e195d24d 0x60cd862c9c687a9de49aecdc3a99b74a4fc54ab60.‍5 Ether
0x5dabe6317a819860e30091a1bb02ceb996d64c0abaa9f203bf0559dcaf4dafef120530512021-03-17 0:56:46512 days 13 hrs ago 0x9aa3d159eb155305a11af921696576a3e195d24d 0x60cd862c9c687a9de49aecdc3a99b74a4fc54ab60.‍5 Ether
0x3be856e219f28a6d7762a6c7acf25f7884675334ee3a25db115997ee70abb347120528902021-03-17 0:19:54512 days 14 hrs ago 0x9aa3d159eb155305a11af921696576a3e195d24d 0x60cd862c9c687a9de49aecdc3a99b74a4fc54ab60.‍62 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MooncatHelper

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at Etherscan.io on 2021-03-16
*/

// SPDX-License-Identifier: GPL-3.0

pragma solidity ^0.6.0;

interface MooncatContract {

    function catOwners(bytes5 catId) external view returns (address);

    function remainingGenesisCats() external view returns (uint);

    function makeAdoptionOffer(bytes5 catId, uint price) external;

    function makeAdoptionOfferToAddress(bytes5 catId, uint price, address to) external;

    function acceptAdoptionOffer(bytes5 catId) external payable;

}

interface WrappedMooncatContract {

    function wrap(bytes5 catId) external;

    function unwrap(uint256 tokenID) external;

    function transferFrom(address from, address to, uint256 tokenId) external;

    function _catIDToTokenID(bytes5 catId) external view returns (uint);

    function ownerOf(uint256 tokenId) external view returns (address);
}

contract MooncatHelper {

    address mc = 0x60cd862c9C687A9dE49aecdC3A99b74A4fc54aB6;
    address wmc = 0x7C40c393DC0f283F318791d746d894DdD3693572;
    uint256 fee = 10000000000000000;
    address payable public dev;

    constructor() public payable {
        dev = payable(msg.sender);
    }

    function buyAndWrap(bytes5 catId) public payable {
        require(msg.value > fee, "Please include 0.01 eth fee");
        MooncatContract(mc).acceptAdoptionOffer{value:msg.value-fee}(catId);
        MooncatContract(mc).makeAdoptionOfferToAddress(catId, 0, wmc);
        WrappedMooncatContract(wmc).wrap(catId);
        uint tokenId = WrappedMooncatContract(wmc)._catIDToTokenID(catId);
        WrappedMooncatContract(wmc).transferFrom(address(this), msg.sender, tokenId);
    }

    function withdraw() public {
        uint amount = address(this).balance;
        (bool success,) = dev.call{value: amount}("");
        require(success, "Failed to send Ether");
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"payable","type":"constructor"},{"inputs":[{"internalType":"bytes5","name":"catId","type":"bytes5"}],"name":"buyAndWrap","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"dev","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040527360cd862c9c687a9de49aecdc3a99b74a4fc54ab66000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550737c40c393dc0f283f318791d746d894ddd3693572600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550662386f26fc1000060025533600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061069f806101086000396000f3fe6080604052600436106100345760003560e01c8063342f7634146100395780633ccfd60b1461008557806391cca3db1461009c575b600080fd5b6100836004803603602081101561004f57600080fd5b8101908080357affffffffffffffffffffffffffffffffffffffffffffffffffffff191690602001909291905050506100dd565b005b34801561009157600080fd5b5061009a61053c565b005b3480156100a857600080fd5b506100b1610643565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6002543411610154576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f506c6561736520696e636c75646520302e30312065746820666565000000000081525060200191505060405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631be705106002543403836040518363ffffffff1660e01b815260040180827affffffffffffffffffffffffffffffffffffffffffffffffffffff191681526020019150506000604051808303818588803b1580156101e957600080fd5b505af11580156101fd573d6000803e3d6000fd5b505050505060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a4202615826000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518463ffffffff1660e01b815260040180847affffffffffffffffffffffffffffffffffffffffffffffffffffff191681526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019350505050600060405180830381600087803b1580156102dc57600080fd5b505af11580156102f0573d6000803e3d6000fd5b50505050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166379b177ec826040518263ffffffff1660e01b815260040180827affffffffffffffffffffffffffffffffffffffffffffffffffffff19168152602001915050600060405180830381600087803b15801561038757600080fd5b505af115801561039b573d6000803e3d6000fd5b505050506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635ce879a8836040518263ffffffff1660e01b815260040180827affffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200191505060206040518083038186803b15801561043257600080fd5b505afa158015610446573d6000803e3d6000fd5b505050506040513d602081101561045c57600080fd5b81019080805190602001909291905050509050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3033846040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b15801561052057600080fd5b505af1158015610534573d6000803e3d6000fd5b505050505050565b60004790506000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168260405180600001905060006040518083038185875af1925050503d80600081146105c3576040519150601f19603f3d011682016040523d82523d6000602084013e6105c8565b606091505b505090508061063f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f4661696c656420746f2073656e6420457468657200000000000000000000000081525060200191505060405180910390fd5b5050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168156fea2646970667358221220ceb535a6892615471a1804d6e1796b38e00dd955700f4a485360ec94dcedb74464736f6c634300060c0033

Deployed ByteCode Sourcemap

841:998:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1152:486;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;1646:188;;;;;;;;;;;;;:::i;:::-;;1036:26;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;1152:486;1232:3;;1220:9;:15;1212:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1294:2;;;;;;;;;;1278:39;;;1334:3;;1324:9;:13;1339:5;1278:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1372:2;;;;;;;;;;1356:46;;;1403:5;1410:1;1413:3;;;;;;;;;;;1356:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1451:3;;;;;;;;;;;1428:32;;;1461:5;1428:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1478:12;1516:3;;;;;;;;;;;1493:43;;;1537:5;1493:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1478:65;;1577:3;;;;;;;;;;;1554:40;;;1603:4;1610:10;1622:7;1554:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1152:486;;:::o;1646:188::-;1684:11;1698:21;1684:35;;1731:12;1748:3;;;;;;;;;;;:8;;1764:6;1748:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1730:45;;;1794:7;1786:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1646:188;;:::o;1036:26::-;;;;;;;;;;;;;:::o

Swarm Source

ipfs://ceb535a6892615471a1804d6e1796b38e00dd955700f4a485360ec94dcedb744
Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

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.