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:AAIDAAAAAAAAAAAAAAAFAAAAAAZwdWJLZXkJAAJbAAAAAQIAAADfYmFzZTY0Ok1JR2ZNQTBHQ1NxR1NJYjNEUUVCQVFVQUE0R05BRENCaVFLQmdRRGR0UkNGcjVtZ0lSbHlVaUxBa2JhdC9COGI1SU5DKzFqR2VtTzhNQk05bUFDU3NGRVdUWTJCYXc4L3BYcWlzVUw2TVM0ZWcycDhTenRjbHhWRzVOQjl3R2FFN3A0ZGc0cWlSWFZPYUFxdkx6RGJKdG5XdmhyQlFya1pLYUExRnNXZmZnSjZzeXN3cDk0ZWtDYzA2TkxSd3k0WWhHMXZwTTJxSFptZXJDRkM5UUlEQVFBQgAAAAAEcHJpdgIAAAAsSGtLbTVqS3FENEZ5Q3ZQRlBwc0VGZWhHb2JDRjhIQW5zQTdwQWZEOHBkcjEAAAAABHR4SWQJAAGbAAAAAQIAAAAsOTlnaTV0TTVrVWVLUlUzSHpneWtydjV1OVlVNXdvRUZjYUY1eFJ6NzZqNlYAAAAACXNpZ25hdHVyZQkAAlsAAAABAgAAALNiYXNlNjQ6bTB6d1A5aEp2dDZvTVhZOFB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BAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgUAAAAGbnVtYmVyAgAAAAVfVFhJRAUAAAAEdHhJZAkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACBQAAAAZudW1iZXICAAAAB19WZXJpZnkFAAAAAWEFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAGSv70Xg==",
"chainId": 84,
"height": 559399,
"spentComplexity": 0
}
View: original | compacted
Prev: C59b4rd8oNwbfbL7UnHK1ZMSJf9e34ExSkKvmZs3kJQE
Next: CxfAndoUZNAPVunnudVDXuu2ggeEQ66sdQsjHwaJEfmm
Diff:
Old | New | | Differences |
---|
7 | 7 | | |
---|
8 | 8 | | let c = toBytes("99gi5tM5kUeKRU3Hzgykrv5u9YU5woEFcaF5xRz76j6V") |
---|
9 | 9 | | |
---|
10 | | - | let d = toBytes("m0zwP9hJvt6oMXY8PGO1NFzLoDOPQ6MbMmxnfqpwFzxgOYMSOk+aV7PgjzuhCramncA2SM5L1/4Ga8LlanPIKimuAYndFMLKLJ7tp3S/oW/TiqU//yWBohRsuEIFjgS3Kq/kZ3HvnmBWfFFlgVRjo3OeDs1b7XLHUHsXLKOLgyU=") |
---|
| 10 | + | let d = fromBase64String("base64:m0zwP9hJvt6oMXY8PGO1NFzLoDOPQ6MbMmxnfqpwFzxgOYMSOk+aV7PgjzuhCramncA2SM5L1/4Ga8LlanPIKimuAYndFMLKLJ7tp3S/oW/TiqU//yWBohRsuEIFjgS3Kq/kZ3HvnmBWfFFlgVRjo3OeDs1b7XLHUHsXLKOLgyU=") |
---|
11 | 11 | | |
---|
12 | 12 | | let e = fromBase64String("base64:MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqlAiANSmBpDHYKP9sKgeN/l1bAb28g/tGlgDkwT5FiMN4X3pwdvdxE7mvSR8/41dU9rx4jG+6tZpb1ULVDPs431tR2IRaTXw5Cj+Ac2vhL+5JamCerGD1UW+bh/EGQtxo8W3YLDrofXB5QHJx4Pkz2Kgf+oS/C8hHuB/U4krO76U0507GTjZPP9kRQ0uLSMeqQXt8wXS+nMp5wajqxPpDLMaSREgsKwv/AEkP4dzpTYbikLBYl4qtdJsD84HLFSkiwd3BhcOrPjoIYmLxQuBD5TIMKTKD3sdZgaY9rsyqx3A00innyxD6zp3b4gFpUOX8JxKZdEC2myEqleNgg7GzwIDAQAB") |
---|
13 | 13 | | |
---|
Full:
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 | | - | let d = toBytes("m0zwP9hJvt6oMXY8PGO1NFzLoDOPQ6MbMmxnfqpwFzxgOYMSOk+aV7PgjzuhCramncA2SM5L1/4Ga8LlanPIKimuAYndFMLKLJ7tp3S/oW/TiqU//yWBohRsuEIFjgS3Kq/kZ3HvnmBWfFFlgVRjo3OeDs1b7XLHUHsXLKOLgyU=") |
---|
| 10 | + | let d = fromBase64String("base64:m0zwP9hJvt6oMXY8PGO1NFzLoDOPQ6MbMmxnfqpwFzxgOYMSOk+aV7PgjzuhCramncA2SM5L1/4Ga8LlanPIKimuAYndFMLKLJ7tp3S/oW/TiqU//yWBohRsuEIFjgS3Kq/kZ3HvnmBWfFFlgVRjo3OeDs1b7XLHUHsXLKOLgyU=") |
---|
11 | 11 | | |
---|
12 | 12 | | let e = fromBase64String("base64:MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqlAiANSmBpDHYKP9sKgeN/l1bAb28g/tGlgDkwT5FiMN4X3pwdvdxE7mvSR8/41dU9rx4jG+6tZpb1ULVDPs431tR2IRaTXw5Cj+Ac2vhL+5JamCerGD1UW+bh/EGQtxo8W3YLDrofXB5QHJx4Pkz2Kgf+oS/C8hHuB/U4krO76U0507GTjZPP9kRQ0uLSMeqQXt8wXS+nMp5wajqxPpDLMaSREgsKwv/AEkP4dzpTYbikLBYl4qtdJsD84HLFSkiwd3BhcOrPjoIYmLxQuBD5TIMKTKD3sdZgaY9rsyqx3A00innyxD6zp3b4gFpUOX8JxKZdEC2myEqleNgg7GzwIDAQAB") |
---|
13 | 13 | | |
---|
14 | 14 | | @Callable(f) |
---|
15 | 15 | | func checkSign (g) = { |
---|
16 | 16 | | let h = if (rsaVerify(SHA256, c, d, a)) |
---|
17 | 17 | | then 1 |
---|
18 | 18 | | else 2 |
---|
19 | 19 | | WriteSet([DataEntry((g + "_Pub"), e), DataEntry((g + "_TXID"), c), DataEntry((g + "_Verify"), h)]) |
---|
20 | 20 | | } |
---|
21 | 21 | | |
---|
22 | 22 | | |
---|
23 | 23 | | @Verifier(i) |
---|
24 | 24 | | func j () = true |
---|
25 | 25 | | |
---|