Skip to content

Commit 319fcee

Browse files
authored
Merge pull request #110 from fireblocks/fireblocks-api-spec/generated/5019
Generated SDK #5019
2 parents 15b6201 + dab4a09 commit 319fcee

71 files changed

Lines changed: 3434 additions & 150 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.openapi-generator/FILES

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ docs/ConfigTransferOperationSnapshot.md
101101
docs/ConsoleUser.md
102102
docs/ConsoleUserApi.md
103103
docs/ContractAbiResponseDto.md
104+
docs/ContractAbiResponseDtoAbiInner.md
104105
docs/ContractAttributes.md
105106
docs/ContractDeployRequest.md
106107
docs/ContractDeployResponse.md
@@ -238,6 +239,8 @@ docs/GasStationConfiguration.md
238239
docs/GasStationConfigurationResponse.md
239240
docs/GasStationPropertiesResponse.md
240241
docs/GasStationsApi.md
242+
docs/GasslessStandardConfigurations.md
243+
docs/GasslessStandardConfigurationsGaslessStandardConfigurationsValue.md
241244
docs/GetAPIUsersResponse.md
242245
docs/GetAuditLogsResponse.md
243246
docs/GetConnectionsResponse.md
@@ -257,6 +260,7 @@ docs/GetValidationKeyResponseDto.md
257260
docs/GetWhitelistIpAddressesResponse.md
258261
docs/GetWorkspaceStatusResponse.md
259262
docs/HttpContractDoesNotExistError.md
263+
docs/IdlType.md
260264
docs/InstructionAmount.md
261265
docs/InternalTransferResponse.md
262266
docs/InternalWalletsApi.md
@@ -278,6 +282,7 @@ docs/ModifySigningKeyAgentIdDto.md
278282
docs/ModifySigningKeyDto.md
279283
docs/ModifyValidationKeyDto.md
280284
docs/MpcKey.md
285+
docs/MultichainDeploymentMetadata.md
281286
docs/NFTsApi.md
282287
docs/NetworkChannel.md
283288
docs/NetworkConnection.md
@@ -358,6 +363,7 @@ docs/PublishDraftRequest.md
358363
docs/PublishResult.md
359364
docs/ReadAbiFunction.md
360365
docs/ReadCallFunctionDto.md
366+
docs/ReadCallFunctionDtoAbiFunction.md
361367
docs/RedeemFundsToLinkedDDAResponse.md
362368
docs/RegisterNewAssetRequest.md
363369
docs/ReissueMultichainTokenRequest.md
@@ -375,6 +381,8 @@ docs/ResetDeviceApi.md
375381
docs/RespondToConnectionRequest.md
376382
docs/RewardInfo.md
377383
docs/RewardsInfo.md
384+
docs/SOLAccount.md
385+
docs/SOLAccountWithValue.md
378386
docs/ScreeningConfigurationsRequest.md
379387
docs/ScreeningOperationExecution.md
380388
docs/ScreeningOperationExecutionOutput.md
@@ -437,7 +445,13 @@ docs/SmartTransferTicketTermResponse.md
437445
docs/SmartTransferUpdateTicketTerm.md
438446
docs/SmartTransferUserGroups.md
439447
docs/SmartTransferUserGroupsResponse.md
448+
docs/SolParameter.md
449+
docs/SolParameterWithValue.md
440450
docs/SolanaBlockchainData.md
451+
docs/SolanaConfig.md
452+
docs/SolanaInstruction.md
453+
docs/SolanaInstructionWithValue.md
454+
docs/SolanaSimpleCreateParams.md
441455
docs/SourceTransferPeerPath.md
442456
docs/SourceTransferPeerPathResponse.md
443457
docs/SpamOwnershipResponse.md
@@ -588,6 +602,7 @@ docs/WorkflowExecutionOperation.md
588602
docs/WorkspaceStatusBetaApi.md
589603
docs/WriteAbiFunction.md
590604
docs/WriteCallFunctionDto.md
605+
docs/WriteCallFunctionDtoAbiFunction.md
591606
docs/WriteCallFunctionResponseDto.md
592607
fireblocks/__init__.py
593608
fireblocks/additional_options.py
@@ -734,6 +749,7 @@ fireblocks/models/config_operation_status.py
734749
fireblocks/models/config_transfer_operation_snapshot.py
735750
fireblocks/models/console_user.py
736751
fireblocks/models/contract_abi_response_dto.py
752+
fireblocks/models/contract_abi_response_dto_abi_inner.py
737753
fireblocks/models/contract_attributes.py
738754
fireblocks/models/contract_deploy_request.py
739755
fireblocks/models/contract_deploy_response.py
@@ -861,6 +877,8 @@ fireblocks/models/funds.py
861877
fireblocks/models/gas_station_configuration.py
862878
fireblocks/models/gas_station_configuration_response.py
863879
fireblocks/models/gas_station_properties_response.py
880+
fireblocks/models/gassless_standard_configurations.py
881+
fireblocks/models/gassless_standard_configurations_gasless_standard_configurations_value.py
864882
fireblocks/models/get_api_users_response.py
865883
fireblocks/models/get_audit_logs_response.py
866884
fireblocks/models/get_connections_response.py
@@ -880,6 +898,7 @@ fireblocks/models/get_validation_key_response_dto.py
880898
fireblocks/models/get_whitelist_ip_addresses_response.py
881899
fireblocks/models/get_workspace_status_response.py
882900
fireblocks/models/http_contract_does_not_exist_error.py
901+
fireblocks/models/idl_type.py
883902
fireblocks/models/instruction_amount.py
884903
fireblocks/models/internal_transfer_response.py
885904
fireblocks/models/invalid_paramater_value_error.py
@@ -897,6 +916,7 @@ fireblocks/models/modify_signing_key_agent_id_dto.py
897916
fireblocks/models/modify_signing_key_dto.py
898917
fireblocks/models/modify_validation_key_dto.py
899918
fireblocks/models/mpc_key.py
919+
fireblocks/models/multichain_deployment_metadata.py
900920
fireblocks/models/network_channel.py
901921
fireblocks/models/network_connection.py
902922
fireblocks/models/network_connection_response.py
@@ -971,6 +991,7 @@ fireblocks/models/publish_draft_request.py
971991
fireblocks/models/publish_result.py
972992
fireblocks/models/read_abi_function.py
973993
fireblocks/models/read_call_function_dto.py
994+
fireblocks/models/read_call_function_dto_abi_function.py
974995
fireblocks/models/redeem_funds_to_linked_dda_response.py
975996
fireblocks/models/register_new_asset_request.py
976997
fireblocks/models/reissue_multichain_token_request.py
@@ -1048,7 +1069,15 @@ fireblocks/models/smart_transfer_ticket_term_response.py
10481069
fireblocks/models/smart_transfer_update_ticket_term.py
10491070
fireblocks/models/smart_transfer_user_groups.py
10501071
fireblocks/models/smart_transfer_user_groups_response.py
1072+
fireblocks/models/sol_account.py
1073+
fireblocks/models/sol_account_with_value.py
1074+
fireblocks/models/sol_parameter.py
1075+
fireblocks/models/sol_parameter_with_value.py
10511076
fireblocks/models/solana_blockchain_data.py
1077+
fireblocks/models/solana_config.py
1078+
fireblocks/models/solana_instruction.py
1079+
fireblocks/models/solana_instruction_with_value.py
1080+
fireblocks/models/solana_simple_create_params.py
10521081
fireblocks/models/source_transfer_peer_path.py
10531082
fireblocks/models/source_transfer_peer_path_response.py
10541083
fireblocks/models/spam_ownership_response.py
@@ -1187,6 +1216,7 @@ fireblocks/models/workflow_configuration_id.py
11871216
fireblocks/models/workflow_execution_operation.py
11881217
fireblocks/models/write_abi_function.py
11891218
fireblocks/models/write_call_function_dto.py
1219+
fireblocks/models/write_call_function_dto_abi_function.py
11901220
fireblocks/models/write_call_function_response_dto.py
11911221
fireblocks/py.typed
11921222
fireblocks/rest.py
@@ -1310,6 +1340,7 @@ test/test_config_transfer_operation_snapshot.py
13101340
test/test_console_user.py
13111341
test/test_console_user_api.py
13121342
test/test_contract_abi_response_dto.py
1343+
test/test_contract_abi_response_dto_abi_inner.py
13131344
test/test_contract_attributes.py
13141345
test/test_contract_deploy_request.py
13151346
test/test_contract_deploy_response.py
@@ -1447,6 +1478,8 @@ test/test_gas_station_configuration.py
14471478
test/test_gas_station_configuration_response.py
14481479
test/test_gas_station_properties_response.py
14491480
test/test_gas_stations_api.py
1481+
test/test_gassless_standard_configurations.py
1482+
test/test_gassless_standard_configurations_gasless_standard_configurations_value.py
14501483
test/test_get_api_users_response.py
14511484
test/test_get_audit_logs_response.py
14521485
test/test_get_connections_response.py
@@ -1466,6 +1499,7 @@ test/test_get_validation_key_response_dto.py
14661499
test/test_get_whitelist_ip_addresses_response.py
14671500
test/test_get_workspace_status_response.py
14681501
test/test_http_contract_does_not_exist_error.py
1502+
test/test_idl_type.py
14691503
test/test_instruction_amount.py
14701504
test/test_internal_transfer_response.py
14711505
test/test_internal_wallets_api.py
@@ -1487,6 +1521,7 @@ test/test_modify_signing_key_agent_id_dto.py
14871521
test/test_modify_signing_key_dto.py
14881522
test/test_modify_validation_key_dto.py
14891523
test/test_mpc_key.py
1524+
test/test_multichain_deployment_metadata.py
14901525
test/test_network_channel.py
14911526
test/test_network_connection.py
14921527
test/test_network_connection_response.py
@@ -1567,6 +1602,7 @@ test/test_publish_draft_request.py
15671602
test/test_publish_result.py
15681603
test/test_read_abi_function.py
15691604
test/test_read_call_function_dto.py
1605+
test/test_read_call_function_dto_abi_function.py
15701606
test/test_redeem_funds_to_linked_dda_response.py
15711607
test/test_register_new_asset_request.py
15721608
test/test_reissue_multichain_token_request.py
@@ -1646,7 +1682,15 @@ test/test_smart_transfer_ticket_term_response.py
16461682
test/test_smart_transfer_update_ticket_term.py
16471683
test/test_smart_transfer_user_groups.py
16481684
test/test_smart_transfer_user_groups_response.py
1685+
test/test_sol_account.py
1686+
test/test_sol_account_with_value.py
1687+
test/test_sol_parameter.py
1688+
test/test_sol_parameter_with_value.py
16491689
test/test_solana_blockchain_data.py
1690+
test/test_solana_config.py
1691+
test/test_solana_instruction.py
1692+
test/test_solana_instruction_with_value.py
1693+
test/test_solana_simple_create_params.py
16501694
test/test_source_transfer_peer_path.py
16511695
test/test_source_transfer_peer_path_response.py
16521696
test/test_spam_ownership_response.py
@@ -1797,5 +1841,6 @@ test/test_workflow_execution_operation.py
17971841
test/test_workspace_status_beta_api.py
17981842
test/test_write_abi_function.py
17991843
test/test_write_call_function_dto.py
1844+
test/test_write_call_function_dto_abi_function.py
18001845
test/test_write_call_function_response_dto.py
18011846
tox.ini

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -595,6 +595,7 @@ Class | Method | HTTP request | Description
595595
- [ConfigTransferOperationSnapshot](docs/ConfigTransferOperationSnapshot.md)
596596
- [ConsoleUser](docs/ConsoleUser.md)
597597
- [ContractAbiResponseDto](docs/ContractAbiResponseDto.md)
598+
- [ContractAbiResponseDtoAbiInner](docs/ContractAbiResponseDtoAbiInner.md)
598599
- [ContractAttributes](docs/ContractAttributes.md)
599600
- [ContractDeployRequest](docs/ContractDeployRequest.md)
600601
- [ContractDeployResponse](docs/ContractDeployResponse.md)
@@ -722,6 +723,8 @@ Class | Method | HTTP request | Description
722723
- [GasStationConfiguration](docs/GasStationConfiguration.md)
723724
- [GasStationConfigurationResponse](docs/GasStationConfigurationResponse.md)
724725
- [GasStationPropertiesResponse](docs/GasStationPropertiesResponse.md)
726+
- [GasslessStandardConfigurations](docs/GasslessStandardConfigurations.md)
727+
- [GasslessStandardConfigurationsGaslessStandardConfigurationsValue](docs/GasslessStandardConfigurationsGaslessStandardConfigurationsValue.md)
725728
- [GetAPIUsersResponse](docs/GetAPIUsersResponse.md)
726729
- [GetAuditLogsResponse](docs/GetAuditLogsResponse.md)
727730
- [GetConnectionsResponse](docs/GetConnectionsResponse.md)
@@ -741,6 +744,7 @@ Class | Method | HTTP request | Description
741744
- [GetWhitelistIpAddressesResponse](docs/GetWhitelistIpAddressesResponse.md)
742745
- [GetWorkspaceStatusResponse](docs/GetWorkspaceStatusResponse.md)
743746
- [HttpContractDoesNotExistError](docs/HttpContractDoesNotExistError.md)
747+
- [IdlType](docs/IdlType.md)
744748
- [InstructionAmount](docs/InstructionAmount.md)
745749
- [InternalTransferResponse](docs/InternalTransferResponse.md)
746750
- [InvalidParamaterValueError](docs/InvalidParamaterValueError.md)
@@ -758,6 +762,7 @@ Class | Method | HTTP request | Description
758762
- [ModifySigningKeyDto](docs/ModifySigningKeyDto.md)
759763
- [ModifyValidationKeyDto](docs/ModifyValidationKeyDto.md)
760764
- [MpcKey](docs/MpcKey.md)
765+
- [MultichainDeploymentMetadata](docs/MultichainDeploymentMetadata.md)
761766
- [NetworkChannel](docs/NetworkChannel.md)
762767
- [NetworkConnection](docs/NetworkConnection.md)
763768
- [NetworkConnectionResponse](docs/NetworkConnectionResponse.md)
@@ -832,6 +837,7 @@ Class | Method | HTTP request | Description
832837
- [PublishResult](docs/PublishResult.md)
833838
- [ReadAbiFunction](docs/ReadAbiFunction.md)
834839
- [ReadCallFunctionDto](docs/ReadCallFunctionDto.md)
840+
- [ReadCallFunctionDtoAbiFunction](docs/ReadCallFunctionDtoAbiFunction.md)
835841
- [RedeemFundsToLinkedDDAResponse](docs/RedeemFundsToLinkedDDAResponse.md)
836842
- [RegisterNewAssetRequest](docs/RegisterNewAssetRequest.md)
837843
- [ReissueMultichainTokenRequest](docs/ReissueMultichainTokenRequest.md)
@@ -848,6 +854,8 @@ Class | Method | HTTP request | Description
848854
- [RespondToConnectionRequest](docs/RespondToConnectionRequest.md)
849855
- [RewardInfo](docs/RewardInfo.md)
850856
- [RewardsInfo](docs/RewardsInfo.md)
857+
- [SOLAccount](docs/SOLAccount.md)
858+
- [SOLAccountWithValue](docs/SOLAccountWithValue.md)
851859
- [ScreeningConfigurationsRequest](docs/ScreeningConfigurationsRequest.md)
852860
- [ScreeningOperationExecution](docs/ScreeningOperationExecution.md)
853861
- [ScreeningOperationExecutionOutput](docs/ScreeningOperationExecutionOutput.md)
@@ -909,7 +917,13 @@ Class | Method | HTTP request | Description
909917
- [SmartTransferUpdateTicketTerm](docs/SmartTransferUpdateTicketTerm.md)
910918
- [SmartTransferUserGroups](docs/SmartTransferUserGroups.md)
911919
- [SmartTransferUserGroupsResponse](docs/SmartTransferUserGroupsResponse.md)
920+
- [SolParameter](docs/SolParameter.md)
921+
- [SolParameterWithValue](docs/SolParameterWithValue.md)
912922
- [SolanaBlockchainData](docs/SolanaBlockchainData.md)
923+
- [SolanaConfig](docs/SolanaConfig.md)
924+
- [SolanaInstruction](docs/SolanaInstruction.md)
925+
- [SolanaInstructionWithValue](docs/SolanaInstructionWithValue.md)
926+
- [SolanaSimpleCreateParams](docs/SolanaSimpleCreateParams.md)
913927
- [SourceTransferPeerPath](docs/SourceTransferPeerPath.md)
914928
- [SourceTransferPeerPathResponse](docs/SourceTransferPeerPathResponse.md)
915929
- [SpamOwnershipResponse](docs/SpamOwnershipResponse.md)
@@ -1048,6 +1062,7 @@ Class | Method | HTTP request | Description
10481062
- [WorkflowExecutionOperation](docs/WorkflowExecutionOperation.md)
10491063
- [WriteAbiFunction](docs/WriteAbiFunction.md)
10501064
- [WriteCallFunctionDto](docs/WriteCallFunctionDto.md)
1065+
- [WriteCallFunctionDtoAbiFunction](docs/WriteCallFunctionDtoAbiFunction.md)
10511066
- [WriteCallFunctionResponseDto](docs/WriteCallFunctionResponseDto.md)
10521067

10531068

docs/ContractAbiResponseDto.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
8-
**abi** | [**List[AbiFunction]**](AbiFunction.md) | The abi of the contract |
8+
**abi** | [**List[ContractAbiResponseDtoAbiInner]**](ContractAbiResponseDtoAbiInner.md) | The abi of the contract |
99
**implementation_abi** | [**List[AbiFunction]**](AbiFunction.md) | The abi of the implementation contract if exists. Relevant only for proxy patterns | [optional]
1010

1111
## Example
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# ContractAbiResponseDtoAbiInner
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**name** | **str** | The name of the instruction |
9+
**state_mutability** | **str** | The state mutability of the contract function as it appears in the ABI | [optional]
10+
**type** | **str** | The type of the function |
11+
**inputs** | [**List[Parameter]**](Parameter.md) | The parameters that this function/constructor posses | [optional]
12+
**outputs** | [**List[Parameter]**](Parameter.md) | The parameters that this 'read' function returns | [optional]
13+
**description** | **str** | The documentation of this function (if has any) | [optional]
14+
**discriminator** | **List[float]** | The discriminator for the instruction. Acts as a function selector |
15+
**accounts** | [**List[SOLAccount]**](SOLAccount.md) | |
16+
**args** | [**List[SolParameter]**](SolParameter.md) | |
17+
18+
## Example
19+
20+
```python
21+
from fireblocks.models.contract_abi_response_dto_abi_inner import ContractAbiResponseDtoAbiInner
22+
23+
# TODO update the JSON string below
24+
json = "{}"
25+
# create an instance of ContractAbiResponseDtoAbiInner from a JSON string
26+
contract_abi_response_dto_abi_inner_instance = ContractAbiResponseDtoAbiInner.from_json(json)
27+
# print the JSON string representation of the object
28+
print(ContractAbiResponseDtoAbiInner.to_json())
29+
30+
# convert the object into a dict
31+
contract_abi_response_dto_abi_inner_dict = contract_abi_response_dto_abi_inner_instance.to_dict()
32+
# create an instance of ContractAbiResponseDtoAbiInner from a dict
33+
contract_abi_response_dto_abi_inner_from_dict = ContractAbiResponseDtoAbiInner.from_dict(contract_abi_response_dto_abi_inner_dict)
34+
```
35+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
36+
37+

docs/ContractUploadRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Name | Type | Description | Notes
1414
**docs** | [**ContractDoc**](ContractDoc.md) | A `natspec` compliant documentation json. Can be retrieved from the output json after compilation | [optional]
1515
**abi** | [**List[AbiFunction]**](AbiFunction.md) | The abi of the contract template. Necessary for displaying and for after deployment encoding |
1616
**attributes** | [**ContractAttributes**](ContractAttributes.md) | The attributes related to this contract template. It will be displayed in the tokenization page | [optional]
17+
**protocol** | **str** | The protocol that the template will be used for | [optional]
1718

1819
## Example
1920

docs/CreateTokenRequestDtoCreateParams.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**contract_id** | **str** | The id of the contract template that will be used to create the token |
99
**deploy_function_params** | [**List[ParameterWithValue]**](ParameterWithValue.md) | The deploy function parameters and values of the contract template | [optional]
10-
**symbol** | **str** | The symbol of the token |
11-
**name** | **str** | The name of the token |
10+
**symbol** | **str** | The symbol for the token, typically an abbreviated representation. |
11+
**name** | **str** | The name of the token or asset being created. |
1212
**issuer_address** | **str** | The address of the issuer of this token. Will be part of the identifier of this token on chain. |
13+
**decimals** | **int** | The number of decimal places the token supports (e.g., 9 for typical Solana tokens). |
1314

1415
## Example
1516

docs/DeployedContractResponseDto.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ Name | Type | Description | Notes
1010
**contract_template_id** | **str** | The contract template identifier |
1111
**vault_account_id** | **str** | The vault account id this contract was deploy from | [optional]
1212
**blockchain_id** | **str** | |
13+
**base_asset_id** | **str** | The blockchain base assetId | [optional]
14+
**gasless_config** | [**GasslessStandardConfigurations**](GasslessStandardConfigurations.md) | | [optional]
15+
**multichain_deployment_metadata** | [**MultichainDeploymentMetadata**](MultichainDeploymentMetadata.md) | | [optional]
16+
**solana_config** | [**SolanaConfig**](SolanaConfig.md) | | [optional]
1317

1418
## Example
1519

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# GasslessStandardConfigurations
2+
3+
The gasless configuration of the contract
4+
5+
## Properties
6+
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
9+
**gasless_standard_configurations** | [**Dict[str, GasslessStandardConfigurationsGaslessStandardConfigurationsValue]**](GasslessStandardConfigurationsGaslessStandardConfigurationsValue.md) | | [optional]
10+
11+
## Example
12+
13+
```python
14+
from fireblocks.models.gassless_standard_configurations import GasslessStandardConfigurations
15+
16+
# TODO update the JSON string below
17+
json = "{}"
18+
# create an instance of GasslessStandardConfigurations from a JSON string
19+
gassless_standard_configurations_instance = GasslessStandardConfigurations.from_json(json)
20+
# print the JSON string representation of the object
21+
print(GasslessStandardConfigurations.to_json())
22+
23+
# convert the object into a dict
24+
gassless_standard_configurations_dict = gassless_standard_configurations_instance.to_dict()
25+
# create an instance of GasslessStandardConfigurations from a dict
26+
gassless_standard_configurations_from_dict = GasslessStandardConfigurations.from_dict(gassless_standard_configurations_dict)
27+
```
28+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
29+
30+

0 commit comments

Comments
 (0)