yieldprotocol / yieldspace-tv

Yield Protocol: Yieldspace AMM for fyTokens and tokenized vault tokens
Other
46 stars 4 forks source link

external `wrap` function in `PoolEuler` transfers amount in base decimals instead of shares decimals #54

Open marcomariscal opened 2 years ago

marcomariscal commented 2 years ago

In PoolEuler: calling the wrap function with a receiver that is not the pool address will transfer an amount in base decimals, instead of shares decimals, therefore transferring an infinitesimal amount.