tx · D9QH6snHmLMwRY27kseMro3LPgfqHZPj11VyAfwExGpX
3MtE9J1EV4niTByyzmG88XpvgnrUtFLYnDv: -1.00000000 Waves
2019.07.04 14:08 [570601] smart asset 3MtE9J1EV4niTByyzmG88XpvgnrUtFLYnDv > SELF 0.00 Ben smart asset
{
"type": 15,
"id": "D9QH6snHmLMwRY27kseMro3LPgfqHZPj11VyAfwExGpX",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1562238524897,
"version": 1,
"sender": "3MtE9J1EV4niTByyzmG88XpvgnrUtFLYnDv",
"senderPublicKey": "FtD7f6HHGyvZZxPjAEe5XyAkPsuCXShqzE1osGm4Lj65",
"proofs": [
"3co11jw62JGarV23mnj9TqVeSzM18VXyoUCsqYBzagRvoSZGEEoGn16eABZ21iKEnJ3nbGoFTMnXBu4L7wE7aiom"
],
"assetId": "5oGCQvr1d4iPD3gsaYmTbXf95UcZqhU2PZjpG3yq2256",
"script": "base64:AwQAAAAGaXNzdWVyCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUL0rtfh00w9AxW1drw2/ppfpHYUNQbHVJBAAAAApleHBpcmF0aW9uAAAAAAAACNNgBAAAAAckbWF0Y2gwBQAAAAJ0eAMDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAElJlaXNzdWVUcmFuc2FjdGlvbgYJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPQnVyblRyYW5zYWN0aW9uBAAAAAJicgUAAAAHJG1hdGNoMAQAAAAIc3VwcGxpZXIJAQAAAAdleHRyYWN0AAAAAQkAA+wAAAABCAUAAAACYnIAAAAHYXNzZXRJZAkAAAAAAAACCAUAAAAIc3VwcGxpZXIAAAAPaXNzdWVyUHVibGljS2V5CAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAAFlBQAAAAckbWF0Y2gwBAAAAAl3aXRoV2F2ZXMDCQEAAAABIQAAAAEJAQAAAAlpc0RlZmluZWQAAAABCAgIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIAAAAKcHJpY2VBc3NldAYJAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEICAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAACWFzc2V0UGFpcgAAAAthbW91bnRBc3NldAMJAABnAAAAAgUAAAAKZXhwaXJhdGlvbgUAAAAGaGVpZ2h0BQAAAAl3aXRoV2F2ZXMHAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwCQAAZwAAAAIFAAAACmV4cGlyYXRpb24FAAAABmhlaWdodAfdjOxl",
"chainId": 84,
"height": 570601,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 3 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let issuer = Address(base58'3MtE9J1EV4niTByyzmG88XpvgnrUtFLYnDv') |
---|
| 4 | + | let expiration = 578400 |
---|
| 5 | + | match tx { |
---|
| 6 | + | case br: ReissueTransaction|BurnTransaction => |
---|
| 7 | + | let supplier = extract(assetInfo(br.assetId)) |
---|
| 8 | + | (supplier.issuerPublicKey == tx.senderPublicKey) |
---|
| 9 | + | case e: ExchangeTransaction => |
---|
| 10 | + | let withWaves = if (!(isDefined(e.sellOrder.assetPair.priceAsset))) |
---|
| 11 | + | then true |
---|
| 12 | + | else !(isDefined(e.sellOrder.assetPair.amountAsset)) |
---|
| 13 | + | if ((expiration >= height)) |
---|
| 14 | + | then withWaves |
---|
| 15 | + | else false |
---|
| 16 | + | case t: TransferTransaction => |
---|
| 17 | + | (expiration >= height) |
---|
| 18 | + | case _ => |
---|
| 19 | + | false |
---|
| 20 | + | } |
---|