Update
Some fields are unable to be updated for security purposes. If some fields are incorrect and are unable to be changed, the user should disable the record and create a new one.
fn update(
&mut self,
id: u32,
enabled: bool,
azero_id: String,
group_id: Option<u32>,
audit_url: Option<String>,
project_name: Option<String>,
project_website: Option<String>,
github: Option<String>,
) -> Result<SmartContract> {
Web app
Goto Smart Contract Hub.
Find the smart contract record you want to edit and click the edit icon in the actions column.
Edit then click the "Update" button.
The wallet extension you have connected will ask you to approve a transaction. Review and approve.
Notes when updating through unofficial UI
You can only update smart contract records you have created.
Caller must own an AZERO.ID and associate it with a record. This means that if a user relinquishes the original azero_id, they must associate a new one on update.
If a group_id is provided, the caller must be a member of that group.
If providing a link to the audit (preferably .pdf), please add the link to it's location on a CDN.
Last updated