Skip to content
Verified contractPartialLicenseRef-DCL-1.0

RainlangInterpreter

Address0x780ca179b190c5e57fd7ac308a7d966da4cee428
Balance

0 ETH

 

Transactions

0

 

Compiler

solc 0.8.25

 

Same code

Only this contract

 

Details

Compiler
solc 0.8.25+commit.b61c2a91
Language
solidity
Optimization
Yes, 18,500 runs
EVM version
cancun
License
LicenseRef-DCL-1.0
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
26,282,698
Creation transaction
0xc28ce9d7b9…d32ad0b96c

158 files

The source code is large: one file is shown at a time. Choose a file in the list.

src/concrete/RainlangInterpreter.sol

// SPDX-License-Identifier: LicenseRef-DCL-1.0
// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd
pragma solidity =0.8.25;

import {BaseRainlangInterpreter} from "rainlang-0.2.30/src/abstract/BaseRainlangInterpreter.sol";
import {

    // Exported for convenience.
    //forge-lint: disable-next-line(unused-import)
    BYTECODE_HASH as INTERPRETER_BYTECODE_HASH,
    OPCODE_FUNCTION_POINTERS
} from "../generated/RainlangInterpreterPointers.sol";

/// @title RainlangInterpreter
/// @notice `BaseRainlangInterpreter` bound to its generated opcode function
/// pointer table.
contract RainlangInterpreter is BaseRainlangInterpreter {
    /// @inheritdoc BaseRainlangInterpreter
    function opcodeFunctionPointers() internal view virtual override returns (bytes memory) {
        return OPCODE_FUNCTION_POINTERS;
    }
}
Compiler settingsShow
{
  "viaIR": false,
  "metadata": {
    "appendCBOR": false,
    "bytecodeHash": "none",
    "useLiteralContent": false
  },
  "libraries": {},
  "optimizer": {
    "runs": 18500,
    "enabled": true
  },
  "evmVersion": "cancun",
  "remappings": [
    "@openzeppelin-contracts-5.7.0/=dependencies/@openzeppelin-contracts-5.7.0/",
    "forge-std-1.17.0/=dependencies/forge-std-1.17.0/",
    "rain-deploy-0.1.25/=dependencies/rain-deploy-0.1.25/",
    "rain-extrospection-0.1.16/=dependencies/rain-extrospection-0.1.16/",
    "rain-factory-0.2.5/=dependencies/rain-factory-0.2.5/",
    "rain-intorastring-0.1.4/=dependencies/rain-intorastring-0.1.4/",
    "rain-lib-hash-0.1.27/=dependencies/rain-lib-hash-0.1.27/",
    "rain-lib-memkv-0.2.0/=dependencies/rain-lib-memkv-0.2.0/",
    "rain-lib-typecast-0.1.4/=dependencies/rain-lib-typecast-0.1.4/",
    "rain-math-binary-0.1.4/=dependencies/rain-math-binary-0.1.4/",
    "rain-math-float-0.3.11/=dependencies/rain-math-float-0.3.11/",
    "rain-math-float-deploy-0.1.9/=dependencies/rain-math-float-deploy-0.1.9/",
    "rain-metadata-0.1.43/=dependencies/rain-metadata-0.1.43/",
    "rain-sol-codegen-0.1.39/=dependencies/rain-sol-codegen-0.1.39/",
    "rain-solmem-0.1.28/=dependencies/rain-solmem-0.1.28/",
    "rain-string-0.3.9/=dependencies/rain-string-0.3.9/",
    "rain-tofu-erc20-decimals-0.1.4/=dependencies/rain-tofu-erc20-decimals-0.1.4/",
    "rain-tofu-erc20-decimals-deploy-0.1.4/=dependencies/rain-tofu-erc20-decimals-deploy-0.1.4/",
    "rainlang-0.2.30/=dependencies/rainlang-0.2.30/",
    "mut/=dependencies/rain-string-0.3.9/src/lib/mut/",
    "parse/=dependencies/rain-string-0.3.9/src/lib/parse/"
  ]
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.