tx · F4j42U56yjKoGDm4MKitVGQvkTtLwogvjh2tGAaRDKBM 3N33m3JMhEN5QxhDKujcsbpFHo3UcHE4Jwt: -0.03200000 Waves 2024.10.16 19:27 [3329622] smart account 3N33m3JMhEN5QxhDKujcsbpFHo3UcHE4Jwt > SELF 0.00000000 Waves
{ "type": 13, "id": "F4j42U56yjKoGDm4MKitVGQvkTtLwogvjh2tGAaRDKBM", "fee": 3200000, "feeAssetId": null, "timestamp": 1729096060869, "version": 2, "chainId": 84, "sender": "3N33m3JMhEN5QxhDKujcsbpFHo3UcHE4Jwt", "senderPublicKey": "9Rp4v3BUwexbq4Ta6b1K2wTRxefC3irpr2tHC51mSAjz", "proofs": [ "4Syja4c1raCJw2Ga7WdYKKg9v8fJrsMYDyuJkXn2Rjhb5YGTSK6wLutFxYqom6ZJfhw6BKC6eSjHSoCm3vXtURYt" ], "script": "base64:AAIFAAAAAAAAADgIAhIECgIICBIDCgEIEgQKAggIEgUKAwgIARIDCgEIEgUKAwgEBBIDCgEIEgASAwoBCBIECgIICAAAAD8AAAAABVNjYWxlAAAAAAAF9eEAAQAAABR0cnlHZXRTdHJpbmdFeHRlcm5hbAAAAAIAAAAHYWRkcmVzcwAAAANrZXkEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAHYWRkcmVzcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWECAAAAAAEAAAAMdHJ5R2V0U3RyaW5nAAAAAQAAAANrZXkJAQAAABR0cnlHZXRTdHJpbmdFeHRlcm5hbAAAAAIFAAAABHRoaXMFAAAAA2tleQEAAAAHZ2V0Qm9vbAAAAAEAAAADa2V5BAAAAAckbWF0Y2gwCQAEGwAAAAIFAAAABHRoaXMFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAHQm9vbGVhbgQAAAABYgUAAAAHJG1hdGNoMAUAAAABYgcBAAAACWlzVGVzdEVudg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RlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAl0aGlyZFVzZXIAAAAAAAAAAAEDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAQUAAAAJdGhpcmRVc2VyAAAAAAAAAAABAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAIFAAAACXRoaXJkVXNlcgAAAAAAAAAAAQAAAAAAAAAAAAQAAAAPc2lnbmF0dXJlc0NvdW50CQAAZAAAAAIJAABkAAAAAgUAAAAPZmlyc3RVc2VyU2lnbmVkBQAAABBzZWNvbmRVc2VyU2lnbmVkBQAAAA90aGlyZFVzZXJTaWduZWQEAAAAByRtYXRjaDAFAAAAAnR4CQAAZwAAAAIFAAAAD3NpZ25hdHVyZXNDb3VudAAAAAAAAAAAAqBQbpU=", "height": 3329622, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 1azaHc3WhYnqtdcwn3xtg1i54oLoUB1xyQKxHgR88WK Next: 68FRaBw93dsNeQFx1DF1fnvGxQsbzg7bCF7w4xdb38EE Diff:
Old | New | Differences | |
---|---|---|---|
531 | 531 | ||
532 | 532 | ||
533 | 533 | @Callable(aZ) | |
534 | - | func stakeNFT (bW,bX,bY) = if (true) | |
535 | - | then throw("Staking is disabled") | |
536 | - | else if (if (bY) | |
537 | - | then !(aW(toString(aZ.caller))) | |
538 | - | else false) | |
539 | - | then throw("You can't stake without a perch") | |
540 | - | else { | |
541 | - | let bz = ab(aZ.payments[0]) | |
542 | - | if ((bz == bz)) | |
543 | - | then { | |
544 | - | let bZ = value(aZ.payments[1]) | |
545 | - | let ba = value(bZ.assetId) | |
546 | - | let aA = value(value(assetInfo(ba)).name) | |
547 | - | let az = (takeRight(aA, 1) == "U") | |
548 | - | let c = toString(aZ.caller) | |
549 | - | let ca = if (bX) | |
550 | - | then toString(aZ.originCaller) | |
551 | - | else c | |
552 | - | let cb = if (bY) | |
553 | - | then nil | |
534 | + | func stakeNFT (bW,bX,bY) = if (if (bY) | |
535 | + | then !(aW(toString(aZ.caller))) | |
536 | + | else false) | |
537 | + | then throw("You can't stake without a perch") | |
538 | + | else { | |
539 | + | let bz = ab(aZ.payments[0]) | |
540 | + | if ((bz == bz)) | |
541 | + | then { | |
542 | + | let bZ = value(aZ.payments[1]) | |
543 | + | let ba = value(bZ.assetId) | |
544 | + | let aA = value(value(assetInfo(ba)).name) | |
545 | + | let az = (takeRight(aA, 1) == "U") | |
546 | + | let c = toString(aZ.caller) | |
547 | + | let ca = if (bX) | |
548 | + | then toString(aZ.originCaller) | |
549 | + | else c | |
550 | + | let cb = if (bY) | |
551 | + | then nil | |
552 | + | else { | |
553 | + | let bA = if (az) | |
554 | + | then bW | |
555 | + | else takeRight(aA, 1) | |
556 | + | let cc = ae(((("address_" + ca) + "_perchesAvailable_") + bA)) | |
557 | + | if ((0 >= cc)) | |
558 | + | then throw(("no perches available for the color " + bA)) | |
559 | + | else [IntegerEntry(((("address_" + ca) + "_perchesAvailable_") + bA), (cc - 1)), StringEntry((((("address_" + c) + "_asset_") + toBase58String(ba)) + "_perchColor"), bA)] | |
560 | + | } | |
561 | + | if ((cb == cb)) | |
562 | + | then if ((bZ.amount != 1)) | |
563 | + | then throw("NFT is not attached") | |
554 | 564 | else { | |
555 | - | let bA = if (az) | |
556 | - | then bW | |
557 | - | else takeRight(aA, 1) | |
558 | - | let cc = ae(((("address_" + ca) + "_perchesAvailable_") + bA)) | |
559 | - | if ((0 >= cc)) | |
560 | - | then throw(("no perches available for the color " + bA)) | |
561 | - | else [IntegerEntry(((("address_" + ca) + "_perchesAvailable_") + bA), (cc - 1)), StringEntry((((("address_" + c) + "_asset_") + toBase58String(ba)) + "_perchColor"), bA)] | |
565 | + | let cd = ai(invoke(this, "calculateFarmPower", [toBase58String(ba), toString(aZ.originCaller)], nil)) | |
566 | + | if ((cd == cd)) | |
567 | + | then { | |
568 | + | let ce = aJ(c, toBase58String(ba), false, c, toString(aZ.originCaller)) | |
569 | + | if ((ce == ce)) | |
570 | + | then ((([IntegerEntry(A(), (ae(A()) + cd._1)), IntegerEntry(Z(c), (ae(Z(c)) + cd._1)), StringEntry((toBase58String(ba) + "_owner"), c), BooleanEntry((toBase58String(ba) + "_use_origin"), bX), StringEntry((toBase58String(ba) + "_original_caller"), toString(aZ.originCaller)), IntegerEntry(X(c, toBase58String(ba)), cd._1), IntegerEntry((toBase58String(ba) + "_basePower"), cd._2), BooleanEntry((toBase58String(ba) + "_without_perch"), bY)] ++ bz) ++ cb) ++ ce._1) | |
571 | + | else throw("Strict value is not equal to itself.") | |
572 | + | } | |
573 | + | else throw("Strict value is not equal to itself.") | |
562 | 574 | } | |
563 | - | if ((cb == cb)) | |
564 | - | then if ((bZ.amount != 1)) | |
565 | - | then throw("NFT is not attached") | |
566 | - | else { | |
567 | - | let cd = ai(invoke(this, "calculateFarmPower", [toBase58String(ba), toString(aZ.originCaller)], nil)) | |
568 | - | if ((cd == cd)) | |
569 | - | then { | |
570 | - | let ce = aJ(c, toBase58String(ba), false, c, toString(aZ.originCaller)) | |
571 | - | if ((ce == ce)) | |
572 | - | then ((([IntegerEntry(A(), (ae(A()) + cd._1)), IntegerEntry(Z(c), (ae(Z(c)) + cd._1)), StringEntry((toBase58String(ba) + "_owner"), c), BooleanEntry((toBase58String(ba) + "_use_origin"), bX), StringEntry((toBase58String(ba) + "_original_caller"), toString(aZ.originCaller)), IntegerEntry(X(c, toBase58String(ba)), cd._1), IntegerEntry((toBase58String(ba) + "_basePower"), cd._2), BooleanEntry((toBase58String(ba) + "_without_perch"), bY)] ++ bz) ++ cb) ++ ce._1) | |
573 | - | else throw("Strict value is not equal to itself.") | |
574 | - | } | |
575 | - | else throw("Strict value is not equal to itself.") | |
576 | - | } | |
577 | - | else throw("Strict value is not equal to itself.") | |
578 | - | } | |
579 | - | else throw("Strict value is not equal to itself.") | |
580 | - | } | |
575 | + | else throw("Strict value is not equal to itself.") | |
576 | + | } | |
577 | + | else throw("Strict value is not equal to itself.") | |
578 | + | } | |
581 | 579 | ||
582 | 580 | ||
583 | 581 | ||
622 | 620 | ||
623 | 621 | ||
624 | 622 | @Callable(aZ) | |
625 | - | func topUpReward () = if (true) | |
626 | - | then throw("Staking is disabled") | |
627 | - | else { | |
628 | - | let bE = value(aZ.payments[0]) | |
629 | - | if ((bE.assetId != H())) | |
630 | - | then throw(("FBP: You can attach only EGG tokens with the following asset id: " + toBase58String(H()))) | |
631 | - | else { | |
632 | - | let ci = aj(bE.amount) | |
633 | - | $Tuple2(ci, true) | |
634 | - | } | |
635 | - | } | |
623 | + | func topUpReward () = { | |
624 | + | let bE = value(aZ.payments[0]) | |
625 | + | if ((bE.assetId != H())) | |
626 | + | then throw(("FBP: You can attach only EGG tokens with the following asset id: " + toBase58String(H()))) | |
627 | + | else { | |
628 | + | let ci = aj(bE.amount) | |
629 | + | $Tuple2(ci, true) | |
630 | + | } | |
631 | + | } | |
636 | 632 | ||
637 | 633 | ||
638 | 634 | ||
639 | 635 | @Callable(aZ) | |
640 | - | func claimReward (ba) = if (true) | |
641 | - | then throw("Staking is disabled") | |
642 | - | else { | |
643 | - | let bz = if ((aZ.originCaller == S())) | |
644 | - | then nil | |
645 | - | else ab(aZ.payments[0]) | |
646 | - | if ((bz == bz)) | |
647 | - | then if (if ((g((ba + "_owner")) != toString(aZ.caller))) | |
648 | - | then (g((ba + "_original_caller")) != toString(aZ.caller)) | |
649 | - | else false) | |
650 | - | then throw((("You don't own this duck (" + ba) + ")!! ")) | |
651 | - | else if ((size(aZ.payments) > 1)) | |
652 | - | then throw("Please don't add extra payments") | |
653 | - | else { | |
654 | - | let cj = if ((aZ.originCaller != S())) | |
655 | - | then toString(aZ.caller) | |
656 | - | else g((ba + "_original_caller")) | |
657 | - | let ck = if ((aZ.originCaller != S())) | |
658 | - | then toString(aZ.caller) | |
659 | - | else g((ba + "_owner")) | |
660 | - | let cl = if ((aZ.originCaller != S())) | |
661 | - | then toString(aZ.originCaller) | |
662 | - | else g((ba + "_original_caller")) | |
663 | - | let ce = aJ(ck, ba, true, cj, cl) | |
664 | - | $Tuple2((bz ++ ce._1), ce._2) | |
665 | - | } | |
666 | - | else throw("Strict value is not equal to itself.") | |
667 | - | } | |
636 | + | func claimReward (ba) = { | |
637 | + | let bz = if ((aZ.originCaller == S())) | |
638 | + | then nil | |
639 | + | else ab(aZ.payments[0]) | |
640 | + | if ((bz == bz)) | |
641 | + | then if (if ((g((ba + "_owner")) != toString(aZ.caller))) | |
642 | + | then (g((ba + "_original_caller")) != toString(aZ.caller)) | |
643 | + | else false) | |
644 | + | then throw((("You don't own this duck (" + ba) + ")!! ")) | |
645 | + | else if ((size(aZ.payments) > 1)) | |
646 | + | then throw("Please don't add extra payments") | |
647 | + | else { | |
648 | + | let cj = if ((aZ.originCaller != S())) | |
649 | + | then toString(aZ.caller) | |
650 | + | else g((ba + "_original_caller")) | |
651 | + | let ck = if ((aZ.originCaller != S())) | |
652 | + | then toString(aZ.caller) | |
653 | + | else g((ba + "_owner")) | |
654 | + | let cl = if ((aZ.originCaller != S())) | |
655 | + | then toString(aZ.originCaller) | |
656 | + | else g((ba + "_original_caller")) | |
657 | + | let ce = aJ(ck, ba, true, cj, cl) | |
658 | + | $Tuple2((bz ++ ce._1), ce._2) | |
659 | + | } | |
660 | + | else throw("Strict value is not equal to itself.") | |
661 | + | } | |
668 | 662 | ||
669 | 663 | ||
670 | 664 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = 100000000 | |
5 | 5 | ||
6 | 6 | func b (c,d) = { | |
7 | 7 | let e = getString(c, d) | |
8 | 8 | if ($isInstanceOf(e, "String")) | |
9 | 9 | then { | |
10 | 10 | let f = e | |
11 | 11 | f | |
12 | 12 | } | |
13 | 13 | else "" | |
14 | 14 | } | |
15 | 15 | ||
16 | 16 | ||
17 | 17 | func g (d) = b(this, d) | |
18 | 18 | ||
19 | 19 | ||
20 | 20 | func h (d) = { | |
21 | 21 | let e = getBoolean(this, d) | |
22 | 22 | if ($isInstanceOf(e, "Boolean")) | |
23 | 23 | then { | |
24 | 24 | let i = e | |
25 | 25 | i | |
26 | 26 | } | |
27 | 27 | else false | |
28 | 28 | } | |
29 | 29 | ||
30 | 30 | ||
31 | 31 | func j () = h("TESTENV") | |
32 | 32 | ||
33 | 33 | ||
34 | 34 | func k () = "static_refContractAddress" | |
35 | 35 | ||
36 | 36 | ||
37 | 37 | let l = "global_lastCheck_interest" | |
38 | 38 | ||
39 | 39 | func m () = "static_oracleAddress" | |
40 | 40 | ||
41 | 41 | ||
42 | 42 | func n () = "static_eggAssetId" | |
43 | 43 | ||
44 | 44 | ||
45 | 45 | func o () = "static_incubatorAddress" | |
46 | 46 | ||
47 | 47 | ||
48 | 48 | func p () = "static_breederAddress" | |
49 | 49 | ||
50 | 50 | ||
51 | 51 | func q () = "static_accBoosterAddress" | |
52 | 52 | ||
53 | 53 | ||
54 | 54 | func r () = "static_couponsAddress" | |
55 | 55 | ||
56 | 56 | ||
57 | 57 | func s () = "static_burnAddress" | |
58 | 58 | ||
59 | 59 | ||
60 | 60 | func t () = "static_extraFee" | |
61 | 61 | ||
62 | 62 | ||
63 | 63 | func u () = "static_feeAggregator" | |
64 | 64 | ||
65 | 65 | ||
66 | 66 | let v = "global_earnings" | |
67 | 67 | ||
68 | 68 | func w () = "static_perchFee" | |
69 | 69 | ||
70 | 70 | ||
71 | 71 | func x () = "static_rebirthAddress" | |
72 | 72 | ||
73 | 73 | ||
74 | 74 | func y () = "static_turtleRebirthAddress" | |
75 | 75 | ||
76 | 76 | ||
77 | 77 | func z () = "static_itemsAddress" | |
78 | 78 | ||
79 | 79 | ||
80 | 80 | func A () = "total_staked" | |
81 | 81 | ||
82 | 82 | ||
83 | 83 | func B () = "static_proxyStakingContracts" | |
84 | 84 | ||
85 | 85 | ||
86 | 86 | func C () = "static_cfMasterAddress" | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func D () = "static_potionFee" | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | func E () = "static_canineStakingAddress" | |
93 | 93 | ||
94 | 94 | ||
95 | 95 | func F () = Address(fromBase58String(g(m()))) | |
96 | 96 | ||
97 | 97 | ||
98 | 98 | func G () = Address(fromBase58String(b(F(), x()))) | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func H () = fromBase58String(b(F(), n())) | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func I () = Address(fromBase58String(b(F(), o()))) | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func J () = Address(fromBase58String(b(F(), p()))) | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | func K () = Address(fromBase58String(b(F(), q()))) | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | func L () = Address(fromBase58String(b(F(), r()))) | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | func M () = Address(fromBase58String(b(F(), s()))) | |
117 | 117 | ||
118 | 118 | ||
119 | 119 | func N () = Address(fromBase58String(b(F(), u()))) | |
120 | 120 | ||
121 | 121 | ||
122 | 122 | func O () = Address(fromBase58String(b(F(), k()))) | |
123 | 123 | ||
124 | 124 | ||
125 | 125 | func P () = Address(fromBase58String(b(F(), y()))) | |
126 | 126 | ||
127 | 127 | ||
128 | 128 | func Q () = Address(fromBase58String(b(F(), z()))) | |
129 | 129 | ||
130 | 130 | ||
131 | 131 | func R () = b(F(), B()) | |
132 | 132 | ||
133 | 133 | ||
134 | 134 | func S () = Address(fromBase58String(b(F(), C()))) | |
135 | 135 | ||
136 | 136 | ||
137 | 137 | func T () = getIntegerValue(F(), D()) | |
138 | 138 | ||
139 | 139 | ||
140 | 140 | func U () = Address(fromBase58String(b(F(), E()))) | |
141 | 141 | ||
142 | 142 | ||
143 | 143 | func V (c,W) = (((("address_" + c) + "_asset_") + W) + "_lastCheckInterest") | |
144 | 144 | ||
145 | 145 | ||
146 | 146 | func X (c,W) = (((("address_" + c) + "_asset_") + W) + "_farmingPower") | |
147 | 147 | ||
148 | 148 | ||
149 | 149 | func Y (c,W) = (((c + "_asset_") + W) + "_claimed") | |
150 | 150 | ||
151 | 151 | ||
152 | 152 | func Z (c) = ("total_staked_" + c) | |
153 | 153 | ||
154 | 154 | ||
155 | 155 | let aa = 5 | |
156 | 156 | ||
157 | 157 | func ab (ac) = if (isDefined(ac.assetId)) | |
158 | 158 | then throw("FCAP: Please attach waves") | |
159 | 159 | else { | |
160 | 160 | let ad = getIntegerValue(F(), t()) | |
161 | 161 | if ((ac.amount != ad)) | |
162 | 162 | then throw((("FCAP: Please attach exactly " + toString(ad)) + " amount of wavelets")) | |
163 | 163 | else [ScriptTransfer(N(), ad, unit)] | |
164 | 164 | } | |
165 | 165 | ||
166 | 166 | ||
167 | 167 | func ae (d) = { | |
168 | 168 | let e = getInteger(this, d) | |
169 | 169 | if ($isInstanceOf(e, "Int")) | |
170 | 170 | then { | |
171 | 171 | let i = e | |
172 | 172 | i | |
173 | 173 | } | |
174 | 174 | else 0 | |
175 | 175 | } | |
176 | 176 | ||
177 | 177 | ||
178 | 178 | func af (ag) = { | |
179 | 179 | let e = ag | |
180 | 180 | if ($isInstanceOf(e, "Int")) | |
181 | 181 | then { | |
182 | 182 | let ah = e | |
183 | 183 | ah | |
184 | 184 | } | |
185 | 185 | else throw("FAI: wrong type, expected: Int") | |
186 | 186 | } | |
187 | 187 | ||
188 | 188 | ||
189 | 189 | func ai (ag) = { | |
190 | 190 | let e = ag | |
191 | 191 | if ($isInstanceOf(e, "(Int, Int)")) | |
192 | 192 | then { | |
193 | 193 | let ah = e | |
194 | 194 | ah | |
195 | 195 | } | |
196 | 196 | else throw("FAI: wrong type, expected: (Int,Int)") | |
197 | 197 | } | |
198 | 198 | ||
199 | 199 | ||
200 | 200 | func aj (ak) = { | |
201 | 201 | let al = ae(l) | |
202 | 202 | let am = ae(A()) | |
203 | 203 | let an = if ((am > 0)) | |
204 | 204 | then fraction(ak, a, am) | |
205 | 205 | else 0 | |
206 | 206 | [IntegerEntry(v, (ae(v) + ak)), IntegerEntry(l, (al + an))] | |
207 | 207 | } | |
208 | 208 | ||
209 | 209 | ||
210 | 210 | func ao (ag) = { | |
211 | 211 | let e = ag | |
212 | 212 | if ($isInstanceOf(e, "String")) | |
213 | 213 | then { | |
214 | 214 | let ap = e | |
215 | 215 | ap | |
216 | 216 | } | |
217 | 217 | else throw("FAS: wrong type, expected: String") | |
218 | 218 | } | |
219 | 219 | ||
220 | 220 | ||
221 | 221 | func aq (d) = { | |
222 | 222 | let e = getBoolean(this, d) | |
223 | 223 | if ($isInstanceOf(e, "Boolean")) | |
224 | 224 | then { | |
225 | 225 | let i = e | |
226 | 226 | i | |
227 | 227 | } | |
228 | 228 | else false | |
229 | 229 | } | |
230 | 230 | ||
231 | 231 | ||
232 | 232 | func ar (c,d) = { | |
233 | 233 | let e = getBoolean(c, d) | |
234 | 234 | if ($isInstanceOf(e, "Boolean")) | |
235 | 235 | then { | |
236 | 236 | let i = e | |
237 | 237 | i | |
238 | 238 | } | |
239 | 239 | else false | |
240 | 240 | } | |
241 | 241 | ||
242 | 242 | ||
243 | 243 | func as (at) = if ((at == "G")) | |
244 | 244 | then I() | |
245 | 245 | else J() | |
246 | 246 | ||
247 | 247 | ||
248 | 248 | func au (av,at) = { | |
249 | 249 | let aw = valueOrErrorMessage(getInteger(as(at), (("stats_" + av) + "_quantity")), (("stats_" + av) + "_quantity not found")) | |
250 | 250 | let ax = pow((10000 / aw), 4, 5, 1, 2, FLOOR) | |
251 | 251 | if ((ax > 0)) | |
252 | 252 | then ax | |
253 | 253 | else 2 | |
254 | 254 | } | |
255 | 255 | ||
256 | 256 | ||
257 | 257 | func ay (az,aA) = { | |
258 | 258 | let aB = if (az) | |
259 | 259 | then 100 | |
260 | 260 | else { | |
261 | 261 | let at = take(takeRight(aA, 2), 1) | |
262 | 262 | let aC = ao(invoke(J(), "getGenFromName", [aA], nil)) | |
263 | 263 | if ((aC == aC)) | |
264 | 264 | then au(aC, at) | |
265 | 265 | else throw("Strict value is not equal to itself.") | |
266 | 266 | } | |
267 | 267 | aB | |
268 | 268 | } | |
269 | 269 | ||
270 | 270 | ||
271 | 271 | func aD (c,W,aE) = { | |
272 | 272 | let aF = ae(A()) | |
273 | 273 | let aG = ae(Z(c)) | |
274 | 274 | let aH = ae(X(c, W)) | |
275 | 275 | let aI = ai(invoke(this, "calculateFarmPower", [W, aE], nil)) | |
276 | 276 | if ((aH != 0)) | |
277 | 277 | then [IntegerEntry(A(), ((aF - aH) + aI._1)), IntegerEntry(Z(c), ((aG - aH) + aI._1)), IntegerEntry(X(c, W), aI._1)] | |
278 | 278 | else nil | |
279 | 279 | } | |
280 | 280 | ||
281 | 281 | ||
282 | 282 | func aJ (c,W,aK,aL,aM) = { | |
283 | 283 | let al = ae(l) | |
284 | 284 | let aN = ae(V(c, W)) | |
285 | 285 | let aO = ae(X(c, W)) | |
286 | 286 | let aP = if (aK) | |
287 | 287 | then aD(c, W, aM) | |
288 | 288 | else nil | |
289 | 289 | if ((aP == aP)) | |
290 | 290 | then { | |
291 | 291 | let aQ = if ((aN > 0)) | |
292 | 292 | then fraction((al - aN), aO, a) | |
293 | 293 | else 0 | |
294 | 294 | $Tuple2(([ScriptTransfer(addressFromStringValue(aL), aQ, H()), IntegerEntry(V(c, W), al), IntegerEntry(Y(aL, W), (ae(Y(aL, W)) + aQ))] ++ aP), aQ) | |
295 | 295 | } | |
296 | 296 | else throw("Strict value is not equal to itself.") | |
297 | 297 | } | |
298 | 298 | ||
299 | 299 | ||
300 | 300 | func aR (ag) = { | |
301 | 301 | let e = ag | |
302 | 302 | if ($isInstanceOf(e, "Boolean")) | |
303 | 303 | then { | |
304 | 304 | let aS = e | |
305 | 305 | aS | |
306 | 306 | } | |
307 | 307 | else throw("FAB: wrong type, expected: Boolean") | |
308 | 308 | } | |
309 | 309 | ||
310 | 310 | ||
311 | 311 | func aT (c) = { | |
312 | 312 | let aU = b(K(), (("ART-XMISTL_" + c) + "_owner")) | |
313 | 313 | let aV = getIntegerValue(F(), w()) | |
314 | 314 | if ((aU == "")) | |
315 | 315 | then aV | |
316 | 316 | else ((aV / 10) * 9) | |
317 | 317 | } | |
318 | 318 | ||
319 | 319 | ||
320 | 320 | func aW (c) = { | |
321 | 321 | let aX = R() | |
322 | 322 | let aY = split(aX, ";") | |
323 | 323 | (indexOf(aY, c) != unit) | |
324 | 324 | } | |
325 | 325 | ||
326 | 326 | ||
327 | 327 | @Callable(aZ) | |
328 | 328 | func calculateFarmPower (ba,bb) = if (!(if ((value(assetInfo(fromBase58String(ba))).issuer == J())) | |
329 | 329 | then true | |
330 | 330 | else (value(assetInfo(fromBase58String(ba))).issuer == I()))) | |
331 | 331 | then throw("This does not seem like a valid Duck!") | |
332 | 332 | else { | |
333 | 333 | let aA = value(assetInfo(fromBase58String(ba))).name | |
334 | 334 | let bc = takeRight(aA, 1) | |
335 | 335 | let az = (takeRight(aA, 1) == "U") | |
336 | 336 | let aB = ay(az, aA) | |
337 | 337 | let av = split(dropRight(drop(aA, 5), 3), "") | |
338 | 338 | func bd (be,bf) = if (!(containsElement(be, bf))) | |
339 | 339 | then (be :+ bf) | |
340 | 340 | else be | |
341 | 341 | ||
342 | 342 | let bg = { | |
343 | 343 | let bh = av | |
344 | 344 | let bi = size(bh) | |
345 | 345 | let bj = nil | |
346 | 346 | func bk (bl,bm) = if ((bm >= bi)) | |
347 | 347 | then bl | |
348 | 348 | else bd(bl, bh[bm]) | |
349 | 349 | ||
350 | 350 | func bn (bl,bm) = if ((bm >= bi)) | |
351 | 351 | then bl | |
352 | 352 | else throw("List size exceeds 8") | |
353 | 353 | ||
354 | 354 | bn(bk(bk(bk(bk(bk(bk(bk(bk(bj, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
355 | 355 | } | |
356 | 356 | let bo = if ((bc == "U")) | |
357 | 357 | then 8 | |
358 | 358 | else size(bg) | |
359 | 359 | let ax = pow(15, 1, bo, 0, 2, DOWN) | |
360 | 360 | let bp = if (j()) | |
361 | 361 | then 2500000 | |
362 | 362 | else 3750000 | |
363 | 363 | let bq = (((height - bp) * 100) / (((60 * 24) * 30) * 3)) | |
364 | 364 | let br = ae((ba + "_basePower")) | |
365 | 365 | let bs = if ((br > 0)) | |
366 | 366 | then br | |
367 | 367 | else ((ax * bq) / 100) | |
368 | 368 | let bt = ((bs * aB) / 100) | |
369 | 369 | let bu = af(invoke(Q(), "calculateFarmingPowerBoost", [ba, bb], nil)) | |
370 | 370 | if ((bu == bu)) | |
371 | 371 | then { | |
372 | 372 | let bv = (bt + ((bt * bu) / 100)) | |
373 | 373 | $Tuple2(nil, $Tuple2(bv, bs)) | |
374 | 374 | } | |
375 | 375 | else throw("Strict value is not equal to itself.") | |
376 | 376 | } | |
377 | 377 | ||
378 | 378 | ||
379 | 379 | ||
380 | 380 | @Callable(aZ) | |
381 | 381 | func configureOracle (bw) = if ((aZ.caller != this)) | |
382 | 382 | then throw("FCO: admin only") | |
383 | 383 | else [StringEntry(m(), bw)] | |
384 | 384 | ||
385 | 385 | ||
386 | 386 | ||
387 | 387 | @Callable(aZ) | |
388 | 388 | func buyPerch (bx,by) = { | |
389 | 389 | let bz = ab(aZ.payments[0]) | |
390 | 390 | if ((bz == bz)) | |
391 | 391 | then { | |
392 | 392 | let bA = if ((bx == "U")) | |
393 | 393 | then "B" | |
394 | 394 | else bx | |
395 | 395 | if ((0 > value(indexOf(["B", "R", "G", "Y"], bA)))) | |
396 | 396 | then throw("you need to set color properly") | |
397 | 397 | else { | |
398 | 398 | let bB = aT(toString(aZ.caller)) | |
399 | 399 | let bC = if ((aZ.originCaller == aZ.caller)) | |
400 | 400 | then { | |
401 | 401 | let bD = af(invoke(L(), "useCoupons", [bB], nil)) | |
402 | 402 | if ((bD == bD)) | |
403 | 403 | then (bB - bD) | |
404 | 404 | else throw("Strict value is not equal to itself.") | |
405 | 405 | } | |
406 | 406 | else bB | |
407 | 407 | let ac = if ((bC != 0)) | |
408 | 408 | then { | |
409 | 409 | let bE = if ((size(aZ.payments) == 2)) | |
410 | 410 | then value(aZ.payments[1]) | |
411 | 411 | else value(aZ.payments[0]) | |
412 | 412 | if ((bE.assetId != H())) | |
413 | 413 | then throw(("FBP: You can attach only EGG tokens with the following asset id: " + toBase58String(H()))) | |
414 | 414 | else if ((bE.amount != bC)) | |
415 | 415 | then throw(((("FBP: To buy a perch you currently need the following amount of EGGlets: " + toString(bC)) + " ") + toString(aZ.caller))) | |
416 | 416 | else { | |
417 | 417 | let bF = fraction(bC, 5, 100) | |
418 | 418 | let bG = aR(invoke(O(), "refPayment", [by], [AttachedPayment(H(), bF)])) | |
419 | 419 | if ((bG == bG)) | |
420 | 420 | then { | |
421 | 421 | let bH = if (bG) | |
422 | 422 | then (bC - bF) | |
423 | 423 | else bC | |
424 | 424 | let bI = invoke(M(), "burnAttachedPayments", nil, [AttachedPayment(H(), bH)]) | |
425 | 425 | if ((bI == bI)) | |
426 | 426 | then bC | |
427 | 427 | else throw("Strict value is not equal to itself.") | |
428 | 428 | } | |
429 | 429 | else throw("Strict value is not equal to itself.") | |
430 | 430 | } | |
431 | 431 | } | |
432 | 432 | else 0 | |
433 | 433 | if ((ac == ac)) | |
434 | 434 | then { | |
435 | 435 | let bJ = ((("address_" + toString(aZ.caller)) + "_perchesAvailable_") + bA) | |
436 | 436 | let bK = ae(bJ) | |
437 | 437 | ([IntegerEntry(bJ, (bK + 1))] ++ bz) | |
438 | 438 | } | |
439 | 439 | else throw("Strict value is not equal to itself.") | |
440 | 440 | } | |
441 | 441 | } | |
442 | 442 | else throw("Strict value is not equal to itself.") | |
443 | 443 | } | |
444 | 444 | ||
445 | 445 | ||
446 | 446 | ||
447 | 447 | @Callable(aZ) | |
448 | 448 | func addFreePerch (c,bA,ak) = if ((0 > value(indexOf(["B", "R", "G", "Y"], bA)))) | |
449 | 449 | then throw("you need to set color properly") | |
450 | 450 | else if (if (if ((aZ.caller != G())) | |
451 | 451 | then (aZ.caller != P()) | |
452 | 452 | else false) | |
453 | 453 | then (aZ.caller != this) | |
454 | 454 | else false) | |
455 | 455 | then throw("rebirth and admin only") | |
456 | 456 | else { | |
457 | 457 | let bJ = ((("address_" + c) + "_perchesAvailable_") + bA) | |
458 | 458 | let bK = ae(bJ) | |
459 | 459 | $Tuple2([IntegerEntry(bJ, (bK + ak))], "") | |
460 | 460 | } | |
461 | 461 | ||
462 | 462 | ||
463 | 463 | ||
464 | 464 | @Callable(aZ) | |
465 | 465 | func migratePerches (c) = { | |
466 | 466 | let bL = addressFromStringValue(b(F(), "static_farmingAddress")) | |
467 | 467 | func bM (d) = { | |
468 | 468 | let e = getInteger(bL, d) | |
469 | 469 | if ($isInstanceOf(e, "Int")) | |
470 | 470 | then { | |
471 | 471 | let i = e | |
472 | 472 | i | |
473 | 473 | } | |
474 | 474 | else 0 | |
475 | 475 | } | |
476 | 476 | ||
477 | 477 | let bN = bM((("address_" + c) + "_perchesAvailable_B")) | |
478 | 478 | if ((bN == bN)) | |
479 | 479 | then { | |
480 | 480 | let bO = bM((("address_" + c) + "_perchesAvailable_R")) | |
481 | 481 | if ((bO == bO)) | |
482 | 482 | then { | |
483 | 483 | let bP = bM((("address_" + c) + "_perchesAvailable_G")) | |
484 | 484 | if ((bP == bP)) | |
485 | 485 | then { | |
486 | 486 | let bQ = bM((("address_" + c) + "_perchesAvailable_Y")) | |
487 | 487 | if ((bQ == bQ)) | |
488 | 488 | then { | |
489 | 489 | let bR = invoke(this, "addFreePerch", [c, "B", bN], nil) | |
490 | 490 | if ((bR == bR)) | |
491 | 491 | then { | |
492 | 492 | let bS = invoke(this, "addFreePerch", [c, "R", bO], nil) | |
493 | 493 | if ((bS == bS)) | |
494 | 494 | then { | |
495 | 495 | let bT = invoke(this, "addFreePerch", [c, "G", bP], nil) | |
496 | 496 | if ((bT == bT)) | |
497 | 497 | then { | |
498 | 498 | let bU = invoke(this, "addFreePerch", [c, "Y", bQ], nil) | |
499 | 499 | if ((bU == bU)) | |
500 | 500 | then if (if (if (if ((bN == 0)) | |
501 | 501 | then (bO == 0) | |
502 | 502 | else false) | |
503 | 503 | then (bP == 0) | |
504 | 504 | else false) | |
505 | 505 | then (bQ == 0) | |
506 | 506 | else false) | |
507 | 507 | then throw("Nothing to migrate") | |
508 | 508 | else { | |
509 | 509 | let bV = invoke(bL, "removePerches", [c], nil) | |
510 | 510 | if ((bV == bV)) | |
511 | 511 | then nil | |
512 | 512 | else throw("Strict value is not equal to itself.") | |
513 | 513 | } | |
514 | 514 | else throw("Strict value is not equal to itself.") | |
515 | 515 | } | |
516 | 516 | else throw("Strict value is not equal to itself.") | |
517 | 517 | } | |
518 | 518 | else throw("Strict value is not equal to itself.") | |
519 | 519 | } | |
520 | 520 | else throw("Strict value is not equal to itself.") | |
521 | 521 | } | |
522 | 522 | else throw("Strict value is not equal to itself.") | |
523 | 523 | } | |
524 | 524 | else throw("Strict value is not equal to itself.") | |
525 | 525 | } | |
526 | 526 | else throw("Strict value is not equal to itself.") | |
527 | 527 | } | |
528 | 528 | else throw("Strict value is not equal to itself.") | |
529 | 529 | } | |
530 | 530 | ||
531 | 531 | ||
532 | 532 | ||
533 | 533 | @Callable(aZ) | |
534 | - | func stakeNFT (bW,bX,bY) = if (true) | |
535 | - | then throw("Staking is disabled") | |
536 | - | else if (if (bY) | |
537 | - | then !(aW(toString(aZ.caller))) | |
538 | - | else false) | |
539 | - | then throw("You can't stake without a perch") | |
540 | - | else { | |
541 | - | let bz = ab(aZ.payments[0]) | |
542 | - | if ((bz == bz)) | |
543 | - | then { | |
544 | - | let bZ = value(aZ.payments[1]) | |
545 | - | let ba = value(bZ.assetId) | |
546 | - | let aA = value(value(assetInfo(ba)).name) | |
547 | - | let az = (takeRight(aA, 1) == "U") | |
548 | - | let c = toString(aZ.caller) | |
549 | - | let ca = if (bX) | |
550 | - | then toString(aZ.originCaller) | |
551 | - | else c | |
552 | - | let cb = if (bY) | |
553 | - | then nil | |
534 | + | func stakeNFT (bW,bX,bY) = if (if (bY) | |
535 | + | then !(aW(toString(aZ.caller))) | |
536 | + | else false) | |
537 | + | then throw("You can't stake without a perch") | |
538 | + | else { | |
539 | + | let bz = ab(aZ.payments[0]) | |
540 | + | if ((bz == bz)) | |
541 | + | then { | |
542 | + | let bZ = value(aZ.payments[1]) | |
543 | + | let ba = value(bZ.assetId) | |
544 | + | let aA = value(value(assetInfo(ba)).name) | |
545 | + | let az = (takeRight(aA, 1) == "U") | |
546 | + | let c = toString(aZ.caller) | |
547 | + | let ca = if (bX) | |
548 | + | then toString(aZ.originCaller) | |
549 | + | else c | |
550 | + | let cb = if (bY) | |
551 | + | then nil | |
552 | + | else { | |
553 | + | let bA = if (az) | |
554 | + | then bW | |
555 | + | else takeRight(aA, 1) | |
556 | + | let cc = ae(((("address_" + ca) + "_perchesAvailable_") + bA)) | |
557 | + | if ((0 >= cc)) | |
558 | + | then throw(("no perches available for the color " + bA)) | |
559 | + | else [IntegerEntry(((("address_" + ca) + "_perchesAvailable_") + bA), (cc - 1)), StringEntry((((("address_" + c) + "_asset_") + toBase58String(ba)) + "_perchColor"), bA)] | |
560 | + | } | |
561 | + | if ((cb == cb)) | |
562 | + | then if ((bZ.amount != 1)) | |
563 | + | then throw("NFT is not attached") | |
554 | 564 | else { | |
555 | - | let bA = if (az) | |
556 | - | then bW | |
557 | - | else takeRight(aA, 1) | |
558 | - | let cc = ae(((("address_" + ca) + "_perchesAvailable_") + bA)) | |
559 | - | if ((0 >= cc)) | |
560 | - | then throw(("no perches available for the color " + bA)) | |
561 | - | else [IntegerEntry(((("address_" + ca) + "_perchesAvailable_") + bA), (cc - 1)), StringEntry((((("address_" + c) + "_asset_") + toBase58String(ba)) + "_perchColor"), bA)] | |
565 | + | let cd = ai(invoke(this, "calculateFarmPower", [toBase58String(ba), toString(aZ.originCaller)], nil)) | |
566 | + | if ((cd == cd)) | |
567 | + | then { | |
568 | + | let ce = aJ(c, toBase58String(ba), false, c, toString(aZ.originCaller)) | |
569 | + | if ((ce == ce)) | |
570 | + | then ((([IntegerEntry(A(), (ae(A()) + cd._1)), IntegerEntry(Z(c), (ae(Z(c)) + cd._1)), StringEntry((toBase58String(ba) + "_owner"), c), BooleanEntry((toBase58String(ba) + "_use_origin"), bX), StringEntry((toBase58String(ba) + "_original_caller"), toString(aZ.originCaller)), IntegerEntry(X(c, toBase58String(ba)), cd._1), IntegerEntry((toBase58String(ba) + "_basePower"), cd._2), BooleanEntry((toBase58String(ba) + "_without_perch"), bY)] ++ bz) ++ cb) ++ ce._1) | |
571 | + | else throw("Strict value is not equal to itself.") | |
572 | + | } | |
573 | + | else throw("Strict value is not equal to itself.") | |
562 | 574 | } | |
563 | - | if ((cb == cb)) | |
564 | - | then if ((bZ.amount != 1)) | |
565 | - | then throw("NFT is not attached") | |
566 | - | else { | |
567 | - | let cd = ai(invoke(this, "calculateFarmPower", [toBase58String(ba), toString(aZ.originCaller)], nil)) | |
568 | - | if ((cd == cd)) | |
569 | - | then { | |
570 | - | let ce = aJ(c, toBase58String(ba), false, c, toString(aZ.originCaller)) | |
571 | - | if ((ce == ce)) | |
572 | - | then ((([IntegerEntry(A(), (ae(A()) + cd._1)), IntegerEntry(Z(c), (ae(Z(c)) + cd._1)), StringEntry((toBase58String(ba) + "_owner"), c), BooleanEntry((toBase58String(ba) + "_use_origin"), bX), StringEntry((toBase58String(ba) + "_original_caller"), toString(aZ.originCaller)), IntegerEntry(X(c, toBase58String(ba)), cd._1), IntegerEntry((toBase58String(ba) + "_basePower"), cd._2), BooleanEntry((toBase58String(ba) + "_without_perch"), bY)] ++ bz) ++ cb) ++ ce._1) | |
573 | - | else throw("Strict value is not equal to itself.") | |
574 | - | } | |
575 | - | else throw("Strict value is not equal to itself.") | |
576 | - | } | |
577 | - | else throw("Strict value is not equal to itself.") | |
578 | - | } | |
579 | - | else throw("Strict value is not equal to itself.") | |
580 | - | } | |
575 | + | else throw("Strict value is not equal to itself.") | |
576 | + | } | |
577 | + | else throw("Strict value is not equal to itself.") | |
578 | + | } | |
581 | 579 | ||
582 | 580 | ||
583 | 581 | ||
584 | 582 | @Callable(aZ) | |
585 | 583 | func unstakeNFT (W) = { | |
586 | 584 | let c = toString(aZ.caller) | |
587 | 585 | if ((g((W + "_owner")) != toString(aZ.caller))) | |
588 | 586 | then throw("You don't own this duck!!") | |
589 | 587 | else { | |
590 | 588 | let ce = aJ(c, W, false, c, toString(aZ.originCaller)) | |
591 | 589 | if ((ce == ce)) | |
592 | 590 | then { | |
593 | 591 | let bz = ab(aZ.payments[0]) | |
594 | 592 | if ((bz == bz)) | |
595 | 593 | then { | |
596 | 594 | let bA = g((((("address_" + c) + "_asset_") + W) + "_perchColor")) | |
597 | 595 | let cf = aq((W + "_without_perch")) | |
598 | 596 | let cb = if (cf) | |
599 | 597 | then nil | |
600 | 598 | else { | |
601 | 599 | let bX = aq((W + "_use_origin")) | |
602 | 600 | let cg = if (bX) | |
603 | 601 | then toString(aZ.originCaller) | |
604 | 602 | else c | |
605 | 603 | [IntegerEntry(((("address_" + cg) + "_perchesAvailable_") + bA), (ae(((("address_" + cg) + "_perchesAvailable_") + bA)) + 1))] | |
606 | 604 | } | |
607 | 605 | if ((cb == cb)) | |
608 | 606 | then { | |
609 | 607 | let ch = ae(X(c, W)) | |
610 | 608 | if ((ch == ch)) | |
611 | 609 | then $Tuple2(((([IntegerEntry(A(), (ae(A()) - ch)), IntegerEntry(Z(c), (ae(Z(c)) - ch)), DeleteEntry((W + "_owner")), DeleteEntry(X(c, W)), DeleteEntry((((("address_" + c) + "_asset_") + W) + "_perchColor")), DeleteEntry((W + "_original_caller")), DeleteEntry((W + "_use_origin")), DeleteEntry((W + "_without_perch")), ScriptTransfer(Address(fromBase58String(c)), 1, fromBase58String(W))] ++ bz) ++ cb) ++ ce._1), ce._2) | |
612 | 610 | else throw("Strict value is not equal to itself.") | |
613 | 611 | } | |
614 | 612 | else throw("Strict value is not equal to itself.") | |
615 | 613 | } | |
616 | 614 | else throw("Strict value is not equal to itself.") | |
617 | 615 | } | |
618 | 616 | else throw("Strict value is not equal to itself.") | |
619 | 617 | } | |
620 | 618 | } | |
621 | 619 | ||
622 | 620 | ||
623 | 621 | ||
624 | 622 | @Callable(aZ) | |
625 | - | func topUpReward () = if (true) | |
626 | - | then throw("Staking is disabled") | |
627 | - | else { | |
628 | - | let bE = value(aZ.payments[0]) | |
629 | - | if ((bE.assetId != H())) | |
630 | - | then throw(("FBP: You can attach only EGG tokens with the following asset id: " + toBase58String(H()))) | |
631 | - | else { | |
632 | - | let ci = aj(bE.amount) | |
633 | - | $Tuple2(ci, true) | |
634 | - | } | |
635 | - | } | |
623 | + | func topUpReward () = { | |
624 | + | let bE = value(aZ.payments[0]) | |
625 | + | if ((bE.assetId != H())) | |
626 | + | then throw(("FBP: You can attach only EGG tokens with the following asset id: " + toBase58String(H()))) | |
627 | + | else { | |
628 | + | let ci = aj(bE.amount) | |
629 | + | $Tuple2(ci, true) | |
630 | + | } | |
631 | + | } | |
636 | 632 | ||
637 | 633 | ||
638 | 634 | ||
639 | 635 | @Callable(aZ) | |
640 | - | func claimReward (ba) = if (true) | |
641 | - | then throw("Staking is disabled") | |
642 | - | else { | |
643 | - | let bz = if ((aZ.originCaller == S())) | |
644 | - | then nil | |
645 | - | else ab(aZ.payments[0]) | |
646 | - | if ((bz == bz)) | |
647 | - | then if (if ((g((ba + "_owner")) != toString(aZ.caller))) | |
648 | - | then (g((ba + "_original_caller")) != toString(aZ.caller)) | |
649 | - | else false) | |
650 | - | then throw((("You don't own this duck (" + ba) + ")!! ")) | |
651 | - | else if ((size(aZ.payments) > 1)) | |
652 | - | then throw("Please don't add extra payments") | |
653 | - | else { | |
654 | - | let cj = if ((aZ.originCaller != S())) | |
655 | - | then toString(aZ.caller) | |
656 | - | else g((ba + "_original_caller")) | |
657 | - | let ck = if ((aZ.originCaller != S())) | |
658 | - | then toString(aZ.caller) | |
659 | - | else g((ba + "_owner")) | |
660 | - | let cl = if ((aZ.originCaller != S())) | |
661 | - | then toString(aZ.originCaller) | |
662 | - | else g((ba + "_original_caller")) | |
663 | - | let ce = aJ(ck, ba, true, cj, cl) | |
664 | - | $Tuple2((bz ++ ce._1), ce._2) | |
665 | - | } | |
666 | - | else throw("Strict value is not equal to itself.") | |
667 | - | } | |
636 | + | func claimReward (ba) = { | |
637 | + | let bz = if ((aZ.originCaller == S())) | |
638 | + | then nil | |
639 | + | else ab(aZ.payments[0]) | |
640 | + | if ((bz == bz)) | |
641 | + | then if (if ((g((ba + "_owner")) != toString(aZ.caller))) | |
642 | + | then (g((ba + "_original_caller")) != toString(aZ.caller)) | |
643 | + | else false) | |
644 | + | then throw((("You don't own this duck (" + ba) + ")!! ")) | |
645 | + | else if ((size(aZ.payments) > 1)) | |
646 | + | then throw("Please don't add extra payments") | |
647 | + | else { | |
648 | + | let cj = if ((aZ.originCaller != S())) | |
649 | + | then toString(aZ.caller) | |
650 | + | else g((ba + "_original_caller")) | |
651 | + | let ck = if ((aZ.originCaller != S())) | |
652 | + | then toString(aZ.caller) | |
653 | + | else g((ba + "_owner")) | |
654 | + | let cl = if ((aZ.originCaller != S())) | |
655 | + | then toString(aZ.originCaller) | |
656 | + | else g((ba + "_original_caller")) | |
657 | + | let ce = aJ(ck, ba, true, cj, cl) | |
658 | + | $Tuple2((bz ++ ce._1), ce._2) | |
659 | + | } | |
660 | + | else throw("Strict value is not equal to itself.") | |
661 | + | } | |
668 | 662 | ||
669 | 663 | ||
670 | 664 | ||
671 | 665 | @Callable(aZ) | |
672 | 666 | func redeemItem (cm,cn) = { | |
673 | 667 | let co = aZ.payments[0] | |
674 | 668 | if ((co == co)) | |
675 | 669 | then { | |
676 | 670 | let cp = value(aZ.payments[1]) | |
677 | 671 | if ((cp == cp)) | |
678 | 672 | then if ((cp.amount != 1)) | |
679 | 673 | then throw("You need to attach exactly 1 potion") | |
680 | 674 | else { | |
681 | 675 | let cq = ao(invoke(Q(), "checkArtefactDetails", [toBase58String(value(value(cp).assetId))], nil)) | |
682 | 676 | if ((cq == cq)) | |
683 | 677 | then if ((cq != "ART-POTION")) | |
684 | 678 | then throw("You need to attach a ART-POTION artefact") | |
685 | 679 | else if ((co.assetId != unit)) | |
686 | 680 | then throw("You need to attach waves") | |
687 | 681 | else if ((co.amount != T())) | |
688 | 682 | then throw((("You need to attach exactly " + toString(T())) + " waves")) | |
689 | 683 | else { | |
690 | 684 | let cr = (co.amount / 2) | |
691 | 685 | let cs = (co.amount - cr) | |
692 | 686 | let br = ae((cn + "_basePower")) | |
693 | 687 | if ((br == 0)) | |
694 | 688 | then throw("This is not a valid duck or the duck waves never staked!") | |
695 | 689 | else if ((g((cn + "_owner")) != "")) | |
696 | 690 | then throw("Please usntake your duck first!!") | |
697 | 691 | else { | |
698 | 692 | let ct = invoke(U(), "addWavesAndStakeMore", nil, [AttachedPayment(unit, cs)]) | |
699 | 693 | if ((ct == ct)) | |
700 | 694 | then [ScriptTransfer(N(), cr, unit), DeleteEntry((cn + "_basePower"))] | |
701 | 695 | else throw("Strict value is not equal to itself.") | |
702 | 696 | } | |
703 | 697 | } | |
704 | 698 | else throw("Strict value is not equal to itself.") | |
705 | 699 | } | |
706 | 700 | else throw("Strict value is not equal to itself.") | |
707 | 701 | } | |
708 | 702 | else throw("Strict value is not equal to itself.") | |
709 | 703 | } | |
710 | 704 | ||
711 | 705 | ||
712 | 706 | @Verifier(cu) | |
713 | 707 | func cv () = if (j()) | |
714 | 708 | then sigVerify(cu.bodyBytes, cu.proofs[0], cu.senderPublicKey) | |
715 | 709 | else { | |
716 | 710 | let cw = base58'6TdaXEfhnjYquvPf3yV7MFxt2CbgFmaqsvGwkKfXtKi4' | |
717 | 711 | let cx = base58'7DsP2WaMLocbHuUxux7pbXRjTrrZ1TFQPsi5QumS3gr8' | |
718 | 712 | let cy = base58'BpFWP3p3JgYrrP45xfrKzeMcWMEXoinj4FVPPkUiA8D3' | |
719 | 713 | let cz = if (sigVerify(cu.bodyBytes, cu.proofs[0], cw)) | |
720 | 714 | then 1 | |
721 | 715 | else if (sigVerify(cu.bodyBytes, cu.proofs[1], cw)) | |
722 | 716 | then 1 | |
723 | 717 | else if (sigVerify(cu.bodyBytes, cu.proofs[2], cw)) | |
724 | 718 | then 1 | |
725 | 719 | else 0 | |
726 | 720 | let cA = if (sigVerify(cu.bodyBytes, cu.proofs[0], cx)) | |
727 | 721 | then 1 | |
728 | 722 | else if (sigVerify(cu.bodyBytes, cu.proofs[1], cx)) | |
729 | 723 | then 1 | |
730 | 724 | else if (sigVerify(cu.bodyBytes, cu.proofs[2], cx)) | |
731 | 725 | then 1 | |
732 | 726 | else 0 | |
733 | 727 | let cB = if (sigVerify(cu.bodyBytes, cu.proofs[0], cy)) | |
734 | 728 | then 1 | |
735 | 729 | else if (sigVerify(cu.bodyBytes, cu.proofs[1], cy)) | |
736 | 730 | then 1 | |
737 | 731 | else if (sigVerify(cu.bodyBytes, cu.proofs[2], cy)) | |
738 | 732 | then 1 | |
739 | 733 | else 0 | |
740 | 734 | let cC = ((cz + cA) + cB) | |
741 | 735 | let e = cu | |
742 | 736 | (cC >= 2) | |
743 | 737 | } | |
744 | 738 |
github/deemru/w8io/169f3d6 66.59 ms ◑