Name |
Type |
Description |
Notes |
id |
str |
The unique identifier of the contract template |
|
name |
str |
The name of the contract template |
|
description |
str |
A short description of the contract template |
|
long_description |
str |
A full description of the contract template. May contain to break the lines |
[optional] |
abi |
List[AbiFunction] |
The abi of the contract template. Necessary for displaying and for after deployment encoding |
|
attributes |
ContractAttributes |
The attributes related to this contract template. It will be displayed in the tokenization page |
[optional] |
docs |
ContractDoc |
A `natspec` compliant documentation json. Can be retrieved from the output json after compilation |
[optional] |
owner |
str |
The workspace id of the owner of this contract template. If it's a private contract, only this workspace will be allowed to deploy it |
[optional] |
vendor |
VendorDto |
The details of the vendor of this contract template. Applicable only for public contract templates |
[optional] |
is_public |
bool |
Is this a contract that is viewable by all fireblocks's users or is it visible only for this workspace |
|
can_deploy |
bool |
True if the workspace allowed to deploy this contract, false otherwise |
[optional] |
type |
str |
The type of the contract template |
[optional] |
implementation_contract_id |
str |
|
[optional] |
initialization_phase |
str |
|
|
from fireblocks.models.contract_template_dto import ContractTemplateDto
# TODO update the JSON string below
json = "{}"
# create an instance of ContractTemplateDto from a JSON string
contract_template_dto_instance = ContractTemplateDto.from_json(json)
# print the JSON string representation of the object
print(ContractTemplateDto.to_json())
# convert the object into a dict
contract_template_dto_dict = contract_template_dto_instance.to_dict()
# create an instance of ContractTemplateDto from a dict
contract_template_dto_from_dict = ContractTemplateDto.from_dict(contract_template_dto_dict)
[Back to Model list] [Back to API list] [Back to README]