tx · 8PAwzzR9Fd5DmLRk1VFuzv5xmb1jdPJbyVwNEt6swZRB 3NCujHULyYqqR6K5M8UDFmEqUXrk7dhGgSN: -1.00000000 Waves 2019.08.30 15:29 [653984] smart asset 3NCujHULyYqqR6K5M8UDFmEqUXrk7dhGgSN > SELF 0.00000000 AAAAAA Smart
{ "type": 15, "id": "8PAwzzR9Fd5DmLRk1VFuzv5xmb1jdPJbyVwNEt6swZRB", "fee": 100000000, "feeAssetId": null, "timestamp": 1567168153669, "version": 1, "sender": "3NCujHULyYqqR6K5M8UDFmEqUXrk7dhGgSN", "senderPublicKey": "HdT6SidnMsevqyJszfDFydCQ9gcL3FBHks3e7hbdAqoS", "proofs": [ "dpB1FFzrrzYTUj1VXsdRgGrU6cZRUf2f8z4fK7WjWw9bAd6M31UQ7YCik596aLHHCxf6bPgfUjB6D98Jt3wJUta" ], "assetId": "BvaMEHy8zhcQpv2JvPCQmecZNrfqQXzyJkXXDGPMrjZ3", "script": "base64:AwQAAAAFUkZCSWQBAAAAIAMz/gGnCcUK/p+p0VnirlfSe3D1csGqcNtLG5ZdEgaWBAAAABNtaW5pbWFsQW1vdW50VG9CdXJuCQAAaQAAAAIIBQAAAAR0aGlzAAAACHF1YW50aXR5AAAAAAAAACcQBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPQnVyblRyYW5zYWN0aW9uBAAAAARidXJuBQAAAAckbWF0Y2gwAwkAAGYAAAACBQAAABNtaW5pbWFsQW1vdW50VG9CdXJuCAUAAAAEYnVybgAAAAhxdWFudGl0eQkAAAIAAAABCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAICAAAAVVlvdSBjYW4gYnVybiBvbmx5IDAuMSBwZXJjZW50IChvciBtb3JlKSBvZiBjdXJyZW50IHRvdGFsIHN1cHBseSwgdGhpcyBpcyBub3cgZXF1YWwgdG8JAQAAAAlkcm9wUmlnaHQAAAACCQABpAAAAAEFAAAAE21pb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AAUgYW5kIAkBAAAACWRyb3BSaWdodAAAAAIJAAGkAAAAAQUAAAAHcmF0ZU1pbgAAAAAAAAAABwIAAAABLgkBAAAACXRha2VSaWdodAAAAAIJAAGkAAAAAQUAAAAHcmF0ZU1pbgAAAAAAAAAABgIAAABoOSBSRkIgVG9rZW5zLCB0aGlzIHJhdGUgaXMgY2FsdWNsYXRlZCB3aXRoIGZvcm11bGEgUkZCIFRva2VuIFRvdGFsIFN1cHBseSAvIFJGQiBTbWFydCBUb2tlbiBUb3RhbCBTdXBwbHkGWFgcjA==", "chainId": 84, "height": 653984, "spentComplexity": 0 } View: original | compacted Prev: 9z53iU1NnVXZooevpQvd63QVJ5oaQ9od72XbXf7grgQu Next: 33T1r5ninkr2rBV9UqWobBTRBshCgNaadPmBs4WJMM2v Diff:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# CONTENT_TYPE EXPRESSION #-} | |
3 | 3 | let RFBId = base58'DWCuXbcXtrCkSKNX3D2uxh7zHh72SN7tC5eQXK92tC5' | |
4 | - | let minimalAmountToBurn = (this.quantity / | |
4 | + | let minimalAmountToBurn = (this.quantity / 10000) | |
5 | 5 | match tx { | |
6 | 6 | case burn: BurnTransaction => | |
7 | 7 | if ((minimalAmountToBurn > burn.quantity)) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# CONTENT_TYPE EXPRESSION #-} | |
3 | 3 | let RFBId = base58'DWCuXbcXtrCkSKNX3D2uxh7zHh72SN7tC5eQXK92tC5' | |
4 | - | let minimalAmountToBurn = (this.quantity / | |
4 | + | let minimalAmountToBurn = (this.quantity / 10000) | |
5 | 5 | match tx { | |
6 | 6 | case burn: BurnTransaction => | |
7 | 7 | if ((minimalAmountToBurn > burn.quantity)) | |
8 | 8 | then throw((((("You can burn only 0.1 percent (or more) of current total supply, this is now equal to" + dropRight(toString(minimalAmountToBurn), 7)) + ".") + takeRight(toString(minimalAmountToBurn), 7)) + " RFB Smart Tokens")) | |
9 | 9 | else true | |
10 | 10 | case e: ExchangeTransaction => | |
11 | 11 | let rateMin = fraction(100000000, extract(assetInfo(RFBId)).quantity, this.quantity) | |
12 | 12 | let rateDiff = (rateMin - e.price) | |
13 | 13 | if (if (if (if ((e.sellOrder.assetPair.priceAsset == RFBId)) | |
14 | 14 | then true | |
15 | 15 | else (e.sellOrder.assetPair.amountAsset == RFBId)) | |
16 | 16 | then (rateDiff > -10) | |
17 | 17 | else false) | |
18 | 18 | then (0 >= rateDiff) | |
19 | 19 | else false) | |
20 | 20 | then true | |
21 | 21 | else throw((((((((("This token can be traded with RFB Token only, allowed RFB Smart Token rate is currently between " + dropRight(toString(rateMin), 7)) + ".") + takeRight(toString(rateMin), 7)) + " and ") + dropRight(toString(rateMin), 7)) + ".") + takeRight(toString(rateMin), 6)) + "9 RFB Tokens, this rate is caluclated with formula RFB Token Total Supply / RFB Smart Token Total Supply")) | |
22 | 22 | case _ => | |
23 | 23 | true | |
24 | 24 | } |
github/deemru/w8io/026f985 37.41 ms ◑