@emberai/onchain-actions-registry 3.0.0-beta.1 → 3.0.0-beta.2

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 CHANGED
@@ -1303,10 +1303,6 @@ declare const SupplyLiquidityResponseSchema: z.ZodObject<{
1303
1303
  address: string;
1304
1304
  }>;
1305
1305
  }, "strip", z.ZodTypeAny, {
1306
- poolIdentifier: {
1307
- chainId: string;
1308
- address: string;
1309
- };
1310
1306
  transactions: {
1311
1307
  chainId: string;
1312
1308
  value: string;
@@ -1314,11 +1310,11 @@ declare const SupplyLiquidityResponseSchema: z.ZodObject<{
1314
1310
  to: string;
1315
1311
  data: string;
1316
1312
  }[];
1317
- }, {
1318
1313
  poolIdentifier: {
1319
1314
  chainId: string;
1320
1315
  address: string;
1321
1316
  };
1317
+ }, {
1322
1318
  transactions: {
1323
1319
  chainId: string;
1324
1320
  value: string;
@@ -1326,6 +1322,10 @@ declare const SupplyLiquidityResponseSchema: z.ZodObject<{
1326
1322
  to: string;
1327
1323
  data: string;
1328
1324
  }[];
1325
+ poolIdentifier: {
1326
+ chainId: string;
1327
+ address: string;
1328
+ };
1329
1329
  }>;
1330
1330
  type SupplyLiquidityResponse = z.infer<typeof SupplyLiquidityResponseSchema>;
1331
1331
  declare const WithdrawLiquidityRequestSchema: z.ZodObject<{
@@ -1730,10 +1730,10 @@ declare const PositionSchema: z.ZodObject<{
1730
1730
  data: z.ZodOptional<z.ZodString>;
1731
1731
  }, "strip", z.ZodTypeAny, {
1732
1732
  chainId: string;
1733
+ marketAddress: string;
1733
1734
  key: string;
1734
1735
  contractKey: string;
1735
1736
  account: string;
1736
- marketAddress: string;
1737
1737
  collateralTokenAddress: string;
1738
1738
  sizeInUsd: string;
1739
1739
  sizeInTokens: string;
@@ -1754,10 +1754,10 @@ declare const PositionSchema: z.ZodObject<{
1754
1754
  isOpening?: boolean | undefined;
1755
1755
  }, {
1756
1756
  chainId: string;
1757
+ marketAddress: string;
1757
1758
  key: string;
1758
1759
  contractKey: string;
1759
1760
  account: string;
1760
- marketAddress: string;
1761
1761
  collateralTokenAddress: string;
1762
1762
  sizeInUsd: string;
1763
1763
  sizeInTokens: string;
@@ -1804,10 +1804,10 @@ declare const PositionsDataSchema: z.ZodArray<z.ZodObject<{
1804
1804
  data: z.ZodOptional<z.ZodString>;
1805
1805
  }, "strip", z.ZodTypeAny, {
1806
1806
  chainId: string;
1807
+ marketAddress: string;
1807
1808
  key: string;
1808
1809
  contractKey: string;
1809
1810
  account: string;
1810
- marketAddress: string;
1811
1811
  collateralTokenAddress: string;
1812
1812
  sizeInUsd: string;
1813
1813
  sizeInTokens: string;
@@ -1828,10 +1828,10 @@ declare const PositionsDataSchema: z.ZodArray<z.ZodObject<{
1828
1828
  isOpening?: boolean | undefined;
1829
1829
  }, {
1830
1830
  chainId: string;
1831
+ marketAddress: string;
1831
1832
  key: string;
1832
1833
  contractKey: string;
1833
1834
  account: string;
1834
- marketAddress: string;
1835
1835
  collateralTokenAddress: string;
1836
1836
  sizeInUsd: string;
1837
1837
  sizeInTokens: string;
@@ -1882,9 +1882,9 @@ declare const OrderSchema: z.ZodObject<{
1882
1882
  title: z.ZodOptional<z.ZodString>;
1883
1883
  }, "strip", z.ZodTypeAny, {
1884
1884
  chainId: string;
1885
+ marketAddress: string;
1885
1886
  key: string;
1886
1887
  account: string;
1887
- marketAddress: string;
1888
1888
  positionSide: "long" | "short";
1889
1889
  callbackContract: string;
1890
1890
  initialCollateralTokenAddress: string;
@@ -1909,9 +1909,9 @@ declare const OrderSchema: z.ZodObject<{
1909
1909
  title?: string | undefined;
1910
1910
  }, {
1911
1911
  chainId: string;
1912
+ marketAddress: string;
1912
1913
  key: string;
1913
1914
  account: string;
1914
- marketAddress: string;
1915
1915
  positionSide: "long" | "short";
1916
1916
  callbackContract: string;
1917
1917
  initialCollateralTokenAddress: string;
@@ -1965,9 +1965,9 @@ declare const OrdersDataSchema: z.ZodArray<z.ZodObject<{
1965
1965
  title: z.ZodOptional<z.ZodString>;
1966
1966
  }, "strip", z.ZodTypeAny, {
1967
1967
  chainId: string;
1968
+ marketAddress: string;
1968
1969
  key: string;
1969
1970
  account: string;
1970
- marketAddress: string;
1971
1971
  positionSide: "long" | "short";
1972
1972
  callbackContract: string;
1973
1973
  initialCollateralTokenAddress: string;
@@ -1992,9 +1992,9 @@ declare const OrdersDataSchema: z.ZodArray<z.ZodObject<{
1992
1992
  title?: string | undefined;
1993
1993
  }, {
1994
1994
  chainId: string;
1995
+ marketAddress: string;
1995
1996
  key: string;
1996
1997
  account: string;
1997
- marketAddress: string;
1998
1998
  positionSide: "long" | "short";
1999
1999
  callbackContract: string;
2000
2000
  initialCollateralTokenAddress: string;
@@ -2029,21 +2029,21 @@ declare const CreatePerpetualsPositionRequestSchema: z.ZodObject<{
2029
2029
  limitPrice: z.ZodOptional<z.ZodString>;
2030
2030
  leverage: z.ZodString;
2031
2031
  }, "strip", z.ZodTypeAny, {
2032
- chainId: string;
2033
2032
  walletAddress: string;
2033
+ chainId: string;
2034
+ amount: bigint;
2034
2035
  marketAddress: string;
2035
2036
  collateralTokenAddress: string;
2036
- amount: bigint;
2037
2037
  payTokenAddress: string;
2038
2038
  leverage: string;
2039
2039
  referralCode?: string | undefined;
2040
2040
  limitPrice?: string | undefined;
2041
2041
  }, {
2042
- chainId: string;
2043
2042
  walletAddress: string;
2043
+ chainId: string;
2044
+ amount: bigint;
2044
2045
  marketAddress: string;
2045
2046
  collateralTokenAddress: string;
2046
- amount: bigint;
2047
2047
  payTokenAddress: string;
2048
2048
  leverage: string;
2049
2049
  referralCode?: string | undefined;
@@ -2123,10 +2123,10 @@ declare const GetPerpetualsMarketsPositionsResponseSchema: z.ZodObject<{
2123
2123
  data: z.ZodOptional<z.ZodString>;
2124
2124
  }, "strip", z.ZodTypeAny, {
2125
2125
  chainId: string;
2126
+ marketAddress: string;
2126
2127
  key: string;
2127
2128
  contractKey: string;
2128
2129
  account: string;
2129
- marketAddress: string;
2130
2130
  collateralTokenAddress: string;
2131
2131
  sizeInUsd: string;
2132
2132
  sizeInTokens: string;
@@ -2147,10 +2147,10 @@ declare const GetPerpetualsMarketsPositionsResponseSchema: z.ZodObject<{
2147
2147
  isOpening?: boolean | undefined;
2148
2148
  }, {
2149
2149
  chainId: string;
2150
+ marketAddress: string;
2150
2151
  key: string;
2151
2152
  contractKey: string;
2152
2153
  account: string;
2153
- marketAddress: string;
2154
2154
  collateralTokenAddress: string;
2155
2155
  sizeInUsd: string;
2156
2156
  sizeInTokens: string;
@@ -2173,10 +2173,10 @@ declare const GetPerpetualsMarketsPositionsResponseSchema: z.ZodObject<{
2173
2173
  }, "strip", z.ZodTypeAny, {
2174
2174
  positions: {
2175
2175
  chainId: string;
2176
+ marketAddress: string;
2176
2177
  key: string;
2177
2178
  contractKey: string;
2178
2179
  account: string;
2179
- marketAddress: string;
2180
2180
  collateralTokenAddress: string;
2181
2181
  sizeInUsd: string;
2182
2182
  sizeInTokens: string;
@@ -2199,10 +2199,10 @@ declare const GetPerpetualsMarketsPositionsResponseSchema: z.ZodObject<{
2199
2199
  }, {
2200
2200
  positions: {
2201
2201
  chainId: string;
2202
+ marketAddress: string;
2202
2203
  key: string;
2203
2204
  contractKey: string;
2204
2205
  account: string;
2205
- marketAddress: string;
2206
2206
  collateralTokenAddress: string;
2207
2207
  sizeInUsd: string;
2208
2208
  sizeInTokens: string;
@@ -2262,9 +2262,9 @@ declare const GetPerpetualsMarketsOrdersResponseSchema: z.ZodObject<{
2262
2262
  title: z.ZodOptional<z.ZodString>;
2263
2263
  }, "strip", z.ZodTypeAny, {
2264
2264
  chainId: string;
2265
+ marketAddress: string;
2265
2266
  key: string;
2266
2267
  account: string;
2267
- marketAddress: string;
2268
2268
  positionSide: "long" | "short";
2269
2269
  callbackContract: string;
2270
2270
  initialCollateralTokenAddress: string;
@@ -2289,9 +2289,9 @@ declare const GetPerpetualsMarketsOrdersResponseSchema: z.ZodObject<{
2289
2289
  title?: string | undefined;
2290
2290
  }, {
2291
2291
  chainId: string;
2292
+ marketAddress: string;
2292
2293
  key: string;
2293
2294
  account: string;
2294
- marketAddress: string;
2295
2295
  positionSide: "long" | "short";
2296
2296
  callbackContract: string;
2297
2297
  initialCollateralTokenAddress: string;
@@ -2318,9 +2318,9 @@ declare const GetPerpetualsMarketsOrdersResponseSchema: z.ZodObject<{
2318
2318
  }, "strip", z.ZodTypeAny, {
2319
2319
  orders: {
2320
2320
  chainId: string;
2321
+ marketAddress: string;
2321
2322
  key: string;
2322
2323
  account: string;
2323
- marketAddress: string;
2324
2324
  positionSide: "long" | "short";
2325
2325
  callbackContract: string;
2326
2326
  initialCollateralTokenAddress: string;
@@ -2347,9 +2347,9 @@ declare const GetPerpetualsMarketsOrdersResponseSchema: z.ZodObject<{
2347
2347
  }, {
2348
2348
  orders: {
2349
2349
  chainId: string;
2350
+ marketAddress: string;
2350
2351
  key: string;
2351
2352
  account: string;
2352
- marketAddress: string;
2353
2353
  positionSide: "long" | "short";
2354
2354
  callbackContract: string;
2355
2355
  initialCollateralTokenAddress: string;
@@ -2795,8 +2795,8 @@ declare const SwapTokensRequestSchema: z.ZodObject<{
2795
2795
  iconUri?: string | null | undefined;
2796
2796
  };
2797
2797
  recipient: string;
2798
- expiration?: string | undefined;
2799
2798
  limitPrice?: string | undefined;
2799
+ expiration?: string | undefined;
2800
2800
  slippageTolerance?: string | undefined;
2801
2801
  }, {
2802
2802
  amount: bigint;
@@ -2825,8 +2825,8 @@ declare const SwapTokensRequestSchema: z.ZodObject<{
2825
2825
  iconUri?: string | null | undefined;
2826
2826
  };
2827
2827
  recipient: string;
2828
- expiration?: string | undefined;
2829
2828
  limitPrice?: string | undefined;
2829
+ expiration?: string | undefined;
2830
2830
  slippageTolerance?: string | undefined;
2831
2831
  }>;
2832
2832
  type SwapTokensRequest = z.infer<typeof SwapTokensRequestSchema>;
@@ -3093,72 +3093,6 @@ type SwapActionCallback = (request: SwapTokensRequest) => Promise<SwapTokensResp
3093
3093
  */
3094
3094
  type SwapActions = 'swap';
3095
3095
  //#endregion
3096
- //#region src/core/actions/types.d.ts
3097
- /**
3098
- * The possible actions an ember plugin can perform.
3099
- */
3100
- type Action = LendingActions | LiquidityActions | SwapActions | PerpetualsActions;
3101
- /**
3102
- * Type mapping for action callbacks.
3103
- */
3104
- type CallbacksRecord = {
3105
- swap: SwapActionCallback;
3106
- 'lending-borrow': LendingBorrowCallback;
3107
- 'lending-repay': LendingRepayTokensCallback;
3108
- 'lending-supply': LendingSupplyCallback;
3109
- 'lending-withdraw': LendingWithdrawCallback;
3110
- 'liquidity-supply': LiquiditySupplyCallback;
3111
- 'liquidity-withdraw': LiquidityWithdrawCallback;
3112
- 'perpetuals-short': PerpetualsCreateShortPositionCallback;
3113
- 'perpetuals-long': PerpetualsCreateLongPositionCallback;
3114
- 'perpetuals-close': PerpetualsCloseOrdersCallback;
3115
- };
3116
- /**
3117
- * Type mapping for action callbacks.
3118
- */
3119
- type ActionCallback<T extends keyof CallbacksRecord> = CallbacksRecord[T];
3120
- /**
3121
- * Represents a grouping of tokens associated with a specific chain.
3122
- */
3123
- interface TokenSet {
3124
- /**
3125
- * The chain id to which the tokens belong.
3126
- */
3127
- chainId: string;
3128
- /**
3129
- * The set of tokens addresses associated with the chain.
3130
- */
3131
- tokens: string[];
3132
- }
3133
- /**
3134
- * Definition of an action that can be performed by the Ember plugin.
3135
- */
3136
- interface ActionDefinition<T extends Action> {
3137
- /**
3138
- * The name for the action, should be unique across all actions in the plugin.
3139
- */
3140
- name: string;
3141
- /**
3142
- * The action type
3143
- */
3144
- type: T;
3145
- /**
3146
- * The callback function to execute when the action is triggered.
3147
- */
3148
- callback: ActionCallback<T>;
3149
- /**
3150
- * This function returns the possible input tokens for the action in all chains.
3151
- * @returns The list of token sets that can be used as input for the action.
3152
- */
3153
- inputTokens: () => Promise<TokenSet[]>;
3154
- /**
3155
- * This function returns the possible output tokens for the action in all chains.
3156
- * If not provided, all input input token sets will be considered possible output sets.
3157
- * @returns The list of tokens that can be used as output for the action.
3158
- */
3159
- outputTokens?: () => Promise<TokenSet[]>;
3160
- }
3161
- //#endregion
3162
3096
  //#region src/core/schemas/tokenizedYield.d.ts
3163
3097
  declare const MintPtAndYtRequestSchema: z.ZodObject<{
3164
3098
  walletAddress: z.ZodString;
@@ -3207,8 +3141,6 @@ declare const MintPtAndYtRequestSchema: z.ZodObject<{
3207
3141
  marketAddress: z.ZodString;
3208
3142
  }, "strip", z.ZodTypeAny, {
3209
3143
  walletAddress: string;
3210
- marketAddress: string;
3211
- amount: bigint;
3212
3144
  slippage: string;
3213
3145
  inputToken: {
3214
3146
  symbol: string;
@@ -3222,10 +3154,10 @@ declare const MintPtAndYtRequestSchema: z.ZodObject<{
3222
3154
  isVetted: boolean;
3223
3155
  iconUri?: string | null | undefined;
3224
3156
  };
3157
+ amount: bigint;
3158
+ marketAddress: string;
3225
3159
  }, {
3226
3160
  walletAddress: string;
3227
- marketAddress: string;
3228
- amount: bigint;
3229
3161
  inputToken: {
3230
3162
  symbol: string;
3231
3163
  tokenUid: {
@@ -3238,6 +3170,8 @@ declare const MintPtAndYtRequestSchema: z.ZodObject<{
3238
3170
  isVetted: boolean;
3239
3171
  iconUri?: string | null | undefined;
3240
3172
  };
3173
+ amount: bigint;
3174
+ marketAddress: string;
3241
3175
  slippage?: string | undefined;
3242
3176
  }>;
3243
3177
  type MintPtAndYtRequest = z.infer<typeof MintPtAndYtRequestSchema>;
@@ -3286,13 +3220,6 @@ declare const MintPtAndYtResponseSchema: z.ZodObject<{
3286
3220
  data: string;
3287
3221
  }>, "many">;
3288
3222
  }, "strip", z.ZodTypeAny, {
3289
- transactions: {
3290
- chainId: string;
3291
- value: string;
3292
- type: string;
3293
- to: string;
3294
- data: string;
3295
- }[];
3296
3223
  exactPtAmount: string;
3297
3224
  displayPtAmount: string;
3298
3225
  ptTokenIdentifier: {
@@ -3305,7 +3232,6 @@ declare const MintPtAndYtResponseSchema: z.ZodObject<{
3305
3232
  chainId: string;
3306
3233
  address: string;
3307
3234
  };
3308
- }, {
3309
3235
  transactions: {
3310
3236
  chainId: string;
3311
3237
  value: string;
@@ -3313,6 +3239,7 @@ declare const MintPtAndYtResponseSchema: z.ZodObject<{
3313
3239
  to: string;
3314
3240
  data: string;
3315
3241
  }[];
3242
+ }, {
3316
3243
  exactPtAmount: string;
3317
3244
  displayPtAmount: string;
3318
3245
  ptTokenIdentifier: {
@@ -3325,6 +3252,13 @@ declare const MintPtAndYtResponseSchema: z.ZodObject<{
3325
3252
  chainId: string;
3326
3253
  address: string;
3327
3254
  };
3255
+ transactions: {
3256
+ chainId: string;
3257
+ value: string;
3258
+ type: string;
3259
+ to: string;
3260
+ data: string;
3261
+ }[];
3328
3262
  }>;
3329
3263
  type MintPtAndYtResponse = z.infer<typeof MintPtAndYtResponseSchema>;
3330
3264
  declare const BuyPtRequestSchema: z.ZodObject<{
@@ -3374,8 +3308,6 @@ declare const BuyPtRequestSchema: z.ZodObject<{
3374
3308
  marketAddress: z.ZodString;
3375
3309
  }, "strip", z.ZodTypeAny, {
3376
3310
  walletAddress: string;
3377
- marketAddress: string;
3378
- amount: bigint;
3379
3311
  slippage: string;
3380
3312
  inputToken: {
3381
3313
  symbol: string;
@@ -3389,10 +3321,10 @@ declare const BuyPtRequestSchema: z.ZodObject<{
3389
3321
  isVetted: boolean;
3390
3322
  iconUri?: string | null | undefined;
3391
3323
  };
3324
+ amount: bigint;
3325
+ marketAddress: string;
3392
3326
  }, {
3393
3327
  walletAddress: string;
3394
- marketAddress: string;
3395
- amount: bigint;
3396
3328
  inputToken: {
3397
3329
  symbol: string;
3398
3330
  tokenUid: {
@@ -3405,6 +3337,8 @@ declare const BuyPtRequestSchema: z.ZodObject<{
3405
3337
  isVetted: boolean;
3406
3338
  iconUri?: string | null | undefined;
3407
3339
  };
3340
+ amount: bigint;
3341
+ marketAddress: string;
3408
3342
  slippage?: string | undefined;
3409
3343
  }>;
3410
3344
  type BuyPtRequest = z.infer<typeof BuyPtRequestSchema>;
@@ -3441,6 +3375,12 @@ declare const BuyPtResponseSchema: z.ZodObject<{
3441
3375
  data: string;
3442
3376
  }>, "many">;
3443
3377
  }, "strip", z.ZodTypeAny, {
3378
+ exactPtAmount: string;
3379
+ displayPtAmount: string;
3380
+ ptTokenIdentifier: {
3381
+ chainId: string;
3382
+ address: string;
3383
+ };
3444
3384
  transactions: {
3445
3385
  chainId: string;
3446
3386
  value: string;
@@ -3448,13 +3388,13 @@ declare const BuyPtResponseSchema: z.ZodObject<{
3448
3388
  to: string;
3449
3389
  data: string;
3450
3390
  }[];
3391
+ }, {
3451
3392
  exactPtAmount: string;
3452
3393
  displayPtAmount: string;
3453
3394
  ptTokenIdentifier: {
3454
3395
  chainId: string;
3455
3396
  address: string;
3456
3397
  };
3457
- }, {
3458
3398
  transactions: {
3459
3399
  chainId: string;
3460
3400
  value: string;
@@ -3462,12 +3402,6 @@ declare const BuyPtResponseSchema: z.ZodObject<{
3462
3402
  to: string;
3463
3403
  data: string;
3464
3404
  }[];
3465
- exactPtAmount: string;
3466
- displayPtAmount: string;
3467
- ptTokenIdentifier: {
3468
- chainId: string;
3469
- address: string;
3470
- };
3471
3405
  }>;
3472
3406
  type BuyPtResponse = z.infer<typeof BuyPtResponseSchema>;
3473
3407
  declare const BuyYtRequestSchema: z.ZodObject<{
@@ -3517,8 +3451,6 @@ declare const BuyYtRequestSchema: z.ZodObject<{
3517
3451
  marketAddress: z.ZodString;
3518
3452
  }, "strip", z.ZodTypeAny, {
3519
3453
  walletAddress: string;
3520
- marketAddress: string;
3521
- amount: bigint;
3522
3454
  slippage: string;
3523
3455
  inputToken: {
3524
3456
  symbol: string;
@@ -3532,10 +3464,10 @@ declare const BuyYtRequestSchema: z.ZodObject<{
3532
3464
  isVetted: boolean;
3533
3465
  iconUri?: string | null | undefined;
3534
3466
  };
3467
+ amount: bigint;
3468
+ marketAddress: string;
3535
3469
  }, {
3536
3470
  walletAddress: string;
3537
- marketAddress: string;
3538
- amount: bigint;
3539
3471
  inputToken: {
3540
3472
  symbol: string;
3541
3473
  tokenUid: {
@@ -3548,6 +3480,8 @@ declare const BuyYtRequestSchema: z.ZodObject<{
3548
3480
  isVetted: boolean;
3549
3481
  iconUri?: string | null | undefined;
3550
3482
  };
3483
+ amount: bigint;
3484
+ marketAddress: string;
3551
3485
  slippage?: string | undefined;
3552
3486
  }>;
3553
3487
  type BuyYtRequest = z.infer<typeof BuyYtRequestSchema>;
@@ -3584,6 +3518,12 @@ declare const BuyYtResponseSchema: z.ZodObject<{
3584
3518
  data: string;
3585
3519
  }>, "many">;
3586
3520
  }, "strip", z.ZodTypeAny, {
3521
+ exactYtAmount: string;
3522
+ displayYtAmount: string;
3523
+ ytTokenIdentifier: {
3524
+ chainId: string;
3525
+ address: string;
3526
+ };
3587
3527
  transactions: {
3588
3528
  chainId: string;
3589
3529
  value: string;
@@ -3591,13 +3531,13 @@ declare const BuyYtResponseSchema: z.ZodObject<{
3591
3531
  to: string;
3592
3532
  data: string;
3593
3533
  }[];
3534
+ }, {
3594
3535
  exactYtAmount: string;
3595
3536
  displayYtAmount: string;
3596
3537
  ytTokenIdentifier: {
3597
3538
  chainId: string;
3598
3539
  address: string;
3599
3540
  };
3600
- }, {
3601
3541
  transactions: {
3602
3542
  chainId: string;
3603
3543
  value: string;
@@ -3605,12 +3545,6 @@ declare const BuyYtResponseSchema: z.ZodObject<{
3605
3545
  to: string;
3606
3546
  data: string;
3607
3547
  }[];
3608
- exactYtAmount: string;
3609
- displayYtAmount: string;
3610
- ytTokenIdentifier: {
3611
- chainId: string;
3612
- address: string;
3613
- };
3614
3548
  }>;
3615
3549
  type BuyYtResponse = z.infer<typeof BuyYtResponseSchema>;
3616
3550
  declare const SellPtRequestSchema: z.ZodObject<{
@@ -3659,8 +3593,8 @@ declare const SellPtRequestSchema: z.ZodObject<{
3659
3593
  amount: z.ZodBigInt;
3660
3594
  }, "strip", z.ZodTypeAny, {
3661
3595
  walletAddress: string;
3662
- amount: bigint;
3663
3596
  slippage: string;
3597
+ amount: bigint;
3664
3598
  ptToken: {
3665
3599
  symbol: string;
3666
3600
  tokenUid: {
@@ -3691,6 +3625,114 @@ declare const SellPtRequestSchema: z.ZodObject<{
3691
3625
  slippage?: string | undefined;
3692
3626
  }>;
3693
3627
  type SellPtRequest = z.infer<typeof SellPtRequestSchema>;
3628
+ declare const SellPtResponseSchema: z.ZodObject<{
3629
+ tokenOut: z.ZodObject<{
3630
+ tokenUid: z.ZodObject<{
3631
+ chainId: z.ZodString;
3632
+ address: z.ZodString;
3633
+ }, "strip", z.ZodTypeAny, {
3634
+ chainId: string;
3635
+ address: string;
3636
+ }, {
3637
+ chainId: string;
3638
+ address: string;
3639
+ }>;
3640
+ name: z.ZodString;
3641
+ symbol: z.ZodString;
3642
+ isNative: z.ZodBoolean;
3643
+ decimals: z.ZodNumber;
3644
+ iconUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3645
+ isVetted: z.ZodBoolean;
3646
+ }, "strip", z.ZodTypeAny, {
3647
+ symbol: string;
3648
+ tokenUid: {
3649
+ chainId: string;
3650
+ address: string;
3651
+ };
3652
+ name: string;
3653
+ isNative: boolean;
3654
+ decimals: number;
3655
+ isVetted: boolean;
3656
+ iconUri?: string | null | undefined;
3657
+ }, {
3658
+ symbol: string;
3659
+ tokenUid: {
3660
+ chainId: string;
3661
+ address: string;
3662
+ };
3663
+ name: string;
3664
+ isNative: boolean;
3665
+ decimals: number;
3666
+ isVetted: boolean;
3667
+ iconUri?: string | null | undefined;
3668
+ }>;
3669
+ exactAmountOut: z.ZodString;
3670
+ displayAmountOut: z.ZodString;
3671
+ transactions: z.ZodArray<z.ZodObject<{
3672
+ type: z.ZodEnum<[string, ...string[]]>;
3673
+ to: z.ZodString;
3674
+ data: z.ZodString;
3675
+ value: z.ZodString;
3676
+ chainId: z.ZodString;
3677
+ }, "strip", z.ZodTypeAny, {
3678
+ chainId: string;
3679
+ value: string;
3680
+ type: string;
3681
+ to: string;
3682
+ data: string;
3683
+ }, {
3684
+ chainId: string;
3685
+ value: string;
3686
+ type: string;
3687
+ to: string;
3688
+ data: string;
3689
+ }>, "many">;
3690
+ }, "strip", z.ZodTypeAny, {
3691
+ transactions: {
3692
+ chainId: string;
3693
+ value: string;
3694
+ type: string;
3695
+ to: string;
3696
+ data: string;
3697
+ }[];
3698
+ tokenOut: {
3699
+ symbol: string;
3700
+ tokenUid: {
3701
+ chainId: string;
3702
+ address: string;
3703
+ };
3704
+ name: string;
3705
+ isNative: boolean;
3706
+ decimals: number;
3707
+ isVetted: boolean;
3708
+ iconUri?: string | null | undefined;
3709
+ };
3710
+ exactAmountOut: string;
3711
+ displayAmountOut: string;
3712
+ }, {
3713
+ transactions: {
3714
+ chainId: string;
3715
+ value: string;
3716
+ type: string;
3717
+ to: string;
3718
+ data: string;
3719
+ }[];
3720
+ tokenOut: {
3721
+ symbol: string;
3722
+ tokenUid: {
3723
+ chainId: string;
3724
+ address: string;
3725
+ };
3726
+ name: string;
3727
+ isNative: boolean;
3728
+ decimals: number;
3729
+ isVetted: boolean;
3730
+ iconUri?: string | null | undefined;
3731
+ };
3732
+ exactAmountOut: string;
3733
+ displayAmountOut: string;
3734
+ }>;
3735
+ type SellPtResponse = z.infer<typeof SellPtResponseSchema>;
3694
3736
  declare const SellYtRequestSchema: z.ZodObject<{
3695
3737
  walletAddress: z.ZodString;
3696
3738
  slippage: z.ZodDefault<z.ZodString>;
@@ -3737,8 +3779,8 @@ declare const SellYtRequestSchema: z.ZodObject<{
3737
3779
  amount: z.ZodBigInt;
3738
3780
  }, "strip", z.ZodTypeAny, {
3739
3781
  walletAddress: string;
3740
- amount: bigint;
3741
3782
  slippage: string;
3783
+ amount: bigint;
3742
3784
  ytToken: {
3743
3785
  symbol: string;
3744
3786
  tokenUid: {
@@ -3769,6 +3811,114 @@ declare const SellYtRequestSchema: z.ZodObject<{
3769
3811
  slippage?: string | undefined;
3770
3812
  }>;
3771
3813
  type SellYtRequest = z.infer<typeof SellYtRequestSchema>;
3814
+ declare const SellYtResponseSchema: z.ZodObject<{
3815
+ tokenOut: z.ZodObject<{
3816
+ tokenUid: z.ZodObject<{
3817
+ chainId: z.ZodString;
3818
+ address: z.ZodString;
3819
+ }, "strip", z.ZodTypeAny, {
3820
+ chainId: string;
3821
+ address: string;
3822
+ }, {
3823
+ chainId: string;
3824
+ address: string;
3825
+ }>;
3826
+ name: z.ZodString;
3827
+ symbol: z.ZodString;
3828
+ isNative: z.ZodBoolean;
3829
+ decimals: z.ZodNumber;
3830
+ iconUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3831
+ isVetted: z.ZodBoolean;
3832
+ }, "strip", z.ZodTypeAny, {
3833
+ symbol: string;
3834
+ tokenUid: {
3835
+ chainId: string;
3836
+ address: string;
3837
+ };
3838
+ name: string;
3839
+ isNative: boolean;
3840
+ decimals: number;
3841
+ isVetted: boolean;
3842
+ iconUri?: string | null | undefined;
3843
+ }, {
3844
+ symbol: string;
3845
+ tokenUid: {
3846
+ chainId: string;
3847
+ address: string;
3848
+ };
3849
+ name: string;
3850
+ isNative: boolean;
3851
+ decimals: number;
3852
+ isVetted: boolean;
3853
+ iconUri?: string | null | undefined;
3854
+ }>;
3855
+ exactAmountOut: z.ZodString;
3856
+ displayAmountOut: z.ZodString;
3857
+ transactions: z.ZodArray<z.ZodObject<{
3858
+ type: z.ZodEnum<[string, ...string[]]>;
3859
+ to: z.ZodString;
3860
+ data: z.ZodString;
3861
+ value: z.ZodString;
3862
+ chainId: z.ZodString;
3863
+ }, "strip", z.ZodTypeAny, {
3864
+ chainId: string;
3865
+ value: string;
3866
+ type: string;
3867
+ to: string;
3868
+ data: string;
3869
+ }, {
3870
+ chainId: string;
3871
+ value: string;
3872
+ type: string;
3873
+ to: string;
3874
+ data: string;
3875
+ }>, "many">;
3876
+ }, "strip", z.ZodTypeAny, {
3877
+ transactions: {
3878
+ chainId: string;
3879
+ value: string;
3880
+ type: string;
3881
+ to: string;
3882
+ data: string;
3883
+ }[];
3884
+ tokenOut: {
3885
+ symbol: string;
3886
+ tokenUid: {
3887
+ chainId: string;
3888
+ address: string;
3889
+ };
3890
+ name: string;
3891
+ isNative: boolean;
3892
+ decimals: number;
3893
+ isVetted: boolean;
3894
+ iconUri?: string | null | undefined;
3895
+ };
3896
+ exactAmountOut: string;
3897
+ displayAmountOut: string;
3898
+ }, {
3899
+ transactions: {
3900
+ chainId: string;
3901
+ value: string;
3902
+ type: string;
3903
+ to: string;
3904
+ data: string;
3905
+ }[];
3906
+ tokenOut: {
3907
+ symbol: string;
3908
+ tokenUid: {
3909
+ chainId: string;
3910
+ address: string;
3911
+ };
3912
+ name: string;
3913
+ isNative: boolean;
3914
+ decimals: number;
3915
+ isVetted: boolean;
3916
+ iconUri?: string | null | undefined;
3917
+ };
3918
+ exactAmountOut: string;
3919
+ displayAmountOut: string;
3920
+ }>;
3921
+ type SellYtResponse = z.infer<typeof SellYtResponseSchema>;
3772
3922
  declare const RedeemPtRequestSchema: z.ZodObject<{
3773
3923
  walletAddress: z.ZodString;
3774
3924
  ptToken: z.ZodObject<{
@@ -4150,7 +4300,6 @@ declare const TokenizedYieldMarketSchema: z.ZodObject<{
4150
4300
  expiry: z.ZodString;
4151
4301
  details: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
4152
4302
  }, "strip", z.ZodTypeAny, {
4153
- details: {};
4154
4303
  ptToken: {
4155
4304
  symbol: string;
4156
4305
  tokenUid: {
@@ -4192,8 +4341,8 @@ declare const TokenizedYieldMarketSchema: z.ZodObject<{
4192
4341
  iconUri?: string | null | undefined;
4193
4342
  };
4194
4343
  expiry: string;
4195
- }, {
4196
4344
  details: {};
4345
+ }, {
4197
4346
  ptToken: {
4198
4347
  symbol: string;
4199
4348
  tokenUid: {
@@ -4235,6 +4384,7 @@ declare const TokenizedYieldMarketSchema: z.ZodObject<{
4235
4384
  iconUri?: string | null | undefined;
4236
4385
  };
4237
4386
  expiry: string;
4387
+ details: {};
4238
4388
  }>;
4239
4389
  declare const MarketTokenizedYieldRequestSchema: z.ZodObject<{
4240
4390
  chainIds: z.ZodArray<z.ZodString, "many">;
@@ -4379,7 +4529,6 @@ declare const MarketTokenizedYieldResponseSchema: z.ZodObject<{
4379
4529
  expiry: z.ZodString;
4380
4530
  details: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
4381
4531
  }, "strip", z.ZodTypeAny, {
4382
- details: {};
4383
4532
  ptToken: {
4384
4533
  symbol: string;
4385
4534
  tokenUid: {
@@ -4421,8 +4570,8 @@ declare const MarketTokenizedYieldResponseSchema: z.ZodObject<{
4421
4570
  iconUri?: string | null | undefined;
4422
4571
  };
4423
4572
  expiry: string;
4424
- }, {
4425
4573
  details: {};
4574
+ }, {
4426
4575
  ptToken: {
4427
4576
  symbol: string;
4428
4577
  tokenUid: {
@@ -4464,10 +4613,10 @@ declare const MarketTokenizedYieldResponseSchema: z.ZodObject<{
4464
4613
  iconUri?: string | null | undefined;
4465
4614
  };
4466
4615
  expiry: string;
4616
+ details: {};
4467
4617
  }>, "many">;
4468
4618
  }, "strip", z.ZodTypeAny, {
4469
4619
  markets: {
4470
- details: {};
4471
4620
  ptToken: {
4472
4621
  symbol: string;
4473
4622
  tokenUid: {
@@ -4509,10 +4658,10 @@ declare const MarketTokenizedYieldResponseSchema: z.ZodObject<{
4509
4658
  iconUri?: string | null | undefined;
4510
4659
  };
4511
4660
  expiry: string;
4661
+ details: {};
4512
4662
  }[];
4513
4663
  }, {
4514
4664
  markets: {
4515
- details: {};
4516
4665
  ptToken: {
4517
4666
  symbol: string;
4518
4667
  tokenUid: {
@@ -4554,6 +4703,7 @@ declare const MarketTokenizedYieldResponseSchema: z.ZodObject<{
4554
4703
  iconUri?: string | null | undefined;
4555
4704
  };
4556
4705
  expiry: string;
4706
+ details: {};
4557
4707
  }[];
4558
4708
  }>;
4559
4709
  declare const TokenizedYieldUserPositionSchema: z.ZodObject<{
@@ -5426,8 +5576,88 @@ declare const TokenizedYieldUserPositionsResponseSchema: z.ZodObject<{
5426
5576
  type TokenizedYieldUserPositionsResponse = z.infer<typeof TokenizedYieldUserPositionsResponseSchema>;
5427
5577
  //#endregion
5428
5578
  //#region src/core/actions/tokenizedYield.d.ts
5579
+ type TokenizedYieldMintPtAndYtCallback = (request: MintPtAndYtRequest) => Promise<MintPtAndYtResponse>;
5580
+ type TokenizedYieldBuyPtCallback = (request: BuyPtRequest) => Promise<BuyPtResponse>;
5581
+ type TokenizedYieldBuyYtCallback = (request: BuyYtRequest) => Promise<BuyYtResponse>;
5582
+ type TokenizedYieldSellPtCallback = (request: SellPtRequest) => Promise<SellPtResponse>;
5583
+ type TokenizedYieldSellYtCallback = (request: SellYtRequest) => Promise<SellYtResponse>;
5584
+ type TokenizedYieldClaimRewardsCallback = (request: ClaimRewardsRequest) => Promise<ClaimRewardsResponse>;
5585
+ type TokenizedYieldRedeemPtCallback = (request: RedeemPtRequest) => Promise<RedeemPtResponse>;
5429
5586
  type TokenizedYieldActions = 'tokenizedYield-mintPtAndYt' | 'tokenizedYield-buyPt' | 'tokenizedYield-buyYt' | 'tokenizedYield-sellPt' | 'tokenizedYield-sellYt' | 'tokenizedYield-claimRewards' | 'tokenizedYield-redeemPt';
5430
5587
  //#endregion
5588
+ //#region src/core/actions/types.d.ts
5589
+ /**
5590
+ * The possible actions an ember plugin can perform.
5591
+ */
5592
+ type Action = LendingActions | LiquidityActions | SwapActions | PerpetualsActions | TokenizedYieldActions;
5593
+ /**
5594
+ * Type mapping for action callbacks.
5595
+ */
5596
+ type CallbacksRecord = {
5597
+ swap: SwapActionCallback;
5598
+ 'lending-borrow': LendingBorrowCallback;
5599
+ 'lending-repay': LendingRepayTokensCallback;
5600
+ 'lending-supply': LendingSupplyCallback;
5601
+ 'lending-withdraw': LendingWithdrawCallback;
5602
+ 'liquidity-supply': LiquiditySupplyCallback;
5603
+ 'liquidity-withdraw': LiquidityWithdrawCallback;
5604
+ 'perpetuals-short': PerpetualsCreateShortPositionCallback;
5605
+ 'perpetuals-long': PerpetualsCreateLongPositionCallback;
5606
+ 'perpetuals-close': PerpetualsCloseOrdersCallback;
5607
+ 'tokenizedYield-mintPtAndYt': TokenizedYieldMintPtAndYtCallback;
5608
+ 'tokenizedYield-buyPt': TokenizedYieldBuyPtCallback;
5609
+ 'tokenizedYield-buyYt': TokenizedYieldBuyYtCallback;
5610
+ 'tokenizedYield-sellPt': TokenizedYieldSellPtCallback;
5611
+ 'tokenizedYield-sellYt': TokenizedYieldSellYtCallback;
5612
+ 'tokenizedYield-claimRewards': TokenizedYieldClaimRewardsCallback;
5613
+ 'tokenizedYield-redeemPt': TokenizedYieldRedeemPtCallback;
5614
+ };
5615
+ /**
5616
+ * Type mapping for action callbacks.
5617
+ */
5618
+ type ActionCallback<T extends keyof CallbacksRecord> = CallbacksRecord[T];
5619
+ /**
5620
+ * Represents a grouping of tokens associated with a specific chain.
5621
+ */
5622
+ interface TokenSet {
5623
+ /**
5624
+ * The chain id to which the tokens belong.
5625
+ */
5626
+ chainId: string;
5627
+ /**
5628
+ * The set of tokens addresses associated with the chain.
5629
+ */
5630
+ tokens: string[];
5631
+ }
5632
+ /**
5633
+ * Definition of an action that can be performed by the Ember plugin.
5634
+ */
5635
+ interface ActionDefinition<T extends Action> {
5636
+ /**
5637
+ * The name for the action, should be unique across all actions in the plugin.
5638
+ */
5639
+ name: string;
5640
+ /**
5641
+ * The action type
5642
+ */
5643
+ type: T;
5644
+ /**
5645
+ * The callback function to execute when the action is triggered.
5646
+ */
5647
+ callback: ActionCallback<T>;
5648
+ /**
5649
+ * This function returns the possible input tokens for the action in all chains.
5650
+ * @returns The list of token sets that can be used as input for the action.
5651
+ */
5652
+ inputTokens: () => Promise<TokenSet[]>;
5653
+ /**
5654
+ * This function returns the possible output tokens for the action in all chains.
5655
+ * If not provided, all input input token sets will be considered possible output sets.
5656
+ * @returns The list of tokens that can be used as output for the action.
5657
+ */
5658
+ outputTokens?: () => Promise<TokenSet[]>;
5659
+ }
5660
+ //#endregion
5431
5661
  //#region src/core/queries/lending.d.ts
5432
5662
  /**
5433
5663
  * Get lending positions for a wallet.
@@ -5819,5 +6049,5 @@ declare class PublicEmberPluginRegistry {
5819
6049
  */
5820
6050
  declare function initializePublicRegistry(chainConfigs: ChainConfig[]): PublicEmberPluginRegistry;
5821
6051
  //#endregion
5822
- export { type Action, type ActionDefinition, AvailableActions, AvailableQueries, BorrowTokensRequest, BorrowTokensRequestSchema, BorrowTokensResponse, BorrowTokensResponseSchema, BuyPtRequest, BuyPtRequestSchema, BuyPtResponse, BuyPtResponseSchema, BuyYtRequest, BuyYtRequestSchema, BuyYtResponse, BuyYtResponseSchema, Chain, type ChainConfig, ChainSchema, ChainType, ChainTypeSchema, ClaimRewardsRequest, ClaimRewardsRequestSchema, ClaimRewardsResponse, ClaimRewardsResponseSchema, ClosePerpetualsOrdersRequest, ClosePerpetualsOrdersRequestSchema, ClosePerpetualsOrdersResponse, ClosePerpetualsOrdersResponseSchema, CreatePerpetualsPositionRequest, CreatePerpetualsPositionRequestSchema, CreatePerpetualsPositionResponse, CreatePerpetualsPositionResponseSchema, DecreasePositionSwapType, DecreasePositionSwapTypeSchema, EmberPlugin, FeeBreakdown, FeeBreakdownSchema, GetLiquidityPoolsResponse, GetLiquidityPoolsResponseSchema, GetPerpetualsMarketsOrdersRequest, GetPerpetualsMarketsOrdersRequestSchema, GetPerpetualsMarketsOrdersResponse, GetPerpetualsMarketsOrdersResponseSchema, GetPerpetualsMarketsPositionsRequest, GetPerpetualsMarketsPositionsRequestSchema, GetPerpetualsMarketsPositionsResponse, GetPerpetualsMarketsPositionsResponseSchema, GetPerpetualsMarketsRequest, GetPerpetualsMarketsRequestSchema, GetPerpetualsMarketsResponse, GetPerpetualsMarketsResponseSchema, GetWalletLendingPositionsRequest, GetWalletLendingPositionsRequestSchema, GetWalletLendingPositionsResponse, GetWalletLendingPositionsResponseSchema, GetWalletLiquidityPositionsRequest, GetWalletLiquidityPositionsRequestSchema, GetWalletLiquidityPositionsResponse, GetWalletLiquidityPositionsResponseSchema, LendTokenDetail, LendTokenDetailSchema, type LendingActions, LendingGetPositions, LendingQueries, type LiquidityActions, LiquidityGetPools, LiquidityGetWalletPositions, LiquidityPayTokens, LiquidityPayTokensSchema, LiquidityPool, LiquidityPoolSchema, LiquidityPoolTokens, LiquidityPosition, LiquidityPositionRange, LiquidityPositionRangeSchema, LiquidityPositionSchema, LiquidityProvisionRange, LiquidityProvisionRangeSchema, LiquidityQueries, LiquiditySuppliedToken, LiquiditySuppliedTokenSchema, MarketTokenizedYieldRequest, MarketTokenizedYieldRequestSchema, MarketTokenizedYieldResponseSchema, MintPtAndYtRequest, MintPtAndYtRequestSchema, MintPtAndYtResponse, MintPtAndYtResponseSchema, OrderSchema, OrderType, OrderTypeSchema, OrdersDataSchema, PerpetualMarket, PerpetualMarketSchema, type PerpetualsActions, PerpetualsGetMarkets, PerpetualsGetOrders, PerpetualsGetPositions, PerpetualsOrder, PerpetualsPosition, PerpetualsQueries, PluginType, PositionSchema, PositionSide, PositionSideSchema, PositionsDataSchema, ProviderTrackingInfo, ProviderTrackingInfoSchema, ProviderTrackingStatus, ProviderTrackingStatusSchema, PublicEmberPluginRegistry, RedeemPtRequest, RedeemPtRequestSchema, RedeemPtResponse, RedeemPtResponseSchema, RepayTokensRequest, RepayTokensRequestSchema, RepayTokensResponse, RepayTokensResponseSchema, SellPtRequest, SellPtRequestSchema, SellYtRequest, SellYtRequestSchema, SupplyLiquidityRequest, SupplyLiquidityRequestSchema, SupplyLiquidityResponse, SupplyLiquidityResponseSchema, SupplyTokensRequest, SupplyTokensRequestSchema, SupplyTokensResponse, SupplyTokensResponseSchema, type SwapActions, SwapEstimation, SwapEstimationSchema, SwapTokensRequest, SwapTokensRequestSchema, SwapTokensResponse, SwapTokensResponseSchema, Token, TokenIdentifier, TokenIdentifierSchema, TokenSchema, type TokenSet, type TokenizedYieldActions, TokenizedYieldGetMarkets, TokenizedYieldGetUserPositions, TokenizedYieldMarketSchema, TokenizedYieldQueries, TokenizedYieldUserPositionSchema, TokenizedYieldUserPositionsRequest, TokenizedYieldUserPositionsRequestSchema, TokenizedYieldUserPositionsResponse, TokenizedYieldUserPositionsResponseSchema, TransactionPlan, TransactionPlanError, TransactionPlanErrorSchema, TransactionPlanSchema, TransactionType, TransactionTypeSchema, TransactionTypes, WithdrawLiquidityRequest, WithdrawLiquidityRequestSchema, WithdrawLiquidityResponse, WithdrawLiquidityResponseSchema, WithdrawTokensRequest, WithdrawTokensRequestSchema, WithdrawTokensResponse, WithdrawTokensResponseSchema, initializePublicRegistry };
6052
+ export { type Action, type ActionDefinition, AvailableActions, AvailableQueries, BorrowTokensRequest, BorrowTokensRequestSchema, BorrowTokensResponse, BorrowTokensResponseSchema, BuyPtRequest, BuyPtRequestSchema, BuyPtResponse, BuyPtResponseSchema, BuyYtRequest, BuyYtRequestSchema, BuyYtResponse, BuyYtResponseSchema, Chain, type ChainConfig, ChainSchema, ChainType, ChainTypeSchema, ClaimRewardsRequest, ClaimRewardsRequestSchema, ClaimRewardsResponse, ClaimRewardsResponseSchema, ClosePerpetualsOrdersRequest, ClosePerpetualsOrdersRequestSchema, ClosePerpetualsOrdersResponse, ClosePerpetualsOrdersResponseSchema, CreatePerpetualsPositionRequest, CreatePerpetualsPositionRequestSchema, CreatePerpetualsPositionResponse, CreatePerpetualsPositionResponseSchema, DecreasePositionSwapType, DecreasePositionSwapTypeSchema, EmberPlugin, FeeBreakdown, FeeBreakdownSchema, GetLiquidityPoolsResponse, GetLiquidityPoolsResponseSchema, GetPerpetualsMarketsOrdersRequest, GetPerpetualsMarketsOrdersRequestSchema, GetPerpetualsMarketsOrdersResponse, GetPerpetualsMarketsOrdersResponseSchema, GetPerpetualsMarketsPositionsRequest, GetPerpetualsMarketsPositionsRequestSchema, GetPerpetualsMarketsPositionsResponse, GetPerpetualsMarketsPositionsResponseSchema, GetPerpetualsMarketsRequest, GetPerpetualsMarketsRequestSchema, GetPerpetualsMarketsResponse, GetPerpetualsMarketsResponseSchema, GetWalletLendingPositionsRequest, GetWalletLendingPositionsRequestSchema, GetWalletLendingPositionsResponse, GetWalletLendingPositionsResponseSchema, GetWalletLiquidityPositionsRequest, GetWalletLiquidityPositionsRequestSchema, GetWalletLiquidityPositionsResponse, GetWalletLiquidityPositionsResponseSchema, LendTokenDetail, LendTokenDetailSchema, type LendingActions, LendingGetPositions, LendingQueries, type LiquidityActions, LiquidityGetPools, LiquidityGetWalletPositions, LiquidityPayTokens, LiquidityPayTokensSchema, LiquidityPool, LiquidityPoolSchema, LiquidityPoolTokens, LiquidityPosition, LiquidityPositionRange, LiquidityPositionRangeSchema, LiquidityPositionSchema, LiquidityProvisionRange, LiquidityProvisionRangeSchema, LiquidityQueries, LiquiditySuppliedToken, LiquiditySuppliedTokenSchema, MarketTokenizedYieldRequest, MarketTokenizedYieldRequestSchema, MarketTokenizedYieldResponseSchema, MintPtAndYtRequest, MintPtAndYtRequestSchema, MintPtAndYtResponse, MintPtAndYtResponseSchema, OrderSchema, OrderType, OrderTypeSchema, OrdersDataSchema, PerpetualMarket, PerpetualMarketSchema, type PerpetualsActions, PerpetualsGetMarkets, PerpetualsGetOrders, PerpetualsGetPositions, PerpetualsOrder, PerpetualsPosition, PerpetualsQueries, PluginType, PositionSchema, PositionSide, PositionSideSchema, PositionsDataSchema, ProviderTrackingInfo, ProviderTrackingInfoSchema, ProviderTrackingStatus, ProviderTrackingStatusSchema, PublicEmberPluginRegistry, RedeemPtRequest, RedeemPtRequestSchema, RedeemPtResponse, RedeemPtResponseSchema, RepayTokensRequest, RepayTokensRequestSchema, RepayTokensResponse, RepayTokensResponseSchema, SellPtRequest, SellPtRequestSchema, SellPtResponse, SellPtResponseSchema, SellYtRequest, SellYtRequestSchema, SellYtResponse, SellYtResponseSchema, SupplyLiquidityRequest, SupplyLiquidityRequestSchema, SupplyLiquidityResponse, SupplyLiquidityResponseSchema, SupplyTokensRequest, SupplyTokensRequestSchema, SupplyTokensResponse, SupplyTokensResponseSchema, type SwapActions, SwapEstimation, SwapEstimationSchema, SwapTokensRequest, SwapTokensRequestSchema, SwapTokensResponse, SwapTokensResponseSchema, Token, TokenIdentifier, TokenIdentifierSchema, TokenSchema, type TokenSet, type TokenizedYieldActions, TokenizedYieldGetMarkets, TokenizedYieldGetUserPositions, TokenizedYieldMarketSchema, TokenizedYieldQueries, TokenizedYieldUserPositionSchema, TokenizedYieldUserPositionsRequest, TokenizedYieldUserPositionsRequestSchema, TokenizedYieldUserPositionsResponse, TokenizedYieldUserPositionsResponseSchema, TransactionPlan, TransactionPlanError, TransactionPlanErrorSchema, TransactionPlanSchema, TransactionType, TransactionTypeSchema, TransactionTypes, WithdrawLiquidityRequest, WithdrawLiquidityRequestSchema, WithdrawLiquidityResponse, WithdrawLiquidityResponseSchema, WithdrawTokensRequest, WithdrawTokensRequestSchema, WithdrawTokensResponse, WithdrawTokensResponseSchema, initializePublicRegistry };
5823
6053
  //# sourceMappingURL=index.d.mts.map