tx · zQyyqsSCXpYLA6hubfbZ4oH345HrkbT8CxTup2HcXZL
3P3rNC6MTBxbcA26D4Ju8iywX3C74YUV4Yz: -1.00000000 Waves
2019.03.17 18:00 [1441647] smart asset 3P3rNC6MTBxbcA26D4Ju8iywX3C74YUV4Yz > SELF 0.00000000 AGES spam
{
"type": 15,
"id": "zQyyqsSCXpYLA6hubfbZ4oH345HrkbT8CxTup2HcXZL",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1552834908131,
"version": 1,
"sender": "3P3rNC6MTBxbcA26D4Ju8iywX3C74YUV4Yz",
"senderPublicKey": "C3YAj3TnZayLvDfa9pkpLqFUDhazX97337ShmHLMEA5T",
"proofs": [
"4GLWPDXZt4Ehz6FZBYCaJSGkQVjJAdrJzxS1y8HGXa1LqYLohP4EaGU9xADkbV1JmA1SFt8Fuz5pSAjfB5DHvwCd"
],
"assetId": "6HKGF4FkqiMNbXG1S9ofaosZKtxSwmCDduPmXHDPKJt4",
"script": "base64:AgQAAAAEcGFzcwAAAAAPEGunAAQAAAADdmFsAAAAAAAAitb4BAAAAAdBU2lnbmVkAgAAACxDM1lBajNUblpheUx2RGZhOXBrcExxRlVEaGF6WDk3MzM3U2htSExNRUE1VAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDADCQAAAAAAAAIJAAJYAAAAAQgFAAAAAXQAAAAPc2VuZGVyUHVibGljS2V5BQAAAAdBU2lnbmVkBgcDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAElJlaXNzdWVUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAMJAAAAAAAAAgkAAlgAAAABCAUAAAABdAAAAA9zZW5kZXJQdWJsaWNLZXkFAAAAB0FTaWduZWQGBwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPQnVyblRyYW5zYWN0aW9uBAAAAAF0BQAAAA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": 0
}
View: original | compacted
Prev: JA9hZDjUoaqunBnexbLXPh831mB5zLn65i2UDBpQsAZR
Next: ATWhne9UFfNUh3S2uejdvvCznJiCAFz6QasouGvqLFeh
Diff:
Old | New | | Differences |
---|
1 | | - | {-# STDLIB_VERSION 1 #-} |
---|
| 1 | + | {-# STDLIB_VERSION 2 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | | - | let creator = "C3YAj3TnZayLvDfa9pkpLqFUDhazX97337ShmHLMEA5T" |
---|
4 | | - | let pass = 71900000000 |
---|
5 | | - | let val = 9000000 |
---|
| 3 | + | let pass = 64700000000 |
---|
| 4 | + | let val = 9099000 |
---|
| 5 | + | let ASigned = "C3YAj3TnZayLvDfa9pkpLqFUDhazX97337ShmHLMEA5T" |
---|
6 | 6 | | match tx { |
---|
| 7 | + | case t: TransferTransaction => |
---|
| 8 | + | if ((toBase58String(t.senderPublicKey) == ASigned)) |
---|
| 9 | + | then true |
---|
| 10 | + | else false |
---|
| 11 | + | case t: ReissueTransaction => |
---|
| 12 | + | if ((toBase58String(t.senderPublicKey) == ASigned)) |
---|
| 13 | + | then true |
---|
| 14 | + | else false |
---|
| 15 | + | case t: BurnTransaction => |
---|
| 16 | + | if ((toBase58String(t.senderPublicKey) == ASigned)) |
---|
| 17 | + | then true |
---|
| 18 | + | else false |
---|
7 | 19 | | case t: ExchangeTransaction => |
---|
8 | | - | if ((toBase58String(t.sellOrder.senderPublicKey) == creator)) |
---|
| 20 | + | if ((toBase58String(t.sellOrder.senderPublicKey) == ASigned)) |
---|
9 | 21 | | then true |
---|
10 | 22 | | else { |
---|
11 | 23 | | let buy = sigVerify(t.buyOrder.bodyBytes, t.buyOrder.proofs[0], t.buyOrder.senderPublicKey) |
---|
|
14 | 26 | | else if ((t.amount >= pass)) |
---|
15 | 27 | | then if ((t.price > val)) |
---|
16 | 28 | | then true |
---|
17 | | - | else throw("set price > 0.09") |
---|
18 | | - | else throw("to unfreeze the assets make buy >= 175") |
---|
| 29 | + | else throw("price => 0.09099") |
---|
| 30 | + | else throw("make buy => 99") |
---|
19 | 31 | | } |
---|
20 | | - | case t: TransferTransaction => |
---|
21 | | - | if ((toBase58String(t.senderPublicKey) == creator)) |
---|
22 | | - | then true |
---|
23 | | - | else false |
---|
24 | | - | case t: ReissueTransaction => |
---|
25 | | - | if ((toBase58String(t.senderPublicKey) == creator)) |
---|
26 | | - | then true |
---|
27 | | - | else false |
---|
28 | | - | case t: BurnTransaction => |
---|
29 | | - | if ((toBase58String(t.senderPublicKey) == creator)) |
---|
30 | | - | then true |
---|
31 | | - | else false |
---|
32 | 32 | | case t: MassTransferTransaction => |
---|
33 | | - | if ((toBase58String(t.senderPublicKey) == creator)) |
---|
| 33 | + | if ((toBase58String(t.senderPublicKey) == ASigned)) |
---|
34 | 34 | | then true |
---|
35 | 35 | | else false |
---|
36 | 36 | | case t: SetAssetScriptTransaction => |
---|
37 | | - | if ((toBase58String(t.senderPublicKey) == creator)) |
---|
| 37 | + | if ((toBase58String(t.senderPublicKey) == ASigned)) |
---|
38 | 38 | | then true |
---|
39 | 39 | | else false |
---|
40 | 40 | | case _ => |
---|
Full:
Old | New | | Differences |
---|
1 | | - | {-# STDLIB_VERSION 1 #-} |
---|
| 1 | + | {-# STDLIB_VERSION 2 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | | - | let creator = "C3YAj3TnZayLvDfa9pkpLqFUDhazX97337ShmHLMEA5T" |
---|
4 | | - | let pass = 71900000000 |
---|
5 | | - | let val = 9000000 |
---|
| 3 | + | let pass = 64700000000 |
---|
| 4 | + | let val = 9099000 |
---|
| 5 | + | let ASigned = "C3YAj3TnZayLvDfa9pkpLqFUDhazX97337ShmHLMEA5T" |
---|
6 | 6 | | match tx { |
---|
| 7 | + | case t: TransferTransaction => |
---|
| 8 | + | if ((toBase58String(t.senderPublicKey) == ASigned)) |
---|
| 9 | + | then true |
---|
| 10 | + | else false |
---|
| 11 | + | case t: ReissueTransaction => |
---|
| 12 | + | if ((toBase58String(t.senderPublicKey) == ASigned)) |
---|
| 13 | + | then true |
---|
| 14 | + | else false |
---|
| 15 | + | case t: BurnTransaction => |
---|
| 16 | + | if ((toBase58String(t.senderPublicKey) == ASigned)) |
---|
| 17 | + | then true |
---|
| 18 | + | else false |
---|
7 | 19 | | case t: ExchangeTransaction => |
---|
8 | | - | if ((toBase58String(t.sellOrder.senderPublicKey) == creator)) |
---|
| 20 | + | if ((toBase58String(t.sellOrder.senderPublicKey) == ASigned)) |
---|
9 | 21 | | then true |
---|
10 | 22 | | else { |
---|
11 | 23 | | let buy = sigVerify(t.buyOrder.bodyBytes, t.buyOrder.proofs[0], t.buyOrder.senderPublicKey) |
---|
12 | 24 | | if (buy) |
---|
13 | 25 | | then true |
---|
14 | 26 | | else if ((t.amount >= pass)) |
---|
15 | 27 | | then if ((t.price > val)) |
---|
16 | 28 | | then true |
---|
17 | | - | else throw("set price > 0.09") |
---|
18 | | - | else throw("to unfreeze the assets make buy >= 175") |
---|
| 29 | + | else throw("price => 0.09099") |
---|
| 30 | + | else throw("make buy => 99") |
---|
19 | 31 | | } |
---|
20 | | - | case t: TransferTransaction => |
---|
21 | | - | if ((toBase58String(t.senderPublicKey) == creator)) |
---|
22 | | - | then true |
---|
23 | | - | else false |
---|
24 | | - | case t: ReissueTransaction => |
---|
25 | | - | if ((toBase58String(t.senderPublicKey) == creator)) |
---|
26 | | - | then true |
---|
27 | | - | else false |
---|
28 | | - | case t: BurnTransaction => |
---|
29 | | - | if ((toBase58String(t.senderPublicKey) == creator)) |
---|
30 | | - | then true |
---|
31 | | - | else false |
---|
32 | 32 | | case t: MassTransferTransaction => |
---|
33 | | - | if ((toBase58String(t.senderPublicKey) == creator)) |
---|
| 33 | + | if ((toBase58String(t.senderPublicKey) == ASigned)) |
---|
34 | 34 | | then true |
---|
35 | 35 | | else false |
---|
36 | 36 | | case t: SetAssetScriptTransaction => |
---|
37 | | - | if ((toBase58String(t.senderPublicKey) == creator)) |
---|
| 37 | + | if ((toBase58String(t.senderPublicKey) == ASigned)) |
---|
38 | 38 | | then true |
---|
39 | 39 | | else false |
---|
40 | 40 | | case _ => |
---|
41 | 41 | | throw("Transaction is not allowed by token-script") |
---|
42 | 42 | | } |
---|