tx · BR5DRjsDSKYaw6jbkpLsUZn9AYnsTGML4uWcRivdmJAm

3N9nhPb2uyfCtJFVPmMK9w4uEGLVTnnbXhQ:  -0.00500000 Waves

2022.09.20 16:09 [2237497] smart account 3N9nhPb2uyfCtJFVPmMK9w4uEGLVTnnbXhQ > SELF 0.00000000 Waves

{ "type": 13, "id": "BR5DRjsDSKYaw6jbkpLsUZn9AYnsTGML4uWcRivdmJAm", "fee": 500000, "feeAssetId": null, "timestamp": 1663679399405, "version": 2, "chainId": 84, "sender": "3N9nhPb2uyfCtJFVPmMK9w4uEGLVTnnbXhQ", "senderPublicKey": "8WztCHMwLBGx8KstgdjYYxTtGg85W9wEBrCSAQTokAh8", "proofs": [ "3Fm1Laoq9WWx5cFHuBYxnZZarbmrqtA7M3vSEy2MiRooDZVuxMgicTpF6PHCbVraExJrbrxjCR1dcfuNVcdJDKfp" ], "script": "base64:AAIFAAAAAAAAAAIIAgAAAAAAAAAAAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAJZmlyc3RVc2VyAQAAACBvsRmfJSHkbn/RdDo/cY6UpfzJKdR5MV54iPTvADd4cwQAAAAKc2Vjb25kVXNlcgEAAAAgw7A/hzVJNOr72le1jAICboaEiS9Ooxu+E5C4G4avL0YEAAAAD2ZpcnN0VXNlclNpZ25lZAMDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAJZmlyc3RVc2VyBgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAACWZpcnN0VXNlcgAAAAAAAAAAAQAAAAAAAAAAAAQAAAAQc2Vjb25kVXNlclNpZ25lZAMDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAKc2Vjb25kVXNlcgYJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAABBQAAAApzZWNvbmRVc2VyAAAAAAAAAAABAAAAAAAAAAAABAAAAA9zaWduYXR1cmVzQ291bnQJAABkAAAAAgUAAAAPZmlyc3RVc2VyU2lnbmVkBQAAABBzZWNvbmRVc2VyU2lnbmVkBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPRGF0YVRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwCQAAZwAAAAIFAAAAD3NpZ25hdHVyZXNDb3VudAAAAAAAAAAAAQkAAGcAAAACBQAAAA9zaWduYXR1cmVzQ291bnQAAAAAAAAAAAL36aaB", "height": 2237497, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5xMEvppRtomu8EXJtVVx98BByCpkRovN9pQeeDFZ91o5 Next: none Diff:
OldNewDifferences
77 @Verifier(tx)
88 func verify () = {
99 let firstUser = base58'8WztCHMwLBGx8KstgdjYYxTtGg85W9wEBrCSAQTokAh8'
10- let firstUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], firstUser))
10+ let secondUser = base58'EAtNoHKx4BMb4FwLTXBjAYAzDTjj3sdRAwpTEv3sayKB'
11+ let firstUserSigned = if (if (sigVerify(tx.bodyBytes, tx.proofs[0], firstUser))
12+ then true
13+ else sigVerify(tx.bodyBytes, tx.proofs[1], firstUser))
1114 then 1
1215 else 0
13- let signaturesCount = firstUserSigned
16+ let secondUserSigned = if (if (sigVerify(tx.bodyBytes, tx.proofs[0], secondUser))
17+ then true
18+ else sigVerify(tx.bodyBytes, tx.proofs[1], secondUser))
19+ then 1
20+ else 0
21+ let signaturesCount = (firstUserSigned + secondUserSigned)
1422 match tx {
1523 case t: DataTransaction =>
1624 (signaturesCount >= 1)
1725 case _ =>
18- (signaturesCount >= 0)
26+ (signaturesCount >= 2)
1927 }
2028 }
2129
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66
77 @Verifier(tx)
88 func verify () = {
99 let firstUser = base58'8WztCHMwLBGx8KstgdjYYxTtGg85W9wEBrCSAQTokAh8'
10- let firstUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], firstUser))
10+ let secondUser = base58'EAtNoHKx4BMb4FwLTXBjAYAzDTjj3sdRAwpTEv3sayKB'
11+ let firstUserSigned = if (if (sigVerify(tx.bodyBytes, tx.proofs[0], firstUser))
12+ then true
13+ else sigVerify(tx.bodyBytes, tx.proofs[1], firstUser))
1114 then 1
1215 else 0
13- let signaturesCount = firstUserSigned
16+ let secondUserSigned = if (if (sigVerify(tx.bodyBytes, tx.proofs[0], secondUser))
17+ then true
18+ else sigVerify(tx.bodyBytes, tx.proofs[1], secondUser))
19+ then 1
20+ else 0
21+ let signaturesCount = (firstUserSigned + secondUserSigned)
1422 match tx {
1523 case t: DataTransaction =>
1624 (signaturesCount >= 1)
1725 case _ =>
18- (signaturesCount >= 0)
26+ (signaturesCount >= 2)
1927 }
2028 }
2129

github/deemru/w8io/169f3d6 
26.93 ms