tx · FtrxhdaJ3zV12nB6Zoicm9haACpYXPstTZQuYLhunRNG

3NAdsQwsE66yqqKHBviC4bYqNfc72PTo2oM:  -1.00000000 Waves

2019.03.23 18:19 [549156] smart asset 3NAdsQwsE66yqqKHBviC4bYqNfc72PTo2oM > SELF 0.00000000 Token

{ "type": 15, "id": "FtrxhdaJ3zV12nB6Zoicm9haACpYXPstTZQuYLhunRNG", "fee": 100000000, "feeAssetId": null, "timestamp": 1553354348914, "version": 1, "sender": "3NAdsQwsE66yqqKHBviC4bYqNfc72PTo2oM", "senderPublicKey": "3u3aeyi8aVT6ouJPSgpXyNzPcKAfm4eggtkD1PRJKFpi", "proofs": [ "4dCYPTG5TD2MK9kCCVRJznQQK1M2GtZ1q5t164MtrQN1STth6CsvDPPdLvPn6aCu9zABkD18pub9bBwdwHZJn9bR" ], "assetId": "5WEgwFcP4VXp4Gh34XgdZrbREHZmWVPRWaQ4eAbRj68p", "script": "base64:AgQAAAAGaXNzdWVyCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFU40mqx+iKFqCBRTN5WZYD5tUciBjTsOJ0BAAAAAdhc3NldElkAQAAACBC7BGgO/A+wbqMtKRPTS5WqqrfDvFXME8Dq9DLdj3oiQQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAmV4BQAAAAckbWF0Y2gwBAAAAARzZWxsCQAB9AAAAAMICAUAAAACZXgAAAAJc2VsbE9yZGVyAAAACWJvZHlCeXRlcwkAAZEAAAACCAgFAAAAAmV4AAAACXNlbGxPcmRlcgAAAAZwcm9vZnMAAAAAAAAAAAAICAUAAAACZXgAAAAJc2VsbE9yZGVyAAAAD3NlbmRlclB1YmxpY0tleQQAAAAIbWluUHJpY2UJAQAAAAdleHRyYWN0AAAAAQkABBoAAAACBQAAAAZpc3N1ZXICAAAACG1pblByaWNlBAAAAAVhbGVydAkBAAAAB2V4dHJhY3QAAAABCQAEHQAAAAIFAAAABmlzc3VlcgIAAAAFYWxlcnQDBQAAAARzZWxsBAAAAAZwZXJtaXQJAAAAAAAAAggIBQAAAAJleAAAAAlzZWxsT3JkZXIAAAAGc2VuZGVyBQAAAAZpc3N1ZXIDCQEAAAABIQAAAAEFAAAABnBlcm1pdAMJAABmAAAAAggFAAAAAmV4AAAABXByaWNlBQAAAAhtaW5QcmljZQYJAAACAAAAAQkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACBQAAAAVhbGVydAIAAAAGc2VsbDogCQABpQAAAAEFAAAABHNlbGwCAAAAB3Blcm1pdDoJAAGlAAAAAQUAAAAGcGVybWl0BgYGTxdwMA==", "chainId": 84, "height": 549156, "spentComplexity": 0 } View: original | compacted Prev: HA4AQDTx27yxYWafdH7zfEK9gZM8ZUM7UkZk8PDSEWxP Next: GniEWX7esG5f8WoDnbE3du8JmpGWZTQ8Fyn4WVeGVETe Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 2 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let issuer = Address(base58'3NAdsQwsE66yqqKHBviC4bYqNfc72PTo2oM')
4-let master = addressFromString("3NAdsQwsE66yqqKHBviC4bYqNfc72PTo2oM")
54 let assetId = base58'5WEgwFcP4VXp4Gh34XgdZrbREHZmWVPRWaQ4eAbRj68p'
65 match tx {
76 case ex: ExchangeTransaction =>
109 let alert = extract(getString(issuer, "alert"))
1110 if (sell)
1211 then {
13- let permit = (ex.sellOrder.sender == master)
12+ let permit = (ex.sellOrder.sender == issuer)
1413 if (!(permit))
1514 then if ((ex.price > minPrice))
1615 then true
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 2 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let issuer = Address(base58'3NAdsQwsE66yqqKHBviC4bYqNfc72PTo2oM')
4-let master = addressFromString("3NAdsQwsE66yqqKHBviC4bYqNfc72PTo2oM")
54 let assetId = base58'5WEgwFcP4VXp4Gh34XgdZrbREHZmWVPRWaQ4eAbRj68p'
65 match tx {
76 case ex: ExchangeTransaction =>
87 let sell = sigVerify(ex.sellOrder.bodyBytes, ex.sellOrder.proofs[0], ex.sellOrder.senderPublicKey)
98 let minPrice = extract(getInteger(issuer, "minPrice"))
109 let alert = extract(getString(issuer, "alert"))
1110 if (sell)
1211 then {
13- let permit = (ex.sellOrder.sender == master)
12+ let permit = (ex.sellOrder.sender == issuer)
1413 if (!(permit))
1514 then if ((ex.price > minPrice))
1615 then true
1716 else throw(((((alert + "sell: ") + toString(sell)) + "permit:") + toString(permit)))
1817 else true
1918 }
2019 else true
2120 case _ =>
2221 true
2322 }

github/deemru/w8io/169f3d6 
30.70 ms