tx · H2WbDdWTpiakndtVhh5AgMhmxZJhXfZXcS235ChK9ysx

3NAdsQwsE66yqqKHBviC4bYqNfc72PTo2oM:  -1.00000000 Waves

2019.03.22 22:26 [547947] smart asset 3NAdsQwsE66yqqKHBviC4bYqNfc72PTo2oM > SELF 0.00000000 Token

{ "type": 15, "id": "H2WbDdWTpiakndtVhh5AgMhmxZJhXfZXcS235ChK9ysx", "fee": 100000000, "feeAssetId": null, "timestamp": 1553282789270, "version": 1, "sender": "3NAdsQwsE66yqqKHBviC4bYqNfc72PTo2oM", "senderPublicKey": "3u3aeyi8aVT6ouJPSgpXyNzPcKAfm4eggtkD1PRJKFpi", "proofs": [ "P1yqaMYQZxUbZG65L37SrHRPqw5EEe4L5Jo5X9P38JitzjhD2Lv6uy7U9zLqUUAb7HdoSyXejV5VHD3iZX3oVsq" ], "assetId": "5WEgwFcP4VXp4Gh34XgdZrbREHZmWVPRWaQ4eAbRj68p", "script": "base64:AgQAAAAGaXNzdWVyCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFU40mqx+iKFqCBRTN5WZYD5tUciBjTsOJ0BAAAAAdhc3NldElkAQAAACBC7BGgO/A+wbqMtKRPTS5WqqrfDvFXME8Dq9DLdj3oiQQAAAAFQlRDSWQBAAAAILnnP6qPECbbo926KJMYdX6tAqIA2JrhOgnWxVE3CxuNBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgQAAAACZXgFAAAAByRtYXRjaDAEAAAABHNlbGwJAAH0AAAAAwgIBQAAAAJleAAAAAlzZWxsT3JkZXIAAAAJYm9keUJ5dGVzCQABkQAAAAIICAUAAAACZXgAAAAJc2VsbE9yZGVyAAAABnByb29mcwAAAAAAAAAAAAgIBQAAAAJleAAAAAlzZWxsT3JkZXIAAAAPc2VuZGVyUHVibGljS2V5BAAAAARwYWlyCQEAAAAJQXNzZXRQYWlyAAAAAgUAAAAHYXNzZXRJZAUAAAAEdW5pdAQAAAAFcHJpY2UJAQAAAAdleHRyYWN0AAAAAQkABBoAAAACBQAAAAZpc3N1ZXICAAAABXByaWNlAwUAAAAEc2VsbAMJAAAAAAAAAggICAUAAAACZXgAAAAJc2VsbE9yZGVyAAAACWFzc2V0UGFpcgAAAApwcmljZUFzc2V0BQAAAAVCVENJZAkAAGcAAAACBQAAAAVwcmljZQgFAAAAAmV4AAAABXByaWNlBwYG6Y9U1g==", "chainId": 84, "height": 547947, "spentComplexity": 0 } View: original | compacted Prev: none Next: 3XxrBP5PBJ4ZX2UVqovcK85LueM5ofPJ1rdarhoHM8GV Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 2 #-}
2+{-# CONTENT_TYPE EXPRESSION #-}
3+let issuer = Address(base58'3NAdsQwsE66yqqKHBviC4bYqNfc72PTo2oM')
4+let assetId = base58'5WEgwFcP4VXp4Gh34XgdZrbREHZmWVPRWaQ4eAbRj68p'
5+let BTCId = base58'DWgwcZTMhSvnyYCoWLRUXXSH1RSkzThXLJhww9gwkqdn'
6+match tx {
7+ case ex: ExchangeTransaction =>
8+ let sell = sigVerify(ex.sellOrder.bodyBytes, ex.sellOrder.proofs[0], ex.sellOrder.senderPublicKey)
9+ let pair = AssetPair(assetId, unit)
10+ let price = extract(getInteger(issuer, "price"))
11+ if (sell)
12+ then if ((ex.sellOrder.assetPair.priceAsset == BTCId))
13+ then (price >= ex.price)
14+ else false
15+ else true
16+ case _ =>
17+ true
18+}

github/deemru/w8io/026f985 
37.83 ms