Contracts
Last updated
Last updated
Define Smart Contracts for this Project. Multiple contracts can be defined for each project; whenever this is done, contracts are generally related and often depend on each other in some way (f.e. they need to be deployed together, or they import one another).
Define the Name of this Contract. A contract's name is used to name and differentiate contracts. It is advised that the name be specific and descriptive enough to be able to infer the contract's purpose and distinguish it from other contracts. Furthermore, the name will be utilized in the code as keyword to name the contract.
The NsMetaData property allows the addition of Natural Language (text) Metadata to a Contract in order to better describe it.
An Abstract Contract is a contract that contains at least one function without any implementation. Such a contract is used as a base contract to be imported by other contracts. Generally an abstract contract contains both implemented as well as abstract functions. Derived contracts will implement the abstract functions and use the existing functions as and when required.
Select a Constructor for this contract among the defined functions. A constructor is a function that is invoked only once when the contract is deployed.