- Preparing search index...
- The search index is not available
cardstack
Interface ITokenBridgeForeignSide
Methods
unlockTokens
- unlockTokens(txnHash: string): Promise<SuccessfulTransactionReceipt>
-
Returns Promise<SuccessfulTransactionReceipt>
- unlockTokens(tokenAddress: string, amount: string, txnOptions?: TransactionOptions, contractOptions?: ContractOptions): Promise<SuccessfulTransactionReceipt>
-
Parameters
-
tokenAddress: string
-
amount: string
-
-
Optional
contractOptions: ContractOptions
Returns Promise<SuccessfulTransactionReceipt>
relayTokens
- relayTokens(txnHash: string): Promise<SuccessfulTransactionReceipt>
-
Returns Promise<SuccessfulTransactionReceipt>
- relayTokens(tokenAddress: string, recipientAddress: string, amount: string, txnOptions?: TransactionOptions, contractOptions?: ContractOptions): Promise<SuccessfulTransactionReceipt>
-
Parameters
-
tokenAddress: string
-
recipientAddress: string
-
amount: string
-
-
Optional
contractOptions: ContractOptions
Returns Promise<SuccessfulTransactionReceipt>
claimBridgedTokens
- claimBridgedTokens(txnHash: string): Promise<SuccessfulTransactionReceipt>
-
Returns Promise<SuccessfulTransactionReceipt>
- claimBridgedTokens(messageId: string, encodedData: string, signatures: string[], txnOptions?: TransactionOptions, contractOptions?: ContractOptions): Promise<SuccessfulTransactionReceipt>
-
Parameters
-
messageId: string
-
encodedData: string
-
signatures: string[]
-
-
Optional
contractOptions: ContractOptions
Returns Promise<SuccessfulTransactionReceipt>