tx · GsrYNRJs4Q5w4vdjaKKv11HytnEvJcCqSkMWuxiHNmoh 3MucnifgqjCVTQDsVvyBbDfUYL4NzUJme6c: -0.01400000 Waves 2022.02.04 14:37 [1908812] smart account 3MucnifgqjCVTQDsVvyBbDfUYL4NzUJme6c > SELF 0.00000000 Waves
{ "type": 13, "id": "GsrYNRJs4Q5w4vdjaKKv11HytnEvJcCqSkMWuxiHNmoh", "fee": 1400000, "feeAssetId": null, "timestamp": 1643974666158, "version": 2, "chainId": 84, "sender": "3MucnifgqjCVTQDsVvyBbDfUYL4NzUJme6c", "senderPublicKey": "5VeehaC8J2hY5k7GyMevtfCSC4on8kxpPvqqQqNe5erh", "proofs": [ "4w1urNmfrGn8RozC99T1hSf28oeCa34ZgkNoKbqnQwwvkdHW6Bzh9tPmJAdUmStyope8YPxU8jqR8r2zYypn8ej9" ], "script": "base64:AAIFAAAAAAAAAAwIAhIICgYIAQEBAQEAAAAkAAAAAAZwYXJhbXMJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAECAAAAIzNOMmpaYUgxakxaNXVoS2tOaWs2Z2VBNTdIek1Hdzk4aWdSAAAAAA1rZXlJbml0VjFEb25lAgAAAAxpbml0X3YxX2RvbmUAAAAACmtleVRva2VuSWQCAAAAB3Rva2VuSWQAAAAAG2tleUluaXRpYWxDaGFyQ3JlYXRpb25TdGF0cwIAAAAYaW5pdGlhbENoYXJDcmVhdGlvblN0YXRzAAAAAAlzZXBhcmF0b3ICAAAAAV8AAAAAB2tleU5hbWUCAAAABG5hbWUAAAAABmtleVNleAIAAAADc2V4AAAAAAdrZXlSYW5rAgAAAARyYW5rAAAAABBrZXlIZWFsdGhDdXJyZW50AgAAAA1oZWFsdGhDdXJyZW50AAAAAAxrZXlIZWFsdGhNYXgCAAAACWhlYWx0aE1heAAAAAATa2V5TWluSGVhbHRoUGVyUmFuawIAAAAQbWluSGVhbHRoUGVyUmFuawAAAAATa2V5TWF4SGVhbHRoUGVyUmFuawIAAAAQbWF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R4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleWuNTL0=", "height": 1908812, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3fqpKi8iKyfc6u7MCUnvEaquGeiNvZX2uTvuvLvMXJao Next: quD6he62NydGksnG2U9Cgp7Jdn99xNvwo2aS5mmACpX Diff:
Old | New | Differences | |
---|---|---|---|
146 | 146 | let randAqua = randInt(minAqua, aqua, tx, 6) | |
147 | 147 | let minTerra = parseIntValue(initialStats[17]) | |
148 | 148 | let randTerra = randInt(minTerra, terra, tx, 7) | |
149 | - | [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), IntegerEntry("test", toInt(value(value(blockInfoByHeight(height)).vrf)))] | |
149 | + | [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), IntegerEntry("test", toInt(value(value(blockInfoByHeight(height)).vrf))), IntegerEntry("test2", toInt(value(value(blockInfoByHeight(height)).vrf))), IntegerEntry("test3", toInt(value(value(blockInfoByHeight(height)).vrf)))] | |
150 | 150 | } | |
151 | 151 | } | |
152 | 152 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let params = addressFromStringValue("3N2jZaH1jLZ5uhKkNik6geA57HzMGw98igR") | |
5 | 5 | ||
6 | 6 | let keyInitV1Done = "init_v1_done" | |
7 | 7 | ||
8 | 8 | let keyTokenId = "tokenId" | |
9 | 9 | ||
10 | 10 | let keyInitialCharCreationStats = "initialCharCreationStats" | |
11 | 11 | ||
12 | 12 | let separator = "_" | |
13 | 13 | ||
14 | 14 | let keyName = "name" | |
15 | 15 | ||
16 | 16 | let keySex = "sex" | |
17 | 17 | ||
18 | 18 | let keyRank = "rank" | |
19 | 19 | ||
20 | 20 | let keyHealthCurrent = "healthCurrent" | |
21 | 21 | ||
22 | 22 | let keyHealthMax = "healthMax" | |
23 | 23 | ||
24 | 24 | let keyMinHealthPerRank = "minHealthPerRank" | |
25 | 25 | ||
26 | 26 | let keyMaxHealthPerRank = "maxHealthPerRank" | |
27 | 27 | ||
28 | 28 | let keyHealthRegen = "healthRegen" | |
29 | 29 | ||
30 | 30 | let keyMinHealthRegenPerRank = "minHealthRegenPerRank" | |
31 | 31 | ||
32 | 32 | let keyMaxHealthRegenPerRank = "maxHealthRegenPerRank" | |
33 | 33 | ||
34 | 34 | let keyManaCurrent = "manaCurrent" | |
35 | 35 | ||
36 | 36 | let keyManaMax = "manaMax" | |
37 | 37 | ||
38 | 38 | let keyMinManaPerRank = "minManaPerRank" | |
39 | 39 | ||
40 | 40 | let keyMaxManaPerRank = "maxManaPerRank" | |
41 | 41 | ||
42 | 42 | let keyManaRegen = "manaRegen" | |
43 | 43 | ||
44 | 44 | let keyMinManaRegenPerRank = "minManaRegenPerRank" | |
45 | 45 | ||
46 | 46 | let keyMaxManaRegenPerRank = "maxManaRegenPerRank" | |
47 | 47 | ||
48 | 48 | let keyPyro = "pyro" | |
49 | 49 | ||
50 | 50 | let keyMinPyroPerRank = "minPyroPerRank" | |
51 | 51 | ||
52 | 52 | let keyMaxPyroPerRank = "maxPyroPerRank" | |
53 | 53 | ||
54 | 54 | let keyAero = "aero" | |
55 | 55 | ||
56 | 56 | let keyMinAeroPerRank = "minAeroPerRank" | |
57 | 57 | ||
58 | 58 | let keyMaxAeroPerRank = "maxAeroPerRank" | |
59 | 59 | ||
60 | 60 | let keyAqua = "aqua" | |
61 | 61 | ||
62 | 62 | let keyMinAquaPerRank = "minAquaPerRank" | |
63 | 63 | ||
64 | 64 | let keyMaxAquaPerRank = "maxAquaPerRank" | |
65 | 65 | ||
66 | 66 | let keyTerra = "terra" | |
67 | 67 | ||
68 | 68 | let keyMinTerraPerRank = "minTerraPerRank" | |
69 | 69 | ||
70 | 70 | let keyMaxTerraPerRank = "maxTerraPerRank" | |
71 | 71 | ||
72 | 72 | func with (str1,str2) = ((str1 + separator) + str2) | |
73 | 73 | ||
74 | 74 | ||
75 | 75 | func randInt (min,max,txId,nonce) = ((toInt(sha256_16Kb((value(value(blockInfoByHeight(height)).vrf) + txId)), nonce) % ((max - min) + 1)) + min) | |
76 | 76 | ||
77 | 77 | ||
78 | 78 | @Callable(i) | |
79 | 79 | func create (name,sex,pyro,aero,aqua,terra) = { | |
80 | 80 | let initialStats = split(getStringValue(params, keyInitialCharCreationStats), separator) | |
81 | 81 | let nameSize = size(name) | |
82 | 82 | if (if ((parseIntValue(initialStats[0]) > nameSize)) | |
83 | 83 | then true | |
84 | 84 | else (nameSize > parseIntValue(initialStats[1]))) | |
85 | 85 | then throw("Char name size not valid") | |
86 | 86 | else if (if (contains(name, " ")) | |
87 | 87 | then true | |
88 | 88 | else contains(name, separator)) | |
89 | 89 | then throw((("Whitespaces or " + separator) + " not allowed")) | |
90 | 90 | else if (if ((sex != 1)) | |
91 | 91 | then (sex != 2) | |
92 | 92 | else false) | |
93 | 93 | then throw("Somethings wrong with char sex") | |
94 | 94 | else if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (((((pyro + aero) + aqua) + terra) != 14)) | |
95 | 95 | then true | |
96 | 96 | else (2 > pyro)) | |
97 | 97 | then true | |
98 | 98 | else (pyro > 5)) | |
99 | 99 | then true | |
100 | 100 | else (2 > aero)) | |
101 | 101 | then true | |
102 | 102 | else (aero > 5)) | |
103 | 103 | then true | |
104 | 104 | else (2 > aqua)) | |
105 | 105 | then true | |
106 | 106 | else (aqua > 5)) | |
107 | 107 | then true | |
108 | 108 | else (2 > terra)) | |
109 | 109 | then true | |
110 | 110 | else (terra > 5)) | |
111 | 111 | then true | |
112 | 112 | else (pyro == aero)) | |
113 | 113 | then true | |
114 | 114 | else (pyro == aqua)) | |
115 | 115 | then true | |
116 | 116 | else (pyro == terra)) | |
117 | 117 | then true | |
118 | 118 | else (aero == aqua)) | |
119 | 119 | then true | |
120 | 120 | else (aero == terra)) | |
121 | 121 | then true | |
122 | 122 | else (aqua == terra)) | |
123 | 123 | then throw("Elem spec issue") | |
124 | 124 | else { | |
125 | 125 | let charIssue = Issue(name, "", 1, 0, false, unit, 0) | |
126 | 126 | let charId = calculateAssetId(charIssue) | |
127 | 127 | let charIdStr = toBase58String(charId) | |
128 | 128 | let tx = i.transactionId | |
129 | 129 | let minHealth = parseIntValue(initialStats[3]) | |
130 | 130 | let maxHealth = parseIntValue(initialStats[4]) | |
131 | 131 | let randHealth = (parseIntValue(initialStats[2]) + randInt(minHealth, maxHealth, tx, 0)) | |
132 | 132 | let minHealthRegen = parseIntValue(initialStats[6]) | |
133 | 133 | let maxHealthRegen = parseIntValue(initialStats[7]) | |
134 | 134 | let randHealthRegen = (parseIntValue(initialStats[5]) + randInt(minHealthRegen, maxHealthRegen, tx, 1)) | |
135 | 135 | let minMana = parseIntValue(initialStats[9]) | |
136 | 136 | let maxMana = parseIntValue(initialStats[10]) | |
137 | 137 | let randMana = (parseIntValue(initialStats[8]) + randInt(minMana, maxMana, tx, 2)) | |
138 | 138 | let minManaRegen = parseIntValue(initialStats[12]) | |
139 | 139 | let maxManaRegen = parseIntValue(initialStats[13]) | |
140 | 140 | let randManaRegen = (parseIntValue(initialStats[11]) + randInt(minManaRegen, maxManaRegen, tx, 3)) | |
141 | 141 | let minPyro = parseIntValue(initialStats[14]) | |
142 | 142 | let randPyro = randInt(minPyro, pyro, tx, 4) | |
143 | 143 | let minAero = parseIntValue(initialStats[15]) | |
144 | 144 | let randAero = randInt(minAero, aero, tx, 5) | |
145 | 145 | let minAqua = parseIntValue(initialStats[16]) | |
146 | 146 | let randAqua = randInt(minAqua, aqua, tx, 6) | |
147 | 147 | let minTerra = parseIntValue(initialStats[17]) | |
148 | 148 | let randTerra = randInt(minTerra, terra, tx, 7) | |
149 | - | [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), IntegerEntry("test", toInt(value(value(blockInfoByHeight(height)).vrf)))] | |
149 | + | [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), IntegerEntry("test", toInt(value(value(blockInfoByHeight(height)).vrf))), IntegerEntry("test2", toInt(value(value(blockInfoByHeight(height)).vrf))), IntegerEntry("test3", toInt(value(value(blockInfoByHeight(height)).vrf)))] | |
150 | 150 | } | |
151 | 151 | } | |
152 | 152 | ||
153 | 153 | ||
154 | 154 | @Verifier(tx) | |
155 | 155 | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
156 | 156 |
github/deemru/w8io/169f3d6 49.91 ms ◑