tx · G7rrZnWNuobFJKJb6uobVMrjqPsukcoxvRNTtNxPXUiM

3MsCB4gHKSCgx52bNXXkXRAqT22NLH7ciaA:  -0.01400000 Waves

2018.11.13 02:04 [373093] smart account 3MsCB4gHKSCgx52bNXXkXRAqT22NLH7ciaA > SELF 0.00000000 Waves

{ "type": 13, "id": "G7rrZnWNuobFJKJb6uobVMrjqPsukcoxvRNTtNxPXUiM", "fee": 1400000, "feeAssetId": null, "timestamp": 1542063877939, "version": 1, "sender": "3MsCB4gHKSCgx52bNXXkXRAqT22NLH7ciaA", "senderPublicKey": "GfNrLWcr8Biphns5ZmtUi2GnGUQoKHTYdJVNr32oh2R9", "proofs": [ "55uzeihrgRUSR2gwgEzsMNFaPptTZTD7wR5ubSDuYQ7jdodnzQapokBrxpmjL5m1AF63z2ohgWphtbAUptJyZTVm" ], "script": "base64:AQQAAAALbWFpbkFkZHJlc3MJAQAAABFhZGRyZXNzRnJvbVN0cmluZwAAAAECAAAAIzNNc0NCNGdIS1NDZ3g1MmJOWFhrWFJBcVQyMk5MSDdjaWFBBAAAABFtYWluQWRkcmVzc1B1YktleQEAAAAg6LQUyw1id1D+SaTpPNpSzV88cpVLAiVVqce1k+wUp1wEAAAAEm1haW5BZGRyZXNzU2lnbmVkMAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAABFtYWluQWRkcmVzc1B1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAASbWFpbkFkZHJlc3NTaWduZWQxAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAAEW1haW5BZGRyZXNzUHViS2V5AAAAAAAAAAABAAAAAAAAAAAABAAAABFtYWluQWRkcmVzc05vdGFyeQMJAAAAAAAAAgUAAAALbWFpbkFkZHJlc3MIBQAAAAJ0eAAAAAZzZW5kZXIGBwQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAnR0BQAAAAckbWF0Y2gwBAAAABBtYWluQWRkcmVzc1ZhbHVlCQEAAAAHZXh0cmFjdAAAAAEJAAQaAAAAAggFAAAAAnR0AAAABnNlbmRlcgIAAAAJZ2FtZXZhbHVlBAAAAApnYW1lclZhbHVlCQEAAAAHZXh0cmFjdAAAAAEJAAQaAAAAAggFAAAAAnR0AAAACXJlY2lwaWVudAIAAAAJZ2FtZXZhbHVlAwMFAAAAEW1haW5BZGRyZXNzTm90YXJ5CQAAZwAAAAIJAABkAAAAAgUAAAASbWFpbkFkZHJlc3NTaWduZWQwBQAAABJtYWluQWRkcmVzc1NpZ25lZDEAAAAAAAAAAAEHCQAAAAAAAAIFAAAACmdhbWVyVmFsdWUFAAAAEG1haW5BZGRyZXNzVmFsdWUHAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9EYXRhVHJhbnNhY3Rpb24EAAAAAmR0BQAAAAckbWF0Y2gwCQAAZwAAAAIJAABkAAAAAgUAAAASbWFpbkFkZHJlc3NTaWduZWQwBQAAABJtYWluQWRkcmVzc1NpZ25lZDEAAAAAAAAAAAEEAAAABW90aGVyBQAAAAckbWF0Y2gwBgf8zeg=", "chainId": 84, "height": 373093, "spentComplexity": 0 } View: original | compacted Prev: 5w8yzTHEUWSFDV8wuSASfhZGJeha8zKaLdu4ZUggHE5P Next: 8SHacvvChjXgHSiv8vKXKXkuS8zc9TpjANRrQN5wLuUU 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 
55.79 ms