tx · 44T7ekLSLtT7PJhngKt1dXYgnxd7KjHjYdLw18kX9zEB

3MukPacWskGGNcT8ubWWzSwVPa9ah9KHvuB:  -0.01500000 Waves

2019.06.24 16:43 [556237] smart account 3MukPacWskGGNcT8ubWWzSwVPa9ah9KHvuB > SELF 0.00000000 Waves

{ "type": 13, "id": "44T7ekLSLtT7PJhngKt1dXYgnxd7KjHjYdLw18kX9zEB", "fee": 1500000, "feeAssetId": null, "timestamp": 1561383847170, "version": 1, "sender": "3MukPacWskGGNcT8ubWWzSwVPa9ah9KHvuB", "senderPublicKey": "H3q3RM4MQSLjCTYpgaitRNz8cKHhMtcwoUfc2c86cfej", "proofs": [ "2Zsqgvv5n3YwVxzau4AZZaxaLP36pHXiJjJD2W2rK6hwGk7toERLqWXMfbLKX9bxJntfJrMQkjy4j6Hvrzfsg9ms" ], "script": "base64:AAIDAAAAAAAAAAAAAAACAAAAAAZwdWJLZXkCAAAALDI4NlNCb0Ria2U4WVFSdDdWQmdvTEdKM3Z6NGNpM0paN2NoRFNHQjVZU0syAAAAAAR0eElkAgAAACw5OWdpNXRNNWtVZUtSVTNIemd5a3J2NXU5WVU1d29FRmNhRjV4Uno3Nmo2VgAAAAEAAAABaQEAAAAJY2hlY2tTaWduAAAAAgAAAAZudW1iZXIAAAADcnNhBAAAAAZ2ZXJpZnkJAAH4AAAABAUAAAAGU0hBMjU2CQABmwAAAAEFAAAABHR4SWQJAAGbAAAAAQUAAAADcnNhCQACWQAAAAEFAAAABnB1YktleQQAAAAGVmVyaWZ5AwUAAAAGdmVyaWZ5AAAAAAAAAAABAAAAAAAAAAACCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAIFAAAABm51bWJlcgIAAAAHX1ZlcmlmeQUAAAAGVmVyaWZ5BQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABo+2DAs=", "chainId": 84, "height": 556237, "spentComplexity": 0 } View: original | compacted Prev: 9RfGgUyq7ro32bWi16KqoMwV2vvAYegecUoH8XV89BuK Next: 5B1PMjgtDERYS4ADTEkXZfBNeHRaKZuFx53A6Dj2oLjR Diff:
OldNewDifferences
88 @Callable(i)
99 func checkSign (number,rsa) = {
1010 let verify = rsaVerify(SHA256, toBytes(txId), toBytes(rsa), fromBase58String(pubKey))
11- WriteSet([DataEntry((number + "_Verify"), verify)])
11+ let Verify = if (verify)
12+ then 1
13+ else 2
14+ WriteSet([DataEntry((number + "_Verify"), Verify)])
1215 }
1316
1417
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let pubKey = "286SBoDbke8YQRt7VBgoLGJ3vz4ci3JZ7chDSGB5YSK2"
55
66 let txId = "99gi5tM5kUeKRU3Hzgykrv5u9YU5woEFcaF5xRz76j6V"
77
88 @Callable(i)
99 func checkSign (number,rsa) = {
1010 let verify = rsaVerify(SHA256, toBytes(txId), toBytes(rsa), fromBase58String(pubKey))
11- WriteSet([DataEntry((number + "_Verify"), verify)])
11+ let Verify = if (verify)
12+ then 1
13+ else 2
14+ WriteSet([DataEntry((number + "_Verify"), Verify)])
1215 }
1316
1417
1518 @Verifier(tx)
1619 func verify () = true
1720

github/deemru/w8io/169f3d6 
29.43 ms