tx · 8B9GqicmhSfrUrGqSXJkQCizPkuyiMM14B1DTCZBYrBp
3MshLEZwkjz17HtsouWjFBXrXkPBVBHD7gm: -0.00100000 Waves
2022.07.05 12:13 [2126177] smart account 3MshLEZwkjz17HtsouWjFBXrXkPBVBHD7gm > SELF 0.00000000 Waves
{
"type": 13,
"id": "8B9GqicmhSfrUrGqSXJkQCizPkuyiMM14B1DTCZBYrBp",
"fee": 100000,
"feeAssetId": null,
"timestamp": 1657012438749,
"version": 2,
"chainId": 84,
"sender": "3MshLEZwkjz17HtsouWjFBXrXkPBVBHD7gm",
"senderPublicKey": "CAYySFNuYSLU5jGWNBottZuyHbvGh2JxucGYSXF3aEi8",
"proofs": [
"3T1cerNJDeMq8AXmbV5B4t3dRnTheTL812oDNRUiPLH1oCnLYS7iMEemBJKXgwtCijNNUBNi2PdmrfwNe4EHr7tN"
],
"script": "base64:AAIFAAAAAAAAAA0IAhIECgIICBIDCgEIAAAABgAAAAAJc2VwYXJhdG9yAgAAAAFfAAAAAA9zZWNvbmRTZXBhcmF0b3ICAAAAAS8BAAAAC2dlbmVyYXRlS2V5AAAAAgAAAAVpbmRleAAAAARoYXNoCQAEuQAAAAIJAARMAAAAAgUAAAAEaGFzaAkABEwAAAACBQAAAAVpbmRleAUAAAADbmlsBQAAAAlzZXBhcmF0b3IBAAAADGNvbnN0cnVjdE1hcAAAAAEAAAAFaW5kZXgJAQAAAAtnZW5lcmF0ZUtleQAAAAIFAAAABWluZGV4CQAEJQAAAAEFAAAABHRoaXMBAAAAD3NldE1hcHBpbmdWYWx1ZQAAAAIAAAAFaW5kZXgAAAAFdmFsdWUJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAQAAAAxjb25zdHJ1Y3RNYXAAAAABBQAAAAVpbmRleAUAAAAFdmFsdWUBAAAADWdldFZhbHVlQnlLZXkAAAABAAAAA2tleQkBAAAAEUBleHRyTmF0aXZlKDEwNTMpAAAAAgUAAAAEdGhpcwUAAAADa2V5AAAAAgAAAAFpAQAAAA1zZXRWYWx1ZUluTWFwAAAAAgAAAAVpbmRleAAAAAV2YWx1ZQkABEwAAAACCQEAAAAPc2V0TWFwcGluZ1ZhbHVlAAAAAgkBAAAADGNvbnN0cnVjdE1hcAAAAAEFAAAABWluZGV4BQAAAAV2YWx1ZQUAAAADbmlsAAAAAWkBAAAACGdldFZhbHVlAAAAAQAAAAVpbmRleAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAAAIxMAkBAAAAEUBleHRyTmF0aXZlKDEwNTMpAAAAAgUAAAAEdGhpcwkBAAAADGNvbnN0cnVjdE1hcAAAAAEFAAAABWluZGV4BQAAAANuaWwAAAAAOhiPMA==",
"height": 2126177,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 4vE8uY8HJ5XeKEnPFZNAeQAZACfYntnkSGEB3wAT8ago
Next: Cq4WDyBztMZ3XwEUu9ywkt1kcMn34LDsvG5WtgXApR92
Diff:
Old | New | | Differences |
---|
23 | 23 | | |
---|
24 | 24 | | |
---|
25 | 25 | | @Callable(i) |
---|
26 | | - | func getValue (index) = [StringEntry("1", getStringValue(this, constructMap(index)))] |
---|
| 26 | + | func getValue (index) = [StringEntry("10", getStringValue(this, constructMap(index)))] |
---|
27 | 27 | | |
---|
28 | 28 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let separator = "_" |
---|
5 | 5 | | |
---|
6 | 6 | | let secondSeparator = "/" |
---|
7 | 7 | | |
---|
8 | 8 | | func generateKey (index,hash) = makeString([hash, index], separator) |
---|
9 | 9 | | |
---|
10 | 10 | | |
---|
11 | 11 | | func constructMap (index) = generateKey(index, toString(this)) |
---|
12 | 12 | | |
---|
13 | 13 | | |
---|
14 | 14 | | func setMappingValue (index,value) = StringEntry(constructMap(index), value) |
---|
15 | 15 | | |
---|
16 | 16 | | |
---|
17 | 17 | | func getValueByKey (key) = getStringValue(this, key) |
---|
18 | 18 | | |
---|
19 | 19 | | |
---|
20 | 20 | | @Callable(i) |
---|
21 | 21 | | func setValueInMap (index,value) = [setMappingValue(constructMap(index), value)] |
---|
22 | 22 | | |
---|
23 | 23 | | |
---|
24 | 24 | | |
---|
25 | 25 | | @Callable(i) |
---|
26 | | - | func getValue (index) = [StringEntry("1", getStringValue(this, constructMap(index)))] |
---|
| 26 | + | func getValue (index) = [StringEntry("10", getStringValue(this, constructMap(index)))] |
---|
27 | 27 | | |
---|
28 | 28 | | |
---|