@scallop-io/sui-scallop-sdk 2.1.2 → 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.
- package/dist/index.d.mts +188 -15
- package/dist/index.d.ts +188 -15
- package/dist/index.js +22 -20
- package/dist/index.mjs +4 -4
- package/package.json +1 -1
- package/src/builders/borrowIncentiveBuilder.ts +17 -8
- package/src/builders/coreBuilder.ts +2 -2
- package/src/builders/index.ts +2 -2
- package/src/builders/loyaltyProgramBuilder.ts +41 -8
- package/src/builders/spoolBuilder.ts +2 -2
- package/src/builders/vescaBuilder.ts +132 -14
- package/src/constants/testAddress.ts +421 -16
- package/src/models/scallopAddress.ts +9 -0
- package/src/models/scallopQuery.ts +11 -1
- package/src/queries/coreQuery.ts +2 -2
- package/src/queries/loyaltyProgramQuery.ts +82 -1
- package/src/queries/portfolioQuery.ts +2 -2
- package/src/queries/spoolQuery.ts +2 -2
- package/src/queries/vescaQuery.ts +2 -2
- package/src/types/address.ts +11 -0
- package/src/types/builder/loyaltyProgram.ts +2 -6
- package/src/types/builder/vesca.ts +20 -10
- package/src/types/query/loyaltyProgram.ts +6 -0
- package/src/utils/builder.ts +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -860,10 +860,16 @@ declare class ScallopQuery implements ScallopQueryInterface {
|
|
|
860
860
|
getBindedVeScaKey(obligationId: string): Promise<string | null>;
|
|
861
861
|
/**
|
|
862
862
|
* Get user's veSCA loyalty program informations
|
|
863
|
-
* @param
|
|
863
|
+
* @param veScaKey
|
|
864
864
|
* @returns Loyalty program information
|
|
865
865
|
*/
|
|
866
866
|
getLoyaltyProgramInfos(veScaKey?: string | SuiObjectData): Promise<LoyaltyProgramInfo | null>;
|
|
867
|
+
/**
|
|
868
|
+
* Get user's veSCA rewards informations from loyalty program
|
|
869
|
+
* @param veScaKey
|
|
870
|
+
* @returns Loyalty program information
|
|
871
|
+
*/
|
|
872
|
+
getVeScaLoyaltyProgramInfos(veScaKey?: string | SuiObjectData): Promise<VeScaLoyaltyProgramInfo | null>;
|
|
867
873
|
/**
|
|
868
874
|
* Get total supply of sCoin
|
|
869
875
|
* @param sCoinName - Supported sCoin name
|
|
@@ -1848,12 +1854,6 @@ type GenerateBorrowIncentiveQuickMethod = (params: {
|
|
|
1848
1854
|
txBlock: SuiTxBlockWithBorrowIncentiveNormalMethods;
|
|
1849
1855
|
}) => BorrowIncentiveQuickMethods;
|
|
1850
1856
|
|
|
1851
|
-
type VescaIds = {
|
|
1852
|
-
pkgId: string;
|
|
1853
|
-
table: string;
|
|
1854
|
-
treasury: string;
|
|
1855
|
-
config: string;
|
|
1856
|
-
};
|
|
1857
1857
|
type VeScaNormalMethods = {
|
|
1858
1858
|
lockSca: (scaCoin: SuiObjectArg, unlockAtInSecondTimestamp: number) => TransactionResult;
|
|
1859
1859
|
extendLockPeriod: (veScaKey: SuiObjectArg, newUnlockAtInSecondTimestamp: number) => void;
|
|
@@ -1861,8 +1861,10 @@ type VeScaNormalMethods = {
|
|
|
1861
1861
|
renewExpiredVeSca: (veScaKey: SuiObjectArg, scaCoin: SuiObjectArg, newUnlockAtInSecondTimestamp: number) => void;
|
|
1862
1862
|
redeemSca: (veScaKey: SuiObjectArg) => TransactionResult;
|
|
1863
1863
|
mintEmptyVeSca: () => TransactionResult;
|
|
1864
|
+
splitVeSca: (veScaKey: SuiObjectArg, splitAmount: string) => TransactionResult;
|
|
1865
|
+
mergeVeSca: (targetVeScaKey: SuiObjectArg, sourceVeScaKey: SuiObjectArg) => void;
|
|
1864
1866
|
};
|
|
1865
|
-
type
|
|
1867
|
+
type QuickMethodReturnType<T extends boolean> = T extends true ? void : TransactionResult | undefined;
|
|
1866
1868
|
type VeScaQuickMethods = {
|
|
1867
1869
|
/**
|
|
1868
1870
|
* Quick methods to automate
|
|
@@ -1884,7 +1886,9 @@ type VeScaQuickMethods = {
|
|
|
1884
1886
|
extendLockPeriodQuick: (lockPeriodInDays: number, veScaKey?: SuiObjectArg, autoCheck?: boolean) => Promise<void>;
|
|
1885
1887
|
extendLockAmountQuick: (scaAmount: number, veScaKey?: SuiObjectArg, autoCheck?: boolean) => Promise<void>;
|
|
1886
1888
|
renewExpiredVeScaQuick: (scaAmount: number, lockPeriodInDays: number, veScaKey?: SuiObjectArg, autoCheck?: boolean) => Promise<void>;
|
|
1887
|
-
redeemScaQuick: <T extends boolean>(
|
|
1889
|
+
redeemScaQuick: <T extends boolean>(veScaKey?: SuiObjectArg, transferSca?: T) => Promise<QuickMethodReturnType<T>>;
|
|
1890
|
+
splitVeScaQuick: <T extends boolean>(splitAmount: string, veScaKey: string, transferVeScaKey?: T) => Promise<QuickMethodReturnType<T>>;
|
|
1891
|
+
mergeVeScaQuick: (targetVeScaKey: string, sourceVeScaKey: string) => Promise<void>;
|
|
1888
1892
|
};
|
|
1889
1893
|
type SuiTxBlockWithVeScaNormalMethods = SuiTxBlock & VeScaNormalMethods;
|
|
1890
1894
|
type VeScaTxBlock = SuiTxBlockWithVeScaNormalMethods & VeScaQuickMethods;
|
|
@@ -1909,16 +1913,13 @@ type ReferralQuickMethods = {
|
|
|
1909
1913
|
type SuiTxBlockWithReferralNormalMethods = SuiTxBlock & ReferralNormalMethods;
|
|
1910
1914
|
type ReferralTxBlock = SuiTxBlockWithReferralNormalMethods & ReferralQuickMethods;
|
|
1911
1915
|
|
|
1912
|
-
type LoyaltyProgramIds = {
|
|
1913
|
-
loyaltyProgramPkgId: string;
|
|
1914
|
-
rewardPool: string;
|
|
1915
|
-
userRewardTableId: string;
|
|
1916
|
-
};
|
|
1917
1916
|
type LoyaltyProgramNormalMethods = {
|
|
1918
1917
|
claimLoyaltyRevenue: (veScaKey: SuiObjectArg) => TransactionResult$1;
|
|
1918
|
+
claimVeScaLoyaltyReward: (veScaKey: SuiObjectArg) => TransactionResult$1;
|
|
1919
1919
|
};
|
|
1920
1920
|
type LoyaltyProgramQuickMethods = {
|
|
1921
1921
|
claimLoyaltyRevenueQuick: (veScaKey?: SuiObjectArg) => Promise<void>;
|
|
1922
|
+
claimVeScaLoyaltyRewardQuick: (veScaKey?: SuiObjectArg) => Promise<void>;
|
|
1922
1923
|
};
|
|
1923
1924
|
type SuiTxBlockWithLoyaltyProgramNormalMethods = SuiTxBlock & LoyaltyProgramNormalMethods;
|
|
1924
1925
|
type LoyaltyProgramTxBlock = SuiTxBlockWithLoyaltyProgramNormalMethods & LoyaltyProgramQuickMethods;
|
|
@@ -2591,6 +2592,11 @@ type LoyaltyProgramInfo = {
|
|
|
2591
2592
|
totalPoolReward: number;
|
|
2592
2593
|
isClaimEnabled: boolean;
|
|
2593
2594
|
};
|
|
2595
|
+
type VeScaLoyaltyProgramInfo = {
|
|
2596
|
+
pendingVeScaReward: number;
|
|
2597
|
+
totalPoolReward: number;
|
|
2598
|
+
isClaimEnabled: boolean;
|
|
2599
|
+
};
|
|
2594
2600
|
|
|
2595
2601
|
type OptionalKeys$2<T> = {
|
|
2596
2602
|
[K in keyof T]?: T[K];
|
|
@@ -2959,6 +2965,9 @@ interface AddressesInterface {
|
|
|
2959
2965
|
table: string;
|
|
2960
2966
|
treasury: string;
|
|
2961
2967
|
config: string;
|
|
2968
|
+
subsTable: string;
|
|
2969
|
+
subsTableId: string;
|
|
2970
|
+
subsWhitelist: string;
|
|
2962
2971
|
};
|
|
2963
2972
|
referral: {
|
|
2964
2973
|
id: string;
|
|
@@ -2975,10 +2984,18 @@ interface AddressesInterface {
|
|
|
2975
2984
|
};
|
|
2976
2985
|
loyaltyProgram: {
|
|
2977
2986
|
id: string;
|
|
2987
|
+
adminCap?: string;
|
|
2978
2988
|
object: string;
|
|
2979
2989
|
rewardPool: string;
|
|
2980
2990
|
userRewardTableId: string;
|
|
2981
2991
|
};
|
|
2992
|
+
veScaLoyaltyProgram: {
|
|
2993
|
+
id: string;
|
|
2994
|
+
adminCap?: string;
|
|
2995
|
+
object: string;
|
|
2996
|
+
veScaRewardPool: string;
|
|
2997
|
+
veScaRewardTableId: string;
|
|
2998
|
+
};
|
|
2982
2999
|
scoin: {
|
|
2983
3000
|
id: string;
|
|
2984
3001
|
coins: Partial<Record<string, {
|
|
@@ -3001,6 +3018,162 @@ type OptionalKeys<T> = {
|
|
|
3001
3018
|
type CoinPrices = OptionalKeys<Record<string, number>>;
|
|
3002
3019
|
|
|
3003
3020
|
declare const TEST_ADDRESSES: AddressesInterface;
|
|
3021
|
+
declare const WHITELIST: {
|
|
3022
|
+
lending: Set<string>;
|
|
3023
|
+
collateral: Set<string>;
|
|
3024
|
+
borrowing: Set<string>;
|
|
3025
|
+
packages: Set<string>;
|
|
3026
|
+
spool: Set<string>;
|
|
3027
|
+
scoin: Set<string>;
|
|
3028
|
+
suiBridge: Set<string>;
|
|
3029
|
+
wormhole: Set<string>;
|
|
3030
|
+
oracles: Set<string>;
|
|
3031
|
+
pythEndpoints: Set<string>;
|
|
3032
|
+
deprecated: Set<string>;
|
|
3033
|
+
borrowIncentiveRewards: Set<string>;
|
|
3034
|
+
rewardsAsPoint: Set<string>;
|
|
3035
|
+
emerging: Set<string>;
|
|
3036
|
+
};
|
|
3037
|
+
declare const POOL_ADDRESSES: {
|
|
3038
|
+
usdc: {
|
|
3039
|
+
coinName: string;
|
|
3040
|
+
symbol: string;
|
|
3041
|
+
lendingPoolAddress: string;
|
|
3042
|
+
collateralPoolAddress: string;
|
|
3043
|
+
borrowDynamic: string;
|
|
3044
|
+
interestModel: string;
|
|
3045
|
+
riskModel: string;
|
|
3046
|
+
borrowFeeKey: string;
|
|
3047
|
+
supplyLimitKey: string;
|
|
3048
|
+
borrowLimitKey: string;
|
|
3049
|
+
isolatedAssetKey: string;
|
|
3050
|
+
isIsolated: boolean;
|
|
3051
|
+
spool: string;
|
|
3052
|
+
spoolReward: string;
|
|
3053
|
+
sCoinType: string;
|
|
3054
|
+
sCoinTreasury: string;
|
|
3055
|
+
sCoinMetadataId: string;
|
|
3056
|
+
sCoinSymbol: string;
|
|
3057
|
+
sCoinName: string;
|
|
3058
|
+
coinMetadataId: string;
|
|
3059
|
+
coinType: string;
|
|
3060
|
+
spoolName: string;
|
|
3061
|
+
decimals: number;
|
|
3062
|
+
pythFeed: string;
|
|
3063
|
+
pythFeedObjectId: string;
|
|
3064
|
+
flashloanFeeObject: string;
|
|
3065
|
+
};
|
|
3066
|
+
sui: {
|
|
3067
|
+
coinName: string;
|
|
3068
|
+
symbol: string;
|
|
3069
|
+
lendingPoolAddress: string;
|
|
3070
|
+
collateralPoolAddress: string;
|
|
3071
|
+
borrowDynamic: string;
|
|
3072
|
+
interestModel: string;
|
|
3073
|
+
riskModel: string;
|
|
3074
|
+
borrowFeeKey: string;
|
|
3075
|
+
supplyLimitKey: string;
|
|
3076
|
+
borrowLimitKey: string;
|
|
3077
|
+
isolatedAssetKey: string;
|
|
3078
|
+
isIsolated: boolean;
|
|
3079
|
+
spool: string;
|
|
3080
|
+
spoolReward: string;
|
|
3081
|
+
sCoinType: string;
|
|
3082
|
+
sCoinTreasury: string;
|
|
3083
|
+
sCoinMetadataId: string;
|
|
3084
|
+
sCoinSymbol: string;
|
|
3085
|
+
sCoinName: string;
|
|
3086
|
+
coinMetadataId: string;
|
|
3087
|
+
coinType: string;
|
|
3088
|
+
spoolName: string;
|
|
3089
|
+
decimals: number;
|
|
3090
|
+
pythFeed: string;
|
|
3091
|
+
pythFeedObjectId: string;
|
|
3092
|
+
flashloanFeeObject: string;
|
|
3093
|
+
};
|
|
3094
|
+
sca: {
|
|
3095
|
+
coinName: string;
|
|
3096
|
+
symbol: string;
|
|
3097
|
+
lendingPoolAddress: string;
|
|
3098
|
+
collateralPoolAddress: string;
|
|
3099
|
+
borrowDynamic: string;
|
|
3100
|
+
interestModel: string;
|
|
3101
|
+
riskModel: string;
|
|
3102
|
+
borrowFeeKey: string;
|
|
3103
|
+
supplyLimitKey: string;
|
|
3104
|
+
borrowLimitKey: string;
|
|
3105
|
+
isolatedAssetKey: string;
|
|
3106
|
+
isIsolated: boolean;
|
|
3107
|
+
spool: string;
|
|
3108
|
+
spoolReward: string;
|
|
3109
|
+
sCoinType: string;
|
|
3110
|
+
sCoinTreasury: string;
|
|
3111
|
+
sCoinMetadataId: string;
|
|
3112
|
+
sCoinSymbol: string;
|
|
3113
|
+
sCoinName: string;
|
|
3114
|
+
coinMetadataId: string;
|
|
3115
|
+
coinType: string;
|
|
3116
|
+
spoolName: string;
|
|
3117
|
+
decimals: number;
|
|
3118
|
+
pythFeed: string;
|
|
3119
|
+
pythFeedObjectId: string;
|
|
3120
|
+
flashloanFeeObject: string;
|
|
3121
|
+
};
|
|
3122
|
+
fud: {
|
|
3123
|
+
coinName: string;
|
|
3124
|
+
symbol: string;
|
|
3125
|
+
lendingPoolAddress: string;
|
|
3126
|
+
collateralPoolAddress: string;
|
|
3127
|
+
borrowDynamic: string;
|
|
3128
|
+
interestModel: string;
|
|
3129
|
+
borrowFeeKey: string;
|
|
3130
|
+
supplyLimitKey: string;
|
|
3131
|
+
borrowLimitKey: string;
|
|
3132
|
+
isolatedAssetKey: string;
|
|
3133
|
+
isIsolated: boolean;
|
|
3134
|
+
spool: string;
|
|
3135
|
+
spoolReward: string;
|
|
3136
|
+
sCoinType: string;
|
|
3137
|
+
sCoinTreasury: string;
|
|
3138
|
+
sCoinMetadataId: string;
|
|
3139
|
+
sCoinSymbol: string;
|
|
3140
|
+
sCoinName: string;
|
|
3141
|
+
coinMetadataId: string;
|
|
3142
|
+
coinType: string;
|
|
3143
|
+
spoolName: string;
|
|
3144
|
+
decimals: number;
|
|
3145
|
+
pythFeed: string;
|
|
3146
|
+
pythFeedObjectId: string;
|
|
3147
|
+
flashloanFeeObject: string;
|
|
3148
|
+
};
|
|
3149
|
+
deep: {
|
|
3150
|
+
coinName: string;
|
|
3151
|
+
symbol: string;
|
|
3152
|
+
lendingPoolAddress: string;
|
|
3153
|
+
collateralPoolAddress: string;
|
|
3154
|
+
borrowDynamic: string;
|
|
3155
|
+
interestModel: string;
|
|
3156
|
+
borrowFeeKey: string;
|
|
3157
|
+
supplyLimitKey: string;
|
|
3158
|
+
borrowLimitKey: string;
|
|
3159
|
+
isolatedAssetKey: string;
|
|
3160
|
+
isIsolated: boolean;
|
|
3161
|
+
spool: string;
|
|
3162
|
+
spoolReward: string;
|
|
3163
|
+
sCoinType: string;
|
|
3164
|
+
sCoinTreasury: string;
|
|
3165
|
+
sCoinMetadataId: string;
|
|
3166
|
+
sCoinSymbol: string;
|
|
3167
|
+
sCoinName: string;
|
|
3168
|
+
coinMetadataId: string;
|
|
3169
|
+
coinType: string;
|
|
3170
|
+
spoolName: string;
|
|
3171
|
+
decimals: number;
|
|
3172
|
+
pythFeed: string;
|
|
3173
|
+
pythFeedObjectId: string;
|
|
3174
|
+
flashloanFeeObject: string;
|
|
3175
|
+
};
|
|
3176
|
+
};
|
|
3004
3177
|
|
|
3005
3178
|
declare const UNLOCK_ROUND_DURATION: number;
|
|
3006
3179
|
declare const MAX_LOCK_ROUNDS: 1460;
|
|
@@ -3010,4 +3183,4 @@ declare const MIN_TOP_UP_AMOUNT: 1000000000;
|
|
|
3010
3183
|
|
|
3011
3184
|
declare const xOracleList: xOracleListType;
|
|
3012
3185
|
|
|
3013
|
-
export { API_BASE_URL, type AddressStringPath, type AddressesInterface, type AssetCoinIds, type AssetCoins, type BalanceSheet, type BaseScallopTxBlock, type BorrowDynamic, type BorrowFee, type BorrowIncentiveAccountKey, type BorrowIncentiveAccounts, type BorrowIncentiveAccountsQueryInterface, type BorrowIncentiveIds, type BorrowIncentiveNormalMethods, type BorrowIncentivePool, type BorrowIncentivePoolPoints, type BorrowIncentivePools, type BorrowIncentivePoolsQueryInterface, type BorrowIncentiveQuickMethods, type BorrowIncentiveRewardCoins, type BorrowIncentiveTxBlock, type CalculatedBorrowIncentivePoolPointData, type CalculatedMarketCollateralData, type CalculatedMarketPoolData, type CalculatedSpoolData, type CalculatedSpoolRewardPoolData, type CoinAmounts, type CoinPrices, type CoinWrappedType, type Coins, type CollateralStat, type CoreIds, type CoreNormalMethods, type CoreQuickMethods, type CoreTxBlock, DEFAULT_CACHE_OPTIONS, type GenerateBorrowIncentiveNormalMethod, type GenerateBorrowIncentiveQuickMethod, type GenerateCoreNormalMethod, type GenerateCoreQuickMethod, type GenerateLoyaltyProgramNormalMethod, type GenerateLoyaltyProgramQuickMethod, type GenerateSCoinNormalMethod, type GenerateSCoinQuickMethod, type GenerateSpoolNormalMethod, type GenerateSpoolQuickMethod, type GenerateVeScaNormalMethod, type GenerateVeScaQuickMethod, IS_VE_SCA_TEST, type InterestModel, type Lending, type Lendings, type
|
|
3186
|
+
export { API_BASE_URL, type AddressStringPath, type AddressesInterface, type AssetCoinIds, type AssetCoins, type BalanceSheet, type BaseScallopTxBlock, type BorrowDynamic, type BorrowFee, type BorrowIncentiveAccountKey, type BorrowIncentiveAccounts, type BorrowIncentiveAccountsQueryInterface, type BorrowIncentiveIds, type BorrowIncentiveNormalMethods, type BorrowIncentivePool, type BorrowIncentivePoolPoints, type BorrowIncentivePools, type BorrowIncentivePoolsQueryInterface, type BorrowIncentiveQuickMethods, type BorrowIncentiveRewardCoins, type BorrowIncentiveTxBlock, type CalculatedBorrowIncentivePoolPointData, type CalculatedMarketCollateralData, type CalculatedMarketPoolData, type CalculatedSpoolData, type CalculatedSpoolRewardPoolData, type CoinAmounts, type CoinPrices, type CoinWrappedType, type Coins, type CollateralStat, type CoreIds, type CoreNormalMethods, type CoreQuickMethods, type CoreTxBlock, DEFAULT_CACHE_OPTIONS, type GenerateBorrowIncentiveNormalMethod, type GenerateBorrowIncentiveQuickMethod, type GenerateCoreNormalMethod, type GenerateCoreQuickMethod, type GenerateLoyaltyProgramNormalMethod, type GenerateLoyaltyProgramQuickMethod, type GenerateSCoinNormalMethod, type GenerateSCoinQuickMethod, type GenerateSpoolNormalMethod, type GenerateSpoolQuickMethod, type GenerateVeScaNormalMethod, type GenerateVeScaQuickMethod, IS_VE_SCA_TEST, type InterestModel, type Lending, type Lendings, type LoyaltyProgramInfo, type LoyaltyProgramNormalMethods, type LoyaltyProgramQuickMethods, type LoyaltyProgramTxBlock, MAX_LOCK_DURATION, MAX_LOCK_ROUNDS, MIN_INITIAL_LOCK_AMOUNT, MIN_TOP_UP_AMOUNT, type Market, type MarketCoinAmounts, type MarketCoins, type MarketCollateral, type MarketCollaterals, type MarketPool, type MarketPools, type MarketQueryInterface, type NestedResult, OLD_BORROW_INCENTIVE_PROTOCOL_ID, type Obligation, type ObligationAccount, type ObligationAccounts, type ObligationBorrowIncentive, type ObligationBorrowIncentiveReward, type ObligationCollateral, type ObligationDebt, type ObligationQueryInterface, type OptionalKeys, type OriginBorrowIncentiveAccountData, type OriginBorrowIncentiveAccountPoolData, type OriginBorrowIncentivePoolData, type OriginBorrowIncentivePoolPointData, type OriginMarketCollateralData, type OriginMarketPoolData, type OriginSpoolData, type OriginSpoolRewardPoolData, POOL_ADDRESSES, type ParsedBorrowIncentiveAccountData, type ParsedBorrowIncentiveAccountPoolData, type ParsedBorrowIncentivePoolData, type ParsedBorrowIncentivePoolPointData, type ParsedMarketCollateralData, type ParsedMarketPoolData, type ParsedSpoolData, type ParsedSpoolRewardPoolData, type PoolAddress, type QuickMethodReturnType, RPC_PROVIDERS, type RiskModel, SCA_COIN_TYPE, type SCoinAmounts, type SCoinConverterTreasury, type SCoinIds, type SCoinTreasuryCaps, type SCoinTxBlock, type SCoins, SDK_API_BASE_URL, Scallop, ScallopAddress, ScallopBuilder, ScallopClient, ScallopConstants, ScallopIndexer, ScallopQuery, ScallopSuiKit, type ScallopTxBlock, ScallopUtils, type SelectCoinReturnType, type Spool, type SpoolData, type SpoolIds, type SpoolNormalMethods, type SpoolQuickMethods, type SpoolRewardPool, type SpoolTxBlock, type Spools, type StakeAccount, type StakeAccounts, type StakeMarketCoins, type StakePool, type StakePools, type StakeRewardCoins, type StakeRewardPool, type StakeRewardPools, type SuiBridgeCoins, type SuiBridgedCoinPackageIds, type SuiTxBlockWithBorrowIncentiveNormalMethods, type SuiTxBlockWithCoreNormalMethods, type SuiTxBlockWithLoyaltyProgramNormalMethods, type SuiTxBlockWithSCoin, type SuiTxBlockWithSCoinNormalMethods, type SuiTxBlockWithSpool, type SuiTxBlockWithSpoolNormalMethods, type SuiTxBlockWithVeScaNormalMethods, type SupportOracleType, TEST_ADDRESSES, type TotalValueLocked, UNLOCK_ROUND_DURATION, USE_TEST_ADDRESS, type VeScaLoyaltyProgramInfo, type VeScaNormalMethods, type VeScaQuickMethods, type VeScaTreasuryFields, type VeScaTreasuryInfo, type VeScaTxBlock, type Vesca, type VoloCoinIds, WHITELIST, type Whitelist, type WormholeCoinIds, _SUPPORT_ORACLES, queryKeys, type sCoinBalance, type sCoinNormalMethods, type sCoinPkgIds, type sCoinQuickMethods, xOracleList, type xOracleListType, type xOracleRuleType, type xOracleRules };
|
package/dist/index.d.ts
CHANGED
|
@@ -860,10 +860,16 @@ declare class ScallopQuery implements ScallopQueryInterface {
|
|
|
860
860
|
getBindedVeScaKey(obligationId: string): Promise<string | null>;
|
|
861
861
|
/**
|
|
862
862
|
* Get user's veSCA loyalty program informations
|
|
863
|
-
* @param
|
|
863
|
+
* @param veScaKey
|
|
864
864
|
* @returns Loyalty program information
|
|
865
865
|
*/
|
|
866
866
|
getLoyaltyProgramInfos(veScaKey?: string | SuiObjectData): Promise<LoyaltyProgramInfo | null>;
|
|
867
|
+
/**
|
|
868
|
+
* Get user's veSCA rewards informations from loyalty program
|
|
869
|
+
* @param veScaKey
|
|
870
|
+
* @returns Loyalty program information
|
|
871
|
+
*/
|
|
872
|
+
getVeScaLoyaltyProgramInfos(veScaKey?: string | SuiObjectData): Promise<VeScaLoyaltyProgramInfo | null>;
|
|
867
873
|
/**
|
|
868
874
|
* Get total supply of sCoin
|
|
869
875
|
* @param sCoinName - Supported sCoin name
|
|
@@ -1848,12 +1854,6 @@ type GenerateBorrowIncentiveQuickMethod = (params: {
|
|
|
1848
1854
|
txBlock: SuiTxBlockWithBorrowIncentiveNormalMethods;
|
|
1849
1855
|
}) => BorrowIncentiveQuickMethods;
|
|
1850
1856
|
|
|
1851
|
-
type VescaIds = {
|
|
1852
|
-
pkgId: string;
|
|
1853
|
-
table: string;
|
|
1854
|
-
treasury: string;
|
|
1855
|
-
config: string;
|
|
1856
|
-
};
|
|
1857
1857
|
type VeScaNormalMethods = {
|
|
1858
1858
|
lockSca: (scaCoin: SuiObjectArg, unlockAtInSecondTimestamp: number) => TransactionResult;
|
|
1859
1859
|
extendLockPeriod: (veScaKey: SuiObjectArg, newUnlockAtInSecondTimestamp: number) => void;
|
|
@@ -1861,8 +1861,10 @@ type VeScaNormalMethods = {
|
|
|
1861
1861
|
renewExpiredVeSca: (veScaKey: SuiObjectArg, scaCoin: SuiObjectArg, newUnlockAtInSecondTimestamp: number) => void;
|
|
1862
1862
|
redeemSca: (veScaKey: SuiObjectArg) => TransactionResult;
|
|
1863
1863
|
mintEmptyVeSca: () => TransactionResult;
|
|
1864
|
+
splitVeSca: (veScaKey: SuiObjectArg, splitAmount: string) => TransactionResult;
|
|
1865
|
+
mergeVeSca: (targetVeScaKey: SuiObjectArg, sourceVeScaKey: SuiObjectArg) => void;
|
|
1864
1866
|
};
|
|
1865
|
-
type
|
|
1867
|
+
type QuickMethodReturnType<T extends boolean> = T extends true ? void : TransactionResult | undefined;
|
|
1866
1868
|
type VeScaQuickMethods = {
|
|
1867
1869
|
/**
|
|
1868
1870
|
* Quick methods to automate
|
|
@@ -1884,7 +1886,9 @@ type VeScaQuickMethods = {
|
|
|
1884
1886
|
extendLockPeriodQuick: (lockPeriodInDays: number, veScaKey?: SuiObjectArg, autoCheck?: boolean) => Promise<void>;
|
|
1885
1887
|
extendLockAmountQuick: (scaAmount: number, veScaKey?: SuiObjectArg, autoCheck?: boolean) => Promise<void>;
|
|
1886
1888
|
renewExpiredVeScaQuick: (scaAmount: number, lockPeriodInDays: number, veScaKey?: SuiObjectArg, autoCheck?: boolean) => Promise<void>;
|
|
1887
|
-
redeemScaQuick: <T extends boolean>(
|
|
1889
|
+
redeemScaQuick: <T extends boolean>(veScaKey?: SuiObjectArg, transferSca?: T) => Promise<QuickMethodReturnType<T>>;
|
|
1890
|
+
splitVeScaQuick: <T extends boolean>(splitAmount: string, veScaKey: string, transferVeScaKey?: T) => Promise<QuickMethodReturnType<T>>;
|
|
1891
|
+
mergeVeScaQuick: (targetVeScaKey: string, sourceVeScaKey: string) => Promise<void>;
|
|
1888
1892
|
};
|
|
1889
1893
|
type SuiTxBlockWithVeScaNormalMethods = SuiTxBlock & VeScaNormalMethods;
|
|
1890
1894
|
type VeScaTxBlock = SuiTxBlockWithVeScaNormalMethods & VeScaQuickMethods;
|
|
@@ -1909,16 +1913,13 @@ type ReferralQuickMethods = {
|
|
|
1909
1913
|
type SuiTxBlockWithReferralNormalMethods = SuiTxBlock & ReferralNormalMethods;
|
|
1910
1914
|
type ReferralTxBlock = SuiTxBlockWithReferralNormalMethods & ReferralQuickMethods;
|
|
1911
1915
|
|
|
1912
|
-
type LoyaltyProgramIds = {
|
|
1913
|
-
loyaltyProgramPkgId: string;
|
|
1914
|
-
rewardPool: string;
|
|
1915
|
-
userRewardTableId: string;
|
|
1916
|
-
};
|
|
1917
1916
|
type LoyaltyProgramNormalMethods = {
|
|
1918
1917
|
claimLoyaltyRevenue: (veScaKey: SuiObjectArg) => TransactionResult$1;
|
|
1918
|
+
claimVeScaLoyaltyReward: (veScaKey: SuiObjectArg) => TransactionResult$1;
|
|
1919
1919
|
};
|
|
1920
1920
|
type LoyaltyProgramQuickMethods = {
|
|
1921
1921
|
claimLoyaltyRevenueQuick: (veScaKey?: SuiObjectArg) => Promise<void>;
|
|
1922
|
+
claimVeScaLoyaltyRewardQuick: (veScaKey?: SuiObjectArg) => Promise<void>;
|
|
1922
1923
|
};
|
|
1923
1924
|
type SuiTxBlockWithLoyaltyProgramNormalMethods = SuiTxBlock & LoyaltyProgramNormalMethods;
|
|
1924
1925
|
type LoyaltyProgramTxBlock = SuiTxBlockWithLoyaltyProgramNormalMethods & LoyaltyProgramQuickMethods;
|
|
@@ -2591,6 +2592,11 @@ type LoyaltyProgramInfo = {
|
|
|
2591
2592
|
totalPoolReward: number;
|
|
2592
2593
|
isClaimEnabled: boolean;
|
|
2593
2594
|
};
|
|
2595
|
+
type VeScaLoyaltyProgramInfo = {
|
|
2596
|
+
pendingVeScaReward: number;
|
|
2597
|
+
totalPoolReward: number;
|
|
2598
|
+
isClaimEnabled: boolean;
|
|
2599
|
+
};
|
|
2594
2600
|
|
|
2595
2601
|
type OptionalKeys$2<T> = {
|
|
2596
2602
|
[K in keyof T]?: T[K];
|
|
@@ -2959,6 +2965,9 @@ interface AddressesInterface {
|
|
|
2959
2965
|
table: string;
|
|
2960
2966
|
treasury: string;
|
|
2961
2967
|
config: string;
|
|
2968
|
+
subsTable: string;
|
|
2969
|
+
subsTableId: string;
|
|
2970
|
+
subsWhitelist: string;
|
|
2962
2971
|
};
|
|
2963
2972
|
referral: {
|
|
2964
2973
|
id: string;
|
|
@@ -2975,10 +2984,18 @@ interface AddressesInterface {
|
|
|
2975
2984
|
};
|
|
2976
2985
|
loyaltyProgram: {
|
|
2977
2986
|
id: string;
|
|
2987
|
+
adminCap?: string;
|
|
2978
2988
|
object: string;
|
|
2979
2989
|
rewardPool: string;
|
|
2980
2990
|
userRewardTableId: string;
|
|
2981
2991
|
};
|
|
2992
|
+
veScaLoyaltyProgram: {
|
|
2993
|
+
id: string;
|
|
2994
|
+
adminCap?: string;
|
|
2995
|
+
object: string;
|
|
2996
|
+
veScaRewardPool: string;
|
|
2997
|
+
veScaRewardTableId: string;
|
|
2998
|
+
};
|
|
2982
2999
|
scoin: {
|
|
2983
3000
|
id: string;
|
|
2984
3001
|
coins: Partial<Record<string, {
|
|
@@ -3001,6 +3018,162 @@ type OptionalKeys<T> = {
|
|
|
3001
3018
|
type CoinPrices = OptionalKeys<Record<string, number>>;
|
|
3002
3019
|
|
|
3003
3020
|
declare const TEST_ADDRESSES: AddressesInterface;
|
|
3021
|
+
declare const WHITELIST: {
|
|
3022
|
+
lending: Set<string>;
|
|
3023
|
+
collateral: Set<string>;
|
|
3024
|
+
borrowing: Set<string>;
|
|
3025
|
+
packages: Set<string>;
|
|
3026
|
+
spool: Set<string>;
|
|
3027
|
+
scoin: Set<string>;
|
|
3028
|
+
suiBridge: Set<string>;
|
|
3029
|
+
wormhole: Set<string>;
|
|
3030
|
+
oracles: Set<string>;
|
|
3031
|
+
pythEndpoints: Set<string>;
|
|
3032
|
+
deprecated: Set<string>;
|
|
3033
|
+
borrowIncentiveRewards: Set<string>;
|
|
3034
|
+
rewardsAsPoint: Set<string>;
|
|
3035
|
+
emerging: Set<string>;
|
|
3036
|
+
};
|
|
3037
|
+
declare const POOL_ADDRESSES: {
|
|
3038
|
+
usdc: {
|
|
3039
|
+
coinName: string;
|
|
3040
|
+
symbol: string;
|
|
3041
|
+
lendingPoolAddress: string;
|
|
3042
|
+
collateralPoolAddress: string;
|
|
3043
|
+
borrowDynamic: string;
|
|
3044
|
+
interestModel: string;
|
|
3045
|
+
riskModel: string;
|
|
3046
|
+
borrowFeeKey: string;
|
|
3047
|
+
supplyLimitKey: string;
|
|
3048
|
+
borrowLimitKey: string;
|
|
3049
|
+
isolatedAssetKey: string;
|
|
3050
|
+
isIsolated: boolean;
|
|
3051
|
+
spool: string;
|
|
3052
|
+
spoolReward: string;
|
|
3053
|
+
sCoinType: string;
|
|
3054
|
+
sCoinTreasury: string;
|
|
3055
|
+
sCoinMetadataId: string;
|
|
3056
|
+
sCoinSymbol: string;
|
|
3057
|
+
sCoinName: string;
|
|
3058
|
+
coinMetadataId: string;
|
|
3059
|
+
coinType: string;
|
|
3060
|
+
spoolName: string;
|
|
3061
|
+
decimals: number;
|
|
3062
|
+
pythFeed: string;
|
|
3063
|
+
pythFeedObjectId: string;
|
|
3064
|
+
flashloanFeeObject: string;
|
|
3065
|
+
};
|
|
3066
|
+
sui: {
|
|
3067
|
+
coinName: string;
|
|
3068
|
+
symbol: string;
|
|
3069
|
+
lendingPoolAddress: string;
|
|
3070
|
+
collateralPoolAddress: string;
|
|
3071
|
+
borrowDynamic: string;
|
|
3072
|
+
interestModel: string;
|
|
3073
|
+
riskModel: string;
|
|
3074
|
+
borrowFeeKey: string;
|
|
3075
|
+
supplyLimitKey: string;
|
|
3076
|
+
borrowLimitKey: string;
|
|
3077
|
+
isolatedAssetKey: string;
|
|
3078
|
+
isIsolated: boolean;
|
|
3079
|
+
spool: string;
|
|
3080
|
+
spoolReward: string;
|
|
3081
|
+
sCoinType: string;
|
|
3082
|
+
sCoinTreasury: string;
|
|
3083
|
+
sCoinMetadataId: string;
|
|
3084
|
+
sCoinSymbol: string;
|
|
3085
|
+
sCoinName: string;
|
|
3086
|
+
coinMetadataId: string;
|
|
3087
|
+
coinType: string;
|
|
3088
|
+
spoolName: string;
|
|
3089
|
+
decimals: number;
|
|
3090
|
+
pythFeed: string;
|
|
3091
|
+
pythFeedObjectId: string;
|
|
3092
|
+
flashloanFeeObject: string;
|
|
3093
|
+
};
|
|
3094
|
+
sca: {
|
|
3095
|
+
coinName: string;
|
|
3096
|
+
symbol: string;
|
|
3097
|
+
lendingPoolAddress: string;
|
|
3098
|
+
collateralPoolAddress: string;
|
|
3099
|
+
borrowDynamic: string;
|
|
3100
|
+
interestModel: string;
|
|
3101
|
+
riskModel: string;
|
|
3102
|
+
borrowFeeKey: string;
|
|
3103
|
+
supplyLimitKey: string;
|
|
3104
|
+
borrowLimitKey: string;
|
|
3105
|
+
isolatedAssetKey: string;
|
|
3106
|
+
isIsolated: boolean;
|
|
3107
|
+
spool: string;
|
|
3108
|
+
spoolReward: string;
|
|
3109
|
+
sCoinType: string;
|
|
3110
|
+
sCoinTreasury: string;
|
|
3111
|
+
sCoinMetadataId: string;
|
|
3112
|
+
sCoinSymbol: string;
|
|
3113
|
+
sCoinName: string;
|
|
3114
|
+
coinMetadataId: string;
|
|
3115
|
+
coinType: string;
|
|
3116
|
+
spoolName: string;
|
|
3117
|
+
decimals: number;
|
|
3118
|
+
pythFeed: string;
|
|
3119
|
+
pythFeedObjectId: string;
|
|
3120
|
+
flashloanFeeObject: string;
|
|
3121
|
+
};
|
|
3122
|
+
fud: {
|
|
3123
|
+
coinName: string;
|
|
3124
|
+
symbol: string;
|
|
3125
|
+
lendingPoolAddress: string;
|
|
3126
|
+
collateralPoolAddress: string;
|
|
3127
|
+
borrowDynamic: string;
|
|
3128
|
+
interestModel: string;
|
|
3129
|
+
borrowFeeKey: string;
|
|
3130
|
+
supplyLimitKey: string;
|
|
3131
|
+
borrowLimitKey: string;
|
|
3132
|
+
isolatedAssetKey: string;
|
|
3133
|
+
isIsolated: boolean;
|
|
3134
|
+
spool: string;
|
|
3135
|
+
spoolReward: string;
|
|
3136
|
+
sCoinType: string;
|
|
3137
|
+
sCoinTreasury: string;
|
|
3138
|
+
sCoinMetadataId: string;
|
|
3139
|
+
sCoinSymbol: string;
|
|
3140
|
+
sCoinName: string;
|
|
3141
|
+
coinMetadataId: string;
|
|
3142
|
+
coinType: string;
|
|
3143
|
+
spoolName: string;
|
|
3144
|
+
decimals: number;
|
|
3145
|
+
pythFeed: string;
|
|
3146
|
+
pythFeedObjectId: string;
|
|
3147
|
+
flashloanFeeObject: string;
|
|
3148
|
+
};
|
|
3149
|
+
deep: {
|
|
3150
|
+
coinName: string;
|
|
3151
|
+
symbol: string;
|
|
3152
|
+
lendingPoolAddress: string;
|
|
3153
|
+
collateralPoolAddress: string;
|
|
3154
|
+
borrowDynamic: string;
|
|
3155
|
+
interestModel: string;
|
|
3156
|
+
borrowFeeKey: string;
|
|
3157
|
+
supplyLimitKey: string;
|
|
3158
|
+
borrowLimitKey: string;
|
|
3159
|
+
isolatedAssetKey: string;
|
|
3160
|
+
isIsolated: boolean;
|
|
3161
|
+
spool: string;
|
|
3162
|
+
spoolReward: string;
|
|
3163
|
+
sCoinType: string;
|
|
3164
|
+
sCoinTreasury: string;
|
|
3165
|
+
sCoinMetadataId: string;
|
|
3166
|
+
sCoinSymbol: string;
|
|
3167
|
+
sCoinName: string;
|
|
3168
|
+
coinMetadataId: string;
|
|
3169
|
+
coinType: string;
|
|
3170
|
+
spoolName: string;
|
|
3171
|
+
decimals: number;
|
|
3172
|
+
pythFeed: string;
|
|
3173
|
+
pythFeedObjectId: string;
|
|
3174
|
+
flashloanFeeObject: string;
|
|
3175
|
+
};
|
|
3176
|
+
};
|
|
3004
3177
|
|
|
3005
3178
|
declare const UNLOCK_ROUND_DURATION: number;
|
|
3006
3179
|
declare const MAX_LOCK_ROUNDS: 1460;
|
|
@@ -3010,4 +3183,4 @@ declare const MIN_TOP_UP_AMOUNT: 1000000000;
|
|
|
3010
3183
|
|
|
3011
3184
|
declare const xOracleList: xOracleListType;
|
|
3012
3185
|
|
|
3013
|
-
export { API_BASE_URL, type AddressStringPath, type AddressesInterface, type AssetCoinIds, type AssetCoins, type BalanceSheet, type BaseScallopTxBlock, type BorrowDynamic, type BorrowFee, type BorrowIncentiveAccountKey, type BorrowIncentiveAccounts, type BorrowIncentiveAccountsQueryInterface, type BorrowIncentiveIds, type BorrowIncentiveNormalMethods, type BorrowIncentivePool, type BorrowIncentivePoolPoints, type BorrowIncentivePools, type BorrowIncentivePoolsQueryInterface, type BorrowIncentiveQuickMethods, type BorrowIncentiveRewardCoins, type BorrowIncentiveTxBlock, type CalculatedBorrowIncentivePoolPointData, type CalculatedMarketCollateralData, type CalculatedMarketPoolData, type CalculatedSpoolData, type CalculatedSpoolRewardPoolData, type CoinAmounts, type CoinPrices, type CoinWrappedType, type Coins, type CollateralStat, type CoreIds, type CoreNormalMethods, type CoreQuickMethods, type CoreTxBlock, DEFAULT_CACHE_OPTIONS, type GenerateBorrowIncentiveNormalMethod, type GenerateBorrowIncentiveQuickMethod, type GenerateCoreNormalMethod, type GenerateCoreQuickMethod, type GenerateLoyaltyProgramNormalMethod, type GenerateLoyaltyProgramQuickMethod, type GenerateSCoinNormalMethod, type GenerateSCoinQuickMethod, type GenerateSpoolNormalMethod, type GenerateSpoolQuickMethod, type GenerateVeScaNormalMethod, type GenerateVeScaQuickMethod, IS_VE_SCA_TEST, type InterestModel, type Lending, type Lendings, type
|
|
3186
|
+
export { API_BASE_URL, type AddressStringPath, type AddressesInterface, type AssetCoinIds, type AssetCoins, type BalanceSheet, type BaseScallopTxBlock, type BorrowDynamic, type BorrowFee, type BorrowIncentiveAccountKey, type BorrowIncentiveAccounts, type BorrowIncentiveAccountsQueryInterface, type BorrowIncentiveIds, type BorrowIncentiveNormalMethods, type BorrowIncentivePool, type BorrowIncentivePoolPoints, type BorrowIncentivePools, type BorrowIncentivePoolsQueryInterface, type BorrowIncentiveQuickMethods, type BorrowIncentiveRewardCoins, type BorrowIncentiveTxBlock, type CalculatedBorrowIncentivePoolPointData, type CalculatedMarketCollateralData, type CalculatedMarketPoolData, type CalculatedSpoolData, type CalculatedSpoolRewardPoolData, type CoinAmounts, type CoinPrices, type CoinWrappedType, type Coins, type CollateralStat, type CoreIds, type CoreNormalMethods, type CoreQuickMethods, type CoreTxBlock, DEFAULT_CACHE_OPTIONS, type GenerateBorrowIncentiveNormalMethod, type GenerateBorrowIncentiveQuickMethod, type GenerateCoreNormalMethod, type GenerateCoreQuickMethod, type GenerateLoyaltyProgramNormalMethod, type GenerateLoyaltyProgramQuickMethod, type GenerateSCoinNormalMethod, type GenerateSCoinQuickMethod, type GenerateSpoolNormalMethod, type GenerateSpoolQuickMethod, type GenerateVeScaNormalMethod, type GenerateVeScaQuickMethod, IS_VE_SCA_TEST, type InterestModel, type Lending, type Lendings, type LoyaltyProgramInfo, type LoyaltyProgramNormalMethods, type LoyaltyProgramQuickMethods, type LoyaltyProgramTxBlock, MAX_LOCK_DURATION, MAX_LOCK_ROUNDS, MIN_INITIAL_LOCK_AMOUNT, MIN_TOP_UP_AMOUNT, type Market, type MarketCoinAmounts, type MarketCoins, type MarketCollateral, type MarketCollaterals, type MarketPool, type MarketPools, type MarketQueryInterface, type NestedResult, OLD_BORROW_INCENTIVE_PROTOCOL_ID, type Obligation, type ObligationAccount, type ObligationAccounts, type ObligationBorrowIncentive, type ObligationBorrowIncentiveReward, type ObligationCollateral, type ObligationDebt, type ObligationQueryInterface, type OptionalKeys, type OriginBorrowIncentiveAccountData, type OriginBorrowIncentiveAccountPoolData, type OriginBorrowIncentivePoolData, type OriginBorrowIncentivePoolPointData, type OriginMarketCollateralData, type OriginMarketPoolData, type OriginSpoolData, type OriginSpoolRewardPoolData, POOL_ADDRESSES, type ParsedBorrowIncentiveAccountData, type ParsedBorrowIncentiveAccountPoolData, type ParsedBorrowIncentivePoolData, type ParsedBorrowIncentivePoolPointData, type ParsedMarketCollateralData, type ParsedMarketPoolData, type ParsedSpoolData, type ParsedSpoolRewardPoolData, type PoolAddress, type QuickMethodReturnType, RPC_PROVIDERS, type RiskModel, SCA_COIN_TYPE, type SCoinAmounts, type SCoinConverterTreasury, type SCoinIds, type SCoinTreasuryCaps, type SCoinTxBlock, type SCoins, SDK_API_BASE_URL, Scallop, ScallopAddress, ScallopBuilder, ScallopClient, ScallopConstants, ScallopIndexer, ScallopQuery, ScallopSuiKit, type ScallopTxBlock, ScallopUtils, type SelectCoinReturnType, type Spool, type SpoolData, type SpoolIds, type SpoolNormalMethods, type SpoolQuickMethods, type SpoolRewardPool, type SpoolTxBlock, type Spools, type StakeAccount, type StakeAccounts, type StakeMarketCoins, type StakePool, type StakePools, type StakeRewardCoins, type StakeRewardPool, type StakeRewardPools, type SuiBridgeCoins, type SuiBridgedCoinPackageIds, type SuiTxBlockWithBorrowIncentiveNormalMethods, type SuiTxBlockWithCoreNormalMethods, type SuiTxBlockWithLoyaltyProgramNormalMethods, type SuiTxBlockWithSCoin, type SuiTxBlockWithSCoinNormalMethods, type SuiTxBlockWithSpool, type SuiTxBlockWithSpoolNormalMethods, type SuiTxBlockWithVeScaNormalMethods, type SupportOracleType, TEST_ADDRESSES, type TotalValueLocked, UNLOCK_ROUND_DURATION, USE_TEST_ADDRESS, type VeScaLoyaltyProgramInfo, type VeScaNormalMethods, type VeScaQuickMethods, type VeScaTreasuryFields, type VeScaTreasuryInfo, type VeScaTxBlock, type Vesca, type VoloCoinIds, WHITELIST, type Whitelist, type WormholeCoinIds, _SUPPORT_ORACLES, queryKeys, type sCoinBalance, type sCoinNormalMethods, type sCoinPkgIds, type sCoinQuickMethods, xOracleList, type xOracleListType, type xOracleRuleType, type xOracleRules };
|