Hierarchy

  • BaseContract
    • TokenBridgeContract

Properties

WETH: TypedContractMethod<[], [string], "view">
_parseTransferCommon: TypedContractMethod<[encoded: BytesLike], [TransferStructOutput], "view">
attestToken: TypedContractMethod<[tokenAddress: AddressLike, nonce: BigNumberish], [bigint], "payable">
bridgeContracts: TypedContractMethod<[chainId_: BigNumberish], [string], "view">
chainId: TypedContractMethod<[], [bigint], "view">
completeTransfer: TypedContractMethod<[encodedVm: BytesLike], [void], "nonpayable">
completeTransferAndUnwrapETH: TypedContractMethod<[encodedVm: BytesLike], [void], "nonpayable">
completeTransferAndUnwrapETHWithPayload: TypedContractMethod<[encodedVm: BytesLike], [string], "nonpayable">
completeTransferWithPayload: TypedContractMethod<[encodedVm: BytesLike], [string], "nonpayable">
createWrapped: TypedContractMethod<[encodedVm: BytesLike], [string], "nonpayable">
encodeAssetMeta: TypedContractMethod<[meta: AssetMetaStruct], [string], "view">
encodeTransfer: TypedContractMethod<[transfer: TransferStruct], [string], "view">
encodeTransferWithPayload: TypedContractMethod<[transfer: TransferWithPayloadStruct], [string], "view">
evmChainId: TypedContractMethod<[], [bigint], "view">
filters: {
    AdminChanged: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    AdminChanged(address,address): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    BeaconUpgraded: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    BeaconUpgraded(address): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    ContractUpgraded: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    ContractUpgraded(address,address): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    TransferRedeemed: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    TransferRedeemed(uint16,bytes32,uint64): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    Upgraded: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    Upgraded(address): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
}

Type declaration

  • AdminChanged: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
  • AdminChanged(address,address): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
  • BeaconUpgraded: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
  • BeaconUpgraded(address): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
  • ContractUpgraded: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
  • ContractUpgraded(address,address): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
  • TransferRedeemed: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
  • TransferRedeemed(uint16,bytes32,uint64): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
  • Upgraded: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
  • Upgraded(address): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
finality: TypedContractMethod<[], [bigint], "view">
governanceActionIsConsumed: TypedContractMethod<[hash: BytesLike], [boolean], "view">
governanceChainId: TypedContractMethod<[], [bigint], "view">
governanceContract: TypedContractMethod<[], [string], "view">
interface: BridgeInterface
isFork: TypedContractMethod<[], [boolean], "view">
isInitialized: TypedContractMethod<[impl: AddressLike], [boolean], "view">
isTransferCompleted: TypedContractMethod<[hash: BytesLike], [boolean], "view">
isWrappedAsset: TypedContractMethod<[token: AddressLike], [boolean], "view">
outstandingBridged: TypedContractMethod<[token: AddressLike], [bigint], "view">
parseAssetMeta: TypedContractMethod<[encoded: BytesLike], [AssetMetaStructOutput], "view">
parsePayloadID: TypedContractMethod<[encoded: BytesLike], [bigint], "view">
parseRecoverChainId: TypedContractMethod<[encodedRecoverChainId: BytesLike], [RecoverChainIdStructOutput], "view">
parseRegisterChain: TypedContractMethod<[encoded: BytesLike], [RegisterChainStructOutput], "view">
parseTransfer: TypedContractMethod<[encoded: BytesLike], [TransferStructOutput], "view">
parseTransferWithPayload: TypedContractMethod<[encoded: BytesLike], [TransferWithPayloadStructOutput], "view">
parseUpgrade: TypedContractMethod<[encoded: BytesLike], [UpgradeContractStructOutput], "view">
registerChain: TypedContractMethod<[encodedVM: BytesLike], [void], "nonpayable">
submitRecoverChainId: TypedContractMethod<[encodedVM: BytesLike], [void], "nonpayable">
tokenImplementation: TypedContractMethod<[], [string], "view">
transferTokens: TypedContractMethod<[token: AddressLike, amount: BigNumberish, recipientChain: BigNumberish, recipient: BytesLike, arbiterFee: BigNumberish, nonce: BigNumberish], [bigint], "payable">
transferTokensWithPayload: TypedContractMethod<[token: AddressLike, amount: BigNumberish, recipientChain: BigNumberish, recipient: BytesLike, nonce: BigNumberish, payload: BytesLike], [bigint], "payable">
updateWrapped: TypedContractMethod<[encodedVm: BytesLike], [string], "nonpayable">
upgrade: TypedContractMethod<[encodedVM: BytesLike], [void], "nonpayable">
wormhole: TypedContractMethod<[], [string], "view">
wrapAndTransferETH: TypedContractMethod<[recipientChain: BigNumberish, recipient: BytesLike, arbiterFee: BigNumberish, nonce: BigNumberish], [bigint], "payable">
wrapAndTransferETHWithPayload: TypedContractMethod<[recipientChain: BigNumberish, recipient: BytesLike, nonce: BigNumberish, payload: BytesLike], [bigint], "payable">
wrappedAsset: TypedContractMethod<[tokenChainId: BigNumberish, tokenAddress: BytesLike], [string], "view">

Methods

  • Parameters

    • key: "AdminChanged"

    Returns TypedContractEvent<InputTuple, OutputTuple, OutputObject>

  • Parameters

    • key: "BeaconUpgraded"

    Returns TypedContractEvent<InputTuple, OutputTuple, OutputObject>

  • Parameters

    • key: "ContractUpgraded"

    Returns TypedContractEvent<InputTuple, OutputTuple, OutputObject>

  • Parameters

    • key: "TransferRedeemed"

    Returns TypedContractEvent<InputTuple, OutputTuple, OutputObject>

  • Parameters

    • key: "Upgraded"

    Returns TypedContractEvent<InputTuple, OutputTuple, OutputObject>

  • Type Parameters

    • T extends ContractMethod<any[], any, any> = ContractMethod<any[], any, any>

    Parameters

    • key: string | FunctionFragment

    Returns T

  • Parameters

    • nameOrSignature: "WETH"

    Returns TypedContractMethod<[], [string], "view">

  • Parameters

    • nameOrSignature: "_parseTransferCommon"

    Returns TypedContractMethod<[encoded: BytesLike], [TransferStructOutput], "view">

  • Parameters

    • nameOrSignature: "attestToken"

    Returns TypedContractMethod<[tokenAddress: AddressLike, nonce: BigNumberish], [bigint], "payable">

  • Parameters

    • nameOrSignature: "bridgeContracts"

    Returns TypedContractMethod<[chainId_: BigNumberish], [string], "view">

  • Parameters

    • nameOrSignature: "chainId"

    Returns TypedContractMethod<[], [bigint], "view">

  • Parameters

    • nameOrSignature: "completeTransfer"

    Returns TypedContractMethod<[encodedVm: BytesLike], [void], "nonpayable">

  • Parameters

    • nameOrSignature: "completeTransferAndUnwrapETH"

    Returns TypedContractMethod<[encodedVm: BytesLike], [void], "nonpayable">

  • Parameters

    • nameOrSignature: "completeTransferAndUnwrapETHWithPayload"

    Returns TypedContractMethod<[encodedVm: BytesLike], [string], "nonpayable">

  • Parameters

    • nameOrSignature: "completeTransferWithPayload"

    Returns TypedContractMethod<[encodedVm: BytesLike], [string], "nonpayable">

  • Parameters

    • nameOrSignature: "createWrapped"

    Returns TypedContractMethod<[encodedVm: BytesLike], [string], "nonpayable">

  • Parameters

    • nameOrSignature: "encodeAssetMeta"

    Returns TypedContractMethod<[meta: AssetMetaStruct], [string], "view">

  • Parameters

    • nameOrSignature: "encodeTransfer"

    Returns TypedContractMethod<[transfer: TransferStruct], [string], "view">

  • Parameters

    • nameOrSignature: "encodeTransferWithPayload"

    Returns TypedContractMethod<[transfer: TransferWithPayloadStruct], [string], "view">

  • Parameters

    • nameOrSignature: "evmChainId"

    Returns TypedContractMethod<[], [bigint], "view">

  • Parameters

    • nameOrSignature: "finality"

    Returns TypedContractMethod<[], [bigint], "view">

  • Parameters

    • nameOrSignature: "governanceActionIsConsumed"

    Returns TypedContractMethod<[hash: BytesLike], [boolean], "view">

  • Parameters

    • nameOrSignature: "governanceChainId"

    Returns TypedContractMethod<[], [bigint], "view">

  • Parameters

    • nameOrSignature: "governanceContract"

    Returns TypedContractMethod<[], [string], "view">

  • Parameters

    • nameOrSignature: "isFork"

    Returns TypedContractMethod<[], [boolean], "view">

  • Parameters

    • nameOrSignature: "isInitialized"

    Returns TypedContractMethod<[impl: AddressLike], [boolean], "view">

  • Parameters

    • nameOrSignature: "isTransferCompleted"

    Returns TypedContractMethod<[hash: BytesLike], [boolean], "view">

  • Parameters

    • nameOrSignature: "isWrappedAsset"

    Returns TypedContractMethod<[token: AddressLike], [boolean], "view">

  • Parameters

    • nameOrSignature: "outstandingBridged"

    Returns TypedContractMethod<[token: AddressLike], [bigint], "view">

  • Parameters

    • nameOrSignature: "parseAssetMeta"

    Returns TypedContractMethod<[encoded: BytesLike], [AssetMetaStructOutput], "view">

  • Parameters

    • nameOrSignature: "parsePayloadID"

    Returns TypedContractMethod<[encoded: BytesLike], [bigint], "view">

  • Parameters

    • nameOrSignature: "parseRecoverChainId"

    Returns TypedContractMethod<[encodedRecoverChainId: BytesLike], [RecoverChainIdStructOutput], "view">

  • Parameters

    • nameOrSignature: "parseRegisterChain"

    Returns TypedContractMethod<[encoded: BytesLike], [RegisterChainStructOutput], "view">

  • Parameters

    • nameOrSignature: "parseTransfer"

    Returns TypedContractMethod<[encoded: BytesLike], [TransferStructOutput], "view">

  • Parameters

    • nameOrSignature: "parseTransferWithPayload"

    Returns TypedContractMethod<[encoded: BytesLike], [TransferWithPayloadStructOutput], "view">

  • Parameters

    • nameOrSignature: "parseUpgrade"

    Returns TypedContractMethod<[encoded: BytesLike], [UpgradeContractStructOutput], "view">

  • Parameters

    • nameOrSignature: "registerChain"

    Returns TypedContractMethod<[encodedVM: BytesLike], [void], "nonpayable">

  • Parameters

    • nameOrSignature: "submitRecoverChainId"

    Returns TypedContractMethod<[encodedVM: BytesLike], [void], "nonpayable">

  • Parameters

    • nameOrSignature: "tokenImplementation"

    Returns TypedContractMethod<[], [string], "view">

  • Parameters

    • nameOrSignature: "transferTokens"

    Returns TypedContractMethod<[token: AddressLike, amount: BigNumberish, recipientChain: BigNumberish, recipient: BytesLike, arbiterFee: BigNumberish, nonce: BigNumberish], [bigint], "payable">

  • Parameters

    • nameOrSignature: "transferTokensWithPayload"

    Returns TypedContractMethod<[token: AddressLike, amount: BigNumberish, recipientChain: BigNumberish, recipient: BytesLike, nonce: BigNumberish, payload: BytesLike], [bigint], "payable">

  • Parameters

    • nameOrSignature: "updateWrapped"

    Returns TypedContractMethod<[encodedVm: BytesLike], [string], "nonpayable">

  • Parameters

    • nameOrSignature: "upgrade"

    Returns TypedContractMethod<[encodedVM: BytesLike], [void], "nonpayable">

  • Parameters

    • nameOrSignature: "wormhole"

    Returns TypedContractMethod<[], [string], "view">

  • Parameters

    • nameOrSignature: "wrapAndTransferETH"

    Returns TypedContractMethod<[recipientChain: BigNumberish, recipient: BytesLike, arbiterFee: BigNumberish, nonce: BigNumberish], [bigint], "payable">

  • Parameters

    • nameOrSignature: "wrapAndTransferETHWithPayload"

    Returns TypedContractMethod<[recipientChain: BigNumberish, recipient: BytesLike, nonce: BigNumberish, payload: BytesLike], [bigint], "payable">

  • Parameters

    • nameOrSignature: "wrappedAsset"

    Returns TypedContractMethod<[tokenChainId: BigNumberish, tokenAddress: BytesLike], [string], "view">

  • Type Parameters

    • TCEvent extends TypedContractEvent<any, any, any>

    Parameters

    • event: TCEvent

    Returns Promise<TypedListener<TCEvent>[]>

  • Parameters

    • Optional eventName: string

    Returns Promise<Listener[]>

  • Type Parameters

    • TCEvent extends TypedContractEvent<any, any, any>

    Parameters

    • event: TCEvent
    • Optional fromBlockOrBlockhash: string | number
    • Optional toBlock: string | number

    Returns Promise<TypedEventLog<TCEvent>[]>

  • Type Parameters

    • TCEvent extends TypedContractEvent<any, any, any>

    Parameters

    • filter: TypedDeferredTopicFilter<TCEvent>
    • Optional fromBlockOrBlockhash: string | number
    • Optional toBlock: string | number

    Returns Promise<TypedEventLog<TCEvent>[]>

Generated using TypeDoc