tx · 8bJnyXsfvoX9qnE6yBarbH4MfzZDyEVMoX2ahMXkbW9u

3Mqg7LwuHRY3GQjz8dbCFvHDQb33gWNFaSA:  -0.01400000 Waves

2019.01.15 17:32 [451236] smart account 3Mqg7LwuHRY3GQjz8dbCFvHDQb33gWNFaSA > SELF 0.00000000 Waves

{ "type": 13, "id": "8bJnyXsfvoX9qnE6yBarbH4MfzZDyEVMoX2ahMXkbW9u", "fee": 1400000, "feeAssetId": null, "timestamp": 1547562762175, "version": 1, "sender": "3Mqg7LwuHRY3GQjz8dbCFvHDQb33gWNFaSA", "senderPublicKey": "Eu5ZUHQswbdySVdGsEw7y2MrKCJGPvjkFtyf1YVoJLfH", "proofs": [ "3gQKNREV4yfmjB9Li5k9mEgFJgATXfZ72aK1rabaWkXeJM6YoVRwUEr8qFJ3BgarFiiCa5ije5cKUsTjT9QeznEb" ], "script": "base64:AQQAAAAFbG90dG8BAAAAIM5/SbYnQBvmeWPjlbnQqjja9sn0WmqR6XNSaCaPDtkgBAAAAAlsb3R0b0FkZHIJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEFAAAABWxvdHRvBAAAAAZpc09wZW4JAAQbAAAAAgUAAAAJbG90dG9BZGRyAgAAAAZpc09wZW4EAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAVPcmRlcgQAAAABbwUAAAAHJG1hdGNoMAMJAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEICAUAAAABbwAAAAlhc3NldFBhaXIAAAAKcHJpY2VBc3NldAMJAAAAAAAAAggFAAAAAW8AAAAFcHJpY2UAAAAAAAAAAAEJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5AwkAAAAAAAACBQAAAAZpc09wZW4GBwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5CQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleV8z9bU=", "chainId": 84, "height": 451236, "spentComplexity": 0 } View: original | compacted Prev: 7fCHzgcyeM4LTFQBvw9BLwafTs9ZBNvYRfauw7xt5BuR Next: BNbZRNCQvYjoEHQidZzYpU2fA3FbVnTgmUNaMFyMFKAB Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let lotto = base58'Eu5ZUHQswbdySVdGsEw7y2MrKCJGPvjkFtyf1YVoJLfH'
4+let lottoAddr = addressFromPublicKey(lotto)
5+let isOpen = getBoolean(lottoAddr, "isOpen")
46 match tx {
57 case o: Order =>
68 if (!(isDefined(o.assetPair.priceAsset)))
7- then if (if ((o.price == 1))
8- then true
9- else (o.senderPublicKey == lotto))
9+ then if ((o.price == 1))
1010 then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
11- else false
11+ else if ((isOpen == true))
12+ then false
13+ else sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
1214 else sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
1315 case _ =>
1416 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let lotto = base58'Eu5ZUHQswbdySVdGsEw7y2MrKCJGPvjkFtyf1YVoJLfH'
4+let lottoAddr = addressFromPublicKey(lotto)
5+let isOpen = getBoolean(lottoAddr, "isOpen")
46 match tx {
57 case o: Order =>
68 if (!(isDefined(o.assetPair.priceAsset)))
7- then if (if ((o.price == 1))
8- then true
9- else (o.senderPublicKey == lotto))
9+ then if ((o.price == 1))
1010 then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
11- else false
11+ else if ((isOpen == true))
12+ then false
13+ else sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
1214 else sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
1315 case _ =>
1416 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
1517 }

github/deemru/w8io/026f985 
19.30 ms