Skip to content

Claim SEE logic#212

Merged
hzmangel merged 12 commits intomainfrom
preview
Aug 18, 2025
Merged

Claim SEE logic#212
hzmangel merged 12 commits intomainfrom
preview

Conversation

@hzmangel
Copy link
Copy Markdown
Contributor

@hzmangel hzmangel commented Aug 18, 2025

This PR adds logic for claiming SEE assets. Which contains those changes

  • Use 8.11 snapshot as user's SEE asset
  • The mapped SEE can only be used after claimed, the code uses processing_amount and claim flag to implement this.
  • Set the end date of claiming to 2016.1.11

Besides the SEE logic, this PR also adds a new endpoint to list all asset transfer related to the login user.

hzmangel and others added 12 commits August 13, 2025 21:14
- Add new `/my` endpoint to list transfers for authenticated user
- Extend ListTransfers service method with myWallet parameter
- Update query logic to filter by either from/to user or myWallet
- Rename detail endpoint path from `/:id` to `/show/:id`
- Add new error constants for claim operations
- Implement indexer client method to get user SCR balance
- Add claim endpoint and service logic to create asset records
- SEE should be saved to user asset after last deployment
- Only claimed SEE can be used to transfer
- User can only claim it before 2026-01-11
1. claim will be stopped at 2026.01.11
2. claim adds the processing amount to dealt amount, the processing amount will be populated in advanced
3. user can only claim once
4. user without see asset will not be able to invoke claim API
Claim logic for SEE asset
@hzmangel hzmangel merged commit 11b8367 into main Aug 18, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants