tx · 9oasHQvQHAKPYaQPpSnnMvSgoqH1yb1h4fDoBQHansRR
3Mz8xS2M6Ly3WedbX8PjVnHS6FsJ8TvEJb3: -0.01000000 Waves
2019.10.26 00:05 [736150] smart account 3Mz8xS2M6Ly3WedbX8PjVnHS6FsJ8TvEJb3 > SELF 0.00000000 Waves
{
"type": 13,
"id": "9oasHQvQHAKPYaQPpSnnMvSgoqH1yb1h4fDoBQHansRR",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1572037500480,
"version": 1,
"sender": "3Mz8xS2M6Ly3WedbX8PjVnHS6FsJ8TvEJb3",
"senderPublicKey": "6WPou58ywAsW3bgC5yrCAPUbj7NbeogxH8cjJB6gRPDH",
"proofs": [
"TJBHv7w17j3mWkwLfzF77KGtwmpHT5au5LuWHqrPAB9taPQNnLa3LgEFrFWN3KLnXwiEyS17nE418HeyZM54c4r"
],
"script": "base64:AAIDAAAAAAAAAAIIAQAAAAIAAAAAB2FQdWJLZXkBAAAAIFHSEV4MkefHxJaKgGtXl22dYsMGlII5tk7DFLQI9rYwAAAAAAdiUHViS2V5AQAAACBYGnlGwEbaxqPkrYx4hqdTl/P/Ul1tLrXWD/qnLSNgbQAAAAAAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAJhMQkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAB2FQdWJLZXkEAAAAAmEyCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAQUAAAAHYVB1YktleQQAAAACYjEJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAdiUHViS2V5BAAAAAJiMgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAAB2JQdWJLZXkEAAAABWFBbmRCAwMDAwUAAAACYTEFAAAAAmIxBwYDBQAAAAJhMQUAAAACYjIHBgMFAAAAAmEyBQAAAAJiMQcGAwUAAAACYTIFAAAAAmIyBwQAAAAHJG1hdGNoMAUAAAACdHgFAAAABWFBbmRCCZyrmA==",
"chainId": 84,
"height": 736150,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 3 #-} |
---|
| 2 | + | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
| 3 | + | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | let aPubKey = base58'6WPou58ywAsW3bgC5yrCAPUbj7NbeogxH8cjJB6gRPDH' |
---|
| 5 | + | |
---|
| 6 | + | let bPubKey = base58'6vvHscsLo3kap5Q2GDgkBUKrk8ToJaoj2shtCDoo22uz' |
---|
| 7 | + | |
---|
| 8 | + | |
---|
| 9 | + | @Verifier(tx) |
---|
| 10 | + | func verify () = { |
---|
| 11 | + | let a1 = sigVerify(tx.bodyBytes, tx.proofs[0], aPubKey) |
---|
| 12 | + | let a2 = sigVerify(tx.bodyBytes, tx.proofs[1], aPubKey) |
---|
| 13 | + | let b1 = sigVerify(tx.bodyBytes, tx.proofs[0], bPubKey) |
---|
| 14 | + | let b2 = sigVerify(tx.bodyBytes, tx.proofs[1], bPubKey) |
---|
| 15 | + | let aAndB = if (if (if (if (a1) |
---|
| 16 | + | then b1 |
---|
| 17 | + | else false) |
---|
| 18 | + | then true |
---|
| 19 | + | else if (a1) |
---|
| 20 | + | then b2 |
---|
| 21 | + | else false) |
---|
| 22 | + | then true |
---|
| 23 | + | else if (a2) |
---|
| 24 | + | then b1 |
---|
| 25 | + | else false) |
---|
| 26 | + | then true |
---|
| 27 | + | else if (a2) |
---|
| 28 | + | then b2 |
---|
| 29 | + | else false |
---|
| 30 | + | match tx { |
---|
| 31 | + | case _ => |
---|
| 32 | + | aAndB |
---|
| 33 | + | } |
---|
| 34 | + | } |
---|
| 35 | + | |
---|