[bisq-network/bisq] Add asset listing fee (#1904)
sqrrm
notifications at github.com
Sun Nov 11 20:57:45 UTC 2018
sqrrm approved this pull request.
utAck
> @@ -37,7 +37,9 @@
REIMBURSEMENT_REQUEST((byte) 0x12),
BLIND_VOTE((byte) 0x13),
VOTE_REVEAL((byte) 0x14),
- LOCKUP((byte) 0x15);
+ LOCKUP((byte) 0x15),
+ ASSET_LISTING_FEE((byte) 0x16),
+ PROOF_OF_BURN((byte) 0x17);
```suggestion
LOCKUP((byte) 0x17);
```
> @@ -37,7 +37,9 @@
REIMBURSEMENT_REQUEST((byte) 0x12),
BLIND_VOTE((byte) 0x13),
VOTE_REVEAL((byte) 0x14),
- LOCKUP((byte) 0x15);
+ LOCKUP((byte) 0x15),
+ ASSET_LISTING_FEE((byte) 0x16),
```suggestion
PROOF_OF_BURN((byte) 0x16),
```
> @@ -37,7 +37,9 @@
REIMBURSEMENT_REQUEST((byte) 0x12),
BLIND_VOTE((byte) 0x13),
VOTE_REVEAL((byte) 0x14),
- LOCKUP((byte) 0x15);
+ LOCKUP((byte) 0x15),
```suggestion
ASSET_LISTING_FEE((byte) 0x15),
```
> }
- public boolean hasPaidBSQFee(String tickerSymbol) {
- //TODO
- return false;
+ @Override
+ public void onParseTxsComplete(Block block) {
+ int chainHeight = daoStateService.getChainHeight();
+ bsqFeePerDay = daoStateService.getParamValueAsCoin(Param.ASSET_LISTING_FEE_PER_DAY, chainHeight).value;
+ minVolumeInBtc = daoStateService.getParamValueAsCoin(Param.ASSET_MIN_VOLUME, chainHeight).value;
+ updateList();
+
```suggestion
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/1904#pullrequestreview-173712890
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20181111/d46a6653/attachment.html>
More information about the bisq-github
mailing list