diff --git a/fireblocks_sdk/sdk.py b/fireblocks_sdk/sdk.py index 9d532b7..0ba6877 100644 --- a/fireblocks_sdk/sdk.py +++ b/fireblocks_sdk/sdk.py @@ -2938,9 +2938,6 @@ def upload_contract_template(self, request: ContractUploadRequest): def get_contract_template(self, template_id: str): return self._get_request(f"/v1/tokenization/templates/{template_id}") - - def get_contract_template_constructor(self, template_id: str, with_docs: bool=False): - return self._get_request(f"/v1/tokenization/templates/{template_id}/constructor?withDocs=${with_docs}") def get_contract_template_deploy_function(self, template_id: str, with_docs: bool=False): return self._get_request(f"/v1/tokenization/templates/{template_id}/deploy_function?withDocs=${with_docs}") diff --git a/fireblocks_sdk/tokenization_api_types.py b/fireblocks_sdk/tokenization_api_types.py index 2baa0c8..bbc4838 100644 --- a/fireblocks_sdk/tokenization_api_types.py +++ b/fireblocks_sdk/tokenization_api_types.py @@ -49,9 +49,13 @@ def __init__(self, inputs: List[ParameterWithValue], name: Optional[str] = ""): class EVMTokenCreateParams(BaseDictClass): - def __init__(self, contract_id: str, constructor_params: Optional[List[ParameterWithValue]] = None): + def __init__( + self, + contract_id: str, + deploy_function_params: Optional[List[ParameterWithValue]] = None + ): self.contract_id = contract_id - self.constructor_params = constructor_params + self.deploy_function_params = deploy_function_params class StellarRippleCreateParams(BaseDictClass): @@ -82,11 +86,11 @@ def __init__( self, asset_id: str, vault_account_id: str, - constructor_parameters: Optional[List[ParameterWithValue]] = None + deploy_function_params: Optional[List[ParameterWithValue]] = None ): self.asset_id = asset_id self.vault_account_id = vault_account_id - self.constructor_parameters = constructor_parameters + self.deploy_function_params = deploy_function_params class AbiFunction(BaseDictClass):