tx · 8hkaJXqW4HiXiy7sZPT9pwHyASgLN68F8ZKMGQfvMPCU

3Mpv5ddvvBDKQN6pHsHZ6Jy74wb3J1vmHrw:  -0.02000000 Waves

2023.08.20 08:44 [2718538] smart account 3Mpv5ddvvBDKQN6pHsHZ6Jy74wb3J1vmHrw > SELF 0.00000000 Waves

{ "type": 13, "id": "8hkaJXqW4HiXiy7sZPT9pwHyASgLN68F8ZKMGQfvMPCU", "fee": 2000000, "feeAssetId": null, "timestamp": 1692510330896, "version": 2, "chainId": 84, "sender": "3Mpv5ddvvBDKQN6pHsHZ6Jy74wb3J1vmHrw", "senderPublicKey": "Apv79thF7LfxCEFRESoEAeqHQnhmt45geC8enb3ukDX", "proofs": [ "21edFXogymsmgV9HFBccScss6VYbA5AEwt7v8NMVx2H9rRd26LDxMgRjLWrf3owN2TemguuKDFvdNCo6dW1nTqjf" ], "script": "base64:AAIFAAAAAAAAABkIAhIDCgEBEgASBAoCAQESAwoBARIDCgEIAAAAEAAAAAAHVmVyc2lvbgIAAAAFMy4wLjAAAAAAEWNvbnZlcnRlcl9hZGRyZXNzAgAAACMzSnR1VXd0UWpFWFNqRVJlclZoeDdabWZYUFBLTG5TRDMzMgAAAAALQ09ERUFzc2V0SUQBAAAAIMO7WpkPv3V6MicEWfxW+TeI3Tjc6gp0OC8l37fTvNKgAAAAABJDT0RFTElDRU5TRUFzc2V0SUQBAAAAIO5VZwI3C78XpHAd/wqGyn2HN9x741i+AN0cA2sBmd0OAAAAAAtTdGFraW5nRGFwcAEAAAAg/UGbBLHhsjFFb0b3YWn4seNHtEaYngIcscRj3mvW1T8AAAAAElRyZWFzdXJ5RmVlQWRkcmVzcwEAAAAgUoPZoIvXkJI7M+XgQERyG3Ox4PxeH5gdLMWeskjH4iAAAAAACmRldmFkZHJlc3MBAAAAIHE/Oe1BrsJepSkes1ESh96Qyq2U5VDLF1kF2MXI1ngbAAAAAAxkZXZmZWVjaGFyZWQAAAAAAAAAABQAAAAAC1N0YXJ0SGVp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AAAdBc3NldElECQAAAgAAAAECAAAAF0Fzc2V0SUQgQ2FuJ3QgYmUgQmxhbmsuCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAEFAAAAEWNvbnZlcnRlcl9hZGRyZXNzCQAD8AAAAAIFAAAABHRoaXMJAAJZAAAAAQUAAAAHQXNzZXRJRAkAAlkAAAABBQAAAAdBc3NldElEBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleb5k/HE=", "height": 2718538, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8tD4CebUWBfq9nu7ZBAQykAdwzq6XbvEGSdNukkYh7ku Next: 3ijRv9XDvuhv2GRfzC4e6ndBWGqAiihDBHvGo3DEtBLF Diff:
OldNewDifferences
55
66 let b = "3JtuUwtQjEXSjERerVhx7ZmfXPPKLnSD332"
77
8-let c = base58'CFS24Rd5VmayXgJRCaGq1CfrQY9aRNbQEMFcM8r6vsUZ'
8+let c = base58'EB4CUQH4fHzzQt9YjcHtA6T7uosHNH9RnQKHgBdZHPCB'
99
10-let d = addressFromPublicKey(c)
10+let d = base58'H3MZcnjakUsXycTbuR1BtZbyXj8C4RAPgdoeoTMGczjX'
1111
12-let e = base58'EB4CUQH4fHzzQt9YjcHtA6T7uosHNH9RnQKHgBdZHPCB'
12+let e = base58'J3cAptAPQxVqpEz6Rch57JeKpbns48s1a6HoeQG9aX4J'
1313
14-let f = base58'H3MZcnjakUsXycTbuR1BtZbyXj8C4RAPgdoeoTMGczjX'
14+let f = base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR'
1515
16-let g = base58'J3cAptAPQxVqpEz6Rch57JeKpbns48s1a6HoeQG9aX4J'
16+let g = base58'8d4zGuTjT3h67Z4DatzMXdXXW1GvoQhMTjwCGFxJuene'
1717
18-let h = base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR'
18+let h = 20
1919
20-let i = base58'8d4zGuTjT3h67Z4DatzMXdXXW1GvoQhMTjwCGFxJuene'
20+let i = 1850000
2121
22-let j = 20
22+let j = getIntegerValue(this, "Minimum_Days_Range")
2323
24-let k = 1850000
24+let k = getIntegerValue(this, "Maximum_Days_Range")
2525
26-let l = getIntegerValue(this, "Minimum_Days_Range")
26+let l = 100000
2727
28-let m = getIntegerValue(this, "Maximum_Days_Range")
28+let m = 1000000
2929
30-let n = 100000
30+let n = 1440
3131
32-let o = 1000000
32+let o = (height - i)
3333
34-let p = 1440
34+let p = (fraction(10000000000, 1, o) + 6000)
3535
36-let q = (height - k)
37-
38-let r = (fraction(10000000000, 1, q) + 6000)
39-
40-@Callable(s)
41-func Deposit (t) = {
42- let u = if ((size(s.payments) == 1))
43- then s.payments[0]
44- else throw((("No Payments Attached Please Attach " + toBase58String(e)) + " Asset Only."))
45- let v = toBase58String(s.caller.bytes)
46- let w = ((((r * u.amount) * t) / 365) / 1000)
47- let x = (q * 100000)
48- let y = (p * t)
49- let z = (height + y)
50- let A = fraction(m, (x * r), (365 * 1000))
51- let B = fraction(A, 1000000, x)
52- let C = {
53- let D = getIntegerValue(this, "Total_Txns:")
54- if ($isInstanceOf(D, "Int"))
36+@Callable(q)
37+func Deposit (r) = {
38+ let s = if ((size(q.payments) == 1))
39+ then q.payments[0]
40+ else throw((("No Payments Attached Please Attach " + toBase58String(c)) + " Asset Only."))
41+ let t = toBase58String(q.caller.bytes)
42+ let u = ((((p * s.amount) * r) / 365) / 1000)
43+ let v = (o * 100000)
44+ let w = (n * r)
45+ let x = (height + w)
46+ let y = fraction(k, (v * p), (365 * 1000))
47+ let z = fraction(y, 1000000, v)
48+ let A = {
49+ let B = getIntegerValue(this, "Total_Txns:")
50+ if ($isInstanceOf(B, "Int"))
5551 then {
56- let E = D
57- E
52+ let C = B
53+ C
5854 }
5955 else 0
6056 }
61- let F = (C + 1)
62- let G = {
63- let D = getInteger(this, "Total_Burned_CODE:")
64- if ($isInstanceOf(D, "Int"))
57+ let D = (A + 1)
58+ let E = {
59+ let B = getInteger(this, "Total_Burned_CODE:")
60+ if ($isInstanceOf(B, "Int"))
6561 then {
66- let E = D
67- E
62+ let C = B
63+ C
6864 }
6965 else 0
7066 }
71- let H = (G + u.amount)
72- let I = valueOrErrorMessage(getInteger(addressFromPublicKey(g), ("Deposit_height_Of_" + v)), "Your Address not Found on Staking DApp")
73- let J = valueOrErrorMessage(getInteger(addressFromPublicKey(g), ("Total_Lock_Blocks_Of_" + v)), "Your Address not Found on Staking DApp")
74- let K = (J - I)
75- let L = assetBalance(Address(s.caller.bytes), f)
76- let M = {
77- let D = getInteger(this, ("Deposit_Amount_Of_" + v))
78- if ($isInstanceOf(D, "Int"))
67+ let F = (E + s.amount)
68+ let G = valueOrErrorMessage(getInteger(addressFromPublicKey(e), ("Deposit_height_Of_" + t)), "Your Address not Found on Staking DApp")
69+ let H = valueOrErrorMessage(getInteger(addressFromPublicKey(e), ("Total_Lock_Blocks_Of_" + t)), "Your Address not Found on Staking DApp")
70+ let I = (H - G)
71+ let J = assetBalance(Address(q.caller.bytes), d)
72+ let K = {
73+ let B = getInteger(this, ("Deposit_Amount_Of_" + t))
74+ if ($isInstanceOf(B, "Int"))
7975 then {
80- let E = D
81- E
76+ let C = B
77+ C
8278 }
8379 else 0
8480 }
85- let N = (M + u.amount)
81+ let L = (K + s.amount)
82+ let M = {
83+ let B = getInteger(this, ("No_Of_Deposits_" + t))
84+ if ($isInstanceOf(B, "Int"))
85+ then {
86+ let C = B
87+ C
88+ }
89+ else 0
90+ }
91+ let N = (M + 1)
8692 let O = {
87- let D = getInteger(this, ("No_Of_Deposits_" + v))
88- if ($isInstanceOf(D, "Int"))
93+ let B = getInteger(this, "Expansion_Counter")
94+ if ($isInstanceOf(B, "Int"))
8995 then {
90- let E = D
91- E
96+ let C = B
97+ C
9298 }
9399 else 0
94100 }
95101 let P = (O + 1)
96- let Q = {
97- let D = getInteger(this, "Expansion_Counter")
98- if ($isInstanceOf(D, "Int"))
99- then {
100- let E = D
101- E
102- }
103- else 0
104- }
105- let R = (Q + 1)
106- if ((L != 1))
102+ if ((J != 1))
107103 then throw("You Need to Mint a CODE License from DApp Address 3JeqfvcGZxJbuSpCB5cFhV2Bb8fdV4WzZzZ.")
108- else if ((L > 1))
104+ else if ((J > 1))
109105 then throw("You Own Multiple CODE License on Same Address.")
110- else if ((k > height))
111- then throw((("DApp is Not Started Yet please Wait until " + toString((k - height))) + " blocks"))
112- else if ((u.assetId != e))
113- then throw((("Incorrect asset attached, please attach " + toBase58String(e)) + " asset only"))
114- else if ((l >= t))
115- then throw(((("Choose Locking days in between " + toString((l + 1))) + " to ") + toString(m)))
116- else if ((t > m))
117- then throw(((((("You Entered days to " + toString(t)) + ", Please Enter no. of days in between ") + toString((l + 1))) + " to ") + toString(m)))
118- else if ((n > u.amount))
106+ else if ((i > height))
107+ then throw((("DApp is Not Started Yet please Wait until " + toString((i - height))) + " blocks"))
108+ else if ((s.assetId != c))
109+ then throw((("Incorrect asset attached, please attach " + toBase58String(c)) + " asset only"))
110+ else if ((j >= r))
111+ then throw(((("Choose Locking days in between " + toString((j + 1))) + " to ") + toString(k)))
112+ else if ((r > k))
113+ then throw(((((("You Entered days to " + toString(r)) + ", Please Enter no. of days in between ") + toString((j + 1))) + " to ") + toString(k)))
114+ else if ((l > s.amount))
119115 then throw("Please Attach minimum 0.001 CODE Token To Issue More CODE Asset.")
120- else if ((u.amount > x))
121- then throw((("You can attach maximum " + toString(x)) + "/10^8 CODE."))
122- else if ((K != 129600))
116+ else if ((s.amount > v))
117+ then throw((("You can attach maximum " + toString(v)) + "/10^8 CODE."))
118+ else if ((I != 129600))
123119 then throw("You are Not Eligible to Mint CODE. It need minimum 90 Days Staking.")
124- else if ((O == 1))
120+ else if ((M == 1))
125121 then throw("You Already Have an Active Staking, Please Wait until Mature.")
126- else if ((o > B))
127- then [StringEntry("Version", a), IntegerEntry("Expansion_Counter", R), StringEntry(((toString(R) + "_Expansion_Updator_") + toString(height)), v), StringEntry("message", (((("New Days Range Expended from " + toString(m)) + " To ") + toString((m + 1))) + " Days. Please Restake CODE.")), IntegerEntry("Maximum_Days_Range", (m + 1)), IntegerEntry("Minimum_Days_Range", (l + 1)), ScriptTransfer(s.caller, u.amount, e)]
128- else [Burn(e, u.amount), IntegerEntry("Total_Burned_CODE:", H), IntegerEntry("Total_Txns:", F), IntegerEntry("Inflation", r), IntegerEntry("Block_Passed", q), IntegerEntry("Burn_Factor", B), IntegerEntry(("No_Of_Deposits_" + v), P), IntegerEntry(("Deposit_height_Of_" + v), height), IntegerEntry(("Total_Lock_Blocks_Of_" + v), z), IntegerEntry(("Deposit_Amount_Of_" + v), N), IntegerEntry(("Rewards_Of_" + v), w), StringEntry("message", "<h1>CODE Staked Successfully!</h1><br>")]
122+ else if ((m > z))
123+ then [StringEntry("Version", a), IntegerEntry("Expansion_Counter", P), StringEntry(((toString(P) + "_Expansion_Updator_") + toString(height)), t), StringEntry("message", (((("New Days Range Expended from " + toString(k)) + " To ") + toString((k + 1))) + " Days. Please Restake CODE.")), IntegerEntry("Maximum_Days_Range", (k + 1)), IntegerEntry("Minimum_Days_Range", (j + 1)), ScriptTransfer(q.caller, s.amount, c)]
124+ else [Burn(c, s.amount), IntegerEntry("Total_Burned_CODE:", F), IntegerEntry("Total_Txns:", D), IntegerEntry("Inflation", p), IntegerEntry("Block_Passed", o), IntegerEntry("Burn_Factor", z), IntegerEntry(("No_Of_Deposits_" + t), N), IntegerEntry(("Deposit_height_Of_" + t), height), IntegerEntry(("Total_Lock_Blocks_Of_" + t), x), IntegerEntry(("Deposit_Amount_Of_" + t), L), IntegerEntry(("Rewards_Of_" + t), u), StringEntry("message", "<h1>CODE Staked Successfully!</h1><br>")]
129125 }
130126
131127
132128
133-@Callable(s)
129+@Callable(q)
134130 func Withdraw () = {
135- let v = toBase58String(s.caller.bytes)
136- let S = 1200000000000
137- let T = 24000000
138- let U = 19
139- let V = valueOrErrorMessage(getInteger(addressFromPublicKey(g), ("Deposit_Amount_Of_" + v)), "Your Address not Found on Staking DApp")
140- let W = 500
141- let X = ((T - (fraction(V, 1000000, S) * 19)) / 10000)
142- let Y = getIntegerValue(this, "Claim_Fee")
143- let u = value(s.payments[0])
144- let Z = getIntegerValue(this, ("Deposit_Amount_Of_" + v))
145- let aa = (((getIntegerValue(this, ("Rewards_Of_" + v)) - Z) * X) / 10000)
146- let ab = (((getIntegerValue(this, ("Rewards_Of_" + v)) - Z) * W) / 10000)
147- let C = {
148- let D = getIntegerValue(this, "Total_Txns:")
149- if ($isInstanceOf(D, "Int"))
131+ let t = toBase58String(q.caller.bytes)
132+ let Q = 1200000000000
133+ let R = 24000000
134+ let S = 19
135+ let T = valueOrErrorMessage(getInteger(addressFromPublicKey(e), ("Deposit_Amount_Of_" + t)), "Your Address not Found on Staking DApp")
136+ let U = 500
137+ let V = ((R - (fraction(T, 1000000, Q) * 19)) / 10000)
138+ let W = getIntegerValue(this, "Claim_Fee")
139+ let s = value(q.payments[0])
140+ let X = getIntegerValue(this, ("Deposit_Amount_Of_" + t))
141+ let Y = (((getIntegerValue(this, ("Rewards_Of_" + t)) - X) * V) / 10000)
142+ let Z = (((getIntegerValue(this, ("Rewards_Of_" + t)) - X) * U) / 10000)
143+ let A = {
144+ let B = getIntegerValue(this, "Total_Txns:")
145+ if ($isInstanceOf(B, "Int"))
150146 then {
151- let E = D
152- E
147+ let C = B
148+ C
153149 }
154150 else 0
155151 }
156- let F = (C + 1)
157- let ac = {
158- let D = getIntegerValue(this, "Total_CODE_Claimed:")
159- if ($isInstanceOf(D, "Int"))
152+ let D = (A + 1)
153+ let aa = {
154+ let B = getIntegerValue(this, "Total_CODE_Claimed:")
155+ if ($isInstanceOf(B, "Int"))
160156 then {
161- let E = D
162- E
157+ let C = B
158+ C
163159 }
164160 else 0
165161 }
166- let ad = (ac + getIntegerValue(this, ("Rewards_Of_" + v)))
167- let ae = {
168- let D = getIntegerValue(this, "Total_Issued_CODE:")
169- if ($isInstanceOf(D, "Int"))
162+ let ab = (aa + getIntegerValue(this, ("Rewards_Of_" + t)))
163+ let ac = {
164+ let B = getIntegerValue(this, "Total_Issued_CODE:")
165+ if ($isInstanceOf(B, "Int"))
170166 then {
171- let E = D
172- E
167+ let C = B
168+ C
173169 }
174170 else 0
175171 }
176- let af = (ae + getIntegerValue(this, ("Rewards_Of_" + v)))
177- let ag = {
178- let D = getIntegerValue(this, "Total_Claim_Fee_In_TN")
179- if ($isInstanceOf(D, "Int"))
172+ let ad = (ac + getIntegerValue(this, ("Rewards_Of_" + t)))
173+ let ae = {
174+ let B = getIntegerValue(this, "Total_Claim_Fee_In_TN")
175+ if ($isInstanceOf(B, "Int"))
180176 then {
181- let E = D
182- E
177+ let C = B
178+ C
183179 }
184180 else 0
185181 }
186- let ah = (ag + Y)
187- let I = valueOrErrorMessage(getInteger(addressFromPublicKey(g), ("Deposit_height_Of_" + v)), "Your Address not Found on Staking DApp")
188- let J = valueOrErrorMessage(getInteger(addressFromPublicKey(g), ("Total_Lock_Blocks_Of_" + v)), "Your Address not Found on Staking DApp")
189- let K = (J - I)
190- if (isDefined(u.assetId))
191- then throw((("Wrong Asset Attached for Payment, please Attach " + toString(Y)) + "/10^8 TN."))
192- else if ((u.amount != Y))
193- then throw((("Please Attach Exact " + toString(Y)) + "/10^8 TN."))
194- else if ((getIntegerValue(this, ("Total_Lock_Blocks_Of_" + v)) > height))
195- then throw((((("Your " + toString(getIntegerValue(this, ("Rewards_Of_" + v)))) + "/10^8 CODE are Still Maturing. Token will be Unlocked after ") + toString((getIntegerValue(this, ("Total_Lock_Blocks_Of_" + v)) - height))) + " blocks."))
196- else if ((Z == 0))
182+ let af = (ae + W)
183+ let G = valueOrErrorMessage(getInteger(addressFromPublicKey(e), ("Deposit_height_Of_" + t)), "Your Address not Found on Staking DApp")
184+ let H = valueOrErrorMessage(getInteger(addressFromPublicKey(e), ("Total_Lock_Blocks_Of_" + t)), "Your Address not Found on Staking DApp")
185+ let I = (H - G)
186+ if (isDefined(s.assetId))
187+ then throw((("Wrong Asset Attached for Payment, please Attach " + toString(W)) + "/10^8 TN."))
188+ else if ((s.amount != W))
189+ then throw((("Please Attach Exact " + toString(W)) + "/10^8 TN."))
190+ else if ((getIntegerValue(this, ("Total_Lock_Blocks_Of_" + t)) > height))
191+ then throw((((("Your " + toString(getIntegerValue(this, ("Rewards_Of_" + t)))) + "/10^8 CODE are Still Maturing. Token will be Unlocked after ") + toString((getIntegerValue(this, ("Total_Lock_Blocks_Of_" + t)) - height))) + " blocks."))
192+ else if ((X == 0))
197193 then throw("You Have Already Withdraw your CODE Amount.")
198- else if ((K != 129600))
194+ else if ((I != 129600))
199195 then throw("You are Not Eligible to Withdraw CODE. It need minimum 90 Days Staking at A4A DApp. Probably you already have Claimed Your Stake or you Overwrite the Smart Contract with less than 90 days.")
200- else if ((V >= 1199999999999))
201- then [IntegerEntry("Total_Txns:", F), IntegerEntry("Total_CODE_Claimed:", ad), IntegerEntry("Total_Issued_CODE:", af), IntegerEntry("Total_Claim_Fee_In_TN", ah), IntegerEntry("Fee_%_Charge", W), IntegerEntry("Fee_Amount", ab), Reissue(e, getIntegerValue(this, ("Rewards_Of_" + v)), true), ScriptTransfer(s.caller, (getIntegerValue(this, ("Rewards_Of_" + v)) - ab), e), ScriptTransfer(addressFromPublicKey(h), fraction(ab, 80, 100), e), ScriptTransfer(addressFromPublicKey(i), fraction(ab, j, 100), e), IntegerEntry(("No_Of_Deposits_" + v), 0), IntegerEntry(("Deposit_height_Of_" + v), 0), IntegerEntry(("Total_Lock_Blocks_Of_" + v), 0), IntegerEntry(("Deposit_Amount_Of_" + v), 0), IntegerEntry(("Rewards_Of_" + v), 0), StringEntry("message", "<h1>CODE UnStaked Successfully!</h1><br>")]
202- else [IntegerEntry("Total_Txns:", F), IntegerEntry("Total_CODE_Claimed:", ad), IntegerEntry("Total_Issued_CODE:", af), IntegerEntry("Total_Claim_Fee_In_TN", ah), IntegerEntry("Fee_%_Charge", X), IntegerEntry("Fee_Amount", aa), Reissue(e, getIntegerValue(this, ("Rewards_Of_" + v)), true), ScriptTransfer(s.caller, (getIntegerValue(this, ("Rewards_Of_" + v)) - aa), e), ScriptTransfer(addressFromPublicKey(h), fraction(aa, 80, 100), e), ScriptTransfer(addressFromPublicKey(i), fraction(aa, j, 100), e), IntegerEntry(("No_Of_Deposits_" + v), 0), IntegerEntry(("Deposit_height_Of_" + v), 0), IntegerEntry(("Total_Lock_Blocks_Of_" + v), 0), IntegerEntry(("Deposit_Amount_Of_" + v), 0), IntegerEntry(("Rewards_Of_" + v), 0), StringEntry("message", "<h1>CODE UnStaked Successfully!</h1><br>")]
196+ else if ((T >= 1199999999999))
197+ then [IntegerEntry("Total_Txns:", D), IntegerEntry("Total_CODE_Claimed:", ab), IntegerEntry("Total_Issued_CODE:", ad), IntegerEntry("Total_Claim_Fee_In_TN", af), IntegerEntry("Fee_%_Charge", U), IntegerEntry("Fee_Amount", Z), Reissue(c, getIntegerValue(this, ("Rewards_Of_" + t)), true), ScriptTransfer(q.caller, (getIntegerValue(this, ("Rewards_Of_" + t)) - Z), c), ScriptTransfer(addressFromPublicKey(f), fraction(Z, 80, 100), c), ScriptTransfer(addressFromPublicKey(g), fraction(Z, h, 100), c), IntegerEntry(("No_Of_Deposits_" + t), 0), IntegerEntry(("Deposit_height_Of_" + t), 0), IntegerEntry(("Total_Lock_Blocks_Of_" + t), 0), IntegerEntry(("Deposit_Amount_Of_" + t), 0), IntegerEntry(("Rewards_Of_" + t), 0), StringEntry("message", "<h1>CODE UnStaked Successfully!</h1><br>")]
198+ else [IntegerEntry("Total_Txns:", D), IntegerEntry("Total_CODE_Claimed:", ab), IntegerEntry("Total_Issued_CODE:", ad), IntegerEntry("Total_Claim_Fee_In_TN", af), IntegerEntry("Fee_%_Charge", V), IntegerEntry("Fee_Amount", Y), Reissue(c, getIntegerValue(this, ("Rewards_Of_" + t)), true), ScriptTransfer(q.caller, (getIntegerValue(this, ("Rewards_Of_" + t)) - Y), c), ScriptTransfer(addressFromPublicKey(f), fraction(Y, 80, 100), c), ScriptTransfer(addressFromPublicKey(g), fraction(Y, h, 100), c), IntegerEntry(("No_Of_Deposits_" + t), 0), IntegerEntry(("Deposit_height_Of_" + t), 0), IntegerEntry(("Total_Lock_Blocks_Of_" + t), 0), IntegerEntry(("Deposit_Amount_Of_" + t), 0), IntegerEntry(("Rewards_Of_" + t), 0), StringEntry("message", "<h1>CODE UnStaked Successfully!</h1><br>")]
203199 }
204200
205201
206202
207-@Callable(s)
208-func SetDaysRange (ai,aj) = {
209- let ak = toBase58String(s.caller.bytes)
210- let al = getStringValue(this, "DApp_Admin_Rights")
211- let am = 7
212- let an = 200
213- if ((al != ak))
214- then throw((("I know You are not An Admin. Only " + al) + " has rights to change Days Range."))
215- else if ((am > ai))
203+@Callable(q)
204+func SetDaysRange (ag,ah) = {
205+ let ai = toBase58String(q.caller.bytes)
206+ let aj = getStringValue(this, "DApp_Admin_Rights")
207+ let ak = 7
208+ let al = 200
209+ if ((aj != ai))
210+ then throw((("I know You are not An Admin. Only " + aj) + " has rights to change Days Range."))
211+ else if ((ak > ag))
216212 then throw("Minimum days range must be more than 6 and in between 7-200.")
217- else if ((aj > an))
213+ else if ((ah > al))
218214 then throw("Maximum days range can't exceed the 200.")
219- else if ((ai > aj))
220- then throw((((("Minimum days range can't be exceed the value of Maximum days range. Choose the Range between [" + toString(am)) + "-") + toString(an)) + "]"))
221- else [IntegerEntry("Minimum_Days_Range", ai), IntegerEntry("Maximum_Days_Range", aj)]
215+ else if ((ag > ah))
216+ then throw((((("Minimum days range can't be exceed the value of Maximum days range. Choose the Range between [" + toString(ak)) + "-") + toString(al)) + "]"))
217+ else [IntegerEntry("Minimum_Days_Range", ag), IntegerEntry("Maximum_Days_Range", ah)]
222218 }
223219
224220
225221
226-@Callable(s)
227-func SetClaimFee (Y) = {
228- let ak = toBase58String(s.caller.bytes)
229- let al = getStringValue(this, "DApp_Admin_Rights")
230- let ao = 100000000
231- let ap = 100000000000
232- if ((al != ak))
233- then throw((("I know You are not An Admin. Only " + al) + " has rights to change Claim Fee."))
234- else if ((ao > Y))
235- then throw((("Minimum Claim fee is " + toString(ao)) + " TN [int-format]."))
236- else if ((Y > ap))
237- then throw((("Maximum Claim fee can't be more than " + toString(ap)) + " TN. [int-format]"))
238- else [IntegerEntry("Claim_Fee", Y)]
222+@Callable(q)
223+func SetClaimFee (W) = {
224+ let ai = toBase58String(q.caller.bytes)
225+ let aj = getStringValue(this, "DApp_Admin_Rights")
226+ let am = 100000000
227+ let an = 100000000000
228+ if ((aj != ai))
229+ then throw((("I know You are not An Admin. Only " + aj) + " has rights to change Claim Fee."))
230+ else if ((am > W))
231+ then throw((("Minimum Claim fee is " + toString(am)) + " TN [int-format]."))
232+ else if ((W > an))
233+ then throw((("Maximum Claim fee can't be more than " + toString(an)) + " TN. [int-format]"))
234+ else [IntegerEntry("Claim_Fee", W)]
239235 }
240236
241237
242238
243-@Callable(s)
244-func TriggerForAutoSwap (aq) = if ((1 > assetBalance(this, fromBase58String(aq))))
245- then throw((aq + " has not Enough Balance To Transfer."))
246- else if ((1 > size(aq)))
239+@Callable(q)
240+func TriggerForAutoSwap (ao) = if ((1 > assetBalance(this, fromBase58String(ao))))
241+ then throw((ao + " has not Enough Balance To Transfer."))
242+ else if ((1 > size(ao)))
247243 then throw("AssetID Can't be Blank.")
248- else [ScriptTransfer(addressFromStringValue(b), assetBalance(this, fromBase58String(aq)), fromBase58String(aq))]
244+ else [ScriptTransfer(addressFromStringValue(b), assetBalance(this, fromBase58String(ao)), fromBase58String(ao))]
249245
250246
251-@Verifier(ar)
252-func as () = sigVerify(ar.bodyBytes, ar.proofs[0], ar.senderPublicKey)
247+@Verifier(ap)
248+func aq () = sigVerify(ap.bodyBytes, ap.proofs[0], ap.senderPublicKey)
253249
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "3.0.0"
55
66 let b = "3JtuUwtQjEXSjERerVhx7ZmfXPPKLnSD332"
77
8-let c = base58'CFS24Rd5VmayXgJRCaGq1CfrQY9aRNbQEMFcM8r6vsUZ'
8+let c = base58'EB4CUQH4fHzzQt9YjcHtA6T7uosHNH9RnQKHgBdZHPCB'
99
10-let d = addressFromPublicKey(c)
10+let d = base58'H3MZcnjakUsXycTbuR1BtZbyXj8C4RAPgdoeoTMGczjX'
1111
12-let e = base58'EB4CUQH4fHzzQt9YjcHtA6T7uosHNH9RnQKHgBdZHPCB'
12+let e = base58'J3cAptAPQxVqpEz6Rch57JeKpbns48s1a6HoeQG9aX4J'
1313
14-let f = base58'H3MZcnjakUsXycTbuR1BtZbyXj8C4RAPgdoeoTMGczjX'
14+let f = base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR'
1515
16-let g = base58'J3cAptAPQxVqpEz6Rch57JeKpbns48s1a6HoeQG9aX4J'
16+let g = base58'8d4zGuTjT3h67Z4DatzMXdXXW1GvoQhMTjwCGFxJuene'
1717
18-let h = base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR'
18+let h = 20
1919
20-let i = base58'8d4zGuTjT3h67Z4DatzMXdXXW1GvoQhMTjwCGFxJuene'
20+let i = 1850000
2121
22-let j = 20
22+let j = getIntegerValue(this, "Minimum_Days_Range")
2323
24-let k = 1850000
24+let k = getIntegerValue(this, "Maximum_Days_Range")
2525
26-let l = getIntegerValue(this, "Minimum_Days_Range")
26+let l = 100000
2727
28-let m = getIntegerValue(this, "Maximum_Days_Range")
28+let m = 1000000
2929
30-let n = 100000
30+let n = 1440
3131
32-let o = 1000000
32+let o = (height - i)
3333
34-let p = 1440
34+let p = (fraction(10000000000, 1, o) + 6000)
3535
36-let q = (height - k)
37-
38-let r = (fraction(10000000000, 1, q) + 6000)
39-
40-@Callable(s)
41-func Deposit (t) = {
42- let u = if ((size(s.payments) == 1))
43- then s.payments[0]
44- else throw((("No Payments Attached Please Attach " + toBase58String(e)) + " Asset Only."))
45- let v = toBase58String(s.caller.bytes)
46- let w = ((((r * u.amount) * t) / 365) / 1000)
47- let x = (q * 100000)
48- let y = (p * t)
49- let z = (height + y)
50- let A = fraction(m, (x * r), (365 * 1000))
51- let B = fraction(A, 1000000, x)
52- let C = {
53- let D = getIntegerValue(this, "Total_Txns:")
54- if ($isInstanceOf(D, "Int"))
36+@Callable(q)
37+func Deposit (r) = {
38+ let s = if ((size(q.payments) == 1))
39+ then q.payments[0]
40+ else throw((("No Payments Attached Please Attach " + toBase58String(c)) + " Asset Only."))
41+ let t = toBase58String(q.caller.bytes)
42+ let u = ((((p * s.amount) * r) / 365) / 1000)
43+ let v = (o * 100000)
44+ let w = (n * r)
45+ let x = (height + w)
46+ let y = fraction(k, (v * p), (365 * 1000))
47+ let z = fraction(y, 1000000, v)
48+ let A = {
49+ let B = getIntegerValue(this, "Total_Txns:")
50+ if ($isInstanceOf(B, "Int"))
5551 then {
56- let E = D
57- E
52+ let C = B
53+ C
5854 }
5955 else 0
6056 }
61- let F = (C + 1)
62- let G = {
63- let D = getInteger(this, "Total_Burned_CODE:")
64- if ($isInstanceOf(D, "Int"))
57+ let D = (A + 1)
58+ let E = {
59+ let B = getInteger(this, "Total_Burned_CODE:")
60+ if ($isInstanceOf(B, "Int"))
6561 then {
66- let E = D
67- E
62+ let C = B
63+ C
6864 }
6965 else 0
7066 }
71- let H = (G + u.amount)
72- let I = valueOrErrorMessage(getInteger(addressFromPublicKey(g), ("Deposit_height_Of_" + v)), "Your Address not Found on Staking DApp")
73- let J = valueOrErrorMessage(getInteger(addressFromPublicKey(g), ("Total_Lock_Blocks_Of_" + v)), "Your Address not Found on Staking DApp")
74- let K = (J - I)
75- let L = assetBalance(Address(s.caller.bytes), f)
76- let M = {
77- let D = getInteger(this, ("Deposit_Amount_Of_" + v))
78- if ($isInstanceOf(D, "Int"))
67+ let F = (E + s.amount)
68+ let G = valueOrErrorMessage(getInteger(addressFromPublicKey(e), ("Deposit_height_Of_" + t)), "Your Address not Found on Staking DApp")
69+ let H = valueOrErrorMessage(getInteger(addressFromPublicKey(e), ("Total_Lock_Blocks_Of_" + t)), "Your Address not Found on Staking DApp")
70+ let I = (H - G)
71+ let J = assetBalance(Address(q.caller.bytes), d)
72+ let K = {
73+ let B = getInteger(this, ("Deposit_Amount_Of_" + t))
74+ if ($isInstanceOf(B, "Int"))
7975 then {
80- let E = D
81- E
76+ let C = B
77+ C
8278 }
8379 else 0
8480 }
85- let N = (M + u.amount)
81+ let L = (K + s.amount)
82+ let M = {
83+ let B = getInteger(this, ("No_Of_Deposits_" + t))
84+ if ($isInstanceOf(B, "Int"))
85+ then {
86+ let C = B
87+ C
88+ }
89+ else 0
90+ }
91+ let N = (M + 1)
8692 let O = {
87- let D = getInteger(this, ("No_Of_Deposits_" + v))
88- if ($isInstanceOf(D, "Int"))
93+ let B = getInteger(this, "Expansion_Counter")
94+ if ($isInstanceOf(B, "Int"))
8995 then {
90- let E = D
91- E
96+ let C = B
97+ C
9298 }
9399 else 0
94100 }
95101 let P = (O + 1)
96- let Q = {
97- let D = getInteger(this, "Expansion_Counter")
98- if ($isInstanceOf(D, "Int"))
99- then {
100- let E = D
101- E
102- }
103- else 0
104- }
105- let R = (Q + 1)
106- if ((L != 1))
102+ if ((J != 1))
107103 then throw("You Need to Mint a CODE License from DApp Address 3JeqfvcGZxJbuSpCB5cFhV2Bb8fdV4WzZzZ.")
108- else if ((L > 1))
104+ else if ((J > 1))
109105 then throw("You Own Multiple CODE License on Same Address.")
110- else if ((k > height))
111- then throw((("DApp is Not Started Yet please Wait until " + toString((k - height))) + " blocks"))
112- else if ((u.assetId != e))
113- then throw((("Incorrect asset attached, please attach " + toBase58String(e)) + " asset only"))
114- else if ((l >= t))
115- then throw(((("Choose Locking days in between " + toString((l + 1))) + " to ") + toString(m)))
116- else if ((t > m))
117- then throw(((((("You Entered days to " + toString(t)) + ", Please Enter no. of days in between ") + toString((l + 1))) + " to ") + toString(m)))
118- else if ((n > u.amount))
106+ else if ((i > height))
107+ then throw((("DApp is Not Started Yet please Wait until " + toString((i - height))) + " blocks"))
108+ else if ((s.assetId != c))
109+ then throw((("Incorrect asset attached, please attach " + toBase58String(c)) + " asset only"))
110+ else if ((j >= r))
111+ then throw(((("Choose Locking days in between " + toString((j + 1))) + " to ") + toString(k)))
112+ else if ((r > k))
113+ then throw(((((("You Entered days to " + toString(r)) + ", Please Enter no. of days in between ") + toString((j + 1))) + " to ") + toString(k)))
114+ else if ((l > s.amount))
119115 then throw("Please Attach minimum 0.001 CODE Token To Issue More CODE Asset.")
120- else if ((u.amount > x))
121- then throw((("You can attach maximum " + toString(x)) + "/10^8 CODE."))
122- else if ((K != 129600))
116+ else if ((s.amount > v))
117+ then throw((("You can attach maximum " + toString(v)) + "/10^8 CODE."))
118+ else if ((I != 129600))
123119 then throw("You are Not Eligible to Mint CODE. It need minimum 90 Days Staking.")
124- else if ((O == 1))
120+ else if ((M == 1))
125121 then throw("You Already Have an Active Staking, Please Wait until Mature.")
126- else if ((o > B))
127- then [StringEntry("Version", a), IntegerEntry("Expansion_Counter", R), StringEntry(((toString(R) + "_Expansion_Updator_") + toString(height)), v), StringEntry("message", (((("New Days Range Expended from " + toString(m)) + " To ") + toString((m + 1))) + " Days. Please Restake CODE.")), IntegerEntry("Maximum_Days_Range", (m + 1)), IntegerEntry("Minimum_Days_Range", (l + 1)), ScriptTransfer(s.caller, u.amount, e)]
128- else [Burn(e, u.amount), IntegerEntry("Total_Burned_CODE:", H), IntegerEntry("Total_Txns:", F), IntegerEntry("Inflation", r), IntegerEntry("Block_Passed", q), IntegerEntry("Burn_Factor", B), IntegerEntry(("No_Of_Deposits_" + v), P), IntegerEntry(("Deposit_height_Of_" + v), height), IntegerEntry(("Total_Lock_Blocks_Of_" + v), z), IntegerEntry(("Deposit_Amount_Of_" + v), N), IntegerEntry(("Rewards_Of_" + v), w), StringEntry("message", "<h1>CODE Staked Successfully!</h1><br>")]
122+ else if ((m > z))
123+ then [StringEntry("Version", a), IntegerEntry("Expansion_Counter", P), StringEntry(((toString(P) + "_Expansion_Updator_") + toString(height)), t), StringEntry("message", (((("New Days Range Expended from " + toString(k)) + " To ") + toString((k + 1))) + " Days. Please Restake CODE.")), IntegerEntry("Maximum_Days_Range", (k + 1)), IntegerEntry("Minimum_Days_Range", (j + 1)), ScriptTransfer(q.caller, s.amount, c)]
124+ else [Burn(c, s.amount), IntegerEntry("Total_Burned_CODE:", F), IntegerEntry("Total_Txns:", D), IntegerEntry("Inflation", p), IntegerEntry("Block_Passed", o), IntegerEntry("Burn_Factor", z), IntegerEntry(("No_Of_Deposits_" + t), N), IntegerEntry(("Deposit_height_Of_" + t), height), IntegerEntry(("Total_Lock_Blocks_Of_" + t), x), IntegerEntry(("Deposit_Amount_Of_" + t), L), IntegerEntry(("Rewards_Of_" + t), u), StringEntry("message", "<h1>CODE Staked Successfully!</h1><br>")]
129125 }
130126
131127
132128
133-@Callable(s)
129+@Callable(q)
134130 func Withdraw () = {
135- let v = toBase58String(s.caller.bytes)
136- let S = 1200000000000
137- let T = 24000000
138- let U = 19
139- let V = valueOrErrorMessage(getInteger(addressFromPublicKey(g), ("Deposit_Amount_Of_" + v)), "Your Address not Found on Staking DApp")
140- let W = 500
141- let X = ((T - (fraction(V, 1000000, S) * 19)) / 10000)
142- let Y = getIntegerValue(this, "Claim_Fee")
143- let u = value(s.payments[0])
144- let Z = getIntegerValue(this, ("Deposit_Amount_Of_" + v))
145- let aa = (((getIntegerValue(this, ("Rewards_Of_" + v)) - Z) * X) / 10000)
146- let ab = (((getIntegerValue(this, ("Rewards_Of_" + v)) - Z) * W) / 10000)
147- let C = {
148- let D = getIntegerValue(this, "Total_Txns:")
149- if ($isInstanceOf(D, "Int"))
131+ let t = toBase58String(q.caller.bytes)
132+ let Q = 1200000000000
133+ let R = 24000000
134+ let S = 19
135+ let T = valueOrErrorMessage(getInteger(addressFromPublicKey(e), ("Deposit_Amount_Of_" + t)), "Your Address not Found on Staking DApp")
136+ let U = 500
137+ let V = ((R - (fraction(T, 1000000, Q) * 19)) / 10000)
138+ let W = getIntegerValue(this, "Claim_Fee")
139+ let s = value(q.payments[0])
140+ let X = getIntegerValue(this, ("Deposit_Amount_Of_" + t))
141+ let Y = (((getIntegerValue(this, ("Rewards_Of_" + t)) - X) * V) / 10000)
142+ let Z = (((getIntegerValue(this, ("Rewards_Of_" + t)) - X) * U) / 10000)
143+ let A = {
144+ let B = getIntegerValue(this, "Total_Txns:")
145+ if ($isInstanceOf(B, "Int"))
150146 then {
151- let E = D
152- E
147+ let C = B
148+ C
153149 }
154150 else 0
155151 }
156- let F = (C + 1)
157- let ac = {
158- let D = getIntegerValue(this, "Total_CODE_Claimed:")
159- if ($isInstanceOf(D, "Int"))
152+ let D = (A + 1)
153+ let aa = {
154+ let B = getIntegerValue(this, "Total_CODE_Claimed:")
155+ if ($isInstanceOf(B, "Int"))
160156 then {
161- let E = D
162- E
157+ let C = B
158+ C
163159 }
164160 else 0
165161 }
166- let ad = (ac + getIntegerValue(this, ("Rewards_Of_" + v)))
167- let ae = {
168- let D = getIntegerValue(this, "Total_Issued_CODE:")
169- if ($isInstanceOf(D, "Int"))
162+ let ab = (aa + getIntegerValue(this, ("Rewards_Of_" + t)))
163+ let ac = {
164+ let B = getIntegerValue(this, "Total_Issued_CODE:")
165+ if ($isInstanceOf(B, "Int"))
170166 then {
171- let E = D
172- E
167+ let C = B
168+ C
173169 }
174170 else 0
175171 }
176- let af = (ae + getIntegerValue(this, ("Rewards_Of_" + v)))
177- let ag = {
178- let D = getIntegerValue(this, "Total_Claim_Fee_In_TN")
179- if ($isInstanceOf(D, "Int"))
172+ let ad = (ac + getIntegerValue(this, ("Rewards_Of_" + t)))
173+ let ae = {
174+ let B = getIntegerValue(this, "Total_Claim_Fee_In_TN")
175+ if ($isInstanceOf(B, "Int"))
180176 then {
181- let E = D
182- E
177+ let C = B
178+ C
183179 }
184180 else 0
185181 }
186- let ah = (ag + Y)
187- let I = valueOrErrorMessage(getInteger(addressFromPublicKey(g), ("Deposit_height_Of_" + v)), "Your Address not Found on Staking DApp")
188- let J = valueOrErrorMessage(getInteger(addressFromPublicKey(g), ("Total_Lock_Blocks_Of_" + v)), "Your Address not Found on Staking DApp")
189- let K = (J - I)
190- if (isDefined(u.assetId))
191- then throw((("Wrong Asset Attached for Payment, please Attach " + toString(Y)) + "/10^8 TN."))
192- else if ((u.amount != Y))
193- then throw((("Please Attach Exact " + toString(Y)) + "/10^8 TN."))
194- else if ((getIntegerValue(this, ("Total_Lock_Blocks_Of_" + v)) > height))
195- then throw((((("Your " + toString(getIntegerValue(this, ("Rewards_Of_" + v)))) + "/10^8 CODE are Still Maturing. Token will be Unlocked after ") + toString((getIntegerValue(this, ("Total_Lock_Blocks_Of_" + v)) - height))) + " blocks."))
196- else if ((Z == 0))
182+ let af = (ae + W)
183+ let G = valueOrErrorMessage(getInteger(addressFromPublicKey(e), ("Deposit_height_Of_" + t)), "Your Address not Found on Staking DApp")
184+ let H = valueOrErrorMessage(getInteger(addressFromPublicKey(e), ("Total_Lock_Blocks_Of_" + t)), "Your Address not Found on Staking DApp")
185+ let I = (H - G)
186+ if (isDefined(s.assetId))
187+ then throw((("Wrong Asset Attached for Payment, please Attach " + toString(W)) + "/10^8 TN."))
188+ else if ((s.amount != W))
189+ then throw((("Please Attach Exact " + toString(W)) + "/10^8 TN."))
190+ else if ((getIntegerValue(this, ("Total_Lock_Blocks_Of_" + t)) > height))
191+ then throw((((("Your " + toString(getIntegerValue(this, ("Rewards_Of_" + t)))) + "/10^8 CODE are Still Maturing. Token will be Unlocked after ") + toString((getIntegerValue(this, ("Total_Lock_Blocks_Of_" + t)) - height))) + " blocks."))
192+ else if ((X == 0))
197193 then throw("You Have Already Withdraw your CODE Amount.")
198- else if ((K != 129600))
194+ else if ((I != 129600))
199195 then throw("You are Not Eligible to Withdraw CODE. It need minimum 90 Days Staking at A4A DApp. Probably you already have Claimed Your Stake or you Overwrite the Smart Contract with less than 90 days.")
200- else if ((V >= 1199999999999))
201- then [IntegerEntry("Total_Txns:", F), IntegerEntry("Total_CODE_Claimed:", ad), IntegerEntry("Total_Issued_CODE:", af), IntegerEntry("Total_Claim_Fee_In_TN", ah), IntegerEntry("Fee_%_Charge", W), IntegerEntry("Fee_Amount", ab), Reissue(e, getIntegerValue(this, ("Rewards_Of_" + v)), true), ScriptTransfer(s.caller, (getIntegerValue(this, ("Rewards_Of_" + v)) - ab), e), ScriptTransfer(addressFromPublicKey(h), fraction(ab, 80, 100), e), ScriptTransfer(addressFromPublicKey(i), fraction(ab, j, 100), e), IntegerEntry(("No_Of_Deposits_" + v), 0), IntegerEntry(("Deposit_height_Of_" + v), 0), IntegerEntry(("Total_Lock_Blocks_Of_" + v), 0), IntegerEntry(("Deposit_Amount_Of_" + v), 0), IntegerEntry(("Rewards_Of_" + v), 0), StringEntry("message", "<h1>CODE UnStaked Successfully!</h1><br>")]
202- else [IntegerEntry("Total_Txns:", F), IntegerEntry("Total_CODE_Claimed:", ad), IntegerEntry("Total_Issued_CODE:", af), IntegerEntry("Total_Claim_Fee_In_TN", ah), IntegerEntry("Fee_%_Charge", X), IntegerEntry("Fee_Amount", aa), Reissue(e, getIntegerValue(this, ("Rewards_Of_" + v)), true), ScriptTransfer(s.caller, (getIntegerValue(this, ("Rewards_Of_" + v)) - aa), e), ScriptTransfer(addressFromPublicKey(h), fraction(aa, 80, 100), e), ScriptTransfer(addressFromPublicKey(i), fraction(aa, j, 100), e), IntegerEntry(("No_Of_Deposits_" + v), 0), IntegerEntry(("Deposit_height_Of_" + v), 0), IntegerEntry(("Total_Lock_Blocks_Of_" + v), 0), IntegerEntry(("Deposit_Amount_Of_" + v), 0), IntegerEntry(("Rewards_Of_" + v), 0), StringEntry("message", "<h1>CODE UnStaked Successfully!</h1><br>")]
196+ else if ((T >= 1199999999999))
197+ then [IntegerEntry("Total_Txns:", D), IntegerEntry("Total_CODE_Claimed:", ab), IntegerEntry("Total_Issued_CODE:", ad), IntegerEntry("Total_Claim_Fee_In_TN", af), IntegerEntry("Fee_%_Charge", U), IntegerEntry("Fee_Amount", Z), Reissue(c, getIntegerValue(this, ("Rewards_Of_" + t)), true), ScriptTransfer(q.caller, (getIntegerValue(this, ("Rewards_Of_" + t)) - Z), c), ScriptTransfer(addressFromPublicKey(f), fraction(Z, 80, 100), c), ScriptTransfer(addressFromPublicKey(g), fraction(Z, h, 100), c), IntegerEntry(("No_Of_Deposits_" + t), 0), IntegerEntry(("Deposit_height_Of_" + t), 0), IntegerEntry(("Total_Lock_Blocks_Of_" + t), 0), IntegerEntry(("Deposit_Amount_Of_" + t), 0), IntegerEntry(("Rewards_Of_" + t), 0), StringEntry("message", "<h1>CODE UnStaked Successfully!</h1><br>")]
198+ else [IntegerEntry("Total_Txns:", D), IntegerEntry("Total_CODE_Claimed:", ab), IntegerEntry("Total_Issued_CODE:", ad), IntegerEntry("Total_Claim_Fee_In_TN", af), IntegerEntry("Fee_%_Charge", V), IntegerEntry("Fee_Amount", Y), Reissue(c, getIntegerValue(this, ("Rewards_Of_" + t)), true), ScriptTransfer(q.caller, (getIntegerValue(this, ("Rewards_Of_" + t)) - Y), c), ScriptTransfer(addressFromPublicKey(f), fraction(Y, 80, 100), c), ScriptTransfer(addressFromPublicKey(g), fraction(Y, h, 100), c), IntegerEntry(("No_Of_Deposits_" + t), 0), IntegerEntry(("Deposit_height_Of_" + t), 0), IntegerEntry(("Total_Lock_Blocks_Of_" + t), 0), IntegerEntry(("Deposit_Amount_Of_" + t), 0), IntegerEntry(("Rewards_Of_" + t), 0), StringEntry("message", "<h1>CODE UnStaked Successfully!</h1><br>")]
203199 }
204200
205201
206202
207-@Callable(s)
208-func SetDaysRange (ai,aj) = {
209- let ak = toBase58String(s.caller.bytes)
210- let al = getStringValue(this, "DApp_Admin_Rights")
211- let am = 7
212- let an = 200
213- if ((al != ak))
214- then throw((("I know You are not An Admin. Only " + al) + " has rights to change Days Range."))
215- else if ((am > ai))
203+@Callable(q)
204+func SetDaysRange (ag,ah) = {
205+ let ai = toBase58String(q.caller.bytes)
206+ let aj = getStringValue(this, "DApp_Admin_Rights")
207+ let ak = 7
208+ let al = 200
209+ if ((aj != ai))
210+ then throw((("I know You are not An Admin. Only " + aj) + " has rights to change Days Range."))
211+ else if ((ak > ag))
216212 then throw("Minimum days range must be more than 6 and in between 7-200.")
217- else if ((aj > an))
213+ else if ((ah > al))
218214 then throw("Maximum days range can't exceed the 200.")
219- else if ((ai > aj))
220- then throw((((("Minimum days range can't be exceed the value of Maximum days range. Choose the Range between [" + toString(am)) + "-") + toString(an)) + "]"))
221- else [IntegerEntry("Minimum_Days_Range", ai), IntegerEntry("Maximum_Days_Range", aj)]
215+ else if ((ag > ah))
216+ then throw((((("Minimum days range can't be exceed the value of Maximum days range. Choose the Range between [" + toString(ak)) + "-") + toString(al)) + "]"))
217+ else [IntegerEntry("Minimum_Days_Range", ag), IntegerEntry("Maximum_Days_Range", ah)]
222218 }
223219
224220
225221
226-@Callable(s)
227-func SetClaimFee (Y) = {
228- let ak = toBase58String(s.caller.bytes)
229- let al = getStringValue(this, "DApp_Admin_Rights")
230- let ao = 100000000
231- let ap = 100000000000
232- if ((al != ak))
233- then throw((("I know You are not An Admin. Only " + al) + " has rights to change Claim Fee."))
234- else if ((ao > Y))
235- then throw((("Minimum Claim fee is " + toString(ao)) + " TN [int-format]."))
236- else if ((Y > ap))
237- then throw((("Maximum Claim fee can't be more than " + toString(ap)) + " TN. [int-format]"))
238- else [IntegerEntry("Claim_Fee", Y)]
222+@Callable(q)
223+func SetClaimFee (W) = {
224+ let ai = toBase58String(q.caller.bytes)
225+ let aj = getStringValue(this, "DApp_Admin_Rights")
226+ let am = 100000000
227+ let an = 100000000000
228+ if ((aj != ai))
229+ then throw((("I know You are not An Admin. Only " + aj) + " has rights to change Claim Fee."))
230+ else if ((am > W))
231+ then throw((("Minimum Claim fee is " + toString(am)) + " TN [int-format]."))
232+ else if ((W > an))
233+ then throw((("Maximum Claim fee can't be more than " + toString(an)) + " TN. [int-format]"))
234+ else [IntegerEntry("Claim_Fee", W)]
239235 }
240236
241237
242238
243-@Callable(s)
244-func TriggerForAutoSwap (aq) = if ((1 > assetBalance(this, fromBase58String(aq))))
245- then throw((aq + " has not Enough Balance To Transfer."))
246- else if ((1 > size(aq)))
239+@Callable(q)
240+func TriggerForAutoSwap (ao) = if ((1 > assetBalance(this, fromBase58String(ao))))
241+ then throw((ao + " has not Enough Balance To Transfer."))
242+ else if ((1 > size(ao)))
247243 then throw("AssetID Can't be Blank.")
248- else [ScriptTransfer(addressFromStringValue(b), assetBalance(this, fromBase58String(aq)), fromBase58String(aq))]
244+ else [ScriptTransfer(addressFromStringValue(b), assetBalance(this, fromBase58String(ao)), fromBase58String(ao))]
249245
250246
251-@Verifier(ar)
252-func as () = sigVerify(ar.bodyBytes, ar.proofs[0], ar.senderPublicKey)
247+@Verifier(ap)
248+func aq () = sigVerify(ap.bodyBytes, ap.proofs[0], ap.senderPublicKey)
253249

github/deemru/w8io/169f3d6 
142.87 ms