tx · 5w5qFFFfoJFqSdygkDXopoCQ4wHQEf9kDjvvt99mTBPn

3Mq6mSfCYaGQkEHMAhobtjJGvb7xj1aiSBp:  -0.01400000 Waves

2024.03.16 11:49 [3020380] smart account 3Mq6mSfCYaGQkEHMAhobtjJGvb7xj1aiSBp > SELF 0.00000000 Waves

{ "type": 13, "id": "5w5qFFFfoJFqSdygkDXopoCQ4wHQEf9kDjvvt99mTBPn", "fee": 1400000, "feeAssetId": null, "timestamp": 1710578974605, "version": 2, "chainId": 84, "sender": "3Mq6mSfCYaGQkEHMAhobtjJGvb7xj1aiSBp", "senderPublicKey": "C5DMu2JvfbtJnPu4pyFYhyyeaYRS1RsnRnsgNFnkL55E", "proofs": [ "hPEhSgcyAHFdXTjNyRfugC15dMWDEFRxLUcTW6ALz1UdS6HMrXNkuEcjUVrQrgCEYwyWYVm1fXBDKY8gYthzxdV" ], "script": "base64:AAIFAAAAAAAAAA0IAhIAEgASAwoBARIAAAAACQAAAAAKQTRBQXNzZXRJRAEAAAAgcmq6+6Wxr2yowtuRELQMbFaAM1flDMDSVcM9IpA14LUAAAAAC1VTRENBc3NldElEAQAAACBERzHKId/28pwmyFb++GepfZ73s/AMiQVICZA1FOlN/wAAAAAMV0FWRVNBc3NldElEAQAAACDP/74B1d4jjFgihGpnkOPBwPYiuXsdK1Tqg2sFWwuhfgAAAAALQ09ERUFzc2V0SUQBAAAAIMO7WpkPv3V6MicEWfxW+TeI3Tjc6gp0OC8l37fTvNKgAAAAAApGZWVBZGRyZXNzAQAAACBSg9mgi9eQkjsz5eBARHIbc7Hg/F4fmB0sxZ6ySMfiIAAAAAAKZGV2QWRkcmVzcwEAAAAgcT857UGuwl6lKR6zURKH3pDKrZTlUMsXWQXYxcjWeBsAAAAADGFkbWluUHViS2V5MQEAAAAg/UGbBLHhsjFFb0b3YWn4seNHtEaYngIcscRj3mvW1T8AAAAADGFkbWluUHViS2V5MgEAAAAgcT857UGuwl6lKR6zURKH3pDKrZTlUMsXWQXYxcj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ktleTFTaWduZWQDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAMYWRtaW5QdWJLZXkxAAAAAAAAAAABAAAAAAAAAAAABAAAABJhZG1pblB1YktleTJTaWduZWQDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAQUAAAAMYWRtaW5QdWJLZXkyAAAAAAAAAAABAAAAAAAAAAAABAAAABJhZG1pblB1YktleTNTaWduZWQDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAgUAAAAMYWRtaW5QdWJLZXkzAAAAAAAAAAABAAAAAAAAAAAACQAAZwAAAAIJAABkAAAAAgkAAGQAAAACBQAAABJhZG1pblB1YktleTFTaWduZWQFAAAAEmFkbWluUHViS2V5MlNpZ25lZAUAAAASYWRtaW5QdWJLZXkzU2lnbmVkAAAAAAAAAAACrW4ntQ==", "height": 3020380, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5bhwxXKG1sgNRVT5UTh1NV8fWmWcbdSj1EzXG5qoXVT2 Next: none Full:
OldNewDifferences
1-{-# STDLIB_VERSION 6 #-}
1+{-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let a = Alias("bearwaves")
4+let a = base58'8hdsVCxPBVEmVUZyyX8Sd98Z9hU7Fny26W96sjKiTw8g'
55
6-let b = fromBase58String(getStringValue(this, "EATH_ID"))
6+let b = base58'5bXgvADuVoFdhtF5uKZAEiVdAo7ZCWw151L4yyf1PiES'
77
8-let c = base58'GKmJ6BchUgQfwKp4mp5eX8Y9xLioYRm6e1gDfFgdAcCr'
8+let c = base58'EzwaF58ssALcUCZ9FbyeD1GTSteoZAQZEDTqBAXHfq8y'
99
10-let d = base58'GKmJ6BchUgQfwKp4mp5eX8Y9xLioYRm6e1gDfFgdAcCr'
10+let d = base58'EB4CUQH4fHzzQt9YjcHtA6T7uosHNH9RnQKHgBdZHPCB'
1111
12-@Callable(e)
13-func IssueEATHToken () = {
14- let f = Issue("EATH", "EATH is a digital token backed by a 1:1 reserve of Waves tokens, meaning for every EATH token in circulation, there is one Waves token held in secure reserve. This reserve model aims to guarantee the stability and transparency of EATH's value.", 1, 8, true, unit, 0)
15- let g = calculateAssetId(f)
16- let h = valueOrElse(getIntegerValue(this, "EATHHardCap"), 0)
17- if ((h == 0))
18- then [f, Burn(g, 1), StringEntry("EATH_ID", toBase58String(g)), IntegerEntry("EATH/WAVES", 100000), IntegerEntry("EATHHardCap", 100000000000000), IntegerEntry("Total_Issued_EATH:", 0), IntegerEntry("Total_EATH_Reserve_In_WAVES:", 0)]
19- else throw("Token is Already Issued.")
12+let e = base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR'
13+
14+let f = base58'8d4zGuTjT3h67Z4DatzMXdXXW1GvoQhMTjwCGFxJuene'
15+
16+let g = base58'J3cAptAPQxVqpEz6Rch57JeKpbns48s1a6HoeQG9aX4J'
17+
18+let h = base58'8d4zGuTjT3h67Z4DatzMXdXXW1GvoQhMTjwCGFxJuene'
19+
20+let i = base58'3EeUjFz9BEjsqDnCjw5UeuZsjBTuKBQmbCiAw53phxrR'
21+
22+@Callable(j)
23+func IssueA4A () = {
24+ let k = value(j.payments[0])
25+ let l = toBase58String(j.caller.bytes)
26+ let m = getIntegerValue(this, "A4A/TN")
27+ let n = getIntegerValue(this, "A4AHardCap")
28+ let o = fraction(100000, k.amount, m)
29+ let p = getIntegerValue(this, "Total_Issued_A4A:")
30+ let q = (p + o)
31+ let r = (n - q)
32+ let s = getIntegerValue(this, "Total_A4A_Reserve_In_TN:")
33+ let t = (s + k.amount)
34+ let u = getIntegerValue(this, "A4A_Backup_Value_In_TN:")
35+ let v = fraction(100000, t, q)
36+ if (isDefined(k.assetId))
37+ then throw("Incorrect asset attached, please attach TN.")
38+ else if ((5000000 > k.amount))
39+ then throw("Please Attach minimum 0.05 TN To Issue A4A Asset.")
40+ else if ((q > n))
41+ then throw((((((("A4A Minting is about to reach the Hard Cap of " + toString(n)) + "/10^8 A4A. Please Reduce your Minting Order by ") + toString(r)) + " or put ") + toString((n - p))) + "/10^8"))
42+ else [IntegerEntry("Total_Issued_A4A:", q), IntegerEntry("Balance_Minting_A4A:", r), IntegerEntry("Total_A4A_Reserve_In_TN:", t), IntegerEntry("A4A_Backup_Value_In_TN:", v), StringEntry("message", "<h1>A4A Issued Successfully!</h1><br>"), Reissue(a, o, true), ScriptTransfer(j.caller, ((o * 990) / 1000), a), ScriptTransfer(addressFromPublicKey(e), ((o * 9) / 1000), a), ScriptTransfer(addressFromPublicKey(f), ((o * 1) / 1000), a)]
2043 }
2144
2245
2346
24-@Callable(e)
25-func IssueEATH () = {
26- let i = value(e.payments[0])
27- let j = toBase58String(e.caller.bytes)
28- let k = getIntegerValue(this, "EATH/WAVES")
29- let l = getIntegerValue(this, "EATHHardCap")
30- let m = valueOrElse(getInteger(this, "lease_amount"), 0)
31- let n = fraction(100000, i.amount, k)
32- let o = {
33- let p = getIntegerValue(this, "Total_Issued_EATH:")
34- if ($isInstanceOf(p, "Int"))
47+@Callable(j)
48+func Liquidate () = {
49+ let l = toBase58String(j.callerPublicKey)
50+ let k = value(j.payments[0])
51+ let p = getIntegerValue(this, "Total_Issued_A4A:")
52+ let w = getIntegerValue(this, "Total_Burned_A4A:")
53+ let q = (p - k.amount)
54+ let x = (w + k.amount)
55+ let s = getIntegerValue(this, "Total_A4A_Reserve_In_TN:")
56+ let u = getIntegerValue(this, "A4A_Backup_Value_In_TN:")
57+ let y = fraction(u, k.amount, 100000)
58+ let t = (s - y)
59+ let v = fraction(100000, t, q)
60+ if ((k.assetId != a))
61+ then throw("Kindly Deposit Only 8hdsVCxPBVEmVUZyyX8Sd98Z9hU7Fny26W96sjKiTw8g (A4A).")
62+ else if ((100000 > k.amount))
63+ then throw("Attach Amount must be greater than 0.001 A4A.")
64+ else [Burn(a, k.amount), IntegerEntry("Total_Issued_A4A:", q), IntegerEntry("Total_Burned_A4A:", x), IntegerEntry("Total_A4A_Reserve_In_TN:", t), IntegerEntry("A4A_Backup_Value_In_TN:", v), StringEntry("message", "<h1>A4A Liquidated Successfully!</h1><br>"), ScriptTransfer(j.caller, ((y * 990) / 1000), unit), ScriptTransfer(addressFromPublicKey(e), ((y * 9) / 1000), unit), ScriptTransfer(addressFromPublicKey(f), ((y * 1) / 1000), unit)]
65+ }
66+
67+
68+
69+@Callable(j)
70+func Deposit (z) = {
71+ let k = if ((size(j.payments) == 1))
72+ then j.payments[0]
73+ else throw("No payment attached, Please Attach A4A Token as per TIER in payment[1].")
74+ let l = toBase58String(j.caller.bytes)
75+ let A = 90
76+ let B = "LOCKED"
77+ let C = 99999999999
78+ let D = 599999999999
79+ let E = 1199999999999
80+ let F = 1200000000000
81+ let G = 1440
82+ let H = (G * z)
83+ let I = (height + H)
84+ let J = 7000
85+ let K = {
86+ let L = getInteger(this, "Staked_Amount")
87+ if ($isInstanceOf(L, "Int"))
3588 then {
36- let q = p
37- q
89+ let M = L
90+ M
3891 }
3992 else 0
4093 }
41- let r = (o + n)
42- let s = {
43- let p = getIntegerValue(this, "Total_EATH_Reserve_In_WAVES:")
44- if ($isInstanceOf(p, "Int"))
94+ let N = (K + k.amount)
95+ let O = {
96+ let L = getInteger(this, ("Deposit_Amount_Of_" + l))
97+ if ($isInstanceOf(L, "Int"))
4598 then {
46- let q = p
47- q
99+ let M = L
100+ M
48101 }
49102 else 0
50103 }
51- let t = (s + i.amount)
52- let u = (l - r)
53- let v = getIntegerValue(this, "EATH_Backup_Value_In_WAVES:")
54- let w = fraction(100000, t, r)
55- let x = ((n * 990) / 1000)
56- let y = ((n * 9) / 1000)
57- let z = ((n * 1) / 1000)
58- let A = x
59- let B = Lease(a, A)
60- let C = toBase58String(calculateLeaseId(B))
61- let D = LeaseCancel(fromBase58String(getStringValue(this, "lease_id")))
62- let E = (m + A)
63- let F = Lease(a, E)
64- let G = toBase58String(calculateLeaseId(F))
65- if (isDefined(i.assetId))
66- then throw("Incorrect asset attached, please attach WAVES.")
67- else if ((5000000 > i.amount))
68- then throw("Please Attach minimum 0.05 WAVES To Issue EATH Asset.")
69- else if ((r > l))
70- then throw((((((("EATH Minting is about to reach the Hard Cap of " + toString(l)) + "/10^8 EATH. Please Reduce your Minting Order by ") + toString(u)) + " or put ") + toString((l - o))) + "/10^8"))
71- else if ((m == 0))
72- then [IntegerEntry("Total_Issued_EATH:", r), IntegerEntry("Balance_Minting_EATH:", u), IntegerEntry("Total_EATH_Reserve_In_WAVES:", t), IntegerEntry("EATH_Backup_Value_In_WAVES:", w), StringEntry("message", "<h1>EATH Issued Successfully!</h1><br>"), Reissue(b, n, true), B, StringEntry("lease_id", C), IntegerEntry("lease_amount", A), ScriptTransfer(e.caller, x, b), ScriptTransfer(addressFromPublicKey(c), y, b), ScriptTransfer(addressFromPublicKey(d), z, b)]
73- else [IntegerEntry("Total_Issued_EATH:", r), IntegerEntry("Balance_Minting_EATH:", u), IntegerEntry("Total_EATH_Reserve_In_WAVES:", t), IntegerEntry("EATH_Backup_Value_In_WAVES:", w), StringEntry("message", "<h1>EATH Issued Successfully!</h1><br>"), Reissue(b, n, true), D, F, StringEntry("lease_id", G), IntegerEntry("lease_amount", E), ScriptTransfer(e.caller, x, b), ScriptTransfer(addressFromPublicKey(c), y, b), ScriptTransfer(addressFromPublicKey(d), z, b)]
104+ let P = (O + k.amount)
105+ if ((k.assetId != a))
106+ then throw((("Incorrect asset attached, please attach " + toBase58String(a)) + " only."))
107+ else if ((6 >= z))
108+ then throw("Choose Locking days in between 7 to 90.")
109+ else if ((z > A))
110+ then throw("You Entered days greater than 90 please Enter no. of days in between 7 to 90.")
111+ else if ((7700000000 > k.amount))
112+ then throw("Please Attach minimum 77 A4A To Achieve BRONZE TIER.")
113+ else if ((C >= k.amount))
114+ then [StringEntry(("Tier_Of_" + l), "BRONZE"), IntegerEntry(("Deposit_height_Of_" + l), height), IntegerEntry("Staked_Amount", N), IntegerEntry(("Deposit_Amount_Of_" + l), P), IntegerEntry(("Total_Lock_Blocks_Of_" + l), I), StringEntry(("Lock_Status_Of_" + l), B)]
115+ else if ((D >= k.amount))
116+ then [StringEntry(("Tier_Of_" + l), "SILVER"), IntegerEntry(("Deposit_height_Of_" + l), height), IntegerEntry("Staked_Amount", N), IntegerEntry(("Deposit_Amount_Of_" + l), P), IntegerEntry(("Total_Lock_Blocks_Of_" + l), I), StringEntry(("Lock_Status_Of_" + l), B)]
117+ else if ((E >= k.amount))
118+ then [StringEntry(("Tier_Of_" + l), "GOLD"), IntegerEntry(("Deposit_height_Of_" + l), height), IntegerEntry("Staked_Amount", N), IntegerEntry(("Deposit_Amount_Of_" + l), P), IntegerEntry(("Total_Lock_Blocks_Of_" + l), I), StringEntry(("Lock_Status_Of_" + l), B)]
119+ else if ((F == k.amount))
120+ then [StringEntry(("Tier_Of_" + l), "DIAMOND"), IntegerEntry(("Deposit_height_Of_" + l), height), IntegerEntry("Staked_Amount", N), IntegerEntry(("Deposit_Amount_Of_" + l), P), IntegerEntry(("Total_Lock_Blocks_Of_" + l), I), StringEntry(("Lock_Status_Of_" + l), B)]
121+ else throw("Please Choose a Range Between 77-12000.")
74122 }
75123
76124
77-@Verifier(H)
78-func I () = sigVerify(H.bodyBytes, H.proofs[0], H.senderPublicKey)
125+
126+@Callable(j)
127+func Withdraw () = {
128+ let l = toBase58String(j.caller.bytes)
129+ let Q = getIntegerValue(this, ("Deposit_Amount_Of_" + l))
130+ let R = getIntegerValue(this, "Staked_Amount")
131+ let S = 1000000
132+ let T = fraction(Q, S, R)
133+ let U = (R - Q)
134+ let V = (getIntegerValue(this, ("Total_Lock_Blocks_Of_" + l)) - getIntegerValue(this, ("Deposit_height_Of_" + l)))
135+ let W = {
136+ let L = getInteger(this, "Total_USDC_Claimed:")
137+ if ($isInstanceOf(L, "Int"))
138+ then {
139+ let M = L
140+ M
141+ }
142+ else 0
143+ }
144+ let X = (W + getIntegerValue(this, ("Rewards_Of_" + l)))
145+ if ((getIntegerValue(this, ("Total_Lock_Blocks_Of_" + l)) > height))
146+ then throw((((("Your " + toString(getIntegerValue(this, ("Deposit_Amount_Of_" + l)))) + " A4A are Under Lock. Consider last 8 digits as value after Decimals. Token will be Unlocked after ") + toString((getIntegerValue(this, ("Total_Lock_Blocks_Of_" + l)) - height))) + " blocks."))
147+ else if ((Q == 0))
148+ then throw("You Have Already Withdraw your Amount.")
149+ else if (if ((1200000000000 > Q))
150+ then (V == 129600)
151+ else false)
152+ then [ScriptTransfer(j.caller, getIntegerValue(this, ("Deposit_Amount_Of_" + l)), a), ScriptTransfer(j.caller, fraction(assetBalance(this, b), T, S), b), ScriptTransfer(j.caller, fraction(assetBalance(this, c), T, S), c), ScriptTransfer(j.caller, ((Q * 3) / 1000), d), StringEntry(("Tier_Of_" + l), "NONE"), IntegerEntry(("Deposit_height_Of_" + l), 0), IntegerEntry("Staked_Amount", U), IntegerEntry(("Deposit_Amount_Of_" + l), 0), IntegerEntry(("Total_Lock_Blocks_Of_" + l), 0), StringEntry(("Lock_Status_Of_" + l), "UNLOCK"), IntegerEntry(("Rewards_Of_" + l), 0), IntegerEntry("Total_USDC_Claimed:", X)]
153+ else if (if ((Q >= 1200000000000))
154+ then (V == 129600)
155+ else false)
156+ then [ScriptTransfer(j.caller, getIntegerValue(this, ("Deposit_Amount_Of_" + l)), a), ScriptTransfer(j.caller, fraction(assetBalance(this, b), T, S), b), ScriptTransfer(j.caller, fraction(assetBalance(this, c), T, S), c), ScriptTransfer(j.caller, ((1200000000000 * 3) / 1000), d), StringEntry(("Tier_Of_" + l), "NONE"), IntegerEntry(("Deposit_height_Of_" + l), 0), IntegerEntry("Staked_Amount", U), IntegerEntry(("Deposit_Amount_Of_" + l), 0), IntegerEntry(("Total_Lock_Blocks_Of_" + l), 0), StringEntry(("Lock_Status_Of_" + l), "UNLOCK"), IntegerEntry(("Rewards_Of_" + l), 0), IntegerEntry("Total_USDC_Claimed:", X)]
157+ else [ScriptTransfer(j.caller, getIntegerValue(this, ("Deposit_Amount_Of_" + l)), a), ScriptTransfer(j.caller, fraction(assetBalance(this, b), T, S), b), ScriptTransfer(j.caller, fraction(assetBalance(this, c), T, S), c), StringEntry(("Tier_Of_" + l), "NONE"), IntegerEntry(("Deposit_height_Of_" + l), 0), IntegerEntry("Staked_Amount", U), IntegerEntry(("Deposit_Amount_Of_" + l), 0), IntegerEntry(("Total_Lock_Blocks_Of_" + l), 0), StringEntry(("Lock_Status_Of_" + l), "UNLOCK"), IntegerEntry(("Rewards_Of_" + l), 0), IntegerEntry("Total_USDC_Claimed:", X)]
158+ }
159+
160+
161+@Verifier(Y)
162+func Z () = {
163+ let L = Y
164+ let aa = if (sigVerify(Y.bodyBytes, Y.proofs[0], g))
165+ then 1
166+ else 0
167+ let ab = if (sigVerify(Y.bodyBytes, Y.proofs[1], h))
168+ then 1
169+ else 0
170+ let ac = if (sigVerify(Y.bodyBytes, Y.proofs[2], i))
171+ then 1
172+ else 0
173+ (((aa + ab) + ac) >= 2)
174+ }
79175

github/deemru/w8io/026f985 
35.15 ms