tx · 9c69uGnaSHhux12x1dPcnM3iyN9BvfSsyRtS2C5qewYp

3N5wJ2ZhRVwoT7WLuTpTJ3CXrgQu2NUgUPG:  -0.01500000 Waves

2022.12.26 15:38 [2377254] smart account 3N5wJ2ZhRVwoT7WLuTpTJ3CXrgQu2NUgUPG > SELF 0.00000000 Waves

{ "type": 13, "id": "9c69uGnaSHhux12x1dPcnM3iyN9BvfSsyRtS2C5qewYp", "fee": 1500000, "feeAssetId": null, "timestamp": 1672058307053, "version": 2, "chainId": 84, "sender": "3N5wJ2ZhRVwoT7WLuTpTJ3CXrgQu2NUgUPG", "senderPublicKey": "9oVPUzQkCTgQDc9YhdhZaVS1w5go2NMUN8rd1sfk11F", "proofs": [ "5qJCYw6HM75GeGshC9HFC9NMLsarqcdnbVDGn5fk5rEhYTPLXCrvfETx1cEiftQpEXrbTwaLAcbLSrs9QrkJw12t" ], "script": "base64:AAIFAAAAAAAAACYIAhIDCgEEEgkKBwgICAEBCAESAwoBARIDCgEBEgMKAQESAwoBAQAAABgAAAAACGRBcHBOYW1lAgAAABtDUk9XREZVTkRJTkdfT05fV0FWRVNfU0hBUkUAAAAABmFkbVB1YgEAAAAgAkE2VigpXwyPVsqLqs85Wa4JuFZ+lt64yRSqXslbm2YAAAAABGJhbmsJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVSmfND+3V/r5U39jSnmcibSNaQF0ZS9OSgAAAAADHBheW1lbnRBc3NldAEAAAAgITlE6Sl8X8+K+DOSOPUkvq8L9vq51QOPRS3GqFK/+rkAAAAACGNsYWltS2V5AgAAAAdfY2xhaW1fAAAAAAZuZnRLZXkCAAAABV9uZnRfAAAAAAtzaHV0RG93bktleQIAAAAKX3NodXREb3duXwAAAAAIZXZlbnRLZXkCAAAAB19ldmVudF8AAAAACnBheW1lbnRLZXkCAAAACV9wYXltZW50XwAAAAAQZ2xvYmFsRXZlbnRJZEtleQIAAAAJX2V2ZW50SWRfAAAAAA1zdGFydEJsb2NrS2V5AgAAAAxfc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BQAAAAx0b3RhbFBheW1lbnQFAAAAB2hhcmRDYXAHCQAAZgAAAAIFAAAADXdhbGxldFBheW1lbnQAAAAAAAAAAAAHBQAAAAhzaHV0RG93bgcJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIFAAAACXJlZnVuZEtleQUAAAAKY3VycmVudEtleQIAAAABXwkAAaQAAAABBQAAAAdldmVudElkBQAAAA13YWxsZXRQYXltZW50CQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgUAAAANd2FsbGV0UGF5bWVudAUAAAAMcGF5bWVudEFzc2V0BQAAAANuaWwJAAACAAAAAQIAAAAgY2FuIG5vdCByZWZ1bmQuIGNhbXBhaWduIHN1Y2Nlc3MAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tlee52YPs=", "height": 2377254, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: EHxGUh5mMoC1AV8HnpCxQCBPoTcNAUo95tPW4imsJWN8 Next: 5UUg1fYB9457MaWYvuSAPysixK4gBGoRRtThkNxNS1dG Diff:
OldNewDifferences
9494 let P = valueOrElse(getInteger(this, ((i + s) + toString(M))), 0)
9595 let Q = valueOrElse(getInteger(this, (((i + t) + O) + toString(M))), 0)
9696 let R = valueOrElse(getInteger(this, ((i + r) + toString(M))), 0)
97+ let A = y.payments[0]
98+ let S = A.amount
9799 if ((I > height))
98100 then throw("crowdfunding not started")
99101 else if ((height >= J))
100102 then throw("crowdfunding is over")
101- else if ((P >= L))
103+ else if (((P + S) >= L))
102104 then throw("crowdfunding is reached to hard cap. thank you for participating!")
103- else {
104- let A = y.payments[0]
105- let S = A.amount
106- if (x(y))
107- then {
108- let T = valueOrElse(getBoolean(this, g), true)
109- if (!(T))
110- then throw("emergency shutdown")
111- else {
112- let U = fraction(S, w, v)
113- let V = (S - U)
105+ else if (x(y))
106+ then {
107+ let T = valueOrElse(getBoolean(this, g), true)
108+ if (!(T))
109+ then throw("emergency shutdown")
110+ else {
111+ let U = fraction(S, w, v)
112+ let V = (S - U)
114113 [IntegerEntry(((i + r) + toString(M)), (R + 1)), IntegerEntry(((i + s) + toString(M)), (P + V)), IntegerEntry(((((i + t) + O) + "_") + toString(M)), (Q + V)), ScriptTransfer(c, U, d)]
115- }
116- }
117- else throw("attach payment correctly")
118- }
114+ }
115+ }
116+ else throw("attach payment correctly")
119117 }
120118
121119
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'9oVPUzQkCTgQDc9YhdhZaVS1w5go2NMUN8rd1sfk11F'
77
88 let c = Address(base58'3N56PUABa6tqTXc4cv6QvntyMPb1KHnzC79')
99
1010 let d = base58'3Eh6z6z6ouFpWxGKrPaPnZwmDnDjgYHV6tqCmZf2G7tk'
1111
1212 let e = "_claim_"
1313
1414 let f = "_nft_"
1515
1616 let g = "_shutDown_"
1717
1818 let h = "_event_"
1919
2020 let i = "_payment_"
2121
2222 let j = "_eventId_"
2323
2424 let k = "_startBlock_"
2525
2626 let l = "_endBlock_"
2727
2828 let m = "_image_"
2929
3030 let n = "_owner_"
3131
3232 let o = "_url_"
3333
3434 let p = "_hardCap_"
3535
3636 let q = "_title_"
3737
3838 let r = "_shareHolderCount_"
3939
4040 let s = "_totalPayment_"
4141
4242 let t = "_walletPayment_"
4343
4444 let u = "_refund_"
4545
4646 let v = 500000000
4747
4848 let w = 100000000
4949
5050 func x (y) = {
5151 let z = d
5252 if ((size(y.payments) == 0))
5353 then throw("Payment not attached")
5454 else {
5555 let A = y.payments[0]
5656 let B = assetBalance(y.caller, z)
5757 let C = A.assetId
5858 if ($isInstanceOf(C, "ByteVector"))
5959 then {
6060 let D = C
6161 if ((D == z))
6262 then (A.amount > 0)
6363 else false
6464 }
6565 else throw("Wrong payment")
6666 }
6767 }
6868
6969
7070 @Callable(y)
7171 func shutdown (E) = if ((y.callerPublicKey == b))
7272 then [BooleanEntry(g, E)]
7373 else throw("you are not allow to do this!")
7474
7575
7676
7777 @Callable(y)
7878 func create (F,G,H,I,J,K,L) = {
7979 let M = valueOrElse(getInteger(this, (h + j)), 0)
8080 let N = (M + 1)
8181 if ((y.callerPublicKey == b))
8282 then [StringEntry(((h + m) + toString(N)), G), StringEntry(((h + n) + toString(N)), H), StringEntry(((h + q) + toString(N)), F), IntegerEntry(((h + k) + toString(N)), I), IntegerEntry(((h + l) + toString(N)), J), StringEntry(((h + o) + toString(N)), K), IntegerEntry(((h + p) + toString(N)), L), IntegerEntry((h + j), N)]
8383 else throw("you are not allowed")
8484 }
8585
8686
8787
8888 @Callable(y)
8989 func funding (M) = {
9090 let I = valueOrErrorMessage(getInteger(this, ((h + k) + toString(M))), "can not find event 1")
9191 let J = valueOrErrorMessage(getInteger(this, ((h + l) + toString(M))), "can not find event 2")
9292 let L = valueOrErrorMessage(getInteger(this, ((h + p) + toString(M))), "can not find event 3")
9393 let O = toBase58String(y.caller.bytes)
9494 let P = valueOrElse(getInteger(this, ((i + s) + toString(M))), 0)
9595 let Q = valueOrElse(getInteger(this, (((i + t) + O) + toString(M))), 0)
9696 let R = valueOrElse(getInteger(this, ((i + r) + toString(M))), 0)
97+ let A = y.payments[0]
98+ let S = A.amount
9799 if ((I > height))
98100 then throw("crowdfunding not started")
99101 else if ((height >= J))
100102 then throw("crowdfunding is over")
101- else if ((P >= L))
103+ else if (((P + S) >= L))
102104 then throw("crowdfunding is reached to hard cap. thank you for participating!")
103- else {
104- let A = y.payments[0]
105- let S = A.amount
106- if (x(y))
107- then {
108- let T = valueOrElse(getBoolean(this, g), true)
109- if (!(T))
110- then throw("emergency shutdown")
111- else {
112- let U = fraction(S, w, v)
113- let V = (S - U)
105+ else if (x(y))
106+ then {
107+ let T = valueOrElse(getBoolean(this, g), true)
108+ if (!(T))
109+ then throw("emergency shutdown")
110+ else {
111+ let U = fraction(S, w, v)
112+ let V = (S - U)
114113 [IntegerEntry(((i + r) + toString(M)), (R + 1)), IntegerEntry(((i + s) + toString(M)), (P + V)), IntegerEntry(((((i + t) + O) + "_") + toString(M)), (Q + V)), ScriptTransfer(c, U, d)]
115- }
116- }
117- else throw("attach payment correctly")
118- }
114+ }
115+ }
116+ else throw("attach payment correctly")
119117 }
120118
121119
122120
123121 @Callable(y)
124122 func claim (M) = {
125123 let H = valueOrErrorMessage(getString(this, ((h + n) + toString(M))), "can not find the owner")
126124 let O = toBase58String(y.caller.bytes)
127125 let I = valueOrErrorMessage(getInteger(this, ((h + k) + toString(M))), "can not find event 1")
128126 let J = valueOrErrorMessage(getInteger(this, ((h + l) + toString(M))), "can not find event 2")
129127 let L = valueOrErrorMessage(getInteger(this, ((h + p) + toString(M))), "can not find event 3")
130128 let P = valueOrElse(getInteger(this, ((i + s) + toString(M))), 0)
131129 let T = valueOrElse(getBoolean(this, g), true)
132130 if ((toBytes(H) == y.caller.bytes))
133131 then throw("you are not able to claim")
134132 else if (if (if ((height > J))
135133 then (P >= L)
136134 else false)
137135 then T
138136 else false)
139137 then [ScriptTransfer(y.caller, P, d), IntegerEntry((((e + O) + "_") + toString(M)), P)]
140138 else throw("not allowed")
141139 }
142140
143141
144142
145143 @Callable(y)
146144 func claimShare (M) = {
147145 let O = toBase58String(y.caller.bytes)
148146 let I = valueOrErrorMessage(getInteger(this, ((h + k) + toString(M))), "can not find event 1")
149147 let J = valueOrErrorMessage(getInteger(this, ((h + l) + toString(M))), "can not find event 2")
150148 let L = valueOrErrorMessage(getInteger(this, ((h + p) + toString(M))), "can not find event 3")
151149 let P = valueOrElse(getInteger(this, ((i + s) + toString(M))), 0)
152150 let Q = valueOrElse(getInteger(this, (((i + t) + O) + toString(M))), 0)
153151 let U = fraction(Q, w, P)
154152 let W = ((toString(U) + "_") + toString(M))
155153 let X = Issue(((a + "_") + toString(M)), W, 1, 0, false)
156154 let Y = calculateAssetId(X)
157155 let T = valueOrElse(getBoolean(this, g), true)
158156 if (if (if (if ((height > J))
159157 then (L >= P)
160158 else false)
161159 then (Q > 0)
162160 else false)
163161 then T
164162 else false)
165163 then [X, StringEntry((f + toString(M)), toBase58String(Y)), BooleanEntry(toBase58String(Y), true), ScriptTransfer(y.caller, 1, Y)]
166164 else throw("you are not able to claim NFT")
167165 }
168166
169167
170168
171169 @Callable(y)
172170 func refund (M) = {
173171 let O = toBase58String(y.caller.bytes)
174172 let I = valueOrErrorMessage(getInteger(this, ((h + k) + toString(M))), "can not find event 1")
175173 let J = valueOrErrorMessage(getInteger(this, ((h + l) + toString(M))), "can not find event 2")
176174 let L = valueOrErrorMessage(getInteger(this, ((h + p) + toString(M))), "can not find event 3")
177175 let P = valueOrElse(getInteger(this, ((i + s) + toString(M))), 0)
178176 let Q = valueOrElse(getInteger(this, (((i + t) + O) + toString(M))), 0)
179177 let T = valueOrElse(getBoolean(this, g), true)
180178 if (if (if (if ((J > height))
181179 then (P > L)
182180 else false)
183181 then (Q > 0)
184182 else false)
185183 then T
186184 else false)
187185 then [IntegerEntry((((u + O) + "_") + toString(M)), Q), ScriptTransfer(y.caller, Q, d)]
188186 else throw("can not refund. campaign success")
189187 }
190188
191189
192190 @Verifier(Z)
193191 func aa () = sigVerify(Z.bodyBytes, Z.proofs[0], Z.senderPublicKey)
194192

github/deemru/w8io/026f985 
35.32 ms