tx · FRD4jA7bgPwDw4Nx3BJiFA2eWf37qaCiWCkFxHfFcTjE

3N5GndkwuFvY8vRcTjimR5u4bvqvy6ujbV3:  -1.00000000 Waves

2019.02.11 22:37 [490915] smart asset 3N5GndkwuFvY8vRcTjimR5u4bvqvy6ujbV3 > SELF 0.00000000 scoentest2

{ "type": 15, "id": "FRD4jA7bgPwDw4Nx3BJiFA2eWf37qaCiWCkFxHfFcTjE", "fee": 100000000, "feeAssetId": null, "timestamp": 1549913860448, "version": 1, "sender": "3N5GndkwuFvY8vRcTjimR5u4bvqvy6ujbV3", "senderPublicKey": "E5o1Reo8wcwwzgbhwz15fsiADQNm9vE1EC94H3SgiMGX", "proofs": [ "3Ec8ufKFMUTUEtZK3wD3VAmy3QTM9hWXt4gN7G7AV3N1vo3QGjPFW7erVcTTXAD3ffyj2iABJHJykSDFzkUfjMWT" ], "assetId": "H4ZQiigTwMJKtrdTcj9BDMT74NLYpgaSwu5nptC3HQu", "script": "base64:AQQAAAALZGF0YUFkZHJlc3MJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVSodFBH9BlHWiLGbAj5y20VtO3G3ps5H5IEAAAADlRyYWRpbmdBbGxvd2VkCQEAAAAHZXh0cmFjdAAAAAEJAAQbAAAAAgUAAAALZGF0YUFkZHJlc3MCAAAADEFsbG93VHJhZGluZwQAAAALTWluRXVyUHJpY2UJAQAAAAdleHRyYWN0AAAAAQkABBoAAAACBQAAAAtkYXRhQWRkcmVzcwIAAAALTWluRXVyUHJpY2UEAAAAC01pblVzZFByaWNlCQEAAAAHZXh0cmFjdAAAAAEJAAQaAAAAAgUAAAALZGF0YUFkZHJlc3MCAAAAC01pblVzZFByaWNlBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgQAAAABZQUAAAAHJG1hdGNoMAMJAAAAAAAAAggICAUAAAABZQAAAAlzZWxsT3JkZXIAAAAJYXNzZXRQYWlyAAAACnByaWNlQXNzZXQBAAAAIH/9KY8jK/cZhGSYvEbXe343KIRiBmpubsqbjMkedBFlAwkAAGcAAAACCAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAABXByaWNlBQAAAAtNaW5FdXJQcmljZQYEAAAACUVVUmVyclN0cgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgIAAAAUTWluaW1hbCBFVVIgcHJpY2UgPSAJAAGkAAAAAQkAAGkAAAACBQAAAAtNaW5FdXJQcmljZQAAAAAAAAAAZAIAAAABLgkAAaQAAAABCQAAagAAAAIFAAAAC01pbkV1clByaWNlAAAAAAAAAABkCQAAAgAAAAEFAAAACUVVUmVyclN0cgMJAAAAAAAAAggICAUAAAABZQAAAAlzZWxsT3JkZXIAAAAJYXNzZXRQYWlyAAAACnByaWNlQXNzZXQBAAAAILOr7Y643GEksmFW3rTbIhQEuzBwkRdiSbh/vRQs0zM3AwkAAGcAAAACCAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAABXByaWNlBQAAAAtNaW5Vc2RQcmljZQYEAAAACVVTRGVyclN0cgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgIAAAAUTWluaW1hbCBVU0QgcHJpY2UgPSAJAAGkAAAAAQkAAGkAAAACBQAAAAtNaW5Vc2RQcmljZQAAAAAAAAAAZAIAAAABLgkAAaQAAAABCQAAagAAAAIFAAAAC01pblVzZFByaWNlAAAAAAAAAABkCQAAAgAAAAEFAAAACVVTRGVyclN0cgkAAAIAAAABAgAAABdPbmx5IEVVUiBvciBVU0QgYWxsb3dlZAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0J1cm5UcmFuc2FjdGlvbgQAAAABYgUAAAAHJG1hdGNoMAcG/6zkLA==", "chainId": 84, "height": 490915, "spentComplexity": 0 } View: original | compacted Prev: 7rE4PxC4fVhUngnuJXE8ahYkkh7b4JjMYGKBZBeuSVyj Next: none Diff:
OldNewDifferences
1010 then if ((e.sellOrder.price >= MinEurPrice))
1111 then true
1212 else {
13- let EURerrStr = ((("Minimal EUR price : " + toString((MinEurPrice / 100))) + ".") + 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))) + ".") + 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))) + ".") + 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))) + ".") + 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 
30.46 ms