tx · Ekm3syFtvqLbiECWKz8djwZJkGZpRQ8QyD3ARsPeS2fm
3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb: -1.00000000 Waves
2019.03.17 13:30 [540077] smart asset 3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb > SELF 0.00000000 ZAraa
{
"type": 15,
"id": "Ekm3syFtvqLbiECWKz8djwZJkGZpRQ8QyD3ARsPeS2fm",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1552818577168,
"version": 1,
"sender": "3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb",
"senderPublicKey": "6XtTAMMi9snEs1mN1TBpR3npxA2R16FMxneyWXMZdMdf",
"proofs": [
"3GHdeWrjrkUGkdwum63dmBfr1PWRCqtLm9EfVnUMdifRzcpZBPZKrCUDVpRcfGpneMtveJ5WWryF5LLZW7PDc4Ez"
],
"assetId": "6uTUhCBEKUcWVxKz8sHJ2oh616PmmGPMFV1cr2Hx9Ggu",
"script": "base64:AgQAAAAGaXNzdWVyCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUn3ENnb2h8+cM5MoAZuZG+9HctthQtzPqBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDAEAAAABHNlbGwJAAH0AAAAAwgIBQAAAAJ0eAAAAAlzZWxsT3JkZXIAAAAJYm9keUJ5dGVzCQABkQAAAAIICAUAAAACdHgAAAAJc2VsbE9yZGVyAAAABnByb29mcwAAAAAAAAAAAAgIBQAAAAJ0eAAAAAlzZWxsT3JkZXIAAAAPc2VuZGVyUHVibGljS2V5BAAAAANidXkJAAH0AAAAAwgIBQAAAAJ0eAAAAAhidXlPcmRlcgAAAAlib2R5Qnl0ZXMJAAGRAAAAAggIBQAAAAJ0eAAAAAhidXlPcmRlcgAAAAZwcm9vZnMAAAAAAAAAAAAICAUAAAACdHgAAAAIYnV5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UcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDAGB39v2u4=",
"chainId": 84,
"height": 540077,
"spentComplexity": 0
}
View: original | compacted
Prev: 3YXJYzxifSpiXTXsctHoNDh1cW1imRZK9AaYj28rzXGP
Next: 6gSmkfVN17kQfeGdJWucM7HT3P2iezbafYxSUZub4EDF
Diff:
Old | New | | Differences |
---|
10 | 10 | | let sellOrderSenderCategory = getString(issuer, sellOrderSender) |
---|
11 | 11 | | let buyOrderSenderCategory = getString(issuer, buyOrderSender) |
---|
12 | 12 | | let am = 60000000 |
---|
13 | | - | if (sell) |
---|
14 | | - | then if ((tx.sellOrder.amount > am)) |
---|
15 | | - | then true |
---|
16 | | - | else throw("Min sell ammount = 60") |
---|
17 | | - | else false |
---|
| 13 | + | if ((tx.sellOrder.amount > am)) |
---|
| 14 | + | then true |
---|
| 15 | + | else throw("Min sell ammount = 60") |
---|
18 | 16 | | case tx: MassTransferTransaction => |
---|
19 | 17 | | if ((tx.sender == issuer)) |
---|
20 | 18 | | then true |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 2 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let issuer = Address(base58'3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb') |
---|
4 | 4 | | match tx { |
---|
5 | 5 | | case tx: ExchangeTransaction => |
---|
6 | 6 | | let sell = sigVerify(tx.sellOrder.bodyBytes, tx.sellOrder.proofs[0], tx.sellOrder.senderPublicKey) |
---|
7 | 7 | | let buy = sigVerify(tx.buyOrder.bodyBytes, tx.buyOrder.proofs[0], tx.buyOrder.senderPublicKey) |
---|
8 | 8 | | let sellOrderSender = toBase58String(tx.sellOrder.sender.bytes) |
---|
9 | 9 | | let buyOrderSender = toBase58String(tx.sellOrder.sender.bytes) |
---|
10 | 10 | | let sellOrderSenderCategory = getString(issuer, sellOrderSender) |
---|
11 | 11 | | let buyOrderSenderCategory = getString(issuer, buyOrderSender) |
---|
12 | 12 | | let am = 60000000 |
---|
13 | | - | if (sell) |
---|
14 | | - | then if ((tx.sellOrder.amount > am)) |
---|
15 | | - | then true |
---|
16 | | - | else throw("Min sell ammount = 60") |
---|
17 | | - | else false |
---|
| 13 | + | if ((tx.sellOrder.amount > am)) |
---|
| 14 | + | then true |
---|
| 15 | + | else throw("Min sell ammount = 60") |
---|
18 | 16 | | case tx: MassTransferTransaction => |
---|
19 | 17 | | if ((tx.sender == issuer)) |
---|
20 | 18 | | then true |
---|
21 | 19 | | else throw("You cannot send this asset via MassTransferTransaction") |
---|
22 | 20 | | case tx: BurnTransaction => |
---|
23 | 21 | | if ((tx.sender == issuer)) |
---|
24 | 22 | | then true |
---|
25 | 23 | | else throw("You cannot burn this asset") |
---|
26 | 24 | | case tx: ReissueTransaction|SetAssetScriptTransaction => |
---|
27 | 25 | | true |
---|
28 | 26 | | case _ => |
---|
29 | 27 | | false |
---|
30 | 28 | | } |
---|