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." k corresponds to the amount of USDC staked to the issue, x corresponds to the amount of tokens stakes to the issue, but i is just used for an internal accounting and refer to any real-world issue. Conventionally, i corresponds 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_entity address