tx · FhePPc7QdqgDABVC3Gmh7yYT3CCBMcFGrmULSgLajLYy

3N34Zi5VD4m9az4kEXWDJngkMHMTpqLcoqo:  -0.01400000 Waves

2021.11.12 16:42 [1787862] smart account 3N34Zi5VD4m9az4kEXWDJngkMHMTpqLcoqo > SELF 0.00000000 Waves

{ "type": 13, "id": "FhePPc7QdqgDABVC3Gmh7yYT3CCBMcFGrmULSgLajLYy", "fee": 1400000, "feeAssetId": null, "timestamp": 1636724598104, "version": 2, "chainId": 84, "sender": "3N34Zi5VD4m9az4kEXWDJngkMHMTpqLcoqo", "senderPublicKey": "AmXrJ1inc5jpKhf6D9aDcRU8QWHZXBJdBBvz9VsKDe9x", "proofs": [ "4S6F8gySHj4KiVp7svsewtzuAH98o47PeHtgSRh7gVh3T4pF4NGtfzKZgNdEdNpE7Zk7iSGh285SFuce6DkUKCPZ" ], "script": "base64:AAIEAAAAAAAAAAkIAhIDCgEBEgAAAAANAAAAAAtDT0RFQXNzZXRJRAEAAAAgkmB2qfKrqGeDE5s+bUmRW9TL3ErNp4dEODxuXgzu+JEAAAAAC1N0YWtpbmdEYXBwAQAAACCjtaSeUVhAbk0T+akFnLGoDh+X4aR50o/42ilEuU4EFgAAAAASVHJlYXN1cnlGZWVBZGRyZXNzAQAAACBSg9mgi9eQkjsz5eBARHIbc7Hg/F4fmB0sxZ6ySMfiIAAAAAAKZGV2QWRkcmVzcwEAAAAgcT857UGuwl6lKR6zURKH3pDKrZTlUMsXWQXYxcjWeBsAAAAABmRldkZlZQAAAAAAAAAAAQAAAAALVHJlYXN1cnlGZWUAAAAAAAAAAAkAAAAACnVzZXJhbW91bnQJAABlAAAAAgkAAGUAAAACAAAAAAAAAAPoBQAAAAtUcmVhc3VyeUZlZQUAAAAGZGV2RmVlAAAAAAtTdGFydEhlaWdodAAAAAAAABqz8AAAAAAPbWluaW11bWxvY2tkYXlzAAAAAAAAAAAGAAAAAA9tYXhpbXVtbG9ja2RheXMAAAAAAAAAAAcAAAAABm9uZWR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vY2tzX09mXwUAAAAKY3VycmVudEtleQAAAAAAAAAAAAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACAgAAABJEZXBvc2l0X0Ftb3VudF9PZl8FAAAACmN1cnJlbnRLZXkAAAAAAAAAAAAJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgIAAAALUmV3YXJkc19PZl8FAAAACmN1cnJlbnRLZXkAAAAAAAAAAAAJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAAHbWVzc2FnZQIAAAAoPGgxPkNPREUgVW5TdGFrZWQgU3VjY2Vzc2Z1bGx5ITwvaDE+PGJyPgUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXliFIBG", "height": 1787862, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3uBftyGYERoxGYp1HSTBk1cJZPDGiGRLyudt4uU2UDkZ Next: EyHxuMHFQeE3yJQKPMpvzQKudXckhD5cXzz3Md9qKMSH Diff:
OldNewDifferences
110110 let J = 24
111111 let K = 19
112112 let L = valueOrErrorMessage(getInteger(addressFromPublicKey(b), ("Deposit_Amount_Of_" + q)), "Your Address not Found on Staking DApp")
113- let M = fraction(L, 1000000, I)
113+ let M = (fraction(L, 1000000, I) * 19)
114114 let N = getIntegerValue(this, ("Deposit_Amount_Of_" + q))
115115 let v = {
116116 let w = getIntegerValue(this, "Total_Txns:")
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'ArPqXguhFLjJt5XwcNwhXMnCv2zSumrM19y5WgT34yRi'
55
66 let b = base58'C246qxhuyo9DBk1pjMzEQSVAWmiqYupG2swGkxTeAvLV'
77
88 let c = base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR'
99
1010 let d = base58'8d4zGuTjT3h67Z4DatzMXdXXW1GvoQhMTjwCGFxJuene'
1111
1212 let e = 1
1313
1414 let f = 9
1515
1616 let g = ((1000 - f) - e)
1717
1818 let h = 1750000
1919
2020 let i = 6
2121
2222 let j = 7
2323
2424 let k = 1440
2525
2626 let l = (height - h)
2727
2828 let m = (fraction(10000000000, 1, l) + 6000)
2929
3030 @Callable(n)
3131 func Deposit (o) = {
3232 let p = if ((size(n.payments) == 1))
3333 then n.payments[0]
3434 else throw((("No Payments Attached Please Attach " + toBase58String(a)) + " Asset Only."))
3535 let q = toBase58String(n.caller.bytes)
3636 let r = ((((m * p.amount) * o) / 365) / 1000)
3737 let s = (l * 100000)
3838 let t = (k * o)
3939 let u = (height + t)
4040 let v = {
4141 let w = getIntegerValue(this, "Total_Txns:")
4242 if ($isInstanceOf(w, "Int"))
4343 then {
4444 let x = w
4545 x
4646 }
4747 else 0
4848 }
4949 let y = (v + 1)
5050 let z = {
5151 let w = getInteger(this, "Total_Burned_CODE:")
5252 if ($isInstanceOf(w, "Int"))
5353 then {
5454 let x = w
5555 x
5656 }
5757 else 0
5858 }
5959 let A = (z + p.amount)
6060 let B = valueOrErrorMessage(getInteger(addressFromPublicKey(b), ("Deposit_height_Of_" + q)), "Your Address not Found on Staking DApp")
6161 let C = valueOrErrorMessage(getInteger(addressFromPublicKey(b), ("Total_Lock_Blocks_Of_" + q)), "Your Address not Found on Staking DApp")
6262 let D = (C - B)
6363 let E = {
6464 let w = getInteger(this, ("Deposit_Amount_Of_" + q))
6565 if ($isInstanceOf(w, "Int"))
6666 then {
6767 let x = w
6868 x
6969 }
7070 else 0
7171 }
7272 let F = (E + p.amount)
7373 let G = {
7474 let w = getInteger(this, ("No_Of_Deposits_" + q))
7575 if ($isInstanceOf(w, "Int"))
7676 then {
7777 let x = w
7878 x
7979 }
8080 else 0
8181 }
8282 let H = (G + 1)
8383 if ((h > height))
8484 then throw((("DApp is Not Started Yet please Wait until " + toString((h - height))) + " blocks"))
8585 else if ((p.assetId != a))
8686 then throw((("Incorrect asset attached, please attach " + toBase58String(a)) + " asset only"))
8787 else if ((i >= o))
8888 then throw(((("Choose Locking days in between " + toString((i + 1))) + " to ") + toString(j)))
8989 else if ((o > j))
9090 then throw(((((("You Entered days to " + toString(o)) + ", Please Enter no. of days in between ") + toString((i + 1))) + " to ") + toString(j)))
9191 else if ((100000 > p.amount))
9292 then throw("Please Attach minimum 0.001 CODE Token To Issue More CODE Asset.")
9393 else if ((p.amount > s))
9494 then throw((("You can attach maximum " + toString(s)) + "/10^8 CODE."))
9595 else if ((p.amount > r))
9696 then throw((((("Your Stake Output is lower than input, please increase no. of days (" + toString(r)) + "/") + toString(p.amount)) + ")/10^8 CODE."))
9797 else if ((D != 129600))
9898 then throw("You are Not Eligible to Mint CODE. It need minimum 90 Days Staking.")
9999 else if ((G == 1))
100100 then throw("You Already Have an Active Staking, Please Wait until Mature.")
101101 else [Burn(a, p.amount), IntegerEntry("Total_Burned_CODE:", A), IntegerEntry("Total_Txns:", y), IntegerEntry("Inflation", m), IntegerEntry("Block_Passed", l), IntegerEntry(("No_Of_Deposits_" + q), H), IntegerEntry(("Deposit_height_Of_" + q), height), IntegerEntry(("Total_Lock_Blocks_Of_" + q), u), IntegerEntry(("Deposit_Amount_Of_" + q), F), IntegerEntry(("Rewards_Of_" + q), r), StringEntry("message", "<h1>CODE Staked Successfully!</h1><br>")]
102102 }
103103
104104
105105
106106 @Callable(n)
107107 func Withdraw () = {
108108 let q = toBase58String(n.caller.bytes)
109109 let I = 1200000000000
110110 let J = 24
111111 let K = 19
112112 let L = valueOrErrorMessage(getInteger(addressFromPublicKey(b), ("Deposit_Amount_Of_" + q)), "Your Address not Found on Staking DApp")
113- let M = fraction(L, 1000000, I)
113+ let M = (fraction(L, 1000000, I) * 19)
114114 let N = getIntegerValue(this, ("Deposit_Amount_Of_" + q))
115115 let v = {
116116 let w = getIntegerValue(this, "Total_Txns:")
117117 if ($isInstanceOf(w, "Int"))
118118 then {
119119 let x = w
120120 x
121121 }
122122 else 0
123123 }
124124 let y = (v + 1)
125125 let O = {
126126 let w = getIntegerValue(this, "Total_CODE_Claimed:")
127127 if ($isInstanceOf(w, "Int"))
128128 then {
129129 let x = w
130130 x
131131 }
132132 else 0
133133 }
134134 let P = (O + getIntegerValue(this, ("Rewards_Of_" + q)))
135135 let Q = {
136136 let w = getIntegerValue(this, "Total_Issued_CODE:")
137137 if ($isInstanceOf(w, "Int"))
138138 then {
139139 let x = w
140140 x
141141 }
142142 else 0
143143 }
144144 let R = (Q + getIntegerValue(this, ("Rewards_Of_" + q)))
145145 let B = valueOrErrorMessage(getInteger(addressFromPublicKey(b), ("Deposit_height_Of_" + q)), "Your Address not Found on Staking DApp")
146146 let C = valueOrErrorMessage(getInteger(addressFromPublicKey(b), ("Total_Lock_Blocks_Of_" + q)), "Your Address not Found on Staking DApp")
147147 let D = (C - B)
148148 if ((getIntegerValue(this, ("Total_Lock_Blocks_Of_" + q)) > height))
149149 then throw((((("Your " + toString(getIntegerValue(this, ("Rewards_Of_" + q)))) + "/10^8 CODE are Still Maturing. Token will be Unlocked after ") + toString((getIntegerValue(this, ("Total_Lock_Blocks_Of_" + q)) - height))) + " blocks."))
150150 else if ((N == 0))
151151 then throw("You Have Already Withdraw your CODE Amount.")
152152 else if ((D != 129600))
153153 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.")
154154 else [IntegerEntry("Total_Txns:", y), IntegerEntry("Total_CODE_Claimed:", P), IntegerEntry("Total_Issued_CODE:", R), IntegerEntry("Fee_Charged", M), Reissue(a, getIntegerValue(this, ("Rewards_Of_" + q)), true), ScriptTransfer(n.caller, ((getIntegerValue(this, ("Rewards_Of_" + q)) * g) / 1000), a), ScriptTransfer(addressFromPublicKey(c), ((getIntegerValue(this, ("Rewards_Of_" + q)) * f) / 1000), a), ScriptTransfer(addressFromPublicKey(d), ((getIntegerValue(this, ("Rewards_Of_" + q)) * e) / 1000), a), IntegerEntry(("No_Of_Deposits_" + q), 0), IntegerEntry(("Deposit_height_Of_" + q), 0), IntegerEntry(("Total_Lock_Blocks_Of_" + q), 0), IntegerEntry(("Deposit_Amount_Of_" + q), 0), IntegerEntry(("Rewards_Of_" + q), 0), StringEntry("message", "<h1>CODE UnStaked Successfully!</h1><br>")]
155155 }
156156
157157
158158 @Verifier(S)
159159 func T () = sigVerify(S.bodyBytes, S.proofs[0], S.senderPublicKey)
160160

github/deemru/w8io/026f985 
28.91 ms