tx · FYnxGvZBCLtapdFn4rgTgfemsaZ4gJXHTFEMF9tRBknX

3N365M2PGfcqXask1RyH8Uw2msNrpYnM3UN:  -0.00100000 Waves

2022.08.29 11:28 [2205511] smart account 3N365M2PGfcqXask1RyH8Uw2msNrpYnM3UN > SELF 0.00000000 Waves

{ "type": 13, "id": "FYnxGvZBCLtapdFn4rgTgfemsaZ4gJXHTFEMF9tRBknX", "fee": 100000, "feeAssetId": null, "timestamp": 1661761723202, "version": 2, "chainId": 84, "sender": "3N365M2PGfcqXask1RyH8Uw2msNrpYnM3UN", "senderPublicKey": "D4iUaXNjg4d8YoKKGs3VV88i34QKtN6J9FSD45vRQGxh", "proofs": [ "G13zJEN3ayVaaeZQNSwtkRhDSsN4HdatyqEsgJroHhJLKkAkpz5qD7qwEczgC7Hm3YGmeoityJPEf1MYzWMeX7J" ], "script": "base64:AAIFAAAAAAAAAAIIAgAAAAAAAAAAAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAJZmlyc3RVc2VyAQAAACCzP+HMJHqcMuehnkE6FEMFB3TiLjjohGGkUwWx9iDVcgQAAAAKc2Vjb25kVXNlcgEAAAAg6WCmA+zPqAEDNdbeJCCVC46gM7jEmXg89NM3kT6O80IEAAAAD2ZpcnN0VXNlclNpZ25lZAMDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAJZmlyc3RVc2VyBgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAACWZpcnN0VXNlcgAAAAAAAAAAAQAAAAAAAAAAAAQAAAAQc2Vjb25kVXNlclNpZ25lZAMDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAKc2Vjb25kVXNlcgYJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAABBQAAAApzZWNvbmRVc2VyAAAAAAAAAAABAAAAAAAAAAAABAAAAA9zaWduYXR1cmVzQ291bnQJAABkAAAAAgUAAAAPZmlyc3RVc2VyU2lnbmVkBQAAABBzZWNvbmRVc2VyU2lnbmVkBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPRGF0YVRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwCQAAZwAAAAIFAAAAD3NpZ25hdHVyZXNDb3VudAAAAAAAAAAAAQkAAGcAAAACBQAAAA9zaWduYXR1cmVzQ291bnQAAAAAAAAAAALBAYRm", "height": 2205511, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 5 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+
5+
6+
7+@Verifier(tx)
8+func verify () = {
9+ let firstUser = base58'D4iUaXNjg4d8YoKKGs3VV88i34QKtN6J9FSD45vRQGxh'
10+ let secondUser = base58'Gi1UG5XTroxD6gaZkPGBDKgwV4WytWyBx3zYWuUx9mqb'
11+ let firstUserSigned = if (if (sigVerify(tx.bodyBytes, tx.proofs[0], firstUser))
12+ then true
13+ else sigVerify(tx.bodyBytes, tx.proofs[1], firstUser))
14+ then 1
15+ else 0
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)
22+ match tx {
23+ case t: DataTransaction =>
24+ (signaturesCount >= 1)
25+ case _ =>
26+ (signaturesCount >= 2)
27+ }
28+ }
29+

github/deemru/w8io/026f985 
33.36 ms