tx · 5EhFwCz4G3gMsxVGL1UP8zd8BMvAHD94KVAcKrTqbjJg
3MzbJGw4eewZaFchoewZQv9mMH25AoNgMb3: -0.01500000 Waves
2019.09.20 18:47 [684838] smart account 3MzbJGw4eewZaFchoewZQv9mMH25AoNgMb3 > SELF 0.00000000 Waves
{
"type": 13,
"id": "5EhFwCz4G3gMsxVGL1UP8zd8BMvAHD94KVAcKrTqbjJg",
"fee": 1500000,
"feeAssetId": null,
"timestamp": 1568994491127,
"version": 1,
"sender": "3MzbJGw4eewZaFchoewZQv9mMH25AoNgMb3",
"senderPublicKey": "FTjfgevHkmD3kcdRadPPNCxfsWvfecQ1cLQTtCPyN3BZ",
"proofs": [
"59r3dyV9GtzbQN2VtkVbHCBQtzysXtki8miuebSuqZtqrzg8T5GBVJb3TDGrf12qfH1xFDAyu95eHoE6xRpeHEsh"
],
"script": "base64:AAIDAAAAAAAAAAsIARIHCgUICAICAgAAAAMAAAAABHB1YjEJAAJbAAAAAQIAAACATUZ3d0RRWUpLb1pJaHZjTkFRRUJCUUFEU3dBd1NBSkJBT2tpdXovQlY0RWpveEdoVG1OQ2J0MlRna2JTUEgvdzY5YjNGMXJLbUQ2MUppUFh2dkY4TDJwSTl4T1ljVzRGbW9FWlZIbFJRdEFsYUp5a2wzK3JzckVDQXdFQUFRPT0AAAAABHB1YjIJAAJbAAAAAQIAAACATUZ3d0RRWUpLb1pJaHZjTkFRRUJCUUFEU3dBd1NBSkJBSm5YemJNL1Yyc0RWMVVMYlBTT2xIa2xkT1RXUnJIaTVmeElrQm11ZXZyQ2xNUFZIN3JxY2N3aXJETmNNZElkd1hISTlBZGhqOUZXandHSXdmVS9LNk1DQXdFQUFRPT0AAAAABHB1YjMJAAJbAAAAAQIAAACATUZ3d0RRWUpLb1pJaHZjTkFRRUJCUUFEU3dBd1NBSkJBT1JEZXZ5MHI0a3pMcU95U2xvQjYzSHV2MmU0emVIS0hqQ3N5NXZ0RkttV1piWEphOGdaWXQ0K0VrbEZJbzFLOW9xdTVCQVBWZkozRk96czJVMUErZzBDQXdFQUFRPT0AAAABAAAAAWkBAAAACWNoZWNrU2lnbgAAAAUAAAAGbnVtYmVyAAAABFR4SWQAAAAEc2lnMQAAAARzaWcyAAAABHNpZzMEAAAAAmExCQAB+AAAAAQFAAAABlNIQTI1NgkAAZsAAAABBQAAAARUeElkBQAAAARzaWcxBQAAAARwdWIxBAAAAAJhMgkAAfgAAAAEBQAAAAZTSEEyNTYJAAGbAAAAAQUAAAAEVHhJZAUAAAAEc2lnMgUAAAAEcHViMgQAAAACYTMJAAH4AAAABAUAAAAGU0hBMjU2CQABmwAAAAEFAAAABFR4SWQFAAAABHNpZzMFAAAABHB1YjMJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgUAAAAGbnVtYmVyAgAAAAVfVFhJRAUAAAAEVHhJZAkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACBQAAAAZudW1iZXICAAAACF9WZXJpZnkxBQAAAAJhMQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACBQAAAAZudW1iZXICAAAACF9WZXJpZnkxBQAAAAJhMgkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACBQAAAAZudW1iZXICAAAACF9WZXJpZnkxBQAAAAJhMwUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAa+/Hh7",
"chainId": 84,
"height": 684838,
"spentComplexity": 0
}
View: original | compacted
Prev: 4uaNfzao1dxsWGsETAWxHEvoSeU13FMNuQ19whbeTg6d
Next: A1LhjFsubyrHHkrWBrwa3XM9ujsoArTtXTyj4XiVmuQc
Diff:
Old | New | | Differences |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let pub1 = fromBase64String("MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAOkiuz/BV4EjoxGhTmNCbt2TgkbSPH/w69b3F1rKmD61JiPXvvF8L2pI9xOYcW4FmoEZVHlRQtAlaJykl3+rsrECAwEAAQ==") |
---|
5 | 5 | | |
---|
6 | | - | let a = "base64:MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAJRdebp5GXHagez7kZ++gNIt0fMe7WGvgskBJAcoDlQVnA8cNh/sjxSH68hnXEVTe17IlsVqLjHYW2JJUZkiJ1UCAwEAAQ==" |
---|
| 6 | + | let pub2 = fromBase64String("MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAJnXzbM/V2sDV1ULbPSOlHkldOTWRrHi5fxIkBmuevrClMPVH7rqccwirDNcMdIdwXHI9Adhj9FWjwGIwfU/K6MCAwEAAQ==") |
---|
| 7 | + | |
---|
| 8 | + | let pub3 = fromBase64String("MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAORDevy0r4kzLqOySloB63Huv2e4zeHKHjCsy5vtFKmWZbXJa8gZYt4+EklFIo1K9oqu5BAPVfJ3FOzs2U1A+g0CAwEAAQ==") |
---|
7 | 9 | | |
---|
8 | 10 | | @Callable(i) |
---|
9 | | - | func checkSign (number,TxId,sig1) = { |
---|
| 11 | + | func checkSign (number,TxId,sig1,sig2,sig3) = { |
---|
10 | 12 | | let a1 = rsaVerify(SHA256, toBytes(TxId), sig1, pub1) |
---|
11 | | - | WriteSet([DataEntry((number + "_TXID"), TxId), DataEntry((number + "_Verify1"), a1)]) |
---|
| 13 | + | let a2 = rsaVerify(SHA256, toBytes(TxId), sig2, pub2) |
---|
| 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)]) |
---|
12 | 16 | | } |
---|
13 | 17 | | |
---|
14 | 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 | | - | let a = "base64:MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAJRdebp5GXHagez7kZ++gNIt0fMe7WGvgskBJAcoDlQVnA8cNh/sjxSH68hnXEVTe17IlsVqLjHYW2JJUZkiJ1UCAwEAAQ==" |
---|
| 6 | + | let pub2 = fromBase64String("MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAJnXzbM/V2sDV1ULbPSOlHkldOTWRrHi5fxIkBmuevrClMPVH7rqccwirDNcMdIdwXHI9Adhj9FWjwGIwfU/K6MCAwEAAQ==") |
---|
| 7 | + | |
---|
| 8 | + | let pub3 = fromBase64String("MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAORDevy0r4kzLqOySloB63Huv2e4zeHKHjCsy5vtFKmWZbXJa8gZYt4+EklFIo1K9oqu5BAPVfJ3FOzs2U1A+g0CAwEAAQ==") |
---|
7 | 9 | | |
---|
8 | 10 | | @Callable(i) |
---|
9 | | - | func checkSign (number,TxId,sig1) = { |
---|
| 11 | + | func checkSign (number,TxId,sig1,sig2,sig3) = { |
---|
10 | 12 | | let a1 = rsaVerify(SHA256, toBytes(TxId), sig1, pub1) |
---|
11 | | - | WriteSet([DataEntry((number + "_TXID"), TxId), DataEntry((number + "_Verify1"), a1)]) |
---|
| 13 | + | let a2 = rsaVerify(SHA256, toBytes(TxId), sig2, pub2) |
---|
| 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)]) |
---|
12 | 16 | | } |
---|
13 | 17 | | |
---|
14 | 18 | | |
---|
15 | 19 | | @Verifier(tx) |
---|
16 | 20 | | func verify () = true |
---|
17 | 21 | | |
---|