tx · DKMWriWLvuR5yiXB2saEq32DL3xngrFGT5nkJ5p4eprN
3MrdwELR1n1XdJ6iBh7LRjPDyi7c13AkcLY: -0.01000000 Waves
2018.12.28 08:11 [424398] smart account 3MrdwELR1n1XdJ6iBh7LRjPDyi7c13AkcLY > SELF 0.00000000 Waves
{
"type": 13,
"id": "DKMWriWLvuR5yiXB2saEq32DL3xngrFGT5nkJ5p4eprN",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1545973886190,
"version": 1,
"sender": "3MrdwELR1n1XdJ6iBh7LRjPDyi7c13AkcLY",
"senderPublicKey": "7RgwZ4FcS4QiXjtXRJENwCVF88mWJiTVaBJ178YnBjyp",
"proofs": [
"3ZRtxojPudT6yaCn5PJgd71FDJqF6356N12udekBMHeaCAkQiSCbAA8pFPDEFwWb3fRADQEkfBACGNrcaFg78wAH"
],
"script": "base64:AQQAAAAHa2V5TmFtZQIAAAADa2V5BAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPRGF0YVRyYW5zYWN0aW9uBAAAAAJ0eAUAAAAHJG1hdGNoMAQAAAABeAkBAAAAB2V4dHJhY3QAAAABCQAEGgAAAAIIBQAAAAJ0eAAAAAZzZW5kZXIFAAAAB2tleU5hbWUJAABmAAAAAgUAAAABeAAAAAAAAAAAKgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAnR4BQAAAAckbWF0Y2gwBgfj5bn/",
"chainId": 84,
"height": 424398,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: EYGhFQdbqbdRvjDWT8soc6qttnQ4qBFUbn6XVFxmisWH
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 1 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let keyName = "key" |
---|
| 4 | + | match tx { |
---|
| 5 | + | case tx: DataTransaction => |
---|
| 6 | + | let x = extract(getInteger(tx.sender, keyName)) |
---|
| 7 | + | (x > 42) |
---|
| 8 | + | case tx: SetScriptTransaction => |
---|
| 9 | + | true |
---|
| 10 | + | case _ => |
---|
| 11 | + | false |
---|
| 12 | + | } |
---|