tx · 7jYLTKA15q5t68dsByqY7nPJd2EU2KWkFRQbZgutjgo9

3MvCKDNrXFLCPCMjLTQXzfiHYejGf5QST42:  -0.00100000 Waves

2022.06.27 23:37 [2115333] smart account 3MvCKDNrXFLCPCMjLTQXzfiHYejGf5QST42 > SELF 0.00000000 Waves

{ "type": 13, "id": "7jYLTKA15q5t68dsByqY7nPJd2EU2KWkFRQbZgutjgo9", "fee": 100000, "feeAssetId": null, "timestamp": 1656362299326, "version": 2, "chainId": 84, "sender": "3MvCKDNrXFLCPCMjLTQXzfiHYejGf5QST42", "senderPublicKey": "Bm8NA6cDADuRW1tDcjPsFdpsoUGwdxSD16MjDxtar9JB", "proofs": [ "2Fd2Jepn14f8mQH6yVzKckP2TS2vZqLzZ6QYUUWwkSeVquNzQZJoNLMETjZBC3tvoQxjyyUsJEt9KBCrVAWRedUu" ], "script": "base64:AAIFAAAAAAAAAAYIAhIAEgAAAAAEAAAAAAlzZXBhcmF0b3ICAAAAAV8BAAAAFmdldEFkZHJUb0ludE1hcHBpbmdLZXkAAAACAAAAC21hcHBpbmdOYW1lAAAABGFkZHIJAAS5AAAAAgkABEwAAAACBQAAAAttYXBwaW5nTmFtZQkABEwAAAACBQAAAARhZGRyBQAAAANuaWwFAAAACXNlcGFyYXRvcgEAAAAYZ2V0QWRkclRvSW50TWFwcGluZ1ZhbHVlAAAAAgAAAAttYXBwaW5nTmFtZQAAAARhZGRyCQEAAAARQGV4dHJOYXRpdmUoMTA1MCkAAAACBQAAAAR0aGlzCQEAAAAWZ2V0QWRkclRvSW50TWFwcGluZ0tleQAAAAIFAAAAC21hcHBpbmdOYW1lBQAAAARhZGRyAQAAABhzZXRBZGRyVG9JbnRNYXBwaW5nVmFsdWUAAAADAAAAC21hcHBpbmdOYW1lAAAABGFkZHIAAAADdmFsCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkBAAAAFmdldEFkZHJUb0ludE1hcHBpbmdLZXkAAAACBQAAAAttYXBwaW5nTmFtZQUAAAAEYWRkcgUAAAADdmFsAAAAAgAAAAFpAQAAAAlzZXRTdHJ1Y3QAAAAACQAETAAAAAIJAQAAABhzZXRBZGRyVG9JbnRNYXBwaW5nVmFsdWUAAAADAgAAAAltYXBTdHJpbmcJAAQlAAAAAQUAAAAEdGhpcwAAAAAAAAAADwUAAAADbmlsAAAAAWkBAAAACWdldFN0cnVjdAAAAAAJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAAATEJAQAAABhnZXRBZGRyVG9JbnRNYXBwaW5nVmFsdWUAAAACAgAAAAltYXBTdHJpbmcJAAQlAAAAAQUAAAAEdGhpcwUAAAADbmlsAAAAAMyZEC4=", "height": 2115333, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: H7azw6rW5vwPadZUxje49d7TqSeQqaeNoFBMstNy1psu Next: D5w999RvMS1AH2yUUGfWXpdtB1rNZ2vA7xweMT6tyfid Diff:
OldNewDifferences
1313
1414
1515 @Callable(i)
16-func GetStruct () = [setAddrToIntMappingValue("mapString", toString(this), 15)]
16+func setStruct () = [setAddrToIntMappingValue("mapString", toString(this), 15)]
1717
1818
1919
2020 @Callable(i)
21-func GetStruct2 () = [IntegerEntry("2", getAddrToIntMappingValue("mapString", toString(this)))]
21+func getStruct () = [IntegerEntry("1", getAddrToIntMappingValue("mapString", toString(this)))]
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)
16-func GetStruct () = [setAddrToIntMappingValue("mapString", toString(this), 15)]
16+func setStruct () = [setAddrToIntMappingValue("mapString", toString(this), 15)]
1717
1818
1919
2020 @Callable(i)
21-func GetStruct2 () = [IntegerEntry("2", getAddrToIntMappingValue("mapString", toString(this)))]
21+func getStruct () = [IntegerEntry("1", getAddrToIntMappingValue("mapString", toString(this)))]
2222
2323

github/deemru/w8io/169f3d6 
53.74 ms