script3 / yieldblox-beta

15 stars 5 forks source link

Can claim YBX even there have no Issuence available on the protocol #375

Open yuminachan opened 3 years ago

yuminachan commented 3 years ago

Stab before experiment

image image

I tried to claim my claimable YBX but look it said no Issuance. image

because ybxMM is broke, So I try to repay with the available balance. here is my balance statistic before payment image

I click max and seems I pay 0.003 BTC more than my debt. i assume it is from borrow interest

image

then confirm tab is good

image

then go to build tx. I see I will get 0.66 YBX :eyes:

image

then it success

image

with successful to claim my claimable YBX to my balance

image

here is the tx hash https://stellar.expert/explorer/testnet/tx/f37fbc4f7bdaa13f89e216a968a2110f03f3ebb926cb9b43475f1162560d6c48

So, My point is, you said if you don't have Issuance in the pool when I try to claim YBX before, but why can I still claim my YBX via another way, which is the repayment method? So in other means, I can grab YBX from other issuance accounts from the pool which is weird. am I wrong? 🤔

mootz12 commented 2 years ago

This interaction is a bit weird. Good catch.

You will never be issued any YBX that hasn't been distributed all-ready.

I think Claim had a failure case here to make the protocol more usable.

yuminachan commented 2 years ago

uh write "0" after hastag isn't allowed Discord name : Yumina YieldBlox Testnet Beta public address: GAPFCZXOX3KSWADVJCOZWH2I5BJXVK4P4WQAUNXS7UCU3RDW4PV2FKCM