tx · EZeZRaB8huJtq5hknTMr7FAiFbnhoCF9jqbhwxgzVMSt

3MsCB4gHKSCgx52bNXXkXRAqT22NLH7ciaA:  -0.01400000 Waves

2018.11.13 10:08 [373601] smart account 3MsCB4gHKSCgx52bNXXkXRAqT22NLH7ciaA > SELF 0.00000000 Waves

{ "type": 13, "id": "EZeZRaB8huJtq5hknTMr7FAiFbnhoCF9jqbhwxgzVMSt", "fee": 1400000, "feeAssetId": null, "timestamp": 1542092920472, "version": 1, "sender": "3MsCB4gHKSCgx52bNXXkXRAqT22NLH7ciaA", "senderPublicKey": "GfNrLWcr8Biphns5ZmtUi2GnGUQoKHTYdJVNr32oh2R9", "proofs": [ "2RHDCnrBQqWqiUEi77dcjik3zaw6YAadNsngQc1faoNaoCRRTCMmYzHaBVvi5uoQ7RYZTQH8sQQVBV21B84ou5Fk" ], "script": "base64:AQQAAAALbWFpbkFkZHJlc3MJAQAAABFhZGRyZXNzRnJvbVN0cmluZwAAAAECAAAAIzNNc0NCNGdIS1NDZ3g1MmJOWFhrWFJBcVQyMk5MSDdjaWFBBAAAABFtYWluQWRkcmVzc1B1YktleQEAAAAg6LQUyw1id1D+SaTpPNpSzV88cpVLAiVVqce1k+wUp1wEAAAAEm1haW5BZGRyZXNzU2lnbmVkMAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAABFtYWluQWRkcmVzc1B1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAASbWFpbkFkZHJlc3NTaWduZWQxAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAAEW1haW5BZGRyZXNzUHViS2V5AAAAAAAAAAABAAAAAAAAAAAABAAAABFtYWluQWRkcmVzc05vdGFyeQMJAAAAAAAAAgUAAAALbWFpbkFkZHJlc3MIBQAAAAJ0eAAAAAZzZW5kZXIGBwQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAnR0BQAAAAckbWF0Y2gwBAAAABBtYWluQWRkcmVzc1ZhbHVlCQEAAAAHZXh0cmFjdAAAAAEJAAQaAAAAAggFAAAAAnR0AAAABnNlbmRlcgIAAAAJZ2FtZXZhbHVlBAAAAApnYW1lclZhbHVlCQEAAAAHZXh0cmFjdAAAAAEJAAQaAAAAAggFAAAAAnR0AAAACXJlY2lwaWVudAIAAAAJZ2FtZXZhbHVlAwMFAAAAEW1haW5BZGRyZXNzTm90YXJ5CQAAZwAAAAIJAABkAAAAAgUAAAASbWFpbkFkZHJlc3NTaWduZWQwBQAAABJtYWluQWRkcmVzc1NpZ25lZDEAAAAAAAAAAAEHCQAAAAAAAAIFAAAACmdhbWVyVmFsdWUFAAAAEG1haW5BZGRyZXNzVmFsdWUHAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9EYXRhVHJhbnNhY3Rpb24EAAAAAmR0BQAAAAckbWF0Y2gwCQAAZwAAAAIJAABkAAAAAgUAAAASbWFpbkFkZHJlc3NTaWduZWQwBQAAABJtYWluQWRkcmVzc1NpZ25lZDEAAAAAAAAAAAEEAAAABW90aGVyBQAAAAckbWF0Y2gwBgf8zeg=", "chainId": 84, "height": 373601, "spentComplexity": 0 } View: original | compacted Prev: BB1o61iraa9k9BwX1cD2Qj995dTD6pUsFpSpHaUtKSRE Next: 9DriCM6zeRbkkfF6v1TeD9pawocJpR3mp5FkSPWbuCJa Full:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let mainAddress = addressFromString("3MsCB4gHKSCgx52bNXXkXRAqT22NLH7ciaA")
44 let mainAddressPubKey = base58'GfNrLWcr8Biphns5ZmtUi2GnGUQoKHTYdJVNr32oh2R9'
55 let mainAddressSigned0 = if (sigVerify(tx.bodyBytes, tx.proofs[0], mainAddressPubKey))
66 then 1
77 else 0
88 let mainAddressSigned1 = if (sigVerify(tx.bodyBytes, tx.proofs[1], mainAddressPubKey))
99 then 1
1010 else 0
1111 let mainAddressNotary = if ((mainAddress == tx.sender))
1212 then true
1313 else false
1414 match tx {
1515 case tt: TransferTransaction =>
1616 let mainAddressValue = extract(getInteger(tt.sender, "gamevalue"))
1717 let gamerValue = extract(getInteger(tt.recipient, "gamevalue"))
1818 if (if (mainAddressNotary)
1919 then ((mainAddressSigned0 + mainAddressSigned1) >= 1)
2020 else false)
2121 then (gamerValue == mainAddressValue)
2222 else false
2323 case dt: DataTransaction =>
2424 ((mainAddressSigned0 + mainAddressSigned1) >= 1)
2525 case other =>
2626 true
2727 }

github/deemru/w8io/026f985 
36.51 ms