Skip to content
This repository has been archived by the owner on Jun 6, 2021. It is now read-only.

费率计算问题 #38

Open
kkkttts opened this issue Jul 8, 2018 · 1 comment
Open

费率计算问题 #38

kkkttts opened this issue Jul 8, 2018 · 1 comment

Comments

@kkkttts
Copy link

kkkttts commented Jul 8, 2018

fee = [rate.times(0.1).toNumber(), rate.times(0.05).toNumber()];

以上是费率的计算方式,这样计算有问题。交易有三个步骤,所以费率应该*3.

@zlq4863947
Copy link
Owner

是的 费率计算有问题

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants