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