TreasuryManager
The TreasuryManager contract manages the tokens and funds of the project.
place_bounty (k USDC, x tokens, issue i)
This function places a "bounty" to be placed on an "issue."
kcorresponds to the amount of USDC staked to the issue,xcorresponds to the amount of tokens stakes to the issue, butiis just used for an internal accounting and refer to any real-world issue. Conventionally,icorresponds to the issue # on a github repo.
resolve_bounty (issue i, solver_address)
This function moves the staked USDC and project tokens from the issue to the solver address.
It can only be called by a public, predefined
safe_entityaddress
Last updated