tx · 6Mevjy3SaJ7ooS26zznLwyT7dv2ufNxtkAVFWGeiEWAW

3N5ezXT9QVpBcxseKRkqbLdTRSUkbMJLzbD:  -0.01400000 Waves

2019.01.29 16:38 [471604] smart account 3N5ezXT9QVpBcxseKRkqbLdTRSUkbMJLzbD > SELF 0.00000000 Waves

{ "type": 13, "id": "6Mevjy3SaJ7ooS26zznLwyT7dv2ufNxtkAVFWGeiEWAW", "fee": 1400000, "feeAssetId": null, "timestamp": 1548769124306, "version": 1, "sender": "3N5ezXT9QVpBcxseKRkqbLdTRSUkbMJLzbD", "senderPublicKey": "HMMwXJWPUWM7VKP5hJaoazWJiLMZZSta2F9AaWkUk1FX", "proofs": [], "script": "base64:AQQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAnR0BQAAAAckbWF0Y2gwBAAAAAJhYQIAAAADcXdlBAAAAAJycgkAAlgAAAABCQEAAAAHZXh0cmFjdAAAAAEJAAQcAAAAAggFAAAAAnR0AAAACXJlY2lwaWVudAIAAAAFYnl0ZXMJAAACAAAAAQUAAAACcnIDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0RhdGFUcmFuc2FjdGlvbgQAAAACZHQFAAAAByRtYXRjaDAEAAAABGdhbWUJAQAAAAdleHRyYWN0AAAAAQkABBMAAAACCAUAAAACZHQAAAAEZGF0YQIAAAAEaGFzaAQAAAAJYmV0QW1vdW50CQEAAAAHZXh0cmFjdAAAAAEJAAQQAAAAAggFAAAAAmR0AAAABGRhdGEJAAEsAAAAAgUAAAAEZ2FtZQIAAAAHX2Ftb3VudAQAAAALcGxheWVyMVR4SWQJAQAAAAdleHRyYWN0AAAAAQkABBMAAAACCAUAAAACZHQAAAAEZGF0YQkAASwAAAACBQAAAARnYW1lAgAAAARfdHgxBAAAAAlwbGF5ZXIxVHgJAAPoAAAAAQkAAlkAAAABBQAAAAtwbGF5ZXIxVHhJZAQAAAAHJG1hdGNoMQUAAAAJcGxheWVyMVR4AwkAAAEAAAACBQAAAAckbWF0Y2gxAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAANwMXQFAAAAByRtYXRjaDEEAAAACXBsYXllcjFPawkAAAAAAAACCAUAAAADcDF0AAAABmFtb3VudAUAAAAJYmV0QW1vdW50BAAAAAtwbGF5ZXIyVHhJZAkBAAAAB2V4dHJhY3QAAAABCQAEEwAAAAIIBQAAAAJkdAAAAARkYXRhCQABLAAAAAIFAAAABGdhbWUCAAAABF90eDIEAAAACXBsYXllcjJUeAkAA+gAAAABCQACWQAAAAEFAAAAC3BsYXllcjJUeElkBAAAAAckbWF0Y2gyBQAAAAlwbGF5ZXIyVHgDCQAAAQAAAAIFAAAAByRtYXRjaDICAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAA3AydAUAAAAHJG1hdGNoMgQAAAAJcGxheWVyMk9rCQAAAAAAAAIIBQAAAANwMnQAAAAGYW1vdW50BQAAAAliZXRBbW91bnQDBQAAAAlwbGF5ZXIxT2sFAAAACXBsYXllcjJPawcHBwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAnN0BQAAAAckbWF0Y2gwBge4Q2rQ", "chainId": 84, "height": 471604, "spentComplexity": 0 } View: original | compacted Prev: 5JvnfiN6KQVJisgtdZ9NEVUcCFuLnJ16Q92mrk2bk74i Next: Bv2knVqRhM2WBjosXYpBysTFYevKrADLWTggDiiUpZME Diff:
OldNewDifferences
33 match tx {
44 case tt: TransferTransaction =>
55 let aa = "qwe"
6- let rr = extract(getString(tt.recipient, "bytes"))
6+ let rr = toBase58String(extract(getBinary(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 = extract(getString(tt.recipient, "bytes"))
6+ let rr = toBase58String(extract(getBinary(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 
55.41 ms