tx · 8tmedBdhtCMebd4vPmNqpxxH8cwreeGjQADn176niW8b 3N34Zi5VD4m9az4kEXWDJngkMHMTpqLcoqo: -0.01400000 Waves 2021.10.16 20:13 [1749126] smart account 3N34Zi5VD4m9az4kEXWDJngkMHMTpqLcoqo > SELF 0.00000000 Waves
{ "type": 13, "id": "8tmedBdhtCMebd4vPmNqpxxH8cwreeGjQADn176niW8b", "fee": 1400000, "feeAssetId": null, "timestamp": 1634404416469, "version": 2, "chainId": 84, "sender": "3N34Zi5VD4m9az4kEXWDJngkMHMTpqLcoqo", "senderPublicKey": "AmXrJ1inc5jpKhf6D9aDcRU8QWHZXBJdBBvz9VsKDe9x", "proofs": [ "2DL99SSzLwWq5sEyTngptbaZasvYRA9d3y3RvBgNpnXvesMmSUNwwFNbeGJFiCYw3a7ND1bgcaE4N6WBJVSfhRiV" ], "script": "base64:AAIEAAAAAAAAAAkIAhIDCgEBEgAAAAAPAAAAAAtDT0RFQXNzZXRJRAEAAAAgkmB2qfKrqGeDE5s+bUmRW9TL3ErNp4dEODxuXgzu+JEAAAAAC1N0YWtpbmdEYXBwAQAAACCjtaSeUVhAbk0T+akFnLGoDh+X4aR50o/42ilEuU4EFgAAAAASVHJlYXN1cnlGZWVBZGRyZXNzAQAAACBSg9mgi9eQkjsz5eBARHIbc7Hg/F4fmB0sxZ6ySMfiIAAAAAAKZGV2QWRkcmVzcwEAAAAgcT857UGuwl6lKR6zURKH3pDKrZTlUMsXWQXYxcjWeBsAAAAABmRldkZlZQAAAAAAAAAAAQAAAAALVHJlYXN1cnlGZWUAAAAAAAAAAAkAAAAACnVzZXJhbW91bnQJAABlAAAAAgkAAGUAAAACAAAAAAAAAAPoBQAAAAtUcmVhc3VyeUZlZQUAAAAGZGV2RmVlAAAAAAtTdGFydEhlaWdodAAAAAAAABaxaAAAAAAPbWluaW11bWxvY2tkYXlzAAAAAAAAAAAGAAAAAA9tYXhpbXVtbG9ja2RheXMAAAAAAAAAAAkAAAAABm9uZWRheQAAAA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fT2ZfBQAAAApjdXJyZW50S2V5BQAAAAZkZXZGZWUAAAAAAAAAA+gFAAAAC0NPREVBc3NldElECQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAICAAAAD05vX09mX0RlcG9zaXRzXwUAAAAKY3VycmVudEtleQAAAAAAAAAAAAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACAgAAABJEZXBvc2l0X2hlaWdodF9PZl8FAAAACmN1cnJlbnRLZXkAAAAAAAAAAAAJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgIAAAAVVG90YWxfTG9ja19CbG9ja3NfT2ZfBQAAAApjdXJyZW50S2V5AAAAAAAAAAAACQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAICAAAAEkRlcG9zaXRfQW1vdW50X09mXwUAAAAKY3VycmVudEtleQAAAAAAAAAAAAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACAgAAAAtSZXdhcmRzX09mXwUAAAAKY3VycmVudEtleQAAAAAAAAAAAAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAAAdtZXNzYWdlAgAAACg8aDE+Q09ERSBVblN0YWtlZCBTdWNjZXNzZnVsbHkhPC9oMT48YnI+BQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleea7Wxc=", "height": 1749126, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6Lhm7hAJBUYxRDXskVtf9G6KWAk3wbw1jwZT9MMxusdF Next: C1rAx1PUirYAQ46tQjnzMDyAVMv59yxJAUYw3MUm5jqC Diff:
Old | New | Differences | |
---|---|---|---|
19 | 19 | ||
20 | 20 | let i = 6 | |
21 | 21 | ||
22 | - | let j = | |
22 | + | let j = 9 | |
23 | 23 | ||
24 | 24 | let k = 1440 | |
25 | 25 |
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 = 1487208 | |
19 | 19 | ||
20 | 20 | let i = 6 | |
21 | 21 | ||
22 | - | let j = | |
22 | + | let j = 9 | |
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 | let n = { | |
31 | 31 | let o = getIntegerValue(this, "Total_Txns:") | |
32 | 32 | if ($isInstanceOf(o, "Int")) | |
33 | 33 | then { | |
34 | 34 | let p = o | |
35 | 35 | p | |
36 | 36 | } | |
37 | 37 | else 0 | |
38 | 38 | } | |
39 | 39 | ||
40 | 40 | let q = (n + 1) | |
41 | 41 | ||
42 | 42 | @Callable(r) | |
43 | 43 | func Deposit (s) = { | |
44 | 44 | let t = if ((size(r.payments) == 1)) | |
45 | 45 | then r.payments[0] | |
46 | 46 | else throw((("No Payments Attached Please Attach " + toBase58String(a)) + " Asset Only.")) | |
47 | 47 | let u = toBase58String(r.caller.bytes) | |
48 | 48 | let v = ((((m * t.amount) * s) / 365) / 1000) | |
49 | 49 | let w = (l * 100000) | |
50 | 50 | let x = (k * s) | |
51 | 51 | let y = (height + x) | |
52 | 52 | let z = { | |
53 | 53 | let o = getInteger(this, "Total_Burned_CODE:") | |
54 | 54 | if ($isInstanceOf(o, "Int")) | |
55 | 55 | then { | |
56 | 56 | let p = o | |
57 | 57 | p | |
58 | 58 | } | |
59 | 59 | else 0 | |
60 | 60 | } | |
61 | 61 | let A = (z + t.amount) | |
62 | 62 | let B = valueOrErrorMessage(getInteger(addressFromPublicKey(b), ("Deposit_height_Of_" + u)), "Your Address not Found on Staking DApp") | |
63 | 63 | let C = valueOrErrorMessage(getInteger(addressFromPublicKey(b), ("Total_Lock_Blocks_Of_" + u)), "Your Address not Found on Staking DApp") | |
64 | 64 | let D = (C - B) | |
65 | 65 | let E = { | |
66 | 66 | let o = getInteger(this, ("Deposit_Amount_Of_" + u)) | |
67 | 67 | if ($isInstanceOf(o, "Int")) | |
68 | 68 | then { | |
69 | 69 | let p = o | |
70 | 70 | p | |
71 | 71 | } | |
72 | 72 | else 0 | |
73 | 73 | } | |
74 | 74 | let F = (E + t.amount) | |
75 | 75 | let G = { | |
76 | 76 | let o = getInteger(this, ("No_Of_Deposits_" + u)) | |
77 | 77 | if ($isInstanceOf(o, "Int")) | |
78 | 78 | then { | |
79 | 79 | let p = o | |
80 | 80 | p | |
81 | 81 | } | |
82 | 82 | else 0 | |
83 | 83 | } | |
84 | 84 | let H = (G + 1) | |
85 | 85 | if ((h > height)) | |
86 | 86 | then throw((("DApp is Not Started Yet please Wait until " + toString((h - height))) + " blocks")) | |
87 | 87 | else if ((t.assetId != a)) | |
88 | 88 | then throw((("Incorrect asset attached, please attach " + toBase58String(a)) + " asset only")) | |
89 | 89 | else if ((i >= s)) | |
90 | 90 | then throw(((("Choose Locking days in between " + toString((i + 1))) + " to ") + toString(j))) | |
91 | 91 | else if ((s > j)) | |
92 | 92 | then throw(((((("You Entered days to " + toString(s)) + ", Please Enter no. of days in between ") + toString((i + 1))) + " to ") + toString(j))) | |
93 | 93 | else if ((100000 > t.amount)) | |
94 | 94 | then throw("Please Attach minimum 0.001 CODE Token To Issue More CODE Asset.") | |
95 | 95 | else if ((t.amount > w)) | |
96 | 96 | then throw((("You can attach maximum " + toString(w)) + "/10^8 CODE.")) | |
97 | 97 | else if ((t.amount > v)) | |
98 | 98 | then throw((((("Your Stake Output is lower than input, please increase no. of days (" + toString(v)) + "/") + toString(t.amount)) + ")/10^8 CODE.")) | |
99 | 99 | else if ((D != 129600)) | |
100 | 100 | then throw("You are Not Eligible to Mint CODE. It need minimum 90 Days Staking.") | |
101 | 101 | else if ((G == 1)) | |
102 | 102 | then throw("You Already Have an Active Staking, Please Wait until Mature.") | |
103 | 103 | 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>")] | |
104 | 104 | } | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | ||
108 | 108 | @Callable(r) | |
109 | 109 | func Withdraw () = { | |
110 | 110 | let u = toBase58String(r.caller.bytes) | |
111 | 111 | let I = getIntegerValue(this, ("Deposit_Amount_Of_" + u)) | |
112 | 112 | let J = { | |
113 | 113 | let o = getIntegerValue(this, "Total_CODE_Claimed:") | |
114 | 114 | if ($isInstanceOf(o, "Int")) | |
115 | 115 | then { | |
116 | 116 | let p = o | |
117 | 117 | p | |
118 | 118 | } | |
119 | 119 | else 0 | |
120 | 120 | } | |
121 | 121 | let K = (J + getIntegerValue(this, ("Rewards_Of_" + u))) | |
122 | 122 | let L = { | |
123 | 123 | let o = getIntegerValue(this, "Total_Issued_CODE:") | |
124 | 124 | if ($isInstanceOf(o, "Int")) | |
125 | 125 | then { | |
126 | 126 | let p = o | |
127 | 127 | p | |
128 | 128 | } | |
129 | 129 | else 0 | |
130 | 130 | } | |
131 | 131 | let M = (L + getIntegerValue(this, ("Rewards_Of_" + u))) | |
132 | 132 | if ((getIntegerValue(this, ("Total_Lock_Blocks_Of_" + u)) > height)) | |
133 | 133 | then throw((((("Your " + toString(getIntegerValue(this, ("Rewards_Of_" + u)))) + "/10^8 CODE are Still Maturing. Token will be Unlocked after ") + toString((getIntegerValue(this, ("Total_Lock_Blocks_Of_" + u)) - height))) + " blocks.")) | |
134 | 134 | else if ((I == 0)) | |
135 | 135 | then throw("You Have Already Withdraw your CODE Amount.") | |
136 | 136 | 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(("No_Of_Deposits_" + u), 0), IntegerEntry(("Deposit_height_Of_" + u), 0), IntegerEntry(("Total_Lock_Blocks_Of_" + u), 0), IntegerEntry(("Deposit_Amount_Of_" + u), 0), IntegerEntry(("Rewards_Of_" + u), 0), StringEntry("message", "<h1>CODE UnStaked Successfully!</h1><br>")] | |
137 | 137 | } | |
138 | 138 | ||
139 | 139 | ||
140 | 140 | @Verifier(N) | |
141 | 141 | func O () = sigVerify(N.bodyBytes, N.proofs[0], N.senderPublicKey) | |
142 | 142 |
github/deemru/w8io/169f3d6 43.96 ms ◑