circle-developer-controlled-wallets 1.1.0__py3-none-any.whl → 1.2.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 circle-developer-controlled-wallets might be problematic. Click here for more details.
- circle/web3/developer_controlled_wallets/__init__.py +40 -33
- circle/web3/developer_controlled_wallets/api/signing_api.py +193 -38
- circle/web3/developer_controlled_wallets/api/token_lookup_api.py +8 -8
- circle/web3/developer_controlled_wallets/api/transactions_api.py +47 -47
- circle/web3/developer_controlled_wallets/api/wallet_sets_api.py +14 -14
- circle/web3/developer_controlled_wallets/api/wallets_api.py +30 -30
- circle/web3/developer_controlled_wallets/api_client.py +1 -1
- circle/web3/developer_controlled_wallets/configuration.py +1 -1
- circle/web3/developer_controlled_wallets/models/__init__.py +39 -32
- circle/web3/developer_controlled_wallets/models/{create_developer_transaction_cancel200_response.py → accelerate_transaction_for_developer.py} +11 -11
- circle/web3/developer_controlled_wallets/models/{accelerate_transaction_for_developer_response.py → accelerate_transaction_for_developer_data.py} +8 -8
- circle/web3/developer_controlled_wallets/models/balance.py +3 -3
- circle/web3/developer_controlled_wallets/models/{wallet_set2.py → balances.py} +11 -11
- circle/web3/developer_controlled_wallets/models/{get_balances_response.py → balances_data.py} +8 -8
- circle/web3/developer_controlled_wallets/models/base_screening_decision.py +88 -0
- circle/web3/developer_controlled_wallets/models/blockchain.py +3 -1
- circle/web3/developer_controlled_wallets/models/cancel_transaction_for_developer.py +87 -0
- circle/web3/developer_controlled_wallets/models/{create_developer_transaction_contract_execution200_response.py → create_contract_execution_transaction_for_developer.py} +13 -13
- circle/web3/developer_controlled_wallets/models/{create_contract_execution_transaction_for_developer_response.py → create_contract_execution_transaction_for_developer_data.py} +8 -8
- circle/web3/developer_controlled_wallets/models/create_contract_execution_transaction_for_developer_request.py +4 -4
- circle/web3/developer_controlled_wallets/models/create_transfer_transaction_for_developer_request.py +4 -4
- circle/web3/developer_controlled_wallets/models/create_transfer_transaction_for_developer_response.py +9 -8
- circle/web3/developer_controlled_wallets/models/{cancel_transaction_for_developer_response.py → create_transfer_transaction_for_developer_response_data.py} +8 -8
- circle/web3/developer_controlled_wallets/models/error.py +3 -3
- circle/web3/developer_controlled_wallets/models/estimate_contract_execution_transaction_fee_request.py +2 -2
- circle/web3/developer_controlled_wallets/models/estimate_contract_execution_transaction_fee_request_blockchain.py +2 -0
- circle/web3/developer_controlled_wallets/models/{get_transaction200_response.py → estimate_transaction_fee.py} +13 -13
- circle/web3/developer_controlled_wallets/models/{estimate_transaction_fee_response.py → estimate_transaction_fee_data.py} +15 -15
- circle/web3/developer_controlled_wallets/models/estimate_transfer_transaction_fee_request.py +1 -1
- circle/web3/developer_controlled_wallets/models/nft.py +5 -5
- circle/web3/developer_controlled_wallets/models/{wallet2.py → nfts.py} +11 -11
- circle/web3/developer_controlled_wallets/models/{get_nfts_response.py → nfts_data.py} +8 -8
- circle/web3/developer_controlled_wallets/models/risk_action.py +38 -0
- circle/web3/developer_controlled_wallets/models/risk_category.py +48 -0
- circle/web3/developer_controlled_wallets/models/risk_score.py +40 -0
- circle/web3/developer_controlled_wallets/models/risk_signal.py +101 -0
- circle/web3/developer_controlled_wallets/models/risk_type.py +37 -0
- circle/web3/developer_controlled_wallets/models/{sign_message_for_developer_request.py → sign_message_request.py} +9 -9
- circle/web3/developer_controlled_wallets/models/sign_transaction_request.py +89 -0
- circle/web3/developer_controlled_wallets/models/sign_transaction_response.py +87 -0
- circle/web3/developer_controlled_wallets/models/{sign_typed_data_for_developer_response.py → sign_transaction_response_data.py} +13 -11
- circle/web3/developer_controlled_wallets/models/{sign_typed_data_for_developer_request.py → sign_typed_data_request.py} +9 -9
- circle/web3/developer_controlled_wallets/models/{list_wallet_nfts200_response.py → signature_response.py} +13 -13
- circle/web3/developer_controlled_wallets/models/{sign_message_for_developer_response.py → signature_response_data.py} +8 -8
- circle/web3/developer_controlled_wallets/models/token.py +103 -0
- circle/web3/developer_controlled_wallets/models/token_blockchain.py +2 -0
- circle/web3/developer_controlled_wallets/models/token_response.py +9 -25
- circle/web3/developer_controlled_wallets/models/{get_token_by_id_response.py → token_response_data.py} +11 -11
- circle/web3/developer_controlled_wallets/models/token_standard.py +6 -0
- circle/web3/developer_controlled_wallets/models/transaction.py +12 -6
- circle/web3/developer_controlled_wallets/models/{estimated_transaction_fee.py → transaction_fee.py} +16 -14
- circle/web3/developer_controlled_wallets/models/{list_transactions200_response.py → transaction_response.py} +13 -13
- circle/web3/developer_controlled_wallets/models/{get_transaction_by_id_response.py → transaction_response_data.py} +8 -8
- circle/web3/developer_controlled_wallets/models/transaction_screening_decision.py +98 -0
- circle/web3/developer_controlled_wallets/models/{get_token_id200_response.py → transactions.py} +11 -11
- circle/web3/developer_controlled_wallets/models/{get_transactions_response.py → transactions_data.py} +8 -8
- circle/web3/developer_controlled_wallets/models/{list_wallet_ballance200_response.py → validate_address.py} +13 -13
- circle/web3/developer_controlled_wallets/models/{validate_address_response.py → validate_address_data.py} +8 -8
- circle/web3/developer_controlled_wallets/models/wallet_response.py +87 -0
- circle/web3/developer_controlled_wallets/models/{wallet2_data.py → wallet_response_data.py} +8 -8
- circle/web3/developer_controlled_wallets/models/wallet_set_response.py +87 -0
- circle/web3/developer_controlled_wallets/models/{wallet_set2_data.py → wallet_set_response_data.py} +8 -8
- {circle_developer_controlled_wallets-1.1.0.dist-info → circle_developer_controlled_wallets-1.2.1.dist-info}/METADATA +7 -7
- circle_developer_controlled_wallets-1.2.1.dist-info/RECORD +104 -0
- {circle_developer_controlled_wallets-1.1.0.dist-info → circle_developer_controlled_wallets-1.2.1.dist-info}/WHEEL +1 -1
- circle/web3/developer_controlled_wallets/models/create_developer_transaction_accelerate200_response.py +0 -87
- circle/web3/developer_controlled_wallets/models/create_developer_transaction_transfer200_response.py +0 -87
- circle/web3/developer_controlled_wallets/models/create_transfer_estimate_fee200_response.py +0 -87
- circle/web3/developer_controlled_wallets/models/create_validate_address200_response.py +0 -87
- circle/web3/developer_controlled_wallets/models/sign_developer_message200_response.py +0 -87
- circle/web3/developer_controlled_wallets/models/sign_developer_typed_data200_response.py +0 -87
- circle_developer_controlled_wallets-1.1.0.dist-info/RECORD +0 -97
- {circle_developer_controlled_wallets-1.1.0.dist-info → circle_developer_controlled_wallets-1.2.1.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
The version of the OpenAPI document: 1.0
|
|
5
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
6
|
+
|
|
7
|
+
Do not edit the class manually.
|
|
8
|
+
""" # noqa: E501
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
from __future__ import annotations
|
|
12
|
+
import pprint
|
|
13
|
+
import re # noqa: F401
|
|
14
|
+
import json
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
from pydantic import BaseModel, Field
|
|
19
|
+
from circle.web3.developer_controlled_wallets.models.wallet_set_response_data import WalletSetResponseData
|
|
20
|
+
|
|
21
|
+
class WalletSetResponse(BaseModel):
|
|
22
|
+
"""
|
|
23
|
+
WalletSetResponse
|
|
24
|
+
"""
|
|
25
|
+
data: WalletSetResponseData = Field(...)
|
|
26
|
+
__properties = ["data"]
|
|
27
|
+
|
|
28
|
+
def __init__(self, **kwargs):
|
|
29
|
+
if "idempotencyKey" in self.__properties and not kwargs.get("idempotency_key"):
|
|
30
|
+
kwargs["idempotency_key"] = "#REFILL_PLACEHOLDER"
|
|
31
|
+
|
|
32
|
+
if "entitySecretCiphertext" in self.__properties and not kwargs.get("entity_secret_ciphertext"):
|
|
33
|
+
kwargs["entity_secret_ciphertext"] = "#REFILL_PLACEHOLDER"
|
|
34
|
+
super().__init__(**kwargs)
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
class Config:
|
|
38
|
+
"""Pydantic configuration"""
|
|
39
|
+
allow_population_by_field_name = True
|
|
40
|
+
validate_assignment = True
|
|
41
|
+
|
|
42
|
+
def to_str(self) -> str:
|
|
43
|
+
"""Returns the string representation of the model using alias"""
|
|
44
|
+
return pprint.pformat(self.dict(by_alias=True))
|
|
45
|
+
|
|
46
|
+
def to_json(self) -> str:
|
|
47
|
+
"""Returns the JSON representation of the model using alias"""
|
|
48
|
+
return json.dumps(self.to_dict())
|
|
49
|
+
|
|
50
|
+
@classmethod
|
|
51
|
+
def from_json(cls, json_str: str) -> WalletSetResponse:
|
|
52
|
+
"""Create an instance of WalletSetResponse from a JSON string"""
|
|
53
|
+
return cls.from_dict(json.loads(json_str))
|
|
54
|
+
|
|
55
|
+
def to_dict(self):
|
|
56
|
+
"""Returns the dictionary representation of the model using alias"""
|
|
57
|
+
_dict = self.dict(by_alias=True,
|
|
58
|
+
exclude={
|
|
59
|
+
},
|
|
60
|
+
exclude_none=True)
|
|
61
|
+
# override the default output from pydantic by calling `to_dict()` of data
|
|
62
|
+
if self.data:
|
|
63
|
+
_dict['data'] = self.data.to_dict()
|
|
64
|
+
return _dict
|
|
65
|
+
|
|
66
|
+
@classmethod
|
|
67
|
+
def from_dict(cls, obj: dict) -> WalletSetResponse:
|
|
68
|
+
"""Create an instance of WalletSetResponse from a dict"""
|
|
69
|
+
if obj is None:
|
|
70
|
+
return None
|
|
71
|
+
|
|
72
|
+
if not isinstance(obj, dict):
|
|
73
|
+
return WalletSetResponse.parse_obj(obj)
|
|
74
|
+
|
|
75
|
+
# fill idempotency_key and ciphertext with placeholder for auto_fill
|
|
76
|
+
if "idempotencyKey" in cls.__properties and not obj.get("idempotencyKey"):
|
|
77
|
+
obj["idempotencyKey"] = "#REFILL_PLACEHOLDER"
|
|
78
|
+
|
|
79
|
+
if "entitySecretCiphertext" in cls.__properties and not obj.get("entitySecretCiphertext"):
|
|
80
|
+
obj["entitySecretCiphertext"] = "#REFILL_PLACEHOLDER"
|
|
81
|
+
|
|
82
|
+
_obj = WalletSetResponse.parse_obj({
|
|
83
|
+
"data": WalletSetResponseData.from_dict(obj.get("data")) if obj.get("data") is not None else None
|
|
84
|
+
})
|
|
85
|
+
return _obj
|
|
86
|
+
|
|
87
|
+
|
circle/web3/developer_controlled_wallets/models/{wallet_set2_data.py → wallet_set_response_data.py}
RENAMED
|
@@ -18,9 +18,9 @@ import json
|
|
|
18
18
|
from pydantic import BaseModel, Field
|
|
19
19
|
from circle.web3.developer_controlled_wallets.models.wallet_sets_data_wallet_sets_inner import WalletSetsDataWalletSetsInner
|
|
20
20
|
|
|
21
|
-
class
|
|
21
|
+
class WalletSetResponseData(BaseModel):
|
|
22
22
|
"""
|
|
23
|
-
|
|
23
|
+
WalletSetResponseData
|
|
24
24
|
"""
|
|
25
25
|
wallet_set: WalletSetsDataWalletSetsInner = Field(..., alias="walletSet")
|
|
26
26
|
__properties = ["walletSet"]
|
|
@@ -48,8 +48,8 @@ class WalletSet2Data(BaseModel):
|
|
|
48
48
|
return json.dumps(self.to_dict())
|
|
49
49
|
|
|
50
50
|
@classmethod
|
|
51
|
-
def from_json(cls, json_str: str) ->
|
|
52
|
-
"""Create an instance of
|
|
51
|
+
def from_json(cls, json_str: str) -> WalletSetResponseData:
|
|
52
|
+
"""Create an instance of WalletSetResponseData from a JSON string"""
|
|
53
53
|
return cls.from_dict(json.loads(json_str))
|
|
54
54
|
|
|
55
55
|
def to_dict(self):
|
|
@@ -64,13 +64,13 @@ class WalletSet2Data(BaseModel):
|
|
|
64
64
|
return _dict
|
|
65
65
|
|
|
66
66
|
@classmethod
|
|
67
|
-
def from_dict(cls, obj: dict) ->
|
|
68
|
-
"""Create an instance of
|
|
67
|
+
def from_dict(cls, obj: dict) -> WalletSetResponseData:
|
|
68
|
+
"""Create an instance of WalletSetResponseData from a dict"""
|
|
69
69
|
if obj is None:
|
|
70
70
|
return None
|
|
71
71
|
|
|
72
72
|
if not isinstance(obj, dict):
|
|
73
|
-
return
|
|
73
|
+
return WalletSetResponseData.parse_obj(obj)
|
|
74
74
|
|
|
75
75
|
# fill idempotency_key and ciphertext with placeholder for auto_fill
|
|
76
76
|
if "idempotencyKey" in cls.__properties and not obj.get("idempotencyKey"):
|
|
@@ -79,7 +79,7 @@ class WalletSet2Data(BaseModel):
|
|
|
79
79
|
if "entitySecretCiphertext" in cls.__properties and not obj.get("entitySecretCiphertext"):
|
|
80
80
|
obj["entitySecretCiphertext"] = "#REFILL_PLACEHOLDER"
|
|
81
81
|
|
|
82
|
-
_obj =
|
|
82
|
+
_obj = WalletSetResponseData.parse_obj({
|
|
83
83
|
"wallet_set": WalletSetsDataWalletSetsInner.from_dict(obj.get("walletSet")) if obj.get("walletSet") is not None else None
|
|
84
84
|
})
|
|
85
85
|
return _obj
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: circle-developer-controlled-wallets
|
|
3
|
-
Version: 1.1
|
|
3
|
+
Version: 1.2.1
|
|
4
4
|
Summary: Developer-Controlled Wallets
|
|
5
5
|
Home-page:
|
|
6
6
|
Author: OpenAPI Generator community
|
|
@@ -12,14 +12,14 @@ Requires-Dist: python-dateutil
|
|
|
12
12
|
Requires-Dist: pydantic <2,>=1.10.5
|
|
13
13
|
Requires-Dist: aenum
|
|
14
14
|
Requires-Dist: pycryptodome >=3.20.0
|
|
15
|
-
Requires-Dist: circle-configurations ==1.1
|
|
16
|
-
Requires-Dist: circle-web3-sdk-util ==1.1
|
|
15
|
+
Requires-Dist: circle-configurations ==1.2.1
|
|
16
|
+
Requires-Dist: circle-web3-sdk-util ==1.2.1
|
|
17
17
|
|
|
18
18
|
# circle-developer-controlled-wallets
|
|
19
19
|
Developer-Controlled Wallets API documentation.
|
|
20
20
|
|
|
21
21
|
- API version: 1.0
|
|
22
|
-
- Package version: 1.1
|
|
22
|
+
- Package version: 1.2.1
|
|
23
23
|
|
|
24
24
|
## Requirements.
|
|
25
25
|
|
|
@@ -69,7 +69,7 @@ api_instance = developer_controlled_wallets.WalletSetsApi(client)
|
|
|
69
69
|
|
|
70
70
|
# create wallet sets
|
|
71
71
|
try:
|
|
72
|
-
request = developer_controlled_wallets.
|
|
72
|
+
request = developer_controlled_wallets.CreateWalletSetRequest.from_dict({
|
|
73
73
|
"name": "my_wallet_set"
|
|
74
74
|
})
|
|
75
75
|
api_instance.create_wallet_set(request)
|
|
@@ -78,11 +78,11 @@ except developer_controlled_wallets.ApiException as e:
|
|
|
78
78
|
|
|
79
79
|
# list wallet sets
|
|
80
80
|
try:
|
|
81
|
-
response = api_instance.
|
|
81
|
+
response = api_instance.get_wallet_sets()
|
|
82
82
|
for wallet_set in response.data.wallet_sets:
|
|
83
83
|
print(wallet_set.id)
|
|
84
84
|
except developer_controlled_wallets.ApiException as e:
|
|
85
|
-
print("Exception when calling WalletSetsApi->
|
|
85
|
+
print("Exception when calling WalletSetsApi->get_wallet_sets: %s\n" % e)
|
|
86
86
|
```
|
|
87
87
|
|
|
88
88
|
We recommend reading through the official [documentation](https://developers.circle.com/w3s) and [QuickStart guides](https://learn.circle.com/) mentioned above to ensure a smooth setup and usage experience.
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
circle/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
circle/web3/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
circle/web3/developer_controlled_wallets/__init__.py,sha256=QqNR3fMDfYRaIe2koBe9cH9bucKMbt8mM_tRuEygahw,10112
|
|
4
|
+
circle/web3/developer_controlled_wallets/api_client.py,sha256=WwrYYwuzgp77Ww6WnU_FfQc6a4hMh8I50v0OwJH8WR8,31612
|
|
5
|
+
circle/web3/developer_controlled_wallets/api_response.py,sha256=PVUEilYSo_CCiR5NaxyzzyJAlKL1xkNoWvtkfk7r528,844
|
|
6
|
+
circle/web3/developer_controlled_wallets/configuration.py,sha256=CluVO_9alTyzwebXGy23eZGgs_ly6GacqDeBU9FDK2g,15101
|
|
7
|
+
circle/web3/developer_controlled_wallets/exceptions.py,sha256=_2uyalsxooiwXa05bg46v7jt1aSrhzOD9etoqSyZEac,5218
|
|
8
|
+
circle/web3/developer_controlled_wallets/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
|
+
circle/web3/developer_controlled_wallets/rest.py,sha256=L2w4OU_OfcJNZ3nwckgwq21B3gIOXkpFjsOP4QliIeY,12814
|
|
10
|
+
circle/web3/developer_controlled_wallets/api/__init__.py,sha256=OdeJef0RSUikrtSOaxsOkocXjHQYocnuXjq7TnT6W_Y,474
|
|
11
|
+
circle/web3/developer_controlled_wallets/api/signing_api.py,sha256=WBm8siK1joN9EEz86z3ZGNVh6vyIy1zgl6vn_kEBiSs,23962
|
|
12
|
+
circle/web3/developer_controlled_wallets/api/token_lookup_api.py,sha256=kswtIlfrC2Eqy4UXwsgJNZdQpu9vnkpLUJLphxrAyAk,8005
|
|
13
|
+
circle/web3/developer_controlled_wallets/api/transactions_api.py,sha256=lDA67HAbKlagwZrgv2BxYpAHhtyaKoP11XhZTXc_YTY,81666
|
|
14
|
+
circle/web3/developer_controlled_wallets/api/wallet_sets_api.py,sha256=jKpVmHKM5alQ2mdwunIl1hTPF-kYYKfKzHgdrnntYu4,39431
|
|
15
|
+
circle/web3/developer_controlled_wallets/api/wallets_api.py,sha256=fYj2o6QVjG_kfmSVLSEujzRgJ62xTLpt7Lxmijz_eCk,71094
|
|
16
|
+
circle/web3/developer_controlled_wallets/models/__init__.py,sha256=XB2r60BB62rqdSnjFmWqCWJRwmzQooUdm0TcLShr7wk,8908
|
|
17
|
+
circle/web3/developer_controlled_wallets/models/abi_parameters_inner.py,sha256=YX5BNB39myCXozO8yBzN-PnPC_81HovQEL8_i_irhpU,6093
|
|
18
|
+
circle/web3/developer_controlled_wallets/models/accelerate_transaction_for_developer.py,sha256=p_gW451uzynxR2KX_-s7dfby13hpkk5tdOD0i7BO7tI,3108
|
|
19
|
+
circle/web3/developer_controlled_wallets/models/accelerate_transaction_for_developer_data.py,sha256=45oeo8Y5X00kEl7cwUB0y0ccTezJpGsTWhs5LtEUDvg,2813
|
|
20
|
+
circle/web3/developer_controlled_wallets/models/accelerate_transaction_for_developer_request.py,sha256=KN0KmXqM6BaiIfX5XDtfk_mIwkBqD7UykN2l2rnKLq4,3606
|
|
21
|
+
circle/web3/developer_controlled_wallets/models/account_type.py,sha256=u4F1PwPi6kNoXOcYtDHSXeNyoEDaCEm-glihpTwuhWE,981
|
|
22
|
+
circle/web3/developer_controlled_wallets/models/bad_request_response.py,sha256=ZaL7FhSV-tA8AFmXPXfcMblCzl8HT8LK5vzPhhM4KIs,2765
|
|
23
|
+
circle/web3/developer_controlled_wallets/models/balance.py,sha256=b_q6mHnmL0-gvDkTItdCiVyTq-BJcWKKm8csJzONL3o,3157
|
|
24
|
+
circle/web3/developer_controlled_wallets/models/balances.py,sha256=9mBDyfJXXSq5Bx94dhGDO4_47k7RT-gL5AW0Vp_AK8Y,2781
|
|
25
|
+
circle/web3/developer_controlled_wallets/models/balances_data.py,sha256=q7Pc-1uiN2_vS9Ze3koSyy96U7NqdY7cHcfWJq3F7jM,3195
|
|
26
|
+
circle/web3/developer_controlled_wallets/models/base_screening_decision.py,sha256=2GXzmMm2Tcsm_mURpcQqYEeyg7DUnC8g_k3EfIYHuX4,3297
|
|
27
|
+
circle/web3/developer_controlled_wallets/models/blockchain.py,sha256=ajuOZIiCKEV9-FWn0mTVK_rOM82-Zw33-okZYShoC5A,903
|
|
28
|
+
circle/web3/developer_controlled_wallets/models/cancel_transaction_for_developer.py,sha256=rgxhKpv_iyveNryqLjv6Oy2DEcNkG4YtX3DExG3DL9c,3102
|
|
29
|
+
circle/web3/developer_controlled_wallets/models/cancel_transaction_for_developer_request.py,sha256=PQaehF6SPZguQZcTJPwA8Z5xaGEe_JLekM_EkvEc6Ns,3574
|
|
30
|
+
circle/web3/developer_controlled_wallets/models/create_contract_execution_transaction_for_developer.py,sha256=yK4irqmFvTx058rkDi2XJvCWuOoGMZyeMW8pGTgKhMo,3242
|
|
31
|
+
circle/web3/developer_controlled_wallets/models/create_contract_execution_transaction_for_developer_data.py,sha256=yhEWPsn6RwLgz-vulLHW1Xh0OsSrvmZSENIHRNQpRAQ,3066
|
|
32
|
+
circle/web3/developer_controlled_wallets/models/create_contract_execution_transaction_for_developer_request.py,sha256=qR2I1AoVzZ1IuPlRkKKUsqFA633D1A3N7hBJhRJqUII,8594
|
|
33
|
+
circle/web3/developer_controlled_wallets/models/create_transfer_transaction_for_developer_request.py,sha256=PmdSNKq5Exm-phq3fihFPw9raigs1goA2eHJLqtSAYs,7713
|
|
34
|
+
circle/web3/developer_controlled_wallets/models/create_transfer_transaction_for_developer_response.py,sha256=YRMpIZhy8ZiBwuQls9Sfqg8CIOWlz8KNF1DAG1PeLdE,3254
|
|
35
|
+
circle/web3/developer_controlled_wallets/models/create_transfer_transaction_for_developer_response_data.py,sha256=dLj_Y4YMpmf1hTSsYSECBjd5mNWXVCsq492mPLH5CvE,3055
|
|
36
|
+
circle/web3/developer_controlled_wallets/models/create_wallet_request.py,sha256=nEGgLhxmeygJDlXDgRoj4RySzzkt8uMA93iqCQFkHOA,5142
|
|
37
|
+
circle/web3/developer_controlled_wallets/models/create_wallet_set_request.py,sha256=x0lU4OtovUcVwjSQqYTewA232SKffyO5rdC18l65rzg,3554
|
|
38
|
+
circle/web3/developer_controlled_wallets/models/custody_type.py,sha256=-jwmNI1fRdu99uU6d8ewv6zXp7Of769WhIL0Qy1i_KI,704
|
|
39
|
+
circle/web3/developer_controlled_wallets/models/developer_wallet_set.py,sha256=P1ON_uNz_fTfSNtEZ9hxKu6J7uTFINoyTmrASDDjMe0,3447
|
|
40
|
+
circle/web3/developer_controlled_wallets/models/end_user_wallet_set.py,sha256=_-vg7A8IQUWm0OeAASrpwXaeN6F6FaqcgNC7kq_GJK4,3642
|
|
41
|
+
circle/web3/developer_controlled_wallets/models/eoa_wallet.py,sha256=DCKx9rWWW-fbejVx4sgx9Xz2QcPGx4usW3aAEQjiO3c,5269
|
|
42
|
+
circle/web3/developer_controlled_wallets/models/error.py,sha256=D43thFidD6O6DYDPGu7VThkOegMATdG3anTTx2UzeNQ,2661
|
|
43
|
+
circle/web3/developer_controlled_wallets/models/estimate_contract_execution_transaction_fee_request.py,sha256=ph3sU6WhY_RsnNnDxSn2UwWh6QQPplbyENsIyYpVme8,5850
|
|
44
|
+
circle/web3/developer_controlled_wallets/models/estimate_contract_execution_transaction_fee_request_blockchain.py,sha256=3zqmEoU200dkSOZIfdOhsNvXoVqN7nUmsk_Kv_TlR7k,1035
|
|
45
|
+
circle/web3/developer_controlled_wallets/models/estimate_transaction_fee.py,sha256=843p1adcNxjo1kXxJm9NYLnqRvOzo7QDHCyLqVS-S2g,2951
|
|
46
|
+
circle/web3/developer_controlled_wallets/models/estimate_transaction_fee_data.py,sha256=orTybZ1SmCiivc4LNnu3EdzVOSdNUyxv7TFLsGTSyq4,4607
|
|
47
|
+
circle/web3/developer_controlled_wallets/models/estimate_transfer_transaction_fee_request.py,sha256=ieSOFPnrmToCSEKJKws-D42KkNVb_qJXeSs3-sXaB4I,4818
|
|
48
|
+
circle/web3/developer_controlled_wallets/models/fee_level.py,sha256=XlrkP59Z6Z0Xqd9xqzPSzX0IAcYVjeLhdiW_UKuxEyM,997
|
|
49
|
+
circle/web3/developer_controlled_wallets/models/nft.py,sha256=HRrXxplK1UeCOQf27JoOxvM5HqEmuMPPNqD8Pd5xnDY,3756
|
|
50
|
+
circle/web3/developer_controlled_wallets/models/nfts.py,sha256=9CxeG7e5cO0X9rTMFnJslQYKysdEkRupvqsTsfdqNqc,2733
|
|
51
|
+
circle/web3/developer_controlled_wallets/models/nfts_data.py,sha256=HBYIYpzjvjI4ZSdLUGxmFUdEdd--paZSZnMiU8WWiKY,2953
|
|
52
|
+
circle/web3/developer_controlled_wallets/models/not_authorized_response.py,sha256=81b7Zng2hXjon9HIZZeepD0EzqWlH2a49zCxShpi59M,2789
|
|
53
|
+
circle/web3/developer_controlled_wallets/models/not_found_response.py,sha256=WE6zRsWFahscJptM9q9DSWWBOU0Kc1ar4ztFO0494Go,2749
|
|
54
|
+
circle/web3/developer_controlled_wallets/models/operation.py,sha256=3mOuUFtG28hzJNRei0aHeMZjSI649I0V3ZKg2U9oKoA,705
|
|
55
|
+
circle/web3/developer_controlled_wallets/models/risk_action.py,sha256=K8eKVQVyKzyfJejiiJeBLvEKptXhsEWehAV3MNzIz7Q,693
|
|
56
|
+
circle/web3/developer_controlled_wallets/models/risk_category.py,sha256=33grvah3R51iqKekXKqeo3qfGb-Jv5WT8WqTuSETSEc,1057
|
|
57
|
+
circle/web3/developer_controlled_wallets/models/risk_score.py,sha256=6fYv3L2IFz4c3YgYqAx16A8BZ_e9wc_H_WPxCligN3U,706
|
|
58
|
+
circle/web3/developer_controlled_wallets/models/risk_signal.py,sha256=xjcdgecIlFpGX0UihoijlWm8aLNeArAcOr7bHAXCTic,3853
|
|
59
|
+
circle/web3/developer_controlled_wallets/models/risk_type.py,sha256=QWM4vdDO6z-9GH3lbROk-FCuaX-cMBnhf5WtVGufbUs,654
|
|
60
|
+
circle/web3/developer_controlled_wallets/models/sca_wallet.py,sha256=SqM5ljTWvoK0T8QrkjV5Um5eNWw5cp0oCAdpdKdZWtI,5589
|
|
61
|
+
circle/web3/developer_controlled_wallets/models/sign_message_request.py,sha256=JM8zOhqqC4EhFW90ECUVUlfvo7anpeMbNgnla9jVDPI,3927
|
|
62
|
+
circle/web3/developer_controlled_wallets/models/sign_transaction_request.py,sha256=1OeBIN3qsLvLX8kc0CvgpdeZ6OV2AQG2s14OGsMAcOI,3608
|
|
63
|
+
circle/web3/developer_controlled_wallets/models/sign_transaction_response.py,sha256=3i97UhivfHJoKym91FR2joK50oiM4zxrNvJSxLlVCJY,2963
|
|
64
|
+
circle/web3/developer_controlled_wallets/models/sign_transaction_response_data.py,sha256=KUDhRKM5jEcJFJ50OPBSKMC7p9BwTr7tfFrX_EvYlH8,2960
|
|
65
|
+
circle/web3/developer_controlled_wallets/models/sign_typed_data_request.py,sha256=vMvEUHVOjkexLIriS8rQ6uhpw-IC6uJDYV8u4uPip2Y,3511
|
|
66
|
+
circle/web3/developer_controlled_wallets/models/signature_response.py,sha256=2c7Az0Q3uLkaMYM3MsZkNFbYp6GWCGEpx3HYl9l7l2U,2890
|
|
67
|
+
circle/web3/developer_controlled_wallets/models/signature_response_data.py,sha256=_xbbfi8I5D1XSSIO5L2PUQKwft8Dk_219bu4o7BIWtY,2682
|
|
68
|
+
circle/web3/developer_controlled_wallets/models/token.py,sha256=qLmaVDTtpaeHkNRSHOF6AT7vlAOBriemQtWbCHo_S5k,4292
|
|
69
|
+
circle/web3/developer_controlled_wallets/models/token_blockchain.py,sha256=vnaCb_asLKvzQusdw713iyPbT-jDhaIjwPE2ZaD_mdw,941
|
|
70
|
+
circle/web3/developer_controlled_wallets/models/token_response.py,sha256=QVsuDj3KSBIOIQo4bQmE14O5LHo38aNxDO4moaOSlxk,2866
|
|
71
|
+
circle/web3/developer_controlled_wallets/models/token_response_data.py,sha256=dJjNCPbQJJjHY55pWkGHdx9jTRVaGFYO3Whx8EuiJzQ,2857
|
|
72
|
+
circle/web3/developer_controlled_wallets/models/token_standard.py,sha256=CtoV9hUiEiIMnKdXh0d_KZyyvgFtGLO0tkByEIaBjnY,912
|
|
73
|
+
circle/web3/developer_controlled_wallets/models/transaction.py,sha256=Ik0OgjU3oQi31gBCiX_7npZyZLkZQgTf_-EdboTQdjQ,11118
|
|
74
|
+
circle/web3/developer_controlled_wallets/models/transaction_fee.py,sha256=S8y_XdpUtBOT8R1gv_gvVBck7THnTELvINl8v2pMAck,5576
|
|
75
|
+
circle/web3/developer_controlled_wallets/models/transaction_response.py,sha256=UIJf3QEx6Pjiw5NvoRIKs31KuHpqEkYxtDfBbMm4cfg,2914
|
|
76
|
+
circle/web3/developer_controlled_wallets/models/transaction_response_data.py,sha256=PRJIr8-WlSojEHz7Tu9O8B5frWDw1z00ueYKasrb-Eg,2983
|
|
77
|
+
circle/web3/developer_controlled_wallets/models/transaction_screening_decision.py,sha256=_ExFIvRsdvQFPePIJct4XyBdsWCKSe91fh8WWgNL_kw,4062
|
|
78
|
+
circle/web3/developer_controlled_wallets/models/transaction_state.py,sha256=8cjEEbnPwkUfVnPY8_yVdMttS9r-U5qDF5b_MPpGgZc,860
|
|
79
|
+
circle/web3/developer_controlled_wallets/models/transaction_type.py,sha256=OmQinsZ-TZxCRQDKxZCYy5Yqb61IXDGl3J5O2YqafRU,640
|
|
80
|
+
circle/web3/developer_controlled_wallets/models/transactions.py,sha256=XZEgP91uUtUUjntyl5QGDSlTSyyaRCUQwjbsX5Dh55k,2853
|
|
81
|
+
circle/web3/developer_controlled_wallets/models/transactions_data.py,sha256=F_er-dpB4R-DWCeMVIxSVj_bVx0fCk01E6igjIWxboY,3121
|
|
82
|
+
circle/web3/developer_controlled_wallets/models/update_wallet_request.py,sha256=Jzgn_q0QnVEIiOztclxN7AVl1diM1xZELGdgupAPu8w,2861
|
|
83
|
+
circle/web3/developer_controlled_wallets/models/update_wallet_set_request.py,sha256=rt7obKc9WNBcQtzuiu6FgjR_1lAYky4O2Akg9ArlIjw,2641
|
|
84
|
+
circle/web3/developer_controlled_wallets/models/validate_address.py,sha256=BxdgY9SV1HOIs3FkiEftuJLSpQGkZOciCg-bNhadxEI,2866
|
|
85
|
+
circle/web3/developer_controlled_wallets/models/validate_address_data.py,sha256=M7GvTNr6lAJfWMXIR8jO6r-1oKiZLmKwONri6maRdGM,2605
|
|
86
|
+
circle/web3/developer_controlled_wallets/models/validate_address_request.py,sha256=1URC5TIBEscZNHEynijX67mmLQuceXUZqVFjN9K0jbA,2863
|
|
87
|
+
circle/web3/developer_controlled_wallets/models/wallet.py,sha256=T2AHNo-DwCiPh_0KQJAHDjcoM4jd6z11dS2Q-m0GUTk,4465
|
|
88
|
+
circle/web3/developer_controlled_wallets/models/wallet_metadata.py,sha256=Px7sIcHQF9rYNoAtsDkq2fAjMs3qD-rUh3gUqaazXC0,2821
|
|
89
|
+
circle/web3/developer_controlled_wallets/models/wallet_response.py,sha256=6fuhbwpeGQ8LBaKTAPg9D-dXxrD-YmwlNeAxlZV2fdQ,2854
|
|
90
|
+
circle/web3/developer_controlled_wallets/models/wallet_response_data.py,sha256=vmeq-EoCnSj1sFYYFbkEuYgxNUXQaClZjm72QQAj1Rk,2925
|
|
91
|
+
circle/web3/developer_controlled_wallets/models/wallet_set.py,sha256=36XfbZN1HNSlupjl-9MXkd3vzI5VxOXCFDLKLZEkLJs,2989
|
|
92
|
+
circle/web3/developer_controlled_wallets/models/wallet_set_response.py,sha256=L0f8cWCeBdyahR-hPQLQnPvuNXJQladqtlmFzuRLKvc,2891
|
|
93
|
+
circle/web3/developer_controlled_wallets/models/wallet_set_response_data.py,sha256=_IeRLW92FfHh6wO2zAgs7BlbX9-bgL3NfkthCg0AYV4,3026
|
|
94
|
+
circle/web3/developer_controlled_wallets/models/wallet_sets.py,sha256=NQlF3XZ-6BwGGpRU8fN4NqdcE7BNVOl53YZVloi_Yko,2806
|
|
95
|
+
circle/web3/developer_controlled_wallets/models/wallet_sets_data.py,sha256=o_D6cQ9MG8YFXNdkae99RV4g0Ua2qJ4bpv4Fa0AhZH4,3182
|
|
96
|
+
circle/web3/developer_controlled_wallets/models/wallet_sets_data_wallet_sets_inner.py,sha256=r6OiKzBkNR398FfGs_W3YGquUw14y8TwjZnTzZKJwzo,5478
|
|
97
|
+
circle/web3/developer_controlled_wallets/models/wallet_state.py,sha256=sM_nM5aSIeEo2YvjfXDc5lR-eWwMEYVjxeoplRxfbxo,651
|
|
98
|
+
circle/web3/developer_controlled_wallets/models/wallets.py,sha256=FtATAK5iH8ZBPEiG-kphwFrxu_zqca16ptkXJPpYFBk,2769
|
|
99
|
+
circle/web3/developer_controlled_wallets/models/wallets_data.py,sha256=WBtomlq7WnzoNQ6ujPCqR_JbNh1sDkYzfdEp7afOdwk,3080
|
|
100
|
+
circle/web3/developer_controlled_wallets/models/wallets_data_wallets_inner.py,sha256=Qob2-DdcoyAx3pzDq8YJvB7u9RGqWJ5FP9M6M6c_Fzg,5163
|
|
101
|
+
circle_developer_controlled_wallets-1.2.1.dist-info/METADATA,sha256=bI43R8PY7pd-jkT2bBRHHQQHwocjykSuhmSRw-9F8iw,4319
|
|
102
|
+
circle_developer_controlled_wallets-1.2.1.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
|
103
|
+
circle_developer_controlled_wallets-1.2.1.dist-info/top_level.txt,sha256=yrA-kPXovTlZknK2uc3iesulUvyL15VSSoCtXIEdqm4,7
|
|
104
|
+
circle_developer_controlled_wallets-1.2.1.dist-info/RECORD,,
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
The version of the OpenAPI document: 1.0
|
|
5
|
-
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
6
|
-
|
|
7
|
-
Do not edit the class manually.
|
|
8
|
-
""" # noqa: E501
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
from __future__ import annotations
|
|
12
|
-
import pprint
|
|
13
|
-
import re # noqa: F401
|
|
14
|
-
import json
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
from typing import Optional
|
|
18
|
-
from pydantic import BaseModel
|
|
19
|
-
from circle.web3.developer_controlled_wallets.models.accelerate_transaction_for_developer_response import AccelerateTransactionForDeveloperResponse
|
|
20
|
-
|
|
21
|
-
class CreateDeveloperTransactionAccelerate200Response(BaseModel):
|
|
22
|
-
"""
|
|
23
|
-
CreateDeveloperTransactionAccelerate200Response
|
|
24
|
-
"""
|
|
25
|
-
data: Optional[AccelerateTransactionForDeveloperResponse] = None
|
|
26
|
-
__properties = ["data"]
|
|
27
|
-
|
|
28
|
-
def __init__(self, **kwargs):
|
|
29
|
-
if "idempotencyKey" in self.__properties and not kwargs.get("idempotency_key"):
|
|
30
|
-
kwargs["idempotency_key"] = "#REFILL_PLACEHOLDER"
|
|
31
|
-
|
|
32
|
-
if "entitySecretCiphertext" in self.__properties and not kwargs.get("entity_secret_ciphertext"):
|
|
33
|
-
kwargs["entity_secret_ciphertext"] = "#REFILL_PLACEHOLDER"
|
|
34
|
-
super().__init__(**kwargs)
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
class Config:
|
|
38
|
-
"""Pydantic configuration"""
|
|
39
|
-
allow_population_by_field_name = True
|
|
40
|
-
validate_assignment = True
|
|
41
|
-
|
|
42
|
-
def to_str(self) -> str:
|
|
43
|
-
"""Returns the string representation of the model using alias"""
|
|
44
|
-
return pprint.pformat(self.dict(by_alias=True))
|
|
45
|
-
|
|
46
|
-
def to_json(self) -> str:
|
|
47
|
-
"""Returns the JSON representation of the model using alias"""
|
|
48
|
-
return json.dumps(self.to_dict())
|
|
49
|
-
|
|
50
|
-
@classmethod
|
|
51
|
-
def from_json(cls, json_str: str) -> CreateDeveloperTransactionAccelerate200Response:
|
|
52
|
-
"""Create an instance of CreateDeveloperTransactionAccelerate200Response from a JSON string"""
|
|
53
|
-
return cls.from_dict(json.loads(json_str))
|
|
54
|
-
|
|
55
|
-
def to_dict(self):
|
|
56
|
-
"""Returns the dictionary representation of the model using alias"""
|
|
57
|
-
_dict = self.dict(by_alias=True,
|
|
58
|
-
exclude={
|
|
59
|
-
},
|
|
60
|
-
exclude_none=True)
|
|
61
|
-
# override the default output from pydantic by calling `to_dict()` of data
|
|
62
|
-
if self.data:
|
|
63
|
-
_dict['data'] = self.data.to_dict()
|
|
64
|
-
return _dict
|
|
65
|
-
|
|
66
|
-
@classmethod
|
|
67
|
-
def from_dict(cls, obj: dict) -> CreateDeveloperTransactionAccelerate200Response:
|
|
68
|
-
"""Create an instance of CreateDeveloperTransactionAccelerate200Response from a dict"""
|
|
69
|
-
if obj is None:
|
|
70
|
-
return None
|
|
71
|
-
|
|
72
|
-
if not isinstance(obj, dict):
|
|
73
|
-
return CreateDeveloperTransactionAccelerate200Response.parse_obj(obj)
|
|
74
|
-
|
|
75
|
-
# fill idempotency_key and ciphertext with placeholder for auto_fill
|
|
76
|
-
if "idempotencyKey" in cls.__properties and not obj.get("idempotencyKey"):
|
|
77
|
-
obj["idempotencyKey"] = "#REFILL_PLACEHOLDER"
|
|
78
|
-
|
|
79
|
-
if "entitySecretCiphertext" in cls.__properties and not obj.get("entitySecretCiphertext"):
|
|
80
|
-
obj["entitySecretCiphertext"] = "#REFILL_PLACEHOLDER"
|
|
81
|
-
|
|
82
|
-
_obj = CreateDeveloperTransactionAccelerate200Response.parse_obj({
|
|
83
|
-
"data": AccelerateTransactionForDeveloperResponse.from_dict(obj.get("data")) if obj.get("data") is not None else None
|
|
84
|
-
})
|
|
85
|
-
return _obj
|
|
86
|
-
|
|
87
|
-
|
circle/web3/developer_controlled_wallets/models/create_developer_transaction_transfer200_response.py
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
The version of the OpenAPI document: 1.0
|
|
5
|
-
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
6
|
-
|
|
7
|
-
Do not edit the class manually.
|
|
8
|
-
""" # noqa: E501
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
from __future__ import annotations
|
|
12
|
-
import pprint
|
|
13
|
-
import re # noqa: F401
|
|
14
|
-
import json
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
from typing import Optional
|
|
18
|
-
from pydantic import BaseModel
|
|
19
|
-
from circle.web3.developer_controlled_wallets.models.create_transfer_transaction_for_developer_response import CreateTransferTransactionForDeveloperResponse
|
|
20
|
-
|
|
21
|
-
class CreateDeveloperTransactionTransfer200Response(BaseModel):
|
|
22
|
-
"""
|
|
23
|
-
CreateDeveloperTransactionTransfer200Response
|
|
24
|
-
"""
|
|
25
|
-
data: Optional[CreateTransferTransactionForDeveloperResponse] = None
|
|
26
|
-
__properties = ["data"]
|
|
27
|
-
|
|
28
|
-
def __init__(self, **kwargs):
|
|
29
|
-
if "idempotencyKey" in self.__properties and not kwargs.get("idempotency_key"):
|
|
30
|
-
kwargs["idempotency_key"] = "#REFILL_PLACEHOLDER"
|
|
31
|
-
|
|
32
|
-
if "entitySecretCiphertext" in self.__properties and not kwargs.get("entity_secret_ciphertext"):
|
|
33
|
-
kwargs["entity_secret_ciphertext"] = "#REFILL_PLACEHOLDER"
|
|
34
|
-
super().__init__(**kwargs)
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
class Config:
|
|
38
|
-
"""Pydantic configuration"""
|
|
39
|
-
allow_population_by_field_name = True
|
|
40
|
-
validate_assignment = True
|
|
41
|
-
|
|
42
|
-
def to_str(self) -> str:
|
|
43
|
-
"""Returns the string representation of the model using alias"""
|
|
44
|
-
return pprint.pformat(self.dict(by_alias=True))
|
|
45
|
-
|
|
46
|
-
def to_json(self) -> str:
|
|
47
|
-
"""Returns the JSON representation of the model using alias"""
|
|
48
|
-
return json.dumps(self.to_dict())
|
|
49
|
-
|
|
50
|
-
@classmethod
|
|
51
|
-
def from_json(cls, json_str: str) -> CreateDeveloperTransactionTransfer200Response:
|
|
52
|
-
"""Create an instance of CreateDeveloperTransactionTransfer200Response from a JSON string"""
|
|
53
|
-
return cls.from_dict(json.loads(json_str))
|
|
54
|
-
|
|
55
|
-
def to_dict(self):
|
|
56
|
-
"""Returns the dictionary representation of the model using alias"""
|
|
57
|
-
_dict = self.dict(by_alias=True,
|
|
58
|
-
exclude={
|
|
59
|
-
},
|
|
60
|
-
exclude_none=True)
|
|
61
|
-
# override the default output from pydantic by calling `to_dict()` of data
|
|
62
|
-
if self.data:
|
|
63
|
-
_dict['data'] = self.data.to_dict()
|
|
64
|
-
return _dict
|
|
65
|
-
|
|
66
|
-
@classmethod
|
|
67
|
-
def from_dict(cls, obj: dict) -> CreateDeveloperTransactionTransfer200Response:
|
|
68
|
-
"""Create an instance of CreateDeveloperTransactionTransfer200Response from a dict"""
|
|
69
|
-
if obj is None:
|
|
70
|
-
return None
|
|
71
|
-
|
|
72
|
-
if not isinstance(obj, dict):
|
|
73
|
-
return CreateDeveloperTransactionTransfer200Response.parse_obj(obj)
|
|
74
|
-
|
|
75
|
-
# fill idempotency_key and ciphertext with placeholder for auto_fill
|
|
76
|
-
if "idempotencyKey" in cls.__properties and not obj.get("idempotencyKey"):
|
|
77
|
-
obj["idempotencyKey"] = "#REFILL_PLACEHOLDER"
|
|
78
|
-
|
|
79
|
-
if "entitySecretCiphertext" in cls.__properties and not obj.get("entitySecretCiphertext"):
|
|
80
|
-
obj["entitySecretCiphertext"] = "#REFILL_PLACEHOLDER"
|
|
81
|
-
|
|
82
|
-
_obj = CreateDeveloperTransactionTransfer200Response.parse_obj({
|
|
83
|
-
"data": CreateTransferTransactionForDeveloperResponse.from_dict(obj.get("data")) if obj.get("data") is not None else None
|
|
84
|
-
})
|
|
85
|
-
return _obj
|
|
86
|
-
|
|
87
|
-
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
The version of the OpenAPI document: 1.0
|
|
5
|
-
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
6
|
-
|
|
7
|
-
Do not edit the class manually.
|
|
8
|
-
""" # noqa: E501
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
from __future__ import annotations
|
|
12
|
-
import pprint
|
|
13
|
-
import re # noqa: F401
|
|
14
|
-
import json
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
from typing import Optional
|
|
18
|
-
from pydantic import BaseModel
|
|
19
|
-
from circle.web3.developer_controlled_wallets.models.estimate_transaction_fee_response import EstimateTransactionFeeResponse
|
|
20
|
-
|
|
21
|
-
class CreateTransferEstimateFee200Response(BaseModel):
|
|
22
|
-
"""
|
|
23
|
-
CreateTransferEstimateFee200Response
|
|
24
|
-
"""
|
|
25
|
-
data: Optional[EstimateTransactionFeeResponse] = None
|
|
26
|
-
__properties = ["data"]
|
|
27
|
-
|
|
28
|
-
def __init__(self, **kwargs):
|
|
29
|
-
if "idempotencyKey" in self.__properties and not kwargs.get("idempotency_key"):
|
|
30
|
-
kwargs["idempotency_key"] = "#REFILL_PLACEHOLDER"
|
|
31
|
-
|
|
32
|
-
if "entitySecretCiphertext" in self.__properties and not kwargs.get("entity_secret_ciphertext"):
|
|
33
|
-
kwargs["entity_secret_ciphertext"] = "#REFILL_PLACEHOLDER"
|
|
34
|
-
super().__init__(**kwargs)
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
class Config:
|
|
38
|
-
"""Pydantic configuration"""
|
|
39
|
-
allow_population_by_field_name = True
|
|
40
|
-
validate_assignment = True
|
|
41
|
-
|
|
42
|
-
def to_str(self) -> str:
|
|
43
|
-
"""Returns the string representation of the model using alias"""
|
|
44
|
-
return pprint.pformat(self.dict(by_alias=True))
|
|
45
|
-
|
|
46
|
-
def to_json(self) -> str:
|
|
47
|
-
"""Returns the JSON representation of the model using alias"""
|
|
48
|
-
return json.dumps(self.to_dict())
|
|
49
|
-
|
|
50
|
-
@classmethod
|
|
51
|
-
def from_json(cls, json_str: str) -> CreateTransferEstimateFee200Response:
|
|
52
|
-
"""Create an instance of CreateTransferEstimateFee200Response from a JSON string"""
|
|
53
|
-
return cls.from_dict(json.loads(json_str))
|
|
54
|
-
|
|
55
|
-
def to_dict(self):
|
|
56
|
-
"""Returns the dictionary representation of the model using alias"""
|
|
57
|
-
_dict = self.dict(by_alias=True,
|
|
58
|
-
exclude={
|
|
59
|
-
},
|
|
60
|
-
exclude_none=True)
|
|
61
|
-
# override the default output from pydantic by calling `to_dict()` of data
|
|
62
|
-
if self.data:
|
|
63
|
-
_dict['data'] = self.data.to_dict()
|
|
64
|
-
return _dict
|
|
65
|
-
|
|
66
|
-
@classmethod
|
|
67
|
-
def from_dict(cls, obj: dict) -> CreateTransferEstimateFee200Response:
|
|
68
|
-
"""Create an instance of CreateTransferEstimateFee200Response from a dict"""
|
|
69
|
-
if obj is None:
|
|
70
|
-
return None
|
|
71
|
-
|
|
72
|
-
if not isinstance(obj, dict):
|
|
73
|
-
return CreateTransferEstimateFee200Response.parse_obj(obj)
|
|
74
|
-
|
|
75
|
-
# fill idempotency_key and ciphertext with placeholder for auto_fill
|
|
76
|
-
if "idempotencyKey" in cls.__properties and not obj.get("idempotencyKey"):
|
|
77
|
-
obj["idempotencyKey"] = "#REFILL_PLACEHOLDER"
|
|
78
|
-
|
|
79
|
-
if "entitySecretCiphertext" in cls.__properties and not obj.get("entitySecretCiphertext"):
|
|
80
|
-
obj["entitySecretCiphertext"] = "#REFILL_PLACEHOLDER"
|
|
81
|
-
|
|
82
|
-
_obj = CreateTransferEstimateFee200Response.parse_obj({
|
|
83
|
-
"data": EstimateTransactionFeeResponse.from_dict(obj.get("data")) if obj.get("data") is not None else None
|
|
84
|
-
})
|
|
85
|
-
return _obj
|
|
86
|
-
|
|
87
|
-
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
The version of the OpenAPI document: 1.0
|
|
5
|
-
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
6
|
-
|
|
7
|
-
Do not edit the class manually.
|
|
8
|
-
""" # noqa: E501
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
from __future__ import annotations
|
|
12
|
-
import pprint
|
|
13
|
-
import re # noqa: F401
|
|
14
|
-
import json
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
from typing import Optional
|
|
18
|
-
from pydantic import BaseModel
|
|
19
|
-
from circle.web3.developer_controlled_wallets.models.validate_address_response import ValidateAddressResponse
|
|
20
|
-
|
|
21
|
-
class CreateValidateAddress200Response(BaseModel):
|
|
22
|
-
"""
|
|
23
|
-
CreateValidateAddress200Response
|
|
24
|
-
"""
|
|
25
|
-
data: Optional[ValidateAddressResponse] = None
|
|
26
|
-
__properties = ["data"]
|
|
27
|
-
|
|
28
|
-
def __init__(self, **kwargs):
|
|
29
|
-
if "idempotencyKey" in self.__properties and not kwargs.get("idempotency_key"):
|
|
30
|
-
kwargs["idempotency_key"] = "#REFILL_PLACEHOLDER"
|
|
31
|
-
|
|
32
|
-
if "entitySecretCiphertext" in self.__properties and not kwargs.get("entity_secret_ciphertext"):
|
|
33
|
-
kwargs["entity_secret_ciphertext"] = "#REFILL_PLACEHOLDER"
|
|
34
|
-
super().__init__(**kwargs)
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
class Config:
|
|
38
|
-
"""Pydantic configuration"""
|
|
39
|
-
allow_population_by_field_name = True
|
|
40
|
-
validate_assignment = True
|
|
41
|
-
|
|
42
|
-
def to_str(self) -> str:
|
|
43
|
-
"""Returns the string representation of the model using alias"""
|
|
44
|
-
return pprint.pformat(self.dict(by_alias=True))
|
|
45
|
-
|
|
46
|
-
def to_json(self) -> str:
|
|
47
|
-
"""Returns the JSON representation of the model using alias"""
|
|
48
|
-
return json.dumps(self.to_dict())
|
|
49
|
-
|
|
50
|
-
@classmethod
|
|
51
|
-
def from_json(cls, json_str: str) -> CreateValidateAddress200Response:
|
|
52
|
-
"""Create an instance of CreateValidateAddress200Response from a JSON string"""
|
|
53
|
-
return cls.from_dict(json.loads(json_str))
|
|
54
|
-
|
|
55
|
-
def to_dict(self):
|
|
56
|
-
"""Returns the dictionary representation of the model using alias"""
|
|
57
|
-
_dict = self.dict(by_alias=True,
|
|
58
|
-
exclude={
|
|
59
|
-
},
|
|
60
|
-
exclude_none=True)
|
|
61
|
-
# override the default output from pydantic by calling `to_dict()` of data
|
|
62
|
-
if self.data:
|
|
63
|
-
_dict['data'] = self.data.to_dict()
|
|
64
|
-
return _dict
|
|
65
|
-
|
|
66
|
-
@classmethod
|
|
67
|
-
def from_dict(cls, obj: dict) -> CreateValidateAddress200Response:
|
|
68
|
-
"""Create an instance of CreateValidateAddress200Response from a dict"""
|
|
69
|
-
if obj is None:
|
|
70
|
-
return None
|
|
71
|
-
|
|
72
|
-
if not isinstance(obj, dict):
|
|
73
|
-
return CreateValidateAddress200Response.parse_obj(obj)
|
|
74
|
-
|
|
75
|
-
# fill idempotency_key and ciphertext with placeholder for auto_fill
|
|
76
|
-
if "idempotencyKey" in cls.__properties and not obj.get("idempotencyKey"):
|
|
77
|
-
obj["idempotencyKey"] = "#REFILL_PLACEHOLDER"
|
|
78
|
-
|
|
79
|
-
if "entitySecretCiphertext" in cls.__properties and not obj.get("entitySecretCiphertext"):
|
|
80
|
-
obj["entitySecretCiphertext"] = "#REFILL_PLACEHOLDER"
|
|
81
|
-
|
|
82
|
-
_obj = CreateValidateAddress200Response.parse_obj({
|
|
83
|
-
"data": ValidateAddressResponse.from_dict(obj.get("data")) if obj.get("data") is not None else None
|
|
84
|
-
})
|
|
85
|
-
return _obj
|
|
86
|
-
|
|
87
|
-
|