ETH Price: $3,099.94 (-1.71%)

Contract

0x7fD8512D8eD4CC11d61a3Ae5e2086aaD0A994473

Overview

ETH Balance

0 ETH

ETH Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Block
From
To

There are no matching entries

1 Internal Transaction found.

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
75014582025-08-03 18:04:29162 days ago1754244269  Contract Creation0 ETH

Cross-Chain Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
AaveV3DecoderAndSanitizer

Compiler Version
v0.8.21+commit.d9974bed

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.21;

contract AaveV3DecoderAndSanitizer {
    //============================== AAVEV3 ===============================

    function supply(address asset, uint256, address onBehalfOf, uint16)
        external
        pure
        virtual
        returns (bytes memory addressesFound)
    {
        addressesFound = abi.encodePacked(asset, onBehalfOf);
    }

    function withdraw(address asset, uint256, address to) external pure virtual returns (bytes memory addressesFound) {
        addressesFound = abi.encodePacked(asset, to);
    }

    function borrow(address asset, uint256, uint256, uint16, address onBehalfOf)
        external
        pure
        virtual
        returns (bytes memory addressesFound)
    {
        addressesFound = abi.encodePacked(asset, onBehalfOf);
    }

    function repay(address asset, uint256, uint256, address onBehalfOf)
        external
        pure
        virtual
        returns (bytes memory addressesFound)
    {
        addressesFound = abi.encodePacked(asset, onBehalfOf);
    }

    function setUserUseReserveAsCollateral(address asset, bool)
        external
        pure
        virtual
        returns (bytes memory addressesFound)
    {
        addressesFound = abi.encodePacked(asset);
    }

    function setUserEMode(uint8) external pure virtual returns (bytes memory addressesFound) {
        // Nothing to sanitize or return
        return addressesFound;
    }

    function claimRewards(address[] calldata, /*assets*/ uint256, /*amount*/ address to, address /*reward*/ )
        external
        pure
        virtual
        returns (bytes memory addressesFound)
    {
        addressesFound = abi.encodePacked(to);
    }
}

Settings
{
  "remappings": [
    "@solmate/=lib/solmate/src/",
    "@forge-std/=lib/forge-std/src/",
    "@ds-test/=lib/forge-std/lib/ds-test/src/",
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "@openzeppelin/=lib/openzeppelin-contracts/",
    "@ccip/=lib/ccip/",
    "@oapp-auth/=lib/OAppAuth/src/",
    "@devtools-oapp-evm/=lib/OAppAuth/lib/devtools/packages/oapp-evm/contracts/oapp/",
    "@layerzerolabs/lz-evm-messagelib-v2/=lib/OAppAuth/node_modules/@layerzerolabs/lz-evm-messagelib-v2/",
    "@layerzerolabs/lz-evm-protocol-v2/=lib/OAppAuth/lib/LayerZero-V2/packages/layerzero-v2/evm/protocol/",
    "@layerzerolabs/oapp-evm/=lib/OAppAuth/lib/devtools/packages/oapp-evm/",
    "@lz-oapp-evm/=lib/OAppAuth/lib/LayerZero-V2/packages/layerzero-v2/evm/oapp/contracts/oapp/",
    "@sbu/=lib/OAppAuth/lib/solidity-bytes-utils/",
    "LayerZero-V2/=lib/OAppAuth/lib/",
    "OAppAuth/=lib/OAppAuth/",
    "ccip/=lib/ccip/contracts/",
    "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
    "forge-std/=lib/forge-std/src/",
    "halmos-cheatcodes/=lib/OAppAuth/lib/openzeppelin-contracts/lib/halmos-cheatcodes/src/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/",
    "solidity-bytes-utils/=lib/OAppAuth/node_modules/solidity-bytes-utils/",
    "solmate/=lib/solmate/src/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "ipfs",
    "appendCBOR": true
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "paris",
  "viaIR": false,
  "libraries": {}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"asset","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"address","name":"onBehalfOf","type":"address"}],"name":"borrow","outputs":[{"internalType":"bytes","name":"addressesFound","type":"bytes"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address[]","name":"","type":"address[]"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"claimRewards","outputs":[{"internalType":"bytes","name":"addressesFound","type":"bytes"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"asset","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"onBehalfOf","type":"address"}],"name":"repay","outputs":[{"internalType":"bytes","name":"addressesFound","type":"bytes"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint8","name":"","type":"uint8"}],"name":"setUserEMode","outputs":[{"internalType":"bytes","name":"addressesFound","type":"bytes"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"asset","type":"address"},{"internalType":"bool","name":"","type":"bool"}],"name":"setUserUseReserveAsCollateral","outputs":[{"internalType":"bytes","name":"addressesFound","type":"bytes"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"asset","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"onBehalfOf","type":"address"},{"internalType":"uint16","name":"","type":"uint16"}],"name":"supply","outputs":[{"internalType":"bytes","name":"addressesFound","type":"bytes"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"asset","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"withdraw","outputs":[{"internalType":"bytes","name":"addressesFound","type":"bytes"}],"stateMutability":"pure","type":"function"}]

608060405234801561001057600080fd5b506104ec806100206000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c80635a3b74b91161005b5780635a3b74b9146100d2578063617ba0371461011257806369328dec14610125578063a415bcad1461013857600080fd5b8063236300dc1461008257806328530a47146100ab578063573ade81146100bf575b600080fd5b610095610090366004610222565b61014b565b6040516100a291906102bf565b60405180910390f35b6100956100b936600461030d565b50606090565b6100956100cd366004610337565b610181565b6100956100e036600461037d565b604051606083811b6001600160601b031916602083015290603401604051602081830303815290604052905092915050565b6100956101203660046103cb565b6101af565b61009561013336600461040d565b6101c4565b610095610146366004610449565b6101f1565b604051606083811b6001600160601b0319166020830152906034015b604051602081830303815290604052905095945050505050565b60608482604051602001610196929190610494565b6040516020818303038152906040529050949350505050565b60608483604051602001610196929190610494565b606083826040516020016101d9929190610494565b60405160208183030381529060405290509392505050565b60608582604051602001610167929190610494565b80356001600160a01b038116811461021d57600080fd5b919050565b60008060008060006080868803121561023a57600080fd5b853567ffffffffffffffff8082111561025257600080fd5b818801915088601f83011261026657600080fd5b81358181111561027557600080fd5b8960208260051b850101111561028a57600080fd5b6020928301975095505086013592506102a560408701610206565b91506102b360608701610206565b90509295509295909350565b600060208083528351808285015260005b818110156102ec578581018301518582016040015282016102d0565b506000604082860101526040601f19601f8301168501019250505092915050565b60006020828403121561031f57600080fd5b813560ff8116811461033057600080fd5b9392505050565b6000806000806080858703121561034d57600080fd5b61035685610206565b9350602085013592506040850135915061037260608601610206565b905092959194509250565b6000806040838503121561039057600080fd5b61039983610206565b9150602083013580151581146103ae57600080fd5b809150509250929050565b803561ffff8116811461021d57600080fd5b600080600080608085870312156103e157600080fd5b6103ea85610206565b9350602085013592506103ff60408601610206565b9150610372606086016103b9565b60008060006060848603121561042257600080fd5b61042b84610206565b92506020840135915061044060408501610206565b90509250925092565b600080600080600060a0868803121561046157600080fd5b61046a86610206565b94506020860135935060408601359250610486606087016103b9565b91506102b360808701610206565b6001600160601b0319606093841b811682529190921b1660148201526028019056fea264697066735822122078e7c320d15c8b1a507d67694bd4965b9118bbcecfdecb84c0fae4de7181fa1564736f6c63430008150033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061007d5760003560e01c80635a3b74b91161005b5780635a3b74b9146100d2578063617ba0371461011257806369328dec14610125578063a415bcad1461013857600080fd5b8063236300dc1461008257806328530a47146100ab578063573ade81146100bf575b600080fd5b610095610090366004610222565b61014b565b6040516100a291906102bf565b60405180910390f35b6100956100b936600461030d565b50606090565b6100956100cd366004610337565b610181565b6100956100e036600461037d565b604051606083811b6001600160601b031916602083015290603401604051602081830303815290604052905092915050565b6100956101203660046103cb565b6101af565b61009561013336600461040d565b6101c4565b610095610146366004610449565b6101f1565b604051606083811b6001600160601b0319166020830152906034015b604051602081830303815290604052905095945050505050565b60608482604051602001610196929190610494565b6040516020818303038152906040529050949350505050565b60608483604051602001610196929190610494565b606083826040516020016101d9929190610494565b60405160208183030381529060405290509392505050565b60608582604051602001610167929190610494565b80356001600160a01b038116811461021d57600080fd5b919050565b60008060008060006080868803121561023a57600080fd5b853567ffffffffffffffff8082111561025257600080fd5b818801915088601f83011261026657600080fd5b81358181111561027557600080fd5b8960208260051b850101111561028a57600080fd5b6020928301975095505086013592506102a560408701610206565b91506102b360608701610206565b90509295509295909350565b600060208083528351808285015260005b818110156102ec578581018301518582016040015282016102d0565b506000604082860101526040601f19601f8301168501019250505092915050565b60006020828403121561031f57600080fd5b813560ff8116811461033057600080fd5b9392505050565b6000806000806080858703121561034d57600080fd5b61035685610206565b9350602085013592506040850135915061037260608601610206565b905092959194509250565b6000806040838503121561039057600080fd5b61039983610206565b9150602083013580151581146103ae57600080fd5b809150509250929050565b803561ffff8116811461021d57600080fd5b600080600080608085870312156103e157600080fd5b6103ea85610206565b9350602085013592506103ff60408601610206565b9150610372606086016103b9565b60008060006060848603121561042257600080fd5b61042b84610206565b92506020840135915061044060408501610206565b90509250925092565b600080600080600060a0868803121561046157600080fd5b61046a86610206565b94506020860135935060408601359250610486606087016103b9565b91506102b360808701610206565b6001600160601b0319606093841b811682529190921b1660148201526028019056fea264697066735822122078e7c320d15c8b1a507d67694bd4965b9118bbcecfdecb84c0fae4de7181fa1564736f6c63430008150033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ 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.