{
  "_format": "hh-sol-artifact-1",
  "contractName": "BridgeERC7802",
  "sourceName": "contracts/crosschain/bridges/BridgeERC7802.sol",
  "abi": [
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "gateway",
          "type": "address"
        },
        {
          "internalType": "bytes",
          "name": "sender",
          "type": "bytes"
        }
      ],
      "name": "ERC7786RecipientUnauthorizedGateway",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "InteroperableAddressEmptyReferenceAndAddress",
      "type": "error"
    },
    {
      "inputs": [
        {
          "internalType": "bytes",
          "name": "",
          "type": "bytes"
        }
      ],
      "name": "InteroperableAddressParsingError",
      "type": "error"
    },
    {
      "inputs": [
        {
          "internalType": "bytes",
          "name": "chain",
          "type": "bytes"
        }
      ],
      "name": "LinkAlreadyRegistered",
      "type": "error"
    },
    {
      "inputs": [
        {
          "internalType": "uint8",
          "name": "bits",
          "type": "uint8"
        },
        {
          "internalType": "uint256",
          "name": "value",
          "type": "uint256"
        }
      ],
      "name": "SafeCastOverflowedUintDowncast",
      "type": "error"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "bytes32",
          "name": "receiveId",
          "type": "bytes32"
        },
        {
          "indexed": false,
          "internalType": "bytes",
          "name": "from",
          "type": "bytes"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "to",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        }
      ],
      "name": "CrosschainFungibleTransferReceived",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "bytes32",
          "name": "sendId",
          "type": "bytes32"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "from",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "bytes",
          "name": "to",
          "type": "bytes"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        }
      ],
      "name": "CrosschainFungibleTransferSent",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "internalType": "address",
          "name": "gateway",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "bytes",
          "name": "counterpart",
          "type": "bytes"
        }
      ],
      "name": "LinkRegistered",
      "type": "event"
    },
    {
      "inputs": [
        {
          "internalType": "bytes",
          "name": "to",
          "type": "bytes"
        },
        {
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        }
      ],
      "name": "crosschainTransfer",
      "outputs": [
        {
          "internalType": "bytes32",
          "name": "",
          "type": "bytes32"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes",
          "name": "chain",
          "type": "bytes"
        }
      ],
      "name": "getLink",
      "outputs": [
        {
          "internalType": "address",
          "name": "gateway",
          "type": "address"
        },
        {
          "internalType": "bytes",
          "name": "counterpart",
          "type": "bytes"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "receiveId",
          "type": "bytes32"
        },
        {
          "internalType": "bytes",
          "name": "sender",
          "type": "bytes"
        },
        {
          "internalType": "bytes",
          "name": "payload",
          "type": "bytes"
        }
      ],
      "name": "receiveMessage",
      "outputs": [
        {
          "internalType": "bytes4",
          "name": "",
          "type": "bytes4"
        }
      ],
      "stateMutability": "payable",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "token",
      "outputs": [
        {
          "internalType": "contract IERC7802",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    }
  ],
  "bytecode": "0x",
  "deployedBytecode": "0x",
  "linkReferences": {},
  "deployedLinkReferences": {}
}
