ETH Price: $2,926.54 (-0.90%)

Contract

0x48b7CB0489F0aeD4E0D48f34b38851cF54c5b9AF

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

> 10 Internal Transactions found.

Latest 25 internal transactions (View All)

Parent Transaction Hash Block From To
720860892023-03-21 10:16:271041 days ago1679393787
0x48b7CB04...F54c5b9AF
0 ETH
720860672023-03-21 10:16:201041 days ago1679393780
0x48b7CB04...F54c5b9AF
0 ETH
720781352023-03-21 9:43:361041 days ago1679391816
0x48b7CB04...F54c5b9AF
0 ETH
720779532023-03-21 9:42:501041 days ago1679391770
0x48b7CB04...F54c5b9AF
0 ETH
720772462023-03-21 9:39:531041 days ago1679391593
0x48b7CB04...F54c5b9AF
0 ETH
720771782023-03-21 9:39:421041 days ago1679391582
0x48b7CB04...F54c5b9AF
0 ETH
720651422023-03-21 8:50:151041 days ago1679388615
0x48b7CB04...F54c5b9AF
0 ETH
720651132023-03-21 8:50:081041 days ago1679388608
0x48b7CB04...F54c5b9AF
0 ETH
720325952023-03-21 6:36:501041 days ago1679380610
0x48b7CB04...F54c5b9AF
0 ETH
720325652023-03-21 6:36:421041 days ago1679380602
0x48b7CB04...F54c5b9AF
0 ETH
720171172023-03-21 5:33:091041 days ago1679376789
0x48b7CB04...F54c5b9AF
0 ETH
720170592023-03-21 5:32:541041 days ago1679376774
0x48b7CB04...F54c5b9AF
0 ETH
720162032023-03-21 5:29:231041 days ago1679376563
0x48b7CB04...F54c5b9AF
0 ETH
720161792023-03-21 5:29:171041 days ago1679376557
0x48b7CB04...F54c5b9AF
0 ETH
720100032023-03-21 5:03:481041 days ago1679375028
0x48b7CB04...F54c5b9AF
0 ETH
719834672023-03-21 3:13:421041 days ago1679368422
0x48b7CB04...F54c5b9AF
0 ETH
719833832023-03-21 3:13:211041 days ago1679368401
0x48b7CB04...F54c5b9AF
0 ETH
719745992023-03-21 2:37:051041 days ago1679366225
0x48b7CB04...F54c5b9AF
0 ETH
719745672023-03-21 2:36:571041 days ago1679366217
0x48b7CB04...F54c5b9AF
0 ETH
719624282023-03-21 1:46:051041 days ago1679363165
0x48b7CB04...F54c5b9AF
0 ETH
719623892023-03-21 1:45:551041 days ago1679363155
0x48b7CB04...F54c5b9AF
0 ETH
719434382023-03-21 0:25:081041 days ago1679358308
0x48b7CB04...F54c5b9AF
0 ETH
719433432023-03-21 0:24:441041 days ago1679358284
0x48b7CB04...F54c5b9AF
0 ETH
719288162023-03-20 23:22:581041 days ago1679354578
0x48b7CB04...F54c5b9AF
0 ETH
719288002023-03-20 23:22:531041 days ago1679354573
0x48b7CB04...F54c5b9AF
0 ETH
View All Internal Transactions

Cross-Chain Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
RewardRouterController

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

import {IController} from "../core/IController.sol";

/**
 * @title Reward Router Controller for claiming and compounding rewards
 *     @dev arbi:0xA906F338CB21815cBc4Bc87ace9e68c87eF8d8F1
 */
contract RewardRouterController is IController {
    /* -------------------------------------------------------------------------- */
    /*                              STORAGE VARIABLES                             */
    /* -------------------------------------------------------------------------- */

    /// @notice compound()
    bytes4 constant compound = 0xf69e2046;

    /// @notice claimFees()
    bytes4 constant claimFees = 0xd294f093;

    /// @notice WETH
    address[] WETH;

    /* -------------------------------------------------------------------------- */
    /*                                 CONSTRUCTOR                                */
    /* -------------------------------------------------------------------------- */

    constructor(address _WETH) {
        WETH.push(_WETH);
    }

    /* -------------------------------------------------------------------------- */
    /*                             EXTERNAL FUNCTIONS                             */
    /* -------------------------------------------------------------------------- */

    function canCall(address, bool, bytes calldata data)
        external
        view
        returns (bool, address[] memory, address[] memory)
    {
        bytes4 sig = bytes4(data);

        if (sig == compound) return canCallCompound();
        if (sig == claimFees) return canCallClaimFees();

        return (false, new address[](0), new address[](0));
    }

    /* -------------------------------------------------------------------------- */
    /*                             INTERNAL FUNCTIONS                             */
    /* -------------------------------------------------------------------------- */

    function canCallClaimFees() internal view returns (bool, address[] memory, address[] memory) {
        return (true, WETH, new address[](0));
    }

    function canCallCompound() internal pure returns (bool, address[] memory, address[] memory) {
        return (true, new address[](0), new address[](0));
    }
}

File 2 of 2 : IController.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

interface IController {

    /**
        @notice General function that evaluates whether the target contract can
        be interacted with using the specified calldata
        @param target Address of external protocol/interaction
        @param useEth Specifies if Eth is being sent to the target
        @param data Calldata of the call made to target
        @return canCall Specifies if the interaction is accepted
        @return tokensIn List of tokens that the account will receive after the
        interactions
        @return tokensOut List of tokens that will be removed from the account
        after the interaction
    */
    function canCall(
        address target,
        bool useEth,
        bytes calldata data
    ) external view returns (bool, address[] memory, address[] memory);
}

Settings
{
  "remappings": [
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "forge-std/=lib/forge-std/src/",
    "solidity-bytes-utils/=lib/solidity-bytes-utils/contracts/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "bytecodeHash": "ipfs"
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "london",
  "libraries": {}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_WETH","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"bool","name":"","type":"bool"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"canCall","outputs":[{"internalType":"bool","name":"","type":"bool"},{"internalType":"address[]","name":"","type":"address[]"},{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b506040516103ab3803806103ab83398101604081905261002f91610081565b600080546001810182559080527f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e5630180546001600160a01b0319166001600160a01b03929092169190911790556100b1565b60006020828403121561009357600080fd5b81516001600160a01b03811681146100aa57600080fd5b9392505050565b6102eb806100c06000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c80633414d09914610030575b600080fd5b61004361003e366004610167565b61005b565b6040516100529392919061024e565b60405180910390f35b60006060808261006b8587610285565b90506304b0efdd60e11b6001600160e01b03198216016100ab57604080516000808252602082019081528183019092526001915b935093509350506100e8565b632d6b0f6d60e01b6001600160e01b03198216016100cb5761009f6100f2565b505060408051600080825260208201818152828401909352935091505b9450945094915050565b60408051600080825280546020818102840185018552830181815291936060938493600193879384919084018282801561015557602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610137575b50505050509150925092509250909192565b6000806000806060858703121561017d57600080fd5b84356001600160a01b038116811461019457600080fd5b9350602085013580151581146101a957600080fd5b9250604085013567ffffffffffffffff808211156101c657600080fd5b818701915087601f8301126101da57600080fd5b8135818111156101e957600080fd5b8860208285010111156101fb57600080fd5b95989497505060200194505050565b600081518084526020808501945080840160005b838110156102435781516001600160a01b03168752958201959082019060010161021e565b509495945050505050565b8315158152606060208201526000610269606083018561020a565b828103604084015261027b818561020a565b9695505050505050565b6001600160e01b031981358181169160048510156102ad5780818660040360031b1b83161692505b50509291505056fea26469706673582212208a120cca3a39a08d465af93a2fee877c4d150e48cd38b71f314c523761c5216964736f6c6343000811003300000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab1

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061002b5760003560e01c80633414d09914610030575b600080fd5b61004361003e366004610167565b61005b565b6040516100529392919061024e565b60405180910390f35b60006060808261006b8587610285565b90506304b0efdd60e11b6001600160e01b03198216016100ab57604080516000808252602082019081528183019092526001915b935093509350506100e8565b632d6b0f6d60e01b6001600160e01b03198216016100cb5761009f6100f2565b505060408051600080825260208201818152828401909352935091505b9450945094915050565b60408051600080825280546020818102840185018552830181815291936060938493600193879384919084018282801561015557602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610137575b50505050509150925092509250909192565b6000806000806060858703121561017d57600080fd5b84356001600160a01b038116811461019457600080fd5b9350602085013580151581146101a957600080fd5b9250604085013567ffffffffffffffff808211156101c657600080fd5b818701915087601f8301126101da57600080fd5b8135818111156101e957600080fd5b8860208285010111156101fb57600080fd5b95989497505060200194505050565b600081518084526020808501945080840160005b838110156102435781516001600160a01b03168752958201959082019060010161021e565b509495945050505050565b8315158152606060208201526000610269606083018561020a565b828103604084015261027b818561020a565b9695505050505050565b6001600160e01b031981358181169160048510156102ad5780818660040360031b1b83161692505b50509291505056fea26469706673582212208a120cca3a39a08d465af93a2fee877c4d150e48cd38b71f314c523761c5216964736f6c63430008110033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab1

-----Decoded View---------------
Arg [0] : _WETH (address): 0x82aF49447D8a07e3bd95BD0d56f35241523fBab1

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab1


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.