tx · 9HpWZHps8Drr1JAB7Aa4SRdPB3JizpTtYHdqquZW6nCK
3MyRC8tj24nxC7bjrun8fNxEs3EmesUTdYs: -1.00000000 Waves
2019.02.13 10:10 [493027] smart asset 3MyRC8tj24nxC7bjrun8fNxEs3EmesUTdYs > SELF 0 agmagm
{
"type": 15,
"id": "9HpWZHps8Drr1JAB7Aa4SRdPB3JizpTtYHdqquZW6nCK",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1550041897807,
"version": 1,
"sender": "3MyRC8tj24nxC7bjrun8fNxEs3EmesUTdYs",
"senderPublicKey": "42kGwCUBpo5d1eZ3eLcFz9FxHdZVtSbsF3te3A2Twriw",
"proofs": [
"4RzcR7HdHWYzpD1BXYhXMzYhmq7YTFXFsdEP3Qk6VM2EHumGPQo2nioQjiDHpnGUZVB11nNU7XayivnTtqzgtYhJ"
],
"assetId": "47rTapBp5MDy8CnTdTSwwt2vtBJeffDaaar1nmkXZQDx",
"script": "base64:AQQAAAANaXNzdWVyQWRkcmVzcwkBAAAAEWFkZHJlc3NGcm9tU3RyaW5nAAAAAQIAAAAjM015UkM4dGoyNG54QzdianJ1bjhmTnhFczNFbWVzVVRkWXMEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAN0dHgFAAAAByRtYXRjaDAJAAAAAAAAAggFAAAAA3R0eAAAAAZzZW5kZXIFAAAADWlzc3VlckFkZHJlc3MDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAA2V0eAUAAAAHJG1hdGNoMAMJAABnAAAAAggFAAAAA2V0eAAAAAZhbW91bnQAAAAAAAAAAAoJAABnAAAAAggFAAAAA2V0eAAAAAVwcmljZQAAAAAABfXhAAcDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAGVNldEFzc2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAABHNjdHgFAAAAByRtYXRjaDAGB8IIwuQ=",
"chainId": 84,
"height": 493027,
"spentComplexity": 0
}
View: original | compacted
Prev: ArjGxcAHaPj8qPtGCKs8L8DKzFTt7GWQP7UouaG4j6nH
Next: AfFKCUmtMCbPWTAg3yKCn1fzyRaJVi85BaEXGdEYo7By
Diff:
Old | New | | Differences |
---|
5 | 5 | | case ttx: TransferTransaction => |
---|
6 | 6 | | (ttx.sender == issuerAddress) |
---|
7 | 7 | | case etx: ExchangeTransaction => |
---|
8 | | - | if (if ((etx.amount >= 10)) |
---|
9 | | - | then (etx.buyOrder.price >= 100000000) |
---|
10 | | - | else false) |
---|
11 | | - | then (etx.sellOrder.price >= 100000000) |
---|
| 8 | + | if ((etx.amount >= 10)) |
---|
| 9 | + | then (etx.price >= 100000000) |
---|
12 | 10 | | else false |
---|
13 | 11 | | case sctx: SetAssetScriptTransaction => |
---|
14 | 12 | | true |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let issuerAddress = addressFromString("3MyRC8tj24nxC7bjrun8fNxEs3EmesUTdYs") |
---|
4 | 4 | | match tx { |
---|
5 | 5 | | case ttx: TransferTransaction => |
---|
6 | 6 | | (ttx.sender == issuerAddress) |
---|
7 | 7 | | case etx: ExchangeTransaction => |
---|
8 | | - | if (if ((etx.amount >= 10)) |
---|
9 | | - | then (etx.buyOrder.price >= 100000000) |
---|
10 | | - | else false) |
---|
11 | | - | then (etx.sellOrder.price >= 100000000) |
---|
| 8 | + | if ((etx.amount >= 10)) |
---|
| 9 | + | then (etx.price >= 100000000) |
---|
12 | 10 | | else false |
---|
13 | 11 | | case sctx: SetAssetScriptTransaction => |
---|
14 | 12 | | true |
---|
15 | 13 | | case _ => |
---|
16 | 14 | | false |
---|
17 | 15 | | } |
---|