You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The state variable MINTER_ADDRESS is currently used to store data related to the tokens (POAPs) minted to different wallets (addresses). Here, the address serves as the key, and the value represents the number of POAPs minted to that address
Given its usage, the name "MINTER_ADDRESS" might not accurately reflect the data it holds.
Implementation proposal
Considering the data held by this state variable, a more descriptive name could be MINTED_TOKENS. This change would make the purpose of this variable clearer to developers who read the code, improving the readability and understandability of the codebase.
The text was updated successfully, but these errors were encountered:
Feature description
The state variable
MINTER_ADDRESS
is currently used to store data related to the tokens (POAPs) minted to different wallets (addresses). Here, the address serves as the key, and the value represents the number of POAPs minted to that addressdesmos-contracts/contracts/poap/src/state.rs
Line 33 in 946688e
Implementation proposal
Considering the data held by this state variable, a more descriptive name could be
MINTED_TOKENS
. This change would make the purpose of this variable clearer to developers who read the code, improving the readability and understandability of the codebase.The text was updated successfully, but these errors were encountered: