tx · WhGsa5rTZRSjHdXaiMETR3LWsL279AMsvJBWejGakG1
3NB8ywjfFMupFpQu3Xc8yULzbhKNgW29Xxd: -0.01000000 Waves
2019.02.15 19:22 [496588] smart account 3NB8ywjfFMupFpQu3Xc8yULzbhKNgW29Xxd > SELF 0.00000000 Waves
{
"type": 13,
"id": "WhGsa5rTZRSjHdXaiMETR3LWsL279AMsvJBWejGakG1",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1550258646767,
"version": 1,
"sender": "3NB8ywjfFMupFpQu3Xc8yULzbhKNgW29Xxd",
"senderPublicKey": "Hy5LT4ENfN5ovE9xD5wd2nDHeJ9E6jZUbbLtPyHgPHEG",
"proofs": [
"CqwmW137SDnheYZGGXsXUEAX2LLmCp5y5sJiq25Cc7NjNAyUZUAEZiQmvRzHMuo9Dm3H39RqGDeFzEeTCKh7184"
],
"script": "base64:AQQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF01hc3NUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAJ0eAUAAAAHJG1hdGNoMAMDAwMDAwMJAAAAAAAAAggFAAAAAnR4AAAADXRyYW5zZmVyQ291bnQAAAAAAAAAAAIJAAAAAAAAAggJAAGRAAAAAggFAAAAAnR4AAAACXRyYW5zZmVycwAAAAAAAAAAAAAAAAlyZWNpcGllbnQJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVSGUbeOu9pS5AGwAO/bYAb+MPWIreGDndEHCQAAAAAAAAIICQABkQAAAAIIBQAAAAJ0eAAAAAl0cmFuc2ZlcnMAAAAAAAAAAAEAAAAJcmVjaXBpZW50CQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUAcMfr/yXvTiJ3gch9BHvKZZpojxZQyuABwkBAAAAASEAAAABCQEAAAAJaXNEZWZpbmVkAAAAAQgFAAAAAnR4AAAAB2Fzc2V0SWQHCQAAAAAAAAIIBQAAAAJ0eAAAAAt0b3RhbEFtb3VudAkAAGUAAAACCQEAAAAMd2F2ZXNCYWxhbmNlAAAAAQgFAAAAAnR4AAAABnNlbmRlcgAAAAAAAAMNQAcJAAAAAAAAAggJAAGRAAAAAggFAAAAAnR4AAAACXRyYW5zZmVycwAAAAAAAAAAAAAAAAZhbW91bnQICQABkQAAAAIIBQAAAAJ0eAAAAAl0cmFuc2ZlcnMAAAAAAAAAAAEAAAAGYW1vdW50BwkAAAAAAAACCAUAAAACdHgAAAADZmVlAAAAAAAAB6EgBwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkHB0skmE8=",
"chainId": 84,
"height": 496588,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 1 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | match tx { |
---|
| 4 | + | case tx: MassTransferTransaction => |
---|
| 5 | + | if (if (if (if (if (if (if ((tx.transferCount == 2)) |
---|
| 6 | + | then (tx.transfers[0].recipient == Address(base58'3N2AJDRYfoLfxoKTyUQWzdJzHqzhPDKrefz')) |
---|
| 7 | + | else false) |
---|
| 8 | + | then (tx.transfers[1].recipient == Address(base58'3Mp5QCYsCUDzJmenrrVbwVciMMfv4ZTvr31')) |
---|
| 9 | + | else false) |
---|
| 10 | + | then !(isDefined(tx.assetId)) |
---|
| 11 | + | else false) |
---|
| 12 | + | then (tx.totalAmount == (wavesBalance(tx.sender) - 200000)) |
---|
| 13 | + | else false) |
---|
| 14 | + | then (tx.transfers[0].amount == tx.transfers[1].amount) |
---|
| 15 | + | else false) |
---|
| 16 | + | then (tx.fee == 500000) |
---|
| 17 | + | else false) |
---|
| 18 | + | then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
| 19 | + | else false |
---|
| 20 | + | case _ => |
---|
| 21 | + | false |
---|
| 22 | + | } |
---|