tx · BGyXXqvAHHcPdhERyUEXcHZ8WrUGX2FxXmkPTabXbf3i

3N71obtK43EvdxuYsftnexqhdu8YTt1sxfA:  -1.00000000 Waves

2019.03.24 15:16 [550406] smart asset 3N71obtK43EvdxuYsftnexqhdu8YTt1sxfA > SELF 0 A001

{ "type": 15, "id": "BGyXXqvAHHcPdhERyUEXcHZ8WrUGX2FxXmkPTabXbf3i", "fee": 100000000, "feeAssetId": null, "timestamp": 1553429792029, "version": 1, "sender": "3N71obtK43EvdxuYsftnexqhdu8YTt1sxfA", "senderPublicKey": "7zi4V42c417fKnW1ubvGvw3RRsaaQfGCD8w8RHCF43ob", "proofs": [ "2Lqz2QhoMYWSpnWd1AEwfkL9DdvSmEptXiHqjXnm5vmnEZWxcVNjB1mf7f6LJeXJuQRLHNqLUgkcxZ1qt47zqaBQ" ], "assetId": "6xUri27gR2LR26jXyWSn4FF5YQRNHZt9ouBb9gfQfGsx", "script": "base64:AgQAAAAGc3lzdGVtAgAAACw3emk0VjQyYzQxN2ZLblcxdWJ2R3Z3M1JSc2FhUWZHQ0Q4dzhSSENGNDNvYgQAAAADYWR2AgAAACw3emk0VjQyYzQxN2ZLblcxdWJ2R3Z3M1JSc2FhUWZHQ0Q4dzhSSENGNDNvYgQAAAAEdGVjaAIAAAArV0hGWkwyc2VEemM0Y2dIRXk1alQ3TFN0dDV4cHF6dFZmQjU4VnhoaGk4VAQAAAAKc3RhcnRQcmljZQAAAAAABfXhAAQAAAAKZGVsdGFQcmljZQAAAAAAAA9CQAQAAAALc3RhcnRIZWlnaHQAAAAAAAAIZSQEAAAAC2RlbHRhSGVpZ2h0AAAAAAAAAAADBAAAAAl0aW1lT3JkZXIJAABoAAAAAgkAAGgAAAACAAAAAAAAAAAFAAAAAAAAAAA8AAAAAAAAAAPoBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAABZQUAAAAHJG1hdG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mF0aW9uCAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAACXRpbWVzdGFtcAYJAAACAAAAAQIAAAAJVElNRSBTRUxMCQAAAgAAAAEJAAEsAAAAAgIAAAAXTWluaW11bSBvcmRlciBwcmljZSBpcyAJAAGkAAAAAQUAAAAMbWluaW11bVByaWNlCQAAAgAAAAECAAAAFlByb2hpYml0ZWQgYnkgY29udHJhY3QwEwy6", "chainId": 84, "height": 550406, "spentComplexity": 0 } View: original | compacted Prev: HsdWPEfMh7YfzydQjUTPkUoJQue1fFHkTfZ1jHnjgQb Next: 5PRDWzvccp7uYaTz6cv7F9Yqaw4bfY1dDMmhoUcYwkmD Diff:
OldNewDifferences
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let system = "7zi4V42c417fKnW1ubvGvw3RRsaaQfGCD8w8RHCF43ob"
44 let adv = "7zi4V42c417fKnW1ubvGvw3RRsaaQfGCD8w8RHCF43ob"
5-let tech = "7zi4V42c417fKnW1ubvGvw3RRsaaQfGCD8w8RHCF43ob"
5+let tech = "WHFZL2seDzc4cgHEy5jT7LStt5xpqztVfB58Vxhhi8T"
66 let startPrice = 100000000
77 let deltaPrice = 1000000
88 let startHeight = 550180
3838 then true
3939 else false
4040 case e: ExchangeTransaction =>
41- if (if (if ((toBase58String(e.sellOrder.senderPublicKey) == system))
42- then true
43- else (toBase58String(e.sellOrder.senderPublicKey) == adv))
41+ if (if ((toBase58String(e.sellOrder.senderPublicKey) == system))
4442 then true
4543 else (toBase58String(e.sellOrder.senderPublicKey) == tech))
4644 then true
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 2 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let system = "7zi4V42c417fKnW1ubvGvw3RRsaaQfGCD8w8RHCF43ob"
44 let adv = "7zi4V42c417fKnW1ubvGvw3RRsaaQfGCD8w8RHCF43ob"
5-let tech = "7zi4V42c417fKnW1ubvGvw3RRsaaQfGCD8w8RHCF43ob"
5+let tech = "WHFZL2seDzc4cgHEy5jT7LStt5xpqztVfB58Vxhhi8T"
66 let startPrice = 100000000
77 let deltaPrice = 1000000
88 let startHeight = 550180
99 let deltaHeight = 3
1010 let timeOrder = ((5 * 60) * 1000)
1111 match tx {
1212 case e: TransferTransaction =>
1313 if (if (if ((toBase58String(e.senderPublicKey) == system))
1414 then true
1515 else (toBase58String(e.senderPublicKey) == adv))
1616 then true
1717 else (toBase58String(e.senderPublicKey) == tech))
1818 then true
1919 else false
2020 case e: ReissueTransaction =>
2121 if ((toBase58String(e.senderPublicKey) == system))
2222 then true
2323 else false
2424 case e: BurnTransaction =>
2525 if ((toBase58String(e.senderPublicKey) == system))
2626 then true
2727 else false
2828 case e: MassTransferTransaction =>
2929 if (if (if ((toBase58String(e.senderPublicKey) == system))
3030 then true
3131 else (toBase58String(e.senderPublicKey) == adv))
3232 then true
3333 else (toBase58String(e.senderPublicKey) == tech))
3434 then true
3535 else false
3636 case e: SetAssetScriptTransaction =>
3737 if ((toBase58String(e.senderPublicKey) == system))
3838 then true
3939 else false
4040 case e: ExchangeTransaction =>
41- if (if (if ((toBase58String(e.sellOrder.senderPublicKey) == system))
42- then true
43- else (toBase58String(e.sellOrder.senderPublicKey) == adv))
41+ if (if ((toBase58String(e.sellOrder.senderPublicKey) == system))
4442 then true
4543 else (toBase58String(e.sellOrder.senderPublicKey) == tech))
4644 then true
4745 else {
4846 let minimumPrice = (startPrice + (((height - startHeight) / deltaHeight) * deltaPrice))
4947 let orderPrice = (e.price / 100000000)
5048 let buy = sigVerify(e.buyOrder.bodyBytes, e.buyOrder.proofs[0], e.buyOrder.senderPublicKey)
5149 if (buy)
5250 then if ((orderPrice >= startPrice))
5351 then if (isDefined(e.buyOrder.assetPair.priceAsset))
5452 then false
5553 else true
5654 else throw(("Minimum order price is " + toString(startPrice)))
5755 else if ((orderPrice >= minimumPrice))
5856 then if (isDefined(e.sellOrder.assetPair.priceAsset))
5957 then false
6058 else if ((timeOrder >= (e.sellOrder.expiration - e.sellOrder.timestamp)))
6159 then true
6260 else throw("TIME SELL")
6361 else throw(("Minimum order price is " + toString(minimumPrice)))
6462 }
6563 case _ =>
6664 throw("Prohibited by contract")
6765 }

github/deemru/w8io/026f985 
24.50 ms