tx · FVNzziuC8wjXJ5KjFjUMq675NGMbkuRUxnWE4LwzqhD2

3NBLSz3BB8QU3BAPnsnrMyjFWr75tcEXryF:  -0.03500000 Waves

2022.12.07 11:53 [2349708] smart account 3NBLSz3BB8QU3BAPnsnrMyjFWr75tcEXryF > SELF 0.00000000 Waves

{ "type": 13, "id": "FVNzziuC8wjXJ5KjFjUMq675NGMbkuRUxnWE4LwzqhD2", "fee": 3500000, "feeAssetId": null, "timestamp": 1670403111112, "version": 1, "sender": "3NBLSz3BB8QU3BAPnsnrMyjFWr75tcEXryF", "senderPublicKey": "BPTgianAtANVixAd7SHgec6W3RNNty3z1LVE9AQbYHdz", "proofs": [ "x4Uybb7EYbCcTS3GUfE9X3MXrb4udqL6yoEw83HegnehgUZa6Dfs6WwquCeaEHf4yaV2CMhVCBRSewHaU33WEze" ], "script": "base64:BgLfLAgCEgMKAQgSABIECgIBBBIDCgEBEgQKAgEEEgQKAggBEgQKAggBEgQKAggBEgUKAwEIARIAEgQKAgEBEgMKAQESBQoDAQEBEgQKAggIEgASABIDCgEIEgUKAwEBARIECgIBARIECgIIARIECgIICBILCgkIAQECAQIIBAQSBgoECAgBCBIAEgMKAQESAwoBARIECgIIASIKbFBkZWNpbWFscyIGc2NhbGU4IgxzY2FsZThCaWdJbnQiB3NjYWxlMTgiCnplcm9CaWdJbnQiBGJpZzAiBGJpZzEiBGJpZzIiC3dhdmVzU3RyaW5nIgNTRVAiClBvb2xBY3RpdmUiD1Bvb2xQdXREaXNhYmxlZCITUG9vbE1hdGNoZXJEaXNhYmxlZCIMUG9vbFNodXRkb3duIg5pZHhQb29sQWRkcmVzcyINaWR4UG9vbFN0YXR1cyIQaWR4UG9vbExQQXNzZXRJZCINaWR4QW10QXNzZXRJZCIPaWR4UHJpY2VBc3NldElkIg5pZHhBbXRBc3NldERjbSIQaWR4UHJpY2VBc3NldERjbSIOaWR4SUFtdEFzc2V0SWQiEGlkeElQcmljZUFzc2V0SWQiDWlkeExQQXNzZXREY20i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egUCYUEFAmFCAwkAAQIFAmRLAhRTZXRTY3JpcHRUcmFuc2FjdGlvbgQCZU4FAmRLBAJnQwkA9gMBCQEFdmFsdWUBCAUCZU4Gc2NyaXB0BAJnRAkA2wQBCQEFdmFsdWUBCQCdCAIFAmFKCQECYXcABAJnRQkA8QcBBQR0aGlzAwMJAAACBQJnRAUCZ0MJAQIhPQIFAmdFBQJnQwcGCQD0AwMIBQJneQlib2R5Qnl0ZXMJAJEDAggFAmd5BnByb29mcwAABQJnQQkA9AMDCAUCZ3kJYm9keUJ5dGVzCQCRAwIIBQJneQZwcm9vZnMAAAUCZ0EJxIri", "chainId": 84, "height": 2349708, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CtgMcvwdD1NCtVWt7dV1mXDY1LYoeX2tPFTZqETL539w Next: EYw9EQRTspuNioj5gyb1wbiF2bSHeBr3BiWNRNvchpQF Diff:
OldNewDifferences
865865 let fy = di(dj, dk, 0)
866866 let fh = fy._1
867867 let cZ = fy._2
868- let fi = dm(dh, cZ)
869- if ((fi == fi))
870- then $Tuple2((((cV ++ fe) ++ fw) ++ fh), fu)
868+ let dt = value(getString(af))
869+ let fz = aG(makeString([toString(dj), toString(dk), dt, toString(dh), toString(cZ)], " "))
870+ if ((fz == fz))
871+ then {
872+ let fi = dm(dh, cZ)
873+ if ((fi == fi))
874+ then $Tuple2((((cV ++ fe) ++ fw) ++ fh), fu)
875+ else throw("Strict value is not equal to itself.")
876+ }
871877 else throw("Strict value is not equal to itself.")
872878 }
873879 else throw("Strict value is not equal to itself.")
881887
882888 @Callable(dz)
883889 func putOneTknREADONLY (dQ,dP) = {
884- let fz = dO(dP, aQ(dQ), unit, unit)
885- let ft = fz._1
886- let cV = fz._2
887- let dN = fz._3
888- let fs = fz._4
889- let dU = fz._5
890+ let fA = dO(dP, aQ(dQ), unit, unit)
891+ let ft = fA._1
892+ let cV = fA._2
893+ let dN = fA._3
894+ let fs = fA._4
895+ let dU = fA._5
890896 $Tuple2(nil, $Tuple3(ft, dN, fs))
891897 }
892898
893899
894900
895901 @Callable(dz)
896-func getOneTkn (fA,fl) = {
902+func getOneTkn (fB,fl) = {
897903 let fn = {
898904 let fo = invoke(aJ, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil)
899905 if ($isInstanceOf(fo, "Boolean"))
900906 then fo
901907 else throw(($getType(fo) + " couldn't be cast to Boolean"))
902908 }
903- let fB = if (if (aL())
909+ let fC = if (if (aL())
904910 then true
905911 else (aY == n))
906912 then true
907913 else fn
908- let ev = [if (if (!(fB))
914+ let ev = [if (if (!(fC))
909915 then true
910916 else eP(dz))
911917 then true
914920 else aG("exactly 1 payment are expected")]
915921 if ((ev == ev))
916922 then {
917- let eu = aQ(fA)
923+ let eu = aQ(fB)
918924 let fq = dz.payments[0]
919925 let dQ = fq.assetId
920926 let ec = fq.amount
921927 let dh = da(toBigInt(0), toBigInt(0), toBigInt(ec))
922928 let X = dz.caller
923929 let Y = dz.transactionId
924- let fC = et(eu, ec, dQ, X, Y)
925- if ((fC == fC))
930+ let fD = et(eu, ec, dQ, X, Y)
931+ if ((fD == fD))
926932 then {
927- let ew = fC._5
928- let fs = fC._4
929- let dN = fC._3
930- let cV = fC._2
931- let fD = fC._1
933+ let ew = fD._5
934+ let fs = fD._4
935+ let dN = fD._3
936+ let cV = fD._2
937+ let fE = fD._1
932938 let dH = if (if ((fl > 0))
933- then (fl > fD)
939+ then (fl > fE)
934940 else false)
935941 then aG(makeString(["amount to receive is less than ", toString(fl)], ""))
936- else fD
937- let fE = invoke(aJ, "burn", [ec], [AttachedPayment(dQ, ec)])
938- if ((fE == fE))
942+ else fE
943+ let fF = invoke(aJ, "burn", [ec], [AttachedPayment(dQ, ec)])
944+ if ((fF == fF))
939945 then {
940- let fF = [ScriptTransfer(X, dH, eu)]
946+ let fG = [ScriptTransfer(X, dH, eu)]
941947 let fw = if ((dN > 0))
942948 then [ScriptTransfer(aK, dN, eu)]
943949 else nil
944- let fG = {
945- let fH = if ((this == aK))
950+ let fH = {
951+ let fI = if ((this == aK))
946952 then 0
947953 else dN
948954 if (ew)
949- then $Tuple2(-((dH + fH)), 0)
950- else $Tuple2(0, -((dH + fH)))
955+ then $Tuple2(-((dH + fI)), 0)
956+ else $Tuple2(0, -((dH + fI)))
951957 }
952- let dj = fG._1
953- let dk = fG._2
954- let fI = di(dj, dk, 0)
955- let fh = fI._1
956- let cZ = fI._2
958+ let dj = fH._1
959+ let dk = fH._2
960+ let fJ = di(dj, dk, 0)
961+ let fh = fJ._1
962+ let cZ = fJ._2
957963 let fi = dm(dh, cZ)
958964 if ((fi == fi))
959- then $Tuple2((((cV ++ fF) ++ fw) ++ fh), dH)
965+ then $Tuple2((((cV ++ fG) ++ fw) ++ fh), dH)
960966 else throw("Strict value is not equal to itself.")
961967 }
962968 else throw("Strict value is not equal to itself.")
970976
971977 @Callable(dz)
972978 func getOneTknREADONLY (eu,ec) = {
973- let fJ = et(aQ(eu), ec, aZ, unit, unit)
974- let fD = fJ._1
975- let cV = fJ._2
976- let dN = fJ._3
977- let fs = fJ._4
978- let ew = fJ._5
979- $Tuple2(nil, $Tuple3(fD, dN, fs))
979+ let fK = et(aQ(eu), ec, aZ, unit, unit)
980+ let fE = fK._1
981+ let cV = fK._2
982+ let dN = fK._3
983+ let fs = fK._4
984+ let ew = fK._5
985+ $Tuple2(nil, $Tuple3(fE, dN, fs))
980986 }
981987
982988
983989
984990 @Callable(dz)
985-func unstakeAndGetOneTkn (fK,fA,fl) = {
991+func unstakeAndGetOneTkn (fL,fB,fl) = {
986992 let fn = {
987993 let fo = invoke(aJ, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil)
988994 if ($isInstanceOf(fo, "Boolean"))
989995 then fo
990996 else throw(($getType(fo) + " couldn't be cast to Boolean"))
991997 }
992- let fB = if (if (aL())
998+ let fC = if (if (aL())
993999 then true
9941000 else (aY == n))
9951001 then true
9961002 else fn
997- let ev = [if (if (!(fB))
1003+ let ev = [if (if (!(fC))
9981004 then true
9991005 else eP(dz))
10001006 then true
10031009 else aG("no payments are expected")]
10041010 if ((ev == ev))
10051011 then {
1006- let eu = aQ(fA)
1012+ let eu = aQ(fB)
10071013 let X = dz.caller
10081014 let Y = dz.transactionId
10091015 let dh = da(toBigInt(0), toBigInt(0), toBigInt(0))
1010- let fL = invoke(bf, "unstake", [toBase58String(aZ), fK], nil)
1011- if ((fL == fL))
1016+ let fM = invoke(bf, "unstake", [toBase58String(aZ), fL], nil)
1017+ if ((fM == fM))
10121018 then {
1013- let fM = et(eu, fK, aZ, X, Y)
1014- if ((fM == fM))
1019+ let fN = et(eu, fL, aZ, X, Y)
1020+ if ((fN == fN))
10151021 then {
1016- let ew = fM._5
1017- let fs = fM._4
1018- let dN = fM._3
1019- let cV = fM._2
1020- let fD = fM._1
1022+ let ew = fN._5
1023+ let fs = fN._4
1024+ let dN = fN._3
1025+ let cV = fN._2
1026+ let fE = fN._1
10211027 let dH = if (if ((fl > 0))
1022- then (fl > fD)
1028+ then (fl > fE)
10231029 else false)
10241030 then aG(makeString(["amount to receive is less than ", toString(fl)], ""))
1025- else fD
1026- let fE = invoke(aJ, "burn", [fK], [AttachedPayment(aZ, fK)])
1027- if ((fE == fE))
1031+ else fE
1032+ let fF = invoke(aJ, "burn", [fL], [AttachedPayment(aZ, fL)])
1033+ if ((fF == fF))
10281034 then {
1029- let fF = [ScriptTransfer(dz.caller, dH, eu)]
1035+ let fG = [ScriptTransfer(dz.caller, dH, eu)]
10301036 let fw = if ((dN > 0))
10311037 then [ScriptTransfer(aK, dN, eu)]
10321038 else nil
1033- let fN = {
1034- let fH = if ((this == aK))
1039+ let fO = {
1040+ let fI = if ((this == aK))
10351041 then 0
10361042 else dN
10371043 if (ew)
1038- then $Tuple2(-((dH + fH)), 0)
1039- else $Tuple2(0, -((dH + fH)))
1044+ then $Tuple2(-((dH + fI)), 0)
1045+ else $Tuple2(0, -((dH + fI)))
10401046 }
1041- let dj = fN._1
1042- let dk = fN._2
1043- let fO = di(dj, dk, 0)
1044- let fh = fO._1
1045- let cZ = fO._2
1047+ let dj = fO._1
1048+ let dk = fO._2
1049+ let fP = di(dj, dk, 0)
1050+ let fh = fP._1
1051+ let cZ = fP._2
10461052 let fi = dm(dh, cZ)
10471053 if ((fi == fi))
1048- then $Tuple2((((cV ++ fF) ++ fw) ++ fh), dH)
1054+ then $Tuple2((((cV ++ fG) ++ fw) ++ fh), dH)
10491055 else throw("Strict value is not equal to itself.")
10501056 }
10511057 else throw("Strict value is not equal to itself.")
10621068 @Callable(dz)
10631069 func get () = {
10641070 let cG = dy(dz)
1065- let fP = cG._1
1071+ let fQ = cG._1
10661072 let cn = cG._2
10671073 let dB = cG._3
10681074 let bV = cG._4
10691075 let co = cG._5
10701076 let dh = da(toBigInt(0), toBigInt(0), toBigInt(dB))
1071- let fQ = invoke(aJ, "burn", [dB], [AttachedPayment(bV, dB)])
1072- if ((fQ == fQ))
1077+ let fR = invoke(aJ, "burn", [dB], [AttachedPayment(bV, dB)])
1078+ if ((fR == fR))
10731079 then {
1074- let fR = di(-(fP), -(cn), 0)
1075- let fh = fR._1
1076- let cZ = fR._2
1080+ let fS = di(-(fQ), -(cn), 0)
1081+ let fh = fS._1
1082+ let cZ = fS._2
10771083 let fi = dm(dh, cZ)
10781084 if ((fi == fi))
10791085 then (co ++ fh)
10851091
10861092
10871093 @Callable(dz)
1088-func getNoLess (fS,fT) = {
1094+func getNoLess (fT,fU) = {
10891095 let cG = dy(dz)
10901096 let cm = cG._1
10911097 let cn = cG._2
10921098 let dB = cG._3
10931099 let bV = cG._4
10941100 let co = cG._5
1095- if ((fS > cm))
1096- then throw(((("noLessThenAmtAsset failed: " + toString(cm)) + " < ") + toString(fS)))
1097- else if ((fT > cn))
1098- then throw(((("noLessThenPriceAsset failed: " + toString(cn)) + " < ") + toString(fT)))
1101+ if ((fT > cm))
1102+ then throw(((("noLessThenAmtAsset failed: " + toString(cm)) + " < ") + toString(fT)))
1103+ else if ((fU > cn))
1104+ then throw(((("noLessThenPriceAsset failed: " + toString(cn)) + " < ") + toString(fU)))
10991105 else {
11001106 let dh = da(toBigInt(0), toBigInt(0), toBigInt(dB))
1101- let fQ = invoke(aJ, "burn", [dB], [AttachedPayment(bV, dB)])
1102- if ((fQ == fQ))
1107+ let fR = invoke(aJ, "burn", [dB], [AttachedPayment(bV, dB)])
1108+ if ((fR == fR))
11031109 then {
1104- let fU = di(-(cm), -(cn), 0)
1105- let fh = fU._1
1106- let cZ = fU._2
1110+ let fV = di(-(cm), -(cn), 0)
1111+ let fh = fV._1
1112+ let cZ = fV._2
11071113 let fi = dm(dh, cZ)
11081114 if ((fi == fi))
11091115 then (co ++ fh)
11171123
11181124 @Callable(dz)
11191125 func unstakeAndGet (dH) = {
1120- let fV = if ((size(dz.payments) != 0))
1126+ let fW = if ((size(dz.payments) != 0))
11211127 then throw("No payments are expected")
11221128 else true
1123- if ((fV == fV))
1129+ if ((fW == fW))
11241130 then {
11251131 let bK = aN()
11261132 let bX = fromBase58String(bK[q])
11271133 let dh = da(toBigInt(0), toBigInt(0), toBigInt(0))
1128- let fL = invoke(bf, "unstake", [toBase58String(bX), dH], nil)
1129- if ((fL == fL))
1134+ let fM = invoke(bf, "unstake", [toBase58String(bX), dH], nil)
1135+ if ((fM == fM))
11301136 then {
11311137 let cG = bT(toBase58String(dz.transactionId), toBase58String(bX), dH, dz.caller)
11321138 let cm = cG._1
11331139 let cn = cG._2
11341140 let ca = parseIntValue(cG._9)
11351141 let co = cG._10
1136- let fW = if (if (aL())
1142+ let fX = if (if (aL())
11371143 then true
11381144 else (ca == n))
11391145 then throw(("Get operation is blocked by admin. Status = " + toString(ca)))
11401146 else true
1141- if ((fW == fW))
1147+ if ((fX == fX))
11421148 then {
1143- let fQ = invoke(aJ, "burn", [dH], [AttachedPayment(bX, dH)])
1144- if ((fQ == fQ))
1149+ let fR = invoke(aJ, "burn", [dH], [AttachedPayment(bX, dH)])
1150+ if ((fR == fR))
11451151 then {
1146- let fX = di(-(cm), -(cn), 0)
1147- let fh = fX._1
1148- let cZ = fX._2
1152+ let fY = di(-(cm), -(cn), 0)
1153+ let fh = fY._1
1154+ let cZ = fY._2
11491155 let fi = dm(dh, cZ)
11501156 if ((fi == fi))
11511157 then (co ++ fh)
11631169
11641170
11651171 @Callable(dz)
1166-func unstakeAndGetNoLess (fK,fY,fT) = {
1167- let fB = if (aL())
1172+func unstakeAndGetNoLess (fL,fZ,fU) = {
1173+ let fC = if (aL())
11681174 then true
11691175 else (aY == n)
1170- let ev = [if (!(fB))
1176+ let ev = [if (!(fC))
11711177 then true
11721178 else throw("get operation is blocked by admin"), if ((size(dz.payments) == 0))
11731179 then true
11751181 if ((ev == ev))
11761182 then {
11771183 let dh = da(toBigInt(0), toBigInt(0), toBigInt(0))
1178- let fL = invoke(bf, "unstake", [toBase58String(aZ), fK], nil)
1179- if ((fL == fL))
1184+ let fM = invoke(bf, "unstake", [toBase58String(aZ), fL], nil)
1185+ if ((fM == fM))
11801186 then {
1181- let cG = bT(toBase58String(dz.transactionId), toBase58String(aZ), fK, dz.caller)
1187+ let cG = bT(toBase58String(dz.transactionId), toBase58String(aZ), fL, dz.caller)
11821188 let cm = cG._1
11831189 let cn = cG._2
11841190 let co = cG._10
1185- let fZ = [if ((cm >= fY))
1191+ let ga = [if ((cm >= fZ))
11861192 then true
1187- else throw(makeString(["amount asset amount to receive is less than ", toString(fY)], "")), if ((cn >= fT))
1193+ else throw(makeString(["amount asset amount to receive is less than ", toString(fZ)], "")), if ((cn >= fU))
11881194 then true
1189- else throw(makeString(["price asset amount to receive is less than ", toString(fT)], ""))]
1190- if ((fZ == fZ))
1195+ else throw(makeString(["price asset amount to receive is less than ", toString(fU)], ""))]
1196+ if ((ga == ga))
11911197 then {
1192- let fQ = invoke(aJ, "burn", [fK], [AttachedPayment(aZ, fK)])
1193- if ((fQ == fQ))
1198+ let fR = invoke(aJ, "burn", [fL], [AttachedPayment(aZ, fL)])
1199+ if ((fR == fR))
11941200 then {
1195- let ga = di(-(cm), -(cn), 0)
1196- let fh = ga._1
1197- let cZ = ga._2
1201+ let gb = di(-(cm), -(cn), 0)
1202+ let fh = gb._1
1203+ let cZ = gb._2
11981204 let fi = dm(dh, cZ)
11991205 if ((fi == fi))
12001206 then (co ++ fh)
12121218
12131219
12141220 @Callable(dz)
1215-func activate (gb,gc) = if ((toString(dz.caller) != toString(aJ)))
1221+func activate (gc,gd) = if ((toString(dz.caller) != toString(aJ)))
12161222 then throw("permissions denied")
1217- else $Tuple2([StringEntry(aa(), gb), StringEntry(ab(), gc)], "success")
1223+ else $Tuple2([StringEntry(aa(), gc), StringEntry(ab(), gd)], "success")
12181224
12191225
12201226
12211227 @Callable(dz)
12221228 func refreshKLp () = {
1223- let gd = valueOrElse(getInteger(ag), 0)
1224- let ge = if (((height - gd) >= aj))
1229+ let ge = valueOrElse(getInteger(ag), 0)
1230+ let gf = if (((height - ge) >= aj))
12251231 then unit
12261232 else aG(makeString([toString(aj), " blocks have not passed since the previous call"], ""))
1227- if ((ge == ge))
1233+ if ((gf == gf))
12281234 then {
12291235 let dt = valueOrErrorMessage(parseBigInt(valueOrElse(getString(this, af), "0")), aI("invalid kLp"))
1230- let gf = di(0, 0, 0)
1231- let gg = gf._1
1232- let cZ = gf._2
1236+ let gg = di(0, 0, 0)
1237+ let gh = gg._1
1238+ let cZ = gg._2
12331239 let dl = if ((dt != cZ))
1234- then gg
1240+ then gh
12351241 else aG("nothing to refresh")
12361242 $Tuple2(dl, toString(cZ))
12371243 }
12901296 func statsREADONLY () = {
12911297 let bK = aN()
12921298 let bX = fromBase58String(bK[q])
1293- let gh = bK[r]
1294- let gi = bK[s]
1299+ let gi = bK[r]
1300+ let gj = bK[s]
12951301 let cz = bK[v]
12961302 let cA = bK[w]
12971303 let bL = parseIntValue(bK[t])
12981304 let bM = parseIntValue(bK[u])
1299- let gj = valueOrErrorMessage(assetInfo(bX), (("Asset " + toBase58String(bX)) + " doesn't exist")).quantity
1300- let gk = bw(gh)
1305+ let gk = valueOrErrorMessage(assetInfo(bX), (("Asset " + toBase58String(bX)) + " doesn't exist")).quantity
13011306 let gl = bw(gi)
1302- let gm = if ((gj == 0))
1307+ let gm = bw(gj)
1308+ let gn = if ((gk == 0))
13031309 then [e, e, e]
1304- else bI(gk, gl, gj)
1310+ else bI(gl, gm, gk)
13051311 let ch = 0
1306- let gn = G(gm[1], b)
1307- let go = G(gm[2], b)
1308- let gp = value(getInteger(aJ, au(toString(this))))
1309- $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))
1312+ let go = G(gn[1], b)
1313+ let gp = G(gn[2], b)
1314+ let gq = value(getInteger(aJ, au(toString(this))))
1315+ $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))
13101316 }
13111317
13121318
13221328 let bL = parseIntValue(bK[t])
13231329 let bM = parseIntValue(bK[u])
13241330 let ca = bK[p]
1325- let gj = valueOrErrorMessage(assetInfo(bX), (("Asset " + toBase58String(bX)) + " doesn't exist")).quantity
1326- let gk = bw(cx)
1327- let gl = bw(cy)
1328- let bG = D(gk, bL)
1329- let bH = D(gl, bM)
1330- let cg = if ((gj == 0))
1331+ let gk = valueOrErrorMessage(assetInfo(bX), (("Asset " + toBase58String(bX)) + " doesn't exist")).quantity
1332+ let gl = bw(cx)
1333+ let gm = bw(cy)
1334+ let bG = D(gl, bL)
1335+ let bH = D(gm, bM)
1336+ let cg = if ((gk == 0))
13311337 then e
13321338 else by(bH, bG)
13331339 let cD = D(cr, bL)
13351341 let ct = G(cE, bM)
13361342 let dF = cp("", 500000, cr, bY, ct, bZ, "", true, false)
13371343 let cO = dF._1
1338- let gq = dF._3
1344+ let gr = dF._3
13391345 let cc = dF._4
13401346 let ce = dF._5
13411347 let cb = dF._6
13551361 let bL = parseIntValue(bK[t])
13561362 let bM = parseIntValue(bK[u])
13571363 let ca = bK[p]
1358- let gj = valueOrErrorMessage(assetInfo(bX), (("Asset " + toBase58String(bX)) + " doesn't exist")).quantity
1359- let gr = bw(cx)
1360- let gs = bw(cy)
1361- let gt = D(gr, bL)
1362- let gu = D(gs, bM)
1363- let cg = if ((gj == 0))
1364+ let gk = valueOrErrorMessage(assetInfo(bX), (("Asset " + toBase58String(bX)) + " doesn't exist")).quantity
1365+ let gs = bw(cx)
1366+ let gt = bw(cy)
1367+ let gu = D(gs, bL)
1368+ let gv = D(gt, bM)
1369+ let cg = if ((gk == 0))
13641370 then e
1365- else by(gu, gt)
1371+ else by(gv, gu)
13661372 let cE = D(ct, bM)
13671373 let cD = fraction(cE, d, cg)
13681374 let cr = G(cD, bL)
13691375 let dF = cp("", 500000, cr, bY, ct, bZ, "", true, false)
13701376 let cO = dF._1
1371- let gq = dF._3
1377+ let gr = dF._3
13721378 let cc = dF._4
13731379 let ce = dF._5
13741380 let cb = dF._6
13781384
13791385
13801386 @Callable(dz)
1381-func evaluateGetREADONLY (gv,gw) = {
1382- let cG = bT("", gv, gw, this)
1387+func evaluateGetREADONLY (gw,gx) = {
1388+ let cG = bT("", gw, gx, this)
13831389 let cm = cG._1
13841390 let cn = cG._2
13851391 let cc = cG._5
13911397 }
13921398
13931399
1394-@Verifier(gx)
1395-func gy () = {
1396- let gz = {
1400+@Verifier(gy)
1401+func gz () = {
1402+ let gA = {
13971403 let dK = eM()
13981404 if ($isInstanceOf(dK, "ByteVector"))
13991405 then {
14011407 eQ
14021408 }
14031409 else if ($isInstanceOf(dK, "Unit"))
1404- then gx.senderPublicKey
1410+ then gy.senderPublicKey
14051411 else throw("Match error")
14061412 }
1407- let dK = gx
1413+ let dK = gy
14081414 if ($isInstanceOf(dK, "Order"))
14091415 then {
14101416 let dp = dK
1411- let gA = aM()
1417+ let gB = aM()
14121418 let az = do(dp)
14131419 let aA = sigVerify(dp.bodyBytes, dp.proofs[0], dp.senderPublicKey)
1414- let aB = sigVerify(dp.bodyBytes, dp.proofs[1], gA)
1420+ let aB = sigVerify(dp.bodyBytes, dp.proofs[1], gB)
14151421 if (if (if (az)
14161422 then aA
14171423 else false)
14231429 else if ($isInstanceOf(dK, "SetScriptTransaction"))
14241430 then {
14251431 let eN = dK
1426- let gB = blake2b256(value(eN.script))
1427- let gC = fromBase64String(value(getString(aJ, aw())))
1428- let gD = scriptHash(this)
1429- if (if ((gC == gB))
1430- then (gD != gB)
1432+ let gC = blake2b256(value(eN.script))
1433+ let gD = fromBase64String(value(getString(aJ, aw())))
1434+ let gE = scriptHash(this)
1435+ if (if ((gD == gC))
1436+ then (gE != gC)
14311437 else false)
14321438 then true
1433- else sigVerify(gx.bodyBytes, gx.proofs[0], gz)
1439+ else sigVerify(gy.bodyBytes, gy.proofs[0], gA)
14341440 }
1435- else sigVerify(gx.bodyBytes, gx.proofs[0], gz)
1441+ else sigVerify(gy.bodyBytes, gy.proofs[0], gA)
14361442 }
14371443
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 cZ
379379 }
380380
381381
382382 func da (db,dc,dd) = {
383383 let de = (toBigInt(bw(aS(ba))) - db)
384384 let df = (toBigInt(bw(aS(bb))) - dc)
385385 let dg = (toBigInt(value(assetInfo(aZ)).quantity) - dd)
386386 let dh = cW(de, df, dg)
387387 dh
388388 }
389389
390390
391391 func di (dj,dk,dd) = {
392392 let de = (bw(aS(ba)) + dj)
393393 let df = (bw(aS(bb)) + dk)
394394 let dg = (value(assetInfo(aZ)).quantity + dd)
395395 let cZ = cW(toBigInt(de), toBigInt(df), toBigInt(dg))
396396 let dl = [IntegerEntry(ag, height), StringEntry(af, toString(cZ))]
397397 $Tuple2(dl, cZ)
398398 }
399399
400400
401401 func dm (dn,cZ) = if ((cZ >= dn))
402402 then true
403403 else aG(makeString(["updated KLp lower than current KLp", toString(dn), toString(cZ)], " "))
404404
405405
406406 func do (dp) = {
407407 let dq = dp.amount
408408 let dr = fraction(dp.amount, dp.price, b, FLOOR)
409409 let ds = if ((dp.orderType == Buy))
410410 then $Tuple2(dq, -(dr))
411411 else $Tuple2(-(dq), dr)
412412 let dj = ds._1
413413 let dk = ds._2
414414 if (if (if (aL())
415415 then true
416416 else (aY == m))
417417 then true
418418 else (aY == n))
419419 then throw("Exchange operations disabled")
420420 else if (if ((dp.assetPair.amountAsset != ba))
421421 then true
422422 else (dp.assetPair.priceAsset != bb))
423423 then throw("Wrong order assets.")
424424 else {
425425 let dt = valueOrErrorMessage(parseBigInt(valueOrErrorMessage(getString(this, af), aI("kLp is required"))), aI("invalid kLp"))
426426 let du = di(dj, dk, 0)
427427 let dv = du._1
428428 let dw = du._2
429429 let dx = (dw >= dt)
430430 dx
431431 }
432432 }
433433
434434
435435 func dy (dz) = if ((size(dz.payments) != 1))
436436 then throw("exactly 1 payment is expected")
437437 else {
438438 let dA = value(dz.payments[0])
439439 let bV = value(dA.assetId)
440440 let dB = dA.amount
441441 let cG = bT(toBase58String(dz.transactionId), toBase58String(bV), dB, dz.caller)
442442 let cm = cG._1
443443 let cn = cG._2
444444 let ca = parseIntValue(cG._9)
445445 let co = cG._10
446446 if (if (aL())
447447 then true
448448 else (ca == n))
449449 then throw(("Get operation is blocked by admin. Status = " + toString(ca)))
450450 else $Tuple5(cm, cn, dB, bV, co)
451451 }
452452
453453
454454 func dC (dz,cq,cw) = if ((size(dz.payments) != 2))
455455 then throw("exactly 2 payments are expected")
456456 else {
457457 let dD = value(dz.payments[0])
458458 let dE = value(dz.payments[1])
459459 let dF = cp(toBase58String(dz.transactionId), cq, dD.amount, dD.assetId, dE.amount, dE.assetId, toString(dz.caller), false, cw)
460460 let ca = parseIntValue(dF._8)
461461 if (if (if (aL())
462462 then true
463463 else (ca == l))
464464 then true
465465 else (ca == n))
466466 then throw(("Put operation is blocked by admin. Status = " + toString(ca)))
467467 else dF
468468 }
469469
470470
471471 func dG (dH) = {
472472 let dI = invoke(aJ, "emit", [dH], nil)
473473 if ((dI == dI))
474474 then {
475475 let dJ = {
476476 let dK = dI
477477 if ($isInstanceOf(dK, "Address"))
478478 then {
479479 let dL = dK
480480 invoke(dL, "emit", [dH], nil)
481481 }
482482 else unit
483483 }
484484 if ((dJ == dJ))
485485 then dH
486486 else throw("Strict value is not equal to itself.")
487487 }
488488 else throw("Strict value is not equal to itself.")
489489 }
490490
491491
492492 func dM (dH) = {
493493 let dN = fraction(dH, ae, b)
494494 $Tuple2((dH - dN), dN)
495495 }
496496
497497
498498 func dO (dP,dQ,X,Y) = {
499499 let dR = (Y == unit)
500500 let dS = bw(aS(ba))
501501 let dT = bw(aS(bb))
502502 let dU = if ((dQ == ba))
503503 then true
504504 else if ((dQ == bb))
505505 then false
506506 else aG("invalid asset")
507507 let dV = if (dR)
508508 then $Tuple2(dS, dT)
509509 else if (dU)
510510 then $Tuple2((dS - dP), dT)
511511 else $Tuple2(dS, (dT - dP))
512512 let dW = dV._1
513513 let dX = dV._2
514514 let dY = if (dU)
515515 then $Tuple2(dP, 0)
516516 else $Tuple2(0, dP)
517517 let dZ = dY._1
518518 let ea = dY._2
519519 let dq = dM(dZ)._1
520520 let dr = dM(ea)._1
521521 let eb = dM(dP)
522522 let ec = eb._1
523523 let dN = eb._2
524524 let ed = (dW + dq)
525525 let ee = (dX + dr)
526526 let ef = by(D(ee, bd), D(ed, bc))
527527 let eg = G(ef, b)
528528 let eh = if (dU)
529529 then dW
530530 else dX
531531 let ei = toBigInt(eh)
532532 let ej = toBigInt(valueOrErrorMessage(assetInfo(aZ), (("asset " + toBase58String(aZ)) + " doesn't exist")).quantity)
533533 let ek = if ((ej > f))
534534 then true
535535 else aG("initial deposit requires all coins")
536536 if ((ek == ek))
537537 then {
538538 let el = toBigInt(ec)
539539 let em = max([0, toInt(((ej * (sqrtBigInt((d + ((el * d) / ei)), 18, 18, DOWN) - d)) / d))])
540540 let cV = if (dR)
541541 then nil
542542 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))]
543543 let en = by(D(dX, bd), D(dW, bc))
544544 let eo = G(en, b)
545545 let ep = {
546546 let eq = if (dU)
547547 then $Tuple2(dZ, dW)
548548 else $Tuple2(ea, dX)
549549 let dH = eq._1
550550 let er = eq._2
551551 let es = toInt(fraction(ej, toBigInt((dH / 2)), toBigInt(er)))
552552 fraction((em - es), b, es)
553553 }
554554 $Tuple5(em, cV, dN, ep, dU)
555555 }
556556 else throw("Strict value is not equal to itself.")
557557 }
558558
559559
560560 func et (eu,ec,dQ,X,Y) = {
561561 let dR = (Y == unit)
562562 let ev = [if ((dQ == aZ))
563563 then true
564564 else aG("invalid lp asset")]
565565 if ((ev == ev))
566566 then {
567567 let ew = if ((eu == ba))
568568 then true
569569 else if ((eu == bb))
570570 then false
571571 else aG("invalid asset")
572572 let ex = if (ew)
573573 then toBigInt(bw(aS(ba)))
574574 else toBigInt(bw(aS(bb)))
575575 let ey = bw(aS(ba))
576576 let ez = bw(aS(bb))
577577 let eA = if (ew)
578578 then ey
579579 else ez
580580 let eB = toBigInt(eA)
581581 let ej = toBigInt(valueOrErrorMessage(assetInfo(aZ), (("asset " + toBase58String(aZ)) + " doesn't exist")).quantity)
582582 let eC = toBigInt(ec)
583583 let eD = max([0, toInt(((ex * (d - pow((d - ((eC * d) / ej)), 18, h, 0, 18, DOWN))) / d))])
584584 let eE = dM(eD)
585585 let eF = eE._1
586586 let dN = eE._2
587587 let eG = if (ew)
588588 then $Tuple4(eF, 0, (ey - eD), ez)
589589 else $Tuple4(0, eF, ey, (ez - eD))
590590 let eH = eG._1
591591 let eI = eG._2
592592 let eJ = eG._3
593593 let eK = eG._4
594594 let ef = by(D(eK, bd), D(eJ, bc))
595595 let eg = G(ef, b)
596596 let cV = if (dR)
597597 then nil
598598 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)]
599599 let en = by(D(ez, bd), D(ey, bc))
600600 let eo = G(en, b)
601601 let ep = {
602602 let eL = (toInt(fraction(ex, eC, ej)) * 2)
603603 fraction((eF - eL), b, eL)
604604 }
605605 $Tuple5(eF, cV, dN, ep, ew)
606606 }
607607 else throw("Strict value is not equal to itself.")
608608 }
609609
610610
611611 func eM () = {
612612 let dK = getString(Q())
613613 if ($isInstanceOf(dK, "String"))
614614 then {
615615 let eN = dK
616616 fromBase58String(eN)
617617 }
618618 else if ($isInstanceOf(dK, "Unit"))
619619 then unit
620620 else throw("Match error")
621621 }
622622
623623
624624 func eO () = {
625625 let dK = getString(R())
626626 if ($isInstanceOf(dK, "String"))
627627 then {
628628 let eN = dK
629629 fromBase58String(eN)
630630 }
631631 else if ($isInstanceOf(dK, "Unit"))
632632 then unit
633633 else throw("Match error")
634634 }
635635
636636
637637 func eP (dz) = {
638638 let dK = eM()
639639 if ($isInstanceOf(dK, "ByteVector"))
640640 then {
641641 let eQ = dK
642642 (dz.callerPublicKey == eQ)
643643 }
644644 else if ($isInstanceOf(dK, "Unit"))
645645 then (dz.caller == this)
646646 else throw("Match error")
647647 }
648648
649649
650650 func eR (dz) = {
651651 let eS = throw("Permission denied")
652652 let dK = eM()
653653 if ($isInstanceOf(dK, "ByteVector"))
654654 then {
655655 let eQ = dK
656656 if ((dz.callerPublicKey == eQ))
657657 then true
658658 else eS
659659 }
660660 else if ($isInstanceOf(dK, "Unit"))
661661 then if ((dz.caller == this))
662662 then true
663663 else eS
664664 else throw("Match error")
665665 }
666666
667667
668668 @Callable(dz)
669669 func setManager (eT) = {
670670 let eU = eR(dz)
671671 if ((eU == eU))
672672 then {
673673 let eV = fromBase58String(eT)
674674 if ((eV == eV))
675675 then [StringEntry(R(), eT)]
676676 else throw("Strict value is not equal to itself.")
677677 }
678678 else throw("Strict value is not equal to itself.")
679679 }
680680
681681
682682
683683 @Callable(dz)
684684 func confirmManager () = {
685685 let eW = eO()
686686 let eX = if (isDefined(eW))
687687 then true
688688 else throw("No pending manager")
689689 if ((eX == eX))
690690 then {
691691 let eY = if ((dz.callerPublicKey == value(eW)))
692692 then true
693693 else throw("You are not pending manager")
694694 if ((eY == eY))
695695 then [StringEntry(Q(), toBase58String(value(eW))), DeleteEntry(R())]
696696 else throw("Strict value is not equal to itself.")
697697 }
698698 else throw("Strict value is not equal to itself.")
699699 }
700700
701701
702702
703703 @Callable(dz)
704704 func put (cq,eZ) = if ((0 > cq))
705705 then throw("Invalid slippageTolerance passed")
706706 else {
707707 let dF = dC(dz, cq, true)
708708 let cS = dF._2
709709 let bX = dF._7
710710 let co = dF._9
711711 let cT = dF._10
712712 let cU = dF._11
713713 let fa = dF._12
714714 let fb = dF._13
715715 let dD = toBigInt(value(dz.payments[0]).amount)
716716 let dE = toBigInt(value(dz.payments[1]).amount)
717717 let dh = da(dD, dE, toBigInt(0))
718718 if ((dh == dh))
719719 then {
720720 let dI = invoke(aJ, "emit", [cS], nil)
721721 if ((dI == dI))
722722 then {
723723 let dJ = {
724724 let dK = dI
725725 if ($isInstanceOf(dK, "Address"))
726726 then {
727727 let dL = dK
728728 invoke(dL, "emit", [cS], nil)
729729 }
730730 else unit
731731 }
732732 if ((dJ == dJ))
733733 then {
734734 let fc = if ((cT > 0))
735735 then invoke(bg, "put", nil, [AttachedPayment(fa, cT)])
736736 else nil
737737 if ((fc == fc))
738738 then {
739739 let fd = if ((cU > 0))
740740 then invoke(bg, "put", nil, [AttachedPayment(fb, cU)])
741741 else nil
742742 if ((fd == fd))
743743 then {
744744 let fe = if (eZ)
745745 then {
746746 let ff = invoke(bf, "stake", nil, [AttachedPayment(bX, cS)])
747747 if ((ff == ff))
748748 then nil
749749 else throw("Strict value is not equal to itself.")
750750 }
751751 else [ScriptTransfer(dz.caller, cS, bX)]
752752 let fg = di(0, 0, 0)
753753 let fh = fg._1
754754 let cZ = fg._2
755755 let fi = dm(dh, cZ)
756756 if ((fi == fi))
757757 then ((co ++ fe) ++ fh)
758758 else throw("Strict value is not equal to itself.")
759759 }
760760 else throw("Strict value is not equal to itself.")
761761 }
762762 else throw("Strict value is not equal to itself.")
763763 }
764764 else throw("Strict value is not equal to itself.")
765765 }
766766 else throw("Strict value is not equal to itself.")
767767 }
768768 else throw("Strict value is not equal to itself.")
769769 }
770770
771771
772772
773773 @Callable(dz)
774774 func putForFree (fj) = if ((0 > fj))
775775 then throw("Invalid value passed")
776776 else {
777777 let dF = dC(dz, fj, false)
778778 let co = dF._9
779779 let dD = toBigInt(value(dz.payments[0]).amount)
780780 let dE = toBigInt(value(dz.payments[1]).amount)
781781 let dh = da(dD, dE, toBigInt(0))
782782 if ((dh == dh))
783783 then {
784784 let fk = di(0, 0, 0)
785785 let fh = fk._1
786786 let cZ = fk._2
787787 let fi = dm(dh, cZ)
788788 if ((fi == fi))
789789 then (co ++ fh)
790790 else throw("Strict value is not equal to itself.")
791791 }
792792 else throw("Strict value is not equal to itself.")
793793 }
794794
795795
796796
797797 @Callable(dz)
798798 func putOneTkn (fl,fm) = {
799799 let fn = {
800800 let fo = invoke(aJ, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil)
801801 if ($isInstanceOf(fo, "Boolean"))
802802 then fo
803803 else throw(($getType(fo) + " couldn't be cast to Boolean"))
804804 }
805805 let fp = if (if (if (aL())
806806 then true
807807 else (aY == l))
808808 then true
809809 else (aY == n))
810810 then true
811811 else fn
812812 let ev = [if (if (!(fp))
813813 then true
814814 else eP(dz))
815815 then true
816816 else aG("put operation is blocked by admin"), if ((size(dz.payments) == 1))
817817 then true
818818 else aG("exactly 1 payment are expected")]
819819 if ((ev == ev))
820820 then {
821821 let fq = dz.payments[0]
822822 let dQ = fq.assetId
823823 let dP = fq.amount
824824 let dh = if ((dQ == ba))
825825 then da(toBigInt(dP), toBigInt(0), toBigInt(0))
826826 else if ((dQ == bb))
827827 then da(toBigInt(0), toBigInt(dP), toBigInt(0))
828828 else aG("payment asset is not supported")
829829 let X = dz.caller
830830 let Y = dz.transactionId
831831 let fr = dO(dP, dQ, X, Y)
832832 if ((fr == fr))
833833 then {
834834 let dU = fr._5
835835 let fs = fr._4
836836 let dN = fr._3
837837 let cV = fr._2
838838 let ft = fr._1
839839 let fu = if (if ((fl > 0))
840840 then (fl > ft)
841841 else false)
842842 then aG(makeString(["amount to receive is less than ", toString(fl)], ""))
843843 else ft
844844 let dI = dG(fu)
845845 if ((dI == dI))
846846 then {
847847 let fe = if (fm)
848848 then {
849849 let fv = invoke(bf, "stake", nil, [AttachedPayment(aZ, fu)])
850850 if ((fv == fv))
851851 then nil
852852 else throw("Strict value is not equal to itself.")
853853 }
854854 else [ScriptTransfer(dz.caller, fu, aZ)]
855855 let fw = if ((dN > 0))
856856 then [ScriptTransfer(aK, dN, dQ)]
857857 else nil
858858 let fx = if ((this == aK))
859859 then $Tuple2(0, 0)
860860 else if (dU)
861861 then $Tuple2(-(dN), 0)
862862 else $Tuple2(0, -(dN))
863863 let dj = fx._1
864864 let dk = fx._2
865865 let fy = di(dj, dk, 0)
866866 let fh = fy._1
867867 let cZ = fy._2
868- let fi = dm(dh, cZ)
869- if ((fi == fi))
870- then $Tuple2((((cV ++ fe) ++ fw) ++ fh), fu)
868+ let dt = value(getString(af))
869+ let fz = aG(makeString([toString(dj), toString(dk), dt, toString(dh), toString(cZ)], " "))
870+ if ((fz == fz))
871+ then {
872+ let fi = dm(dh, cZ)
873+ if ((fi == fi))
874+ then $Tuple2((((cV ++ fe) ++ fw) ++ fh), fu)
875+ else throw("Strict value is not equal to itself.")
876+ }
871877 else throw("Strict value is not equal to itself.")
872878 }
873879 else throw("Strict value is not equal to itself.")
874880 }
875881 else throw("Strict value is not equal to itself.")
876882 }
877883 else throw("Strict value is not equal to itself.")
878884 }
879885
880886
881887
882888 @Callable(dz)
883889 func putOneTknREADONLY (dQ,dP) = {
884- let fz = dO(dP, aQ(dQ), unit, unit)
885- let ft = fz._1
886- let cV = fz._2
887- let dN = fz._3
888- let fs = fz._4
889- let dU = fz._5
890+ let fA = dO(dP, aQ(dQ), unit, unit)
891+ let ft = fA._1
892+ let cV = fA._2
893+ let dN = fA._3
894+ let fs = fA._4
895+ let dU = fA._5
890896 $Tuple2(nil, $Tuple3(ft, dN, fs))
891897 }
892898
893899
894900
895901 @Callable(dz)
896-func getOneTkn (fA,fl) = {
902+func getOneTkn (fB,fl) = {
897903 let fn = {
898904 let fo = invoke(aJ, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil)
899905 if ($isInstanceOf(fo, "Boolean"))
900906 then fo
901907 else throw(($getType(fo) + " couldn't be cast to Boolean"))
902908 }
903- let fB = if (if (aL())
909+ let fC = if (if (aL())
904910 then true
905911 else (aY == n))
906912 then true
907913 else fn
908- let ev = [if (if (!(fB))
914+ let ev = [if (if (!(fC))
909915 then true
910916 else eP(dz))
911917 then true
912918 else aG("get operation is blocked by admin"), if ((size(dz.payments) == 1))
913919 then true
914920 else aG("exactly 1 payment are expected")]
915921 if ((ev == ev))
916922 then {
917- let eu = aQ(fA)
923+ let eu = aQ(fB)
918924 let fq = dz.payments[0]
919925 let dQ = fq.assetId
920926 let ec = fq.amount
921927 let dh = da(toBigInt(0), toBigInt(0), toBigInt(ec))
922928 let X = dz.caller
923929 let Y = dz.transactionId
924- let fC = et(eu, ec, dQ, X, Y)
925- if ((fC == fC))
930+ let fD = et(eu, ec, dQ, X, Y)
931+ if ((fD == fD))
926932 then {
927- let ew = fC._5
928- let fs = fC._4
929- let dN = fC._3
930- let cV = fC._2
931- let fD = fC._1
933+ let ew = fD._5
934+ let fs = fD._4
935+ let dN = fD._3
936+ let cV = fD._2
937+ let fE = fD._1
932938 let dH = if (if ((fl > 0))
933- then (fl > fD)
939+ then (fl > fE)
934940 else false)
935941 then aG(makeString(["amount to receive is less than ", toString(fl)], ""))
936- else fD
937- let fE = invoke(aJ, "burn", [ec], [AttachedPayment(dQ, ec)])
938- if ((fE == fE))
942+ else fE
943+ let fF = invoke(aJ, "burn", [ec], [AttachedPayment(dQ, ec)])
944+ if ((fF == fF))
939945 then {
940- let fF = [ScriptTransfer(X, dH, eu)]
946+ let fG = [ScriptTransfer(X, dH, eu)]
941947 let fw = if ((dN > 0))
942948 then [ScriptTransfer(aK, dN, eu)]
943949 else nil
944- let fG = {
945- let fH = if ((this == aK))
950+ let fH = {
951+ let fI = if ((this == aK))
946952 then 0
947953 else dN
948954 if (ew)
949- then $Tuple2(-((dH + fH)), 0)
950- else $Tuple2(0, -((dH + fH)))
955+ then $Tuple2(-((dH + fI)), 0)
956+ else $Tuple2(0, -((dH + fI)))
951957 }
952- let dj = fG._1
953- let dk = fG._2
954- let fI = di(dj, dk, 0)
955- let fh = fI._1
956- let cZ = fI._2
958+ let dj = fH._1
959+ let dk = fH._2
960+ let fJ = di(dj, dk, 0)
961+ let fh = fJ._1
962+ let cZ = fJ._2
957963 let fi = dm(dh, cZ)
958964 if ((fi == fi))
959- then $Tuple2((((cV ++ fF) ++ fw) ++ fh), dH)
965+ then $Tuple2((((cV ++ fG) ++ fw) ++ fh), dH)
960966 else throw("Strict value is not equal to itself.")
961967 }
962968 else throw("Strict value is not equal to itself.")
963969 }
964970 else throw("Strict value is not equal to itself.")
965971 }
966972 else throw("Strict value is not equal to itself.")
967973 }
968974
969975
970976
971977 @Callable(dz)
972978 func getOneTknREADONLY (eu,ec) = {
973- let fJ = et(aQ(eu), ec, aZ, unit, unit)
974- let fD = fJ._1
975- let cV = fJ._2
976- let dN = fJ._3
977- let fs = fJ._4
978- let ew = fJ._5
979- $Tuple2(nil, $Tuple3(fD, dN, fs))
979+ let fK = et(aQ(eu), ec, aZ, unit, unit)
980+ let fE = fK._1
981+ let cV = fK._2
982+ let dN = fK._3
983+ let fs = fK._4
984+ let ew = fK._5
985+ $Tuple2(nil, $Tuple3(fE, dN, fs))
980986 }
981987
982988
983989
984990 @Callable(dz)
985-func unstakeAndGetOneTkn (fK,fA,fl) = {
991+func unstakeAndGetOneTkn (fL,fB,fl) = {
986992 let fn = {
987993 let fo = invoke(aJ, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil)
988994 if ($isInstanceOf(fo, "Boolean"))
989995 then fo
990996 else throw(($getType(fo) + " couldn't be cast to Boolean"))
991997 }
992- let fB = if (if (aL())
998+ let fC = if (if (aL())
993999 then true
9941000 else (aY == n))
9951001 then true
9961002 else fn
997- let ev = [if (if (!(fB))
1003+ let ev = [if (if (!(fC))
9981004 then true
9991005 else eP(dz))
10001006 then true
10011007 else aG("get operation is blocked by admin"), if ((size(dz.payments) == 0))
10021008 then true
10031009 else aG("no payments are expected")]
10041010 if ((ev == ev))
10051011 then {
1006- let eu = aQ(fA)
1012+ let eu = aQ(fB)
10071013 let X = dz.caller
10081014 let Y = dz.transactionId
10091015 let dh = da(toBigInt(0), toBigInt(0), toBigInt(0))
1010- let fL = invoke(bf, "unstake", [toBase58String(aZ), fK], nil)
1011- if ((fL == fL))
1016+ let fM = invoke(bf, "unstake", [toBase58String(aZ), fL], nil)
1017+ if ((fM == fM))
10121018 then {
1013- let fM = et(eu, fK, aZ, X, Y)
1014- if ((fM == fM))
1019+ let fN = et(eu, fL, aZ, X, Y)
1020+ if ((fN == fN))
10151021 then {
1016- let ew = fM._5
1017- let fs = fM._4
1018- let dN = fM._3
1019- let cV = fM._2
1020- let fD = fM._1
1022+ let ew = fN._5
1023+ let fs = fN._4
1024+ let dN = fN._3
1025+ let cV = fN._2
1026+ let fE = fN._1
10211027 let dH = if (if ((fl > 0))
1022- then (fl > fD)
1028+ then (fl > fE)
10231029 else false)
10241030 then aG(makeString(["amount to receive is less than ", toString(fl)], ""))
1025- else fD
1026- let fE = invoke(aJ, "burn", [fK], [AttachedPayment(aZ, fK)])
1027- if ((fE == fE))
1031+ else fE
1032+ let fF = invoke(aJ, "burn", [fL], [AttachedPayment(aZ, fL)])
1033+ if ((fF == fF))
10281034 then {
1029- let fF = [ScriptTransfer(dz.caller, dH, eu)]
1035+ let fG = [ScriptTransfer(dz.caller, dH, eu)]
10301036 let fw = if ((dN > 0))
10311037 then [ScriptTransfer(aK, dN, eu)]
10321038 else nil
1033- let fN = {
1034- let fH = if ((this == aK))
1039+ let fO = {
1040+ let fI = if ((this == aK))
10351041 then 0
10361042 else dN
10371043 if (ew)
1038- then $Tuple2(-((dH + fH)), 0)
1039- else $Tuple2(0, -((dH + fH)))
1044+ then $Tuple2(-((dH + fI)), 0)
1045+ else $Tuple2(0, -((dH + fI)))
10401046 }
1041- let dj = fN._1
1042- let dk = fN._2
1043- let fO = di(dj, dk, 0)
1044- let fh = fO._1
1045- let cZ = fO._2
1047+ let dj = fO._1
1048+ let dk = fO._2
1049+ let fP = di(dj, dk, 0)
1050+ let fh = fP._1
1051+ let cZ = fP._2
10461052 let fi = dm(dh, cZ)
10471053 if ((fi == fi))
1048- then $Tuple2((((cV ++ fF) ++ fw) ++ fh), dH)
1054+ then $Tuple2((((cV ++ fG) ++ fw) ++ fh), dH)
10491055 else throw("Strict value is not equal to itself.")
10501056 }
10511057 else throw("Strict value is not equal to itself.")
10521058 }
10531059 else throw("Strict value is not equal to itself.")
10541060 }
10551061 else throw("Strict value is not equal to itself.")
10561062 }
10571063 else throw("Strict value is not equal to itself.")
10581064 }
10591065
10601066
10611067
10621068 @Callable(dz)
10631069 func get () = {
10641070 let cG = dy(dz)
1065- let fP = cG._1
1071+ let fQ = cG._1
10661072 let cn = cG._2
10671073 let dB = cG._3
10681074 let bV = cG._4
10691075 let co = cG._5
10701076 let dh = da(toBigInt(0), toBigInt(0), toBigInt(dB))
1071- let fQ = invoke(aJ, "burn", [dB], [AttachedPayment(bV, dB)])
1072- if ((fQ == fQ))
1077+ let fR = invoke(aJ, "burn", [dB], [AttachedPayment(bV, dB)])
1078+ if ((fR == fR))
10731079 then {
1074- let fR = di(-(fP), -(cn), 0)
1075- let fh = fR._1
1076- let cZ = fR._2
1080+ let fS = di(-(fQ), -(cn), 0)
1081+ let fh = fS._1
1082+ let cZ = fS._2
10771083 let fi = dm(dh, cZ)
10781084 if ((fi == fi))
10791085 then (co ++ fh)
10801086 else throw("Strict value is not equal to itself.")
10811087 }
10821088 else throw("Strict value is not equal to itself.")
10831089 }
10841090
10851091
10861092
10871093 @Callable(dz)
1088-func getNoLess (fS,fT) = {
1094+func getNoLess (fT,fU) = {
10891095 let cG = dy(dz)
10901096 let cm = cG._1
10911097 let cn = cG._2
10921098 let dB = cG._3
10931099 let bV = cG._4
10941100 let co = cG._5
1095- if ((fS > cm))
1096- then throw(((("noLessThenAmtAsset failed: " + toString(cm)) + " < ") + toString(fS)))
1097- else if ((fT > cn))
1098- then throw(((("noLessThenPriceAsset failed: " + toString(cn)) + " < ") + toString(fT)))
1101+ if ((fT > cm))
1102+ then throw(((("noLessThenAmtAsset failed: " + toString(cm)) + " < ") + toString(fT)))
1103+ else if ((fU > cn))
1104+ then throw(((("noLessThenPriceAsset failed: " + toString(cn)) + " < ") + toString(fU)))
10991105 else {
11001106 let dh = da(toBigInt(0), toBigInt(0), toBigInt(dB))
1101- let fQ = invoke(aJ, "burn", [dB], [AttachedPayment(bV, dB)])
1102- if ((fQ == fQ))
1107+ let fR = invoke(aJ, "burn", [dB], [AttachedPayment(bV, dB)])
1108+ if ((fR == fR))
11031109 then {
1104- let fU = di(-(cm), -(cn), 0)
1105- let fh = fU._1
1106- let cZ = fU._2
1110+ let fV = di(-(cm), -(cn), 0)
1111+ let fh = fV._1
1112+ let cZ = fV._2
11071113 let fi = dm(dh, cZ)
11081114 if ((fi == fi))
11091115 then (co ++ fh)
11101116 else throw("Strict value is not equal to itself.")
11111117 }
11121118 else throw("Strict value is not equal to itself.")
11131119 }
11141120 }
11151121
11161122
11171123
11181124 @Callable(dz)
11191125 func unstakeAndGet (dH) = {
1120- let fV = if ((size(dz.payments) != 0))
1126+ let fW = if ((size(dz.payments) != 0))
11211127 then throw("No payments are expected")
11221128 else true
1123- if ((fV == fV))
1129+ if ((fW == fW))
11241130 then {
11251131 let bK = aN()
11261132 let bX = fromBase58String(bK[q])
11271133 let dh = da(toBigInt(0), toBigInt(0), toBigInt(0))
1128- let fL = invoke(bf, "unstake", [toBase58String(bX), dH], nil)
1129- if ((fL == fL))
1134+ let fM = invoke(bf, "unstake", [toBase58String(bX), dH], nil)
1135+ if ((fM == fM))
11301136 then {
11311137 let cG = bT(toBase58String(dz.transactionId), toBase58String(bX), dH, dz.caller)
11321138 let cm = cG._1
11331139 let cn = cG._2
11341140 let ca = parseIntValue(cG._9)
11351141 let co = cG._10
1136- let fW = if (if (aL())
1142+ let fX = if (if (aL())
11371143 then true
11381144 else (ca == n))
11391145 then throw(("Get operation is blocked by admin. Status = " + toString(ca)))
11401146 else true
1141- if ((fW == fW))
1147+ if ((fX == fX))
11421148 then {
1143- let fQ = invoke(aJ, "burn", [dH], [AttachedPayment(bX, dH)])
1144- if ((fQ == fQ))
1149+ let fR = invoke(aJ, "burn", [dH], [AttachedPayment(bX, dH)])
1150+ if ((fR == fR))
11451151 then {
1146- let fX = di(-(cm), -(cn), 0)
1147- let fh = fX._1
1148- let cZ = fX._2
1152+ let fY = di(-(cm), -(cn), 0)
1153+ let fh = fY._1
1154+ let cZ = fY._2
11491155 let fi = dm(dh, cZ)
11501156 if ((fi == fi))
11511157 then (co ++ fh)
11521158 else throw("Strict value is not equal to itself.")
11531159 }
11541160 else throw("Strict value is not equal to itself.")
11551161 }
11561162 else throw("Strict value is not equal to itself.")
11571163 }
11581164 else throw("Strict value is not equal to itself.")
11591165 }
11601166 else throw("Strict value is not equal to itself.")
11611167 }
11621168
11631169
11641170
11651171 @Callable(dz)
1166-func unstakeAndGetNoLess (fK,fY,fT) = {
1167- let fB = if (aL())
1172+func unstakeAndGetNoLess (fL,fZ,fU) = {
1173+ let fC = if (aL())
11681174 then true
11691175 else (aY == n)
1170- let ev = [if (!(fB))
1176+ let ev = [if (!(fC))
11711177 then true
11721178 else throw("get operation is blocked by admin"), if ((size(dz.payments) == 0))
11731179 then true
11741180 else throw("no payments are expected")]
11751181 if ((ev == ev))
11761182 then {
11771183 let dh = da(toBigInt(0), toBigInt(0), toBigInt(0))
1178- let fL = invoke(bf, "unstake", [toBase58String(aZ), fK], nil)
1179- if ((fL == fL))
1184+ let fM = invoke(bf, "unstake", [toBase58String(aZ), fL], nil)
1185+ if ((fM == fM))
11801186 then {
1181- let cG = bT(toBase58String(dz.transactionId), toBase58String(aZ), fK, dz.caller)
1187+ let cG = bT(toBase58String(dz.transactionId), toBase58String(aZ), fL, dz.caller)
11821188 let cm = cG._1
11831189 let cn = cG._2
11841190 let co = cG._10
1185- let fZ = [if ((cm >= fY))
1191+ let ga = [if ((cm >= fZ))
11861192 then true
1187- else throw(makeString(["amount asset amount to receive is less than ", toString(fY)], "")), if ((cn >= fT))
1193+ else throw(makeString(["amount asset amount to receive is less than ", toString(fZ)], "")), if ((cn >= fU))
11881194 then true
1189- else throw(makeString(["price asset amount to receive is less than ", toString(fT)], ""))]
1190- if ((fZ == fZ))
1195+ else throw(makeString(["price asset amount to receive is less than ", toString(fU)], ""))]
1196+ if ((ga == ga))
11911197 then {
1192- let fQ = invoke(aJ, "burn", [fK], [AttachedPayment(aZ, fK)])
1193- if ((fQ == fQ))
1198+ let fR = invoke(aJ, "burn", [fL], [AttachedPayment(aZ, fL)])
1199+ if ((fR == fR))
11941200 then {
1195- let ga = di(-(cm), -(cn), 0)
1196- let fh = ga._1
1197- let cZ = ga._2
1201+ let gb = di(-(cm), -(cn), 0)
1202+ let fh = gb._1
1203+ let cZ = gb._2
11981204 let fi = dm(dh, cZ)
11991205 if ((fi == fi))
12001206 then (co ++ fh)
12011207 else throw("Strict value is not equal to itself.")
12021208 }
12031209 else throw("Strict value is not equal to itself.")
12041210 }
12051211 else throw("Strict value is not equal to itself.")
12061212 }
12071213 else throw("Strict value is not equal to itself.")
12081214 }
12091215 else throw("Strict value is not equal to itself.")
12101216 }
12111217
12121218
12131219
12141220 @Callable(dz)
1215-func activate (gb,gc) = if ((toString(dz.caller) != toString(aJ)))
1221+func activate (gc,gd) = if ((toString(dz.caller) != toString(aJ)))
12161222 then throw("permissions denied")
1217- else $Tuple2([StringEntry(aa(), gb), StringEntry(ab(), gc)], "success")
1223+ else $Tuple2([StringEntry(aa(), gc), StringEntry(ab(), gd)], "success")
12181224
12191225
12201226
12211227 @Callable(dz)
12221228 func refreshKLp () = {
1223- let gd = valueOrElse(getInteger(ag), 0)
1224- let ge = if (((height - gd) >= aj))
1229+ let ge = valueOrElse(getInteger(ag), 0)
1230+ let gf = if (((height - ge) >= aj))
12251231 then unit
12261232 else aG(makeString([toString(aj), " blocks have not passed since the previous call"], ""))
1227- if ((ge == ge))
1233+ if ((gf == gf))
12281234 then {
12291235 let dt = valueOrErrorMessage(parseBigInt(valueOrElse(getString(this, af), "0")), aI("invalid kLp"))
1230- let gf = di(0, 0, 0)
1231- let gg = gf._1
1232- let cZ = gf._2
1236+ let gg = di(0, 0, 0)
1237+ let gh = gg._1
1238+ let cZ = gg._2
12331239 let dl = if ((dt != cZ))
1234- then gg
1240+ then gh
12351241 else aG("nothing to refresh")
12361242 $Tuple2(dl, toString(cZ))
12371243 }
12381244 else throw("Strict value is not equal to itself.")
12391245 }
12401246
12411247
12421248
12431249 @Callable(dz)
12441250 func getPoolConfigWrapperREADONLY () = $Tuple2(nil, aN())
12451251
12461252
12471253
12481254 @Callable(dz)
12491255 func getAccBalanceWrapperREADONLY (bx) = $Tuple2(nil, bw(bx))
12501256
12511257
12521258
12531259 @Callable(dz)
12541260 func calcPricesWrapperREADONLY (bE,bF,bJ) = {
12551261 let bS = bI(bE, bF, bJ)
12561262 $Tuple2(nil, [toString(bS[0]), toString(bS[1]), toString(bS[2])])
12571263 }
12581264
12591265
12601266
12611267 @Callable(dz)
12621268 func toX18WrapperREADONLY (E,F) = $Tuple2(nil, toString(D(E, F)))
12631269
12641270
12651271
12661272 @Callable(dz)
12671273 func fromX18WrapperREADONLY (H,I) = $Tuple2(nil, G(parseBigIntValue(H), I))
12681274
12691275
12701276
12711277 @Callable(dz)
12721278 func calcPriceBigIntWrapperREADONLY (bz,bA) = $Tuple2(nil, toString(by(parseBigIntValue(bz), parseBigIntValue(bA))))
12731279
12741280
12751281
12761282 @Callable(dz)
12771283 func estimatePutOperationWrapperREADONLY (bU,cq,cr,cs,ct,cu,X,cv,cw) = $Tuple2(nil, cp(bU, cq, cr, cs, ct, cu, X, cv, cw))
12781284
12791285
12801286
12811287 @Callable(dz)
12821288 func estimateGetOperationWrapperREADONLY (bU,bV,bW,X) = {
12831289 let cG = bT(bU, bV, bW, addressFromStringValue(X))
12841290 $Tuple2(nil, $Tuple10(cG._1, cG._2, cG._3, cG._4, cG._5, cG._6, cG._7, toString(cG._8), cG._9, cG._10))
12851291 }
12861292
12871293
12881294
12891295 @Callable(dz)
12901296 func statsREADONLY () = {
12911297 let bK = aN()
12921298 let bX = fromBase58String(bK[q])
1293- let gh = bK[r]
1294- let gi = bK[s]
1299+ let gi = bK[r]
1300+ let gj = bK[s]
12951301 let cz = bK[v]
12961302 let cA = bK[w]
12971303 let bL = parseIntValue(bK[t])
12981304 let bM = parseIntValue(bK[u])
1299- let gj = valueOrErrorMessage(assetInfo(bX), (("Asset " + toBase58String(bX)) + " doesn't exist")).quantity
1300- let gk = bw(gh)
1305+ let gk = valueOrErrorMessage(assetInfo(bX), (("Asset " + toBase58String(bX)) + " doesn't exist")).quantity
13011306 let gl = bw(gi)
1302- let gm = if ((gj == 0))
1307+ let gm = bw(gj)
1308+ let gn = if ((gk == 0))
13031309 then [e, e, e]
1304- else bI(gk, gl, gj)
1310+ else bI(gl, gm, gk)
13051311 let ch = 0
1306- let gn = G(gm[1], b)
1307- let go = G(gm[2], b)
1308- let gp = value(getInteger(aJ, au(toString(this))))
1309- $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))
1312+ let go = G(gn[1], b)
1313+ let gp = G(gn[2], b)
1314+ let gq = value(getInteger(aJ, au(toString(this))))
1315+ $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))
13101316 }
13111317
13121318
13131319
13141320 @Callable(dz)
13151321 func evaluatePutByAmountAssetREADONLY (cr) = {
13161322 let bK = aN()
13171323 let bX = fromBase58String(bK[q])
13181324 let cx = bK[r]
13191325 let bY = fromBase58String(cx)
13201326 let cy = bK[s]
13211327 let bZ = fromBase58String(cy)
13221328 let bL = parseIntValue(bK[t])
13231329 let bM = parseIntValue(bK[u])
13241330 let ca = bK[p]
1325- let gj = valueOrErrorMessage(assetInfo(bX), (("Asset " + toBase58String(bX)) + " doesn't exist")).quantity
1326- let gk = bw(cx)
1327- let gl = bw(cy)
1328- let bG = D(gk, bL)
1329- let bH = D(gl, bM)
1330- let cg = if ((gj == 0))
1331+ let gk = valueOrErrorMessage(assetInfo(bX), (("Asset " + toBase58String(bX)) + " doesn't exist")).quantity
1332+ let gl = bw(cx)
1333+ let gm = bw(cy)
1334+ let bG = D(gl, bL)
1335+ let bH = D(gm, bM)
1336+ let cg = if ((gk == 0))
13311337 then e
13321338 else by(bH, bG)
13331339 let cD = D(cr, bL)
13341340 let cE = fraction(cD, cg, d)
13351341 let ct = G(cE, bM)
13361342 let dF = cp("", 500000, cr, bY, ct, bZ, "", true, false)
13371343 let cO = dF._1
1338- let gq = dF._3
1344+ let gr = dF._3
13391345 let cc = dF._4
13401346 let ce = dF._5
13411347 let cb = dF._6
13421348 $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))
13431349 }
13441350
13451351
13461352
13471353 @Callable(dz)
13481354 func evaluatePutByPriceAssetREADONLY (ct) = {
13491355 let bK = aN()
13501356 let bX = fromBase58String(bK[q])
13511357 let cx = bK[r]
13521358 let bY = fromBase58String(cx)
13531359 let cy = bK[s]
13541360 let bZ = fromBase58String(cy)
13551361 let bL = parseIntValue(bK[t])
13561362 let bM = parseIntValue(bK[u])
13571363 let ca = bK[p]
1358- let gj = valueOrErrorMessage(assetInfo(bX), (("Asset " + toBase58String(bX)) + " doesn't exist")).quantity
1359- let gr = bw(cx)
1360- let gs = bw(cy)
1361- let gt = D(gr, bL)
1362- let gu = D(gs, bM)
1363- let cg = if ((gj == 0))
1364+ let gk = valueOrErrorMessage(assetInfo(bX), (("Asset " + toBase58String(bX)) + " doesn't exist")).quantity
1365+ let gs = bw(cx)
1366+ let gt = bw(cy)
1367+ let gu = D(gs, bL)
1368+ let gv = D(gt, bM)
1369+ let cg = if ((gk == 0))
13641370 then e
1365- else by(gu, gt)
1371+ else by(gv, gu)
13661372 let cE = D(ct, bM)
13671373 let cD = fraction(cE, d, cg)
13681374 let cr = G(cD, bL)
13691375 let dF = cp("", 500000, cr, bY, ct, bZ, "", true, false)
13701376 let cO = dF._1
1371- let gq = dF._3
1377+ let gr = dF._3
13721378 let cc = dF._4
13731379 let ce = dF._5
13741380 let cb = dF._6
13751381 $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))
13761382 }
13771383
13781384
13791385
13801386 @Callable(dz)
1381-func evaluateGetREADONLY (gv,gw) = {
1382- let cG = bT("", gv, gw, this)
1387+func evaluateGetREADONLY (gw,gx) = {
1388+ let cG = bT("", gw, gx, this)
13831389 let cm = cG._1
13841390 let cn = cG._2
13851391 let cc = cG._5
13861392 let ce = cG._6
13871393 let cb = cG._7
13881394 let ch = cG._8
13891395 let ca = parseIntValue(cG._9)
13901396 $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))
13911397 }
13921398
13931399
1394-@Verifier(gx)
1395-func gy () = {
1396- let gz = {
1400+@Verifier(gy)
1401+func gz () = {
1402+ let gA = {
13971403 let dK = eM()
13981404 if ($isInstanceOf(dK, "ByteVector"))
13991405 then {
14001406 let eQ = dK
14011407 eQ
14021408 }
14031409 else if ($isInstanceOf(dK, "Unit"))
1404- then gx.senderPublicKey
1410+ then gy.senderPublicKey
14051411 else throw("Match error")
14061412 }
1407- let dK = gx
1413+ let dK = gy
14081414 if ($isInstanceOf(dK, "Order"))
14091415 then {
14101416 let dp = dK
1411- let gA = aM()
1417+ let gB = aM()
14121418 let az = do(dp)
14131419 let aA = sigVerify(dp.bodyBytes, dp.proofs[0], dp.senderPublicKey)
1414- let aB = sigVerify(dp.bodyBytes, dp.proofs[1], gA)
1420+ let aB = sigVerify(dp.bodyBytes, dp.proofs[1], gB)
14151421 if (if (if (az)
14161422 then aA
14171423 else false)
14181424 then aB
14191425 else false)
14201426 then true
14211427 else ay(az, aA, aB)
14221428 }
14231429 else if ($isInstanceOf(dK, "SetScriptTransaction"))
14241430 then {
14251431 let eN = dK
1426- let gB = blake2b256(value(eN.script))
1427- let gC = fromBase64String(value(getString(aJ, aw())))
1428- let gD = scriptHash(this)
1429- if (if ((gC == gB))
1430- then (gD != gB)
1432+ let gC = blake2b256(value(eN.script))
1433+ let gD = fromBase64String(value(getString(aJ, aw())))
1434+ let gE = scriptHash(this)
1435+ if (if ((gD == gC))
1436+ then (gE != gC)
14311437 else false)
14321438 then true
1433- else sigVerify(gx.bodyBytes, gx.proofs[0], gz)
1439+ else sigVerify(gy.bodyBytes, gy.proofs[0], gA)
14341440 }
1435- else sigVerify(gx.bodyBytes, gx.proofs[0], gz)
1441+ else sigVerify(gy.bodyBytes, gy.proofs[0], gA)
14361442 }
14371443

github/deemru/w8io/fabc49c 
184.04 ms