@credenza3/contracts-lib-sui 0.2.11 → 0.2.12

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.
@@ -4,7 +4,7 @@ export declare class CredenzaMetaLedgerV2 extends CredenzaSuiModule {
4
4
  private loyaltyConfig;
5
5
  addPoints(userAddress: string, amount: number, eventId: string, meta?: string): Promise<SuiTransactionResult>;
6
6
  redeemPoints(amount: number): Promise<SuiTransactionResult>;
7
- convertPointsToCRED(amount: number): Promise<SuiTransactionResult>;
7
+ convertPointsToCoins(amount: number): Promise<SuiTransactionResult>;
8
8
  getLoyaltyConfig(): Promise<string>;
9
9
  getPointsAmount(userAddress: string): Promise<number>;
10
10
  getUserEvents(userAddress: string): Promise<{
@@ -15,4 +15,6 @@ export declare class CredenzaMetaLedgerV2 extends CredenzaSuiModule {
15
15
  getPointsPerEvent(userAddress: string, event: string): Promise<number>;
16
16
  getOwners(): Promise<string[]>;
17
17
  setOwner(recipient: string, isOwner: boolean): Promise<SuiTransactionResult>;
18
+ setCoinForConverting(coinId: string, rate: number): Promise<SuiTransactionResult>;
19
+ getConvertableCoinType(): Promise<string | null>;
18
20
  }