Skip to content

Implemented the initiate and vote converting token#1030

Open
Dev-Zully wants to merge 1 commit into
DistinctCodes:mainfrom
Dev-Zully:Vote
Open

Implemented the initiate and vote converting token#1030
Dev-Zully wants to merge 1 commit into
DistinctCodes:mainfrom
Dev-Zully:Vote

Conversation

@Dev-Zully

Copy link
Copy Markdown

[FE-51] Build detokenization UI — initiate and vote on converting tokens back to single ownership
Overview
When a tokenized asset needs to return to single ownership (e.g., before sale), a detokenization proposal must be initiated and approved by majority token holders (50%+ threshold). This UI manages that process. Depends on BE-62 for the contract interaction.

Context
Add a "Detokenize" option to the tokenized asset detail page (admin only, under Manage Tokens)
The assetsup contract (contracts/assetsup/src/detokenization.rs) defines the proposal and voting process
Backend endpoint needed: POST /stellar/assets/:id/detokenize and GET /stellar/assets/:id/detokenize/status
Acceptance Criteria
"Initiate Detokenization" button (admin only) on tokenized asset management page
Clicking opens an explanation modal: "Detokenization requires 50% of token holders to approve. This cannot be undone."
After initiating, show the detokenization proposal status: vote count, threshold needed, days until voting closes
Token holders see a "Vote on Detokenization" card on the asset detail page with Approve/Reject buttons
Progress bar showing votes collected vs threshold required
Once threshold is reached: show "Detokenization approved. Processing on-chain..." and display the final transaction hash
closes #988

[FE-50] Build KYC verification UI — document submission and status tracking for investors
Before a user can acquire tokens in a tokenized asset, they must pass KYC (Know Your Customer) verification. This UI allows users to submit their KYC documents and track their verification status. Depends on BE-64 for the API.

Context
Add KYC section to the user settings page (frontend/app/(dashboard)/settings/page.tsx)
API endpoints (from BE-64): POST /stellar/kyc/submit, GET /stellar/kyc/status
KYC status: PENDING, VERIFIED, REJECTED
closes #987

@vercel

vercel Bot commented Jun 27, 2026

Copy link
Copy Markdown

@Dev-Zully is attempting to deploy a commit to the naijabuz's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant