ETH Price: $3,240.72 (-2.61%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

Please try again later

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DefisaverLogger

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2022-01-26
*/

// SPDX-License-Identifier: MIT

pragma solidity =0.8.10;

contract DefisaverLogger {
    event RecipeEvent(
        address indexed caller,
        string indexed logName
    );

    event ActionDirectEvent(
        address indexed caller,
        string indexed logName,
        bytes data
    );

    function logRecipeEvent(
        string memory _logName
    ) public {
        emit RecipeEvent(msg.sender, _logName);
    }

    function logActionDirectEvent(
        string memory _logName,
        bytes memory _data
    ) public {
        emit ActionDirectEvent(msg.sender, _logName, _data);
    }
}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":true,"internalType":"string","name":"logName","type":"string"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"}],"name":"ActionDirectEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":true,"internalType":"string","name":"logName","type":"string"}],"name":"RecipeEvent","type":"event"},{"inputs":[{"internalType":"string","name":"_logName","type":"string"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"logActionDirectEvent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_logName","type":"string"}],"name":"logRecipeEvent","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5061031e806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806305fedae51461003b578063f4b24b5514610050575b600080fd5b61004e6100493660046101b4565b610063565b005b61004e61005e3660046101f1565b6100a6565b806040516100719190610299565b6040519081900381209033907fb6cd938f99beba85b61cc813aa1c12ba1b95f797dfb6ddd567c0f361f3e7757490600090a350565b816040516100b49190610299565b6040518091039020336001600160a01b03167ff28c1e8e1a8c97027796e625e1ed041028c9642e14da6e7ad2c18838a59a2d8c836040516100f591906102b5565b60405180910390a35050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561013257610132610101565b604051601f8501601f19908116603f0116810190828211818310171561015a5761015a610101565b8160405280935085815286868601111561017357600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261019e57600080fd5b6101ad83833560208501610117565b9392505050565b6000602082840312156101c657600080fd5b813567ffffffffffffffff8111156101dd57600080fd5b6101e98482850161018d565b949350505050565b6000806040838503121561020457600080fd5b823567ffffffffffffffff8082111561021c57600080fd5b6102288683870161018d565b9350602085013591508082111561023e57600080fd5b508301601f8101851361025057600080fd5b61025f85823560208401610117565b9150509250929050565b60005b8381101561028457818101518382015260200161026c565b83811115610293576000848401525b50505050565b600082516102ab818460208701610269565b9190910192915050565b60208152600082518060208401526102d4816040850160208701610269565b601f01601f1916919091016040019291505056fea26469706673582212202c501d595f1effc17fc579d5693c18e5666bc696b8725ca0ffac1890494b99b064736f6c634300080a0033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100365760003560e01c806305fedae51461003b578063f4b24b5514610050575b600080fd5b61004e6100493660046101b4565b610063565b005b61004e61005e3660046101f1565b6100a6565b806040516100719190610299565b6040519081900381209033907fb6cd938f99beba85b61cc813aa1c12ba1b95f797dfb6ddd567c0f361f3e7757490600090a350565b816040516100b49190610299565b6040518091039020336001600160a01b03167ff28c1e8e1a8c97027796e625e1ed041028c9642e14da6e7ad2c18838a59a2d8c836040516100f591906102b5565b60405180910390a35050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561013257610132610101565b604051601f8501601f19908116603f0116810190828211818310171561015a5761015a610101565b8160405280935085815286868601111561017357600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261019e57600080fd5b6101ad83833560208501610117565b9392505050565b6000602082840312156101c657600080fd5b813567ffffffffffffffff8111156101dd57600080fd5b6101e98482850161018d565b949350505050565b6000806040838503121561020457600080fd5b823567ffffffffffffffff8082111561021c57600080fd5b6102288683870161018d565b9350602085013591508082111561023e57600080fd5b508301601f8101851361025057600080fd5b61025f85823560208401610117565b9150509250929050565b60005b8381101561028457818101518382015260200161026c565b83811115610293576000848401525b50505050565b600082516102ab818460208701610269565b9190910192915050565b60208152600082518060208401526102d4816040850160208701610269565b601f01601f1916919091016040019291505056fea26469706673582212202c501d595f1effc17fc579d5693c18e5666bc696b8725ca0ffac1890494b99b064736f6c634300080a0033

Deployed Bytecode Sourcemap

63:572:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;320:128;;;;;;:::i;:::-;;:::i;:::-;;456:176;;;;;;:::i;:::-;;:::i;320:128::-;431:8;407:33;;;;;;:::i;:::-;;;;;;;;;;419:10;;407:33;;;;;320:128;:::o;456:176::-;608:8;578:46;;;;;;:::i;:::-;;;;;;;;596:10;-1:-1:-1;;;;;578:46:0;;618:5;578:46;;;;;;:::i;:::-;;;;;;;;456:176;;:::o;14:127:1:-;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:632;211:5;241:18;282:2;274:6;271:14;268:40;;;288:18;;:::i;:::-;363:2;357:9;331:2;417:15;;-1:-1:-1;;413:24:1;;;439:2;409:33;405:42;393:55;;;463:18;;;483:22;;;460:46;457:72;;;509:18;;:::i;:::-;549:10;545:2;538:22;578:6;569:15;;608:6;600;593:22;648:3;639:6;634:3;630:16;627:25;624:45;;;665:1;662;655:12;624:45;715:6;710:3;703:4;695:6;691:17;678:44;770:1;763:4;754:6;746;742:19;738:30;731:41;;;;146:632;;;;;:::o;783:222::-;826:5;879:3;872:4;864:6;860:17;856:27;846:55;;897:1;894;887:12;846:55;919:80;995:3;986:6;973:20;966:4;958:6;954:17;919:80;:::i;:::-;910:89;783:222;-1:-1:-1;;;783:222:1:o;1010:322::-;1079:6;1132:2;1120:9;1111:7;1107:23;1103:32;1100:52;;;1148:1;1145;1138:12;1100:52;1188:9;1175:23;1221:18;1213:6;1210:30;1207:50;;;1253:1;1250;1243:12;1207:50;1276;1318:7;1309:6;1298:9;1294:22;1276:50;:::i;:::-;1266:60;1010:322;-1:-1:-1;;;;1010:322:1:o;1337:671::-;1424:6;1432;1485:2;1473:9;1464:7;1460:23;1456:32;1453:52;;;1501:1;1498;1491:12;1453:52;1541:9;1528:23;1570:18;1611:2;1603:6;1600:14;1597:34;;;1627:1;1624;1617:12;1597:34;1650:50;1692:7;1683:6;1672:9;1668:22;1650:50;:::i;:::-;1640:60;;1753:2;1742:9;1738:18;1725:32;1709:48;;1782:2;1772:8;1769:16;1766:36;;;1798:1;1795;1788:12;1766:36;-1:-1:-1;1821:24:1;;1876:4;1868:13;;1864:27;-1:-1:-1;1854:55:1;;1905:1;1902;1895:12;1854:55;1928:74;1994:7;1989:2;1976:16;1971:2;1967;1963:11;1928:74;:::i;:::-;1918:84;;;1337:671;;;;;:::o;2013:258::-;2085:1;2095:113;2109:6;2106:1;2103:13;2095:113;;;2185:11;;;2179:18;2166:11;;;2159:39;2131:2;2124:10;2095:113;;;2226:6;2223:1;2220:13;2217:48;;;2261:1;2252:6;2247:3;2243:16;2236:27;2217:48;;2013:258;;;:::o;2276:276::-;2407:3;2445:6;2439:13;2461:53;2507:6;2502:3;2495:4;2487:6;2483:17;2461:53;:::i;:::-;2530:16;;;;;2276:276;-1:-1:-1;;2276:276:1:o;2557:381::-;2704:2;2693:9;2686:21;2667:4;2736:6;2730:13;2779:6;2774:2;2763:9;2759:18;2752:34;2795:66;2854:6;2849:2;2838:9;2834:18;2829:2;2821:6;2817:15;2795:66;:::i;:::-;2922:2;2901:15;-1:-1:-1;;2897:29:1;2882:45;;;;2929:2;2878:54;;2557:381;-1:-1:-1;;2557:381:1:o

Swarm Source

ipfs://2c501d595f1effc17fc579d5693c18e5666bc696b8725ca0ffac1890494b99b0

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

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.