tx · CJCxiCW3dmGn4kJCCD4Semg9ry5TbjMjmArVsnN1tyy
3MtyZwLBVwNJUpWgbHrTRcwSutBjXNCoPbm: -0.00100000 Waves
2022.08.08 17:17 [2175585] smart account 3MtyZwLBVwNJUpWgbHrTRcwSutBjXNCoPbm > SELF 0.00000000 Waves
{
"type": 13,
"id": "CJCxiCW3dmGn4kJCCD4Semg9ry5TbjMjmArVsnN1tyy",
"fee": 100000,
"feeAssetId": null,
"timestamp": 1659968295447,
"version": 2,
"chainId": 84,
"sender": "3MtyZwLBVwNJUpWgbHrTRcwSutBjXNCoPbm",
"senderPublicKey": "BQfocqPk7ryaHy9p7eTpy8eUfdZSeqj7sYQ12e5UVy5A",
"proofs": [
"5q5sjTTz231NePvFwcbd1tpTfvKvmbeuEMa9fS9NcHgqowNZWQhrSUQBgBzCVeWHr5DDkmW7UY9ZhwK2uo1StMn1"
],
"script": "base64:AAIFAAAAAAAAAAgIAhIECgIICQAAAAAAAAABAAAAAWkBAAAAA3NldAAAAAIAAAADa2V5AAAABXZhbHVlBAAAAAckbWF0Y2gwBQAAAAV2YWx1ZQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAANpbnQFAAAAByRtYXRjaDAJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIFAAAAA2tleQUAAAADaW50BQAAAANuaWwDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABlN0cmluZwQAAAADc3RyBQAAAAckbWF0Y2gwCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIFAAAAA2tleQUAAAADc3RyBQAAAANuaWwJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAADa2V5BQAAAANuaWwAAAAA2rLJbw==",
"height": 2175585,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: GoZ2UeacdKn2Un3iKwBZTcRfRW1UMaBcyta6SZrYLqUg
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 5 #-} |
---|
| 2 | + | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
| 3 | + | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | |
---|
| 5 | + | |
---|
| 6 | + | @Callable(i) |
---|
| 7 | + | func set (key,value) = match value { |
---|
| 8 | + | case int: Int => |
---|
| 9 | + | [IntegerEntry(key, int)] |
---|
| 10 | + | case str: String => |
---|
| 11 | + | [StringEntry(key, str)] |
---|
| 12 | + | case _ => |
---|
| 13 | + | [DeleteEntry(key)] |
---|
| 14 | + | } |
---|
| 15 | + | |
---|
| 16 | + | |
---|