tx · Bv2knVqRhM2WBjosXYpBysTFYevKrADLWTggDiiUpZME

3N5ezXT9QVpBcxseKRkqbLdTRSUkbMJLzbD:  -0.01400000 Waves

2019.01.29 16:44 [471608] smart account 3N5ezXT9QVpBcxseKRkqbLdTRSUkbMJLzbD > SELF 0.00000000 Waves

{ "type": 13, "id": "Bv2knVqRhM2WBjosXYpBysTFYevKrADLWTggDiiUpZME", "fee": 1400000, "feeAssetId": null, "timestamp": 1548769422096, "version": 1, "sender": "3N5ezXT9QVpBcxseKRkqbLdTRSUkbMJLzbD", "senderPublicKey": "HMMwXJWPUWM7VKP5hJaoazWJiLMZZSta2F9AaWkUk1FX", "proofs": [], "script": "base64:AQQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAnR0BQAAAAckbWF0Y2gwBAAAAAJhYQIAAAADcXdlBAAAAAJycgkAAlgAAAABCQEAAAAHZXh0cmFjdAAAAAEJAAQcAAAAAgkABCQAAAABCAUAAAACdHQAAAAJcmVjaXBpZW50AgAAAAVieXRlcwkAAAIAAAABBQAAAAJycgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPRGF0YVRyYW5zYWN0aW9uBAAAAAJkdAUAAAAHJG1hdGNoMAQAAAAEZ2FtZQkBAAAAB2V4dHJhY3QAAAABCQAEEwAAAAIIBQAAAAJkdAAAAARkYXRhAgAAAARoYXNoBAAAAAliZXRBbW91bnQJAQAAAAdleHRyYWN0AAAAAQkABBAAAAACCAUAAAACZHQAAAAEZGF0YQkAASwAAAACBQAAAARnYW1lAgAAAAdfYW1vdW50BAAAAAtwbGF5ZXIxVHhJZAkBAAAAB2V4dHJhY3QAAAABCQAEEwAAAAIIBQAAAAJkdAAAAARkYXRhCQABLAAAAAIFAAAABGdhbWUCAAAABF90eDEEAAAACXBsYXllcjFUeAkAA+gAAAABCQACWQAAAAEFAAAAC3BsYXllcjFUeElkBAAAAAckbWF0Y2gxBQAAAAlwbGF5ZXIxVHgDCQAAAQAAAAIFAAAAByRtYXRjaDECAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAA3AxdAUAAAAHJG1hdGNoMQQAAAAJcGxheWVyMU9rCQAAAAAAAAIIBQAAAANwMXQAAAAGYW1vdW50BQAAAAliZXRBbW91bnQEAAAAC3BsYXllcjJUeElkCQEAAAAHZXh0cmFjdAAAAAEJAAQTAAAAAggFAAAAAmR0AAAABGRhdGEJAAEsAAAAAgUAAAAEZ2FtZQIAAAAEX3R4MgQAAAAJcGxheWVyMlR4CQAD6AAAAAEJAAJZAAAAAQUAAAALcGxheWVyMlR4SWQEAAAAByRtYXRjaDIFAAAACXBsYXllcjJUeAMJAAABAAAAAgUAAAAHJG1hdGNoMgIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAADcDJ0BQAAAAckbWF0Y2gyBAAAAAlwbGF5ZXIyT2sJAAAAAAAAAggFAAAAA3AydAAAAAZhbW91bnQFAAAACWJldEFtb3VudAMFAAAACXBsYXllcjFPawUAAAAJcGxheWVyMk9rBwcHAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABRTZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAACc3QFAAAAByRtYXRjaDAGByY9Tqk=", "chainId": 84, "height": 471608, "spentComplexity": 0 } View: original | compacted Prev: 6Mevjy3SaJ7ooS26zznLwyT7dv2ufNxtkAVFWGeiEWAW Next: FcbqZpeNLWmKxPiRtiHeRYRtfHGR76TMcFfz4zPY6HH8 Diff:
OldNewDifferences
33 match tx {
44 case tt: TransferTransaction =>
55 let aa = "qwe"
6- let rr = toBase58String(extract(getBinary(tt.recipient, "bytes")))
6+ let rr = toBase58String(extract(getBinary(addressFromRecipient(tt.recipient), "bytes")))
77 throw(rr)
88 case dt: DataTransaction =>
99 let game = extract(getString(dt.data, "hash"))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 match tx {
44 case tt: TransferTransaction =>
55 let aa = "qwe"
6- let rr = toBase58String(extract(getBinary(tt.recipient, "bytes")))
6+ let rr = toBase58String(extract(getBinary(addressFromRecipient(tt.recipient), "bytes")))
77 throw(rr)
88 case dt: DataTransaction =>
99 let game = extract(getString(dt.data, "hash"))
1010 let betAmount = extract(getInteger(dt.data, (game + "_amount")))
1111 let player1TxId = extract(getString(dt.data, (game + "_tx1")))
1212 let player1Tx = transactionById(fromBase58String(player1TxId))
1313 match player1Tx {
1414 case p1t: TransferTransaction =>
1515 let player1Ok = (p1t.amount == betAmount)
1616 let player2TxId = extract(getString(dt.data, (game + "_tx2")))
1717 let player2Tx = transactionById(fromBase58String(player2TxId))
1818 match player2Tx {
1919 case p2t: TransferTransaction =>
2020 let player2Ok = (p2t.amount == betAmount)
2121 if (player1Ok)
2222 then player2Ok
2323 else false
2424 case _ =>
2525 false
2626 }
2727 case _ =>
2828 false
2929 }
3030 case st: SetScriptTransaction =>
3131 true
3232 case _ =>
3333 false
3434 }

github/deemru/w8io/169f3d6 
28.26 ms