tx · 9LwuVdPNadUsp5JT7VTcLU3ptWnkaJ67rCLmLvEwti5P
3Mwcv6mSsqrwMyAoh3YdTXjSBQWVx2CMxH2: -0.01400000 Waves
2019.07.01 15:00 [566286] smart account 3Mwcv6mSsqrwMyAoh3YdTXjSBQWVx2CMxH2 > SELF 0.00000000 Waves
{
"type": 13,
"id": "9LwuVdPNadUsp5JT7VTcLU3ptWnkaJ67rCLmLvEwti5P",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1561982442607,
"version": 1,
"sender": "3Mwcv6mSsqrwMyAoh3YdTXjSBQWVx2CMxH2",
"senderPublicKey": "9j69PY62YXTQrc4X5RKJ2KWc7DsYFC4mGcKUvChtq8Pi",
"proofs": [
"4AKerayd25Nk6srcH5g9Mh1Py9rs1wJfRZe2CaK8txuvwwxfnG4yiMRxCCVw7W6oBn3Lxi9esgJGfyAHMF8hUZsT",
"3qRCPcZ7TGFsMQif7qMv7QWmStyvAu2cBTE4uv1Gy8q9HHvhepntS271PaBexfBHVaQLokNvERaMUhfER3kU6iBi"
],
"script": "base64:AwQAAAALZGlnaWxpcmFQYXkBAAAAIIGltNmBhtc4XZH/2xg8adPSYHrptRihKnbat0wWPcgRBAAAAAckbWF0Y2gwBQAAAAJ0eAMDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF01hc3NUcmFuc2ZlclRyYW5zYWN0aW9uBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPQnVyblRyYW5zYWN0aW9uBgkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAF3BQAAAAckbWF0Y2gwAwkBAAAACWlzRGVmaW5lZAAAAAEIBQAAAAF3AAAAB2Fzc2V0SWQGCQAAAgAAAAECAAAAD2NhbnQgc2VuZCB3YXZlcwMDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0RhdGFUcmFuc2FjdGlvbgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24GCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwCQAB9AAAAAMIBQAAAAF0AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAABdAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAC2RpZ2lsaXJhUGF5Br9t0v4=",
"chainId": 84,
"height": 566286,
"spentComplexity": 0
}
View: original | compacted
Prev: 7xtkJ5hKMxJEeHCnHg4vkifCoJ9vD6EzedKK3qZwyH6C
Next: FsYxGC2e8s6xpUX91VJ7LXpG9gapWAPcpWcz88b9NgUA
Diff:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let digiliraPay = base58'9j69PY62YXTQrc4X5RKJ2KWc7DsYFC4mGcKUvChtq8Pi' |
---|
4 | | - | let ownerPublicKey = base58'57EFni8M1XesEurFh3c4jnpLExP2PCPd5TRrwMjePAT4' |
---|
5 | | - | let amountAsset = base58'HGoEZAsEQpbA3DJyV9J3X1JCTTBuwUB6PE19g1kUYXsH' |
---|
6 | | - | let matcherPublicKey = base58'7kPFrHDiGw1rCm7LPszuECwWYL3dMf6iMifLRDJQZMzy' |
---|
7 | 4 | | match tx { |
---|
8 | | - | case w: TransferTransaction => |
---|
9 | | - | if ((w.assetId == base58'HGoEZAsEQpbA3DJyV9J3X1JCTTBuwUB6PE19g1kUYXsH')) |
---|
| 5 | + | case w: MassTransferTransaction|BurnTransaction|TransferTransaction => |
---|
| 6 | + | if (isDefined(w.assetId)) |
---|
10 | 7 | | then true |
---|
11 | | - | else throw("NOT ALLOWED") |
---|
12 | | - | case t: SetScriptTransaction => |
---|
| 8 | + | else throw("cant send waves") |
---|
| 9 | + | case t: DataTransaction|ExchangeTransaction|SetScriptTransaction => |
---|
13 | 10 | | sigVerify(t.bodyBytes, t.proofs[0], digiliraPay) |
---|
14 | 11 | | case _ => |
---|
15 | 12 | | true |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let digiliraPay = base58'9j69PY62YXTQrc4X5RKJ2KWc7DsYFC4mGcKUvChtq8Pi' |
---|
4 | | - | let ownerPublicKey = base58'57EFni8M1XesEurFh3c4jnpLExP2PCPd5TRrwMjePAT4' |
---|
5 | | - | let amountAsset = base58'HGoEZAsEQpbA3DJyV9J3X1JCTTBuwUB6PE19g1kUYXsH' |
---|
6 | | - | let matcherPublicKey = base58'7kPFrHDiGw1rCm7LPszuECwWYL3dMf6iMifLRDJQZMzy' |
---|
7 | 4 | | match tx { |
---|
8 | | - | case w: TransferTransaction => |
---|
9 | | - | if ((w.assetId == base58'HGoEZAsEQpbA3DJyV9J3X1JCTTBuwUB6PE19g1kUYXsH')) |
---|
| 5 | + | case w: MassTransferTransaction|BurnTransaction|TransferTransaction => |
---|
| 6 | + | if (isDefined(w.assetId)) |
---|
10 | 7 | | then true |
---|
11 | | - | else throw("NOT ALLOWED") |
---|
12 | | - | case t: SetScriptTransaction => |
---|
| 8 | + | else throw("cant send waves") |
---|
| 9 | + | case t: DataTransaction|ExchangeTransaction|SetScriptTransaction => |
---|
13 | 10 | | sigVerify(t.bodyBytes, t.proofs[0], digiliraPay) |
---|
14 | 11 | | case _ => |
---|
15 | 12 | | true |
---|
16 | 13 | | } |
---|