tx · FRQoNFT4ZazKBrfqNZEoa8zF8UVVrAPZ2C6JMwa1oGif

3N4vPEuMkXveuFYFohFsZaPMdbbiP24T1F7:  -0.01400000 Waves

2023.09.06 18:08 [2743675] smart account 3N4vPEuMkXveuFYFohFsZaPMdbbiP24T1F7 > SELF 0.00000000 Waves

{ "type": 13, "id": "FRQoNFT4ZazKBrfqNZEoa8zF8UVVrAPZ2C6JMwa1oGif", "fee": 1400000, "feeAssetId": null, "timestamp": 1694012873824, "version": 2, "chainId": 84, "sender": "3N4vPEuMkXveuFYFohFsZaPMdbbiP24T1F7", "senderPublicKey": "2paZxKSEp48rdM6xb5j15ZN3hHbBLxSQmsuG1HnK5sPp", "proofs": [ "sF8PgyYJbxjy7nQ6egjgGV3U29c4jb2z7TPw2wf6k4cGtzjm61enoLJR9dz1BV9CKaodmbjsnNCaqzBZHoVWFjC" ], "script": "base64:AAIFAAAAAAAAACAIAhIHCgUIAQgYARIDCgEBEgQKAgEBEgMKAQQSAwoBAQAAAA4AAAAAEGN1cnJlbnRMb2NrSWRLZXkCAAAADWN1cnJlbnRMb2NrSWQAAAAAEGFkbWluQ29udHJhY3RLZXkCAAAADWFkbWluQ29udHJhY3QAAAAAE3RyZWFzdXJ5Q29udHJhY3RLZXkCAAAAEHRyZWFzdXJ5Q29udHJhY3QAAAAADGlzRnJlZXplZEtleQIAAAAJaXNGcmVlemVkAAAAABBpc0NvbnN0cnVjdGVkS2V5AgAAAA1pc0NvbnN0cnVjdGVkAAAAAAx2ZXJpZmllcnNLZXkCAAAACXZlcmlmaWVycwAAAAAQdmVyaWZpZXJzRGF0YUtleQIAAAANdmVyaWZpZXJzRGF0YQAAAAARdW5sb2NrRmVlQmFzaXNLZXkCAAAADnVubG9ja0ZlZUJhc2lzAAAAAANTRVACAAAAAl9fAAAAAAZNVUxUMTAAAAAAAlQL5AABAAAACWFzUGF5bWVudAAAAAEAAAABdgQAAAAHJG1hdGNoMAUAAAABdgMJAAABAAAAAgUAAAAHJG1hdGN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AGQAAAACBQAAABR2YWxpZGF0ZWRQcm9vZnNDb3VudAUAAAAKaXNWZXJpZmllZAkAAGQAAAACBQAAABJjdXJyZW50UHJvb2ZzSW5kZXgAAAAAAAAAAAEEAAAADnZhbGlkYXRpb25EYXRhCgAAAAACJGwFAAAACXZlcmlmaWVycwoAAAAAAiRzCQABkAAAAAEFAAAAAiRsCgAAAAAFJGFjYzAJAAUUAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAoBAAAABSRmMF8xAAAAAgAAAAIkYQAAAAIkaQMJAABnAAAAAgUAAAACJGkFAAAAAiRzBQAAAAIkYQkBAAAAA3N1bQAAAAIFAAAAAiRhCQABkQAAAAIFAAAAAiRsBQAAAAIkaQoBAAAABSRmMF8yAAAAAgAAAAIkYQAAAAIkaQMJAABnAAAAAgUAAAACJGkFAAAAAiRzBQAAAAIkYQkAAAIAAAABAgAAABNMaXN0IHNpemUgZXhjZWVkcyA4CQEAAAAFJGYwXzIAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACBQAAAAUkYWNjMAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAgAAAAAAAAAAAwAAAAAAAAAABAAAAAAAAAAABQAAAAAAAAAABgAAAAAAAAAABwAAAAAAAAAACAkAAGcAAAACCAUAAAAOdmFsaWRhdGlvbkRhdGEAAAACXzEFAAAAEXZlcmlmaWVyc1JlcXVpcmVkCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleZdnd84=", "height": 2743675, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5UZpAdzRdnE8NNLnMoucXr3ArD9P112wskTZLCiyabpk Next: 9b5exMFNRUtihgs25cPNsewaJ4BqYGftWnieqVL427qU Diff:
OldNewDifferences
130130 else fromBase58String(U)
131131 let Y = x(s)
132132 let Z = (s - Y)
133+ let C = getStringValue(c)
133134 let aa = [StringEntry(M, W), ScriptTransfer(z.caller, Z, X)]
134135 if ((Y > 0))
135- then ScriptTransfer(z.caller, Y, X) :: aa
136+ then ScriptTransfer(Address(fromBase58String(C)), Y, X) :: aa
136137 else aa
137138 }
138139 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "currentLockId"
55
66 let b = "adminContract"
77
88 let c = "treasuryContract"
99
1010 let d = "isFreezed"
1111
1212 let e = "isConstructed"
1313
1414 let f = "verifiers"
1515
1616 let g = "verifiersData"
1717
1818 let h = "unlockFeeBasis"
1919
2020 let i = "__"
2121
2222 let j = 10000000000
2323
2424 func k (l) = {
2525 let m = l
2626 if ($isInstanceOf(m, "AttachedPayment"))
2727 then {
2828 let n = m
2929 n
3030 }
3131 else throw("fail to cast into AttachedPayment")
3232 }
3333
3434
3535 func o (l) = {
3636 let m = l
3737 if ($isInstanceOf(m, "ByteVector"))
3838 then {
3939 let n = m
4040 n
4141 }
4242 else throw("fail to cast into ByteVector")
4343 }
4444
4545
4646 func p (q,r,s,t) = {
4747 let u = (height - q)
4848 if ((u >= r))
4949 then (s - t)
5050 else {
5151 let v = fraction(s, j, r, HALFUP)
5252 let w = fraction(v, u, j)
5353 (w - t)
5454 }
5555 }
5656
5757
5858 func x (s) = {
5959 let y = getIntegerValue(h)
6060 if ((y == 0))
6161 then 0
6262 else fraction(fraction(s, j, 1000, HALFUP), y, j, HALFUP)
6363 }
6464
6565
6666 @Callable(z)
6767 func constructor (A,B,C,D,E) = if (isDefined(getBoolean(e)))
6868 then throw("Constructor can be called just once")
6969 else {
7070 let F = size(D)
7171 if ((F > 8))
7272 then throw("Max verifiers number is 8")
7373 else {
7474 let G = makeString(D, i)
7575 [StringEntry(b, A), IntegerEntry(a, 0), BooleanEntry(d, false), BooleanEntry(e, true), IntegerEntry(h, B), StringEntry(c, C), StringEntry(f, G), StringEntry(g, ((toString(F) + i) + toString(E)))]
7676 }
7777 }
7878
7979
8080
8181 @Callable(z)
8282 func lock (H) = if (getBooleanValue(d))
8383 then throw("Contract operations is suspended")
8484 else {
8585 let I = k(z.payments[0])
8686 if ((0 >= I.amount))
8787 then throw("Amount must be positive")
8888 else if ((1440 > H))
8989 then throw("24 hours is minimum vesting period")
9090 else {
9191 let J = getIntegerValue(a)
9292 let K = toBase58String(z.caller.bytes)
9393 let L = if (!(isDefined(I.assetId)))
9494 then "WAVES"
9595 else toBase58String(o(I.assetId))
9696 let M = ((K + i) + toString(J))
9797 let N = ((((((((toString(height) + i) + toString(I.amount)) + i) + "0") + i) + toString(H)) + i) + L)
9898 [StringEntry(M, N), IntegerEntry(a, (J + 1))]
9999 }
100100 }
101101
102102
103103
104104 @Callable(z)
105105 func withdraw (s,O) = if (getBooleanValue(d))
106106 then throw("Contract operations is suspended")
107107 else if (if ((0 >= s))
108108 then true
109109 else (0 > O))
110110 then throw("Amount must be positive or wrong lock id")
111111 else {
112112 let K = toBase58String(z.caller.bytes)
113113 let M = ((K + i) + toString(O))
114114 let P = split(getStringValue(M), i)
115115 if ((size(P) != 5))
116116 then throw("Internal error")
117117 else {
118118 let Q = P[0]
119119 let R = P[1]
120120 let S = P[2]
121121 let T = P[3]
122122 let U = P[4]
123123 let V = p(parseIntValue(Q), parseIntValue(T), parseIntValue(R), parseIntValue(S))
124124 if ((s > V))
125125 then throw(("Requested amount is two big, max available amount is: " + toString(V)))
126126 else {
127127 let W = ((((((((Q + i) + R) + i) + toString((parseIntValue(S) + s))) + i) + T) + i) + U)
128128 let X = if ((U == "WAVES"))
129129 then unit
130130 else fromBase58String(U)
131131 let Y = x(s)
132132 let Z = (s - Y)
133+ let C = getStringValue(c)
133134 let aa = [StringEntry(M, W), ScriptTransfer(z.caller, Z, X)]
134135 if ((Y > 0))
135- then ScriptTransfer(z.caller, Y, X) :: aa
136+ then ScriptTransfer(Address(fromBase58String(C)), Y, X) :: aa
136137 else aa
137138 }
138139 }
139140 }
140141
141142
142143
143144 @Callable(z)
144145 func freezeContract (ab) = {
145146 let ac = getStringValue(b)
146147 if ((ac != toBase58String(z.caller.bytes)))
147148 then throw("Only admin contract can call this function")
148149 else [BooleanEntry(d, !(ab))]
149150 }
150151
151152
152153
153154 @Callable(z)
154155 func changeFeeBasis (ad) = {
155156 let ac = getStringValue(b)
156157 if ((ac != toBase58String(z.caller.bytes)))
157158 then throw("Only admin contract can call this function")
158159 else if ((0 > ad))
159160 then throw("Fee basis can't be negative")
160161 else if ((ad > 1000))
161162 then throw("Fee basis can't be bigger than 10 percent")
162163 else [IntegerEntry(h, ad)]
163164 }
164165
165166
166167 @Verifier(ae)
167168 func af () = {
168169 let m = ae
169170 if (if ($isInstanceOf(m, "MassTransferTransaction"))
170171 then true
171172 else if ($isInstanceOf(m, "TransferTransaction"))
172173 then true
173174 else $isInstanceOf(m, "SetScriptTransaction"))
174175 then {
175176 let D = split(getStringValue(f), i)
176177 let ag = split(getStringValue(g), i)
177178 let F = parseIntValue(ag[0])
178179 let ah = parseIntValue(ag[1])
179180 func ai (aj,ak) = {
180181 let al = aj._1
181182 let am = aj._2
182183 let an = if (sigVerify(ae.bodyBytes, ae.proofs[am], fromBase58String(ak)))
183184 then 1
184185 else 0
185186 $Tuple2((al + an), (am + 1))
186187 }
187188
188189 let ao = {
189190 let ap = D
190191 let aq = size(ap)
191192 let ar = $Tuple2(0, 0)
192193 func as (at,au) = if ((au >= aq))
193194 then at
194195 else ai(at, ap[au])
195196
196197 func av (at,au) = if ((au >= aq))
197198 then at
198199 else throw("List size exceeds 8")
199200
200201 av(as(as(as(as(as(as(as(as(ar, 0), 1), 2), 3), 4), 5), 6), 7), 8)
201202 }
202203 (ao._1 >= ah)
203204 }
204205 else sigVerify(ae.bodyBytes, ae.proofs[0], ae.senderPublicKey)
205206 }
206207

github/deemru/w8io/026f985 
35.19 ms