eos42 / Chintai-issues

A github to collect issues for the Chintai dApp
https://jungle.chintai.io
3 stars 4 forks source link

The partially fulfilled is not displayed in active leases. #38

Closed egonspace closed 6 years ago

egonspace commented 6 years ago

my order was fulfilled partially. https://jungle.bloks.io/transaction/53d1eee3c0ab4137bf00d96c38d5f96a4466e862ab48e810cedfb3f2014cb221

but I cannot view the active lease.

Is it bug?

PhillipHamnett commented 6 years ago

@egonspace The link you sent doesn't show any actions?

Can you be more specific about what you did, what order you made, what you expected to happen, and what actually happened?

egonspace commented 6 years ago

OK. Let me speak specifically.

  1. I ordered 2% with 50 EOS at 14-days market.
  2. 20 EOS fulfilled immediately.
  3. I canceled remained 30 EOS.

You can view this tx content at https://jungle.bloks.io/account/egonatjungle

" chintaitest4 → egonatjungle 0.8000 EOS Memo: Lease order fulfilled, paying interes (Full Memo) "

Problem-1: 20*0.02 = 0.4EOS, but I received 0.8EOS Problem-2: I cannot see the partially fulfilled in active leases.

PhillipHamnett commented 6 years ago

So what I read on the transaction is:

  1. You submitted a stake order for 50 EOS at 2% interest on the 14 day market.
  2. You fulfilled a lease order and were paid 0.8 EOS.
  3. You submitted a stake order for 50 EOS at 4% interest on the 7 day market.
  4. You received 2 EOS for a partial fulfill of the order
  5. You cancelled and got 30 EOS back
  6. You submitted a stake order for 32 EOS at 5% interest on the 14 day market

To answer problem 1: Yes 20*0.02 = 0.4 EOS, but you get paid a minimum of 2%, if there was a lease order for 4%, you would have been paid at that rate instead, making you more money!

Will check problem 2 soon