Overview
S Balance
0 S
S Value
-More Info
Private Name Tags
ContractCreator
Loading...
Loading
Contract Name:
MultiNotify
Compiler Version
v0.8.9+commit.e5eed63a
Contract Source Code (Solidity)
/** *Submitted for verification at SonicScan.org on 2025-01-04 */ /** *Submitted for verification at ftmscan.com on 2024-08-22 */ /* //SPDX-License-Identifier: BUSL-1.1 Copyright 2024 Guru Network [email protected] Copyright 2024 Equalizer Exchange Business Source License 1.1 License text copyright (c) 2017 MariaDB Corporation Ab, All Rights Reserved. "Business Source License" is a trademark of MariaDB Corporation Ab. ----------------------------------------------------------------------------- Parameters Licensor: Guru Network & Equalizer Exchange Licensed Work: eLOCKS, eLockerRoom, eLOCK, Art & Solidity Smart Contracts, eLOCKS NFT, Artwork, Metadata, tangible or intangible parts, or parts of, or any software or property derived therefrom. The Licensed Work is (c) 2024 Guru Network and the Licensed Work is (c) 2024 Equalizer Exchange Additional Use Grant: Any uses listed and defined at any Self-addressed transactions on Ethereum Mainnet from 0x167d87a906da361a10061fe42bbe89451c2ee584 with explicit expression of Additional Use Grant Change Date: The earlier of 2028-12-31 or a date specified at any Self-addressed transactions on Ethereum Mainnet from 0x167d87a906da361a10061fe42bbe89451c2ee584 with explicit expression of Change Date Change License: GNU General Public License v2.0 or later ----------------------------------------------------------------------------- Terms The Licensor hereby grants you the right to copy, modify, create derivative works, redistribute, and make non-production use of the Licensed Work. The Licensor may make an Additional Use Grant, above, permitting limited production use. Effective on the Change Date, or the seventh anniversary of the first publicly available distribution of a specific version of the Licensed Work under this License, whichever comes first, the Licensor hereby grants you rights under the terms of the Change License, and the rights granted in the paragraph above terminate. If your use of the Licensed Work does not comply with the requirements currently in effect as described in this License, you must purchase a commercial license from the Licensor, its affiliated entities, or authorized resellers, or you must refrain from using the Licensed Work. All copies of the original and modified Licensed Work, and derivative works of the Licensed Work, are subject to this License. This License applies separately for each version of the Licensed Work and the Change Date may vary for each version of the Licensed Work released by Licensor. You must conspicuously display this License on each original or modified copy of the Licensed Work. If you receive the Licensed Work in original or modified form from a third party, the terms and conditions set forth in this License apply to your use of that work. Any use of the Licensed Work in violation of this License will automatically terminate your rights under this License for the current and all other versions of the Licensed Work. This License does not grant you any right in any trademark or logo of Licensor or its affiliates (provided that you may use a trademark or logo of Licensor as expressly required by this License). TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON AN "AS IS" BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS, EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND TITLE. MariaDB hereby grants you permission to use this License’s text to license your works, and to refer to it using the trademark "Business Source License", as long as you comply with the Covenants of Licensor below. ----------------------------------------------------------------------------- Covenants of Licensor In consideration of the right to use this License’s text and the "Business Source License" name and trademark, Licensor covenants to MariaDB, and to all other recipients of the licensed work to be provided by Licensor: 1. To specify as the Change License the GPL Version 2.0 or any later version, or a license that is compatible with GPL Version 2.0 or a later version, where "compatible" means that software provided under the Change License can be included in a program with software provided under GPL Version 2.0 or a later version. Licensor may specify additional Change Licenses without limitation. 2. To either: (a) specify an additional grant of rights to use that does not impose any additional restriction on the right granted in this License, as the Additional Use Grant; or (b) insert the text "None". 3. To specify a Change Date. 4. Not to modify this License in any other way. ----------------------------------------------------------------------------- Notice The Business Source License (this document, or the "License") is not an Open Source license. However, the Licensed Work will eventually be made available under an Open Source License, as stated in this License. ----------------------------------------------------------------------------- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ----------------------------------------------------------------------------- FFFFF TTTTTTT M M GGGGG U U RRRRR U U FF TTT M M M M G U U RR R U U FFFFF TTT M M M G GGG U U RRRRR U U FF TTT M M M O G G U U RR R U U FF TTT M M GGGGG UUUU RR RRR UUUU https://eliteness.network Contact us at: https://discord.com/invite/QpyfMarNrV https://t.me/FTM1337 Community Mediums: https://medium.com/@ftm1337 https://twitter.com/ftm1337 */ pragma solidity 0.8.9; interface IERC20 { function approve(address, uint) external returns (bool); function transfer(address, uint) external returns (bool); function transferFrom(address, address, uint) external returns (bool); } interface IRewarder { function notifyRewardAmount(address, uint) external; } contract MultiNotify { address immutable admin; constructor() { admin = msg.sender; } function multiNotifyRewardAmounts(IERC20 token, IRewarder[] memory rewarders, uint[] memory amounts) external { require( rewarders.length == amounts.length, "e1"); { uint total; for(uint i; i < rewarders.length; i++) { total += amounts[i]; } require(token.transferFrom(msg.sender, address(this), total), "e2"); } for(uint i; i < rewarders.length; i++) { require( token.approve( address(rewarders[i]), amounts[i]) , "e3" ); rewarders[i].notifyRewardAmount( address(token), amounts[i]); } } function rescue(IERC20 _token, address _to, uint _amt) external { require(msg.sender == admin, "e4"); _token.transfer(_to, _amt); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"contract IRewarder[]","name":"rewarders","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"multiNotifyRewardAmounts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amt","type":"uint256"}],"name":"rescue","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a060405234801561001057600080fd5b503360805260805161070161002f6000396000606e01526107016000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806320ff430b1461003b578063cedeb2d714610050575b600080fd5b61004e610049366004610456565b610063565b005b61004e61005e36600461056d565b61014d565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146100c55760405162461bcd60e51b8152602060048201526002602482015261194d60f21b60448201526064015b60405180910390fd5b60405163a9059cbb60e01b81526001600160a01b0383811660048301526024820183905284169063a9059cbb90604401602060405180830381600087803b15801561010f57600080fd5b505af1158015610123573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101479190610643565b50505050565b80518251146101835760405162461bcd60e51b8152602060048201526002602482015261653160f01b60448201526064016100bc565b6000805b83518110156101c9578281815181106101a2576101a261066c565b6020026020010151826101b59190610698565b9150806101c1816106b0565b915050610187565b506040516323b872dd60e01b8152336004820152306024820152604481018290526001600160a01b038516906323b872dd90606401602060405180830381600087803b15801561021857600080fd5b505af115801561022c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102509190610643565b6102815760405162461bcd60e51b8152602060048201526002602482015261329960f11b60448201526064016100bc565b5060005b825181101561014757836001600160a01b031663095ea7b38483815181106102af576102af61066c565b60200260200101518484815181106102c9576102c961066c565b60200260200101516040518363ffffffff1660e01b81526004016103029291906001600160a01b03929092168252602082015260400190565b602060405180830381600087803b15801561031c57600080fd5b505af1158015610330573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103549190610643565b6103855760405162461bcd60e51b8152602060048201526002602482015261653360f01b60448201526064016100bc565b8281815181106103975761039761066c565b60200260200101516001600160a01b031663b66503cf858484815181106103c0576103c061066c565b60200260200101516040518363ffffffff1660e01b81526004016103f99291906001600160a01b03929092168252602082015260400190565b600060405180830381600087803b15801561041357600080fd5b505af1158015610427573d6000803e3d6000fd5b505050508080610436906106b0565b915050610285565b6001600160a01b038116811461045357600080fd5b50565b60008060006060848603121561046b57600080fd5b83356104768161043e565b925060208401356104868161043e565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156104d6576104d6610497565b604052919050565b600067ffffffffffffffff8211156104f8576104f8610497565b5060051b60200190565b600082601f83011261051357600080fd5b81356020610528610523836104de565b6104ad565b82815260059290921b8401810191818101908684111561054757600080fd5b8286015b84811015610562578035835291830191830161054b565b509695505050505050565b60008060006060848603121561058257600080fd5b833561058d8161043e565b925060208481013567ffffffffffffffff808211156105ab57600080fd5b818701915087601f8301126105bf57600080fd5b81356105cd610523826104de565b81815260059190911b8301840190848101908a8311156105ec57600080fd5b938501935b828510156106135784356106048161043e565b825293850193908501906105f1565b96505050604087013592508083111561062b57600080fd5b505061063986828701610502565b9150509250925092565b60006020828403121561065557600080fd5b8151801515811461066557600080fd5b9392505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082198211156106ab576106ab610682565b500190565b60006000198214156106c4576106c4610682565b506001019056fea264697066735822122068e4fd8943aac25ddad31e55713c86771872a3c9dd3088f3d3e35c7be554e48364736f6c63430008090033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100365760003560e01c806320ff430b1461003b578063cedeb2d714610050575b600080fd5b61004e610049366004610456565b610063565b005b61004e61005e36600461056d565b61014d565b336001600160a01b037f0000000000000000000000005c146cd18fa53914580573c9b9604588529406ca16146100c55760405162461bcd60e51b8152602060048201526002602482015261194d60f21b60448201526064015b60405180910390fd5b60405163a9059cbb60e01b81526001600160a01b0383811660048301526024820183905284169063a9059cbb90604401602060405180830381600087803b15801561010f57600080fd5b505af1158015610123573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101479190610643565b50505050565b80518251146101835760405162461bcd60e51b8152602060048201526002602482015261653160f01b60448201526064016100bc565b6000805b83518110156101c9578281815181106101a2576101a261066c565b6020026020010151826101b59190610698565b9150806101c1816106b0565b915050610187565b506040516323b872dd60e01b8152336004820152306024820152604481018290526001600160a01b038516906323b872dd90606401602060405180830381600087803b15801561021857600080fd5b505af115801561022c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102509190610643565b6102815760405162461bcd60e51b8152602060048201526002602482015261329960f11b60448201526064016100bc565b5060005b825181101561014757836001600160a01b031663095ea7b38483815181106102af576102af61066c565b60200260200101518484815181106102c9576102c961066c565b60200260200101516040518363ffffffff1660e01b81526004016103029291906001600160a01b03929092168252602082015260400190565b602060405180830381600087803b15801561031c57600080fd5b505af1158015610330573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103549190610643565b6103855760405162461bcd60e51b8152602060048201526002602482015261653360f01b60448201526064016100bc565b8281815181106103975761039761066c565b60200260200101516001600160a01b031663b66503cf858484815181106103c0576103c061066c565b60200260200101516040518363ffffffff1660e01b81526004016103f99291906001600160a01b03929092168252602082015260400190565b600060405180830381600087803b15801561041357600080fd5b505af1158015610427573d6000803e3d6000fd5b505050508080610436906106b0565b915050610285565b6001600160a01b038116811461045357600080fd5b50565b60008060006060848603121561046b57600080fd5b83356104768161043e565b925060208401356104868161043e565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156104d6576104d6610497565b604052919050565b600067ffffffffffffffff8211156104f8576104f8610497565b5060051b60200190565b600082601f83011261051357600080fd5b81356020610528610523836104de565b6104ad565b82815260059290921b8401810191818101908684111561054757600080fd5b8286015b84811015610562578035835291830191830161054b565b509695505050505050565b60008060006060848603121561058257600080fd5b833561058d8161043e565b925060208481013567ffffffffffffffff808211156105ab57600080fd5b818701915087601f8301126105bf57600080fd5b81356105cd610523826104de565b81815260059190911b8301840190848101908a8311156105ec57600080fd5b938501935b828510156106135784356106048161043e565b825293850193908501906105f1565b96505050604087013592508083111561062b57600080fd5b505061063986828701610502565b9150509250925092565b60006020828403121561065557600080fd5b8151801515811461066557600080fd5b9392505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082198211156106ab576106ab610682565b500190565b60006000198214156106c4576106c4610682565b506001019056fea264697066735822122068e4fd8943aac25ddad31e55713c86771872a3c9dd3088f3d3e35c7be554e48364736f6c63430008090033
Deployed Bytecode Sourcemap
6436:797:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7079:151;;;;;;:::i;:::-;;:::i;:::-;;6537:534;;;;;;:::i;:::-;;:::i;7079:151::-;7159:10;-1:-1:-1;;;;;7173:5:0;7159:19;;7151:34;;;;-1:-1:-1;;;7151:34:0;;3554:2:1;7151:34:0;;;3536:21:1;3593:1;3573:18;;;3566:29;-1:-1:-1;;;3611:18:1;;;3604:32;3653:18;;7151:34:0;;;;;;;;;7196:26;;-1:-1:-1;;;7196:26:0;;-1:-1:-1;;;;;3874:32:1;;;7196:26:0;;;3856:51:1;3923:18;;;3916:34;;;7196:15:0;;;;;3829:18:1;;7196:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;7079:151;;;:::o;6537:534::-;6681:7;:14;6661:9;:16;:34;6652:50;;;;-1:-1:-1;;;6652:50:0;;4445:2:1;6652:50:0;;;4427:21:1;4484:1;4464:18;;;4457:29;-1:-1:-1;;;4502:18:1;;;4495:32;4544:18;;6652:50:0;4243:325:1;6652:50:0;6713:10;6733:6;6729:72;6745:9;:16;6741:1;:20;6729:72;;;6784:7;6792:1;6784:10;;;;;;;;:::i;:::-;;;;;;;6775:19;;;;;:::i;:::-;;-1:-1:-1;6763:3:0;;;;:::i;:::-;;;;6729:72;;;-1:-1:-1;6814:52:0;;-1:-1:-1;;;6814:52:0;;6833:10;6814:52;;;5350:34:1;6853:4:0;5400:18:1;;;5393:43;5452:18;;;5445:34;;;-1:-1:-1;;;;;6814:18:0;;;;;5285::1;;6814:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6806:67;;;;-1:-1:-1;;;6806:67:0;;5692:2:1;6806:67:0;;;5674:21:1;5731:1;5711:18;;;5704:29;-1:-1:-1;;;5749:18:1;;;5742:32;5791:18;;6806:67:0;5490:325:1;6806:67:0;6707:172;6887:6;6883:184;6899:9;:16;6895:1;:20;6883:184;;;6937:5;-1:-1:-1;;;;;6937:13:0;;6960:9;6970:1;6960:12;;;;;;;;:::i;:::-;;;;;;;6975:7;6983:1;6975:10;;;;;;;;:::i;:::-;;;;;;;6937:49;;;;;;;;;;;;;;;-1:-1:-1;;;;;3874:32:1;;;;3856:51;;3938:2;3923:18;;3916:34;3844:2;3829:18;;3682:274;6937:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6928:67;;;;-1:-1:-1;;;6928:67:0;;6022:2:1;6928:67:0;;;6004:21:1;6061:1;6041:18;;;6034:29;-1:-1:-1;;;6079:18:1;;;6072:32;6121:18;;6928:67:0;5820:325:1;6928:67:0;7001:9;7011:1;7001:12;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;;;;7001:31:0;;7042:5;7050:7;7058:1;7050:10;;;;;;;;:::i;:::-;;;;;;;7001:60;;;;;;;;;;;;;;;-1:-1:-1;;;;;3874:32:1;;;;3856:51;;3938:2;3923:18;;3916:34;3844:2;3829:18;;3682:274;7001:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6917:3;;;;;:::i;:::-;;;;6883:184;;14:139:1;-1:-1:-1;;;;;97:31:1;;87:42;;77:70;;143:1;140;133:12;77:70;14:139;:::o;158:485::-;248:6;256;264;317:2;305:9;296:7;292:23;288:32;285:52;;;333:1;330;323:12;285:52;372:9;359:23;391:39;424:5;391:39;:::i;:::-;449:5;-1:-1:-1;506:2:1;491:18;;478:32;519:41;478:32;519:41;:::i;:::-;158:485;;579:7;;-1:-1:-1;;;633:2:1;618:18;;;;605:32;;158:485::o;648:127::-;709:10;704:3;700:20;697:1;690:31;740:4;737:1;730:15;764:4;761:1;754:15;780:275;851:2;845:9;916:2;897:13;;-1:-1:-1;;893:27:1;881:40;;951:18;936:34;;972:22;;;933:62;930:88;;;998:18;;:::i;:::-;1034:2;1027:22;780:275;;-1:-1:-1;780:275:1:o;1060:194::-;1131:4;1164:18;1156:6;1153:30;1150:56;;;1186:18;;:::i;:::-;-1:-1:-1;1231:1:1;1227:14;1243:4;1223:25;;1060:194::o;1259:673::-;1313:5;1366:3;1359:4;1351:6;1347:17;1343:27;1333:55;;1384:1;1381;1374:12;1333:55;1420:6;1407:20;1446:4;1470:71;1486:54;1537:2;1486:54;:::i;:::-;1470:71;:::i;:::-;1575:15;;;1661:1;1657:10;;;;1645:23;;1641:32;;;1606:12;;;;1685:15;;;1682:35;;;1713:1;1710;1703:12;1682:35;1749:2;1741:6;1737:15;1761:142;1777:6;1772:3;1769:15;1761:142;;;1843:17;;1831:30;;1881:12;;;;1794;;1761:142;;;-1:-1:-1;1921:5:1;1259:673;-1:-1:-1;;;;;;1259:673:1:o;1937:1410::-;2093:6;2101;2109;2162:2;2150:9;2141:7;2137:23;2133:32;2130:52;;;2178:1;2175;2168:12;2130:52;2217:9;2204:23;2236:39;2269:5;2236:39;:::i;:::-;2294:5;-1:-1:-1;2318:2:1;2356:18;;;2343:32;2394:18;2424:14;;;2421:34;;;2451:1;2448;2441:12;2421:34;2489:6;2478:9;2474:22;2464:32;;2534:7;2527:4;2523:2;2519:13;2515:27;2505:55;;2556:1;2553;2546:12;2505:55;2592:2;2579:16;2615:71;2631:54;2682:2;2631:54;:::i;2615:71::-;2720:15;;;2802:1;2798:10;;;;2790:19;;2786:28;;;2751:12;;;;2826:19;;;2823:39;;;2858:1;2855;2848:12;2823:39;2882:11;;;;2902:231;2918:6;2913:3;2910:15;2902:231;;;3000:3;2987:17;3017:41;3050:7;3017:41;:::i;:::-;3071:20;;2935:12;;;;3111;;;;2902:231;;;3152:5;-1:-1:-1;;;3210:2:1;3195:18;;3182:32;;-1:-1:-1;3226:16:1;;;3223:36;;;3255:1;3252;3245:12;3223:36;;;3278:63;3333:7;3322:8;3311:9;3307:24;3278:63;:::i;:::-;3268:73;;;1937:1410;;;;;:::o;3961:277::-;4028:6;4081:2;4069:9;4060:7;4056:23;4052:32;4049:52;;;4097:1;4094;4087:12;4049:52;4129:9;4123:16;4182:5;4175:13;4168:21;4161:5;4158:32;4148:60;;4204:1;4201;4194:12;4148:60;4227:5;3961:277;-1:-1:-1;;;3961:277:1:o;4573:127::-;4634:10;4629:3;4625:20;4622:1;4615:31;4665:4;4662:1;4655:15;4689:4;4686:1;4679:15;4705:127;4766:10;4761:3;4757:20;4754:1;4747:31;4797:4;4794:1;4787:15;4821:4;4818:1;4811:15;4837:128;4877:3;4908:1;4904:6;4901:1;4898:13;4895:39;;;4914:18;;:::i;:::-;-1:-1:-1;4950:9:1;;4837:128::o;4970:135::-;5009:3;-1:-1:-1;;5030:17:1;;5027:43;;;5050:18;;:::i;:::-;-1:-1:-1;5097:1:1;5086:13;;4970:135::o
Swarm Source
ipfs://68e4fd8943aac25ddad31e55713c86771872a3c9dd3088f3d3e35c7be554e483
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ 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.