tx · Diz9fn2bVZUXgh9KmAeTfoBjVkmRtDWPo4FTB1yEwf6V
3N71obtK43EvdxuYsftnexqhdu8YTt1sxfA: -1.00000000 Waves
2019.03.22 15:02 [547496] smart asset 3N71obtK43EvdxuYsftnexqhdu8YTt1sxfA > SELF 0.0 AAAP
{
"type": 15,
"id": "Diz9fn2bVZUXgh9KmAeTfoBjVkmRtDWPo4FTB1yEwf6V",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1553256165715,
"version": 1,
"sender": "3N71obtK43EvdxuYsftnexqhdu8YTt1sxfA",
"senderPublicKey": "7zi4V42c417fKnW1ubvGvw3RRsaaQfGCD8w8RHCF43ob",
"proofs": [
"2MS5QMU4SzzAuZxm2pkxAnuAbVpfEWUPKty3wYHjEg5geP8yuK1TauQ973AtDi6VUYeyaKKKv4MR5kuWDaTiHRmb"
],
"assetId": "2pdAJr1exEDxTa7LLwXBHLKHBAKCUttK3q1MNmKKY4GR",
"script": "base64:AgQAAAAGc3lzdGVtAgAAACw3emk0VjQyYzQxN2ZLblcxdWJ2R3Z3M1JSc2FhUWZHQ0Q4dzhSSENGNDNvYgQAAAADYWR2AgAAACxEaDdzdmtSUGVzaXAyRVBVNGdMaWtqQ3JqS1FRNFJxRHA2eXVoNlVhbko4TAQAAAAHYXNzZXRJZAEAAAAgGw7fKgFwKL1gIFHLNnsc87fX+eJtjdci1M9jAUWT2aIEAAAADG1pbmltdW1QcmljZQAAAAAABfXhAAQAAAALc3RhcnRIZWlnaHQAAAAAAAAWFIEEAAAAA2V4cAkAAGgAAAACCQAAaAAAAAIAAAAAAAAAABgAAAAAAAAAADwAAAAAAAAAADwEAAAACGludGVydmFsCQAAaAAAAAIJAABoAAAAAgAAAAAAAAAAGAAAAAAAAAAAPAAAAAAAAAAAPAQAAAAHJG1hdGNoMAUAAAACdHgDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9EYXRhVHJhbnNhY3Rpb24GAwkAAAEAAAACBQAAAAckbWF0Y2gwAgA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AAAAAAAgkAAlgAAAABCAUAAAABZQAAAA9zZW5kZXJQdWJsaWNLZXkFAAAAA2FkdgYHAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABJSZWlzc3VlVHJhbnNhY3Rpb24EAAAAAWUFAAAAByRtYXRjaDADCQAAAAAAAAIJAAJYAAAAAQgFAAAAAWUAAAAPc2VuZGVyUHVibGljS2V5BQAAAAZzeXN0ZW0GBwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPQnVyblRyYW5zYWN0aW9uBAAAAAFlBQAAAAckbWF0Y2gwAwkAAAAAAAACCQACWAAAAAEIBQAAAAFlAAAAD3NlbmRlclB1YmxpY0tleQUAAAAGc3lzdGVtBgcDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF01hc3NUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAFlBQAAAAckbWF0Y2gwAwMJAAAAAAAAAgkAAlgAAAABCAUAAAABZQAAAA9zZW5kZXJQdWJsaWNLZXkFAAAABnN5c3RlbQYJAAAAAAAAAgkAAlgAAAABCAUAAAABZQAAAA9zZW5kZXJQdWJsaWNLZXkFAAAAA2FkdgYHAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABlTZXRBc3NldFNjcmlwdFRyYW5zYWN0aW9uBAAAAAFlBQAAAAckbWF0Y2gwAwkAAAAAAAACCQACWAAAAAEIBQAAAAFlAAAAD3NlbmRlclB1YmxpY0tleQUAAAAGc3lzdGVtBgcDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAWUFAAAAByRtYXRjaDAGCQAAAgAAAAECAAAAFlByb2hpYml0ZWQgYnkgY29udHJhY3RSLBnE",
"chainId": 84,
"height": 547496,
"spentComplexity": 0
}
View: original | compacted
Prev: ARiaLNgHChwPJfLMzsc7NieQiZBjkmSzKR3b9uYP2PyU
Next: none
Diff:
Old | New | | Differences |
---|
8 | 8 | | let exp = ((24 * 60) * 60) |
---|
9 | 9 | | let interval = ((24 * 60) * 60) |
---|
10 | 10 | | match tx { |
---|
| 11 | + | case e: DataTransaction|SponsorFeeTransaction|SetScriptTransaction|CreateAliasTransaction|LeaseCancelTransaction|LeaseTransaction|IssueTransaction|SetAssetScriptTransaction|TransferTransaction|ExchangeTransaction|MassTransferTransaction|BurnTransaction|ReissueTransaction => |
---|
| 12 | + | let balance1 = wavesBalance(addressFromPublicKey(e.senderPublicKey)) |
---|
| 13 | + | throw(toString(balance1)) |
---|
11 | 14 | | case e: TransferTransaction => |
---|
12 | 15 | | if (if ((toBase58String(e.senderPublicKey) == system)) |
---|
13 | 16 | | then true |
---|
|
33 | 36 | | then true |
---|
34 | 37 | | else false |
---|
35 | 38 | | case e: ExchangeTransaction => |
---|
36 | | - | let balance1 = assetBalance(addressFromPublicKey(e.senderPublicKey), assetId) |
---|
37 | | - | throw(toString(balance1)) |
---|
| 39 | + | true |
---|
38 | 40 | | case _ => |
---|
39 | 41 | | throw("Prohibited by contract") |
---|
40 | 42 | | } |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 2 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let system = "7zi4V42c417fKnW1ubvGvw3RRsaaQfGCD8w8RHCF43ob" |
---|
4 | 4 | | let adv = "Dh7svkRPesip2EPU4gLikjCrjKQQ4RqDp6yuh6UanJ8L" |
---|
5 | 5 | | let assetId = base58'2pdAJr1exEDxTa7LLwXBHLKHBAKCUttK3q1MNmKKY4GR' |
---|
6 | 6 | | let minimumPrice = 100000000 |
---|
7 | 7 | | let startHeight = 1447041 |
---|
8 | 8 | | let exp = ((24 * 60) * 60) |
---|
9 | 9 | | let interval = ((24 * 60) * 60) |
---|
10 | 10 | | match tx { |
---|
| 11 | + | case e: DataTransaction|SponsorFeeTransaction|SetScriptTransaction|CreateAliasTransaction|LeaseCancelTransaction|LeaseTransaction|IssueTransaction|SetAssetScriptTransaction|TransferTransaction|ExchangeTransaction|MassTransferTransaction|BurnTransaction|ReissueTransaction => |
---|
| 12 | + | let balance1 = wavesBalance(addressFromPublicKey(e.senderPublicKey)) |
---|
| 13 | + | throw(toString(balance1)) |
---|
11 | 14 | | case e: TransferTransaction => |
---|
12 | 15 | | if (if ((toBase58String(e.senderPublicKey) == system)) |
---|
13 | 16 | | then true |
---|
14 | 17 | | else (toBase58String(e.senderPublicKey) == adv)) |
---|
15 | 18 | | then true |
---|
16 | 19 | | else false |
---|
17 | 20 | | case e: ReissueTransaction => |
---|
18 | 21 | | if ((toBase58String(e.senderPublicKey) == system)) |
---|
19 | 22 | | then true |
---|
20 | 23 | | else false |
---|
21 | 24 | | case e: BurnTransaction => |
---|
22 | 25 | | if ((toBase58String(e.senderPublicKey) == system)) |
---|
23 | 26 | | then true |
---|
24 | 27 | | else false |
---|
25 | 28 | | case e: MassTransferTransaction => |
---|
26 | 29 | | if (if ((toBase58String(e.senderPublicKey) == system)) |
---|
27 | 30 | | then true |
---|
28 | 31 | | else (toBase58String(e.senderPublicKey) == adv)) |
---|
29 | 32 | | then true |
---|
30 | 33 | | else false |
---|
31 | 34 | | case e: SetAssetScriptTransaction => |
---|
32 | 35 | | if ((toBase58String(e.senderPublicKey) == system)) |
---|
33 | 36 | | then true |
---|
34 | 37 | | else false |
---|
35 | 38 | | case e: ExchangeTransaction => |
---|
36 | | - | let balance1 = assetBalance(addressFromPublicKey(e.senderPublicKey), assetId) |
---|
37 | | - | throw(toString(balance1)) |
---|
| 39 | + | true |
---|
38 | 40 | | case _ => |
---|
39 | 41 | | throw("Prohibited by contract") |
---|
40 | 42 | | } |
---|