Constructors
constructor
-
Parameters
-
web3: Web3
-
address: string
Methods
challengedExits
- challengedExits(): Promise<EventLog[]>
-
Returns Promise<EventLog[]>
deposit
-
Parameters
depositFor
-
Parameters
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
-
-
proof: Buffer
-
confirmSignatures: [Buffer, Buffer]
-
fee: BN
-
from: string
Returns Promise<TransactionReceipt>