@flashbacktech/flashbackclient 0.1.64 → 0.1.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6,8 +6,8 @@ import { ClientContext } from '.';
|
|
|
6
6
|
export declare class FundingOps {
|
|
7
7
|
private context;
|
|
8
8
|
constructor(context: ClientContext);
|
|
9
|
-
getStableAssetName(): Promise<string>;
|
|
10
|
-
getStableAssetAddress(): Promise<string>;
|
|
9
|
+
getStableAssetName(wallet_address: string): Promise<string>;
|
|
10
|
+
getStableAssetAddress(wallet_address: string): Promise<string>;
|
|
11
11
|
/**
|
|
12
12
|
* Sends funds from the contract to a receiver (owner only)
|
|
13
13
|
* @param receiver - Address of the receiver
|
|
@@ -44,8 +44,8 @@ class FundingOps {
|
|
|
44
44
|
});
|
|
45
45
|
this.context = context;
|
|
46
46
|
}
|
|
47
|
-
async getStableAssetName() {
|
|
48
|
-
const response = await (0, transaction_1.prepareTransaction)(this.context,
|
|
47
|
+
async getStableAssetName(wallet_address) {
|
|
48
|
+
const response = await (0, transaction_1.prepareTransaction)(this.context, wallet_address, {
|
|
49
49
|
method: 'get_stable_asset_name',
|
|
50
50
|
args: []
|
|
51
51
|
});
|
|
@@ -54,8 +54,8 @@ class FundingOps {
|
|
|
54
54
|
}
|
|
55
55
|
return '';
|
|
56
56
|
}
|
|
57
|
-
async getStableAssetAddress() {
|
|
58
|
-
const response = await (0, transaction_1.prepareTransaction)(this.context,
|
|
57
|
+
async getStableAssetAddress(wallet_address) {
|
|
58
|
+
const response = await (0, transaction_1.prepareTransaction)(this.context, wallet_address, {
|
|
59
59
|
method: 'get_stable_asset_address',
|
|
60
60
|
args: []
|
|
61
61
|
});
|