MON Price: $0.018386 (+3.31%)

Contract

0x8B2da7D9242E631C6f3E1d40Db3407b2F15FFa84

Overview

MON Balance

Monad Chain LogoMonad Chain LogoMonad Chain Logo0 MON

MON Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

Please try again later

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

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

Contract Name:
MonadLSTAdapter

Compiler Version
v0.8.26+commit.8a97fa7a

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion

Contract Source Code (Solidity Standard Json-Input format)

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;
import './PriceOracle.sol';

interface IMonadLST {
  function convertToAssets(uint256) external view returns (uint256);
}

contract MonadLSTAdapter is PriceAdapter {
  uint256 constant EXP_SCALE = 1e18;

  constructor(address _correlatedToken /* aprMON */, address _underlyingToken /* WMON */) {
    correlatedToken = _correlatedToken;
    underlyingToken = _underlyingToken;
  }

  /**
   * @notice Gets underlying token amount for 1e18 correlated token
   * @return amount Amount of underlying token
   */
  function exchangeRate() public view override returns (uint256) {
    return IMonadLST(correlatedToken).convertToAssets(EXP_SCALE);
  }
}

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;

abstract contract PriceOracle {
  /// @notice Indicator that this is a PriceOracle contract (for inspection)
  bool public constant isPriceOracle = true;

  /**
   * @notice Get the underlying price of a cToken asset
   * @param cToken The cToken to get the underlying price of
   * @return The underlying asset price mantissa (scaled by 1e18).
   *  Zero means the price is unavailable.
   */
  function getUnderlyingPrice(address cToken) external view virtual returns (uint256);

  function getPrice(address asset) external view virtual returns (uint256);
}

abstract contract PriceAdapter {
  address underlyingToken;
  address correlatedToken;

  /**
   * @notice returns underlying tokens for 1 correlatedToken
   */
  function exchangeRate() external view virtual returns (uint256);
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_correlatedToken","type":"address"},{"internalType":"address","name":"_underlyingToken","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"exchangeRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

0x608034608657601f6101d538819003918201601f19168301916001600160401b03831184841017608b578084926040948552833981010312608657604b602060458360a1565b920160a1565b600180546001600160a01b039384166001600160a01b0319918216179091556000805492909316911617905560405161012090816100b58239f35b600080fd5b634e487b7160e01b600052604160045260246000fd5b51906001600160a01b038216820360865756fe6080806040526004361015601257600080fd5b60003560e01c633ba0b9a914602657600080fd5b3460e557600036600319011260e5576001546303d1689d60e11b8252670de0b6b3a76400006004830152602090829060249082906001600160a01b03165afa90811560d957600091607d575b602082604051908152f35b60203d60201160d3575b601f8101601f1916820167ffffffffffffffff81118382101760bf5760209183916040528101031260bb5751905060206072565b5080fd5b634e487b7160e01b84526041600452602484fd5b503d6087565b6040513d6000823e3d90fd5b600080fdfea2646970667358221220741db8abcfd9b43fd2737a323e9e5c90705f1103aa14a97ef632b3c5d52ed48b64736f6c634300081a00330000000000000000000000001b68626dca36c7fe922fd2d55e4f631d962de19c0000000000000000000000003bd359c1119da7da1d913d1c4d2b7c461115433a

Deployed Bytecode

0x6080806040526004361015601257600080fd5b60003560e01c633ba0b9a914602657600080fd5b3460e557600036600319011260e5576001546303d1689d60e11b8252670de0b6b3a76400006004830152602090829060249082906001600160a01b03165afa90811560d957600091607d575b602082604051908152f35b60203d60201160d3575b601f8101601f1916820167ffffffffffffffff81118382101760bf5760209183916040528101031260bb5751905060206072565b5080fd5b634e487b7160e01b84526041600452602484fd5b503d6087565b6040513d6000823e3d90fd5b600080fdfea2646970667358221220741db8abcfd9b43fd2737a323e9e5c90705f1103aa14a97ef632b3c5d52ed48b64736f6c634300081a0033

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

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.