Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • IAnchor

Implemented by

Index

Properties

contract: AnchorBase
denomination?: string
depositHistory: Record<number, string>
latestSyncedBlock: number
signer: Signer
token?: string
tree: any

Methods

  • bridgedTransact(inputs: Utxo[], outputs: Utxo[], fee: BigNumberish, recipient: string, relayer: string, merkleProofsForInputs: any[]): Promise<ContractReceipt>
  • bridgedTransactWrap(tokenAddress: string, inputs: Utxo[], outputs: Utxo[], fee: BigNumberish, recipient: string, relayer: string, merkleProofsForInputs: any[]): Promise<ContractReceipt>
  • bridgedWithdraw(deposit: IAnchorDeposit, merkleProof: any, recipient: string, relayer: string, fee: string, refund: string, refreshCommitment: string): Promise<Event>
  • bridgedWithdrawAndUnwrap(deposit: IAnchorDeposit, merkleProof: any, recipient: string, relayer: string, fee: string, refund: string, refreshCommitment: string, tokenAddress: string): Promise<Event>
  • createResourceId(): Promise<string>
  • getAddress(): string
  • getHandler(): Promise<string>
  • getHandlerProposalData(newHandler: string): Promise<string>
  • getMaxDepositLimitProposalData(_maximumDepositAmount: string): Promise<string>
  • getMinWithdrawalLimitProposalData(_minimalWithdrawalAmount: string): Promise<string>
  • getProposalData(resourceID: string, leafIndex?: number): Promise<string>
  • setSigner(signer: Signer): any
  • setupWithdraw(deposit: IAnchorDepositInfo, index: number, recipient: string, relayer: string, fee: bigint, refreshCommitment: string | number): any
  • update(blockNumber?: number): Promise<void>
  • withdraw(deposit: IAnchorDepositInfo, index: number, recipient: string, relayer: string, fee: bigint, refreshCommitment: string | number): Promise<Event>
  • wrapAndDeposit(tokenAddress: string, wrappingFee: number, destinationChainId?: number): Promise<IAnchorDeposit>

Generated using TypeDoc