tx · 9ijZQg6jvQNBSpaXmArQya6K4ufRF33KuqZsobgPAJgQ

3MvCKDNrXFLCPCMjLTQXzfiHYejGf5QST42:  -0.00100000 Waves

2022.06.27 18:34 [2115030] smart account 3MvCKDNrXFLCPCMjLTQXzfiHYejGf5QST42 > SELF 0.00000000 Waves

{ "type": 13, "id": "9ijZQg6jvQNBSpaXmArQya6K4ufRF33KuqZsobgPAJgQ", "fee": 100000, "feeAssetId": null, "timestamp": 1656344115063, "version": 2, "chainId": 84, "sender": "3MvCKDNrXFLCPCMjLTQXzfiHYejGf5QST42", "senderPublicKey": "Bm8NA6cDADuRW1tDcjPsFdpsoUGwdxSD16MjDxtar9JB", "proofs": [ "46epo3Lv3Jq2etb3SXPBCgFRBJu1P1WyoMSXuCVfCutwUiyAxEFFU5PGpJZ2yMTUS6x2qpeveYPKKBEVYdYSSkCX" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAABAAAAAAJc2VwYXJhdG9yAgAAAAFfAQAAABZnZXRBZGRyVG9JbnRNYXBwaW5nS2V5AAAAAgAAAAttYXBwaW5nTmFtZQAAAARhZGRyCQAEuQAAAAIJAARMAAAAAgUAAAALbWFwcGluZ05hbWUJAARMAAAAAgUAAAAEYWRkcgUAAAADbmlsBQAAAAlzZXBhcmF0b3IBAAAAGGdldEFkZHJUb0ludE1hcHBpbmdWYWx1ZQAAAAIAAAALbWFwcGluZ05hbWUAAAAEYWRkcgkBAAAAEUBleHRyTmF0aXZlKDEwNTApAAAAAgUAAAAEdGhpcwkBAAAAFmdldEFkZHJUb0ludE1hcHBpbmdLZXkAAAACBQAAAAttYXBwaW5nTmFtZQUAAAAEYWRkcgEAAAAYc2V0QWRkclRvSW50TWFwcGluZ1ZhbHVlAAAAAwAAAAttYXBwaW5nTmFtZQAAAARhZGRyAAAAA3ZhbAkBAAAADEludGVnZXJFbnRyeQAAAAIJAQAAABZnZXRBZGRyVG9JbnRNYXBwaW5nS2V5AAAAAgUAAAALbWFwcGluZ05hbWUFAAAABGFkZHIFAAAAA3ZhbAAAAAEAAAABaQEAAAAJR2V0U3RydWN0AAAAAAQAAAAGc2Vjb25kCQEAAAAWZ2V0QWRkclRvSW50TWFwcGluZ0tleQAAAAICAAAACW1hcFN0cmluZwkABCUAAAABBQAAAAR0aGlzBAAAAAVmaXJzdAkBAAAAGHNldEFkZHJUb0ludE1hcHBpbmdWYWx1ZQAAAAMCAAAACW1hcFN0cmluZwkABCUAAAABBQAAAAR0aGlzAAAAAAAAAAAPBAAAAAV0aGlyZAkBAAAAGGdldEFkZHJUb0ludE1hcHBpbmdWYWx1ZQAAAAICAAAACm1hcFN0cmluZzMJAAQlAAAAAQUAAAAEdGhpcwkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAAAZzZWNvbmQFAAAABnNlY29uZAkABEwAAAACBQAAAAVmaXJzdAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAFdGhpcmQFAAAABXRoaXJkBQAAAANuaWwAAAAA86c1kw==", "height": 2115030, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CG54hsqEiBELZXvsV6BgLS4gLHoZ9ABY4d2H8dkEwJ9x Next: H9aVKgmsxWzARfZ3QQwgSovGBZiTMmUEKsBfrdntryMU Diff:
OldNewDifferences
1414
1515 @Callable(i)
1616 func GetStruct () = {
17+ let second = getAddrToIntMappingKey("mapString", toString(this))
1718 let first = setAddrToIntMappingValue("mapString", toString(this), 15)
18- let second = getAddrToIntMappingKey("mapString2", toString(this))
1919 let third = getAddrToIntMappingValue("mapString3", toString(this))
20-[first, StringEntry("second", second), IntegerEntry("third", third)]
20+[StringEntry("second", second), first, IntegerEntry("third", third)]
2121 }
2222
2323
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let separator = "_"
55
66 func getAddrToIntMappingKey (mappingName,addr) = makeString([mappingName, addr], separator)
77
88
99 func getAddrToIntMappingValue (mappingName,addr) = getIntegerValue(this, getAddrToIntMappingKey(mappingName, addr))
1010
1111
1212 func setAddrToIntMappingValue (mappingName,addr,val) = IntegerEntry(getAddrToIntMappingKey(mappingName, addr), val)
1313
1414
1515 @Callable(i)
1616 func GetStruct () = {
17+ let second = getAddrToIntMappingKey("mapString", toString(this))
1718 let first = setAddrToIntMappingValue("mapString", toString(this), 15)
18- let second = getAddrToIntMappingKey("mapString2", toString(this))
1919 let third = getAddrToIntMappingValue("mapString3", toString(this))
20-[first, StringEntry("second", second), IntegerEntry("third", third)]
20+[StringEntry("second", second), first, IntegerEntry("third", third)]
2121 }
2222
2323

github/deemru/w8io/169f3d6 
35.18 ms