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

  • 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