tx · GDWBW8HuswuRxHHUe7e5hhCeTRZ6tgawfC7k8cUFKNWE

3N1xHtFLmVxy153ELFALTEt3HuVXvv4rnqb:  -0.03500000 Waves

2022.12.07 15:50 [2349948] smart account 3N1xHtFLmVxy153ELFALTEt3HuVXvv4rnqb > SELF 0.00000000 Waves

{ "type": 13, "id": "GDWBW8HuswuRxHHUe7e5hhCeTRZ6tgawfC7k8cUFKNWE", "fee": 3500000, "feeAssetId": null, "timestamp": 1670417448453, "version": 1, "sender": "3N1xHtFLmVxy153ELFALTEt3HuVXvv4rnqb", "senderPublicKey": "FbottDhjAqYmSxiGz2jbuu6xQEvdqZoV43vksDrkTTgb", "proofs": [ "UoJrxeGUBAayicGTuP2zafb2kRiqY2krUDRz6ft7JJNc7ChTwHJuX3KTEAsxvcQHk42PFThKH52viaacpAZZHT2" ], "script": "base64:BgLYLAgCEgMKAQgSABIECgIBBBIDCgEBEgQKAgEEEgQKAggBEgQKAggBEgQKAggBEgUKAwEIARIAEgQKAgEBEgMKAQESBQoDAQEBEgQKAggIEgASABIDCgEIEgUKAwEBARIECgIBARIECgIIARIECgIICBILCgkIAQECAQIIBAQSBgoECAgBCBIAEgMKAQESAwoBARIECgIIASIKbFBkZWNpbWFscyIGc2NhbGU4IgxzY2FsZThCaWdJbnQiB3NjYWxlMTgiCnplcm9CaWdJbnQiBGJpZzAiBGJpZzEiBGJpZzIiC3dhdmVzU3RyaW5nIgNTRVAiClBvb2xBY3RpdmUiD1Bvb2xQdXREaXNhYmxlZCITUG9vbE1hdGNoZXJEaXNhYmxlZCIMUG9vbFNodXRkb3duIg5pZHhQb29sQWRkcmVzcyINaWR4UG9vbFN0YXR1cyIQaWR4UG9vbExQQXNzZXRJZCINaWR4QW10QXNzZXRJZCIPaWR4UHJpY2VBc3NldElkIg5pZHhBbXRBc3NldERjbSIQaWR4UHJpY2VBc3NldERjbSIOaWR4SUFtdEFzc2V0SWQiEGlkeElQcmljZUFzc2V0SWQiDWlkeExQQXNzZXREY20iE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HJhbnNhY3Rpb24EAmVOBQJkSwQCZ0IJAPYDAQkBBXZhbHVlAQgFAmVOBnNjcmlwdAQCZ0MJANsEAQkBBXZhbHVlAQkAnQgCBQJhSgkBAmF3AAQCZ0QJAPEHAQUEdGhpcwMDCQAAAgUCZ0MFAmdCCQECIT0CBQJnRAUCZ0IHBgkA9AMDCAUCZ3gJYm9keUJ5dGVzCQCRAwIIBQJneAZwcm9vZnMAAAUCZ3oJAPQDAwgFAmd4CWJvZHlCeXRlcwkAkQMCCAUCZ3gGcHJvb2ZzAAAFAmd6WfbqsA==", "chainId": 84, "height": 2349948, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 82mpXjpnYwGApT2jdSWBZHGA7745jLjtbevUC5fpwxCv Next: D8NCTx4zpfuk7g1YRYPZkxK3HVUKZUSeUwc8doTvYb78 Diff:
OldNewDifferences
716716 let fb = dF._13
717717 let dD = toBigInt(value(dz.payments[0]).amount)
718718 let dE = toBigInt(value(dz.payments[1]).amount)
719- let de = (toBigInt(bw(aS(ba))) - dD)
720- if ((de == de))
719+ let dh = da(dD, dE, toBigInt(0))
720+ if ((dh == dh))
721721 then {
722- let df = (toBigInt(bw(aS(bb))) - dE)
723- if ((df == df))
722+ let dI = invoke(aJ, "emit", [cS], nil)
723+ if ((dI == dI))
724724 then {
725- let dg = toBigInt(value(assetInfo(aZ)).quantity)
726- if ((dg == dg))
725+ let dJ = {
726+ let dK = dI
727+ if ($isInstanceOf(dK, "Address"))
728+ then {
729+ let dL = dK
730+ invoke(dL, "emit", [cS], nil)
731+ }
732+ else unit
733+ }
734+ if ((dJ == dJ))
727735 then {
728- let dh = da(dD, dE, toBigInt(0))
729- if ((dh == dh))
736+ let fc = if ((cT > 0))
737+ then invoke(bg, "put", nil, [AttachedPayment(fa, cT)])
738+ else nil
739+ if ((fc == fc))
730740 then {
731- let dI = invoke(aJ, "emit", [cS], nil)
732- if ((dI == dI))
741+ let fd = if ((cU > 0))
742+ then invoke(bg, "put", nil, [AttachedPayment(fb, cU)])
743+ else nil
744+ if ((fd == fd))
733745 then {
734- let dJ = {
735- let dK = dI
736- if ($isInstanceOf(dK, "Address"))
737- then {
738- let dL = dK
739- invoke(dL, "emit", [cS], nil)
740- }
741- else unit
742- }
743- if ((dJ == dJ))
746+ let fe = if (eZ)
744747 then {
745- let fc = if ((cT > 0))
746- then invoke(bg, "put", nil, [AttachedPayment(fa, cT)])
747- else nil
748- if ((fc == fc))
749- then {
750- let fd = if ((cU > 0))
751- then invoke(bg, "put", nil, [AttachedPayment(fb, cU)])
752- else nil
753- if ((fd == fd))
754- then {
755- let fe = if (eZ)
756- then {
757- let ff = invoke(bf, "stake", nil, [AttachedPayment(bX, cS)])
758- if ((ff == ff))
759- then nil
760- else throw("Strict value is not equal to itself.")
761- }
762- else [ScriptTransfer(dz.caller, cS, bX)]
763- let fg = value(assetInfo(aZ)).quantity
764- if ((fg == fg))
765- then {
766- let fh = di(0, 0, 0)
767- if ((fh == fh))
768- then {
769- let cZ = fh._2
770- let fi = fh._1
771- let fj = aG(makeString([toString(de), toString(df), toString(dg), toString(dh), toString(cZ), toString(cS), toString(cT), toString(cU), toString(dg), toString(fg)], " "))
772- if ((fj == fj))
773- then {
774- let fk = dm(dh, cZ)
775- if ((fk == fk))
776- then ((co ++ fe) ++ fi)
777- else throw("Strict value is not equal to itself.")
778- }
779- else throw("Strict value is not equal to itself.")
780- }
781- else throw("Strict value is not equal to itself.")
782- }
783- else throw("Strict value is not equal to itself.")
784- }
785- else throw("Strict value is not equal to itself.")
786- }
748+ let ff = invoke(bf, "stake", nil, [AttachedPayment(bX, cS)])
749+ if ((ff == ff))
750+ then nil
751+ else throw("Strict value is not equal to itself.")
752+ }
753+ else [ScriptTransfer(dz.caller, cS, bX)]
754+ let fg = di(0, 0, 0)
755+ if ((fg == fg))
756+ then {
757+ let cZ = fg._2
758+ let fh = fg._1
759+ let fi = dm(dh, cZ)
760+ if ((fi == fi))
761+ then ((co ++ fe) ++ fh)
787762 else throw("Strict value is not equal to itself.")
788763 }
789764 else throw("Strict value is not equal to itself.")
802777
803778
804779 @Callable(dz)
805-func putForFree (fl) = if ((0 > fl))
780+func putForFree (fj) = if ((0 > fj))
806781 then throw("Invalid value passed")
807782 else {
808- let dF = dC(dz, fl, false)
783+ let dF = dC(dz, fj, false)
809784 let co = dF._9
810785 let dD = toBigInt(value(dz.payments[0]).amount)
811786 let dE = toBigInt(value(dz.payments[1]).amount)
812787 let dh = da(dD, dE, toBigInt(0))
813788 if ((dh == dh))
814789 then {
815- let fm = di(0, 0, 0)
816- let fi = fm._1
817- let cZ = fm._2
818- let fk = dm(dh, cZ)
819- if ((fk == fk))
820- then (co ++ fi)
790+ let fk = di(0, 0, 0)
791+ let fh = fk._1
792+ let cZ = fk._2
793+ let fi = dm(dh, cZ)
794+ if ((fi == fi))
795+ then (co ++ fh)
821796 else throw("Strict value is not equal to itself.")
822797 }
823798 else throw("Strict value is not equal to itself.")
826801
827802
828803 @Callable(dz)
829-func putOneTkn (fn,fo) = {
830- let fp = {
831- let fq = invoke(aJ, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil)
832- if ($isInstanceOf(fq, "Boolean"))
833- then fq
834- else throw(($getType(fq) + " couldn't be cast to Boolean"))
804+func putOneTkn (fl,fm) = {
805+ let fn = {
806+ let fo = invoke(aJ, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil)
807+ if ($isInstanceOf(fo, "Boolean"))
808+ then fo
809+ else throw(($getType(fo) + " couldn't be cast to Boolean"))
835810 }
836- let fr = if (if (if (aL())
811+ let fp = if (if (if (aL())
837812 then true
838813 else (aY == l))
839814 then true
840815 else (aY == n))
841816 then true
842- else fp
843- let ev = [if (if (!(fr))
817+ else fn
818+ let ev = [if (if (!(fp))
844819 then true
845820 else eP(dz))
846821 then true
849824 else aG("exactly 1 payment are expected")]
850825 if ((ev == ev))
851826 then {
852- let fs = dz.payments[0]
853- let dQ = fs.assetId
854- let dP = fs.amount
827+ let fq = dz.payments[0]
828+ let dQ = fq.assetId
829+ let dP = fq.amount
855830 let dh = if ((dQ == ba))
856831 then da(toBigInt(dP), toBigInt(0), toBigInt(0))
857832 else if ((dQ == bb))
859834 else aG("payment asset is not supported")
860835 let X = dz.caller
861836 let Y = dz.transactionId
862- let ft = dO(dP, dQ, X, Y)
863- if ((ft == ft))
837+ let fr = dO(dP, dQ, X, Y)
838+ if ((fr == fr))
864839 then {
865- let dU = ft._5
866- let fu = ft._4
867- let dN = ft._3
868- let cV = ft._2
869- let fv = ft._1
870- let fw = if (if ((fn > 0))
871- then (fn > fv)
840+ let dU = fr._5
841+ let fs = fr._4
842+ let dN = fr._3
843+ let cV = fr._2
844+ let ft = fr._1
845+ let fu = if (if ((fl > 0))
846+ then (fl > ft)
872847 else false)
873- then aG(makeString(["amount to receive is less than ", toString(fn)], ""))
874- else fv
875- let dI = dG(fw)
848+ then aG(makeString(["amount to receive is less than ", toString(fl)], ""))
849+ else ft
850+ let dI = dG(fu)
876851 if ((dI == dI))
877852 then {
878- let fe = if (fo)
853+ let fe = if (fm)
879854 then {
880- let fx = invoke(bf, "stake", nil, [AttachedPayment(aZ, fw)])
881- if ((fx == fx))
855+ let fv = invoke(bf, "stake", nil, [AttachedPayment(aZ, fu)])
856+ if ((fv == fv))
882857 then nil
883858 else throw("Strict value is not equal to itself.")
884859 }
885- else [ScriptTransfer(dz.caller, fw, aZ)]
886- let fy = if ((dN > 0))
860+ else [ScriptTransfer(dz.caller, fu, aZ)]
861+ let fw = if ((dN > 0))
887862 then [ScriptTransfer(aK, dN, dQ)]
888863 else nil
889- let fz = if ((this == aK))
864+ let fx = if ((this == aK))
890865 then $Tuple2(0, 0)
891866 else if (dU)
892867 then $Tuple2(-(dN), 0)
893868 else $Tuple2(0, -(dN))
894- let dj = fz._1
895- let dk = fz._2
896- let fA = di(dj, dk, 0)
897- let fi = fA._1
898- let cZ = fA._2
869+ let dj = fx._1
870+ let dk = fx._2
871+ let fy = di(dj, dk, 0)
872+ let fh = fy._1
873+ let cZ = fy._2
899874 let dt = value(getString(af))
900- let fk = dm(dh, cZ)
901- if ((fk == fk))
902- then $Tuple2((((cV ++ fe) ++ fy) ++ fi), fw)
875+ let fi = dm(dh, cZ)
876+ if ((fi == fi))
877+ then $Tuple2((((cV ++ fe) ++ fw) ++ fh), fu)
903878 else throw("Strict value is not equal to itself.")
904879 }
905880 else throw("Strict value is not equal to itself.")
913888
914889 @Callable(dz)
915890 func putOneTknREADONLY (dQ,dP) = {
916- let fB = dO(dP, aQ(dQ), unit, unit)
917- let fv = fB._1
918- let cV = fB._2
919- let dN = fB._3
920- let fu = fB._4
921- let dU = fB._5
922- $Tuple2(nil, $Tuple3(fv, dN, fu))
891+ let fz = dO(dP, aQ(dQ), unit, unit)
892+ let ft = fz._1
893+ let cV = fz._2
894+ let dN = fz._3
895+ let fs = fz._4
896+ let dU = fz._5
897+ $Tuple2(nil, $Tuple3(ft, dN, fs))
923898 }
924899
925900
926901
927902 @Callable(dz)
928-func getOneTkn (fC,fn) = {
929- let fp = {
930- let fq = invoke(aJ, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil)
931- if ($isInstanceOf(fq, "Boolean"))
932- then fq
933- else throw(($getType(fq) + " couldn't be cast to Boolean"))
903+func getOneTkn (fA,fl) = {
904+ let fn = {
905+ let fo = invoke(aJ, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil)
906+ if ($isInstanceOf(fo, "Boolean"))
907+ then fo
908+ else throw(($getType(fo) + " couldn't be cast to Boolean"))
934909 }
935- let fD = if (if (aL())
910+ let fB = if (if (aL())
936911 then true
937912 else (aY == n))
938913 then true
939- else fp
940- let ev = [if (if (!(fD))
914+ else fn
915+ let ev = [if (if (!(fB))
941916 then true
942917 else eP(dz))
943918 then true
946921 else aG("exactly 1 payment are expected")]
947922 if ((ev == ev))
948923 then {
949- let eu = aQ(fC)
950- let fs = dz.payments[0]
951- let dQ = fs.assetId
952- let ec = fs.amount
924+ let eu = aQ(fA)
925+ let fq = dz.payments[0]
926+ let dQ = fq.assetId
927+ let ec = fq.amount
953928 let dh = da(toBigInt(0), toBigInt(0), toBigInt(ec))
954929 let X = dz.caller
955930 let Y = dz.transactionId
956- let fE = et(eu, ec, dQ, X, Y)
957- if ((fE == fE))
931+ let fC = et(eu, ec, dQ, X, Y)
932+ if ((fC == fC))
958933 then {
959- let ew = fE._5
960- let fu = fE._4
961- let dN = fE._3
962- let cV = fE._2
963- let fF = fE._1
964- let dH = if (if ((fn > 0))
965- then (fn > fF)
934+ let ew = fC._5
935+ let fs = fC._4
936+ let dN = fC._3
937+ let cV = fC._2
938+ let fD = fC._1
939+ let dH = if (if ((fl > 0))
940+ then (fl > fD)
966941 else false)
967- then aG(makeString(["amount to receive is less than ", toString(fn)], ""))
968- else fF
969- let fG = invoke(aJ, "burn", [ec], [AttachedPayment(dQ, ec)])
970- if ((fG == fG))
942+ then aG(makeString(["amount to receive is less than ", toString(fl)], ""))
943+ else fD
944+ let fE = invoke(aJ, "burn", [ec], [AttachedPayment(dQ, ec)])
945+ if ((fE == fE))
971946 then {
972- let fH = [ScriptTransfer(X, dH, eu)]
973- let fy = if ((dN > 0))
947+ let fF = [ScriptTransfer(X, dH, eu)]
948+ let fw = if ((dN > 0))
974949 then [ScriptTransfer(aK, dN, eu)]
975950 else nil
976- let fI = {
977- let fJ = if ((this == aK))
951+ let fG = {
952+ let fH = if ((this == aK))
978953 then 0
979954 else dN
980955 if (ew)
981- then $Tuple2(-((dH + fJ)), 0)
982- else $Tuple2(0, -((dH + fJ)))
956+ then $Tuple2(-((dH + fH)), 0)
957+ else $Tuple2(0, -((dH + fH)))
983958 }
984- let dj = fI._1
985- let dk = fI._2
986- let fK = di(dj, dk, 0)
987- let fi = fK._1
988- let cZ = fK._2
989- let fk = dm(dh, cZ)
990- if ((fk == fk))
991- then $Tuple2((((cV ++ fH) ++ fy) ++ fi), dH)
959+ let dj = fG._1
960+ let dk = fG._2
961+ let fI = di(dj, dk, 0)
962+ let fh = fI._1
963+ let cZ = fI._2
964+ let fi = dm(dh, cZ)
965+ if ((fi == fi))
966+ then $Tuple2((((cV ++ fF) ++ fw) ++ fh), dH)
992967 else throw("Strict value is not equal to itself.")
993968 }
994969 else throw("Strict value is not equal to itself.")
1002977
1003978 @Callable(dz)
1004979 func getOneTknREADONLY (eu,ec) = {
1005- let fL = et(aQ(eu), ec, aZ, unit, unit)
1006- let fF = fL._1
1007- let cV = fL._2
1008- let dN = fL._3
1009- let fu = fL._4
1010- let ew = fL._5
1011- $Tuple2(nil, $Tuple3(fF, dN, fu))
980+ let fJ = et(aQ(eu), ec, aZ, unit, unit)
981+ let fD = fJ._1
982+ let cV = fJ._2
983+ let dN = fJ._3
984+ let fs = fJ._4
985+ let ew = fJ._5
986+ $Tuple2(nil, $Tuple3(fD, dN, fs))
1012987 }
1013988
1014989
1015990
1016991 @Callable(dz)
1017-func unstakeAndGetOneTkn (fM,fC,fn) = {
1018- let fp = {
1019- let fq = invoke(aJ, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil)
1020- if ($isInstanceOf(fq, "Boolean"))
1021- then fq
1022- else throw(($getType(fq) + " couldn't be cast to Boolean"))
992+func unstakeAndGetOneTkn (fK,fA,fl) = {
993+ let fn = {
994+ let fo = invoke(aJ, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil)
995+ if ($isInstanceOf(fo, "Boolean"))
996+ then fo
997+ else throw(($getType(fo) + " couldn't be cast to Boolean"))
1023998 }
1024- let fD = if (if (aL())
999+ let fB = if (if (aL())
10251000 then true
10261001 else (aY == n))
10271002 then true
1028- else fp
1029- let ev = [if (if (!(fD))
1003+ else fn
1004+ let ev = [if (if (!(fB))
10301005 then true
10311006 else eP(dz))
10321007 then true
10351010 else aG("no payments are expected")]
10361011 if ((ev == ev))
10371012 then {
1038- let eu = aQ(fC)
1013+ let eu = aQ(fA)
10391014 let X = dz.caller
10401015 let Y = dz.transactionId
10411016 let dh = da(toBigInt(0), toBigInt(0), toBigInt(0))
1042- let fN = invoke(bf, "unstake", [toBase58String(aZ), fM], nil)
1043- if ((fN == fN))
1017+ let fL = invoke(bf, "unstake", [toBase58String(aZ), fK], nil)
1018+ if ((fL == fL))
10441019 then {
1045- let fO = et(eu, fM, aZ, X, Y)
1046- if ((fO == fO))
1020+ let fM = et(eu, fK, aZ, X, Y)
1021+ if ((fM == fM))
10471022 then {
1048- let ew = fO._5
1049- let fu = fO._4
1050- let dN = fO._3
1051- let cV = fO._2
1052- let fF = fO._1
1053- let dH = if (if ((fn > 0))
1054- then (fn > fF)
1023+ let ew = fM._5
1024+ let fs = fM._4
1025+ let dN = fM._3
1026+ let cV = fM._2
1027+ let fD = fM._1
1028+ let dH = if (if ((fl > 0))
1029+ then (fl > fD)
10551030 else false)
1056- then aG(makeString(["amount to receive is less than ", toString(fn)], ""))
1057- else fF
1058- let fG = invoke(aJ, "burn", [fM], [AttachedPayment(aZ, fM)])
1059- if ((fG == fG))
1031+ then aG(makeString(["amount to receive is less than ", toString(fl)], ""))
1032+ else fD
1033+ let fE = invoke(aJ, "burn", [fK], [AttachedPayment(aZ, fK)])
1034+ if ((fE == fE))
10601035 then {
1061- let fH = [ScriptTransfer(dz.caller, dH, eu)]
1062- let fy = if ((dN > 0))
1036+ let fF = [ScriptTransfer(dz.caller, dH, eu)]
1037+ let fw = if ((dN > 0))
10631038 then [ScriptTransfer(aK, dN, eu)]
10641039 else nil
1065- let fP = {
1066- let fJ = if ((this == aK))
1040+ let fN = {
1041+ let fH = if ((this == aK))
10671042 then 0
10681043 else dN
10691044 if (ew)
1070- then $Tuple2(-((dH + fJ)), 0)
1071- else $Tuple2(0, -((dH + fJ)))
1045+ then $Tuple2(-((dH + fH)), 0)
1046+ else $Tuple2(0, -((dH + fH)))
10721047 }
1073- let dj = fP._1
1074- let dk = fP._2
1075- let fQ = di(dj, dk, 0)
1076- let fi = fQ._1
1077- let cZ = fQ._2
1078- let fk = dm(dh, cZ)
1079- if ((fk == fk))
1080- then $Tuple2((((cV ++ fH) ++ fy) ++ fi), dH)
1048+ let dj = fN._1
1049+ let dk = fN._2
1050+ let fO = di(dj, dk, 0)
1051+ let fh = fO._1
1052+ let cZ = fO._2
1053+ let fi = dm(dh, cZ)
1054+ if ((fi == fi))
1055+ then $Tuple2((((cV ++ fF) ++ fw) ++ fh), dH)
10811056 else throw("Strict value is not equal to itself.")
10821057 }
10831058 else throw("Strict value is not equal to itself.")
10941069 @Callable(dz)
10951070 func get () = {
10961071 let cG = dy(dz)
1097- let fR = cG._1
1072+ let fP = cG._1
10981073 let cn = cG._2
10991074 let dB = cG._3
11001075 let bV = cG._4
11011076 let co = cG._5
11021077 let dh = da(toBigInt(0), toBigInt(0), toBigInt(dB))
1103- let fS = invoke(aJ, "burn", [dB], [AttachedPayment(bV, dB)])
1104- if ((fS == fS))
1078+ let fQ = invoke(aJ, "burn", [dB], [AttachedPayment(bV, dB)])
1079+ if ((fQ == fQ))
11051080 then {
1106- let fT = di(-(fR), -(cn), 0)
1107- let fi = fT._1
1108- let cZ = fT._2
1109- let fk = dm(dh, cZ)
1110- if ((fk == fk))
1111- then (co ++ fi)
1081+ let fR = di(-(fP), -(cn), 0)
1082+ let fh = fR._1
1083+ let cZ = fR._2
1084+ let fi = dm(dh, cZ)
1085+ if ((fi == fi))
1086+ then (co ++ fh)
11121087 else throw("Strict value is not equal to itself.")
11131088 }
11141089 else throw("Strict value is not equal to itself.")
11171092
11181093
11191094 @Callable(dz)
1120-func getNoLess (fU,fV) = {
1095+func getNoLess (fS,fT) = {
11211096 let cG = dy(dz)
11221097 let cm = cG._1
11231098 let cn = cG._2
11241099 let dB = cG._3
11251100 let bV = cG._4
11261101 let co = cG._5
1127- if ((fU > cm))
1128- then throw(((("noLessThenAmtAsset failed: " + toString(cm)) + " < ") + toString(fU)))
1129- else if ((fV > cn))
1130- then throw(((("noLessThenPriceAsset failed: " + toString(cn)) + " < ") + toString(fV)))
1102+ if ((fS > cm))
1103+ then throw(((("noLessThenAmtAsset failed: " + toString(cm)) + " < ") + toString(fS)))
1104+ else if ((fT > cn))
1105+ then throw(((("noLessThenPriceAsset failed: " + toString(cn)) + " < ") + toString(fT)))
11311106 else {
11321107 let dh = da(toBigInt(0), toBigInt(0), toBigInt(dB))
1133- let fS = invoke(aJ, "burn", [dB], [AttachedPayment(bV, dB)])
1134- if ((fS == fS))
1108+ let fQ = invoke(aJ, "burn", [dB], [AttachedPayment(bV, dB)])
1109+ if ((fQ == fQ))
11351110 then {
1136- let fW = di(-(cm), -(cn), 0)
1137- let fi = fW._1
1138- let cZ = fW._2
1139- let fk = dm(dh, cZ)
1140- if ((fk == fk))
1141- then (co ++ fi)
1111+ let fU = di(-(cm), -(cn), 0)
1112+ let fh = fU._1
1113+ let cZ = fU._2
1114+ let fi = dm(dh, cZ)
1115+ if ((fi == fi))
1116+ then (co ++ fh)
11421117 else throw("Strict value is not equal to itself.")
11431118 }
11441119 else throw("Strict value is not equal to itself.")
11491124
11501125 @Callable(dz)
11511126 func unstakeAndGet (dH) = {
1152- let fX = if ((size(dz.payments) != 0))
1127+ let fV = if ((size(dz.payments) != 0))
11531128 then throw("No payments are expected")
11541129 else true
1155- if ((fX == fX))
1130+ if ((fV == fV))
11561131 then {
11571132 let bK = aN()
11581133 let bX = fromBase58String(bK[q])
11591134 let dh = da(toBigInt(0), toBigInt(0), toBigInt(0))
1160- let fN = invoke(bf, "unstake", [toBase58String(bX), dH], nil)
1161- if ((fN == fN))
1135+ let fL = invoke(bf, "unstake", [toBase58String(bX), dH], nil)
1136+ if ((fL == fL))
11621137 then {
11631138 let cG = bT(toBase58String(dz.transactionId), toBase58String(bX), dH, dz.caller)
11641139 let cm = cG._1
11651140 let cn = cG._2
11661141 let ca = parseIntValue(cG._9)
11671142 let co = cG._10
1168- let fY = if (if (aL())
1143+ let fW = if (if (aL())
11691144 then true
11701145 else (ca == n))
11711146 then throw(("Get operation is blocked by admin. Status = " + toString(ca)))
11721147 else true
1173- if ((fY == fY))
1148+ if ((fW == fW))
11741149 then {
1175- let fS = invoke(aJ, "burn", [dH], [AttachedPayment(bX, dH)])
1176- if ((fS == fS))
1150+ let fQ = invoke(aJ, "burn", [dH], [AttachedPayment(bX, dH)])
1151+ if ((fQ == fQ))
11771152 then {
1178- let fZ = di(-(cm), -(cn), 0)
1179- let fi = fZ._1
1180- let cZ = fZ._2
1181- let fk = dm(dh, cZ)
1182- if ((fk == fk))
1183- then (co ++ fi)
1153+ let fX = di(-(cm), -(cn), 0)
1154+ let fh = fX._1
1155+ let cZ = fX._2
1156+ let fi = dm(dh, cZ)
1157+ if ((fi == fi))
1158+ then (co ++ fh)
11841159 else throw("Strict value is not equal to itself.")
11851160 }
11861161 else throw("Strict value is not equal to itself.")
11951170
11961171
11971172 @Callable(dz)
1198-func unstakeAndGetNoLess (fM,ga,fV) = {
1199- let fD = if (aL())
1173+func unstakeAndGetNoLess (fK,fY,fT) = {
1174+ let fB = if (aL())
12001175 then true
12011176 else (aY == n)
1202- let ev = [if (!(fD))
1177+ let ev = [if (!(fB))
12031178 then true
12041179 else throw("get operation is blocked by admin"), if ((size(dz.payments) == 0))
12051180 then true
12071182 if ((ev == ev))
12081183 then {
12091184 let dh = da(toBigInt(0), toBigInt(0), toBigInt(0))
1210- let fN = invoke(bf, "unstake", [toBase58String(aZ), fM], nil)
1211- if ((fN == fN))
1185+ let fL = invoke(bf, "unstake", [toBase58String(aZ), fK], nil)
1186+ if ((fL == fL))
12121187 then {
1213- let cG = bT(toBase58String(dz.transactionId), toBase58String(aZ), fM, dz.caller)
1188+ let cG = bT(toBase58String(dz.transactionId), toBase58String(aZ), fK, dz.caller)
12141189 let cm = cG._1
12151190 let cn = cG._2
12161191 let co = cG._10
1217- let gb = [if ((cm >= ga))
1192+ let fZ = [if ((cm >= fY))
12181193 then true
1219- else throw(makeString(["amount asset amount to receive is less than ", toString(ga)], "")), if ((cn >= fV))
1194+ else throw(makeString(["amount asset amount to receive is less than ", toString(fY)], "")), if ((cn >= fT))
12201195 then true
1221- else throw(makeString(["price asset amount to receive is less than ", toString(fV)], ""))]
1222- if ((gb == gb))
1196+ else throw(makeString(["price asset amount to receive is less than ", toString(fT)], ""))]
1197+ if ((fZ == fZ))
12231198 then {
1224- let fS = invoke(aJ, "burn", [fM], [AttachedPayment(aZ, fM)])
1225- if ((fS == fS))
1199+ let fQ = invoke(aJ, "burn", [fK], [AttachedPayment(aZ, fK)])
1200+ if ((fQ == fQ))
12261201 then {
1227- let gc = di(-(cm), -(cn), 0)
1228- let fi = gc._1
1229- let cZ = gc._2
1230- let fk = dm(dh, cZ)
1231- if ((fk == fk))
1232- then (co ++ fi)
1202+ let ga = di(-(cm), -(cn), 0)
1203+ let fh = ga._1
1204+ let cZ = ga._2
1205+ let fi = dm(dh, cZ)
1206+ if ((fi == fi))
1207+ then (co ++ fh)
12331208 else throw("Strict value is not equal to itself.")
12341209 }
12351210 else throw("Strict value is not equal to itself.")
12441219
12451220
12461221 @Callable(dz)
1247-func activate (gd,ge) = if ((toString(dz.caller) != toString(aJ)))
1222+func activate (gb,gc) = if ((toString(dz.caller) != toString(aJ)))
12481223 then throw("permissions denied")
1249- else $Tuple2([StringEntry(aa(), gd), StringEntry(ab(), ge)], "success")
1224+ else $Tuple2([StringEntry(aa(), gb), StringEntry(ab(), gc)], "success")
12501225
12511226
12521227
12531228 @Callable(dz)
12541229 func refreshKLp () = {
1255- let gf = valueOrElse(getInteger(ag), 0)
1256- let gg = if (((height - gf) >= aj))
1230+ let gd = valueOrElse(getInteger(ag), 0)
1231+ let ge = if (((height - gd) >= aj))
12571232 then unit
12581233 else aG(makeString([toString(aj), " blocks have not passed since the previous call"], ""))
1259- if ((gg == gg))
1234+ if ((ge == ge))
12601235 then {
12611236 let dt = valueOrErrorMessage(parseBigInt(valueOrElse(getString(this, af), "0")), aI("invalid kLp"))
1262- let gh = di(0, 0, 0)
1263- let gi = gh._1
1264- let cZ = gh._2
1237+ let gf = di(0, 0, 0)
1238+ let gg = gf._1
1239+ let cZ = gf._2
12651240 let dl = if ((dt != cZ))
1266- then gi
1241+ then gg
12671242 else aG("nothing to refresh")
12681243 $Tuple2(dl, toString(cZ))
12691244 }
13221297 func statsREADONLY () = {
13231298 let bK = aN()
13241299 let bX = fromBase58String(bK[q])
1325- let gj = bK[r]
1326- let gk = bK[s]
1300+ let gh = bK[r]
1301+ let gi = bK[s]
13271302 let cz = bK[v]
13281303 let cA = bK[w]
13291304 let bL = parseIntValue(bK[t])
13301305 let bM = parseIntValue(bK[u])
1331- let gl = valueOrErrorMessage(assetInfo(bX), (("Asset " + toBase58String(bX)) + " doesn't exist")).quantity
1332- let gm = bw(gj)
1333- let gn = bw(gk)
1334- let go = if ((gl == 0))
1306+ let gj = valueOrErrorMessage(assetInfo(bX), (("Asset " + toBase58String(bX)) + " doesn't exist")).quantity
1307+ let gk = bw(gh)
1308+ let gl = bw(gi)
1309+ let gm = if ((gj == 0))
13351310 then [e, e, e]
1336- else bI(gm, gn, gl)
1311+ else bI(gk, gl, gj)
13371312 let ch = 0
1338- let gp = G(go[1], b)
1339- let gq = G(go[2], b)
1340- let gr = value(getInteger(aJ, au(toString(this))))
1341- $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString(gm), toString(gn), toString(gl), toString(ch), toString(gp), toString(gq), toString(gr)], j))
1313+ let gn = G(gm[1], b)
1314+ let go = G(gm[2], b)
1315+ let gp = value(getInteger(aJ, au(toString(this))))
1316+ $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString(gk), toString(gl), toString(gj), toString(ch), toString(gn), toString(go), toString(gp)], j))
13421317 }
13431318
13441319
13541329 let bL = parseIntValue(bK[t])
13551330 let bM = parseIntValue(bK[u])
13561331 let ca = bK[p]
1357- let gl = valueOrErrorMessage(assetInfo(bX), (("Asset " + toBase58String(bX)) + " doesn't exist")).quantity
1358- let gm = bw(cx)
1359- let gn = bw(cy)
1360- let bG = D(gm, bL)
1361- let bH = D(gn, bM)
1362- let cg = if ((gl == 0))
1332+ let gj = valueOrErrorMessage(assetInfo(bX), (("Asset " + toBase58String(bX)) + " doesn't exist")).quantity
1333+ let gk = bw(cx)
1334+ let gl = bw(cy)
1335+ let bG = D(gk, bL)
1336+ let bH = D(gl, bM)
1337+ let cg = if ((gj == 0))
13631338 then e
13641339 else by(bH, bG)
13651340 let cD = D(cr, bL)
13671342 let ct = G(cE, bM)
13681343 let dF = cp("", 500000, cr, bY, ct, bZ, "", true, false)
13691344 let cO = dF._1
1370- let gs = dF._3
1345+ let gq = dF._3
13711346 let cc = dF._4
13721347 let ce = dF._5
13731348 let cb = dF._6
13871362 let bL = parseIntValue(bK[t])
13881363 let bM = parseIntValue(bK[u])
13891364 let ca = bK[p]
1390- let gl = valueOrErrorMessage(assetInfo(bX), (("Asset " + toBase58String(bX)) + " doesn't exist")).quantity
1391- let gt = bw(cx)
1392- let gu = bw(cy)
1393- let gv = D(gt, bL)
1394- let gw = D(gu, bM)
1395- let cg = if ((gl == 0))
1365+ let gj = valueOrErrorMessage(assetInfo(bX), (("Asset " + toBase58String(bX)) + " doesn't exist")).quantity
1366+ let gr = bw(cx)
1367+ let gs = bw(cy)
1368+ let gt = D(gr, bL)
1369+ let gu = D(gs, bM)
1370+ let cg = if ((gj == 0))
13961371 then e
1397- else by(gw, gv)
1372+ else by(gu, gt)
13981373 let cE = D(ct, bM)
13991374 let cD = fraction(cE, d, cg)
14001375 let cr = G(cD, bL)
14011376 let dF = cp("", 500000, cr, bY, ct, bZ, "", true, false)
14021377 let cO = dF._1
1403- let gs = dF._3
1378+ let gq = dF._3
14041379 let cc = dF._4
14051380 let ce = dF._5
14061381 let cb = dF._6
14101385
14111386
14121387 @Callable(dz)
1413-func evaluateGetREADONLY (gx,gy) = {
1414- let cG = bT("", gx, gy, this)
1388+func evaluateGetREADONLY (gv,gw) = {
1389+ let cG = bT("", gv, gw, this)
14151390 let cm = cG._1
14161391 let cn = cG._2
14171392 let cc = cG._5
14231398 }
14241399
14251400
1426-@Verifier(gz)
1427-func gA () = {
1428- let gB = {
1401+@Verifier(gx)
1402+func gy () = {
1403+ let gz = {
14291404 let dK = eM()
14301405 if ($isInstanceOf(dK, "ByteVector"))
14311406 then {
14331408 eQ
14341409 }
14351410 else if ($isInstanceOf(dK, "Unit"))
1436- then gz.senderPublicKey
1411+ then gx.senderPublicKey
14371412 else throw("Match error")
14381413 }
1439- let dK = gz
1414+ let dK = gx
14401415 if ($isInstanceOf(dK, "Order"))
14411416 then {
14421417 let dp = dK
1443- let gC = aM()
1418+ let gA = aM()
14441419 let az = do(dp)
14451420 let aA = sigVerify(dp.bodyBytes, dp.proofs[0], dp.senderPublicKey)
1446- let aB = sigVerify(dp.bodyBytes, dp.proofs[1], gC)
1421+ let aB = sigVerify(dp.bodyBytes, dp.proofs[1], gA)
14471422 if (if (if (az)
14481423 then aA
14491424 else false)
14551430 else if ($isInstanceOf(dK, "SetScriptTransaction"))
14561431 then {
14571432 let eN = dK
1458- let gD = blake2b256(value(eN.script))
1459- let gE = fromBase64String(value(getString(aJ, aw())))
1460- let gF = scriptHash(this)
1461- if (if ((gE == gD))
1462- then (gF != gD)
1433+ let gB = blake2b256(value(eN.script))
1434+ let gC = fromBase64String(value(getString(aJ, aw())))
1435+ let gD = scriptHash(this)
1436+ if (if ((gC == gB))
1437+ then (gD != gB)
14631438 else false)
14641439 then true
1465- else sigVerify(gz.bodyBytes, gz.proofs[0], gB)
1440+ else sigVerify(gx.bodyBytes, gx.proofs[0], gz)
14661441 }
1467- else sigVerify(gz.bodyBytes, gz.proofs[0], gB)
1442+ else sigVerify(gx.bodyBytes, gx.proofs[0], gz)
14681443 }
14691444
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, 12, 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)
719- let de = (toBigInt(bw(aS(ba))) - dD)
720- if ((de == de))
719+ let dh = da(dD, dE, toBigInt(0))
720+ if ((dh == dh))
721721 then {
722- let df = (toBigInt(bw(aS(bb))) - dE)
723- if ((df == df))
722+ let dI = invoke(aJ, "emit", [cS], nil)
723+ if ((dI == dI))
724724 then {
725- let dg = toBigInt(value(assetInfo(aZ)).quantity)
726- if ((dg == dg))
725+ let dJ = {
726+ let dK = dI
727+ if ($isInstanceOf(dK, "Address"))
728+ then {
729+ let dL = dK
730+ invoke(dL, "emit", [cS], nil)
731+ }
732+ else unit
733+ }
734+ if ((dJ == dJ))
727735 then {
728- let dh = da(dD, dE, toBigInt(0))
729- if ((dh == dh))
736+ let fc = if ((cT > 0))
737+ then invoke(bg, "put", nil, [AttachedPayment(fa, cT)])
738+ else nil
739+ if ((fc == fc))
730740 then {
731- let dI = invoke(aJ, "emit", [cS], nil)
732- if ((dI == dI))
741+ let fd = if ((cU > 0))
742+ then invoke(bg, "put", nil, [AttachedPayment(fb, cU)])
743+ else nil
744+ if ((fd == fd))
733745 then {
734- let dJ = {
735- let dK = dI
736- if ($isInstanceOf(dK, "Address"))
737- then {
738- let dL = dK
739- invoke(dL, "emit", [cS], nil)
740- }
741- else unit
742- }
743- if ((dJ == dJ))
746+ let fe = if (eZ)
744747 then {
745- let fc = if ((cT > 0))
746- then invoke(bg, "put", nil, [AttachedPayment(fa, cT)])
747- else nil
748- if ((fc == fc))
749- then {
750- let fd = if ((cU > 0))
751- then invoke(bg, "put", nil, [AttachedPayment(fb, cU)])
752- else nil
753- if ((fd == fd))
754- then {
755- let fe = if (eZ)
756- then {
757- let ff = invoke(bf, "stake", nil, [AttachedPayment(bX, cS)])
758- if ((ff == ff))
759- then nil
760- else throw("Strict value is not equal to itself.")
761- }
762- else [ScriptTransfer(dz.caller, cS, bX)]
763- let fg = value(assetInfo(aZ)).quantity
764- if ((fg == fg))
765- then {
766- let fh = di(0, 0, 0)
767- if ((fh == fh))
768- then {
769- let cZ = fh._2
770- let fi = fh._1
771- let fj = aG(makeString([toString(de), toString(df), toString(dg), toString(dh), toString(cZ), toString(cS), toString(cT), toString(cU), toString(dg), toString(fg)], " "))
772- if ((fj == fj))
773- then {
774- let fk = dm(dh, cZ)
775- if ((fk == fk))
776- then ((co ++ fe) ++ fi)
777- else throw("Strict value is not equal to itself.")
778- }
779- else throw("Strict value is not equal to itself.")
780- }
781- else throw("Strict value is not equal to itself.")
782- }
783- else throw("Strict value is not equal to itself.")
784- }
785- else throw("Strict value is not equal to itself.")
786- }
748+ let ff = invoke(bf, "stake", nil, [AttachedPayment(bX, cS)])
749+ if ((ff == ff))
750+ then nil
751+ else throw("Strict value is not equal to itself.")
752+ }
753+ else [ScriptTransfer(dz.caller, cS, bX)]
754+ let fg = di(0, 0, 0)
755+ if ((fg == fg))
756+ then {
757+ let cZ = fg._2
758+ let fh = fg._1
759+ let fi = dm(dh, cZ)
760+ if ((fi == fi))
761+ then ((co ++ fe) ++ fh)
787762 else throw("Strict value is not equal to itself.")
788763 }
789764 else throw("Strict value is not equal to itself.")
790765 }
791766 else throw("Strict value is not equal to itself.")
792767 }
793768 else throw("Strict value is not equal to itself.")
794769 }
795770 else throw("Strict value is not equal to itself.")
796771 }
797772 else throw("Strict value is not equal to itself.")
798773 }
799774 else throw("Strict value is not equal to itself.")
800775 }
801776
802777
803778
804779 @Callable(dz)
805-func putForFree (fl) = if ((0 > fl))
780+func putForFree (fj) = if ((0 > fj))
806781 then throw("Invalid value passed")
807782 else {
808- let dF = dC(dz, fl, false)
783+ let dF = dC(dz, fj, false)
809784 let co = dF._9
810785 let dD = toBigInt(value(dz.payments[0]).amount)
811786 let dE = toBigInt(value(dz.payments[1]).amount)
812787 let dh = da(dD, dE, toBigInt(0))
813788 if ((dh == dh))
814789 then {
815- let fm = di(0, 0, 0)
816- let fi = fm._1
817- let cZ = fm._2
818- let fk = dm(dh, cZ)
819- if ((fk == fk))
820- then (co ++ fi)
790+ let fk = di(0, 0, 0)
791+ let fh = fk._1
792+ let cZ = fk._2
793+ let fi = dm(dh, cZ)
794+ if ((fi == fi))
795+ then (co ++ fh)
821796 else throw("Strict value is not equal to itself.")
822797 }
823798 else throw("Strict value is not equal to itself.")
824799 }
825800
826801
827802
828803 @Callable(dz)
829-func putOneTkn (fn,fo) = {
830- let fp = {
831- let fq = invoke(aJ, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil)
832- if ($isInstanceOf(fq, "Boolean"))
833- then fq
834- else throw(($getType(fq) + " couldn't be cast to Boolean"))
804+func putOneTkn (fl,fm) = {
805+ let fn = {
806+ let fo = invoke(aJ, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil)
807+ if ($isInstanceOf(fo, "Boolean"))
808+ then fo
809+ else throw(($getType(fo) + " couldn't be cast to Boolean"))
835810 }
836- let fr = if (if (if (aL())
811+ let fp = if (if (if (aL())
837812 then true
838813 else (aY == l))
839814 then true
840815 else (aY == n))
841816 then true
842- else fp
843- let ev = [if (if (!(fr))
817+ else fn
818+ let ev = [if (if (!(fp))
844819 then true
845820 else eP(dz))
846821 then true
847822 else aG("put operation is blocked by admin"), if ((size(dz.payments) == 1))
848823 then true
849824 else aG("exactly 1 payment are expected")]
850825 if ((ev == ev))
851826 then {
852- let fs = dz.payments[0]
853- let dQ = fs.assetId
854- let dP = fs.amount
827+ let fq = dz.payments[0]
828+ let dQ = fq.assetId
829+ let dP = fq.amount
855830 let dh = if ((dQ == ba))
856831 then da(toBigInt(dP), toBigInt(0), toBigInt(0))
857832 else if ((dQ == bb))
858833 then da(toBigInt(0), toBigInt(dP), toBigInt(0))
859834 else aG("payment asset is not supported")
860835 let X = dz.caller
861836 let Y = dz.transactionId
862- let ft = dO(dP, dQ, X, Y)
863- if ((ft == ft))
837+ let fr = dO(dP, dQ, X, Y)
838+ if ((fr == fr))
864839 then {
865- let dU = ft._5
866- let fu = ft._4
867- let dN = ft._3
868- let cV = ft._2
869- let fv = ft._1
870- let fw = if (if ((fn > 0))
871- then (fn > fv)
840+ let dU = fr._5
841+ let fs = fr._4
842+ let dN = fr._3
843+ let cV = fr._2
844+ let ft = fr._1
845+ let fu = if (if ((fl > 0))
846+ then (fl > ft)
872847 else false)
873- then aG(makeString(["amount to receive is less than ", toString(fn)], ""))
874- else fv
875- let dI = dG(fw)
848+ then aG(makeString(["amount to receive is less than ", toString(fl)], ""))
849+ else ft
850+ let dI = dG(fu)
876851 if ((dI == dI))
877852 then {
878- let fe = if (fo)
853+ let fe = if (fm)
879854 then {
880- let fx = invoke(bf, "stake", nil, [AttachedPayment(aZ, fw)])
881- if ((fx == fx))
855+ let fv = invoke(bf, "stake", nil, [AttachedPayment(aZ, fu)])
856+ if ((fv == fv))
882857 then nil
883858 else throw("Strict value is not equal to itself.")
884859 }
885- else [ScriptTransfer(dz.caller, fw, aZ)]
886- let fy = if ((dN > 0))
860+ else [ScriptTransfer(dz.caller, fu, aZ)]
861+ let fw = if ((dN > 0))
887862 then [ScriptTransfer(aK, dN, dQ)]
888863 else nil
889- let fz = if ((this == aK))
864+ let fx = if ((this == aK))
890865 then $Tuple2(0, 0)
891866 else if (dU)
892867 then $Tuple2(-(dN), 0)
893868 else $Tuple2(0, -(dN))
894- let dj = fz._1
895- let dk = fz._2
896- let fA = di(dj, dk, 0)
897- let fi = fA._1
898- let cZ = fA._2
869+ let dj = fx._1
870+ let dk = fx._2
871+ let fy = di(dj, dk, 0)
872+ let fh = fy._1
873+ let cZ = fy._2
899874 let dt = value(getString(af))
900- let fk = dm(dh, cZ)
901- if ((fk == fk))
902- then $Tuple2((((cV ++ fe) ++ fy) ++ fi), fw)
875+ let fi = dm(dh, cZ)
876+ if ((fi == fi))
877+ then $Tuple2((((cV ++ fe) ++ fw) ++ fh), fu)
903878 else throw("Strict value is not equal to itself.")
904879 }
905880 else throw("Strict value is not equal to itself.")
906881 }
907882 else throw("Strict value is not equal to itself.")
908883 }
909884 else throw("Strict value is not equal to itself.")
910885 }
911886
912887
913888
914889 @Callable(dz)
915890 func putOneTknREADONLY (dQ,dP) = {
916- let fB = dO(dP, aQ(dQ), unit, unit)
917- let fv = fB._1
918- let cV = fB._2
919- let dN = fB._3
920- let fu = fB._4
921- let dU = fB._5
922- $Tuple2(nil, $Tuple3(fv, dN, fu))
891+ let fz = dO(dP, aQ(dQ), unit, unit)
892+ let ft = fz._1
893+ let cV = fz._2
894+ let dN = fz._3
895+ let fs = fz._4
896+ let dU = fz._5
897+ $Tuple2(nil, $Tuple3(ft, dN, fs))
923898 }
924899
925900
926901
927902 @Callable(dz)
928-func getOneTkn (fC,fn) = {
929- let fp = {
930- let fq = invoke(aJ, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil)
931- if ($isInstanceOf(fq, "Boolean"))
932- then fq
933- else throw(($getType(fq) + " couldn't be cast to Boolean"))
903+func getOneTkn (fA,fl) = {
904+ let fn = {
905+ let fo = invoke(aJ, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil)
906+ if ($isInstanceOf(fo, "Boolean"))
907+ then fo
908+ else throw(($getType(fo) + " couldn't be cast to Boolean"))
934909 }
935- let fD = if (if (aL())
910+ let fB = if (if (aL())
936911 then true
937912 else (aY == n))
938913 then true
939- else fp
940- let ev = [if (if (!(fD))
914+ else fn
915+ let ev = [if (if (!(fB))
941916 then true
942917 else eP(dz))
943918 then true
944919 else aG("get operation is blocked by admin"), if ((size(dz.payments) == 1))
945920 then true
946921 else aG("exactly 1 payment are expected")]
947922 if ((ev == ev))
948923 then {
949- let eu = aQ(fC)
950- let fs = dz.payments[0]
951- let dQ = fs.assetId
952- let ec = fs.amount
924+ let eu = aQ(fA)
925+ let fq = dz.payments[0]
926+ let dQ = fq.assetId
927+ let ec = fq.amount
953928 let dh = da(toBigInt(0), toBigInt(0), toBigInt(ec))
954929 let X = dz.caller
955930 let Y = dz.transactionId
956- let fE = et(eu, ec, dQ, X, Y)
957- if ((fE == fE))
931+ let fC = et(eu, ec, dQ, X, Y)
932+ if ((fC == fC))
958933 then {
959- let ew = fE._5
960- let fu = fE._4
961- let dN = fE._3
962- let cV = fE._2
963- let fF = fE._1
964- let dH = if (if ((fn > 0))
965- then (fn > fF)
934+ let ew = fC._5
935+ let fs = fC._4
936+ let dN = fC._3
937+ let cV = fC._2
938+ let fD = fC._1
939+ let dH = if (if ((fl > 0))
940+ then (fl > fD)
966941 else false)
967- then aG(makeString(["amount to receive is less than ", toString(fn)], ""))
968- else fF
969- let fG = invoke(aJ, "burn", [ec], [AttachedPayment(dQ, ec)])
970- if ((fG == fG))
942+ then aG(makeString(["amount to receive is less than ", toString(fl)], ""))
943+ else fD
944+ let fE = invoke(aJ, "burn", [ec], [AttachedPayment(dQ, ec)])
945+ if ((fE == fE))
971946 then {
972- let fH = [ScriptTransfer(X, dH, eu)]
973- let fy = if ((dN > 0))
947+ let fF = [ScriptTransfer(X, dH, eu)]
948+ let fw = if ((dN > 0))
974949 then [ScriptTransfer(aK, dN, eu)]
975950 else nil
976- let fI = {
977- let fJ = if ((this == aK))
951+ let fG = {
952+ let fH = if ((this == aK))
978953 then 0
979954 else dN
980955 if (ew)
981- then $Tuple2(-((dH + fJ)), 0)
982- else $Tuple2(0, -((dH + fJ)))
956+ then $Tuple2(-((dH + fH)), 0)
957+ else $Tuple2(0, -((dH + fH)))
983958 }
984- let dj = fI._1
985- let dk = fI._2
986- let fK = di(dj, dk, 0)
987- let fi = fK._1
988- let cZ = fK._2
989- let fk = dm(dh, cZ)
990- if ((fk == fk))
991- then $Tuple2((((cV ++ fH) ++ fy) ++ fi), dH)
959+ let dj = fG._1
960+ let dk = fG._2
961+ let fI = di(dj, dk, 0)
962+ let fh = fI._1
963+ let cZ = fI._2
964+ let fi = dm(dh, cZ)
965+ if ((fi == fi))
966+ then $Tuple2((((cV ++ fF) ++ fw) ++ fh), dH)
992967 else throw("Strict value is not equal to itself.")
993968 }
994969 else throw("Strict value is not equal to itself.")
995970 }
996971 else throw("Strict value is not equal to itself.")
997972 }
998973 else throw("Strict value is not equal to itself.")
999974 }
1000975
1001976
1002977
1003978 @Callable(dz)
1004979 func getOneTknREADONLY (eu,ec) = {
1005- let fL = et(aQ(eu), ec, aZ, unit, unit)
1006- let fF = fL._1
1007- let cV = fL._2
1008- let dN = fL._3
1009- let fu = fL._4
1010- let ew = fL._5
1011- $Tuple2(nil, $Tuple3(fF, dN, fu))
980+ let fJ = et(aQ(eu), ec, aZ, unit, unit)
981+ let fD = fJ._1
982+ let cV = fJ._2
983+ let dN = fJ._3
984+ let fs = fJ._4
985+ let ew = fJ._5
986+ $Tuple2(nil, $Tuple3(fD, dN, fs))
1012987 }
1013988
1014989
1015990
1016991 @Callable(dz)
1017-func unstakeAndGetOneTkn (fM,fC,fn) = {
1018- let fp = {
1019- let fq = invoke(aJ, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil)
1020- if ($isInstanceOf(fq, "Boolean"))
1021- then fq
1022- else throw(($getType(fq) + " couldn't be cast to Boolean"))
992+func unstakeAndGetOneTkn (fK,fA,fl) = {
993+ let fn = {
994+ let fo = invoke(aJ, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil)
995+ if ($isInstanceOf(fo, "Boolean"))
996+ then fo
997+ else throw(($getType(fo) + " couldn't be cast to Boolean"))
1023998 }
1024- let fD = if (if (aL())
999+ let fB = if (if (aL())
10251000 then true
10261001 else (aY == n))
10271002 then true
1028- else fp
1029- let ev = [if (if (!(fD))
1003+ else fn
1004+ let ev = [if (if (!(fB))
10301005 then true
10311006 else eP(dz))
10321007 then true
10331008 else aG("get operation is blocked by admin"), if ((size(dz.payments) == 0))
10341009 then true
10351010 else aG("no payments are expected")]
10361011 if ((ev == ev))
10371012 then {
1038- let eu = aQ(fC)
1013+ let eu = aQ(fA)
10391014 let X = dz.caller
10401015 let Y = dz.transactionId
10411016 let dh = da(toBigInt(0), toBigInt(0), toBigInt(0))
1042- let fN = invoke(bf, "unstake", [toBase58String(aZ), fM], nil)
1043- if ((fN == fN))
1017+ let fL = invoke(bf, "unstake", [toBase58String(aZ), fK], nil)
1018+ if ((fL == fL))
10441019 then {
1045- let fO = et(eu, fM, aZ, X, Y)
1046- if ((fO == fO))
1020+ let fM = et(eu, fK, aZ, X, Y)
1021+ if ((fM == fM))
10471022 then {
1048- let ew = fO._5
1049- let fu = fO._4
1050- let dN = fO._3
1051- let cV = fO._2
1052- let fF = fO._1
1053- let dH = if (if ((fn > 0))
1054- then (fn > fF)
1023+ let ew = fM._5
1024+ let fs = fM._4
1025+ let dN = fM._3
1026+ let cV = fM._2
1027+ let fD = fM._1
1028+ let dH = if (if ((fl > 0))
1029+ then (fl > fD)
10551030 else false)
1056- then aG(makeString(["amount to receive is less than ", toString(fn)], ""))
1057- else fF
1058- let fG = invoke(aJ, "burn", [fM], [AttachedPayment(aZ, fM)])
1059- if ((fG == fG))
1031+ then aG(makeString(["amount to receive is less than ", toString(fl)], ""))
1032+ else fD
1033+ let fE = invoke(aJ, "burn", [fK], [AttachedPayment(aZ, fK)])
1034+ if ((fE == fE))
10601035 then {
1061- let fH = [ScriptTransfer(dz.caller, dH, eu)]
1062- let fy = if ((dN > 0))
1036+ let fF = [ScriptTransfer(dz.caller, dH, eu)]
1037+ let fw = if ((dN > 0))
10631038 then [ScriptTransfer(aK, dN, eu)]
10641039 else nil
1065- let fP = {
1066- let fJ = if ((this == aK))
1040+ let fN = {
1041+ let fH = if ((this == aK))
10671042 then 0
10681043 else dN
10691044 if (ew)
1070- then $Tuple2(-((dH + fJ)), 0)
1071- else $Tuple2(0, -((dH + fJ)))
1045+ then $Tuple2(-((dH + fH)), 0)
1046+ else $Tuple2(0, -((dH + fH)))
10721047 }
1073- let dj = fP._1
1074- let dk = fP._2
1075- let fQ = di(dj, dk, 0)
1076- let fi = fQ._1
1077- let cZ = fQ._2
1078- let fk = dm(dh, cZ)
1079- if ((fk == fk))
1080- then $Tuple2((((cV ++ fH) ++ fy) ++ fi), dH)
1048+ let dj = fN._1
1049+ let dk = fN._2
1050+ let fO = di(dj, dk, 0)
1051+ let fh = fO._1
1052+ let cZ = fO._2
1053+ let fi = dm(dh, cZ)
1054+ if ((fi == fi))
1055+ then $Tuple2((((cV ++ fF) ++ fw) ++ fh), dH)
10811056 else throw("Strict value is not equal to itself.")
10821057 }
10831058 else throw("Strict value is not equal to itself.")
10841059 }
10851060 else throw("Strict value is not equal to itself.")
10861061 }
10871062 else throw("Strict value is not equal to itself.")
10881063 }
10891064 else throw("Strict value is not equal to itself.")
10901065 }
10911066
10921067
10931068
10941069 @Callable(dz)
10951070 func get () = {
10961071 let cG = dy(dz)
1097- let fR = cG._1
1072+ let fP = cG._1
10981073 let cn = cG._2
10991074 let dB = cG._3
11001075 let bV = cG._4
11011076 let co = cG._5
11021077 let dh = da(toBigInt(0), toBigInt(0), toBigInt(dB))
1103- let fS = invoke(aJ, "burn", [dB], [AttachedPayment(bV, dB)])
1104- if ((fS == fS))
1078+ let fQ = invoke(aJ, "burn", [dB], [AttachedPayment(bV, dB)])
1079+ if ((fQ == fQ))
11051080 then {
1106- let fT = di(-(fR), -(cn), 0)
1107- let fi = fT._1
1108- let cZ = fT._2
1109- let fk = dm(dh, cZ)
1110- if ((fk == fk))
1111- then (co ++ fi)
1081+ let fR = di(-(fP), -(cn), 0)
1082+ let fh = fR._1
1083+ let cZ = fR._2
1084+ let fi = dm(dh, cZ)
1085+ if ((fi == fi))
1086+ then (co ++ fh)
11121087 else throw("Strict value is not equal to itself.")
11131088 }
11141089 else throw("Strict value is not equal to itself.")
11151090 }
11161091
11171092
11181093
11191094 @Callable(dz)
1120-func getNoLess (fU,fV) = {
1095+func getNoLess (fS,fT) = {
11211096 let cG = dy(dz)
11221097 let cm = cG._1
11231098 let cn = cG._2
11241099 let dB = cG._3
11251100 let bV = cG._4
11261101 let co = cG._5
1127- if ((fU > cm))
1128- then throw(((("noLessThenAmtAsset failed: " + toString(cm)) + " < ") + toString(fU)))
1129- else if ((fV > cn))
1130- then throw(((("noLessThenPriceAsset failed: " + toString(cn)) + " < ") + toString(fV)))
1102+ if ((fS > cm))
1103+ then throw(((("noLessThenAmtAsset failed: " + toString(cm)) + " < ") + toString(fS)))
1104+ else if ((fT > cn))
1105+ then throw(((("noLessThenPriceAsset failed: " + toString(cn)) + " < ") + toString(fT)))
11311106 else {
11321107 let dh = da(toBigInt(0), toBigInt(0), toBigInt(dB))
1133- let fS = invoke(aJ, "burn", [dB], [AttachedPayment(bV, dB)])
1134- if ((fS == fS))
1108+ let fQ = invoke(aJ, "burn", [dB], [AttachedPayment(bV, dB)])
1109+ if ((fQ == fQ))
11351110 then {
1136- let fW = di(-(cm), -(cn), 0)
1137- let fi = fW._1
1138- let cZ = fW._2
1139- let fk = dm(dh, cZ)
1140- if ((fk == fk))
1141- then (co ++ fi)
1111+ let fU = di(-(cm), -(cn), 0)
1112+ let fh = fU._1
1113+ let cZ = fU._2
1114+ let fi = dm(dh, cZ)
1115+ if ((fi == fi))
1116+ then (co ++ fh)
11421117 else throw("Strict value is not equal to itself.")
11431118 }
11441119 else throw("Strict value is not equal to itself.")
11451120 }
11461121 }
11471122
11481123
11491124
11501125 @Callable(dz)
11511126 func unstakeAndGet (dH) = {
1152- let fX = if ((size(dz.payments) != 0))
1127+ let fV = if ((size(dz.payments) != 0))
11531128 then throw("No payments are expected")
11541129 else true
1155- if ((fX == fX))
1130+ if ((fV == fV))
11561131 then {
11571132 let bK = aN()
11581133 let bX = fromBase58String(bK[q])
11591134 let dh = da(toBigInt(0), toBigInt(0), toBigInt(0))
1160- let fN = invoke(bf, "unstake", [toBase58String(bX), dH], nil)
1161- if ((fN == fN))
1135+ let fL = invoke(bf, "unstake", [toBase58String(bX), dH], nil)
1136+ if ((fL == fL))
11621137 then {
11631138 let cG = bT(toBase58String(dz.transactionId), toBase58String(bX), dH, dz.caller)
11641139 let cm = cG._1
11651140 let cn = cG._2
11661141 let ca = parseIntValue(cG._9)
11671142 let co = cG._10
1168- let fY = if (if (aL())
1143+ let fW = if (if (aL())
11691144 then true
11701145 else (ca == n))
11711146 then throw(("Get operation is blocked by admin. Status = " + toString(ca)))
11721147 else true
1173- if ((fY == fY))
1148+ if ((fW == fW))
11741149 then {
1175- let fS = invoke(aJ, "burn", [dH], [AttachedPayment(bX, dH)])
1176- if ((fS == fS))
1150+ let fQ = invoke(aJ, "burn", [dH], [AttachedPayment(bX, dH)])
1151+ if ((fQ == fQ))
11771152 then {
1178- let fZ = di(-(cm), -(cn), 0)
1179- let fi = fZ._1
1180- let cZ = fZ._2
1181- let fk = dm(dh, cZ)
1182- if ((fk == fk))
1183- then (co ++ fi)
1153+ let fX = di(-(cm), -(cn), 0)
1154+ let fh = fX._1
1155+ let cZ = fX._2
1156+ let fi = dm(dh, cZ)
1157+ if ((fi == fi))
1158+ then (co ++ fh)
11841159 else throw("Strict value is not equal to itself.")
11851160 }
11861161 else throw("Strict value is not equal to itself.")
11871162 }
11881163 else throw("Strict value is not equal to itself.")
11891164 }
11901165 else throw("Strict value is not equal to itself.")
11911166 }
11921167 else throw("Strict value is not equal to itself.")
11931168 }
11941169
11951170
11961171
11971172 @Callable(dz)
1198-func unstakeAndGetNoLess (fM,ga,fV) = {
1199- let fD = if (aL())
1173+func unstakeAndGetNoLess (fK,fY,fT) = {
1174+ let fB = if (aL())
12001175 then true
12011176 else (aY == n)
1202- let ev = [if (!(fD))
1177+ let ev = [if (!(fB))
12031178 then true
12041179 else throw("get operation is blocked by admin"), if ((size(dz.payments) == 0))
12051180 then true
12061181 else throw("no payments are expected")]
12071182 if ((ev == ev))
12081183 then {
12091184 let dh = da(toBigInt(0), toBigInt(0), toBigInt(0))
1210- let fN = invoke(bf, "unstake", [toBase58String(aZ), fM], nil)
1211- if ((fN == fN))
1185+ let fL = invoke(bf, "unstake", [toBase58String(aZ), fK], nil)
1186+ if ((fL == fL))
12121187 then {
1213- let cG = bT(toBase58String(dz.transactionId), toBase58String(aZ), fM, dz.caller)
1188+ let cG = bT(toBase58String(dz.transactionId), toBase58String(aZ), fK, dz.caller)
12141189 let cm = cG._1
12151190 let cn = cG._2
12161191 let co = cG._10
1217- let gb = [if ((cm >= ga))
1192+ let fZ = [if ((cm >= fY))
12181193 then true
1219- else throw(makeString(["amount asset amount to receive is less than ", toString(ga)], "")), if ((cn >= fV))
1194+ else throw(makeString(["amount asset amount to receive is less than ", toString(fY)], "")), if ((cn >= fT))
12201195 then true
1221- else throw(makeString(["price asset amount to receive is less than ", toString(fV)], ""))]
1222- if ((gb == gb))
1196+ else throw(makeString(["price asset amount to receive is less than ", toString(fT)], ""))]
1197+ if ((fZ == fZ))
12231198 then {
1224- let fS = invoke(aJ, "burn", [fM], [AttachedPayment(aZ, fM)])
1225- if ((fS == fS))
1199+ let fQ = invoke(aJ, "burn", [fK], [AttachedPayment(aZ, fK)])
1200+ if ((fQ == fQ))
12261201 then {
1227- let gc = di(-(cm), -(cn), 0)
1228- let fi = gc._1
1229- let cZ = gc._2
1230- let fk = dm(dh, cZ)
1231- if ((fk == fk))
1232- then (co ++ fi)
1202+ let ga = di(-(cm), -(cn), 0)
1203+ let fh = ga._1
1204+ let cZ = ga._2
1205+ let fi = dm(dh, cZ)
1206+ if ((fi == fi))
1207+ then (co ++ fh)
12331208 else throw("Strict value is not equal to itself.")
12341209 }
12351210 else throw("Strict value is not equal to itself.")
12361211 }
12371212 else throw("Strict value is not equal to itself.")
12381213 }
12391214 else throw("Strict value is not equal to itself.")
12401215 }
12411216 else throw("Strict value is not equal to itself.")
12421217 }
12431218
12441219
12451220
12461221 @Callable(dz)
1247-func activate (gd,ge) = if ((toString(dz.caller) != toString(aJ)))
1222+func activate (gb,gc) = if ((toString(dz.caller) != toString(aJ)))
12481223 then throw("permissions denied")
1249- else $Tuple2([StringEntry(aa(), gd), StringEntry(ab(), ge)], "success")
1224+ else $Tuple2([StringEntry(aa(), gb), StringEntry(ab(), gc)], "success")
12501225
12511226
12521227
12531228 @Callable(dz)
12541229 func refreshKLp () = {
1255- let gf = valueOrElse(getInteger(ag), 0)
1256- let gg = if (((height - gf) >= aj))
1230+ let gd = valueOrElse(getInteger(ag), 0)
1231+ let ge = if (((height - gd) >= aj))
12571232 then unit
12581233 else aG(makeString([toString(aj), " blocks have not passed since the previous call"], ""))
1259- if ((gg == gg))
1234+ if ((ge == ge))
12601235 then {
12611236 let dt = valueOrErrorMessage(parseBigInt(valueOrElse(getString(this, af), "0")), aI("invalid kLp"))
1262- let gh = di(0, 0, 0)
1263- let gi = gh._1
1264- let cZ = gh._2
1237+ let gf = di(0, 0, 0)
1238+ let gg = gf._1
1239+ let cZ = gf._2
12651240 let dl = if ((dt != cZ))
1266- then gi
1241+ then gg
12671242 else aG("nothing to refresh")
12681243 $Tuple2(dl, toString(cZ))
12691244 }
12701245 else throw("Strict value is not equal to itself.")
12711246 }
12721247
12731248
12741249
12751250 @Callable(dz)
12761251 func getPoolConfigWrapperREADONLY () = $Tuple2(nil, aN())
12771252
12781253
12791254
12801255 @Callable(dz)
12811256 func getAccBalanceWrapperREADONLY (bx) = $Tuple2(nil, bw(bx))
12821257
12831258
12841259
12851260 @Callable(dz)
12861261 func calcPricesWrapperREADONLY (bE,bF,bJ) = {
12871262 let bS = bI(bE, bF, bJ)
12881263 $Tuple2(nil, [toString(bS[0]), toString(bS[1]), toString(bS[2])])
12891264 }
12901265
12911266
12921267
12931268 @Callable(dz)
12941269 func toX18WrapperREADONLY (E,F) = $Tuple2(nil, toString(D(E, F)))
12951270
12961271
12971272
12981273 @Callable(dz)
12991274 func fromX18WrapperREADONLY (H,I) = $Tuple2(nil, G(parseBigIntValue(H), I))
13001275
13011276
13021277
13031278 @Callable(dz)
13041279 func calcPriceBigIntWrapperREADONLY (bz,bA) = $Tuple2(nil, toString(by(parseBigIntValue(bz), parseBigIntValue(bA))))
13051280
13061281
13071282
13081283 @Callable(dz)
13091284 func estimatePutOperationWrapperREADONLY (bU,cq,cr,cs,ct,cu,X,cv,cw) = $Tuple2(nil, cp(bU, cq, cr, cs, ct, cu, X, cv, cw))
13101285
13111286
13121287
13131288 @Callable(dz)
13141289 func estimateGetOperationWrapperREADONLY (bU,bV,bW,X) = {
13151290 let cG = bT(bU, bV, bW, addressFromStringValue(X))
13161291 $Tuple2(nil, $Tuple10(cG._1, cG._2, cG._3, cG._4, cG._5, cG._6, cG._7, toString(cG._8), cG._9, cG._10))
13171292 }
13181293
13191294
13201295
13211296 @Callable(dz)
13221297 func statsREADONLY () = {
13231298 let bK = aN()
13241299 let bX = fromBase58String(bK[q])
1325- let gj = bK[r]
1326- let gk = bK[s]
1300+ let gh = bK[r]
1301+ let gi = bK[s]
13271302 let cz = bK[v]
13281303 let cA = bK[w]
13291304 let bL = parseIntValue(bK[t])
13301305 let bM = parseIntValue(bK[u])
1331- let gl = valueOrErrorMessage(assetInfo(bX), (("Asset " + toBase58String(bX)) + " doesn't exist")).quantity
1332- let gm = bw(gj)
1333- let gn = bw(gk)
1334- let go = if ((gl == 0))
1306+ let gj = valueOrErrorMessage(assetInfo(bX), (("Asset " + toBase58String(bX)) + " doesn't exist")).quantity
1307+ let gk = bw(gh)
1308+ let gl = bw(gi)
1309+ let gm = if ((gj == 0))
13351310 then [e, e, e]
1336- else bI(gm, gn, gl)
1311+ else bI(gk, gl, gj)
13371312 let ch = 0
1338- let gp = G(go[1], b)
1339- let gq = G(go[2], b)
1340- let gr = value(getInteger(aJ, au(toString(this))))
1341- $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString(gm), toString(gn), toString(gl), toString(ch), toString(gp), toString(gq), toString(gr)], j))
1313+ let gn = G(gm[1], b)
1314+ let go = G(gm[2], b)
1315+ let gp = value(getInteger(aJ, au(toString(this))))
1316+ $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString(gk), toString(gl), toString(gj), toString(ch), toString(gn), toString(go), toString(gp)], j))
13421317 }
13431318
13441319
13451320
13461321 @Callable(dz)
13471322 func evaluatePutByAmountAssetREADONLY (cr) = {
13481323 let bK = aN()
13491324 let bX = fromBase58String(bK[q])
13501325 let cx = bK[r]
13511326 let bY = fromBase58String(cx)
13521327 let cy = bK[s]
13531328 let bZ = fromBase58String(cy)
13541329 let bL = parseIntValue(bK[t])
13551330 let bM = parseIntValue(bK[u])
13561331 let ca = bK[p]
1357- let gl = valueOrErrorMessage(assetInfo(bX), (("Asset " + toBase58String(bX)) + " doesn't exist")).quantity
1358- let gm = bw(cx)
1359- let gn = bw(cy)
1360- let bG = D(gm, bL)
1361- let bH = D(gn, bM)
1362- let cg = if ((gl == 0))
1332+ let gj = valueOrErrorMessage(assetInfo(bX), (("Asset " + toBase58String(bX)) + " doesn't exist")).quantity
1333+ let gk = bw(cx)
1334+ let gl = bw(cy)
1335+ let bG = D(gk, bL)
1336+ let bH = D(gl, bM)
1337+ let cg = if ((gj == 0))
13631338 then e
13641339 else by(bH, bG)
13651340 let cD = D(cr, bL)
13661341 let cE = fraction(cD, cg, d)
13671342 let ct = G(cE, bM)
13681343 let dF = cp("", 500000, cr, bY, ct, bZ, "", true, false)
13691344 let cO = dF._1
1370- let gs = dF._3
1345+ let gq = dF._3
13711346 let cc = dF._4
13721347 let ce = dF._5
13731348 let cb = dF._6
13741349 $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))
13751350 }
13761351
13771352
13781353
13791354 @Callable(dz)
13801355 func evaluatePutByPriceAssetREADONLY (ct) = {
13811356 let bK = aN()
13821357 let bX = fromBase58String(bK[q])
13831358 let cx = bK[r]
13841359 let bY = fromBase58String(cx)
13851360 let cy = bK[s]
13861361 let bZ = fromBase58String(cy)
13871362 let bL = parseIntValue(bK[t])
13881363 let bM = parseIntValue(bK[u])
13891364 let ca = bK[p]
1390- let gl = valueOrErrorMessage(assetInfo(bX), (("Asset " + toBase58String(bX)) + " doesn't exist")).quantity
1391- let gt = bw(cx)
1392- let gu = bw(cy)
1393- let gv = D(gt, bL)
1394- let gw = D(gu, bM)
1395- let cg = if ((gl == 0))
1365+ let gj = valueOrErrorMessage(assetInfo(bX), (("Asset " + toBase58String(bX)) + " doesn't exist")).quantity
1366+ let gr = bw(cx)
1367+ let gs = bw(cy)
1368+ let gt = D(gr, bL)
1369+ let gu = D(gs, bM)
1370+ let cg = if ((gj == 0))
13961371 then e
1397- else by(gw, gv)
1372+ else by(gu, gt)
13981373 let cE = D(ct, bM)
13991374 let cD = fraction(cE, d, cg)
14001375 let cr = G(cD, bL)
14011376 let dF = cp("", 500000, cr, bY, ct, bZ, "", true, false)
14021377 let cO = dF._1
1403- let gs = dF._3
1378+ let gq = dF._3
14041379 let cc = dF._4
14051380 let ce = dF._5
14061381 let cb = dF._6
14071382 $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))
14081383 }
14091384
14101385
14111386
14121387 @Callable(dz)
1413-func evaluateGetREADONLY (gx,gy) = {
1414- let cG = bT("", gx, gy, this)
1388+func evaluateGetREADONLY (gv,gw) = {
1389+ let cG = bT("", gv, gw, this)
14151390 let cm = cG._1
14161391 let cn = cG._2
14171392 let cc = cG._5
14181393 let ce = cG._6
14191394 let cb = cG._7
14201395 let ch = cG._8
14211396 let ca = parseIntValue(cG._9)
14221397 $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))
14231398 }
14241399
14251400
1426-@Verifier(gz)
1427-func gA () = {
1428- let gB = {
1401+@Verifier(gx)
1402+func gy () = {
1403+ let gz = {
14291404 let dK = eM()
14301405 if ($isInstanceOf(dK, "ByteVector"))
14311406 then {
14321407 let eQ = dK
14331408 eQ
14341409 }
14351410 else if ($isInstanceOf(dK, "Unit"))
1436- then gz.senderPublicKey
1411+ then gx.senderPublicKey
14371412 else throw("Match error")
14381413 }
1439- let dK = gz
1414+ let dK = gx
14401415 if ($isInstanceOf(dK, "Order"))
14411416 then {
14421417 let dp = dK
1443- let gC = aM()
1418+ let gA = aM()
14441419 let az = do(dp)
14451420 let aA = sigVerify(dp.bodyBytes, dp.proofs[0], dp.senderPublicKey)
1446- let aB = sigVerify(dp.bodyBytes, dp.proofs[1], gC)
1421+ let aB = sigVerify(dp.bodyBytes, dp.proofs[1], gA)
14471422 if (if (if (az)
14481423 then aA
14491424 else false)
14501425 then aB
14511426 else false)
14521427 then true
14531428 else ay(az, aA, aB)
14541429 }
14551430 else if ($isInstanceOf(dK, "SetScriptTransaction"))
14561431 then {
14571432 let eN = dK
1458- let gD = blake2b256(value(eN.script))
1459- let gE = fromBase64String(value(getString(aJ, aw())))
1460- let gF = scriptHash(this)
1461- if (if ((gE == gD))
1462- then (gF != gD)
1433+ let gB = blake2b256(value(eN.script))
1434+ let gC = fromBase64String(value(getString(aJ, aw())))
1435+ let gD = scriptHash(this)
1436+ if (if ((gC == gB))
1437+ then (gD != gB)
14631438 else false)
14641439 then true
1465- else sigVerify(gz.bodyBytes, gz.proofs[0], gB)
1440+ else sigVerify(gx.bodyBytes, gx.proofs[0], gz)
14661441 }
1467- else sigVerify(gz.bodyBytes, gz.proofs[0], gB)
1442+ else sigVerify(gx.bodyBytes, gx.proofs[0], gz)
14681443 }
14691444

github/deemru/w8io/169f3d6 
266.92 ms