The PWNUtilizedCredit.sol contract is designed to manage and update credit across different proposal types. The contract ensures that credit usage does not exceed a predefined limit for a credit asset and restricts access only to selected proposal types.
2. Important links
3. Contract details
PWNUtilizedCredit.sol is written in Solidity version 0.8.16
Features
Credit utilization across proposals
Limit credit usage per proposal type
Functions
utilizeCredit
Overview
This function updates the utilized credit for an owner for a selected credit asset.