tx · G9HQVBRgp4YFFZmKV7WAnZMz8rnSt241AqKceG95iNix

3NCujHULyYqqR6K5M8UDFmEqUXrk7dhGgSN:  -1.00000000 Waves

2019.08.16 00:55 [632755] smart asset 3NCujHULyYqqR6K5M8UDFmEqUXrk7dhGgSN > SELF 0.00000000 ALAL Smart

{ "type": 15, "id": "G9HQVBRgp4YFFZmKV7WAnZMz8rnSt241AqKceG95iNix", "fee": 100000000, "feeAssetId": null, "timestamp": 1565906185357, "version": 1, "sender": "3NCujHULyYqqR6K5M8UDFmEqUXrk7dhGgSN", "senderPublicKey": "HdT6SidnMsevqyJszfDFydCQ9gcL3FBHks3e7hbdAqoS", "proofs": [ "SsJKkdbJcMddKxdPgdZUhVmJvHnwqLhjPTV1RaMY2onFFwfNJP96uWeWL114btT4C93TEa4syVYnH8Ec9Ha6g1y" ], "assetId": "F1x9pu3jnfUcbDTDnfAqkdr7586HptLrxuGxX8q9hjn2", "script": "base64:AwQAAAAGQUxBTElkAQAAACCGXEpN2XAJtec45JhRZSYsl4p3hhjsZjRxpFca1iPsKwQAAAATbWluaW1hbEFtb3VudFRvQnVybgkAAGkAAAACCAUAAAAEdGhpcwAAAAhxdWFudGl0eQAAAAAAAAAAZAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0J1cm5UcmFuc2FjdGlvbgQAAAAEYnVybgUAAAAHJG1hdGNoMAMJAABmAAAAAgUAAAATbWluaW1hbEFtb3VudFRvQnVybggFAAAABGJ1cm4AAAAIcXVhbnRpdHkJAAACAAAAAQIAAAA9WW91IGNhbiBidXJuIG9ubHkgMSBwZXJjZW50IChvciBtb3JlKSBvZiBjdXJyZW50IHRvdGFsIHN1cHBseQYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAWUFAAAAByRtYXRjaDAEAAAABHJhdGUJAABoAAAAAgkAAGkAAAACCAkBAAAABXZhbHVlAAAAAQkAA+wAAAABBQAAAAZBTEFMSWQAAAAIcXVhbnRpdHkIBQAAAAR0aGlzAAAACHF1YW50aXR5AAAAAAAAAABkBAAAAAhyYXRlRGlmZgkAAGUAAAACBQAAAARyYXRlCQAAawAAAAMAAAAAAAX14QAIBQAAAAFlAAAABXByaWNlCAUAAAABZQAAAAZhbW91bnQDAwkAAAAAAAACCAgIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIAAAAKcHJpY2VBc3NldAUAAAAGQUxBTElkCQAAZgAAAAIFAAAACHJhdGVEaWZmAP////////+cBwkAAGYAAAACAAAAAAAAAABkBQAAAAhyYXRlRGlmZgcGxwv1qg==", "chainId": 84, "height": 632755, "spentComplexity": 0 } View: original | compacted Prev: 8GEFTyrofpPMtNLPsAdrV5JCuhKULqSRJEbYs2kKxa6L Next: 71E1zgE3VBiAXys5k8J2h12Y6f2MzcEeoLt3MQLxtqPu Diff:
OldNewDifferences
88 then throw("You can burn only 1 percent (or more) of current total supply")
99 else true
1010 case e: ExchangeTransaction =>
11- let rate = ((value(assetInfo(ALALId)).quantity / this.quantity) * 100000)
12- let rateDiff = (rate - fraction(1000000, e.price, e.amount))
11+ let rate = ((value(assetInfo(ALALId)).quantity / this.quantity) * 100)
12+ let rateDiff = (rate - fraction(100000000, e.price, e.amount))
1313 if (if ((e.sellOrder.assetPair.priceAsset == ALALId))
1414 then (rateDiff > -100)
1515 else false)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let ALALId = base58'A3VFhf86g7ZM4k1kuxnZUSbqUYPcXbsSAhgZgdvanP2a'
44 let minimalAmountToBurn = (this.quantity / 100)
55 match tx {
66 case burn: BurnTransaction =>
77 if ((minimalAmountToBurn > burn.quantity))
88 then throw("You can burn only 1 percent (or more) of current total supply")
99 else true
1010 case e: ExchangeTransaction =>
11- let rate = ((value(assetInfo(ALALId)).quantity / this.quantity) * 100000)
12- let rateDiff = (rate - fraction(1000000, e.price, e.amount))
11+ let rate = ((value(assetInfo(ALALId)).quantity / this.quantity) * 100)
12+ let rateDiff = (rate - fraction(100000000, e.price, e.amount))
1313 if (if ((e.sellOrder.assetPair.priceAsset == ALALId))
1414 then (rateDiff > -100)
1515 else false)
1616 then (100 > rateDiff)
1717 else false
1818 case _ =>
1919 true
2020 }

github/deemru/w8io/169f3d6 
27.98 ms