tx · 7bH6MhY1TZzZkc937FFQfHYvsxa6FUkUp3ByFgVttvdm 3MyhHntLbavAPCm8GDEbrkwUXPx29woiFLL: -0.01400000 Waves 2020.09.19 23:08 [1184630] smart account 3MyhHntLbavAPCm8GDEbrkwUXPx29woiFLL > SELF 0.00000000 Waves
{ "type": 13, "id": "7bH6MhY1TZzZkc937FFQfHYvsxa6FUkUp3ByFgVttvdm", "fee": 1400000, "feeAssetId": null, "timestamp": 1600546044917, "version": 2, "chainId": 84, "sender": "3MyhHntLbavAPCm8GDEbrkwUXPx29woiFLL", "senderPublicKey": "EPZwt7uD7njhqocph3941wRCY65Q5BHPLh7zU2VdAhft", "proofs": [ "4BveyNGsBkU4EBLpfWqG1BsLJcsNhM29CapDjKZW1K1QAwmcbCK71bFSuyDVX19zJ9xq7iCDsS24Bqc9nhwRHy4w" ], "script": "base64:BAQAAAANcGtQYXlBcHByb3ZhbAEAAAAg+SHcPpyO91MRbvDYznMdkTN4jwwCbMDUfFftEP/4nk4EAAAADXBrUGF5V2l0bmVzczEBAAAAIMdaI1RvaxruKEUq1NHHFTuo7kDjIMNy7q+CiBHF9z11BAAAAA1wa1BheVdpdG5lc3MyAQAAACBLtRN+xxnGYFEGUZqrGnBZwuu3sJ1HMm4jtlXTnQIBUAQAAAAOYWxsb3dTZXRTY3JpcHQGBAAAAAhhcHByb3ZlZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAA1wa1BheUFwcHJvdmFsAAAAAAAAAAACAAAAAAAAAAAABAAAAAlhcHByb3ZlZDIDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAQUAAAANcGtQYXlBcHByb3ZhbAAAAAAAAAAAAgAAAAAAAAAAAAQAAAAId2l0bmVzczEDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib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AAWQFAAAAByRtYXRjaDAGB2+OnoM=", "height": 1184630, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AtXeM8oWsuPviMg6pXpxgGjPt6xCNdSf2m2RDpvKayjT Next: 6aPBThBxC6GiKR9Bwobjou2FNFaNixixoRyYyfvtovbe Diff:
Old | New | Differences | |
---|---|---|---|
2 | 2 | {-# CONTENT_TYPE EXPRESSION #-} | |
3 | 3 | let pkPayApproval = base58'HmWTrVyrpsP4nWnk8ah6YYhHfUpJUPuuZXpaXXXnCXnV' | |
4 | 4 | let pkPayWitness1 = base58'ERBrKdQQvMgThZo35NpWB3MMKrrB2SFCi5RqtVkjMo4p' | |
5 | - | let pkPayWitness2 = base58' | |
5 | + | let pkPayWitness2 = base58'66XisorYHAFTjPAtLkPDuCnpmA7PgkscuL19MxLmAedm' | |
6 | 6 | let allowSetScript = true | |
7 | 7 | let approved = if (sigVerify(tx.bodyBytes, tx.proofs[0], pkPayApproval)) | |
8 | 8 | then 2 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# CONTENT_TYPE EXPRESSION #-} | |
3 | 3 | let pkPayApproval = base58'HmWTrVyrpsP4nWnk8ah6YYhHfUpJUPuuZXpaXXXnCXnV' | |
4 | 4 | let pkPayWitness1 = base58'ERBrKdQQvMgThZo35NpWB3MMKrrB2SFCi5RqtVkjMo4p' | |
5 | - | let pkPayWitness2 = base58' | |
5 | + | let pkPayWitness2 = base58'66XisorYHAFTjPAtLkPDuCnpmA7PgkscuL19MxLmAedm' | |
6 | 6 | let allowSetScript = true | |
7 | 7 | let approved = if (sigVerify(tx.bodyBytes, tx.proofs[0], pkPayApproval)) | |
8 | 8 | then 2 | |
9 | 9 | else 0 | |
10 | 10 | let approved2 = if (sigVerify(tx.bodyBytes, tx.proofs[1], pkPayApproval)) | |
11 | 11 | then 2 | |
12 | 12 | else 0 | |
13 | 13 | let witness1 = if (sigVerify(tx.bodyBytes, tx.proofs[0], pkPayWitness1)) | |
14 | 14 | then 1 | |
15 | 15 | else 0 | |
16 | 16 | let witness2 = if (sigVerify(tx.bodyBytes, tx.proofs[0], pkPayWitness2)) | |
17 | 17 | then 1 | |
18 | 18 | else 0 | |
19 | 19 | let witness1b = if (sigVerify(tx.bodyBytes, tx.proofs[1], pkPayWitness1)) | |
20 | 20 | then 1 | |
21 | 21 | else 0 | |
22 | 22 | let witness2b = if (sigVerify(tx.bodyBytes, tx.proofs[1], pkPayWitness2)) | |
23 | 23 | then 1 | |
24 | 24 | else 0 | |
25 | 25 | let transOk = if (((((((approved + approved2) + witness1) + witness2) + witness1b) + witness2b) > 3)) | |
26 | 26 | then true | |
27 | 27 | else false | |
28 | 28 | match tx { | |
29 | 29 | case t: TransferTransaction => | |
30 | 30 | transOk | |
31 | 31 | case s: SetScriptTransaction => | |
32 | 32 | allowSetScript | |
33 | 33 | case d: DataTransaction => | |
34 | 34 | true | |
35 | 35 | case _ => | |
36 | 36 | false | |
37 | 37 | } |
github/deemru/w8io/026f985 25.35 ms ◑