tx · 6a3xswNUkc2SUodxN43NjeXwnCKpoNusAeU8wzjJ3KqZ
3MzKbPH1myjq5CSeXTU8S853r2Lx9xKvh4n: -0.01000000 Waves
2021.05.31 15:30 [1549852] smart account 3MzKbPH1myjq5CSeXTU8S853r2Lx9xKvh4n > SELF 0.00000000 Waves
{
"type": 13,
"id": "6a3xswNUkc2SUodxN43NjeXwnCKpoNusAeU8wzjJ3KqZ",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1622464285785,
"version": 1,
"sender": "3MzKbPH1myjq5CSeXTU8S853r2Lx9xKvh4n",
"senderPublicKey": "3NfviesrmjVT3FaDqqnYb7SAU3AxRcUcDQ1V9t9kv77R",
"proofs": [
"3YKPJHv5qKWvN9Xb4RdkTumbRPZzBBSk6JqfPKTwD9C6LhLp8YhBDefzRsG6AbUYaqYwb7AiEhbM7tqUCSAvp7ja"
],
"script": "base64:BAQAAAALVXNlcjFQdWJLZXkBAAAAICouxDXxI/wj30WOm70Rk99mGj1nyyCEREAkB64VUNo1BAAAAAtVc2VyMlB1YktleQEAAAAgUpR0mHrTLZjxRGaRnpuvbceSmLOutSODE5g46EIGfzgEAAAAC1VzZXIzUHViS2V5AQAAACCdUOuoHn5SrUznWYPs0oe4YLHwyqIE8AhMkVBTgi2+OgQAAAALVXNlcjFTaWduZWQDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAALVXNlcjFQdWJLZXkAAAAAAAAAAAEAAAAAAAAAAAAEAAAAC1VzZXIyU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAAC1VzZXIyUHViS2V5AAAAAAAAAAABAAAAAAAAAAAABAAAAAtVc2VyM1NpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAACBQAAAAtVc2VyM1B1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAHJG1hdGNoMAUAAAACdHgJAABnAAAAAgkAAGQAAAACCQAAZAAAAAIFAAAAC1VzZXIxU2lnbmVkBQAAAAtVc2VyMlNpZ25lZAUAAAALVXNlcjNTaWduZWQAAAAAAAAAAAOGArYL",
"chainId": 84,
"height": 1549852,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: CjKe2RMSkVNRBP34W2W4hmQoNQZwwHcR5wkt3s7Viwbh
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 4 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let User1PubKey = base58'3qfV4UBeas5rraUGY6NQiqzBMZUt7YH6ez77pSq5ddj2' |
---|
| 4 | + | let User2PubKey = base58'6ZMj7AYdo5gaep1q1fnGJA5trZAcqBXQyvTHHQAZ5P5y' |
---|
| 5 | + | let User3PubKey = base58'Bb6aMZpg2t8yeifShMc5R95NMaiGdgDSAuuQ26HW9bf7' |
---|
| 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 _ => |
---|
| 17 | + | (((User1Signed + User2Signed) + User3Signed) >= 3) |
---|
| 18 | + | } |
---|