APE Price: $1.36 (+2.49%)

Contract

0x06214FC62B4478a829Ac585EF780b09098fC0557

Overview

APE Balance

Apechain LogoApechain LogoApechain Logo0 APE

APE Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
0x29b3877f73011892024-12-29 1:56:498 days ago1735437409IN
0x06214FC6...098fC0557
0 APE0.624778425.42069
0x29b3877f73011672024-12-29 1:55:428 days ago1735437342IN
0x06214FC6...098fC0557
0 APE0.232030525.42069
0x29b3877f73011572024-12-29 1:55:238 days ago1735437323IN
0x06214FC6...098fC0557
0 APE0.6920476725.42069
0x29b3877f73011042024-12-29 1:52:468 days ago1735437166IN
0x06214FC6...098fC0557
0 APE0.6162624225.42069
0x29b3877f73010772024-12-29 1:51:458 days ago1735437105IN
0x06214FC6...098fC0557
0 APE0.3081389525.42069
0x29b3877f73010682024-12-29 1:51:038 days ago1735437063IN
0x06214FC6...098fC0557
0 APE0.678992725.42069
0x29b3877f73010202024-12-29 1:49:068 days ago1735436946IN
0x06214FC6...098fC0557
0 APE0.773929525.42069
0x29b3877f73009412024-12-29 1:45:398 days ago1735436739IN
0x06214FC6...098fC0557
0 APE0.4823040525.42069
0x29b3877f73008942024-12-29 1:43:198 days ago1735436599IN
0x06214FC6...098fC0557
0 APE0.4840422425.42069
0x29b3877f73008202024-12-29 1:41:198 days ago1735436479IN
0x06214FC6...098fC0557
0 APE0.2437651925.42069
0x29b3877f73008062024-12-29 1:40:568 days ago1735436456IN
0x06214FC6...098fC0557
0 APE0.2441985925.42069
0x29b3877f73008002024-12-29 1:40:388 days ago1735436438IN
0x06214FC6...098fC0557
0 APE0.2441985725.42069
0x29b3877f73007922024-12-29 1:40:118 days ago1735436411IN
0x06214FC6...098fC0557
0 APE0.2411570325.42069
0x29b3877f73007832024-12-29 1:39:498 days ago1735436389IN
0x06214FC6...098fC0557
0 APE0.243330225.42069
0x29b3877f73007812024-12-29 1:39:318 days ago1735436371IN
0x06214FC6...098fC0557
0 APE0.2428887125.42069
0x29b3877f73007742024-12-29 1:39:128 days ago1735436352IN
0x06214FC6...098fC0557
0 APE0.2612007925.42069
0x29b3877f73007442024-12-29 1:37:488 days ago1735436268IN
0x06214FC6...098fC0557
0 APE0.5581285625.42069
0x29b3877f73007322024-12-29 1:36:478 days ago1735436207IN
0x06214FC6...098fC0557
0 APE0.0154218125.42069

Parent Transaction Hash Block From To
View All Internal Transactions

Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BatchTransfer

Compiler Version
v0.8.26+commit.8a97fa7a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at apescan.io on 2024-12-27
*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface IERC721 {
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;
}

contract BatchTransfer {
    struct TransferData {
        address recipient;
        uint256[] tokenIds;
    }

    function batchTransfer(
        address collection,
        TransferData[] calldata transfers
    ) external {
        require(collection != address(0), "Invalid collection address");

        IERC721 erc721 = IERC721(collection);

        for (uint256 i = 0; i < transfers.length; i++) {
            TransferData calldata transferData = transfers[i];
            address recipient = transferData.recipient;
            uint256[] calldata tokenIds = transferData.tokenIds;

            for (uint256 j = 0; j < tokenIds.length; j++) {
                erc721.safeTransferFrom(msg.sender, recipient, tokenIds[j]);
            }
        }
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"collection","type":"address"},{"components":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"internalType":"struct BatchTransfer.TransferData[]","name":"transfers","type":"tuple[]"}],"name":"batchTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052348015600e575f80fd5b506104e88061001c5f395ff3fe608060405234801561000f575f80fd5b5060043610610029575f3560e01c806329b3877f1461002d575b5f80fd5b61004760048036038101906100429190610294565b610049565b005b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036100b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae9061034b565b60405180910390fd5b5f8390505f5b838390508110156101ca57368484838181106100dc576100db610369565b5b90506020028101906100ee91906103a2565b90505f815f01602081019061010391906103c9565b9050365f83806020019061011791906103f4565b915091505f5b828290508110156101b8578673ffffffffffffffffffffffffffffffffffffffff166342842e0e338686868681811061015957610158610369565b5b905060200201356040518463ffffffff1660e01b815260040161017e9392919061047d565b5f604051808303815f87803b158015610195575f80fd5b505af11580156101a7573d5f803e3d5ffd5b50505050808060010191505061011d565b505050505080806001019150506100bd565b5050505050565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610202826101d9565b9050919050565b610212816101f8565b811461021c575f80fd5b50565b5f8135905061022d81610209565b92915050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f84011261025457610253610233565b5b8235905067ffffffffffffffff81111561027157610270610237565b5b60208301915083602082028301111561028d5761028c61023b565b5b9250929050565b5f805f604084860312156102ab576102aa6101d1565b5b5f6102b88682870161021f565b935050602084013567ffffffffffffffff8111156102d9576102d86101d5565b5b6102e58682870161023f565b92509250509250925092565b5f82825260208201905092915050565b7f496e76616c696420636f6c6c656374696f6e20616464726573730000000000005f82015250565b5f610335601a836102f1565b915061034082610301565b602082019050919050565b5f6020820190508181035f83015261036281610329565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f80fd5b5f80fd5b5f80fd5b5f823560016040038336030381126103bd576103bc610396565b5b80830191505092915050565b5f602082840312156103de576103dd6101d1565b5b5f6103eb8482850161021f565b91505092915050565b5f80833560016020038436030381126104105761040f610396565b5b80840192508235915067ffffffffffffffff8211156104325761043161039a565b5b60208301925060208202360383131561044e5761044d61039e565b5b509250929050565b61045f816101f8565b82525050565b5f819050919050565b61047781610465565b82525050565b5f6060820190506104905f830186610456565b61049d6020830185610456565b6104aa604083018461046e565b94935050505056fea26469706673582212202f97cff364fc3ef858255d58c02a8497e47a9d3f9aa29e884c0161987412ea5564736f6c634300081a0033

Deployed Bytecode

0x608060405234801561000f575f80fd5b5060043610610029575f3560e01c806329b3877f1461002d575b5f80fd5b61004760048036038101906100429190610294565b610049565b005b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036100b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae9061034b565b60405180910390fd5b5f8390505f5b838390508110156101ca57368484838181106100dc576100db610369565b5b90506020028101906100ee91906103a2565b90505f815f01602081019061010391906103c9565b9050365f83806020019061011791906103f4565b915091505f5b828290508110156101b8578673ffffffffffffffffffffffffffffffffffffffff166342842e0e338686868681811061015957610158610369565b5b905060200201356040518463ffffffff1660e01b815260040161017e9392919061047d565b5f604051808303815f87803b158015610195575f80fd5b505af11580156101a7573d5f803e3d5ffd5b50505050808060010191505061011d565b505050505080806001019150506100bd565b5050505050565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610202826101d9565b9050919050565b610212816101f8565b811461021c575f80fd5b50565b5f8135905061022d81610209565b92915050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f84011261025457610253610233565b5b8235905067ffffffffffffffff81111561027157610270610237565b5b60208301915083602082028301111561028d5761028c61023b565b5b9250929050565b5f805f604084860312156102ab576102aa6101d1565b5b5f6102b88682870161021f565b935050602084013567ffffffffffffffff8111156102d9576102d86101d5565b5b6102e58682870161023f565b92509250509250925092565b5f82825260208201905092915050565b7f496e76616c696420636f6c6c656374696f6e20616464726573730000000000005f82015250565b5f610335601a836102f1565b915061034082610301565b602082019050919050565b5f6020820190508181035f83015261036281610329565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f80fd5b5f80fd5b5f80fd5b5f823560016040038336030381126103bd576103bc610396565b5b80830191505092915050565b5f602082840312156103de576103dd6101d1565b5b5f6103eb8482850161021f565b91505092915050565b5f80833560016020038436030381126104105761040f610396565b5b80840192508235915067ffffffffffffffff8211156104325761043161039a565b5b60208301925060208202360383131561044e5761044d61039e565b5b509250929050565b61045f816101f8565b82525050565b5f819050919050565b61047781610465565b82525050565b5f6060820190506104905f830186610456565b61049d6020830185610456565b6104aa604083018461046e565b94935050505056fea26469706673582212202f97cff364fc3ef858255d58c02a8497e47a9d3f9aa29e884c0161987412ea5564736f6c634300081a0033

Deployed Bytecode Sourcemap

204:783:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;327:657;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;480:1;458:24;;:10;:24;;;450:63;;;;;;;;;;;;:::i;:::-;;;;;;;;;526:14;551:10;526:36;;580:9;575:402;599:9;;:16;;595:1;:20;575:402;;;637:34;674:9;;684:1;674:12;;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;637:49;;701:17;721:12;:22;;;;;;;;;;:::i;:::-;701:42;;758:27;;788:12;:21;;;;;;;;:::i;:::-;758:51;;;;831:9;826:140;850:8;;:15;;846:1;:19;826:140;;;891:6;:23;;;915:10;927:9;938:8;;947:1;938:11;;;;;;;:::i;:::-;;;;;;;;891:59;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;867:3;;;;;;;826:140;;;;622:355;;;;617:3;;;;;;;575:402;;;;439:545;327:657;;;:::o;88:117:1:-;197:1;194;187:12;211:117;320:1;317;310:12;334:126;371:7;411:42;404:5;400:54;389:65;;334:126;;;:::o;466:96::-;503:7;532:24;550:5;532:24;:::i;:::-;521:35;;466:96;;;:::o;568:122::-;641:24;659:5;641:24;:::i;:::-;634:5;631:35;621:63;;680:1;677;670:12;621:63;568:122;:::o;696:139::-;742:5;780:6;767:20;758:29;;796:33;823:5;796:33;:::i;:::-;696:139;;;;:::o;841:117::-;950:1;947;940:12;964:117;1073:1;1070;1063:12;1087:117;1196:1;1193;1186:12;1253:598;1356:8;1366:6;1416:3;1409:4;1401:6;1397:17;1393:27;1383:122;;1424:79;;:::i;:::-;1383:122;1537:6;1524:20;1514:30;;1567:18;1559:6;1556:30;1553:117;;;1589:79;;:::i;:::-;1553:117;1703:4;1695:6;1691:17;1679:29;;1757:3;1749:4;1741:6;1737:17;1727:8;1723:32;1720:41;1717:128;;;1764:79;;:::i;:::-;1717:128;1253:598;;;;;:::o;1857:764::-;1982:6;1990;1998;2047:2;2035:9;2026:7;2022:23;2018:32;2015:119;;;2053:79;;:::i;:::-;2015:119;2173:1;2198:53;2243:7;2234:6;2223:9;2219:22;2198:53;:::i;:::-;2188:63;;2144:117;2328:2;2317:9;2313:18;2300:32;2359:18;2351:6;2348:30;2345:117;;;2381:79;;:::i;:::-;2345:117;2494:110;2596:7;2587:6;2576:9;2572:22;2494:110;:::i;:::-;2476:128;;;;2271:343;1857:764;;;;;:::o;2627:169::-;2711:11;2745:6;2740:3;2733:19;2785:4;2780:3;2776:14;2761:29;;2627:169;;;;:::o;2802:176::-;2942:28;2938:1;2930:6;2926:14;2919:52;2802:176;:::o;2984:366::-;3126:3;3147:67;3211:2;3206:3;3147:67;:::i;:::-;3140:74;;3223:93;3312:3;3223:93;:::i;:::-;3341:2;3336:3;3332:12;3325:19;;2984:366;;;:::o;3356:419::-;3522:4;3560:2;3549:9;3545:18;3537:26;;3609:9;3603:4;3599:20;3595:1;3584:9;3580:17;3573:47;3637:131;3763:4;3637:131;:::i;:::-;3629:139;;3356:419;;;:::o;3781:180::-;3829:77;3826:1;3819:88;3926:4;3923:1;3916:15;3950:4;3947:1;3940:15;3967:117;4076:1;4073;4066:12;4090:117;4199:1;4196;4189:12;4213:117;4322:1;4319;4312:12;4336:396;4432:4;4486:11;4473:25;4586:1;4580:4;4576:12;4565:8;4549:14;4545:29;4541:48;4521:18;4517:73;4507:168;;4594:79;;:::i;:::-;4507:168;4706:18;4696:8;4692:33;4684:41;;4437:295;4336:396;;;;:::o;4738:329::-;4797:6;4846:2;4834:9;4825:7;4821:23;4817:32;4814:119;;;4852:79;;:::i;:::-;4814:119;4972:1;4997:53;5042:7;5033:6;5022:9;5018:22;4997:53;:::i;:::-;4987:63;;4943:117;4738:329;;;;:::o;5073:740::-;5166:4;5172:6;5228:11;5215:25;5328:1;5322:4;5318:12;5307:8;5291:14;5287:29;5283:48;5263:18;5259:73;5249:168;;5336:79;;:::i;:::-;5249:168;5448:18;5438:8;5434:33;5426:41;;5500:4;5487:18;5477:28;;5528:18;5520:6;5517:30;5514:117;;;5550:79;;:::i;:::-;5514:117;5658:2;5652:4;5648:13;5640:21;;5715:4;5707:6;5703:17;5687:14;5683:38;5677:4;5673:49;5670:136;;;5725:79;;:::i;:::-;5670:136;5179:634;5073:740;;;;;:::o;5819:118::-;5906:24;5924:5;5906:24;:::i;:::-;5901:3;5894:37;5819:118;;:::o;5943:77::-;5980:7;6009:5;5998:16;;5943:77;;;:::o;6026:118::-;6113:24;6131:5;6113:24;:::i;:::-;6108:3;6101:37;6026:118;;:::o;6150:442::-;6299:4;6337:2;6326:9;6322:18;6314:26;;6350:71;6418:1;6407:9;6403:17;6394:6;6350:71;:::i;:::-;6431:72;6499:2;6488:9;6484:18;6475:6;6431:72;:::i;:::-;6513;6581:2;6570:9;6566:18;6557:6;6513:72;:::i;:::-;6150:442;;;;;;:::o

Swarm Source

ipfs://2f97cff364fc3ef858255d58c02a8497e47a9d3f9aa29e884c0161987412ea55

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