tx · 3LgEbsqo4uyAjphoS5psjENQCwD8Bo2Lk4rmTfSu68ic
3Mw2s9HwPdXxC7KZzVtnerd684wqSZ2YmHe: -0.01000000 Waves
2023.01.22 00:06 [2415242] smart account 3Mw2s9HwPdXxC7KZzVtnerd684wqSZ2YmHe > SELF 0.00000000 Waves
{
"type": 13,
"id": "3LgEbsqo4uyAjphoS5psjENQCwD8Bo2Lk4rmTfSu68ic",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1674335205068,
"version": 2,
"chainId": 84,
"sender": "3Mw2s9HwPdXxC7KZzVtnerd684wqSZ2YmHe",
"senderPublicKey": "8ADhAH7ha2nGZJJ1qDHsGZkQH5fNKp7dRFaj1foB5Cqk",
"proofs": [
"4VStwQmWJojQn1LH467K1WwJQgy98LYGsdXkuLhKHAEKSHzZCS8N9iVbRogpADsmwCxHmQsizGd7YDdSPXnrLhvx"
],
"script": "base64:BQQAAAAJbXlBc3NldElkAQAAACAUJ/iJZH5ZbTDyu38HDtrRuhKjrntb9xZIbLCLCEB3lwQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABU9yZGVyBAAAAAFvBQAAAAckbWF0Y2gwBAAAABFpc1dhdmVzUHJpY2VBc3NldAkBAAAAASEAAAABCQEAAAAJaXNEZWZpbmVkAAAAAQgIBQAAAAFvAAAACWFzc2V0UGFpcgAAAApwcmljZUFzc2V0BAAAAAlyaWdodFBhaXIDCQAAAAAAAAIICAUAAAABbwAAAAlhc3NldFBhaXIAAAALYW1vdW50QXNzZXQFAAAACW15QXNzZXRJZAUAAAARaXNXYXZlc1ByaWNlQXNzZXQHAwMDCQAB9AAAAAMIBQAAAAFvAAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAABbwAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAFvAAAAD3NlbmRlclB1YmxpY0tleQUAAAAJcmlnaHRQYWlyBwkAAAAAAAACCAUAAAABbwAAAAVwcmljZQAAAAAAAA9CQAcJAAAAAAAAAggFAAAAAW8AAAAJb3JkZXJUeXBlBQAAAANCdXkHBu/+gaM=",
"height": 2415242,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: y6WKvMiJSHBz7bGrnVQDNHkJJodLi9qB3XtWd13dWyY
Next: CjaavLSkJ3gz3sUamrxqWcB3VHqLCxdeGjL8dNE18HA1
Diff:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let myAssetId = base58'2MgWFiWRBDSboHpj7PTC2CZfVA8EzXJB8X5vxpSgRKgi' |
---|
4 | | - | let senderPublicKey = base58'CBPmcb8KZMwhakNhECGYzad54tQXotGdRSngabhoym36' |
---|
5 | 4 | | match tx { |
---|
6 | 5 | | case o: Order => |
---|
7 | 6 | | let isWavesPriceAsset = !(isDefined(o.assetPair.priceAsset)) |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let myAssetId = base58'2MgWFiWRBDSboHpj7PTC2CZfVA8EzXJB8X5vxpSgRKgi' |
---|
4 | | - | let senderPublicKey = base58'CBPmcb8KZMwhakNhECGYzad54tQXotGdRSngabhoym36' |
---|
5 | 4 | | match tx { |
---|
6 | 5 | | case o: Order => |
---|
7 | 6 | | let isWavesPriceAsset = !(isDefined(o.assetPair.priceAsset)) |
---|
8 | 7 | | let rightPair = if ((o.assetPair.amountAsset == myAssetId)) |
---|
9 | 8 | | then isWavesPriceAsset |
---|
10 | 9 | | else false |
---|
11 | 10 | | if (if (if (sigVerify(o.bodyBytes, o.proofs[0], o.senderPublicKey)) |
---|
12 | 11 | | then rightPair |
---|
13 | 12 | | else false) |
---|
14 | 13 | | then (o.price == 1000000) |
---|
15 | 14 | | else false) |
---|
16 | 15 | | then (o.orderType == Buy) |
---|
17 | 16 | | else false |
---|
18 | 17 | | case _ => |
---|
19 | 18 | | true |
---|
20 | 19 | | } |
---|