tx · FaiUMxYkveydU1rP5nL4QZRmPxVo6oxjkiJtuRfkSGdk

3MukPacWskGGNcT8ubWWzSwVPa9ah9KHvuB:  -0.01500000 Waves

2019.06.27 12:16 [560339] smart account 3MukPacWskGGNcT8ubWWzSwVPa9ah9KHvuB > SELF 0.00000000 Waves

{ "type": 13, "id": "FaiUMxYkveydU1rP5nL4QZRmPxVo6oxjkiJtuRfkSGdk", "fee": 1500000, "feeAssetId": null, "timestamp": 1561627100482, "version": 1, "sender": "3MukPacWskGGNcT8ubWWzSwVPa9ah9KHvuB", "senderPublicKey": "H3q3RM4MQSLjCTYpgaitRNz8cKHhMtcwoUfc2c86cfej", "proofs": [ "2o1WEuMZnWUdxavZkhzWBFwaxhBcc5iHokregENFQ52pP8NhQQ6qpEHoyKpHUkj2vu9gzSTrCz5Fy8NXoMEFNmVx" ], "script": "base64:AAIDAAAAAAAAAAAAAAAJAAAAAAZwdWJLZXkJAAJbAAAAAQIAAADfYmFzZTY0Ok1JR2ZNQTBHQ1NxR1NJYjNEUUVCQVFVQUE0R05BRENCaVFLQmdRRGR0UkNGcjVtZ0lSbHlVaUxBa2JhdC9COGI1SU5DKzFqR2VtTzhNQk05bUFDU3NGRVdUWTJCYXc4L3BYcWlzVUw2TVM0ZWcycDhTenRjbHhWRzVOQjl3R2FFN3A0ZGc0cWlSWFZPYUFxdkx6RGJKdG5XdmhyQlFya1pLYUExRnNXZmZnSjZzeXN3cDk0ZWtDYzA2TkxSd3k0WWhHMXZwTTJxSFptZXJDRkM5UUlEQVFBQgAAAAAEcHJpdgIAAAAsSGtLbTVqS3FENEZ5Q3ZQRlBwc0VGZWhHb2JDRjhIQW5zQTdwQWZEOHBkcjEAAAAABXR4SWQxCQABmwAAAAECAAAALDk5Z2k1dE01a1VlS1JVM0h6Z3lrcnY1dTlZVTV3b0VGY2FGNXhSejc2ajZWAAAAAARzaWduCQACWwAAAAECAAAAs2Jhc2U2NDptMHp3UDloSnZ0Nm9NWFk4UEdPMU5GekxvRE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AARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgUAAAAGbnVtYmVyAgAAAAdfVmVyaWZ5BQAAAAFhBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABvD8/vU=", "chainId": 84, "height": 560339, "spentComplexity": 0 } View: original | compacted Prev: BGKh6ioULDBR7THbmeZcPLYfhE5V9TQ576L9nMAwREMm Next: 4yhpD2BkyF4KwMmG1fGrDVBmGAoceHnMyDQC2Ffiydj6 Diff:
OldNewDifferences
1717
1818 let txId = toBytes("base64:OTlnaTV0TTVrVWVLUlUzSHpneWtydjV1OVlVNXdvRUZjYUY1eFJ6NzZqNlY=")
1919
20-let signature = toBytes("xTZMTrqOumK2lP4UNi/U7Z/T41Nq1h4AtfbuoI74TuomM/LafIRw+wmledW3p5bTuNYfBBf5+JpCz545STWCC+/Zq1Xd6flBBCzXI1eq+6YFP4Qiri/RKquD9w2O5x0DFX2NwfrxzKLgtMaiQtL6ndt6farvotbIh0Z3YtwH+Nc=")
20+let signature = toBytes("base64:xTZMTrqOumK2lP4UNi/U7Z/T41Nq1h4AtfbuoI74TuomM/LafIRw+wmledW3p5bTuNYfBBf5+JpCz545STWCC+/Zq1Xd6flBBCzXI1eq+6YFP4Qiri/RKquD9w2O5x0DFX2NwfrxzKLgtMaiQtL6ndt6farvotbIh0Z3YtwH+Nc=")
2121
2222 @Callable(i)
23-func checkSign (number,TxId,Signature) = {
24- let a = rsaVerify(SHA256, toBytes(TxId), Signature, publicKey)
25- WriteSet([DataEntry((number + "_Pub"), publicKey), DataEntry((number + "_Private"), privateKey), DataEntry((number + "_TXID"), txId), DataEntry((number + "_Verify"), a)])
23+func checkSign (number,TxId,Signature,PublicKey) = {
24+ let a = rsaVerify(SHA256, toBytes(TxId), Signature, PublicKey)
25+ WriteSet([DataEntry((number + "_Pub"), PublicKey), DataEntry((number + "_Private"), privateKey), DataEntry((number + "_TXID"), TxId), DataEntry((number + "_Signature"), Signature), DataEntry((number + "_Verify"), a)])
2626 }
2727
2828
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let pubKey = fromBase64String("base64:MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDdtRCFr5mgIRlyUiLAkbat/B8b5INC+1jGemO8MBM9mACSsFEWTY2Baw8/pXqisUL6MS4eg2p8SztclxVG5NB9wGaE7p4dg4qiRXVOaAqvLzDbJtnWvhrBQrkZKaA1FsWffgJ6syswp94ekCc06NLRwy4YhG1vpM2qHZmerCFC9QIDAQAB")
55
66 let priv = "HkKm5jKqD4FyCvPFPpsEFehGobCF8HAnsA7pAfD8pdr1"
77
88 let txId1 = toBytes("99gi5tM5kUeKRU3Hzgykrv5u9YU5woEFcaF5xRz76j6V")
99
1010 let sign = fromBase64String("base64:m0zwP9hJvt6oMXY8PGO1NFzLoDOPQ6MbMmxnfqpwFzxgOYMSOk+aV7PgjzuhCramncA2SM5L1/4Ga8LlanPIKimuAYndFMLKLJ7tp3S/oW/TiqU//yWBohRsuEIFjgS3Kq/kZ3HvnmBWfFFlgVRjo3OeDs1b7XLHUHsXLKOLgyU=")
1111
1212 let RSAPUBLIC = fromBase64String("base64:MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqlAiANSmBpDHYKP9sKgeN/l1bAb28g/tGlgDkwT5FiMN4X3pwdvdxE7mvSR8/41dU9rx4jG+6tZpb1ULVDPs431tR2IRaTXw5Cj+Ac2vhL+5JamCerGD1UW+bh/EGQtxo8W3YLDrofXB5QHJx4Pkz2Kgf+oS/C8hHuB/U4krO76U0507GTjZPP9kRQ0uLSMeqQXt8wXS+nMp5wajqxPpDLMaSREgsKwv/AEkP4dzpTYbikLBYl4qtdJsD84HLFSkiwd3BhcOrPjoIYmLxQuBD5TIMKTKD3sdZgaY9rsyqx3A00innyxD6zp3b4gFpUOX8JxKZdEC2myEqleNgg7GzwIDAQAB")
1313
1414 let privateKey = "MIICXgIBAAKBgQDGV1yyjdQDx8hfbZI/8QIRnvFgDE1HyNUg2HHllrbSXxRzK62uGagkRviGZoSgB20U/kk/N0s0B5wr5sK6uhgXOssAE9bwaqvESl1JKpb+G6oz2NtqtWdkS/AwHfboJLwx182I8aymN8KF5pfEHmo00gUJum6IdJWAEF0nK5HS9wIDAQABAoGBAMRFbVjQGs8G41Tzo/cccvSm+asXYV448hdHuSX+B7qUFjOGNJ+FiiskBAlT58hIsPxGSouBFy1MnpGfEHIhd3W+GLN8o208g10bzmoYE0a7Wmc6KwXrkhu62XMoKK3rEoAzxzD8NWpC5DAAjUG39OsWQdbzwRal1nxlbyPkucZxAkEA8yIq1b+Z3ZIvBcIEP57xc+Y/IgssGvc7feTbrdsVWwtRq04MlI01nYEEP9XIC3JEtlxZ7C8zTpjoK/cylPGUKQJBANDWYCpk34mivZP7hM7v5BTi89TjOyuvpePPOA7IUu/WOo5bLLk+0dppOLduNUpoNZnjiZu+jSmA134pqGN2Eh8CQCHuMMAnvxdW4U0SaHlgex3Lkh/0IzGYMys8lxPKMU7FY55ehA7vLf5PFQK7mPFP/xrcBIibhbOAT1ZjZyG2HRECQQDDmBUnf6TR3wdaA1eHDa18Vnfy6wQvTWq87Abf6YWsNeRQElrYAVtBCg3h1ym4T9PsFu16XkUOGys5ccDRrvMXAkEAhisdzcp7pAAIRZ7gyN2ude0DUI26W4dLd8LoE3wTJIu6p5jiApWotBbxehVlY9TVtzQTA0NXYflmVKfotVPgZQ=="
1515
1616 let publicKey = fromBase64String("base64:MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDGV1yyjdQDx8hfbZI/8QIRnvFgDE1HyNUg2HHllrbSXxRzK62uGagkRviGZoSgB20U/kk/N0s0B5wr5sK6uhgXOssAE9bwaqvESl1JKpb+G6oz2NtqtWdkS/AwHfboJLwx182I8aymN8KF5pfEHmo00gUJum6IdJWAEF0nK5HS9wIDAQAB")
1717
1818 let txId = toBytes("base64:OTlnaTV0TTVrVWVLUlUzSHpneWtydjV1OVlVNXdvRUZjYUY1eFJ6NzZqNlY=")
1919
20-let signature = toBytes("xTZMTrqOumK2lP4UNi/U7Z/T41Nq1h4AtfbuoI74TuomM/LafIRw+wmledW3p5bTuNYfBBf5+JpCz545STWCC+/Zq1Xd6flBBCzXI1eq+6YFP4Qiri/RKquD9w2O5x0DFX2NwfrxzKLgtMaiQtL6ndt6farvotbIh0Z3YtwH+Nc=")
20+let signature = toBytes("base64:xTZMTrqOumK2lP4UNi/U7Z/T41Nq1h4AtfbuoI74TuomM/LafIRw+wmledW3p5bTuNYfBBf5+JpCz545STWCC+/Zq1Xd6flBBCzXI1eq+6YFP4Qiri/RKquD9w2O5x0DFX2NwfrxzKLgtMaiQtL6ndt6farvotbIh0Z3YtwH+Nc=")
2121
2222 @Callable(i)
23-func checkSign (number,TxId,Signature) = {
24- let a = rsaVerify(SHA256, toBytes(TxId), Signature, publicKey)
25- WriteSet([DataEntry((number + "_Pub"), publicKey), DataEntry((number + "_Private"), privateKey), DataEntry((number + "_TXID"), txId), DataEntry((number + "_Verify"), a)])
23+func checkSign (number,TxId,Signature,PublicKey) = {
24+ let a = rsaVerify(SHA256, toBytes(TxId), Signature, PublicKey)
25+ WriteSet([DataEntry((number + "_Pub"), PublicKey), DataEntry((number + "_Private"), privateKey), DataEntry((number + "_TXID"), TxId), DataEntry((number + "_Signature"), Signature), DataEntry((number + "_Verify"), a)])
2626 }
2727
2828
2929 @Verifier(tx)
3030 func verify () = true
3131

github/deemru/w8io/026f985 
55.75 ms