QovaQova docs
Smart Contracts

BudgetEnforcer

Per-agent spending limits with daily, monthly, and per-transaction caps.

Per-agent spending limits with daily, monthly, and per-transaction caps.

Functions

FunctionAccessDescription
setBudget(address, uint256, uint256, uint256)BUDGET_MANAGER_ROLESet limits
checkBudget(address, uint256)ViewCheck compliance
recordSpend(address, uint256)BUDGET_MANAGER_ROLERecord spend
getBudgetStatus(address)ViewCurrent utilization

Events

event BudgetSet(address indexed agent, uint256 dailyLimit, uint256 monthlyLimit, uint256 perTxLimit);
event SpendRecorded(address indexed agent, uint256 amount, uint256 dailySpent, uint256 monthlySpent);

Address

Base Sepolia: 0x271618781040dc358e4F6B66561b65A839b0C76E