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: { bridgeContracts: any; chainId: any; completeTransfer: any; encodeTransfer: any; evmChainId: any; finality: any; governanceActionIsConsumed: any; governanceChainId: any; governanceContract: any; implementation: any; initialize: any; isFork: any; isInitialized: any; isTransferCompleted: any; isWrappedAsset: any; onERC721Received: any; parseRecoverChainId: any; parseRegisterChain: any; parseTransfer: any; parseUpgrade: any; registerChain: any; splCache: any; submitRecoverChainId: any; tokenImplementation: any; transferNFT: any; upgrade: any; wormhole: any; wrappedAsset: any }
Type declaration
-
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(encodeVm: BytesLike, overrides?: CallOverrides): Promise<void>
-
Parameters
-
encodeVm: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<void>
-
encodeTransfer: function
- encodeTransfer(transfer: { name: BytesLike; symbol: BytesLike; to: BytesLike; toChain: BigNumberish; tokenAddress: BytesLike; tokenChain: BigNumberish; tokenID: BigNumberish; uri: string }, overrides?: CallOverrides): Promise<string>
-
Parameters
-
transfer: { name: BytesLike; symbol: BytesLike; to: BytesLike; toChain: BigNumberish; tokenAddress: BytesLike; tokenChain: BigNumberish; tokenID: BigNumberish; uri: string }
-
name: BytesLike
-
symbol: BytesLike
-
to: BytesLike
-
toChain: BigNumberish
-
tokenAddress: BytesLike
-
tokenChain: BigNumberish
-
tokenID: BigNumberish
-
uri: string
-
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>
-
onERC721Received: function
- onERC721Received(operator: string, arg1: string, arg2: BigNumberish, arg3: BytesLike, overrides?: CallOverrides): Promise<string>
-
Parameters
-
operator: string
-
arg1: string
-
arg2: BigNumberish
-
arg3: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<string>
-
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<[string, number, string, string, BigNumber, string, string, number] & { name: string; symbol: string; to: string; toChain: number; tokenAddress: string; tokenChain: number; tokenID: BigNumber; uri: string }>
-
Parameters
-
encoded: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<[string, number, string, string, BigNumber, string, string, number] & { name: string; symbol: string; to: string; toChain: number; tokenAddress: string; tokenChain: number; tokenID: BigNumber; uri: string }>
-
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>
-
splCache: function
- splCache(tokenId: BigNumberish, overrides?: CallOverrides): Promise<[string, string] & { name: string; symbol: string }>
-
Parameters
-
tokenId: BigNumberish
-
Optional overrides: CallOverrides
Returns Promise<[string, string] & { name: string; symbol: string }>
-
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>
-
transferNFT: function
- transferNFT(token: string, tokenID: BigNumberish, recipientChain: BigNumberish, recipient: BytesLike, nonce: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
token: string
-
tokenID: BigNumberish
-
recipientChain: BigNumberish
-
recipient: BytesLike
-
nonce: BigNumberish
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
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>
-
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: { bridgeContracts: any; chainId: any; completeTransfer: any; encodeTransfer: any; evmChainId: any; finality: any; governanceActionIsConsumed: any; governanceChainId: any; governanceContract: any; implementation: any; initialize: any; isFork: any; isInitialized: any; isTransferCompleted: any; isWrappedAsset: any; onERC721Received: any; parseRecoverChainId: any; parseRegisterChain: any; parseTransfer: any; parseUpgrade: any; registerChain: any; splCache: any; submitRecoverChainId: any; tokenImplementation: any; transferNFT: any; upgrade: any; wormhole: any; wrappedAsset: any }
Type declaration
-
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(encodeVm: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
-
Parameters
-
encodeVm: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
-
encodeTransfer: function
- encodeTransfer(transfer: { name: BytesLike; symbol: BytesLike; to: BytesLike; toChain: BigNumberish; tokenAddress: BytesLike; tokenChain: BigNumberish; tokenID: BigNumberish; uri: string }, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
transfer: { name: BytesLike; symbol: BytesLike; to: BytesLike; toChain: BigNumberish; tokenAddress: BytesLike; tokenChain: BigNumberish; tokenID: BigNumberish; uri: string }
-
name: BytesLike
-
symbol: BytesLike
-
to: BytesLike
-
toChain: BigNumberish
-
tokenAddress: BytesLike
-
tokenChain: BigNumberish
-
tokenID: BigNumberish
-
uri: string
-
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>
-
onERC721Received: function
- onERC721Received(operator: string, arg1: string, arg2: BigNumberish, arg3: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
operator: string
-
arg1: string
-
arg2: BigNumberish
-
arg3: 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>
-
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>
-
splCache: function
- splCache(tokenId: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
tokenId: BigNumberish
-
Optional overrides: CallOverrides
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>
-
transferNFT: function
- transferNFT(token: string, tokenID: BigNumberish, recipientChain: BigNumberish, recipient: BytesLike, nonce: BigNumberish, overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<BigNumber>
-
Parameters
-
token: string
-
tokenID: BigNumberish
-
recipientChain: BigNumberish
-
recipient: BytesLike
-
nonce: BigNumberish
-
Optional overrides: PayableOverrides & { 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>
-
wrappedAsset: function
- wrappedAsset(tokenChainId: BigNumberish, tokenAddress: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
tokenChainId: BigNumberish
-
tokenAddress: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
filters
filters: { ContractUpgraded: any }
Type declaration
-
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 }>
functions
functions: { bridgeContracts: any; chainId: any; completeTransfer: any; encodeTransfer: any; evmChainId: any; finality: any; governanceActionIsConsumed: any; governanceChainId: any; governanceContract: any; implementation: any; initialize: any; isFork: any; isInitialized: any; isTransferCompleted: any; isWrappedAsset: any; onERC721Received: any; parseRecoverChainId: any; parseRegisterChain: any; parseTransfer: any; parseUpgrade: any; registerChain: any; splCache: any; submitRecoverChainId: any; tokenImplementation: any; transferNFT: any; upgrade: any; wormhole: any; wrappedAsset: any }
Type declaration
-
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(encodeVm: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
-
Parameters
-
encodeVm: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
-
encodeTransfer: function
- encodeTransfer(transfer: { name: BytesLike; symbol: BytesLike; to: BytesLike; toChain: BigNumberish; tokenAddress: BytesLike; tokenChain: BigNumberish; tokenID: BigNumberish; uri: string }, overrides?: CallOverrides): Promise<[string] & { encoded: string }>
-
Parameters
-
transfer: { name: BytesLike; symbol: BytesLike; to: BytesLike; toChain: BigNumberish; tokenAddress: BytesLike; tokenChain: BigNumberish; tokenID: BigNumberish; uri: string }
-
name: BytesLike
-
symbol: BytesLike
-
to: BytesLike
-
toChain: BigNumberish
-
tokenAddress: BytesLike
-
tokenChain: BigNumberish
-
tokenID: BigNumberish
-
uri: string
-
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]>
-
onERC721Received: function
- onERC721Received(operator: string, arg1: string, arg2: BigNumberish, arg3: BytesLike, overrides?: CallOverrides): Promise<[string]>
-
Parameters
-
operator: string
-
arg1: string
-
arg2: BigNumberish
-
arg3: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<[string]>
-
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<[[string, number, string, string, BigNumber, string, string, number] & { name: string; symbol: string; to: string; toChain: number; tokenAddress: string; tokenChain: number; tokenID: BigNumber; uri: string }] & { transfer: [string, number, string, string, BigNumber, string, string, number] & { name: string; symbol: string; to: string; toChain: number; tokenAddress: string; tokenChain: number; tokenID: BigNumber; uri: string } }>
-
Parameters
-
encoded: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<[[string, number, string, string, BigNumber, string, string, number] & { name: string; symbol: string; to: string; toChain: number; tokenAddress: string; tokenChain: number; tokenID: BigNumber; uri: string }] & { transfer: [string, number, string, string, BigNumber, string, string, number] & { name: string; symbol: string; to: string; toChain: number; tokenAddress: string; tokenChain: number; tokenID: BigNumber; uri: string } }>
-
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>
-
splCache: function
- splCache(tokenId: BigNumberish, overrides?: CallOverrides): Promise<[[string, string] & { name: string; symbol: string }]>
-
Parameters
-
tokenId: BigNumberish
-
Optional overrides: CallOverrides
Returns Promise<[[string, string] & { name: string; symbol: string }]>
-
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]>
-
transferNFT: function
- transferNFT(token: string, tokenID: BigNumberish, recipientChain: BigNumberish, recipient: BytesLike, nonce: BigNumberish, overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
-
Parameters
-
token: string
-
tokenID: BigNumberish
-
recipientChain: BigNumberish
-
recipient: BytesLike
-
nonce: BigNumberish
-
Optional overrides: PayableOverrides & { 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]>
-
wrappedAsset: function
- wrappedAsset(tokenChainId: BigNumberish, tokenAddress: BytesLike, overrides?: CallOverrides): Promise<[string]>
-
Parameters
-
tokenChainId: BigNumberish
-
tokenAddress: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<[string]>
interface
interface: INFTBridgeInterface
populateTransaction
populateTransaction: { bridgeContracts: any; chainId: any; completeTransfer: any; encodeTransfer: any; evmChainId: any; finality: any; governanceActionIsConsumed: any; governanceChainId: any; governanceContract: any; implementation: any; initialize: any; isFork: any; isInitialized: any; isTransferCompleted: any; isWrappedAsset: any; onERC721Received: any; parseRecoverChainId: any; parseRegisterChain: any; parseTransfer: any; parseUpgrade: any; registerChain: any; splCache: any; submitRecoverChainId: any; tokenImplementation: any; transferNFT: any; upgrade: any; wormhole: any; wrappedAsset: any }
Type declaration
-
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(encodeVm: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
-
Parameters
-
encodeVm: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
-
encodeTransfer: function
- encodeTransfer(transfer: { name: BytesLike; symbol: BytesLike; to: BytesLike; toChain: BigNumberish; tokenAddress: BytesLike; tokenChain: BigNumberish; tokenID: BigNumberish; uri: string }, overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
transfer: { name: BytesLike; symbol: BytesLike; to: BytesLike; toChain: BigNumberish; tokenAddress: BytesLike; tokenChain: BigNumberish; tokenID: BigNumberish; uri: string }
-
name: BytesLike
-
symbol: BytesLike
-
to: BytesLike
-
toChain: BigNumberish
-
tokenAddress: BytesLike
-
tokenChain: BigNumberish
-
tokenID: BigNumberish
-
uri: string
-
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>
-
onERC721Received: function
- onERC721Received(operator: string, arg1: string, arg2: BigNumberish, arg3: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
operator: string
-
arg1: string
-
arg2: BigNumberish
-
arg3: 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>
-
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>
-
splCache: function
- splCache(tokenId: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
tokenId: BigNumberish
-
Optional overrides: CallOverrides
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>
-
transferNFT: function
- transferNFT(token: string, tokenID: BigNumberish, recipientChain: BigNumberish, recipient: BytesLike, nonce: BigNumberish, overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
-
Parameters
-
token: string
-
tokenID: BigNumberish
-
recipientChain: BigNumberish
-
recipient: BytesLike
-
nonce: BigNumberish
-
Optional overrides: PayableOverrides & { 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>
-
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