ETH Price: $2,488.63 (+1.71%)

Contract

0x241F93f26c94a78f49E32AE782587355BC46a0C5

Overview

ETH Balance

0 ETH

ETH Value

$0.00

Sponsored

Transaction Hash
Method
Block
From
To
0x608060401155125082024-01-30 14:09:53251 days ago1706623793IN
 Create: RewardsDistributorInterface
0 ETH0.0004799545990.00464125

Advanced mode:
Parent Transaction Hash Block From To
View All Internal Transactions

Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
RewardsDistributorInterface

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : RewardsDistributorInterface.sol
// SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.19;

contract RewardsDistributorInterface {

    // Public and external variables
    function solidlyMinter() external view returns (address) {}
    function solidlyVoter() external view returns (address) {}
    function solidlyToken() external view returns (address) {}
    function owner() external view returns (address) {}
    function root() external view returns (bytes32 value, uint256 lastUpdatedAt) {}
    function isRootSetter(address setter) external view returns (uint256 status) {}
    function isClaimsPauser(address pauser) external view returns (uint256 status) {}
    function approvedIncentiveAmounts(address token) external view returns (uint256 amount) {}
    function claimDelay() external view returns (uint256) {}
    function activePeriod() external view returns (uint256) {}
    function maxIncentivePeriods() external view returns (uint256) {}
    function claims(address earner, bytes32 rewardKey) external view returns (uint256 amount, uint256 timestamp) {}
    function periodRewards(uint256 period, bytes32 rewardKey) external view returns (uint256 rewardAmount) {}

    // Public and external functions
    function initialize(address _solidlyMinter, address _solidlyVoter) external {}
    function claimAll(ClaimParams calldata params) external {}
    function depositLPSolidEmissions(address pool, uint256 amount) external {}
    function depositLPTokenIncentive(
        address pool,
        address token,
        uint256 amount,
        uint256 distributionStart,
        uint256 numDistributionPeriods
    ) external {}
    function depositVoteIncentive(
        address pool,
        address token,
        uint256 amount,
        uint256 distributionStart,
        uint256 numDistributionPeriods
    ) external {}
    function collectPoolFees(address pool) external returns (uint256 amount0, uint256 amount1) {}
    function setOwner(address _owner) external {}
    function toggleRootSetterStatus(address addr) external {}
    function setRoot(bytes32 _root) external {}
    function setClaimDelay(uint256 newClaimDelay) external {}
    function setMaxIncentivePeriods(uint256 newMaxIncentivePeriods) external {}
    function updateApprovedIncentiveAmounts(address token, uint256 amount) external {}
    function toggleClaimsPauserStatus(address addr) external {}
    function pauseClaims() external {}
    function getRewardKey(
        RewardType _type,
        uint8 subtype,
        address pool,
        address token
    ) external pure returns (bytes32 key) {}

    // Structs used in function parameters
    struct ClaimParams {
        address[] earners;
        EarnedRewardType[] types;
        address[] pools;
        address[] tokens;
        uint256[] amounts;
        MultiProof proof;
    }

    struct MultiProof {
        bytes32[] path;
        bool[] flags;
    }

    // Enums used in function parameters
    enum RewardType {
        STORED,
        EARNED
    }

    enum EarnedRewardType {
        LP_POOL_FEES,
        LP_SOLID_EMISSIONS,
        LP_TOKEN_INCENTIVE,
        PROTOCOL_POOL_FEES,
        VOTER_POOL_FEES,
        VOTER_VOTE_INCENTIVE
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "bytecodeHash": "none"
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"name":"activePeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"approvedIncentiveAmounts","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"address[]","name":"earners","type":"address[]"},{"internalType":"enum RewardsDistributorInterface.EarnedRewardType[]","name":"types","type":"uint8[]"},{"internalType":"address[]","name":"pools","type":"address[]"},{"internalType":"address[]","name":"tokens","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"components":[{"internalType":"bytes32[]","name":"path","type":"bytes32[]"},{"internalType":"bool[]","name":"flags","type":"bool[]"}],"internalType":"struct RewardsDistributorInterface.MultiProof","name":"proof","type":"tuple"}],"internalType":"struct RewardsDistributorInterface.ClaimParams","name":"params","type":"tuple"}],"name":"claimAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimDelay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"earner","type":"address"},{"internalType":"bytes32","name":"rewardKey","type":"bytes32"}],"name":"claims","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"timestamp","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pool","type":"address"}],"name":"collectPoolFees","outputs":[{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pool","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"depositLPSolidEmissions","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pool","type":"address"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"distributionStart","type":"uint256"},{"internalType":"uint256","name":"numDistributionPeriods","type":"uint256"}],"name":"depositLPTokenIncentive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pool","type":"address"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"distributionStart","type":"uint256"},{"internalType":"uint256","name":"numDistributionPeriods","type":"uint256"}],"name":"depositVoteIncentive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum RewardsDistributorInterface.RewardType","name":"_type","type":"uint8"},{"internalType":"uint8","name":"subtype","type":"uint8"},{"internalType":"address","name":"pool","type":"address"},{"internalType":"address","name":"token","type":"address"}],"name":"getRewardKey","outputs":[{"internalType":"bytes32","name":"key","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"_solidlyMinter","type":"address"},{"internalType":"address","name":"_solidlyVoter","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pauser","type":"address"}],"name":"isClaimsPauser","outputs":[{"internalType":"uint256","name":"status","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"setter","type":"address"}],"name":"isRootSetter","outputs":[{"internalType":"uint256","name":"status","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxIncentivePeriods","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseClaims","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"period","type":"uint256"},{"internalType":"bytes32","name":"rewardKey","type":"bytes32"}],"name":"periodRewards","outputs":[{"internalType":"uint256","name":"rewardAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"root","outputs":[{"internalType":"bytes32","name":"value","type":"bytes32"},{"internalType":"uint256","name":"lastUpdatedAt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newClaimDelay","type":"uint256"}],"name":"setClaimDelay","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxIncentivePeriods","type":"uint256"}],"name":"setMaxIncentivePeriods","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"solidlyMinter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"solidlyToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"solidlyVoter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"toggleClaimsPauserStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"toggleRootSetterStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"updateApprovedIncentiveAmounts","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b506104af806100206000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c806357df0470116100f9578063bd6d3bde11610097578063e3ca511d11610071578063e3ca511d1461028d578063e7e5b6f31461023a578063ebf0c717146102da578063f9c0ff7a146102b057600080fd5b8063bd6d3bde146102c4578063be6ba79c146102b0578063dab5f3401461027157600080fd5b80635da10572116100d35780635da10572146102b05780638da5cb5b1461023a5780639f410193146101f4578063bc45640b1461025f57600080fd5b806357df04701461028d5780635ca89c8e146102a25780635ccf2eea1461027157600080fd5b806317de3c7e116101665780631c8ec299116101405780631c8ec299146101f457806338469aca146102275780633a1920f714610271578063485cc9551461027f57600080fd5b806317de3c7e1461024957806317e114631461023a5780631b087f611461025f57600080fd5b80630d3d48ca116101a25780630d3d48ca146102275780630f3314e71461023857806313af40351461022757806317a1184f1461023a57600080fd5b8063037152aa146101c95780630a441f7b146101f45780630afb09e8146101fb575b600080fd5b6101e16101d73660046102fe565b6000949350505050565b6040519081526020015b60405180910390f35b60006101e1565b610212610209366004610360565b50600091829150565b604080519283526020830191909152016101eb565b61023861023536600461038a565b50565b005b604051600081526020016101eb565b61021261025736600461038a565b600080915091565b61023861026d366004610360565b5050565b6102386102353660046103ac565b61023861026d3660046103c5565b61023861029b3660046103f8565b5050505050565b610238610235366004610445565b6101e16102be36600461038a565b50600090565b6101e16102d2366004610480565b600092915050565b600080610212565b80356001600160a01b03811681146102f957600080fd5b919050565b6000806000806080858703121561031457600080fd5b84356002811061032357600080fd5b9350602085013560ff8116811461033957600080fd5b9250610347604086016102e2565b9150610355606086016102e2565b905092959194509250565b6000806040838503121561037357600080fd5b61037c836102e2565b946020939093013593505050565b60006020828403121561039c57600080fd5b6103a5826102e2565b9392505050565b6000602082840312156103be57600080fd5b5035919050565b600080604083850312156103d857600080fd5b6103e1836102e2565b91506103ef602084016102e2565b90509250929050565b600080600080600060a0868803121561041057600080fd5b610419866102e2565b9450610427602087016102e2565b94979496505050506040830135926060810135926080909101359150565b60006020828403121561045757600080fd5b813567ffffffffffffffff81111561046e57600080fd5b820160c081850312156103a557600080fd5b6000806040838503121561049357600080fd5b5050803592602090910135915056fea164736f6c6343000813000a

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101c45760003560e01c806357df0470116100f9578063bd6d3bde11610097578063e3ca511d11610071578063e3ca511d1461028d578063e7e5b6f31461023a578063ebf0c717146102da578063f9c0ff7a146102b057600080fd5b8063bd6d3bde146102c4578063be6ba79c146102b0578063dab5f3401461027157600080fd5b80635da10572116100d35780635da10572146102b05780638da5cb5b1461023a5780639f410193146101f4578063bc45640b1461025f57600080fd5b806357df04701461028d5780635ca89c8e146102a25780635ccf2eea1461027157600080fd5b806317de3c7e116101665780631c8ec299116101405780631c8ec299146101f457806338469aca146102275780633a1920f714610271578063485cc9551461027f57600080fd5b806317de3c7e1461024957806317e114631461023a5780631b087f611461025f57600080fd5b80630d3d48ca116101a25780630d3d48ca146102275780630f3314e71461023857806313af40351461022757806317a1184f1461023a57600080fd5b8063037152aa146101c95780630a441f7b146101f45780630afb09e8146101fb575b600080fd5b6101e16101d73660046102fe565b6000949350505050565b6040519081526020015b60405180910390f35b60006101e1565b610212610209366004610360565b50600091829150565b604080519283526020830191909152016101eb565b61023861023536600461038a565b50565b005b604051600081526020016101eb565b61021261025736600461038a565b600080915091565b61023861026d366004610360565b5050565b6102386102353660046103ac565b61023861026d3660046103c5565b61023861029b3660046103f8565b5050505050565b610238610235366004610445565b6101e16102be36600461038a565b50600090565b6101e16102d2366004610480565b600092915050565b600080610212565b80356001600160a01b03811681146102f957600080fd5b919050565b6000806000806080858703121561031457600080fd5b84356002811061032357600080fd5b9350602085013560ff8116811461033957600080fd5b9250610347604086016102e2565b9150610355606086016102e2565b905092959194509250565b6000806040838503121561037357600080fd5b61037c836102e2565b946020939093013593505050565b60006020828403121561039c57600080fd5b6103a5826102e2565b9392505050565b6000602082840312156103be57600080fd5b5035919050565b600080604083850312156103d857600080fd5b6103e1836102e2565b91506103ef602084016102e2565b90509250929050565b600080600080600060a0868803121561041057600080fd5b610419866102e2565b9450610427602087016102e2565b94979496505050506040830135926060810135926080909101359150565b60006020828403121561045757600080fd5b813567ffffffffffffffff81111561046e57600080fd5b820160c081850312156103a557600080fd5b6000806040838503121561049357600080fd5b5050803592602090910135915056fea164736f6c6343000813000a

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