Contract 0x95c2d32fdb32eda8ce7fbf6539dd6945acb9bb09 2

Txn Hash Method
Block
From
To
Value [Txn Fee]
0x6a4834862feed8c0f73f160c3feb1865b3a79262fe058421cb73e8ba718a0cae0x60806040249137882021-12-14 6:57:09194 days 16 hrs ago0x115efedb74314083bee38494e7e9e6c498328823 IN  Create: Multicall0 FTM0.040867279336
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0x6a4834862feed8c0f73f160c3feb1865b3a79262fe058421cb73e8ba718a0cae249137882021-12-14 6:57:09194 days 16 hrs ago 0x115efedb74314083bee38494e7e9e6c498328823  Contract Creation0 FTM
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Multicall

Compiler Version
v0.6.6+commit.6c089d02

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at FtmScan.com on 2021-12-14
*/

pragma solidity >=0.5.0;
pragma experimental ABIEncoderV2;

/// @title Multicall - Aggregate results from multiple read-only function calls
/// @author Michael Elliot <[email protected]>
/// @author Joshua Levine <[email protected]>
/// @author Nick Johnson <[email protected]>

contract Multicall {
    struct Call {
        address target;
        bytes callData;
    }
    function aggregate(Call[] memory calls) public returns (uint256 blockNumber, bytes[] memory returnData) {
        blockNumber = block.number;
        returnData = new bytes[](calls.length);
        for(uint256 i = 0; i < calls.length; i++) {
            (bool success, bytes memory ret) = calls[i].target.call(calls[i].callData);
            require(success);
            returnData[i] = ret;
        }
    }
    // Helper functions
    function getEthBalance(address addr) public view returns (uint256 balance) {
        balance = addr.balance;
    }
    function getBlockHash(uint256 blockNumber) public view returns (bytes32 blockHash) {
        blockHash = blockhash(blockNumber);
    }
    function getLastBlockHash() public view returns (bytes32 blockHash) {
        blockHash = blockhash(block.number - 1);
    }
    function getCurrentBlockTimestamp() public view returns (uint256 timestamp) {
        timestamp = block.timestamp;
    }
    function getCurrentBlockDifficulty() public view returns (uint256 difficulty) {
        difficulty = block.difficulty;
    }
    function getCurrentBlockGasLimit() public view returns (uint256 gaslimit) {
        gaslimit = block.gaslimit;
    }
    function getCurrentBlockCoinbase() public view returns (address coinbase) {
        coinbase = block.coinbase;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"components":[{"internalType":"address","name":"target","type":"address"},{"internalType":"bytes","name":"callData","type":"bytes"}],"internalType":"struct Multicall.Call[]","name":"calls","type":"tuple[]"}],"name":"aggregate","outputs":[{"internalType":"uint256","name":"blockNumber","type":"uint256"},{"internalType":"bytes[]","name":"returnData","type":"bytes[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getBlockHash","outputs":[{"internalType":"bytes32","name":"blockHash","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentBlockCoinbase","outputs":[{"internalType":"address","name":"coinbase","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentBlockDifficulty","outputs":[{"internalType":"uint256","name":"difficulty","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentBlockGasLimit","outputs":[{"internalType":"uint256","name":"gaslimit","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentBlockTimestamp","outputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"getEthBalance","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLastBlockHash","outputs":[{"internalType":"bytes32","name":"blockHash","type":"bytes32"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b50610552806100206000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c806372425d9d1161005b57806372425d9d146100e757806386d516e8146100ef578063a8b0574e146100f7578063ee82ac5e1461010c57610088565b80630f28c97d1461008d578063252dba42146100ab57806327e86d6e146100cc5780634d2301cc146100d4575b600080fd5b61009561011f565b6040516100a2919061043c565b60405180910390f35b6100be6100b9366004610314565b610123565b6040516100a2929190610445565b610095610246565b6100956100e23660046102f2565b61024f565b61009561025c565b610095610260565b6100ff610264565b6040516100a29190610428565b61009561011a3660046103f4565b610268565b4290565b8051439060609067ffffffffffffffff8111801561014057600080fd5b5060405190808252806020026020018201604052801561017457816020015b606081526020019060019003908161015f5790505b50905060005b8351811015610240576000606085838151811061019357fe5b6020026020010151600001516001600160a01b03168684815181106101b457fe5b6020026020010151602001516040516101cd919061040c565b6000604051808303816000865af19150503d806000811461020a576040519150601f19603f3d011682016040523d82523d6000602084013e61020f565b606091505b50915091508161021e57600080fd5b8084848151811061022b57fe5b6020908102919091010152505060010161017a565b50915091565b60001943014090565b6001600160a01b03163190565b4490565b4590565b4190565b4090565b80356001600160a01b038116811461028357600080fd5b92915050565b600082601f830112610299578081fd5b813567ffffffffffffffff8111156102af578182fd5b6102c2601f8201601f19166020016104c5565b91508082528360208285010111156102d957600080fd5b8060208401602084013760009082016020015292915050565b600060208284031215610303578081fd5b61030d838361026c565b9392505050565b60006020808385031215610326578182fd5b823567ffffffffffffffff8082111561033d578384fd5b81850186601f82011261034e578485fd5b803592508183111561035e578485fd5b61036b84858502016104c5565b83815284810190828601875b868110156103e55781358501604080601f19838f03011215610397578a8bfd5b6103a0816104c5565b6103ac8e8c850161026c565b815281830135898111156103be578c8dfd5b6103cc8f8d83870101610289565b828d015250865250509287019290870190600101610377565b50909998505050505050505050565b600060208284031215610405578081fd5b5035919050565b6000825161041e8184602087016104ec565b9190910192915050565b6001600160a01b0391909116815260200190565b90815260200190565b600060408201848352602060408185015281855180845260608601915060608382028701019350828701855b828110156104b757878603605f190184528151805180885261049881888a018985016104ec565b601f01601f191696909601850195509284019290840190600101610471565b509398975050505050505050565b60405181810167ffffffffffffffff811182821017156104e457600080fd5b604052919050565b60005b838110156105075781810151838201526020016104ef565b83811115610516576000848401525b5050505056fea26469706673582212204ccae118b5bcc2d1b42a7b77eba08b8e353e15b381615dd61fcd60b00a05294664736f6c63430006060033

Deployed ByteCode Sourcemap

291:1450:0:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;291:1450:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;1236:122:0;;;:::i;:::-;;;;;;;;;;;;;;;;393:416;;;;;;;;;:::i;:::-;;;;;;;;;1104:126;;;:::i;840:116::-;;;;;;;;;:::i;1364:126::-;;;:::i;1496:118::-;;;:::i;1620:::-;;;:::i;:::-;;;;;;;;962:136;;;;;;;;;:::i;1236:122::-;1335:15;;1236:122::o;393:416::-;570:12;;522;;470:25;;558;;;2:2:-1;;;;27:1;24;17:12;2:2;558:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;545:38:0;-1:-1:-1;598:9:0;594:208;617:5;:12;613:1;:16;594:208;;;652:12;666:16;686:5;692:1;686:8;;;;;;;;;;;;;;:15;;;-1:-1:-1;;;;;686:20:0;707:5;713:1;707:8;;;;;;;;;;;;;;:17;;;686:39;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;19;14:27;;;;67:4;61:11;56:16;;134:4;130:9;123:4;105:16;101:27;97:43;94:1;90:51;84:4;77:65;157:16;154:1;147:27;211:16;208:1;201:4;198:1;194:12;179:49;5:228;;14:27;32:4;27:9;;5:228;;651:74:0;;;;748:7;740:16;;12:1:-1;9;2:12;740:16:0;787:3;771:10;782:1;771:13;;;;;;;;;;;;;;;;;:19;-1:-1:-1;;631:3:0;;594:208;;;;393:416;;;:::o;1104:126::-;-1:-1:-1;;1205:12:0;:16;1195:27;;1104:126::o;840:116::-;-1:-1:-1;;;;;936:12:0;;;840:116::o;1364:126::-;1466:16;;1364:126::o;1496:118::-;1592:14;;1496:118::o;1620:::-;1716:14;;1620:118::o;962:136::-;1068:22;;962:136::o;5:130:-1:-;72:20;;-1:-1;;;;;8910:54;;9650:35;;9640:2;;9699:1;;9689:12;9640:2;57:78;;;;;918:440;;1019:3;1012:4;1004:6;1000:17;996:27;986:2;;-1:-1;;1027:12;986:2;1074:6;1061:20;7404:18;7396:6;7393:30;7390:2;;;-1:-1;;7426:12;7390:2;1096:64;7499:9;7480:17;;-1:-1;;7476:33;7567:4;7557:15;1096:64;;;1087:73;;1180:6;1173:5;1166:21;1284:3;7567:4;1275:6;1208;1266:16;;1263:25;1260:2;;;1301:1;;1291:12;1260:2;9137:6;7567:4;1208:6;1204:17;7567:4;1242:5;1238:16;9114:30;9193:1;9175:16;;;7567:4;9175:16;9168:27;1242:5;979:379;-1:-1;;979:379;2100:241;;2204:2;2192:9;2183:7;2179:23;2175:32;2172:2;;;-1:-1;;2210:12;2172:2;2272:53;2317:7;2293:22;2272:53;;;2262:63;2166:175;-1:-1;;;2166:175;2348:415;;2496:2;;2484:9;2475:7;2471:23;2467:32;2464:2;;;-1:-1;;2502:12;2464:2;2560:17;2547:31;2598:18;;2590:6;2587:30;2584:2;;;-1:-1;;2620:12;2584:2;2730:6;2719:9;2715:22;310:3;303:4;295:6;291:17;287:27;277:2;;-1:-1;;318:12;277:2;365:6;352:20;338:34;;2598:18;7101:6;7098:30;7095:2;;;-1:-1;;7131:12;7095:2;387:99;2496:2;;7168:6;7164:17;7229:15;387:99;;;514:21;;;571:14;;;;546:17;;;-1:-1;651:252;676:6;673:1;670:13;651:252;;;759:3;746:17;550:6;734:30;1502:4;;7499:9;;734:30;1485:3;1481:19;;1477:30;1474:2;;;-1:-1;;1510:12;1474:2;1538:20;1502:4;1538:20;;;1642:49;1687:3;2496:2;734:30;;1642:49;;;1624:16;1617:75;1502:4;734:30;1770:18;1757:32;2598:18;1801:6;1798:30;1795:2;;;-1:-1;;1831:12;1795:2;1876:58;1930:3;2496:2;1921:6;734:30;1906:22;;1876:58;;;1858:16;;;1851:84;-1:-1;771:69;;-1:-1;;854:14;;;;882;;;;698:1;691:9;651:252;;;-1:-1;2640:107;;2458:305;-1:-1;;;;;;;;;2458:305;2770:241;;2874:2;2862:9;2853:7;2849:23;2845:32;2842:2;;;-1:-1;;2880:12;2842:2;-1:-1;2030:20;;2836:175;-1:-1;2836:175;5224:262;;4901:5;7868:12;5012:52;5057:6;5052:3;5045:4;5038:5;5034:16;5012:52;;;5076:16;;;;;5349:137;-1:-1;;5349:137;5493:213;-1:-1;;;;;8910:54;;;;3287:37;;5611:2;5596:18;;5582:124;5713:213;4362:37;;;5831:2;5816:18;;5802:124;6153:508;;6367:2;6356:9;6352:18;4392:5;4369:3;4362:37;6485:2;6367;6485;6474:9;6470:18;6463:48;6525:126;3583:5;7868:12;8301:6;8296:3;8289:19;8329:14;6356:9;8329:14;3595:102;;8329:14;6485:2;3754:6;3750:17;6356:9;3741:27;;3729:39;;6485:2;3848:5;7713:14;-1:-1;3887:357;3912:6;3909:1;3906:13;3887:357;;;3964:20;;;-1:-1;;3964:20;3952:33;;4013:13;;7868:12;;8289:19;;;4626:52;7868:12;8329:14;;;4648:16;;;4626:52;;;7499:9;9554:14;-1:-1;;9550:28;4690:39;;;;;;;-1:-1;4223:14;;;;8135;;;;3934:1;3927:9;3887:357;;;-1:-1;6517:134;;6338:323;-1:-1;;;;;;;;6338:323;6668:256;6730:2;6724:9;6756:17;;;6831:18;6816:34;;6852:22;;;6813:62;6810:2;;;6888:1;;6878:12;6810:2;6730;6897:22;6708:216;;-1:-1;6708:216;9210:268;9275:1;9282:101;9296:6;9293:1;9290:13;9282:101;;;9363:11;;;9357:18;9344:11;;;9337:39;9318:2;9311:10;9282:101;;;9398:6;9395:1;9392:13;9389:2;;;9275:1;9454:6;9449:3;9445:16;9438:27;9389:2;;9259:219;;;

Swarm Source

ipfs://4ccae118b5bcc2d1b42a7b77eba08b8e353e15b381615dd61fcd60b00a052946
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Validator ID :
0 FTM

Amount Staked
0

Amount Delegated
0

Staking Total
0

Staking Start Epoch
0

Staking Start Time
0

Proof of Importance
0

Origination Score
0

Validation Score
0

Active
0

Online
0

Downtime
0 s
Address Amount claimed Rewards Created On Epoch Created On
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.