tx · 7GDt1PP4EeCRWrqTUMAbdg1AdRyoCkwvZAw2AKG3vyrX

3MucnifgqjCVTQDsVvyBbDfUYL4NzUJme6c:  -0.01400000 Waves

2022.02.04 16:55 [1908958] smart account 3MucnifgqjCVTQDsVvyBbDfUYL4NzUJme6c > SELF 0.00000000 Waves

{ "type": 13, "id": "7GDt1PP4EeCRWrqTUMAbdg1AdRyoCkwvZAw2AKG3vyrX", "fee": 1400000, "feeAssetId": null, "timestamp": 1643982935023, "version": 2, "chainId": 84, "sender": "3MucnifgqjCVTQDsVvyBbDfUYL4NzUJme6c", "senderPublicKey": "5VeehaC8J2hY5k7GyMevtfCSC4on8kxpPvqqQqNe5erh", "proofs": [ "4RxfabrzDoT62wGSQbe3u8omJ6SBc3ZJe2RnNFZNUQvEdSdH4TEb1CULbb7g4CXYTGCEyemuxKk4ek7tLnNU4wNb" ], "script": "base64:AAIFAAAAAAAAAAwIAhIICgYIAQEBAQEAAABGAAAAAAZwYXJhbXMJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAECAAAAIzNOMmpaYUgxakxaNXVoS2tOaWs2Z2VBNTdIek1Hdzk4aWdSAAAAAA1rZXlJbml0VjFEb25lAgAAAAxpbml0X3YxX2RvbmUAAAAACmtleVRva2VuSWQCAAAAB3Rva2VuSWQAAAAAG2tleUluaXRpYWxDaGFyQ3JlYXRpb25TdGF0cwIAAAAYaW5pdGlhbENoYXJDcmVhdGlvblN0YXRzAAAAAAlzZXBhcmF0b3ICAAAAAV8AAAAAEGtleUl0ZW1zSWRzQ291bnQCAAAADWl0ZW1zSWRzQ291bnQAAAAAEWtleVNwZWxsc0lkc0NvdW50AgAAAA5zcGVsbHNJZHNDb3VudAAAAAAPa2V5TW9ic0lkc0NvdW50AgAAAAxtb2JzSWRzQ291bnQAAAAAC2tleUl0ZW1UeXBlAgAAAAhpdGVtVHlwZQAAAAAQa2V5SXRlbVN0YXQxVHlwZQIAAAANaXRlbVN0YXQxVHlwZQAAAAAQa2V5S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gkBAAAADEludGVnZXJFbnRyeQAAAAIJAQAAAAR3aXRoAAAAAgUAAAARa2V5TWluQXF1YVBlclJhbmsFAAAACWNoYXJJZFN0cgUAAAAHbWluQXF1YQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkBAAAABHdpdGgAAAACBQAAABFrZXlNYXhBcXVhUGVyUmFuawUAAAAJY2hhcklkU3RyBQAAAARhcXVhCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQEAAAAEd2l0aAAAAAIFAAAACGtleVRlcnJhBQAAAAljaGFySWRTdHIFAAAACXJhbmRUZXJyYQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkBAAAABHdpdGgAAAACBQAAABJrZXlNaW5UZXJyYVBlclJhbmsFAAAACWNoYXJJZFN0cgUAAAAIbWluVGVycmEJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAQAAAAR3aXRoAAAAAgUAAAASa2V5TWF4VGVycmFQZXJSYW5rBQAAAAljaGFySWRTdHIFAAAABXRlcnJhCQAETAAAAAIFAAAACWNoYXJJc3N1ZQkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIAAAAAAAAAAAEFAAAABmNoYXJJZAUAAAADbmlsBQAAAAhtb2JFbnRyeQAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5WV2v9w==", "height": 1908958, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2wCkediLYLngFWDznso8h4dXH5uNrDMTRgXRuAoyYxKK Next: 74VwYARZsS8juhBMiDNLp8VFFaH9auYb2pzwNDYY9kdQ Diff:
OldNewDifferences
179179 let currentItemId = 0
180180 let currentSpellId = 0
181181 let currentMobId = 0
182- let currentMobIdStr = toString(currentMobId)
183- let mobHealth = randInt(0, 2, randHash, (currentNonce + 1))
184- let mobExp = randInt(0, 100, randHash, (currentNonce + 2))
185- let mobGold = randInt(0, 15, randHash, (currentNonce + 3))
186- let mobLootChance = randInt(5, 20, randHash, (currentNonce + 4))
187-[IntegerEntry(with(keyMobCurrentHealth, currentMobIdStr), mobHealth), IntegerEntry(with(keyMobMaxHealth, currentMobIdStr), mobHealth), IntegerEntry(with(keyMobExpPoints, currentMobIdStr), mobExp), IntegerEntry(with(keyMobGold, currentMobIdStr), mobGold), IntegerEntry(with(keyMobLootChance, currentMobIdStr), mobLootChance), IntegerEntry(with(keyMobStaffId, currentMobIdStr), currentItemId), IntegerEntry(with(keyMobRobeId, currentMobIdStr), (currentItemId + 1)), IntegerEntry(with(keyMobRingId, currentMobIdStr), (currentItemId + 2)), IntegerEntry(with(keyMobSpell1Id, currentMobIdStr), currentSpellId), IntegerEntry(with(keyMobSpell2Id, currentMobIdStr), (currentSpellId + 1)), IntegerEntry(with(keyMobSpell3Id, currentMobIdStr), (currentSpellId + 2)), IntegerEntry(keyItemsIdsCount, (currentItemId + 3)), IntegerEntry(keySpellsIdsCount, (currentSpellId + 3)), IntegerEntry(keyMobsIdsCount, (currentMobId + 1))]
182+[IntegerEntry(keyItemsIdsCount, (currentItemId + 3)), IntegerEntry(keySpellsIdsCount, (currentSpellId + 3)), IntegerEntry(keyMobsIdsCount, (currentMobId + 1))]
188183 }
189184
190185
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let params = addressFromStringValue("3N2jZaH1jLZ5uhKkNik6geA57HzMGw98igR")
55
66 let keyInitV1Done = "init_v1_done"
77
88 let keyTokenId = "tokenId"
99
1010 let keyInitialCharCreationStats = "initialCharCreationStats"
1111
1212 let separator = "_"
1313
1414 let keyItemsIdsCount = "itemsIdsCount"
1515
1616 let keySpellsIdsCount = "spellsIdsCount"
1717
1818 let keyMobsIdsCount = "mobsIdsCount"
1919
2020 let keyItemType = "itemType"
2121
2222 let keyItemStat1Type = "itemStat1Type"
2323
2424 let keyItemStat2Type = "itemStat2Type"
2525
2626 let keyItemStat3Type = "itemStat3Type"
2727
2828 let keyItemStat1Value = "itemStat1Value"
2929
3030 let keyItemStat2Value = "itemStat2Value"
3131
3232 let keyItemStat3Value = "itemStat3Value"
3333
3434 let keySpellDmgType = "spellElem"
3535
3636 let keySpellMinDmg = "spellMinDmg"
3737
3838 let keySpellMaxDmg = "spellMaxDmg"
3939
4040 let keySpellStat1Type = "spellStat1Type"
4141
4242 let keySpellStat2Type = "spellStat2Type"
4343
4444 let keySpellStat3Type = "spellStat3Type"
4545
4646 let keySpellStat1Value = "spellStat1Value"
4747
4848 let keySpellStat2Value = "spellStat2Value"
4949
5050 let keySpellStat3Value = "spellStat3Value"
5151
5252 let keyMobCurrentHealth = "mobCurrentHealth"
5353
5454 let keyMobMaxHealth = "mobMaxHealth"
5555
5656 let keyMobExpPoints = "mobExpPoints"
5757
5858 let keyMobGold = "mobGold"
5959
6060 let keyMobLootChance = "mobLootChance"
6161
6262 let keyMobStaffId = "mobStaffId"
6363
6464 let keyMobRobeId = "mobRobeId"
6565
6666 let keyMobRingId = "mobRingId"
6767
6868 let keyMobSpell1Id = "mobSpell1Id"
6969
7070 let keyMobSpell2Id = "mobSpell2Id"
7171
7272 let keyMobSpell3Id = "mobSpell3Id"
7373
7474 let keyName = "name"
7575
7676 let keySex = "sex"
7777
7878 let keyRank = "rank"
7979
8080 let keyHealthCurrent = "healthCurrent"
8181
8282 let keyHealthMax = "healthMax"
8383
8484 let keyMinHealthPerRank = "minHealthPerRank"
8585
8686 let keyMaxHealthPerRank = "maxHealthPerRank"
8787
8888 let keyHealthRegen = "healthRegen"
8989
9090 let keyMinHealthRegenPerRank = "minHealthRegenPerRank"
9191
9292 let keyMaxHealthRegenPerRank = "maxHealthRegenPerRank"
9393
9494 let keyManaCurrent = "manaCurrent"
9595
9696 let keyManaMax = "manaMax"
9797
9898 let keyMinManaPerRank = "minManaPerRank"
9999
100100 let keyMaxManaPerRank = "maxManaPerRank"
101101
102102 let keyManaRegen = "manaRegen"
103103
104104 let keyMinManaRegenPerRank = "minManaRegenPerRank"
105105
106106 let keyMaxManaRegenPerRank = "maxManaRegenPerRank"
107107
108108 let keyPyro = "pyro"
109109
110110 let keyMinPyroPerRank = "minPyroPerRank"
111111
112112 let keyMaxPyroPerRank = "maxPyroPerRank"
113113
114114 let keyAero = "aero"
115115
116116 let keyMinAeroPerRank = "minAeroPerRank"
117117
118118 let keyMaxAeroPerRank = "maxAeroPerRank"
119119
120120 let keyAqua = "aqua"
121121
122122 let keyMinAquaPerRank = "minAquaPerRank"
123123
124124 let keyMaxAquaPerRank = "maxAquaPerRank"
125125
126126 let keyTerra = "terra"
127127
128128 let keyMinTerraPerRank = "minTerraPerRank"
129129
130130 let keyMaxTerraPerRank = "maxTerraPerRank"
131131
132132 func with (str1,str2) = ((str1 + separator) + str2)
133133
134134
135135 func getCurrentRandHash (txId) = sha256_16Kb((value(value(blockInfoByHeight(height)).vrf) + txId))
136136
137137
138138 func randInt (min,max,randHash,nonce) = ((toInt(randHash, nonce) % ((max - min) + 1)) + min)
139139
140140
141141 func generateItem (type,itemId,randHash,currentNonce) = {
142142 let statsRange = [[1, 5], [5, 25], [1, 5], [1, 5], [1, 5], [1, 5], [1, 5], [1, 5], [1, 5], [1, 5], [5, 15], [5, 15], [5, 15], [1, 5], [5, 10]]
143143 let statsAvailable = if ((type == 0))
144144 then [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 14]
145145 else if ((type == 1))
146146 then [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 13]
147147 else if ((type == 2))
148148 then [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
149149 else throw("Unknown item type")
150150 let statsAmount = size(statsAvailable)
151151 let s1 = statsAvailable[randInt(0, (statsAmount - 1), randHash, (currentNonce + 1))]
152152 let s2 = statsAvailable[randInt(0, (statsAmount - 1), randHash, (currentNonce + 2))]
153153 let s3 = statsAvailable[randInt(0, (statsAmount - 1), randHash, (currentNonce + 3))]
154154 let v1 = randInt(statsRange[s1][0], statsRange[s1][1], randHash, (currentNonce + 4))
155155 let v2 = randInt(statsRange[s2][0], statsRange[s2][1], randHash, (currentNonce + 5))
156156 let v3 = randInt(statsRange[s3][0], statsRange[s3][1], randHash, (currentNonce + 6))
157157 let itemIdStr = toString(itemId)
158158 [IntegerEntry(with(keyItemType, itemIdStr), type), IntegerEntry(with(keyItemStat1Type, itemIdStr), s1), IntegerEntry(with(keyItemStat2Type, itemIdStr), s2), IntegerEntry(with(keyItemStat3Type, itemIdStr), s3), IntegerEntry(with(keyItemStat1Value, itemIdStr), v1), IntegerEntry(with(keyItemStat2Value, itemIdStr), v2), IntegerEntry(with(keyItemStat3Value, itemIdStr), v3)]
159159 }
160160
161161
162162 func generateSpell (spellId,randHash,currentNonce) = {
163163 let statsRange = [[1, 5], [5, 25], [100, 200], [100, 150], [1, 5], [1, 5], [1, 5], [1, 5], [5, 10]]
164164 let dmgType = randInt(0, 3, randHash, (currentNonce + 1))
165165 let dmgMinRange = randInt(200, 250, randHash, (currentNonce + 2))
166166 let dmgMaxRange = randInt(251, 400, randHash, (currentNonce + 3))
167167 let s1 = randInt(0, 8, randHash, (currentNonce + 4))
168168 let s2 = randInt(0, 8, randHash, (currentNonce + 5))
169169 let s3 = randInt(0, 8, randHash, (currentNonce + 6))
170170 let v1 = randInt(statsRange[s1][0], statsRange[s1][1], randHash, (currentNonce + 7))
171171 let v2 = randInt(statsRange[s2][0], statsRange[s2][1], randHash, (currentNonce + 8))
172172 let v3 = randInt(statsRange[s3][0], statsRange[s3][1], randHash, (currentNonce + 9))
173173 let spellIdStr = toString(spellId)
174174 [IntegerEntry(with(keySpellDmgType, spellIdStr), dmgType), IntegerEntry(with(keySpellMinDmg, spellIdStr), dmgMinRange), IntegerEntry(with(keySpellMaxDmg, spellIdStr), dmgMaxRange), IntegerEntry(with(keySpellStat1Type, spellIdStr), s1), IntegerEntry(with(keySpellStat2Type, spellIdStr), s2), IntegerEntry(with(keySpellStat3Type, spellIdStr), s3), IntegerEntry(with(keySpellStat1Value, spellIdStr), v1), IntegerEntry(with(keySpellStat2Value, spellIdStr), v2), IntegerEntry(with(keySpellStat3Value, spellIdStr), v3)]
175175 }
176176
177177
178178 func generateMobEntry (randHash,currentNonce) = {
179179 let currentItemId = 0
180180 let currentSpellId = 0
181181 let currentMobId = 0
182- let currentMobIdStr = toString(currentMobId)
183- let mobHealth = randInt(0, 2, randHash, (currentNonce + 1))
184- let mobExp = randInt(0, 100, randHash, (currentNonce + 2))
185- let mobGold = randInt(0, 15, randHash, (currentNonce + 3))
186- let mobLootChance = randInt(5, 20, randHash, (currentNonce + 4))
187-[IntegerEntry(with(keyMobCurrentHealth, currentMobIdStr), mobHealth), IntegerEntry(with(keyMobMaxHealth, currentMobIdStr), mobHealth), IntegerEntry(with(keyMobExpPoints, currentMobIdStr), mobExp), IntegerEntry(with(keyMobGold, currentMobIdStr), mobGold), IntegerEntry(with(keyMobLootChance, currentMobIdStr), mobLootChance), IntegerEntry(with(keyMobStaffId, currentMobIdStr), currentItemId), IntegerEntry(with(keyMobRobeId, currentMobIdStr), (currentItemId + 1)), IntegerEntry(with(keyMobRingId, currentMobIdStr), (currentItemId + 2)), IntegerEntry(with(keyMobSpell1Id, currentMobIdStr), currentSpellId), IntegerEntry(with(keyMobSpell2Id, currentMobIdStr), (currentSpellId + 1)), IntegerEntry(with(keyMobSpell3Id, currentMobIdStr), (currentSpellId + 2)), IntegerEntry(keyItemsIdsCount, (currentItemId + 3)), IntegerEntry(keySpellsIdsCount, (currentSpellId + 3)), IntegerEntry(keyMobsIdsCount, (currentMobId + 1))]
182+[IntegerEntry(keyItemsIdsCount, (currentItemId + 3)), IntegerEntry(keySpellsIdsCount, (currentSpellId + 3)), IntegerEntry(keyMobsIdsCount, (currentMobId + 1))]
188183 }
189184
190185
191186 @Callable(i)
192187 func create (name,sex,pyro,aero,aqua,terra) = {
193188 let initialStats = split(getStringValue(params, keyInitialCharCreationStats), separator)
194189 let nameSize = size(name)
195190 if (if ((parseIntValue(initialStats[0]) > nameSize))
196191 then true
197192 else (nameSize > parseIntValue(initialStats[1])))
198193 then throw("Char name size not valid")
199194 else if (if (contains(name, " "))
200195 then true
201196 else contains(name, separator))
202197 then throw((("Whitespaces or " + separator) + " not allowed"))
203198 else if (if ((sex != 1))
204199 then (sex != 2)
205200 else false)
206201 then throw("Somethings wrong with char sex")
207202 else if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (((((pyro + aero) + aqua) + terra) != 14))
208203 then true
209204 else (2 > pyro))
210205 then true
211206 else (pyro > 5))
212207 then true
213208 else (2 > aero))
214209 then true
215210 else (aero > 5))
216211 then true
217212 else (2 > aqua))
218213 then true
219214 else (aqua > 5))
220215 then true
221216 else (2 > terra))
222217 then true
223218 else (terra > 5))
224219 then true
225220 else (pyro == aero))
226221 then true
227222 else (pyro == aqua))
228223 then true
229224 else (pyro == terra))
230225 then true
231226 else (aero == aqua))
232227 then true
233228 else (aero == terra))
234229 then true
235230 else (aqua == terra))
236231 then throw("Elem spec issue")
237232 else {
238233 let charIssue = Issue(name, "", 1, 0, false, unit, 0)
239234 let charId = calculateAssetId(charIssue)
240235 let charIdStr = toBase58String(charId)
241236 let randHash = getCurrentRandHash(i.transactionId)
242237 let minHealth = parseIntValue(initialStats[3])
243238 let maxHealth = parseIntValue(initialStats[4])
244239 let randHealth = (parseIntValue(initialStats[2]) + randInt(minHealth, maxHealth, randHash, 0))
245240 let minHealthRegen = parseIntValue(initialStats[6])
246241 let maxHealthRegen = parseIntValue(initialStats[7])
247242 let randHealthRegen = (parseIntValue(initialStats[5]) + randInt(minHealthRegen, maxHealthRegen, randHash, 1))
248243 let minMana = parseIntValue(initialStats[9])
249244 let maxMana = parseIntValue(initialStats[10])
250245 let randMana = (parseIntValue(initialStats[8]) + randInt(minMana, maxMana, randHash, 2))
251246 let minManaRegen = parseIntValue(initialStats[12])
252247 let maxManaRegen = parseIntValue(initialStats[13])
253248 let randManaRegen = (parseIntValue(initialStats[11]) + randInt(minManaRegen, maxManaRegen, randHash, 3))
254249 let minPyro = parseIntValue(initialStats[14])
255250 let randPyro = randInt(minPyro, pyro, randHash, 4)
256251 let minAero = parseIntValue(initialStats[15])
257252 let randAero = randInt(minAero, aero, randHash, 5)
258253 let minAqua = parseIntValue(initialStats[16])
259254 let randAqua = randInt(minAqua, aqua, randHash, 6)
260255 let minTerra = parseIntValue(initialStats[17])
261256 let randTerra = randInt(minTerra, terra, randHash, 7)
262257 let mobEntry = generateMobEntry(randHash, 100)
263258 ([StringEntry(with(keyName, charIdStr), name), IntegerEntry(with(keySex, charIdStr), sex), IntegerEntry(with(keyRank, charIdStr), 1), IntegerEntry(with(keyHealthCurrent, charIdStr), randHealth), IntegerEntry(with(keyHealthMax, charIdStr), randHealth), IntegerEntry(with(keyMinHealthPerRank, charIdStr), minHealth), IntegerEntry(with(keyMaxHealthPerRank, charIdStr), minHealth), IntegerEntry(with(keyHealthRegen, charIdStr), randHealthRegen), IntegerEntry(with(keyMinHealthRegenPerRank, charIdStr), minHealthRegen), IntegerEntry(with(keyMaxHealthRegenPerRank, charIdStr), maxHealthRegen), IntegerEntry(with(keyManaCurrent, charIdStr), randMana), IntegerEntry(with(keyManaMax, charIdStr), randMana), IntegerEntry(with(keyMinManaPerRank, charIdStr), minMana), IntegerEntry(with(keyMaxManaPerRank, charIdStr), maxMana), IntegerEntry(with(keyManaRegen, charIdStr), randManaRegen), IntegerEntry(with(keyMinManaRegenPerRank, charIdStr), minManaRegen), IntegerEntry(with(keyMaxManaRegenPerRank, charIdStr), maxManaRegen), IntegerEntry(with(keyPyro, charIdStr), randPyro), IntegerEntry(with(keyMinPyroPerRank, charIdStr), minPyro), IntegerEntry(with(keyMaxPyroPerRank, charIdStr), pyro), IntegerEntry(with(keyAero, charIdStr), randAero), IntegerEntry(with(keyMinAeroPerRank, charIdStr), minAero), IntegerEntry(with(keyMaxAeroPerRank, charIdStr), aero), IntegerEntry(with(keyAqua, charIdStr), randAqua), IntegerEntry(with(keyMinAquaPerRank, charIdStr), minAqua), IntegerEntry(with(keyMaxAquaPerRank, charIdStr), aqua), IntegerEntry(with(keyTerra, charIdStr), randTerra), IntegerEntry(with(keyMinTerraPerRank, charIdStr), minTerra), IntegerEntry(with(keyMaxTerraPerRank, charIdStr), terra), charIssue, ScriptTransfer(i.caller, 1, charId)] ++ mobEntry)
264259 }
265260 }
266261
267262
268263 @Verifier(tx)
269264 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
270265

github/deemru/w8io/169f3d6 
49.41 ms