Skip to content
This repository was archived by the owner on Jan 18, 2023. It is now read-only.

Conversation

bweick
Copy link
Contributor

@bweick bweick commented Jun 11, 2019

No description provided.

bweick added 8 commits June 11, 2019 11:21
…alancing set state. Change proposalTimestamp to lastProposalTimestamp. Comments and small logic updates.
…ror messages in flexible manager library. Added tests for non-default states to make sure they revert.
…be called once when rebalancingSetTokenAddress is guaranteed to be zero.
package.json Outdated
"transpile": "tsc",
"truffle-test-scenarios": "truffle test `find transpiled/test/scenarios -name '*.spec.js'`",
"truffle-test-contracts": "truffle test `find transpiled/test/contracts -name '*.spec.js'`",
"truffle-test-contracts": "truffle test `find transpiled/test/contracts -name 'ethTwentyDayMACOManager.spec.js'`",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix this


address public usdcAddress;
address public ethAddress;
address public wethAddress;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given our asset roll-out strategy, we may want to consider generalizing the weth and usdc addresses

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's something I've considered. We could do wethAddress -> riskAssetAddress, usdcAddress -> stableAssetAddress, then get the decimals from both of those in the constructor and that should be all we need. Perhaps a require to make sure the stableCollateral component matches stableAssetAddress and likewise for the risk asset?

@bweick bweick merged commit 7918fb0 into master Jun 12, 2019
@bweick bweick deleted the brian/manager_audit_fixes branch June 12, 2019 20:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants