Skip to content
Verified contractPartialMIT

EthReader

Address0xae4f41c0c73f2adaa367f2b874ed39d9879ced11
Balance

0 ETH

 

Transactions

1

 

Compiler

solc 0.8.30

 

Same code

Only this contract

 

Details

Compiler
solc 0.8.30+commit.73712a01
Language
solidity
Optimization
Yes, 200 runs
EVM version
prague
Via IR
yes
License
MIT
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
26,276,900
Creation transaction
0x9143a6acac…1a5a713a54

Read15

  • aaveGsmPoolInfo(address) → (tuple)
  • aaveGsmReader() → (address)
  • carbonPairMeta(address,address,address) → (tuple)
  • carbonPairs(address) → (tuple)
  • carbonReader() → (address)
  • carbonStrategiesPage(address,address,address,uint256,uint256) → (tuple)
  • dopplerHookInitializerData(tuple) → (tuple)
  • ethArchive() → (address)
  • originArmReader() → (address)
  • originArmV2PoolInfo(tuple) → (tuple)
  • slipstreamFactories(uint8,address,address[]) → (tuple)
  • slipstreamPoolInfo(tuple) → (tuple)
  • slipstreamReader() → (address)
  • uniswapV4HookReader() → (address)
  • version() → (uint256)

ABI as JSON

[
  {
    "type": "fallback",
    "stateMutability": "payable"
  },
  {
    "name": "aaveGsmPoolInfo",
    "type": "function",
    "inputs": [
      {
        "name": "gsmAddr",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "tuple",
        "components": [
          {
            "name": "blockNumber",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "gho",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "ghoDecimals",
            "type": "uint8",
            "internalType": "uint8"
          },
          {
            "name": "ghoName",
            "type": "string",
            "internalType": "string"
          },
          {
            "name": "ghoSymbol",
            "type": "string",
            "internalType": "string"
          },
          {
            "name": "vaultShare",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "shareDecimals",
            "type": "uint8",
            "internalType": "uint8"
          },
          {
            "name": "vaultAsset",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "assetDecimals",
            "type": "uint8",
            "internalType": "uint8"
          },
          {
            "name": "assetName",
            "type": "string",
            "internalType": "string"
          },
          {
            "name": "assetSymbol",
            "type": "string",
            "internalType": "string"
          },
          {
            "name": "priceRatio",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "buyFeeWad",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "sellFeeWad",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "exposureCap",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "currentExposure",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "ghoLimit",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "ghoUsed",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "isFrozen",
            "type": "bool",
            "internalType": "bool"
          },
          {
            "name": "isSeized",
            "type": "bool",
            "internalType": "bool"
          },
          {
            "name": "shareRate",
            "type": "uint256",
            "internalType": "uint256"
          }
        ],
        "internalType": "struct AaveGsmResponse"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "aaveGsmReader",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "contract IAaveGsmReader"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "carbonPairMeta",
    "type": "function",
    "inputs": [
      {
        "name": "controller",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "token0",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "token1",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "response",
        "type": "tuple",
        "components": [
          {
            "name": "blockNumber",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "pairId",
            "type": "uint128",
            "internalType": "uint128"
          },
          {
            "name": "token0",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "token1",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "tradingFeePPM",
            "type": "uint32",
            "internalType": "uint32"
          },
          {
            "name": "strategyCount",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "decimals0",
            "type": "uint8",
            "internalType": "uint8"
          },
          {
            "name": "decimals1",
            "type": "uint8",
            "internalType": "uint8"
          },
          {
            "name": "name0",
            "type": "string",
            "internalType": "string"
          },
          {
            "name": "name1",
            "type": "string",
            "internalType": "string"
          },
          {
            "name": "symbol0",
            "type": "string",
            "internalType": "string"
          },
          {
            "name": "symbol1",
            "type": "string",
            "internalType": "string"
          }
        ],
        "internalType": "struct CarbonPairMetaResponse"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "carbonPairs",
    "type": "function",
    "inputs": [
      {
        "name": "controller",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "response",
        "type": "tuple",
        "components": [
          {
            "name": "blockNumber",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "pairs",
            "type": "tuple[]",
            "components": [
              {
                "name": "pairId",
                "type": "uint128",
                "internalType": "uint128"
              },
              {
                "name": "token0",
                "type": "address",
                "internalType": "address"
              },
              {
                "name": "token1",
                "type": "address",
                "internalType": "address"
              }
            ],
            "internalType": "struct CarbonPairInfo[]"
          }
        ],
        "internalType": "struct CarbonPairsResponse"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "carbonReader",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "contract ICarbonReader"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "carbonStrategiesPage",
    "type": "function",
    "inputs": [
      {
        "name": "controller",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "token0",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "token1",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "startIndex",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "endIndex",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "response",
        "type": "tuple",
        "components": [
          {
            "name": "blockNumber",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "startIndex",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "endIndex",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "totalCount",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "strategies",
            "type": "tuple[]",
            "components": [
              {
                "name": "id",
                "type": "uint256",
                "internalType": "uint256"
              },
              {
                "name": "tokens",
                "type": "address[2]",
                "internalType": "address[2]"
              },
              {
                "name": "orders",
                "type": "tuple[2]",
                "components": [
                  {
                    "name": "y",
                    "type": "uint128",
                    "internalType": "uint128"
                  },
                  {
                    "name": "z",
                    "type": "uint128",
                    "internalType": "uint128"
                  },
                  {
                    "name": "A",
                    "type": "uint64",
                    "internalType": "uint64"
                  },
                  {
                    "name": "B",
                    "type": "uint64",
                    "internalType": "uint64"
                  }
                ],
                "internalType": "struct CarbonOrder[2]"
              }
            ],
            "internalType": "struct CarbonReaderStrategy[]"
          }
        ],
        "internalType": "struct CarbonStrategiesPageResponse"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "dopplerHookInitializerData",
    "type": "function",
    "inputs": [
      {
        "name": "params",
        "type": "tuple",
        "components": [
          {
            "name": "poolId",
            "type": "bytes32",
            "internalType": "bytes32"
          },
          {
            "name": "positionManager",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "hookAddress",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "poolKey",
            "type": "tuple",
            "components": [
              {
                "name": "currency0",
                "type": "address",
                "internalType": "address"
              },
              {
                "name": "currency1",
                "type": "address",
                "internalType": "address"
              },
              {
                "name": "fee",
                "type": "uint24",
                "internalType": "uint24"
              },
              {
                "name": "tickSpacing",
                "type": "int24",
                "internalType": "int24"
              },
              {
                "name": "hooks",
                "type": "address",
                "internalType": "address"
              }
            ],
            "internalType": "struct UniswapV4PoolKey"
          }
        ],
        "internalType": "struct UniswapV4HookRequest"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "tuple",
        "components": [
          {
            "name": "dopplerHook",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "isDopplerHookEnabled",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "hookCustomFee",
            "type": "uint24",
            "internalType": "uint24"
          },
          {
            "name": "hasFeeSchedule",
            "type": "bool",
            "internalType": "bool"
          },
          {
            "name": "feeScheduleStartingTime",
            "type": "uint32",
            "internalType": "uint32"
          },
          {
            "name": "feeScheduleStartFee",
            "type": "uint24",
            "internalType": "uint24"
          },
          {
            "name": "feeScheduleEndFee",
            "type": "uint24",
            "internalType": "uint24"
          },
          {
            "name": "feeScheduleLastFee",
            "type": "uint24",
            "internalType": "uint24"
          },
          {
            "name": "feeScheduleDurationSeconds",
            "type": "uint32",
            "internalType": "uint32"
          }
        ],
        "internalType": "struct DopplerHookInitializerResponse"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "ethArchive",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "originArmReader",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "contract IOriginArmReader"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "originArmV2PoolInfo",
    "type": "function",
    "inputs": [
      {
        "name": "params",
        "type": "tuple",
        "components": [
          {
            "name": "pool",
            "type": "address",
            "internalType": "address"
          }
        ],
        "internalType": "struct OriginArmRequest"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "tuple",
        "components": [
          {
            "name": "blockNumber",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "liquidityAsset",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "liquidityAssetDecimals",
            "type": "uint8",
            "internalType": "uint8"
          },
          {
            "name": "liquidityAssetName",
            "type": "string",
            "internalType": "string"
          },
          {
            "name": "liquidityAssetSymbol",
            "type": "string",
            "internalType": "string"
          },
          {
            "name": "liquidityReserve",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "paused",
            "type": "bool",
            "internalType": "bool"
          },
          {
            "name": "baseAssets",
            "type": "tuple[]",
            "components": [
              {
                "name": "baseAsset",
                "type": "address",
                "internalType": "address"
              },
              {
                "name": "baseAssetDecimals",
                "type": "uint8",
                "internalType": "uint8"
              },
              {
                "name": "baseAssetName",
                "type": "string",
                "internalType": "string"
              },
              {
                "name": "baseAssetSymbol",
                "type": "string",
                "internalType": "string"
              },
              {
                "name": "baseReserve",
                "type": "uint256",
                "internalType": "uint256"
              },
              {
                "name": "buyPrice",
                "type": "uint256",
                "internalType": "uint256"
              },
              {
                "name": "sellPrice",
                "type": "uint256",
                "internalType": "uint256"
              },
              {
                "name": "buyLiquidityRemaining",
                "type": "uint256",
                "internalType": "uint256"
              },
              {
                "name": "sellLiquidityRemaining",
                "type": "uint256",
                "internalType": "uint256"
              },
              {
                "name": "crossPrice",
                "type": "uint256",
                "internalType": "uint256"
              },
              {
                "name": "adapter",
                "type": "address",
                "internalType": "address"
              },
              {
                "name": "peggedToLiquidityAsset",
                "type": "bool",
                "internalType": "bool"
              }
            ],
            "internalType": "struct OriginArmV2BaseAssetResponse[]"
          }
        ],
        "internalType": "struct OriginArmV2Response"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "slipstreamFactories",
    "type": "function",
    "inputs": [
      {
        "name": "dex",
        "type": "uint8",
        "internalType": "enum Dex"
      },
      {
        "name": "poolAddr",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "factories",
        "type": "address[]",
        "internalType": "address[]"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "tuple",
        "components": [
          {
            "name": "isPool",
            "type": "bool",
            "internalType": "bool"
          },
          {
            "name": "factory",
            "type": "address",
            "internalType": "address"
          }
        ],
        "internalType": "struct SlipstreamFactoriesOutput"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "slipstreamPoolInfo",
    "type": "function",
    "inputs": [
      {
        "name": "params",
        "type": "tuple",
        "components": [
          {
            "name": "pool",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "dex",
            "type": "uint8",
            "internalType": "enum Dex"
          },
          {
            "name": "bitmapIndexLimit",
            "type": "int16",
            "internalType": "int16"
          },
          {
            "name": "observationSize",
            "type": "uint32",
            "internalType": "uint32"
          },
          {
            "name": "observationSecondsAgo",
            "type": "uint32",
            "internalType": "uint32"
          }
        ],
        "internalType": "struct SlipstreamRequest"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "tuple",
        "components": [
          {
            "name": "blockNumber",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "basePoolInfo",
            "type": "tuple",
            "components": [
              {
                "name": "decimals0",
                "type": "uint8",
                "internalType": "uint8"
              },
              {
                "name": "decimals1",
                "type": "uint8",
                "internalType": "uint8"
              },
              {
                "name": "token0",
                "type": "address",
                "internalType": "address"
              },
              {
                "name": "token1",
                "type": "address",
                "internalType": "address"
              },
              {
                "name": "name0",
                "type": "string",
                "internalType": "string"
              },
              {
                "name": "name1",
                "type": "string",
                "internalType": "string"
              },
              {
                "name": "symbol0",
                "type": "string",
                "internalType": "string"
              },
              {
                "name": "symbol1",
                "type": "string",
                "internalType": "string"
              },
              {
                "name": "fee",
                "type": "uint24",
                "internalType": "uint24"
              },
              {
                "name": "liquidity",
                "type": "uint128",
                "internalType": "uint128"
              },
              {
                "name": "sqrtPrice",
                "type": "uint160",
                "internalType": "uint160"
              },
              {
                "name": "tick",
                "type": "int24",
                "internalType": "int24"
              },
              {
                "name": "tickSpacing",
                "type": "int24",
                "internalType": "int24"
              },
              {
                "name": "factory",
                "type": "address",
                "internalType": "address"
              },
              {
                "name": "observationIndex",
                "type": "uint16",
                "internalType": "uint16"
              },
              {
                "name": "observationCardinality",
                "type": "uint16",
                "internalType": "uint16"
              },
              {
                "name": "tickIndex",
                "type": "uint24",
                "internalType": "uint24"
              },
              {
                "name": "ticks",
                "type": "tuple[]",
                "components": [
                  {
                    "name": "tick",
                    "type": "int24",
                    "internalType": "int24"
                  },
                  {
                    "name": "liquidityNet",
                    "type": "int128",
                    "internalType": "int128"
                  }
                ],
                "internalType": "struct TickInfo[]"
              },
              {
                "name": "reserve0",
                "type": "uint256",
                "internalType": "uint256"
              },
              {
                "name": "reserve1",
                "type": "uint256",
                "internalType": "uint256"
              }
            ],
            "internalType": "struct SlipstreamBasePool"
          },
          {
            "name": "hasDynamicFee",
            "type": "bool",
            "internalType": "bool"
          },
          {
            "name": "feeModuleAddr",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "baseFee",
            "type": "uint24",
            "internalType": "uint24"
          },
          {
            "name": "feeCap",
            "type": "uint24",
            "internalType": "uint24"
          },
          {
            "name": "scalingFactor",
            "type": "uint64",
            "internalType": "uint64"
          },
          {
            "name": "defaultScalingFactor",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "defaultFeeCap",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "secondsAgo",
            "type": "uint32",
            "internalType": "uint32"
          },
          {
            "name": "observationTimestamps",
            "type": "uint32[]",
            "internalType": "uint32[]"
          },
          {
            "name": "observationTickCumulatives",
            "type": "int56[]",
            "internalType": "int56[]"
          }
        ],
        "internalType": "struct SlipstreamResponse"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "slipstreamReader",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "contract ISlipstreamReader"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "uniswapV4HookReader",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "contract IUniswapV4HookReader"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "version",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "pure"
  },
  {
    "type": "receive",
    "stateMutability": "payable"
  }
]

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.