@emberai/onchain-actions-registry 3.1.0 → 4.0.0

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.cts CHANGED
@@ -56,6 +56,8 @@ declare const BorrowTokensRequestSchema: z.ZodObject<{
56
56
  amount: z.ZodBigInt;
57
57
  walletAddress: z.ZodString;
58
58
  }, "strip", z.ZodTypeAny, {
59
+ walletAddress: string;
60
+ amount: bigint;
59
61
  borrowToken: {
60
62
  symbol: string;
61
63
  tokenUid: {
@@ -68,9 +70,9 @@ declare const BorrowTokensRequestSchema: z.ZodObject<{
68
70
  isVetted: boolean;
69
71
  iconUri?: string | null | undefined;
70
72
  };
71
- amount: bigint;
72
- walletAddress: string;
73
73
  }, {
74
+ walletAddress: string;
75
+ amount: bigint;
74
76
  borrowToken: {
75
77
  symbol: string;
76
78
  tokenUid: {
@@ -83,8 +85,6 @@ declare const BorrowTokensRequestSchema: z.ZodObject<{
83
85
  isVetted: boolean;
84
86
  iconUri?: string | null | undefined;
85
87
  };
86
- amount: bigint;
87
- walletAddress: string;
88
88
  }>;
89
89
  type BorrowTokensRequest = z.infer<typeof BorrowTokensRequestSchema>;
90
90
  declare const BorrowTokensResponseSchema: z.ZodObject<{
@@ -126,8 +126,6 @@ declare const BorrowTokensResponseSchema: z.ZodObject<{
126
126
  data: string;
127
127
  }>, "many">;
128
128
  }, "strip", z.ZodTypeAny, {
129
- currentBorrowApy: string;
130
- liquidationThreshold: string;
131
129
  transactions: {
132
130
  chainId: string;
133
131
  value: string;
@@ -135,6 +133,8 @@ declare const BorrowTokensResponseSchema: z.ZodObject<{
135
133
  to: string;
136
134
  data: string;
137
135
  }[];
136
+ currentBorrowApy: string;
137
+ liquidationThreshold: string;
138
138
  feeBreakdown?: {
139
139
  serviceFee: string;
140
140
  slippageCost: string;
@@ -142,8 +142,6 @@ declare const BorrowTokensResponseSchema: z.ZodObject<{
142
142
  feeDenomination: string;
143
143
  } | undefined;
144
144
  }, {
145
- currentBorrowApy: string;
146
- liquidationThreshold: string;
147
145
  transactions: {
148
146
  chainId: string;
149
147
  value: string;
@@ -151,6 +149,8 @@ declare const BorrowTokensResponseSchema: z.ZodObject<{
151
149
  to: string;
152
150
  data: string;
153
151
  }[];
152
+ currentBorrowApy: string;
153
+ liquidationThreshold: string;
154
154
  feeBreakdown?: {
155
155
  serviceFee: string;
156
156
  slippageCost: string;
@@ -203,8 +203,8 @@ declare const RepayTokensRequestSchema: z.ZodObject<{
203
203
  amount: z.ZodBigInt;
204
204
  walletAddress: z.ZodString;
205
205
  }, "strip", z.ZodTypeAny, {
206
- amount: bigint;
207
206
  walletAddress: string;
207
+ amount: bigint;
208
208
  repayToken: {
209
209
  symbol: string;
210
210
  tokenUid: {
@@ -218,8 +218,8 @@ declare const RepayTokensRequestSchema: z.ZodObject<{
218
218
  iconUri?: string | null | undefined;
219
219
  };
220
220
  }, {
221
- amount: bigint;
222
221
  walletAddress: string;
222
+ amount: bigint;
223
223
  repayToken: {
224
224
  symbol: string;
225
225
  tokenUid: {
@@ -344,8 +344,8 @@ declare const SupplyTokensRequestSchema: z.ZodObject<{
344
344
  amount: z.ZodBigInt;
345
345
  walletAddress: z.ZodString;
346
346
  }, "strip", z.ZodTypeAny, {
347
- amount: bigint;
348
347
  walletAddress: string;
348
+ amount: bigint;
349
349
  supplyToken: {
350
350
  symbol: string;
351
351
  tokenUid: {
@@ -359,8 +359,8 @@ declare const SupplyTokensRequestSchema: z.ZodObject<{
359
359
  iconUri?: string | null | undefined;
360
360
  };
361
361
  }, {
362
- amount: bigint;
363
362
  walletAddress: string;
363
+ amount: bigint;
364
364
  supplyToken: {
365
365
  symbol: string;
366
366
  tokenUid: {
@@ -485,8 +485,8 @@ declare const WithdrawTokensRequestSchema: z.ZodObject<{
485
485
  amount: z.ZodBigInt;
486
486
  walletAddress: z.ZodString;
487
487
  }, "strip", z.ZodTypeAny, {
488
- amount: bigint;
489
488
  walletAddress: string;
489
+ amount: bigint;
490
490
  tokenToWithdraw: {
491
491
  symbol: string;
492
492
  tokenUid: {
@@ -500,8 +500,8 @@ declare const WithdrawTokensRequestSchema: z.ZodObject<{
500
500
  iconUri?: string | null | undefined;
501
501
  };
502
502
  }, {
503
- amount: bigint;
504
503
  walletAddress: string;
504
+ amount: bigint;
505
505
  tokenToWithdraw: {
506
506
  symbol: string;
507
507
  tokenUid: {
@@ -1736,10 +1736,10 @@ declare const PositionSchema: z.ZodObject<{
1736
1736
  data: z.ZodOptional<z.ZodString>;
1737
1737
  }, "strip", z.ZodTypeAny, {
1738
1738
  chainId: string;
1739
+ marketAddress: string;
1739
1740
  key: string;
1740
1741
  contractKey: string;
1741
1742
  account: string;
1742
- marketAddress: string;
1743
1743
  collateralTokenAddress: string;
1744
1744
  sizeInUsd: string;
1745
1745
  sizeInTokens: string;
@@ -1760,10 +1760,10 @@ declare const PositionSchema: z.ZodObject<{
1760
1760
  isOpening?: boolean | undefined;
1761
1761
  }, {
1762
1762
  chainId: string;
1763
+ marketAddress: string;
1763
1764
  key: string;
1764
1765
  contractKey: string;
1765
1766
  account: string;
1766
- marketAddress: string;
1767
1767
  collateralTokenAddress: string;
1768
1768
  sizeInUsd: string;
1769
1769
  sizeInTokens: string;
@@ -1810,10 +1810,10 @@ declare const PositionsDataSchema: z.ZodArray<z.ZodObject<{
1810
1810
  data: z.ZodOptional<z.ZodString>;
1811
1811
  }, "strip", z.ZodTypeAny, {
1812
1812
  chainId: string;
1813
+ marketAddress: string;
1813
1814
  key: string;
1814
1815
  contractKey: string;
1815
1816
  account: string;
1816
- marketAddress: string;
1817
1817
  collateralTokenAddress: string;
1818
1818
  sizeInUsd: string;
1819
1819
  sizeInTokens: string;
@@ -1834,10 +1834,10 @@ declare const PositionsDataSchema: z.ZodArray<z.ZodObject<{
1834
1834
  isOpening?: boolean | undefined;
1835
1835
  }, {
1836
1836
  chainId: string;
1837
+ marketAddress: string;
1837
1838
  key: string;
1838
1839
  contractKey: string;
1839
1840
  account: string;
1840
- marketAddress: string;
1841
1841
  collateralTokenAddress: string;
1842
1842
  sizeInUsd: string;
1843
1843
  sizeInTokens: string;
@@ -1888,9 +1888,9 @@ declare const OrderSchema: z.ZodObject<{
1888
1888
  title: z.ZodOptional<z.ZodString>;
1889
1889
  }, "strip", z.ZodTypeAny, {
1890
1890
  chainId: string;
1891
+ marketAddress: string;
1891
1892
  key: string;
1892
1893
  account: string;
1893
- marketAddress: string;
1894
1894
  positionSide: "long" | "short";
1895
1895
  callbackContract: string;
1896
1896
  initialCollateralTokenAddress: string;
@@ -1915,9 +1915,9 @@ declare const OrderSchema: z.ZodObject<{
1915
1915
  title?: string | undefined;
1916
1916
  }, {
1917
1917
  chainId: string;
1918
+ marketAddress: string;
1918
1919
  key: string;
1919
1920
  account: string;
1920
- marketAddress: string;
1921
1921
  positionSide: "long" | "short";
1922
1922
  callbackContract: string;
1923
1923
  initialCollateralTokenAddress: string;
@@ -1971,9 +1971,9 @@ declare const OrdersDataSchema: z.ZodArray<z.ZodObject<{
1971
1971
  title: z.ZodOptional<z.ZodString>;
1972
1972
  }, "strip", z.ZodTypeAny, {
1973
1973
  chainId: string;
1974
+ marketAddress: string;
1974
1975
  key: string;
1975
1976
  account: string;
1976
- marketAddress: string;
1977
1977
  positionSide: "long" | "short";
1978
1978
  callbackContract: string;
1979
1979
  initialCollateralTokenAddress: string;
@@ -1998,9 +1998,9 @@ declare const OrdersDataSchema: z.ZodArray<z.ZodObject<{
1998
1998
  title?: string | undefined;
1999
1999
  }, {
2000
2000
  chainId: string;
2001
+ marketAddress: string;
2001
2002
  key: string;
2002
2003
  account: string;
2003
- marketAddress: string;
2004
2004
  positionSide: "long" | "short";
2005
2005
  callbackContract: string;
2006
2006
  initialCollateralTokenAddress: string;
@@ -2035,9 +2035,9 @@ declare const CreatePerpetualsPositionRequestSchema: z.ZodObject<{
2035
2035
  limitPrice: z.ZodOptional<z.ZodString>;
2036
2036
  leverage: z.ZodString;
2037
2037
  }, "strip", z.ZodTypeAny, {
2038
+ walletAddress: string;
2038
2039
  chainId: string;
2039
2040
  amount: bigint;
2040
- walletAddress: string;
2041
2041
  marketAddress: string;
2042
2042
  collateralTokenAddress: string;
2043
2043
  payTokenAddress: string;
@@ -2045,9 +2045,9 @@ declare const CreatePerpetualsPositionRequestSchema: z.ZodObject<{
2045
2045
  referralCode?: string | undefined;
2046
2046
  limitPrice?: string | undefined;
2047
2047
  }, {
2048
+ walletAddress: string;
2048
2049
  chainId: string;
2049
2050
  amount: bigint;
2050
- walletAddress: string;
2051
2051
  marketAddress: string;
2052
2052
  collateralTokenAddress: string;
2053
2053
  payTokenAddress: string;
@@ -2129,10 +2129,10 @@ declare const GetPerpetualsMarketsPositionsResponseSchema: z.ZodObject<{
2129
2129
  data: z.ZodOptional<z.ZodString>;
2130
2130
  }, "strip", z.ZodTypeAny, {
2131
2131
  chainId: string;
2132
+ marketAddress: string;
2132
2133
  key: string;
2133
2134
  contractKey: string;
2134
2135
  account: string;
2135
- marketAddress: string;
2136
2136
  collateralTokenAddress: string;
2137
2137
  sizeInUsd: string;
2138
2138
  sizeInTokens: string;
@@ -2153,10 +2153,10 @@ declare const GetPerpetualsMarketsPositionsResponseSchema: z.ZodObject<{
2153
2153
  isOpening?: boolean | undefined;
2154
2154
  }, {
2155
2155
  chainId: string;
2156
+ marketAddress: string;
2156
2157
  key: string;
2157
2158
  contractKey: string;
2158
2159
  account: string;
2159
- marketAddress: string;
2160
2160
  collateralTokenAddress: string;
2161
2161
  sizeInUsd: string;
2162
2162
  sizeInTokens: string;
@@ -2179,10 +2179,10 @@ declare const GetPerpetualsMarketsPositionsResponseSchema: z.ZodObject<{
2179
2179
  }, "strip", z.ZodTypeAny, {
2180
2180
  positions: {
2181
2181
  chainId: string;
2182
+ marketAddress: string;
2182
2183
  key: string;
2183
2184
  contractKey: string;
2184
2185
  account: string;
2185
- marketAddress: string;
2186
2186
  collateralTokenAddress: string;
2187
2187
  sizeInUsd: string;
2188
2188
  sizeInTokens: string;
@@ -2205,10 +2205,10 @@ declare const GetPerpetualsMarketsPositionsResponseSchema: z.ZodObject<{
2205
2205
  }, {
2206
2206
  positions: {
2207
2207
  chainId: string;
2208
+ marketAddress: string;
2208
2209
  key: string;
2209
2210
  contractKey: string;
2210
2211
  account: string;
2211
- marketAddress: string;
2212
2212
  collateralTokenAddress: string;
2213
2213
  sizeInUsd: string;
2214
2214
  sizeInTokens: string;
@@ -2268,9 +2268,9 @@ declare const GetPerpetualsMarketsOrdersResponseSchema: z.ZodObject<{
2268
2268
  title: z.ZodOptional<z.ZodString>;
2269
2269
  }, "strip", z.ZodTypeAny, {
2270
2270
  chainId: string;
2271
+ marketAddress: string;
2271
2272
  key: string;
2272
2273
  account: string;
2273
- marketAddress: string;
2274
2274
  positionSide: "long" | "short";
2275
2275
  callbackContract: string;
2276
2276
  initialCollateralTokenAddress: string;
@@ -2295,9 +2295,9 @@ declare const GetPerpetualsMarketsOrdersResponseSchema: z.ZodObject<{
2295
2295
  title?: string | undefined;
2296
2296
  }, {
2297
2297
  chainId: string;
2298
+ marketAddress: string;
2298
2299
  key: string;
2299
2300
  account: string;
2300
- marketAddress: string;
2301
2301
  positionSide: "long" | "short";
2302
2302
  callbackContract: string;
2303
2303
  initialCollateralTokenAddress: string;
@@ -2324,9 +2324,9 @@ declare const GetPerpetualsMarketsOrdersResponseSchema: z.ZodObject<{
2324
2324
  }, "strip", z.ZodTypeAny, {
2325
2325
  orders: {
2326
2326
  chainId: string;
2327
+ marketAddress: string;
2327
2328
  key: string;
2328
2329
  account: string;
2329
- marketAddress: string;
2330
2330
  positionSide: "long" | "short";
2331
2331
  callbackContract: string;
2332
2332
  initialCollateralTokenAddress: string;
@@ -2353,9 +2353,9 @@ declare const GetPerpetualsMarketsOrdersResponseSchema: z.ZodObject<{
2353
2353
  }, {
2354
2354
  orders: {
2355
2355
  chainId: string;
2356
+ marketAddress: string;
2356
2357
  key: string;
2357
2358
  account: string;
2358
- marketAddress: string;
2359
2359
  positionSide: "long" | "short";
2360
2360
  callbackContract: string;
2361
2361
  initialCollateralTokenAddress: string;
@@ -2801,8 +2801,8 @@ declare const SwapTokensRequestSchema: z.ZodObject<{
2801
2801
  iconUri?: string | null | undefined;
2802
2802
  };
2803
2803
  recipient: string;
2804
- expiration?: string | undefined;
2805
2804
  limitPrice?: string | undefined;
2805
+ expiration?: string | undefined;
2806
2806
  slippageTolerance?: string | undefined;
2807
2807
  }, {
2808
2808
  amount: bigint;
@@ -2831,8 +2831,8 @@ declare const SwapTokensRequestSchema: z.ZodObject<{
2831
2831
  iconUri?: string | null | undefined;
2832
2832
  };
2833
2833
  recipient: string;
2834
- expiration?: string | undefined;
2835
2834
  limitPrice?: string | undefined;
2835
+ expiration?: string | undefined;
2836
2836
  slippageTolerance?: string | undefined;
2837
2837
  }>;
2838
2838
  type SwapTokensRequest = z.infer<typeof SwapTokensRequestSchema>;
@@ -3146,9 +3146,7 @@ declare const MintPtAndYtRequestSchema: z.ZodObject<{
3146
3146
  amount: z.ZodBigInt;
3147
3147
  marketAddress: z.ZodString;
3148
3148
  }, "strip", z.ZodTypeAny, {
3149
- amount: bigint;
3150
3149
  walletAddress: string;
3151
- marketAddress: string;
3152
3150
  slippage: string;
3153
3151
  inputToken: {
3154
3152
  symbol: string;
@@ -3162,10 +3160,10 @@ declare const MintPtAndYtRequestSchema: z.ZodObject<{
3162
3160
  isVetted: boolean;
3163
3161
  iconUri?: string | null | undefined;
3164
3162
  };
3165
- }, {
3166
3163
  amount: bigint;
3167
- walletAddress: string;
3168
3164
  marketAddress: string;
3165
+ }, {
3166
+ walletAddress: string;
3169
3167
  inputToken: {
3170
3168
  symbol: string;
3171
3169
  tokenUid: {
@@ -3178,6 +3176,8 @@ declare const MintPtAndYtRequestSchema: z.ZodObject<{
3178
3176
  isVetted: boolean;
3179
3177
  iconUri?: string | null | undefined;
3180
3178
  };
3179
+ amount: bigint;
3180
+ marketAddress: string;
3181
3181
  slippage?: string | undefined;
3182
3182
  }>;
3183
3183
  type MintPtAndYtRequest = z.infer<typeof MintPtAndYtRequestSchema>;
@@ -3224,13 +3224,6 @@ declare const MintPtAndYtResponseSchema: z.ZodObject<{
3224
3224
  data: string;
3225
3225
  }>, "many">;
3226
3226
  }, "strip", z.ZodTypeAny, {
3227
- transactions: {
3228
- chainId: string;
3229
- value: string;
3230
- type: string;
3231
- to: string;
3232
- data: string;
3233
- }[];
3234
3227
  exactPtAmount: string;
3235
3228
  ptTokenIdentifier: {
3236
3229
  chainId: string;
@@ -3241,7 +3234,6 @@ declare const MintPtAndYtResponseSchema: z.ZodObject<{
3241
3234
  chainId: string;
3242
3235
  address: string;
3243
3236
  };
3244
- }, {
3245
3237
  transactions: {
3246
3238
  chainId: string;
3247
3239
  value: string;
@@ -3249,6 +3241,7 @@ declare const MintPtAndYtResponseSchema: z.ZodObject<{
3249
3241
  to: string;
3250
3242
  data: string;
3251
3243
  }[];
3244
+ }, {
3252
3245
  exactPtAmount: string;
3253
3246
  ptTokenIdentifier: {
3254
3247
  chainId: string;
@@ -3259,6 +3252,13 @@ declare const MintPtAndYtResponseSchema: z.ZodObject<{
3259
3252
  chainId: string;
3260
3253
  address: string;
3261
3254
  };
3255
+ transactions: {
3256
+ chainId: string;
3257
+ value: string;
3258
+ type: string;
3259
+ to: string;
3260
+ data: string;
3261
+ }[];
3262
3262
  }>;
3263
3263
  type MintPtAndYtResponse = z.infer<typeof MintPtAndYtResponseSchema>;
3264
3264
  declare const BuyPtRequestSchema: z.ZodObject<{
@@ -3307,9 +3307,7 @@ declare const BuyPtRequestSchema: z.ZodObject<{
3307
3307
  amount: z.ZodBigInt;
3308
3308
  marketAddress: z.ZodString;
3309
3309
  }, "strip", z.ZodTypeAny, {
3310
- amount: bigint;
3311
3310
  walletAddress: string;
3312
- marketAddress: string;
3313
3311
  slippage: string;
3314
3312
  inputToken: {
3315
3313
  symbol: string;
@@ -3323,10 +3321,10 @@ declare const BuyPtRequestSchema: z.ZodObject<{
3323
3321
  isVetted: boolean;
3324
3322
  iconUri?: string | null | undefined;
3325
3323
  };
3326
- }, {
3327
3324
  amount: bigint;
3328
- walletAddress: string;
3329
3325
  marketAddress: string;
3326
+ }, {
3327
+ walletAddress: string;
3330
3328
  inputToken: {
3331
3329
  symbol: string;
3332
3330
  tokenUid: {
@@ -3339,6 +3337,8 @@ declare const BuyPtRequestSchema: z.ZodObject<{
3339
3337
  isVetted: boolean;
3340
3338
  iconUri?: string | null | undefined;
3341
3339
  };
3340
+ amount: bigint;
3341
+ marketAddress: string;
3342
3342
  slippage?: string | undefined;
3343
3343
  }>;
3344
3344
  type BuyPtRequest = z.infer<typeof BuyPtRequestSchema>;
@@ -3374,6 +3374,11 @@ declare const BuyPtResponseSchema: z.ZodObject<{
3374
3374
  data: string;
3375
3375
  }>, "many">;
3376
3376
  }, "strip", z.ZodTypeAny, {
3377
+ exactPtAmount: string;
3378
+ ptTokenIdentifier: {
3379
+ chainId: string;
3380
+ address: string;
3381
+ };
3377
3382
  transactions: {
3378
3383
  chainId: string;
3379
3384
  value: string;
@@ -3381,12 +3386,12 @@ declare const BuyPtResponseSchema: z.ZodObject<{
3381
3386
  to: string;
3382
3387
  data: string;
3383
3388
  }[];
3389
+ }, {
3384
3390
  exactPtAmount: string;
3385
3391
  ptTokenIdentifier: {
3386
3392
  chainId: string;
3387
3393
  address: string;
3388
3394
  };
3389
- }, {
3390
3395
  transactions: {
3391
3396
  chainId: string;
3392
3397
  value: string;
@@ -3394,11 +3399,6 @@ declare const BuyPtResponseSchema: z.ZodObject<{
3394
3399
  to: string;
3395
3400
  data: string;
3396
3401
  }[];
3397
- exactPtAmount: string;
3398
- ptTokenIdentifier: {
3399
- chainId: string;
3400
- address: string;
3401
- };
3402
3402
  }>;
3403
3403
  type BuyPtResponse = z.infer<typeof BuyPtResponseSchema>;
3404
3404
  declare const BuyYtRequestSchema: z.ZodObject<{
@@ -3447,9 +3447,7 @@ declare const BuyYtRequestSchema: z.ZodObject<{
3447
3447
  amount: z.ZodBigInt;
3448
3448
  marketAddress: z.ZodString;
3449
3449
  }, "strip", z.ZodTypeAny, {
3450
- amount: bigint;
3451
3450
  walletAddress: string;
3452
- marketAddress: string;
3453
3451
  slippage: string;
3454
3452
  inputToken: {
3455
3453
  symbol: string;
@@ -3463,10 +3461,10 @@ declare const BuyYtRequestSchema: z.ZodObject<{
3463
3461
  isVetted: boolean;
3464
3462
  iconUri?: string | null | undefined;
3465
3463
  };
3466
- }, {
3467
3464
  amount: bigint;
3468
- walletAddress: string;
3469
3465
  marketAddress: string;
3466
+ }, {
3467
+ walletAddress: string;
3470
3468
  inputToken: {
3471
3469
  symbol: string;
3472
3470
  tokenUid: {
@@ -3479,6 +3477,8 @@ declare const BuyYtRequestSchema: z.ZodObject<{
3479
3477
  isVetted: boolean;
3480
3478
  iconUri?: string | null | undefined;
3481
3479
  };
3480
+ amount: bigint;
3481
+ marketAddress: string;
3482
3482
  slippage?: string | undefined;
3483
3483
  }>;
3484
3484
  type BuyYtRequest = z.infer<typeof BuyYtRequestSchema>;
@@ -3514,6 +3514,11 @@ declare const BuyYtResponseSchema: z.ZodObject<{
3514
3514
  data: string;
3515
3515
  }>, "many">;
3516
3516
  }, "strip", z.ZodTypeAny, {
3517
+ exactYtAmount: string;
3518
+ ytTokenIdentifier: {
3519
+ chainId: string;
3520
+ address: string;
3521
+ };
3517
3522
  transactions: {
3518
3523
  chainId: string;
3519
3524
  value: string;
@@ -3521,12 +3526,12 @@ declare const BuyYtResponseSchema: z.ZodObject<{
3521
3526
  to: string;
3522
3527
  data: string;
3523
3528
  }[];
3529
+ }, {
3524
3530
  exactYtAmount: string;
3525
3531
  ytTokenIdentifier: {
3526
3532
  chainId: string;
3527
3533
  address: string;
3528
3534
  };
3529
- }, {
3530
3535
  transactions: {
3531
3536
  chainId: string;
3532
3537
  value: string;
@@ -3534,11 +3539,6 @@ declare const BuyYtResponseSchema: z.ZodObject<{
3534
3539
  to: string;
3535
3540
  data: string;
3536
3541
  }[];
3537
- exactYtAmount: string;
3538
- ytTokenIdentifier: {
3539
- chainId: string;
3540
- address: string;
3541
- };
3542
3542
  }>;
3543
3543
  type BuyYtResponse = z.infer<typeof BuyYtResponseSchema>;
3544
3544
  declare const SellPtRequestSchema: z.ZodObject<{
@@ -3586,9 +3586,9 @@ declare const SellPtRequestSchema: z.ZodObject<{
3586
3586
  }>;
3587
3587
  amount: z.ZodBigInt;
3588
3588
  }, "strip", z.ZodTypeAny, {
3589
- amount: bigint;
3590
3589
  walletAddress: string;
3591
3590
  slippage: string;
3591
+ amount: bigint;
3592
3592
  ptToken: {
3593
3593
  symbol: string;
3594
3594
  tokenUid: {
@@ -3602,8 +3602,8 @@ declare const SellPtRequestSchema: z.ZodObject<{
3602
3602
  iconUri?: string | null | undefined;
3603
3603
  };
3604
3604
  }, {
3605
- amount: bigint;
3606
3605
  walletAddress: string;
3606
+ amount: bigint;
3607
3607
  ptToken: {
3608
3608
  symbol: string;
3609
3609
  tokenUid: {
@@ -3723,9 +3723,9 @@ declare const SellYtRequestSchema: z.ZodObject<{
3723
3723
  }>;
3724
3724
  amount: z.ZodBigInt;
3725
3725
  }, "strip", z.ZodTypeAny, {
3726
- amount: bigint;
3727
3726
  walletAddress: string;
3728
3727
  slippage: string;
3728
+ amount: bigint;
3729
3729
  ytToken: {
3730
3730
  symbol: string;
3731
3731
  tokenUid: {
@@ -3739,8 +3739,8 @@ declare const SellYtRequestSchema: z.ZodObject<{
3739
3739
  iconUri?: string | null | undefined;
3740
3740
  };
3741
3741
  }, {
3742
- amount: bigint;
3743
3742
  walletAddress: string;
3743
+ amount: bigint;
3744
3744
  ytToken: {
3745
3745
  symbol: string;
3746
3746
  tokenUid: {
@@ -3859,8 +3859,8 @@ declare const RedeemPtRequestSchema: z.ZodObject<{
3859
3859
  }>;
3860
3860
  amount: z.ZodBigInt;
3861
3861
  }, "strip", z.ZodTypeAny, {
3862
- amount: bigint;
3863
3862
  walletAddress: string;
3863
+ amount: bigint;
3864
3864
  ptToken: {
3865
3865
  symbol: string;
3866
3866
  tokenUid: {
@@ -3874,8 +3874,8 @@ declare const RedeemPtRequestSchema: z.ZodObject<{
3874
3874
  iconUri?: string | null | undefined;
3875
3875
  };
3876
3876
  }, {
3877
- amount: bigint;
3878
3877
  walletAddress: string;
3878
+ amount: bigint;
3879
3879
  ptToken: {
3880
3880
  symbol: string;
3881
3881
  tokenUid: {
@@ -4111,7 +4111,6 @@ declare const TokenizedYieldMarketSchema: z.ZodObject<{
4111
4111
  expiry: z.ZodString;
4112
4112
  details: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
4113
4113
  }, "strip", z.ZodTypeAny, {
4114
- details: {};
4115
4114
  ptTokenIdentifier: {
4116
4115
  chainId: string;
4117
4116
  address: string;
@@ -4129,8 +4128,8 @@ declare const TokenizedYieldMarketSchema: z.ZodObject<{
4129
4128
  address: string;
4130
4129
  };
4131
4130
  expiry: string;
4132
- }, {
4133
4131
  details: {};
4132
+ }, {
4134
4133
  ptTokenIdentifier: {
4135
4134
  chainId: string;
4136
4135
  address: string;
@@ -4148,6 +4147,7 @@ declare const TokenizedYieldMarketSchema: z.ZodObject<{
4148
4147
  address: string;
4149
4148
  };
4150
4149
  expiry: string;
4150
+ details: {};
4151
4151
  }>;
4152
4152
  type TokenizedYieldMarket = z.infer<typeof TokenizedYieldMarketSchema>;
4153
4153
  declare const MarketTokenizedYieldResponseSchema: z.ZodObject<{
@@ -4195,7 +4195,6 @@ declare const MarketTokenizedYieldResponseSchema: z.ZodObject<{
4195
4195
  expiry: z.ZodString;
4196
4196
  details: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
4197
4197
  }, "strip", z.ZodTypeAny, {
4198
- details: {};
4199
4198
  ptTokenIdentifier: {
4200
4199
  chainId: string;
4201
4200
  address: string;
@@ -4213,8 +4212,8 @@ declare const MarketTokenizedYieldResponseSchema: z.ZodObject<{
4213
4212
  address: string;
4214
4213
  };
4215
4214
  expiry: string;
4216
- }, {
4217
4215
  details: {};
4216
+ }, {
4218
4217
  ptTokenIdentifier: {
4219
4218
  chainId: string;
4220
4219
  address: string;
@@ -4232,10 +4231,10 @@ declare const MarketTokenizedYieldResponseSchema: z.ZodObject<{
4232
4231
  address: string;
4233
4232
  };
4234
4233
  expiry: string;
4234
+ details: {};
4235
4235
  }>, "many">;
4236
4236
  }, "strip", z.ZodTypeAny, {
4237
4237
  markets: {
4238
- details: {};
4239
4238
  ptTokenIdentifier: {
4240
4239
  chainId: string;
4241
4240
  address: string;
@@ -4253,10 +4252,10 @@ declare const MarketTokenizedYieldResponseSchema: z.ZodObject<{
4253
4252
  address: string;
4254
4253
  };
4255
4254
  expiry: string;
4255
+ details: {};
4256
4256
  }[];
4257
4257
  }, {
4258
4258
  markets: {
4259
- details: {};
4260
4259
  ptTokenIdentifier: {
4261
4260
  chainId: string;
4262
4261
  address: string;
@@ -4274,6 +4273,7 @@ declare const MarketTokenizedYieldResponseSchema: z.ZodObject<{
4274
4273
  address: string;
4275
4274
  };
4276
4275
  expiry: string;
4276
+ details: {};
4277
4277
  }[];
4278
4278
  }>;
4279
4279
  type MarketTokenizedYieldResponse = z.infer<typeof MarketTokenizedYieldResponseSchema>;
@@ -5080,7 +5080,7 @@ interface EmberPlugin<Type extends PluginType> {
5080
5080
  /**
5081
5081
  * The unique identifier for the plugin.
5082
5082
  */
5083
- id?: string;
5083
+ id: string;
5084
5084
  /**
5085
5085
  * The type of the plugin, which determines the actions and queries it supports.
5086
5086
  */