tx · 7rE4PxC4fVhUngnuJXE8ahYkkh7b4JjMYGKBZBeuSVyj

3N5GndkwuFvY8vRcTjimR5u4bvqvy6ujbV3:  -1.00000000 Waves

2019.02.11 22:36 [490914] smart asset 3N5GndkwuFvY8vRcTjimR5u4bvqvy6ujbV3 > SELF 0.00000000 scoentest2

{ "type": 15, "id": "7rE4PxC4fVhUngnuJXE8ahYkkh7b4JjMYGKBZBeuSVyj", "fee": 100000000, "feeAssetId": null, "timestamp": 1549913794281, "version": 1, "sender": "3N5GndkwuFvY8vRcTjimR5u4bvqvy6ujbV3", "senderPublicKey": "E5o1Reo8wcwwzgbhwz15fsiADQNm9vE1EC94H3SgiMGX", "proofs": [ "5DYoopAWLAiCbvmhySAmwdcofY4RY8Wh8hnyJ8JHyvN34m36NxAc4ePZZV73cAgqneZjRp53MHnhfVzwdeJBmEUu" ], "assetId": "H4ZQiigTwMJKtrdTcj9BDMT74NLYpgaSwu5nptC3HQu", "script": "base64:AQQAAAALZGF0YUFkZHJlc3MJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVSodFBH9BlHWiLGbAj5y20VtO3G3ps5H5IEAAAADlRyYWRpbmdBbGxvd2VkCQEAAAAHZXh0cmFjdAAAAAEJAAQbAAAAAgUAAAALZGF0YUFkZHJlc3MCAAAADEFsbG93VHJhZGluZwQAAAALTWluRXVyUHJpY2UJAQAAAAdleHRyYWN0AAAAAQkABBoAAAACBQAAAAtkYXRhQWRkcmVzcwIAAAALTWluRXVyUHJpY2UEAAAAC01pblVzZFByaWNlCQEAAAAHZXh0cmFjdAAAAAEJAAQaAAAAAgUAAAALZGF0YUFkZHJlc3MCAAAAC01pblVzZFByaWNlBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgQAAAABZQUAAAAHJG1hdGNoMAMJAAAAAAAAAggICAUAAAABZQAAAAlzZWxsT3JkZXIAAAAJYXNzZXRQYWlyAAAACnByaWNlQXNzZXQBAAAAIH/9KY8jK/cZhGSYvEbXe343KIRiBmpubsqbjMkedBFlAwkAAGcAAAACCAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAABXByaWNlBQAAAAtNaW5FdXJQcmljZQYEAAAACUVVUmVyclN0cgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgIAAAAUTWluaW1hbCBFVVIgcHJpY2UgOiAJAAGkAAAAAQkAAGkAAAACBQAAAAtNaW5FdXJQcmljZQAAAAAAAAAAZAIAAAABLgkAAaQAAAABCQAAagAAAAIFAAAAC01pbkV1clByaWNlAAAAAAAAAABkCQAAAgAAAAEFAAAACUVVUmVyclN0cgMJAAAAAAAAAggICAUAAAABZQAAAAlzZWxsT3JkZXIAAAAJYXNzZXRQYWlyAAAACnByaWNlQXNzZXQBAAAAILOr7Y643GEksmFW3rTbIhQEuzBwkRdiSbh/vRQs0zM3AwkAAGcAAAACCAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAABXByaWNlBQAAAAtNaW5Vc2RQcmljZQYEAAAACVVTRGVyclN0cgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgIAAAAUTWluaW1hbCBVU0QgcHJpY2UgOiAJAAGkAAAAAQkAAGkAAAACBQAAAAtNaW5Vc2RQcmljZQAAAAAAAAAAZAIAAAABLgkAAaQAAAABCQAAagAAAAIFAAAAC01pblVzZFByaWNlAAAAAAAAAABkCQAAAgAAAAEFAAAACVVTRGVyclN0cgkAAAIAAAABAgAAABdPbmx5IEVVUiBvciBVU0QgYWxsb3dlZAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0J1cm5UcmFuc2FjdGlvbgQAAAABYgUAAAAHJG1hdGNoMAcGAz7N3A==", "chainId": 84, "height": 490914, "spentComplexity": 0 } View: original | compacted Prev: HRBZiwSecjhn21w9JaMeo27ZRdNhAJWEiy8xHRXrnY5j Next: FRD4jA7bgPwDw4Nx3BJiFA2eWf37qaCiWCkFxHfFcTjE Diff:
OldNewDifferences
1010 then if ((e.sellOrder.price >= MinEurPrice))
1111 then true
1212 else {
13- let EURerrStr = ("Minimal EUR price : " + toString((MinEurPrice / 100)))
13+ let EURerrStr = ((("Minimal EUR price : " + toString((MinEurPrice / 100))) + ".") + toString((MinEurPrice % 100)))
1414 throw(EURerrStr)
1515 }
1616 else if ((e.sellOrder.assetPair.priceAsset == base58'D6N2rAqWN6ZCWnCeNFWLGqqjS6nJLeK4m19XiuhdDenr'))
1717 then if ((e.sellOrder.price >= MinUsdPrice))
1818 then true
1919 else {
20- let USDerrStr = ("Minimal USD price : " + toString((MinUsdPrice / 100)))
20+ let USDerrStr = ((("Minimal USD price : " + toString((MinUsdPrice / 100))) + ".") + toString((MinUsdPrice % 100)))
2121 throw(USDerrStr)
2222 }
2323 else throw("Only EUR or USD allowed")
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let dataAddress = Address(base58'3N5GndkwuFvY8vRcTjimR5u4bvqvy6ujbV3')
44 let TradingAllowed = extract(getBoolean(dataAddress, "AllowTrading"))
55 let MinEurPrice = extract(getInteger(dataAddress, "MinEurPrice"))
66 let MinUsdPrice = extract(getInteger(dataAddress, "MinUsdPrice"))
77 match tx {
88 case e: ExchangeTransaction =>
99 if ((e.sellOrder.assetPair.priceAsset == base58'9ccgBxtFaswpsJHRopHj8wn3i2PCcrRGhSL2ohkc3QHi'))
1010 then if ((e.sellOrder.price >= MinEurPrice))
1111 then true
1212 else {
13- let EURerrStr = ("Minimal EUR price : " + toString((MinEurPrice / 100)))
13+ let EURerrStr = ((("Minimal EUR price : " + toString((MinEurPrice / 100))) + ".") + toString((MinEurPrice % 100)))
1414 throw(EURerrStr)
1515 }
1616 else if ((e.sellOrder.assetPair.priceAsset == base58'D6N2rAqWN6ZCWnCeNFWLGqqjS6nJLeK4m19XiuhdDenr'))
1717 then if ((e.sellOrder.price >= MinUsdPrice))
1818 then true
1919 else {
20- let USDerrStr = ("Minimal USD price : " + toString((MinUsdPrice / 100)))
20+ let USDerrStr = ((("Minimal USD price : " + toString((MinUsdPrice / 100))) + ".") + toString((MinUsdPrice % 100)))
2121 throw(USDerrStr)
2222 }
2323 else throw("Only EUR or USD allowed")
2424 case t: TransferTransaction =>
2525 true
2626 case b: BurnTransaction =>
2727 false
2828 case _ =>
2929 true
3030 }

github/deemru/w8io/026f985 
21.89 ms