tx · A1LhjFsubyrHHkrWBrwa3XM9ujsoArTtXTyj4XiVmuQc
3MzbJGw4eewZaFchoewZQv9mMH25AoNgMb3: -0.01500000 Waves
2019.09.24 18:21 [690592] smart account 3MzbJGw4eewZaFchoewZQv9mMH25AoNgMb3 > SELF 0.00000000 Waves
{
"type": 13,
"id": "A1LhjFsubyrHHkrWBrwa3XM9ujsoArTtXTyj4XiVmuQc",
"fee": 1500000,
"feeAssetId": null,
"timestamp": 1569338525383,
"version": 1,
"sender": "3MzbJGw4eewZaFchoewZQv9mMH25AoNgMb3",
"senderPublicKey": "FTjfgevHkmD3kcdRadPPNCxfsWvfecQ1cLQTtCPyN3BZ",
"proofs": [
"3rjzSyVxDGS6TVAWcb3w3TRTx7hHHEHT2V466sMz868M29e85LZRQ6KYrKG3Uvw5YyCbMLHGxhDzQpf97AcgA5Lz"
],
"script": "base64:AAIDAAAAAAAAAAoIARIGCgQIAgICAAAAAwAAAAAEcHViMQkAAlsAAAABAgAAAIBNRnd3RFFZSktvWklodmNOQVFFQkJRQURTd0F3U0FKQkFPa2l1ei9CVjRFam94R2hUbU5DYnQyVGdrYlNQSC93NjliM0YxckttRDYxSmlQWHZ2RjhMMnBJOXhPWWNXNEZtb0VaVkhsUlF0QWxhSnlrbDMrcnNyRUNBd0VBQVE9PQAAAAAEcHViMgkAAlsAAAABAgAAAIBNRnd3RFFZSktvWklodmNOQVFFQkJRQURTd0F3U0FKQkFKblh6Yk0vVjJzRFYxVUxiUFNPbEhrbGRPVFdSckhpNWZ4SWtCbXVldnJDbE1QVkg3cnFjY3dpckROY01kSWR3WEhJOUFkaGo5Rldqd0dJd2ZVL0s2TUNBd0VBQVE9PQAAAAAEcHViMwkAAlsAAAABAgAAAIBNRnd3RFFZSktvWklodmNOQVFFQkJRQURTd0F3U0FKQkFPUkRldnkwcjRrekxxT3lTbG9CNjNIdXYyZTR6ZUhLSGpDc3k1dnRGS21XWmJYSmE4Z1pZdDQrRWtsRklvMUs5b3F1NUJBUFZmSjNGT3pzMlUxQStnMENBd0VBQVE9PQAAAAEAAAABaQEAAAAJY2hlY2tTaWduAAAABAAAAARUeElkAAAABHNpZzEAAAAEc2lnMgAAAARzaWczBAAAAAJhMQkAAfgAAAAEBQAAAAZTSEEyNTYJAAGbAAAAAQUAAAAEVHhJZAUAAAAEc2lnMQUAAAAEcHViMQQAAAACYTIJAAH4AAAABAUAAAAGU0hBMjU2CQABmwAAAAEFAAAABFR4SWQFAAAABHNpZzIFAAAABHB1YjIEAAAAAmEzCQAB+AAAAAQFAAAABlNIQTI1NgkAAZsAAAABBQAAAARUeElkBQAAAARzaWczBQAAAARwdWIzCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACAgAAAAVfVFhJRAUAAAAEVHhJZAkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAAIX1ZlcmlmeTEFAAAAAmExCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACAgAAAAhfVmVyaWZ5MQUAAAACYTIJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAICAAAACF9WZXJpZnkxBQAAAAJhMwUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAaAPbOk",
"chainId": 84,
"height": 690592,
"spentComplexity": 0
}
View: original | compacted
Prev: 5EhFwCz4G3gMsxVGL1UP8zd8BMvAHD94KVAcKrTqbjJg
Next: 21DWgnwhQJJ83udRhPE9sUKhHFrjYWchftrLsewWR9CG
Diff:
Old | New | | Differences |
---|
8 | 8 | | let pub3 = fromBase64String("MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAORDevy0r4kzLqOySloB63Huv2e4zeHKHjCsy5vtFKmWZbXJa8gZYt4+EklFIo1K9oqu5BAPVfJ3FOzs2U1A+g0CAwEAAQ==") |
---|
9 | 9 | | |
---|
10 | 10 | | @Callable(i) |
---|
11 | | - | func checkSign (number,TxId,sig1,sig2,sig3) = { |
---|
| 11 | + | func checkSign (TxId,sig1,sig2,sig3) = { |
---|
12 | 12 | | let a1 = rsaVerify(SHA256, toBytes(TxId), sig1, pub1) |
---|
13 | 13 | | let a2 = rsaVerify(SHA256, toBytes(TxId), sig2, pub2) |
---|
14 | 14 | | let a3 = rsaVerify(SHA256, toBytes(TxId), sig3, pub3) |
---|
15 | | - | WriteSet([DataEntry((number + "_TXID"), TxId), DataEntry((number + "_Verify1"), a1), DataEntry((number + "_Verify1"), a2), DataEntry((number + "_Verify1"), a3)]) |
---|
| 15 | + | WriteSet([DataEntry("_TXID", TxId), DataEntry("_Verify1", a1), DataEntry("_Verify1", a2), DataEntry("_Verify1", a3)]) |
---|
16 | 16 | | } |
---|
17 | 17 | | |
---|
18 | 18 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let pub1 = fromBase64String("MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAOkiuz/BV4EjoxGhTmNCbt2TgkbSPH/w69b3F1rKmD61JiPXvvF8L2pI9xOYcW4FmoEZVHlRQtAlaJykl3+rsrECAwEAAQ==") |
---|
5 | 5 | | |
---|
6 | 6 | | let pub2 = fromBase64String("MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAJnXzbM/V2sDV1ULbPSOlHkldOTWRrHi5fxIkBmuevrClMPVH7rqccwirDNcMdIdwXHI9Adhj9FWjwGIwfU/K6MCAwEAAQ==") |
---|
7 | 7 | | |
---|
8 | 8 | | let pub3 = fromBase64String("MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAORDevy0r4kzLqOySloB63Huv2e4zeHKHjCsy5vtFKmWZbXJa8gZYt4+EklFIo1K9oqu5BAPVfJ3FOzs2U1A+g0CAwEAAQ==") |
---|
9 | 9 | | |
---|
10 | 10 | | @Callable(i) |
---|
11 | | - | func checkSign (number,TxId,sig1,sig2,sig3) = { |
---|
| 11 | + | func checkSign (TxId,sig1,sig2,sig3) = { |
---|
12 | 12 | | let a1 = rsaVerify(SHA256, toBytes(TxId), sig1, pub1) |
---|
13 | 13 | | let a2 = rsaVerify(SHA256, toBytes(TxId), sig2, pub2) |
---|
14 | 14 | | let a3 = rsaVerify(SHA256, toBytes(TxId), sig3, pub3) |
---|
15 | | - | WriteSet([DataEntry((number + "_TXID"), TxId), DataEntry((number + "_Verify1"), a1), DataEntry((number + "_Verify1"), a2), DataEntry((number + "_Verify1"), a3)]) |
---|
| 15 | + | WriteSet([DataEntry("_TXID", TxId), DataEntry("_Verify1", a1), DataEntry("_Verify1", a2), DataEntry("_Verify1", a3)]) |
---|
16 | 16 | | } |
---|
17 | 17 | | |
---|
18 | 18 | | |
---|
19 | 19 | | @Verifier(tx) |
---|
20 | 20 | | func verify () = true |
---|
21 | 21 | | |
---|