UnUniFi / chain

GNU General Public License v3.0
33 stars 14 forks source link

Update for iya strategy v1 #699

Closed jununifi closed 1 year ago

Senna46 commented 1 year ago

I fixed a bug that allowed LPs to be issued even when the token was different from the vault denom.

Senna46 commented 1 year ago

@jununifi I think it need to make sure that the symbol in strategies and vault match when creating the vault.

Also, we need a query to find the strategy by Symbol. As strategies with the same symbol in different denom can be put in the same vault. Adding a symbol field to the strategy can also solve this problem.