tx · FQM6ga19EjDLZ6JUHPTMuctR9BC4mGzi41ASNDByawHS 3MyLnBsVm9pw43K9eba5UExxb3efeai91KP: -0.01300000 Waves 2022.12.23 14:11 [2372847] smart account 3MyLnBsVm9pw43K9eba5UExxb3efeai91KP > SELF 0.00000000 Waves
{ "type": 13, "id": "FQM6ga19EjDLZ6JUHPTMuctR9BC4mGzi41ASNDByawHS", "fee": 1300000, "feeAssetId": null, "timestamp": 1671793911726, "version": 2, "chainId": 84, "sender": "3MyLnBsVm9pw43K9eba5UExxb3efeai91KP", "senderPublicKey": "E5xdZLn3yHKAn29pTyubhr9R1mkRGg9WKAcpPrCYFYHx", "proofs": [ "3W1eFf4cBQcsL54Yn9Q5ip6sgMxhzggNJZwYiSKnsAga2artPtkcdZcKXLhU7S8wsJRtj2bc3hEF5xHztup1uJ1X" ], "script": "base64:AAIFAAAAAAAAACYIAhIDCgEEEgkKBwgICAEBCAESAwoBARIDCgEBEgMKAQESAwoBAQAAABgAAAAACGRBcHBOYW1lAgAAABtDUk9XREZVTkRJTkdfT05fV0FWRVNfU0hBUkUAAAAABmFkbVB1YgEAAAAgwm0nmAhWSDqW+K/S1mvC+NNow4ujn8UBfOoCFti2ZnMAAAAABGJhbmsJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVSmfND+3V/r5U39jSnmcibSNaQF0ZS9OSgAAAAADHBheW1lbnRBc3NldAEAAAAgITlE6Sl8X8+K+DOSOPUkvq8L9vq51QOPRS3GqFK/+rkAAAAACGNsYWltS2V5AgAAAAdfY2xhaW1fAAAAAAZuZnRLZXkCAAAABV9uZnRfAAAAAAtzaHV0RG93bktleQIAAAAKX3NodXREb3duXwAAAAAIZXZlbnRLZXkCAAAAB19ldmVudF8AAAAACnBheW1lbnRLZXkCAAAACV9wYXltZW50XwAAAAAQZ2xvYmFsRXZlbnRJZEtleQIAAAAJX2V2ZW50SWRfAAAAAA1zdGFydEJsb2NrS2V5AgAAAAxfc3RhcnRCbG9ja18AAAAAC2VuZEJ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RyeQAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIFAAAACXJlZnVuZEtleQUAAAAKY3VycmVudEtleQIAAAABXwkAAaQAAAABBQAAAAdldmVudElkBQAAAA13YWxsZXRQYXltZW50CQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgUAAAANd2FsbGV0UGF5bWVudAUAAAAMcGF5bWVudEFzc2V0BQAAAANuaWwJAAACAAAAAQIAAAAgY2FuIG5vdCByZWZ1bmQuIGNhbXBhaWduIHN1Y2Nlc3MAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQvK9UM=", "height": 2372847, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2WZBfb41jsPbbKdpJhgDyXTgeDg6ScsNUfhgxhBH7mi2 Next: 4G7aZbAeXDPiB7xF4tR5WW9j9rf5PjRcGGnEPGVu1vn9 Diff:
Old | New | Differences | |
---|---|---|---|
159 | 159 | else false) | |
160 | 160 | then R | |
161 | 161 | else false) | |
162 | - | then [W, StringEntry((f + toString(L)), toBase58String(X)), ScriptTransfer(y.caller, 1, X)] | |
162 | + | then [W, StringEntry((f + toString(L)), toBase58String(X)), BooleanEntry(toBase58String(X), true), ScriptTransfer(y.caller, 1, X)] | |
163 | 163 | else throw("you are not able to claim NFT") | |
164 | 164 | } | |
165 | 165 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "CROWDFUNDING_ON_WAVES_SHARE" | |
5 | 5 | ||
6 | 6 | let b = base58'E5xdZLn3yHKAn29pTyubhr9R1mkRGg9WKAcpPrCYFYHx' | |
7 | 7 | ||
8 | 8 | let c = Address(base58'3N56PUABa6tqTXc4cv6QvntyMPb1KHnzC79') | |
9 | 9 | ||
10 | 10 | let d = base58'3Eh6z6z6ouFpWxGKrPaPnZwmDnDjgYHV6tqCmZf2G7tk' | |
11 | 11 | ||
12 | 12 | let e = "_claim_" | |
13 | 13 | ||
14 | 14 | let f = "_nft_" | |
15 | 15 | ||
16 | 16 | let g = "_shutDown_" | |
17 | 17 | ||
18 | 18 | let h = "_event_" | |
19 | 19 | ||
20 | 20 | let i = "_payment_" | |
21 | 21 | ||
22 | 22 | let j = "_eventId_" | |
23 | 23 | ||
24 | 24 | let k = "_startBlock_" | |
25 | 25 | ||
26 | 26 | let l = "_endBlock_" | |
27 | 27 | ||
28 | 28 | let m = "_image_" | |
29 | 29 | ||
30 | 30 | let n = "_owner_" | |
31 | 31 | ||
32 | 32 | let o = "_url_" | |
33 | 33 | ||
34 | 34 | let p = "_hardCap_" | |
35 | 35 | ||
36 | 36 | let q = "_title_" | |
37 | 37 | ||
38 | 38 | let r = "_shareHolderCount_" | |
39 | 39 | ||
40 | 40 | let s = "_totalPayment_" | |
41 | 41 | ||
42 | 42 | let t = "_walletPayment_" | |
43 | 43 | ||
44 | 44 | let u = "_refund_" | |
45 | 45 | ||
46 | 46 | let v = 500000000 | |
47 | 47 | ||
48 | 48 | let w = 100000000 | |
49 | 49 | ||
50 | 50 | func x (y) = { | |
51 | 51 | let z = d | |
52 | 52 | if ((size(y.payments) == 0)) | |
53 | 53 | then throw("Payment not attached") | |
54 | 54 | else { | |
55 | 55 | let A = y.payments[0] | |
56 | 56 | let B = A.assetId | |
57 | 57 | if ($isInstanceOf(B, "ByteVector")) | |
58 | 58 | then { | |
59 | 59 | let C = B | |
60 | 60 | if ((C == z)) | |
61 | 61 | then (A.amount > 0) | |
62 | 62 | else false | |
63 | 63 | } | |
64 | 64 | else throw("Wrong payment asset") | |
65 | 65 | } | |
66 | 66 | } | |
67 | 67 | ||
68 | 68 | ||
69 | 69 | @Callable(y) | |
70 | 70 | func shutdown (D) = if ((y.callerPublicKey == b)) | |
71 | 71 | then [BooleanEntry(g, D)] | |
72 | 72 | else throw("you are not allow to do this!") | |
73 | 73 | ||
74 | 74 | ||
75 | 75 | ||
76 | 76 | @Callable(y) | |
77 | 77 | func create (E,F,G,H,I,J,K) = { | |
78 | 78 | let L = valueOrElse(getInteger(this, (h + j)), 0) | |
79 | 79 | let M = (L + 1) | |
80 | 80 | if ((y.callerPublicKey == b)) | |
81 | 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)] | |
82 | 82 | else throw("you are not allowed") | |
83 | 83 | } | |
84 | 84 | ||
85 | 85 | ||
86 | 86 | ||
87 | 87 | @Callable(y) | |
88 | 88 | func funding (L) = { | |
89 | 89 | let H = valueOrErrorMessage(getInteger(this, ((h + k) + toString(L))), "can not find event 1") | |
90 | 90 | let I = valueOrErrorMessage(getInteger(this, ((h + l) + toString(L))), "can not find event 2") | |
91 | 91 | let K = valueOrErrorMessage(getInteger(this, ((h + p) + toString(L))), "can not find event 3") | |
92 | 92 | let N = toBase58String(y.caller.bytes) | |
93 | 93 | let O = valueOrElse(getInteger(this, ((i + s) + toString(L))), 0) | |
94 | 94 | let P = valueOrElse(getInteger(this, (((i + t) + N) + toString(L))), 0) | |
95 | 95 | let Q = valueOrElse(getInteger(this, ((i + r) + toString(L))), 0) | |
96 | 96 | if ((H > height)) | |
97 | 97 | then throw("crowdfunding not started") | |
98 | 98 | else if ((height >= I)) | |
99 | 99 | then throw("crowdfunding is over") | |
100 | 100 | else if ((O >= K)) | |
101 | 101 | then throw("crowdfunding is reached to hard cap. thank you for participating!") | |
102 | 102 | else if (!(x(y))) | |
103 | 103 | then throw("you have to attach payment greater than zero") | |
104 | 104 | else { | |
105 | 105 | let R = valueOrElse(getBoolean(this, g), true) | |
106 | 106 | if (!(R)) | |
107 | 107 | then throw("emergency shutdown") | |
108 | 108 | else { | |
109 | 109 | let A = y.payments[0] | |
110 | 110 | let S = A.amount | |
111 | 111 | let T = fraction(S, v, w) | |
112 | 112 | let U = (S - T) | |
113 | 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)] | |
114 | 114 | } | |
115 | 115 | } | |
116 | 116 | } | |
117 | 117 | ||
118 | 118 | ||
119 | 119 | ||
120 | 120 | @Callable(y) | |
121 | 121 | func claim (L) = { | |
122 | 122 | let G = valueOrErrorMessage(getString(this, ((h + n) + toString(L))), "can not find the owner") | |
123 | 123 | let N = toBase58String(y.caller.bytes) | |
124 | 124 | let H = valueOrErrorMessage(getInteger(this, ((h + k) + toString(L))), "can not find event 1") | |
125 | 125 | let I = valueOrErrorMessage(getInteger(this, ((h + l) + toString(L))), "can not find event 2") | |
126 | 126 | let K = valueOrErrorMessage(getInteger(this, ((h + p) + toString(L))), "can not find event 3") | |
127 | 127 | let O = valueOrElse(getInteger(this, ((i + s) + toString(L))), 0) | |
128 | 128 | let R = valueOrElse(getBoolean(this, g), true) | |
129 | 129 | if ((toBytes(G) == y.caller.bytes)) | |
130 | 130 | then throw("you are not able to claim") | |
131 | 131 | else if (if (if ((height > I)) | |
132 | 132 | then (O >= K) | |
133 | 133 | else false) | |
134 | 134 | then R | |
135 | 135 | else false) | |
136 | 136 | then [ScriptTransfer(y.caller, O, d), IntegerEntry((((e + N) + "_") + toString(L)), O)] | |
137 | 137 | else throw("not allowed") | |
138 | 138 | } | |
139 | 139 | ||
140 | 140 | ||
141 | 141 | ||
142 | 142 | @Callable(y) | |
143 | 143 | func claimShare (L) = { | |
144 | 144 | let N = toBase58String(y.caller.bytes) | |
145 | 145 | let H = valueOrErrorMessage(getInteger(this, ((h + k) + toString(L))), "can not find event 1") | |
146 | 146 | let I = valueOrErrorMessage(getInteger(this, ((h + l) + toString(L))), "can not find event 2") | |
147 | 147 | let K = valueOrErrorMessage(getInteger(this, ((h + p) + toString(L))), "can not find event 3") | |
148 | 148 | let O = valueOrElse(getInteger(this, ((i + s) + toString(L))), 0) | |
149 | 149 | let P = valueOrElse(getInteger(this, (((i + t) + N) + toString(L))), 0) | |
150 | 150 | let T = fraction(P, w, O) | |
151 | 151 | let V = ((toString(T) + "_") + toString(L)) | |
152 | 152 | let W = Issue(((a + "_") + toString(L)), V, 1, 0, false) | |
153 | 153 | let X = calculateAssetId(W) | |
154 | 154 | let R = valueOrElse(getBoolean(this, g), true) | |
155 | 155 | if (if (if (if ((height > I)) | |
156 | 156 | then (K >= O) | |
157 | 157 | else false) | |
158 | 158 | then (P > 0) | |
159 | 159 | else false) | |
160 | 160 | then R | |
161 | 161 | else false) | |
162 | - | then [W, StringEntry((f + toString(L)), toBase58String(X)), ScriptTransfer(y.caller, 1, X)] | |
162 | + | then [W, StringEntry((f + toString(L)), toBase58String(X)), BooleanEntry(toBase58String(X), true), ScriptTransfer(y.caller, 1, X)] | |
163 | 163 | else throw("you are not able to claim NFT") | |
164 | 164 | } | |
165 | 165 | ||
166 | 166 | ||
167 | 167 | ||
168 | 168 | @Callable(y) | |
169 | 169 | func refund (L) = { | |
170 | 170 | let N = toBase58String(y.caller.bytes) | |
171 | 171 | let H = valueOrErrorMessage(getInteger(this, ((h + k) + toString(L))), "can not find event 1") | |
172 | 172 | let I = valueOrErrorMessage(getInteger(this, ((h + l) + toString(L))), "can not find event 2") | |
173 | 173 | let K = valueOrErrorMessage(getInteger(this, ((h + p) + toString(L))), "can not find event 3") | |
174 | 174 | let O = valueOrElse(getInteger(this, ((i + s) + toString(L))), 0) | |
175 | 175 | let P = valueOrElse(getInteger(this, (((i + t) + N) + toString(L))), 0) | |
176 | 176 | let R = valueOrElse(getBoolean(this, g), true) | |
177 | 177 | if (if (if (if ((I > height)) | |
178 | 178 | then (O > K) | |
179 | 179 | else false) | |
180 | 180 | then (P > 0) | |
181 | 181 | else false) | |
182 | 182 | then R | |
183 | 183 | else false) | |
184 | 184 | then [IntegerEntry((((u + N) + "_") + toString(L)), P), ScriptTransfer(y.caller, P, d)] | |
185 | 185 | else throw("can not refund. campaign success") | |
186 | 186 | } | |
187 | 187 | ||
188 | 188 | ||
189 | 189 | @Verifier(Y) | |
190 | 190 | func Z () = sigVerify(Y.bodyBytes, Y.proofs[0], Y.senderPublicKey) | |
191 | 191 |
github/deemru/w8io/026f985 54.02 ms ◑