Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.14 KB

ContractDoc.md

File metadata and controls

33 lines (24 loc) · 1.14 KB

ContractDoc

Properties

Name Type Description Notes
details str A description of the contract [optional]
events str A description of the contract`s events [optional]
kind str Is it devdoc or userdoc
methods Dict[str, FunctionDoc] The description of the contract functions
version float The version of the contract

Example

from fireblocks.models.contract_doc import ContractDoc

# TODO update the JSON string below
json = "{}"
# create an instance of ContractDoc from a JSON string
contract_doc_instance = ContractDoc.from_json(json)
# print the JSON string representation of the object
print(ContractDoc.to_json())

# convert the object into a dict
contract_doc_dict = contract_doc_instance.to_dict()
# create an instance of ContractDoc from a dict
contract_doc_from_dict = ContractDoc.from_dict(contract_doc_dict)

[Back to Model list] [Back to API list] [Back to README]