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+p0VnirlfSe3D1csGqcNtLG5ZdEgaWBAAAABNtaW5pbWFsQW1vdW50VG9CdXJuCQAAaQAAAAIIBQAAAAR0aGlzAAAACHF1YW50aXR5AAAAAAAAACcQBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPQnVyblRyYW5zYWN0aW9uBAAAAARidXJuBQAAAAckbWF0Y2gwAwkAAGYAAAACBQAAABNtaW5pbWFsQW1vdW50VG9CdXJuCAUAAAAEYnVybgAAAAhxdWFudGl0eQkAAAIAAAABCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAICAAAAVVlvdSBjYW4gYnVybiBvbmx5IDAuMSBwZXJjZW50IChvciBtb3JlKSBvZiBjdXJyZW50IHRvdGFsIHN1cHBseSwgdGhpcyBpcyBub3cgZXF1YWwgdG8JAQAAAAlkcm9wUmlnaHQAAAACCQABpAAAAAEFAAAAE21p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AAAUgYW5kIAkBAAAACWRyb3BSaWdodAAAAAIJAAGkAAAAAQUAAAAHcmF0ZU1pbgAAAAAAAAAABwIAAAABLgkBAAAACXRha2VSaWdodAAAAAIJAAGkAAAAAQUAAAAHcmF0ZU1pbgAAAAAAAAAABgIAAABoOSBSRkIgVG9rZW5zLCB0aGlzIHJhdGUgaXMgY2FsdWNsYXRlZCB3aXRoIGZvcm11bGEgUkZCIFRva2VuIFRvdGFsIFN1cHBseSAvIFJGQiBTbWFydCBUb2tlbiBUb3RhbCBTdXBwbHkGWFgcjA==", "chainId": 84, "height": 653984, "spentComplexity": 0 } View: original | compacted Prev: 9z53iU1NnVXZooevpQvd63QVJ5oaQ9od72XbXf7grgQu Next: 33T1r5ninkr2rBV9UqWobBTRBshCgNaadPmBs4WJMM2v Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let RFBId = base58'DWCuXbcXtrCkSKNX3D2uxh7zHh72SN7tC5eQXK92tC5'
4-let minimalAmountToBurn = (this.quantity / 1000)
4+let minimalAmountToBurn = (this.quantity / 10000)
55 match tx {
66 case burn: BurnTransaction =>
77 if ((minimalAmountToBurn > burn.quantity))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let RFBId = base58'DWCuXbcXtrCkSKNX3D2uxh7zHh72SN7tC5eQXK92tC5'
4-let minimalAmountToBurn = (this.quantity / 1000)
4+let minimalAmountToBurn = (this.quantity / 10000)
55 match tx {
66 case burn: BurnTransaction =>
77 if ((minimalAmountToBurn > burn.quantity))
88 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"))
99 else true
1010 case e: ExchangeTransaction =>
1111 let rateMin = fraction(100000000, extract(assetInfo(RFBId)).quantity, this.quantity)
1212 let rateDiff = (rateMin - e.price)
1313 if (if (if (if ((e.sellOrder.assetPair.priceAsset == RFBId))
1414 then true
1515 else (e.sellOrder.assetPair.amountAsset == RFBId))
1616 then (rateDiff > -10)
1717 else false)
1818 then (0 >= rateDiff)
1919 else false)
2020 then true
2121 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"))
2222 case _ =>
2323 true
2424 }

github/deemru/w8io/169f3d6 
33.29 ms