Contract 0xd9fcce636c66013da4db959328e0ce2d82d3fff4

 

Contract Overview

Balance:
0 BNB

BNB Value:
$0.00

Token:
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x37e913e3927a96fdb53feda9155a29131c026cff0cfd28e29526060954a5aefe0x60806040117625202021-10-14 10:23:2713 days 4 hrs ago0xbf2932d4f5006e16b895231c16daa91b1e33d394 IN  Contract Creation0 BNB0.00197138
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MultiSender

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at BscScan.com on 2021-10-14
*/

pragma solidity ^0.8.0;



interface Token{
  function transfer(address to, uint value) external returns (bool);
}

contract MultiSender {
    address public owner;
    address public tokenAddress;
    constructor(address _owner,address _tokenAddress){
        owner = _owner;
        tokenAddress = _tokenAddress;
    }

    function multisend(address[] calldata _to, uint256[] calldata _value) external {
        require(owner==msg.sender,"Invalid user");
        assert(_to.length == _value.length);
        // loop through to addresses and send value
        for (uint8 i = 0; i < _to.length; i++) {
                assert((Token(tokenAddress).transfer(_to[i], (_value[i]* 1 ether))) == true);
            }
        }
        
     function tokenWithdrawal(address payable userAddress,uint256 amount) public 
    {
        require(msg.sender==owner,"Invalid user");
        require(Token(address(tokenAddress)).transfer(address(userAddress),amount),"Token transfer failed");
    }
    
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_tokenAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address[]","name":"_to","type":"address[]"},{"internalType":"uint256[]","name":"_value","type":"uint256[]"}],"name":"multisend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"userAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"tokenWithdrawal","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5060405161061838038061061883398101604081905261002f9161007c565b600080546001600160a01b039384166001600160a01b031991821617909155600180549290931691161790556100ae565b80516001600160a01b038116811461007757600080fd5b919050565b6000806040838503121561008e578182fd5b61009783610060565b91506100a560208401610060565b90509250929050565b61055b806100bd6000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80638da5cb5b146100515780639d76ea581461006f578063aad41a4114610077578063de0b45e51461008c575b600080fd5b61005961009f565b6040516100669190610436565b60405180910390f35b6100596100ae565b61008a6100853660046103ad565b6100bd565b005b61008a61009a366004610382565b610248565b6000546001600160a01b031681565b6001546001600160a01b031681565b6000546001600160a01b031633146100f05760405162461bcd60e51b81526004016100e790610492565b60405180910390fd5b82811461010d57634e487b7160e01b600052600160045260246000fd5b60005b60ff8116841115610241576001546001600160a01b031663a9059cbb868660ff851681811061014f57634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610164919061035f565b85858560ff1681811061018757634e487b7160e01b600052603260045260246000fd5b90506020020135670de0b6b3a76400006101a191906104b8565b6040518363ffffffff1660e01b81526004016101be92919061044a565b602060405180830381600087803b1580156101d857600080fd5b505af11580156101ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102109190610416565b151560011461022f57634e487b7160e01b600052600160045260246000fd5b80610239816104d7565b915050610110565b5050505050565b6000546001600160a01b031633146102725760405162461bcd60e51b81526004016100e790610492565b60015460405163a9059cbb60e01b81526001600160a01b039091169063a9059cbb906102a4908590859060040161044a565b602060405180830381600087803b1580156102be57600080fd5b505af11580156102d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102f69190610416565b6103125760405162461bcd60e51b81526004016100e790610463565b5050565b60008083601f840112610327578182fd5b50813567ffffffffffffffff81111561033e578182fd5b602083019150836020808302850101111561035857600080fd5b9250929050565b600060208284031215610370578081fd5b813561037b8161050d565b9392505050565b60008060408385031215610394578081fd5b823561039f8161050d565b946020939093013593505050565b600080600080604085870312156103c2578182fd5b843567ffffffffffffffff808211156103d9578384fd5b6103e588838901610316565b909650945060208701359150808211156103fd578384fd5b5061040a87828801610316565b95989497509550505050565b600060208284031215610427578081fd5b8151801515811461037b578182fd5b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b602080825260159082015274151bdad95b881d1c985b9cd9995c8819985a5b1959605a1b604082015260600190565b6020808252600c908201526b24b73b30b634b2103ab9b2b960a11b604082015260600190565b60008160001904831182151516156104d2576104d26104f7565b500290565b600060ff821660ff8114156104ee576104ee6104f7565b60010192915050565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b038116811461052257600080fd5b5056fea2646970667358221220aa9f04c441068b02aa99c0b7e0680155bd8166c648fc549a9a546f2cf0bc9ad564736f6c634300080000330000000000000000000000003fa3f5e8aa4c324fbbc174b1f9764e50a892b3150000000000000000000000002630decf35abb509777601af3f8476e76d11bbac

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

0000000000000000000000003fa3f5e8aa4c324fbbc174b1f9764e50a892b3150000000000000000000000002630decf35abb509777601af3f8476e76d11bbac

-----Decoded View---------------
Arg [0] : _owner (address): 0x3fa3f5e8aa4c324fbbc174b1f9764e50a892b315
Arg [1] : _tokenAddress (address): 0x2630decf35abb509777601af3f8476e76d11bbac

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000003fa3f5e8aa4c324fbbc174b1f9764e50a892b315
Arg [1] : 0000000000000000000000002630decf35abb509777601af3f8476e76d11bbac


Deployed ByteCode Sourcemap

124:898:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;152:20;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;179:27;;;:::i;342:402::-;;;;;;:::i;:::-;;:::i;:::-;;761:252;;;;;;:::i;:::-;;:::i;152:20::-;;;-1:-1:-1;;;;;152:20:0;;:::o;179:27::-;;;-1:-1:-1;;;;;179:27:0;;:::o;342:402::-;440:5;;-1:-1:-1;;;;;440:5:0;447:10;440:17;432:41;;;;-1:-1:-1;;;432:41:0;;;;;;;:::i;:::-;;;;;;;;;491:27;;;484:35;;-1:-1:-1;;;484:35:0;;;;;;;;;588:7;583:150;601:14;;;;-1:-1:-1;583:150:0;;;655:12;;-1:-1:-1;;;;;655:12:0;649:28;678:3;;:6;;;;;;;;-1:-1:-1;;;678:6:0;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;687;;694:1;687:9;;;;;;;-1:-1:-1;;;687:9:0;;;;;;;;;;;;;;;698:7;687:18;;;;:::i;:::-;649:58;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;648:68;;712:4;648:68;641:76;;-1:-1:-1;;;641:76:0;;;;;;;;;617:3;;;;:::i;:::-;;;;583:150;;;;342:402;;;;:::o;761:252::-;874:5;;-1:-1:-1;;;;;874:5:0;862:10;:17;854:41;;;;-1:-1:-1;;;854:41:0;;;;;;;:::i;:::-;928:12;;914:66;;-1:-1:-1;;;914:66:0;;-1:-1:-1;;;;;928:12:0;;;;914:37;;:66;;960:11;;973:6;;914:66;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;906:99;;;;-1:-1:-1;;;906:99:0;;;;;;;:::i;:::-;761:252;;:::o;14:404:1:-;;;147:3;140:4;132:6;128:17;124:27;114:2;;172:8;162;155:26;114:2;-1:-1:-1;202:20:1;;245:18;234:30;;231:2;;;284:8;274;267:26;231:2;328:4;320:6;316:17;304:29;;391:3;384:4;376;368:6;364:17;356:6;352:30;348:41;345:50;342:2;;;408:1;405;398:12;342:2;104:314;;;;;:::o;423:259::-;;535:2;523:9;514:7;510:23;506:32;503:2;;;556:6;548;541:22;503:2;600:9;587:23;619:33;646:5;619:33;:::i;:::-;671:5;493:189;-1:-1:-1;;;493:189:1:o;687:335::-;;;824:2;812:9;803:7;799:23;795:32;792:2;;;845:6;837;830:22;792:2;889:9;876:23;908:33;935:5;908:33;:::i;:::-;960:5;1012:2;997:18;;;;984:32;;-1:-1:-1;;;782:240:1:o;1027:815::-;;;;;1226:2;1214:9;1205:7;1201:23;1197:32;1194:2;;;1247:6;1239;1232:22;1194:2;1292:9;1279:23;1321:18;1362:2;1354:6;1351:14;1348:2;;;1383:6;1375;1368:22;1348:2;1427:76;1495:7;1486:6;1475:9;1471:22;1427:76;:::i;:::-;1522:8;;-1:-1:-1;1401:102:1;-1:-1:-1;1610:2:1;1595:18;;1582:32;;-1:-1:-1;1626:16:1;;;1623:2;;;1660:6;1652;1645:22;1623:2;;1704:78;1774:7;1763:8;1752:9;1748:24;1704:78;:::i;:::-;1184:658;;;;-1:-1:-1;1801:8:1;-1:-1:-1;;;;1184:658:1:o;1847:297::-;;1967:2;1955:9;1946:7;1942:23;1938:32;1935:2;;;1988:6;1980;1973:22;1935:2;2025:9;2019:16;2078:5;2071:13;2064:21;2057:5;2054:32;2044:2;;2105:6;2097;2090:22;2149:203;-1:-1:-1;;;;;2313:32:1;;;;2295:51;;2283:2;2268:18;;2250:102::o;2357:274::-;-1:-1:-1;;;;;2549:32:1;;;;2531:51;;2613:2;2598:18;;2591:34;2519:2;2504:18;;2486:145::o;2636:345::-;2838:2;2820:21;;;2877:2;2857:18;;;2850:30;-1:-1:-1;;;2911:2:1;2896:18;;2889:51;2972:2;2957:18;;2810:171::o;2986:336::-;3188:2;3170:21;;;3227:2;3207:18;;;3200:30;-1:-1:-1;;;3261:2:1;3246:18;;3239:42;3313:2;3298:18;;3160:162::o;3327:168::-;;3433:1;3429;3425:6;3421:14;3418:1;3415:21;3410:1;3403:9;3396:17;3392:45;3389:2;;;3440:18;;:::i;:::-;-1:-1:-1;3480:9:1;;3379:116::o;3500:175::-;;3581:4;3574:5;3570:16;3610:4;3601:7;3598:17;3595:2;;;3618:18;;:::i;:::-;3667:1;3654:15;;3545:130;-1:-1:-1;;3545:130:1:o;3680:127::-;3741:10;3736:3;3732:20;3729:1;3722:31;3772:4;3769:1;3762:15;3796:4;3793:1;3786:15;3812:133;-1:-1:-1;;;;;3889:31:1;;3879:42;;3869:2;;3935:1;3932;3925:12;3869:2;3859:86;:::o

Swarm Source

ipfs://aa9f04c441068b02aa99c0b7e0680155bd8166c648fc549a9a546f2cf0bc9ad5
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
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.