tx · 8fwd8A5dNMy4BchQmJyM9AadbZuExhfZjRQTXEQ6oSrx

3N9N8Qq6YA2N2HnJBJPfjvuNrqwXPidoTDz:  -0.09000000 Waves

2021.03.23 14:29 [1450328] smart account 3N9N8Qq6YA2N2HnJBJPfjvuNrqwXPidoTDz > SELF 0.00000000 Waves

{ "type": 13, "id": "8fwd8A5dNMy4BchQmJyM9AadbZuExhfZjRQTXEQ6oSrx", "fee": 9000000, "feeAssetId": null, "timestamp": 1616498938764, "version": 2, "chainId": 84, "sender": "3N9N8Qq6YA2N2HnJBJPfjvuNrqwXPidoTDz", "senderPublicKey": "6Cb9csxPMjaHRwKhYgcpE4MdnmfiLv9Yv9rvVJoHJH7u", "proofs": [ "mReyq6Fkwn2bHKDeknKtpioEE7ApcYyR7bV2DTknKWHDi1HXJqDLssCqf5LiZd6dcy1AVTAig8PJBfSmJ6WfXp3" ], "script": "base64:AAIEAAAAAAAAAAIIAgAAAAEAAAAACW15QXNzZXRJZAEAAAAgIkSm54hUfVEormpXug9p+nbhDnc37ahHq1IfaU2UQkcAAAAAAAAAAQAAAAJ0eAEAAAABdgAAAAAEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAVPcmRlcgQAAAABbwUAAAAHJG1hdGNoMAQAAAARaXNXYXZlc1ByaWNlQXNzZXQJAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEICAUAAAABbwAAAAlhc3NldFBhaXIAAAAKcHJpY2VBc3NldAQAAAAJcmlnaHRQYWlyAwkAAAAAAAACCAgFAAAAAW8AAAAJYXNzZXRQYWlyAAAAC2Ftb3VudEFzc2V0BQAAAAlteUFzc2V0SWQFAAAAEWlzV2F2ZXNQcmljZUFzc2V0BwMDAwMJAAH0AAAAAwgFAAAAAW8AAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAFvAAAABnByb29mcwAAAAAAAAAAAAgFAAAAAW8AAAAPc2VuZGVyUHVibGljS2V5BQAAAAlyaWdodFBhaXIHCQAAAAAAAAIIBQAAAAFvAAAABXByaWNlAAAAAAAAB6EgBwkAAAAAAAACCAUAAAABbwAAAAlvcmRlclR5cGUFAAAAA0J1eQcGCQAAAgAAAAECAAAAC3dlIGFyZSBoZXJlAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABRTZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAABbwUAAAAHJG1hdGNoMAkAAfQAAAADCAUAAAABbwAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAW8AAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAABbwAAAA9zZW5kZXJQdWJsaWNLZXkHHRsvSg==", "height": 1450328, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6oh5xHivBGBftXpsNPdmqyKvQtjTeMu4TGyeMvSBUzAT Next: none Diff:
OldNewDifferences
1111 let rightPair = if ((o.assetPair.amountAsset == myAssetId))
1212 then isWavesPriceAsset
1313 else false
14- if (if (if (sigVerify(o.bodyBytes, o.proofs[0], o.senderPublicKey))
14+ if (if (if (if (sigVerify(o.bodyBytes, o.proofs[0], o.senderPublicKey))
1515 then rightPair
1616 else false)
1717 then (o.price == 500000)
1818 else false)
1919 then (o.orderType == Buy)
20- else false
20+ else false)
21+ then true
22+ else throw("we are here")
2123 case o: SetScriptTransaction =>
2224 sigVerify(o.bodyBytes, o.proofs[0], o.senderPublicKey)
2325 case _ =>
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let myAssetId = base58'3JmaWyFqWo8YSA8x3DXCBUW7veesxacvKx19dMv7wTMg'
55
66
77 @Verifier(tx)
88 func v () = match tx {
99 case o: Order =>
1010 let isWavesPriceAsset = !(isDefined(o.assetPair.priceAsset))
1111 let rightPair = if ((o.assetPair.amountAsset == myAssetId))
1212 then isWavesPriceAsset
1313 else false
14- if (if (if (sigVerify(o.bodyBytes, o.proofs[0], o.senderPublicKey))
14+ if (if (if (if (sigVerify(o.bodyBytes, o.proofs[0], o.senderPublicKey))
1515 then rightPair
1616 else false)
1717 then (o.price == 500000)
1818 else false)
1919 then (o.orderType == Buy)
20- else false
20+ else false)
21+ then true
22+ else throw("we are here")
2123 case o: SetScriptTransaction =>
2224 sigVerify(o.bodyBytes, o.proofs[0], o.senderPublicKey)
2325 case _ =>
2426 false
2527 }
2628

github/deemru/w8io/169f3d6 
55.00 ms