MATIC Price: $0.99 (+1.68%)
Gas: 62 Gwei
 

Overview

MATIC Balance

Polygon PoS Chain LogoPolygon PoS Chain LogoPolygon PoS Chain Logo0 MATIC

MATIC Value

$0.00

Token Holdings

Sponsored

Transaction Hash
Method
Block
From
To
Value
Claim508894092023-12-08 12:05:1280 days 3 mins ago1702037112IN
0x4B4610...dd832361
0 MATIC0.33057684762.42684966
Claim508893862023-12-08 12:04:2280 days 4 mins ago1702037062IN
0x4B4610...dd832361
0 MATIC0.31775643732.85846326
Claim508893632023-12-08 12:03:3480 days 5 mins ago1702037014IN
0x4B4610...dd832361
0 MATIC0.3497306806.60217648
Claim504162262023-11-26 14:55:5191 days 21 hrs ago1701010551IN
0x4B4610...dd832361
0 MATIC4.13744209168.83752629
Claim504151172023-11-26 14:16:3391 days 21 hrs ago1701008193IN
0x4B4610...dd832361
0 MATIC4.13792372168.85718025
Claim504149722023-11-26 14:11:2591 days 21 hrs ago1701007885IN
0x4B4610...dd832361
0 MATIC2.7662828112.88432208
Claim504147212023-11-26 14:02:3191 days 22 hrs ago1701007351IN
0x4B4610...dd832361
0 MATIC2.05297891125.59929723
Claim504146282023-11-26 13:59:1391 days 22 hrs ago1701007153IN
0x4B4610...dd832361
0 MATIC3.68629184129.34752647
Claim504091702023-11-26 10:42:5692 days 1 hr ago1700995376IN
0x4B4610...dd832361
0 MATIC0.27056261321.53757742
Claim504090742023-11-26 10:39:2492 days 1 hr ago1700995164IN
0x4B4610...dd832361
0 MATIC0.25699598305.41494014
Claim504090492023-11-26 10:38:3092 days 1 hr ago1700995110IN
0x4B4610...dd832361
0 MATIC0.03086568288.32155164
Claim504053352023-11-26 8:24:1792 days 3 hrs ago1700987057IN
0x4B4610...dd832361
0 MATIC0.2455639530.00000066
Claim503410182023-11-24 17:34:4793 days 18 hrs ago1700847287IN
0x4B4610...dd832361
0 MATIC0.08320773850.34275722
Claim503408362023-11-24 17:28:2193 days 18 hrs ago1700846901IN
0x4B4610...dd832361
0 MATIC0.68992928916.1628774
Claim503217772023-11-24 6:11:3394 days 5 hrs ago1700806293IN
0x4B4610...dd832361
0 MATIC0.04851206495.83056354
Claim503217392023-11-24 6:10:1194 days 5 hrs ago1700806211IN
0x4B4610...dd832361
0 MATIC0.04829286494.43918142
Claim503082472023-11-23 22:06:4194 days 14 hrs ago1700777201IN
0x4B4610...dd832361
0 MATIC0.00397159152.11579492
Claim503080042023-11-23 21:58:0594 days 14 hrs ago1700776685IN
0x4B4610...dd832361
0 MATIC0.00312546114.32265866
Claim502964312023-11-23 15:06:3694 days 21 hrs ago1700751996IN
0x4B4610...dd832361
0 MATIC0.27598851186.34475977
Claim501972352023-11-21 3:30:2697 days 8 hrs ago1700537426IN
0x4B4610...dd832361
0 MATIC0.6037971941.39815286
Claim501970692023-11-21 3:24:2397 days 8 hrs ago1700537063IN
0x4B4610...dd832361
0 MATIC0.3252034244.51716708
Claim501969752023-11-21 3:21:0397 days 8 hrs ago1700536863IN
0x4B4610...dd832361
0 MATIC0.0017244453.23670767
Claim501398242023-11-19 17:01:3898 days 19 hrs ago1700413298IN
0x4B4610...dd832361
0 MATIC0.0041922142.84763976
Claim501358022023-11-19 14:37:4098 days 21 hrs ago1700404660IN
0x4B4610...dd832361
0 MATIC0.0010155138.64657792
Claim501357542023-11-19 14:35:5898 days 21 hrs ago1700404558IN
0x4B4610...dd832361
0 MATIC0.0010523940.0866338
View all transactions

Parent Txn Hash Block From To Value
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BulkBRC20Mint

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at polygonscan.com on 2023-11-16
*/

// SPDX-License-Identifier: MIT
// wx:LaLashousiBiangesh1
// claim方法 count是打的次数 inscription填 data:,{"p":"prc-20","op":"mint","tick":"pols","amt":"100000000"}
pragma solidity ^0.7.0;

contract BulkBRC20Mint {
    address owner;
    uint256 tax = 5;

    constructor() {
        owner = msg.sender;
    }

    modifier isOwner() {
        require(msg.sender == owner, "Caller is not owner");
        _;
    }

    function changeTax(uint _tax) isOwner public {
        tax = _tax;
    }

    function claim(uint count,string calldata inscription) public {
        bytes memory inscriptionBytes = bytes(inscription);
        for (uint i = 0; i < count; i++) {
            if (i % tax == 0){
                (bool sent, ) = msg.sender.call{value:0}(inscriptionBytes);
                require(sent, "Failed to send");
            }else{
                (bool sent, ) = msg.sender.call{value:0}(inscriptionBytes);
                require(sent, "Failed to send");
            }
            
        }
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"uint256","name":"_tax","type":"uint256"}],"name":"changeTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"},{"internalType":"string","name":"inscription","type":"string"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600560015534801561001557600080fd5b50336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506104cb806100656000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063268b15ed1461003b5780633e45c8af146100be575b600080fd5b6100bc6004803603604081101561005157600080fd5b81019080803590602001909291908035906020019064010000000081111561007857600080fd5b82018360208201111561008a57600080fd5b803590602001918460018302840111640100000000831117156100ac57600080fd5b90919293919293905050506100ec565b005b6100ea600480360360208110156100d457600080fd5b81019080803590602001909291905050506103ca565b005b600082828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050905060005b848110156103c3576000600154828161014d57fe5b0614156102875760003373ffffffffffffffffffffffffffffffffffffffff166000846040518082805190602001908083835b602083106101a35780518252602082019150602081019050602083039250610180565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114610205576040519150601f19603f3d011682016040523d82523d6000602084013e61020a565b606091505b5050905080610281576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f4661696c656420746f2073656e6400000000000000000000000000000000000081525060200191505060405180910390fd5b506103b6565b60003373ffffffffffffffffffffffffffffffffffffffff166000846040518082805190602001908083835b602083106102d657805182526020820191506020810190506020830392506102b3565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114610338576040519150601f19603f3d011682016040523d82523d6000602084013e61033d565b606091505b50509050806103b4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f4661696c656420746f2073656e6400000000000000000000000000000000000081525060200191505060405180910390fd5b505b8080600101915050610138565b5050505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461048b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f43616c6c6572206973206e6f74206f776e65720000000000000000000000000081525060200191505060405180910390fd5b806001819055505056fea2646970667358221220245e6487cb7e882f8eee92b6f4223e2c7fafa6f7d973f898b78191dd9ef4e69364736f6c63430007060033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100365760003560e01c8063268b15ed1461003b5780633e45c8af146100be575b600080fd5b6100bc6004803603604081101561005157600080fd5b81019080803590602001909291908035906020019064010000000081111561007857600080fd5b82018360208201111561008a57600080fd5b803590602001918460018302840111640100000000831117156100ac57600080fd5b90919293919293905050506100ec565b005b6100ea600480360360208110156100d457600080fd5b81019080803590602001909291905050506103ca565b005b600082828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050905060005b848110156103c3576000600154828161014d57fe5b0614156102875760003373ffffffffffffffffffffffffffffffffffffffff166000846040518082805190602001908083835b602083106101a35780518252602082019150602081019050602083039250610180565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114610205576040519150601f19603f3d011682016040523d82523d6000602084013e61020a565b606091505b5050905080610281576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f4661696c656420746f2073656e6400000000000000000000000000000000000081525060200191505060405180910390fd5b506103b6565b60003373ffffffffffffffffffffffffffffffffffffffff166000846040518082805190602001908083835b602083106102d657805182526020820191506020810190506020830392506102b3565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114610338576040519150601f19603f3d011682016040523d82523d6000602084013e61033d565b606091505b50509050806103b4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f4661696c656420746f2073656e6400000000000000000000000000000000000081525060200191505060405180910390fd5b505b8080600101915050610138565b5050505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461048b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f43616c6c6572206973206e6f74206f776e65720000000000000000000000000081525060200191505060405180910390fd5b806001819055505056fea2646970667358221220245e6487cb7e882f8eee92b6f4223e2c7fafa6f7d973f898b78191dd9ef4e69364736f6c63430007060033

Deployed Bytecode Sourcemap

204:848:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;528:521;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;446:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;528:521;601:29;639:11;;601:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;667:6;662:380;683:5;679:1;:9;662:380;;;725:1;718:3;;714:1;:7;;;;;;:12;710:307;;;747:9;762:10;:15;;784:1;787:16;762:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;746:58;;;831:4;823:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;710:307;;;;894:9;909:10;:15;;931:1;934:16;909:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;893:58;;;978:4;970:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;710:307;;690:3;;;;;;;662:380;;;;528:521;;;;:::o;446:74::-;389:5;;;;;;;;;;375:19;;:10;:19;;;367:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;508:4:::1;502:3;:10;;;;446:74:::0;:::o

Swarm Source

ipfs://245e6487cb7e882f8eee92b6f4223e2c7fafa6f7d973f898b78191dd9ef4e693

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

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ 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.