Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PlasmaContract

Hierarchy

  • PlasmaContract

Index

Constructors

constructor

  • Parameters

    • web3: Web3
    • address: string

    Returns PlasmaContract

Methods

challengedExits

  • challengedExits(): Promise<EventLog[]>
  • Returns Promise<EventLog[]>

deposit

  • Parameters

    • value: BN
    • from: string

    Returns Promise<OnChainDeposit>

depositFor

  • Parameters

    • nonce: BN

    Returns Promise<OnChainDeposit>

depositNonce

  • depositNonce(): Promise<BN>
  • Returns Promise<BN>

startDepositExit

  • startDepositExit(nonce: BN, fee: BN, from: string): Promise<TransactionReceipt>
  • Parameters

    • nonce: BN
    • fee: BN
    • from: string

    Returns Promise<TransactionReceipt>

startExit

  • startExit(outpoint: Outpoint, proof: Buffer, confirmSignatures: [Buffer, Buffer], fee: BN, from: string): Promise<TransactionReceipt>
  • Parameters

    • outpoint: Outpoint
    • proof: Buffer
    • confirmSignatures: [Buffer, Buffer]
    • fee: BN
    • from: string

    Returns Promise<TransactionReceipt>

Generated using TypeDoc