circle-smart-contract-platform 0.1.0b1__tar.gz
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.
- circle_smart_contract_platform-0.1.0b1/PKG-INFO +106 -0
- circle_smart_contract_platform-0.1.0b1/README.md +89 -0
- circle_smart_contract_platform-0.1.0b1/circle/__init__.py +0 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/__init__.py +0 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/__init__.py +67 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/api/__init__.py +8 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/api/deploy_import_api.py +508 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/api/interact_api.py +363 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/api/templates_api.py +373 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/api/view_update_api.py +581 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/api_client.py +789 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/api_response.py +25 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/configuration.py +455 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/exceptions.py +162 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/models/__init__.py +47 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/models/abi_parameters_inner.py +168 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/models/blockchain.py +38 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/models/contract.py +160 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/models/contract_deployment_estimate_fee_request.py +94 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/models/contract_deployment_estimate_fee_response.py +97 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/models/contract_deployment_request.py +113 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/models/contract_deployment_response.py +85 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/models/contract_input_type.py +38 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/models/contract_response.py +87 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/models/contract_status.py +37 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/models/contracts_response.py +91 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/models/deploy_contract200_response.py +87 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/models/deploy_contract_template200_response.py +87 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/models/error.py +85 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/models/estimate_contract_deploy200_response.py +87 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/models/estimate_contract_template_deploy200_response.py +87 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/models/estimate_deploy_contract_by_template_fee_request.py +90 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/models/estimate_deploy_contract_by_template_fee_response.py +97 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/models/estimated_transaction_fee.py +91 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/models/event.py +97 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/models/fee_level.py +37 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/models/function.py +106 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/models/import_contract200_response.py +87 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/models/import_contract_request.py +92 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/models/list_contracts200_response.py +87 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/models/param_type.py +91 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/models/patch_contract_request.py +87 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/models/query_contract200_response.py +87 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/models/read_contract_state_by_id_request.py +85 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/models/read_contract_state_request.py +104 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/models/read_contract_state_response.py +85 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/models/sol_file.py +85 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/models/template_contract_deployment_request.py +109 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/models/template_contract_deployment_response.py +85 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/models/verification_status.py +36 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/py.typed +0 -0
- circle_smart_contract_platform-0.1.0b1/circle/web3/smart_contract_platform/rest.py +299 -0
- circle_smart_contract_platform-0.1.0b1/circle_smart_contract_platform.egg-info/PKG-INFO +106 -0
- circle_smart_contract_platform-0.1.0b1/circle_smart_contract_platform.egg-info/SOURCES.txt +98 -0
- circle_smart_contract_platform-0.1.0b1/circle_smart_contract_platform.egg-info/dependency_links.txt +1 -0
- circle_smart_contract_platform-0.1.0b1/circle_smart_contract_platform.egg-info/requires.txt +7 -0
- circle_smart_contract_platform-0.1.0b1/circle_smart_contract_platform.egg-info/top_level.txt +1 -0
- circle_smart_contract_platform-0.1.0b1/pyproject.toml +30 -0
- circle_smart_contract_platform-0.1.0b1/setup.cfg +7 -0
- circle_smart_contract_platform-0.1.0b1/setup.py +50 -0
- circle_smart_contract_platform-0.1.0b1/test/test_abi_parameters_inner.py +49 -0
- circle_smart_contract_platform-0.1.0b1/test/test_blockchain.py +32 -0
- circle_smart_contract_platform-0.1.0b1/test/test_contract.py +125 -0
- circle_smart_contract_platform-0.1.0b1/test/test_contract_deployment_estimate_fee_request.py +56 -0
- circle_smart_contract_platform-0.1.0b1/test/test_contract_deployment_estimate_fee_response.py +67 -0
- circle_smart_contract_platform-0.1.0b1/test/test_contract_deployment_request.py +83 -0
- circle_smart_contract_platform-0.1.0b1/test/test_contract_deployment_response.py +51 -0
- circle_smart_contract_platform-0.1.0b1/test/test_contract_input_type.py +32 -0
- circle_smart_contract_platform-0.1.0b1/test/test_contract_response.py +112 -0
- circle_smart_contract_platform-0.1.0b1/test/test_contract_status.py +32 -0
- circle_smart_contract_platform-0.1.0b1/test/test_contracts_response.py +118 -0
- circle_smart_contract_platform-0.1.0b1/test/test_deploy_contract200_response.py +52 -0
- circle_smart_contract_platform-0.1.0b1/test/test_deploy_contract_template200_response.py +54 -0
- circle_smart_contract_platform-0.1.0b1/test/test_deploy_import_api.py +50 -0
- circle_smart_contract_platform-0.1.0b1/test/test_error.py +51 -0
- circle_smart_contract_platform-0.1.0b1/test/test_estimate_contract_deploy200_response.py +63 -0
- circle_smart_contract_platform-0.1.0b1/test/test_estimate_contract_template_deploy200_response.py +63 -0
- circle_smart_contract_platform-0.1.0b1/test/test_estimate_deploy_contract_by_template_fee_request.py +56 -0
- circle_smart_contract_platform-0.1.0b1/test/test_estimate_deploy_contract_by_template_fee_response.py +67 -0
- circle_smart_contract_platform-0.1.0b1/test/test_estimated_transaction_fee.py +54 -0
- circle_smart_contract_platform-0.1.0b1/test/test_event.py +62 -0
- circle_smart_contract_platform-0.1.0b1/test/test_fee_level.py +32 -0
- circle_smart_contract_platform-0.1.0b1/test/test_function.py +72 -0
- circle_smart_contract_platform-0.1.0b1/test/test_import_contract200_response.py +117 -0
- circle_smart_contract_platform-0.1.0b1/test/test_import_contract_request.py +58 -0
- circle_smart_contract_platform-0.1.0b1/test/test_interact_api.py +43 -0
- circle_smart_contract_platform-0.1.0b1/test/test_list_contracts200_response.py +119 -0
- circle_smart_contract_platform-0.1.0b1/test/test_param_type.py +56 -0
- circle_smart_contract_platform-0.1.0b1/test/test_patch_contract_request.py +52 -0
- circle_smart_contract_platform-0.1.0b1/test/test_query_contract200_response.py +54 -0
- circle_smart_contract_platform-0.1.0b1/test/test_read_contract_state_by_id_request.py +54 -0
- circle_smart_contract_platform-0.1.0b1/test/test_read_contract_state_request.py +64 -0
- circle_smart_contract_platform-0.1.0b1/test/test_read_contract_state_response.py +53 -0
- circle_smart_contract_platform-0.1.0b1/test/test_sol_file.py +60 -0
- circle_smart_contract_platform-0.1.0b1/test/test_template_contract_deployment_request.py +69 -0
- circle_smart_contract_platform-0.1.0b1/test/test_template_contract_deployment_response.py +53 -0
- circle_smart_contract_platform-0.1.0b1/test/test_templates_api.py +43 -0
- circle_smart_contract_platform-0.1.0b1/test/test_verification_status.py +32 -0
- circle_smart_contract_platform-0.1.0b1/test/test_view_update_api.py +50 -0
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: circle-smart-contract-platform
|
|
3
|
+
Version: 0.1.0b1
|
|
4
|
+
Summary: Smart Contract Platform
|
|
5
|
+
Home-page:
|
|
6
|
+
Author: OpenAPI Generator community
|
|
7
|
+
Author-email: team@openapitools.org
|
|
8
|
+
Keywords: OpenAPI,OpenAPI-Generator,Smart Contract Platform
|
|
9
|
+
Description-Content-Type: text/markdown
|
|
10
|
+
Requires-Dist: urllib3<2.1.0,>=1.25.3
|
|
11
|
+
Requires-Dist: python-dateutil
|
|
12
|
+
Requires-Dist: pydantic<2,>=1.10.5
|
|
13
|
+
Requires-Dist: aenum
|
|
14
|
+
Requires-Dist: pycryptodome>=3.20.0
|
|
15
|
+
Requires-Dist: circle-configurations==0.1.0b1
|
|
16
|
+
Requires-Dist: circle-web3-sdk-util==0.1.0b1
|
|
17
|
+
|
|
18
|
+
# circle-smart-contract-platform
|
|
19
|
+
This is the Smart Contract Platform API documentation.
|
|
20
|
+
|
|
21
|
+
- API version: 1.0
|
|
22
|
+
- Package version: 0.1.0b1
|
|
23
|
+
|
|
24
|
+
## Requirements.
|
|
25
|
+
|
|
26
|
+
Python 3.7+
|
|
27
|
+
|
|
28
|
+
## Installation
|
|
29
|
+
### pip install
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
pip install circle-smart-contract-platform
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Then import the package:
|
|
36
|
+
```python
|
|
37
|
+
from circle.web3 import smart_contract_platform
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
## Usage
|
|
42
|
+
|
|
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. API key can be set by environment variable or function parameter
|
|
44
|
+
|
|
45
|
+
```sh
|
|
46
|
+
export CIRCLE_WEB3_API_KEY="Your API KEY"
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
2. Register an entity secret following Circle's [Developer-Controlled QuickStart](https://learn.circle.com/quickstarts/dev-controlled-wallets). This step ensures that your account is correctly set up to interact with Circle's APIs. Entity secret can be set by environment variable or function parameter
|
|
50
|
+
|
|
51
|
+
```sh
|
|
52
|
+
export CIRCLE_ENTITY_SECRET="Your entity secret"
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
3. Initiate API client
|
|
56
|
+
|
|
57
|
+
```python
|
|
58
|
+
from circle.web3 import utils
|
|
59
|
+
|
|
60
|
+
client = utils.init_smart_contract_platform_client(api_key="Your API KEY", entity_secret="Your entity secret")
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
4. Interact with the client:
|
|
64
|
+
|
|
65
|
+
```python
|
|
66
|
+
from circle.web3 import smart_contract_platform
|
|
67
|
+
|
|
68
|
+
api_instance = smart_contract_platform.DeployImportApi(client)
|
|
69
|
+
|
|
70
|
+
# import contract
|
|
71
|
+
try:
|
|
72
|
+
request = smart_contract_platform.ImportContractRequest.from_dict({
|
|
73
|
+
"name": "UChildERC20Proxy",
|
|
74
|
+
"address": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
|
|
75
|
+
"blockchain": "MATIC"
|
|
76
|
+
})
|
|
77
|
+
response = api_instance.import_contract(request)
|
|
78
|
+
print(response)
|
|
79
|
+
except smart_contract_platform.ApiException as e:
|
|
80
|
+
print("Exception when calling DeployImportApi->import_contract: %s\n" % e)
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
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.
|
|
84
|
+
|
|
85
|
+
## Configuration
|
|
86
|
+
|
|
87
|
+
The client accept following configuration parameters:
|
|
88
|
+
|
|
89
|
+
Option | Required | Description
|
|
90
|
+
------------ | ------------- | -------------
|
|
91
|
+
api_key | Yes | Api Key that is used to authenticate against Circle APIs. Must be provided by ether env variable or function parameter.
|
|
92
|
+
entity_secret | Yes | Your configured entity secret. Must be provided by ether env variable or function parameter.
|
|
93
|
+
host | No | Optional base URL to override the default: https://api.circle.com/v1/w3s.
|
|
94
|
+
user_agent | No | Optional custom user agent request header. We will prepend it to default user agent header if provided.
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
## Need help or have questions?
|
|
98
|
+
|
|
99
|
+
Here are some helpful links, if you encounter any issues or have questions about this SDK:
|
|
100
|
+
|
|
101
|
+
- 📖 [Getting started](https://learn.circle.com/): Check out our official Developer-Controlled Wallets QuickStart.
|
|
102
|
+
- 🎮 [Join our Discord Community](https://discord.com/invite/buildoncircle): Engage, learn, and collaborate.
|
|
103
|
+
- 🛎 [Visit our Help-Desk Page](https://support.usdc.circle.com/hc/en-us/p/contactus?_gl=1*1va6vat*_ga*MTAyNTA0NTQ2NC4xNjk5NTYyMjgx*_ga_GJDVPCQNRV*MTcwMDQ5Mzg3Ny4xNC4xLjE3MDA0OTM4ODQuNTMuMC4w): Dive into curated FAQs and guides.
|
|
104
|
+
- 📧 [Direct Email](mailto:customer-support@circle.com): We're always a message away.
|
|
105
|
+
- 📖 [Read docs](https://developers.circle.com/w3s/docs?_gl=1*15ozb5b*_ga*MTAyNTA0NTQ2NC4xNjk5NTYyMjgx*_ga_GJDVPCQNRV*MTcwMDQ5Mzg3Ny4xNC4xLjE3MDA0OTM4ODQuNTMuMC4w): Check out our developer documentation.
|
|
106
|
+
Happy coding!
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# circle-smart-contract-platform
|
|
2
|
+
This is the Smart Contract Platform API documentation.
|
|
3
|
+
|
|
4
|
+
- API version: 1.0
|
|
5
|
+
- Package version: 0.1.0b1
|
|
6
|
+
|
|
7
|
+
## Requirements.
|
|
8
|
+
|
|
9
|
+
Python 3.7+
|
|
10
|
+
|
|
11
|
+
## Installation
|
|
12
|
+
### pip install
|
|
13
|
+
|
|
14
|
+
```sh
|
|
15
|
+
pip install circle-smart-contract-platform
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Then import the package:
|
|
19
|
+
```python
|
|
20
|
+
from circle.web3 import smart_contract_platform
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
## Usage
|
|
25
|
+
|
|
26
|
+
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. API key can be set by environment variable or function parameter
|
|
27
|
+
|
|
28
|
+
```sh
|
|
29
|
+
export CIRCLE_WEB3_API_KEY="Your API KEY"
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
2. Register an entity secret following Circle's [Developer-Controlled QuickStart](https://learn.circle.com/quickstarts/dev-controlled-wallets). This step ensures that your account is correctly set up to interact with Circle's APIs. Entity secret can be set by environment variable or function parameter
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
export CIRCLE_ENTITY_SECRET="Your entity secret"
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
3. Initiate API client
|
|
39
|
+
|
|
40
|
+
```python
|
|
41
|
+
from circle.web3 import utils
|
|
42
|
+
|
|
43
|
+
client = utils.init_smart_contract_platform_client(api_key="Your API KEY", entity_secret="Your entity secret")
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
4. Interact with the client:
|
|
47
|
+
|
|
48
|
+
```python
|
|
49
|
+
from circle.web3 import smart_contract_platform
|
|
50
|
+
|
|
51
|
+
api_instance = smart_contract_platform.DeployImportApi(client)
|
|
52
|
+
|
|
53
|
+
# import contract
|
|
54
|
+
try:
|
|
55
|
+
request = smart_contract_platform.ImportContractRequest.from_dict({
|
|
56
|
+
"name": "UChildERC20Proxy",
|
|
57
|
+
"address": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
|
|
58
|
+
"blockchain": "MATIC"
|
|
59
|
+
})
|
|
60
|
+
response = api_instance.import_contract(request)
|
|
61
|
+
print(response)
|
|
62
|
+
except smart_contract_platform.ApiException as e:
|
|
63
|
+
print("Exception when calling DeployImportApi->import_contract: %s\n" % e)
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
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.
|
|
67
|
+
|
|
68
|
+
## Configuration
|
|
69
|
+
|
|
70
|
+
The client accept following configuration parameters:
|
|
71
|
+
|
|
72
|
+
Option | Required | Description
|
|
73
|
+
------------ | ------------- | -------------
|
|
74
|
+
api_key | Yes | Api Key that is used to authenticate against Circle APIs. Must be provided by ether env variable or function parameter.
|
|
75
|
+
entity_secret | Yes | Your configured entity secret. Must be provided by ether env variable or function parameter.
|
|
76
|
+
host | No | Optional base URL to override the default: https://api.circle.com/v1/w3s.
|
|
77
|
+
user_agent | No | Optional custom user agent request header. We will prepend it to default user agent header if provided.
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
## Need help or have questions?
|
|
81
|
+
|
|
82
|
+
Here are some helpful links, if you encounter any issues or have questions about this SDK:
|
|
83
|
+
|
|
84
|
+
- 📖 [Getting started](https://learn.circle.com/): Check out our official Developer-Controlled Wallets QuickStart.
|
|
85
|
+
- 🎮 [Join our Discord Community](https://discord.com/invite/buildoncircle): Engage, learn, and collaborate.
|
|
86
|
+
- 🛎 [Visit our Help-Desk Page](https://support.usdc.circle.com/hc/en-us/p/contactus?_gl=1*1va6vat*_ga*MTAyNTA0NTQ2NC4xNjk5NTYyMjgx*_ga_GJDVPCQNRV*MTcwMDQ5Mzg3Ny4xNC4xLjE3MDA0OTM4ODQuNTMuMC4w): Dive into curated FAQs and guides.
|
|
87
|
+
- 📧 [Direct Email](mailto:customer-support@circle.com): We're always a message away.
|
|
88
|
+
- 📖 [Read docs](https://developers.circle.com/w3s/docs?_gl=1*15ozb5b*_ga*MTAyNTA0NTQ2NC4xNjk5NTYyMjgx*_ga_GJDVPCQNRV*MTcwMDQ5Mzg3Ny4xNC4xLjE3MDA0OTM4ODQuNTMuMC4w): Check out our developer documentation.
|
|
89
|
+
Happy coding!
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
# flake8: noqa
|
|
4
|
+
|
|
5
|
+
"""
|
|
6
|
+
The version of the OpenAPI document: 1.0
|
|
7
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
8
|
+
|
|
9
|
+
Do not edit the class manually.
|
|
10
|
+
""" # noqa: E501
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
__version__ = "0.1.0b1"
|
|
14
|
+
|
|
15
|
+
# import apis into sdk package
|
|
16
|
+
from circle.web3.smart_contract_platform.api.deploy_import_api import DeployImportApi
|
|
17
|
+
from circle.web3.smart_contract_platform.api.interact_api import InteractApi
|
|
18
|
+
from circle.web3.smart_contract_platform.api.templates_api import TemplatesApi
|
|
19
|
+
from circle.web3.smart_contract_platform.api.view_update_api import ViewUpdateApi
|
|
20
|
+
|
|
21
|
+
# import ApiClient
|
|
22
|
+
from circle.web3.smart_contract_platform.api_response import ApiResponse
|
|
23
|
+
from circle.web3.smart_contract_platform.api_client import ApiClient
|
|
24
|
+
from circle.web3.smart_contract_platform.configuration import Configuration
|
|
25
|
+
from circle.web3.smart_contract_platform.exceptions import OpenApiException
|
|
26
|
+
from circle.web3.smart_contract_platform.exceptions import ApiTypeError
|
|
27
|
+
from circle.web3.smart_contract_platform.exceptions import ApiValueError
|
|
28
|
+
from circle.web3.smart_contract_platform.exceptions import ApiKeyError
|
|
29
|
+
from circle.web3.smart_contract_platform.exceptions import ApiAttributeError
|
|
30
|
+
from circle.web3.smart_contract_platform.exceptions import ApiException
|
|
31
|
+
|
|
32
|
+
# import models into sdk package
|
|
33
|
+
from circle.web3.smart_contract_platform.models.abi_parameters_inner import AbiParametersInner
|
|
34
|
+
from circle.web3.smart_contract_platform.models.blockchain import Blockchain
|
|
35
|
+
from circle.web3.smart_contract_platform.models.contract import Contract
|
|
36
|
+
from circle.web3.smart_contract_platform.models.contract_deployment_estimate_fee_request import ContractDeploymentEstimateFeeRequest
|
|
37
|
+
from circle.web3.smart_contract_platform.models.contract_deployment_estimate_fee_response import ContractDeploymentEstimateFeeResponse
|
|
38
|
+
from circle.web3.smart_contract_platform.models.contract_deployment_request import ContractDeploymentRequest
|
|
39
|
+
from circle.web3.smart_contract_platform.models.contract_deployment_response import ContractDeploymentResponse
|
|
40
|
+
from circle.web3.smart_contract_platform.models.contract_input_type import ContractInputType
|
|
41
|
+
from circle.web3.smart_contract_platform.models.contract_response import ContractResponse
|
|
42
|
+
from circle.web3.smart_contract_platform.models.contract_status import ContractStatus
|
|
43
|
+
from circle.web3.smart_contract_platform.models.contracts_response import ContractsResponse
|
|
44
|
+
from circle.web3.smart_contract_platform.models.deploy_contract200_response import DeployContract200Response
|
|
45
|
+
from circle.web3.smart_contract_platform.models.deploy_contract_template200_response import DeployContractTemplate200Response
|
|
46
|
+
from circle.web3.smart_contract_platform.models.error import Error
|
|
47
|
+
from circle.web3.smart_contract_platform.models.estimate_contract_deploy200_response import EstimateContractDeploy200Response
|
|
48
|
+
from circle.web3.smart_contract_platform.models.estimate_contract_template_deploy200_response import EstimateContractTemplateDeploy200Response
|
|
49
|
+
from circle.web3.smart_contract_platform.models.estimate_deploy_contract_by_template_fee_request import EstimateDeployContractByTemplateFeeRequest
|
|
50
|
+
from circle.web3.smart_contract_platform.models.estimate_deploy_contract_by_template_fee_response import EstimateDeployContractByTemplateFeeResponse
|
|
51
|
+
from circle.web3.smart_contract_platform.models.estimated_transaction_fee import EstimatedTransactionFee
|
|
52
|
+
from circle.web3.smart_contract_platform.models.event import Event
|
|
53
|
+
from circle.web3.smart_contract_platform.models.fee_level import FeeLevel
|
|
54
|
+
from circle.web3.smart_contract_platform.models.function import Function
|
|
55
|
+
from circle.web3.smart_contract_platform.models.import_contract200_response import ImportContract200Response
|
|
56
|
+
from circle.web3.smart_contract_platform.models.import_contract_request import ImportContractRequest
|
|
57
|
+
from circle.web3.smart_contract_platform.models.list_contracts200_response import ListContracts200Response
|
|
58
|
+
from circle.web3.smart_contract_platform.models.param_type import ParamType
|
|
59
|
+
from circle.web3.smart_contract_platform.models.patch_contract_request import PatchContractRequest
|
|
60
|
+
from circle.web3.smart_contract_platform.models.query_contract200_response import QueryContract200Response
|
|
61
|
+
from circle.web3.smart_contract_platform.models.read_contract_state_by_id_request import ReadContractStateByIDRequest
|
|
62
|
+
from circle.web3.smart_contract_platform.models.read_contract_state_request import ReadContractStateRequest
|
|
63
|
+
from circle.web3.smart_contract_platform.models.read_contract_state_response import ReadContractStateResponse
|
|
64
|
+
from circle.web3.smart_contract_platform.models.sol_file import SolFile
|
|
65
|
+
from circle.web3.smart_contract_platform.models.template_contract_deployment_request import TemplateContractDeploymentRequest
|
|
66
|
+
from circle.web3.smart_contract_platform.models.template_contract_deployment_response import TemplateContractDeploymentResponse
|
|
67
|
+
from circle.web3.smart_contract_platform.models.verification_status import VerificationStatus
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# flake8: noqa
|
|
2
|
+
|
|
3
|
+
# import apis into api package
|
|
4
|
+
from circle.web3.smart_contract_platform.api.deploy_import_api import DeployImportApi
|
|
5
|
+
from circle.web3.smart_contract_platform.api.interact_api import InteractApi
|
|
6
|
+
from circle.web3.smart_contract_platform.api.templates_api import TemplatesApi
|
|
7
|
+
from circle.web3.smart_contract_platform.api.view_update_api import ViewUpdateApi
|
|
8
|
+
|