tx · 696vYCnMs3ifXN99xmMgFwyphFDtwPSCCi6PhbnCNkFs
3MzKbPH1myjq5CSeXTU8S853r2Lx9xKvh4n: -0.01400000 Waves
2021.05.31 10:14 [1549529] smart account 3MzKbPH1myjq5CSeXTU8S853r2Lx9xKvh4n > SELF 0.00000000 Waves
{
"type": 13,
"id": "696vYCnMs3ifXN99xmMgFwyphFDtwPSCCi6PhbnCNkFs",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1622445196933,
"version": 1,
"sender": "3MzKbPH1myjq5CSeXTU8S853r2Lx9xKvh4n",
"senderPublicKey": "3NfviesrmjVT3FaDqqnYb7SAU3AxRcUcDQ1V9t9kv77R",
"proofs": [
"nUhzmQYX14ifppEUHUdRdzsEMwcfs9KkVnP4hsHtz2sW9sdqMU2ZiEm7QcZYRBRtNPDQZfHAfcDBAmuju7fDo1C",
"3Mgd41tXtS36ECLSNS7tC4EsGdnqMxXjKvBv8Q2EYiP7q1G6QcMLLf4XjWP3vsQbc9B4dBFi25aLTTKbvtebcJPm",
"5vssdG62GmztE8NjLj5aSUWoVeVCbnXHHiuQ94mwjFq1udXAZzVBj5fM4bc5HLzgHb4mJR28QMAvyyNrW977rLTs"
],
"script": "base64:BAQAAAALVXNlcjFQdWJLZXkBAAAAICNElbYYJ7bxrsmHeqRI4UmWqkcTkCuYVI456LRcMdQEBAAAAAtVc2VyMlB1YktleQEAAAAg+MBnCwKoW9z7Dc7djnypfqER3ZZxgc7+GyOJkZ4J8jcEAAAAC1VzZXIzUHViS2V5AQAAACDhh1LBnhX5HUwpUDKQDORJVFV97tFf7RaKlu041+ofDwQAAAALVXNlcjFTaWduZWQDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAALVXNlcjFQdWJLZXkAAAAAAAAAAAEAAAAAAAAAAAAEAAAAC1VzZXIyU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAAC1VzZXIyUHViS2V5AAAAAAAAAAABAAAAAAAAAAAABAAAAAtVc2VyM1NpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAACBQAAAAtVc2VyM1B1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAHJG1hdGNoMAUAAAACdHgDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBgkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdNYXNzVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAkAAGcAAAACCQAAZAAAAAIJAABkAAAAAgUAAAALVXNlcjFTaWduZWQFAAAAC1VzZXIyU2lnbmVkBQAAAAtVc2VyM1NpZ25lZAAAAAAAAAAAAwY/jP5B",
"chainId": 84,
"height": 1549529,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: EEoLDLPCUnND6A6Hg1vsZhrPhYvh4Tq6tjLuuyUr1egY
Next: HQd6RPfmd7ZhxT2gxfxrjMDKus3uVos2SmKDC1hhac6k
Diff:
Old | New | | Differences |
---|
13 | 13 | | then 1 |
---|
14 | 14 | | else 0 |
---|
15 | 15 | | match tx { |
---|
| 16 | + | case t: TransferTransaction|MassTransferTransaction => |
---|
| 17 | + | (((User1Signed + User2Signed) + User3Signed) >= 3) |
---|
16 | 18 | | case _ => |
---|
17 | | - | (((User1Signed + User2Signed) + User3Signed) >= 3) |
---|
| 19 | + | true |
---|
18 | 20 | | } |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 4 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let User1PubKey = base58'3NfviesrmjVT3FaDqqnYb7SAU3AxRcUcDQ1V9t9kv77R' |
---|
4 | 4 | | let User2PubKey = base58'Hk2GhyddH9d4Zn5wt1WwuHEmm9vWQRnA5DitDcepm2nr' |
---|
5 | 5 | | let User3PubKey = base58'GBNQvvDKJjHQ84uDfCRpvHJ8ubai3rP1g9BAuv3KPxKp' |
---|
6 | 6 | | let User1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], User1PubKey)) |
---|
7 | 7 | | then 1 |
---|
8 | 8 | | else 0 |
---|
9 | 9 | | let User2Signed = if (sigVerify(tx.bodyBytes, tx.proofs[1], User2PubKey)) |
---|
10 | 10 | | then 1 |
---|
11 | 11 | | else 0 |
---|
12 | 12 | | let User3Signed = if (sigVerify(tx.bodyBytes, tx.proofs[2], User3PubKey)) |
---|
13 | 13 | | then 1 |
---|
14 | 14 | | else 0 |
---|
15 | 15 | | match tx { |
---|
| 16 | + | case t: TransferTransaction|MassTransferTransaction => |
---|
| 17 | + | (((User1Signed + User2Signed) + User3Signed) >= 3) |
---|
16 | 18 | | case _ => |
---|
17 | | - | (((User1Signed + User2Signed) + User3Signed) >= 3) |
---|
| 19 | + | true |
---|
18 | 20 | | } |
---|