tx · DfKHoJipuSxSrnZxtWh8hgZgnM8XKEPrH1zz8bPnAJn1

3MvCKDNrXFLCPCMjLTQXzfiHYejGf5QST42:  -0.00200000 Waves

2022.07.01 11:42 [2120362] smart account 3MvCKDNrXFLCPCMjLTQXzfiHYejGf5QST42 > SELF 0.00000000 Waves

{ "type": 13, "id": "DfKHoJipuSxSrnZxtWh8hgZgnM8XKEPrH1zz8bPnAJn1", "fee": 200000, "feeAssetId": null, "timestamp": 1656665013835, "version": 2, "chainId": 84, "sender": "3MvCKDNrXFLCPCMjLTQXzfiHYejGf5QST42", "senderPublicKey": "Bm8NA6cDADuRW1tDcjPsFdpsoUGwdxSD16MjDxtar9JB", "proofs": [ "5rirzhTx5uPeMgZ4ezmkqMZWkDjSGn5bCNDg9iG4xsvBdzsdhGbVUVvPEwjpwZHkrCenoYPWcDmEjohDGvbJEkXS" ], "script": "base64:AAIFAAAAAAAAAA0IAhIAEgMKAQgSABIAAAAABgAAAAAJc2VwYXJhdG9yAgAAAAFfAAAAAA9zZWNvbmRTZXBhcmF0b3ICAAAAAS8BAAAADWdldE1hcHBpbmdLZXkAAAADAAAAC21hcHBpbmdOYW1lAAAABGFkZHIAAAAJc2VwYXJhdG9yCQAEuQAAAAIJAARMAAAAAgUAAAALbWFwcGluZ05hbWUJAARMAAAAAgUAAAAEYWRkcgUAAAADbmlsBQAAAAlzZXBhcmF0b3IBAAAAC2dldEVsZW1lbnRzAAAAAwAAAAttYXBwaW5nTmFtZQAAAARhZGRyAAAACXNlcGFyYXRvcgkBAAAAEUBleHRyTmF0aXZlKDEwNTMpAAAAAgUAAAAEdGhpcwkBAAAADWdldE1hcHBpbmdLZXkAAAADBQAAAAttYXBwaW5nTmFtZQUAAAAEYWRkcgUAAAAJc2VwYXJhdG9yAQAAABhzZXRBZGRyVG9JbnRNYXBwaW5nVmFsdWUAAAACAAAAC21hcHBpbmdOYW1lAAAABGFkZHIEAAAACXNlY29uZEtleQkBAAAADWdldE1hcHBpbmdLZXkAAA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AEyCQEAAAALZ2V0RWxlbWVudHMAAAADAgAAAAltYXBTdHJpbmcJAAQlAAAAAQUAAAAEdGhpcwUAAAAPc2Vjb25kU2VwYXJhdG9yBQAAAANuaWwAAAAAtz+onQ==", "height": 2120362, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5zcvqF14Yv5QdhJubwvkqp7Gp9q9o3ELMWpzmU4HYbpm Next: 884RyWSPRNaXVEcyDhYL5Gq4qdqWRk9645Dr5rfv7L2N Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let separator = "_"
55
66 let secondSeparator = "/"
77
88 func getMappingKey (mappingName,addr,separator) = makeString([mappingName, addr], separator)
99
1010
1111 func getElements (mappingName,addr,separator) = getStringValue(this, getMappingKey(mappingName, addr, separator))
1212
1313
1414 func setAddrToIntMappingValue (mappingName,addr) = {
1515 let secondKey = getMappingKey(mappingName, addr, secondSeparator)
1616 StringEntry(getMappingKey("mapString", addr, separator), secondKey)
1717 }
1818
1919
2020 func setAddrToIntMappingValueSecond (mappingName,addr,val) = if ((150 >= size(val)))
2121 then StringEntry(getMappingKey("mapString", addr, secondSeparator), val)
2222 else throw("overcrowded")
2323
2424
2525 @Callable(i)
2626 func setMap () = [setAddrToIntMappingValue("mapString", toString(this))]
2727
2828
2929
3030 @Callable(i)
3131 func setMapInMap (valueInt) = [setAddrToIntMappingValueSecond("mapString", toString(this), valueInt)]
3232
3333
3434
3535 @Callable(i)
3636 func getArrayFromStruct () = [StringEntry("1", getElements("mapString", toString(this), separator))]
3737
3838
3939
4040 @Callable(i)
4141 func getElementFromArray () = [StringEntry("2", getElements("mapString", toString(this), secondSeparator))]
4242
4343

github/deemru/w8io/169f3d6 
28.61 ms