compass_api_sdk 0.8.3__py3-none-any.whl → 0.9.0__py3-none-any.whl
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.
Potentially problematic release.
This version of compass_api_sdk might be problematic. Click here for more details.
- compass_api_sdk/_version.py +2 -2
- compass_api_sdk/aave_v3.py +1 -25
- compass_api_sdk/aerodrome_slipstream.py +1 -31
- compass_api_sdk/models/aaveborrowparams.py +2 -19
- compass_api_sdk/models/aaveborrowrequest.py +2 -19
- compass_api_sdk/models/aaverepayparams.py +2 -19
- compass_api_sdk/models/aaverepayrequest.py +2 -19
- compass_api_sdk/models/aavesupplyparams.py +2 -19
- compass_api_sdk/models/aavesupplyrequest.py +2 -19
- compass_api_sdk/models/aavewithdrawparams.py +1 -16
- compass_api_sdk/models/aavewithdrawrequest.py +1 -16
- compass_api_sdk/models/aerodromeslipstreambuyexactlyparams.py +1 -16
- compass_api_sdk/models/aerodromeslipstreambuyexactlyrequest.py +1 -16
- compass_api_sdk/models/aerodromeslipstreamincreaseliquidityprovisionparams.py +1 -16
- compass_api_sdk/models/aerodromeslipstreamincreaseliquidityprovisionrequest.py +1 -16
- compass_api_sdk/models/aerodromeslipstreammintliquidityprovisionparams.py +2 -19
- compass_api_sdk/models/aerodromeslipstreammintliquidityprovisionrequest.py +2 -19
- compass_api_sdk/models/aerodromeslipstreamsellexactlyparams.py +1 -16
- compass_api_sdk/models/aerodromeslipstreamsellexactlyrequest.py +1 -16
- compass_api_sdk/models/aerodromeslipstreamwithdrawliquidityprovisionparams.py +1 -16
- compass_api_sdk/models/aerodromeslipstreamwithdrawliquidityprovisionrequest.py +1 -16
- compass_api_sdk/models/increaseallowanceparams.py +1 -16
- compass_api_sdk/models/increaseallowancerequest.py +1 -16
- compass_api_sdk/models/morphoborrowparams.py +2 -19
- compass_api_sdk/models/morphoborrowrequest.py +2 -19
- compass_api_sdk/models/morphodepositparams.py +2 -19
- compass_api_sdk/models/morphodepositrequest.py +2 -19
- compass_api_sdk/models/morphorepayparams.py +2 -19
- compass_api_sdk/models/morphorepayrequest.py +2 -19
- compass_api_sdk/models/morphosetvaultallowanceparams.py +1 -16
- compass_api_sdk/models/morphosetvaultallowancerequest.py +1 -16
- compass_api_sdk/models/morphosupplycollateralparams.py +2 -19
- compass_api_sdk/models/morphosupplycollateralrequest.py +2 -19
- compass_api_sdk/models/morphowithdrawcollateralparams.py +2 -19
- compass_api_sdk/models/morphowithdrawcollateralrequest.py +2 -19
- compass_api_sdk/models/morphowithdrawparams.py +2 -19
- compass_api_sdk/models/morphowithdrawrequest.py +2 -19
- compass_api_sdk/models/pendlebuyptparams.py +1 -16
- compass_api_sdk/models/pendlebuyptrequest.py +1 -16
- compass_api_sdk/models/pendlebuyytparams.py +1 -16
- compass_api_sdk/models/pendlebuyytrequest.py +1 -16
- compass_api_sdk/models/pendlesellptparams.py +1 -16
- compass_api_sdk/models/pendlesellptrequest.py +1 -16
- compass_api_sdk/models/pendlesellytparams.py +1 -16
- compass_api_sdk/models/pendlesellytrequest.py +1 -16
- compass_api_sdk/models/skybuyparams.py +1 -16
- compass_api_sdk/models/skybuyrequest.py +1 -15
- compass_api_sdk/models/skydepositparams.py +2 -19
- compass_api_sdk/models/skydepositrequest.py +2 -18
- compass_api_sdk/models/skysellparams.py +1 -16
- compass_api_sdk/models/skysellrequest.py +1 -15
- compass_api_sdk/models/skywithdrawparams.py +2 -19
- compass_api_sdk/models/skywithdrawrequest.py +2 -18
- compass_api_sdk/models/tokentransfererc20params.py +1 -16
- compass_api_sdk/models/tokentransferrequest.py +1 -16
- compass_api_sdk/models/uniswapbuyexactlyparams.py +1 -16
- compass_api_sdk/models/uniswapbuyexactlyrequest.py +1 -16
- compass_api_sdk/models/uniswapincreaseliquidityprovisionparams.py +1 -16
- compass_api_sdk/models/uniswapincreaseliquidityprovisionrequest.py +1 -16
- compass_api_sdk/models/uniswapmintliquidityprovisionparams.py +2 -19
- compass_api_sdk/models/uniswapmintliquidityprovisionrequest.py +2 -19
- compass_api_sdk/models/uniswapsellexactlyparams.py +1 -16
- compass_api_sdk/models/uniswapsellexactlyrequest.py +1 -16
- compass_api_sdk/models/uniswapwithdrawliquidityprovisionparams.py +1 -16
- compass_api_sdk/models/uniswapwithdrawliquidityprovisionrequest.py +1 -16
- compass_api_sdk/models/unwrapwethparams.py +1 -16
- compass_api_sdk/models/unwrapwethrequest.py +1 -16
- compass_api_sdk/models/useroperation.py +1 -16
- compass_api_sdk/models/wrapethparams.py +1 -16
- compass_api_sdk/models/wrapethrequest.py +1 -16
- compass_api_sdk/morpho.py +1 -43
- compass_api_sdk/pendle.py +1 -25
- compass_api_sdk/sky.py +1 -25
- compass_api_sdk/token_sdk.py +1 -7
- compass_api_sdk/uniswap_v3.py +1 -31
- compass_api_sdk/universal.py +1 -19
- {compass_api_sdk-0.8.3.dist-info → compass_api_sdk-0.9.0.dist-info}/METADATA +1 -1
- {compass_api_sdk-0.8.3.dist-info → compass_api_sdk-0.9.0.dist-info}/RECORD +79 -79
- {compass_api_sdk-0.8.3.dist-info → compass_api_sdk-0.9.0.dist-info}/WHEEL +0 -0
compass_api_sdk/_version.py
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
import importlib.metadata
|
|
4
4
|
|
|
5
5
|
__title__: str = "compass_api_sdk"
|
|
6
|
-
__version__: str = "0.
|
|
6
|
+
__version__: str = "0.9.0"
|
|
7
7
|
__openapi_doc_version__: str = "0.0.1"
|
|
8
8
|
__gen_version__: str = "2.616.1"
|
|
9
|
-
__user_agent__: str = "speakeasy-sdk/python 0.
|
|
9
|
+
__user_agent__: str = "speakeasy-sdk/python 0.9.0 2.616.1 0.0.1 compass_api_sdk"
|
|
10
10
|
|
|
11
11
|
try:
|
|
12
12
|
if __package__ is not None:
|
compass_api_sdk/aave_v3.py
CHANGED
|
@@ -4,7 +4,7 @@ from .basesdk import BaseSDK
|
|
|
4
4
|
from compass_api_sdk import errors, models, utils
|
|
5
5
|
from compass_api_sdk._hooks import HookContext
|
|
6
6
|
from compass_api_sdk.types import OptionalNullable, UNSET
|
|
7
|
-
from typing import Any,
|
|
7
|
+
from typing import Any, Mapping, Optional, Union
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
class AaveV3(BaseSDK):
|
|
@@ -2064,7 +2064,6 @@ class AaveV3(BaseSDK):
|
|
|
2064
2064
|
chain: models.Chain,
|
|
2065
2065
|
sender: str,
|
|
2066
2066
|
on_behalf_of: OptionalNullable[str] = UNSET,
|
|
2067
|
-
additional_properties: Optional[Dict[str, Any]] = None,
|
|
2068
2067
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
2069
2068
|
server_url: Optional[str] = None,
|
|
2070
2069
|
timeout_ms: Optional[int] = None,
|
|
@@ -2087,7 +2086,6 @@ class AaveV3(BaseSDK):
|
|
|
2087
2086
|
:param chain: The chain to use.
|
|
2088
2087
|
:param sender: The address of the transaction sender.
|
|
2089
2088
|
:param on_behalf_of: The address on behalf of whom the supply is made. Defaults to the transaction sender.
|
|
2090
|
-
:param additional_properties:
|
|
2091
2089
|
:param retries: Override the default retry configuration for this method
|
|
2092
2090
|
:param server_url: Override the default server URL for this method
|
|
2093
2091
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -2109,7 +2107,6 @@ class AaveV3(BaseSDK):
|
|
|
2109
2107
|
on_behalf_of=on_behalf_of,
|
|
2110
2108
|
chain=chain,
|
|
2111
2109
|
sender=sender,
|
|
2112
|
-
**(additional_properties or {}),
|
|
2113
2110
|
)
|
|
2114
2111
|
|
|
2115
2112
|
req = self._build_request(
|
|
@@ -2190,7 +2187,6 @@ class AaveV3(BaseSDK):
|
|
|
2190
2187
|
chain: models.Chain,
|
|
2191
2188
|
sender: str,
|
|
2192
2189
|
on_behalf_of: OptionalNullable[str] = UNSET,
|
|
2193
|
-
additional_properties: Optional[Dict[str, Any]] = None,
|
|
2194
2190
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
2195
2191
|
server_url: Optional[str] = None,
|
|
2196
2192
|
timeout_ms: Optional[int] = None,
|
|
@@ -2213,7 +2209,6 @@ class AaveV3(BaseSDK):
|
|
|
2213
2209
|
:param chain: The chain to use.
|
|
2214
2210
|
:param sender: The address of the transaction sender.
|
|
2215
2211
|
:param on_behalf_of: The address on behalf of whom the supply is made. Defaults to the transaction sender.
|
|
2216
|
-
:param additional_properties:
|
|
2217
2212
|
:param retries: Override the default retry configuration for this method
|
|
2218
2213
|
:param server_url: Override the default server URL for this method
|
|
2219
2214
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -2235,7 +2230,6 @@ class AaveV3(BaseSDK):
|
|
|
2235
2230
|
on_behalf_of=on_behalf_of,
|
|
2236
2231
|
chain=chain,
|
|
2237
2232
|
sender=sender,
|
|
2238
|
-
**(additional_properties or {}),
|
|
2239
2233
|
)
|
|
2240
2234
|
|
|
2241
2235
|
req = self._build_request_async(
|
|
@@ -2317,7 +2311,6 @@ class AaveV3(BaseSDK):
|
|
|
2317
2311
|
chain: models.Chain,
|
|
2318
2312
|
sender: str,
|
|
2319
2313
|
on_behalf_of: OptionalNullable[str] = UNSET,
|
|
2320
|
-
additional_properties: Optional[Dict[str, Any]] = None,
|
|
2321
2314
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
2322
2315
|
server_url: Optional[str] = None,
|
|
2323
2316
|
timeout_ms: Optional[int] = None,
|
|
@@ -2336,7 +2329,6 @@ class AaveV3(BaseSDK):
|
|
|
2336
2329
|
:param chain: The chain to use.
|
|
2337
2330
|
:param sender: The address of the transaction sender.
|
|
2338
2331
|
:param on_behalf_of: The address on behalf of whom the supply is made
|
|
2339
|
-
:param additional_properties:
|
|
2340
2332
|
:param retries: Override the default retry configuration for this method
|
|
2341
2333
|
:param server_url: Override the default server URL for this method
|
|
2342
2334
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -2359,7 +2351,6 @@ class AaveV3(BaseSDK):
|
|
|
2359
2351
|
on_behalf_of=on_behalf_of,
|
|
2360
2352
|
chain=chain,
|
|
2361
2353
|
sender=sender,
|
|
2362
|
-
**(additional_properties or {}),
|
|
2363
2354
|
)
|
|
2364
2355
|
|
|
2365
2356
|
req = self._build_request(
|
|
@@ -2441,7 +2432,6 @@ class AaveV3(BaseSDK):
|
|
|
2441
2432
|
chain: models.Chain,
|
|
2442
2433
|
sender: str,
|
|
2443
2434
|
on_behalf_of: OptionalNullable[str] = UNSET,
|
|
2444
|
-
additional_properties: Optional[Dict[str, Any]] = None,
|
|
2445
2435
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
2446
2436
|
server_url: Optional[str] = None,
|
|
2447
2437
|
timeout_ms: Optional[int] = None,
|
|
@@ -2460,7 +2450,6 @@ class AaveV3(BaseSDK):
|
|
|
2460
2450
|
:param chain: The chain to use.
|
|
2461
2451
|
:param sender: The address of the transaction sender.
|
|
2462
2452
|
:param on_behalf_of: The address on behalf of whom the supply is made
|
|
2463
|
-
:param additional_properties:
|
|
2464
2453
|
:param retries: Override the default retry configuration for this method
|
|
2465
2454
|
:param server_url: Override the default server URL for this method
|
|
2466
2455
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -2483,7 +2472,6 @@ class AaveV3(BaseSDK):
|
|
|
2483
2472
|
on_behalf_of=on_behalf_of,
|
|
2484
2473
|
chain=chain,
|
|
2485
2474
|
sender=sender,
|
|
2486
|
-
**(additional_properties or {}),
|
|
2487
2475
|
)
|
|
2488
2476
|
|
|
2489
2477
|
req = self._build_request_async(
|
|
@@ -2565,7 +2553,6 @@ class AaveV3(BaseSDK):
|
|
|
2565
2553
|
chain: models.Chain,
|
|
2566
2554
|
sender: str,
|
|
2567
2555
|
on_behalf_of: OptionalNullable[str] = UNSET,
|
|
2568
|
-
additional_properties: Optional[Dict[str, Any]] = None,
|
|
2569
2556
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
2570
2557
|
server_url: Optional[str] = None,
|
|
2571
2558
|
timeout_ms: Optional[int] = None,
|
|
@@ -2588,7 +2575,6 @@ class AaveV3(BaseSDK):
|
|
|
2588
2575
|
:param chain: The chain to use.
|
|
2589
2576
|
:param sender: The address of the transaction sender.
|
|
2590
2577
|
:param on_behalf_of: The address on behalf of whom the supply is made
|
|
2591
|
-
:param additional_properties:
|
|
2592
2578
|
:param retries: Override the default retry configuration for this method
|
|
2593
2579
|
:param server_url: Override the default server URL for this method
|
|
2594
2580
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -2611,7 +2597,6 @@ class AaveV3(BaseSDK):
|
|
|
2611
2597
|
on_behalf_of=on_behalf_of,
|
|
2612
2598
|
chain=chain,
|
|
2613
2599
|
sender=sender,
|
|
2614
|
-
**(additional_properties or {}),
|
|
2615
2600
|
)
|
|
2616
2601
|
|
|
2617
2602
|
req = self._build_request(
|
|
@@ -2693,7 +2678,6 @@ class AaveV3(BaseSDK):
|
|
|
2693
2678
|
chain: models.Chain,
|
|
2694
2679
|
sender: str,
|
|
2695
2680
|
on_behalf_of: OptionalNullable[str] = UNSET,
|
|
2696
|
-
additional_properties: Optional[Dict[str, Any]] = None,
|
|
2697
2681
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
2698
2682
|
server_url: Optional[str] = None,
|
|
2699
2683
|
timeout_ms: Optional[int] = None,
|
|
@@ -2716,7 +2700,6 @@ class AaveV3(BaseSDK):
|
|
|
2716
2700
|
:param chain: The chain to use.
|
|
2717
2701
|
:param sender: The address of the transaction sender.
|
|
2718
2702
|
:param on_behalf_of: The address on behalf of whom the supply is made
|
|
2719
|
-
:param additional_properties:
|
|
2720
2703
|
:param retries: Override the default retry configuration for this method
|
|
2721
2704
|
:param server_url: Override the default server URL for this method
|
|
2722
2705
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -2739,7 +2722,6 @@ class AaveV3(BaseSDK):
|
|
|
2739
2722
|
on_behalf_of=on_behalf_of,
|
|
2740
2723
|
chain=chain,
|
|
2741
2724
|
sender=sender,
|
|
2742
|
-
**(additional_properties or {}),
|
|
2743
2725
|
)
|
|
2744
2726
|
|
|
2745
2727
|
req = self._build_request_async(
|
|
@@ -2820,7 +2802,6 @@ class AaveV3(BaseSDK):
|
|
|
2820
2802
|
recipient: str,
|
|
2821
2803
|
chain: models.Chain,
|
|
2822
2804
|
sender: str,
|
|
2823
|
-
additional_properties: Optional[Dict[str, Any]] = None,
|
|
2824
2805
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
2825
2806
|
server_url: Optional[str] = None,
|
|
2826
2807
|
timeout_ms: Optional[int] = None,
|
|
@@ -2843,7 +2824,6 @@ class AaveV3(BaseSDK):
|
|
|
2843
2824
|
:param recipient: The address of the recipient of the withdrawn funds.
|
|
2844
2825
|
:param chain: The chain to use.
|
|
2845
2826
|
:param sender: The address of the transaction sender.
|
|
2846
|
-
:param additional_properties:
|
|
2847
2827
|
:param retries: Override the default retry configuration for this method
|
|
2848
2828
|
:param server_url: Override the default server URL for this method
|
|
2849
2829
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -2865,7 +2845,6 @@ class AaveV3(BaseSDK):
|
|
|
2865
2845
|
recipient=recipient,
|
|
2866
2846
|
chain=chain,
|
|
2867
2847
|
sender=sender,
|
|
2868
|
-
**(additional_properties or {}),
|
|
2869
2848
|
)
|
|
2870
2849
|
|
|
2871
2850
|
req = self._build_request(
|
|
@@ -2946,7 +2925,6 @@ class AaveV3(BaseSDK):
|
|
|
2946
2925
|
recipient: str,
|
|
2947
2926
|
chain: models.Chain,
|
|
2948
2927
|
sender: str,
|
|
2949
|
-
additional_properties: Optional[Dict[str, Any]] = None,
|
|
2950
2928
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
2951
2929
|
server_url: Optional[str] = None,
|
|
2952
2930
|
timeout_ms: Optional[int] = None,
|
|
@@ -2969,7 +2947,6 @@ class AaveV3(BaseSDK):
|
|
|
2969
2947
|
:param recipient: The address of the recipient of the withdrawn funds.
|
|
2970
2948
|
:param chain: The chain to use.
|
|
2971
2949
|
:param sender: The address of the transaction sender.
|
|
2972
|
-
:param additional_properties:
|
|
2973
2950
|
:param retries: Override the default retry configuration for this method
|
|
2974
2951
|
:param server_url: Override the default server URL for this method
|
|
2975
2952
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -2991,7 +2968,6 @@ class AaveV3(BaseSDK):
|
|
|
2991
2968
|
recipient=recipient,
|
|
2992
2969
|
chain=chain,
|
|
2993
2970
|
sender=sender,
|
|
2994
|
-
**(additional_properties or {}),
|
|
2995
2971
|
)
|
|
2996
2972
|
|
|
2997
2973
|
req = self._build_request_async(
|
|
@@ -4,7 +4,7 @@ from .basesdk import BaseSDK
|
|
|
4
4
|
from compass_api_sdk import errors, models, utils
|
|
5
5
|
from compass_api_sdk._hooks import HookContext
|
|
6
6
|
from compass_api_sdk.types import OptionalNullable, UNSET
|
|
7
|
-
from typing import Any,
|
|
7
|
+
from typing import Any, Mapping, Optional, Union
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
class AerodromeSlipstream(BaseSDK):
|
|
@@ -488,7 +488,6 @@ class AerodromeSlipstream(BaseSDK):
|
|
|
488
488
|
models.AerodromeSlipstreamSellExactlyRequestAmountOutMinimumTypedDict,
|
|
489
489
|
]
|
|
490
490
|
] = None,
|
|
491
|
-
additional_properties: Optional[Dict[str, Any]] = None,
|
|
492
491
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
493
492
|
server_url: Optional[str] = None,
|
|
494
493
|
timeout_ms: Optional[int] = None,
|
|
@@ -513,7 +512,6 @@ class AerodromeSlipstream(BaseSDK):
|
|
|
513
512
|
:param chain: The chain to use.
|
|
514
513
|
:param sender: The address of the transaction sender.
|
|
515
514
|
:param amount_out_minimum: The minimum amount of the token to swap to, defaults to 0
|
|
516
|
-
:param additional_properties:
|
|
517
515
|
:param retries: Override the default retry configuration for this method
|
|
518
516
|
:param server_url: Override the default server URL for this method
|
|
519
517
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -537,7 +535,6 @@ class AerodromeSlipstream(BaseSDK):
|
|
|
537
535
|
amount_out_minimum=amount_out_minimum,
|
|
538
536
|
chain=chain,
|
|
539
537
|
sender=sender,
|
|
540
|
-
**(additional_properties or {}),
|
|
541
538
|
)
|
|
542
539
|
|
|
543
540
|
req = self._build_request(
|
|
@@ -630,7 +627,6 @@ class AerodromeSlipstream(BaseSDK):
|
|
|
630
627
|
models.AerodromeSlipstreamSellExactlyRequestAmountOutMinimumTypedDict,
|
|
631
628
|
]
|
|
632
629
|
] = None,
|
|
633
|
-
additional_properties: Optional[Dict[str, Any]] = None,
|
|
634
630
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
635
631
|
server_url: Optional[str] = None,
|
|
636
632
|
timeout_ms: Optional[int] = None,
|
|
@@ -655,7 +651,6 @@ class AerodromeSlipstream(BaseSDK):
|
|
|
655
651
|
:param chain: The chain to use.
|
|
656
652
|
:param sender: The address of the transaction sender.
|
|
657
653
|
:param amount_out_minimum: The minimum amount of the token to swap to, defaults to 0
|
|
658
|
-
:param additional_properties:
|
|
659
654
|
:param retries: Override the default retry configuration for this method
|
|
660
655
|
:param server_url: Override the default server URL for this method
|
|
661
656
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -679,7 +674,6 @@ class AerodromeSlipstream(BaseSDK):
|
|
|
679
674
|
amount_out_minimum=amount_out_minimum,
|
|
680
675
|
chain=chain,
|
|
681
676
|
sender=sender,
|
|
682
|
-
**(additional_properties or {}),
|
|
683
677
|
)
|
|
684
678
|
|
|
685
679
|
req = self._build_request_async(
|
|
@@ -770,7 +764,6 @@ class AerodromeSlipstream(BaseSDK):
|
|
|
770
764
|
],
|
|
771
765
|
chain: models.Chain,
|
|
772
766
|
sender: str,
|
|
773
|
-
additional_properties: Optional[Dict[str, Any]] = None,
|
|
774
767
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
775
768
|
server_url: Optional[str] = None,
|
|
776
769
|
timeout_ms: Optional[int] = None,
|
|
@@ -796,7 +789,6 @@ class AerodromeSlipstream(BaseSDK):
|
|
|
796
789
|
:param amount_in_maximum: The maximum amount of the token to swap from
|
|
797
790
|
:param chain: The chain to use.
|
|
798
791
|
:param sender: The address of the transaction sender.
|
|
799
|
-
:param additional_properties:
|
|
800
792
|
:param retries: Override the default retry configuration for this method
|
|
801
793
|
:param server_url: Override the default server URL for this method
|
|
802
794
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -820,7 +812,6 @@ class AerodromeSlipstream(BaseSDK):
|
|
|
820
812
|
amount_in_maximum=amount_in_maximum,
|
|
821
813
|
chain=chain,
|
|
822
814
|
sender=sender,
|
|
823
|
-
**(additional_properties or {}),
|
|
824
815
|
)
|
|
825
816
|
|
|
826
817
|
req = self._build_request(
|
|
@@ -911,7 +902,6 @@ class AerodromeSlipstream(BaseSDK):
|
|
|
911
902
|
],
|
|
912
903
|
chain: models.Chain,
|
|
913
904
|
sender: str,
|
|
914
|
-
additional_properties: Optional[Dict[str, Any]] = None,
|
|
915
905
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
916
906
|
server_url: Optional[str] = None,
|
|
917
907
|
timeout_ms: Optional[int] = None,
|
|
@@ -937,7 +927,6 @@ class AerodromeSlipstream(BaseSDK):
|
|
|
937
927
|
:param amount_in_maximum: The maximum amount of the token to swap from
|
|
938
928
|
:param chain: The chain to use.
|
|
939
929
|
:param sender: The address of the transaction sender.
|
|
940
|
-
:param additional_properties:
|
|
941
930
|
:param retries: Override the default retry configuration for this method
|
|
942
931
|
:param server_url: Override the default server URL for this method
|
|
943
932
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -961,7 +950,6 @@ class AerodromeSlipstream(BaseSDK):
|
|
|
961
950
|
amount_in_maximum=amount_in_maximum,
|
|
962
951
|
chain=chain,
|
|
963
952
|
sender=sender,
|
|
964
|
-
**(additional_properties or {}),
|
|
965
953
|
)
|
|
966
954
|
|
|
967
955
|
req = self._build_request_async(
|
|
@@ -1063,7 +1051,6 @@ class AerodromeSlipstream(BaseSDK):
|
|
|
1063
1051
|
chain: models.Chain,
|
|
1064
1052
|
sender: str,
|
|
1065
1053
|
recipient: OptionalNullable[str] = UNSET,
|
|
1066
|
-
additional_properties: Optional[Dict[str, Any]] = None,
|
|
1067
1054
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
1068
1055
|
server_url: Optional[str] = None,
|
|
1069
1056
|
timeout_ms: Optional[int] = None,
|
|
@@ -1093,7 +1080,6 @@ class AerodromeSlipstream(BaseSDK):
|
|
|
1093
1080
|
:param chain: The chain to use.
|
|
1094
1081
|
:param sender: The address of the transaction sender.
|
|
1095
1082
|
:param recipient: The address that will receive the LP tokens
|
|
1096
|
-
:param additional_properties:
|
|
1097
1083
|
:param retries: Override the default retry configuration for this method
|
|
1098
1084
|
:param server_url: Override the default server URL for this method
|
|
1099
1085
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -1122,7 +1108,6 @@ class AerodromeSlipstream(BaseSDK):
|
|
|
1122
1108
|
recipient=recipient,
|
|
1123
1109
|
chain=chain,
|
|
1124
1110
|
sender=sender,
|
|
1125
|
-
**(additional_properties or {}),
|
|
1126
1111
|
)
|
|
1127
1112
|
|
|
1128
1113
|
req = self._build_request(
|
|
@@ -1224,7 +1209,6 @@ class AerodromeSlipstream(BaseSDK):
|
|
|
1224
1209
|
chain: models.Chain,
|
|
1225
1210
|
sender: str,
|
|
1226
1211
|
recipient: OptionalNullable[str] = UNSET,
|
|
1227
|
-
additional_properties: Optional[Dict[str, Any]] = None,
|
|
1228
1212
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
1229
1213
|
server_url: Optional[str] = None,
|
|
1230
1214
|
timeout_ms: Optional[int] = None,
|
|
@@ -1254,7 +1238,6 @@ class AerodromeSlipstream(BaseSDK):
|
|
|
1254
1238
|
:param chain: The chain to use.
|
|
1255
1239
|
:param sender: The address of the transaction sender.
|
|
1256
1240
|
:param recipient: The address that will receive the LP tokens
|
|
1257
|
-
:param additional_properties:
|
|
1258
1241
|
:param retries: Override the default retry configuration for this method
|
|
1259
1242
|
:param server_url: Override the default server URL for this method
|
|
1260
1243
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -1283,7 +1266,6 @@ class AerodromeSlipstream(BaseSDK):
|
|
|
1283
1266
|
recipient=recipient,
|
|
1284
1267
|
chain=chain,
|
|
1285
1268
|
sender=sender,
|
|
1286
|
-
**(additional_properties or {}),
|
|
1287
1269
|
)
|
|
1288
1270
|
|
|
1289
1271
|
req = self._build_request_async(
|
|
@@ -1380,7 +1362,6 @@ class AerodromeSlipstream(BaseSDK):
|
|
|
1380
1362
|
],
|
|
1381
1363
|
chain: models.Chain,
|
|
1382
1364
|
sender: str,
|
|
1383
|
-
additional_properties: Optional[Dict[str, Any]] = None,
|
|
1384
1365
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
1385
1366
|
server_url: Optional[str] = None,
|
|
1386
1367
|
timeout_ms: Optional[int] = None,
|
|
@@ -1407,7 +1388,6 @@ class AerodromeSlipstream(BaseSDK):
|
|
|
1407
1388
|
:param amount1_min: The minimum amount of the second token to deposit
|
|
1408
1389
|
:param chain: The chain to use.
|
|
1409
1390
|
:param sender: The address of the transaction sender.
|
|
1410
|
-
:param additional_properties:
|
|
1411
1391
|
:param retries: Override the default retry configuration for this method
|
|
1412
1392
|
:param server_url: Override the default server URL for this method
|
|
1413
1393
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -1431,7 +1411,6 @@ class AerodromeSlipstream(BaseSDK):
|
|
|
1431
1411
|
amount1_min=amount1_min,
|
|
1432
1412
|
chain=chain,
|
|
1433
1413
|
sender=sender,
|
|
1434
|
-
**(additional_properties or {}),
|
|
1435
1414
|
)
|
|
1436
1415
|
|
|
1437
1416
|
req = self._build_request(
|
|
@@ -1528,7 +1507,6 @@ class AerodromeSlipstream(BaseSDK):
|
|
|
1528
1507
|
],
|
|
1529
1508
|
chain: models.Chain,
|
|
1530
1509
|
sender: str,
|
|
1531
|
-
additional_properties: Optional[Dict[str, Any]] = None,
|
|
1532
1510
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
1533
1511
|
server_url: Optional[str] = None,
|
|
1534
1512
|
timeout_ms: Optional[int] = None,
|
|
@@ -1555,7 +1533,6 @@ class AerodromeSlipstream(BaseSDK):
|
|
|
1555
1533
|
:param amount1_min: The minimum amount of the second token to deposit
|
|
1556
1534
|
:param chain: The chain to use.
|
|
1557
1535
|
:param sender: The address of the transaction sender.
|
|
1558
|
-
:param additional_properties:
|
|
1559
1536
|
:param retries: Override the default retry configuration for this method
|
|
1560
1537
|
:param server_url: Override the default server URL for this method
|
|
1561
1538
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -1579,7 +1556,6 @@ class AerodromeSlipstream(BaseSDK):
|
|
|
1579
1556
|
amount1_min=amount1_min,
|
|
1580
1557
|
chain=chain,
|
|
1581
1558
|
sender=sender,
|
|
1582
|
-
**(additional_properties or {}),
|
|
1583
1559
|
)
|
|
1584
1560
|
|
|
1585
1561
|
req = self._build_request_async(
|
|
@@ -1664,7 +1640,6 @@ class AerodromeSlipstream(BaseSDK):
|
|
|
1664
1640
|
],
|
|
1665
1641
|
chain: models.Chain,
|
|
1666
1642
|
sender: str,
|
|
1667
|
-
additional_properties: Optional[Dict[str, Any]] = None,
|
|
1668
1643
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
1669
1644
|
server_url: Optional[str] = None,
|
|
1670
1645
|
timeout_ms: Optional[int] = None,
|
|
@@ -1688,7 +1663,6 @@ class AerodromeSlipstream(BaseSDK):
|
|
|
1688
1663
|
:param percentage_for_withdrawal: How much liquidity to take out in percentage.
|
|
1689
1664
|
:param chain: The chain to use.
|
|
1690
1665
|
:param sender: The address of the transaction sender.
|
|
1691
|
-
:param additional_properties:
|
|
1692
1666
|
:param retries: Override the default retry configuration for this method
|
|
1693
1667
|
:param server_url: Override the default server URL for this method
|
|
1694
1668
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -1709,7 +1683,6 @@ class AerodromeSlipstream(BaseSDK):
|
|
|
1709
1683
|
percentage_for_withdrawal=percentage_for_withdrawal,
|
|
1710
1684
|
chain=chain,
|
|
1711
1685
|
sender=sender,
|
|
1712
|
-
**(additional_properties or {}),
|
|
1713
1686
|
)
|
|
1714
1687
|
|
|
1715
1688
|
req = self._build_request(
|
|
@@ -1794,7 +1767,6 @@ class AerodromeSlipstream(BaseSDK):
|
|
|
1794
1767
|
],
|
|
1795
1768
|
chain: models.Chain,
|
|
1796
1769
|
sender: str,
|
|
1797
|
-
additional_properties: Optional[Dict[str, Any]] = None,
|
|
1798
1770
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
1799
1771
|
server_url: Optional[str] = None,
|
|
1800
1772
|
timeout_ms: Optional[int] = None,
|
|
@@ -1818,7 +1790,6 @@ class AerodromeSlipstream(BaseSDK):
|
|
|
1818
1790
|
:param percentage_for_withdrawal: How much liquidity to take out in percentage.
|
|
1819
1791
|
:param chain: The chain to use.
|
|
1820
1792
|
:param sender: The address of the transaction sender.
|
|
1821
|
-
:param additional_properties:
|
|
1822
1793
|
:param retries: Override the default retry configuration for this method
|
|
1823
1794
|
:param server_url: Override the default server URL for this method
|
|
1824
1795
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -1839,7 +1810,6 @@ class AerodromeSlipstream(BaseSDK):
|
|
|
1839
1810
|
percentage_for_withdrawal=percentage_for_withdrawal,
|
|
1840
1811
|
chain=chain,
|
|
1841
1812
|
sender=sender,
|
|
1842
|
-
**(additional_properties or {}),
|
|
1843
1813
|
)
|
|
1844
1814
|
|
|
1845
1815
|
req = self._build_request_async(
|
|
@@ -10,9 +10,8 @@ from compass_api_sdk.types import (
|
|
|
10
10
|
UNSET,
|
|
11
11
|
UNSET_SENTINEL,
|
|
12
12
|
)
|
|
13
|
-
import
|
|
14
|
-
from
|
|
15
|
-
from typing import Any, Dict, Union
|
|
13
|
+
from pydantic import model_serializer
|
|
14
|
+
from typing import Union
|
|
16
15
|
from typing_extensions import NotRequired, TypeAliasType, TypedDict
|
|
17
16
|
|
|
18
17
|
|
|
@@ -45,11 +44,6 @@ class AaveBorrowParamsTypedDict(TypedDict):
|
|
|
45
44
|
|
|
46
45
|
|
|
47
46
|
class AaveBorrowParams(BaseModel):
|
|
48
|
-
model_config = ConfigDict(
|
|
49
|
-
populate_by_name=True, arbitrary_types_allowed=True, extra="allow"
|
|
50
|
-
)
|
|
51
|
-
__pydantic_extra__: Dict[str, Any] = pydantic.Field(init=False)
|
|
52
|
-
|
|
53
47
|
token: TokenEnum
|
|
54
48
|
r"""A class representing the token.
|
|
55
49
|
|
|
@@ -69,14 +63,6 @@ class AaveBorrowParams(BaseModel):
|
|
|
69
63
|
on_behalf_of: OptionalNullable[str] = UNSET
|
|
70
64
|
r"""The address on behalf of whom the supply is made"""
|
|
71
65
|
|
|
72
|
-
@property
|
|
73
|
-
def additional_properties(self):
|
|
74
|
-
return self.__pydantic_extra__
|
|
75
|
-
|
|
76
|
-
@additional_properties.setter
|
|
77
|
-
def additional_properties(self, value):
|
|
78
|
-
self.__pydantic_extra__ = value # pyright: ignore[reportIncompatibleVariableOverride]
|
|
79
|
-
|
|
80
66
|
@model_serializer(mode="wrap")
|
|
81
67
|
def serialize_model(self, handler):
|
|
82
68
|
optional_fields = ["on_behalf_of"]
|
|
@@ -105,7 +91,4 @@ class AaveBorrowParams(BaseModel):
|
|
|
105
91
|
):
|
|
106
92
|
m[k] = val
|
|
107
93
|
|
|
108
|
-
for k, v in serialized.items():
|
|
109
|
-
m[k] = v
|
|
110
|
-
|
|
111
94
|
return m
|
|
@@ -11,9 +11,8 @@ from compass_api_sdk.types import (
|
|
|
11
11
|
UNSET,
|
|
12
12
|
UNSET_SENTINEL,
|
|
13
13
|
)
|
|
14
|
-
import
|
|
15
|
-
from
|
|
16
|
-
from typing import Any, Dict, Union
|
|
14
|
+
from pydantic import model_serializer
|
|
15
|
+
from typing import Union
|
|
17
16
|
from typing_extensions import NotRequired, TypeAliasType, TypedDict
|
|
18
17
|
|
|
19
18
|
|
|
@@ -50,11 +49,6 @@ class AaveBorrowRequestTypedDict(TypedDict):
|
|
|
50
49
|
|
|
51
50
|
|
|
52
51
|
class AaveBorrowRequest(BaseModel):
|
|
53
|
-
model_config = ConfigDict(
|
|
54
|
-
populate_by_name=True, arbitrary_types_allowed=True, extra="allow"
|
|
55
|
-
)
|
|
56
|
-
__pydantic_extra__: Dict[str, Any] = pydantic.Field(init=False)
|
|
57
|
-
|
|
58
52
|
token: TokenEnum
|
|
59
53
|
r"""A class representing the token.
|
|
60
54
|
|
|
@@ -80,14 +74,6 @@ class AaveBorrowRequest(BaseModel):
|
|
|
80
74
|
on_behalf_of: OptionalNullable[str] = UNSET
|
|
81
75
|
r"""The address on behalf of whom the supply is made"""
|
|
82
76
|
|
|
83
|
-
@property
|
|
84
|
-
def additional_properties(self):
|
|
85
|
-
return self.__pydantic_extra__
|
|
86
|
-
|
|
87
|
-
@additional_properties.setter
|
|
88
|
-
def additional_properties(self, value):
|
|
89
|
-
self.__pydantic_extra__ = value # pyright: ignore[reportIncompatibleVariableOverride]
|
|
90
|
-
|
|
91
77
|
@model_serializer(mode="wrap")
|
|
92
78
|
def serialize_model(self, handler):
|
|
93
79
|
optional_fields = ["on_behalf_of"]
|
|
@@ -116,7 +102,4 @@ class AaveBorrowRequest(BaseModel):
|
|
|
116
102
|
):
|
|
117
103
|
m[k] = val
|
|
118
104
|
|
|
119
|
-
for k, v in serialized.items():
|
|
120
|
-
m[k] = v
|
|
121
|
-
|
|
122
105
|
return m
|
|
@@ -10,9 +10,8 @@ from compass_api_sdk.types import (
|
|
|
10
10
|
UNSET,
|
|
11
11
|
UNSET_SENTINEL,
|
|
12
12
|
)
|
|
13
|
-
import
|
|
14
|
-
from
|
|
15
|
-
from typing import Any, Dict, Union
|
|
13
|
+
from pydantic import model_serializer
|
|
14
|
+
from typing import Union
|
|
16
15
|
from typing_extensions import NotRequired, TypeAliasType, TypedDict
|
|
17
16
|
|
|
18
17
|
|
|
@@ -45,11 +44,6 @@ class AaveRepayParamsTypedDict(TypedDict):
|
|
|
45
44
|
|
|
46
45
|
|
|
47
46
|
class AaveRepayParams(BaseModel):
|
|
48
|
-
model_config = ConfigDict(
|
|
49
|
-
populate_by_name=True, arbitrary_types_allowed=True, extra="allow"
|
|
50
|
-
)
|
|
51
|
-
__pydantic_extra__: Dict[str, Any] = pydantic.Field(init=False)
|
|
52
|
-
|
|
53
47
|
token: TokenEnum
|
|
54
48
|
r"""A class representing the token.
|
|
55
49
|
|
|
@@ -69,14 +63,6 @@ class AaveRepayParams(BaseModel):
|
|
|
69
63
|
on_behalf_of: OptionalNullable[str] = UNSET
|
|
70
64
|
r"""The address on behalf of whom the supply is made"""
|
|
71
65
|
|
|
72
|
-
@property
|
|
73
|
-
def additional_properties(self):
|
|
74
|
-
return self.__pydantic_extra__
|
|
75
|
-
|
|
76
|
-
@additional_properties.setter
|
|
77
|
-
def additional_properties(self, value):
|
|
78
|
-
self.__pydantic_extra__ = value # pyright: ignore[reportIncompatibleVariableOverride]
|
|
79
|
-
|
|
80
66
|
@model_serializer(mode="wrap")
|
|
81
67
|
def serialize_model(self, handler):
|
|
82
68
|
optional_fields = ["on_behalf_of"]
|
|
@@ -105,7 +91,4 @@ class AaveRepayParams(BaseModel):
|
|
|
105
91
|
):
|
|
106
92
|
m[k] = val
|
|
107
93
|
|
|
108
|
-
for k, v in serialized.items():
|
|
109
|
-
m[k] = v
|
|
110
|
-
|
|
111
94
|
return m
|
|
@@ -11,9 +11,8 @@ from compass_api_sdk.types import (
|
|
|
11
11
|
UNSET,
|
|
12
12
|
UNSET_SENTINEL,
|
|
13
13
|
)
|
|
14
|
-
import
|
|
15
|
-
from
|
|
16
|
-
from typing import Any, Dict, Union
|
|
14
|
+
from pydantic import model_serializer
|
|
15
|
+
from typing import Union
|
|
17
16
|
from typing_extensions import NotRequired, TypeAliasType, TypedDict
|
|
18
17
|
|
|
19
18
|
|
|
@@ -50,11 +49,6 @@ class AaveRepayRequestTypedDict(TypedDict):
|
|
|
50
49
|
|
|
51
50
|
|
|
52
51
|
class AaveRepayRequest(BaseModel):
|
|
53
|
-
model_config = ConfigDict(
|
|
54
|
-
populate_by_name=True, arbitrary_types_allowed=True, extra="allow"
|
|
55
|
-
)
|
|
56
|
-
__pydantic_extra__: Dict[str, Any] = pydantic.Field(init=False)
|
|
57
|
-
|
|
58
52
|
token: TokenEnum
|
|
59
53
|
r"""A class representing the token.
|
|
60
54
|
|
|
@@ -80,14 +74,6 @@ class AaveRepayRequest(BaseModel):
|
|
|
80
74
|
on_behalf_of: OptionalNullable[str] = UNSET
|
|
81
75
|
r"""The address on behalf of whom the supply is made"""
|
|
82
76
|
|
|
83
|
-
@property
|
|
84
|
-
def additional_properties(self):
|
|
85
|
-
return self.__pydantic_extra__
|
|
86
|
-
|
|
87
|
-
@additional_properties.setter
|
|
88
|
-
def additional_properties(self, value):
|
|
89
|
-
self.__pydantic_extra__ = value # pyright: ignore[reportIncompatibleVariableOverride]
|
|
90
|
-
|
|
91
77
|
@model_serializer(mode="wrap")
|
|
92
78
|
def serialize_model(self, handler):
|
|
93
79
|
optional_fields = ["on_behalf_of"]
|
|
@@ -116,7 +102,4 @@ class AaveRepayRequest(BaseModel):
|
|
|
116
102
|
):
|
|
117
103
|
m[k] = val
|
|
118
104
|
|
|
119
|
-
for k, v in serialized.items():
|
|
120
|
-
m[k] = v
|
|
121
|
-
|
|
122
105
|
return m
|
|
@@ -9,9 +9,8 @@ from compass_api_sdk.types import (
|
|
|
9
9
|
UNSET,
|
|
10
10
|
UNSET_SENTINEL,
|
|
11
11
|
)
|
|
12
|
-
import
|
|
13
|
-
from
|
|
14
|
-
from typing import Any, Dict, Union
|
|
12
|
+
from pydantic import model_serializer
|
|
13
|
+
from typing import Union
|
|
15
14
|
from typing_extensions import NotRequired, TypeAliasType, TypedDict
|
|
16
15
|
|
|
17
16
|
|
|
@@ -39,11 +38,6 @@ class AaveSupplyParamsTypedDict(TypedDict):
|
|
|
39
38
|
|
|
40
39
|
|
|
41
40
|
class AaveSupplyParams(BaseModel):
|
|
42
|
-
model_config = ConfigDict(
|
|
43
|
-
populate_by_name=True, arbitrary_types_allowed=True, extra="allow"
|
|
44
|
-
)
|
|
45
|
-
__pydantic_extra__: Dict[str, Any] = pydantic.Field(init=False)
|
|
46
|
-
|
|
47
41
|
token: TokenEnum
|
|
48
42
|
r"""A class representing the token.
|
|
49
43
|
|
|
@@ -57,14 +51,6 @@ class AaveSupplyParams(BaseModel):
|
|
|
57
51
|
on_behalf_of: OptionalNullable[str] = UNSET
|
|
58
52
|
r"""The address on behalf of whom the supply is made. Defaults to the transaction sender."""
|
|
59
53
|
|
|
60
|
-
@property
|
|
61
|
-
def additional_properties(self):
|
|
62
|
-
return self.__pydantic_extra__
|
|
63
|
-
|
|
64
|
-
@additional_properties.setter
|
|
65
|
-
def additional_properties(self, value):
|
|
66
|
-
self.__pydantic_extra__ = value # pyright: ignore[reportIncompatibleVariableOverride]
|
|
67
|
-
|
|
68
54
|
@model_serializer(mode="wrap")
|
|
69
55
|
def serialize_model(self, handler):
|
|
70
56
|
optional_fields = ["on_behalf_of"]
|
|
@@ -93,7 +79,4 @@ class AaveSupplyParams(BaseModel):
|
|
|
93
79
|
):
|
|
94
80
|
m[k] = val
|
|
95
81
|
|
|
96
|
-
for k, v in serialized.items():
|
|
97
|
-
m[k] = v
|
|
98
|
-
|
|
99
82
|
return m
|