tx · 795eQJvynxWvvhEknQqcPND8zqa7bPPkDPesN2hGiV3t
3MwwQTJBBicv91LqRUXoBo4oVw9sR67nFgG: -0.00100000 Waves
2024.11.10 03:02 [3364609] smart account 3MwwQTJBBicv91LqRUXoBo4oVw9sR67nFgG > SELF 0.00000000 Waves
{
"type": 13,
"id": "795eQJvynxWvvhEknQqcPND8zqa7bPPkDPesN2hGiV3t",
"fee": 100000,
"feeAssetId": null,
"timestamp": 1731197011387,
"version": 2,
"chainId": 84,
"sender": "3MwwQTJBBicv91LqRUXoBo4oVw9sR67nFgG",
"senderPublicKey": "FKqLxCEzHd9pLKzXh8xa9zbjqeFrYJSvpxUo6949oJyf",
"proofs": [
"4TpHyA3MHRB4PGUHPXdDezkWJqcv7r7df35Uot1rC76fPgmT727zBtXy659YxFpD6EuTtN4H76fdUc4Vt7npCpCe"
],
"script": "base64:CAIICAISBAoCCAgBAQhnZXRDb3VudAELdmFjY2luYXRpb24EByRtYXRjaDAJAJ8IAQkArAICBQt2YWNjaW5hdGlvbgIGX2NvdW50AwkAAQIFByRtYXRjaDACA0ludAQBYQUHJG1hdGNoMAkAZAIFAWEAAQABAQFpAQl2YWNjaW5hdGUCC3ZhY2NpbmF0aW9uBGRhdGUEBWNvdW50CQEIZ2V0Q291bnQBBQt2YWNjaW5hdGlvbgkAlAoCCQDMCAIJAQxJbnRlZ2VyRW50cnkCCQCsAgIFC3ZhY2NpbmF0aW9uAgZfY291bnQFBWNvdW50CQDMCAIJAQtTdHJpbmdFbnRyeQIJAKwCAgULdmFjY2luYXRpb24CBV9kYXRlBQRkYXRlBQNuaWwFBHVuaXQAe00NEg==",
"height": 3364609,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 8 #-} |
---|
| 2 | + | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
| 3 | + | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | func a (b) = { |
---|
| 5 | + | let c = getInteger((b + "_count")) |
---|
| 6 | + | if ($isInstanceOf(c, "Int")) |
---|
| 7 | + | then { |
---|
| 8 | + | let d = c |
---|
| 9 | + | (d + 1) |
---|
| 10 | + | } |
---|
| 11 | + | else 1 |
---|
| 12 | + | } |
---|
| 13 | + | |
---|
| 14 | + | |
---|
| 15 | + | @Callable(e) |
---|
| 16 | + | func vaccinate (b,f) = { |
---|
| 17 | + | let g = a(b) |
---|
| 18 | + | $Tuple2([IntegerEntry((b + "_count"), g), StringEntry((b + "_date"), f)], unit) |
---|
| 19 | + | } |
---|
| 20 | + | |
---|
| 21 | + | |
---|