osmosis-labs / isotonic

Smart Contracts for the Lendex Protocol
MIT License
1 stars 0 forks source link

Allow governance to adjust markets #48

Closed ethanfrey closed 2 years ago

ethanfrey commented 2 years ago

This may be via sudo if we decide to go with native on-chain votes. Or enforce a privileged governance contract.

This actor must be able to:

This does not require the voting contract. This only requires exposing these functions on the market contract. Either they are ExecMsg that requires info.sender == cfg.gov_contract or they are only callable by SudoMsg.

Eg. this is like adding "set validators" function to tgrade-valset. Not worrying about adding the proposal to tgrade-oc-proposals

ethanfrey commented 2 years ago

Question: we need to decide if via governance contract or sudo

ueco-jb commented 2 years ago

Only reasonable way to go here is via sudo (ask @ks-victor for details).

ks-victor commented 2 years ago

Decision is to go with osmosis governance and hence the sudo solution