tx · HUiKGn9eLBbwbT1ntGTmG55J24kPSsKnvFJsuVvznYtq

3MxZNnLG9EBcb4yExxNwcFq9vcyMb7DcGT9:  -0.00600000 Waves

2024.11.05 22:14 [3358572] smart account 3MxZNnLG9EBcb4yExxNwcFq9vcyMb7DcGT9 > SELF 0.00000000 Waves

{ "type": 13, "id": "HUiKGn9eLBbwbT1ntGTmG55J24kPSsKnvFJsuVvznYtq", "fee": 600000, "feeAssetId": null, "timestamp": 1730834131430, "version": 2, "chainId": 84, "sender": "3MxZNnLG9EBcb4yExxNwcFq9vcyMb7DcGT9", "senderPublicKey": "FN8Nij5UUJ3ZXHzNztDBknjEpmL8w47c17gVLBDm51vy", "proofs": [ "3Jgypr7TVKBg8ZcQKuAFfw9bKWhn2XG3rdAwEPGEqpFgHzSYTVP3W1a5kXZrypAHJrdfD2QLYEYdtCDw56dDg5LM" ], "script": "base64:AAIFAAAAAAAAAAIIAgAAAAEBAAAACWlzVGVzdEVudgAAAAAEAAAAB3Rlc3RlbnYEAAAAByRtYXRjaDAJAAQbAAAAAgUAAAAEdGhpcwIAAAAHVEVTVEVOVgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAHQm9vbGVhbgQAAAABeAUAAAAHJG1hdGNoMAUAAAABeAcFAAAAB3Rlc3RlbnYAAAAAAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAMJAQAAAAlpc1Rlc3RFbnYAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQQAAAAJZmlyc3RVc2VyAQAAACBRHOT9Zv8SadLxWhSfO7Li9Dt/wctoJ6I0Xmw411fdbQQAAAAKc2Vjb25kVXNlcgEAAAAgXHIOS67xIU9m5hlF+mqise2xNilZXxnMzLDhTUGIan0EAAAACXRoaXJkVXNlcgEAAAAgoK+R5S15Q2FhMhKtjrn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yZFVzZXIAAAAAAAAAAAEDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAgUAAAAJdGhpcmRVc2VyAAAAAAAAAAABAAAAAAAAAAAABAAAAA9zaWduYXR1cmVzQ291bnQJAABkAAAAAgkAAGQAAAACBQAAAA9maXJzdFVzZXJTaWduZWQFAAAAEHNlY29uZFVzZXJTaWduZWQFAAAAD3RoaXJkVXNlclNpZ25lZAQAAAAHJG1hdGNoMAUAAAACdHgJAABnAAAAAgUAAAAPc2lnbmF0dXJlc0NvdW50AAAAAAAAAAAClP5zeA==", "height": 3358572, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7dSHBCb6oqakaZUyC8gY6H6ibVexYtEx3w1NhEAo96uX Next: H67poWKrFYQ99LPQuDFL92fXKjBPjL2uMBy1HPr4Zvkj Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func isTestEnv () = {
55 let testenv = match getBoolean(this, "TESTENV") {
66 case x: Boolean =>
77 x
88 case _ =>
99 false
1010 }
1111 testenv
1212 }
1313
1414
1515
1616 @Verifier(tx)
1717 func verify () = if (isTestEnv())
1818 then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
1919 else {
2020 let firstUser = base58'6TdaXEfhnjYquvPf3yV7MFxt2CbgFmaqsvGwkKfXtKi4'
2121 let secondUser = base58'7DsP2WaMLocbHuUxux7pbXRjTrrZ1TFQPsi5QumS3gr8'
2222 let thirdUser = base58'BpFWP3p3JgYrrP45xfrKzeMcWMEXoinj4FVPPkUiA8D3'
2323 let firstUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], firstUser))
2424 then 1
2525 else if (sigVerify(tx.bodyBytes, tx.proofs[1], firstUser))
2626 then 1
2727 else if (sigVerify(tx.bodyBytes, tx.proofs[2], firstUser))
2828 then 1
2929 else 0
3030 let secondUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], secondUser))
3131 then 1
3232 else if (sigVerify(tx.bodyBytes, tx.proofs[1], secondUser))
3333 then 1
3434 else if (sigVerify(tx.bodyBytes, tx.proofs[2], secondUser))
3535 then 1
3636 else 0
3737 let thirdUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], thirdUser))
3838 then 1
3939 else if (sigVerify(tx.bodyBytes, tx.proofs[1], thirdUser))
4040 then 1
4141 else if (sigVerify(tx.bodyBytes, tx.proofs[2], thirdUser))
4242 then 1
4343 else 0
4444 let signaturesCount = ((firstUserSigned + secondUserSigned) + thirdUserSigned)
4545 match tx {
4646 case _ =>
4747 (signaturesCount >= 2)
4848 }
4949 }
5050

github/deemru/w8io/026f985 
16.35 ms