circle-developer-controlled-wallets 1.1.1__py3-none-any.whl → 2.0.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 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 +2 -0
- 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/fee_level.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.1.dist-info → circle_developer_controlled_wallets-2.0.0.dist-info}/METADATA +42 -25
- circle_developer_controlled_wallets-2.0.0.dist-info/RECORD +104 -0
- {circle_developer_controlled_wallets-1.1.1.dist-info → circle_developer_controlled_wallets-2.0.0.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.1.dist-info/RECORD +0 -97
- {circle_developer_controlled_wallets-1.1.1.dist-info → circle_developer_controlled_wallets-2.0.0.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:
|
|
3
|
+
Version: 2.0.0
|
|
4
4
|
Summary: Developer-Controlled Wallets
|
|
5
5
|
Home-page:
|
|
6
6
|
Author: OpenAPI Generator community
|
|
@@ -12,14 +12,13 @@ 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 ==
|
|
16
|
-
Requires-Dist: circle-web3-sdk-util ==
|
|
15
|
+
Requires-Dist: circle-configurations ==2.0.0
|
|
16
|
+
Requires-Dist: circle-web3-sdk-util ==2.0.0
|
|
17
17
|
|
|
18
18
|
# circle-developer-controlled-wallets
|
|
19
|
-
Developer
|
|
19
|
+
This SDK provides convenient access to Circle's Developer Controlled Wallets APIs for applications written in Python. For the API reference, see the [Circle Web3 API docs](https://developers.circle.com/w3s/reference).
|
|
20
20
|
|
|
21
|
-
-
|
|
22
|
-
- Package version: 1.1.1
|
|
21
|
+
- Package version: 2.0.0
|
|
23
22
|
|
|
24
23
|
## Requirements.
|
|
25
24
|
|
|
@@ -40,49 +39,67 @@ from circle.web3 import developer_controlled_wallets
|
|
|
40
39
|
|
|
41
40
|
## Usage
|
|
42
41
|
|
|
43
|
-
1. Generate an API key, if you haven't already, in the [Web3 Services Console](https://console.circle.com/). This API key will be used for authentication and authorization when making requests to Circle's APIs.
|
|
42
|
+
1. Generate an API key, if you haven't already, in the [Web3 Services Console](https://console.circle.com/api-keys). This API key will be used for authentication and authorization when making requests to Circle's APIs.
|
|
44
43
|
|
|
45
|
-
```sh
|
|
46
|
-
export CIRCLE_WEB3_API_KEY="Your API KEY"
|
|
47
|
-
```
|
|
44
|
+
```sh
|
|
45
|
+
export CIRCLE_WEB3_API_KEY="Your API KEY"
|
|
46
|
+
```
|
|
48
47
|
|
|
49
|
-
2.
|
|
48
|
+
2. Generate a new entity secret by using the helper function in the SDK. This will print a new entity secret which will be used in step 3 to register it.
|
|
50
49
|
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
```
|
|
50
|
+
```python
|
|
51
|
+
from circle.web3 import utils
|
|
54
52
|
|
|
55
|
-
|
|
53
|
+
utils.generate_entity_secret()
|
|
54
|
+
```
|
|
56
55
|
|
|
57
|
-
|
|
58
|
-
|
|
56
|
+
> [!IMPORTANT]
|
|
57
|
+
Protect your Entity Secret as you would protect your house key. Losing it or sharing it with others can have serious consequences. As the name suggests, the Entity Secret is sensitive information. Store it securely and treat it with the highest level of confidentiality to prevent unauthorized access or use.
|
|
59
58
|
|
|
60
|
-
|
|
61
|
-
|
|
59
|
+
3. Register the entity secret either by using the SDK or by following Circle's [Developer-Controlled QuickStart](https://learn.circle.com/interactive-quickstarts/dev-controlled-wallets#setup-your-entity-secret). This step ensures that your account is correctly set up to interact with Circle's APIs.
|
|
60
|
+
|
|
61
|
+
```python
|
|
62
|
+
from circle.web3 import utils
|
|
63
|
+
result = utils.register_entity_secret_ciphertext(api_key='your_api_key', entity_secret='new_entity_secret')
|
|
64
|
+
print(result)
|
|
65
|
+
```
|
|
66
|
+
> [!IMPORTANT]
|
|
67
|
+
The `register_entity_secret_ciphertext` function downloads a recovery file named `recovery_file_<timestamp>.dat`. This file should be stored securely, similar to the entity secret. Additionally, the function returns the content of the recovery file as a JSON response.
|
|
68
|
+
|
|
69
|
+
4. In your code, use the `init_developer_controlled_wallets_client` function from the utils and initialize the client using your API key and entity secret:
|
|
70
|
+
|
|
71
|
+
```python
|
|
72
|
+
from circle.web3 import utils
|
|
62
73
|
|
|
63
|
-
|
|
74
|
+
client = utils.init_developer_controlled_wallets_client(api_key="Your API KEY", entity_secret="Your entity secret")
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
5. Interact with the client:
|
|
64
78
|
|
|
65
79
|
```python
|
|
80
|
+
from circle.web3 import utils
|
|
66
81
|
from circle.web3 import developer_controlled_wallets
|
|
67
82
|
|
|
83
|
+
client = utils.init_developer_controlled_wallets_client(api_key="Your API KEY", entity_secret="Your entity secret")
|
|
68
84
|
api_instance = developer_controlled_wallets.WalletSetsApi(client)
|
|
69
85
|
|
|
70
86
|
# create wallet sets
|
|
71
87
|
try:
|
|
72
|
-
request = developer_controlled_wallets.
|
|
88
|
+
request = developer_controlled_wallets.CreateWalletSetRequest.from_dict({
|
|
73
89
|
"name": "my_wallet_set"
|
|
74
90
|
})
|
|
75
|
-
api_instance.create_wallet_set(request)
|
|
91
|
+
response = api_instance.create_wallet_set(request)
|
|
92
|
+
print(response)
|
|
76
93
|
except developer_controlled_wallets.ApiException as e:
|
|
77
94
|
print("Exception when calling WalletSetsApi->create_wallet_set: %s\n" % e)
|
|
78
95
|
|
|
79
96
|
# list wallet sets
|
|
80
97
|
try:
|
|
81
|
-
response = api_instance.
|
|
98
|
+
response = api_instance.get_wallet_sets()
|
|
82
99
|
for wallet_set in response.data.wallet_sets:
|
|
83
|
-
print(wallet_set.id)
|
|
100
|
+
print(wallet_set.actual_instance.id)
|
|
84
101
|
except developer_controlled_wallets.ApiException as e:
|
|
85
|
-
print("Exception when calling WalletSetsApi->
|
|
102
|
+
print("Exception when calling WalletSetsApi->get_wallet_sets: %s\n" % e)
|
|
86
103
|
```
|
|
87
104
|
|
|
88
105
|
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=gfUUP7LCl3FKpY8UkaOWH6KfNYjvOBEw6Mv-kkam5dM,10112
|
|
4
|
+
circle/web3/developer_controlled_wallets/api_client.py,sha256=N1qM2YqwDsvIVPp2Nx4I_jlrx_SYqc2ipssiBLH-91c,31612
|
|
5
|
+
circle/web3/developer_controlled_wallets/api_response.py,sha256=PVUEilYSo_CCiR5NaxyzzyJAlKL1xkNoWvtkfk7r528,844
|
|
6
|
+
circle/web3/developer_controlled_wallets/configuration.py,sha256=IfBfCQEHAHUb7K3y3-TjOJDnVGdRzH3YHfPu7SUvy7g,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=q4weq1Q-YKdgUzoAc-ByVwmb13NxDrfLWD5XBAOpbow,8818
|
|
33
|
+
circle/web3/developer_controlled_wallets/models/create_transfer_transaction_for_developer_request.py,sha256=ERrJ7PXERkLEwBPjTNCnwmxrbg7OVKt3aQvVShlMINg,7937
|
|
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=udtM-56G8JXf7r680EmD404rH6J4IffcfhYIo2pYORE,985
|
|
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=xPVPc6zDJ9xlDcWBk8ffckxPhnCb7AfZevJ9u68OJt4,5800
|
|
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-2.0.0.dist-info/METADATA,sha256=LBtbWIHReVylGyfrRo44VK-VMyJS8sVszhU0VOwxyYI,5781
|
|
102
|
+
circle_developer_controlled_wallets-2.0.0.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
|
|
103
|
+
circle_developer_controlled_wallets-2.0.0.dist-info/top_level.txt,sha256=yrA-kPXovTlZknK2uc3iesulUvyL15VSSoCtXIEdqm4,7
|
|
104
|
+
circle_developer_controlled_wallets-2.0.0.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
|
-
|