kuegi

Results 13 comments of kuegi

just verified on testnet: newly created dtoken from the swap are not reflected in the minted amount of `gettoken` call

> Yep, that's normal, pool isn't balanced. yes, but I think we shouldn't allow a swap that leaves the pool in an untradeable state.

> Maybe additional to solving this bug, we should use a different ramp-up phase: > After launch of new pools adding liquidity is enable as a first function (no swap)....

> Moreover, [here](https://github.com/DeFiCh/ain/blob/35ad71b82a863e78f6d89006ae9709ed86e346a0/src/masternodes/poolpairs.cpp#L402), I think it would suffice to do > > ``` > if (reserveT < SLOPE_SWAP_RATE) > ``` > > instead of > > ``` > if (reserveA...

found out that the additional check since fort canning seems to fix the issue with the swap, but testpoolswap is not having this additional check: https://github.com/DeFiCh/ain/blob/06f2ed8edaec7ea0741ec66e1210b1e8549dec23/src/masternodes/mn_checks.cpp#L3642-L3648

> Where will the additional DUSD from negative interest rate on step 2 come from . (should be capped to the max of the burned ones?) negative interest is created...

> > > Where will the additional DUSD from negative interest rate on step 2 come from . (should be capped to the max of the burned ones?) > >...

after some trial and error, it looks like the node is calculating the required collateral only based on the coins x oracle and ignores the collFactor. when I have a...

also depositing DUSD to a vault with TSLA loan right now is not possible `Test DepositToVaultTx execution failed: Fixed interval price currently disabled due to locked token` But this should...

Thx @prasannavl for the feedback. I understand that a locked token puts a break on everything, but imho the possibility to reduce risk must be a main focus. regarding the...