compass_api_sdk 0.3.11__py3-none-any.whl → 0.4.1__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 +3 -3
- compass_api_sdk/aave_v3.py +16 -16
- compass_api_sdk/aerodrome_slipstream.py +20 -20
- compass_api_sdk/models/__init__.py +21 -8
- compass_api_sdk/models/batcheduseroperationsrequest.py +42 -0
- compass_api_sdk/models/batcheduseroperationsresponse.py +17 -0
- compass_api_sdk/models/multicallexecuterequest.py +3 -3
- compass_api_sdk/models/txresponse.py +18 -0
- compass_api_sdk/models/{multicallaction.py → useroperation.py} +2 -2
- compass_api_sdk/models/useroperationresponse.py +25 -0
- compass_api_sdk/morpho.py +28 -28
- compass_api_sdk/sdk.py +3 -0
- compass_api_sdk/sky.py +16 -16
- compass_api_sdk/smart_account.py +229 -0
- compass_api_sdk/token_sdk.py +4 -4
- compass_api_sdk/transaction_batching.py +4 -8
- compass_api_sdk/uniswap_v3.py +20 -20
- compass_api_sdk/universal.py +12 -12
- {compass_api_sdk-0.3.11.dist-info → compass_api_sdk-0.4.1.dist-info}/METADATA +5 -1
- {compass_api_sdk-0.3.11.dist-info → compass_api_sdk-0.4.1.dist-info}/RECORD +21 -16
- {compass_api_sdk-0.3.11.dist-info → compass_api_sdk-0.4.1.dist-info}/WHEEL +0 -0
|
@@ -236,9 +236,7 @@ class TransactionBatching(BaseSDK):
|
|
|
236
236
|
signed_authorization: Union[
|
|
237
237
|
models.SignedAuthorization, models.SignedAuthorizationTypedDict
|
|
238
238
|
],
|
|
239
|
-
actions: Union[
|
|
240
|
-
List[models.MulticallAction], List[models.MulticallActionTypedDict]
|
|
241
|
-
],
|
|
239
|
+
actions: Union[List[models.UserOperation], List[models.UserOperationTypedDict]],
|
|
242
240
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
243
241
|
server_url: Optional[str] = None,
|
|
244
242
|
timeout_ms: Optional[int] = None,
|
|
@@ -278,7 +276,7 @@ class TransactionBatching(BaseSDK):
|
|
|
278
276
|
signed_authorization=utils.get_pydantic_model(
|
|
279
277
|
signed_authorization, models.SignedAuthorization
|
|
280
278
|
),
|
|
281
|
-
actions=utils.get_pydantic_model(actions, List[models.
|
|
279
|
+
actions=utils.get_pydantic_model(actions, List[models.UserOperation]),
|
|
282
280
|
)
|
|
283
281
|
|
|
284
282
|
req = self._build_request(
|
|
@@ -358,9 +356,7 @@ class TransactionBatching(BaseSDK):
|
|
|
358
356
|
signed_authorization: Union[
|
|
359
357
|
models.SignedAuthorization, models.SignedAuthorizationTypedDict
|
|
360
358
|
],
|
|
361
|
-
actions: Union[
|
|
362
|
-
List[models.MulticallAction], List[models.MulticallActionTypedDict]
|
|
363
|
-
],
|
|
359
|
+
actions: Union[List[models.UserOperation], List[models.UserOperationTypedDict]],
|
|
364
360
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
365
361
|
server_url: Optional[str] = None,
|
|
366
362
|
timeout_ms: Optional[int] = None,
|
|
@@ -400,7 +396,7 @@ class TransactionBatching(BaseSDK):
|
|
|
400
396
|
signed_authorization=utils.get_pydantic_model(
|
|
401
397
|
signed_authorization, models.SignedAuthorization
|
|
402
398
|
),
|
|
403
|
-
actions=utils.get_pydantic_model(actions, List[models.
|
|
399
|
+
actions=utils.get_pydantic_model(actions, List[models.UserOperation]),
|
|
404
400
|
)
|
|
405
401
|
|
|
406
402
|
req = self._build_request_async(
|
compass_api_sdk/uniswap_v3.py
CHANGED
|
@@ -1148,7 +1148,7 @@ class UniswapV3(BaseSDK):
|
|
|
1148
1148
|
server_url: Optional[str] = None,
|
|
1149
1149
|
timeout_ms: Optional[int] = None,
|
|
1150
1150
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1151
|
-
) -> models.
|
|
1151
|
+
) -> models.TxResponse:
|
|
1152
1152
|
r"""Buy exact amount
|
|
1153
1153
|
|
|
1154
1154
|
This endpoint allows users to trade a variable amount of one token to receive an
|
|
@@ -1234,7 +1234,7 @@ class UniswapV3(BaseSDK):
|
|
|
1234
1234
|
|
|
1235
1235
|
response_data: Any = None
|
|
1236
1236
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1237
|
-
return utils.unmarshal_json(http_res.text, models.
|
|
1237
|
+
return utils.unmarshal_json(http_res.text, models.TxResponse)
|
|
1238
1238
|
if utils.match_response(http_res, "422", "application/json"):
|
|
1239
1239
|
response_data = utils.unmarshal_json(
|
|
1240
1240
|
http_res.text, errors.HTTPValidationErrorData
|
|
@@ -1278,7 +1278,7 @@ class UniswapV3(BaseSDK):
|
|
|
1278
1278
|
server_url: Optional[str] = None,
|
|
1279
1279
|
timeout_ms: Optional[int] = None,
|
|
1280
1280
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1281
|
-
) -> models.
|
|
1281
|
+
) -> models.TxResponse:
|
|
1282
1282
|
r"""Buy exact amount
|
|
1283
1283
|
|
|
1284
1284
|
This endpoint allows users to trade a variable amount of one token to receive an
|
|
@@ -1364,7 +1364,7 @@ class UniswapV3(BaseSDK):
|
|
|
1364
1364
|
|
|
1365
1365
|
response_data: Any = None
|
|
1366
1366
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1367
|
-
return utils.unmarshal_json(http_res.text, models.
|
|
1367
|
+
return utils.unmarshal_json(http_res.text, models.TxResponse)
|
|
1368
1368
|
if utils.match_response(http_res, "422", "application/json"):
|
|
1369
1369
|
response_data = utils.unmarshal_json(
|
|
1370
1370
|
http_res.text, errors.HTTPValidationErrorData
|
|
@@ -1408,7 +1408,7 @@ class UniswapV3(BaseSDK):
|
|
|
1408
1408
|
server_url: Optional[str] = None,
|
|
1409
1409
|
timeout_ms: Optional[int] = None,
|
|
1410
1410
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1411
|
-
) -> models.
|
|
1411
|
+
) -> models.TxResponse:
|
|
1412
1412
|
r"""Sell exact amount
|
|
1413
1413
|
|
|
1414
1414
|
This endpoint allows users to trade a specific amount of one token into another
|
|
@@ -1494,7 +1494,7 @@ class UniswapV3(BaseSDK):
|
|
|
1494
1494
|
|
|
1495
1495
|
response_data: Any = None
|
|
1496
1496
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1497
|
-
return utils.unmarshal_json(http_res.text, models.
|
|
1497
|
+
return utils.unmarshal_json(http_res.text, models.TxResponse)
|
|
1498
1498
|
if utils.match_response(http_res, "422", "application/json"):
|
|
1499
1499
|
response_data = utils.unmarshal_json(
|
|
1500
1500
|
http_res.text, errors.HTTPValidationErrorData
|
|
@@ -1538,7 +1538,7 @@ class UniswapV3(BaseSDK):
|
|
|
1538
1538
|
server_url: Optional[str] = None,
|
|
1539
1539
|
timeout_ms: Optional[int] = None,
|
|
1540
1540
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1541
|
-
) -> models.
|
|
1541
|
+
) -> models.TxResponse:
|
|
1542
1542
|
r"""Sell exact amount
|
|
1543
1543
|
|
|
1544
1544
|
This endpoint allows users to trade a specific amount of one token into another
|
|
@@ -1624,7 +1624,7 @@ class UniswapV3(BaseSDK):
|
|
|
1624
1624
|
|
|
1625
1625
|
response_data: Any = None
|
|
1626
1626
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1627
|
-
return utils.unmarshal_json(http_res.text, models.
|
|
1627
|
+
return utils.unmarshal_json(http_res.text, models.TxResponse)
|
|
1628
1628
|
if utils.match_response(http_res, "422", "application/json"):
|
|
1629
1629
|
response_data = utils.unmarshal_json(
|
|
1630
1630
|
http_res.text, errors.HTTPValidationErrorData
|
|
@@ -1676,7 +1676,7 @@ class UniswapV3(BaseSDK):
|
|
|
1676
1676
|
server_url: Optional[str] = None,
|
|
1677
1677
|
timeout_ms: Optional[int] = None,
|
|
1678
1678
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1679
|
-
) -> models.
|
|
1679
|
+
) -> models.TxResponse:
|
|
1680
1680
|
r"""Increase an LP position
|
|
1681
1681
|
|
|
1682
1682
|
This endpoint allows users to increase their existing Liquidity Provider (LP)
|
|
@@ -1766,7 +1766,7 @@ class UniswapV3(BaseSDK):
|
|
|
1766
1766
|
|
|
1767
1767
|
response_data: Any = None
|
|
1768
1768
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1769
|
-
return utils.unmarshal_json(http_res.text, models.
|
|
1769
|
+
return utils.unmarshal_json(http_res.text, models.TxResponse)
|
|
1770
1770
|
if utils.match_response(http_res, "422", "application/json"):
|
|
1771
1771
|
response_data = utils.unmarshal_json(
|
|
1772
1772
|
http_res.text, errors.HTTPValidationErrorData
|
|
@@ -1818,7 +1818,7 @@ class UniswapV3(BaseSDK):
|
|
|
1818
1818
|
server_url: Optional[str] = None,
|
|
1819
1819
|
timeout_ms: Optional[int] = None,
|
|
1820
1820
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1821
|
-
) -> models.
|
|
1821
|
+
) -> models.TxResponse:
|
|
1822
1822
|
r"""Increase an LP position
|
|
1823
1823
|
|
|
1824
1824
|
This endpoint allows users to increase their existing Liquidity Provider (LP)
|
|
@@ -1908,7 +1908,7 @@ class UniswapV3(BaseSDK):
|
|
|
1908
1908
|
|
|
1909
1909
|
response_data: Any = None
|
|
1910
1910
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1911
|
-
return utils.unmarshal_json(http_res.text, models.
|
|
1911
|
+
return utils.unmarshal_json(http_res.text, models.TxResponse)
|
|
1912
1912
|
if utils.match_response(http_res, "422", "application/json"):
|
|
1913
1913
|
response_data = utils.unmarshal_json(
|
|
1914
1914
|
http_res.text, errors.HTTPValidationErrorData
|
|
@@ -1965,7 +1965,7 @@ class UniswapV3(BaseSDK):
|
|
|
1965
1965
|
server_url: Optional[str] = None,
|
|
1966
1966
|
timeout_ms: Optional[int] = None,
|
|
1967
1967
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1968
|
-
) -> models.
|
|
1968
|
+
) -> models.TxResponse:
|
|
1969
1969
|
r"""Open a new LP position
|
|
1970
1970
|
|
|
1971
1971
|
This endpoint allows users to open a new Liquidity Provider (LP) position on the
|
|
@@ -2065,7 +2065,7 @@ class UniswapV3(BaseSDK):
|
|
|
2065
2065
|
|
|
2066
2066
|
response_data: Any = None
|
|
2067
2067
|
if utils.match_response(http_res, "200", "application/json"):
|
|
2068
|
-
return utils.unmarshal_json(http_res.text, models.
|
|
2068
|
+
return utils.unmarshal_json(http_res.text, models.TxResponse)
|
|
2069
2069
|
if utils.match_response(http_res, "422", "application/json"):
|
|
2070
2070
|
response_data = utils.unmarshal_json(
|
|
2071
2071
|
http_res.text, errors.HTTPValidationErrorData
|
|
@@ -2122,7 +2122,7 @@ class UniswapV3(BaseSDK):
|
|
|
2122
2122
|
server_url: Optional[str] = None,
|
|
2123
2123
|
timeout_ms: Optional[int] = None,
|
|
2124
2124
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
2125
|
-
) -> models.
|
|
2125
|
+
) -> models.TxResponse:
|
|
2126
2126
|
r"""Open a new LP position
|
|
2127
2127
|
|
|
2128
2128
|
This endpoint allows users to open a new Liquidity Provider (LP) position on the
|
|
@@ -2222,7 +2222,7 @@ class UniswapV3(BaseSDK):
|
|
|
2222
2222
|
|
|
2223
2223
|
response_data: Any = None
|
|
2224
2224
|
if utils.match_response(http_res, "200", "application/json"):
|
|
2225
|
-
return utils.unmarshal_json(http_res.text, models.
|
|
2225
|
+
return utils.unmarshal_json(http_res.text, models.TxResponse)
|
|
2226
2226
|
if utils.match_response(http_res, "422", "application/json"):
|
|
2227
2227
|
response_data = utils.unmarshal_json(
|
|
2228
2228
|
http_res.text, errors.HTTPValidationErrorData
|
|
@@ -2262,7 +2262,7 @@ class UniswapV3(BaseSDK):
|
|
|
2262
2262
|
server_url: Optional[str] = None,
|
|
2263
2263
|
timeout_ms: Optional[int] = None,
|
|
2264
2264
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
2265
|
-
) -> models.
|
|
2265
|
+
) -> models.TxResponse:
|
|
2266
2266
|
r"""Withdraw an LP position
|
|
2267
2267
|
|
|
2268
2268
|
This endpoint allows users to withdraw their Liquidity Provider (LP) positions
|
|
@@ -2347,7 +2347,7 @@ class UniswapV3(BaseSDK):
|
|
|
2347
2347
|
|
|
2348
2348
|
response_data: Any = None
|
|
2349
2349
|
if utils.match_response(http_res, "200", "application/json"):
|
|
2350
|
-
return utils.unmarshal_json(http_res.text, models.
|
|
2350
|
+
return utils.unmarshal_json(http_res.text, models.TxResponse)
|
|
2351
2351
|
if utils.match_response(http_res, "422", "application/json"):
|
|
2352
2352
|
response_data = utils.unmarshal_json(
|
|
2353
2353
|
http_res.text, errors.HTTPValidationErrorData
|
|
@@ -2387,7 +2387,7 @@ class UniswapV3(BaseSDK):
|
|
|
2387
2387
|
server_url: Optional[str] = None,
|
|
2388
2388
|
timeout_ms: Optional[int] = None,
|
|
2389
2389
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
2390
|
-
) -> models.
|
|
2390
|
+
) -> models.TxResponse:
|
|
2391
2391
|
r"""Withdraw an LP position
|
|
2392
2392
|
|
|
2393
2393
|
This endpoint allows users to withdraw their Liquidity Provider (LP) positions
|
|
@@ -2472,7 +2472,7 @@ class UniswapV3(BaseSDK):
|
|
|
2472
2472
|
|
|
2473
2473
|
response_data: Any = None
|
|
2474
2474
|
if utils.match_response(http_res, "200", "application/json"):
|
|
2475
|
-
return utils.unmarshal_json(http_res.text, models.
|
|
2475
|
+
return utils.unmarshal_json(http_res.text, models.TxResponse)
|
|
2476
2476
|
if utils.match_response(http_res, "422", "application/json"):
|
|
2477
2477
|
response_data = utils.unmarshal_json(
|
|
2478
2478
|
http_res.text, errors.HTTPValidationErrorData
|
compass_api_sdk/universal.py
CHANGED
|
@@ -1058,7 +1058,7 @@ class Universal(BaseSDK):
|
|
|
1058
1058
|
server_url: Optional[str] = None,
|
|
1059
1059
|
timeout_ms: Optional[int] = None,
|
|
1060
1060
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1061
|
-
) -> models.
|
|
1061
|
+
) -> models.TxResponse:
|
|
1062
1062
|
r"""Wrap ETH
|
|
1063
1063
|
|
|
1064
1064
|
Wrapping ETH creates an ERC20 compliant form of ETH that is typically needed for
|
|
@@ -1129,7 +1129,7 @@ class Universal(BaseSDK):
|
|
|
1129
1129
|
|
|
1130
1130
|
response_data: Any = None
|
|
1131
1131
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1132
|
-
return utils.unmarshal_json(http_res.text, models.
|
|
1132
|
+
return utils.unmarshal_json(http_res.text, models.TxResponse)
|
|
1133
1133
|
if utils.match_response(http_res, "422", "application/json"):
|
|
1134
1134
|
response_data = utils.unmarshal_json(
|
|
1135
1135
|
http_res.text, errors.HTTPValidationErrorData
|
|
@@ -1167,7 +1167,7 @@ class Universal(BaseSDK):
|
|
|
1167
1167
|
server_url: Optional[str] = None,
|
|
1168
1168
|
timeout_ms: Optional[int] = None,
|
|
1169
1169
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1170
|
-
) -> models.
|
|
1170
|
+
) -> models.TxResponse:
|
|
1171
1171
|
r"""Wrap ETH
|
|
1172
1172
|
|
|
1173
1173
|
Wrapping ETH creates an ERC20 compliant form of ETH that is typically needed for
|
|
@@ -1238,7 +1238,7 @@ class Universal(BaseSDK):
|
|
|
1238
1238
|
|
|
1239
1239
|
response_data: Any = None
|
|
1240
1240
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1241
|
-
return utils.unmarshal_json(http_res.text, models.
|
|
1241
|
+
return utils.unmarshal_json(http_res.text, models.TxResponse)
|
|
1242
1242
|
if utils.match_response(http_res, "422", "application/json"):
|
|
1243
1243
|
response_data = utils.unmarshal_json(
|
|
1244
1244
|
http_res.text, errors.HTTPValidationErrorData
|
|
@@ -1276,7 +1276,7 @@ class Universal(BaseSDK):
|
|
|
1276
1276
|
server_url: Optional[str] = None,
|
|
1277
1277
|
timeout_ms: Optional[int] = None,
|
|
1278
1278
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1279
|
-
) -> models.
|
|
1279
|
+
) -> models.TxResponse:
|
|
1280
1280
|
r"""Unwrap WETH
|
|
1281
1281
|
|
|
1282
1282
|
Unwrapping WETH converts the ERC-20 compliant form of ETH back to native ETH that
|
|
@@ -1347,7 +1347,7 @@ class Universal(BaseSDK):
|
|
|
1347
1347
|
|
|
1348
1348
|
response_data: Any = None
|
|
1349
1349
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1350
|
-
return utils.unmarshal_json(http_res.text, models.
|
|
1350
|
+
return utils.unmarshal_json(http_res.text, models.TxResponse)
|
|
1351
1351
|
if utils.match_response(http_res, "422", "application/json"):
|
|
1352
1352
|
response_data = utils.unmarshal_json(
|
|
1353
1353
|
http_res.text, errors.HTTPValidationErrorData
|
|
@@ -1385,7 +1385,7 @@ class Universal(BaseSDK):
|
|
|
1385
1385
|
server_url: Optional[str] = None,
|
|
1386
1386
|
timeout_ms: Optional[int] = None,
|
|
1387
1387
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1388
|
-
) -> models.
|
|
1388
|
+
) -> models.TxResponse:
|
|
1389
1389
|
r"""Unwrap WETH
|
|
1390
1390
|
|
|
1391
1391
|
Unwrapping WETH converts the ERC-20 compliant form of ETH back to native ETH that
|
|
@@ -1456,7 +1456,7 @@ class Universal(BaseSDK):
|
|
|
1456
1456
|
|
|
1457
1457
|
response_data: Any = None
|
|
1458
1458
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1459
|
-
return utils.unmarshal_json(http_res.text, models.
|
|
1459
|
+
return utils.unmarshal_json(http_res.text, models.TxResponse)
|
|
1460
1460
|
if utils.match_response(http_res, "422", "application/json"):
|
|
1461
1461
|
response_data = utils.unmarshal_json(
|
|
1462
1462
|
http_res.text, errors.HTTPValidationErrorData
|
|
@@ -1497,7 +1497,7 @@ class Universal(BaseSDK):
|
|
|
1497
1497
|
server_url: Optional[str] = None,
|
|
1498
1498
|
timeout_ms: Optional[int] = None,
|
|
1499
1499
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1500
|
-
) -> models.
|
|
1500
|
+
) -> models.TxResponse:
|
|
1501
1501
|
r"""Set Allowance - Protocol
|
|
1502
1502
|
|
|
1503
1503
|
This endpoint allows users to modify the token allowance for a specific protocol.
|
|
@@ -1577,7 +1577,7 @@ class Universal(BaseSDK):
|
|
|
1577
1577
|
|
|
1578
1578
|
response_data: Any = None
|
|
1579
1579
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1580
|
-
return utils.unmarshal_json(http_res.text, models.
|
|
1580
|
+
return utils.unmarshal_json(http_res.text, models.TxResponse)
|
|
1581
1581
|
if utils.match_response(http_res, "422", "application/json"):
|
|
1582
1582
|
response_data = utils.unmarshal_json(
|
|
1583
1583
|
http_res.text, errors.HTTPValidationErrorData
|
|
@@ -1618,7 +1618,7 @@ class Universal(BaseSDK):
|
|
|
1618
1618
|
server_url: Optional[str] = None,
|
|
1619
1619
|
timeout_ms: Optional[int] = None,
|
|
1620
1620
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1621
|
-
) -> models.
|
|
1621
|
+
) -> models.TxResponse:
|
|
1622
1622
|
r"""Set Allowance - Protocol
|
|
1623
1623
|
|
|
1624
1624
|
This endpoint allows users to modify the token allowance for a specific protocol.
|
|
@@ -1698,7 +1698,7 @@ class Universal(BaseSDK):
|
|
|
1698
1698
|
|
|
1699
1699
|
response_data: Any = None
|
|
1700
1700
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1701
|
-
return utils.unmarshal_json(http_res.text, models.
|
|
1701
|
+
return utils.unmarshal_json(http_res.text, models.TxResponse)
|
|
1702
1702
|
if utils.match_response(http_res, "422", "application/json"):
|
|
1703
1703
|
response_data = utils.unmarshal_json(
|
|
1704
1704
|
http_res.text, errors.HTTPValidationErrorData
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: compass_api_sdk
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.4.1
|
|
4
4
|
Summary: Compass API SDK.
|
|
5
5
|
Author: royalnine
|
|
6
6
|
Requires-Python: >=3.9.2
|
|
@@ -242,6 +242,10 @@ with CompassAPI(
|
|
|
242
242
|
* [deposit](https://github.com/CompassLabs/mono/blob/master/docs/sdks/sky/README.md#deposit) - Deposit USDS
|
|
243
243
|
* [withdraw](https://github.com/CompassLabs/mono/blob/master/docs/sdks/sky/README.md#withdraw) - Withdraw USDS
|
|
244
244
|
|
|
245
|
+
### [smart_account](https://github.com/CompassLabs/mono/blob/master/docs/sdks/smartaccount/README.md)
|
|
246
|
+
|
|
247
|
+
* [account_batched_user_operations](https://github.com/CompassLabs/mono/blob/master/docs/sdks/smartaccount/README.md#account_batched_user_operations) - Get Smart Account Batched User Operations
|
|
248
|
+
|
|
245
249
|
### [token](https://github.com/CompassLabs/mono/blob/master/docs/sdks/tokensdk/README.md)
|
|
246
250
|
|
|
247
251
|
* [address](https://github.com/CompassLabs/mono/blob/master/docs/sdks/tokensdk/README.md#address) - Token Address
|
|
@@ -2,15 +2,15 @@ compass_api_sdk/__init__.py,sha256=w2u919V3Tzv4zEPQ-OYJ79gQ_4_SyW7GOFFoHtqXDFA,4
|
|
|
2
2
|
compass_api_sdk/_hooks/__init__.py,sha256=p5J13DeYuISQyQWirjJAObHIf2VtIlOtFqnIpvjjVwk,118
|
|
3
3
|
compass_api_sdk/_hooks/sdkhooks.py,sha256=eVxHB2Q_JG6zZx5xn74i208ij-fpTHqq2jod6fbghRQ,2503
|
|
4
4
|
compass_api_sdk/_hooks/types.py,sha256=VC7TZz0BiM721MghXneEovG3UkaktRkt1OhMY3iLmZM,2818
|
|
5
|
-
compass_api_sdk/_version.py,sha256=
|
|
6
|
-
compass_api_sdk/aave_v3.py,sha256=
|
|
7
|
-
compass_api_sdk/aerodrome_slipstream.py,sha256=
|
|
5
|
+
compass_api_sdk/_version.py,sha256=HCvQR3PQYuJi99-NkOhCFka9AXNl2ksEKFkV6gx5Ps8,472
|
|
6
|
+
compass_api_sdk/aave_v3.py,sha256=tR5fm96hPluvzDSIgcuB_C8W4gQZsyBR5k9MQjdtoQQ,123098
|
|
7
|
+
compass_api_sdk/aerodrome_slipstream.py,sha256=w_Q84q8iIDthqX0myByQ1SE5-B2iZPqZvcNVzSLYBZ0,82785
|
|
8
8
|
compass_api_sdk/basesdk.py,sha256=29RfgnfgQq_cRx8OHdQEdJuJ2DrgRZlzGIPC-_6-2bM,12136
|
|
9
9
|
compass_api_sdk/errors/__init__.py,sha256=f8nyj2IhW5h_xtEeg6cfKgByLkqowLv0Fxm0hUofQPs,257
|
|
10
10
|
compass_api_sdk/errors/apierror.py,sha256=9mTyJSyvUAOnSfW_1HWt9dGl8IDlpQ68DebwYsDNdug,528
|
|
11
11
|
compass_api_sdk/errors/httpvalidationerror.py,sha256=KBdpK3fYQoeMB-3m9dLKiMYimFN7B9VLma6YqMKX5k0,671
|
|
12
12
|
compass_api_sdk/httpclient.py,sha256=Eu73urOAiZQtdUIyOUnPccxCiBbWEKrXG-JrRG3SLM4,3946
|
|
13
|
-
compass_api_sdk/models/__init__.py,sha256=
|
|
13
|
+
compass_api_sdk/models/__init__.py,sha256=pbq16iLvMEADGtOaHm6Er8m0nd9WqIrH-Lfp-kPePzA,55930
|
|
14
14
|
compass_api_sdk/models/aave_avg_rateop.py,sha256=PEdn3yManrwWI6SCD8nrgAFp4KJoXn4nwo56exPhRPA,2392
|
|
15
15
|
compass_api_sdk/models/aave_historical_transactionsop.py,sha256=7Ghmin3AWvh2knbC-M0CZ0chL8q3fJU-GeDgXeoY0s4,1789
|
|
16
16
|
compass_api_sdk/models/aave_liquidity_changeop.py,sha256=o9G4dD2foyhbunziTv_177Qr2AK37KTIQsQfvPxo5Fs,2785
|
|
@@ -54,6 +54,8 @@ compass_api_sdk/models/aerodromeslipstreamsellexactlyrequest.py,sha256=PO94biGAB
|
|
|
54
54
|
compass_api_sdk/models/aerodromeslipstreamwithdrawliquidityprovisionparams.py,sha256=DQKPJCyd66mFq6irFqMh7wvAQyF_HniRxoASPmmsvcQ,2265
|
|
55
55
|
compass_api_sdk/models/aerodromeslipstreamwithdrawliquidityprovisionrequest.py,sha256=DXbQqFH6qRyrnqQ61y8O7regkqgu_kqY0yY1AamZXTs,1738
|
|
56
56
|
compass_api_sdk/models/allowanceinforesponse.py,sha256=OIvJVxMrRNBay8DIeqlwGBFQ1fbaGVWlaGsOZpo40fY,1393
|
|
57
|
+
compass_api_sdk/models/batcheduseroperationsrequest.py,sha256=ga49DkHKZ9RnuaRDqad4wCKZxeMo0GAg2PrxVV94GJ4,1292
|
|
58
|
+
compass_api_sdk/models/batcheduseroperationsresponse.py,sha256=RB_xJG3Itpm5DIbPjAt5_mX02hbMklqsWyao7shRiiI,679
|
|
57
59
|
compass_api_sdk/models/borrow.py,sha256=YQxBejrFjAvfjrYC7kmQRsQL2q6bb6MZxLzFuVHZEFg,2140
|
|
58
60
|
compass_api_sdk/models/chain.py,sha256=TzxP0Ujy0L-o3__gggsKeJIWMaflQTNnNSEaXBnSlGU,304
|
|
59
61
|
compass_api_sdk/models/chaininfo.py,sha256=XUUk-Nfz8-S9uOD4d9QVm_gsRIEXyIgeBGCS3dcFTmc,1406
|
|
@@ -119,11 +121,10 @@ compass_api_sdk/models/morphowithdrawcollateralparams.py,sha256=8l37mTA6nVVT9HRz
|
|
|
119
121
|
compass_api_sdk/models/morphowithdrawcollateralrequest.py,sha256=AXjtL47SbwhjoT2WtYy0V94sUAwRLDw-czAPg2ePidA,3245
|
|
120
122
|
compass_api_sdk/models/morphowithdrawparams.py,sha256=66ZNPNlpr1Jfo29_qYFKeqtPA09I1cgNDzWWlqFof60,2056
|
|
121
123
|
compass_api_sdk/models/morphowithdrawrequest.py,sha256=hV8recUvGxYTTpWT3FyCLYefeWYIibIFtfIu_IAvtE4,2413
|
|
122
|
-
compass_api_sdk/models/multicallaction.py,sha256=h1fUCWhkhd4eiM89QsVsN-UZcfF_guYJUSieIuNnTS4,6298
|
|
123
124
|
compass_api_sdk/models/multicallactiontype.py,sha256=zUoQJ_v_lyrIQWydn16iknjjX1J5oWdvm2PEdmyrPUA,1614
|
|
124
125
|
compass_api_sdk/models/multicallauthorizationrequest.py,sha256=h5-2acLlhV9assgIIHyVIgTak1IJathqa-viS-PkvMA,1155
|
|
125
126
|
compass_api_sdk/models/multicallauthorizationresponse.py,sha256=3jjdz9Mz-tKjhBzZbVaJW51no58HSqcxfHJwuZsgnhg,914
|
|
126
|
-
compass_api_sdk/models/multicallexecuterequest.py,sha256=
|
|
127
|
+
compass_api_sdk/models/multicallexecuterequest.py,sha256=iVCfkarzlLYQrdo2sCRB9YJyJ-dayaf321j0Hh4Fit8,1095
|
|
127
128
|
compass_api_sdk/models/portfolio.py,sha256=Ey2gbh7ZqSWIMmfLrflpZS7QzvCR8QMp5bHx6-BMEp4,687
|
|
128
129
|
compass_api_sdk/models/redeemunderlying.py,sha256=YK6I29RAeIgE4gfxyjgoUiktxqFAnJfvNv4qz1QvmTU,1282
|
|
129
130
|
compass_api_sdk/models/repay.py,sha256=dCDDG9BvJOnT-OgEs013t7l5xG0r-5M_BUxal4cfU0I,1482
|
|
@@ -153,6 +154,7 @@ compass_api_sdk/models/tokeninfo.py,sha256=XJxb3m5dS8sRBGCpHS128VemtSU4q09EXOEwa
|
|
|
153
154
|
compass_api_sdk/models/tokenpriceresponse.py,sha256=L6dly2O1aO-_PifQ346-19qK_9RAQ_tYJufJN_yUbM4,383
|
|
154
155
|
compass_api_sdk/models/tokentransfererc20params.py,sha256=rE2S8Bo6q3xFz51Vgp4BPyvm27u-Y0f4a2oRT1WUvSA,1500
|
|
155
156
|
compass_api_sdk/models/tokentransferrequest.py,sha256=-H9OsIcHbdynmrsKrMgMytauHtF2e2uHv6DgHBh83g0,1788
|
|
157
|
+
compass_api_sdk/models/txresponse.py,sha256=mNVjhbBSpmw_mkG7uyWldkA6F7g4UMLpKoNrHhhRjgY,590
|
|
156
158
|
compass_api_sdk/models/uniswap_liquidity_provision_in_rangeop.py,sha256=mkg0Eg50xQCiQ00Nq_Rw-KPZ0iwb56YsQZ05k-loAnw,1245
|
|
157
159
|
compass_api_sdk/models/uniswap_liquidity_provision_positionsop.py,sha256=-HW4PPi8j1KEypBbuoqLoH89djhW8zDvUTACdklYoqg,1283
|
|
158
160
|
compass_api_sdk/models/uniswap_pool_priceop.py,sha256=JTBQcsaeJSN_tELQW6iMBztsww84x8ORdJaQmLIRb5c,4115
|
|
@@ -179,6 +181,8 @@ compass_api_sdk/models/unsignedtransaction.py,sha256=DHPEOKI-xgmu7tLiVxsv4JJp93k
|
|
|
179
181
|
compass_api_sdk/models/unwrapwethparams.py,sha256=nBbf-Z2z8-yYPWuNqpESpxRsssJ1PPu4jLRZ2iwBGfk,884
|
|
180
182
|
compass_api_sdk/models/unwrapwethrequest.py,sha256=LaeHJHs6YZ24HLfUunvybNsLJ9uiQ-v_meEk_VyQo4Y,1137
|
|
181
183
|
compass_api_sdk/models/usageascollateral.py,sha256=hHBgh83BO9WA6u-9xzTvBlPOLoiYV1N21G6vDeo_b30,1561
|
|
184
|
+
compass_api_sdk/models/useroperation.py,sha256=6pdlhqMjceZds-wOH2Umo_ZvHQqVfCzzDg6mfdwzHoA,6294
|
|
185
|
+
compass_api_sdk/models/useroperationresponse.py,sha256=z0o0N-EC30XlrkFiR3vLO_EXbpXojUCJlWQxuOir5VM,671
|
|
182
186
|
compass_api_sdk/models/userstate.py,sha256=xK6ZrhqogPE32JH7J4i1_oK7KxYkmebJU-jfcBp8FOo,1003
|
|
183
187
|
compass_api_sdk/models/validationerror.py,sha256=01WnpU7Tgin0B_poO97_hl6b5CNJ_9VGzpcmoeJs4GU,532
|
|
184
188
|
compass_api_sdk/models/vault.py,sha256=ttepBiKO4o7-C97oALWOYAcN7ALDXmBFBcbQV_nfwO4,1849
|
|
@@ -186,17 +190,18 @@ compass_api_sdk/models/vaultposition.py,sha256=o_Nyjc7GB5lLi11yCO6cp8nZpIvJcZzGB
|
|
|
186
190
|
compass_api_sdk/models/weeklyapys.py,sha256=AaGjDD4NeGsZQBwdRW1G09Pmx17pLPe2oUA9M21jQgY,675
|
|
187
191
|
compass_api_sdk/models/wrapethparams.py,sha256=eMIOqxDM3hCwMJiJsMdnO6ZsMXg1K-_E3S5OIi8XGEI,824
|
|
188
192
|
compass_api_sdk/models/wrapethrequest.py,sha256=aJBhcooob-etvReQEjNdC8HOUQ7oUNkOPYr6A4a3BFE,1077
|
|
189
|
-
compass_api_sdk/morpho.py,sha256=
|
|
193
|
+
compass_api_sdk/morpho.py,sha256=pZ5sDQOT_dsseXwq0_O-im46wgMYI4Z4NDaDvd5MCg4,131872
|
|
190
194
|
compass_api_sdk/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
|
|
191
|
-
compass_api_sdk/sdk.py,sha256=
|
|
195
|
+
compass_api_sdk/sdk.py,sha256=ISOCKopTD8hEDFh1rVgqC-ZBgHPRg71QrK5QxgvXQr0,6251
|
|
192
196
|
compass_api_sdk/sdkconfiguration.py,sha256=K-B67o2xftk7Rh5z59xBL0TcCn_XhX0Yh_JePPegvvU,1764
|
|
193
|
-
compass_api_sdk/sky.py,sha256=
|
|
194
|
-
compass_api_sdk/
|
|
195
|
-
compass_api_sdk/
|
|
197
|
+
compass_api_sdk/sky.py,sha256=u-1LwuQPGsYGq4MgzhP0KkkKt4RD9ggkHvARaPPZVI0,43495
|
|
198
|
+
compass_api_sdk/smart_account.py,sha256=qMBOBYPQr_3UUx1t6VAAGBCtKm2s9UHxgh2UnUsJmHA,9356
|
|
199
|
+
compass_api_sdk/token_sdk.py,sha256=9q8cDq30Oy7L5Xg_kYibr4HQVsVNaG9olaxqeS35kuw,34226
|
|
200
|
+
compass_api_sdk/transaction_batching.py,sha256=TClHaSuMgvLrJ83mMQo1dgrJwEl11UT_zhPFvRft_mY,31315
|
|
196
201
|
compass_api_sdk/types/__init__.py,sha256=RArOwSgeeTIva6h-4ttjXwMUeCkz10nAFBL9D-QljI4,377
|
|
197
202
|
compass_api_sdk/types/basemodel.py,sha256=L79WXvTECbSqaJzs8D3ud_KdIWkU7Cx2wbohDAktE9E,1127
|
|
198
|
-
compass_api_sdk/uniswap_v3.py,sha256=
|
|
199
|
-
compass_api_sdk/universal.py,sha256=
|
|
203
|
+
compass_api_sdk/uniswap_v3.py,sha256=9-xThTW3SPCm8Ql9m9fMPaivoxXeByWJ_bo3FKK4Exk,108147
|
|
204
|
+
compass_api_sdk/universal.py,sha256=3pnCI8gjQVmnyBuwAkEFz4eHMbxWJg_O_yGb8dPzjNA,70069
|
|
200
205
|
compass_api_sdk/utils/__init__.py,sha256=srwCxQa-o7LVSIbziUI2u9_LMEEvJNBU0I14OEQUOpA,2441
|
|
201
206
|
compass_api_sdk/utils/annotations.py,sha256=aR7mZG34FzgRdew7WZPYEu9QGBerpuKxCF4sek5Z_5Y,1699
|
|
202
207
|
compass_api_sdk/utils/datetimes.py,sha256=oppAA5e3V35pQov1-FNLKxAaNF1_XWi-bQtyjjql3H8,855
|
|
@@ -213,6 +218,6 @@ compass_api_sdk/utils/security.py,sha256=ktep3HKwbFs-MLxUYTM8Jd4v-ZBum5_Z0u1PFId
|
|
|
213
218
|
compass_api_sdk/utils/serializers.py,sha256=hiHBXM1AY8_N2Z_rvFfNSYwvLBkSQlPGFp8poasdU4s,5986
|
|
214
219
|
compass_api_sdk/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
|
|
215
220
|
compass_api_sdk/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
|
|
216
|
-
compass_api_sdk-0.
|
|
217
|
-
compass_api_sdk-0.
|
|
218
|
-
compass_api_sdk-0.
|
|
221
|
+
compass_api_sdk-0.4.1.dist-info/METADATA,sha256=Lo5XG5hQP4x4asdkhMbJE9o-S_GQ3utvhUxkWsJ2tNs,25294
|
|
222
|
+
compass_api_sdk-0.4.1.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
223
|
+
compass_api_sdk-0.4.1.dist-info/RECORD,,
|
|
File without changes
|