tx · 8CgHeSieBEy7v8rreSezF1YQYa4b67MHrCV97yToKfiN

3N4ynz2uyA7cErymQd46zgwVJEEfXYDRXtA:  -0.01500000 Waves

2023.08.04 10:45 [2695553] smart account 3N4ynz2uyA7cErymQd46zgwVJEEfXYDRXtA > SELF 0.00000000 Waves

{ "type": 13, "id": "8CgHeSieBEy7v8rreSezF1YQYa4b67MHrCV97yToKfiN", "fee": 1500000, "feeAssetId": null, "timestamp": 1691135206358, "version": 2, "chainId": 84, "sender": "3N4ynz2uyA7cErymQd46zgwVJEEfXYDRXtA", "senderPublicKey": "CiRX9ubobzbD36ZwTyuBFiPnPkmzMQ7GDsF3hMoVbcVR", "proofs": [ "iWUPQWwySvbuP3UPbye9ioP1wCrihccN7itg3tjdeFg5q2BTL4g6RyFzkQfeoFMxUtfafy1d3RwmQ5UBBsxUVxv" ], "script": "base64:AAIFAAAAAAAAABEIAhIICgYBAQEBAQQSAwoBAQAAAAwAAAAAI3ByZXNhbGVfdGltZXN0YW1wX2NvbnRyb2xsZXJfcHVia2V5AQAAACDjrdey1Io21qI8AxObYBZMNWPHMCK947HpXHsKae68IwAAAAASY29udHJvbGxlcl9hZGRyZXNzCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABBQAAACNwcmVzYWxlX3RpbWVzdGFtcF9jb250cm9sbGVyX3B1YmtleQAAAAAHdHNlcnJvcgIAAAA8RW5kIFRpbWVzdGFtcCBjYW4ndCBiZSBsZXNzIHRoYW4gb3IgZXF1YWwgdG8gU3RhcnQgVGltZXN0YW1wAAAAAApwcmljZWVycm9yAgAAACZUb2tlbiBQcmljZSBjYW4ndCBiZSBsZXNzIHRoYW4gb3IgWmVybwAAAAAIY2FwZXJyb3ICAAAAM1NvZnQgQ2FwIEFtb3VudCBjYW4ndCBiZSBtb3JlIHRoYW4gSGFyZCBDYXAgQW1vdW50LgAAAAAIb3JkZXJtc2cCAAAAKjxoMT5PcmRlciBTdWJtaXR0ZWQgU3VjY2Vzc2Z1b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fUm91bmQCAAAAF19wZW5kaW5nX3NvZnRjYXBfc3RhdHVzBQAAABZwZW5kaW5nX3NvZnRjYXBfc3RhdHVzCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAGkAAAAAQUAAAATRW50ZXJfUHJlc2FsZV9Sb3VuZAIAAAAXX3BlbmRpbmdfaGFyZGNhcF9zdGF0dXMFAAAAFnBlbmRpbmdfaGFyZGNhcF9zdGF0dXMJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAASwAAAACCQABpAAAAAEFAAAAE0VudGVyX1ByZXNhbGVfUm91bmQCAAAAD19zb2Z0Y2FwX3N0YXR1cwIAAAADWWVzCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgkAAaQAAAABBQAAABNFbnRlcl9QcmVzYWxlX1JvdW5kAgAAAA9faGFyZGNhcF9zdGF0dXMCAAAAA1llcwkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAAAdtZXNzYWdlBQAAAAhvcmRlcm1zZwUAAAADbmlsCQAAAgAAAAECAAAABkVycm9yLgAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V57rQ2PQ==", "height": 2695553, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2ZJMrBW4bzkuYGB8nuugMNKymREuSuuxAE13Tx9Jt77B Next: EndAEq5on72hxZdrWyZ9jAey2poMktjm7UYsATNq5hWG Diff:
OldNewDifferences
1-{-# STDLIB_VERSION 4 #-}
1+{-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'GKmJ6BchUgQfwKp4mp5eX8Y9xLioYRm6e1gDfFgdAcCr'
2626 let l = "Pre-Sale is over for this Round."
2727
2828 @Callable(m)
29-func SetPreSaleParameters (n,o,p,q,r) = {
30- let s = n
31- let t = o
32- let u = {
33- let v = getInteger(this, "Current_Funding_Round")
34- if ($isInstanceOf(v, "Int"))
29+func SetPreSaleParameters (n,o,p,q,r,s) = {
30+ let t = n
31+ let u = o
32+ let v = {
33+ let w = getInteger(this, "Current_Funding_Round")
34+ if ($isInstanceOf(w, "Int"))
3535 then {
36- let w = v
37- w
36+ let x = w
37+ x
3838 }
3939 else 0
4040 }
41- let x = (u + 1)
41+ let y = (v + 1)
4242 if ((m.caller != b))
4343 then throw((("This Address is not Authorized. Only " + toString(b)) + " is Authorized Address to Sign it."))
4444 else if ((size(toString(n)) != 13))
4747 then throw("End Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
4848 else if ((1 > p))
4949 then throw(d)
50- else if ((s >= t))
50+ else if ((t >= u))
5151 then throw(c)
5252 else if ((q > r))
5353 then throw(e)
54- else [IntegerEntry("Current_Funding_Round", x), IntegerEntry((toString(x) + "_Presale_Start_TimeStamp"), s), IntegerEntry((toString(x) + "_Presale_End_TimeStamp"), t), IntegerEntry((toString(x) + "_Token_Price"), p), IntegerEntry((toString(x) + "_Soft_Cap_Amount"), q), IntegerEntry((toString(x) + "_Hard_Cap_Amount"), r), IntegerEntry((toString(x) + "_Initiated_Height"), height), StringEntry("message", g)]
54+ else [IntegerEntry("Current_Funding_Round", y), IntegerEntry((toString(y) + "_Presale_Start_TimeStamp"), t), IntegerEntry((toString(y) + "_Presale_End_TimeStamp"), u), IntegerEntry((toString(y) + "_Token_Price"), p), IntegerEntry((toString(y) + "_Soft_Cap_Amount"), q), IntegerEntry((toString(y) + "_Hard_Cap_Amount"), r), IntegerEntry((toString(y) + "_Initiated_Height"), height), StringEntry("message", g)]
5555 }
5656
5757
5858
5959 @Callable(m)
60-func PlacePresaleOrder (y) = {
61- let z = valueOrErrorMessage(getInteger(this, (toString(y) + "_Token_Price")), "Token Price not Found for this Presale Round.")
62- let A = valueOrErrorMessage(getInteger(this, (toString(y) + "_Presale_Start_TimeStamp")), "Start Timestamp not Found for this Presale Round.")
63- let B = valueOrErrorMessage(getInteger(this, (toString(y) + "_Presale_End_TimeStamp")), "End Timestamp not Found for this Presale Round.")
64- let C = valueOrErrorMessage(getInteger(this, (toString(y) + "_Soft_Cap_Amount")), "Soft Cap Amount not Found for this Presale Round.")
65- let D = valueOrErrorMessage(getInteger(this, (toString(y) + "_Hard_Cap_Amount")), "Hard Cap Amount not Found for this Presale Round.")
66- let E = unit
67- let F = toBase58String(m.caller.bytes)
68- let G = if ((size(m.payments) == 1))
60+func PlacePresaleOrder (z) = {
61+ let A = valueOrErrorMessage(getInteger(this, (toString(z) + "_Token_Price")), "Token Price not Found for this Presale Round.")
62+ let B = valueOrErrorMessage(getInteger(this, (toString(z) + "_Presale_Start_TimeStamp")), "Start Timestamp not Found for this Presale Round.")
63+ let C = valueOrErrorMessage(getInteger(this, (toString(z) + "_Presale_End_TimeStamp")), "End Timestamp not Found for this Presale Round.")
64+ let D = valueOrErrorMessage(getInteger(this, (toString(z) + "_Soft_Cap_Amount")), "Soft Cap Amount not Found for this Presale Round.")
65+ let E = valueOrErrorMessage(getInteger(this, (toString(z) + "_Hard_Cap_Amount")), "Hard Cap Amount not Found for this Presale Round.")
66+ let F = unit
67+ let G = toBase58String(m.caller.bytes)
68+ let H = if ((size(m.payments) == 1))
6969 then m.payments[0]
7070 else throw(h)
71- let H = {
72- let v = getInteger(this, (toString(y) + "_Funds_Collection"))
73- if ($isInstanceOf(v, "Int"))
71+ let I = {
72+ let w = getInteger(this, (toString(z) + "_Funds_Collection"))
73+ if ($isInstanceOf(w, "Int"))
7474 then {
75- let w = v
76- w
75+ let x = w
76+ x
7777 }
7878 else 0
7979 }
80- let I = (H + G.amount)
81- let J = {
82- let v = getInteger(this, (toString(y) + "_total_txns"))
83- if ($isInstanceOf(v, "Int"))
80+ let J = (I + H.amount)
81+ let K = {
82+ let w = getInteger(this, (toString(z) + "_total_txns"))
83+ if ($isInstanceOf(w, "Int"))
8484 then {
85- let w = v
86- w
85+ let x = w
86+ x
8787 }
8888 else 0
8989 }
90- let K = (J + 1)
91- let L = {
92- let v = getInteger(this, ((toString(y) + "_") + F))
93- if ($isInstanceOf(v, "Int"))
90+ let L = (K + 1)
91+ let M = {
92+ let w = getInteger(this, ((toString(z) + "_") + G))
93+ if ($isInstanceOf(w, "Int"))
9494 then {
95- let w = v
96- w
95+ let x = w
96+ x
9797 }
9898 else 0
9999 }
100- let M = (L + G.amount)
101- let N = (C - I)
102- let O = (D - I)
103- if (isDefined(G.assetId))
100+ let N = (M + H.amount)
101+ let O = (D - J)
102+ let P = (E - J)
103+ if (isDefined(H.assetId))
104104 then throw(h)
105- else if ((z > G.amount))
106- then throw((((i + "[") + toString(z)) + "/10^8.]"))
107- else if ((A > lastBlock.timestamp))
108- then throw((j + toString(A)))
109- else if (if ((N > 0))
110- then (O > 0)
105+ else if ((A > H.amount))
106+ then throw((((i + "[") + toString(A)) + "/10^8.]"))
107+ else if ((B > lastBlock.timestamp))
108+ then throw((j + toString(B)))
109+ else if (if ((O > 0))
110+ then (P > 0)
111111 else false)
112- then [IntegerEntry((toString(y) + "_Funds_Collection"), I), IntegerEntry(((toString(y) + "_") + F), M), IntegerEntry((toString(y) + "_total_txns"), K), IntegerEntry((toString(y) + "_pending_softcap_status"), N), IntegerEntry((toString(y) + "_pending_hardcap_status"), O), StringEntry((toString(y) + "_softcap_status"), "No"), StringEntry((toString(y) + "_hardcap_status"), "No"), StringEntry("message", f)]
113- else if (if ((0 >= N))
114- then (O > 0)
112+ then [IntegerEntry((toString(z) + "_Funds_Collection"), J), IntegerEntry(((toString(z) + "_") + G), N), IntegerEntry((toString(z) + "_total_txns"), L), IntegerEntry((toString(z) + "_pending_softcap_status"), O), IntegerEntry((toString(z) + "_pending_hardcap_status"), P), StringEntry((toString(z) + "_softcap_status"), "No"), StringEntry((toString(z) + "_hardcap_status"), "No"), StringEntry("message", f)]
113+ else if (if ((0 >= O))
114+ then (P > 0)
115115 else false)
116- then [IntegerEntry((toString(y) + "_Funds_Collection"), I), IntegerEntry(((toString(y) + "_") + F), M), IntegerEntry((toString(y) + "_total_txns"), K), IntegerEntry((toString(y) + "_pending_softcap_status"), N), IntegerEntry((toString(y) + "_pending_hardcap_status"), O), StringEntry((toString(y) + "_softcap_status"), "Yes"), StringEntry((toString(y) + "_hardcap_status"), "No"), StringEntry("message", f)]
117- else if (if ((0 >= N))
118- then (0 >= O)
116+ then [IntegerEntry((toString(z) + "_Funds_Collection"), J), IntegerEntry(((toString(z) + "_") + G), N), IntegerEntry((toString(z) + "_total_txns"), L), IntegerEntry((toString(z) + "_pending_softcap_status"), O), IntegerEntry((toString(z) + "_pending_hardcap_status"), P), StringEntry((toString(z) + "_softcap_status"), "Yes"), StringEntry((toString(z) + "_hardcap_status"), "No"), StringEntry("message", f)]
117+ else if (if ((0 >= O))
118+ then (0 >= P)
119119 else false)
120- then [IntegerEntry((toString(y) + "_Funds_Collection"), I), IntegerEntry(((toString(y) + "_") + F), M), IntegerEntry((toString(y) + "_total_txns"), K), IntegerEntry((toString(y) + "_pending_softcap_status"), N), IntegerEntry((toString(y) + "_pending_hardcap_status"), O), StringEntry((toString(y) + "_softcap_status"), "Yes"), StringEntry((toString(y) + "_hardcap_status"), "Yes"), StringEntry("message", f)]
120+ then [IntegerEntry((toString(z) + "_Funds_Collection"), J), IntegerEntry(((toString(z) + "_") + G), N), IntegerEntry((toString(z) + "_total_txns"), L), IntegerEntry((toString(z) + "_pending_softcap_status"), O), IntegerEntry((toString(z) + "_pending_hardcap_status"), P), StringEntry((toString(z) + "_softcap_status"), "Yes"), StringEntry((toString(z) + "_hardcap_status"), "Yes"), StringEntry("message", f)]
121121 else throw("Error.")
122122 }
123123
124124
125-@Verifier(P)
126-func Q () = sigVerify(P.bodyBytes, P.proofs[0], P.senderPublicKey)
125+@Verifier(Q)
126+func R () = sigVerify(Q.bodyBytes, Q.proofs[0], Q.senderPublicKey)
127127
Full:
OldNewDifferences
1-{-# STDLIB_VERSION 4 #-}
1+{-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'GKmJ6BchUgQfwKp4mp5eX8Y9xLioYRm6e1gDfFgdAcCr'
55
66 let b = addressFromPublicKey(a)
77
88 let c = "End Timestamp can't be less than or equal to Start Timestamp"
99
1010 let d = "Token Price can't be less than or Zero"
1111
1212 let e = "Soft Cap Amount can't be more than Hard Cap Amount."
1313
1414 let f = "<h1>Order Submitted Successfully!</h1><br>"
1515
1616 let g = "<h1>PreSale Parameters Submitted Successfully!</h1><br>"
1717
1818 let h = "DApp Need WAVES Token as Attach payment[1]."
1919
2020 let i = "Attached payment[1] is less than token price "
2121
2222 let j = "Dapp will start Pre-Sale at Timestamp "
2323
2424 let k = "Minimum 0.1 WAVES required on Your Address, Please hold min. 0.1 WAVES on your Address to place order."
2525
2626 let l = "Pre-Sale is over for this Round."
2727
2828 @Callable(m)
29-func SetPreSaleParameters (n,o,p,q,r) = {
30- let s = n
31- let t = o
32- let u = {
33- let v = getInteger(this, "Current_Funding_Round")
34- if ($isInstanceOf(v, "Int"))
29+func SetPreSaleParameters (n,o,p,q,r,s) = {
30+ let t = n
31+ let u = o
32+ let v = {
33+ let w = getInteger(this, "Current_Funding_Round")
34+ if ($isInstanceOf(w, "Int"))
3535 then {
36- let w = v
37- w
36+ let x = w
37+ x
3838 }
3939 else 0
4040 }
41- let x = (u + 1)
41+ let y = (v + 1)
4242 if ((m.caller != b))
4343 then throw((("This Address is not Authorized. Only " + toString(b)) + " is Authorized Address to Sign it."))
4444 else if ((size(toString(n)) != 13))
4545 then throw("Start Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
4646 else if ((size(toString(o)) != 13))
4747 then throw("End Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
4848 else if ((1 > p))
4949 then throw(d)
50- else if ((s >= t))
50+ else if ((t >= u))
5151 then throw(c)
5252 else if ((q > r))
5353 then throw(e)
54- else [IntegerEntry("Current_Funding_Round", x), IntegerEntry((toString(x) + "_Presale_Start_TimeStamp"), s), IntegerEntry((toString(x) + "_Presale_End_TimeStamp"), t), IntegerEntry((toString(x) + "_Token_Price"), p), IntegerEntry((toString(x) + "_Soft_Cap_Amount"), q), IntegerEntry((toString(x) + "_Hard_Cap_Amount"), r), IntegerEntry((toString(x) + "_Initiated_Height"), height), StringEntry("message", g)]
54+ else [IntegerEntry("Current_Funding_Round", y), IntegerEntry((toString(y) + "_Presale_Start_TimeStamp"), t), IntegerEntry((toString(y) + "_Presale_End_TimeStamp"), u), IntegerEntry((toString(y) + "_Token_Price"), p), IntegerEntry((toString(y) + "_Soft_Cap_Amount"), q), IntegerEntry((toString(y) + "_Hard_Cap_Amount"), r), IntegerEntry((toString(y) + "_Initiated_Height"), height), StringEntry("message", g)]
5555 }
5656
5757
5858
5959 @Callable(m)
60-func PlacePresaleOrder (y) = {
61- let z = valueOrErrorMessage(getInteger(this, (toString(y) + "_Token_Price")), "Token Price not Found for this Presale Round.")
62- let A = valueOrErrorMessage(getInteger(this, (toString(y) + "_Presale_Start_TimeStamp")), "Start Timestamp not Found for this Presale Round.")
63- let B = valueOrErrorMessage(getInteger(this, (toString(y) + "_Presale_End_TimeStamp")), "End Timestamp not Found for this Presale Round.")
64- let C = valueOrErrorMessage(getInteger(this, (toString(y) + "_Soft_Cap_Amount")), "Soft Cap Amount not Found for this Presale Round.")
65- let D = valueOrErrorMessage(getInteger(this, (toString(y) + "_Hard_Cap_Amount")), "Hard Cap Amount not Found for this Presale Round.")
66- let E = unit
67- let F = toBase58String(m.caller.bytes)
68- let G = if ((size(m.payments) == 1))
60+func PlacePresaleOrder (z) = {
61+ let A = valueOrErrorMessage(getInteger(this, (toString(z) + "_Token_Price")), "Token Price not Found for this Presale Round.")
62+ let B = valueOrErrorMessage(getInteger(this, (toString(z) + "_Presale_Start_TimeStamp")), "Start Timestamp not Found for this Presale Round.")
63+ let C = valueOrErrorMessage(getInteger(this, (toString(z) + "_Presale_End_TimeStamp")), "End Timestamp not Found for this Presale Round.")
64+ let D = valueOrErrorMessage(getInteger(this, (toString(z) + "_Soft_Cap_Amount")), "Soft Cap Amount not Found for this Presale Round.")
65+ let E = valueOrErrorMessage(getInteger(this, (toString(z) + "_Hard_Cap_Amount")), "Hard Cap Amount not Found for this Presale Round.")
66+ let F = unit
67+ let G = toBase58String(m.caller.bytes)
68+ let H = if ((size(m.payments) == 1))
6969 then m.payments[0]
7070 else throw(h)
71- let H = {
72- let v = getInteger(this, (toString(y) + "_Funds_Collection"))
73- if ($isInstanceOf(v, "Int"))
71+ let I = {
72+ let w = getInteger(this, (toString(z) + "_Funds_Collection"))
73+ if ($isInstanceOf(w, "Int"))
7474 then {
75- let w = v
76- w
75+ let x = w
76+ x
7777 }
7878 else 0
7979 }
80- let I = (H + G.amount)
81- let J = {
82- let v = getInteger(this, (toString(y) + "_total_txns"))
83- if ($isInstanceOf(v, "Int"))
80+ let J = (I + H.amount)
81+ let K = {
82+ let w = getInteger(this, (toString(z) + "_total_txns"))
83+ if ($isInstanceOf(w, "Int"))
8484 then {
85- let w = v
86- w
85+ let x = w
86+ x
8787 }
8888 else 0
8989 }
90- let K = (J + 1)
91- let L = {
92- let v = getInteger(this, ((toString(y) + "_") + F))
93- if ($isInstanceOf(v, "Int"))
90+ let L = (K + 1)
91+ let M = {
92+ let w = getInteger(this, ((toString(z) + "_") + G))
93+ if ($isInstanceOf(w, "Int"))
9494 then {
95- let w = v
96- w
95+ let x = w
96+ x
9797 }
9898 else 0
9999 }
100- let M = (L + G.amount)
101- let N = (C - I)
102- let O = (D - I)
103- if (isDefined(G.assetId))
100+ let N = (M + H.amount)
101+ let O = (D - J)
102+ let P = (E - J)
103+ if (isDefined(H.assetId))
104104 then throw(h)
105- else if ((z > G.amount))
106- then throw((((i + "[") + toString(z)) + "/10^8.]"))
107- else if ((A > lastBlock.timestamp))
108- then throw((j + toString(A)))
109- else if (if ((N > 0))
110- then (O > 0)
105+ else if ((A > H.amount))
106+ then throw((((i + "[") + toString(A)) + "/10^8.]"))
107+ else if ((B > lastBlock.timestamp))
108+ then throw((j + toString(B)))
109+ else if (if ((O > 0))
110+ then (P > 0)
111111 else false)
112- then [IntegerEntry((toString(y) + "_Funds_Collection"), I), IntegerEntry(((toString(y) + "_") + F), M), IntegerEntry((toString(y) + "_total_txns"), K), IntegerEntry((toString(y) + "_pending_softcap_status"), N), IntegerEntry((toString(y) + "_pending_hardcap_status"), O), StringEntry((toString(y) + "_softcap_status"), "No"), StringEntry((toString(y) + "_hardcap_status"), "No"), StringEntry("message", f)]
113- else if (if ((0 >= N))
114- then (O > 0)
112+ then [IntegerEntry((toString(z) + "_Funds_Collection"), J), IntegerEntry(((toString(z) + "_") + G), N), IntegerEntry((toString(z) + "_total_txns"), L), IntegerEntry((toString(z) + "_pending_softcap_status"), O), IntegerEntry((toString(z) + "_pending_hardcap_status"), P), StringEntry((toString(z) + "_softcap_status"), "No"), StringEntry((toString(z) + "_hardcap_status"), "No"), StringEntry("message", f)]
113+ else if (if ((0 >= O))
114+ then (P > 0)
115115 else false)
116- then [IntegerEntry((toString(y) + "_Funds_Collection"), I), IntegerEntry(((toString(y) + "_") + F), M), IntegerEntry((toString(y) + "_total_txns"), K), IntegerEntry((toString(y) + "_pending_softcap_status"), N), IntegerEntry((toString(y) + "_pending_hardcap_status"), O), StringEntry((toString(y) + "_softcap_status"), "Yes"), StringEntry((toString(y) + "_hardcap_status"), "No"), StringEntry("message", f)]
117- else if (if ((0 >= N))
118- then (0 >= O)
116+ then [IntegerEntry((toString(z) + "_Funds_Collection"), J), IntegerEntry(((toString(z) + "_") + G), N), IntegerEntry((toString(z) + "_total_txns"), L), IntegerEntry((toString(z) + "_pending_softcap_status"), O), IntegerEntry((toString(z) + "_pending_hardcap_status"), P), StringEntry((toString(z) + "_softcap_status"), "Yes"), StringEntry((toString(z) + "_hardcap_status"), "No"), StringEntry("message", f)]
117+ else if (if ((0 >= O))
118+ then (0 >= P)
119119 else false)
120- then [IntegerEntry((toString(y) + "_Funds_Collection"), I), IntegerEntry(((toString(y) + "_") + F), M), IntegerEntry((toString(y) + "_total_txns"), K), IntegerEntry((toString(y) + "_pending_softcap_status"), N), IntegerEntry((toString(y) + "_pending_hardcap_status"), O), StringEntry((toString(y) + "_softcap_status"), "Yes"), StringEntry((toString(y) + "_hardcap_status"), "Yes"), StringEntry("message", f)]
120+ then [IntegerEntry((toString(z) + "_Funds_Collection"), J), IntegerEntry(((toString(z) + "_") + G), N), IntegerEntry((toString(z) + "_total_txns"), L), IntegerEntry((toString(z) + "_pending_softcap_status"), O), IntegerEntry((toString(z) + "_pending_hardcap_status"), P), StringEntry((toString(z) + "_softcap_status"), "Yes"), StringEntry((toString(z) + "_hardcap_status"), "Yes"), StringEntry("message", f)]
121121 else throw("Error.")
122122 }
123123
124124
125-@Verifier(P)
126-func Q () = sigVerify(P.bodyBytes, P.proofs[0], P.senderPublicKey)
125+@Verifier(Q)
126+func R () = sigVerify(Q.bodyBytes, Q.proofs[0], Q.senderPublicKey)
127127

github/deemru/w8io/169f3d6 
91.09 ms