MerklStrategy

Description:

Smart contract deployed on Ethereum with Factory features.

Blockchain: Ethereum

Source Code: View Code On The Blockchain

Solidity Source Code:

{{
  "language": "Solidity",
  "settings": {
    "evmVersion": "paris",
    "metadata": {
      "bytecodeHash": "ipfs",
      "useLiteralContent": true
    },
    "optimizer": {
      "enabled": false,
      "runs": 200
    },
    "remappings": [],
    "viaIR": true,
    "outputSelection": {
      "*": {
        "*": [
          "evm.bytecode",
          "evm.deployedBytecode",
          "devdoc",
          "userdoc",
          "metadata",
          "abi"
        ]
      }
    }
  },
  "sources": {
    "contracts/vault/MerklStrategy.sol": {
      "content": "// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.10;

contract MerklStrategy {
    address private immutable merkl;

    constructor(address _merkl) {
        merkl = _merkl;
    }

    function getRewards(bytes calldata data) external {
        (bool success, bytes memory result) = merkl.call(data);
        if (!success) {
            string memory errorMessage = result.length > 0
                ? abi.decode(result, (string))
                : "Unknown error";
            revert(errorMessage);
        }
    }
}
"
    }
  }
}}

Tags:
Factory|addr:0x51253e813f8668b733ebede865a5609db9859131|verified:true|block:23590294|tx:0x66fb59afb62de40f81ade0b4371fbe4452187ceaa85b6f6240b7943b0486671e|first_check:1760703952

Submitted on: 2025-10-17 14:25:53

Comments

Log in to comment.

No comments yet.