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(a) |
---|
| 7 | + | func set (b,c) = { |
---|
| 8 | + | let d = c |
---|
| 9 | + | if ($isInstanceOf(d, "Int")) |
---|
| 10 | + | then { |
---|
| 11 | + | let e = d |
---|
| 12 | + | [IntegerEntry(b, e)] |
---|
| 13 | + | } |
---|
| 14 | + | else if ($isInstanceOf(d, "String")) |
---|
| 15 | + | then { |
---|
| 16 | + | let f = d |
---|
| 17 | + | [StringEntry(b, f)] |
---|
| 18 | + | } |
---|
| 19 | + | else [DeleteEntry(b)] |
---|
| 20 | + | } |
---|
| 21 | + | |
---|
| 22 | + | |
---|