UptownResearch / pyTokenSpike

intial work on pyTokens
0 stars 0 forks source link

Interest parameters should be looked up from pyTokenFactory #15

Open aniemerg opened 4 years ago

aniemerg commented 4 years ago

The pyToken interest parameters: interestUpdateAmount collateralizationRatio liquidityTarget adjustmentFreeWindow debtRateLimit borrowFee

are all the same across all pyToken contracts. It is probably unnecessary to pass them to each pyToken contract. Instead, they should be looked up from the pyTokenFactory contract as needed.