tx · 7nmUWW2K7JLTzCHRsyrxwz4iXMEj9eVqF5XMcUJziMY1

3MxTMV6E3ebgCzmDXaj5gAaYUurRfvvdkFy:  -0.03400000 Waves

2023.06.08 09:25 [2613329] smart account 3MxTMV6E3ebgCzmDXaj5gAaYUurRfvvdkFy > SELF 0.00000000 Waves

{ "type": 13, "id": "7nmUWW2K7JLTzCHRsyrxwz4iXMEj9eVqF5XMcUJziMY1", "fee": 3400000, "feeAssetId": null, "timestamp": 1686205725322, "version": 2, "chainId": 84, "sender": "3MxTMV6E3ebgCzmDXaj5gAaYUurRfvvdkFy", "senderPublicKey": "6VtENpsQqFTML5DPg7mbuHeQPrTDUN8VFWoTj4x4ZL73", "proofs": [ "fKQtnB58ZVzyhLy4eMPT2SnEbjFkFksrgVij8bkgAVAqa11YsG9bSxswQY5KTrMtoUwDFY8qi4u7f2Yv1PrH7Do" ], "script": "base64:BgJwCAISAwoBCBIMCgoICAgICAEICAgIEgQKAggIEgYKBAgICAgSAwoBCBIHCgUICAgBCBIHCgUICAgIAhIJCgcICAgICAgIEgMKAQgSAwoBCBIDCgEIEgQKAggIEgMKARgSAwoBGBIECgIBARIECgIBAQwACXNlcGFyYXRvcgIBXwAEa0J1eQIDYnV5AAZrUHJpY2UCBXByaWNlAAVrU2VsbAIEc2VsbAASbWF4QXVjdGlvbkR1cmF0aW9uAB4ABXRlYW1zASCFY5Wj84iOsN4MF44ITr+aP5K7Jts66HaOFtwUIipIfgAFV0FWRVMBAAAEa0JpZAIDYmlkAAxzdGF0dXNGb3JORlQJAJYKBAIET1BFTgIGQ0xPU0VEAghSRVdBUkRFRAIIQ0FOQ0VMRUQAC2RBcHBBZGRyZXNzARoBVEq4T2zewtqT7fSO6Uo2+NVPf5XVVVtdoAEFaXNOZnQBB2Fzc2V0SWQEByRtYXRjaDAJAOwHAQUHYXNzZXRJZAMJAAECBQckbWF0Y2gwAgVBc3NldAQFdG9rZW4FByRtYXRjaDADAwkAAAIIBQV0b2tlbghkZWNpbWF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aAVQ+6ANwZrxdTDKg1y4O6Kcf7uy9OpsKfQUDCQECIT0CCAgFAWkGY2FsbGVyBWJ5dGVzBQxvd25lckFkZHJlc3MJAAIBAhlzb3JyeSAgeW91IGhhdmUgbm8gYWNjZXNzAwMJAGcCBQtwbGF0Zm9ybUZlZQAACQBnAgULcGxhdGZvcm1GZWUFBmFtb3VudAcJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwgFAWkGY2FsbGVyCQBoAgUGYW1vdW50AIDC1y8FBHVuaXQFA25pbAUDbmlsAQJ0eAEGdmVyaWZ5AAQHJG1hdGNoMAUCdHgDCQABAgUHJG1hdGNoMAIUU2V0U2NyaXB0VHJhbnNhY3Rpb24EC3NldFNjcmlwdFR4BQckbWF0Y2gwBgeU+2Pd", "height": 2613329, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 529x5M2TLFHzY2M85iYe1qefUWkXawPLcmnYdoRxZ8en Next: none Diff:
OldNewDifferences
3636 }
3737
3838
39-func o (p) = [StringEntry("paused", "false")]
39+let o = toString(false)
4040
41-
42-@Callable(q)
43-func setPaused (p) = {
44- let r = q.caller.bytes
45-[StringEntry("paused", p)]
41+@Callable(p)
42+func setPaused (o) = {
43+ let q = p.caller.bytes
44+[StringEntry("paused", o)]
4645 }
4746
4847
4948
50-@Callable(q)
51-func createNft (s,t,u,v,w,x,y,z,A,B) = {
52- let C = Issue(s, z, 1, 0, false)
53- let D = calculateAssetId(C)
54- let E = q.transactionId
55- let F = getStringValue(this, "paused")
56- if ((F == "true"))
49+@Callable(p)
50+func createNft (r,s,t,u,v,w,x,y,z,A) = {
51+ let B = Issue(r, y, 1, 0, false)
52+ let C = calculateAssetId(B)
53+ let D = p.transactionId
54+ let E = getStringValue(this, "paused")
55+ if ((E == "true"))
5756 then throw("Minting is paused by admin!Please try after sometime")
58- else [C, ScriptTransfer(q.caller, 1, D), StringEntry(((toBase58String(D) + a) + "Owner"), toString(q.caller)), StringEntry(((toBase58String(D) + a) + "nft_type"), v), StringEntry(((toBase58String(D) + a) + "nft_tags"), w), StringEntry(((toBase58String(D) + a) + "nft_dAppAddress"), u), StringEntry(((toBase58String(E) + a) + "royalityPercentage"), y), IntegerEntry(((toBase58String(D) + a) + "nft_selling_price"), x), StringEntry(((toBase58String(D) + a) + "nft_onSell"), A), StringEntry(((toBase58String(D) + a) + "nft_data"), B), StringEntry(((toBase58String(E) + a) + "issue_nft"), toBase58String(D))]
57+ else [B, ScriptTransfer(p.caller, 1, C), StringEntry(((toBase58String(C) + a) + "Owner"), toString(p.caller)), StringEntry(((toBase58String(C) + a) + "nft_type"), u), StringEntry(((toBase58String(C) + a) + "nft_tags"), v), StringEntry(((toBase58String(C) + a) + "nft_dAppAddress"), t), StringEntry(((toBase58String(D) + a) + "royalityPercentage"), x), IntegerEntry(((toBase58String(C) + a) + "nft_selling_price"), w), StringEntry(((toBase58String(C) + a) + "nft_onSell"), z), StringEntry(((toBase58String(C) + a) + "nft_data"), A), StringEntry(((toBase58String(D) + a) + "issue_nft"), toBase58String(C))]
5958 }
6059
6160
6261
63-@Callable(q)
64-func sellNFT (G,H) = {
65- let E = q.transactionId
66- let I = q.caller.bytes
67- let J = $Tuple2(value(q.payments[0].assetId), value(q.payments[0].amount))
68- let K = J._1
69- let L = J._2
70- if (!(k(K)))
62+@Callable(p)
63+func sellNFT (F,G) = {
64+ let D = p.transactionId
65+ let H = p.caller.bytes
66+ let I = $Tuple2(value(p.payments[0].assetId), value(p.payments[0].amount))
67+ let J = I._1
68+ let K = I._2
69+ if (!(k(J)))
7170 then throw("Token is not NFT")
72- else [StringEntry(((c + a) + toBase58String(value(q.payments[0].assetId))), G), StringEntry(((toString(q.caller) + a) + d), (((toBase58String(K) + a) + toString(L)) + H))]
71+ else [StringEntry(((c + a) + toBase58String(value(p.payments[0].assetId))), F), StringEntry(((toString(p.caller) + a) + d), (((toBase58String(J) + a) + toString(K)) + G))]
7372 }
7473
7574
7675
77-@Callable(q)
78-func buyNFT (M,N,O,y) = {
79- let l = fromBase58String(M)
80- let P = {
81- let m = getString(this, (("nft_" + N) + "_owner"))
76+@Callable(p)
77+func buyNFT (L,M,N,x) = {
78+ let l = fromBase58String(L)
79+ let O = {
80+ let m = getString(this, (("nft_" + M) + "_owner"))
8281 if ($isInstanceOf(m, "String"))
8382 then {
84- let Q = m
85- Q
83+ let P = m
84+ P
8685 }
8786 else false
8887 }
89- let G = getStringValue(((((c + a) + M) + "_") + N))
90- let R = value(q.payments[0].amount)
91- let S = (R - ((R / 1000) * 25))
92- let T = (R - S)
93- let U = y
94- let V = ((R * parseIntValue(U)) / 100)
95- let W = (R - (V + T))
96- if ((N == toString(q.caller)))
88+ let F = getStringValue(((((c + a) + L) + "_") + M))
89+ let Q = value(p.payments[0].amount)
90+ let R = (Q - ((Q / 1000) * 25))
91+ let S = (Q - R)
92+ let T = x
93+ let U = ((Q * parseIntValue(T)) / 100)
94+ let V = (Q - (U + S))
95+ if ((M == toString(p.caller)))
9796 then throw("current Owner of NFT not able to purchase")
98- else if (if ((q.payments[0].assetId == f))
99- then (O != N)
97+ else if (if ((p.payments[0].assetId == f))
98+ then (N != M)
10099 else false)
101- then [ScriptTransfer(q.caller, 1, l), ScriptTransfer(Address(fromBase58String(N)), W, f), ScriptTransfer(Address(fromBase58String(O)), V, f), IntegerEntry((("nft_" + M) + "platform_fee"), T), StringEntry(((toString(q.caller) + a) + b), ((M + a) + toString(R))), DeleteEntry((("nft_" + N) + "_owner")), StringEntry((("nft_" + N) + "_owner"), toString(q.caller)), StringEntry(((M + a) + "_owner"), toString(q.caller))]
102- else if (if ((q.payments[0].assetId == f))
103- then (O == N)
100+ then [ScriptTransfer(p.caller, 1, l), ScriptTransfer(Address(fromBase58String(M)), V, f), ScriptTransfer(Address(fromBase58String(N)), U, f), IntegerEntry((("nft_" + L) + "platform_fee"), S), StringEntry(((toString(p.caller) + a) + b), ((L + a) + toString(Q))), DeleteEntry((("nft_" + M) + "_owner")), StringEntry((("nft_" + M) + "_owner"), toString(p.caller)), StringEntry(((L + a) + "_owner"), toString(p.caller))]
101+ else if (if ((p.payments[0].assetId == f))
102+ then (N == M)
104103 else false)
105- then [ScriptTransfer(q.caller, 1, l), ScriptTransfer(Address(fromBase58String(N)), S, f), StringEntry((("nft_" + M) + "platform_fee"), toString(T)), StringEntry(((toString(q.caller) + a) + b), ((M + a) + toString(R))), DeleteEntry((("nft_" + N) + "_owner")), StringEntry((("nft_" + N) + "_owner"), toString(q.caller)), StringEntry(((M + a) + "_owner"), toString(q.caller))]
106- else if (if ((q.payments[0].assetId == unit))
107- then (O != N)
104+ then [ScriptTransfer(p.caller, 1, l), ScriptTransfer(Address(fromBase58String(M)), R, f), StringEntry((("nft_" + L) + "platform_fee"), toString(S)), StringEntry(((toString(p.caller) + a) + b), ((L + a) + toString(Q))), DeleteEntry((("nft_" + M) + "_owner")), StringEntry((("nft_" + M) + "_owner"), toString(p.caller)), StringEntry(((L + a) + "_owner"), toString(p.caller))]
105+ else if (if ((p.payments[0].assetId == unit))
106+ then (N != M)
108107 else false)
109- then [ScriptTransfer(q.caller, 1, l), ScriptTransfer(Address(fromBase58String(N)), W, unit), ScriptTransfer(Address(fromBase58String(O)), V, unit), StringEntry((("nft_" + M) + "platform_fee"), toString(T)), StringEntry(((toString(q.caller) + a) + b), ((M + a) + toString(R))), DeleteEntry((("nft_" + N) + "_owner")), StringEntry((("nft_" + N) + "_owner"), toString(q.caller)), StringEntry(((M + a) + "_owner"), toString(q.caller))]
110- else if (if ((q.payments[0].assetId == unit))
111- then (O == N)
108+ then [ScriptTransfer(p.caller, 1, l), ScriptTransfer(Address(fromBase58String(M)), V, unit), ScriptTransfer(Address(fromBase58String(N)), U, unit), StringEntry((("nft_" + L) + "platform_fee"), toString(S)), StringEntry(((toString(p.caller) + a) + b), ((L + a) + toString(Q))), DeleteEntry((("nft_" + M) + "_owner")), StringEntry((("nft_" + M) + "_owner"), toString(p.caller)), StringEntry(((L + a) + "_owner"), toString(p.caller))]
109+ else if (if ((p.payments[0].assetId == unit))
110+ then (N == M)
112111 else false)
113- then [ScriptTransfer(q.caller, 1, l), ScriptTransfer(Address(fromBase58String(N)), S, unit), StringEntry((("nft_" + M) + "platform_fee"), toString(T)), StringEntry(((toString(q.caller) + a) + b), ((M + a) + toString(R))), DeleteEntry((("nft_" + N) + "_owner")), StringEntry((("nft_" + N) + "_owner"), toString(q.caller)), StringEntry(((M + a) + "_owner"), toString(q.caller))]
112+ then [ScriptTransfer(p.caller, 1, l), ScriptTransfer(Address(fromBase58String(M)), R, unit), StringEntry((("nft_" + L) + "platform_fee"), toString(S)), StringEntry(((toString(p.caller) + a) + b), ((L + a) + toString(Q))), DeleteEntry((("nft_" + M) + "_owner")), StringEntry((("nft_" + M) + "_owner"), toString(p.caller)), StringEntry(((L + a) + "_owner"), toString(p.caller))]
114113 else nil
115114 }
116115
117116
118117
119-@Callable(q)
120-func cancelSell (X) = {
121- let E = toBase58String(q.transactionId)
122- let I = q.caller.bytes
123-[StringEntry(((E + X) + "_nft_status"), "CANCELED"), ScriptTransfer(Address(I), 1, fromBase58String(X))]
118+@Callable(p)
119+func cancelSell (W) = {
120+ let D = toBase58String(p.transactionId)
121+ let H = p.caller.bytes
122+[StringEntry(((D + W) + "_nft_status"), "CANCELED"), ScriptTransfer(Address(H), 1, fromBase58String(W))]
124123 }
125124
126125
127126
128-@Callable(q)
129-func addAuction (Y,Z,aa,ab,H) = {
130- let E = toBase58String(q.transactionId)
131- let X = value(q.payments[0].assetId)
132- let G = value(aa)
133- let ac = (lastBlock.height + ab)
134- let r = q.caller.bytes
135- let ad = {
136- let m = getString(this, (((toBase58String(X) + a) + "nft_status_") + toBase58String(r)))
127+@Callable(p)
128+func addAuction (X,Y,Z,aa,G) = {
129+ let D = toBase58String(p.transactionId)
130+ let W = value(p.payments[0].assetId)
131+ let F = value(Z)
132+ let ab = (lastBlock.height + aa)
133+ let q = p.caller.bytes
134+ let ac = {
135+ let m = getString(this, (((toBase58String(W) + a) + "nft_status_") + toBase58String(q)))
137136 if ($isInstanceOf(m, "String"))
138137 then {
139- let Q = m
138+ let P = m
140139 true
141140 }
142141 else false
143142 }
144- if ((ad == true))
143+ if ((ac == true))
145144 then throw("Already in auction list")
146- else if ((ab > e))
145+ else if ((aa > e))
147146 then throw(("Duration is too long. Must be less than or equal to 30 " + toString(e)))
148- else if ((q.payments[0].assetId == unit))
147+ else if ((p.payments[0].assetId == unit))
149148 then throw("NFT not attached")
150- else if ((q.payments[0].assetId == f))
149+ else if ((p.payments[0].assetId == f))
151150 then throw("NFT not attached")
152- else [StringEntry(((E + "nft_start_auction_date") + toBase58String(r)), Y), StringEntry(((E + "nft_end_auction_date") + toBase58String(r)), Z), StringEntry((E + "_nft_start_price"), aa), StringEntry((E + "_nft_owner"), toString(q.caller)), StringEntry((E + "_nft_on_auction"), toBase58String(X)), StringEntry((E + "_previous_bidder"), "none"), StringEntry((E + "_highest_bid"), "0"), StringEntry((E + "_winner_of_nft"), "0"), StringEntry((E + "_bidder_count"), "0"), StringEntry((E + "_nft_status"), "OPEN")]
151+ else [StringEntry(((D + "nft_start_auction_date") + toBase58String(q)), X), StringEntry(((D + "nft_end_auction_date") + toBase58String(q)), Y), StringEntry((D + "_nft_start_price"), Z), StringEntry((D + "_nft_owner"), toString(p.caller)), StringEntry((D + "_nft_on_auction"), toBase58String(W)), StringEntry((D + "_previous_bidder"), "none"), StringEntry((D + "_highest_bid"), "0"), StringEntry((D + "_winner_of_nft"), "0"), StringEntry((D + "_bidder_count"), "0"), StringEntry((D + "_nft_status"), "OPEN")]
153152 }
154153
155154
156155
157-@Callable(q)
158-func placeBid (ae,X,t,af,ag) = {
159- let E = toBase58String(q.transactionId)
160- let r = q.caller.bytes
161- let l = fromBase58String(X)
162- let ah = q.payments[0].assetId
163- let ai = q.payments[0].amount
164- let aj = getStringValue(this, (ae + "_highest_bid"))
165- let ak = getString(this, (ae + "_previous_bidder"))
166- let al = getStringValue(this, (ae + "_bidder_count"))
167- let am = getStringValue(this, (ae + "_winner_of_nft"))
168- let ad = getStringValue(this, (ae + "_nft_status"))
169- if ((ad != "OPEN"))
156+@Callable(p)
157+func placeBid (ad,W,s,ae,af) = {
158+ let D = toBase58String(p.transactionId)
159+ let q = p.caller.bytes
160+ let l = fromBase58String(W)
161+ let ag = p.payments[0].assetId
162+ let ah = p.payments[0].amount
163+ let ai = getStringValue(this, (ad + "_highest_bid"))
164+ let aj = getString(this, (ad + "_previous_bidder"))
165+ let ak = getStringValue(this, (ad + "_bidder_count"))
166+ let al = getStringValue(this, (ad + "_winner_of_nft"))
167+ let ac = getStringValue(this, (ad + "_nft_status"))
168+ if ((ac != "OPEN"))
170169 then throw("Not open for auction")
171- else if ((parseIntValue(aj) >= ai))
170+ else if ((parseIntValue(ai) >= ah))
172171 then throw("Bid is less then starting/highest Bid")
173- else if ((aj == "0"))
174- then [StringEntry((ae + "_highest_bid"), toString(ai)), StringEntry((ae + "_winner_of_nft"), toBase58String(q.caller.bytes)), StringEntry((ae + "_bidder_count"), toString((parseIntValue(al) + 1))), StringEntry((ae + "_nft_id"), toBase58String(l)), StringEntry((ae + "_nft_owner"), t), StringEntry((((E + "_") + ae) + "_highest_bid"), toString(ai)), StringEntry((((E + "_") + ae) + "_winner"), toBase58String(q.caller.bytes)), StringEntry((((E + "_") + ae) + "_bidder_count"), toString((parseIntValue(al) + 1))), StringEntry((((E + "_") + ae) + "_nft_id"), toBase58String(l)), StringEntry((((E + "_") + ae) + "_nft_owner"), t), StringEntry((E + "_bid_for_nft_by"), toBase58String(r)), StringEntry((E + "_bid_price_place"), af), StringEntry((E + "_previous_bid_amount_refund_to_address"), am), StringEntry((E + "_prevoius_bid_amount_refund"), aj)]
175- else if ((aj != "0"))
176- then [ScriptTransfer(Address(fromBase58String(am)), parseIntValue(aj), ah), StringEntry((E + "_previous_bid_amount_refund_to_address"), am), StringEntry((E + "_prevoius_bid_amount_refund"), aj), StringEntry((ae + "_bidder_count"), toString((parseIntValue(al) + 1))), StringEntry((ae + "_highest_bid"), toString(ai)), StringEntry((ae + "_winner_of_nft"), toBase58String(q.caller.bytes)), StringEntry((ae + "_nft_id"), toBase58String(l)), StringEntry((ae + "_nft_owner"), t), StringEntry((((E + "_") + ae) + "_highest_bid"), toString(ai)), StringEntry((((E + "_") + ae) + "_winner"), toBase58String(q.caller.bytes)), StringEntry((((E + "_") + ae) + "_bidder_count"), toString((parseIntValue(al) + 1))), StringEntry((((E + "_") + ae) + "_nft_id"), toBase58String(l)), StringEntry((((E + "_") + ae) + "_nft_owner"), t), StringEntry((E + "_bid_for_nft_by"), toBase58String(r)), StringEntry((E + "_bid_price_place"), af)]
172+ else if ((ai == "0"))
173+ then [StringEntry((ad + "_highest_bid"), toString(ah)), StringEntry((ad + "_winner_of_nft"), toBase58String(p.caller.bytes)), StringEntry((ad + "_bidder_count"), toString((parseIntValue(ak) + 1))), StringEntry((ad + "_nft_id"), toBase58String(l)), StringEntry((ad + "_nft_owner"), s), StringEntry((((D + "_") + ad) + "_highest_bid"), toString(ah)), StringEntry((((D + "_") + ad) + "_winner"), toBase58String(p.caller.bytes)), StringEntry((((D + "_") + ad) + "_bidder_count"), toString((parseIntValue(ak) + 1))), StringEntry((((D + "_") + ad) + "_nft_id"), toBase58String(l)), StringEntry((((D + "_") + ad) + "_nft_owner"), s), StringEntry((D + "_bid_for_nft_by"), toBase58String(q)), StringEntry((D + "_bid_price_place"), ae), StringEntry((D + "_previous_bid_amount_refund_to_address"), al), StringEntry((D + "_prevoius_bid_amount_refund"), ai)]
174+ else if ((ai != "0"))
175+ then [ScriptTransfer(Address(fromBase58String(al)), parseIntValue(ai), ag), StringEntry((D + "_previous_bid_amount_refund_to_address"), al), StringEntry((D + "_prevoius_bid_amount_refund"), ai), StringEntry((ad + "_bidder_count"), toString((parseIntValue(ak) + 1))), StringEntry((ad + "_highest_bid"), toString(ah)), StringEntry((ad + "_winner_of_nft"), toBase58String(p.caller.bytes)), StringEntry((ad + "_nft_id"), toBase58String(l)), StringEntry((ad + "_nft_owner"), s), StringEntry((((D + "_") + ad) + "_highest_bid"), toString(ah)), StringEntry((((D + "_") + ad) + "_winner"), toBase58String(p.caller.bytes)), StringEntry((((D + "_") + ad) + "_bidder_count"), toString((parseIntValue(ak) + 1))), StringEntry((((D + "_") + ad) + "_nft_id"), toBase58String(l)), StringEntry((((D + "_") + ad) + "_nft_owner"), s), StringEntry((D + "_bid_for_nft_by"), toBase58String(q)), StringEntry((D + "_bid_price_place"), ae)]
177176 else nil
178177 }
179178
180179
181180
182-@Callable(q)
183-func acceptBidOffer (ae,X,an,N,O,y,ag) = {
184- let ao = "9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq"
185- let E = toBase58String(q.transactionId)
186- let ap = fromBase58String(ag)
187- let r = q.caller.bytes
188- let l = fromBase58String(X)
189- let aq = getStringValue(this, (ae + "_highest_bid"))
190- let ar = ((parseIntValue(aq) / 1000) * 975)
191- let T = ((parseIntValue(aq) / 1000) * 25)
192- let V = ((parseIntValue(aq) * parseIntValue(y)) / 100)
193- let as = (parseIntValue(aq) - (V + T))
194- let at = getStringValue(this, (ae + "_winner_of_nft"))
195- if (if ((ag == ao))
196- then (O != N)
181+@Callable(p)
182+func acceptBidOffer (ad,W,am,M,N,x,af) = {
183+ let an = "9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq"
184+ let D = toBase58String(p.transactionId)
185+ let ao = fromBase58String(af)
186+ let q = p.caller.bytes
187+ let l = fromBase58String(W)
188+ let ap = getStringValue(this, (ad + "_highest_bid"))
189+ let aq = ((parseIntValue(ap) / 1000) * 975)
190+ let S = ((parseIntValue(ap) / 1000) * 25)
191+ let U = ((parseIntValue(ap) * parseIntValue(x)) / 100)
192+ let ar = (parseIntValue(ap) - (U + S))
193+ let as = getStringValue(this, (ad + "_winner_of_nft"))
194+ if (if ((af == an))
195+ then (N != M)
197196 else false)
198- then [ScriptTransfer(Address(r), as, ap), ScriptTransfer(Address(fromBase58String(at)), 1, l), ScriptTransfer(Address(fromBase58String(O)), V, ap), StringEntry((E + "_amount_paid_to_owner"), aq), StringEntry((E + "_nft_transfer_to"), at), StringEntry((E + "_nft_status"), "REWARDED"), StringEntry((ae + "_amount_paid_to_owner"), aq), StringEntry((ae + "_nft_transfer_to"), at), StringEntry((ae + "_nft_status"), "REWARDED")]
199- else if (if ((ag == ao))
200- then (O == N)
197+ then [ScriptTransfer(Address(q), ar, ao), ScriptTransfer(Address(fromBase58String(as)), 1, l), ScriptTransfer(Address(fromBase58String(N)), U, ao), StringEntry((D + "_amount_paid_to_owner"), ap), StringEntry((D + "_nft_transfer_to"), as), StringEntry((D + "_nft_status"), "REWARDED"), StringEntry((ad + "_amount_paid_to_owner"), ap), StringEntry((ad + "_nft_transfer_to"), as), StringEntry((ad + "_nft_status"), "REWARDED")]
198+ else if (if ((af == an))
199+ then (N == M)
201200 else false)
202- then [ScriptTransfer(Address(r), ar, ap), ScriptTransfer(Address(fromBase58String(at)), 1, l), StringEntry((E + "_amount_paid_to_owner"), aq), StringEntry((E + "_nft_transfer_to"), at), StringEntry((E + "_nft_status"), "REWARDED"), StringEntry((ae + "_amount_paid_to_owner"), aq), StringEntry((ae + "_nft_transfer_to"), at), StringEntry((ae + "_nft_status"), "REWARDED")]
203- else if (if ((ag == "WAVES"))
204- then (O != N)
201+ then [ScriptTransfer(Address(q), aq, ao), ScriptTransfer(Address(fromBase58String(as)), 1, l), StringEntry((D + "_amount_paid_to_owner"), ap), StringEntry((D + "_nft_transfer_to"), as), StringEntry((D + "_nft_status"), "REWARDED"), StringEntry((ad + "_amount_paid_to_owner"), ap), StringEntry((ad + "_nft_transfer_to"), as), StringEntry((ad + "_nft_status"), "REWARDED")]
202+ else if (if ((af == "WAVES"))
203+ then (N != M)
205204 else false)
206- then [ScriptTransfer(Address(r), as, unit), ScriptTransfer(Address(fromBase58String(at)), 1, l), ScriptTransfer(Address(fromBase58String(O)), V, unit), StringEntry("platform_fee", toString(T)), StringEntry((E + "_amount_paid_to_owner"), aq), StringEntry((E + "_nft_transfer_to"), at), StringEntry((E + "_nft_status"), "REWARDED"), StringEntry((ae + "_amount_paid_to_owner"), aq), StringEntry((ae + "_nft_transfer_to"), at), StringEntry((ae + "_nft_status"), "REWARDED")]
207- else if (if ((ag == "WAVES"))
208- then (O == N)
205+ then [ScriptTransfer(Address(q), ar, unit), ScriptTransfer(Address(fromBase58String(as)), 1, l), ScriptTransfer(Address(fromBase58String(N)), U, unit), StringEntry("platform_fee", toString(S)), StringEntry((D + "_amount_paid_to_owner"), ap), StringEntry((D + "_nft_transfer_to"), as), StringEntry((D + "_nft_status"), "REWARDED"), StringEntry((ad + "_amount_paid_to_owner"), ap), StringEntry((ad + "_nft_transfer_to"), as), StringEntry((ad + "_nft_status"), "REWARDED")]
206+ else if (if ((af == "WAVES"))
207+ then (N == M)
209208 else false)
210- then [ScriptTransfer(Address(r), ar, unit), ScriptTransfer(Address(fromBase58String(at)), 1, l), StringEntry((E + "_amount_paid_to_owner"), aq), StringEntry((E + "_nft_transfer_to"), at), StringEntry((E + "_nft_status"), "REWARDED"), StringEntry((ae + "_amount_paid_to_owner"), aq), StringEntry((ae + "_nft_transfer_to"), at), StringEntry((ae + "_nft_status"), "REWARDED")]
209+ then [ScriptTransfer(Address(q), aq, unit), ScriptTransfer(Address(fromBase58String(as)), 1, l), StringEntry((D + "_amount_paid_to_owner"), ap), StringEntry((D + "_nft_transfer_to"), as), StringEntry((D + "_nft_status"), "REWARDED"), StringEntry((ad + "_amount_paid_to_owner"), ap), StringEntry((ad + "_nft_transfer_to"), as), StringEntry((ad + "_nft_status"), "REWARDED")]
211210 else nil
212211 }
213212
214213
215214
216-@Callable(q)
217-func cancelAuction (ae) = {
218- let E = toBase58String(q.transactionId)
219- let r = q.caller.bytes
220- let au = getStringValue(this, (ae + "_nft_status"))
221- let av = getStringValue(this, (ae + "_winner_of_nft"))
222- let aw = getStringValue(this, (ae + "_nft_owner"))
223- let X = getStringValue(this, (ae + "_nft_on_auction"))
224- let ax = getStringValue(this, (ae + "_highest_bid"))
225- if ((av == "0"))
226- then [StringEntry(((E + ae) + "_nft_status"), "CANCELED"), ScriptTransfer(Address(fromBase58String(aw)), 1, fromBase58String(X))]
227- else if ((av != "0"))
215+@Callable(p)
216+func cancelAuction (ad) = {
217+ let D = toBase58String(p.transactionId)
218+ let q = p.caller.bytes
219+ let at = getStringValue(this, (ad + "_nft_status"))
220+ let au = getStringValue(this, (ad + "_winner_of_nft"))
221+ let av = getStringValue(this, (ad + "_nft_owner"))
222+ let W = getStringValue(this, (ad + "_nft_on_auction"))
223+ let aw = getStringValue(this, (ad + "_highest_bid"))
224+ if ((au == "0"))
225+ then [StringEntry(((D + ad) + "_nft_status"), "CANCELED"), ScriptTransfer(Address(fromBase58String(av)), 1, fromBase58String(W))]
226+ else if ((au != "0"))
228227 then throw("sorry! you can't cancel it because already auction placed by someone")
229228 else nil
230229 }
231230
232231
233232
234-@Callable(q)
235-func manualFundTransfer (ay) = {
236- let az = q.caller.bytes
237- let aA = fromBase58String(ay)
238- let R = q.payments[0].amount
239- if ((q.payments[0].assetId == unit))
240- then [IntegerEntry((toBase58String(az) + "_transfer"), R), StringEntry((toBase58String(az) + "_transfer_to"), ay), ScriptTransfer(Address(aA), R, unit)]
241- else if ((q.payments[0].assetId == f))
242- then [IntegerEntry((toBase58String(az) + "_transfer"), R), StringEntry((toBase58String(az) + "_transfer_to"), ay), ScriptTransfer(Address(aA), R, f)]
233+@Callable(p)
234+func manualFundTransfer (ax) = {
235+ let ay = p.caller.bytes
236+ let az = fromBase58String(ax)
237+ let Q = p.payments[0].amount
238+ if ((p.payments[0].assetId == unit))
239+ then [IntegerEntry((toBase58String(ay) + "_transfer"), Q), StringEntry((toBase58String(ay) + "_transfer_to"), ax), ScriptTransfer(Address(az), Q, unit)]
240+ else if ((p.payments[0].assetId == f))
241+ then [IntegerEntry((toBase58String(ay) + "_transfer"), Q), StringEntry((toBase58String(ay) + "_transfer_to"), ax), ScriptTransfer(Address(az), Q, f)]
243242 else nil
244243 }
245244
246245
247246
248-@Callable(q)
249-func nftback (ae) = {
250- let r = q.caller.bytes
251- let X = getStringValue(this, (ae + "_nft_on_auction"))
252- let aw = getStringValue(this, (ae + "_nft_owner"))
253-[StringEntry((ae + "_nft_status"), "Auction_time over"), ScriptTransfer(Address(fromBase58String(aw)), 1, fromBase58String(X))]
247+@Callable(p)
248+func nftback (ad) = {
249+ let q = p.caller.bytes
250+ let W = getStringValue(this, (ad + "_nft_on_auction"))
251+ let av = getStringValue(this, (ad + "_nft_owner"))
252+[StringEntry((ad + "_nft_status"), "Auction_time over"), ScriptTransfer(Address(fromBase58String(av)), 1, fromBase58String(W))]
254253 }
255254
256255
257256
258-@Callable(q)
259-func withdrawMoney (ae,ag) = {
260- let r = q.caller.bytes
261- let ao = "9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq"
262- let E = toBase58String(q.transactionId)
263- let ap = fromBase58String(ag)
264- let aB = getStringValue(this, (ae + "_highest_bid"))
265- let aC = getStringValue(this, (ae + "_winner"))
266- let aD = getStringValue(this, (ae + "_nft_id"))
267- if ((ag == ao))
268- then [StringEntry((ae + "_nft_bid"), "WITHDRAW"), StringEntry((ae + "_nft_id"), aD), StringEntry((ae + "_bidding_price_refund_amount"), aB), ScriptTransfer(q.caller, parseIntValue(aB), ap)]
269- else if ((ag == "WAVES"))
270- then [StringEntry((ae + "_nft_bid"), "WITHDRAW"), StringEntry((ae + "_nft_id"), aD), StringEntry((ae + "_bidding_price_refund_amount"), aB), ScriptTransfer(q.caller, parseIntValue(aB), unit)]
257+@Callable(p)
258+func withdrawMoney (ad,af) = {
259+ let q = p.caller.bytes
260+ let an = "9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq"
261+ let D = toBase58String(p.transactionId)
262+ let ao = fromBase58String(af)
263+ let aA = getStringValue(this, (ad + "_highest_bid"))
264+ let aB = getStringValue(this, (ad + "_winner"))
265+ let aC = getStringValue(this, (ad + "_nft_id"))
266+ if ((af == an))
267+ then [StringEntry((ad + "_nft_bid"), "WITHDRAW"), StringEntry((ad + "_nft_id"), aC), StringEntry((ad + "_bidding_price_refund_amount"), aA), ScriptTransfer(p.caller, parseIntValue(aA), ao)]
268+ else if ((af == "WAVES"))
269+ then [StringEntry((ad + "_nft_bid"), "WITHDRAW"), StringEntry((ad + "_nft_id"), aC), StringEntry((ad + "_bidding_price_refund_amount"), aA), ScriptTransfer(p.caller, parseIntValue(aA), unit)]
271270 else nil
272271 }
273272
274273
275274
276-@Callable(q)
277-func buyAllProducts_asimi (aE) = {
278- let aF = q.caller
279- let aG = assetBalance(aF, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')
280- let aH = split(aE[0], "_")
281- let aI = split(aE[1], "_")
282- let aJ = split(aE[2], "_")
283- let aK = split(aE[3], "_")
284- let aL = split(aE[4], "_")
285- let R = value(q.payments[0].amount)
286- let aM = (R - ((R / 1000) * 25))
287- let aN = (R - aM)
288- let V = ((R / 100) * parseIntValue(aH[3]))
289- let aO = (R - (V + aN))
290- let aP = value(q.payments[1].amount)
291- let aQ = (aP - ((aP / 1000) * 25))
292- let aR = (aP - aQ)
293- let aS = ((aP / 100) * parseIntValue(aI[3]))
294- let aT = (aP - (aS + aR))
295- let aU = value(q.payments[2].amount)
296- let aV = (aU - ((aU / 1000) * 25))
297- let aW = (aU - aV)
298- let aX = ((aU / 100) * parseIntValue(aJ[3]))
299- let aY = (aU - (aX + aW))
300- let aZ = value(q.payments[3].amount)
301- let ba = (aZ - ((aZ / 1000) * 25))
302- let bb = (aZ - ba)
303- let bc = ((aZ / 100) * parseIntValue(aK[3]))
304- let bd = (aZ - (bc + bb))
305- let be = value(q.payments[4].amount)
306- let bf = (be - ((be / 1000) * 25))
307- let bg = (be - bf)
308- let bh = ((be / 100) * parseIntValue(aL[3]))
309- let bi = (be - (bh + bg))
310- if ((size(aE) == 1))
311- then [StringEntry((((((("first_nft_Info=" + "nftId") + aH[0]) + "creator") + aH[4]) + "royalitypercent") + aH[3]), ("buyer" + toString(aF))), StringEntry((("first_nft_Info=" + "seller_address") + aH[1]), ("price" + aH[2])), ScriptTransfer(aF, 1, fromBase58String(aH[0])), ScriptTransfer(Address(fromBase58String(aH[1])), aO, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), V, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
312- else if ((size(aE) == 2))
313- then [StringEntry((((((("first_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aF))), StringEntry((((((("second_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aF))), ScriptTransfer(aF, 1, fromBase58String(aH[0])), ScriptTransfer(aF, 1, fromBase58String(aI[0])), ScriptTransfer(Address(fromBase58String(aH[1])), aO, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), V, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[1])), aT, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[4])), aS, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
314- else if ((size(aE) == 3))
315- then [StringEntry((((((("first_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aF))), StringEntry((((((("second_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aF))), StringEntry((((((("third_nft_Info=" + "nftId") + aJ[0]) + "seller_address") + aJ[1]) + "price") + aJ[2]), ("buyer" + toString(aF))), ScriptTransfer(aF, 1, fromBase58String(aH[0])), ScriptTransfer(aF, 1, fromBase58String(aI[0])), ScriptTransfer(aF, 1, fromBase58String(aJ[0])), ScriptTransfer(Address(fromBase58String(aH[1])), aO, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), V, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[1])), aT, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[4])), aS, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[1])), aY, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[4])), aX, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
316- else if ((size(aE) == 4))
317- then [StringEntry((((((("first_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aF))), StringEntry((((((("second_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aF))), StringEntry((((((("third_nft_Info=" + "nftId") + aJ[0]) + "seller_address") + aJ[1]) + "price") + aJ[2]), ("buyer" + toString(aF))), StringEntry((((((("fourth_nft_Info=" + "nftId") + aK[0]) + "seller_address") + aK[1]) + "price") + aK[2]), ("buyer" + toString(aF))), ScriptTransfer(aF, 1, fromBase58String(aH[0])), ScriptTransfer(aF, 1, fromBase58String(aI[0])), ScriptTransfer(aF, 1, fromBase58String(aJ[0])), ScriptTransfer(aF, 1, fromBase58String(aK[0])), ScriptTransfer(Address(fromBase58String(aH[1])), aO, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), V, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[1])), aT, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[4])), aS, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[1])), aY, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[4])), aX, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aK[1])), bd, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aK[4])), bc, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
318- else if ((size(aE) == 5))
319- then [StringEntry((((((("first_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aF))), StringEntry((((((("second_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aF))), StringEntry((((((("third_nft_Info=" + "nftId") + aJ[0]) + "seller_address") + aJ[1]) + "price") + aJ[2]), ("buyer" + toString(aF))), StringEntry((((((("fourth_nft_Info=" + "nftId") + aK[0]) + "seller_address") + aK[1]) + "price") + aK[2]), ("buyer" + toString(aF))), StringEntry((((((("fifth_nft_Info=" + "nftId") + aL[0]) + "seller_address") + aL[1]) + "price") + aL[2]), ("buyer" + toString(aF))), ScriptTransfer(aF, 1, fromBase58String(aH[0])), ScriptTransfer(aF, 1, fromBase58String(aI[0])), ScriptTransfer(aF, 1, fromBase58String(aJ[0])), ScriptTransfer(aF, 1, fromBase58String(aK[0])), ScriptTransfer(aF, 1, fromBase58String(aL[0])), ScriptTransfer(Address(fromBase58String(aH[1])), aO, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), V, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[1])), aT, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[4])), aS, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[1])), aY, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[4])), aX, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aK[1])), bd, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aK[4])), bc, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aL[1])), bi, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aL[4])), bh, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
320- else if ((size(aE) > 5))
275+@Callable(p)
276+func buyAllProducts_asimi (aD) = {
277+ let aE = p.caller
278+ let aF = assetBalance(aE, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')
279+ let aG = split(aD[0], "_")
280+ let aH = split(aD[1], "_")
281+ let aI = split(aD[2], "_")
282+ let aJ = split(aD[3], "_")
283+ let aK = split(aD[4], "_")
284+ let Q = value(p.payments[0].amount)
285+ let aL = (Q - ((Q / 1000) * 25))
286+ let aM = (Q - aL)
287+ let U = ((Q / 100) * parseIntValue(aG[3]))
288+ let aN = (Q - (U + aM))
289+ let aO = value(p.payments[1].amount)
290+ let aP = (aO - ((aO / 1000) * 25))
291+ let aQ = (aO - aP)
292+ let aR = ((aO / 100) * parseIntValue(aH[3]))
293+ let aS = (aO - (aR + aQ))
294+ let aT = value(p.payments[2].amount)
295+ let aU = (aT - ((aT / 1000) * 25))
296+ let aV = (aT - aU)
297+ let aW = ((aT / 100) * parseIntValue(aI[3]))
298+ let aX = (aT - (aW + aV))
299+ let aY = value(p.payments[3].amount)
300+ let aZ = (aY - ((aY / 1000) * 25))
301+ let ba = (aY - aZ)
302+ let bb = ((aY / 100) * parseIntValue(aJ[3]))
303+ let bc = (aY - (bb + ba))
304+ let bd = value(p.payments[4].amount)
305+ let be = (bd - ((bd / 1000) * 25))
306+ let bf = (bd - be)
307+ let bg = ((bd / 100) * parseIntValue(aK[3]))
308+ let bh = (bd - (bg + bf))
309+ if ((size(aD) == 1))
310+ then [StringEntry((((((("first_nft_Info=" + "nftId") + aG[0]) + "creator") + aG[4]) + "royalitypercent") + aG[3]), ("buyer" + toString(aE))), StringEntry((("first_nft_Info=" + "seller_address") + aG[1]), ("price" + aG[2])), ScriptTransfer(aE, 1, fromBase58String(aG[0])), ScriptTransfer(Address(fromBase58String(aG[1])), aN, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aG[4])), U, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
311+ else if ((size(aD) == 2))
312+ then [StringEntry((((((("first_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aE))), StringEntry((((((("second_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aE))), ScriptTransfer(aE, 1, fromBase58String(aG[0])), ScriptTransfer(aE, 1, fromBase58String(aH[0])), ScriptTransfer(Address(fromBase58String(aG[1])), aN, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aG[4])), U, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[1])), aS, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), aR, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
313+ else if ((size(aD) == 3))
314+ then [StringEntry((((((("first_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aE))), StringEntry((((((("second_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aE))), StringEntry((((((("third_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aE))), ScriptTransfer(aE, 1, fromBase58String(aG[0])), ScriptTransfer(aE, 1, fromBase58String(aH[0])), ScriptTransfer(aE, 1, fromBase58String(aI[0])), ScriptTransfer(Address(fromBase58String(aG[1])), aN, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aG[4])), U, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[1])), aS, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), aR, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[1])), aX, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[4])), aW, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
315+ else if ((size(aD) == 4))
316+ then [StringEntry((((((("first_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aE))), StringEntry((((((("second_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aE))), StringEntry((((((("third_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aE))), StringEntry((((((("fourth_nft_Info=" + "nftId") + aJ[0]) + "seller_address") + aJ[1]) + "price") + aJ[2]), ("buyer" + toString(aE))), ScriptTransfer(aE, 1, fromBase58String(aG[0])), ScriptTransfer(aE, 1, fromBase58String(aH[0])), ScriptTransfer(aE, 1, fromBase58String(aI[0])), ScriptTransfer(aE, 1, fromBase58String(aJ[0])), ScriptTransfer(Address(fromBase58String(aG[1])), aN, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aG[4])), U, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[1])), aS, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), aR, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[1])), aX, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[4])), aW, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[1])), bc, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[4])), bb, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
317+ else if ((size(aD) == 5))
318+ then [StringEntry((((((("first_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aE))), StringEntry((((((("second_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aE))), StringEntry((((((("third_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aE))), StringEntry((((((("fourth_nft_Info=" + "nftId") + aJ[0]) + "seller_address") + aJ[1]) + "price") + aJ[2]), ("buyer" + toString(aE))), StringEntry((((((("fifth_nft_Info=" + "nftId") + aK[0]) + "seller_address") + aK[1]) + "price") + aK[2]), ("buyer" + toString(aE))), ScriptTransfer(aE, 1, fromBase58String(aG[0])), ScriptTransfer(aE, 1, fromBase58String(aH[0])), ScriptTransfer(aE, 1, fromBase58String(aI[0])), ScriptTransfer(aE, 1, fromBase58String(aJ[0])), ScriptTransfer(aE, 1, fromBase58String(aK[0])), ScriptTransfer(Address(fromBase58String(aG[1])), aN, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aG[4])), U, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[1])), aS, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), aR, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[1])), aX, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[4])), aW, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[1])), bc, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[4])), bb, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aK[1])), bh, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aK[4])), bg, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
319+ else if ((size(aD) > 5))
321320 then throw("sorry! maximum limit of your cart is 5 items")
322321 else nil
323322 }
324323
325324
326325
327-@Callable(q)
328-func buyAllProducts_waves (aE) = {
329- let aF = q.caller
330- let aG = assetBalance(aF, g)
331- let aH = split(aE[0], "_")
332- let aI = split(aE[1], "_")
333- let aJ = split(aE[2], "_")
334- let aK = split(aE[3], "_")
335- let aL = split(aE[4], "_")
336- let R = value(q.payments[0].amount)
337- let aM = (R - ((R / 1000) * 25))
338- let aN = (R - aM)
339- let V = ((R / 100) * parseIntValue(aH[3]))
340- let aO = (R - (V + aN))
341- let aP = value(q.payments[1].amount)
342- let aQ = (aP - ((aP / 1000) * 25))
343- let aR = (aP - aQ)
344- let aS = ((aP / 100) * parseIntValue(aI[3]))
345- let aT = (aP - (aS + aR))
346- let aU = value(q.payments[2].amount)
347- let aV = (aU - ((aU / 1000) * 25))
348- let aW = (aU - aV)
349- let aX = ((aU / 100) * parseIntValue(aJ[3]))
350- let aY = (aU - (aX + aW))
351- let aZ = value(q.payments[3].amount)
352- let ba = (aZ - ((aZ / 1000) * 25))
353- let bb = (aZ - ba)
354- let bc = ((aZ / 100) * parseIntValue(aK[3]))
355- let bd = (aZ - (bc + bb))
356- let be = value(q.payments[4].amount)
357- let bf = (be - ((be / 1000) * 25))
358- let bg = (be - bf)
359- let bh = ((be / 100) * parseIntValue(aL[3]))
360- let bi = (be - (bh + bg))
361- if ((size(aE) == 1))
362- then [StringEntry((((((("first_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aF))), ScriptTransfer(aF, 1, fromBase58String(aH[0])), ScriptTransfer(Address(fromBase58String(aH[1])), aO, unit), ScriptTransfer(Address(fromBase58String(aH[4])), V, unit)]
363- else if ((size(aE) == 2))
364- then [StringEntry((((((("first_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aF))), StringEntry((((((("second_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aF))), ScriptTransfer(aF, 1, fromBase58String(aH[0])), ScriptTransfer(aF, 1, fromBase58String(aI[0])), ScriptTransfer(Address(fromBase58String(aH[1])), aO, unit), ScriptTransfer(Address(fromBase58String(aH[4])), V, unit), ScriptTransfer(Address(fromBase58String(aI[1])), aT, unit), ScriptTransfer(Address(fromBase58String(aI[4])), aS, unit)]
365- else if ((size(aE) == 3))
366- then [StringEntry((((((("first_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aF))), StringEntry((((((("second_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aF))), StringEntry((((((("third_nft_Info=" + "nftId") + aJ[0]) + "seller_address") + aJ[1]) + "price") + aJ[2]), ("buyer" + toString(aF))), ScriptTransfer(aF, 1, fromBase58String(aH[0])), ScriptTransfer(aF, 1, fromBase58String(aI[0])), ScriptTransfer(aF, 1, fromBase58String(aJ[0])), ScriptTransfer(Address(fromBase58String(aH[1])), aO, unit), ScriptTransfer(Address(fromBase58String(aH[4])), V, unit), ScriptTransfer(Address(fromBase58String(aI[1])), aT, unit), ScriptTransfer(Address(fromBase58String(aI[4])), aS, unit), ScriptTransfer(Address(fromBase58String(aJ[1])), aY, unit), ScriptTransfer(Address(fromBase58String(aJ[4])), aX, unit)]
367- else if ((size(aE) == 4))
368- then [StringEntry((((((("first_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aF))), StringEntry((((((("second_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aF))), StringEntry((((((("third_nft_Info=" + "nftId") + aJ[0]) + "seller_address") + aJ[1]) + "price") + aJ[2]), ("buyer" + toString(aF))), StringEntry((((((("fourth_nft_Info=" + "nftId") + aK[0]) + "seller_address") + aK[1]) + "price") + aK[2]), ("buyer" + toString(aF))), ScriptTransfer(aF, 1, fromBase58String(aH[0])), ScriptTransfer(aF, 1, fromBase58String(aI[0])), ScriptTransfer(aF, 1, fromBase58String(aJ[0])), ScriptTransfer(aF, 1, fromBase58String(aK[0])), ScriptTransfer(Address(fromBase58String(aH[1])), aO, unit), ScriptTransfer(Address(fromBase58String(aH[4])), V, unit), ScriptTransfer(Address(fromBase58String(aI[1])), aT, unit), ScriptTransfer(Address(fromBase58String(aI[4])), aS, unit), ScriptTransfer(Address(fromBase58String(aJ[1])), aY, unit), ScriptTransfer(Address(fromBase58String(aJ[4])), aX, unit), ScriptTransfer(Address(fromBase58String(aK[1])), bd, unit), ScriptTransfer(Address(fromBase58String(aK[4])), bc, unit)]
369- else if ((size(aE) == 5))
370- then [StringEntry((((((("first_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aF))), StringEntry((((((("second_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aF))), StringEntry((((((("third_nft_Info=" + "nftId") + aJ[0]) + "seller_address") + aJ[1]) + "price") + aJ[2]), ("buyer" + toString(aF))), StringEntry((((((("fourth_nft_Info=" + "nftId") + aK[0]) + "seller_address") + aK[1]) + "price") + aK[2]), ("buyer" + toString(aF))), StringEntry((((((("fifth_nft_Info=" + "nftId") + aL[0]) + "seller_address") + aL[1]) + "price") + aL[2]), ("buyer" + toString(aF))), ScriptTransfer(aF, 1, fromBase58String(aH[0])), ScriptTransfer(aF, 1, fromBase58String(aI[0])), ScriptTransfer(aF, 1, fromBase58String(aJ[0])), ScriptTransfer(aF, 1, fromBase58String(aK[0])), ScriptTransfer(aF, 1, fromBase58String(aL[0])), ScriptTransfer(Address(fromBase58String(aH[1])), aO, unit), ScriptTransfer(Address(fromBase58String(aH[4])), V, unit), ScriptTransfer(Address(fromBase58String(aI[1])), aT, unit), ScriptTransfer(Address(fromBase58String(aI[4])), aS, unit), ScriptTransfer(Address(fromBase58String(aJ[1])), aY, unit), ScriptTransfer(Address(fromBase58String(aJ[4])), aX, unit), ScriptTransfer(Address(fromBase58String(aK[1])), bd, unit), ScriptTransfer(Address(fromBase58String(aK[4])), bc, unit), ScriptTransfer(Address(fromBase58String(aL[1])), bi, unit), ScriptTransfer(Address(fromBase58String(aL[4])), bh, unit)]
371- else if ((size(aE) > 5))
326+@Callable(p)
327+func buyAllProducts_waves (aD) = {
328+ let aE = p.caller
329+ let aF = assetBalance(aE, g)
330+ let aG = split(aD[0], "_")
331+ let aH = split(aD[1], "_")
332+ let aI = split(aD[2], "_")
333+ let aJ = split(aD[3], "_")
334+ let aK = split(aD[4], "_")
335+ let Q = value(p.payments[0].amount)
336+ let aL = (Q - ((Q / 1000) * 25))
337+ let aM = (Q - aL)
338+ let U = ((Q / 100) * parseIntValue(aG[3]))
339+ let aN = (Q - (U + aM))
340+ let aO = value(p.payments[1].amount)
341+ let aP = (aO - ((aO / 1000) * 25))
342+ let aQ = (aO - aP)
343+ let aR = ((aO / 100) * parseIntValue(aH[3]))
344+ let aS = (aO - (aR + aQ))
345+ let aT = value(p.payments[2].amount)
346+ let aU = (aT - ((aT / 1000) * 25))
347+ let aV = (aT - aU)
348+ let aW = ((aT / 100) * parseIntValue(aI[3]))
349+ let aX = (aT - (aW + aV))
350+ let aY = value(p.payments[3].amount)
351+ let aZ = (aY - ((aY / 1000) * 25))
352+ let ba = (aY - aZ)
353+ let bb = ((aY / 100) * parseIntValue(aJ[3]))
354+ let bc = (aY - (bb + ba))
355+ let bd = value(p.payments[4].amount)
356+ let be = (bd - ((bd / 1000) * 25))
357+ let bf = (bd - be)
358+ let bg = ((bd / 100) * parseIntValue(aK[3]))
359+ let bh = (bd - (bg + bf))
360+ if ((size(aD) == 1))
361+ then [StringEntry((((((("first_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aE))), ScriptTransfer(aE, 1, fromBase58String(aG[0])), ScriptTransfer(Address(fromBase58String(aG[1])), aN, unit), ScriptTransfer(Address(fromBase58String(aG[4])), U, unit)]
362+ else if ((size(aD) == 2))
363+ then [StringEntry((((((("first_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aE))), StringEntry((((((("second_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aE))), ScriptTransfer(aE, 1, fromBase58String(aG[0])), ScriptTransfer(aE, 1, fromBase58String(aH[0])), ScriptTransfer(Address(fromBase58String(aG[1])), aN, unit), ScriptTransfer(Address(fromBase58String(aG[4])), U, unit), ScriptTransfer(Address(fromBase58String(aH[1])), aS, unit), ScriptTransfer(Address(fromBase58String(aH[4])), aR, unit)]
364+ else if ((size(aD) == 3))
365+ then [StringEntry((((((("first_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aE))), StringEntry((((((("second_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aE))), StringEntry((((((("third_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aE))), ScriptTransfer(aE, 1, fromBase58String(aG[0])), ScriptTransfer(aE, 1, fromBase58String(aH[0])), ScriptTransfer(aE, 1, fromBase58String(aI[0])), ScriptTransfer(Address(fromBase58String(aG[1])), aN, unit), ScriptTransfer(Address(fromBase58String(aG[4])), U, unit), ScriptTransfer(Address(fromBase58String(aH[1])), aS, unit), ScriptTransfer(Address(fromBase58String(aH[4])), aR, unit), ScriptTransfer(Address(fromBase58String(aI[1])), aX, unit), ScriptTransfer(Address(fromBase58String(aI[4])), aW, unit)]
366+ else if ((size(aD) == 4))
367+ then [StringEntry((((((("first_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aE))), StringEntry((((((("second_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aE))), StringEntry((((((("third_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aE))), StringEntry((((((("fourth_nft_Info=" + "nftId") + aJ[0]) + "seller_address") + aJ[1]) + "price") + aJ[2]), ("buyer" + toString(aE))), ScriptTransfer(aE, 1, fromBase58String(aG[0])), ScriptTransfer(aE, 1, fromBase58String(aH[0])), ScriptTransfer(aE, 1, fromBase58String(aI[0])), ScriptTransfer(aE, 1, fromBase58String(aJ[0])), ScriptTransfer(Address(fromBase58String(aG[1])), aN, unit), ScriptTransfer(Address(fromBase58String(aG[4])), U, unit), ScriptTransfer(Address(fromBase58String(aH[1])), aS, unit), ScriptTransfer(Address(fromBase58String(aH[4])), aR, unit), ScriptTransfer(Address(fromBase58String(aI[1])), aX, unit), ScriptTransfer(Address(fromBase58String(aI[4])), aW, unit), ScriptTransfer(Address(fromBase58String(aJ[1])), bc, unit), ScriptTransfer(Address(fromBase58String(aJ[4])), bb, unit)]
368+ else if ((size(aD) == 5))
369+ then [StringEntry((((((("first_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aE))), StringEntry((((((("second_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aE))), StringEntry((((((("third_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aE))), StringEntry((((((("fourth_nft_Info=" + "nftId") + aJ[0]) + "seller_address") + aJ[1]) + "price") + aJ[2]), ("buyer" + toString(aE))), StringEntry((((((("fifth_nft_Info=" + "nftId") + aK[0]) + "seller_address") + aK[1]) + "price") + aK[2]), ("buyer" + toString(aE))), ScriptTransfer(aE, 1, fromBase58String(aG[0])), ScriptTransfer(aE, 1, fromBase58String(aH[0])), ScriptTransfer(aE, 1, fromBase58String(aI[0])), ScriptTransfer(aE, 1, fromBase58String(aJ[0])), ScriptTransfer(aE, 1, fromBase58String(aK[0])), ScriptTransfer(Address(fromBase58String(aG[1])), aN, unit), ScriptTransfer(Address(fromBase58String(aG[4])), U, unit), ScriptTransfer(Address(fromBase58String(aH[1])), aS, unit), ScriptTransfer(Address(fromBase58String(aH[4])), aR, unit), ScriptTransfer(Address(fromBase58String(aI[1])), aX, unit), ScriptTransfer(Address(fromBase58String(aI[4])), aW, unit), ScriptTransfer(Address(fromBase58String(aJ[1])), bc, unit), ScriptTransfer(Address(fromBase58String(aJ[4])), bb, unit), ScriptTransfer(Address(fromBase58String(aK[1])), bh, unit), ScriptTransfer(Address(fromBase58String(aK[4])), bg, unit)]
370+ else if ((size(aD) > 5))
372371 then throw("sorry! maximum limit of your cart is 5 items")
373372 else nil
374373 }
375374
376375
377376
378-@Callable(q)
379-func withdrawEarnAsimi (bj,R) = {
380- let bk = base58'3MuehcPaJCUy5asSiT8XX1pwwz9Tj4J9SDS'
381- if ((q.caller.bytes != bk))
377+@Callable(p)
378+func withdrawEarnAsimi (bi,Q) = {
379+ let bj = base58'3MuehcPaJCUy5asSiT8XX1pwwz9Tj4J9SDS'
380+ if ((p.caller.bytes != bj))
382381 then throw("sorry you have no access")
383- else if (if ((bj >= 0))
384- then (bj >= R)
382+ else if (if ((bi >= 0))
383+ then (bi >= Q)
385384 else false)
386- then [ScriptTransfer(q.caller, (R * 100), f)]
385+ then [ScriptTransfer(p.caller, (Q * 100), f)]
387386 else nil
388387 }
389388
390389
391390
392-@Callable(q)
393-func withdrawEarnWaves (bj,R) = {
394- let bk = base58'3MuehcPaJCUy5asSiT8XX1pwwz9Tj4J9SDS'
395- if ((q.caller.bytes != bk))
391+@Callable(p)
392+func withdrawEarnWaves (bi,Q) = {
393+ let bj = base58'3MuehcPaJCUy5asSiT8XX1pwwz9Tj4J9SDS'
394+ if ((p.caller.bytes != bj))
396395 then throw("sorry you have no access")
397- else if (if ((bj >= 0))
398- then (bj >= R)
396+ else if (if ((bi >= 0))
397+ then (bi >= Q)
399398 else false)
400- then [ScriptTransfer(q.caller, (R * 100000000), unit)]
399+ then [ScriptTransfer(p.caller, (Q * 100000000), unit)]
401400 else nil
402401 }
403402
404403
405-@Verifier(bl)
406-func bm () = {
407- let m = bl
404+@Verifier(bk)
405+func bl () = {
406+ let m = bk
408407 if ($isInstanceOf(m, "SetScriptTransaction"))
409408 then {
410- let bn = m
409+ let bm = m
411410 true
412411 }
413412 else false
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "_"
55
66 let b = "buy"
77
88 let c = "price"
99
1010 let d = "sell"
1111
1212 let e = 30
1313
1414 let f = base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'
1515
1616 let g = base58''
1717
1818 let h = "bid"
1919
2020 let i = $Tuple4("OPEN", "CLOSED", "REWARDED", "CANCELED")
2121
2222 let j = base58'3MvjAaDYHpS4A5K4CV3kZMMEH9m9JdBSvbq'
2323
2424 func k (l) = {
2525 let m = assetInfo(l)
2626 if ($isInstanceOf(m, "Asset"))
2727 then {
2828 let n = m
2929 if (if ((n.decimals == 0))
3030 then (n.quantity == 1)
3131 else false)
3232 then (n.reissuable == false)
3333 else false
3434 }
3535 else false
3636 }
3737
3838
39-func o (p) = [StringEntry("paused", "false")]
39+let o = toString(false)
4040
41-
42-@Callable(q)
43-func setPaused (p) = {
44- let r = q.caller.bytes
45-[StringEntry("paused", p)]
41+@Callable(p)
42+func setPaused (o) = {
43+ let q = p.caller.bytes
44+[StringEntry("paused", o)]
4645 }
4746
4847
4948
50-@Callable(q)
51-func createNft (s,t,u,v,w,x,y,z,A,B) = {
52- let C = Issue(s, z, 1, 0, false)
53- let D = calculateAssetId(C)
54- let E = q.transactionId
55- let F = getStringValue(this, "paused")
56- if ((F == "true"))
49+@Callable(p)
50+func createNft (r,s,t,u,v,w,x,y,z,A) = {
51+ let B = Issue(r, y, 1, 0, false)
52+ let C = calculateAssetId(B)
53+ let D = p.transactionId
54+ let E = getStringValue(this, "paused")
55+ if ((E == "true"))
5756 then throw("Minting is paused by admin!Please try after sometime")
58- else [C, ScriptTransfer(q.caller, 1, D), StringEntry(((toBase58String(D) + a) + "Owner"), toString(q.caller)), StringEntry(((toBase58String(D) + a) + "nft_type"), v), StringEntry(((toBase58String(D) + a) + "nft_tags"), w), StringEntry(((toBase58String(D) + a) + "nft_dAppAddress"), u), StringEntry(((toBase58String(E) + a) + "royalityPercentage"), y), IntegerEntry(((toBase58String(D) + a) + "nft_selling_price"), x), StringEntry(((toBase58String(D) + a) + "nft_onSell"), A), StringEntry(((toBase58String(D) + a) + "nft_data"), B), StringEntry(((toBase58String(E) + a) + "issue_nft"), toBase58String(D))]
57+ else [B, ScriptTransfer(p.caller, 1, C), StringEntry(((toBase58String(C) + a) + "Owner"), toString(p.caller)), StringEntry(((toBase58String(C) + a) + "nft_type"), u), StringEntry(((toBase58String(C) + a) + "nft_tags"), v), StringEntry(((toBase58String(C) + a) + "nft_dAppAddress"), t), StringEntry(((toBase58String(D) + a) + "royalityPercentage"), x), IntegerEntry(((toBase58String(C) + a) + "nft_selling_price"), w), StringEntry(((toBase58String(C) + a) + "nft_onSell"), z), StringEntry(((toBase58String(C) + a) + "nft_data"), A), StringEntry(((toBase58String(D) + a) + "issue_nft"), toBase58String(C))]
5958 }
6059
6160
6261
63-@Callable(q)
64-func sellNFT (G,H) = {
65- let E = q.transactionId
66- let I = q.caller.bytes
67- let J = $Tuple2(value(q.payments[0].assetId), value(q.payments[0].amount))
68- let K = J._1
69- let L = J._2
70- if (!(k(K)))
62+@Callable(p)
63+func sellNFT (F,G) = {
64+ let D = p.transactionId
65+ let H = p.caller.bytes
66+ let I = $Tuple2(value(p.payments[0].assetId), value(p.payments[0].amount))
67+ let J = I._1
68+ let K = I._2
69+ if (!(k(J)))
7170 then throw("Token is not NFT")
72- else [StringEntry(((c + a) + toBase58String(value(q.payments[0].assetId))), G), StringEntry(((toString(q.caller) + a) + d), (((toBase58String(K) + a) + toString(L)) + H))]
71+ else [StringEntry(((c + a) + toBase58String(value(p.payments[0].assetId))), F), StringEntry(((toString(p.caller) + a) + d), (((toBase58String(J) + a) + toString(K)) + G))]
7372 }
7473
7574
7675
77-@Callable(q)
78-func buyNFT (M,N,O,y) = {
79- let l = fromBase58String(M)
80- let P = {
81- let m = getString(this, (("nft_" + N) + "_owner"))
76+@Callable(p)
77+func buyNFT (L,M,N,x) = {
78+ let l = fromBase58String(L)
79+ let O = {
80+ let m = getString(this, (("nft_" + M) + "_owner"))
8281 if ($isInstanceOf(m, "String"))
8382 then {
84- let Q = m
85- Q
83+ let P = m
84+ P
8685 }
8786 else false
8887 }
89- let G = getStringValue(((((c + a) + M) + "_") + N))
90- let R = value(q.payments[0].amount)
91- let S = (R - ((R / 1000) * 25))
92- let T = (R - S)
93- let U = y
94- let V = ((R * parseIntValue(U)) / 100)
95- let W = (R - (V + T))
96- if ((N == toString(q.caller)))
88+ let F = getStringValue(((((c + a) + L) + "_") + M))
89+ let Q = value(p.payments[0].amount)
90+ let R = (Q - ((Q / 1000) * 25))
91+ let S = (Q - R)
92+ let T = x
93+ let U = ((Q * parseIntValue(T)) / 100)
94+ let V = (Q - (U + S))
95+ if ((M == toString(p.caller)))
9796 then throw("current Owner of NFT not able to purchase")
98- else if (if ((q.payments[0].assetId == f))
99- then (O != N)
97+ else if (if ((p.payments[0].assetId == f))
98+ then (N != M)
10099 else false)
101- then [ScriptTransfer(q.caller, 1, l), ScriptTransfer(Address(fromBase58String(N)), W, f), ScriptTransfer(Address(fromBase58String(O)), V, f), IntegerEntry((("nft_" + M) + "platform_fee"), T), StringEntry(((toString(q.caller) + a) + b), ((M + a) + toString(R))), DeleteEntry((("nft_" + N) + "_owner")), StringEntry((("nft_" + N) + "_owner"), toString(q.caller)), StringEntry(((M + a) + "_owner"), toString(q.caller))]
102- else if (if ((q.payments[0].assetId == f))
103- then (O == N)
100+ then [ScriptTransfer(p.caller, 1, l), ScriptTransfer(Address(fromBase58String(M)), V, f), ScriptTransfer(Address(fromBase58String(N)), U, f), IntegerEntry((("nft_" + L) + "platform_fee"), S), StringEntry(((toString(p.caller) + a) + b), ((L + a) + toString(Q))), DeleteEntry((("nft_" + M) + "_owner")), StringEntry((("nft_" + M) + "_owner"), toString(p.caller)), StringEntry(((L + a) + "_owner"), toString(p.caller))]
101+ else if (if ((p.payments[0].assetId == f))
102+ then (N == M)
104103 else false)
105- then [ScriptTransfer(q.caller, 1, l), ScriptTransfer(Address(fromBase58String(N)), S, f), StringEntry((("nft_" + M) + "platform_fee"), toString(T)), StringEntry(((toString(q.caller) + a) + b), ((M + a) + toString(R))), DeleteEntry((("nft_" + N) + "_owner")), StringEntry((("nft_" + N) + "_owner"), toString(q.caller)), StringEntry(((M + a) + "_owner"), toString(q.caller))]
106- else if (if ((q.payments[0].assetId == unit))
107- then (O != N)
104+ then [ScriptTransfer(p.caller, 1, l), ScriptTransfer(Address(fromBase58String(M)), R, f), StringEntry((("nft_" + L) + "platform_fee"), toString(S)), StringEntry(((toString(p.caller) + a) + b), ((L + a) + toString(Q))), DeleteEntry((("nft_" + M) + "_owner")), StringEntry((("nft_" + M) + "_owner"), toString(p.caller)), StringEntry(((L + a) + "_owner"), toString(p.caller))]
105+ else if (if ((p.payments[0].assetId == unit))
106+ then (N != M)
108107 else false)
109- then [ScriptTransfer(q.caller, 1, l), ScriptTransfer(Address(fromBase58String(N)), W, unit), ScriptTransfer(Address(fromBase58String(O)), V, unit), StringEntry((("nft_" + M) + "platform_fee"), toString(T)), StringEntry(((toString(q.caller) + a) + b), ((M + a) + toString(R))), DeleteEntry((("nft_" + N) + "_owner")), StringEntry((("nft_" + N) + "_owner"), toString(q.caller)), StringEntry(((M + a) + "_owner"), toString(q.caller))]
110- else if (if ((q.payments[0].assetId == unit))
111- then (O == N)
108+ then [ScriptTransfer(p.caller, 1, l), ScriptTransfer(Address(fromBase58String(M)), V, unit), ScriptTransfer(Address(fromBase58String(N)), U, unit), StringEntry((("nft_" + L) + "platform_fee"), toString(S)), StringEntry(((toString(p.caller) + a) + b), ((L + a) + toString(Q))), DeleteEntry((("nft_" + M) + "_owner")), StringEntry((("nft_" + M) + "_owner"), toString(p.caller)), StringEntry(((L + a) + "_owner"), toString(p.caller))]
109+ else if (if ((p.payments[0].assetId == unit))
110+ then (N == M)
112111 else false)
113- then [ScriptTransfer(q.caller, 1, l), ScriptTransfer(Address(fromBase58String(N)), S, unit), StringEntry((("nft_" + M) + "platform_fee"), toString(T)), StringEntry(((toString(q.caller) + a) + b), ((M + a) + toString(R))), DeleteEntry((("nft_" + N) + "_owner")), StringEntry((("nft_" + N) + "_owner"), toString(q.caller)), StringEntry(((M + a) + "_owner"), toString(q.caller))]
112+ then [ScriptTransfer(p.caller, 1, l), ScriptTransfer(Address(fromBase58String(M)), R, unit), StringEntry((("nft_" + L) + "platform_fee"), toString(S)), StringEntry(((toString(p.caller) + a) + b), ((L + a) + toString(Q))), DeleteEntry((("nft_" + M) + "_owner")), StringEntry((("nft_" + M) + "_owner"), toString(p.caller)), StringEntry(((L + a) + "_owner"), toString(p.caller))]
114113 else nil
115114 }
116115
117116
118117
119-@Callable(q)
120-func cancelSell (X) = {
121- let E = toBase58String(q.transactionId)
122- let I = q.caller.bytes
123-[StringEntry(((E + X) + "_nft_status"), "CANCELED"), ScriptTransfer(Address(I), 1, fromBase58String(X))]
118+@Callable(p)
119+func cancelSell (W) = {
120+ let D = toBase58String(p.transactionId)
121+ let H = p.caller.bytes
122+[StringEntry(((D + W) + "_nft_status"), "CANCELED"), ScriptTransfer(Address(H), 1, fromBase58String(W))]
124123 }
125124
126125
127126
128-@Callable(q)
129-func addAuction (Y,Z,aa,ab,H) = {
130- let E = toBase58String(q.transactionId)
131- let X = value(q.payments[0].assetId)
132- let G = value(aa)
133- let ac = (lastBlock.height + ab)
134- let r = q.caller.bytes
135- let ad = {
136- let m = getString(this, (((toBase58String(X) + a) + "nft_status_") + toBase58String(r)))
127+@Callable(p)
128+func addAuction (X,Y,Z,aa,G) = {
129+ let D = toBase58String(p.transactionId)
130+ let W = value(p.payments[0].assetId)
131+ let F = value(Z)
132+ let ab = (lastBlock.height + aa)
133+ let q = p.caller.bytes
134+ let ac = {
135+ let m = getString(this, (((toBase58String(W) + a) + "nft_status_") + toBase58String(q)))
137136 if ($isInstanceOf(m, "String"))
138137 then {
139- let Q = m
138+ let P = m
140139 true
141140 }
142141 else false
143142 }
144- if ((ad == true))
143+ if ((ac == true))
145144 then throw("Already in auction list")
146- else if ((ab > e))
145+ else if ((aa > e))
147146 then throw(("Duration is too long. Must be less than or equal to 30 " + toString(e)))
148- else if ((q.payments[0].assetId == unit))
147+ else if ((p.payments[0].assetId == unit))
149148 then throw("NFT not attached")
150- else if ((q.payments[0].assetId == f))
149+ else if ((p.payments[0].assetId == f))
151150 then throw("NFT not attached")
152- else [StringEntry(((E + "nft_start_auction_date") + toBase58String(r)), Y), StringEntry(((E + "nft_end_auction_date") + toBase58String(r)), Z), StringEntry((E + "_nft_start_price"), aa), StringEntry((E + "_nft_owner"), toString(q.caller)), StringEntry((E + "_nft_on_auction"), toBase58String(X)), StringEntry((E + "_previous_bidder"), "none"), StringEntry((E + "_highest_bid"), "0"), StringEntry((E + "_winner_of_nft"), "0"), StringEntry((E + "_bidder_count"), "0"), StringEntry((E + "_nft_status"), "OPEN")]
151+ else [StringEntry(((D + "nft_start_auction_date") + toBase58String(q)), X), StringEntry(((D + "nft_end_auction_date") + toBase58String(q)), Y), StringEntry((D + "_nft_start_price"), Z), StringEntry((D + "_nft_owner"), toString(p.caller)), StringEntry((D + "_nft_on_auction"), toBase58String(W)), StringEntry((D + "_previous_bidder"), "none"), StringEntry((D + "_highest_bid"), "0"), StringEntry((D + "_winner_of_nft"), "0"), StringEntry((D + "_bidder_count"), "0"), StringEntry((D + "_nft_status"), "OPEN")]
153152 }
154153
155154
156155
157-@Callable(q)
158-func placeBid (ae,X,t,af,ag) = {
159- let E = toBase58String(q.transactionId)
160- let r = q.caller.bytes
161- let l = fromBase58String(X)
162- let ah = q.payments[0].assetId
163- let ai = q.payments[0].amount
164- let aj = getStringValue(this, (ae + "_highest_bid"))
165- let ak = getString(this, (ae + "_previous_bidder"))
166- let al = getStringValue(this, (ae + "_bidder_count"))
167- let am = getStringValue(this, (ae + "_winner_of_nft"))
168- let ad = getStringValue(this, (ae + "_nft_status"))
169- if ((ad != "OPEN"))
156+@Callable(p)
157+func placeBid (ad,W,s,ae,af) = {
158+ let D = toBase58String(p.transactionId)
159+ let q = p.caller.bytes
160+ let l = fromBase58String(W)
161+ let ag = p.payments[0].assetId
162+ let ah = p.payments[0].amount
163+ let ai = getStringValue(this, (ad + "_highest_bid"))
164+ let aj = getString(this, (ad + "_previous_bidder"))
165+ let ak = getStringValue(this, (ad + "_bidder_count"))
166+ let al = getStringValue(this, (ad + "_winner_of_nft"))
167+ let ac = getStringValue(this, (ad + "_nft_status"))
168+ if ((ac != "OPEN"))
170169 then throw("Not open for auction")
171- else if ((parseIntValue(aj) >= ai))
170+ else if ((parseIntValue(ai) >= ah))
172171 then throw("Bid is less then starting/highest Bid")
173- else if ((aj == "0"))
174- then [StringEntry((ae + "_highest_bid"), toString(ai)), StringEntry((ae + "_winner_of_nft"), toBase58String(q.caller.bytes)), StringEntry((ae + "_bidder_count"), toString((parseIntValue(al) + 1))), StringEntry((ae + "_nft_id"), toBase58String(l)), StringEntry((ae + "_nft_owner"), t), StringEntry((((E + "_") + ae) + "_highest_bid"), toString(ai)), StringEntry((((E + "_") + ae) + "_winner"), toBase58String(q.caller.bytes)), StringEntry((((E + "_") + ae) + "_bidder_count"), toString((parseIntValue(al) + 1))), StringEntry((((E + "_") + ae) + "_nft_id"), toBase58String(l)), StringEntry((((E + "_") + ae) + "_nft_owner"), t), StringEntry((E + "_bid_for_nft_by"), toBase58String(r)), StringEntry((E + "_bid_price_place"), af), StringEntry((E + "_previous_bid_amount_refund_to_address"), am), StringEntry((E + "_prevoius_bid_amount_refund"), aj)]
175- else if ((aj != "0"))
176- then [ScriptTransfer(Address(fromBase58String(am)), parseIntValue(aj), ah), StringEntry((E + "_previous_bid_amount_refund_to_address"), am), StringEntry((E + "_prevoius_bid_amount_refund"), aj), StringEntry((ae + "_bidder_count"), toString((parseIntValue(al) + 1))), StringEntry((ae + "_highest_bid"), toString(ai)), StringEntry((ae + "_winner_of_nft"), toBase58String(q.caller.bytes)), StringEntry((ae + "_nft_id"), toBase58String(l)), StringEntry((ae + "_nft_owner"), t), StringEntry((((E + "_") + ae) + "_highest_bid"), toString(ai)), StringEntry((((E + "_") + ae) + "_winner"), toBase58String(q.caller.bytes)), StringEntry((((E + "_") + ae) + "_bidder_count"), toString((parseIntValue(al) + 1))), StringEntry((((E + "_") + ae) + "_nft_id"), toBase58String(l)), StringEntry((((E + "_") + ae) + "_nft_owner"), t), StringEntry((E + "_bid_for_nft_by"), toBase58String(r)), StringEntry((E + "_bid_price_place"), af)]
172+ else if ((ai == "0"))
173+ then [StringEntry((ad + "_highest_bid"), toString(ah)), StringEntry((ad + "_winner_of_nft"), toBase58String(p.caller.bytes)), StringEntry((ad + "_bidder_count"), toString((parseIntValue(ak) + 1))), StringEntry((ad + "_nft_id"), toBase58String(l)), StringEntry((ad + "_nft_owner"), s), StringEntry((((D + "_") + ad) + "_highest_bid"), toString(ah)), StringEntry((((D + "_") + ad) + "_winner"), toBase58String(p.caller.bytes)), StringEntry((((D + "_") + ad) + "_bidder_count"), toString((parseIntValue(ak) + 1))), StringEntry((((D + "_") + ad) + "_nft_id"), toBase58String(l)), StringEntry((((D + "_") + ad) + "_nft_owner"), s), StringEntry((D + "_bid_for_nft_by"), toBase58String(q)), StringEntry((D + "_bid_price_place"), ae), StringEntry((D + "_previous_bid_amount_refund_to_address"), al), StringEntry((D + "_prevoius_bid_amount_refund"), ai)]
174+ else if ((ai != "0"))
175+ then [ScriptTransfer(Address(fromBase58String(al)), parseIntValue(ai), ag), StringEntry((D + "_previous_bid_amount_refund_to_address"), al), StringEntry((D + "_prevoius_bid_amount_refund"), ai), StringEntry((ad + "_bidder_count"), toString((parseIntValue(ak) + 1))), StringEntry((ad + "_highest_bid"), toString(ah)), StringEntry((ad + "_winner_of_nft"), toBase58String(p.caller.bytes)), StringEntry((ad + "_nft_id"), toBase58String(l)), StringEntry((ad + "_nft_owner"), s), StringEntry((((D + "_") + ad) + "_highest_bid"), toString(ah)), StringEntry((((D + "_") + ad) + "_winner"), toBase58String(p.caller.bytes)), StringEntry((((D + "_") + ad) + "_bidder_count"), toString((parseIntValue(ak) + 1))), StringEntry((((D + "_") + ad) + "_nft_id"), toBase58String(l)), StringEntry((((D + "_") + ad) + "_nft_owner"), s), StringEntry((D + "_bid_for_nft_by"), toBase58String(q)), StringEntry((D + "_bid_price_place"), ae)]
177176 else nil
178177 }
179178
180179
181180
182-@Callable(q)
183-func acceptBidOffer (ae,X,an,N,O,y,ag) = {
184- let ao = "9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq"
185- let E = toBase58String(q.transactionId)
186- let ap = fromBase58String(ag)
187- let r = q.caller.bytes
188- let l = fromBase58String(X)
189- let aq = getStringValue(this, (ae + "_highest_bid"))
190- let ar = ((parseIntValue(aq) / 1000) * 975)
191- let T = ((parseIntValue(aq) / 1000) * 25)
192- let V = ((parseIntValue(aq) * parseIntValue(y)) / 100)
193- let as = (parseIntValue(aq) - (V + T))
194- let at = getStringValue(this, (ae + "_winner_of_nft"))
195- if (if ((ag == ao))
196- then (O != N)
181+@Callable(p)
182+func acceptBidOffer (ad,W,am,M,N,x,af) = {
183+ let an = "9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq"
184+ let D = toBase58String(p.transactionId)
185+ let ao = fromBase58String(af)
186+ let q = p.caller.bytes
187+ let l = fromBase58String(W)
188+ let ap = getStringValue(this, (ad + "_highest_bid"))
189+ let aq = ((parseIntValue(ap) / 1000) * 975)
190+ let S = ((parseIntValue(ap) / 1000) * 25)
191+ let U = ((parseIntValue(ap) * parseIntValue(x)) / 100)
192+ let ar = (parseIntValue(ap) - (U + S))
193+ let as = getStringValue(this, (ad + "_winner_of_nft"))
194+ if (if ((af == an))
195+ then (N != M)
197196 else false)
198- then [ScriptTransfer(Address(r), as, ap), ScriptTransfer(Address(fromBase58String(at)), 1, l), ScriptTransfer(Address(fromBase58String(O)), V, ap), StringEntry((E + "_amount_paid_to_owner"), aq), StringEntry((E + "_nft_transfer_to"), at), StringEntry((E + "_nft_status"), "REWARDED"), StringEntry((ae + "_amount_paid_to_owner"), aq), StringEntry((ae + "_nft_transfer_to"), at), StringEntry((ae + "_nft_status"), "REWARDED")]
199- else if (if ((ag == ao))
200- then (O == N)
197+ then [ScriptTransfer(Address(q), ar, ao), ScriptTransfer(Address(fromBase58String(as)), 1, l), ScriptTransfer(Address(fromBase58String(N)), U, ao), StringEntry((D + "_amount_paid_to_owner"), ap), StringEntry((D + "_nft_transfer_to"), as), StringEntry((D + "_nft_status"), "REWARDED"), StringEntry((ad + "_amount_paid_to_owner"), ap), StringEntry((ad + "_nft_transfer_to"), as), StringEntry((ad + "_nft_status"), "REWARDED")]
198+ else if (if ((af == an))
199+ then (N == M)
201200 else false)
202- then [ScriptTransfer(Address(r), ar, ap), ScriptTransfer(Address(fromBase58String(at)), 1, l), StringEntry((E + "_amount_paid_to_owner"), aq), StringEntry((E + "_nft_transfer_to"), at), StringEntry((E + "_nft_status"), "REWARDED"), StringEntry((ae + "_amount_paid_to_owner"), aq), StringEntry((ae + "_nft_transfer_to"), at), StringEntry((ae + "_nft_status"), "REWARDED")]
203- else if (if ((ag == "WAVES"))
204- then (O != N)
201+ then [ScriptTransfer(Address(q), aq, ao), ScriptTransfer(Address(fromBase58String(as)), 1, l), StringEntry((D + "_amount_paid_to_owner"), ap), StringEntry((D + "_nft_transfer_to"), as), StringEntry((D + "_nft_status"), "REWARDED"), StringEntry((ad + "_amount_paid_to_owner"), ap), StringEntry((ad + "_nft_transfer_to"), as), StringEntry((ad + "_nft_status"), "REWARDED")]
202+ else if (if ((af == "WAVES"))
203+ then (N != M)
205204 else false)
206- then [ScriptTransfer(Address(r), as, unit), ScriptTransfer(Address(fromBase58String(at)), 1, l), ScriptTransfer(Address(fromBase58String(O)), V, unit), StringEntry("platform_fee", toString(T)), StringEntry((E + "_amount_paid_to_owner"), aq), StringEntry((E + "_nft_transfer_to"), at), StringEntry((E + "_nft_status"), "REWARDED"), StringEntry((ae + "_amount_paid_to_owner"), aq), StringEntry((ae + "_nft_transfer_to"), at), StringEntry((ae + "_nft_status"), "REWARDED")]
207- else if (if ((ag == "WAVES"))
208- then (O == N)
205+ then [ScriptTransfer(Address(q), ar, unit), ScriptTransfer(Address(fromBase58String(as)), 1, l), ScriptTransfer(Address(fromBase58String(N)), U, unit), StringEntry("platform_fee", toString(S)), StringEntry((D + "_amount_paid_to_owner"), ap), StringEntry((D + "_nft_transfer_to"), as), StringEntry((D + "_nft_status"), "REWARDED"), StringEntry((ad + "_amount_paid_to_owner"), ap), StringEntry((ad + "_nft_transfer_to"), as), StringEntry((ad + "_nft_status"), "REWARDED")]
206+ else if (if ((af == "WAVES"))
207+ then (N == M)
209208 else false)
210- then [ScriptTransfer(Address(r), ar, unit), ScriptTransfer(Address(fromBase58String(at)), 1, l), StringEntry((E + "_amount_paid_to_owner"), aq), StringEntry((E + "_nft_transfer_to"), at), StringEntry((E + "_nft_status"), "REWARDED"), StringEntry((ae + "_amount_paid_to_owner"), aq), StringEntry((ae + "_nft_transfer_to"), at), StringEntry((ae + "_nft_status"), "REWARDED")]
209+ then [ScriptTransfer(Address(q), aq, unit), ScriptTransfer(Address(fromBase58String(as)), 1, l), StringEntry((D + "_amount_paid_to_owner"), ap), StringEntry((D + "_nft_transfer_to"), as), StringEntry((D + "_nft_status"), "REWARDED"), StringEntry((ad + "_amount_paid_to_owner"), ap), StringEntry((ad + "_nft_transfer_to"), as), StringEntry((ad + "_nft_status"), "REWARDED")]
211210 else nil
212211 }
213212
214213
215214
216-@Callable(q)
217-func cancelAuction (ae) = {
218- let E = toBase58String(q.transactionId)
219- let r = q.caller.bytes
220- let au = getStringValue(this, (ae + "_nft_status"))
221- let av = getStringValue(this, (ae + "_winner_of_nft"))
222- let aw = getStringValue(this, (ae + "_nft_owner"))
223- let X = getStringValue(this, (ae + "_nft_on_auction"))
224- let ax = getStringValue(this, (ae + "_highest_bid"))
225- if ((av == "0"))
226- then [StringEntry(((E + ae) + "_nft_status"), "CANCELED"), ScriptTransfer(Address(fromBase58String(aw)), 1, fromBase58String(X))]
227- else if ((av != "0"))
215+@Callable(p)
216+func cancelAuction (ad) = {
217+ let D = toBase58String(p.transactionId)
218+ let q = p.caller.bytes
219+ let at = getStringValue(this, (ad + "_nft_status"))
220+ let au = getStringValue(this, (ad + "_winner_of_nft"))
221+ let av = getStringValue(this, (ad + "_nft_owner"))
222+ let W = getStringValue(this, (ad + "_nft_on_auction"))
223+ let aw = getStringValue(this, (ad + "_highest_bid"))
224+ if ((au == "0"))
225+ then [StringEntry(((D + ad) + "_nft_status"), "CANCELED"), ScriptTransfer(Address(fromBase58String(av)), 1, fromBase58String(W))]
226+ else if ((au != "0"))
228227 then throw("sorry! you can't cancel it because already auction placed by someone")
229228 else nil
230229 }
231230
232231
233232
234-@Callable(q)
235-func manualFundTransfer (ay) = {
236- let az = q.caller.bytes
237- let aA = fromBase58String(ay)
238- let R = q.payments[0].amount
239- if ((q.payments[0].assetId == unit))
240- then [IntegerEntry((toBase58String(az) + "_transfer"), R), StringEntry((toBase58String(az) + "_transfer_to"), ay), ScriptTransfer(Address(aA), R, unit)]
241- else if ((q.payments[0].assetId == f))
242- then [IntegerEntry((toBase58String(az) + "_transfer"), R), StringEntry((toBase58String(az) + "_transfer_to"), ay), ScriptTransfer(Address(aA), R, f)]
233+@Callable(p)
234+func manualFundTransfer (ax) = {
235+ let ay = p.caller.bytes
236+ let az = fromBase58String(ax)
237+ let Q = p.payments[0].amount
238+ if ((p.payments[0].assetId == unit))
239+ then [IntegerEntry((toBase58String(ay) + "_transfer"), Q), StringEntry((toBase58String(ay) + "_transfer_to"), ax), ScriptTransfer(Address(az), Q, unit)]
240+ else if ((p.payments[0].assetId == f))
241+ then [IntegerEntry((toBase58String(ay) + "_transfer"), Q), StringEntry((toBase58String(ay) + "_transfer_to"), ax), ScriptTransfer(Address(az), Q, f)]
243242 else nil
244243 }
245244
246245
247246
248-@Callable(q)
249-func nftback (ae) = {
250- let r = q.caller.bytes
251- let X = getStringValue(this, (ae + "_nft_on_auction"))
252- let aw = getStringValue(this, (ae + "_nft_owner"))
253-[StringEntry((ae + "_nft_status"), "Auction_time over"), ScriptTransfer(Address(fromBase58String(aw)), 1, fromBase58String(X))]
247+@Callable(p)
248+func nftback (ad) = {
249+ let q = p.caller.bytes
250+ let W = getStringValue(this, (ad + "_nft_on_auction"))
251+ let av = getStringValue(this, (ad + "_nft_owner"))
252+[StringEntry((ad + "_nft_status"), "Auction_time over"), ScriptTransfer(Address(fromBase58String(av)), 1, fromBase58String(W))]
254253 }
255254
256255
257256
258-@Callable(q)
259-func withdrawMoney (ae,ag) = {
260- let r = q.caller.bytes
261- let ao = "9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq"
262- let E = toBase58String(q.transactionId)
263- let ap = fromBase58String(ag)
264- let aB = getStringValue(this, (ae + "_highest_bid"))
265- let aC = getStringValue(this, (ae + "_winner"))
266- let aD = getStringValue(this, (ae + "_nft_id"))
267- if ((ag == ao))
268- then [StringEntry((ae + "_nft_bid"), "WITHDRAW"), StringEntry((ae + "_nft_id"), aD), StringEntry((ae + "_bidding_price_refund_amount"), aB), ScriptTransfer(q.caller, parseIntValue(aB), ap)]
269- else if ((ag == "WAVES"))
270- then [StringEntry((ae + "_nft_bid"), "WITHDRAW"), StringEntry((ae + "_nft_id"), aD), StringEntry((ae + "_bidding_price_refund_amount"), aB), ScriptTransfer(q.caller, parseIntValue(aB), unit)]
257+@Callable(p)
258+func withdrawMoney (ad,af) = {
259+ let q = p.caller.bytes
260+ let an = "9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq"
261+ let D = toBase58String(p.transactionId)
262+ let ao = fromBase58String(af)
263+ let aA = getStringValue(this, (ad + "_highest_bid"))
264+ let aB = getStringValue(this, (ad + "_winner"))
265+ let aC = getStringValue(this, (ad + "_nft_id"))
266+ if ((af == an))
267+ then [StringEntry((ad + "_nft_bid"), "WITHDRAW"), StringEntry((ad + "_nft_id"), aC), StringEntry((ad + "_bidding_price_refund_amount"), aA), ScriptTransfer(p.caller, parseIntValue(aA), ao)]
268+ else if ((af == "WAVES"))
269+ then [StringEntry((ad + "_nft_bid"), "WITHDRAW"), StringEntry((ad + "_nft_id"), aC), StringEntry((ad + "_bidding_price_refund_amount"), aA), ScriptTransfer(p.caller, parseIntValue(aA), unit)]
271270 else nil
272271 }
273272
274273
275274
276-@Callable(q)
277-func buyAllProducts_asimi (aE) = {
278- let aF = q.caller
279- let aG = assetBalance(aF, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')
280- let aH = split(aE[0], "_")
281- let aI = split(aE[1], "_")
282- let aJ = split(aE[2], "_")
283- let aK = split(aE[3], "_")
284- let aL = split(aE[4], "_")
285- let R = value(q.payments[0].amount)
286- let aM = (R - ((R / 1000) * 25))
287- let aN = (R - aM)
288- let V = ((R / 100) * parseIntValue(aH[3]))
289- let aO = (R - (V + aN))
290- let aP = value(q.payments[1].amount)
291- let aQ = (aP - ((aP / 1000) * 25))
292- let aR = (aP - aQ)
293- let aS = ((aP / 100) * parseIntValue(aI[3]))
294- let aT = (aP - (aS + aR))
295- let aU = value(q.payments[2].amount)
296- let aV = (aU - ((aU / 1000) * 25))
297- let aW = (aU - aV)
298- let aX = ((aU / 100) * parseIntValue(aJ[3]))
299- let aY = (aU - (aX + aW))
300- let aZ = value(q.payments[3].amount)
301- let ba = (aZ - ((aZ / 1000) * 25))
302- let bb = (aZ - ba)
303- let bc = ((aZ / 100) * parseIntValue(aK[3]))
304- let bd = (aZ - (bc + bb))
305- let be = value(q.payments[4].amount)
306- let bf = (be - ((be / 1000) * 25))
307- let bg = (be - bf)
308- let bh = ((be / 100) * parseIntValue(aL[3]))
309- let bi = (be - (bh + bg))
310- if ((size(aE) == 1))
311- then [StringEntry((((((("first_nft_Info=" + "nftId") + aH[0]) + "creator") + aH[4]) + "royalitypercent") + aH[3]), ("buyer" + toString(aF))), StringEntry((("first_nft_Info=" + "seller_address") + aH[1]), ("price" + aH[2])), ScriptTransfer(aF, 1, fromBase58String(aH[0])), ScriptTransfer(Address(fromBase58String(aH[1])), aO, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), V, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
312- else if ((size(aE) == 2))
313- then [StringEntry((((((("first_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aF))), StringEntry((((((("second_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aF))), ScriptTransfer(aF, 1, fromBase58String(aH[0])), ScriptTransfer(aF, 1, fromBase58String(aI[0])), ScriptTransfer(Address(fromBase58String(aH[1])), aO, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), V, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[1])), aT, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[4])), aS, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
314- else if ((size(aE) == 3))
315- then [StringEntry((((((("first_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aF))), StringEntry((((((("second_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aF))), StringEntry((((((("third_nft_Info=" + "nftId") + aJ[0]) + "seller_address") + aJ[1]) + "price") + aJ[2]), ("buyer" + toString(aF))), ScriptTransfer(aF, 1, fromBase58String(aH[0])), ScriptTransfer(aF, 1, fromBase58String(aI[0])), ScriptTransfer(aF, 1, fromBase58String(aJ[0])), ScriptTransfer(Address(fromBase58String(aH[1])), aO, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), V, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[1])), aT, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[4])), aS, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[1])), aY, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[4])), aX, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
316- else if ((size(aE) == 4))
317- then [StringEntry((((((("first_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aF))), StringEntry((((((("second_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aF))), StringEntry((((((("third_nft_Info=" + "nftId") + aJ[0]) + "seller_address") + aJ[1]) + "price") + aJ[2]), ("buyer" + toString(aF))), StringEntry((((((("fourth_nft_Info=" + "nftId") + aK[0]) + "seller_address") + aK[1]) + "price") + aK[2]), ("buyer" + toString(aF))), ScriptTransfer(aF, 1, fromBase58String(aH[0])), ScriptTransfer(aF, 1, fromBase58String(aI[0])), ScriptTransfer(aF, 1, fromBase58String(aJ[0])), ScriptTransfer(aF, 1, fromBase58String(aK[0])), ScriptTransfer(Address(fromBase58String(aH[1])), aO, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), V, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[1])), aT, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[4])), aS, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[1])), aY, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[4])), aX, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aK[1])), bd, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aK[4])), bc, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
318- else if ((size(aE) == 5))
319- then [StringEntry((((((("first_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aF))), StringEntry((((((("second_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aF))), StringEntry((((((("third_nft_Info=" + "nftId") + aJ[0]) + "seller_address") + aJ[1]) + "price") + aJ[2]), ("buyer" + toString(aF))), StringEntry((((((("fourth_nft_Info=" + "nftId") + aK[0]) + "seller_address") + aK[1]) + "price") + aK[2]), ("buyer" + toString(aF))), StringEntry((((((("fifth_nft_Info=" + "nftId") + aL[0]) + "seller_address") + aL[1]) + "price") + aL[2]), ("buyer" + toString(aF))), ScriptTransfer(aF, 1, fromBase58String(aH[0])), ScriptTransfer(aF, 1, fromBase58String(aI[0])), ScriptTransfer(aF, 1, fromBase58String(aJ[0])), ScriptTransfer(aF, 1, fromBase58String(aK[0])), ScriptTransfer(aF, 1, fromBase58String(aL[0])), ScriptTransfer(Address(fromBase58String(aH[1])), aO, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), V, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[1])), aT, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[4])), aS, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[1])), aY, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[4])), aX, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aK[1])), bd, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aK[4])), bc, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aL[1])), bi, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aL[4])), bh, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
320- else if ((size(aE) > 5))
275+@Callable(p)
276+func buyAllProducts_asimi (aD) = {
277+ let aE = p.caller
278+ let aF = assetBalance(aE, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')
279+ let aG = split(aD[0], "_")
280+ let aH = split(aD[1], "_")
281+ let aI = split(aD[2], "_")
282+ let aJ = split(aD[3], "_")
283+ let aK = split(aD[4], "_")
284+ let Q = value(p.payments[0].amount)
285+ let aL = (Q - ((Q / 1000) * 25))
286+ let aM = (Q - aL)
287+ let U = ((Q / 100) * parseIntValue(aG[3]))
288+ let aN = (Q - (U + aM))
289+ let aO = value(p.payments[1].amount)
290+ let aP = (aO - ((aO / 1000) * 25))
291+ let aQ = (aO - aP)
292+ let aR = ((aO / 100) * parseIntValue(aH[3]))
293+ let aS = (aO - (aR + aQ))
294+ let aT = value(p.payments[2].amount)
295+ let aU = (aT - ((aT / 1000) * 25))
296+ let aV = (aT - aU)
297+ let aW = ((aT / 100) * parseIntValue(aI[3]))
298+ let aX = (aT - (aW + aV))
299+ let aY = value(p.payments[3].amount)
300+ let aZ = (aY - ((aY / 1000) * 25))
301+ let ba = (aY - aZ)
302+ let bb = ((aY / 100) * parseIntValue(aJ[3]))
303+ let bc = (aY - (bb + ba))
304+ let bd = value(p.payments[4].amount)
305+ let be = (bd - ((bd / 1000) * 25))
306+ let bf = (bd - be)
307+ let bg = ((bd / 100) * parseIntValue(aK[3]))
308+ let bh = (bd - (bg + bf))
309+ if ((size(aD) == 1))
310+ then [StringEntry((((((("first_nft_Info=" + "nftId") + aG[0]) + "creator") + aG[4]) + "royalitypercent") + aG[3]), ("buyer" + toString(aE))), StringEntry((("first_nft_Info=" + "seller_address") + aG[1]), ("price" + aG[2])), ScriptTransfer(aE, 1, fromBase58String(aG[0])), ScriptTransfer(Address(fromBase58String(aG[1])), aN, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aG[4])), U, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
311+ else if ((size(aD) == 2))
312+ then [StringEntry((((((("first_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aE))), StringEntry((((((("second_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aE))), ScriptTransfer(aE, 1, fromBase58String(aG[0])), ScriptTransfer(aE, 1, fromBase58String(aH[0])), ScriptTransfer(Address(fromBase58String(aG[1])), aN, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aG[4])), U, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[1])), aS, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), aR, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
313+ else if ((size(aD) == 3))
314+ then [StringEntry((((((("first_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aE))), StringEntry((((((("second_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aE))), StringEntry((((((("third_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aE))), ScriptTransfer(aE, 1, fromBase58String(aG[0])), ScriptTransfer(aE, 1, fromBase58String(aH[0])), ScriptTransfer(aE, 1, fromBase58String(aI[0])), ScriptTransfer(Address(fromBase58String(aG[1])), aN, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aG[4])), U, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[1])), aS, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), aR, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[1])), aX, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[4])), aW, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
315+ else if ((size(aD) == 4))
316+ then [StringEntry((((((("first_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aE))), StringEntry((((((("second_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aE))), StringEntry((((((("third_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aE))), StringEntry((((((("fourth_nft_Info=" + "nftId") + aJ[0]) + "seller_address") + aJ[1]) + "price") + aJ[2]), ("buyer" + toString(aE))), ScriptTransfer(aE, 1, fromBase58String(aG[0])), ScriptTransfer(aE, 1, fromBase58String(aH[0])), ScriptTransfer(aE, 1, fromBase58String(aI[0])), ScriptTransfer(aE, 1, fromBase58String(aJ[0])), ScriptTransfer(Address(fromBase58String(aG[1])), aN, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aG[4])), U, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[1])), aS, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), aR, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[1])), aX, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[4])), aW, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[1])), bc, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[4])), bb, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
317+ else if ((size(aD) == 5))
318+ then [StringEntry((((((("first_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aE))), StringEntry((((((("second_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aE))), StringEntry((((((("third_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aE))), StringEntry((((((("fourth_nft_Info=" + "nftId") + aJ[0]) + "seller_address") + aJ[1]) + "price") + aJ[2]), ("buyer" + toString(aE))), StringEntry((((((("fifth_nft_Info=" + "nftId") + aK[0]) + "seller_address") + aK[1]) + "price") + aK[2]), ("buyer" + toString(aE))), ScriptTransfer(aE, 1, fromBase58String(aG[0])), ScriptTransfer(aE, 1, fromBase58String(aH[0])), ScriptTransfer(aE, 1, fromBase58String(aI[0])), ScriptTransfer(aE, 1, fromBase58String(aJ[0])), ScriptTransfer(aE, 1, fromBase58String(aK[0])), ScriptTransfer(Address(fromBase58String(aG[1])), aN, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aG[4])), U, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[1])), aS, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), aR, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[1])), aX, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[4])), aW, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[1])), bc, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[4])), bb, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aK[1])), bh, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aK[4])), bg, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
319+ else if ((size(aD) > 5))
321320 then throw("sorry! maximum limit of your cart is 5 items")
322321 else nil
323322 }
324323
325324
326325
327-@Callable(q)
328-func buyAllProducts_waves (aE) = {
329- let aF = q.caller
330- let aG = assetBalance(aF, g)
331- let aH = split(aE[0], "_")
332- let aI = split(aE[1], "_")
333- let aJ = split(aE[2], "_")
334- let aK = split(aE[3], "_")
335- let aL = split(aE[4], "_")
336- let R = value(q.payments[0].amount)
337- let aM = (R - ((R / 1000) * 25))
338- let aN = (R - aM)
339- let V = ((R / 100) * parseIntValue(aH[3]))
340- let aO = (R - (V + aN))
341- let aP = value(q.payments[1].amount)
342- let aQ = (aP - ((aP / 1000) * 25))
343- let aR = (aP - aQ)
344- let aS = ((aP / 100) * parseIntValue(aI[3]))
345- let aT = (aP - (aS + aR))
346- let aU = value(q.payments[2].amount)
347- let aV = (aU - ((aU / 1000) * 25))
348- let aW = (aU - aV)
349- let aX = ((aU / 100) * parseIntValue(aJ[3]))
350- let aY = (aU - (aX + aW))
351- let aZ = value(q.payments[3].amount)
352- let ba = (aZ - ((aZ / 1000) * 25))
353- let bb = (aZ - ba)
354- let bc = ((aZ / 100) * parseIntValue(aK[3]))
355- let bd = (aZ - (bc + bb))
356- let be = value(q.payments[4].amount)
357- let bf = (be - ((be / 1000) * 25))
358- let bg = (be - bf)
359- let bh = ((be / 100) * parseIntValue(aL[3]))
360- let bi = (be - (bh + bg))
361- if ((size(aE) == 1))
362- then [StringEntry((((((("first_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aF))), ScriptTransfer(aF, 1, fromBase58String(aH[0])), ScriptTransfer(Address(fromBase58String(aH[1])), aO, unit), ScriptTransfer(Address(fromBase58String(aH[4])), V, unit)]
363- else if ((size(aE) == 2))
364- then [StringEntry((((((("first_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aF))), StringEntry((((((("second_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aF))), ScriptTransfer(aF, 1, fromBase58String(aH[0])), ScriptTransfer(aF, 1, fromBase58String(aI[0])), ScriptTransfer(Address(fromBase58String(aH[1])), aO, unit), ScriptTransfer(Address(fromBase58String(aH[4])), V, unit), ScriptTransfer(Address(fromBase58String(aI[1])), aT, unit), ScriptTransfer(Address(fromBase58String(aI[4])), aS, unit)]
365- else if ((size(aE) == 3))
366- then [StringEntry((((((("first_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aF))), StringEntry((((((("second_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aF))), StringEntry((((((("third_nft_Info=" + "nftId") + aJ[0]) + "seller_address") + aJ[1]) + "price") + aJ[2]), ("buyer" + toString(aF))), ScriptTransfer(aF, 1, fromBase58String(aH[0])), ScriptTransfer(aF, 1, fromBase58String(aI[0])), ScriptTransfer(aF, 1, fromBase58String(aJ[0])), ScriptTransfer(Address(fromBase58String(aH[1])), aO, unit), ScriptTransfer(Address(fromBase58String(aH[4])), V, unit), ScriptTransfer(Address(fromBase58String(aI[1])), aT, unit), ScriptTransfer(Address(fromBase58String(aI[4])), aS, unit), ScriptTransfer(Address(fromBase58String(aJ[1])), aY, unit), ScriptTransfer(Address(fromBase58String(aJ[4])), aX, unit)]
367- else if ((size(aE) == 4))
368- then [StringEntry((((((("first_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aF))), StringEntry((((((("second_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aF))), StringEntry((((((("third_nft_Info=" + "nftId") + aJ[0]) + "seller_address") + aJ[1]) + "price") + aJ[2]), ("buyer" + toString(aF))), StringEntry((((((("fourth_nft_Info=" + "nftId") + aK[0]) + "seller_address") + aK[1]) + "price") + aK[2]), ("buyer" + toString(aF))), ScriptTransfer(aF, 1, fromBase58String(aH[0])), ScriptTransfer(aF, 1, fromBase58String(aI[0])), ScriptTransfer(aF, 1, fromBase58String(aJ[0])), ScriptTransfer(aF, 1, fromBase58String(aK[0])), ScriptTransfer(Address(fromBase58String(aH[1])), aO, unit), ScriptTransfer(Address(fromBase58String(aH[4])), V, unit), ScriptTransfer(Address(fromBase58String(aI[1])), aT, unit), ScriptTransfer(Address(fromBase58String(aI[4])), aS, unit), ScriptTransfer(Address(fromBase58String(aJ[1])), aY, unit), ScriptTransfer(Address(fromBase58String(aJ[4])), aX, unit), ScriptTransfer(Address(fromBase58String(aK[1])), bd, unit), ScriptTransfer(Address(fromBase58String(aK[4])), bc, unit)]
369- else if ((size(aE) == 5))
370- then [StringEntry((((((("first_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aF))), StringEntry((((((("second_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aF))), StringEntry((((((("third_nft_Info=" + "nftId") + aJ[0]) + "seller_address") + aJ[1]) + "price") + aJ[2]), ("buyer" + toString(aF))), StringEntry((((((("fourth_nft_Info=" + "nftId") + aK[0]) + "seller_address") + aK[1]) + "price") + aK[2]), ("buyer" + toString(aF))), StringEntry((((((("fifth_nft_Info=" + "nftId") + aL[0]) + "seller_address") + aL[1]) + "price") + aL[2]), ("buyer" + toString(aF))), ScriptTransfer(aF, 1, fromBase58String(aH[0])), ScriptTransfer(aF, 1, fromBase58String(aI[0])), ScriptTransfer(aF, 1, fromBase58String(aJ[0])), ScriptTransfer(aF, 1, fromBase58String(aK[0])), ScriptTransfer(aF, 1, fromBase58String(aL[0])), ScriptTransfer(Address(fromBase58String(aH[1])), aO, unit), ScriptTransfer(Address(fromBase58String(aH[4])), V, unit), ScriptTransfer(Address(fromBase58String(aI[1])), aT, unit), ScriptTransfer(Address(fromBase58String(aI[4])), aS, unit), ScriptTransfer(Address(fromBase58String(aJ[1])), aY, unit), ScriptTransfer(Address(fromBase58String(aJ[4])), aX, unit), ScriptTransfer(Address(fromBase58String(aK[1])), bd, unit), ScriptTransfer(Address(fromBase58String(aK[4])), bc, unit), ScriptTransfer(Address(fromBase58String(aL[1])), bi, unit), ScriptTransfer(Address(fromBase58String(aL[4])), bh, unit)]
371- else if ((size(aE) > 5))
326+@Callable(p)
327+func buyAllProducts_waves (aD) = {
328+ let aE = p.caller
329+ let aF = assetBalance(aE, g)
330+ let aG = split(aD[0], "_")
331+ let aH = split(aD[1], "_")
332+ let aI = split(aD[2], "_")
333+ let aJ = split(aD[3], "_")
334+ let aK = split(aD[4], "_")
335+ let Q = value(p.payments[0].amount)
336+ let aL = (Q - ((Q / 1000) * 25))
337+ let aM = (Q - aL)
338+ let U = ((Q / 100) * parseIntValue(aG[3]))
339+ let aN = (Q - (U + aM))
340+ let aO = value(p.payments[1].amount)
341+ let aP = (aO - ((aO / 1000) * 25))
342+ let aQ = (aO - aP)
343+ let aR = ((aO / 100) * parseIntValue(aH[3]))
344+ let aS = (aO - (aR + aQ))
345+ let aT = value(p.payments[2].amount)
346+ let aU = (aT - ((aT / 1000) * 25))
347+ let aV = (aT - aU)
348+ let aW = ((aT / 100) * parseIntValue(aI[3]))
349+ let aX = (aT - (aW + aV))
350+ let aY = value(p.payments[3].amount)
351+ let aZ = (aY - ((aY / 1000) * 25))
352+ let ba = (aY - aZ)
353+ let bb = ((aY / 100) * parseIntValue(aJ[3]))
354+ let bc = (aY - (bb + ba))
355+ let bd = value(p.payments[4].amount)
356+ let be = (bd - ((bd / 1000) * 25))
357+ let bf = (bd - be)
358+ let bg = ((bd / 100) * parseIntValue(aK[3]))
359+ let bh = (bd - (bg + bf))
360+ if ((size(aD) == 1))
361+ then [StringEntry((((((("first_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aE))), ScriptTransfer(aE, 1, fromBase58String(aG[0])), ScriptTransfer(Address(fromBase58String(aG[1])), aN, unit), ScriptTransfer(Address(fromBase58String(aG[4])), U, unit)]
362+ else if ((size(aD) == 2))
363+ then [StringEntry((((((("first_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aE))), StringEntry((((((("second_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aE))), ScriptTransfer(aE, 1, fromBase58String(aG[0])), ScriptTransfer(aE, 1, fromBase58String(aH[0])), ScriptTransfer(Address(fromBase58String(aG[1])), aN, unit), ScriptTransfer(Address(fromBase58String(aG[4])), U, unit), ScriptTransfer(Address(fromBase58String(aH[1])), aS, unit), ScriptTransfer(Address(fromBase58String(aH[4])), aR, unit)]
364+ else if ((size(aD) == 3))
365+ then [StringEntry((((((("first_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aE))), StringEntry((((((("second_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aE))), StringEntry((((((("third_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aE))), ScriptTransfer(aE, 1, fromBase58String(aG[0])), ScriptTransfer(aE, 1, fromBase58String(aH[0])), ScriptTransfer(aE, 1, fromBase58String(aI[0])), ScriptTransfer(Address(fromBase58String(aG[1])), aN, unit), ScriptTransfer(Address(fromBase58String(aG[4])), U, unit), ScriptTransfer(Address(fromBase58String(aH[1])), aS, unit), ScriptTransfer(Address(fromBase58String(aH[4])), aR, unit), ScriptTransfer(Address(fromBase58String(aI[1])), aX, unit), ScriptTransfer(Address(fromBase58String(aI[4])), aW, unit)]
366+ else if ((size(aD) == 4))
367+ then [StringEntry((((((("first_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aE))), StringEntry((((((("second_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aE))), StringEntry((((((("third_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aE))), StringEntry((((((("fourth_nft_Info=" + "nftId") + aJ[0]) + "seller_address") + aJ[1]) + "price") + aJ[2]), ("buyer" + toString(aE))), ScriptTransfer(aE, 1, fromBase58String(aG[0])), ScriptTransfer(aE, 1, fromBase58String(aH[0])), ScriptTransfer(aE, 1, fromBase58String(aI[0])), ScriptTransfer(aE, 1, fromBase58String(aJ[0])), ScriptTransfer(Address(fromBase58String(aG[1])), aN, unit), ScriptTransfer(Address(fromBase58String(aG[4])), U, unit), ScriptTransfer(Address(fromBase58String(aH[1])), aS, unit), ScriptTransfer(Address(fromBase58String(aH[4])), aR, unit), ScriptTransfer(Address(fromBase58String(aI[1])), aX, unit), ScriptTransfer(Address(fromBase58String(aI[4])), aW, unit), ScriptTransfer(Address(fromBase58String(aJ[1])), bc, unit), ScriptTransfer(Address(fromBase58String(aJ[4])), bb, unit)]
368+ else if ((size(aD) == 5))
369+ then [StringEntry((((((("first_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aE))), StringEntry((((((("second_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aE))), StringEntry((((((("third_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aE))), StringEntry((((((("fourth_nft_Info=" + "nftId") + aJ[0]) + "seller_address") + aJ[1]) + "price") + aJ[2]), ("buyer" + toString(aE))), StringEntry((((((("fifth_nft_Info=" + "nftId") + aK[0]) + "seller_address") + aK[1]) + "price") + aK[2]), ("buyer" + toString(aE))), ScriptTransfer(aE, 1, fromBase58String(aG[0])), ScriptTransfer(aE, 1, fromBase58String(aH[0])), ScriptTransfer(aE, 1, fromBase58String(aI[0])), ScriptTransfer(aE, 1, fromBase58String(aJ[0])), ScriptTransfer(aE, 1, fromBase58String(aK[0])), ScriptTransfer(Address(fromBase58String(aG[1])), aN, unit), ScriptTransfer(Address(fromBase58String(aG[4])), U, unit), ScriptTransfer(Address(fromBase58String(aH[1])), aS, unit), ScriptTransfer(Address(fromBase58String(aH[4])), aR, unit), ScriptTransfer(Address(fromBase58String(aI[1])), aX, unit), ScriptTransfer(Address(fromBase58String(aI[4])), aW, unit), ScriptTransfer(Address(fromBase58String(aJ[1])), bc, unit), ScriptTransfer(Address(fromBase58String(aJ[4])), bb, unit), ScriptTransfer(Address(fromBase58String(aK[1])), bh, unit), ScriptTransfer(Address(fromBase58String(aK[4])), bg, unit)]
370+ else if ((size(aD) > 5))
372371 then throw("sorry! maximum limit of your cart is 5 items")
373372 else nil
374373 }
375374
376375
377376
378-@Callable(q)
379-func withdrawEarnAsimi (bj,R) = {
380- let bk = base58'3MuehcPaJCUy5asSiT8XX1pwwz9Tj4J9SDS'
381- if ((q.caller.bytes != bk))
377+@Callable(p)
378+func withdrawEarnAsimi (bi,Q) = {
379+ let bj = base58'3MuehcPaJCUy5asSiT8XX1pwwz9Tj4J9SDS'
380+ if ((p.caller.bytes != bj))
382381 then throw("sorry you have no access")
383- else if (if ((bj >= 0))
384- then (bj >= R)
382+ else if (if ((bi >= 0))
383+ then (bi >= Q)
385384 else false)
386- then [ScriptTransfer(q.caller, (R * 100), f)]
385+ then [ScriptTransfer(p.caller, (Q * 100), f)]
387386 else nil
388387 }
389388
390389
391390
392-@Callable(q)
393-func withdrawEarnWaves (bj,R) = {
394- let bk = base58'3MuehcPaJCUy5asSiT8XX1pwwz9Tj4J9SDS'
395- if ((q.caller.bytes != bk))
391+@Callable(p)
392+func withdrawEarnWaves (bi,Q) = {
393+ let bj = base58'3MuehcPaJCUy5asSiT8XX1pwwz9Tj4J9SDS'
394+ if ((p.caller.bytes != bj))
396395 then throw("sorry you have no access")
397- else if (if ((bj >= 0))
398- then (bj >= R)
396+ else if (if ((bi >= 0))
397+ then (bi >= Q)
399398 else false)
400- then [ScriptTransfer(q.caller, (R * 100000000), unit)]
399+ then [ScriptTransfer(p.caller, (Q * 100000000), unit)]
401400 else nil
402401 }
403402
404403
405-@Verifier(bl)
406-func bm () = {
407- let m = bl
404+@Verifier(bk)
405+func bl () = {
406+ let m = bk
408407 if ($isInstanceOf(m, "SetScriptTransaction"))
409408 then {
410- let bn = m
409+ let bm = m
411410 true
412411 }
413412 else false
414413 }
415414

github/deemru/w8io/026f985 
433.27 ms