tx · DkkcJoE8mMzhQwPZ59kTfVqtrFe5kQAjo9Ypsaej4Y6e
3MqUBUboZKK2jPJKPJb7ZSfBpnkfwwzjsLM: -0.01000000 Waves
2019.03.16 12:21 [538523] smart account 3MqUBUboZKK2jPJKPJb7ZSfBpnkfwwzjsLM > SELF 0.00000000 Waves
{
"type": 13,
"id": "DkkcJoE8mMzhQwPZ59kTfVqtrFe5kQAjo9Ypsaej4Y6e",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1552728107586,
"version": 1,
"sender": "3MqUBUboZKK2jPJKPJb7ZSfBpnkfwwzjsLM",
"senderPublicKey": "EiDanEm9gthY3Md8gUvTzyEJFoZhQrTjHAbkdGpsfSff",
"proofs": [
"2PgdFZHubwsdUyoeudYBYCUXXB2fSdjVHVh8NibS2Y6oeppeQJdtoqaSvva5RKnbowpKNVDfhNvt2V42utgT7J57"
],
"script": "base64:AgQAAAAERGF0YQkBAAAAB0FkZHJlc3MAAAABAQAAABoBVBEKMiJm+AUz4Do8gH9FBqaZ6LJGHiIBygQAAAAFdmFsdWUJAQAAAAdleHRyYWN0AAAAAQkABBoAAAACBQAAAAREYXRhAgAAAAV2YWx1ZQQAAAAHa2V5TmFtZQIAAAAGYW1vdW50BAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPRGF0YVRyYW5zYWN0aW9uBAAAAAJ0eAUAAAAHJG1hdGNoMAQAAAADdmFsCQEAAAAHZXh0cmFjdAAAAAEJAAQaAAAAAggFAAAAAnR4AAAABnNlbmRlcgUAAAAHa2V5TmFtZQkAAGYAAAACBQAAAAV2YWx1ZQUAAAADdmFsB6keK/Y=",
"chainId": 84,
"height": 538523,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 2 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let Data = Address(base58'3MqUBUboZKK2jPJKPJb7ZSfBpnkfwwzjsLM') |
---|
| 4 | + | let value = extract(getInteger(Data, "value")) |
---|
| 5 | + | let keyName = "amount" |
---|
| 6 | + | match tx { |
---|
| 7 | + | case tx: DataTransaction => |
---|
| 8 | + | let val = extract(getInteger(tx.sender, keyName)) |
---|
| 9 | + | (value > val) |
---|
| 10 | + | case _ => |
---|
| 11 | + | false |
---|
| 12 | + | } |
---|