tx · GX9eEYfneAuKBbjtNUspEoQcp8bFHVcrDjq1pXVw37jU

3N34Zi5VD4m9az4kEXWDJngkMHMTpqLcoqo:  -0.01400000 Waves

2021.10.16 08:26 [1748408] smart account 3N34Zi5VD4m9az4kEXWDJngkMHMTpqLcoqo > SELF 0.00000000 Waves

{ "type": 13, "id": "GX9eEYfneAuKBbjtNUspEoQcp8bFHVcrDjq1pXVw37jU", "fee": 1400000, "feeAssetId": null, "timestamp": 1634362008928, "version": 2, "chainId": 84, "sender": "3N34Zi5VD4m9az4kEXWDJngkMHMTpqLcoqo", "senderPublicKey": "AmXrJ1inc5jpKhf6D9aDcRU8QWHZXBJdBBvz9VsKDe9x", "proofs": [ "5FVUutz16vNLYGNJEcuc6tLkYZLKdijkBJ1NuvcMXACj5UX9i867avBQJyGSXwGztVHwj4mqRDakMBkLii55dZqA" ], "script": "base64:AAIEAAAAAAAAAAkIAhIDCgEBEgAAAAAPAAAAAAtDT0RFQXNzZXRJRAEAAAAgkmB2qfKrqGeDE5s+bUmRW9TL3ErNp4dEODxuXgzu+JEAAAAAC1N0YWtpbmdEYXBwAQAAACCjtaSeUVhAbk0T+akFnLGoDh+X4aR50o/42ilEuU4EFgAAAAASVHJlYXN1cnlGZWVBZGRyZXNzAQAAACBSg9mgi9eQkjsz5eBARHIbc7Hg/F4fmB0sxZ6ySMfiIAAAAAAKZGV2QWRkcmVzcwEAAAAgcT857UGuwl6lKR6zURKH3pDKrZTlUMsXWQXYxcjWeBsAAAAABmRldkZlZQAAAAAAAAAAAQAAAAALVHJlYXN1cnlGZWUAAAAAAAAAAAkAAAAACnVzZXJhbW91bnQJAABlAAAAAgkAAGUAAAACAAAAAAAAAAPoBQAAAAtUcmVhc3VyeUZlZQUAAAAGZGV2RmVlAAAAAAtTdGFydEhlaWdodAAAAAAAABql6AAAAAAPbWluaW11bWxvY2tkYXlzAAAAAAAAAAAGAAAAAA9tYXhpbXVtbG9ja2RheXMAAAAAAAAAAAcAAAAABm9uZWRheQAA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kBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgIAAAASRGVwb3NpdF9BbW91bnRfT2ZfBQAAAApjdXJyZW50S2V5AAAAAAAAAAAACQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAICAAAAC1Jld2FyZHNfT2ZfBQAAAApjdXJyZW50S2V5AAAAAAAAAAAABQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleVKgvGg=", "height": 1748408, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GygkpwQ1jfHPXTU3zS15Rr5Y9vzMYEtnRuZFf8ZiWzzn Next: 7VgmvmtRCJwp174UeZ2bQkHf4DnFAENZzLbsyJuVTcKz Diff:
OldNewDifferences
9696 then throw((("You can attach maximum " + toString(w)) + "/10^8 CODE."))
9797 else if ((D != 129600))
9898 then throw("You are Not Eligible to Mint CODE. It need minimum 90 Days Staking.")
99- else [Burn(a, t.amount), IntegerEntry("Total_Burned_CODE:", A), IntegerEntry("Total_Txns:", q), IntegerEntry("Inflation", m), IntegerEntry("Block_Passed", l), IntegerEntry(("No_Of_Deposits_" + u), H), IntegerEntry(("Deposit_height_Of_" + u), height), IntegerEntry(("Total_Lock_Blocks_Of_" + u), y), IntegerEntry(("Deposit_Amount_Of_" + u), F), IntegerEntry(("Rewards_Of_" + u), v), StringEntry("message", "<h1>CODE Staked Successfully!</h1><br>")]
99+ else if ((G == 1))
100+ then throw("You Already Have an Active Staking, Please Wait until Mature.")
101+ else [Burn(a, t.amount), IntegerEntry("Total_Burned_CODE:", A), IntegerEntry("Total_Txns:", q), IntegerEntry("Inflation", m), IntegerEntry("Block_Passed", l), IntegerEntry(("No_Of_Deposits_" + u), H), IntegerEntry(("Deposit_height_Of_" + u), height), IntegerEntry(("Total_Lock_Blocks_Of_" + u), y), IntegerEntry(("Deposit_Amount_Of_" + u), F), IntegerEntry(("Rewards_Of_" + u), v), StringEntry("message", "<h1>CODE Staked Successfully!</h1><br>")]
100102 }
101103
102104
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 = 1746408
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 let n = {
3131 let o = getIntegerValue(this, "Total_Txns:")
3232 if ($isInstanceOf(o, "Int"))
3333 then {
3434 let p = o
3535 p
3636 }
3737 else 0
3838 }
3939
4040 let q = (n + 1)
4141
4242 @Callable(r)
4343 func Deposit (s) = {
4444 let t = if ((size(r.payments) == 1))
4545 then r.payments[0]
4646 else throw((("No Payments Attached Please Attach " + toBase58String(a)) + " Asset Only."))
4747 let u = toBase58String(r.caller.bytes)
4848 let v = ((((m * t.amount) * s) / 365) / 1000)
4949 let w = (l * 100000)
5050 let x = (k * s)
5151 let y = (height + x)
5252 let z = {
5353 let o = getInteger(this, "Total_Burned_CODE:")
5454 if ($isInstanceOf(o, "Int"))
5555 then {
5656 let p = o
5757 p
5858 }
5959 else 0
6060 }
6161 let A = (z + t.amount)
6262 let B = valueOrErrorMessage(getInteger(addressFromPublicKey(b), ("Deposit_height_Of_" + u)), "Your Address not Found on Staking DApp")
6363 let C = valueOrErrorMessage(getInteger(addressFromPublicKey(b), ("Total_Lock_Blocks_Of_" + u)), "Your Address not Found on Staking DApp")
6464 let D = (C - B)
6565 let E = {
6666 let o = getInteger(this, ("Deposit_Amount_Of_" + u))
6767 if ($isInstanceOf(o, "Int"))
6868 then {
6969 let p = o
7070 p
7171 }
7272 else 0
7373 }
7474 let F = (E + t.amount)
7575 let G = {
7676 let o = getInteger(this, ("No_Of_Deposits_" + u))
7777 if ($isInstanceOf(o, "Int"))
7878 then {
7979 let p = o
8080 p
8181 }
8282 else 0
8383 }
8484 let H = (G + 1)
8585 if ((h > height))
8686 then throw((("DApp is Not Started Yet please Wait until " + toString((h - height))) + " blocks"))
8787 else if ((t.assetId != a))
8888 then throw((("Incorrect asset attached, please attach " + toBase58String(a)) + " asset only"))
8989 else if ((i >= s))
9090 then throw(((("Choose Locking days in between " + toString((i + 1))) + " to ") + toString(j)))
9191 else if ((s > j))
9292 then throw(((((("You Entered days to " + toString(s)) + ", Please Enter no. of days in between ") + toString((i + 1))) + " to ") + toString(j)))
9393 else if ((100000 > t.amount))
9494 then throw("Please Attach minimum 0.001 CODE Token To Issue More CODE Asset.")
9595 else if ((t.amount > w))
9696 then throw((("You can attach maximum " + toString(w)) + "/10^8 CODE."))
9797 else if ((D != 129600))
9898 then throw("You are Not Eligible to Mint CODE. It need minimum 90 Days Staking.")
99- else [Burn(a, t.amount), IntegerEntry("Total_Burned_CODE:", A), IntegerEntry("Total_Txns:", q), IntegerEntry("Inflation", m), IntegerEntry("Block_Passed", l), IntegerEntry(("No_Of_Deposits_" + u), H), IntegerEntry(("Deposit_height_Of_" + u), height), IntegerEntry(("Total_Lock_Blocks_Of_" + u), y), IntegerEntry(("Deposit_Amount_Of_" + u), F), IntegerEntry(("Rewards_Of_" + u), v), StringEntry("message", "<h1>CODE Staked Successfully!</h1><br>")]
99+ else if ((G == 1))
100+ then throw("You Already Have an Active Staking, Please Wait until Mature.")
101+ else [Burn(a, t.amount), IntegerEntry("Total_Burned_CODE:", A), IntegerEntry("Total_Txns:", q), IntegerEntry("Inflation", m), IntegerEntry("Block_Passed", l), IntegerEntry(("No_Of_Deposits_" + u), H), IntegerEntry(("Deposit_height_Of_" + u), height), IntegerEntry(("Total_Lock_Blocks_Of_" + u), y), IntegerEntry(("Deposit_Amount_Of_" + u), F), IntegerEntry(("Rewards_Of_" + u), v), StringEntry("message", "<h1>CODE Staked Successfully!</h1><br>")]
100102 }
101103
102104
103105
104106 @Callable(r)
105107 func Withdraw () = {
106108 let u = toBase58String(r.caller.bytes)
107109 let I = getIntegerValue(this, ("Deposit_Amount_Of_" + u))
108110 let J = {
109111 let o = getIntegerValue(this, "Total_CODE_Claimed:")
110112 if ($isInstanceOf(o, "Int"))
111113 then {
112114 let p = o
113115 p
114116 }
115117 else 0
116118 }
117119 let K = (J + getIntegerValue(this, ("Rewards_Of_" + u)))
118120 let L = {
119121 let o = getIntegerValue(this, "Total_Issued_CODE:")
120122 if ($isInstanceOf(o, "Int"))
121123 then {
122124 let p = o
123125 p
124126 }
125127 else 0
126128 }
127129 let M = (L + getIntegerValue(this, ("Rewards_Of_" + u)))
128130 if ((getIntegerValue(this, ("Total_Lock_Blocks_Of_" + u)) > height))
129131 then throw((((("Your " + toString(getIntegerValue(this, ("Rewards_Of_" + u)))) + "/10^8 CODE are Stil Maturing. Token will be Unlocked after ") + toString((getIntegerValue(this, ("Total_Lock_Blocks_Of_" + u)) - height))) + " blocks."))
130132 else if ((I == 0))
131133 then throw("You Have Already Withdraw your CODE Amount.")
132134 else [IntegerEntry("Total_Txns:", q), IntegerEntry("Total_CODE_Claimed:", K), IntegerEntry("Total_Issued_CODE:", M), Reissue(a, getIntegerValue(this, ("Rewards_Of_" + u)), true), ScriptTransfer(r.caller, ((getIntegerValue(this, ("Rewards_Of_" + u)) * g) / 1000), a), ScriptTransfer(addressFromPublicKey(c), ((getIntegerValue(this, ("Rewards_Of_" + u)) * f) / 1000), a), ScriptTransfer(addressFromPublicKey(d), ((getIntegerValue(this, ("Rewards_Of_" + u)) * e) / 1000), a), IntegerEntry(("Deposit_height_Of_" + u), 0), IntegerEntry(("Total_Lock_Blocks_Of_" + u), 0), IntegerEntry(("Deposit_Amount_Of_" + u), 0), IntegerEntry(("Rewards_Of_" + u), 0)]
133135 }
134136
135137
136138 @Verifier(N)
137139 func O () = sigVerify(N.bodyBytes, N.proofs[0], N.senderPublicKey)
138140

github/deemru/w8io/169f3d6 
30.64 ms