origin-dollar icon indicating copy to clipboard operation
origin-dollar copied to clipboard

Renamed Vault functions and events with Ousd in them

Open naddison36 opened this issue 2 years ago • 5 comments

This is an optional addition to the PR https://github.com/OriginProtocol/origin-dollar/pull/1627 that refactors the vaults

It does more more of the items in https://github.com/OriginProtocol/origin-dollar/issues/1533 Specifically, it covers removing Ousd from function names and events.

  • setOusdMetaStrategy -> setMetaStrategy
  • setNetOusdMintForStrategyThreshold -> setNetMintForStrategyThreshold
  • OusdMetaStrategyUpdated -> MetaStrategyUpdated
  • NetOusdMintForStrategyThresholdChanged -> NetMintForStrategyThresholdChanged

The two functions and corresponding events are only used by the governor so breaking the ABI is not such a big deal

naddison36 avatar Jun 15 '23 03:06 naddison36

I'd rather do these changes, later after the current OETH vault deploy

DanielVF avatar Jun 15 '23 19:06 DanielVF

@naddison36 do we want to pair this PR with deployment of some other Vault functionality? So we don't kick off the Vault deploys just for the naming changes?

sparrowDom avatar Jul 06 '23 12:07 sparrowDom

Maybe it'b be cool to have a list of PRs that are waiting to join some other more impactful functionality to be deployed

sparrowDom avatar Jul 06 '23 12:07 sparrowDom

For the OETH Vault, I'd say it's best to pair with something else. For the OUSD Vault, we need to decide if we include with 052_upgrade_ousd_vault_harvester or do after. I'm not set on either way but I'd lean toward doing after so both OETH and OUSD are on the same codebase.

naddison36 avatar Jul 07 '23 02:07 naddison36

Yes agreed, rolling them out for both protocols simultaneously would be nice - in respect of not complicating our environments and mental load.

sparrowDom avatar Jul 07 '23 11:07 sparrowDom