S Price: $0.066872 (-1.05%)
Gas: 55 Gwei

Contract

0xd37116A6AbE57f1C4FA4840432789A48a0b0dD7e

Overview

S Balance

Sonic LogoSonic LogoSonic Logo0 S

S Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Block
From
To

There are no matching entries

Please try again later

Advanced mode:
Parent Transaction Hash Block From To
View All Internal Transactions
Cross-Chain Transactions
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x94d0dB59...1db5afd3f
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
SOMockEnzymeFundValueCalculatorRouter

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

// SPDX-License-Identifier: GPL-3.0-only

pragma solidity ^0.8.18;

import "../../../external/enzyme/IEnzymeFundValueCalculatorRouter.sol";

contract SOMockEnzymeFundValueCalculatorRouter is IEnzymeFundValueCalculatorRouter {

  address weth;

  constructor (address _weth) {
    weth = _weth;
  }

  function calcGrossShareValue(
    address /* _vaultProxy */
  ) external view returns (address denominationAsset_, uint256 grossShareValue_) {
    return (weth, 1e18);
  }

  function calcNetShareValue(
    address /* _vaultProxy */
  ) external view returns (address denominationAsset_, uint256 netShareValue_) {
    return (weth, 1e18);
  }
}

// SPDX-License-Identifier: GPL-3.0-only

pragma solidity >=0.5.0;

interface IEnzymeFundValueCalculatorRouter {
  function calcGrossShareValue(address _vaultProxy)
  external
  returns (address denominationAsset_, uint256 grossShareValue_);

  function calcNetShareValue(address _vaultProxy)
  external
  returns (address denominationAsset_, uint256 netShareValue_);
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_weth","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"calcGrossShareValue","outputs":[{"internalType":"address","name":"denominationAsset_","type":"address"},{"internalType":"uint256","name":"grossShareValue_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"calcNetShareValue","outputs":[{"internalType":"address","name":"denominationAsset_","type":"address"},{"internalType":"uint256","name":"netShareValue_","type":"uint256"}],"stateMutability":"view","type":"function"}]

0x608060405234801561001057600080fd5b5060405161017538038061017583398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b60e3806100926000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c80633ba6b851146037578063c3552663146037575b600080fd5b605c6042366004607f565b506000546001600160a01b031690670de0b6b3a764000090565b604080516001600160a01b03909316835260208301919091520160405180910390f35b600060208284031215609057600080fd5b81356001600160a01b038116811460a657600080fd5b939250505056fea26469706673582212204a569ab4d24eb4a7f05d6f81cbaed314cd04d05287cea42185fc59e02de1899864736f6c63430008120033000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad38

Deployed Bytecode

0x6080604052348015600f57600080fd5b506004361060325760003560e01c80633ba6b851146037578063c3552663146037575b600080fd5b605c6042366004607f565b506000546001600160a01b031690670de0b6b3a764000090565b604080516001600160a01b03909316835260208301919091520160405180910390f35b600060208284031215609057600080fd5b81356001600160a01b038116811460a657600080fd5b939250505056fea26469706673582212204a569ab4d24eb4a7f05d6f81cbaed314cd04d05287cea42185fc59e02de1899864736f6c63430008120033

Block Transaction 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

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.