GalaChain / GalaChain/sdk

Verify if transfer allowances are valid and fix if needed

Open
#477 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
138
Forks
44
Avg merge
1d 16h
Merged PRs (30d)
22

Description

From the report:

> If I create a transfer allowance for quantity = 1 and uses = 1 and then use FetchAllowances, it shows quantity Infinity for the new allowance. uses correctly shows 1 but there’s no usesSpent property and it allows me to use the allowance more than once. There’s also no quantitySpent property and it allows me to transfer any quantity.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the FetchAllowances path and the transfer-allowance usage flow described in the report. Verify how quantity and uses are represented and enforced; done means fetched allowances expose the relevant spent values and cannot be reused or transferred beyond their limits.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend-api-design
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.