Description
The campaign creation form (components/campaign/campaign-form.tsx) has the pool selector wired to the real TinyAMM pool and rates fetched from on-chain, but the parent page (app/campaign/new/page.tsx) submit handler needs verification.
What's done
What needs testing/fixing
Description
The campaign creation form (
components/campaign/campaign-form.tsx) has the pool selector wired to the real TinyAMM pool and rates fetched from on-chain, but the parent page (app/campaign/new/page.tsx) submit handler needs verification.What's done
CONTRACTS.tinyammreadContractbuildCreateCampaign()helper exists inlib/soroban.tsWhat needs testing/fixing
app/campaign/new/page.tsxcorrectly maps form state tobuildCreateCampaignparamstargetTVLis in USD in the form but contract expects LP tokens (i128)contributionAmountneeds to be converted to stroops (multiply by 1e7)