tx · 4FJ6kcmMn52BN31FxNSoc6f3VESsVsmmXShorKvYdwfZ

3MukPacWskGGNcT8ubWWzSwVPa9ah9KHvuB:  -0.01500000 Waves

2019.06.26 20:32 [559399] smart account 3MukPacWskGGNcT8ubWWzSwVPa9ah9KHvuB > SELF 0.00000000 Waves

{ "type": 13, "id": "4FJ6kcmMn52BN31FxNSoc6f3VESsVsmmXShorKvYdwfZ", "fee": 1500000, "feeAssetId": null, "timestamp": 1561570377704, "version": 1, "sender": "3MukPacWskGGNcT8ubWWzSwVPa9ah9KHvuB", "senderPublicKey": "H3q3RM4MQSLjCTYpgaitRNz8cKHhMtcwoUfc2c86cfej", "proofs": [ "4pSuj2WBVbKQJVDqcNk6iWPttJFB8trt4WcRB7Nm7wTkF1FhY8YAzMT14jPHrYk43phrD3BbikRh96gEvrPagZkU" ], "script": "base64:AAIDAAAAAAAAAAAAAAAFAAAAAAZwdWJLZXkJAAJbAAAAAQIAAADfYmFzZTY0Ok1JR2ZNQTBHQ1NxR1NJYjNEUUVCQVFVQUE0R05BRENCaVFLQmdRRGR0UkNGcjVtZ0lSbHlVaUxBa2JhdC9COGI1SU5DKzFqR2VtTzhNQk05bUFDU3NGRVdUWTJCYXc4L3BYcWlzVUw2TVM0ZWcycDhTenRjbHhWRzVOQjl3R2FFN3A0ZGc0cWlSWFZPYUFxdkx6RGJKdG5XdmhyQlFya1pLYUExRnNXZmZnSjZzeXN3cDk0ZWtDYzA2TkxSd3k0WWhHMXZwTTJxSFptZXJDRkM5UUlEQVFBQgAAAAAEcHJpdgIAAAAsSGtLbTVqS3FENEZ5Q3ZQRlBwc0VGZWhHb2JDRjhIQW5zQTdwQWZEOHBkcjEAAAAABHR4SWQJAAGbAAAAAQIAAAAsOTlnaTV0TTVrVWVLUlUzSHpneWtydjV1OVlVNXdvRUZjYUY1eFJ6NzZqNlYAAAAACXNpZ25hdHVyZQkAAlsAAAABAgAAALNiYXNlNjQ6bTB6d1A5aEp2dDZvTVhZOFBHTzFORnpM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GFFbnRyeQAAAAIJAAEsAAAAAgUAAAAGbnVtYmVyAgAAAAVfVFhJRAUAAAAEdHhJZAkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACBQAAAAZudW1iZXICAAAAB19WZXJpZnkFAAAAAWEFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAGSv70Xg==", "chainId": 84, "height": 559399, "spentComplexity": 0 } View: original | compacted Prev: C59b4rd8oNwbfbL7UnHK1ZMSJf9e34ExSkKvmZs3kJQE Next: CxfAndoUZNAPVunnudVDXuu2ggeEQ66sdQsjHwaJEfmm Diff:
OldNewDifferences
77
88 let txId = toBytes("99gi5tM5kUeKRU3Hzgykrv5u9YU5woEFcaF5xRz76j6V")
99
10-let signature = toBytes("m0zwP9hJvt6oMXY8PGO1NFzLoDOPQ6MbMmxnfqpwFzxgOYMSOk+aV7PgjzuhCramncA2SM5L1/4Ga8LlanPIKimuAYndFMLKLJ7tp3S/oW/TiqU//yWBohRsuEIFjgS3Kq/kZ3HvnmBWfFFlgVRjo3OeDs1b7XLHUHsXLKOLgyU=")
10+let signature = 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
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 txId = toBytes("99gi5tM5kUeKRU3Hzgykrv5u9YU5woEFcaF5xRz76j6V")
99
10-let signature = toBytes("m0zwP9hJvt6oMXY8PGO1NFzLoDOPQ6MbMmxnfqpwFzxgOYMSOk+aV7PgjzuhCramncA2SM5L1/4Ga8LlanPIKimuAYndFMLKLJ7tp3S/oW/TiqU//yWBohRsuEIFjgS3Kq/kZ3HvnmBWfFFlgVRjo3OeDs1b7XLHUHsXLKOLgyU=")
10+let signature = 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 @Callable(i)
1515 func checkSign (number) = {
1616 let a = if (rsaVerify(SHA256, txId, signature, pubKey))
1717 then 1
1818 else 2
1919 WriteSet([DataEntry((number + "_Pub"), RSAPUBLIC), DataEntry((number + "_TXID"), txId), DataEntry((number + "_Verify"), a)])
2020 }
2121
2222
2323 @Verifier(tx)
2424 func verify () = true
2525

github/deemru/w8io/026f985 
24.39 ms