@scallop-io/sui-scallop-sdk 2.1.2-merge-split-ve-sca-alpha.1 → 2.1.3-merge-split-ve-sca-alpha.1

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.
@@ -127,10 +127,18 @@ export interface AddressesInterface {
127
127
  };
128
128
  loyaltyProgram: {
129
129
  id: string;
130
+ adminCap?: string;
130
131
  object: string;
131
132
  rewardPool: string;
132
133
  userRewardTableId: string;
133
134
  };
135
+ veScaLoyaltyProgram: {
136
+ id: string;
137
+ adminCap?: string;
138
+ object: string;
139
+ veScaRewardPool: string;
140
+ veScaRewardTableId: string;
141
+ };
134
142
  scoin: {
135
143
  id: string;
136
144
  coins: Partial<
@@ -5,18 +5,14 @@ import {
5
5
  } from '@scallop-io/sui-kit';
6
6
  import { type ScallopBuilder } from 'src/models';
7
7
 
8
- export type LoyaltyProgramIds = {
9
- loyaltyProgramPkgId: string;
10
- rewardPool: string;
11
- userRewardTableId: string;
12
- };
13
-
14
8
  export type LoyaltyProgramNormalMethods = {
15
9
  claimLoyaltyRevenue: (veScaKey: SuiObjectArg) => TransactionResult;
10
+ claimVeScaLoyaltyReward: (veScaKey: SuiObjectArg) => TransactionResult;
16
11
  };
17
12
 
18
13
  export type LoyaltyProgramQuickMethods = {
19
14
  claimLoyaltyRevenueQuick: (veScaKey?: SuiObjectArg) => Promise<void>;
15
+ claimVeScaLoyaltyRewardQuick: (veScaKey?: SuiObjectArg) => Promise<void>;
20
16
  };
21
17
 
22
18
  export type SuiTxBlockWithLoyaltyProgramNormalMethods = SuiKitTxBlock &
@@ -3,3 +3,9 @@ export type LoyaltyProgramInfo = {
3
3
  totalPoolReward: number;
4
4
  isClaimEnabled: boolean;
5
5
  };
6
+
7
+ export type VeScaLoyaltyProgramInfo = {
8
+ pendingVeScaReward: number;
9
+ totalPoolReward: number;
10
+ isClaimEnabled: boolean;
11
+ };