Open joticajulian opened 12 months ago
Function name is updated to : get_user_contributions
const { result: userContributions } = await contract.functions.get_user_contributions({
account: "13e7ugtkg8CQD8JiPgNa6HaZr89xmTiwXn",
start: 0, // first page
limit: 20, // proposals per page
direction: 0,
});
Do the following calculations in /proposals?status=active
since the contract is not yet ready use this dummy data as response