tx · 8sXfHgsT2pACZ9K9NT7TzMUU4J1BXzMDxfS9kt9AigGs

3N6mVEULck7uViUaDo1wi98wch9XzYNXriv:  -1.00000000 Waves

2019.02.14 14:44 [494698] smart asset 3N6mVEULck7uViUaDo1wi98wch9XzYNXriv > SELF 0.00000000 test random

{ "type": 15, "id": "8sXfHgsT2pACZ9K9NT7TzMUU4J1BXzMDxfS9kt9AigGs", "fee": 100000000, "feeAssetId": null, "timestamp": 1550144655879, "version": 1, "sender": "3N6mVEULck7uViUaDo1wi98wch9XzYNXriv", "senderPublicKey": "GMCkL2F7fYotQtrpQq5sjNm5cjpR7CSfawr9kMSKLHVs", "proofs": [ "24yxRbhrWVZnEiyBXKxrJ2wM4KTkkWNaiTJgoxRGc5o5vVfmNQQn8DE26xh72eFePnPBuQwYrdUgr9f2xuQgPUcJ" ], "assetId": "6gH6B4FyLECw72DpcYZ3ZvYXamdv1QRReXcXcMt7cxhp", "script": "base64:AQQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAEAAAADHJhbmRvbVN0cmluZwIAAAFYbFljeVpnc0NCd3JjOEVEcnRZeGVXUDBHUmtZUEp5VDdzVzJ5RmFGZ2N3TWZ5c2I4ZGlBYVVUN3lGYUNwc09laExMYXpuMHhXVkIyT1RpK1pHOElnbkNORDR4TVdTNGlRTzFwODQ0VndrM0Z4cklPcm1meWVjK2RtYWFBVkVCMHlVTE9kZ29lWERzUGg4bGplZVRGVC9RWmhQb1dpMWF6L0RsR0xRODRJcDJCVzRSbUxZZVRiNnZlQW1VdmlJUmlkWHc5OEFRTmlUMXU1OU43OGhPeXhieFd1L3NWWWRyb09ueFhQS3U1bDZHaXBQdjhUTTF5ak1jd1l5SjhSNlFBUlFESjZiWncrMFNsaXo5eWpWcmlRNjFwdHJta085SWxSRmNBS1VublVWcFJLRUNIVlNScnA0RGR2UWc0V3pqV3NHM1dNMVYyV0RsdEFzcHRtSEdhMUhnPT0EAAAAC3JhbmRvbUJ5dGVzCQACWwAAAAEFAAAADHJhbmRvbVN0cmluZwQAAAAJY29uZGl0aW9uCQAAAAAAAAIJAADLAAAAAgEAAAAHAAAAAAAAAAkAAMkAAAACBQAAAAtyYW5kb21CeXRlcwAAAAAAAAAAAQkAAZoAAAABAAAAAAAAAABfCQAAAgAAAAEJAAGlAAAAAQUAAAAJY29uZGl0aW9uBjCripc=", "chainId": 84, "height": 494698, "spentComplexity": 0 } View: original | compacted Prev: 57zT1TknuNv4pY21J7YLTd4DLRnGhiT4BUZqwKMwRaGB Next: As22t58LD1CjK9PzkEGeq8mCkoZbrjrZf7FrtTA8Mz9A Diff:
OldNewDifferences
22 {-# CONTENT_TYPE EXPRESSION #-}
33 match tx {
44 case t: TransferTransaction =>
5- let randomString = "/w=="
5+ let randomString = "lYcyZgsCBwrc8EDrtYxeWP0GRkYPJyT7sW2yFaFgcwMfysb8diAaUT7yFaCpsOehLLazn0xWVB2OTi+ZG8IgnCND4xMWS4iQO1p844Vwk3FxrIOrmfyec+dmaaAVEB0yULOdgoeXDsPh8ljeeTFT/QZhPoWi1az/DlGLQ84Ip2BW4RmLYeTb6veAmUviIRidXw98AQNiT1u59N78hOyxbxWu/sVYdroOnxXPKu5l6GipPv8TM1yjMcwYyJ8R6QARQDJ6bZw+0Sliz9yjVriQ61ptrmkO9IlRFcAKUnnUVpRKECHVSRrp4DdvQg4WzjWsG3WM1V2WDltAsptmHGa1Hg=="
66 let randomBytes = fromBase64String(randomString)
7- let condition = toBase64String(toBytes(256))
8- throw(condition)
7+ let condition = ((base58'1111111' + take(randomBytes, 1)) == toBytes(95))
8+ throw(toString(condition))
99 case _ =>
1010 true
1111 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 match tx {
44 case t: TransferTransaction =>
5- let randomString = "/w=="
5+ let randomString = "lYcyZgsCBwrc8EDrtYxeWP0GRkYPJyT7sW2yFaFgcwMfysb8diAaUT7yFaCpsOehLLazn0xWVB2OTi+ZG8IgnCND4xMWS4iQO1p844Vwk3FxrIOrmfyec+dmaaAVEB0yULOdgoeXDsPh8ljeeTFT/QZhPoWi1az/DlGLQ84Ip2BW4RmLYeTb6veAmUviIRidXw98AQNiT1u59N78hOyxbxWu/sVYdroOnxXPKu5l6GipPv8TM1yjMcwYyJ8R6QARQDJ6bZw+0Sliz9yjVriQ61ptrmkO9IlRFcAKUnnUVpRKECHVSRrp4DdvQg4WzjWsG3WM1V2WDltAsptmHGa1Hg=="
66 let randomBytes = fromBase64String(randomString)
7- let condition = toBase64String(toBytes(256))
8- throw(condition)
7+ let condition = ((base58'1111111' + take(randomBytes, 1)) == toBytes(95))
8+ throw(toString(condition))
99 case _ =>
1010 true
1111 }

github/deemru/w8io/169f3d6 
27.27 ms