Concordium / concordium.github.io

Concordium Developer Documentation
https://developer.concordium.software/
Creative Commons Attribution Share Alike 4.0 International
18 stars 34 forks source link

Smart contract naming scheme missing details #237

Closed limemloh closed 2 years ago

limemloh commented 3 years ago

Task description

Some details are missing from the description of the contract function naming scheme such as:

dg-concordium commented 2 years ago

@limemloh Hi Emil. I presume that you mean the "Naming a module" section of this topic: https://developer.concordium.software/en/testnet/smart-contracts/guides/deploy-module.html Is that correct?

abizjak commented 2 years ago

No, this is a bit more technical. A smart contract has entrypoints which have to adhere to some rules.

Ideally there would be a reference page in the smart contracts section https://developer.concordium.software/en/testnet/smart-contracts/index.html listing all these limitations. That currently does not exist.

In the short term we could insert this comment to the tutorial/initial examples.

limemloh commented 2 years ago

We do have a bit on the naming scheme here: https://developer.concordium.software/en/testnet/smart-contracts/general/contract-module.html#smart-contract-on-the-chain

But it is still missing the above-mentioned