tx · 7ScafL13mTxGqEQEFLgua1kCv8SvegB1qdTdmFQvegjN
3NCvWHCu8MpKcShBRcTB9kJGVdUqNNTPsvw: -0.01000000 Waves
2021.01.19 17:21 [1360418] smart account 3NCvWHCu8MpKcShBRcTB9kJGVdUqNNTPsvw > SELF 0.00000000 Waves
{
"type": 13,
"id": "7ScafL13mTxGqEQEFLgua1kCv8SvegB1qdTdmFQvegjN",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1611066109795,
"version": 2,
"chainId": 84,
"sender": "3NCvWHCu8MpKcShBRcTB9kJGVdUqNNTPsvw",
"senderPublicKey": "jxwFC6gw5LiUnK7L8yFaVkt8vPaJNzoJgsDc18hhQ25",
"proofs": [
"5TaBtpp49pAB8KDvFiGRf3zGYhVxBxAh7wLWAhYznb9TACZ3jTuasiRvHs9MUBaYNMnKLZEkXd4oRX41sHZkENHy"
],
"script": "base64:AwQAAAAKTWFpblB1YktleQEAAAAgCwGj4mgFJbPngkg/CwMK5Xc7PRn1Ir1kxzBNyI0sWhoEAAAABUN1Y2hpAQAAACCZLPYIVKyMgi3x1H6VNwuC7UEWVWF/BVuJ42nz80ItygQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABU9yZGVyBAAAAAFvBQAAAAckbWF0Y2gwAwkAAfQAAAADCAUAAAABbwAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAW8AAAAGcHJvb2ZzAAAAAAAAAAAABQAAAApNYWluUHViS2V5AwkAAAAAAAACCAgFAAAAAW8AAAAJYXNzZXRQYWlyAAAACnByaWNlQXNzZXQFAAAABUN1Y2hpBgkAAAAAAAACCAgFAAAAAW8AAAAJYXNzZXRQYWlyAAAAC2Ftb3VudEFzc2V0BQAAAAVDdWNoaQcJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAApNYWluUHViS2V5S0B6uQ==",
"height": 1360418,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: FRvzq9b58oFy2q54mq16a9Kq2PRvybDZmEvgSqyCVxXi
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 3 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let MainPubKey = base58'jxwFC6gw5LiUnK7L8yFaVkt8vPaJNzoJgsDc18hhQ25' |
---|
| 4 | + | let Cuchi = base58'BJw9DBHgbbvS5xSZmiwyQcAbmHo87aPQBgbzz5YjgXus' |
---|
| 5 | + | match tx { |
---|
| 6 | + | case o: Order => |
---|
| 7 | + | if (sigVerify(o.bodyBytes, o.proofs[0], MainPubKey)) |
---|
| 8 | + | then if ((o.assetPair.priceAsset == Cuchi)) |
---|
| 9 | + | then true |
---|
| 10 | + | else (o.assetPair.amountAsset == Cuchi) |
---|
| 11 | + | else false |
---|
| 12 | + | case _ => |
---|
| 13 | + | sigVerify(tx.bodyBytes, tx.proofs[0], MainPubKey) |
---|
| 14 | + | } |
---|