tx · HM9QLwmdKTGUFbfe7L5EqBZWnEMPDkLpCjAQjKAC5Ct7

3N3b5wban4PEUuND6PxSbTvoekc66fss78g:  -0.14000000 Waves

2021.10.29 09:10 [1767230] smart account 3N3b5wban4PEUuND6PxSbTvoekc66fss78g > SELF 0.00000000 Waves

{ "type": 13, "id": "HM9QLwmdKTGUFbfe7L5EqBZWnEMPDkLpCjAQjKAC5Ct7", "fee": 14000000, "feeAssetId": null, "timestamp": 1635487869599, "version": 2, "chainId": 84, "sender": "3N3b5wban4PEUuND6PxSbTvoekc66fss78g", "senderPublicKey": "DkMBTSHqT9hKVK1joeyL9DWKdzMAiCYZtYVkMPUx4Zwq", "proofs": [ "5QXChAaGBQdTjnNpHzz8JMN73WRrFUsMjLVD2r7UtvNvrvBfPrMh5YTvgAM3H4g7V1Zs8UzYkEUXA3HgvaeyNi88" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAADAAAAAARa2V5QWN0aXZhdGVIZWlnaHQCAAAAD2FjdGl2YXRlX2hlaWdodAAAAAAPa2V5RmluaXNoSGVpZ2h0AgAAAA1maW5pc2hfaGVpZ2h0AAAAAA5hY3RpdmF0ZUhlaWdodAkBAAAAEUBleHRyTmF0aXZlKDEwNTApAAAAAgUAAAAEdGhpcwUAAAARa2V5QWN0aXZhdGVIZWlnaHQAAAAADGZpbmlzaEhlaWdodAkBAAAAEUBleHRyTmF0aXZlKDEwNTApAAAAAgUAAAAEdGhpcwUAAAAPa2V5RmluaXNoSGVpZ2h0AAAAAARFTk5PAQAAACAVu9xX04Dqsv7neb8N5XqfEZgi74hev1uuuc/fa0g3cAAAAAAYa2V5VXNlckVOTk9DbGFpbWVkQW1vdW50AgAAABRfRU5OT19jbGFpbWVkX2Ftb3VudAAAAAAca2V5VXNlckVOTk9MYXN0Q2xhaW1lZEFtb3VudAIAAAAZX0VOTk9fbGFzdF9jbGFpbWVkX2Ftb3VudAAAAAAMYWRtaW5QdWJLZXkxAQAAACC9ZwkrDA/32sIX2Vu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VkAAAAAAAAAAACk+HnXA==", "height": 1767230, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FtQ99f4gaWUZqeKktSpjHSF9kmna88E29bujTT3eAuVC Next: none Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4+let a = "activate_height"
5+
6+let b = "finish_height"
7+
8+let c = getIntegerValue(this, a)
9+
10+let d = getIntegerValue(this, b)
11+
12+let e = base58'2Tqhz5PWbkijnzYpdLxLDFfVDw5ALQWm2rmxQ79ooMRZ'
13+
14+let f = "_ENNO_claimed_amount"
15+
16+let g = "_ENNO_last_claimed_amount"
17+
18+let h = base58'DkMBTSHqT9hKVK1joeyL9DWKdzMAiCYZtYVkMPUx4Zwq'
19+
20+let i = base58'DkMBTSHqT9hKVK1joeyL9DWKdzMAiCYZtYVkMPUx4Zwq'
21+
22+let j = base58'DkMBTSHqT9hKVK1joeyL9DWKdzMAiCYZtYVkMPUx4Zwq'
23+
24+func k (l) = {
25+ let m = getInteger(this, ("share_" + toString(l)))
26+ let n = {
27+ let o = m
28+ if ($isInstanceOf(o, "Int"))
29+ then {
30+ let p = o
31+ p
32+ }
33+ else if ($isInstanceOf(o, "Unit"))
34+ then {
35+ let p = o
36+ throw("Only early liquidity providers can call this function")
37+ }
38+ else throw("Match error")
39+ }
40+ n
41+ }
442
543
44+func q (l) = {
45+ let r = getInteger(this, (toString(l) + f))
46+ let s = {
47+ let o = r
48+ if ($isInstanceOf(o, "Int"))
49+ then {
50+ let p = o
51+ p
52+ }
53+ else if ($isInstanceOf(o, "Unit"))
54+ then {
55+ let p = o
56+ 0
57+ }
58+ else throw("Match error")
59+ }
60+ s
61+ }
62+
63+
64+@Callable(t)
65+func claimENNO () = {
66+ let u = (d - c)
67+ let v = if ((d > height))
68+ then height
69+ else d
70+ let w = k(t.caller)
71+ if ((c > height))
72+ then throw("Early Bird period has not been started yet.")
73+ else {
74+ let x = q(t.caller)
75+ let y = (fraction((v - c), w, u) - x)
76+ let z = (x + y)
77+[ScriptTransfer(t.caller, y, e), IntegerEntry((toString(t.caller) + f), z), IntegerEntry((toString(t.caller) + g), y)]
78+ }
79+ }
80+
81+
82+@Verifier(A)
83+func B () = {
84+ let o = A
85+ if ($isInstanceOf(o, "DataTransaction"))
86+ then {
87+ let C = o
88+ sigVerify(A.bodyBytes, A.proofs[0], A.senderPublicKey)
89+ }
90+ else {
91+ let D = if (sigVerify(A.bodyBytes, A.proofs[0], h))
92+ then 1
93+ else 0
94+ let E = if (sigVerify(A.bodyBytes, A.proofs[1], i))
95+ then 1
96+ else 0
97+ let F = if (sigVerify(A.bodyBytes, A.proofs[2], j))
98+ then 1
99+ else 0
100+ (((D + E) + F) >= 2)
101+ }
102+ }
6103

github/deemru/w8io/026f985 
40.50 ms