| Name | Type | Description | Notes |
|---|---|---|---|
| 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] |
| bytecode | String | The compiled artifact of this smart contract. Used for deployment of this contract template | |
| sourcecode | String | The source code of the contract. Optional. | [optional] |
| type | TypeEnum | The type of the contract template | |
| docs | ContractDoc | A `natspec` compliant documentation json. Can be retrieved from the output json after compilation | [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] |
| protocol | ProtocolEnum | The protocol that the template will be used for | [optional] |
| Name | Value |
|---|---|
| FUNGIBLE_TOKEN | "FUNGIBLE_TOKEN" |
| NON_FUNGIBLE_TOKEN | "NON_FUNGIBLE_TOKEN" |
| NON_TOKEN | "NON_TOKEN" |
| TOKEN_EXTENSION | "TOKEN_EXTENSION" |
| TOKEN_UTILITY | "TOKEN_UTILITY" |
| Name | Value |
|---|---|
| ETH | "ETH" |
| SOL | "SOL" |