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:
Old | New | | Differences |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|
15 | 15 | | @Callable(i) |
---|
16 | | - | func GetStruct () = [setAddrToIntMappingValue("mapString", toString(this), 15)] |
---|
| 16 | + | func setStruct () = [setAddrToIntMappingValue("mapString", toString(this), 15)] |
---|
17 | 17 | | |
---|
18 | 18 | | |
---|
19 | 19 | | |
---|
20 | 20 | | @Callable(i) |
---|
21 | | - | func GetStruct2 () = [IntegerEntry("2", getAddrToIntMappingValue("mapString", toString(this)))] |
---|
| 21 | + | func getStruct () = [IntegerEntry("1", getAddrToIntMappingValue("mapString", toString(this)))] |
---|
22 | 22 | | |
---|
23 | 23 | | |
---|
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 | | func getAddrToIntMappingKey (mappingName,addr) = makeString([mappingName, addr], separator) |
---|
7 | 7 | | |
---|
8 | 8 | | |
---|
9 | 9 | | func getAddrToIntMappingValue (mappingName,addr) = getIntegerValue(this, getAddrToIntMappingKey(mappingName, addr)) |
---|
10 | 10 | | |
---|
11 | 11 | | |
---|
12 | 12 | | func setAddrToIntMappingValue (mappingName,addr,val) = IntegerEntry(getAddrToIntMappingKey(mappingName, addr), val) |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|
15 | 15 | | @Callable(i) |
---|
16 | | - | func GetStruct () = [setAddrToIntMappingValue("mapString", toString(this), 15)] |
---|
| 16 | + | func setStruct () = [setAddrToIntMappingValue("mapString", toString(this), 15)] |
---|
17 | 17 | | |
---|
18 | 18 | | |
---|
19 | 19 | | |
---|
20 | 20 | | @Callable(i) |
---|
21 | | - | func GetStruct2 () = [IntegerEntry("2", getAddrToIntMappingValue("mapString", toString(this)))] |
---|
| 21 | + | func getStruct () = [IntegerEntry("1", getAddrToIntMappingValue("mapString", toString(this)))] |
---|
22 | 22 | | |
---|
23 | 23 | | |
---|