Retrieve from Budget
clawback
The clawback function is used to reclaim available funds from the budget. Can only be called by owner or admin.
Parameters
Optional parameters to pass to the underlying
writeContract method. Checkout wagmi’s documentation for more information. address, args, functionName, abi are handled for you under the hood.Returns
disburse
Transfers available funds from the budget to a specified recipient. You must have the manager, admin or owner role to call this function.
Parameters
Optional parameters to pass to the underlying
writeContract method. Checkout wagmi’s documentation for more information. address, args, functionName, abi are handled for you under the hood.Returns
disburseBatch
Transfers available funds from the budget to a list of specified recipients. You must have the manager, admin or owner role to call this function. This method is more gas-efficient for multiple transfers.
Parameters
Optional parameters to pass to the underlying
writeContract method. Checkout wagmi’s documentation for more information. address, args, functionName, abi are handled for you under the hood.Returns
Retrieve from Incentive
clawbackFromTarget
The clawback function allows authorized users (admin or manager) to reclaim assets from a Boost’s incentive back to its associated budget.
The amount reclaimed will be subject to protocol fee collection, so attempting to reclaim an amount where
reclaimAmount + calculatedProtocolFee > incentiveBalance will revert with an InsufficientFunds error.- ERC20Incentive
- Variable Incentives
Parameters
The address of the contract implementing
clawback, typically the Boost Core contract address.The encoded clawback data payload. Generate this using
incentive.buildClawbackData(amount).Optional parameters to pass to the underlying
writeContract method. Checkout wagmi’s documentation for more information. address, args, functionName, abi are handled for you under the hood.