tx · EWwjesVw59c3hrKjDjQKse396wrgyq2y6WQTDir13Aco

3P8d3uvJytW7Lb9NktbAMyZYzQjPdh5oJCH:  -0.01400000 Waves

2019.02.27 03:23 [1414359] smart account 3P8d3uvJytW7Lb9NktbAMyZYzQjPdh5oJCH > SELF 0.00000000 Waves

{ "type": 13, "id": "EWwjesVw59c3hrKjDjQKse396wrgyq2y6WQTDir13Aco", "fee": 1400000, "feeAssetId": null, "timestamp": 1551227096569, "version": 1, "sender": "3P8d3uvJytW7Lb9NktbAMyZYzQjPdh5oJCH", "senderPublicKey": "5oZdECFujvDV8JeXdUS6fCW6fgjGezE5Q1FAtzGYZsAK", "proofs": [ "4k8x8yMh1TQoZ1jxQ74Gn9jXeSvmaCMzCNJdfx8PNcCrJGZk1FKvoDqwv9rMPXRAawKiDrjnXSGLMbbX9UYeSbiR" ], "script": null, "chainId": 87, "height": 1414359, "spentComplexity": 0 } View: original | compacted Prev: JBUqriV4tiNkgS8tsHBVJY5Rs2xaLTvUJFtNX22XGvcZ Next: none Full:
OldNewDifferences
1-{-# STDLIB_VERSION 1 #-}
2-{-# CONTENT_TYPE EXPRESSION #-}
3-let minimumTransfer = 100000000000
4-let minimumPrice = 3141592
5-let ASigned = "Cig3iF8UpyEMKGkfBYfaS68YEChw9yXq5k6Nfp7nuzgQ"
6-match tx {
7- case t: TransferTransaction =>
8- let transaction = transactionById(extract(t.assetId))
9- match transaction {
10- case issueTx: IssueTransaction =>
11- let transactionByIssuer = (t.senderPublicKey == issueTx.senderPublicKey)
12- if (transactionByIssuer)
13- then if ((toBase58String(t.senderPublicKey) == ASigned))
14- then true
15- else if ((minimumTransfer >= t.amount))
16- then throw("Minimum transaction amount is 1,000 LuckyCoins")
17- else true
18- else false
19- case _ =>
20- throw("Not issue tx")
21- }
22- case t: ExchangeTransaction =>
23- if ((toBase58String(t.sellOrder.senderPublicKey) == ASigned))
24- then true
25- else {
26- let buy = sigVerify(t.buyOrder.bodyBytes, t.buyOrder.proofs[0], t.buyOrder.senderPublicKey)
27- if (buy)
28- then true
29- else if ((t.amount >= minimumTransfer))
30- then if ((t.price > minimumPrice))
31- then true
32- else throw("Transaction is not allowed by token-script")
33- else throw("Minimum order amount is 1,000 LuckyCoins")
34- }
35- case t: SetScriptTransaction =>
36- true
37- case t: ReissueTransaction =>
38- true
39- case t: MassTransferTransaction =>
40- if ((toBase58String(t.senderPublicKey) == ASigned))
41- then true
42- else false
43- case _ =>
44- throw("Transaction is not allowed by token-script")
45-}
1+# no script

github/deemru/w8io/6500d08 
78.83 ms