tx · SyV8XzXjkR41nPah4yKmGAYDTaVkDuSmwcXtM5DgVuH

3NAdsQwsE66yqqKHBviC4bYqNfc72PTo2oM:  -1.00000000 Waves

2019.03.23 17:49 [549125] smart asset 3NAdsQwsE66yqqKHBviC4bYqNfc72PTo2oM > SELF 0.00000000 Token

{ "type": 15, "id": "SyV8XzXjkR41nPah4yKmGAYDTaVkDuSmwcXtM5DgVuH", "fee": 100000000, "feeAssetId": null, "timestamp": 1553352654703, "version": 1, "sender": "3NAdsQwsE66yqqKHBviC4bYqNfc72PTo2oM", "senderPublicKey": "3u3aeyi8aVT6ouJPSgpXyNzPcKAfm4eggtkD1PRJKFpi", "proofs": [ "5gUMPDyQTACYmmxibJLJb17cgXu4avrW7EwvuaxupLc49aVSExBoud3Q1LgPNCEfHvXbDrC3Ra5JvbYqpXCwxXJP" ], "assetId": "5WEgwFcP4VXp4Gh34XgdZrbREHZmWVPRWaQ4eAbRj68p", "script": "base64:AgQAAAAGaXNzdWVyCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFU40mqx+iKFqCBRTN5WZYD5tUciBjTsOJ0BAAAAAZtYXN0ZXIJAQAAABFhZGRyZXNzRnJvbVN0cmluZwAAAAECAAAAIzNOQWRzUXdzRTY2eXFxS0hCdmlDNGJZcU5mYzcyUFRvMm9NBAAAAAdhc3NldElkAQAAACBC7BGgO/A+wbqMtKRPTS5WqqrfDvFXME8Dq9DLdj3oiQQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAmV4BQAAAAckbWF0Y2gwBAAAAARzZWxsCQAB9AAAAAMICAUAAAACZXgAAAAJc2VsbE9yZGVyAAAACWJvZHlCeXRlcwkAAZEAAAACCAgFAAAAAmV4AAAACXNlbGxPcmRlcgAAAAZwcm9vZnMAAAAAAAAAAAAICAUAAAACZXgAAAAJc2VsbE9yZGVyAAAAD3NlbmRlclB1YmxpY0tleQQAAAAIbWluUHJpY2UJAQAAAAdleHRyYWN0AAAAAQkABBoAAAACBQAAAAZpc3N1ZXICAAAACG1pblByaWNlBAAAAAVhbGVydAkBAAAAB2V4dHJhY3QAAAABCQAEHQAAAAIFAAAABmlzc3VlcgIAAAAFYWxlcnQDBQAAAARzZWxsBAAAAAZwZXJtaXQJAAAAAAAAAggFAAAAAmV4AAAABnNlbmRlcgUAAAAGbWFzdGVyAwkBAAAAASEAAAABBQAAAAZwZXJtaXQDCQAAZgAAAAIIBQAAAAJleAAAAAVwcmljZQUAAAAIbWluUHJpY2UGCQAAAgAAAAEJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgUAAAAFYWxlcnQCAAAABnNlbGw6IAkAAaUAAAABBQAAAARzZWxsAgAAAAdwZXJtaXQ6CQABpQAAAAEFAAAABnBlcm1pdAYGBm70xwY=", "chainId": 84, "height": 549125, "spentComplexity": 0 } View: original | compacted Prev: 81bjCx6G2XuABqHwRfQg1d2jQLuwBrddXvpJSXLDR4XE Next: ELNb86dg9F3JSgPHW3W4Rgejj5Vgan3285FnWYJ2ohok Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 2 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let issuer = Address(base58'3NAdsQwsE66yqqKHBviC4bYqNfc72PTo2oM')
4-let adminPublicKey = base58'3NAdsQwsE66yqqKHBviC4bYqNfc72PTo2oM'
4+let master = addressFromString("3NAdsQwsE66yqqKHBviC4bYqNfc72PTo2oM")
55 let assetId = base58'5WEgwFcP4VXp4Gh34XgdZrbREHZmWVPRWaQ4eAbRj68p'
66 match tx {
77 case ex: ExchangeTransaction =>
1010 let alert = extract(getString(issuer, "alert"))
1111 if (sell)
1212 then {
13- let permit = sigVerify(ex.sellOrder.bodyBytes, ex.sellOrder.proofs[0], adminPublicKey)
13+ let permit = (ex.sender == master)
1414 if (!(permit))
1515 then if ((ex.price > minPrice))
1616 then true
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 2 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let issuer = Address(base58'3NAdsQwsE66yqqKHBviC4bYqNfc72PTo2oM')
4-let adminPublicKey = base58'3NAdsQwsE66yqqKHBviC4bYqNfc72PTo2oM'
4+let master = addressFromString("3NAdsQwsE66yqqKHBviC4bYqNfc72PTo2oM")
55 let assetId = base58'5WEgwFcP4VXp4Gh34XgdZrbREHZmWVPRWaQ4eAbRj68p'
66 match tx {
77 case ex: ExchangeTransaction =>
88 let sell = sigVerify(ex.sellOrder.bodyBytes, ex.sellOrder.proofs[0], ex.sellOrder.senderPublicKey)
99 let minPrice = extract(getInteger(issuer, "minPrice"))
1010 let alert = extract(getString(issuer, "alert"))
1111 if (sell)
1212 then {
13- let permit = sigVerify(ex.sellOrder.bodyBytes, ex.sellOrder.proofs[0], adminPublicKey)
13+ let permit = (ex.sender == master)
1414 if (!(permit))
1515 then if ((ex.price > minPrice))
1616 then true
1717 else throw(((((alert + "sell: ") + toString(sell)) + "permit:") + toString(permit)))
1818 else true
1919 }
2020 else true
2121 case _ =>
2222 true
2323 }

github/deemru/w8io/026f985 
47.71 ms