ETH Price: $4,015.51 (+1.87%)

Contract

0xF9694E7f0C75AAcbe45Fd17e6c19b24A527125e2
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00
Transaction Hash
Method
Block
From
To
Mint182092832023-09-25 0:38:47449 days ago1695602327IN
0xF9694E7f...A527125e2
0.003 ETH0.000167097.01383355
Mint182092822023-09-25 0:38:35449 days ago1695602315IN
0xF9694E7f...A527125e2
0.003 ETH0.000172647.24670908
Mint182092822023-09-25 0:38:35449 days ago1695602315IN
0xF9694E7f...A527125e2
0.003 ETH0.000314567.26670908
Mint182092802023-09-25 0:38:11449 days ago1695602291IN
0xF9694E7f...A527125e2
0.03 ETH0.000332137.6725753
Mint182092802023-09-25 0:38:11449 days ago1695602291IN
0xF9694E7f...A527125e2
0.012 ETH0.000332137.6725753
Mint182092792023-09-25 0:37:59449 days ago1695602279IN
0xF9694E7f...A527125e2
0.003 ETH0.000301516.96511356
Mint182092792023-09-25 0:37:59449 days ago1695602279IN
0xF9694E7f...A527125e2
0.015 ETH0.000300646.94511356
Mint182092782023-09-25 0:37:47449 days ago1695602267IN
0xF9694E7f...A527125e2
0.006 ETH0.000313467.24121575
Mint182092782023-09-25 0:37:47449 days ago1695602267IN
0xF9694E7f...A527125e2
0.003 ETH0.000313467.24121575
Mint182092772023-09-25 0:37:35449 days ago1695602255IN
0xF9694E7f...A527125e2
0.006 ETH0.000321617.42942538
Mint182092772023-09-25 0:37:35449 days ago1695602255IN
0xF9694E7f...A527125e2
0.072 ETH0.000321617.42942538
Mint182092742023-09-25 0:36:59449 days ago1695602219IN
0xF9694E7f...A527125e2
0.015 ETH0.000343547.93613295
Mint182092732023-09-25 0:36:47449 days ago1695602207IN
0xF9694E7f...A527125e2
0.003 ETH0.000362678.37792323
Mint182092712023-09-25 0:36:23449 days ago1695602183IN
0xF9694E7f...A527125e2
0.015 ETH0.000314557.26628102
Mint182092692023-09-25 0:35:59449 days ago1695602159IN
0xF9694E7f...A527125e2
0.087 ETH0.000316627.31413844
Mint182092682023-09-25 0:35:47449 days ago1695602147IN
0xF9694E7f...A527125e2
0.015 ETH0.000327527.56603235
Mint182092672023-09-25 0:35:35449 days ago1695602135IN
0xF9694E7f...A527125e2
0.06 ETH0.000305117.04843907
Mint182092632023-09-25 0:34:47449 days ago1695602087IN
0xF9694E7f...A527125e2
0.009 ETH0.00033297.69030129
Mint182092632023-09-25 0:34:47449 days ago1695602087IN
0xF9694E7f...A527125e2
0.009 ETH0.00033667.77568701
Mint182092632023-09-25 0:34:47449 days ago1695602087IN
0xF9694E7f...A527125e2
0.009 ETH0.00033667.77568701
Mint182092622023-09-25 0:34:35449 days ago1695602075IN
0xF9694E7f...A527125e2
0.012 ETH0.000357648.26170762
Mint182092582023-09-25 0:33:47449 days ago1695602027IN
0xF9694E7f...A527125e2
0.015 ETH0.000341387.88618581
Mint182092562023-09-25 0:33:23449 days ago1695602003IN
0xF9694E7f...A527125e2
0.015 ETH0.000358588.28361919
Mint182092562023-09-25 0:33:23449 days ago1695602003IN
0xF9694E7f...A527125e2
0.003 ETH0.000359458.30361919
Mint182092562023-09-25 0:33:23449 days ago1695602003IN
0xF9694E7f...A527125e2
0.06 ETH0.000359458.30361919
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
182092822023-09-25 0:38:35449 days ago1695602315
0xF9694E7f...A527125e2
0.003 ETH
182092802023-09-25 0:38:11449 days ago1695602291
0xF9694E7f...A527125e2
0.03 ETH
182092802023-09-25 0:38:11449 days ago1695602291
0xF9694E7f...A527125e2
0.012 ETH
182092792023-09-25 0:37:59449 days ago1695602279
0xF9694E7f...A527125e2
0.003 ETH
182092792023-09-25 0:37:59449 days ago1695602279
0xF9694E7f...A527125e2
0.015 ETH
182092782023-09-25 0:37:47449 days ago1695602267
0xF9694E7f...A527125e2
0.006 ETH
182092782023-09-25 0:37:47449 days ago1695602267
0xF9694E7f...A527125e2
0.003 ETH
182092772023-09-25 0:37:35449 days ago1695602255
0xF9694E7f...A527125e2
0.006 ETH
182092772023-09-25 0:37:35449 days ago1695602255
0xF9694E7f...A527125e2
0.072 ETH
182092742023-09-25 0:36:59449 days ago1695602219
0xF9694E7f...A527125e2
0.015 ETH
182092732023-09-25 0:36:47449 days ago1695602207
0xF9694E7f...A527125e2
0.003 ETH
182092712023-09-25 0:36:23449 days ago1695602183
0xF9694E7f...A527125e2
0.015 ETH
182092692023-09-25 0:35:59449 days ago1695602159
0xF9694E7f...A527125e2
0.087 ETH
182092682023-09-25 0:35:47449 days ago1695602147
0xF9694E7f...A527125e2
0.015 ETH
182092672023-09-25 0:35:35449 days ago1695602135
0xF9694E7f...A527125e2
0.06 ETH
182092632023-09-25 0:34:47449 days ago1695602087
0xF9694E7f...A527125e2
0.009 ETH
182092632023-09-25 0:34:47449 days ago1695602087
0xF9694E7f...A527125e2
0.009 ETH
182092632023-09-25 0:34:47449 days ago1695602087
0xF9694E7f...A527125e2
0.009 ETH
182092622023-09-25 0:34:35449 days ago1695602075
0xF9694E7f...A527125e2
0.012 ETH
182092582023-09-25 0:33:47449 days ago1695602027
0xF9694E7f...A527125e2
0.015 ETH
182092562023-09-25 0:33:23449 days ago1695602003
0xF9694E7f...A527125e2
0.015 ETH
182092562023-09-25 0:33:23449 days ago1695602003
0xF9694E7f...A527125e2
0.003 ETH
182092562023-09-25 0:33:23449 days ago1695602003
0xF9694E7f...A527125e2
0.06 ETH
182092542023-09-25 0:32:59449 days ago1695601979
0xF9694E7f...A527125e2
0.03 ETH
182092522023-09-25 0:32:35449 days ago1695601955
0xF9694E7f...A527125e2
0.303 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Inscripigeons

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, Unlicense license
/**
 *Submitted for verification at Etherscan.io on 2023-09-23
*/

// SPDX-License-Identifier: Unlicensed

pragma solidity ^0.8.20;

contract Inscripigeons {

    error MaxSupplyReached();
    error InvalidValue();
    error RequestingTooMany();
    error TransferFailed();
    error OnlyOwner();
    error AlreadyClaimed();
    error InvalidSnapshotProof();

    event Mint(address indexed minter, uint256 indexed amount, uint256 startID);

    uint256 public TOTAL_SUPPLY = 0;
    uint256 public PRICE = 0.003 * 1 ether;
    uint256 public immutable MAX_SUPPLY = 4900;

    address OWNER;

    modifier onlyOwner() {
        if (msg.sender != OWNER) {
            revert OnlyOwner();
        }
        _;
    }

    constructor () {
        OWNER = msg.sender;
    }

    function setPrice(uint256 _PRICE) external onlyOwner {
        PRICE = _PRICE;
    }

    function mint(uint256 amount) external payable {
        if (TOTAL_SUPPLY == MAX_SUPPLY) { revert MaxSupplyReached(); }
        if ((TOTAL_SUPPLY + amount) > MAX_SUPPLY) { revert RequestingTooMany(); }
        if ((PRICE * amount) != msg.value) { revert InvalidValue(); }
        

        (bool success,) = address(OWNER).call{value: msg.value}("");
        if (!success) {
            revert TransferFailed();
        }

        emit Mint(msg.sender, amount, TOTAL_SUPPLY);
        
        unchecked {
            TOTAL_SUPPLY += amount;
        }
    }

    function withdraw() external onlyOwner {
        (bool success,) = address(OWNER).call{value: address(this).balance}("");
        if (!success) {
            revert TransferFailed();
        }
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyClaimed","type":"error"},{"inputs":[],"name":"InvalidSnapshotProof","type":"error"},{"inputs":[],"name":"InvalidValue","type":"error"},{"inputs":[],"name":"MaxSupplyReached","type":"error"},{"inputs":[],"name":"OnlyOwner","type":"error"},{"inputs":[],"name":"RequestingTooMany","type":"error"},{"inputs":[],"name":"TransferFailed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"minter","type":"address"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"startID","type":"uint256"}],"name":"Mint","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_PRICE","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040525f8055660aa87bee538000600155611324608090815250348015610026575f80fd5b503360025f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060805161070261008d5f395f81816101320152818161033a015261039401526107025ff3fe608060405260043610610054575f3560e01c806332cb6b0c146100585780633ccfd60b146100825780638d859f3e14610098578063902d55a5146100c257806391b7f5ed146100ec578063a0712d6814610114575b5f80fd5b348015610063575f80fd5b5061006c610130565b6040516100799190610578565b60405180910390f35b34801561008d575f80fd5b50610096610154565b005b3480156100a3575f80fd5b506100ac61029d565b6040516100b99190610578565b60405180910390f35b3480156100cd575f80fd5b506100d66102a3565b6040516100e39190610578565b60405180910390f35b3480156100f7575f80fd5b50610112600480360381019061010d91906105bf565b6102a8565b005b61012e600480360381019061012991906105bf565b610338565b005b7f000000000000000000000000000000000000000000000000000000000000000081565b60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146101da576040517f5fc483c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff164760405161022090610617565b5f6040518083038185875af1925050503d805f811461025a576040519150601f19603f3d011682016040523d82523d5f602084013e61025f565b606091505b505090508061029a576040517f90b8ec1800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b60015481565b5f5481565b60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461032e576040517f5fc483c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060018190555050565b7f00000000000000000000000000000000000000000000000000000000000000005f5403610392576040517fd05cb60900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000815f546103c09190610658565b11156103f8576040517f9e0456c300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3481600154610407919061068b565b1461043e576040517faa7feadc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163460405161048490610617565b5f6040518083038185875af1925050503d805f81146104be576040519150601f19603f3d011682016040523d82523d5f602084013e6104c3565b606091505b50509050806104fe576040517f90b8ec1800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b813373ffffffffffffffffffffffffffffffffffffffff167f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f5f546040516105469190610578565b60405180910390a3815f8082825401925050819055505050565b5f819050919050565b61057281610560565b82525050565b5f60208201905061058b5f830184610569565b92915050565b5f80fd5b61059e81610560565b81146105a8575f80fd5b50565b5f813590506105b981610595565b92915050565b5f602082840312156105d4576105d3610591565b5b5f6105e1848285016105ab565b91505092915050565b5f81905092915050565b50565b5f6106025f836105ea565b915061060d826105f4565b5f82019050919050565b5f610621826105f7565b9150819050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61066282610560565b915061066d83610560565b92508282019050808211156106855761068461062b565b5b92915050565b5f61069582610560565b91506106a083610560565b92508282026106ae81610560565b915082820484148315176106c5576106c461062b565b5b509291505056fea2646970667358221220c09c9028370a057b53f1b28412d7d60671134b431800f63d3d326cf34e8d88de64736f6c63430008140033

Deployed Bytecode

0x608060405260043610610054575f3560e01c806332cb6b0c146100585780633ccfd60b146100825780638d859f3e14610098578063902d55a5146100c257806391b7f5ed146100ec578063a0712d6814610114575b5f80fd5b348015610063575f80fd5b5061006c610130565b6040516100799190610578565b60405180910390f35b34801561008d575f80fd5b50610096610154565b005b3480156100a3575f80fd5b506100ac61029d565b6040516100b99190610578565b60405180910390f35b3480156100cd575f80fd5b506100d66102a3565b6040516100e39190610578565b60405180910390f35b3480156100f7575f80fd5b50610112600480360381019061010d91906105bf565b6102a8565b005b61012e600480360381019061012991906105bf565b610338565b005b7f000000000000000000000000000000000000000000000000000000000000132481565b60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146101da576040517f5fc483c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff164760405161022090610617565b5f6040518083038185875af1925050503d805f811461025a576040519150601f19603f3d011682016040523d82523d5f602084013e61025f565b606091505b505090508061029a576040517f90b8ec1800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b60015481565b5f5481565b60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461032e576040517f5fc483c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060018190555050565b7f00000000000000000000000000000000000000000000000000000000000013245f5403610392576040517fd05cb60900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000001324815f546103c09190610658565b11156103f8576040517f9e0456c300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3481600154610407919061068b565b1461043e576040517faa7feadc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163460405161048490610617565b5f6040518083038185875af1925050503d805f81146104be576040519150601f19603f3d011682016040523d82523d5f602084013e6104c3565b606091505b50509050806104fe576040517f90b8ec1800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b813373ffffffffffffffffffffffffffffffffffffffff167f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f5f546040516105469190610578565b60405180910390a3815f8082825401925050819055505050565b5f819050919050565b61057281610560565b82525050565b5f60208201905061058b5f830184610569565b92915050565b5f80fd5b61059e81610560565b81146105a8575f80fd5b50565b5f813590506105b981610595565b92915050565b5f602082840312156105d4576105d3610591565b5b5f6105e1848285016105ab565b91505092915050565b5f81905092915050565b50565b5f6106025f836105ea565b915061060d826105f4565b5f82019050919050565b5f610621826105f7565b9150819050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61066282610560565b915061066d83610560565b92508282019050808211156106855761068461062b565b5b92915050565b5f61069582610560565b91506106a083610560565b92508282026106ae81610560565b915082820484148315176106c5576106c461062b565b5b509291505056fea2646970667358221220c09c9028370a057b53f1b28412d7d60671134b431800f63d3d326cf34e8d88de64736f6c63430008140033

Deployed Bytecode Sourcemap

70:1550:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;478:42;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1414:203;;;;;;;;;;;;;:::i;:::-;;433:38;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;395:31;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;740:86;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;834:572;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;478:42;;;:::o;1414:203::-;601:5;;;;;;;;;;;587:19;;:10;:19;;;583:70;;630:11;;;;;;;;;;;;;;583:70;1465:12:::1;1490:5;;;;;;;;;;;1482:19;;1509:21;1482:53;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1464:71;;;1551:7;1546:64;;1582:16;;;;;;;;;;;;;;1546:64;1453:164;1414:203::o:0;433:38::-;;;;:::o;395:31::-;;;;:::o;740:86::-;601:5;;;;;;;;;;;587:19;;:10;:19;;;583:70;;630:11;;;;;;;;;;;;;;583:70;812:6:::1;804:5;:14;;;;740:86:::0;:::o;834:572::-;912:10;896:12;;:26;892:62;;933:18;;;;;;;;;;;;;;892:62;994:10;984:6;969:12;;:21;;;;:::i;:::-;968:36;964:73;;;1015:19;;;;;;;;;;;;;;964:73;1071:9;1060:6;1052:5;;:14;;;;:::i;:::-;1051:29;1047:61;;1091:14;;;;;;;;;;;;;;1047:61;1131:12;1156:5;;;;;;;;;;;1148:19;;1175:9;1148:41;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1130:59;;;1205:7;1200:64;;1236:16;;;;;;;;;;;;;;1200:64;1298:6;1286:10;1281:38;;;1306:12;;1281:38;;;;;;:::i;:::-;;;;;;;;1381:6;1365:12;;:22;;;;;;;;;;;881:525;834:572;:::o;7:77:1:-;44:7;73:5;62:16;;7:77;;;:::o;90:118::-;177:24;195:5;177:24;:::i;:::-;172:3;165:37;90:118;;:::o;214:222::-;307:4;345:2;334:9;330:18;322:26;;358:71;426:1;415:9;411:17;402:6;358:71;:::i;:::-;214:222;;;;:::o;523:117::-;632:1;629;622:12;769:122;842:24;860:5;842:24;:::i;:::-;835:5;832:35;822:63;;881:1;878;871:12;822:63;769:122;:::o;897:139::-;943:5;981:6;968:20;959:29;;997:33;1024:5;997:33;:::i;:::-;897:139;;;;:::o;1042:329::-;1101:6;1150:2;1138:9;1129:7;1125:23;1121:32;1118:119;;;1156:79;;:::i;:::-;1118:119;1276:1;1301:53;1346:7;1337:6;1326:9;1322:22;1301:53;:::i;:::-;1291:63;;1247:117;1042:329;;;;:::o;1377:147::-;1478:11;1515:3;1500:18;;1377:147;;;;:::o;1530:114::-;;:::o;1650:398::-;1809:3;1830:83;1911:1;1906:3;1830:83;:::i;:::-;1823:90;;1922:93;2011:3;1922:93;:::i;:::-;2040:1;2035:3;2031:11;2024:18;;1650:398;;;:::o;2054:379::-;2238:3;2260:147;2403:3;2260:147;:::i;:::-;2253:154;;2424:3;2417:10;;2054:379;;;:::o;2439:180::-;2487:77;2484:1;2477:88;2584:4;2581:1;2574:15;2608:4;2605:1;2598:15;2625:191;2665:3;2684:20;2702:1;2684:20;:::i;:::-;2679:25;;2718:20;2736:1;2718:20;:::i;:::-;2713:25;;2761:1;2758;2754:9;2747:16;;2782:3;2779:1;2776:10;2773:36;;;2789:18;;:::i;:::-;2773:36;2625:191;;;;:::o;2822:410::-;2862:7;2885:20;2903:1;2885:20;:::i;:::-;2880:25;;2919:20;2937:1;2919:20;:::i;:::-;2914:25;;2974:1;2971;2967:9;2996:30;3014:11;2996:30;:::i;:::-;2985:41;;3175:1;3166:7;3162:15;3159:1;3156:22;3136:1;3129:9;3109:83;3086:139;;3205:18;;:::i;:::-;3086:139;2870:362;2822:410;;;;:::o

Swarm Source

ipfs://c09c9028370a057b53f1b28412d7d60671134b431800f63d3d326cf34e8d88de

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  ]
[ 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.