@reflectmoney/stable.ts 2.1.1 → 2.2.0
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.
|
@@ -52,6 +52,11 @@ export declare abstract class Stablecoin<T extends Controller> {
|
|
|
52
52
|
lookupTable: PublicKey;
|
|
53
53
|
}>;
|
|
54
54
|
setLookupTable(address: PublicKey): void;
|
|
55
|
+
getController(): T;
|
|
56
|
+
getStrategy(): Strategy;
|
|
57
|
+
getStablecoinMint(): PublicKey;
|
|
58
|
+
getStablecoinMintData(): RawMint;
|
|
59
|
+
getLookupTable(): PublicKey;
|
|
55
60
|
/**
|
|
56
61
|
* Creates a new Stablecoin instance.
|
|
57
62
|
*
|
|
@@ -101,6 +101,21 @@ class Stablecoin {
|
|
|
101
101
|
setLookupTable(address) {
|
|
102
102
|
this.lookupTable = address;
|
|
103
103
|
}
|
|
104
|
+
getController() {
|
|
105
|
+
return this.controller;
|
|
106
|
+
}
|
|
107
|
+
getStrategy() {
|
|
108
|
+
return this.strategy;
|
|
109
|
+
}
|
|
110
|
+
getStablecoinMint() {
|
|
111
|
+
return this.stablecoinMint;
|
|
112
|
+
}
|
|
113
|
+
getStablecoinMintData() {
|
|
114
|
+
return this.stablecoinMintData;
|
|
115
|
+
}
|
|
116
|
+
getLookupTable() {
|
|
117
|
+
return this.lookupTable;
|
|
118
|
+
}
|
|
104
119
|
/**
|
|
105
120
|
* Creates a new Stablecoin instance.
|
|
106
121
|
*
|