tx · 3tVdCfgNmJAPapKndyFMtxE3pGSA9NMBgKXZe8RxWwmZ 3MukPacWskGGNcT8ubWWzSwVPa9ah9KHvuB: -0.01500000 Waves 2019.06.27 11:55 [560320] smart account 3MukPacWskGGNcT8ubWWzSwVPa9ah9KHvuB > SELF 0.00000000 Waves
{ "type": 13, "id": "3tVdCfgNmJAPapKndyFMtxE3pGSA9NMBgKXZe8RxWwmZ", "fee": 1500000, "feeAssetId": null, "timestamp": 1561625715301, "version": 1, "sender": "3MukPacWskGGNcT8ubWWzSwVPa9ah9KHvuB", "senderPublicKey": "H3q3RM4MQSLjCTYpgaitRNz8cKHhMtcwoUfc2c86cfej", "proofs": [ "4Z8Y8E855r9ceqJcnVPEF1CJg5ZdCnkd8zBTB82dsU1mCQcQJ7oyq6Ji1yhzdYdeYjBWMSsd354Y9m39Sr6qwsCt" ], "script": "base64:AAIDAAAAAAAAAAAAAAAJAAAAAAZwdWJLZXkJAAJbAAAAAQIAAADfYmFzZTY0Ok1JR2ZNQTBHQ1NxR1NJYjNEUUVCQVFVQUE0R05BRENCaVFLQmdRRGR0UkNGcjVtZ0lSbHlVaUxBa2JhdC9COGI1SU5DKzFqR2VtTzhNQk05bUFDU3NGRVdUWTJCYXc4L3BYcWlzVUw2TVM0ZWcycDhTenRjbHhWRzVOQjl3R2FFN3A0ZGc0cWlSWFZPYUFxdkx6RGJKdG5XdmhyQlFya1pLYUExRnNXZmZnSjZzeXN3cDk0ZWtDYzA2TkxSd3k0WWhHMXZwTTJxSFptZXJDRkM5UUlEQVFBQgAAAAAEcHJpdgIAAAAsSGtLbTVqS3FENEZ5Q3ZQRlBwc0VGZWhHb2JDRjhIQW5zQTdwQWZEOHBkcjEAAAAABXR4SWQxCQABmwAAAAECAAAALDk5Z2k1dE01a1VlS1JVM0h6Z3lrcnY1dTlZVTV3b0VGY2FGNXhSejc2ajZWAAAAAARzaWduCQACWwAAAAECAAAAs2Jhc2U2NDptMHp3UDloSnZ0Nm9NWFk4UEdPMU5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RXZGtTL0F3SGZib0pMd3gxODJJOGF5bU44S0Y1cGZFSG1vMDBnVUp1bTZJZEpXQUVGMG5LNUhTOXdJREFRQUIAAAAABHR4SWQJAAJbAAAAAQIAAAA8T1RsbmFUVjBUVFZyVldWTFVsVXpTSHBuZVd0eWRqVjFPVmxWTlhkdlJVWmpZVVkxZUZKNk56WnFObFk9AAAAAAlzaWduYXR1cmUJAAJbAAAAAQIAAACseFRaTVRycU91bUsybFA0VU5pL1U3Wi9UNDFOcTFoNEF0ZmJ1b0k3NFR1b21NL0xhZklSdyt3bWxlZFczcDViVHVOWWZCQmY1K0pwQ3o1NDVTVFdDQysvWnExWGQ2ZmxCQkN6WEkxZXErNllGUDRRaXJpL1JLcXVEOXcyTzV4MERGWDJOd2ZyeHpLTGd0TWFpUXRMNm5kdDZmYXJ2b3RiSWgwWjNZdHdIK05jPQAAAAEAAAABaQEAAAAJY2hlY2tTaWduAAAAAQAAAAZudW1iZXIEAAAAAWEJAAH4AAAABAUAAAAGU0hBMjU2BQAAAAR0eElkBQAAAAlzaWduYXR1cmUFAAAACXB1YmxpY0tleQkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACBQAAAAZudW1iZXICAAAABF9QdWIFAAAACXB1YmxpY0tleQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACBQAAAAZudW1iZXICAAAACF9Qcml2YXRlBQAAAApwcml2YXRlS2V5CQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAIFAAAABm51bWJlcgIAAAAFX1RYSUQFAAAABHR4SWQJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgUAAAAGbnVtYmVyAgAAAAdfVmVyaWZ5BQAAAAFhBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABhBrYqU=", "chainId": 84, "height": 560320, "spentComplexity": 0 } View: original | compacted Prev: G5196o2JdZ1R7ThRg6vWjMR11A6GmhrxuediFzENE41R Next: AEkz7kuBWd9bWYeRZdNvPJo7wkxSvHRGEkjQVBe5rC1p Diff:
Old | New | Differences | |
---|---|---|---|
21 | 21 | ||
22 | 22 | @Callable(j) | |
23 | 23 | func checkSign (k) = { | |
24 | - | let l = if (rsaVerify(SHA256, h, i, g)) | |
25 | - | then 1 | |
26 | - | else 2 | |
24 | + | let l = rsaVerify(SHA256, h, i, g) | |
27 | 25 | WriteSet([DataEntry((k + "_Pub"), g), DataEntry((k + "_Private"), f), DataEntry((k + "_TXID"), h), DataEntry((k + "_Verify"), l)]) | |
28 | 26 | } | |
29 | 27 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = fromBase64String("base64:MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDdtRCFr5mgIRlyUiLAkbat/B8b5INC+1jGemO8MBM9mACSsFEWTY2Baw8/pXqisUL6MS4eg2p8SztclxVG5NB9wGaE7p4dg4qiRXVOaAqvLzDbJtnWvhrBQrkZKaA1FsWffgJ6syswp94ekCc06NLRwy4YhG1vpM2qHZmerCFC9QIDAQAB") | |
5 | 5 | ||
6 | 6 | let b = "HkKm5jKqD4FyCvPFPpsEFehGobCF8HAnsA7pAfD8pdr1" | |
7 | 7 | ||
8 | 8 | let c = toBytes("99gi5tM5kUeKRU3Hzgykrv5u9YU5woEFcaF5xRz76j6V") | |
9 | 9 | ||
10 | 10 | let d = fromBase64String("base64:m0zwP9hJvt6oMXY8PGO1NFzLoDOPQ6MbMmxnfqpwFzxgOYMSOk+aV7PgjzuhCramncA2SM5L1/4Ga8LlanPIKimuAYndFMLKLJ7tp3S/oW/TiqU//yWBohRsuEIFjgS3Kq/kZ3HvnmBWfFFlgVRjo3OeDs1b7XLHUHsXLKOLgyU=") | |
11 | 11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DDmBUnf6TR3wdaA1eHDa18Vnfy6wQvTWq87Abf6YWsNeRQElrYAVtBCg3h1ym4T9PsFu16XkUOGys5ccDRrvMXAkEAhisdzcp7pAAIRZ7gyN2ude0DUI26W4dLd8LoE3wTJIu6p5jiApWotBbxehVlY9TVtzQTA0NXYflmVKfotVPgZQ==" | |
15 | 15 | ||
16 | 16 | let g = fromBase64String("MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDGV1yyjdQDx8hfbZI/8QIRnvFgDE1HyNUg2HHllrbSXxRzK62uGagkRviGZoSgB20U/kk/N0s0B5wr5sK6uhgXOssAE9bwaqvESl1JKpb+G6oz2NtqtWdkS/AwHfboJLwx182I8aymN8KF5pfEHmo00gUJum6IdJWAEF0nK5HS9wIDAQAB") | |
17 | 17 | ||
18 | 18 | let h = fromBase64String("OTlnaTV0TTVrVWVLUlUzSHpneWtydjV1OVlVNXdvRUZjYUY1eFJ6NzZqNlY=") | |
19 | 19 | ||
20 | 20 | let i = fromBase64String("xTZMTrqOumK2lP4UNi/U7Z/T41Nq1h4AtfbuoI74TuomM/LafIRw+wmledW3p5bTuNYfBBf5+JpCz545STWCC+/Zq1Xd6flBBCzXI1eq+6YFP4Qiri/RKquD9w2O5x0DFX2NwfrxzKLgtMaiQtL6ndt6farvotbIh0Z3YtwH+Nc=") | |
21 | 21 | ||
22 | 22 | @Callable(j) | |
23 | 23 | func checkSign (k) = { | |
24 | - | let l = if (rsaVerify(SHA256, h, i, g)) | |
25 | - | then 1 | |
26 | - | else 2 | |
24 | + | let l = rsaVerify(SHA256, h, i, g) | |
27 | 25 | WriteSet([DataEntry((k + "_Pub"), g), DataEntry((k + "_Private"), f), DataEntry((k + "_TXID"), h), DataEntry((k + "_Verify"), l)]) | |
28 | 26 | } | |
29 | 27 | ||
30 | 28 | ||
31 | 29 | @Verifier(m) | |
32 | 30 | func n () = true | |
33 | 31 |
github/deemru/w8io/026f985 41.36 ms ◑