tx · 5UALGUJA9HqKrXaiCcqAwqnRpe6TwG1dYBxQfZY8Sciu

3N8xhCqhby2FuAxqMfNmJcoVYrkkJiVE1Jr:  -0.03500000 Waves

2022.12.07 12:13 [2349731] smart account 3N8xhCqhby2FuAxqMfNmJcoVYrkkJiVE1Jr > SELF 0.00000000 Waves

{ "type": 13, "id": "5UALGUJA9HqKrXaiCcqAwqnRpe6TwG1dYBxQfZY8Sciu", "fee": 3500000, "feeAssetId": null, "timestamp": 1670404305787, "version": 1, "sender": "3N8xhCqhby2FuAxqMfNmJcoVYrkkJiVE1Jr", "senderPublicKey": "5tCEcjM69HsRh7dRpSZ51WjznVLspnZVwPFARKC33MkF", "proofs": [ "YFGcwKiJYvVUTs7zxzWx7anwd54zoHMnFLTacBvsNdcEqWE2MRNa5XT9E1WKfecG2uLzueVkLYVcQviMQHJRdBk" ], "script": "base64:BgLfLAgCEgMKAQgSABIECgIBBBIDCgEBEgQKAgEEEgQKAggBEgQKAggBEgQKAggBEgUKAwEIARIAEgQKAgEBEgMKAQESBQoDAQEBEgQKAggIEgASABIDCgEIEgUKAwEBARIECgIBARIECgIIARIECgIICBILCgkIAQECAQIIBAQSBgoECAgBCBIAEgMKAQESAwoBARIECgIIASIKbFBkZWNpbWFscyIGc2NhbGU4IgxzY2FsZThCaWdJbnQiB3NjYWxlMTgiCnplcm9CaWdJbnQiBGJpZzAiBGJpZzEiBGJpZzIiC3dhdmVzU3RyaW5nIgNTRVAiClBvb2xBY3RpdmUiD1Bvb2xQdXREaXNhYmxlZCITUG9vbE1hdGNoZXJEaXNhYmxlZCIMUG9vbFNodXRkb3duIg5pZHhQb29sQWRkcmVzcyINaWR4UG9vbFN0YXR1cyIQaWR4UG9vbExQQXNzZXRJZCINaWR4QW10QXNzZXRJZCIPaWR4UHJpY2VBc3NldElkIg5pZHhBbXRBc3NldERjbSIQaWR4UHJpY2VBc3NldERjbSIOaWR4SUFtdEFzc2V0SWQiEGlkeElQcmljZUFzc2V0SWQiDWlkeEx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kcAlib2R5Qnl0ZXMJAJEDAggFAmRwBnByb29mcwAACAUCZHAPc2VuZGVyUHVibGljS2V5BAJhQgkA9AMDCAUCZHAJYm9keUJ5dGVzCQCRAwIIBQJkcAZwcm9vZnMAAQUCZ0IDAwMFAmF6BQJhQQcFAmFCBwYJAQJheQMFAmF6BQJhQQUCYUIDCQABAgUCZEsCFFNldFNjcmlwdFRyYW5zYWN0aW9uBAJlTgUCZEsEAmdDCQD2AwEJAQV2YWx1ZQEIBQJlTgZzY3JpcHQEAmdECQDbBAEJAQV2YWx1ZQEJAJ0IAgUCYUoJAQJhdwAEAmdFCQDxBwEFBHRoaXMDAwkAAAIFAmdEBQJnQwkBAiE9AgUCZ0UFAmdDBwYJAPQDAwgFAmd5CWJvZHlCeXRlcwkAkQMCCAUCZ3kGcHJvb2ZzAAAFAmdBCQD0AwMIBQJneQlib2R5Qnl0ZXMJAJEDAggFAmd5BnByb29mcwAABQJnQdQ0z6o=", "chainId": 84, "height": 2349731, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8CFMuidjBg4DSUNE85TrcA5iEU9vNA6E9UV6hNx4VXzL Next: A79EqfW7xcfkr5CMa36qNZa7ctjzNBwqfbp1UwzXha7E Diff:
OldNewDifferences
754754 let fg = di(0, 0, 0)
755755 let fh = fg._1
756756 let cZ = fg._2
757- let fi = dm(dh, cZ)
757+ let de = (toBigInt(bw(aS(ba))) - dD)
758+ let df = (toBigInt(bw(aS(bb))) - dE)
759+ let dg = toBigInt(value(assetInfo(aZ)).quantity)
760+ let fi = aG(makeString([toString(de), toString(df), toString(dg), toString(dh), toString(cZ)], " "))
758761 if ((fi == fi))
759- then ((co ++ fe) ++ fh)
762+ then {
763+ let fj = dm(dh, cZ)
764+ if ((fj == fj))
765+ then ((co ++ fe) ++ fh)
766+ else throw("Strict value is not equal to itself.")
767+ }
760768 else throw("Strict value is not equal to itself.")
761769 }
762770 else throw("Strict value is not equal to itself.")
773781
774782
775783 @Callable(dz)
776-func putForFree (fj) = if ((0 > fj))
784+func putForFree (fk) = if ((0 > fk))
777785 then throw("Invalid value passed")
778786 else {
779- let dF = dC(dz, fj, false)
787+ let dF = dC(dz, fk, false)
780788 let co = dF._9
781789 let dD = toBigInt(value(dz.payments[0]).amount)
782790 let dE = toBigInt(value(dz.payments[1]).amount)
783791 let dh = da(dD, dE, toBigInt(0))
784792 if ((dh == dh))
785793 then {
786- let fk = di(0, 0, 0)
787- let fh = fk._1
788- let cZ = fk._2
789- let fi = dm(dh, cZ)
790- if ((fi == fi))
794+ let fl = di(0, 0, 0)
795+ let fh = fl._1
796+ let cZ = fl._2
797+ let fj = dm(dh, cZ)
798+ if ((fj == fj))
791799 then (co ++ fh)
792800 else throw("Strict value is not equal to itself.")
793801 }
797805
798806
799807 @Callable(dz)
800-func putOneTkn (fl,fm) = {
801- let fn = {
802- let fo = invoke(aJ, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil)
803- if ($isInstanceOf(fo, "Boolean"))
804- then fo
805- else throw(($getType(fo) + " couldn't be cast to Boolean"))
808+func putOneTkn (fm,fn) = {
809+ let fo = {
810+ let fp = invoke(aJ, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil)
811+ if ($isInstanceOf(fp, "Boolean"))
812+ then fp
813+ else throw(($getType(fp) + " couldn't be cast to Boolean"))
806814 }
807- let fp = if (if (if (aL())
815+ let fq = if (if (if (aL())
808816 then true
809817 else (aY == l))
810818 then true
811819 else (aY == n))
812820 then true
813- else fn
814- let ev = [if (if (!(fp))
821+ else fo
822+ let ev = [if (if (!(fq))
815823 then true
816824 else eP(dz))
817825 then true
820828 else aG("exactly 1 payment are expected")]
821829 if ((ev == ev))
822830 then {
823- let fq = dz.payments[0]
824- let dQ = fq.assetId
825- let dP = fq.amount
831+ let fr = dz.payments[0]
832+ let dQ = fr.assetId
833+ let dP = fr.amount
826834 let dh = if ((dQ == ba))
827835 then da(toBigInt(dP), toBigInt(0), toBigInt(0))
828836 else if ((dQ == bb))
830838 else aG("payment asset is not supported")
831839 let X = dz.caller
832840 let Y = dz.transactionId
833- let fr = dO(dP, dQ, X, Y)
834- if ((fr == fr))
841+ let fs = dO(dP, dQ, X, Y)
842+ if ((fs == fs))
835843 then {
836- let dU = fr._5
837- let fs = fr._4
838- let dN = fr._3
839- let cV = fr._2
840- let ft = fr._1
841- let fu = if (if ((fl > 0))
842- then (fl > ft)
844+ let dU = fs._5
845+ let ft = fs._4
846+ let dN = fs._3
847+ let cV = fs._2
848+ let fu = fs._1
849+ let fv = if (if ((fm > 0))
850+ then (fm > fu)
843851 else false)
844- then aG(makeString(["amount to receive is less than ", toString(fl)], ""))
845- else ft
846- let dI = dG(fu)
852+ then aG(makeString(["amount to receive is less than ", toString(fm)], ""))
853+ else fu
854+ let dI = dG(fv)
847855 if ((dI == dI))
848856 then {
849- let fe = if (fm)
857+ let fe = if (fn)
850858 then {
851- let fv = invoke(bf, "stake", nil, [AttachedPayment(aZ, fu)])
852- if ((fv == fv))
859+ let fw = invoke(bf, "stake", nil, [AttachedPayment(aZ, fv)])
860+ if ((fw == fw))
853861 then nil
854862 else throw("Strict value is not equal to itself.")
855863 }
856- else [ScriptTransfer(dz.caller, fu, aZ)]
857- let fw = if ((dN > 0))
864+ else [ScriptTransfer(dz.caller, fv, aZ)]
865+ let fx = if ((dN > 0))
858866 then [ScriptTransfer(aK, dN, dQ)]
859867 else nil
860- let fx = if ((this == aK))
868+ let fy = if ((this == aK))
861869 then $Tuple2(0, 0)
862870 else if (dU)
863871 then $Tuple2(-(dN), 0)
864872 else $Tuple2(0, -(dN))
865- let dj = fx._1
866- let dk = fx._2
867- let fy = di(dj, dk, 0)
868- let fh = fy._1
869- let cZ = fy._2
873+ let dj = fy._1
874+ let dk = fy._2
875+ let fz = di(dj, dk, 0)
876+ let fh = fz._1
877+ let cZ = fz._2
870878 let dt = value(getString(af))
871- let fz = aG(makeString([toString(dj), toString(dk), dt, toString(dh), toString(cZ)], " "))
872- if ((fz == fz))
873- then {
874- let fi = dm(dh, cZ)
875- if ((fi == fi))
876- then $Tuple2((((cV ++ fe) ++ fw) ++ fh), fu)
877- else throw("Strict value is not equal to itself.")
878- }
879+ let fj = dm(dh, cZ)
880+ if ((fj == fj))
881+ then $Tuple2((((cV ++ fe) ++ fx) ++ fh), fv)
879882 else throw("Strict value is not equal to itself.")
880883 }
881884 else throw("Strict value is not equal to itself.")
890893 @Callable(dz)
891894 func putOneTknREADONLY (dQ,dP) = {
892895 let fA = dO(dP, aQ(dQ), unit, unit)
893- let ft = fA._1
896+ let fu = fA._1
894897 let cV = fA._2
895898 let dN = fA._3
896- let fs = fA._4
899+ let ft = fA._4
897900 let dU = fA._5
898- $Tuple2(nil, $Tuple3(ft, dN, fs))
901+ $Tuple2(nil, $Tuple3(fu, dN, ft))
899902 }
900903
901904
902905
903906 @Callable(dz)
904-func getOneTkn (fB,fl) = {
905- let fn = {
906- let fo = invoke(aJ, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil)
907- if ($isInstanceOf(fo, "Boolean"))
908- then fo
909- else throw(($getType(fo) + " couldn't be cast to Boolean"))
907+func getOneTkn (fB,fm) = {
908+ let fo = {
909+ let fp = invoke(aJ, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil)
910+ if ($isInstanceOf(fp, "Boolean"))
911+ then fp
912+ else throw(($getType(fp) + " couldn't be cast to Boolean"))
910913 }
911914 let fC = if (if (aL())
912915 then true
913916 else (aY == n))
914917 then true
915- else fn
918+ else fo
916919 let ev = [if (if (!(fC))
917920 then true
918921 else eP(dz))
923926 if ((ev == ev))
924927 then {
925928 let eu = aQ(fB)
926- let fq = dz.payments[0]
927- let dQ = fq.assetId
928- let ec = fq.amount
929+ let fr = dz.payments[0]
930+ let dQ = fr.assetId
931+ let ec = fr.amount
929932 let dh = da(toBigInt(0), toBigInt(0), toBigInt(ec))
930933 let X = dz.caller
931934 let Y = dz.transactionId
933936 if ((fD == fD))
934937 then {
935938 let ew = fD._5
936- let fs = fD._4
939+ let ft = fD._4
937940 let dN = fD._3
938941 let cV = fD._2
939942 let fE = fD._1
940- let dH = if (if ((fl > 0))
941- then (fl > fE)
943+ let dH = if (if ((fm > 0))
944+ then (fm > fE)
942945 else false)
943- then aG(makeString(["amount to receive is less than ", toString(fl)], ""))
946+ then aG(makeString(["amount to receive is less than ", toString(fm)], ""))
944947 else fE
945948 let fF = invoke(aJ, "burn", [ec], [AttachedPayment(dQ, ec)])
946949 if ((fF == fF))
947950 then {
948951 let fG = [ScriptTransfer(X, dH, eu)]
949- let fw = if ((dN > 0))
952+ let fx = if ((dN > 0))
950953 then [ScriptTransfer(aK, dN, eu)]
951954 else nil
952955 let fH = {
962965 let fJ = di(dj, dk, 0)
963966 let fh = fJ._1
964967 let cZ = fJ._2
965- let fi = dm(dh, cZ)
966- if ((fi == fi))
967- then $Tuple2((((cV ++ fG) ++ fw) ++ fh), dH)
968+ let fj = dm(dh, cZ)
969+ if ((fj == fj))
970+ then $Tuple2((((cV ++ fG) ++ fx) ++ fh), dH)
968971 else throw("Strict value is not equal to itself.")
969972 }
970973 else throw("Strict value is not equal to itself.")
982985 let fE = fK._1
983986 let cV = fK._2
984987 let dN = fK._3
985- let fs = fK._4
988+ let ft = fK._4
986989 let ew = fK._5
987- $Tuple2(nil, $Tuple3(fE, dN, fs))
990+ $Tuple2(nil, $Tuple3(fE, dN, ft))
988991 }
989992
990993
991994
992995 @Callable(dz)
993-func unstakeAndGetOneTkn (fL,fB,fl) = {
994- let fn = {
995- let fo = invoke(aJ, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil)
996- if ($isInstanceOf(fo, "Boolean"))
997- then fo
998- else throw(($getType(fo) + " couldn't be cast to Boolean"))
996+func unstakeAndGetOneTkn (fL,fB,fm) = {
997+ let fo = {
998+ let fp = invoke(aJ, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil)
999+ if ($isInstanceOf(fp, "Boolean"))
1000+ then fp
1001+ else throw(($getType(fp) + " couldn't be cast to Boolean"))
9991002 }
10001003 let fC = if (if (aL())
10011004 then true
10021005 else (aY == n))
10031006 then true
1004- else fn
1007+ else fo
10051008 let ev = [if (if (!(fC))
10061009 then true
10071010 else eP(dz))
10221025 if ((fN == fN))
10231026 then {
10241027 let ew = fN._5
1025- let fs = fN._4
1028+ let ft = fN._4
10261029 let dN = fN._3
10271030 let cV = fN._2
10281031 let fE = fN._1
1029- let dH = if (if ((fl > 0))
1030- then (fl > fE)
1032+ let dH = if (if ((fm > 0))
1033+ then (fm > fE)
10311034 else false)
1032- then aG(makeString(["amount to receive is less than ", toString(fl)], ""))
1035+ then aG(makeString(["amount to receive is less than ", toString(fm)], ""))
10331036 else fE
10341037 let fF = invoke(aJ, "burn", [fL], [AttachedPayment(aZ, fL)])
10351038 if ((fF == fF))
10361039 then {
10371040 let fG = [ScriptTransfer(dz.caller, dH, eu)]
1038- let fw = if ((dN > 0))
1041+ let fx = if ((dN > 0))
10391042 then [ScriptTransfer(aK, dN, eu)]
10401043 else nil
10411044 let fO = {
10511054 let fP = di(dj, dk, 0)
10521055 let fh = fP._1
10531056 let cZ = fP._2
1054- let fi = dm(dh, cZ)
1055- if ((fi == fi))
1056- then $Tuple2((((cV ++ fG) ++ fw) ++ fh), dH)
1057+ let fj = dm(dh, cZ)
1058+ if ((fj == fj))
1059+ then $Tuple2((((cV ++ fG) ++ fx) ++ fh), dH)
10571060 else throw("Strict value is not equal to itself.")
10581061 }
10591062 else throw("Strict value is not equal to itself.")
10821085 let fS = di(-(fQ), -(cn), 0)
10831086 let fh = fS._1
10841087 let cZ = fS._2
1085- let fi = dm(dh, cZ)
1086- if ((fi == fi))
1088+ let fj = dm(dh, cZ)
1089+ if ((fj == fj))
10871090 then (co ++ fh)
10881091 else throw("Strict value is not equal to itself.")
10891092 }
11121115 let fV = di(-(cm), -(cn), 0)
11131116 let fh = fV._1
11141117 let cZ = fV._2
1115- let fi = dm(dh, cZ)
1116- if ((fi == fi))
1118+ let fj = dm(dh, cZ)
1119+ if ((fj == fj))
11171120 then (co ++ fh)
11181121 else throw("Strict value is not equal to itself.")
11191122 }
11541157 let fY = di(-(cm), -(cn), 0)
11551158 let fh = fY._1
11561159 let cZ = fY._2
1157- let fi = dm(dh, cZ)
1158- if ((fi == fi))
1160+ let fj = dm(dh, cZ)
1161+ if ((fj == fj))
11591162 then (co ++ fh)
11601163 else throw("Strict value is not equal to itself.")
11611164 }
12031206 let gb = di(-(cm), -(cn), 0)
12041207 let fh = gb._1
12051208 let cZ = gb._2
1206- let fi = dm(dh, cZ)
1207- if ((fi == fi))
1209+ let fj = dm(dh, cZ)
1210+ if ((fj == fj))
12081211 then (co ++ fh)
12091212 else throw("Strict value is not equal to itself.")
12101213 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = 8
55
66 let b = 100000000
77
88 let c = toBigInt(100000000)
99
1010 let d = toBigInt(1000000000000000000)
1111
1212 let e = toBigInt(0)
1313
1414 let f = toBigInt(0)
1515
1616 let g = toBigInt(1)
1717
1818 let h = toBigInt(2)
1919
2020 let i = "WAVES"
2121
2222 let j = "__"
2323
2424 let k = 1
2525
2626 let l = 2
2727
2828 let m = 3
2929
3030 let n = 4
3131
3232 let o = 1
3333
3434 let p = 2
3535
3636 let q = 3
3737
3838 let r = 4
3939
4040 let s = 5
4141
4242 let t = 6
4343
4444 let u = 7
4545
4646 let v = 8
4747
4848 let w = 9
4949
5050 let x = 10
5151
5252 let y = 1
5353
5454 let z = 2
5555
5656 let A = 3
5757
5858 let B = 1
5959
6060 let C = 7
6161
6262 func D (E,F) = fraction(toBigInt(E), d, toBigInt(F))
6363
6464
6565 func G (H,I) = toInt(fraction(H, toBigInt(I), d))
6666
6767
6868 func J (K,L,M) = fraction(K, L, M)
6969
7070
7171 func N (H) = if ((0 > H))
7272 then -(H)
7373 else H
7474
7575
7676 func O (H) = if ((e > H))
7777 then -(H)
7878 else H
7979
8080
8181 func P () = "%s__factoryContract"
8282
8383
8484 func Q () = "%s__managerPublicKey"
8585
8686
8787 func R () = "%s__pendingManagerPublicKey"
8888
8989
9090 func S () = "%s%s__price__last"
9191
9292
9393 func T (U,V) = makeString(["%s%s%d%d__price__history", toString(U), toString(V)], j)
9494
9595
9696 func W (X,Y) = ((("%s%s%s__P__" + X) + "__") + Y)
9797
9898
9999 func Z (X,Y) = ((("%s%s%s__G__" + X) + "__") + Y)
100100
101101
102102 func aa () = "%s__amountAsset"
103103
104104
105105 func ab () = "%s__priceAsset"
106106
107107
108108 let ac = "%s__fee"
109109
110110 let ad = fraction(10, b, 10000)
111111
112112 let ae = valueOrElse(getInteger(this, ac), ad)
113113
114114 let af = makeString(["%s", "kLp"], j)
115115
116116 let ag = makeString(["%s", "kLpRefreshedHeight"], j)
117117
118118 let ah = makeString(["%s", "refreshKLpDelay"], j)
119119
120120 let ai = 30
121121
122122 let aj = valueOrElse(getInteger(this, ah), ai)
123123
124124 func ak () = "%s__factoryConfig"
125125
126126
127127 func al () = "%s%s__matcher__publicKey"
128128
129129
130130 func am (an) = (("%s%s%s__" + an) + "__mappings__poolContract2LpAsset")
131131
132132
133133 func ao (ap,aq) = (((("%d%d%s__" + ap) + "__") + aq) + "__config")
134134
135135
136136 func ar (as) = ("%s%s%s__mappings__baseAsset2internalId__" + as)
137137
138138
139139 func at () = "%s__shutdown"
140140
141141
142142 func au (av) = ("%s%s__poolWeight__" + av)
143143
144144
145145 func aw () = "%s__allowedLpScriptHash"
146146
147147
148148 let ax = "%s__feeCollectorAddress"
149149
150150 func ay (az,aA,aB) = throw(((((("order validation failed: orderValid=" + toString(az)) + " senderValid=") + toString(aA)) + " matcherValid=") + toString(aB)))
151151
152152
153153 func aC (aD,aE) = valueOrErrorMessage(getString(aD, aE), makeString(["mandatory ", toString(aD), ".", aE, " is not defined"], ""))
154154
155155
156156 func aF (aD,aE) = valueOrErrorMessage(getInteger(aD, aE), makeString(["mandatory ", toString(aD), ".", aE, " is not defined"], ""))
157157
158158
159159 func aG (aH) = throw(makeString(["lp.ride:", aH], " "))
160160
161161
162162 func aI (aH) = makeString(["lp.ride:", aH], " ")
163163
164164
165165 let aJ = addressFromStringValue(aC(this, P()))
166166
167167 let aK = addressFromStringValue(aC(aJ, ax))
168168
169169 func aL () = valueOrElse(getBoolean(aJ, at()), false)
170170
171171
172172 func aM () = fromBase58String(aC(aJ, al()))
173173
174174
175175 func aN () = {
176176 let aO = aC(this, aa())
177177 let aP = aC(this, ab())
178178 let aq = aF(aJ, ar(aP))
179179 let ap = aF(aJ, ar(aO))
180180 split(aC(aJ, ao(toString(ap), toString(aq))), j)
181181 }
182182
183183
184184 func aQ (aR) = if ((aR == i))
185185 then unit
186186 else fromBase58String(aR)
187187
188188
189189 func aS (aR) = if ((aR == unit))
190190 then i
191191 else toBase58String(value(aR))
192192
193193
194194 func aT (aU) = $Tuple7(addressFromStringValue(aU[o]), parseIntValue(aU[p]), fromBase58String(aU[q]), aQ(aU[r]), aQ(aU[s]), parseIntValue(aU[t]), parseIntValue(aU[u]))
195195
196196
197197 let aV = aT(aN())
198198
199199 let aW = aV
200200
201201 let aX = aW._1
202202
203203 let aY = aW._2
204204
205205 let aZ = aW._3
206206
207207 let ba = aW._4
208208
209209 let bb = aW._5
210210
211211 let bc = aW._6
212212
213213 let bd = aW._7
214214
215215 func be () = split(aC(aJ, ak()), j)
216216
217217
218218 let bf = valueOrErrorMessage(addressFromString(be()[B]), "incorrect staking address")
219219
220220 let bg = valueOrErrorMessage(addressFromString(be()[C]), "incorrect staking address")
221221
222222 func bh (bi,bj,bk,bl,bm,bn,bo,bp,bq,br) = makeString(["%d%d%d%d%d%d%d%d%d%d", toString(bi), toString(bj), toString(bk), toString(bl), toString(bm), toString(bn), toString(bo), toString(bp), toString(bq), toString(br)], j)
223223
224224
225225 func bs (bt,bu,bv,bl,bo,bp) = makeString(["%d%d%d%d%d%d", toString(bt), toString(bu), toString(bv), toString(bl), toString(bo), toString(bp)], j)
226226
227227
228228 func bw (bx) = if ((bx == "WAVES"))
229229 then wavesBalance(this).available
230230 else assetBalance(this, fromBase58String(bx))
231231
232232
233233 func by (bz,bA) = fraction(bz, d, bA)
234234
235235
236236 func bB (bC,bD,bE,bF) = {
237237 let bG = D(bE, bC)
238238 let bH = D(bF, bD)
239239 by(bH, bG)
240240 }
241241
242242
243243 func bI (bE,bF,bJ) = {
244244 let bK = aN()
245245 let bL = parseIntValue(bK[t])
246246 let bM = parseIntValue(bK[u])
247247 let bN = bB(bL, bM, bE, bF)
248248 let bA = D(bE, bL)
249249 let bz = D(bF, bM)
250250 let bO = D(bJ, b)
251251 let bP = by(bA, bO)
252252 let bQ = by(bz, bO)
253253 [bN, bP, bQ]
254254 }
255255
256256
257257 func bR (bE,bF,bJ) = {
258258 let bS = bI(bE, bF, bJ)
259259 [G(bS[0], b), G(bS[1], b), G(bS[2], b)]
260260 }
261261
262262
263263 func bT (bU,bV,bW,X) = {
264264 let bK = aN()
265265 let bX = bK[q]
266266 let bY = bK[r]
267267 let bZ = bK[s]
268268 let bC = parseIntValue(bK[t])
269269 let bD = parseIntValue(bK[u])
270270 let ca = bK[p]
271271 let cb = valueOrErrorMessage(assetInfo(fromBase58String(bX)), (("Asset " + bX) + " doesn't exist")).quantity
272272 if ((bX != bV))
273273 then throw("Invalid asset passed.")
274274 else {
275275 let cc = bw(bY)
276276 let cd = D(cc, bC)
277277 let ce = bw(bZ)
278278 let cf = D(ce, bD)
279279 let cg = by(cf, cd)
280280 let ch = G(cg, b)
281281 let ci = D(bW, b)
282282 let cj = D(cb, b)
283283 let ck = fraction(cd, ci, cj)
284284 let cl = fraction(cf, ci, cj)
285285 let cm = G(ck, bC)
286286 let cn = G(cl, bD)
287287 let co = if ((bU == ""))
288288 then nil
289289 else [ScriptTransfer(X, cm, if ((bY == "WAVES"))
290290 then unit
291291 else fromBase58String(bY)), ScriptTransfer(X, cn, if ((bZ == "WAVES"))
292292 then unit
293293 else fromBase58String(bZ)), StringEntry(Z(toString(X), bU), bs(cm, cn, bW, ch, height, lastBlock.timestamp)), IntegerEntry(S(), ch), IntegerEntry(T(height, lastBlock.timestamp), ch)]
294294 $Tuple10(cm, cn, bY, bZ, cc, ce, cb, cg, ca, co)
295295 }
296296 }
297297
298298
299299 func cp (bU,cq,cr,cs,ct,cu,X,cv,cw) = {
300300 let bK = aN()
301301 let bX = fromBase58String(bK[q])
302302 let cx = bK[r]
303303 let cy = bK[s]
304304 let cz = bK[v]
305305 let cA = bK[w]
306306 let bL = parseIntValue(bK[t])
307307 let bM = parseIntValue(bK[u])
308308 let ca = bK[p]
309309 let cb = valueOrErrorMessage(assetInfo(bX), (("Asset " + toBase58String(bX)) + " doesn't exist")).quantity
310310 let cB = toBase58String(valueOrElse(cs, fromBase58String("WAVES")))
311311 let cC = toBase58String(valueOrElse(cu, fromBase58String("WAVES")))
312312 if (if ((cx != cB))
313313 then true
314314 else (cy != cC))
315315 then throw("Invalid amt or price asset passed.")
316316 else {
317317 let cc = if (cv)
318318 then bw(cx)
319319 else (bw(cx) - cr)
320320 let ce = if (cv)
321321 then bw(cy)
322322 else (bw(cy) - ct)
323323 let cD = D(cr, bL)
324324 let cE = D(ct, bM)
325325 let cF = by(cE, cD)
326326 let cd = D(cc, bL)
327327 let cf = D(ce, bM)
328328 let cG = if ((cb == 0))
329329 then {
330330 let cg = e
331331 let cH = e
332332 let bO = pow((cD * cE), 0, toBigInt(5), 1, 0, DOWN)
333333 $Tuple5(G(bO, b), G(cD, bL), G(cE, bM), by((cf + cE), (cd + cD)), cH)
334334 }
335335 else {
336336 let cg = by(cf, cd)
337337 let cH = fraction(O((cg - cF)), d, cg)
338338 let cI = D(cq, b)
339339 if (if ((cg != e))
340340 then (cH > cI)
341341 else false)
342342 then throw(((("Price slippage " + toString(cH)) + " exceeded the passed limit of ") + toString(cI)))
343343 else {
344344 let cj = D(cb, b)
345345 let cJ = fraction(cD, cg, d)
346346 let cK = fraction(cE, d, cg)
347347 let cL = if ((cJ > cE))
348348 then $Tuple2(cK, cE)
349349 else $Tuple2(cD, cJ)
350350 let cM = cL._1
351351 let cN = cL._2
352352 let bO = fraction(cj, cN, cf)
353353 $Tuple5(G(bO, b), G(cM, bL), G(cN, bM), cg, cH)
354354 }
355355 }
356356 let cO = cG._1
357357 let cP = cG._2
358358 let cQ = cG._3
359359 let ch = G(cG._4, b)
360360 let cR = G(cG._5, b)
361361 if ((0 >= cO))
362362 then throw("Invalid calculations. LP calculated is less than zero.")
363363 else {
364364 let cS = if (!(cw))
365365 then 0
366366 else cO
367367 let cT = (cr - cP)
368368 let cU = (ct - cQ)
369369 let cV = [IntegerEntry(S(), ch), IntegerEntry(T(height, lastBlock.timestamp), ch), StringEntry(W(X, bU), bh(cP, cQ, cS, ch, cq, cR, height, lastBlock.timestamp, cT, cU))]
370370 $Tuple13(cO, cS, ch, cc, ce, cb, bX, ca, cV, cT, cU, cs, cu)
371371 }
372372 }
373373 }
374374
375375
376376 func cW (cX,cY,cb) = {
377377 let cZ = fraction(pow((cX * cY), 0, toBigInt(5), 1, 18, DOWN), g, cb)
378378 if ((cb == f))
379379 then f
380380 else cZ
381381 }
382382
383383
384384 func da (db,dc,dd) = {
385385 let de = (toBigInt(bw(aS(ba))) - db)
386386 let df = (toBigInt(bw(aS(bb))) - dc)
387387 let dg = (toBigInt(value(assetInfo(aZ)).quantity) - dd)
388388 let dh = cW(de, df, dg)
389389 dh
390390 }
391391
392392
393393 func di (dj,dk,dd) = {
394394 let de = (bw(aS(ba)) + dj)
395395 let df = (bw(aS(bb)) + dk)
396396 let dg = (value(assetInfo(aZ)).quantity + dd)
397397 let cZ = cW(toBigInt(de), toBigInt(df), toBigInt(dg))
398398 let dl = [IntegerEntry(ag, height), StringEntry(af, toString(cZ))]
399399 $Tuple2(dl, cZ)
400400 }
401401
402402
403403 func dm (dn,cZ) = if ((cZ >= dn))
404404 then true
405405 else aG(makeString(["updated KLp lower than current KLp", toString(dn), toString(cZ)], " "))
406406
407407
408408 func do (dp) = {
409409 let dq = dp.amount
410410 let dr = fraction(dp.amount, dp.price, b, FLOOR)
411411 let ds = if ((dp.orderType == Buy))
412412 then $Tuple2(dq, -(dr))
413413 else $Tuple2(-(dq), dr)
414414 let dj = ds._1
415415 let dk = ds._2
416416 if (if (if (aL())
417417 then true
418418 else (aY == m))
419419 then true
420420 else (aY == n))
421421 then throw("Exchange operations disabled")
422422 else if (if ((dp.assetPair.amountAsset != ba))
423423 then true
424424 else (dp.assetPair.priceAsset != bb))
425425 then throw("Wrong order assets.")
426426 else {
427427 let dt = valueOrErrorMessage(parseBigInt(valueOrErrorMessage(getString(this, af), aI("kLp is required"))), aI("invalid kLp"))
428428 let du = di(dj, dk, 0)
429429 let dv = du._1
430430 let dw = du._2
431431 let dx = (dw >= dt)
432432 dx
433433 }
434434 }
435435
436436
437437 func dy (dz) = if ((size(dz.payments) != 1))
438438 then throw("exactly 1 payment is expected")
439439 else {
440440 let dA = value(dz.payments[0])
441441 let bV = value(dA.assetId)
442442 let dB = dA.amount
443443 let cG = bT(toBase58String(dz.transactionId), toBase58String(bV), dB, dz.caller)
444444 let cm = cG._1
445445 let cn = cG._2
446446 let ca = parseIntValue(cG._9)
447447 let co = cG._10
448448 if (if (aL())
449449 then true
450450 else (ca == n))
451451 then throw(("Get operation is blocked by admin. Status = " + toString(ca)))
452452 else $Tuple5(cm, cn, dB, bV, co)
453453 }
454454
455455
456456 func dC (dz,cq,cw) = if ((size(dz.payments) != 2))
457457 then throw("exactly 2 payments are expected")
458458 else {
459459 let dD = value(dz.payments[0])
460460 let dE = value(dz.payments[1])
461461 let dF = cp(toBase58String(dz.transactionId), cq, dD.amount, dD.assetId, dE.amount, dE.assetId, toString(dz.caller), false, cw)
462462 let ca = parseIntValue(dF._8)
463463 if (if (if (aL())
464464 then true
465465 else (ca == l))
466466 then true
467467 else (ca == n))
468468 then throw(("Put operation is blocked by admin. Status = " + toString(ca)))
469469 else dF
470470 }
471471
472472
473473 func dG (dH) = {
474474 let dI = invoke(aJ, "emit", [dH], nil)
475475 if ((dI == dI))
476476 then {
477477 let dJ = {
478478 let dK = dI
479479 if ($isInstanceOf(dK, "Address"))
480480 then {
481481 let dL = dK
482482 invoke(dL, "emit", [dH], nil)
483483 }
484484 else unit
485485 }
486486 if ((dJ == dJ))
487487 then dH
488488 else throw("Strict value is not equal to itself.")
489489 }
490490 else throw("Strict value is not equal to itself.")
491491 }
492492
493493
494494 func dM (dH) = {
495495 let dN = fraction(dH, ae, b)
496496 $Tuple2((dH - dN), dN)
497497 }
498498
499499
500500 func dO (dP,dQ,X,Y) = {
501501 let dR = (Y == unit)
502502 let dS = bw(aS(ba))
503503 let dT = bw(aS(bb))
504504 let dU = if ((dQ == ba))
505505 then true
506506 else if ((dQ == bb))
507507 then false
508508 else aG("invalid asset")
509509 let dV = if (dR)
510510 then $Tuple2(dS, dT)
511511 else if (dU)
512512 then $Tuple2((dS - dP), dT)
513513 else $Tuple2(dS, (dT - dP))
514514 let dW = dV._1
515515 let dX = dV._2
516516 let dY = if (dU)
517517 then $Tuple2(dP, 0)
518518 else $Tuple2(0, dP)
519519 let dZ = dY._1
520520 let ea = dY._2
521521 let dq = dM(dZ)._1
522522 let dr = dM(ea)._1
523523 let eb = dM(dP)
524524 let ec = eb._1
525525 let dN = eb._2
526526 let ed = (dW + dq)
527527 let ee = (dX + dr)
528528 let ef = by(D(ee, bd), D(ed, bc))
529529 let eg = G(ef, b)
530530 let eh = if (dU)
531531 then dW
532532 else dX
533533 let ei = toBigInt(eh)
534534 let ej = toBigInt(valueOrErrorMessage(assetInfo(aZ), (("asset " + toBase58String(aZ)) + " doesn't exist")).quantity)
535535 let ek = if ((ej > f))
536536 then true
537537 else aG("initial deposit requires all coins")
538538 if ((ek == ek))
539539 then {
540540 let el = toBigInt(ec)
541541 let em = max([0, toInt(((ej * (sqrtBigInt((d + ((el * d) / ei)), 18, 18, DOWN) - d)) / d))])
542542 let cV = if (dR)
543543 then nil
544544 else [IntegerEntry(S(), eg), IntegerEntry(T(height, lastBlock.timestamp), eg), StringEntry(W(toString(value(X)), toBase58String(value(Y))), bh(dZ, ea, em, eg, 0, 0, height, lastBlock.timestamp, 0, 0))]
545545 let en = by(D(dX, bd), D(dW, bc))
546546 let eo = G(en, b)
547547 let ep = {
548548 let eq = if (dU)
549549 then $Tuple2(dZ, dW)
550550 else $Tuple2(ea, dX)
551551 let dH = eq._1
552552 let er = eq._2
553553 let es = toInt(fraction(ej, toBigInt((dH / 2)), toBigInt(er)))
554554 fraction((em - es), b, es)
555555 }
556556 $Tuple5(em, cV, dN, ep, dU)
557557 }
558558 else throw("Strict value is not equal to itself.")
559559 }
560560
561561
562562 func et (eu,ec,dQ,X,Y) = {
563563 let dR = (Y == unit)
564564 let ev = [if ((dQ == aZ))
565565 then true
566566 else aG("invalid lp asset")]
567567 if ((ev == ev))
568568 then {
569569 let ew = if ((eu == ba))
570570 then true
571571 else if ((eu == bb))
572572 then false
573573 else aG("invalid asset")
574574 let ex = if (ew)
575575 then toBigInt(bw(aS(ba)))
576576 else toBigInt(bw(aS(bb)))
577577 let ey = bw(aS(ba))
578578 let ez = bw(aS(bb))
579579 let eA = if (ew)
580580 then ey
581581 else ez
582582 let eB = toBigInt(eA)
583583 let ej = toBigInt(valueOrErrorMessage(assetInfo(aZ), (("asset " + toBase58String(aZ)) + " doesn't exist")).quantity)
584584 let eC = toBigInt(ec)
585585 let eD = max([0, toInt(((ex * (d - pow((d - ((eC * d) / ej)), 18, h, 0, 18, DOWN))) / d))])
586586 let eE = dM(eD)
587587 let eF = eE._1
588588 let dN = eE._2
589589 let eG = if (ew)
590590 then $Tuple4(eF, 0, (ey - eD), ez)
591591 else $Tuple4(0, eF, ey, (ez - eD))
592592 let eH = eG._1
593593 let eI = eG._2
594594 let eJ = eG._3
595595 let eK = eG._4
596596 let ef = by(D(eK, bd), D(eJ, bc))
597597 let eg = G(ef, b)
598598 let cV = if (dR)
599599 then nil
600600 else [StringEntry(Z(toString(value(X)), toBase58String(value(Y))), bs(eH, eI, ec, eg, height, lastBlock.timestamp)), IntegerEntry(S(), eg), IntegerEntry(T(height, lastBlock.timestamp), eg)]
601601 let en = by(D(ez, bd), D(ey, bc))
602602 let eo = G(en, b)
603603 let ep = {
604604 let eL = (toInt(fraction(ex, eC, ej)) * 2)
605605 fraction((eF - eL), b, eL)
606606 }
607607 $Tuple5(eF, cV, dN, ep, ew)
608608 }
609609 else throw("Strict value is not equal to itself.")
610610 }
611611
612612
613613 func eM () = {
614614 let dK = getString(Q())
615615 if ($isInstanceOf(dK, "String"))
616616 then {
617617 let eN = dK
618618 fromBase58String(eN)
619619 }
620620 else if ($isInstanceOf(dK, "Unit"))
621621 then unit
622622 else throw("Match error")
623623 }
624624
625625
626626 func eO () = {
627627 let dK = getString(R())
628628 if ($isInstanceOf(dK, "String"))
629629 then {
630630 let eN = dK
631631 fromBase58String(eN)
632632 }
633633 else if ($isInstanceOf(dK, "Unit"))
634634 then unit
635635 else throw("Match error")
636636 }
637637
638638
639639 func eP (dz) = {
640640 let dK = eM()
641641 if ($isInstanceOf(dK, "ByteVector"))
642642 then {
643643 let eQ = dK
644644 (dz.callerPublicKey == eQ)
645645 }
646646 else if ($isInstanceOf(dK, "Unit"))
647647 then (dz.caller == this)
648648 else throw("Match error")
649649 }
650650
651651
652652 func eR (dz) = {
653653 let eS = throw("Permission denied")
654654 let dK = eM()
655655 if ($isInstanceOf(dK, "ByteVector"))
656656 then {
657657 let eQ = dK
658658 if ((dz.callerPublicKey == eQ))
659659 then true
660660 else eS
661661 }
662662 else if ($isInstanceOf(dK, "Unit"))
663663 then if ((dz.caller == this))
664664 then true
665665 else eS
666666 else throw("Match error")
667667 }
668668
669669
670670 @Callable(dz)
671671 func setManager (eT) = {
672672 let eU = eR(dz)
673673 if ((eU == eU))
674674 then {
675675 let eV = fromBase58String(eT)
676676 if ((eV == eV))
677677 then [StringEntry(R(), eT)]
678678 else throw("Strict value is not equal to itself.")
679679 }
680680 else throw("Strict value is not equal to itself.")
681681 }
682682
683683
684684
685685 @Callable(dz)
686686 func confirmManager () = {
687687 let eW = eO()
688688 let eX = if (isDefined(eW))
689689 then true
690690 else throw("No pending manager")
691691 if ((eX == eX))
692692 then {
693693 let eY = if ((dz.callerPublicKey == value(eW)))
694694 then true
695695 else throw("You are not pending manager")
696696 if ((eY == eY))
697697 then [StringEntry(Q(), toBase58String(value(eW))), DeleteEntry(R())]
698698 else throw("Strict value is not equal to itself.")
699699 }
700700 else throw("Strict value is not equal to itself.")
701701 }
702702
703703
704704
705705 @Callable(dz)
706706 func put (cq,eZ) = if ((0 > cq))
707707 then throw("Invalid slippageTolerance passed")
708708 else {
709709 let dF = dC(dz, cq, true)
710710 let cS = dF._2
711711 let bX = dF._7
712712 let co = dF._9
713713 let cT = dF._10
714714 let cU = dF._11
715715 let fa = dF._12
716716 let fb = dF._13
717717 let dD = toBigInt(value(dz.payments[0]).amount)
718718 let dE = toBigInt(value(dz.payments[1]).amount)
719719 let dh = da(dD, dE, toBigInt(0))
720720 if ((dh == dh))
721721 then {
722722 let dI = invoke(aJ, "emit", [cS], nil)
723723 if ((dI == dI))
724724 then {
725725 let dJ = {
726726 let dK = dI
727727 if ($isInstanceOf(dK, "Address"))
728728 then {
729729 let dL = dK
730730 invoke(dL, "emit", [cS], nil)
731731 }
732732 else unit
733733 }
734734 if ((dJ == dJ))
735735 then {
736736 let fc = if ((cT > 0))
737737 then invoke(bg, "put", nil, [AttachedPayment(fa, cT)])
738738 else nil
739739 if ((fc == fc))
740740 then {
741741 let fd = if ((cU > 0))
742742 then invoke(bg, "put", nil, [AttachedPayment(fb, cU)])
743743 else nil
744744 if ((fd == fd))
745745 then {
746746 let fe = if (eZ)
747747 then {
748748 let ff = invoke(bf, "stake", nil, [AttachedPayment(bX, cS)])
749749 if ((ff == ff))
750750 then nil
751751 else throw("Strict value is not equal to itself.")
752752 }
753753 else [ScriptTransfer(dz.caller, cS, bX)]
754754 let fg = di(0, 0, 0)
755755 let fh = fg._1
756756 let cZ = fg._2
757- let fi = dm(dh, cZ)
757+ let de = (toBigInt(bw(aS(ba))) - dD)
758+ let df = (toBigInt(bw(aS(bb))) - dE)
759+ let dg = toBigInt(value(assetInfo(aZ)).quantity)
760+ let fi = aG(makeString([toString(de), toString(df), toString(dg), toString(dh), toString(cZ)], " "))
758761 if ((fi == fi))
759- then ((co ++ fe) ++ fh)
762+ then {
763+ let fj = dm(dh, cZ)
764+ if ((fj == fj))
765+ then ((co ++ fe) ++ fh)
766+ else throw("Strict value is not equal to itself.")
767+ }
760768 else throw("Strict value is not equal to itself.")
761769 }
762770 else throw("Strict value is not equal to itself.")
763771 }
764772 else throw("Strict value is not equal to itself.")
765773 }
766774 else throw("Strict value is not equal to itself.")
767775 }
768776 else throw("Strict value is not equal to itself.")
769777 }
770778 else throw("Strict value is not equal to itself.")
771779 }
772780
773781
774782
775783 @Callable(dz)
776-func putForFree (fj) = if ((0 > fj))
784+func putForFree (fk) = if ((0 > fk))
777785 then throw("Invalid value passed")
778786 else {
779- let dF = dC(dz, fj, false)
787+ let dF = dC(dz, fk, false)
780788 let co = dF._9
781789 let dD = toBigInt(value(dz.payments[0]).amount)
782790 let dE = toBigInt(value(dz.payments[1]).amount)
783791 let dh = da(dD, dE, toBigInt(0))
784792 if ((dh == dh))
785793 then {
786- let fk = di(0, 0, 0)
787- let fh = fk._1
788- let cZ = fk._2
789- let fi = dm(dh, cZ)
790- if ((fi == fi))
794+ let fl = di(0, 0, 0)
795+ let fh = fl._1
796+ let cZ = fl._2
797+ let fj = dm(dh, cZ)
798+ if ((fj == fj))
791799 then (co ++ fh)
792800 else throw("Strict value is not equal to itself.")
793801 }
794802 else throw("Strict value is not equal to itself.")
795803 }
796804
797805
798806
799807 @Callable(dz)
800-func putOneTkn (fl,fm) = {
801- let fn = {
802- let fo = invoke(aJ, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil)
803- if ($isInstanceOf(fo, "Boolean"))
804- then fo
805- else throw(($getType(fo) + " couldn't be cast to Boolean"))
808+func putOneTkn (fm,fn) = {
809+ let fo = {
810+ let fp = invoke(aJ, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil)
811+ if ($isInstanceOf(fp, "Boolean"))
812+ then fp
813+ else throw(($getType(fp) + " couldn't be cast to Boolean"))
806814 }
807- let fp = if (if (if (aL())
815+ let fq = if (if (if (aL())
808816 then true
809817 else (aY == l))
810818 then true
811819 else (aY == n))
812820 then true
813- else fn
814- let ev = [if (if (!(fp))
821+ else fo
822+ let ev = [if (if (!(fq))
815823 then true
816824 else eP(dz))
817825 then true
818826 else aG("put operation is blocked by admin"), if ((size(dz.payments) == 1))
819827 then true
820828 else aG("exactly 1 payment are expected")]
821829 if ((ev == ev))
822830 then {
823- let fq = dz.payments[0]
824- let dQ = fq.assetId
825- let dP = fq.amount
831+ let fr = dz.payments[0]
832+ let dQ = fr.assetId
833+ let dP = fr.amount
826834 let dh = if ((dQ == ba))
827835 then da(toBigInt(dP), toBigInt(0), toBigInt(0))
828836 else if ((dQ == bb))
829837 then da(toBigInt(0), toBigInt(dP), toBigInt(0))
830838 else aG("payment asset is not supported")
831839 let X = dz.caller
832840 let Y = dz.transactionId
833- let fr = dO(dP, dQ, X, Y)
834- if ((fr == fr))
841+ let fs = dO(dP, dQ, X, Y)
842+ if ((fs == fs))
835843 then {
836- let dU = fr._5
837- let fs = fr._4
838- let dN = fr._3
839- let cV = fr._2
840- let ft = fr._1
841- let fu = if (if ((fl > 0))
842- then (fl > ft)
844+ let dU = fs._5
845+ let ft = fs._4
846+ let dN = fs._3
847+ let cV = fs._2
848+ let fu = fs._1
849+ let fv = if (if ((fm > 0))
850+ then (fm > fu)
843851 else false)
844- then aG(makeString(["amount to receive is less than ", toString(fl)], ""))
845- else ft
846- let dI = dG(fu)
852+ then aG(makeString(["amount to receive is less than ", toString(fm)], ""))
853+ else fu
854+ let dI = dG(fv)
847855 if ((dI == dI))
848856 then {
849- let fe = if (fm)
857+ let fe = if (fn)
850858 then {
851- let fv = invoke(bf, "stake", nil, [AttachedPayment(aZ, fu)])
852- if ((fv == fv))
859+ let fw = invoke(bf, "stake", nil, [AttachedPayment(aZ, fv)])
860+ if ((fw == fw))
853861 then nil
854862 else throw("Strict value is not equal to itself.")
855863 }
856- else [ScriptTransfer(dz.caller, fu, aZ)]
857- let fw = if ((dN > 0))
864+ else [ScriptTransfer(dz.caller, fv, aZ)]
865+ let fx = if ((dN > 0))
858866 then [ScriptTransfer(aK, dN, dQ)]
859867 else nil
860- let fx = if ((this == aK))
868+ let fy = if ((this == aK))
861869 then $Tuple2(0, 0)
862870 else if (dU)
863871 then $Tuple2(-(dN), 0)
864872 else $Tuple2(0, -(dN))
865- let dj = fx._1
866- let dk = fx._2
867- let fy = di(dj, dk, 0)
868- let fh = fy._1
869- let cZ = fy._2
873+ let dj = fy._1
874+ let dk = fy._2
875+ let fz = di(dj, dk, 0)
876+ let fh = fz._1
877+ let cZ = fz._2
870878 let dt = value(getString(af))
871- let fz = aG(makeString([toString(dj), toString(dk), dt, toString(dh), toString(cZ)], " "))
872- if ((fz == fz))
873- then {
874- let fi = dm(dh, cZ)
875- if ((fi == fi))
876- then $Tuple2((((cV ++ fe) ++ fw) ++ fh), fu)
877- else throw("Strict value is not equal to itself.")
878- }
879+ let fj = dm(dh, cZ)
880+ if ((fj == fj))
881+ then $Tuple2((((cV ++ fe) ++ fx) ++ fh), fv)
879882 else throw("Strict value is not equal to itself.")
880883 }
881884 else throw("Strict value is not equal to itself.")
882885 }
883886 else throw("Strict value is not equal to itself.")
884887 }
885888 else throw("Strict value is not equal to itself.")
886889 }
887890
888891
889892
890893 @Callable(dz)
891894 func putOneTknREADONLY (dQ,dP) = {
892895 let fA = dO(dP, aQ(dQ), unit, unit)
893- let ft = fA._1
896+ let fu = fA._1
894897 let cV = fA._2
895898 let dN = fA._3
896- let fs = fA._4
899+ let ft = fA._4
897900 let dU = fA._5
898- $Tuple2(nil, $Tuple3(ft, dN, fs))
901+ $Tuple2(nil, $Tuple3(fu, dN, ft))
899902 }
900903
901904
902905
903906 @Callable(dz)
904-func getOneTkn (fB,fl) = {
905- let fn = {
906- let fo = invoke(aJ, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil)
907- if ($isInstanceOf(fo, "Boolean"))
908- then fo
909- else throw(($getType(fo) + " couldn't be cast to Boolean"))
907+func getOneTkn (fB,fm) = {
908+ let fo = {
909+ let fp = invoke(aJ, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil)
910+ if ($isInstanceOf(fp, "Boolean"))
911+ then fp
912+ else throw(($getType(fp) + " couldn't be cast to Boolean"))
910913 }
911914 let fC = if (if (aL())
912915 then true
913916 else (aY == n))
914917 then true
915- else fn
918+ else fo
916919 let ev = [if (if (!(fC))
917920 then true
918921 else eP(dz))
919922 then true
920923 else aG("get operation is blocked by admin"), if ((size(dz.payments) == 1))
921924 then true
922925 else aG("exactly 1 payment are expected")]
923926 if ((ev == ev))
924927 then {
925928 let eu = aQ(fB)
926- let fq = dz.payments[0]
927- let dQ = fq.assetId
928- let ec = fq.amount
929+ let fr = dz.payments[0]
930+ let dQ = fr.assetId
931+ let ec = fr.amount
929932 let dh = da(toBigInt(0), toBigInt(0), toBigInt(ec))
930933 let X = dz.caller
931934 let Y = dz.transactionId
932935 let fD = et(eu, ec, dQ, X, Y)
933936 if ((fD == fD))
934937 then {
935938 let ew = fD._5
936- let fs = fD._4
939+ let ft = fD._4
937940 let dN = fD._3
938941 let cV = fD._2
939942 let fE = fD._1
940- let dH = if (if ((fl > 0))
941- then (fl > fE)
943+ let dH = if (if ((fm > 0))
944+ then (fm > fE)
942945 else false)
943- then aG(makeString(["amount to receive is less than ", toString(fl)], ""))
946+ then aG(makeString(["amount to receive is less than ", toString(fm)], ""))
944947 else fE
945948 let fF = invoke(aJ, "burn", [ec], [AttachedPayment(dQ, ec)])
946949 if ((fF == fF))
947950 then {
948951 let fG = [ScriptTransfer(X, dH, eu)]
949- let fw = if ((dN > 0))
952+ let fx = if ((dN > 0))
950953 then [ScriptTransfer(aK, dN, eu)]
951954 else nil
952955 let fH = {
953956 let fI = if ((this == aK))
954957 then 0
955958 else dN
956959 if (ew)
957960 then $Tuple2(-((dH + fI)), 0)
958961 else $Tuple2(0, -((dH + fI)))
959962 }
960963 let dj = fH._1
961964 let dk = fH._2
962965 let fJ = di(dj, dk, 0)
963966 let fh = fJ._1
964967 let cZ = fJ._2
965- let fi = dm(dh, cZ)
966- if ((fi == fi))
967- then $Tuple2((((cV ++ fG) ++ fw) ++ fh), dH)
968+ let fj = dm(dh, cZ)
969+ if ((fj == fj))
970+ then $Tuple2((((cV ++ fG) ++ fx) ++ fh), dH)
968971 else throw("Strict value is not equal to itself.")
969972 }
970973 else throw("Strict value is not equal to itself.")
971974 }
972975 else throw("Strict value is not equal to itself.")
973976 }
974977 else throw("Strict value is not equal to itself.")
975978 }
976979
977980
978981
979982 @Callable(dz)
980983 func getOneTknREADONLY (eu,ec) = {
981984 let fK = et(aQ(eu), ec, aZ, unit, unit)
982985 let fE = fK._1
983986 let cV = fK._2
984987 let dN = fK._3
985- let fs = fK._4
988+ let ft = fK._4
986989 let ew = fK._5
987- $Tuple2(nil, $Tuple3(fE, dN, fs))
990+ $Tuple2(nil, $Tuple3(fE, dN, ft))
988991 }
989992
990993
991994
992995 @Callable(dz)
993-func unstakeAndGetOneTkn (fL,fB,fl) = {
994- let fn = {
995- let fo = invoke(aJ, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil)
996- if ($isInstanceOf(fo, "Boolean"))
997- then fo
998- else throw(($getType(fo) + " couldn't be cast to Boolean"))
996+func unstakeAndGetOneTkn (fL,fB,fm) = {
997+ let fo = {
998+ let fp = invoke(aJ, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil)
999+ if ($isInstanceOf(fp, "Boolean"))
1000+ then fp
1001+ else throw(($getType(fp) + " couldn't be cast to Boolean"))
9991002 }
10001003 let fC = if (if (aL())
10011004 then true
10021005 else (aY == n))
10031006 then true
1004- else fn
1007+ else fo
10051008 let ev = [if (if (!(fC))
10061009 then true
10071010 else eP(dz))
10081011 then true
10091012 else aG("get operation is blocked by admin"), if ((size(dz.payments) == 0))
10101013 then true
10111014 else aG("no payments are expected")]
10121015 if ((ev == ev))
10131016 then {
10141017 let eu = aQ(fB)
10151018 let X = dz.caller
10161019 let Y = dz.transactionId
10171020 let dh = da(toBigInt(0), toBigInt(0), toBigInt(0))
10181021 let fM = invoke(bf, "unstake", [toBase58String(aZ), fL], nil)
10191022 if ((fM == fM))
10201023 then {
10211024 let fN = et(eu, fL, aZ, X, Y)
10221025 if ((fN == fN))
10231026 then {
10241027 let ew = fN._5
1025- let fs = fN._4
1028+ let ft = fN._4
10261029 let dN = fN._3
10271030 let cV = fN._2
10281031 let fE = fN._1
1029- let dH = if (if ((fl > 0))
1030- then (fl > fE)
1032+ let dH = if (if ((fm > 0))
1033+ then (fm > fE)
10311034 else false)
1032- then aG(makeString(["amount to receive is less than ", toString(fl)], ""))
1035+ then aG(makeString(["amount to receive is less than ", toString(fm)], ""))
10331036 else fE
10341037 let fF = invoke(aJ, "burn", [fL], [AttachedPayment(aZ, fL)])
10351038 if ((fF == fF))
10361039 then {
10371040 let fG = [ScriptTransfer(dz.caller, dH, eu)]
1038- let fw = if ((dN > 0))
1041+ let fx = if ((dN > 0))
10391042 then [ScriptTransfer(aK, dN, eu)]
10401043 else nil
10411044 let fO = {
10421045 let fI = if ((this == aK))
10431046 then 0
10441047 else dN
10451048 if (ew)
10461049 then $Tuple2(-((dH + fI)), 0)
10471050 else $Tuple2(0, -((dH + fI)))
10481051 }
10491052 let dj = fO._1
10501053 let dk = fO._2
10511054 let fP = di(dj, dk, 0)
10521055 let fh = fP._1
10531056 let cZ = fP._2
1054- let fi = dm(dh, cZ)
1055- if ((fi == fi))
1056- then $Tuple2((((cV ++ fG) ++ fw) ++ fh), dH)
1057+ let fj = dm(dh, cZ)
1058+ if ((fj == fj))
1059+ then $Tuple2((((cV ++ fG) ++ fx) ++ fh), dH)
10571060 else throw("Strict value is not equal to itself.")
10581061 }
10591062 else throw("Strict value is not equal to itself.")
10601063 }
10611064 else throw("Strict value is not equal to itself.")
10621065 }
10631066 else throw("Strict value is not equal to itself.")
10641067 }
10651068 else throw("Strict value is not equal to itself.")
10661069 }
10671070
10681071
10691072
10701073 @Callable(dz)
10711074 func get () = {
10721075 let cG = dy(dz)
10731076 let fQ = cG._1
10741077 let cn = cG._2
10751078 let dB = cG._3
10761079 let bV = cG._4
10771080 let co = cG._5
10781081 let dh = da(toBigInt(0), toBigInt(0), toBigInt(dB))
10791082 let fR = invoke(aJ, "burn", [dB], [AttachedPayment(bV, dB)])
10801083 if ((fR == fR))
10811084 then {
10821085 let fS = di(-(fQ), -(cn), 0)
10831086 let fh = fS._1
10841087 let cZ = fS._2
1085- let fi = dm(dh, cZ)
1086- if ((fi == fi))
1088+ let fj = dm(dh, cZ)
1089+ if ((fj == fj))
10871090 then (co ++ fh)
10881091 else throw("Strict value is not equal to itself.")
10891092 }
10901093 else throw("Strict value is not equal to itself.")
10911094 }
10921095
10931096
10941097
10951098 @Callable(dz)
10961099 func getNoLess (fT,fU) = {
10971100 let cG = dy(dz)
10981101 let cm = cG._1
10991102 let cn = cG._2
11001103 let dB = cG._3
11011104 let bV = cG._4
11021105 let co = cG._5
11031106 if ((fT > cm))
11041107 then throw(((("noLessThenAmtAsset failed: " + toString(cm)) + " < ") + toString(fT)))
11051108 else if ((fU > cn))
11061109 then throw(((("noLessThenPriceAsset failed: " + toString(cn)) + " < ") + toString(fU)))
11071110 else {
11081111 let dh = da(toBigInt(0), toBigInt(0), toBigInt(dB))
11091112 let fR = invoke(aJ, "burn", [dB], [AttachedPayment(bV, dB)])
11101113 if ((fR == fR))
11111114 then {
11121115 let fV = di(-(cm), -(cn), 0)
11131116 let fh = fV._1
11141117 let cZ = fV._2
1115- let fi = dm(dh, cZ)
1116- if ((fi == fi))
1118+ let fj = dm(dh, cZ)
1119+ if ((fj == fj))
11171120 then (co ++ fh)
11181121 else throw("Strict value is not equal to itself.")
11191122 }
11201123 else throw("Strict value is not equal to itself.")
11211124 }
11221125 }
11231126
11241127
11251128
11261129 @Callable(dz)
11271130 func unstakeAndGet (dH) = {
11281131 let fW = if ((size(dz.payments) != 0))
11291132 then throw("No payments are expected")
11301133 else true
11311134 if ((fW == fW))
11321135 then {
11331136 let bK = aN()
11341137 let bX = fromBase58String(bK[q])
11351138 let dh = da(toBigInt(0), toBigInt(0), toBigInt(0))
11361139 let fM = invoke(bf, "unstake", [toBase58String(bX), dH], nil)
11371140 if ((fM == fM))
11381141 then {
11391142 let cG = bT(toBase58String(dz.transactionId), toBase58String(bX), dH, dz.caller)
11401143 let cm = cG._1
11411144 let cn = cG._2
11421145 let ca = parseIntValue(cG._9)
11431146 let co = cG._10
11441147 let fX = if (if (aL())
11451148 then true
11461149 else (ca == n))
11471150 then throw(("Get operation is blocked by admin. Status = " + toString(ca)))
11481151 else true
11491152 if ((fX == fX))
11501153 then {
11511154 let fR = invoke(aJ, "burn", [dH], [AttachedPayment(bX, dH)])
11521155 if ((fR == fR))
11531156 then {
11541157 let fY = di(-(cm), -(cn), 0)
11551158 let fh = fY._1
11561159 let cZ = fY._2
1157- let fi = dm(dh, cZ)
1158- if ((fi == fi))
1160+ let fj = dm(dh, cZ)
1161+ if ((fj == fj))
11591162 then (co ++ fh)
11601163 else throw("Strict value is not equal to itself.")
11611164 }
11621165 else throw("Strict value is not equal to itself.")
11631166 }
11641167 else throw("Strict value is not equal to itself.")
11651168 }
11661169 else throw("Strict value is not equal to itself.")
11671170 }
11681171 else throw("Strict value is not equal to itself.")
11691172 }
11701173
11711174
11721175
11731176 @Callable(dz)
11741177 func unstakeAndGetNoLess (fL,fZ,fU) = {
11751178 let fC = if (aL())
11761179 then true
11771180 else (aY == n)
11781181 let ev = [if (!(fC))
11791182 then true
11801183 else throw("get operation is blocked by admin"), if ((size(dz.payments) == 0))
11811184 then true
11821185 else throw("no payments are expected")]
11831186 if ((ev == ev))
11841187 then {
11851188 let dh = da(toBigInt(0), toBigInt(0), toBigInt(0))
11861189 let fM = invoke(bf, "unstake", [toBase58String(aZ), fL], nil)
11871190 if ((fM == fM))
11881191 then {
11891192 let cG = bT(toBase58String(dz.transactionId), toBase58String(aZ), fL, dz.caller)
11901193 let cm = cG._1
11911194 let cn = cG._2
11921195 let co = cG._10
11931196 let ga = [if ((cm >= fZ))
11941197 then true
11951198 else throw(makeString(["amount asset amount to receive is less than ", toString(fZ)], "")), if ((cn >= fU))
11961199 then true
11971200 else throw(makeString(["price asset amount to receive is less than ", toString(fU)], ""))]
11981201 if ((ga == ga))
11991202 then {
12001203 let fR = invoke(aJ, "burn", [fL], [AttachedPayment(aZ, fL)])
12011204 if ((fR == fR))
12021205 then {
12031206 let gb = di(-(cm), -(cn), 0)
12041207 let fh = gb._1
12051208 let cZ = gb._2
1206- let fi = dm(dh, cZ)
1207- if ((fi == fi))
1209+ let fj = dm(dh, cZ)
1210+ if ((fj == fj))
12081211 then (co ++ fh)
12091212 else throw("Strict value is not equal to itself.")
12101213 }
12111214 else throw("Strict value is not equal to itself.")
12121215 }
12131216 else throw("Strict value is not equal to itself.")
12141217 }
12151218 else throw("Strict value is not equal to itself.")
12161219 }
12171220 else throw("Strict value is not equal to itself.")
12181221 }
12191222
12201223
12211224
12221225 @Callable(dz)
12231226 func activate (gc,gd) = if ((toString(dz.caller) != toString(aJ)))
12241227 then throw("permissions denied")
12251228 else $Tuple2([StringEntry(aa(), gc), StringEntry(ab(), gd)], "success")
12261229
12271230
12281231
12291232 @Callable(dz)
12301233 func refreshKLp () = {
12311234 let ge = valueOrElse(getInteger(ag), 0)
12321235 let gf = if (((height - ge) >= aj))
12331236 then unit
12341237 else aG(makeString([toString(aj), " blocks have not passed since the previous call"], ""))
12351238 if ((gf == gf))
12361239 then {
12371240 let dt = valueOrErrorMessage(parseBigInt(valueOrElse(getString(this, af), "0")), aI("invalid kLp"))
12381241 let gg = di(0, 0, 0)
12391242 let gh = gg._1
12401243 let cZ = gg._2
12411244 let dl = if ((dt != cZ))
12421245 then gh
12431246 else aG("nothing to refresh")
12441247 $Tuple2(dl, toString(cZ))
12451248 }
12461249 else throw("Strict value is not equal to itself.")
12471250 }
12481251
12491252
12501253
12511254 @Callable(dz)
12521255 func getPoolConfigWrapperREADONLY () = $Tuple2(nil, aN())
12531256
12541257
12551258
12561259 @Callable(dz)
12571260 func getAccBalanceWrapperREADONLY (bx) = $Tuple2(nil, bw(bx))
12581261
12591262
12601263
12611264 @Callable(dz)
12621265 func calcPricesWrapperREADONLY (bE,bF,bJ) = {
12631266 let bS = bI(bE, bF, bJ)
12641267 $Tuple2(nil, [toString(bS[0]), toString(bS[1]), toString(bS[2])])
12651268 }
12661269
12671270
12681271
12691272 @Callable(dz)
12701273 func toX18WrapperREADONLY (E,F) = $Tuple2(nil, toString(D(E, F)))
12711274
12721275
12731276
12741277 @Callable(dz)
12751278 func fromX18WrapperREADONLY (H,I) = $Tuple2(nil, G(parseBigIntValue(H), I))
12761279
12771280
12781281
12791282 @Callable(dz)
12801283 func calcPriceBigIntWrapperREADONLY (bz,bA) = $Tuple2(nil, toString(by(parseBigIntValue(bz), parseBigIntValue(bA))))
12811284
12821285
12831286
12841287 @Callable(dz)
12851288 func estimatePutOperationWrapperREADONLY (bU,cq,cr,cs,ct,cu,X,cv,cw) = $Tuple2(nil, cp(bU, cq, cr, cs, ct, cu, X, cv, cw))
12861289
12871290
12881291
12891292 @Callable(dz)
12901293 func estimateGetOperationWrapperREADONLY (bU,bV,bW,X) = {
12911294 let cG = bT(bU, bV, bW, addressFromStringValue(X))
12921295 $Tuple2(nil, $Tuple10(cG._1, cG._2, cG._3, cG._4, cG._5, cG._6, cG._7, toString(cG._8), cG._9, cG._10))
12931296 }
12941297
12951298
12961299
12971300 @Callable(dz)
12981301 func statsREADONLY () = {
12991302 let bK = aN()
13001303 let bX = fromBase58String(bK[q])
13011304 let gi = bK[r]
13021305 let gj = bK[s]
13031306 let cz = bK[v]
13041307 let cA = bK[w]
13051308 let bL = parseIntValue(bK[t])
13061309 let bM = parseIntValue(bK[u])
13071310 let gk = valueOrErrorMessage(assetInfo(bX), (("Asset " + toBase58String(bX)) + " doesn't exist")).quantity
13081311 let gl = bw(gi)
13091312 let gm = bw(gj)
13101313 let gn = if ((gk == 0))
13111314 then [e, e, e]
13121315 else bI(gl, gm, gk)
13131316 let ch = 0
13141317 let go = G(gn[1], b)
13151318 let gp = G(gn[2], b)
13161319 let gq = value(getInteger(aJ, au(toString(this))))
13171320 $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString(gl), toString(gm), toString(gk), toString(ch), toString(go), toString(gp), toString(gq)], j))
13181321 }
13191322
13201323
13211324
13221325 @Callable(dz)
13231326 func evaluatePutByAmountAssetREADONLY (cr) = {
13241327 let bK = aN()
13251328 let bX = fromBase58String(bK[q])
13261329 let cx = bK[r]
13271330 let bY = fromBase58String(cx)
13281331 let cy = bK[s]
13291332 let bZ = fromBase58String(cy)
13301333 let bL = parseIntValue(bK[t])
13311334 let bM = parseIntValue(bK[u])
13321335 let ca = bK[p]
13331336 let gk = valueOrErrorMessage(assetInfo(bX), (("Asset " + toBase58String(bX)) + " doesn't exist")).quantity
13341337 let gl = bw(cx)
13351338 let gm = bw(cy)
13361339 let bG = D(gl, bL)
13371340 let bH = D(gm, bM)
13381341 let cg = if ((gk == 0))
13391342 then e
13401343 else by(bH, bG)
13411344 let cD = D(cr, bL)
13421345 let cE = fraction(cD, cg, d)
13431346 let ct = G(cE, bM)
13441347 let dF = cp("", 500000, cr, bY, ct, bZ, "", true, false)
13451348 let cO = dF._1
13461349 let gr = dF._3
13471350 let cc = dF._4
13481351 let ce = dF._5
13491352 let cb = dF._6
13501353 $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString(cO), toString(G(cg, b)), toString(cc), toString(ce), toString(cb), ca, toString(cr), toString(ct)], j))
13511354 }
13521355
13531356
13541357
13551358 @Callable(dz)
13561359 func evaluatePutByPriceAssetREADONLY (ct) = {
13571360 let bK = aN()
13581361 let bX = fromBase58String(bK[q])
13591362 let cx = bK[r]
13601363 let bY = fromBase58String(cx)
13611364 let cy = bK[s]
13621365 let bZ = fromBase58String(cy)
13631366 let bL = parseIntValue(bK[t])
13641367 let bM = parseIntValue(bK[u])
13651368 let ca = bK[p]
13661369 let gk = valueOrErrorMessage(assetInfo(bX), (("Asset " + toBase58String(bX)) + " doesn't exist")).quantity
13671370 let gs = bw(cx)
13681371 let gt = bw(cy)
13691372 let gu = D(gs, bL)
13701373 let gv = D(gt, bM)
13711374 let cg = if ((gk == 0))
13721375 then e
13731376 else by(gv, gu)
13741377 let cE = D(ct, bM)
13751378 let cD = fraction(cE, d, cg)
13761379 let cr = G(cD, bL)
13771380 let dF = cp("", 500000, cr, bY, ct, bZ, "", true, false)
13781381 let cO = dF._1
13791382 let gr = dF._3
13801383 let cc = dF._4
13811384 let ce = dF._5
13821385 let cb = dF._6
13831386 $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString(cO), toString(G(cg, b)), toString(cc), toString(ce), toString(cb), ca, toString(cr), toString(ct)], j))
13841387 }
13851388
13861389
13871390
13881391 @Callable(dz)
13891392 func evaluateGetREADONLY (gw,gx) = {
13901393 let cG = bT("", gw, gx, this)
13911394 let cm = cG._1
13921395 let cn = cG._2
13931396 let cc = cG._5
13941397 let ce = cG._6
13951398 let cb = cG._7
13961399 let ch = cG._8
13971400 let ca = parseIntValue(cG._9)
13981401 $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString(cm), toString(cn), toString(cc), toString(ce), toString(cb), toString(ch), toString(ca)], j))
13991402 }
14001403
14011404
14021405 @Verifier(gy)
14031406 func gz () = {
14041407 let gA = {
14051408 let dK = eM()
14061409 if ($isInstanceOf(dK, "ByteVector"))
14071410 then {
14081411 let eQ = dK
14091412 eQ
14101413 }
14111414 else if ($isInstanceOf(dK, "Unit"))
14121415 then gy.senderPublicKey
14131416 else throw("Match error")
14141417 }
14151418 let dK = gy
14161419 if ($isInstanceOf(dK, "Order"))
14171420 then {
14181421 let dp = dK
14191422 let gB = aM()
14201423 let az = do(dp)
14211424 let aA = sigVerify(dp.bodyBytes, dp.proofs[0], dp.senderPublicKey)
14221425 let aB = sigVerify(dp.bodyBytes, dp.proofs[1], gB)
14231426 if (if (if (az)
14241427 then aA
14251428 else false)
14261429 then aB
14271430 else false)
14281431 then true
14291432 else ay(az, aA, aB)
14301433 }
14311434 else if ($isInstanceOf(dK, "SetScriptTransaction"))
14321435 then {
14331436 let eN = dK
14341437 let gC = blake2b256(value(eN.script))
14351438 let gD = fromBase64String(value(getString(aJ, aw())))
14361439 let gE = scriptHash(this)
14371440 if (if ((gD == gC))
14381441 then (gE != gC)
14391442 else false)
14401443 then true
14411444 else sigVerify(gy.bodyBytes, gy.proofs[0], gA)
14421445 }
14431446 else sigVerify(gy.bodyBytes, gy.proofs[0], gA)
14441447 }
14451448

github/deemru/w8io/026f985 
169.93 ms