Concordium / concordium-rust-smart-contracts

Libraries and tools for writing and testing smart contracts on Concordium
https://docs.rs/concordium-std/latest/concordium_std/
Mozilla Public License 2.0
57 stars 36 forks source link

Add nonceOf function to smart contract wallet #421

Closed DOBEN closed 4 months ago

DOBEN commented 4 months ago

Purpose

Based on the experience using the CIS5 smart contract wallet in the hackathon, having a nonceOf function for the front end would be nice.

Changes

DOBEN commented 4 months ago

Looks good 🙂

How was this supposed to be done before, out of interest?

The nonce tracked in the smart contract has to be exposed via a view function but the function was just forgotten to be added before.