tx · Edf3zztHwQbf29tdqpPKTnhCgKeWrVcWfMNUN9PuV62c

3MyLnBsVm9pw43K9eba5UExxb3efeai91KP:  -0.01000000 Waves

2022.12.22 15:48 [2371523] smart account 3MyLnBsVm9pw43K9eba5UExxb3efeai91KP > SELF 0.00000000 Waves

{ "type": 13, "id": "Edf3zztHwQbf29tdqpPKTnhCgKeWrVcWfMNUN9PuV62c", "fee": 1000000, "feeAssetId": null, "timestamp": 1671713376667, "version": 2, "chainId": 84, "sender": "3MyLnBsVm9pw43K9eba5UExxb3efeai91KP", "senderPublicKey": "E5xdZLn3yHKAn29pTyubhr9R1mkRGg9WKAcpPrCYFYHx", "proofs": [ "5EBoSMVuqexC9fFXqDM6ZnXEgdXERKxm8jf36oFxwRSNgCc98wvNUSjmXouuYXCme3YRggAXaHKQeBNRHWmhctfC" ], "script": "base64:AAIFAAAAAAAAACIIAhIDCgEEEgASCQoHCAgIAQEIARIDCgEBEgASABIDCgEIAAAAEQAAAAAGYWRtUHViAQAAACDCbSeYCFZIOpb4r9LWa8L402jDi6OfxQF86gIW2LZmcwAAAAAMcGF5bWVudEFzc2V0AQAAACAhOUTpKXxfz4r4M5I49SS+rwv2+rnVA49FLcaoUr/6uQAAAAALc2h1dERvd25LZXkCAAAACl9zaHV0RG93bl8AAAAACGV2ZW50S2V5AgAAAAdfZXZlbnRfAAAAAApwYXltZW50S2V5AgAAAAlfcGF5bWVudF8AAAAAEGdsb2JhbEV2ZW50SWRLZXkCAAAACV9ldmVudElkXwAAAAANc3RhcnRCbG9ja0tleQIAAAAMX3N0YXJ0QmxvY2tfAAAAAAtlbmRCbG9ja0tleQIAAAAKX2VuZEJsb2NrXwAAAAAIaW1hZ2VLZXkCAAAAB19pbWFnZV8AAAAACG93bmVyS2V5AgAAAAdfb3duZXJfAAAAAAZ1cmxLZXkCAAAABV91cmxfAAAAAApoYXJkQ2FwS2V5AgAAAAlfaGFyZENhcF8AAAAACHRpdGxlS2V5AgAAAAdfdGl0bGVfAAAAAB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AAANrZXkFAAAAA25pbAkAAAIAAAABAgAAAB95b3UgYXJlIG5vdCBhbGxvd2VkIHRvIGRvIHRoaXMhAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXnJTbe0", "height": 2371523, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CZ8itX1YtgkepHrXNdaTiwCLztwv3ZPYbUueQ84sVijD Next: 95HvVB9KLkoutT82D6T4CXpRX7Pi788mQZxZcgc5JC8E Diff:
OldNewDifferences
5353
5454
5555 @Callable(r)
56-func shutdown (w) = {
57- let x = valueOrElse(getBoolean(this, c), true)
58- if ((r.callerPublicKey == a))
59- then [BooleanEntry(c, x)]
60- else throw("you are not allow to do this!")
61- }
56+func shutdown (w) = if ((r.callerPublicKey == a))
57+ then [BooleanEntry(c, w)]
58+ else throw("you are not allow to do this!")
6259
6360
6461
6865
6966
7067 @Callable(r)
71-func create (y,z,A,B,C,D,E) = {
72- let F = valueOrElse(getInteger(this, f), 0)
73- let G = (F + 1)
68+func create (x,y,z,A,B,C,D) = {
69+ let E = valueOrElse(getInteger(this, f), 0)
70+ let F = (E + 1)
7471 if ((r.callerPublicKey == a))
75- then [StringEntry(((d + i) + toString(G)), z), StringEntry(((d + j) + toString(G)), A), StringEntry(((d + m) + toString(G)), y), IntegerEntry(((d + g) + toString(G)), B), IntegerEntry(((d + h) + toString(G)), C), StringEntry(((d + k) + toString(G)), D), IntegerEntry(((d + l) + toString(G)), E), IntegerEntry((d + f), G)]
72+ then [StringEntry(((d + i) + toString(F)), y), StringEntry(((d + j) + toString(F)), z), StringEntry(((d + m) + toString(F)), x), IntegerEntry(((d + g) + toString(F)), A), IntegerEntry(((d + h) + toString(F)), B), StringEntry(((d + k) + toString(F)), C), IntegerEntry(((d + l) + toString(F)), D), IntegerEntry((d + f), F)]
7673 else throw("you are not allowed")
7774 }
7875
7976
8077
8178 @Callable(r)
82-func funding (F) = {
83- let B = valueOrErrorMessage(getInteger(this, ((d + g) + toString(F))), "err")
84- let C = valueOrErrorMessage(getInteger(this, ((d + h) + toString(F))), "err")
85- let E = valueOrErrorMessage(getInteger(this, ((d + l) + toString(F))), "err")
86- let H = toBase58String(r.caller.bytes)
87- let I = valueOrElse(getInteger(this, ((e + o) + toString(F))), 0)
88- let J = valueOrElse(getInteger(this, (((e + p) + H) + toString(F))), 0)
89- let K = valueOrElse(getInteger(this, ((e + n) + toString(F))), 0)
90- if ((B > height))
79+func funding (E) = {
80+ let A = valueOrErrorMessage(getInteger(this, ((d + g) + toString(E))), "err")
81+ let B = valueOrErrorMessage(getInteger(this, ((d + h) + toString(E))), "err")
82+ let D = valueOrErrorMessage(getInteger(this, ((d + l) + toString(E))), "err")
83+ let G = toBase58String(r.caller.bytes)
84+ let H = valueOrElse(getInteger(this, ((e + o) + toString(E))), 0)
85+ let I = valueOrElse(getInteger(this, (((e + p) + G) + toString(E))), 0)
86+ let J = valueOrElse(getInteger(this, ((e + n) + toString(E))), 0)
87+ if ((A > height))
9188 then throw("crowdfunding not started")
92- else if ((height >= C))
89+ else if ((height >= B))
9390 then throw("crowdfunding is over")
94- else if ((I >= E))
91+ else if ((H >= D))
9592 then throw("crowdfunding is reached to hard cap. thank you for participating!")
9693 else if (!(q(r)))
9794 then throw("you have to attach payment greater than zero")
9895 else {
99- let x = valueOrElse(getBoolean(this, c), true)
100- if (x)
96+ let K = valueOrElse(getBoolean(this, c), true)
97+ if (K)
10198 then throw("emergency shutdown")
10299 else {
103100 let t = r.payments[0]
104101 let L = t.amount
105-[IntegerEntry(((e + n) + toString(F)), (K + 1)), IntegerEntry(((e + o) + toString(F)), (I + L)), IntegerEntry(((((e + p) + H) + "_") + toString(F)), (J + L))]
102+[IntegerEntry(((e + n) + toString(E)), (J + 1)), IntegerEntry(((e + o) + toString(E)), (H + L)), IntegerEntry(((((e + p) + G) + "_") + toString(E)), (I + L))]
106103 }
107104 }
108105 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'E5xdZLn3yHKAn29pTyubhr9R1mkRGg9WKAcpPrCYFYHx'
55
66 let b = base58'3Eh6z6z6ouFpWxGKrPaPnZwmDnDjgYHV6tqCmZf2G7tk'
77
88 let c = "_shutDown_"
99
1010 let d = "_event_"
1111
1212 let e = "_payment_"
1313
1414 let f = "_eventId_"
1515
1616 let g = "_startBlock_"
1717
1818 let h = "_endBlock_"
1919
2020 let i = "_image_"
2121
2222 let j = "_owner_"
2323
2424 let k = "_url_"
2525
2626 let l = "_hardCap_"
2727
2828 let m = "_title_"
2929
3030 let n = "_shareHolderCount_"
3131
3232 let o = "_totalPayment_"
3333
3434 let p = "_walletPayment_"
3535
3636 func q (r) = {
3737 let s = b
3838 if ((size(r.payments) == 0))
3939 then throw("Payment not attached")
4040 else {
4141 let t = r.payments[0]
4242 let u = t.assetId
4343 if ($isInstanceOf(u, "ByteVector"))
4444 then {
4545 let v = u
4646 if ((v == s))
4747 then (t.amount > 0)
4848 else false
4949 }
5050 else throw("Wrong payment asset")
5151 }
5252 }
5353
5454
5555 @Callable(r)
56-func shutdown (w) = {
57- let x = valueOrElse(getBoolean(this, c), true)
58- if ((r.callerPublicKey == a))
59- then [BooleanEntry(c, x)]
60- else throw("you are not allow to do this!")
61- }
56+func shutdown (w) = if ((r.callerPublicKey == a))
57+ then [BooleanEntry(c, w)]
58+ else throw("you are not allow to do this!")
6259
6360
6461
6562 @Callable(r)
6663 func settings () = throw("settings")
6764
6865
6966
7067 @Callable(r)
71-func create (y,z,A,B,C,D,E) = {
72- let F = valueOrElse(getInteger(this, f), 0)
73- let G = (F + 1)
68+func create (x,y,z,A,B,C,D) = {
69+ let E = valueOrElse(getInteger(this, f), 0)
70+ let F = (E + 1)
7471 if ((r.callerPublicKey == a))
75- then [StringEntry(((d + i) + toString(G)), z), StringEntry(((d + j) + toString(G)), A), StringEntry(((d + m) + toString(G)), y), IntegerEntry(((d + g) + toString(G)), B), IntegerEntry(((d + h) + toString(G)), C), StringEntry(((d + k) + toString(G)), D), IntegerEntry(((d + l) + toString(G)), E), IntegerEntry((d + f), G)]
72+ then [StringEntry(((d + i) + toString(F)), y), StringEntry(((d + j) + toString(F)), z), StringEntry(((d + m) + toString(F)), x), IntegerEntry(((d + g) + toString(F)), A), IntegerEntry(((d + h) + toString(F)), B), StringEntry(((d + k) + toString(F)), C), IntegerEntry(((d + l) + toString(F)), D), IntegerEntry((d + f), F)]
7673 else throw("you are not allowed")
7774 }
7875
7976
8077
8178 @Callable(r)
82-func funding (F) = {
83- let B = valueOrErrorMessage(getInteger(this, ((d + g) + toString(F))), "err")
84- let C = valueOrErrorMessage(getInteger(this, ((d + h) + toString(F))), "err")
85- let E = valueOrErrorMessage(getInteger(this, ((d + l) + toString(F))), "err")
86- let H = toBase58String(r.caller.bytes)
87- let I = valueOrElse(getInteger(this, ((e + o) + toString(F))), 0)
88- let J = valueOrElse(getInteger(this, (((e + p) + H) + toString(F))), 0)
89- let K = valueOrElse(getInteger(this, ((e + n) + toString(F))), 0)
90- if ((B > height))
79+func funding (E) = {
80+ let A = valueOrErrorMessage(getInteger(this, ((d + g) + toString(E))), "err")
81+ let B = valueOrErrorMessage(getInteger(this, ((d + h) + toString(E))), "err")
82+ let D = valueOrErrorMessage(getInteger(this, ((d + l) + toString(E))), "err")
83+ let G = toBase58String(r.caller.bytes)
84+ let H = valueOrElse(getInteger(this, ((e + o) + toString(E))), 0)
85+ let I = valueOrElse(getInteger(this, (((e + p) + G) + toString(E))), 0)
86+ let J = valueOrElse(getInteger(this, ((e + n) + toString(E))), 0)
87+ if ((A > height))
9188 then throw("crowdfunding not started")
92- else if ((height >= C))
89+ else if ((height >= B))
9390 then throw("crowdfunding is over")
94- else if ((I >= E))
91+ else if ((H >= D))
9592 then throw("crowdfunding is reached to hard cap. thank you for participating!")
9693 else if (!(q(r)))
9794 then throw("you have to attach payment greater than zero")
9895 else {
99- let x = valueOrElse(getBoolean(this, c), true)
100- if (x)
96+ let K = valueOrElse(getBoolean(this, c), true)
97+ if (K)
10198 then throw("emergency shutdown")
10299 else {
103100 let t = r.payments[0]
104101 let L = t.amount
105-[IntegerEntry(((e + n) + toString(F)), (K + 1)), IntegerEntry(((e + o) + toString(F)), (I + L)), IntegerEntry(((((e + p) + H) + "_") + toString(F)), (J + L))]
102+[IntegerEntry(((e + n) + toString(E)), (J + 1)), IntegerEntry(((e + o) + toString(E)), (H + L)), IntegerEntry(((((e + p) + G) + "_") + toString(E)), (I + L))]
106103 }
107104 }
108105 }
109106
110107
111108
112109 @Callable(r)
113110 func claim () = throw("event owner will claim the money")
114111
115112
116113
117114 @Callable(r)
118115 func refund () = throw("if not success payers gonna refund")
119116
120117
121118
122119 @Callable(r)
123120 func delete (M) = if ((r.callerPublicKey == a))
124121 then [DeleteEntry(M)]
125122 else throw("you are not allowed to do this!")
126123
127124
128125 @Verifier(N)
129126 func O () = sigVerify(N.bodyBytes, N.proofs[0], N.senderPublicKey)
130127

github/deemru/w8io/026f985 
42.77 ms