tx · 2EyKhKHQsyro4JZKNv5KuEzzQXbfHRGNwRuheFBCmGVi
3MsQt334vrC8FeNLzusm8XXky1Y6odcNBS9: -1.00000000 Waves
2019.03.18 18:38 [541865] smart asset 3MsQt334vrC8FeNLzusm8XXky1Y6odcNBS9 > SELF 0.000 Asset2
{
"type": 15,
"id": "2EyKhKHQsyro4JZKNv5KuEzzQXbfHRGNwRuheFBCmGVi",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1552923495983,
"version": 1,
"sender": "3MsQt334vrC8FeNLzusm8XXky1Y6odcNBS9",
"senderPublicKey": "3xEmrEg13dR6thnyGsjUiawYNSpv7Zv2iFi4KYxA8ngf",
"proofs": [
"26KRpNtUCu2tNobt2NGasbg2QEmBddpuA45i6Jpx16ymL2XJyvJBg58NEUFd5n1TgX5x1zcdhmCDX8pHUozETwwu"
],
"assetId": "45HNfeJAbioJpmBt6aFvQCf78KPvvhnW6gKXrSh38gd3",
"script": "base64:AgQAAAAERGF0YQkBAAAAB0FkZHJlc3MAAAABAQAAABoBVCZapAUIhSRM8CoTJe+vvUwnwafg3oXtEgQAAAAKZW5hYmxlQnVybgkBAAAAB2V4dHJhY3QAAAABCQAEGwAAAAIFAAAABERhdGECAAAACmVuYWJsZUJ1cm4EAAAACW1pbkFtb3VudAkBAAAAB2V4dHJhY3QAAAABCQAEGgAAAAIFAAAABERhdGECAAAACW1pbkFtb3VudAQAAAAPZXhwaXJhdGlvblN0YXJ0CQAEGgAAAAIFAAAABERhdGECAAAAD2V4cGlyYXRpb25TdGFydAQAAAANZXhwaXJhdGlvbkVuZAkBAAAAB2V4dHJhY3QAAAABCQAEGgAAAAIFAAAABERhdGECAAAADWV4cGlyYXRpb25FbmQDBQAAAAplbmFibGVCdXJuBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgQAAAAIZXhjaGFuZ2UFAAAAByRtYXRjaDAEAAAABHNlbGwJAAH0AAAAAwgIBQAAAAhleGNoYW5nZQAAAAlzZWxsT3JkZXIAAAAJYm9keUJ5dGVzCQABkQAAAAIICAUAAAAIZXhjaGFuZ2UAAAAJc2VsbE9yZGVyAAAABnByb29mcwAAAAAAAAAAAAgIBQAAAAhleGNoYW5nZQAAAAlzZWxsT3JkZXIAAAAPc2VuZGVyUHVibGljS2V5AwUAAAAEc2VsbAMJAABmAAAAAgUAAAAJbWluQW1vdW50CAUAAAAIZXhjaGFuZ2UAAAAGYW1vdW50BwYGBgQAAAAHJG1hdGNoMAUAAAACdHgHzwHYCQ==",
"chainId": 84,
"height": 541865,
"spentComplexity": 0
}
View: original | compacted
Prev: 5PzjWL4bE865x1a2M4tL1WuDeFex2Uz9VJcCDsQXpfUX
Next: none
Diff:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 2 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let Data = Address(base58'3MsQt334vrC8FeNLzusm8XXky1Y6odcNBS9') |
---|
4 | | - | let EnableBurn = extract(getBoolean(Data, "EnableBurn")) |
---|
5 | | - | let minAmount = extract(getInteger(Data, "value")) |
---|
6 | | - | let expirationStart = getInteger(Data, "value") |
---|
7 | | - | let expirationEnd = extract(getInteger(Data, "value")) |
---|
8 | | - | if (EnableBurn) |
---|
| 4 | + | let enableBurn = extract(getBoolean(Data, "enableBurn")) |
---|
| 5 | + | let minAmount = extract(getInteger(Data, "minAmount")) |
---|
| 6 | + | let expirationStart = getInteger(Data, "expirationStart") |
---|
| 7 | + | let expirationEnd = extract(getInteger(Data, "expirationEnd")) |
---|
| 8 | + | if (enableBurn) |
---|
9 | 9 | | then match tx { |
---|
10 | 10 | | case exchange: ExchangeTransaction => |
---|
11 | 11 | | let sell = sigVerify(exchange.sellOrder.bodyBytes, exchange.sellOrder.proofs[0], exchange.sellOrder.senderPublicKey) |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 2 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let Data = Address(base58'3MsQt334vrC8FeNLzusm8XXky1Y6odcNBS9') |
---|
4 | | - | let EnableBurn = extract(getBoolean(Data, "EnableBurn")) |
---|
5 | | - | let minAmount = extract(getInteger(Data, "value")) |
---|
6 | | - | let expirationStart = getInteger(Data, "value") |
---|
7 | | - | let expirationEnd = extract(getInteger(Data, "value")) |
---|
8 | | - | if (EnableBurn) |
---|
| 4 | + | let enableBurn = extract(getBoolean(Data, "enableBurn")) |
---|
| 5 | + | let minAmount = extract(getInteger(Data, "minAmount")) |
---|
| 6 | + | let expirationStart = getInteger(Data, "expirationStart") |
---|
| 7 | + | let expirationEnd = extract(getInteger(Data, "expirationEnd")) |
---|
| 8 | + | if (enableBurn) |
---|
9 | 9 | | then match tx { |
---|
10 | 10 | | case exchange: ExchangeTransaction => |
---|
11 | 11 | | let sell = sigVerify(exchange.sellOrder.bodyBytes, exchange.sellOrder.proofs[0], exchange.sellOrder.senderPublicKey) |
---|
12 | 12 | | if (sell) |
---|
13 | 13 | | then if ((minAmount > exchange.amount)) |
---|
14 | 14 | | then false |
---|
15 | 15 | | else true |
---|
16 | 16 | | else true |
---|
17 | 17 | | case _ => |
---|
18 | 18 | | true |
---|
19 | 19 | | } |
---|
20 | 20 | | else match tx { |
---|
21 | 21 | | case _ => |
---|
22 | 22 | | false |
---|
23 | 23 | | } |
---|