@scallop-io/sui-scallop-sdk 1.4.25 → 1.4.26

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scallop-io/sui-scallop-sdk",
3
- "version": "1.4.25",
3
+ "version": "1.4.26",
4
4
  "description": "Typescript sdk for interacting with Scallop contract on SUI",
5
5
  "keywords": [
6
6
  "sui",
@@ -30,4 +30,5 @@ export const COIN_GECKGO_IDS: Record<SupportPoolCoins, string> = {
30
30
  blub: 'blub',
31
31
  musd: 'meta-usd',
32
32
  ns: 'suins-token',
33
+ usdy: 'ondo-us-dollar-yield',
33
34
  };
@@ -52,6 +52,7 @@ export const SUPPORT_POOLS = [
52
52
  'blub',
53
53
  'musd',
54
54
  'ns',
55
+ 'usdy',
55
56
  ] as const;
56
57
 
57
58
  export const SUPPORT_COLLATERALS = [
@@ -72,6 +73,7 @@ export const SUPPORT_COLLATERALS = [
72
73
  'vsui',
73
74
  'sca',
74
75
  'fdusd',
76
+ 'usdy',
75
77
  ] as const;
76
78
 
77
79
  export const SUPPORT_SPOOLS = [
@@ -108,6 +110,7 @@ export const SUPPORT_SCOIN = [
108
110
  'sblub',
109
111
  'smusd',
110
112
  'sns',
113
+ 'susdy',
111
114
  ] as const;
112
115
 
113
116
  export const SUPPORT_SUI_BRIDGE = ['sbeth', 'sbusdt', 'sbwbtc'] as const;
@@ -24,6 +24,7 @@ export const coinDecimals: types.SupportCoinDecimals = {
24
24
  blub: 2,
25
25
  musd: 9,
26
26
  ns: 6,
27
+ usdy: 6,
27
28
  susdc: 6,
28
29
  sweth: 8,
29
30
  ssbeth: 8,
@@ -46,6 +47,7 @@ export const coinDecimals: types.SupportCoinDecimals = {
46
47
  sblub: 2,
47
48
  smusd: 9,
48
49
  sns: 6,
50
+ susdy: 6,
49
51
  };
50
52
 
51
53
  export const assetCoins: types.AssetCoins = {
@@ -71,6 +73,7 @@ export const assetCoins: types.AssetCoins = {
71
73
  blub: 'blub',
72
74
  musd: 'musd',
73
75
  ns: 'ns',
76
+ usdy: 'usdy',
74
77
  };
75
78
 
76
79
  export const marketCoins: types.MarketCoins = {
@@ -96,6 +99,7 @@ export const marketCoins: types.MarketCoins = {
96
99
  sblub: 'sblub',
97
100
  smusd: 'smusd',
98
101
  sns: 'sns',
102
+ susdy: 'susdy',
99
103
  };
100
104
 
101
105
  export const sCoins: types.SCoins = {
@@ -120,6 +124,7 @@ export const sCoins: types.SCoins = {
120
124
  sblub: 'sblub',
121
125
  smusd: 'smusd',
122
126
  sns: 'sns',
127
+ susdy: 'susdy',
123
128
  };
124
129
 
125
130
  export const stakeMarketCoins: types.StakeMarketCoins = {
@@ -174,6 +179,7 @@ export const coinIds: types.AssetCoinIds = {
174
179
  wusdc: '0x5d4b302506645c37ff133b98c4b50a5ae14841659738d6d733d59d0d217a93bf',
175
180
  wusdt: '0xc060006111016b8a020ad5b33834984a437aaa7d3c74c18e09a95d48aceab08c',
176
181
  fdusd: '0xf16e6b723f242ec745dfd7634ad072c42d5c1d9ac9d62a39c381303eaa57693a',
182
+ usdy: '0x960b531667636f39e85867775f52f6b1f220a058c4de786905bdf761e06a56bb',
177
183
  // isolated assets
178
184
  deep: '0xdeeb7a4662eec9f2f3def03fb937a663dddaa2e215b8078a284d026b7946c270',
179
185
  fud: '0x76cb819b01abed502bee8a702b4c2d547532c12f25001c9dea795a5e631c26f1',
@@ -229,6 +235,8 @@ export const sCoinIds: types.SCoinIds = {
229
235
  '0xe6e5a012ec20a49a3d1d57bd2b67140b96cd4d3400b9d79e541f7bdbab661f95::scallop_wormhole_usdt::SCALLOP_WORMHOLE_USDT',
230
236
  sfdusd:
231
237
  '0x6711551c1e7652a270d9fbf0eee25d99594c157cde3cb5fbb49035eb59b1b001::scallop_fdusd::SCALLOP_FDUSD',
238
+ susdy:
239
+ '0xd285cbbf54c87fd93cd15227547467bb3e405da8bbf2ab99f83f323f88ac9a65::scallop_usdy::SCALLOP_USDY',
232
240
  // isolated assets
233
241
  sdeep:
234
242
  '0xeb7a05a3224837c5e5503575aed0be73c091d1ce5e43aa3c3e716e0ae614608f::scallop_deep::SCALLOP_DEEP',
@@ -860,4 +860,41 @@ export const POOL_ADDRESSES: OptionalKeys<
860
860
  pythFeedObjectId:
861
861
  '0xc6352e1ea55d7b5acc3ed690cc3cdf8007978071d7bfd6a189445018cfb366e0',
862
862
  },
863
+ usdy: {
864
+ coinName: 'usdy',
865
+ symbol: 'USDY',
866
+ lendingPoolAddress:
867
+ '0xd7a8b75ffcd9f22a0108c95ae735b864e117a28d0bf6d596eb4ccd9d6213210d',
868
+ collateralPoolAddress:
869
+ '0x518a921e61aa11a0252bf70d5b2e378e886163a558e07b32424f3930ee0a464a',
870
+ borrowDynamic:
871
+ '0xaddf0b9b382f1ace39916383d24e91b5fd6ff49c5ae0c9400c173fd448e173c8',
872
+ interestModel:
873
+ '0x85781ba1b952743fbc7ba436e165721a189bd724d65cf4abb78b9fe924e6e2eb',
874
+ riskModel:
875
+ '0x96923670c98ec791fefd8074b87cd0087da60e4dbfca9423049fc805e703ec50',
876
+ borrowFeeKey:
877
+ '0x1904f3f2b76bbfa6ba6184cace93ee605691333a35525f1d6648a1509411e4d2',
878
+ supplyLimitKey:
879
+ '0x2f3a58bcf68426cc998b7a9782dccf87351c44efbe655b13a0ac753d6f34a034',
880
+ borrowLimitKey:
881
+ '0xe8ade192f71fbe30d2ed1d246241c370d2882ff78ad312a3382ca8e2c73c386d',
882
+ sCoinTreasury:
883
+ '0xc8c5339fb10d9ad96f235fb312bda54df351549a3302e7fa7fd5d1725481604f',
884
+ sCoinType:
885
+ '0xd285cbbf54c87fd93cd15227547467bb3e405da8bbf2ab99f83f323f88ac9a65::scallop_usdy::SCALLOP_USDY',
886
+ sCoinName: 'susdy',
887
+ sCoinSymbol: 'sUSDY',
888
+ coinMetadataId:
889
+ '0xd8dd6cf839e2367de6e6107da4b4361f44798dd6cf26d094058d94e4cee25e36',
890
+ coinType:
891
+ '0x960b531667636f39e85867775f52f6b1f220a058c4de786905bdf761e06a56bb::usdy::USDY',
892
+ sCoinMetadataId:
893
+ '0x098c4c77bd29ec803a11fa2b2d684577c6a09e75b77e0a7ab59b8b785fb492df',
894
+ decimals: 6,
895
+ pythFeed:
896
+ 'e3d1723999820435ebab53003a542ff26847720692af92523eea613a9a28d500',
897
+ pythFeedObjectId:
898
+ '0x773cb390165e227cbd5bd924edaeff7d33b1b78aac045c4903ed9be7e711741a',
899
+ },
863
900
  };
@@ -30,4 +30,5 @@ export const PYTH_FEED_IDS: Record<SupportPoolCoins, string> = {
30
30
  blub: '5fc11ffe4975b624be495be038da30e30bee2004d8ae6282b5364577ef4ca92c',
31
31
  musd: '2ee09cdb656959379b9262f89de5ff3d4dfed0dd34c072b3e22518496a65249c',
32
32
  ns: 'bb5ff26e47a3a6cc7ec2fce1db996c2a145300edc5acaabe43bf9ff7c5dd5d32',
33
+ usdy: 'e3d1723999820435ebab53003a542ff26847720692af92523eea613a9a28d500',
33
34
  };
@@ -348,6 +348,21 @@ export const TEST_ADDRESSES: AddressesInterface = {
348
348
  },
349
349
  },
350
350
  },
351
+ usdy: {
352
+ id: '0x960b531667636f39e85867775f52f6b1f220a058c4de786905bdf761e06a56bb',
353
+ metaData:
354
+ '0xd8dd6cf839e2367de6e6107da4b4361f44798dd6cf26d094058d94e4cee25e36',
355
+ treasury: '',
356
+ oracle: {
357
+ supra: '',
358
+ switchboard: '',
359
+ pyth: {
360
+ feed: 'e3d1723999820435ebab53003a542ff26847720692af92523eea613a9a28d500',
361
+ feedObject:
362
+ '0x773cb390165e227cbd5bd924edaeff7d33b1b78aac045c4903ed9be7e711741a',
363
+ },
364
+ },
365
+ },
351
366
  },
352
367
  oracles: {
353
368
  xOracle:
@@ -722,6 +737,14 @@ export const TEST_ADDRESSES: AddressesInterface = {
722
737
  metaData:
723
738
  '0x898320fe66409bdcf580e2a5764217aa51a6fb26890645efff7011b54117e6df',
724
739
  },
740
+ susdy: {
741
+ coinType:
742
+ '0xd285cbbf54c87fd93cd15227547467bb3e405da8bbf2ab99f83f323f88ac9a65::scallop_usdy::SCALLOP_USDY',
743
+ treasury:
744
+ '0xc8c5339fb10d9ad96f235fb312bda54df351549a3302e7fa7fd5d1725481604f',
745
+ metaData:
746
+ '0x098c4c77bd29ec803a11fa2b2d684577c6a09e75b77e0a7ab59b8b785fb492df',
747
+ },
725
748
  },
726
749
  },
727
750
  };