Options
All
  • Public
  • Public/Protected
  • All
Menu

Bridge adapter for any token bridge that uses the standard token bridge interface.

Hierarchy

  • NFTBridgeAdapter

Implements

Index

Constructors

Properties

estimateGas: { approve: (l1Token: AddressLike, l2Token: AddressLike, tokenId: NumberLike, opts?: { overrides?: CallOverrides }) => Promise<BigNumber>; deposit: (l1Token: AddressLike, l2Token: AddressLike, tokenId: NumberLike, opts?: { extra_data?: String; overrides?: CallOverrides }) => Promise<BigNumber>; withdraw: (l1Token: AddressLike, l2Token: AddressLike, tokenId: NumberLike, opts?: { extra_data?: String; overrides?: CallOverrides; recipient?: AddressLike }) => Promise<BigNumber> } = ...

Object that holds the functions that estimates the gas required for a given transaction. Follows the pattern used by ethers.js.

Type declaration

l1Bridge: Contract

L1 bridge contract.

l2Bridge: Contract

L2 bridge contract.

Provider used to make queries related to cross-chain interactions.

populateTransaction: { approve: (l1Token: AddressLike, l2Token: AddressLike, tokenId: NumberLike, opts?: { overrides?: Overrides }) => Promise<TransactionRequest>; deposit: (l1Token: AddressLike, l2Token: AddressLike, tokenId: NumberLike, opts?: { extra_data?: String; l2GasLimit?: NumberLike; overrides?: Overrides; recipient?: AddressLike }) => Promise<TransactionRequest>; withdraw: (l1Token: AddressLike, l2Token: AddressLike, tokenId: NumberLike, opts?: { extra_data?: String; overrides?: Overrides; recipient?: AddressLike }) => Promise<TransactionRequest> } = ...

Object that holds the functions that generate transactions to be signed by the user. Follows the pattern used by ethers.js.

Type declaration

Methods

Generated using TypeDoc