tx · 6HyUduPReDSQLizVfL2FGij3xQmgv1sf5WdseijQrywv 3NBFGNLYQmydL8hsBqiZZ2mcWqPXHjh3pUB: -0.01000000 Waves 2021.01.17 00:35 [1356526] smart account 3NBFGNLYQmydL8hsBqiZZ2mcWqPXHjh3pUB > SELF 0.00000000 Waves
{ "type": 13, "id": "6HyUduPReDSQLizVfL2FGij3xQmgv1sf5WdseijQrywv", "fee": 1000000, "feeAssetId": null, "timestamp": 1610832947384, "version": 2, "chainId": 84, "sender": "3NBFGNLYQmydL8hsBqiZZ2mcWqPXHjh3pUB", "senderPublicKey": "CGByCgEEioaQPjkpojXN78wGU4Yx3saKmreSWQd5frBB", "proofs": [ "4GHYQVqcgEtLro8jd1zTenYEDM4jCDAsAPEVVAssqm6LDtnfX9wzsdXg4q6WWpQwR1dLANNKWAyrZcUdhuBZxk66" ], "script": "base64:AgQAAAALYWxpY2VQdWJLZXkBAAAAIA0VlSh8xIiLukkHtUMpRkqoYmMHv54NDLuz7kTx5oBUBAAAAAlib2JQdWJLZXkBAAAAIPDOlT35GtLPUVIxDFPmf+3+mwM/IzsvxPU9NnB63IBYBAAAAAxjb29wZXJQdWJLZXkBAAAAIPXz23J15ZWerEVc9FaHnjU3mQ7O6kvTCwP/TO4HV4wkBAAAAAthbGljZVNpZ25lZAMDAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAC2FsaWNlUHViS2V5BgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAAC2FsaWNlUHViS2V5BgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAIFAAAAC2FsaWNlUHViS2V5AAAAAAAAAAABAAAAAAAAAAAABAAAAAlib2JTaWduZWQDAwMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAlib2JQdWJLZXkGCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAQUAAAAJYm9iUHViS2V5BgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAIFAAAACWJvYlB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAMY29vcGVyU2lnbmVkAwMDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAMY29vcGVyUHViS2V5BgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAADGNvb3BlclB1YktleQYJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAACBQAAAAxjb29wZXJQdWJLZXkAAAAAAAAAAAEAAAAAAAAAAAAJAABnAAAAAgkAAGQAAAACCQAAZAAAAAIFAAAAC2FsaWNlU2lnbmVkBQAAAAlib2JTaWduZWQFAAAADGNvb3BlclNpZ25lZAAAAAAAAAAAAgblVaE=", "height": 1356526, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 2 #-} | |
2 | + | {-# CONTENT_TYPE EXPRESSION #-} | |
3 | + | let alicePubKey = base58't5PVp6CkZwpPk7TtbwqeqHTCrGdzwMfwZadPzSYRAsm' | |
4 | + | let bobPubKey = base58'HD1Yvs87GYi3sYdqmZhSPR7QGYefPp3RAb8LQQyGQpJT' | |
5 | + | let cooperPubKey = base58'HZ6ZANLnmTe1YySS8m7dRdPACVTdiWq4HauEmkEw22W7' | |
6 | + | let aliceSigned = if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], alicePubKey)) | |
7 | + | then true | |
8 | + | else sigVerify(tx.bodyBytes, tx.proofs[1], alicePubKey)) | |
9 | + | then true | |
10 | + | else sigVerify(tx.bodyBytes, tx.proofs[2], alicePubKey)) | |
11 | + | then 1 | |
12 | + | else 0 | |
13 | + | let bobSigned = if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], bobPubKey)) | |
14 | + | then true | |
15 | + | else sigVerify(tx.bodyBytes, tx.proofs[1], bobPubKey)) | |
16 | + | then true | |
17 | + | else sigVerify(tx.bodyBytes, tx.proofs[2], bobPubKey)) | |
18 | + | then 1 | |
19 | + | else 0 | |
20 | + | let cooperSigned = if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], cooperPubKey)) | |
21 | + | then true | |
22 | + | else sigVerify(tx.bodyBytes, tx.proofs[1], cooperPubKey)) | |
23 | + | then true | |
24 | + | else sigVerify(tx.bodyBytes, tx.proofs[2], cooperPubKey)) | |
25 | + | then 1 | |
26 | + | else 0 | |
27 | + | (((aliceSigned + bobSigned) + cooperSigned) >= 2) |
github/deemru/w8io/169f3d6 16.15 ms ◑