tx · FrCokanXPUQkrPdBMcACF8zRbLMqPrV7QXT7yCUAohBA

3NBk4TW7e4Ci3j7QxvrL7Ji6K33diPaqi3x:  -1.00400000 Waves

2019.02.27 14:35 [513794] smart asset 3NBk4TW7e4Ci3j7QxvrL7Ji6K33diPaqi3x > SELF 0.00000000 hinami

{ "type": 15, "id": "FrCokanXPUQkrPdBMcACF8zRbLMqPrV7QXT7yCUAohBA", "fee": 100400000, "feeAssetId": null, "timestamp": 1551267453232, "version": 1, "sender": "3NBk4TW7e4Ci3j7QxvrL7Ji6K33diPaqi3x", "senderPublicKey": "Eb3xGmtnLMWn2R23Ps6qx7XeRoHF3Puer4zUTsjTwAdS", "proofs": [ "4MRbcMmPxz88u3B1cZeHepGS8HtqtHNTYKigoxmHJ2EBBDbGYtJuVQ4mYh8uJ3Qvxo4xBM1z8kQWBXsdHrqxwZwf" ], "assetId": "GSfKjMBGqhz4bhx532D8rNhUsM2BtfRLDw4ZC2Cnhov5", "script": "base64:AQQAAAAGaXNzdWVyCQEAAAAHQWRkcmVzcwAAAAEBAAAACjBzQOgYK1aOY+IEAAAAB2Fzc2V0SWQBAAAACJ+kNIQu6TK4BAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgQAAAACZXgFAAAAByRtYXRjaDAEAAAABHBhaXIJAQAAAAlBc3NldFBhaXIAAAACBQAAAAdhc3NldElkBQAAAAR1bml0BAAAAARyYXRlCQEAAAAHZXh0cmFjdAAAAAEJAAQaAAAAAgUAAAAGaXNzdWVyAgAAAAxleGNoYW5nZVJhdGUEAAAACHJhdGVEaWZmCQAAZQAAAAIFAAAABHJhdGUJAABrAAAAAwAAAAAABfXhAAgFAAAAAmV4AAAABXByaWNlCAUAAAACZXgAAAAGYW1vdW50AwMJAAAAAAAAAggIBQAAAAJleAAAAAhidXlPcmRlcgAAAAlhc3NldFBhaXIFAAAABHBhaXIJAABmAAAAAgUAAAAIcmF0ZURpZmYA/////////5wHCQAAZgAAAAIAAAAAAAAAAGQFAAAACHJhdGVEaWZmBwYZTWgZ", "chainId": 84, "height": 513794, "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 1 #-}
2+{-# CONTENT_TYPE EXPRESSION #-}
3+let issuer = Address(base58'3issuerAddress')
4+let assetId = base58'ThisAsset1d'
5+match tx {
6+ case ex: ExchangeTransaction =>
7+ let pair = AssetPair(assetId, unit)
8+ let rate = extract(getInteger(issuer, "exchangeRate"))
9+ let rateDiff = (rate - fraction(100000000, ex.price, ex.amount))
10+ if (if ((ex.buyOrder.assetPair == pair))
11+ then (rateDiff > -100)
12+ else false)
13+ then (100 > rateDiff)
14+ else false
15+ case _ =>
16+ true
17+}

github/deemru/w8io/026f985 
12.07 ms