tx · CTPTFkrBHKNV6X6hXHzV4eAMRUDzxD4cCvG2ojPU7Ba8

3MyLnBsVm9pw43K9eba5UExxb3efeai91KP:  -0.01300000 Waves

2022.12.23 10:58 [2372655] smart account 3MyLnBsVm9pw43K9eba5UExxb3efeai91KP > SELF 0.00000000 Waves

{ "type": 13, "id": "CTPTFkrBHKNV6X6hXHzV4eAMRUDzxD4cCvG2ojPU7Ba8", "fee": 1300000, "feeAssetId": null, "timestamp": 1671782287882, "version": 2, "chainId": 84, "sender": "3MyLnBsVm9pw43K9eba5UExxb3efeai91KP", "senderPublicKey": "E5xdZLn3yHKAn29pTyubhr9R1mkRGg9WKAcpPrCYFYHx", "proofs": [ "ac4Ykcm7Tmr1drAWyVDmkYYc2YpzcEjadDxbgYLRhWQUDJgYJKupdNJKsJLBTEEYSMbvD5hLS68fxTypMuXDZrt" ], "script": "base64:AAIFAAAAAAAAACYIAhIDCgEEEgkKBwgICAEBCAESAwoBARIDCgEBEgMKAQESAwoBAQAAABkAAAAACGRBcHBOYW1lAgAAABtDUk9XREZVTkRJTkdfT05fV0FWRVNfU0hBUkUAAAAABmFkbVB1YgEAAAAgwm0nmAhWSDqW+K/S1mvC+NNow4ujn8UBfOoCFti2ZnMAAAAABGJhbmsJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVSmfND+3V/r5U39jSnmcibSNaQF0ZS9OSgAAAAADHBheW1lbnRBc3NldAEAAAAgITlE6Sl8X8+K+DOSOPUkvq8L9vq51QOPRS3GqFK/+rkAAAAACGNsYWltS2V5AgAAAAdfY2xhaW1fAAAAAAZuZnRLZXkCAAAABV9uZnRfAAAAAAhuZnRJZEtleQIAAAAHX25mdElkXwAAAAALc2h1dERvd25LZXkCAAAACl9zaHV0RG93bl8AAAAACGV2ZW50S2V5AgAAAAdfZXZlbnRfAAAAAApwYXltZW50S2V5AgAAAAlfcGF5bWVudF8AAAAAEGdsb2JhbEV2ZW50SWRLZXkCAAAACV9ldmVudElkXwAAAAANc3RhcnRCbG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AAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIFAAAACXJlZnVuZEtleQUAAAAKY3VycmVudEtleQIAAAABXwkAAaQAAAABBQAAAAdldmVudElkBQAAAA13YWxsZXRQYXltZW50CQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgUAAAANd2FsbGV0UGF5bWVudAUAAAAMcGF5bWVudEFzc2V0BQAAAANuaWwJAAACAAAAAQIAAAAgY2FuIG5vdCByZWZ1bmQuIGNhbXBhaWduIHN1Y2Nlc3MAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tledm01G8=", "height": 2372655, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HFf3tcx8Ast8hnqN3DyBcCygiqQwqrR2pMkZdMktkcXv Next: GpHyuXyv86UWfJ2nLRbh26oJdt7CKwwP7Cq1jNLuzM8i Diff:
OldNewDifferences
1313
1414 let f = "_nft_"
1515
16-let g = "_shutDown_"
16+let g = "_nftId_"
1717
18-let h = "_event_"
18+let h = "_shutDown_"
1919
20-let i = "_payment_"
20+let i = "_event_"
2121
22-let j = "_eventId_"
22+let j = "_payment_"
2323
24-let k = "_startBlock_"
24+let k = "_eventId_"
2525
26-let l = "_endBlock_"
26+let l = "_startBlock_"
2727
28-let m = "_image_"
28+let m = "_endBlock_"
2929
30-let n = "_owner_"
30+let n = "_image_"
3131
32-let o = "_url_"
32+let o = "_owner_"
3333
34-let p = "_hardCap_"
34+let p = "_url_"
3535
36-let q = "_title_"
36+let q = "_hardCap_"
3737
38-let r = "_shareHolderCount_"
38+let r = "_title_"
3939
40-let s = "_totalPayment_"
40+let s = "_shareHolderCount_"
4141
42-let t = "_walletPayment_"
42+let t = "_totalPayment_"
4343
44-let u = "_refund_"
44+let u = "_walletPayment_"
4545
46-let v = 500000000
46+let v = "_refund_"
4747
48-let w = 100000000
48+let w = 500000000
4949
50-func x (y) = {
51- let z = d
52- if ((size(y.payments) == 0))
50+let x = 100000000
51+
52+func y (z) = {
53+ let A = d
54+ if ((size(z.payments) == 0))
5355 then throw("Payment not attached")
5456 else {
55- let A = y.payments[0]
56- let B = A.assetId
57- if ($isInstanceOf(B, "ByteVector"))
57+ let B = z.payments[0]
58+ let C = B.assetId
59+ if ($isInstanceOf(C, "ByteVector"))
5860 then {
59- let C = B
60- if ((C == z))
61- then (A.amount > 0)
61+ let D = C
62+ if ((D == A))
63+ then (B.amount > 0)
6264 else false
6365 }
6466 else throw("Wrong payment asset")
6668 }
6769
6870
69-@Callable(y)
70-func shutdown (D) = if ((y.callerPublicKey == b))
71- then [BooleanEntry(g, D)]
71+@Callable(z)
72+func shutdown (E) = if ((z.callerPublicKey == b))
73+ then [BooleanEntry(h, E)]
7274 else throw("you are not allow to do this!")
7375
7476
7577
76-@Callable(y)
77-func create (E,F,G,H,I,J,K) = {
78- let L = valueOrElse(getInteger(this, (h + j)), 0)
79- let M = (L + 1)
80- if ((y.callerPublicKey == b))
81- then [StringEntry(((h + m) + toString(M)), F), StringEntry(((h + n) + toString(M)), G), StringEntry(((h + q) + toString(M)), E), IntegerEntry(((h + k) + toString(M)), H), IntegerEntry(((h + l) + toString(M)), I), StringEntry(((h + o) + toString(M)), J), IntegerEntry(((h + p) + toString(M)), K), IntegerEntry((h + j), M)]
78+@Callable(z)
79+func create (F,G,H,I,J,K,L) = {
80+ let M = valueOrElse(getInteger(this, (i + k)), 0)
81+ let N = (M + 1)
82+ if ((z.callerPublicKey == b))
83+ then [StringEntry(((i + n) + toString(N)), G), StringEntry(((i + o) + toString(N)), H), StringEntry(((i + r) + toString(N)), F), IntegerEntry(((i + l) + toString(N)), I), IntegerEntry(((i + m) + toString(N)), J), StringEntry(((i + p) + toString(N)), K), IntegerEntry(((i + q) + toString(N)), L), IntegerEntry((i + k), N)]
8284 else throw("you are not allowed")
8385 }
8486
8587
8688
87-@Callable(y)
88-func funding (L) = {
89- let H = valueOrErrorMessage(getInteger(this, ((h + k) + toString(L))), "can not find event 1")
90- let I = valueOrErrorMessage(getInteger(this, ((h + l) + toString(L))), "can not find event 2")
91- let K = valueOrErrorMessage(getInteger(this, ((h + p) + toString(L))), "can not find event 3")
92- let N = toBase58String(y.caller.bytes)
93- let O = valueOrElse(getInteger(this, ((i + s) + toString(L))), 0)
94- let P = valueOrElse(getInteger(this, (((i + t) + N) + toString(L))), 0)
95- let Q = valueOrElse(getInteger(this, ((i + r) + toString(L))), 0)
96- if ((H > height))
89+@Callable(z)
90+func funding (M) = {
91+ let I = valueOrErrorMessage(getInteger(this, ((i + l) + toString(M))), "can not find event 1")
92+ let J = valueOrErrorMessage(getInteger(this, ((i + m) + toString(M))), "can not find event 2")
93+ let L = valueOrErrorMessage(getInteger(this, ((i + q) + toString(M))), "can not find event 3")
94+ let O = toBase58String(z.caller.bytes)
95+ let P = valueOrElse(getInteger(this, ((j + t) + toString(M))), 0)
96+ let Q = valueOrElse(getInteger(this, (((j + u) + O) + toString(M))), 0)
97+ let R = valueOrElse(getInteger(this, ((j + s) + toString(M))), 0)
98+ if ((I > height))
9799 then throw("crowdfunding not started")
98- else if ((height >= I))
100+ else if ((height >= J))
99101 then throw("crowdfunding is over")
100- else if ((O >= K))
102+ else if ((P >= L))
101103 then throw("crowdfunding is reached to hard cap. thank you for participating!")
102- else if (!(x(y)))
104+ else if (!(y(z)))
103105 then throw("you have to attach payment greater than zero")
104106 else {
105- let R = valueOrElse(getBoolean(this, g), true)
106- if (!(R))
107+ let S = valueOrElse(getBoolean(this, h), true)
108+ if (!(S))
107109 then throw("emergency shutdown")
108110 else {
109- let A = y.payments[0]
110- let S = A.amount
111- let T = fraction(S, v, w)
112- let U = (S - T)
113-[IntegerEntry(((i + r) + toString(L)), (Q + 1)), IntegerEntry(((i + s) + toString(L)), (O + U)), IntegerEntry(((((i + t) + N) + "_") + toString(L)), (P + U)), ScriptTransfer(c, T, d)]
111+ let B = z.payments[0]
112+ let T = B.amount
113+ let U = fraction(T, w, x)
114+ let V = (T - U)
115+[IntegerEntry(((j + s) + toString(M)), (R + 1)), IntegerEntry(((j + t) + toString(M)), (P + V)), IntegerEntry(((((j + u) + O) + "_") + toString(M)), (Q + V)), ScriptTransfer(c, U, d)]
114116 }
115117 }
116118 }
117119
118120
119121
120-@Callable(y)
121-func claim (L) = {
122- let G = valueOrErrorMessage(getInteger(this, ((h + n) + toString(L))), "can not find the owner")
123- let N = toBase58String(y.caller.bytes)
124- let H = valueOrErrorMessage(getInteger(this, ((h + k) + toString(L))), "can not find event 1")
125- let I = valueOrErrorMessage(getInteger(this, ((h + l) + toString(L))), "can not find event 2")
126- let K = valueOrErrorMessage(getInteger(this, ((h + p) + toString(L))), "can not find event 3")
127- let O = valueOrElse(getInteger(this, ((i + s) + toString(L))), 0)
128- let R = valueOrElse(getBoolean(this, g), true)
129- if ((toBytes(G) == y.caller.bytes))
122+@Callable(z)
123+func claim (M) = {
124+ let H = valueOrErrorMessage(getInteger(this, ((i + o) + toString(M))), "can not find the owner")
125+ let O = toBase58String(z.caller.bytes)
126+ let I = valueOrErrorMessage(getInteger(this, ((i + l) + toString(M))), "can not find event 1")
127+ let J = valueOrErrorMessage(getInteger(this, ((i + m) + toString(M))), "can not find event 2")
128+ let L = valueOrErrorMessage(getInteger(this, ((i + q) + toString(M))), "can not find event 3")
129+ let P = valueOrElse(getInteger(this, ((j + t) + toString(M))), 0)
130+ let S = valueOrElse(getBoolean(this, h), true)
131+ if ((toBytes(H) == z.caller.bytes))
130132 then throw("you are not able to claim")
131- else if (if (if ((height > I))
132- then (O >= K)
133+ else if (if (if ((height > J))
134+ then (P >= L)
133135 else false)
134- then R
136+ then S
135137 else false)
136- then [ScriptTransfer(y.caller, O, d), IntegerEntry((((e + N) + "_") + toString(L)), O)]
138+ then [ScriptTransfer(z.caller, P, d), IntegerEntry((((e + O) + "_") + toString(M)), P)]
137139 else throw("not allowed")
138140 }
139141
140142
141143
142-@Callable(y)
143-func claimShare (L) = {
144- let N = toBase58String(y.caller.bytes)
145- let H = valueOrErrorMessage(getInteger(this, ((h + k) + toString(L))), "can not find event 1")
146- let I = valueOrErrorMessage(getInteger(this, ((h + l) + toString(L))), "can not find event 2")
147- let K = valueOrErrorMessage(getInteger(this, ((h + p) + toString(L))), "can not find event 3")
148- let O = valueOrElse(getInteger(this, ((i + s) + toString(L))), 0)
149- let P = valueOrElse(getInteger(this, (((i + t) + N) + toString(L))), 0)
150- let T = fraction(P, w, O)
151- let V = ((toString(T) + "_") + toString(L))
152- let W = Issue(((a + "_") + toString(L)), V, 1, 0, false)
153- let X = calculateAssetId(W)
154- let R = valueOrElse(getBoolean(this, g), true)
155- if (if (if (if ((height > I))
156- then (K >= O)
144+@Callable(z)
145+func claimShare (M) = {
146+ let O = toBase58String(z.caller.bytes)
147+ let I = valueOrErrorMessage(getInteger(this, ((i + l) + toString(M))), "can not find event 1")
148+ let J = valueOrErrorMessage(getInteger(this, ((i + m) + toString(M))), "can not find event 2")
149+ let L = valueOrErrorMessage(getInteger(this, ((i + q) + toString(M))), "can not find event 3")
150+ let P = valueOrElse(getInteger(this, ((j + t) + toString(M))), 0)
151+ let Q = valueOrElse(getInteger(this, (((j + u) + O) + toString(M))), 0)
152+ let U = fraction(Q, x, P)
153+ let W = ((toString(U) + "_") + toString(M))
154+ let X = Issue(((a + "_") + toString(M)), W, 1, 0, false)
155+ let Y = calculateAssetId(X)
156+ let S = valueOrElse(getBoolean(this, h), true)
157+ if (if (if (if ((height > J))
158+ then (L >= P)
157159 else false)
158- then (P > 0)
160+ then (Q > 0)
159161 else false)
160- then R
162+ then S
161163 else false)
162- then [W, StringEntry((f + toString(L)), toBase58String(X)), ScriptTransfer(y.caller, 1, X)]
164+ then [X, StringEntry((f + toString(M)), toBase58String(Y)), ScriptTransfer(z.caller, 1, Y)]
163165 else throw("you are not able to claim NFT")
164166 }
165167
166168
167169
168-@Callable(y)
169-func refund (L) = {
170- let N = toBase58String(y.caller.bytes)
171- let H = valueOrErrorMessage(getInteger(this, ((h + k) + toString(L))), "can not find event 1")
172- let I = valueOrErrorMessage(getInteger(this, ((h + l) + toString(L))), "can not find event 2")
173- let K = valueOrErrorMessage(getInteger(this, ((h + p) + toString(L))), "can not find event 3")
174- let O = valueOrElse(getInteger(this, ((i + s) + toString(L))), 0)
175- let P = valueOrElse(getInteger(this, (((i + t) + N) + toString(L))), 0)
176- let R = valueOrElse(getBoolean(this, g), true)
177- if (if (if (if ((I > height))
178- then (O > K)
170+@Callable(z)
171+func refund (M) = {
172+ let O = toBase58String(z.caller.bytes)
173+ let I = valueOrErrorMessage(getInteger(this, ((i + l) + toString(M))), "can not find event 1")
174+ let J = valueOrErrorMessage(getInteger(this, ((i + m) + toString(M))), "can not find event 2")
175+ let L = valueOrErrorMessage(getInteger(this, ((i + q) + toString(M))), "can not find event 3")
176+ let P = valueOrElse(getInteger(this, ((j + t) + toString(M))), 0)
177+ let Q = valueOrElse(getInteger(this, (((j + u) + O) + toString(M))), 0)
178+ let S = valueOrElse(getBoolean(this, h), true)
179+ if (if (if (if ((J > height))
180+ then (P > L)
179181 else false)
180- then (P > 0)
182+ then (Q > 0)
181183 else false)
182- then R
184+ then S
183185 else false)
184- then [IntegerEntry((((u + N) + "_") + toString(L)), P), ScriptTransfer(y.caller, P, d)]
186+ then [IntegerEntry((((v + O) + "_") + toString(M)), Q), ScriptTransfer(z.caller, Q, d)]
185187 else throw("can not refund. campaign success")
186188 }
187189
188190
189-@Verifier(Y)
190-func Z () = sigVerify(Y.bodyBytes, Y.proofs[0], Y.senderPublicKey)
191+@Verifier(Z)
192+func aa () = sigVerify(Z.bodyBytes, Z.proofs[0], Z.senderPublicKey)
191193
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "CROWDFUNDING_ON_WAVES_SHARE"
55
66 let b = base58'E5xdZLn3yHKAn29pTyubhr9R1mkRGg9WKAcpPrCYFYHx'
77
88 let c = Address(base58'3N56PUABa6tqTXc4cv6QvntyMPb1KHnzC79')
99
1010 let d = base58'3Eh6z6z6ouFpWxGKrPaPnZwmDnDjgYHV6tqCmZf2G7tk'
1111
1212 let e = "_claim_"
1313
1414 let f = "_nft_"
1515
16-let g = "_shutDown_"
16+let g = "_nftId_"
1717
18-let h = "_event_"
18+let h = "_shutDown_"
1919
20-let i = "_payment_"
20+let i = "_event_"
2121
22-let j = "_eventId_"
22+let j = "_payment_"
2323
24-let k = "_startBlock_"
24+let k = "_eventId_"
2525
26-let l = "_endBlock_"
26+let l = "_startBlock_"
2727
28-let m = "_image_"
28+let m = "_endBlock_"
2929
30-let n = "_owner_"
30+let n = "_image_"
3131
32-let o = "_url_"
32+let o = "_owner_"
3333
34-let p = "_hardCap_"
34+let p = "_url_"
3535
36-let q = "_title_"
36+let q = "_hardCap_"
3737
38-let r = "_shareHolderCount_"
38+let r = "_title_"
3939
40-let s = "_totalPayment_"
40+let s = "_shareHolderCount_"
4141
42-let t = "_walletPayment_"
42+let t = "_totalPayment_"
4343
44-let u = "_refund_"
44+let u = "_walletPayment_"
4545
46-let v = 500000000
46+let v = "_refund_"
4747
48-let w = 100000000
48+let w = 500000000
4949
50-func x (y) = {
51- let z = d
52- if ((size(y.payments) == 0))
50+let x = 100000000
51+
52+func y (z) = {
53+ let A = d
54+ if ((size(z.payments) == 0))
5355 then throw("Payment not attached")
5456 else {
55- let A = y.payments[0]
56- let B = A.assetId
57- if ($isInstanceOf(B, "ByteVector"))
57+ let B = z.payments[0]
58+ let C = B.assetId
59+ if ($isInstanceOf(C, "ByteVector"))
5860 then {
59- let C = B
60- if ((C == z))
61- then (A.amount > 0)
61+ let D = C
62+ if ((D == A))
63+ then (B.amount > 0)
6264 else false
6365 }
6466 else throw("Wrong payment asset")
6567 }
6668 }
6769
6870
69-@Callable(y)
70-func shutdown (D) = if ((y.callerPublicKey == b))
71- then [BooleanEntry(g, D)]
71+@Callable(z)
72+func shutdown (E) = if ((z.callerPublicKey == b))
73+ then [BooleanEntry(h, E)]
7274 else throw("you are not allow to do this!")
7375
7476
7577
76-@Callable(y)
77-func create (E,F,G,H,I,J,K) = {
78- let L = valueOrElse(getInteger(this, (h + j)), 0)
79- let M = (L + 1)
80- if ((y.callerPublicKey == b))
81- then [StringEntry(((h + m) + toString(M)), F), StringEntry(((h + n) + toString(M)), G), StringEntry(((h + q) + toString(M)), E), IntegerEntry(((h + k) + toString(M)), H), IntegerEntry(((h + l) + toString(M)), I), StringEntry(((h + o) + toString(M)), J), IntegerEntry(((h + p) + toString(M)), K), IntegerEntry((h + j), M)]
78+@Callable(z)
79+func create (F,G,H,I,J,K,L) = {
80+ let M = valueOrElse(getInteger(this, (i + k)), 0)
81+ let N = (M + 1)
82+ if ((z.callerPublicKey == b))
83+ then [StringEntry(((i + n) + toString(N)), G), StringEntry(((i + o) + toString(N)), H), StringEntry(((i + r) + toString(N)), F), IntegerEntry(((i + l) + toString(N)), I), IntegerEntry(((i + m) + toString(N)), J), StringEntry(((i + p) + toString(N)), K), IntegerEntry(((i + q) + toString(N)), L), IntegerEntry((i + k), N)]
8284 else throw("you are not allowed")
8385 }
8486
8587
8688
87-@Callable(y)
88-func funding (L) = {
89- let H = valueOrErrorMessage(getInteger(this, ((h + k) + toString(L))), "can not find event 1")
90- let I = valueOrErrorMessage(getInteger(this, ((h + l) + toString(L))), "can not find event 2")
91- let K = valueOrErrorMessage(getInteger(this, ((h + p) + toString(L))), "can not find event 3")
92- let N = toBase58String(y.caller.bytes)
93- let O = valueOrElse(getInteger(this, ((i + s) + toString(L))), 0)
94- let P = valueOrElse(getInteger(this, (((i + t) + N) + toString(L))), 0)
95- let Q = valueOrElse(getInteger(this, ((i + r) + toString(L))), 0)
96- if ((H > height))
89+@Callable(z)
90+func funding (M) = {
91+ let I = valueOrErrorMessage(getInteger(this, ((i + l) + toString(M))), "can not find event 1")
92+ let J = valueOrErrorMessage(getInteger(this, ((i + m) + toString(M))), "can not find event 2")
93+ let L = valueOrErrorMessage(getInteger(this, ((i + q) + toString(M))), "can not find event 3")
94+ let O = toBase58String(z.caller.bytes)
95+ let P = valueOrElse(getInteger(this, ((j + t) + toString(M))), 0)
96+ let Q = valueOrElse(getInteger(this, (((j + u) + O) + toString(M))), 0)
97+ let R = valueOrElse(getInteger(this, ((j + s) + toString(M))), 0)
98+ if ((I > height))
9799 then throw("crowdfunding not started")
98- else if ((height >= I))
100+ else if ((height >= J))
99101 then throw("crowdfunding is over")
100- else if ((O >= K))
102+ else if ((P >= L))
101103 then throw("crowdfunding is reached to hard cap. thank you for participating!")
102- else if (!(x(y)))
104+ else if (!(y(z)))
103105 then throw("you have to attach payment greater than zero")
104106 else {
105- let R = valueOrElse(getBoolean(this, g), true)
106- if (!(R))
107+ let S = valueOrElse(getBoolean(this, h), true)
108+ if (!(S))
107109 then throw("emergency shutdown")
108110 else {
109- let A = y.payments[0]
110- let S = A.amount
111- let T = fraction(S, v, w)
112- let U = (S - T)
113-[IntegerEntry(((i + r) + toString(L)), (Q + 1)), IntegerEntry(((i + s) + toString(L)), (O + U)), IntegerEntry(((((i + t) + N) + "_") + toString(L)), (P + U)), ScriptTransfer(c, T, d)]
111+ let B = z.payments[0]
112+ let T = B.amount
113+ let U = fraction(T, w, x)
114+ let V = (T - U)
115+[IntegerEntry(((j + s) + toString(M)), (R + 1)), IntegerEntry(((j + t) + toString(M)), (P + V)), IntegerEntry(((((j + u) + O) + "_") + toString(M)), (Q + V)), ScriptTransfer(c, U, d)]
114116 }
115117 }
116118 }
117119
118120
119121
120-@Callable(y)
121-func claim (L) = {
122- let G = valueOrErrorMessage(getInteger(this, ((h + n) + toString(L))), "can not find the owner")
123- let N = toBase58String(y.caller.bytes)
124- let H = valueOrErrorMessage(getInteger(this, ((h + k) + toString(L))), "can not find event 1")
125- let I = valueOrErrorMessage(getInteger(this, ((h + l) + toString(L))), "can not find event 2")
126- let K = valueOrErrorMessage(getInteger(this, ((h + p) + toString(L))), "can not find event 3")
127- let O = valueOrElse(getInteger(this, ((i + s) + toString(L))), 0)
128- let R = valueOrElse(getBoolean(this, g), true)
129- if ((toBytes(G) == y.caller.bytes))
122+@Callable(z)
123+func claim (M) = {
124+ let H = valueOrErrorMessage(getInteger(this, ((i + o) + toString(M))), "can not find the owner")
125+ let O = toBase58String(z.caller.bytes)
126+ let I = valueOrErrorMessage(getInteger(this, ((i + l) + toString(M))), "can not find event 1")
127+ let J = valueOrErrorMessage(getInteger(this, ((i + m) + toString(M))), "can not find event 2")
128+ let L = valueOrErrorMessage(getInteger(this, ((i + q) + toString(M))), "can not find event 3")
129+ let P = valueOrElse(getInteger(this, ((j + t) + toString(M))), 0)
130+ let S = valueOrElse(getBoolean(this, h), true)
131+ if ((toBytes(H) == z.caller.bytes))
130132 then throw("you are not able to claim")
131- else if (if (if ((height > I))
132- then (O >= K)
133+ else if (if (if ((height > J))
134+ then (P >= L)
133135 else false)
134- then R
136+ then S
135137 else false)
136- then [ScriptTransfer(y.caller, O, d), IntegerEntry((((e + N) + "_") + toString(L)), O)]
138+ then [ScriptTransfer(z.caller, P, d), IntegerEntry((((e + O) + "_") + toString(M)), P)]
137139 else throw("not allowed")
138140 }
139141
140142
141143
142-@Callable(y)
143-func claimShare (L) = {
144- let N = toBase58String(y.caller.bytes)
145- let H = valueOrErrorMessage(getInteger(this, ((h + k) + toString(L))), "can not find event 1")
146- let I = valueOrErrorMessage(getInteger(this, ((h + l) + toString(L))), "can not find event 2")
147- let K = valueOrErrorMessage(getInteger(this, ((h + p) + toString(L))), "can not find event 3")
148- let O = valueOrElse(getInteger(this, ((i + s) + toString(L))), 0)
149- let P = valueOrElse(getInteger(this, (((i + t) + N) + toString(L))), 0)
150- let T = fraction(P, w, O)
151- let V = ((toString(T) + "_") + toString(L))
152- let W = Issue(((a + "_") + toString(L)), V, 1, 0, false)
153- let X = calculateAssetId(W)
154- let R = valueOrElse(getBoolean(this, g), true)
155- if (if (if (if ((height > I))
156- then (K >= O)
144+@Callable(z)
145+func claimShare (M) = {
146+ let O = toBase58String(z.caller.bytes)
147+ let I = valueOrErrorMessage(getInteger(this, ((i + l) + toString(M))), "can not find event 1")
148+ let J = valueOrErrorMessage(getInteger(this, ((i + m) + toString(M))), "can not find event 2")
149+ let L = valueOrErrorMessage(getInteger(this, ((i + q) + toString(M))), "can not find event 3")
150+ let P = valueOrElse(getInteger(this, ((j + t) + toString(M))), 0)
151+ let Q = valueOrElse(getInteger(this, (((j + u) + O) + toString(M))), 0)
152+ let U = fraction(Q, x, P)
153+ let W = ((toString(U) + "_") + toString(M))
154+ let X = Issue(((a + "_") + toString(M)), W, 1, 0, false)
155+ let Y = calculateAssetId(X)
156+ let S = valueOrElse(getBoolean(this, h), true)
157+ if (if (if (if ((height > J))
158+ then (L >= P)
157159 else false)
158- then (P > 0)
160+ then (Q > 0)
159161 else false)
160- then R
162+ then S
161163 else false)
162- then [W, StringEntry((f + toString(L)), toBase58String(X)), ScriptTransfer(y.caller, 1, X)]
164+ then [X, StringEntry((f + toString(M)), toBase58String(Y)), ScriptTransfer(z.caller, 1, Y)]
163165 else throw("you are not able to claim NFT")
164166 }
165167
166168
167169
168-@Callable(y)
169-func refund (L) = {
170- let N = toBase58String(y.caller.bytes)
171- let H = valueOrErrorMessage(getInteger(this, ((h + k) + toString(L))), "can not find event 1")
172- let I = valueOrErrorMessage(getInteger(this, ((h + l) + toString(L))), "can not find event 2")
173- let K = valueOrErrorMessage(getInteger(this, ((h + p) + toString(L))), "can not find event 3")
174- let O = valueOrElse(getInteger(this, ((i + s) + toString(L))), 0)
175- let P = valueOrElse(getInteger(this, (((i + t) + N) + toString(L))), 0)
176- let R = valueOrElse(getBoolean(this, g), true)
177- if (if (if (if ((I > height))
178- then (O > K)
170+@Callable(z)
171+func refund (M) = {
172+ let O = toBase58String(z.caller.bytes)
173+ let I = valueOrErrorMessage(getInteger(this, ((i + l) + toString(M))), "can not find event 1")
174+ let J = valueOrErrorMessage(getInteger(this, ((i + m) + toString(M))), "can not find event 2")
175+ let L = valueOrErrorMessage(getInteger(this, ((i + q) + toString(M))), "can not find event 3")
176+ let P = valueOrElse(getInteger(this, ((j + t) + toString(M))), 0)
177+ let Q = valueOrElse(getInteger(this, (((j + u) + O) + toString(M))), 0)
178+ let S = valueOrElse(getBoolean(this, h), true)
179+ if (if (if (if ((J > height))
180+ then (P > L)
179181 else false)
180- then (P > 0)
182+ then (Q > 0)
181183 else false)
182- then R
184+ then S
183185 else false)
184- then [IntegerEntry((((u + N) + "_") + toString(L)), P), ScriptTransfer(y.caller, P, d)]
186+ then [IntegerEntry((((v + O) + "_") + toString(M)), Q), ScriptTransfer(z.caller, Q, d)]
185187 else throw("can not refund. campaign success")
186188 }
187189
188190
189-@Verifier(Y)
190-func Z () = sigVerify(Y.bodyBytes, Y.proofs[0], Y.senderPublicKey)
191+@Verifier(Z)
192+func aa () = sigVerify(Z.bodyBytes, Z.proofs[0], Z.senderPublicKey)
191193

github/deemru/w8io/169f3d6 
99.22 ms