Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1.49 KB

ContractUploadRequest.md

File metadata and controls

33 lines (21 loc) · 1.49 KB

ContractUploadRequest

Properties

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 [optional]
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]

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"