tx · 7ktZMWziTqe1A6HT4heAiUVoxFV9bibyZUEXHZiqZS3Y 3N34Zi5VD4m9az4kEXWDJngkMHMTpqLcoqo: -0.01400000 Waves 2021.11.13 03:41 [1788698] smart account 3N34Zi5VD4m9az4kEXWDJngkMHMTpqLcoqo > SELF 0.00000000 Waves
{ "type": 13, "id": "7ktZMWziTqe1A6HT4heAiUVoxFV9bibyZUEXHZiqZS3Y", "fee": 1400000, "feeAssetId": null, "timestamp": 1636774924935, "version": 2, "chainId": 84, "sender": "3N34Zi5VD4m9az4kEXWDJngkMHMTpqLcoqo", "senderPublicKey": "AmXrJ1inc5jpKhf6D9aDcRU8QWHZXBJdBBvz9VsKDe9x", "proofs": [ "2ju8TYB12y4WFaZjDVeW1habEtLPvtNmZJdM2eiiXKe8ZbdtcDie3yDscFo6pKHSjA3PVuJur7EZjJqchVGb9r9J" ], "script": "base64:AAIEAAAAAAAAAAkIAhIDCgEBEgAAAAANAAAAAAtDT0RFQXNzZXRJRAEAAAAgkmB2qfKrqGeDE5s+bUmRW9TL3ErNp4dEODxuXgzu+JEAAAAAC1N0YWtpbmdEYXBwAQAAACCjtaSeUVhAbk0T+akFnLGoDh+X4aR50o/42ilEuU4EFgAAAAASVHJlYXN1cnlGZWVBZGRyZXNzAQAAACBSg9mgi9eQkjsz5eBARHIbc7Hg/F4fmB0sxZ6ySMfiIAAAAAAKZGV2QWRkcmVzcwEAAAAgcT857UGuwl6lKR6zURKH3pDKrZTlUMsXWQXYxcjWeBsAAAAABmRldkZlZQAAAAAAAAAAAQAAAAALVHJlYXN1cnlGZWUAAAAAAAAAAAkAAAAACnVzZXJhbW91bnQJAABlAAAAAgkAAGUAAAACAAAAAAAAAAPoBQAAAAtUcmVhc3VyeUZlZQUAAAAGZGV2RmVlAAAAAAtTdGFydEhlaWdodAAAAAAAABqz8AAAAAAPbWluaW11bWxvY2tkYXlzAAAAAAAAAAAGAAAAAA9tYXhpbXVtbG9ja2RheXMAAAAAAAAAAAcAAAAABm9uZ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c2l0X0Ftb3VudF9PZl8FAAAACmN1cnJlbnRLZXkAAAAAAAAAAAAJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgIAAAALUmV3YXJkc19PZl8FAAAACmN1cnJlbnRLZXkAAAAAAAAAAAAJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAAHbWVzc2FnZQIAAAAoPGgxPkNPREUgVW5TdGFrZWQgU3VjY2Vzc2Z1bGx5ITwvaDE+PGJyPgUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXlzq12k", "height": 1788698, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7Ejmsg6FiKYSTHDQRSwooaxNdvY3mKy2cvN3baMh2YMN Next: 58MZP8Q2FqgXrnkrdAdZN9B3QXFvH53uQqvzkLCXW3uY Diff:
Old | New | Differences | |
---|---|---|---|
152 | 152 | then throw("You Have Already Withdraw your CODE Amount.") | |
153 | 153 | else if ((D != 129600)) | |
154 | 154 | 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.") | |
155 | - | else [IntegerEntry("Total_Txns:", y), IntegerEntry("Total_CODE_Claimed:", Q), IntegerEntry("Total_Issued_CODE:", S), IntegerEntry("Fee_ | |
155 | + | else [IntegerEntry("Total_Txns:", y), IntegerEntry("Total_CODE_Claimed:", Q), IntegerEntry("Total_Issued_CODE:", S), IntegerEntry("Fee_%_Charge", M), IntegerEntry("Claim_Amount", O), Reissue(a, getIntegerValue(this, ("Rewards_Of_" + q)), true), ScriptTransfer(n.caller, (getIntegerValue(this, ("Rewards_Of_" + q)) - O), a), ScriptTransfer(addressFromPublicKey(c), O, 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>")] | |
156 | 156 | } | |
157 | 157 | ||
158 | 158 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = base58'ArPqXguhFLjJt5XwcNwhXMnCv2zSumrM19y5WgT34yRi' | |
5 | 5 | ||
6 | 6 | let b = base58'C246qxhuyo9DBk1pjMzEQSVAWmiqYupG2swGkxTeAvLV' | |
7 | 7 | ||
8 | 8 | let c = base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR' | |
9 | 9 | ||
10 | 10 | let d = base58'8d4zGuTjT3h67Z4DatzMXdXXW1GvoQhMTjwCGFxJuene' | |
11 | 11 | ||
12 | 12 | let e = 1 | |
13 | 13 | ||
14 | 14 | let f = 9 | |
15 | 15 | ||
16 | 16 | let g = ((1000 - f) - e) | |
17 | 17 | ||
18 | 18 | let h = 1750000 | |
19 | 19 | ||
20 | 20 | let i = 6 | |
21 | 21 | ||
22 | 22 | let j = 7 | |
23 | 23 | ||
24 | 24 | let k = 1440 | |
25 | 25 | ||
26 | 26 | let l = (height - h) | |
27 | 27 | ||
28 | 28 | let m = (fraction(10000000000, 1, l) + 6000) | |
29 | 29 | ||
30 | 30 | @Callable(n) | |
31 | 31 | func Deposit (o) = { | |
32 | 32 | let p = if ((size(n.payments) == 1)) | |
33 | 33 | then n.payments[0] | |
34 | 34 | else throw((("No Payments Attached Please Attach " + toBase58String(a)) + " Asset Only.")) | |
35 | 35 | let q = toBase58String(n.caller.bytes) | |
36 | 36 | let r = ((((m * p.amount) * o) / 365) / 1000) | |
37 | 37 | let s = (l * 100000) | |
38 | 38 | let t = (k * o) | |
39 | 39 | let u = (height + t) | |
40 | 40 | let v = { | |
41 | 41 | let w = getIntegerValue(this, "Total_Txns:") | |
42 | 42 | if ($isInstanceOf(w, "Int")) | |
43 | 43 | then { | |
44 | 44 | let x = w | |
45 | 45 | x | |
46 | 46 | } | |
47 | 47 | else 0 | |
48 | 48 | } | |
49 | 49 | let y = (v + 1) | |
50 | 50 | let z = { | |
51 | 51 | let w = getInteger(this, "Total_Burned_CODE:") | |
52 | 52 | if ($isInstanceOf(w, "Int")) | |
53 | 53 | then { | |
54 | 54 | let x = w | |
55 | 55 | x | |
56 | 56 | } | |
57 | 57 | else 0 | |
58 | 58 | } | |
59 | 59 | let A = (z + p.amount) | |
60 | 60 | let B = valueOrErrorMessage(getInteger(addressFromPublicKey(b), ("Deposit_height_Of_" + q)), "Your Address not Found on Staking DApp") | |
61 | 61 | let C = valueOrErrorMessage(getInteger(addressFromPublicKey(b), ("Total_Lock_Blocks_Of_" + q)), "Your Address not Found on Staking DApp") | |
62 | 62 | let D = (C - B) | |
63 | 63 | let E = { | |
64 | 64 | let w = getInteger(this, ("Deposit_Amount_Of_" + q)) | |
65 | 65 | if ($isInstanceOf(w, "Int")) | |
66 | 66 | then { | |
67 | 67 | let x = w | |
68 | 68 | x | |
69 | 69 | } | |
70 | 70 | else 0 | |
71 | 71 | } | |
72 | 72 | let F = (E + p.amount) | |
73 | 73 | let G = { | |
74 | 74 | let w = getInteger(this, ("No_Of_Deposits_" + q)) | |
75 | 75 | if ($isInstanceOf(w, "Int")) | |
76 | 76 | then { | |
77 | 77 | let x = w | |
78 | 78 | x | |
79 | 79 | } | |
80 | 80 | else 0 | |
81 | 81 | } | |
82 | 82 | let H = (G + 1) | |
83 | 83 | if ((h > height)) | |
84 | 84 | then throw((("DApp is Not Started Yet please Wait until " + toString((h - height))) + " blocks")) | |
85 | 85 | else if ((p.assetId != a)) | |
86 | 86 | then throw((("Incorrect asset attached, please attach " + toBase58String(a)) + " asset only")) | |
87 | 87 | else if ((i >= o)) | |
88 | 88 | then throw(((("Choose Locking days in between " + toString((i + 1))) + " to ") + toString(j))) | |
89 | 89 | else if ((o > j)) | |
90 | 90 | then throw(((((("You Entered days to " + toString(o)) + ", Please Enter no. of days in between ") + toString((i + 1))) + " to ") + toString(j))) | |
91 | 91 | else if ((100000 > p.amount)) | |
92 | 92 | then throw("Please Attach minimum 0.001 CODE Token To Issue More CODE Asset.") | |
93 | 93 | else if ((p.amount > s)) | |
94 | 94 | then throw((("You can attach maximum " + toString(s)) + "/10^8 CODE.")) | |
95 | 95 | else if ((p.amount > r)) | |
96 | 96 | then throw((((("Your Stake Output is lower than input, please increase no. of days (" + toString(r)) + "/") + toString(p.amount)) + ")/10^8 CODE.")) | |
97 | 97 | else if ((D != 129600)) | |
98 | 98 | then throw("You are Not Eligible to Mint CODE. It need minimum 90 Days Staking.") | |
99 | 99 | else if ((G == 1)) | |
100 | 100 | then throw("You Already Have an Active Staking, Please Wait until Mature.") | |
101 | 101 | 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>")] | |
102 | 102 | } | |
103 | 103 | ||
104 | 104 | ||
105 | 105 | ||
106 | 106 | @Callable(n) | |
107 | 107 | func Withdraw () = { | |
108 | 108 | let q = toBase58String(n.caller.bytes) | |
109 | 109 | let I = 1200000000000 | |
110 | 110 | let J = 24000000 | |
111 | 111 | let K = 19 | |
112 | 112 | let L = valueOrErrorMessage(getInteger(addressFromPublicKey(b), ("Deposit_Amount_Of_" + q)), "Your Address not Found on Staking DApp") | |
113 | 113 | let M = ((J - (fraction(L, 1000000, I) * 19)) / 10000) | |
114 | 114 | let N = getIntegerValue(this, ("Deposit_Amount_Of_" + q)) | |
115 | 115 | let O = (((getIntegerValue(this, ("Rewards_Of_" + q)) - N) * M) / 10000) | |
116 | 116 | let v = { | |
117 | 117 | let w = getIntegerValue(this, "Total_Txns:") | |
118 | 118 | if ($isInstanceOf(w, "Int")) | |
119 | 119 | then { | |
120 | 120 | let x = w | |
121 | 121 | x | |
122 | 122 | } | |
123 | 123 | else 0 | |
124 | 124 | } | |
125 | 125 | let y = (v + 1) | |
126 | 126 | let P = { | |
127 | 127 | let w = getIntegerValue(this, "Total_CODE_Claimed:") | |
128 | 128 | if ($isInstanceOf(w, "Int")) | |
129 | 129 | then { | |
130 | 130 | let x = w | |
131 | 131 | x | |
132 | 132 | } | |
133 | 133 | else 0 | |
134 | 134 | } | |
135 | 135 | let Q = (P + getIntegerValue(this, ("Rewards_Of_" + q))) | |
136 | 136 | let R = { | |
137 | 137 | let w = getIntegerValue(this, "Total_Issued_CODE:") | |
138 | 138 | if ($isInstanceOf(w, "Int")) | |
139 | 139 | then { | |
140 | 140 | let x = w | |
141 | 141 | x | |
142 | 142 | } | |
143 | 143 | else 0 | |
144 | 144 | } | |
145 | 145 | let S = (R + getIntegerValue(this, ("Rewards_Of_" + q))) | |
146 | 146 | let B = valueOrErrorMessage(getInteger(addressFromPublicKey(b), ("Deposit_height_Of_" + q)), "Your Address not Found on Staking DApp") | |
147 | 147 | let C = valueOrErrorMessage(getInteger(addressFromPublicKey(b), ("Total_Lock_Blocks_Of_" + q)), "Your Address not Found on Staking DApp") | |
148 | 148 | let D = (C - B) | |
149 | 149 | if ((getIntegerValue(this, ("Total_Lock_Blocks_Of_" + q)) > height)) | |
150 | 150 | 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.")) | |
151 | 151 | else if ((N == 0)) | |
152 | 152 | then throw("You Have Already Withdraw your CODE Amount.") | |
153 | 153 | else if ((D != 129600)) | |
154 | 154 | 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.") | |
155 | - | else [IntegerEntry("Total_Txns:", y), IntegerEntry("Total_CODE_Claimed:", Q), IntegerEntry("Total_Issued_CODE:", S), IntegerEntry("Fee_ | |
155 | + | else [IntegerEntry("Total_Txns:", y), IntegerEntry("Total_CODE_Claimed:", Q), IntegerEntry("Total_Issued_CODE:", S), IntegerEntry("Fee_%_Charge", M), IntegerEntry("Claim_Amount", O), Reissue(a, getIntegerValue(this, ("Rewards_Of_" + q)), true), ScriptTransfer(n.caller, (getIntegerValue(this, ("Rewards_Of_" + q)) - O), a), ScriptTransfer(addressFromPublicKey(c), O, 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>")] | |
156 | 156 | } | |
157 | 157 | ||
158 | 158 | ||
159 | 159 | @Verifier(T) | |
160 | 160 | func U () = sigVerify(T.bodyBytes, T.proofs[0], T.senderPublicKey) | |
161 | 161 |
github/deemru/w8io/169f3d6 51.75 ms ◑