Properties
_deployedPromise
_deployedPromise: Promise<Contract>
_runningEvents
_runningEvents: {}
Type declaration
-
[eventTag: string]: RunningEvent
_wrappedEmits
_wrappedEmits: {}
Type declaration
-
[eventTag: string]: (...args: any[]) => void
Readonly address
address: string
callStatic
callStatic: { WETH: any; _parseTransferCommon: any; attestToken: any; bridgeContracts: any; chainId: any; completeTransfer: any; completeTransferAndUnwrapETH: any; completeTransferAndUnwrapETHWithPayload: any; completeTransferWithPayload: any; createWrapped: any; encodeAssetMeta: any; encodeTransfer: any; encodeTransferWithPayload: any; evmChainId: any; finality: any; governanceActionIsConsumed: any; governanceChainId: any; governanceContract: any; implementation: any; initialize: any; isFork: any; isInitialized: any; isTransferCompleted: any; isWrappedAsset: any; outstandingBridged: any; parseAssetMeta: any; parsePayloadID: any; parseRecoverChainId: any; parseRegisterChain: any; parseTransfer: any; parseTransferWithPayload: any; parseUpgrade: any; registerChain: any; submitRecoverChainId: any; tokenImplementation: any; transferTokens: any; transferTokensWithPayload: any; updateWrapped: any; upgrade: any; wormhole: any; wrapAndTransferETH: any; wrapAndTransferETHWithPayload: any; wrappedAsset: any }
Type declaration
-
WETH: function
- WETH(overrides?: CallOverrides): Promise<string>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<string>
-
_parseTransferCommon: function
- _parseTransferCommon(encoded: BytesLike, overrides?: CallOverrides): Promise<[number, BigNumber, string, number, string, number, BigNumber] & { amount: BigNumber; fee: BigNumber; payloadID: number; to: string; toChain: number; tokenAddress: string; tokenChain: number }>
-
Parameters
-
encoded: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<[number, BigNumber, string, number, string, number, BigNumber] & { amount: BigNumber; fee: BigNumber; payloadID: number; to: string; toChain: number; tokenAddress: string; tokenChain: number }>
-
attestToken: function
- attestToken(tokenAddress: string, nonce: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
tokenAddress: string
-
nonce: BigNumberish
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
bridgeContracts: function
- bridgeContracts(chainId_: BigNumberish, overrides?: CallOverrides): Promise<string>
-
Parameters
-
chainId_: BigNumberish
-
Optional overrides: CallOverrides
Returns Promise<string>
-
chainId: function
- chainId(overrides?: CallOverrides): Promise<number>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<number>
-
completeTransfer: function
- completeTransfer(encodedVm: BytesLike, overrides?: CallOverrides): Promise<void>
-
Parameters
-
encodedVm: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<void>
-
completeTransferAndUnwrapETH: function
- completeTransferAndUnwrapETH(encodedVm: BytesLike, overrides?: CallOverrides): Promise<void>
-
Parameters
-
encodedVm: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<void>
-
completeTransferAndUnwrapETHWithPayload: function
- completeTransferAndUnwrapETHWithPayload(encodedVm: BytesLike, overrides?: CallOverrides): Promise<string>
-
Parameters
-
encodedVm: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<string>
-
completeTransferWithPayload: function
- completeTransferWithPayload(encodedVm: BytesLike, overrides?: CallOverrides): Promise<string>
-
Parameters
-
encodedVm: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<string>
-
createWrapped: function
- createWrapped(encodedVm: BytesLike, overrides?: CallOverrides): Promise<string>
-
Parameters
-
encodedVm: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<string>
-
encodeAssetMeta: function
- encodeAssetMeta(meta: { decimals: BigNumberish; name: BytesLike; payloadID: BigNumberish; symbol: BytesLike; tokenAddress: BytesLike; tokenChain: BigNumberish }, overrides?: CallOverrides): Promise<string>
-
Parameters
-
meta: { decimals: BigNumberish; name: BytesLike; payloadID: BigNumberish; symbol: BytesLike; tokenAddress: BytesLike; tokenChain: BigNumberish }
-
decimals: BigNumberish
-
name: BytesLike
-
payloadID: BigNumberish
-
symbol: BytesLike
-
tokenAddress: BytesLike
-
tokenChain: BigNumberish
-
Optional overrides: CallOverrides
Returns Promise<string>
-
encodeTransfer: function
- encodeTransfer(transfer: { amount: BigNumberish; fee: BigNumberish; payloadID: BigNumberish; to: BytesLike; toChain: BigNumberish; tokenAddress: BytesLike; tokenChain: BigNumberish }, overrides?: CallOverrides): Promise<string>
-
Parameters
-
transfer: { amount: BigNumberish; fee: BigNumberish; payloadID: BigNumberish; to: BytesLike; toChain: BigNumberish; tokenAddress: BytesLike; tokenChain: BigNumberish }
-
amount: BigNumberish
-
fee: BigNumberish
-
payloadID: BigNumberish
-
to: BytesLike
-
toChain: BigNumberish
-
tokenAddress: BytesLike
-
tokenChain: BigNumberish
-
Optional overrides: CallOverrides
Returns Promise<string>
-
encodeTransferWithPayload: function
- encodeTransferWithPayload(transfer: { amount: BigNumberish; fromAddress: BytesLike; payload: BytesLike; payloadID: BigNumberish; to: BytesLike; toChain: BigNumberish; tokenAddress: BytesLike; tokenChain: BigNumberish }, overrides?: CallOverrides): Promise<string>
-
Parameters
-
transfer: { amount: BigNumberish; fromAddress: BytesLike; payload: BytesLike; payloadID: BigNumberish; to: BytesLike; toChain: BigNumberish; tokenAddress: BytesLike; tokenChain: BigNumberish }
-
amount: BigNumberish
-
fromAddress: BytesLike
-
payload: BytesLike
-
payloadID: BigNumberish
-
to: BytesLike
-
toChain: BigNumberish
-
tokenAddress: BytesLike
-
tokenChain: BigNumberish
-
Optional overrides: CallOverrides
Returns Promise<string>
-
evmChainId: function
- evmChainId(overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
finality: function
- finality(overrides?: CallOverrides): Promise<number>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<number>
-
governanceActionIsConsumed: function
- governanceActionIsConsumed(hash: BytesLike, overrides?: CallOverrides): Promise<boolean>
-
Parameters
-
hash: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<boolean>
-
governanceChainId: function
- governanceChainId(overrides?: CallOverrides): Promise<number>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<number>
-
governanceContract: function
- governanceContract(overrides?: CallOverrides): Promise<string>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<string>
-
implementation: function
- implementation(overrides?: CallOverrides): Promise<string>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<string>
-
initialize: function
- initialize(overrides?: CallOverrides): Promise<void>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<void>
-
isFork: function
- isFork(overrides?: CallOverrides): Promise<boolean>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<boolean>
-
isInitialized: function
- isInitialized(impl: string, overrides?: CallOverrides): Promise<boolean>
-
Parameters
-
impl: string
-
Optional overrides: CallOverrides
Returns Promise<boolean>
-
isTransferCompleted: function
- isTransferCompleted(hash: BytesLike, overrides?: CallOverrides): Promise<boolean>
-
Parameters
-
hash: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<boolean>
-
isWrappedAsset: function
- isWrappedAsset(token: string, overrides?: CallOverrides): Promise<boolean>
-
Parameters
-
token: string
-
Optional overrides: CallOverrides
Returns Promise<boolean>
-
outstandingBridged: function
- outstandingBridged(token: string, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
token: string
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
parseAssetMeta: function
- parseAssetMeta(encoded: BytesLike, overrides?: CallOverrides): Promise<[number, string, number, number, string, string] & { decimals: number; name: string; payloadID: number; symbol: string; tokenAddress: string; tokenChain: number }>
-
Parameters
-
encoded: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<[number, string, number, number, string, string] & { decimals: number; name: string; payloadID: number; symbol: string; tokenAddress: string; tokenChain: number }>
-
parsePayloadID: function
- parsePayloadID(encoded: BytesLike, overrides?: CallOverrides): Promise<number>
-
Parameters
-
encoded: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<number>
-
parseRecoverChainId: function
- parseRecoverChainId(encodedRecoverChainId: BytesLike, overrides?: CallOverrides): Promise<[string, number, BigNumber, number] & { action: number; evmChainId: BigNumber; module: string; newChainId: number }>
-
Parameters
-
encodedRecoverChainId: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<[string, number, BigNumber, number] & { action: number; evmChainId: BigNumber; module: string; newChainId: number }>
-
parseRegisterChain: function
- parseRegisterChain(encoded: BytesLike, overrides?: CallOverrides): Promise<[string, number, number, number, string] & { action: number; chainId: number; emitterAddress: string; emitterChainID: number; module: string }>
-
Parameters
-
encoded: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<[string, number, number, number, string] & { action: number; chainId: number; emitterAddress: string; emitterChainID: number; module: string }>
-
parseTransfer: function
- parseTransfer(encoded: BytesLike, overrides?: CallOverrides): Promise<[number, BigNumber, string, number, string, number, BigNumber] & { amount: BigNumber; fee: BigNumber; payloadID: number; to: string; toChain: number; tokenAddress: string; tokenChain: number }>
-
Parameters
-
encoded: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<[number, BigNumber, string, number, string, number, BigNumber] & { amount: BigNumber; fee: BigNumber; payloadID: number; to: string; toChain: number; tokenAddress: string; tokenChain: number }>
-
parseTransferWithPayload: function
- parseTransferWithPayload(encoded: BytesLike, overrides?: CallOverrides): Promise<[number, BigNumber, string, number, string, number, string, string] & { amount: BigNumber; fromAddress: string; payload: string; payloadID: number; to: string; toChain: number; tokenAddress: string; tokenChain: number }>
-
Parameters
-
encoded: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<[number, BigNumber, string, number, string, number, string, string] & { amount: BigNumber; fromAddress: string; payload: string; payloadID: number; to: string; toChain: number; tokenAddress: string; tokenChain: number }>
-
parseUpgrade: function
- parseUpgrade(encoded: BytesLike, overrides?: CallOverrides): Promise<[string, number, number, string] & { action: number; chainId: number; module: string; newContract: string }>
-
Parameters
-
encoded: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<[string, number, number, string] & { action: number; chainId: number; module: string; newContract: string }>
-
registerChain: function
- registerChain(encodedVM: BytesLike, overrides?: CallOverrides): Promise<void>
-
Parameters
-
encodedVM: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<void>
-
submitRecoverChainId: function
- submitRecoverChainId(encodedVM: BytesLike, overrides?: CallOverrides): Promise<void>
-
Parameters
-
encodedVM: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<void>
-
tokenImplementation: function
- tokenImplementation(overrides?: CallOverrides): Promise<string>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<string>
-
transferTokens: function
- transferTokens(token: string, amount: BigNumberish, recipientChain: BigNumberish, recipient: BytesLike, arbiterFee: BigNumberish, nonce: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
token: string
-
amount: BigNumberish
-
recipientChain: BigNumberish
-
recipient: BytesLike
-
arbiterFee: BigNumberish
-
nonce: BigNumberish
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
transferTokensWithPayload: function
- transferTokensWithPayload(token: string, amount: BigNumberish, recipientChain: BigNumberish, recipient: BytesLike, nonce: BigNumberish, payload: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
token: string
-
amount: BigNumberish
-
recipientChain: BigNumberish
-
recipient: BytesLike
-
nonce: BigNumberish
-
payload: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
updateWrapped: function
- updateWrapped(encodedVm: BytesLike, overrides?: CallOverrides): Promise<string>
-
Parameters
-
encodedVm: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<string>
-
upgrade: function
- upgrade(encodedVM: BytesLike, overrides?: CallOverrides): Promise<void>
-
Parameters
-
encodedVM: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<void>
-
wormhole: function
- wormhole(overrides?: CallOverrides): Promise<string>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<string>
-
wrapAndTransferETH: function
- wrapAndTransferETH(recipientChain: BigNumberish, recipient: BytesLike, arbiterFee: BigNumberish, nonce: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
recipientChain: BigNumberish
-
recipient: BytesLike
-
arbiterFee: BigNumberish
-
nonce: BigNumberish
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
wrapAndTransferETHWithPayload: function
- wrapAndTransferETHWithPayload(recipientChain: BigNumberish, recipient: BytesLike, nonce: BigNumberish, payload: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
recipientChain: BigNumberish
-
recipient: BytesLike
-
nonce: BigNumberish
-
payload: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
wrappedAsset: function
- wrappedAsset(tokenChainId: BigNumberish, tokenAddress: BytesLike, overrides?: CallOverrides): Promise<string>
-
Parameters
-
tokenChainId: BigNumberish
-
tokenAddress: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<string>
Readonly deployTransaction
deployTransaction: TransactionResponse
estimateGas
estimateGas: { WETH: any; _parseTransferCommon: any; attestToken: any; bridgeContracts: any; chainId: any; completeTransfer: any; completeTransferAndUnwrapETH: any; completeTransferAndUnwrapETHWithPayload: any; completeTransferWithPayload: any; createWrapped: any; encodeAssetMeta: any; encodeTransfer: any; encodeTransferWithPayload: any; evmChainId: any; finality: any; governanceActionIsConsumed: any; governanceChainId: any; governanceContract: any; implementation: any; initialize: any; isFork: any; isInitialized: any; isTransferCompleted: any; isWrappedAsset: any; outstandingBridged: any; parseAssetMeta: any; parsePayloadID: any; parseRecoverChainId: any; parseRegisterChain: any; parseTransfer: any; parseTransferWithPayload: any; parseUpgrade: any; registerChain: any; submitRecoverChainId: any; tokenImplementation: any; transferTokens: any; transferTokensWithPayload: any; updateWrapped: any; upgrade: any; wormhole: any; wrapAndTransferETH: any; wrapAndTransferETHWithPayload: any; wrappedAsset: any }
Type declaration
-
WETH: function
- WETH(overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
_parseTransferCommon: function
- _parseTransferCommon(encoded: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
encoded: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
attestToken: function
- attestToken(tokenAddress: string, nonce: BigNumberish, overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<BigNumber>
-
Parameters
-
tokenAddress: string
-
nonce: BigNumberish
-
Optional overrides: PayableOverrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
-
bridgeContracts: function
- bridgeContracts(chainId_: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
chainId_: BigNumberish
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
chainId: function
- chainId(overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
completeTransfer: function
- completeTransfer(encodedVm: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
-
Parameters
-
encodedVm: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
-
completeTransferAndUnwrapETH: function
- completeTransferAndUnwrapETH(encodedVm: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
-
Parameters
-
encodedVm: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
-
completeTransferAndUnwrapETHWithPayload: function
- completeTransferAndUnwrapETHWithPayload(encodedVm: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
-
Parameters
-
encodedVm: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
-
completeTransferWithPayload: function
- completeTransferWithPayload(encodedVm: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
-
Parameters
-
encodedVm: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
-
createWrapped: function
- createWrapped(encodedVm: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
-
Parameters
-
encodedVm: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
-
encodeAssetMeta: function
- encodeAssetMeta(meta: { decimals: BigNumberish; name: BytesLike; payloadID: BigNumberish; symbol: BytesLike; tokenAddress: BytesLike; tokenChain: BigNumberish }, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
meta: { decimals: BigNumberish; name: BytesLike; payloadID: BigNumberish; symbol: BytesLike; tokenAddress: BytesLike; tokenChain: BigNumberish }
-
decimals: BigNumberish
-
name: BytesLike
-
payloadID: BigNumberish
-
symbol: BytesLike
-
tokenAddress: BytesLike
-
tokenChain: BigNumberish
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
encodeTransfer: function
- encodeTransfer(transfer: { amount: BigNumberish; fee: BigNumberish; payloadID: BigNumberish; to: BytesLike; toChain: BigNumberish; tokenAddress: BytesLike; tokenChain: BigNumberish }, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
transfer: { amount: BigNumberish; fee: BigNumberish; payloadID: BigNumberish; to: BytesLike; toChain: BigNumberish; tokenAddress: BytesLike; tokenChain: BigNumberish }
-
amount: BigNumberish
-
fee: BigNumberish
-
payloadID: BigNumberish
-
to: BytesLike
-
toChain: BigNumberish
-
tokenAddress: BytesLike
-
tokenChain: BigNumberish
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
encodeTransferWithPayload: function
- encodeTransferWithPayload(transfer: { amount: BigNumberish; fromAddress: BytesLike; payload: BytesLike; payloadID: BigNumberish; to: BytesLike; toChain: BigNumberish; tokenAddress: BytesLike; tokenChain: BigNumberish }, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
transfer: { amount: BigNumberish; fromAddress: BytesLike; payload: BytesLike; payloadID: BigNumberish; to: BytesLike; toChain: BigNumberish; tokenAddress: BytesLike; tokenChain: BigNumberish }
-
amount: BigNumberish
-
fromAddress: BytesLike
-
payload: BytesLike
-
payloadID: BigNumberish
-
to: BytesLike
-
toChain: BigNumberish
-
tokenAddress: BytesLike
-
tokenChain: BigNumberish
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
evmChainId: function
- evmChainId(overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
finality: function
- finality(overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
governanceActionIsConsumed: function
- governanceActionIsConsumed(hash: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
hash: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
governanceChainId: function
- governanceChainId(overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
governanceContract: function
- governanceContract(overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
implementation: function
- implementation(overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
initialize: function
- initialize(overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
-
Parameters
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
-
isFork: function
- isFork(overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
isInitialized: function
- isInitialized(impl: string, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
impl: string
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
isTransferCompleted: function
- isTransferCompleted(hash: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
hash: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
isWrappedAsset: function
- isWrappedAsset(token: string, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
token: string
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
outstandingBridged: function
- outstandingBridged(token: string, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
token: string
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
parseAssetMeta: function
- parseAssetMeta(encoded: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
encoded: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
parsePayloadID: function
- parsePayloadID(encoded: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
encoded: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
parseRecoverChainId: function
- parseRecoverChainId(encodedRecoverChainId: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
encodedRecoverChainId: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
parseRegisterChain: function
- parseRegisterChain(encoded: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
encoded: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
parseTransfer: function
- parseTransfer(encoded: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
encoded: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
parseTransferWithPayload: function
- parseTransferWithPayload(encoded: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
encoded: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
parseUpgrade: function
- parseUpgrade(encoded: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
encoded: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
registerChain: function
- registerChain(encodedVM: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
-
Parameters
-
encodedVM: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
-
submitRecoverChainId: function
- submitRecoverChainId(encodedVM: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
-
Parameters
-
encodedVM: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
-
tokenImplementation: function
- tokenImplementation(overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
transferTokens: function
- transferTokens(token: string, amount: BigNumberish, recipientChain: BigNumberish, recipient: BytesLike, arbiterFee: BigNumberish, nonce: BigNumberish, overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<BigNumber>
-
Parameters
-
token: string
-
amount: BigNumberish
-
recipientChain: BigNumberish
-
recipient: BytesLike
-
arbiterFee: BigNumberish
-
nonce: BigNumberish
-
Optional overrides: PayableOverrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
-
transferTokensWithPayload: function
- transferTokensWithPayload(token: string, amount: BigNumberish, recipientChain: BigNumberish, recipient: BytesLike, nonce: BigNumberish, payload: BytesLike, overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<BigNumber>
-
Parameters
-
token: string
-
amount: BigNumberish
-
recipientChain: BigNumberish
-
recipient: BytesLike
-
nonce: BigNumberish
-
payload: BytesLike
-
Optional overrides: PayableOverrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
-
updateWrapped: function
- updateWrapped(encodedVm: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
-
Parameters
-
encodedVm: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
-
upgrade: function
- upgrade(encodedVM: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
-
Parameters
-
encodedVM: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
-
wormhole: function
- wormhole(overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
wrapAndTransferETH: function
- wrapAndTransferETH(recipientChain: BigNumberish, recipient: BytesLike, arbiterFee: BigNumberish, nonce: BigNumberish, overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<BigNumber>
-
Parameters
-
recipientChain: BigNumberish
-
recipient: BytesLike
-
arbiterFee: BigNumberish
-
nonce: BigNumberish
-
Optional overrides: PayableOverrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
-
wrapAndTransferETHWithPayload: function
- wrapAndTransferETHWithPayload(recipientChain: BigNumberish, recipient: BytesLike, nonce: BigNumberish, payload: BytesLike, overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<BigNumber>
-
Parameters
-
recipientChain: BigNumberish
-
recipient: BytesLike
-
nonce: BigNumberish
-
payload: BytesLike
-
Optional overrides: PayableOverrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
-
wrappedAsset: function
- wrappedAsset(tokenChainId: BigNumberish, tokenAddress: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
tokenChainId: BigNumberish
-
tokenAddress: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
filters
filters: { AdminChanged: any; BeaconUpgraded: any; ContractUpgraded: any; Upgraded: any }
Type declaration
-
AdminChanged: function
- AdminChanged(previousAdmin?: null, newAdmin?: null): TypedEventFilter<[string, string], { newAdmin: string; previousAdmin: string }>
-
Parameters
-
Optional previousAdmin: null
-
Optional newAdmin: null
Returns TypedEventFilter<[string, string], { newAdmin: string; previousAdmin: string }>
-
BeaconUpgraded: function
- BeaconUpgraded(beacon?: null | string): TypedEventFilter<[string], { beacon: string }>
-
Parameters
-
Optional beacon: null | string
Returns TypedEventFilter<[string], { beacon: string }>
-
ContractUpgraded: function
- ContractUpgraded(oldContract?: null | string, newContract?: null | string): TypedEventFilter<[string, string], { newContract: string; oldContract: string }>
-
Parameters
-
Optional oldContract: null | string
-
Optional newContract: null | string
Returns TypedEventFilter<[string, string], { newContract: string; oldContract: string }>
-
Upgraded: function
- Upgraded(implementation?: null | string): TypedEventFilter<[string], { implementation: string }>
-
Parameters
-
Optional implementation: null | string
Returns TypedEventFilter<[string], { implementation: string }>
functions
functions: { WETH: any; _parseTransferCommon: any; attestToken: any; bridgeContracts: any; chainId: any; completeTransfer: any; completeTransferAndUnwrapETH: any; completeTransferAndUnwrapETHWithPayload: any; completeTransferWithPayload: any; createWrapped: any; encodeAssetMeta: any; encodeTransfer: any; encodeTransferWithPayload: any; evmChainId: any; finality: any; governanceActionIsConsumed: any; governanceChainId: any; governanceContract: any; implementation: any; initialize: any; isFork: any; isInitialized: any; isTransferCompleted: any; isWrappedAsset: any; outstandingBridged: any; parseAssetMeta: any; parsePayloadID: any; parseRecoverChainId: any; parseRegisterChain: any; parseTransfer: any; parseTransferWithPayload: any; parseUpgrade: any; registerChain: any; submitRecoverChainId: any; tokenImplementation: any; transferTokens: any; transferTokensWithPayload: any; updateWrapped: any; upgrade: any; wormhole: any; wrapAndTransferETH: any; wrapAndTransferETHWithPayload: any; wrappedAsset: any }
Type declaration
-
WETH: function
- WETH(overrides?: CallOverrides): Promise<[string]>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<[string]>
-
_parseTransferCommon: function
- _parseTransferCommon(encoded: BytesLike, overrides?: CallOverrides): Promise<[[number, BigNumber, string, number, string, number, BigNumber] & { amount: BigNumber; fee: BigNumber; payloadID: number; to: string; toChain: number; tokenAddress: string; tokenChain: number }] & { transfer: [number, BigNumber, string, number, string, number, BigNumber] & { amount: BigNumber; fee: BigNumber; payloadID: number; to: string; toChain: number; tokenAddress: string; tokenChain: number } }>
-
Parameters
-
encoded: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<[[number, BigNumber, string, number, string, number, BigNumber] & { amount: BigNumber; fee: BigNumber; payloadID: number; to: string; toChain: number; tokenAddress: string; tokenChain: number }] & { transfer: [number, BigNumber, string, number, string, number, BigNumber] & { amount: BigNumber; fee: BigNumber; payloadID: number; to: string; toChain: number; tokenAddress: string; tokenChain: number } }>
-
attestToken: function
- attestToken(tokenAddress: string, nonce: BigNumberish, overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
-
Parameters
-
tokenAddress: string
-
nonce: BigNumberish
-
Optional overrides: PayableOverrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
-
bridgeContracts: function
- bridgeContracts(chainId_: BigNumberish, overrides?: CallOverrides): Promise<[string]>
-
Parameters
-
chainId_: BigNumberish
-
Optional overrides: CallOverrides
Returns Promise<[string]>
-
chainId: function
- chainId(overrides?: CallOverrides): Promise<[number]>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<[number]>
-
completeTransfer: function
- completeTransfer(encodedVm: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
-
Parameters
-
encodedVm: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
-
completeTransferAndUnwrapETH: function
- completeTransferAndUnwrapETH(encodedVm: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
-
Parameters
-
encodedVm: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
-
completeTransferAndUnwrapETHWithPayload: function
- completeTransferAndUnwrapETHWithPayload(encodedVm: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
-
Parameters
-
encodedVm: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
-
completeTransferWithPayload: function
- completeTransferWithPayload(encodedVm: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
-
Parameters
-
encodedVm: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
-
createWrapped: function
- createWrapped(encodedVm: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
-
Parameters
-
encodedVm: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
-
encodeAssetMeta: function
- encodeAssetMeta(meta: { decimals: BigNumberish; name: BytesLike; payloadID: BigNumberish; symbol: BytesLike; tokenAddress: BytesLike; tokenChain: BigNumberish }, overrides?: CallOverrides): Promise<[string] & { encoded: string }>
-
Parameters
-
meta: { decimals: BigNumberish; name: BytesLike; payloadID: BigNumberish; symbol: BytesLike; tokenAddress: BytesLike; tokenChain: BigNumberish }
-
decimals: BigNumberish
-
name: BytesLike
-
payloadID: BigNumberish
-
symbol: BytesLike
-
tokenAddress: BytesLike
-
tokenChain: BigNumberish
-
Optional overrides: CallOverrides
Returns Promise<[string] & { encoded: string }>
-
encodeTransfer: function
- encodeTransfer(transfer: { amount: BigNumberish; fee: BigNumberish; payloadID: BigNumberish; to: BytesLike; toChain: BigNumberish; tokenAddress: BytesLike; tokenChain: BigNumberish }, overrides?: CallOverrides): Promise<[string] & { encoded: string }>
-
Parameters
-
transfer: { amount: BigNumberish; fee: BigNumberish; payloadID: BigNumberish; to: BytesLike; toChain: BigNumberish; tokenAddress: BytesLike; tokenChain: BigNumberish }
-
amount: BigNumberish
-
fee: BigNumberish
-
payloadID: BigNumberish
-
to: BytesLike
-
toChain: BigNumberish
-
tokenAddress: BytesLike
-
tokenChain: BigNumberish
-
Optional overrides: CallOverrides
Returns Promise<[string] & { encoded: string }>
-
encodeTransferWithPayload: function
- encodeTransferWithPayload(transfer: { amount: BigNumberish; fromAddress: BytesLike; payload: BytesLike; payloadID: BigNumberish; to: BytesLike; toChain: BigNumberish; tokenAddress: BytesLike; tokenChain: BigNumberish }, overrides?: CallOverrides): Promise<[string] & { encoded: string }>
-
Parameters
-
transfer: { amount: BigNumberish; fromAddress: BytesLike; payload: BytesLike; payloadID: BigNumberish; to: BytesLike; toChain: BigNumberish; tokenAddress: BytesLike; tokenChain: BigNumberish }
-
amount: BigNumberish
-
fromAddress: BytesLike
-
payload: BytesLike
-
payloadID: BigNumberish
-
to: BytesLike
-
toChain: BigNumberish
-
tokenAddress: BytesLike
-
tokenChain: BigNumberish
-
Optional overrides: CallOverrides
Returns Promise<[string] & { encoded: string }>
-
evmChainId: function
- evmChainId(overrides?: CallOverrides): Promise<[BigNumber]>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<[BigNumber]>
-
finality: function
- finality(overrides?: CallOverrides): Promise<[number]>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<[number]>
-
governanceActionIsConsumed: function
- governanceActionIsConsumed(hash: BytesLike, overrides?: CallOverrides): Promise<[boolean]>
-
Parameters
-
hash: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<[boolean]>
-
governanceChainId: function
- governanceChainId(overrides?: CallOverrides): Promise<[number]>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<[number]>
-
governanceContract: function
- governanceContract(overrides?: CallOverrides): Promise<[string]>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<[string]>
-
implementation: function
- implementation(overrides?: CallOverrides): Promise<[string]>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<[string]>
-
initialize: function
- initialize(overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
-
Parameters
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
-
isFork: function
- isFork(overrides?: CallOverrides): Promise<[boolean]>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<[boolean]>
-
isInitialized: function
- isInitialized(impl: string, overrides?: CallOverrides): Promise<[boolean]>
-
Parameters
-
impl: string
-
Optional overrides: CallOverrides
Returns Promise<[boolean]>
-
isTransferCompleted: function
- isTransferCompleted(hash: BytesLike, overrides?: CallOverrides): Promise<[boolean]>
-
Parameters
-
hash: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<[boolean]>
-
isWrappedAsset: function
- isWrappedAsset(token: string, overrides?: CallOverrides): Promise<[boolean]>
-
Parameters
-
token: string
-
Optional overrides: CallOverrides
Returns Promise<[boolean]>
-
outstandingBridged: function
- outstandingBridged(token: string, overrides?: CallOverrides): Promise<[BigNumber]>
-
Parameters
-
token: string
-
Optional overrides: CallOverrides
Returns Promise<[BigNumber]>
-
parseAssetMeta: function
- parseAssetMeta(encoded: BytesLike, overrides?: CallOverrides): Promise<[[number, string, number, number, string, string] & { decimals: number; name: string; payloadID: number; symbol: string; tokenAddress: string; tokenChain: number }] & { meta: [number, string, number, number, string, string] & { decimals: number; name: string; payloadID: number; symbol: string; tokenAddress: string; tokenChain: number } }>
-
Parameters
-
encoded: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<[[number, string, number, number, string, string] & { decimals: number; name: string; payloadID: number; symbol: string; tokenAddress: string; tokenChain: number }] & { meta: [number, string, number, number, string, string] & { decimals: number; name: string; payloadID: number; symbol: string; tokenAddress: string; tokenChain: number } }>
-
parsePayloadID: function
- parsePayloadID(encoded: BytesLike, overrides?: CallOverrides): Promise<[number] & { payloadID: number }>
-
Parameters
-
encoded: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<[number] & { payloadID: number }>
-
parseRecoverChainId: function
- parseRecoverChainId(encodedRecoverChainId: BytesLike, overrides?: CallOverrides): Promise<[[string, number, BigNumber, number] & { action: number; evmChainId: BigNumber; module: string; newChainId: number }] & { rci: [string, number, BigNumber, number] & { action: number; evmChainId: BigNumber; module: string; newChainId: number } }>
-
Parameters
-
encodedRecoverChainId: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<[[string, number, BigNumber, number] & { action: number; evmChainId: BigNumber; module: string; newChainId: number }] & { rci: [string, number, BigNumber, number] & { action: number; evmChainId: BigNumber; module: string; newChainId: number } }>
-
parseRegisterChain: function
- parseRegisterChain(encoded: BytesLike, overrides?: CallOverrides): Promise<[[string, number, number, number, string] & { action: number; chainId: number; emitterAddress: string; emitterChainID: number; module: string }] & { chain: [string, number, number, number, string] & { action: number; chainId: number; emitterAddress: string; emitterChainID: number; module: string } }>
-
Parameters
-
encoded: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<[[string, number, number, number, string] & { action: number; chainId: number; emitterAddress: string; emitterChainID: number; module: string }] & { chain: [string, number, number, number, string] & { action: number; chainId: number; emitterAddress: string; emitterChainID: number; module: string } }>
-
parseTransfer: function
- parseTransfer(encoded: BytesLike, overrides?: CallOverrides): Promise<[[number, BigNumber, string, number, string, number, BigNumber] & { amount: BigNumber; fee: BigNumber; payloadID: number; to: string; toChain: number; tokenAddress: string; tokenChain: number }] & { transfer: [number, BigNumber, string, number, string, number, BigNumber] & { amount: BigNumber; fee: BigNumber; payloadID: number; to: string; toChain: number; tokenAddress: string; tokenChain: number } }>
-
Parameters
-
encoded: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<[[number, BigNumber, string, number, string, number, BigNumber] & { amount: BigNumber; fee: BigNumber; payloadID: number; to: string; toChain: number; tokenAddress: string; tokenChain: number }] & { transfer: [number, BigNumber, string, number, string, number, BigNumber] & { amount: BigNumber; fee: BigNumber; payloadID: number; to: string; toChain: number; tokenAddress: string; tokenChain: number } }>
-
parseTransferWithPayload: function
- parseTransferWithPayload(encoded: BytesLike, overrides?: CallOverrides): Promise<[[number, BigNumber, string, number, string, number, string, string] & { amount: BigNumber; fromAddress: string; payload: string; payloadID: number; to: string; toChain: number; tokenAddress: string; tokenChain: number }] & { transfer: [number, BigNumber, string, number, string, number, string, string] & { amount: BigNumber; fromAddress: string; payload: string; payloadID: number; to: string; toChain: number; tokenAddress: string; tokenChain: number } }>
-
Parameters
-
encoded: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<[[number, BigNumber, string, number, string, number, string, string] & { amount: BigNumber; fromAddress: string; payload: string; payloadID: number; to: string; toChain: number; tokenAddress: string; tokenChain: number }] & { transfer: [number, BigNumber, string, number, string, number, string, string] & { amount: BigNumber; fromAddress: string; payload: string; payloadID: number; to: string; toChain: number; tokenAddress: string; tokenChain: number } }>
-
parseUpgrade: function
- parseUpgrade(encoded: BytesLike, overrides?: CallOverrides): Promise<[[string, number, number, string] & { action: number; chainId: number; module: string; newContract: string }] & { chain: [string, number, number, string] & { action: number; chainId: number; module: string; newContract: string } }>
-
Parameters
-
encoded: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<[[string, number, number, string] & { action: number; chainId: number; module: string; newContract: string }] & { chain: [string, number, number, string] & { action: number; chainId: number; module: string; newContract: string } }>
-
registerChain: function
- registerChain(encodedVM: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
-
Parameters
-
encodedVM: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
-
submitRecoverChainId: function
- submitRecoverChainId(encodedVM: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
-
Parameters
-
encodedVM: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
-
tokenImplementation: function
- tokenImplementation(overrides?: CallOverrides): Promise<[string]>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<[string]>
-
transferTokens: function
- transferTokens(token: string, amount: BigNumberish, recipientChain: BigNumberish, recipient: BytesLike, arbiterFee: BigNumberish, nonce: BigNumberish, overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
-
Parameters
-
token: string
-
amount: BigNumberish
-
recipientChain: BigNumberish
-
recipient: BytesLike
-
arbiterFee: BigNumberish
-
nonce: BigNumberish
-
Optional overrides: PayableOverrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
-
transferTokensWithPayload: function
- transferTokensWithPayload(token: string, amount: BigNumberish, recipientChain: BigNumberish, recipient: BytesLike, nonce: BigNumberish, payload: BytesLike, overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
-
Parameters
-
token: string
-
amount: BigNumberish
-
recipientChain: BigNumberish
-
recipient: BytesLike
-
nonce: BigNumberish
-
payload: BytesLike
-
Optional overrides: PayableOverrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
-
updateWrapped: function
- updateWrapped(encodedVm: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
-
Parameters
-
encodedVm: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
-
upgrade: function
- upgrade(encodedVM: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
-
Parameters
-
encodedVM: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
-
wormhole: function
- wormhole(overrides?: CallOverrides): Promise<[string]>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<[string]>
-
wrapAndTransferETH: function
- wrapAndTransferETH(recipientChain: BigNumberish, recipient: BytesLike, arbiterFee: BigNumberish, nonce: BigNumberish, overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
-
Parameters
-
recipientChain: BigNumberish
-
recipient: BytesLike
-
arbiterFee: BigNumberish
-
nonce: BigNumberish
-
Optional overrides: PayableOverrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
-
wrapAndTransferETHWithPayload: function
- wrapAndTransferETHWithPayload(recipientChain: BigNumberish, recipient: BytesLike, nonce: BigNumberish, payload: BytesLike, overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
-
Parameters
-
recipientChain: BigNumberish
-
recipient: BytesLike
-
nonce: BigNumberish
-
payload: BytesLike
-
Optional overrides: PayableOverrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
-
wrappedAsset: function
- wrappedAsset(tokenChainId: BigNumberish, tokenAddress: BytesLike, overrides?: CallOverrides): Promise<[string]>
-
Parameters
-
tokenChainId: BigNumberish
-
tokenAddress: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<[string]>
interface
interface: BridgeImplementationInterface
populateTransaction
populateTransaction: { WETH: any; _parseTransferCommon: any; attestToken: any; bridgeContracts: any; chainId: any; completeTransfer: any; completeTransferAndUnwrapETH: any; completeTransferAndUnwrapETHWithPayload: any; completeTransferWithPayload: any; createWrapped: any; encodeAssetMeta: any; encodeTransfer: any; encodeTransferWithPayload: any; evmChainId: any; finality: any; governanceActionIsConsumed: any; governanceChainId: any; governanceContract: any; implementation: any; initialize: any; isFork: any; isInitialized: any; isTransferCompleted: any; isWrappedAsset: any; outstandingBridged: any; parseAssetMeta: any; parsePayloadID: any; parseRecoverChainId: any; parseRegisterChain: any; parseTransfer: any; parseTransferWithPayload: any; parseUpgrade: any; registerChain: any; submitRecoverChainId: any; tokenImplementation: any; transferTokens: any; transferTokensWithPayload: any; updateWrapped: any; upgrade: any; wormhole: any; wrapAndTransferETH: any; wrapAndTransferETHWithPayload: any; wrappedAsset: any }
Type declaration
-
WETH: function
- WETH(overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
_parseTransferCommon: function
- _parseTransferCommon(encoded: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
encoded: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
attestToken: function
- attestToken(tokenAddress: string, nonce: BigNumberish, overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
-
Parameters
-
tokenAddress: string
-
nonce: BigNumberish
-
Optional overrides: PayableOverrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
-
bridgeContracts: function
- bridgeContracts(chainId_: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
chainId_: BigNumberish
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
chainId: function
- chainId(overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
completeTransfer: function
- completeTransfer(encodedVm: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
-
Parameters
-
encodedVm: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
-
completeTransferAndUnwrapETH: function
- completeTransferAndUnwrapETH(encodedVm: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
-
Parameters
-
encodedVm: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
-
completeTransferAndUnwrapETHWithPayload: function
- completeTransferAndUnwrapETHWithPayload(encodedVm: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
-
Parameters
-
encodedVm: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
-
completeTransferWithPayload: function
- completeTransferWithPayload(encodedVm: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
-
Parameters
-
encodedVm: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
-
createWrapped: function
- createWrapped(encodedVm: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
-
Parameters
-
encodedVm: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
-
encodeAssetMeta: function
- encodeAssetMeta(meta: { decimals: BigNumberish; name: BytesLike; payloadID: BigNumberish; symbol: BytesLike; tokenAddress: BytesLike; tokenChain: BigNumberish }, overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
meta: { decimals: BigNumberish; name: BytesLike; payloadID: BigNumberish; symbol: BytesLike; tokenAddress: BytesLike; tokenChain: BigNumberish }
-
decimals: BigNumberish
-
name: BytesLike
-
payloadID: BigNumberish
-
symbol: BytesLike
-
tokenAddress: BytesLike
-
tokenChain: BigNumberish
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
encodeTransfer: function
- encodeTransfer(transfer: { amount: BigNumberish; fee: BigNumberish; payloadID: BigNumberish; to: BytesLike; toChain: BigNumberish; tokenAddress: BytesLike; tokenChain: BigNumberish }, overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
transfer: { amount: BigNumberish; fee: BigNumberish; payloadID: BigNumberish; to: BytesLike; toChain: BigNumberish; tokenAddress: BytesLike; tokenChain: BigNumberish }
-
amount: BigNumberish
-
fee: BigNumberish
-
payloadID: BigNumberish
-
to: BytesLike
-
toChain: BigNumberish
-
tokenAddress: BytesLike
-
tokenChain: BigNumberish
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
encodeTransferWithPayload: function
- encodeTransferWithPayload(transfer: { amount: BigNumberish; fromAddress: BytesLike; payload: BytesLike; payloadID: BigNumberish; to: BytesLike; toChain: BigNumberish; tokenAddress: BytesLike; tokenChain: BigNumberish }, overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
transfer: { amount: BigNumberish; fromAddress: BytesLike; payload: BytesLike; payloadID: BigNumberish; to: BytesLike; toChain: BigNumberish; tokenAddress: BytesLike; tokenChain: BigNumberish }
-
amount: BigNumberish
-
fromAddress: BytesLike
-
payload: BytesLike
-
payloadID: BigNumberish
-
to: BytesLike
-
toChain: BigNumberish
-
tokenAddress: BytesLike
-
tokenChain: BigNumberish
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
evmChainId: function
- evmChainId(overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
finality: function
- finality(overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
governanceActionIsConsumed: function
- governanceActionIsConsumed(hash: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
hash: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
governanceChainId: function
- governanceChainId(overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
governanceContract: function
- governanceContract(overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
implementation: function
- implementation(overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
initialize: function
- initialize(overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
-
Parameters
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
-
isFork: function
- isFork(overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
isInitialized: function
- isInitialized(impl: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
impl: string
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
isTransferCompleted: function
- isTransferCompleted(hash: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
hash: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
isWrappedAsset: function
- isWrappedAsset(token: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
token: string
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
outstandingBridged: function
- outstandingBridged(token: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
token: string
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
parseAssetMeta: function
- parseAssetMeta(encoded: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
encoded: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
parsePayloadID: function
- parsePayloadID(encoded: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
encoded: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
parseRecoverChainId: function
- parseRecoverChainId(encodedRecoverChainId: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
encodedRecoverChainId: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
parseRegisterChain: function
- parseRegisterChain(encoded: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
encoded: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
parseTransfer: function
- parseTransfer(encoded: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
encoded: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
parseTransferWithPayload: function
- parseTransferWithPayload(encoded: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
encoded: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
parseUpgrade: function
- parseUpgrade(encoded: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
encoded: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
registerChain: function
- registerChain(encodedVM: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
-
Parameters
-
encodedVM: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
-
submitRecoverChainId: function
- submitRecoverChainId(encodedVM: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
-
Parameters
-
encodedVM: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
-
tokenImplementation: function
- tokenImplementation(overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
transferTokens: function
- transferTokens(token: string, amount: BigNumberish, recipientChain: BigNumberish, recipient: BytesLike, arbiterFee: BigNumberish, nonce: BigNumberish, overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
-
Parameters
-
token: string
-
amount: BigNumberish
-
recipientChain: BigNumberish
-
recipient: BytesLike
-
arbiterFee: BigNumberish
-
nonce: BigNumberish
-
Optional overrides: PayableOverrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
-
transferTokensWithPayload: function
- transferTokensWithPayload(token: string, amount: BigNumberish, recipientChain: BigNumberish, recipient: BytesLike, nonce: BigNumberish, payload: BytesLike, overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
-
Parameters
-
token: string
-
amount: BigNumberish
-
recipientChain: BigNumberish
-
recipient: BytesLike
-
nonce: BigNumberish
-
payload: BytesLike
-
Optional overrides: PayableOverrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
-
updateWrapped: function
- updateWrapped(encodedVm: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
-
Parameters
-
encodedVm: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
-
upgrade: function
- upgrade(encodedVM: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
-
Parameters
-
encodedVM: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
-
wormhole: function
- wormhole(overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
wrapAndTransferETH: function
- wrapAndTransferETH(recipientChain: BigNumberish, recipient: BytesLike, arbiterFee: BigNumberish, nonce: BigNumberish, overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
-
Parameters
-
recipientChain: BigNumberish
-
recipient: BytesLike
-
arbiterFee: BigNumberish
-
nonce: BigNumberish
-
Optional overrides: PayableOverrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
-
wrapAndTransferETHWithPayload: function
- wrapAndTransferETHWithPayload(recipientChain: BigNumberish, recipient: BytesLike, nonce: BigNumberish, payload: BytesLike, overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
-
Parameters
-
recipientChain: BigNumberish
-
recipient: BytesLike
-
nonce: BigNumberish
-
payload: BytesLike
-
Optional overrides: PayableOverrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
-
wrappedAsset: function
- wrappedAsset(tokenChainId: BigNumberish, tokenAddress: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
tokenChainId: BigNumberish
-
tokenAddress: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
Readonly provider
provider: Provider
Readonly resolvedAddress
resolvedAddress: Promise<string>
Readonly signer
signer: Signer
Parse a recoverChainId (action 3) with minimal validation