tx · 2WW9jgyUvcsPCeCshBw4JRxStjYe5zNM221YeS52pLVX

3MshLEZwkjz17HtsouWjFBXrXkPBVBHD7gm:  -0.00100000 Waves

2022.07.05 12:34 [2126201] smart account 3MshLEZwkjz17HtsouWjFBXrXkPBVBHD7gm > SELF 0.00000000 Waves

{ "type": 13, "id": "2WW9jgyUvcsPCeCshBw4JRxStjYe5zNM221YeS52pLVX", "fee": 100000, "feeAssetId": null, "timestamp": 1657013719433, "version": 2, "chainId": 84, "sender": "3MshLEZwkjz17HtsouWjFBXrXkPBVBHD7gm", "senderPublicKey": "CAYySFNuYSLU5jGWNBottZuyHbvGh2JxucGYSXF3aEi8", "proofs": [ "cK8GjUD2jB7o4PWSamK5z4o8WgyJExdiXYezwFFHBX5S4jDN1g5m6ARoRSRGPWZkx97pBwkJJLAV1mtcb8zPRk7" ], "script": "base64:AAIFAAAAAAAAAA0IAhIECgIICBIDCgEIAAAABgAAAAAJc2VwYXJhdG9yAgAAAAFfAAAAAA9zZWNvbmRTZXBhcmF0b3ICAAAAAS8BAAAAC2dlbmVyYXRlS2V5AAAAAgAAAAVpbmRleAAAAARoYXNoCQAEuQAAAAIJAARMAAAAAgUAAAAEaGFzaAkABEwAAAACBQAAAAVpbmRleAUAAAADbmlsBQAAAAlzZXBhcmF0b3IBAAAADGNvbnN0cnVjdE1hcAAAAAEAAAAFaW5kZXgJAQAAAAtnZW5lcmF0ZUtleQAAAAIFAAAABWluZGV4CQAEJQAAAAEFAAAABHRoaXMBAAAAD3NldE1hcHBpbmdWYWx1ZQAAAAIAAAAFaW5kZXgAAAAFdmFsdWUJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAQAAAAxjb25zdHJ1Y3RNYXAAAAABBQAAAAVpbmRleAUAAAAFdmFsdWUBAAAADWdldFZhbHVlQnlLZXkAAAABAAAAA2tleQkBAAAAEUBleHRyTmF0aXZlKDEwNTMpAAAAAgUAAAAEdGhpcwUAAAADa2V5AAAAAgAAAAFpAQAAAA1zZXRWYWx1ZUluTWFwAAAAAgAAAAVpbmRleAAAAAV2YWx1ZQkABEwAAAACCQEAAAAPc2V0TWFwcGluZ1ZhbHVlAAAAAgkBAAAADGNvbnN0cnVjdE1hcAAAAAEFAAAABWluZGV4BQAAAAV2YWx1ZQUAAAADbmlsAAAAAWkBAAAACGdldFZhbHVlAAAAAQAAAAVpbmRleAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACBQAAAAVpbmRleAkBAAAAEUBleHRyTmF0aXZlKDEwNTMpAAAAAgUAAAAEdGhpcwkBAAAADGNvbnN0cnVjdE1hcAAAAAEFAAAABWluZGV4BQAAAANuaWwAAAAAqsB5kw==", "height": 2126201, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GydTKXFpQmHk4WepJ5MSfRVUqgHYqYXw9fL2N3D4wGiA Next: 3MVuuBKKcp4CfoF3ttf5QA2bEkksn3XjR4aLX5FdY9LX Diff:
OldNewDifferences
2323
2424
2525 @Callable(i)
26-func getValue (index) = [StringEntry("10", getStringValue(this, constructMap(index)))]
26+func getValue (index) = [StringEntry(index, getStringValue(this, constructMap(index)))]
2727
2828
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let separator = "_"
55
66 let secondSeparator = "/"
77
88 func generateKey (index,hash) = makeString([hash, index], separator)
99
1010
1111 func constructMap (index) = generateKey(index, toString(this))
1212
1313
1414 func setMappingValue (index,value) = StringEntry(constructMap(index), value)
1515
1616
1717 func getValueByKey (key) = getStringValue(this, key)
1818
1919
2020 @Callable(i)
2121 func setValueInMap (index,value) = [setMappingValue(constructMap(index), value)]
2222
2323
2424
2525 @Callable(i)
26-func getValue (index) = [StringEntry("10", getStringValue(this, constructMap(index)))]
26+func getValue (index) = [StringEntry(index, getStringValue(this, constructMap(index)))]
2727
2828

github/deemru/w8io/fabc49c 
33.78 ms