Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 2.25 KB

ContractTemplateDto.md

File metadata and controls

47 lines (31 loc) · 2.25 KB

ContractTemplateDto

Properties

Name Type Description Notes
id String The unique identifier of the contract template
name String The name of the contract template
description String A short description of the contract template
longDescription String 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 String 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]
isPublic Boolean Is this a contract that is viewable by all fireblocks's users or is it visible only for this workspace
canDeploy Boolean True if the workspace allowed to deploy this contract, false otherwise [optional]
type TypeEnum The type of the contract template [optional]
implementationContractId String [optional]
initializationPhase InitializationPhaseEnum

Enum: TypeEnum

Name Value
FUNGIBLE_TOKEN "FUNGIBLE_TOKEN"
NON_FUNGIBLE_TOKEN "NON_FUNGIBLE_TOKEN"
NON_TOKEN "NON_TOKEN"
TOKEN_EXTENSION "TOKEN_EXTENSION"
TOKEN_UTILITY "TOKEN_UTILITY"

Enum: InitializationPhaseEnum

Name Value
ON_DEPLOYMENT "ON_DEPLOYMENT"
POST_DEPLOYMENT "POST_DEPLOYMENT"