tx · 28PurJ8i8d4Yid8Go6UAUd8uNaxRP8qbpW8LQLUrwr3t

3MtCto83UgaYLqkeqUVj3apiBt6YzTHgTsf:  -0.01500000 Waves

2024.12.09 19:03 [3407286] smart account 3MtCto83UgaYLqkeqUVj3apiBt6YzTHgTsf > SELF 0.00000000 Waves

{ "type": 13, "id": "28PurJ8i8d4Yid8Go6UAUd8uNaxRP8qbpW8LQLUrwr3t", "fee": 1500000, "feeAssetId": null, "timestamp": 1733760170072, "version": 2, "chainId": 84, "sender": "3MtCto83UgaYLqkeqUVj3apiBt6YzTHgTsf", "senderPublicKey": "7w98hrFimkZ4X8eVspfS6M6P1C8twEuqbXBchKv5zUkn", "proofs": [ "TYRwyyWmNqU7zxJEGqHh6Fu4bWAdL617SGF84AyHmMdmeuAqSoEMA36RCyiUDqAYhRDUmr7GTNF21chUEvAh4c3" ], "script": "base64:AAIFAAAAAAAAABcIAhIECgIICBIDCgEIEgMKAQgSAwoBCAAAADABAAAAF3N0YXRpY0tleV9vcmFjbGVBZGRyZXNzAAAAAAIAAAAUc3RhdGljX29yYWNsZUFkZHJlc3MBAAAAFHN0YXRpY0tleV9lZ2dBc3NldElkAAAAAAIAAAARc3RhdGljX2VnZ0Fzc2V0SWQBAAAAGHN0YXRpY0tleV9icmVlZGVyQWRkcmVzcwAAAAACAAAAFXN0YXRpY19icmVlZGVyQWRkcmVzcwEAAAAac3RhdGljS2V5X2luY3ViYXRvckFkZHJlc3MAAAAAAgAAABdzdGF0aWNfaW5jdWJhdG9yQWRkcmVzcwEAAAAZc3RhdGljS2V5X2JhYnlEdWNrQWRkcmVzcwAAAAACAAAAFnN0YXRpY19iYWJ5RHVja0FkZHJlc3MBAAAAGHN0YXRpY0tleV9mYXJtaW5nQWRkcmVzcwAAAAACAAAAGHN0YXRpY19mYXJtaW5nQWRkcmVzc05ldwEAAAAZc3RhdGljS2V5X2NmTWFzdGVyQWRkcmVzcwAAAAACAAAAFnN0YXRpY19jZk1hc3RlckFkZHJlc3MB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Jvb2ZzAAAAAAAAAAAABQAAAApzZWNvbmRVc2VyAAAAAAAAAAABAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAACnNlY29uZFVzZXIAAAAAAAAAAAEDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAgUAAAAKc2Vjb25kVXNlcgAAAAAAAAAAAQAAAAAAAAAAAAQAAAAPdGhpcmRVc2VyU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAACXRoaXJkVXNlcgAAAAAAAAAAAQMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAABBQAAAAl0aGlyZFVzZXIAAAAAAAAAAAEDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAgUAAAAJdGhpcmRVc2VyAAAAAAAAAAABAAAAAAAAAAAABAAAAA9zaWduYXR1cmVzQ291bnQJAABkAAAAAgkAAGQAAAACBQAAAA9maXJzdFVzZXJTaWduZWQFAAAAEHNlY29uZFVzZXJTaWduZWQFAAAAD3RoaXJkVXNlclNpZ25lZAQAAAAHJG1hdGNoMAUAAAACdHgJAABnAAAAAgUAAAAPc2lnbmF0dXJlc0NvdW50AAAAAAAAAAABTsahKA==", "height": 3407286, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Cy3BQQPnEamPa6eW5X2CWLdPfhoBv8FkZUEDBfr72jRy Next: none Diff:
OldNewDifferences
1313 func staticKey_incubatorAddress () = "static_incubatorAddress"
1414
1515
16-func staticKey_babyDuckAddress () = "static_incubatorAddress"
16+func staticKey_babyDuckAddress () = "static_babyDuckAddress"
1717
1818
1919 func staticKey_farmingAddress () = "static_farmingAddressNew"
277277 let signaturesCount = ((firstUserSigned + secondUserSigned) + thirdUserSigned)
278278 match tx {
279279 case _ =>
280- (signaturesCount >= 2)
280+ (signaturesCount >= 1)
281281 }
282282 }
283283
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func staticKey_oracleAddress () = "static_oracleAddress"
55
66
77 func staticKey_eggAssetId () = "static_eggAssetId"
88
99
1010 func staticKey_breederAddress () = "static_breederAddress"
1111
1212
1313 func staticKey_incubatorAddress () = "static_incubatorAddress"
1414
1515
16-func staticKey_babyDuckAddress () = "static_incubatorAddress"
16+func staticKey_babyDuckAddress () = "static_babyDuckAddress"
1717
1818
1919 func staticKey_farmingAddress () = "static_farmingAddressNew"
2020
2121
2222 func staticKey_cfMasterAddress () = "static_cfMasterAddress"
2323
2424
2525 func staticKey_huntAddress () = "static_huntAddress"
2626
2727
2828 func staticKey_rebirthAddress () = "static_rebirthAddress"
2929
3030
3131 func staticKey_turtleBreederAddress () = "static_turtleBreederAddress"
3232
3333
3434 func staticKey_turtleIncubatorAddress () = "static_turtleIncubatorAddress"
3535
3636
3737 func staticKey_turtleStakingAddress () = "static_turtleStakingAddress"
3838
3939
4040 func staticKey_turtleRebirthAddress () = "static_turtleRebirthAddress"
4141
4242
4343 func staticKey_capacityAddress () = "static_capacityAddress"
4444
4545
4646 func staticKey_veggFarmingAddress () = "static_veggFarmingAddress"
4747
4848
4949 func staticKey_mutantFarmingAddress () = "static_mutantFarmingAddress"
5050
5151
5252 func staticKey_felineFarmingAddress () = "static_felineStakingAddress"
5353
5454
5555 func staticKey_canineFarmingAddress () = "static_canineStakingAddress"
5656
5757
5858 func staticKey_canineBreederAddress () = "static_canineBreederAddress"
5959
6060
6161 func staticKey_felineBreederAddress () = "static_felineBreederAddress"
6262
6363
6464 func tryGetBoolean (key) = match getBoolean(this, key) {
6565 case b: Boolean =>
6666 b
6767 case _ =>
6868 false
6969 }
7070
7171
7272 func tryGetInteger (key) = match getInteger(this, key) {
7373 case b: Int =>
7474 b
7575 case _ =>
7676 0
7777 }
7878
7979
8080 func isValidAddress (address) = match addressFromString(address) {
8181 case a: Address =>
8282 true
8383 case _ =>
8484 false
8585 }
8686
8787
8888 func tryGetStringExternal (address,key) = match getString(address, key) {
8989 case a: String =>
9090 a
9191 case _ =>
9292 ""
9393 }
9494
9595
9696 func tryGetString (key) = tryGetStringExternal(this, key)
9797
9898
9999 func getOracle () = Address(fromBase58String(tryGetString(staticKey_oracleAddress())))
100100
101101
102102 func getEggAssetId () = fromBase58String(tryGetStringExternal(getOracle(), staticKey_eggAssetId()))
103103
104104
105105 func getBreederAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_breederAddress())))
106106
107107
108108 func getIncubatorAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_incubatorAddress())))
109109
110110
111111 func getBabyDuckAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_babyDuckAddress())))
112112
113113
114114 func getFarmingAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_farmingAddress())))
115115
116116
117117 func getCfMasterAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_cfMasterAddress())))
118118
119119
120120 func getHuntAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_huntAddress())))
121121
122122
123123 func getRebirthAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_rebirthAddress())))
124124
125125
126126 func getTurtleBreederAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_turtleBreederAddress())))
127127
128128
129129 func getTurtleIncubatorAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_turtleIncubatorAddress())))
130130
131131
132132 func getTurtleStakingAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_turtleStakingAddress())))
133133
134134
135135 func getTurtleRebirthAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_turtleRebirthAddress())))
136136
137137
138138 func getCapacityAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_capacityAddress())))
139139
140140
141141 func getVeggFarmingAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_veggFarmingAddress())))
142142
143143
144144 func getMutantFarmingAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_mutantFarmingAddress())))
145145
146146
147147 func getFelineFarmingAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_felineFarmingAddress())))
148148
149149
150150 func getCanineFarmingAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_canineFarmingAddress())))
151151
152152
153153 func getCanineBreederAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_canineBreederAddress())))
154154
155155
156156 func getFelineBreederAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_felineBreederAddress())))
157157
158158
159159 func getTrustedAddress () = [getBreederAddress(), getBabyDuckAddress(), getFarmingAddress(), getHuntAddress(), getRebirthAddress(), getTurtleBreederAddress(), getTurtleIncubatorAddress(), getTurtleStakingAddress(), getTurtleRebirthAddress(), getCapacityAddress(), getVeggFarmingAddress(), getMutantFarmingAddress(), getFelineFarmingAddress(), getCanineFarmingAddress(), getCanineBreederAddress(), getFelineBreederAddress()]
160160
161161
162162 func masterTryGetBoolean (key) = match getBoolean(getCfMasterAddress(), key) {
163163 case b: Boolean =>
164164 b
165165 case _ =>
166166 false
167167 }
168168
169169
170170 func isTestEnv () = tryGetBoolean("TESTENV")
171171
172172
173173 @Callable(i)
174174 func addRefKey (refererAddress,refererKey) = if ((i.caller != this))
175175 then throw("admin only")
176176 else {
177177 let refStateKey = (("key_" + refererKey) + "_refererAddress")
178178 if ((tryGetString(refStateKey) == ""))
179179 then [StringEntry(refStateKey, refererAddress), StringEntry(((("address_" + refererAddress) + "_refererKey_") + refererKey), refererKey)]
180180 else throw((("The ref key \"" + refererKey) + "\" is already registered"))
181181 }
182182
183183
184184
185185 @Callable(i)
186186 func whitelistAddress (refererAddress) = if ((i.caller != this))
187187 then throw("RF: Only for admin!")
188188 else [BooleanEntry((refererAddress + "_whitelisted"), true)]
189189
190190
191191
192192 @Callable(i)
193193 func refPayment (refererKey) = {
194194 let dao = if (isTestEnv())
195195 then "3Mx9X6Dpj3thXL2So77C4DG9AmBM4WX8Mvw"
196196 else "3PEwRcYNAUtoFvKpBhKoiwajnZfdoDR6h4h"
197197 let alreadySend = tryGetInteger("dao_refund")
198198 let sendFundsToDao = $Tuple2([ScriptTransfer(addressFromStringValue(dao), i.payments[0].amount, i.payments[0].assetId), IntegerEntry("dao_refund", (alreadySend + i.payments[0].amount))], true)
199199 let referalAddress = toString(i.originCaller)
200200 if ((indexOf(getTrustedAddress(), i.caller) == unit))
201201 then throw("RC: This method can be called only by farming and incubator dApps")
202202 else if (if ((refererKey == ""))
203203 then (tryGetString((("address_" + referalAddress) + "_referedBy")) == "")
204204 else false)
205205 then sendFundsToDao
206206 else if (masterTryGetBoolean(("farm_" + referalAddress)))
207207 then sendFundsToDao
208208 else {
209209 let givenReferer = match getString(this, (("key_" + refererKey) + "_refererAddress")) {
210210 case x: String =>
211211 x
212212 case _ =>
213213 refererKey
214214 }
215215 let refererAddress = match getString(this, (("address_" + referalAddress) + "_referedBy")) {
216216 case x: String =>
217217 x
218218 case _ =>
219219 givenReferer
220220 }
221221 let refAmount = i.payments[0].amount
222222 if ((i.payments[0].assetId != getEggAssetId()))
223223 then throw("Don't try to cheat the system!")
224224 else if ((tryGetBoolean((refererAddress + "_whitelisted")) == false))
225225 then sendFundsToDao
226226 else if ((addressFromString(refererAddress) == unit))
227227 then sendFundsToDao
228228 else {
229229 let refererAddressValue = addressFromStringValue(refererAddress)
230230 let referalAddressValue = addressFromStringValue(referalAddress)
231231 let paymentForReferer = refAmount
232232 let refererEarnedReward = (("address_" + refererAddress) + "_earnedReward")
233233 let referalDeliveredReward = (((("referer_" + refererAddress) + "_referal_") + referalAddress) + "_deliveredReward")
234234 if ((refererAddress == referalAddress))
235235 then sendFundsToDao
236236 else $Tuple2([StringEntry((("address_" + referalAddress) + "_referedBy"), refererAddress), IntegerEntry(refererEarnedReward, (tryGetInteger(refererEarnedReward) + paymentForReferer)), IntegerEntry(referalDeliveredReward, (tryGetInteger(referalDeliveredReward) + paymentForReferer)), IntegerEntry((((("referer_" + refererAddress) + "_referal_") + referalAddress) + "_amount"), (tryGetInteger((((("referer_" + refererAddress) + "_referal_") + referalAddress) + "_amount")) + 1)), ScriptTransfer(refererAddressValue, paymentForReferer, getEggAssetId())], true)
237237 }
238238 }
239239 }
240240
241241
242242
243243 @Callable(i)
244244 func configureOracle (oracle) = if ((i.caller != this))
245245 then throw("RCCO: admin only")
246246 else [StringEntry(staticKey_oracleAddress(), oracle)]
247247
248248
249249 @Verifier(tx)
250250 func verify () = if (isTestEnv())
251251 then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
252252 else {
253253 let firstUser = base58'6TdaXEfhnjYquvPf3yV7MFxt2CbgFmaqsvGwkKfXtKi4'
254254 let secondUser = base58'7DsP2WaMLocbHuUxux7pbXRjTrrZ1TFQPsi5QumS3gr8'
255255 let thirdUser = base58'BpFWP3p3JgYrrP45xfrKzeMcWMEXoinj4FVPPkUiA8D3'
256256 let firstUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], firstUser))
257257 then 1
258258 else if (sigVerify(tx.bodyBytes, tx.proofs[1], firstUser))
259259 then 1
260260 else if (sigVerify(tx.bodyBytes, tx.proofs[2], firstUser))
261261 then 1
262262 else 0
263263 let secondUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], secondUser))
264264 then 1
265265 else if (sigVerify(tx.bodyBytes, tx.proofs[1], secondUser))
266266 then 1
267267 else if (sigVerify(tx.bodyBytes, tx.proofs[2], secondUser))
268268 then 1
269269 else 0
270270 let thirdUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], thirdUser))
271271 then 1
272272 else if (sigVerify(tx.bodyBytes, tx.proofs[1], thirdUser))
273273 then 1
274274 else if (sigVerify(tx.bodyBytes, tx.proofs[2], thirdUser))
275275 then 1
276276 else 0
277277 let signaturesCount = ((firstUserSigned + secondUserSigned) + thirdUserSigned)
278278 match tx {
279279 case _ =>
280- (signaturesCount >= 2)
280+ (signaturesCount >= 1)
281281 }
282282 }
283283

github/deemru/w8io/169f3d6 
31.74 ms