tx · 6yp9q1B3gjfX7pqYCRiELZKiyuUazieXtbq6qCJdhouq

3N5ZexxaGKJ7Wjzm7ojjDFdZbxsN3sUDKAa:  -0.01000000 Waves

2023.08.02 14:04 [2692871] smart account 3N5ZexxaGKJ7Wjzm7ojjDFdZbxsN3sUDKAa > SELF 0.00000000 Waves

{ "type": 13, "id": "6yp9q1B3gjfX7pqYCRiELZKiyuUazieXtbq6qCJdhouq", "fee": 1000000, "feeAssetId": null, "timestamp": 1690974289842, "version": 2, "chainId": 84, "sender": "3N5ZexxaGKJ7Wjzm7ojjDFdZbxsN3sUDKAa", "senderPublicKey": "GmZRVhE2WxrVskz5PgSHb1pFnApG5LyXu8aysuxFjh5F", "proofs": [ "3mVAAMziqLcB1yP3RdrXifCELqqgcehs5sVjHggn6QEtcwf3sadrMJpRf1b9TewL9uzeKtNrhmD2mfW5hgUkNHCj" ], "script": "base64:BgICCAIHAA5BWExZX01BSU5fQUREUgkBB0FkZHJlc3MBARoBVKxZ06Mi8yQRyxlOzbVq19UHIskDZBkjugAJa0FkbWluMVBLAhVncm91cDFfYWRtaW4xX3B1Yl9rZXkACWtBZG1pbjJQSwIVZ3JvdXAxX2FkbWluMl9wdWJfa2V5AA9rT3BlcmF0b3JDYWxsUEsCEmFkbWluX2NhbGxfcHViX2tleQAIYWRtaW4xUEsJANkEAQkBE3ZhbHVlT3JFcnJvck1lc3NhZ2UCCQCdCAIFDkFYTFlfTUFJTl9BRERSBQlrQWRtaW4xUEsCEkNhbid0IGdldCBhZG1pbjFQSwAIYWRtaW4yUEsJANkEAQkBE3ZhbHVlT3JFcnJvck1lc3NhZ2UCCQCdCAIFDkFYTFlfTUFJTl9BRERSBQlrQWRtaW4yUEsCEkNhbid0IGdldCBhZG1pbjJQSwAKb3BlcmF0b3JQSwkA2QQBCQETdmFsdWVPckVycm9yTWVzc2FnZQIJAJ0IAgUOQVhMWV9NQUlOX0FERFIFD2tPcGVyYXRvckNhbGxQSwIUQ2FuJ3QgZ2V0IG9wZXJhdG9yUEsAAQJ0eAEGdmVyaWZ5AAQHJG1hdGNoMAUCdHgEEmFkbWluUHViS2V5MVNpZ25lZAMJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAFCGFkbWluMVBLAAEAAAQSYWRtaW5QdWJLZXkyU2lnbmVkAwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAQUIYWRtaW4yUEsAAQAABBJhZG1pblB1YktleTNTaWduZWQDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwACBQpvcGVyYXRvclBLAAEAAAkAZwIJAGQCCQBkAgUSYWRtaW5QdWJLZXkxU2lnbmVkBRJhZG1pblB1YktleTJTaWduZWQFEmFkbWluUHViS2V5M1NpZ25lZAACiRb0xw==", "height": 2692871, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: 7Lg29W5UPqGA9oF2yV5oVHFwi1ug1KNRe2oxYxc11QCB Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 6 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let AXLY_MAIN_ADDR = Address(base58'3N5dPcBenjbD5yoHNxR4cukNYEa8X1fqxzu')
5+
6+let kAdmin1PK = "group1_admin1_pub_key"
7+
8+let kAdmin2PK = "group1_admin2_pub_key"
9+
10+let kOperatorCallPK = "admin_call_pub_key"
11+
12+let admin1PK = fromBase58String(valueOrErrorMessage(getString(AXLY_MAIN_ADDR, kAdmin1PK), "Can't get admin1PK"))
13+
14+let admin2PK = fromBase58String(valueOrErrorMessage(getString(AXLY_MAIN_ADDR, kAdmin2PK), "Can't get admin2PK"))
15+
16+let operatorPK = fromBase58String(valueOrErrorMessage(getString(AXLY_MAIN_ADDR, kOperatorCallPK), "Can't get operatorPK"))
17+
18+
19+@Verifier(tx)
20+func verify () = match tx {
21+ case _ =>
22+ let adminPubKey1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], admin1PK))
23+ then 1
24+ else 0
25+ let adminPubKey2Signed = if (sigVerify(tx.bodyBytes, tx.proofs[1], admin2PK))
26+ then 1
27+ else 0
28+ let adminPubKey3Signed = if (sigVerify(tx.bodyBytes, tx.proofs[2], operatorPK))
29+ then 1
30+ else 0
31+ (((adminPubKey1Signed + adminPubKey2Signed) + adminPubKey3Signed) >= 2)
32+}
33+

github/deemru/w8io/026f985 
13.45 ms