tx · 35pNrFYp5b7HSh4JBXKeWNqGC7bf7jnCYakzTKrY4KCa
3MshLEZwkjz17HtsouWjFBXrXkPBVBHD7gm: -0.00100000 Waves
2022.07.05 10:24 [2126067] smart account 3MshLEZwkjz17HtsouWjFBXrXkPBVBHD7gm > SELF 0.00000000 Waves
{
"type": 13,
"id": "35pNrFYp5b7HSh4JBXKeWNqGC7bf7jnCYakzTKrY4KCa",
"fee": 100000,
"feeAssetId": null,
"timestamp": 1657005882874,
"version": 2,
"chainId": 84,
"sender": "3MshLEZwkjz17HtsouWjFBXrXkPBVBHD7gm",
"senderPublicKey": "CAYySFNuYSLU5jGWNBottZuyHbvGh2JxucGYSXF3aEi8",
"proofs": [
"quTs7z4RVrR4amRKx9zvrRh2nzocdJERb7YXQcRjQfFyMUCGDqKKScvE5aWbP2Ny3kWdtVCKjUjUvaQsHkMx8bd"
],
"script": "base64:AAIFAAAAAAAAAA8IAhIAEgQKAgEIEgMKAQEAAAAHAAAAAAlzZXBhcmF0b3ICAAAAAV8AAAAAD3NlY29uZFNlcGFyYXRvcgIAAAABLwAAAAAJY3VzdG9tS2V5AgAAAAABAAAAC2dlbmVyYXRlS2V5AAAAAgAAAAVpbmRleAAAAARoYXNoCQAEuQAAAAIJAARMAAAAAgUAAAAEaGFzaAkABEwAAAACBQAAAAVpbmRleAUAAAADbmlsBQAAAAlzZXBhcmF0b3IBAAAAD3NldE1hcHBpbmdWYWx1ZQAAAAIAAAADa2V5AAAABXZhbHVlCQEAAAALU3RyaW5nRW50cnkAAAACBQAAAANrZXkFAAAABXZhbHVlAQAAAA1nZXRWYWx1ZUJ5S2V5AAAAAQAAAANrZXkJAQAAABFAZXh0ck5hdGl2ZSgxMDUzKQAAAAIFAAAABHRoaXMFAAAAA2tleQEAAAAFZHF3ZWQAAAAACQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAQAAAAtnZW5lcmF0ZUtleQAAAAICAAAAATEJAAQlAAAAAQUAAAAEdGhpcwUAAAAPc2Vjb25kU2VwYXJhdG9yCQEAAAALZ2VuZXJhdGVLZXkAAAACAgAAAAEyCQAEJQAAAAEFAAAABHRoaXMFAAAAD3NlY29uZFNlcGFyYXRvcgkBAAAAC2dlbmVyYXRlS2V5AAAAAgIAAAABMwkABCUAAAABBQAAAAR0aGlzAAAAAwAAAAFpAQAAAAdpbml0TWFwAAAAAAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAAAEyCQEAAAAFZHF3ZWQAAAAABQAAAANuaWwAAAABaQEAAAANc2V0VmFsdWVJbk1hcAAAAAIAAAAFaW5kZXgAAAAFdmFsdWUJAARMAAAAAgkBAAAAD3NldE1hcHBpbmdWYWx1ZQAAAAIJAAGRAAAAAgkABLUAAAACCQEAAAAFZHF3ZWQAAAAABQAAAA9zZWNvbmRTZXBhcmF0b3IFAAAABWluZGV4BQAAAAV2YWx1ZQUAAAADbmlsAAAAAWkBAAAABmdldE1hcAAAAAEAAAAFaW5kZXgJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAABMQkBAAAADWdldFZhbHVlQnlLZXkAAAABCQABkQAAAAIJAAS1AAAAAgkBAAAABWRxd2VkAAAAAAUAAAAPc2Vjb25kU2VwYXJhdG9yBQAAAAVpbmRleAUAAAADbmlsAAAAAPctUeM=",
"height": 2126067,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 64yUT66D5oZVm4ZD4CT9jMNdpZ2HMLRqhSeAH7YmMuGt
Next: EBqACqH9dY4bVeBv3M5goxEJ4BqPkWNuXHxEBNhN9Uye
Diff:
Old | New | | Differences |
---|
25 | 25 | | |
---|
26 | 26 | | |
---|
27 | 27 | | @Callable(i) |
---|
28 | | - | func setValueInMap (index,value) = [setMappingValue(split(customKey, secondSeparator)[index], value)] |
---|
| 28 | + | func setValueInMap (index,value) = [setMappingValue(split(dqwed(), secondSeparator)[index], value)] |
---|
29 | 29 | | |
---|
30 | 30 | | |
---|
31 | 31 | | |
---|
32 | 32 | | @Callable(i) |
---|
33 | | - | func getMap (index) = [StringEntry("1", getValueByKey(split(customKey, separator)[index]))] |
---|
| 33 | + | func getMap (index) = [StringEntry("1", getValueByKey(split(dqwed(), secondSeparator)[index]))] |
---|
34 | 34 | | |
---|
35 | 35 | | |
---|
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 | | let customKey = "" |
---|
9 | 9 | | |
---|
10 | 10 | | func generateKey (index,hash) = makeString([hash, index], separator) |
---|
11 | 11 | | |
---|
12 | 12 | | |
---|
13 | 13 | | func setMappingValue (key,value) = StringEntry(key, value) |
---|
14 | 14 | | |
---|
15 | 15 | | |
---|
16 | 16 | | func getValueByKey (key) = getStringValue(this, key) |
---|
17 | 17 | | |
---|
18 | 18 | | |
---|
19 | 19 | | func dqwed () = ((((generateKey("1", toString(this)) + secondSeparator) + generateKey("2", toString(this))) + secondSeparator) + generateKey("3", toString(this))) |
---|
20 | 20 | | |
---|
21 | 21 | | |
---|
22 | 22 | | @Callable(i) |
---|
23 | 23 | | func initMap () = [StringEntry("2", dqwed())] |
---|
24 | 24 | | |
---|
25 | 25 | | |
---|
26 | 26 | | |
---|
27 | 27 | | @Callable(i) |
---|
28 | | - | func setValueInMap (index,value) = [setMappingValue(split(customKey, secondSeparator)[index], value)] |
---|
| 28 | + | func setValueInMap (index,value) = [setMappingValue(split(dqwed(), secondSeparator)[index], value)] |
---|
29 | 29 | | |
---|
30 | 30 | | |
---|
31 | 31 | | |
---|
32 | 32 | | @Callable(i) |
---|
33 | | - | func getMap (index) = [StringEntry("1", getValueByKey(split(customKey, separator)[index]))] |
---|
| 33 | + | func getMap (index) = [StringEntry("1", getValueByKey(split(dqwed(), secondSeparator)[index]))] |
---|
34 | 34 | | |
---|
35 | 35 | | |
---|