tx · 4zvrqfXcvctAtRiXvTESZ23ruHqJZ9FYTNeZKyRc9LhH

3N9LaSWGBniSYGm8mnTqwgfYNFxck1HjmiZ:  -0.01900000 Waves

2023.05.26 16:55 [2595034] smart account 3N9LaSWGBniSYGm8mnTqwgfYNFxck1HjmiZ > SELF 0.00000000 Waves

{ "type": 13, "id": "4zvrqfXcvctAtRiXvTESZ23ruHqJZ9FYTNeZKyRc9LhH", "fee": 1900000, "feeAssetId": null, "timestamp": 1685109421639, "version": 2, "chainId": 84, "sender": "3N9LaSWGBniSYGm8mnTqwgfYNFxck1HjmiZ", "senderPublicKey": "FUk4CJZFp7B6VxCcyseS7zmtGp8fu4JPxvANjoYNZUeN", "proofs": [ "2nKJ9gupa9cMmkRLqrbAdMwEGBxSqx14NhZa8vqc95nQss7dgkbuio8FAsKvxLQWW2hgKDQTmiWhyZGkKudKqAmi" ], "script": "base64:AAIFAAAAAAAAABQIAhIDCgEBEgASBAoCAQESAwoBAQAAAAwAAAAAC0NPREVBc3NldElEAQAAACCSYHap8quoZ4MTmz5tSZFb1MvcSs2nh0Q4PG5eDO74kQAAAAASQ09ERUxJQ0VOU0VBc3NldElEAQAAACDIVXzVSjwz7AXLM3elKORpXjOMPFa8SSrFZyv1IT5wQAAAAAALU3Rha2luZ0RhcHABAAAAIGl6zIeiOlMGHeqkOihniSsWqxS66z2RjuIqrEqU/hxoAAAAABJUcmVhc3VyeUZlZUFkZHJlc3MBAAAAIFKD2aCL15CSOzPl4EBEchtzseD8Xh+YHSzFnrJIx+IgAAAAAApkZXZhZGRyZXNzAQAAACBxPzntQa7CXqUpHrNREofekMqtlOVQyxdZBdjFyNZ4GwAAAAAMZGV2ZmVlY2hhcmVkAAAAAAAAAAAUAAAAAAtTdGFydEhlaWdodAAAAAAAABw6kAAAAAAPbWluaW11bWxvY2tkYXlzCQEAAAARQGV4dHJOYXRpdmUoMTA1MCkAAAACBQAAAAR0aGlzAgAAABJNaW5pbXVtX0RheXNfUmFuZ2UAAAAAD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5pbXVtX0NsYWltX2ZlZQAAAAAABfXhAAQAAAARTWF4aW11bV9DbGFpbV9mZWUAAAAAF0h26AADCQEAAAACIT0AAAACBQAAAAthZG1pbnJpZ2h0cwUAAAANY2FsbGVyYWRkcmVzcwkAAAIAAAABCQABLAAAAAIJAAEsAAAAAgIAAAAiSSBrbm93IFlvdSBhcmUgbm90IEFuIEFkbWluLiBPbmx5IAUAAAALYWRtaW5yaWdodHMCAAAAICBoYXMgcmlnaHRzIHRvIGNoYW5nZSBDbGFpbSBGZWUuAwkAAGYAAAACBQAAABFNaW5pbXVtX0NsYWltX2ZlZQUAAAAIQ2xhaW1GZWUJAAACAAAAAQkAASwAAAACCQABLAAAAAICAAAAFU1pbmltdW0gQ2xhaW0gZmVlIGlzIAkAAaQAAAABBQAAABFNaW5pbXVtX0NsYWltX2ZlZQIAAAARIFROIFtpbnQtZm9ybWF0XS4DCQAAZgAAAAIFAAAACENsYWltRmVlBQAAABFNYXhpbXVtX0NsYWltX2ZlZQkAAAIAAAABCQABLAAAAAIJAAEsAAAAAgIAAAAlTWF4aW11bSBDbGFpbSBmZWUgY2FuJ3QgYmUgbW9yZSB0aGFuIAkAAaQAAAABBQAAABFNYXhpbXVtX0NsYWltX2ZlZQIAAAARIFROLiBbaW50LWZvcm1hdF0JAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAACUNsYWltX0ZlZQUAAAAIQ2xhaW1GZWUFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5iHF4RA==", "height": 2595034, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9couW4DzBHJvzpftprcaunCTuYiquy6L2gHT81FEkUiF Next: 2tjeGA1jNPLhvZV5oUH6XW4Qi7xJxvqEpR8BCSCuPVGK Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let a = base58'EB4CUQH4fHzzQt9YjcHtA6T7uosHNH9RnQKHgBdZHPCB'
4+let a = base58'ArPqXguhFLjJt5XwcNwhXMnCv2zSumrM19y5WgT34yRi'
55
6-let b = base58'H3MZcnjakUsXycTbuR1BtZbyXj8C4RAPgdoeoTMGczjX'
6+let b = base58'EV29Rc5cZfjNgiSRnxaewaENqDU2iTu7j3TJwVu99oCB'
77
8-let c = base58'J3cAptAPQxVqpEz6Rch57JeKpbns48s1a6HoeQG9aX4J'
8+let c = base58'86kQutchNhkrbHTdTXbAFXcJ8bPWQC8G4RGzAYcspLvb'
99
1010 let d = base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR'
1111
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let a = base58'EB4CUQH4fHzzQt9YjcHtA6T7uosHNH9RnQKHgBdZHPCB'
4+let a = base58'ArPqXguhFLjJt5XwcNwhXMnCv2zSumrM19y5WgT34yRi'
55
6-let b = base58'H3MZcnjakUsXycTbuR1BtZbyXj8C4RAPgdoeoTMGczjX'
6+let b = base58'EV29Rc5cZfjNgiSRnxaewaENqDU2iTu7j3TJwVu99oCB'
77
8-let c = base58'J3cAptAPQxVqpEz6Rch57JeKpbns48s1a6HoeQG9aX4J'
8+let c = base58'86kQutchNhkrbHTdTXbAFXcJ8bPWQC8G4RGzAYcspLvb'
99
1010 let d = base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR'
1111
1212 let e = base58'8d4zGuTjT3h67Z4DatzMXdXXW1GvoQhMTjwCGFxJuene'
1313
1414 let f = 20
1515
1616 let g = 1850000
1717
1818 let h = getIntegerValue(this, "Minimum_Days_Range")
1919
2020 let i = getIntegerValue(this, "Maximum_Days_Range")
2121
2222 let j = 1440
2323
2424 let k = (height - g)
2525
2626 let l = (fraction(10000000000, 1, k) + 6000)
2727
2828 @Callable(m)
2929 func Deposit (n) = {
3030 let o = if ((size(m.payments) == 1))
3131 then m.payments[0]
3232 else throw((("No Payments Attached Please Attach " + toBase58String(a)) + " Asset Only."))
3333 let p = toBase58String(m.caller.bytes)
3434 let q = ((((l * o.amount) * n) / 365) / 1000)
3535 let r = (k * 100000)
3636 let s = (j * n)
3737 let t = (height + s)
3838 let u = fraction(i, (r * l), (365 * 1000))
3939 let v = fraction(u, 1000000, r)
4040 let w = {
4141 let x = getIntegerValue(this, "Total_Txns:")
4242 if ($isInstanceOf(x, "Int"))
4343 then {
4444 let y = x
4545 y
4646 }
4747 else 0
4848 }
4949 let z = (w + 1)
5050 let A = {
5151 let x = getInteger(this, "Total_Burned_CODE:")
5252 if ($isInstanceOf(x, "Int"))
5353 then {
5454 let y = x
5555 y
5656 }
5757 else 0
5858 }
5959 let B = (A + o.amount)
6060 let C = valueOrErrorMessage(getInteger(addressFromPublicKey(c), ("Deposit_height_Of_" + p)), "Your Address not Found on Staking DApp")
6161 let D = valueOrErrorMessage(getInteger(addressFromPublicKey(c), ("Total_Lock_Blocks_Of_" + p)), "Your Address not Found on Staking DApp")
6262 let E = (D - C)
6363 let F = assetBalance(Address(m.caller.bytes), b)
6464 let G = {
6565 let x = getInteger(this, ("Deposit_Amount_Of_" + p))
6666 if ($isInstanceOf(x, "Int"))
6767 then {
6868 let y = x
6969 y
7070 }
7171 else 0
7272 }
7373 let H = (G + o.amount)
7474 let I = {
7575 let x = getInteger(this, ("No_Of_Deposits_" + p))
7676 if ($isInstanceOf(x, "Int"))
7777 then {
7878 let y = x
7979 y
8080 }
8181 else 0
8282 }
8383 let J = (I + 1)
8484 if ((F != 1))
8585 then throw("You Need to Mint a CODE License from DApp Address 3JeqfvcGZxJbuSpCB5cFhV2Bb8fdV4WzZzZ.")
8686 else if ((F > 1))
8787 then throw("You Own Multiple CODE License on Same Address.")
8888 else if ((g > height))
8989 then throw((("DApp is Not Started Yet please Wait until " + toString((g - height))) + " blocks"))
9090 else if ((o.assetId != a))
9191 then throw((("Incorrect asset attached, please attach " + toBase58String(a)) + " asset only"))
9292 else if ((h >= n))
9393 then throw(((("Choose Locking days in between " + toString((h + 1))) + " to ") + toString(i)))
9494 else if ((n > i))
9595 then throw(((((("You Entered days to " + toString(n)) + ", Please Enter no. of days in between ") + toString((h + 1))) + " to ") + toString(i)))
9696 else if ((100000 > o.amount))
9797 then throw("Please Attach minimum 0.001 CODE Token To Issue More CODE Asset.")
9898 else if ((o.amount > r))
9999 then throw((("You can attach maximum " + toString(r)) + "/10^8 CODE."))
100100 else if ((o.amount > q))
101101 then throw((((("Your Stake Output is lower than input, please increase no. of days (" + toString(q)) + "/") + toString(o.amount)) + ")/10^8 CODE."))
102102 else if ((E != 129600))
103103 then throw("You are Not Eligible to Mint CODE. It need minimum 90 Days Staking.")
104104 else if ((I == 1))
105105 then throw("You Already Have an Active Staking, Please Wait until Mature.")
106106 else if ((1000000 > v))
107107 then throw("Need to Increase the days range.")
108108 else [Burn(a, o.amount), IntegerEntry("Total_Burned_CODE:", B), IntegerEntry("Total_Txns:", z), IntegerEntry("Inflation", l), IntegerEntry("Block_Passed", k), IntegerEntry("Burn_Factor", v), IntegerEntry(("No_Of_Deposits_" + p), J), IntegerEntry(("Deposit_height_Of_" + p), height), IntegerEntry(("Total_Lock_Blocks_Of_" + p), t), IntegerEntry(("Deposit_Amount_Of_" + p), H), IntegerEntry(("Rewards_Of_" + p), q), StringEntry("message", "<h1>CODE Staked Successfully!</h1><br>")]
109109 }
110110
111111
112112
113113 @Callable(m)
114114 func Withdraw () = {
115115 let p = toBase58String(m.caller.bytes)
116116 let K = 1200000000000
117117 let L = 24000000
118118 let M = 19
119119 let N = valueOrErrorMessage(getInteger(addressFromPublicKey(c), ("Deposit_Amount_Of_" + p)), "Your Address not Found on Staking DApp")
120120 let O = 500
121121 let P = ((L - (fraction(N, 1000000, K) * 19)) / 10000)
122122 let Q = getIntegerValue(this, "Claim_Fee")
123123 let o = value(m.payments[0])
124124 let R = getIntegerValue(this, ("Deposit_Amount_Of_" + p))
125125 let S = (((getIntegerValue(this, ("Rewards_Of_" + p)) - R) * P) / 10000)
126126 let T = (((getIntegerValue(this, ("Rewards_Of_" + p)) - R) * O) / 10000)
127127 let w = {
128128 let x = getIntegerValue(this, "Total_Txns:")
129129 if ($isInstanceOf(x, "Int"))
130130 then {
131131 let y = x
132132 y
133133 }
134134 else 0
135135 }
136136 let z = (w + 1)
137137 let U = {
138138 let x = getIntegerValue(this, "Total_CODE_Claimed:")
139139 if ($isInstanceOf(x, "Int"))
140140 then {
141141 let y = x
142142 y
143143 }
144144 else 0
145145 }
146146 let V = (U + getIntegerValue(this, ("Rewards_Of_" + p)))
147147 let W = {
148148 let x = getIntegerValue(this, "Total_Issued_CODE:")
149149 if ($isInstanceOf(x, "Int"))
150150 then {
151151 let y = x
152152 y
153153 }
154154 else 0
155155 }
156156 let X = (W + getIntegerValue(this, ("Rewards_Of_" + p)))
157157 let Y = {
158158 let x = getIntegerValue(this, "Total_Claim_Fee_In_TN")
159159 if ($isInstanceOf(x, "Int"))
160160 then {
161161 let y = x
162162 y
163163 }
164164 else 0
165165 }
166166 let Z = (Y + Q)
167167 let C = valueOrErrorMessage(getInteger(addressFromPublicKey(c), ("Deposit_height_Of_" + p)), "Your Address not Found on Staking DApp")
168168 let D = valueOrErrorMessage(getInteger(addressFromPublicKey(c), ("Total_Lock_Blocks_Of_" + p)), "Your Address not Found on Staking DApp")
169169 let E = (D - C)
170170 if (isDefined(o.assetId))
171171 then throw((("Wrong Asset Attached for Payment, please Attach " + toString(Q)) + "/10^8 TN."))
172172 else if ((o.amount != Q))
173173 then throw((("Please Attach Exact " + toString(Q)) + "/10^8 TN."))
174174 else if ((getIntegerValue(this, ("Total_Lock_Blocks_Of_" + p)) > height))
175175 then throw((((("Your " + toString(getIntegerValue(this, ("Rewards_Of_" + p)))) + "/10^8 CODE are Still Maturing. Token will be Unlocked after ") + toString((getIntegerValue(this, ("Total_Lock_Blocks_Of_" + p)) - height))) + " blocks."))
176176 else if ((R == 0))
177177 then throw("You Have Already Withdraw your CODE Amount.")
178178 else if ((E != 129600))
179179 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.")
180180 else if ((N >= 1199999999999))
181181 then [IntegerEntry("Total_Txns:", z), IntegerEntry("Total_CODE_Claimed:", V), IntegerEntry("Total_Issued_CODE:", X), IntegerEntry("Total_Claim_Fee_In_TN", Z), IntegerEntry("Fee_%_Charge", O), IntegerEntry("Fee_Amount", T), Reissue(a, getIntegerValue(this, ("Rewards_Of_" + p)), true), ScriptTransfer(m.caller, (getIntegerValue(this, ("Rewards_Of_" + p)) - T), a), ScriptTransfer(addressFromPublicKey(d), fraction(T, 80, 100), a), ScriptTransfer(addressFromPublicKey(e), fraction(T, f, 100), a), IntegerEntry(("No_Of_Deposits_" + p), 0), IntegerEntry(("Deposit_height_Of_" + p), 0), IntegerEntry(("Total_Lock_Blocks_Of_" + p), 0), IntegerEntry(("Deposit_Amount_Of_" + p), 0), IntegerEntry(("Rewards_Of_" + p), 0), StringEntry("message", "<h1>CODE UnStaked Successfully!</h1><br>")]
182182 else [IntegerEntry("Total_Txns:", z), IntegerEntry("Total_CODE_Claimed:", V), IntegerEntry("Total_Issued_CODE:", X), IntegerEntry("Total_Claim_Fee_In_TN", Z), IntegerEntry("Fee_%_Charge", P), IntegerEntry("Fee_Amount", S), Reissue(a, getIntegerValue(this, ("Rewards_Of_" + p)), true), ScriptTransfer(m.caller, (getIntegerValue(this, ("Rewards_Of_" + p)) - S), a), ScriptTransfer(addressFromPublicKey(d), fraction(S, 80, 100), a), ScriptTransfer(addressFromPublicKey(e), fraction(S, f, 100), a), IntegerEntry(("No_Of_Deposits_" + p), 0), IntegerEntry(("Deposit_height_Of_" + p), 0), IntegerEntry(("Total_Lock_Blocks_Of_" + p), 0), IntegerEntry(("Deposit_Amount_Of_" + p), 0), IntegerEntry(("Rewards_Of_" + p), 0), StringEntry("message", "<h1>CODE UnStaked Successfully!</h1><br>")]
183183 }
184184
185185
186186
187187 @Callable(m)
188188 func SetDaysRange (aa,ab) = {
189189 let ac = toBase58String(m.caller.bytes)
190190 let ad = getStringValue(this, "DApp_Admin_Rights")
191191 let ae = 7
192192 let af = 200
193193 if ((ad != ac))
194194 then throw((("I know You are not An Admin. Only " + ad) + " has rights to change Days Range."))
195195 else if ((ae > aa))
196196 then throw("Minimum days range must be more than 6 and in between 7-200.")
197197 else if ((ab > af))
198198 then throw("Maximum days range can't exceed the 200.")
199199 else if ((aa > ab))
200200 then throw((((("Minimum days range can't be exceed the value of Maximum days range. Choose the Range between [" + toString(ae)) + "-") + toString(af)) + "]"))
201201 else [IntegerEntry("Minimum_Days_Range", aa), IntegerEntry("Maximum_Days_Range", ab)]
202202 }
203203
204204
205205
206206 @Callable(m)
207207 func SetClaimFee (Q) = {
208208 let ac = toBase58String(m.caller.bytes)
209209 let ad = getStringValue(this, "DApp_Admin_Rights")
210210 let ag = 100000000
211211 let ah = 100000000000
212212 if ((ad != ac))
213213 then throw((("I know You are not An Admin. Only " + ad) + " has rights to change Claim Fee."))
214214 else if ((ag > Q))
215215 then throw((("Minimum Claim fee is " + toString(ag)) + " TN [int-format]."))
216216 else if ((Q > ah))
217217 then throw((("Maximum Claim fee can't be more than " + toString(ah)) + " TN. [int-format]"))
218218 else [IntegerEntry("Claim_Fee", Q)]
219219 }
220220
221221
222222 @Verifier(ai)
223223 func aj () = sigVerify(ai.bodyBytes, ai.proofs[0], ai.senderPublicKey)
224224

github/deemru/w8io/169f3d6 
43.46 ms