consts

package
v1.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2026 License: LGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const BridgeABI = "" /* 11083-byte string literal not displayed */

Variables

View Source
var HubPoolABI, _ = abi.JSON(strings.NewReader(`
[
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "destinationChainId",
        "type": "uint256"
      },
      {
        "internalType": "address",
        "name": "l1Token",
        "type": "address"
      }
    ],
    "name": "poolRebalanceRoute",
    "outputs": [
      {
        "internalType": "address",
        "name": "destinationToken",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  }
]
`))
View Source
var LifiABI, _ = abi.JSON(strings.NewReader(`[{
  "name": "fillOrderOutputs",
  "type": "function",
  "stateMutability": "nonpayable",
  "inputs": [
    {"name": "orderId", "type": "bytes32"},
    {
      "name": "outputs",
      "type": "tuple[]",
      "components": [
        {"name": "oracle", "type": "bytes32"},
        {"name": "settler", "type": "bytes32"},
        {"name": "chainId", "type": "uint256"},
        {"name": "token", "type": "bytes32"},
        {"name": "amount", "type": "uint256"},
        {"name": "recipient", "type": "bytes32"},
        {"name": "callbackData", "type": "bytes"},
        {"name": "context", "type": "bytes"}
      ]
    },
    {"name": "fillDeadline", "type": "uint48"},
    {"name": "fillerData", "type": "bytes"}
  ],
  "outputs": []
}]`))
View Source
var LighterABI, _ = abi.JSON(strings.NewReader(`[{
  "name": "fulfillWithdraw",
  "type": "function",
  "stateMutability": "nonpayable",
  "inputs": [
    {"name": "txHash", "type": "bytes32"},
    {"name": "toAddress", "type": "address"},
    {"name": "amount", "type": "uint256"}
  ],
  "outputs": []
}]`))
View Source
var SpokePoolABI, _ = abi.JSON(strings.NewReader(`
[
  {
    "inputs": [
      {
        "components": [
          {
            "internalType": "bytes32",
            "name": "depositor",
            "type": "bytes32"
          },
          {
            "internalType": "bytes32",
            "name": "recipient",
            "type": "bytes32"
          },
          {
            "internalType": "bytes32",
            "name": "exclusiveRelayer",
            "type": "bytes32"
          },
          {
            "internalType": "bytes32",
            "name": "inputToken",
            "type": "bytes32"
          },
          {
            "internalType": "bytes32",
            "name": "outputToken",
            "type": "bytes32"
          },
          {
            "internalType": "uint256",
            "name": "inputAmount",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "outputAmount",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "originChainId",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "depositId",
            "type": "uint256"
          },
          {
            "internalType": "uint32",
            "name": "fillDeadline",
            "type": "uint32"
          },
          {
            "internalType": "uint32",
            "name": "exclusivityDeadline",
            "type": "uint32"
          },
          {
            "internalType": "bytes",
            "name": "message",
            "type": "bytes"
          }
        ],
        "internalType": "struct V3SpokePoolInterface.V3RelayData",
        "name": "relayData",
        "type": "tuple"
      },
      {
        "internalType": "uint256",
        "name": "repaymentChainId",
        "type": "uint256"
      },
      {
        "internalType": "bytes32",
        "name": "repaymentAddress",
        "type": "bytes32"
      }
    ],
    "name": "fillRelay",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
{
  "anonymous": false,
  "inputs": [
    {
      "indexed": false,
      "internalType": "bytes32",
      "name": "inputToken",
      "type": "bytes32"
    },
    {
      "indexed": false,
      "internalType": "bytes32",
      "name": "outputToken",
      "type": "bytes32"
    },
    {
      "indexed": false,
      "internalType": "uint256",
      "name": "inputAmount",
      "type": "uint256"
    },
    {
      "indexed": false,
      "internalType": "uint256",
      "name": "outputAmount",
      "type": "uint256"
    },
    {
      "indexed": true,
      "internalType": "uint256",
      "name": "destinationChainId",
      "type": "uint256"
    },
    {
      "indexed": true,
      "internalType": "uint256",
      "name": "depositId",
      "type": "uint256"
    },
    {
      "indexed": false,
      "internalType": "uint32",
      "name": "quoteTimestamp",
      "type": "uint32"
    },
    {
      "indexed": false,
      "internalType": "uint32",
      "name": "fillDeadline",
      "type": "uint32"
    },
    {
      "indexed": false,
      "internalType": "uint32",
      "name": "exclusivityDeadline",
      "type": "uint32"
    },
    {
      "indexed": true,
      "internalType": "bytes32",
      "name": "depositor",
      "type": "bytes32"
    },
    {
      "indexed": false,
      "internalType": "bytes32",
      "name": "recipient",
      "type": "bytes32"
    },
    {
      "indexed": false,
      "internalType": "bytes32",
      "name": "exclusiveRelayer",
      "type": "bytes32"
    },
    {
      "indexed": false,
      "internalType": "bytes",
      "name": "message",
      "type": "bytes"
    }
  ],
  "name": "FundsDeposited",
  "type": "event"
}
]
`))

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL