archethic-foundation / archethic-foundation/libdart

Add token properties

Open
#157 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
7
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Add constants in `Token`model class to manipulate values instead of string values
- `UCOAddress ='UCO'`
- ìsFungible => `type == 'fungible'`
- isNonFungible => `type == 'non-fungible'`

Contributor guide

Open the contributing guide

Research direction

Open the Token model class and locate its existing value fields before adding the requested UCOAddress, isFungible, and isNonFungible properties. Done means callers can use these names instead of raw string comparisons; the issue does not name a file or test, so first locate the model and any related tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart
Domain
blockchain
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.