I went through what's been done in the hardcoded repo and added some tidying/comments & code.
There's of style here I'm not familiar with, like using TypeScript. Also not familiar with how the front-end is scaffolded, but that will be what I'll look at next.
I added the initial curved bond code. I'm not sure if we want to use that code or not [since technically it should stake ETH -> SOUL -> HC_HASH]. It would be nice to have it set up like that even for the HC generator due to the fact that it allows to more easily build the shifting & multiple generators. But gas costs and complexity might be unnecessary.
Will merge in 24 hours unless comments/feedback. :)
I went through what's been done in the hardcoded repo and added some tidying/comments & code.
There's of style here I'm not familiar with, like using TypeScript. Also not familiar with how the front-end is scaffolded, but that will be what I'll look at next.
I added the initial curved bond code. I'm not sure if we want to use that code or not [since technically it should stake ETH -> SOUL -> HC_HASH]. It would be nice to have it set up like that even for the HC generator due to the fact that it allows to more easily build the shifting & multiple generators. But gas costs and complexity might be unnecessary.
Will merge in 24 hours unless comments/feedback. :)