tx · 7muwrocgMsdJJzL78FJ13NsE9F4Vw4KXjXsz5RpUGr3F
3MqsJDx8RbDpfTQsT4FmKhxxK2hN46z78CP: -0.01400000 Waves
2021.01.03 12:19 [1337022] smart account 3MqsJDx8RbDpfTQsT4FmKhxxK2hN46z78CP > SELF 0.00000000 Waves
{
"type": 13,
"id": "7muwrocgMsdJJzL78FJ13NsE9F4Vw4KXjXsz5RpUGr3F",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1609665579000,
"version": 1,
"sender": "3MqsJDx8RbDpfTQsT4FmKhxxK2hN46z78CP",
"senderPublicKey": "9WdPnEBMCCcvTqH6EyyTCrw5uQXWHFyjJEZwcobhExkw",
"proofs": [
"2e5Hxjp28ujiPUarqnUtp7CmCJd3JnjyoJ8bVGiKmLLGiRC2xX8FvBCwBFb2z5gusYB352DvWqSBF2sD6JGJNHdd"
],
"script": "base64:AwQAAAALZGlnaWxpcmFQYXkBAAAAID0HOFHYXYpCB2C8RjDY8m3ndBlb8WihoYLw1tvHVwgrBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAABdwUAAAAHJG1hdGNoMAMJAQAAAAlpc0RlZmluZWQAAAABCAUAAAABdwAAAAdhc3NldElkBgMJAAAAAAAAAggFAAAAAXcAAAAJcmVjaXBpZW50CQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABBQAAAAtkaWdpbGlyYVBheQYJAAACAAAAAQIAAAAxVW5mb3J0dW5hdGVseSB5b3UgY2FuIG9ubHkgc2VuZCB3YXZlcyB0byBpc3N1ZXIuLgMDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABU9yZGVyBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAQTGVhc2VUcmFuc2FjdGlvbgYJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPQnVyblRyYW5zYWN0aW9uBAAAAAF4BQAAAAckbWF0Y2gwBwMDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0RhdGFUcmFuc2FjdGlvbgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24GCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwCQAB9AAAAAMIBQAAAAF0AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAABdAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAAC2RpZ2lsaXJhUGF5BjJoWnQ=",
"chainId": 84,
"height": 1337022,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: 3pGADmp5kCctKg7S2SHhkh4SR2BMWvr3YPfuRk34BFP8
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 3 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let digiliraPay = base58'57EFni8M1XesEurFh3c4jnpLExP2PCPd5TRrwMjePAT4' |
---|
| 4 | + | match tx { |
---|
| 5 | + | case w: TransferTransaction => |
---|
| 6 | + | if (isDefined(w.assetId)) |
---|
| 7 | + | then true |
---|
| 8 | + | else if ((w.recipient == addressFromPublicKey(digiliraPay))) |
---|
| 9 | + | then true |
---|
| 10 | + | else throw("Unfortunately you can only send waves to issuer..") |
---|
| 11 | + | case x: Order|LeaseTransaction|BurnTransaction => |
---|
| 12 | + | false |
---|
| 13 | + | case t: DataTransaction|ExchangeTransaction|SetScriptTransaction => |
---|
| 14 | + | sigVerify(t.bodyBytes, t.proofs[1], digiliraPay) |
---|
| 15 | + | case _ => |
---|
| 16 | + | true |
---|
| 17 | + | } |
---|