tx · Dx5nDZT8vuDCyrtDoKDUvhJuHg4qAd3Y4LxrawkeqPeY

3NBaYzWT2odsyrZ2u1ghsrHinBm4xFRAgLX:  -0.01400000 Waves

2019.07.02 14:47 [567736] smart account 3NBaYzWT2odsyrZ2u1ghsrHinBm4xFRAgLX > SELF 0.00000000 Waves

{ "type": 13, "id": "Dx5nDZT8vuDCyrtDoKDUvhJuHg4qAd3Y4LxrawkeqPeY", "fee": 1400000, "feeAssetId": null, "timestamp": 1562068023511, "version": 1, "sender": "3NBaYzWT2odsyrZ2u1ghsrHinBm4xFRAgLX", "senderPublicKey": "HBqhfdFASRQ5eBBpu2y6c6KKi1az6bMx8v1JxX4iW1Q8", "proofs": [ "4zA7wm2Ln83qWGyyqKWGN8gQJ671Eqddc335Ry5SQBN6rgT9nZQ1qdzmT8JPLAjuwC88DFDottgWHmwpbR52PwLd" ], "script": "base64:AAIDAAAAAAAAAAAAAAAAAAAAAQAAAAFpAQAAAApyZXRyYW5zbWl0AAAABAAAAAdhZGRyZXNzAAAABmFtb3VudAAAAARkYXRhAAAABnJlYWxseQQAAAADcGF5CQEAAAAHZXh0cmFjdAAAAAEIBQAAAAFpAAAAB3BheW1lbnQEAAAAAnRvCQEAAAAcQGV4dHJVc2VyKGFkZHJlc3NGcm9tU3RyaW5nKQAAAAEFAAAAB2FkZHJlc3MEAAAABWNoZWNrCQAB9wAAAAEJAAGbAAAAAQUAAAAHYWRkcmVzcwMJAQAAAAEhAAAAAQUAAAAGcmVhbGx5CQAAAgAAAAECAAAADnJlYWxseSA9IGZhbHNlAwkBAAAAAiE9AAAAAgUAAAAEZGF0YQUAAAAFY2hlY2sJAAACAAAAAQkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAJYAAAAAQUAAAAEZGF0YQIAAAAEICE9IAkAAlgAAAABBQAAAAVjaGVjawIAAAABKAUAAAAHYWRkcmVzcwIAAAABKQMJAABmAAAAAgUAAAAGYW1vdW50CAUAAAADcGF5AAAABmFtb3VudAkAAAIAAAABCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAAlgAAAABBQAAAARkYXRhAgAAAAQgIT0gCQACWAAAAAEFAAAABWNoZWNrAgAAAAEoBQAAAAdhZGRyZXNzAgAAAAEpCQEAAAALVHJhbnNmZXJTZXQAAAABCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMFAAAAAnRvBQAAAAZhbW91bnQFAAAABHVuaXQFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAADCQEAAAABIQAAAAEJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5CQAAAgAAAAEJAAJcAAAAAQgFAAAAAnR4AAAACWJvZHlCeXRlcwYv1Aqz", "chainId": 84, "height": 567736, "spentComplexity": 0 } View: original | compacted Prev: 7hKXRShBkR4sUqp7Bi6UKGCi4h34Z8xCXKsbFuJ9Ytb5 Next: BrVxb3MT9ApEVBfzpwqPGGAskoorr6v8EHqFGMbcjQuX Diff:
OldNewDifferences
55
66 @Callable(a)
77 func retransmit (b,c,d,e) = {
8- let f = getBinaryValue(this, "123")
8+ let f = extract(a.payment)
99 let g = addressFromStringValue(b)
1010 let h = sha256(toBytes(b))
1111 if (!(e))
12- then throw("really = true")
12+ then throw("really = false")
1313 else if ((d != h))
1414 then throw((((((toBase58String(d) + " != ") + toBase58String(h)) + "(") + b) + ")"))
15- else TransferSet([ScriptTransfer(g, c, unit)])
15+ else if ((c > f.amount))
16+ then throw((((((toBase58String(d) + " != ") + toBase58String(h)) + "(") + b) + ")"))
17+ else TransferSet([ScriptTransfer(g, c, unit)])
1618 }
1719
1820
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
77 func retransmit (b,c,d,e) = {
8- let f = getBinaryValue(this, "123")
8+ let f = extract(a.payment)
99 let g = addressFromStringValue(b)
1010 let h = sha256(toBytes(b))
1111 if (!(e))
12- then throw("really = true")
12+ then throw("really = false")
1313 else if ((d != h))
1414 then throw((((((toBase58String(d) + " != ") + toBase58String(h)) + "(") + b) + ")"))
15- else TransferSet([ScriptTransfer(g, c, unit)])
15+ else if ((c > f.amount))
16+ then throw((((((toBase58String(d) + " != ") + toBase58String(h)) + "(") + b) + ")"))
17+ else TransferSet([ScriptTransfer(g, c, unit)])
1618 }
1719
1820
1921 @Verifier(i)
2022 func j () = if (!(sigVerify(i.bodyBytes, i.proofs[0], i.senderPublicKey)))
2123 then throw(toBase16String(i.bodyBytes))
2224 else true
2325

github/deemru/w8io/169f3d6 
33.10 ms