StabilityNexus / FairFund

5 stars 8 forks source link

Add Client-Side Feature for Vault Creators to Update Min/Max Request Amounts. #18

Closed adityabhattad2021 closed 3 months ago

adityabhattad2021 commented 3 months ago

The smart contract allows the funding vault creator to change the minimum and maximum request amounts for proposals until the tally date. However, this functionality is not implemented on the client side. We need to develop a user interface and the necessary client-side logic to enable vault creators to make these adjustments.

Relevant code:

// FundingVault.sol (existing functions to be called)
function setMinRequestableAmount(uint256 _minRequestableAmount) external onlyOwner tallying { ... }
function setMaxRequestableAmount(uint256 _maxRequestableAmount) external onlyOwner tallying { ... }