tx · HQozQhJq7nqbpLstnCY49HrWbJcEKpYs9i82hGTwhisj
3MqqqDw65oL423pjsdeAS5vcRyXa9bmruGx: -0.01000000 Waves
2021.05.31 15:38 [1549861] smart account 3MqqqDw65oL423pjsdeAS5vcRyXa9bmruGx > SELF 0.00000000 Waves
{
"type": 13,
"id": "HQozQhJq7nqbpLstnCY49HrWbJcEKpYs9i82hGTwhisj",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1622464733360,
"version": 1,
"sender": "3MqqqDw65oL423pjsdeAS5vcRyXa9bmruGx",
"senderPublicKey": "8vbHUXyFpFkRzkXFu1ikEid4ugjTjYq1tSDQRFBt44FM",
"proofs": [
"rASkF3pbifDFiURcqEbF5QnN7Ab6AJrpoV77sPrusGikeVm8okKahFyVXJGiyKAp1yLDbv9est1PNM1VbzQHDdT"
],
"script": "base64:BAQAAAALVXNlcjFQdWJLZXkBAAAAIHW8W0EF6L3TI8Mcza3iygN7I1d/OVvj15u4xQ5w+qoUBAAAAAtVc2VyMlB1YktleQEAAAAg+MBnCwKoW9z7Dc7djnypfqER3ZZxgc7+GyOJkZ4J8jcEAAAAC1VzZXIzUHViS2V5AQAAACDhh1LBnhX5HUwpUDKQDORJVFV97tFf7RaKlu041+ofDwQAAAALVXNlcjFTaWduZWQDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAALVXNlcjFQdWJLZXkAAAAAAAAAAAEAAAAAAAAAAAAEAAAAC1VzZXIyU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAAC1VzZXIyUHViS2V5AAAAAAAAAAABAAAAAAAAAAAABAAAAAtVc2VyM1NpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAACBQAAAAtVc2VyM1B1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAHJG1hdGNoMAUAAAACdHgDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBgkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABRTZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAkAAGcAAAACCQAAZAAAAAIJAABkAAAAAgUAAAALVXNlcjFTaWduZWQFAAAAC1VzZXIyU2lnbmVkBQAAAAtVc2VyM1NpZ25lZAAAAAAAAAAAAwMDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF0ludm9rZVNjcmlwdFRyYW5zYWN0aW9uBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAWTGVhc2VDYW5jZWxUcmFuc2FjdGlvbgYJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAQTGVhc2VUcmFuc2FjdGlvbgQAAAABbAUAAAAHJG1hdGNoMAYHMeRERA==",
"chainId": 84,
"height": 1549861,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: CufeDXrj7z7QPWFyTwXPuxKtQ9A8Pmwy1B3nTRcPxQhm
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 4 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let User1PubKey = base58'8vbHUXyFpFkRzkXFu1ikEid4ugjTjYq1tSDQRFBt44FM' |
---|
| 4 | + | let User2PubKey = base58'Hk2GhyddH9d4Zn5wt1WwuHEmm9vWQRnA5DitDcepm2nr' |
---|
| 5 | + | let User3PubKey = base58'GBNQvvDKJjHQ84uDfCRpvHJ8ubai3rP1g9BAuv3KPxKp' |
---|
| 6 | + | let User1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], User1PubKey)) |
---|
| 7 | + | then 1 |
---|
| 8 | + | else 0 |
---|
| 9 | + | let User2Signed = if (sigVerify(tx.bodyBytes, tx.proofs[1], User2PubKey)) |
---|
| 10 | + | then 1 |
---|
| 11 | + | else 0 |
---|
| 12 | + | let User3Signed = if (sigVerify(tx.bodyBytes, tx.proofs[2], User3PubKey)) |
---|
| 13 | + | then 1 |
---|
| 14 | + | else 0 |
---|
| 15 | + | match tx { |
---|
| 16 | + | case t: TransferTransaction|SetScriptTransaction => |
---|
| 17 | + | (((User1Signed + User2Signed) + User3Signed) >= 3) |
---|
| 18 | + | case l: InvokeScriptTransaction|LeaseCancelTransaction|LeaseTransaction => |
---|
| 19 | + | true |
---|
| 20 | + | case _ => |
---|
| 21 | + | false |
---|
| 22 | + | } |
---|