synapsecns/sanguine

View on GitHub
packages/contracts-rfq/deployments/arbitrum/SynapseIntentPreviewer.json

Summary

Maintainability
Test Coverage
{
  "address": "0x9519E8D136d0a89d7e10D1a66C97249E0135544B",
  "constructorArgs": "0x",
  "receipt": {
    "hash": "0xb34f3d918399ac6fa599ecedfdd4a47bd993f4f0e401698d6256dab2fd928ab9",
    "blockNumber": 282619262
  },
  "abi": [
    {
      "type": "function",
      "name": "NATIVE_GAS_TOKEN",
      "inputs": [],
      "outputs": [
        {
          "name": "",
          "type": "address",
          "internalType": "address"
        }
      ],
      "stateMutability": "view"
    },
    {
      "type": "function",
      "name": "previewIntent",
      "inputs": [
        {
          "name": "swapQuoter",
          "type": "address",
          "internalType": "address"
        },
        {
          "name": "forwardTo",
          "type": "address",
          "internalType": "address"
        },
        {
          "name": "tokenIn",
          "type": "address",
          "internalType": "address"
        },
        {
          "name": "tokenOut",
          "type": "address",
          "internalType": "address"
        },
        {
          "name": "amountIn",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "outputs": [
        {
          "name": "amountOut",
          "type": "uint256",
          "internalType": "uint256"
        },
        {
          "name": "steps",
          "type": "tuple[]",
          "internalType": "struct ISynapseIntentRouter.StepParams[]",
          "components": [
            {
              "name": "token",
              "type": "address",
              "internalType": "address"
            },
            {
              "name": "amount",
              "type": "uint256",
              "internalType": "uint256"
            },
            {
              "name": "msgValue",
              "type": "uint256",
              "internalType": "uint256"
            },
            {
              "name": "zapData",
              "type": "bytes",
              "internalType": "bytes"
            }
          ]
        }
      ],
      "stateMutability": "view"
    },
    {
      "type": "error",
      "name": "SIP__NoOpForwardNotSupported",
      "inputs": []
    },
    {
      "type": "error",
      "name": "SIP__PoolTokenMismatch",
      "inputs": []
    },
    {
      "type": "error",
      "name": "SIP__PoolZeroAddress",
      "inputs": []
    },
    {
      "type": "error",
      "name": "SIP__RawParamsEmpty",
      "inputs": []
    },
    {
      "type": "error",
      "name": "SIP__TokenNotNative",
      "inputs": []
    },
    {
      "type": "error",
      "name": "ZapDataV1__InvalidEncoding",
      "inputs": []
    },
    {
      "type": "error",
      "name": "ZapDataV1__TargetZeroAddress",
      "inputs": []
    }
  ]
}