[FE] Budget Allocation Service
Objective
Create a service that wraps the existing budget_allocation bindings for StarShop. (No binding generation required.)
File
src/lib/services/budgetAllocation.service.ts
API
initialize(admin, signer)
allocateFunds(admin, projectId, amount, signer) -> tx
updateAllocation(admin, projectId, newAmount, signer) -> tx
removeAllocation(admin, projectId, signer) -> tx
getAllocation(projectId)
getTotalAllocations()
listAllocations()
Tasks
Acceptance