Contract 0x11473D6E641dF17cd6331D45b135E35B49edBea8

Txn Hash Method
Block
From
To
Value [Txn Fee]
0x2e147bb8b678d93fb001d042c5cea030fe3e302b41a2078ef6e1486b4d4e2bb40x6080604069529332021-05-19 17:54:22203 days 35 mins agoPaintSwap Finance: Deployer IN  Contract Creation0 FTM0.083981366
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0x2e147bb8b678d93fb001d042c5cea030fe3e302b41a2078ef6e1486b4d4e2bb469529332021-05-19 17:54:22203 days 35 mins ago PaintSwap Finance: Deployer  Contract Creation0 FTM
[ Download CSV Export 
Loading

Similar_Match_Source_Code
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0x2868d64f653c9f30df470831797c650aae8146fe

Contract Name:
PaintMulticall

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU GPLv3 license
/**
 *Submitted for verification at FtmScan.com on 2021-05-17
*/

// SPDX-License-Identifier: GPL-3.0-or-later Or MIT
pragma solidity >=0.8.0 <0.9.0;


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

contract PaintMulticall {
    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 PaintMulticall.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"}]

608060405234801561001057600080fd5b5061061d806100206000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c806372425d9d1161005b57806372425d9d146100e657806386d516e8146100ec578063a8b0574e146100f2578063ee82ac5e1461010057600080fd5b80630f28c97d1461008d578063252dba42146100a257806327e86d6e146100c35780634d2301cc146100cb575b600080fd5b425b6040519081526020015b60405180910390f35b6100b56100b0366004610388565b610112565b60405161009992919061047e565b61008f61028a565b61008f6100d9366004610367565b6001600160a01b03163190565b4461008f565b4561008f565b604051418152602001610099565b61008f61010e36600461044a565b4090565b8051439060609067ffffffffffffffff81111561013f57634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561017257816020015b606081526020019060019003908161015d5790505b50905060005b8351811015610284576000808583815181106101a457634e487b7160e01b600052603260045260246000fd5b6020026020010151600001516001600160a01b03168684815181106101d957634e487b7160e01b600052603260045260246000fd5b6020026020010151602001516040516101f29190610462565b6000604051808303816000865af19150503d806000811461022f576040519150601f19603f3d011682016040523d82523d6000602084013e610234565b606091505b50915091508161024357600080fd5b8084848151811061026457634e487b7160e01b600052603260045260246000fd5b60200260200101819052505050808061027c906105a0565b915050610178565b50915091565b6000610297600143610559565b40905090565b80356001600160a01b03811681146102b457600080fd5b919050565b6000604082840312156102ca578081fd5b6102d26104ff565b90506102dd8261029d565b815260208083013567ffffffffffffffff808211156102fb57600080fd5b818501915085601f83011261030f57600080fd5b813581811115610321576103216105d1565b610333601f8201601f19168501610528565b9150808252868482850101111561034957600080fd5b80848401858401376000908201840152918301919091525092915050565b600060208284031215610378578081fd5b6103818261029d565b9392505050565b6000602080838503121561039a578182fd5b823567ffffffffffffffff808211156103b1578384fd5b818501915085601f8301126103c4578384fd5b8135818111156103d6576103d66105d1565b8060051b6103e5858201610528565b8281528581019085870183870188018b10156103ff578889fd5b8893505b8484101561043c5780358681111561041957898afd5b6104278c8a838b01016102b9565b84525060019390930192918701918701610403565b509998505050505050505050565b60006020828403121561045b578081fd5b5035919050565b60008251610474818460208701610570565b9190910192915050565b600060408201848352602060408185015281855180845260608601915060608160051b8701019350828701855b828110156104f157878603605f19018452815180518088526104d281888a01898501610570565b601f01601f1916969096018501955092840192908401906001016104ab565b509398975050505050505050565b6040805190810167ffffffffffffffff81118282101715610522576105226105d1565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715610551576105516105d1565b604052919050565b60008282101561056b5761056b6105bb565b500390565b60005b8381101561058b578181015183820152602001610573565b8381111561059a576000848401525b50505050565b60006000198214156105b4576105b46105bb565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea264697066735822122030be31b61f546d6431aaa7f3e41071cc33a79c9cc36347e0e8f47616edfc3f7e64736f6c63430008040033

Deployed ByteCode Sourcemap

318:1455:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1268:122;1367:15;1268:122;;;3267:25:1;;;3255:2;3240:18;1268:122:0;;;;;;;;425:416;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;1136:126::-;;;:::i;872:116::-;;;;;;:::i;:::-;-1:-1:-1;;;;;968:12:0;;;872:116;1396:126;1498:16;1396:126;;1528:118;1624:14;1528:118;;1652;;;1748:14;3059:51:1;;3047:2;3032:18;1652:118:0;3014:102:1;994:136:0;;;;;;:::i;:::-;1100:22;;994:136;425:416;602:12;;554;;502:25;;590;;;;;;-1:-1:-1;;;590:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;577:38;;630:9;626:208;649:5;:12;645:1;:16;626:208;;;684:12;698:16;718:5;724:1;718:8;;;;;;-1:-1:-1;;;718:8:0;;;;;;;;;;;;;;;:15;;;-1:-1:-1;;;;;718:20:0;739:5;745:1;739:8;;;;;;-1:-1:-1;;;739:8:0;;;;;;;;;;;;;;;:17;;;718:39;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;683:74;;;;780:7;772:16;;;;;;819:3;803:10;814:1;803:13;;;;;;-1:-1:-1;;;803:13:0;;;;;;;;;;;;;;:19;;;;626:208;;663:3;;;;;:::i;:::-;;;;626:208;;;;425:416;;;:::o;1136:126::-;1185:17;1237:16;1252:1;1237:12;:16;:::i;:::-;1227:27;1215:39;;1136:126;:::o;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:2;;177:1;174;167:12;111:2;63:124;;;:::o;192:859::-;243:5;291:4;279:9;274:3;270:19;266:30;263:2;;;313:5;306;299:20;263:2;339:22;;:::i;:::-;330:31;;384:29;403:9;384:29;:::i;:::-;377:5;370:44;433:2;486;475:9;471:18;458:32;509:18;550:2;542:6;539:14;536:2;;;566:1;563;556:12;536:2;604:6;593:9;589:22;579:32;;649:3;642:4;638:2;634:13;630:23;620:2;;667:1;664;657:12;620:2;703;690:16;725:2;721;718:10;715:2;;;731:18;;:::i;:::-;773:53;816:2;797:13;;-1:-1:-1;;793:27:1;789:36;;773:53;:::i;:::-;760:66;;849:2;842:5;835:17;889:3;884:2;879;875;871:11;867:20;864:29;861:2;;;906:1;903;896:12;861:2;961;956;952;948:11;943:2;936:5;932:14;919:45;1005:1;984:14;;;980:23;;973:34;1023:14;;;1016:29;;;;-1:-1:-1;1027:5:1;253:798;-1:-1:-1;;253:798:1:o;1056:196::-;1115:6;1168:2;1156:9;1147:7;1143:23;1139:32;1136:2;;;1189:6;1181;1174:22;1136:2;1217:29;1236:9;1217:29;:::i;:::-;1207:39;1126:126;-1:-1:-1;;;1126:126:1:o;1257:1177::-;1360:6;1391:2;1434;1422:9;1413:7;1409:23;1405:32;1402:2;;;1455:6;1447;1440:22;1402:2;1500:9;1487:23;1529:18;1570:2;1562:6;1559:14;1556:2;;;1591:6;1583;1576:22;1556:2;1634:6;1623:9;1619:22;1609:32;;1679:7;1672:4;1668:2;1664:13;1660:27;1650:2;;1706:6;1698;1691:22;1650:2;1747;1734:16;1769:2;1765;1762:10;1759:2;;;1775:18;;:::i;:::-;1821:2;1818:1;1814:10;1844:28;1868:2;1864;1860:11;1844:28;:::i;:::-;1906:15;;;1937:12;;;;1969:11;;;1999;;;1995:20;;1992:33;-1:-1:-1;1989:2:1;;;2043:6;2035;2028:22;1989:2;2070:6;2061:15;;2085:319;2099:2;2096:1;2093:9;2085:319;;;2176:3;2163:17;2212:2;2199:11;2196:19;2193:2;;;2233:6;2225;2218:22;2193:2;2267:62;2321:7;2316:2;2302:11;2298:2;2294:20;2290:29;2267:62;:::i;:::-;2255:75;;-1:-1:-1;2117:1:1;2110:9;;;;;2350:12;;;;2382;;2085:319;;;-1:-1:-1;2423:5:1;1371:1063;-1:-1:-1;;;;;;;;;1371:1063:1:o;2439:190::-;2498:6;2551:2;2539:9;2530:7;2526:23;2522:32;2519:2;;;2572:6;2564;2557:22;2519:2;-1:-1:-1;2600:23:1;;2509:120;-1:-1:-1;2509:120:1:o;2634:274::-;2763:3;2801:6;2795:13;2817:53;2863:6;2858:3;2851:4;2843:6;2839:17;2817:53;:::i;:::-;2886:16;;;;;2771:137;-1:-1:-1;;2771:137:1:o;3485:1073::-;3673:4;3721:2;3710:9;3706:18;3751:6;3740:9;3733:25;3777:2;3815;3810;3799:9;3795:18;3788:30;3838:6;3873;3867:13;3904:6;3896;3889:22;3942:2;3931:9;3927:18;3920:25;;4004:2;3994:6;3991:1;3987:14;3976:9;3972:30;3968:39;3954:53;;4042:2;4034:6;4030:15;4063:4;4076:453;4090:6;4087:1;4084:13;4076:453;;;4155:22;;;-1:-1:-1;;4151:36:1;4139:49;;4211:13;;4253:9;;4275:24;;;4312:61;4253:9;4347:15;;;4334:11;;;4312:61;:::i;:::-;4439:2;4416:17;-1:-1:-1;;4412:31:1;4400:44;;;;4396:53;;;-1:-1:-1;4507:12:1;;;;4472:15;;;;4112:1;4105:9;4076:453;;;-1:-1:-1;4546:6:1;;3682:876;-1:-1:-1;;;;;;;;3682:876:1:o;4563:257::-;4635:4;4629:11;;;4667:17;;4714:18;4699:34;;4735:22;;;4696:62;4693:2;;;4761:18;;:::i;:::-;4797:4;4790:24;4609:211;:::o;4825:275::-;4896:2;4890:9;4961:2;4942:13;;-1:-1:-1;;4938:27:1;4926:40;;4996:18;4981:34;;5017:22;;;4978:62;4975:2;;;5043:18;;:::i;:::-;5079:2;5072:22;4870:230;;-1:-1:-1;4870:230:1:o;5105:125::-;5145:4;5173:1;5170;5167:8;5164:2;;;5178:18;;:::i;:::-;-1:-1:-1;5215:9:1;;5154:76::o;5235:258::-;5307:1;5317:113;5331:6;5328:1;5325:13;5317:113;;;5407:11;;;5401:18;5388:11;;;5381:39;5353:2;5346:10;5317:113;;;5448:6;5445:1;5442:13;5439:2;;;5483:1;5474:6;5469:3;5465:16;5458:27;5439:2;;5288:205;;;:::o;5498:135::-;5537:3;-1:-1:-1;;5558:17:1;;5555:2;;;5578:18;;:::i;:::-;-1:-1:-1;5625:1:1;5614:13;;5545:88::o;5638:127::-;5699:10;5694:3;5690:20;5687:1;5680:31;5730:4;5727:1;5720:15;5754:4;5751:1;5744:15;5770:127;5831:10;5826:3;5822:20;5819:1;5812:31;5862:4;5859:1;5852:15;5886:4;5883:1;5876:15

Swarm Source

ipfs://30be31b61f546d6431aaa7f3e41071cc33a79c9cc36347e0e8f47616edfc3f7e
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.