tx · D97jizeEhZxPwBSwduiLFhDvKB5FZPNXe86phef7QfcF 3MvRWw2FPEimFCTGtK7qY9uAJbM7XJ4ZfJS: -0.42000000 Waves 2023.07.24 12:15 [2679749] smart account 3MvRWw2FPEimFCTGtK7qY9uAJbM7XJ4ZfJS > SELF 0.00000000 Waves
{ "type": 13, "id": "D97jizeEhZxPwBSwduiLFhDvKB5FZPNXe86phef7QfcF", "fee": 42000000, "feeAssetId": null, "timestamp": 1690190148821, "version": 2, "chainId": 84, "sender": "3MvRWw2FPEimFCTGtK7qY9uAJbM7XJ4ZfJS", "senderPublicKey": "HP8sssVq1866F7CaPQJwgFrt6fsqhQjKwM84cL1wjD2a", "proofs": [ "5wJUrhxPxQ29qSDHBbzDAfrDVB3HEGmhEmF1QobiTByexKs1jNfTFyFoG4dTTQhcGniEaH7ruM66BzMCXbTjc4N8" ], "script": "base64:BgKmAQgCEgMKAQgSBAoCCAgSBQoDCBgYEgUKAwgBCBIECgIIARIGCgQBCAgBEgUKAwEICBILCgkICAgICAgICAgSAwoBCBIDCgEIEgUKAwgIARIGCgQIAQgIEg0KCwgIAQQRGBgRAQEYEgkKBwgIAQQIARgSDQoLCAgBBBgYGBgYARgSCwoJCAgBAQEBAQEEEgASABIAEgASABIAEgASABIDCgEIEgMKAQh3AAdTRl9QT09MAgJTRgAHV1hfUE9PTAICV1gAD0NBUF9GRUVfTk9fTE9BTgIJY2FwTm9Mb2FuAAxDQVBfRkVFX0xPQU4CB2NhcExvYW4AFFNUT1BMT1NTX0ZFRV9OT19MT0FOAg5zdG9wTG9zc05vTG9hbgANU1RPUExPU1NfTE9BTgIMc3RvcExvc3NMb2FuAAhMT0FOX0ZFRQIEbG9hbgALTk9fTE9BTl9GRUUCBm5vTG9hbgAGTk9fRkVFAgVub0ZlZQAGU0NBTEU4AIDC1y8AB1NDQUxFMTAAgMivoCUAB1NDQUxFMTYJALYCAQCAgIT+pt7hEQAKRkVFX1NDQUxFNgDAhD0AFGtTRlBvb2xBQXNz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Rwb29sCQELdmFsdWVPckVsc2UCCQELaXNBZG1pbkNhbGwBBQFpAwkBASEBCQEJaXNEZWZpbmVkAQkAnQgCBQR0aGlzCQCsAgIFBWtQb29sBQRwb29sCQACAQIMVW5rbm93biBwb29sAwkBC3ZhbHVlT3JFbHNlAgkAmwgCBQR0aGlzCQCsAgIFBHBvb2wFC2tQb29sQWN0aXZlBgkAAgECE1Bvb2wgYWxyZWFkeSBhY3RpdmUJAMwIAgkBDEJvb2xlYW5FbnRyeQIJAKwCAgUEcG9vbAULa1Bvb2xBY3RpdmUGBQNuaWwBaQEMc2h1dGRvd25Qb29sAQRwb29sCQELdmFsdWVPckVsc2UCCQELaXNBZG1pbkNhbGwBBQFpAwkBASEBCQEJaXNEZWZpbmVkAQkAnQgCBQR0aGlzCQCsAgIFBWtQb29sBQRwb29sCQACAQIMVW5rbm93biBwb29sAwkBASEBCQELdmFsdWVPckVsc2UCCQCbCAIFBHRoaXMJAKwCAgUEcG9vbAULa1Bvb2xBY3RpdmUGCQACAQIVUG9vbCBhbHJlYWR5IHNodXRkb3duCQDMCAIJAQxCb29sZWFuRW50cnkCCQCsAgIFBHBvb2wFC2tQb29sQWN0aXZlBwUDbmlsAQJ0eAEGdmVyaWZ5AAkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tleQVSvXk=", "height": 2679749, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GcqP6R7ct1uNxW47L3RMfT3kn1oXUYdE3xHmE2KZ9EUy Next: FxVCrpoJFb2gwrAJBhMAeUvSjuGMv8pTNvFKARVw2ixj Diff:
Old | New | Differences | |
---|---|---|---|
591 | 591 | then { | |
592 | 592 | let cl = { | |
593 | 593 | let aK = invoke(aG, "callFunction", ["withdrawREADONLY", [toString(cH)]], nil) | |
594 | - | if ($isInstanceOf(aK, " | |
594 | + | if ($isInstanceOf(aK, "List[Any]")) | |
595 | 595 | then aK | |
596 | - | else throw(($getType(aK) + " couldn't be cast to | |
596 | + | else throw(($getType(aK) + " couldn't be cast to List[Any]")) | |
597 | 597 | } | |
598 | 598 | if ((cl == cl)) | |
599 | - | then $Tuple2(cl._1, cl._2) | |
599 | + | then $Tuple2({ | |
600 | + | let aK = cl[0] | |
601 | + | if ($isInstanceOf(aK, "Int")) | |
602 | + | then aK | |
603 | + | else throw(($getType(aK) + " couldn't be cast to Int")) | |
604 | + | }, { | |
605 | + | let aK = cl[1] | |
606 | + | if ($isInstanceOf(aK, "Int")) | |
607 | + | then aK | |
608 | + | else throw(($getType(aK) + " couldn't be cast to Int")) | |
609 | + | }) | |
600 | 610 | else throw("Strict value is not equal to itself.") | |
601 | 611 | } | |
602 | 612 | else if ((by == b)) | |
912 | 922 | then invoke(an(), "repayFor", [((aZ + "_") + ew)], [AttachedPayment(bh(ee), ed)]) | |
913 | 923 | else 0 | |
914 | 924 | if ((eK == eK)) | |
915 | - | then ([DeleteEntry((((((aw + "_") + aZ) + "_") + ew) + u)), DeleteEntry((((aZ + "_") + ew) + v)), DeleteEntry((((((aw + "_") + aZ) + "_") + ew) + w)), DeleteEntry((((((aw + "_") + aZ) + "_") + ew) + x)), DeleteEntry((((((aw + "_") + aZ) + "_") + ew) + z)), IntegerEntry((aw + A), ((eE - cH) - ef)), ScriptTransfer(eF, eJ, bh(cn)), ScriptTransfer(eF, eI, bh(co)), ScriptTransfer(ag, ef, fromBase58String(aS))] ++ bL(cn, co, aS, nil)) | |
925 | + | then { | |
926 | + | let eL = ([DeleteEntry((((((aw + "_") + aZ) + "_") + ew) + u)), DeleteEntry((((aZ + "_") + ew) + v)), DeleteEntry((((((aw + "_") + aZ) + "_") + ew) + w)), DeleteEntry((((((aw + "_") + aZ) + "_") + ew) + x)), DeleteEntry((((((aw + "_") + aZ) + "_") + ew) + z)), IntegerEntry((aw + A), ((eE - cH) - ef)), ScriptTransfer(eF, eJ, bh(cn)), ScriptTransfer(eF, eI, bh(co)), ScriptTransfer(ag, ef, fromBase58String(aS))] ++ bL(cn, co, aS, nil)) | |
927 | + | $Tuple2(eL, [eJ, eI]) | |
928 | + | } | |
916 | 929 | else throw("Strict value is not equal to itself.") | |
917 | 930 | } | |
918 | 931 | else throw("Strict value is not equal to itself.") | |
919 | 932 | } | |
920 | 933 | ||
921 | 934 | ||
922 | - | func | |
923 | - | let | |
924 | - | let aZ = | |
925 | - | let aw = | |
926 | - | let bR = parseIntValue( | |
927 | - | let dL = | |
928 | - | let bS = parseIntValue( | |
929 | - | let dM = | |
930 | - | let aP = parseIntValue( | |
931 | - | let aO = parseIntValue( | |
932 | - | let aS = | |
933 | - | let | |
934 | - | let | |
935 | - | $Tuple11(aZ, aw, bR, dL, bS, dM, aP, aO, aS, | |
935 | + | func eM (eN) = { | |
936 | + | let eO = split(valueOrErrorMessage(getString(this, (eN + L)), ("No request with id " + eN)), ",") | |
937 | + | let aZ = eO[0] | |
938 | + | let aw = eO[1] | |
939 | + | let bR = parseIntValue(eO[2]) | |
940 | + | let dL = eO[3] | |
941 | + | let bS = parseIntValue(eO[4]) | |
942 | + | let dM = eO[5] | |
943 | + | let aP = parseIntValue(eO[6]) | |
944 | + | let aO = parseIntValue(eO[7]) | |
945 | + | let aS = eO[8] | |
946 | + | let eP = eO[9] | |
947 | + | let eQ = parseIntValue(eO[10]) | |
948 | + | $Tuple11(aZ, aw, bR, dL, bS, dM, aP, aO, aS, eP, eQ) | |
936 | 949 | } | |
937 | 950 | ||
938 | 951 | ||
939 | - | func | |
940 | - | then ( | |
952 | + | func eR (bR,bS,aI,aJ,eS,eT) = if (if ((eT != aI)) | |
953 | + | then (eT != aJ) | |
941 | 954 | else false) | |
942 | 955 | then throw("Wrong borrow asset") | |
943 | 956 | else { | |
944 | 957 | let bC = getIntegerValue(ai, (aI + R)) | |
945 | 958 | let bD = getIntegerValue(ai, (aJ + R)) | |
946 | - | let | |
947 | - | let | |
948 | - | let | |
949 | - | let | |
950 | - | then $Tuple2(bC, | |
951 | - | else $Tuple2(bD, | |
952 | - | let | |
953 | - | let | |
954 | - | fraction(fraction( | |
959 | + | let eU = pow(10, 0, bi(aI), 0, 0, DOWN) | |
960 | + | let eV = pow(10, 0, bi(aJ), 0, 0, DOWN) | |
961 | + | let eW = (fraction(bC, bR, eU) + fraction(bD, bS, eV)) | |
962 | + | let eX = if ((eT == aI)) | |
963 | + | then $Tuple2(bC, eU) | |
964 | + | else $Tuple2(bD, eV) | |
965 | + | let eY = eX._1 | |
966 | + | let eZ = eX._2 | |
967 | + | fraction(fraction(eW, (eS - 100), 100), eZ, eY) | |
955 | 968 | } | |
956 | 969 | ||
957 | 970 | ||
958 | - | func | |
959 | - | then if ((bg( | |
971 | + | func fa (fb,dL,dM) = if ((size(fb) == 2)) | |
972 | + | then if ((bg(fb[0].assetId) != dL)) | |
960 | 973 | then throw("Wrong payment asset A") | |
961 | - | else if ((bg( | |
974 | + | else if ((bg(fb[1].assetId) != dM)) | |
962 | 975 | then throw("Wrong payment asset B") | |
963 | - | else $Tuple2( | |
964 | - | else if ((size( | |
965 | - | then if ((bg( | |
966 | - | then $Tuple2( | |
967 | - | else if ((bg( | |
968 | - | then $Tuple2(0, | |
976 | + | else $Tuple2(fb[0].amount, fb[1].amount) | |
977 | + | else if ((size(fb) == 1)) | |
978 | + | then if ((bg(fb[0].assetId) == dL)) | |
979 | + | then $Tuple2(fb[0].amount, 0) | |
980 | + | else if ((bg(fb[0].assetId) == dM)) | |
981 | + | then $Tuple2(0, fb[0].amount) | |
969 | 982 | else throw("Wrong payment") | |
970 | 983 | else throw("One or two payments expected") | |
971 | 984 | ||
972 | 985 | ||
973 | - | func | |
974 | - | let | |
975 | - | if ((0 > | |
976 | - | then ( | |
977 | - | else | |
986 | + | func fc (aP,aO,fd,fe) = { | |
987 | + | let ff = ((j - fraction(fraction(aO, j, aP), j, fraction(fe, j, fd))) * 100) | |
988 | + | if ((0 > ff)) | |
989 | + | then (ff * -1) | |
990 | + | else ff | |
978 | 991 | } | |
979 | 992 | ||
980 | 993 | ||
981 | - | func | |
982 | - | let | |
994 | + | func fg (aw,by,fh,fi,cV) = { | |
995 | + | let fj = if (fh) | |
983 | 996 | then cL(by, aw) | |
984 | 997 | else { | |
985 | - | let | |
998 | + | let fk = if ((by == a)) | |
986 | 999 | then ak | |
987 | 1000 | else if ((by == b)) | |
988 | 1001 | then al | |
989 | 1002 | else am() | |
990 | - | $Tuple2( | |
1003 | + | $Tuple2(fi, fk) | |
991 | 1004 | } | |
992 | - | let fk = fi._1 | |
993 | - | let fl = fi._2 | |
994 | - | if ((fh > (fk + cV))) | |
1005 | + | let fl = fj._1 | |
1006 | + | let fm = fj._2 | |
1007 | + | let fn = aA(fm) | |
1008 | + | if (if ((fi > (fl + cV))) | |
1009 | + | then true | |
1010 | + | else (fi > fn)) | |
995 | 1011 | then throw("To big amount to exchange") | |
996 | - | else $Tuple2( | |
1012 | + | else $Tuple2(fl, fm) | |
997 | 1013 | } | |
998 | 1014 | ||
999 | 1015 | ||
1000 | 1016 | @Callable(aq) | |
1001 | 1017 | func getShareAssetPriceREADONLY (aS) = { | |
1002 | - | let | |
1003 | - | $Tuple2(nil, | |
1018 | + | let fo = bx(aS) | |
1019 | + | $Tuple2(nil, fo) | |
1004 | 1020 | } | |
1005 | 1021 | ||
1006 | 1022 | ||
1016 | 1032 | ||
1017 | 1033 | ||
1018 | 1034 | @Callable(aq) | |
1019 | - | func getUserPositionInDollarsREADONLY (aZ,fn,de) = { | |
1020 | - | func fo (bo,aw) = { | |
1021 | - | let fp = bo | |
1022 | - | let fq = fp._1 | |
1023 | - | let fr = fp._2 | |
1024 | - | let fs = fp._3 | |
1035 | + | func getUserPositionREADONLY (aZ,fp,de) = { | |
1036 | + | func fq (bo,aw) = { | |
1037 | + | let fr = bo | |
1038 | + | let fs = fr._1 | |
1039 | + | let ft = fr._2 | |
1040 | + | let fu = fr._3 | |
1041 | + | let fv = fr._4 | |
1025 | 1042 | let by = valueOrErrorMessage(getString(this, (N + aw)), "Pool is not inited") | |
1026 | - | let | |
1027 | - | let dL = | |
1028 | - | let dM = | |
1029 | - | let aP = | |
1030 | - | let aO = | |
1031 | - | let aS = | |
1032 | - | let eD = valueOrElse(getInteger(this, (((((aw + "_") + aZ) + "_") + de[ | |
1033 | - | if (!(isDefined(getInteger(this, (((((aw + "_") + aZ) + "_") + de[ | |
1034 | - | then $Tuple3(( | |
1043 | + | let fw = aU(Address(fromBase58String(aw)), by) | |
1044 | + | let dL = fw._1 | |
1045 | + | let dM = fw._2 | |
1046 | + | let aP = fw._3 | |
1047 | + | let aO = fw._4 | |
1048 | + | let aS = fw._5 | |
1049 | + | let eD = valueOrElse(getInteger(this, (((((aw + "_") + aZ) + "_") + de[fv]) + w)), 0) | |
1050 | + | if (!(isDefined(getInteger(this, (((((aw + "_") + aZ) + "_") + de[fv]) + u))))) | |
1051 | + | then $Tuple3((fs :+ 0), (ft :+ 0), (fv + 1)) | |
1035 | 1052 | else { | |
1036 | - | let cH = ev(aZ, aw, de[fs], (eD > 0)) | |
1037 | - | let fm = bx(aS) | |
1038 | - | let fu = pow(10, 0, bi(aS), 0, 0, DOWN) | |
1039 | - | let fv = fraction(cH, fm, fu) | |
1040 | - | if ((eD == 0)) | |
1041 | - | then $Tuple3((fq :+ fv), (fr :+ 0), (fs + 1)) | |
1042 | - | else { | |
1043 | - | let ee = getStringValue(this, (((((aw + "_") + aZ) + "_") + de[fs]) + x)) | |
1053 | + | let cH = ev(aZ, aw, de[fv], (eD > 0)) | |
1054 | + | let fx = cG(Address(fromBase58String(aw)), by, aS, cH) | |
1055 | + | let fy = fx._1 | |
1056 | + | let fz = fx._2 | |
1057 | + | if ((eD > 0)) | |
1058 | + | then { | |
1059 | + | let ee = getStringValue(this, (((((aw + "_") + aZ) + "_") + de[fv]) + x)) | |
1044 | 1060 | let ed = { | |
1045 | - | let aK = invoke(an(), "getAssetDebt", [false, ((aZ + "_") + de[ | |
1061 | + | let aK = invoke(an(), "getAssetDebt", [false, ((aZ + "_") + de[fv]), ee], nil) | |
1046 | 1062 | if ($isInstanceOf(aK, "Int")) | |
1047 | 1063 | then aK | |
1048 | 1064 | else throw(($getType(aK) + " couldn't be cast to Int")) | |
1049 | 1065 | } | |
1050 | - | let fw = getIntegerValue(ai, (ee + R)) | |
1051 | - | let fx = pow(10, 0, bi(ee), 0, 0, DOWN) | |
1052 | - | let fy = fraction(ed, fw, fx) | |
1053 | - | $Tuple3((fq :+ fv), (fr :+ fy), (fs + 1)) | |
1066 | + | if ((ed == ed)) | |
1067 | + | then $Tuple4((fs :+ fy), (ft :+ fz), (fu :+ ed), (fv + 1)) | |
1068 | + | else throw("Strict value is not equal to itself.") | |
1054 | 1069 | } | |
1070 | + | else $Tuple3((fs :+ fy), (ft :+ fz), (fv + 1)) | |
1055 | 1071 | } | |
1056 | 1072 | } | |
1057 | 1073 | ||
1058 | - | let | |
1059 | - | let bq = | |
1074 | + | let fA = { | |
1075 | + | let bq = fp | |
1060 | 1076 | let br = size(bq) | |
1061 | - | let bs = $ | |
1077 | + | let bs = $Tuple4(nil, nil, nil, 0) | |
1062 | 1078 | func bt (bu,bv) = if ((bv >= br)) | |
1063 | 1079 | then bu | |
1064 | - | else | |
1080 | + | else fq(bu, bq[bv]) | |
1065 | 1081 | ||
1066 | 1082 | func bw (bu,bv) = if ((bv >= br)) | |
1067 | 1083 | then bu | |
1069 | 1085 | ||
1070 | 1086 | bw(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bs, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20) | |
1071 | 1087 | } | |
1072 | - | let fA = fz._1 | |
1073 | - | let ed = fz._2 | |
1074 | - | $Tuple2(nil, $Tuple2(fA, ed)) | |
1088 | + | let fs = fA._1 | |
1089 | + | let ft = fA._2 | |
1090 | + | let fu = fA._3 | |
1091 | + | $Tuple2(nil, $Tuple3(fs, ft, fu)) | |
1075 | 1092 | } | |
1076 | 1093 | ||
1077 | 1094 | ||
1078 | 1095 | ||
1079 | 1096 | @Callable(aq) | |
1080 | - | func replenish (aw, | |
1097 | + | func replenish (aw,eS,eT) = valueOrElse(au(), if (if ((100 > eS)) | |
1081 | 1098 | then true | |
1082 | - | else ( | |
1099 | + | else (eS > 300)) | |
1083 | 1100 | then throw("Leverage can't be <100 and >300") | |
1084 | 1101 | else if (if (!(getBooleanValue(this, (aw + E)))) | |
1085 | - | then ( | |
1102 | + | then (eS > 100) | |
1086 | 1103 | else false) | |
1087 | 1104 | then throw("You can't borrow in this pool") | |
1088 | 1105 | else { | |
1093 | 1110 | let aP = fB._3 | |
1094 | 1111 | let aO = fB._4 | |
1095 | 1112 | let aS = fB._5 | |
1096 | - | if (if (( | |
1097 | - | then ( | |
1113 | + | if (if ((eT != dL)) | |
1114 | + | then (eT != dM) | |
1098 | 1115 | else false) | |
1099 | 1116 | then throw("Wrong borrow asset") | |
1100 | 1117 | else { | |
1101 | - | let fC = | |
1118 | + | let fC = fa(aq.payments, dL, dM) | |
1102 | 1119 | let bR = fC._1 | |
1103 | 1120 | let bS = fC._2 | |
1104 | 1121 | let aZ = toString(aq.caller) | |
1105 | 1122 | let fD = aY(aZ) | |
1106 | - | if (( | |
1123 | + | if ((eS > 100)) | |
1107 | 1124 | then { | |
1108 | - | let eD = | |
1109 | - | let | |
1125 | + | let eD = eR(bR, bS, dL, dM, eS, eT) | |
1126 | + | let eO = makeString([aZ, aw, toString(bR), dL, toString(bS), dM, toString(aP), toString(aO), aS, eT, toString(eD)], ",") | |
1110 | 1127 | let fE = { | |
1111 | - | let aK = invoke(this, "createNewRequest", [ | |
1128 | + | let aK = invoke(this, "createNewRequest", [eO], nil) | |
1112 | 1129 | if ($isInstanceOf(aK, "Int")) | |
1113 | 1130 | then aK | |
1114 | 1131 | else throw(($getType(aK) + " couldn't be cast to Int")) | |
1115 | 1132 | } | |
1116 | 1133 | if ((fE == fE)) | |
1117 | 1134 | then { | |
1118 | - | let fF = [((aZ + "_") + toString(fD)), aS, | |
1135 | + | let fF = [((aZ + "_") + toString(fD)), aS, eT, eD, toString(this), "replenishFromLand", toString(valueOrErrorMessage(fE, "Can't create new request"))] | |
1119 | 1136 | let cl = reentrantInvoke(an(), "flashPosition", fF, nil) | |
1120 | 1137 | if ((cl == cl)) | |
1121 | 1138 | then { | |
1123 | 1140 | let fH = aL(Address(fromBase58String(aw)), by, dL, dM) | |
1124 | 1141 | if ((fH == fH)) | |
1125 | 1142 | then { | |
1126 | - | let | |
1127 | - | let | |
1128 | - | let fI = | |
1143 | + | let fe = fH._2 | |
1144 | + | let fd = fH._1 | |
1145 | + | let fI = fc(aP, aO, fd, fe) | |
1129 | 1146 | let fJ = cG(Address(fromBase58String(aw)), by, aS, fG) | |
1130 | - | let | |
1131 | - | let | |
1132 | - | $Tuple2(nil, [fI, | |
1147 | + | let fy = fJ._1 | |
1148 | + | let fz = fJ._2 | |
1149 | + | $Tuple2(nil, [fI, fy, fz]) | |
1133 | 1150 | } | |
1134 | 1151 | else throw("Strict value is not equal to itself.") | |
1135 | 1152 | } | |
1138 | 1155 | else throw("Strict value is not equal to itself.") | |
1139 | 1156 | } | |
1140 | 1157 | else { | |
1141 | - | let | |
1142 | - | if (( | |
1158 | + | let fK = cO(by, aw, h, bR, dL, bS, dM, aP, aO, aS) | |
1159 | + | if ((fK == fK)) | |
1143 | 1160 | then { | |
1144 | - | let eb = | |
1145 | - | let fG = | |
1146 | - | let | |
1147 | - | if (( | |
1161 | + | let eb = fK._2 | |
1162 | + | let fG = fK._1 | |
1163 | + | let fL = aL(Address(fromBase58String(aw)), by, dL, dM) | |
1164 | + | if ((fL == fL)) | |
1148 | 1165 | then { | |
1149 | - | let | |
1150 | - | let | |
1151 | - | let fI = | |
1152 | - | let | |
1153 | - | let | |
1154 | - | let | |
1155 | - | $Tuple2((dc(aw, aZ, fG, eb, fD, aS, by, false) ++ bL(dL, dM, aS, [toString( | |
1166 | + | let fe = fL._2 | |
1167 | + | let fd = fL._1 | |
1168 | + | let fI = fc(aP, aO, fd, fe) | |
1169 | + | let fM = cG(Address(fromBase58String(aw)), by, aS, fG) | |
1170 | + | let fy = fM._1 | |
1171 | + | let fz = fM._2 | |
1172 | + | $Tuple2((dc(aw, aZ, fG, eb, fD, aS, by, false) ++ bL(dL, dM, aS, [toString(fy), toString(fz)])), [fI, fy, fz]) | |
1156 | 1173 | } | |
1157 | 1174 | else throw("Strict value is not equal to itself.") | |
1158 | 1175 | } | |
1169 | 1186 | ||
1170 | 1187 | ||
1171 | 1188 | @Callable(aq) | |
1172 | - | func createUpdateStopLoss (ew, | |
1173 | - | let | |
1174 | - | if (!(isDefined(getInteger(this, ((((( | |
1189 | + | func createUpdateStopLoss (ew,fN,aB,fO) = valueOrElse(au(), { | |
1190 | + | let fP = getIntegerValue(ai, (aB + R)) | |
1191 | + | if (!(isDefined(getInteger(this, (((((fN + "_") + toString(aq.caller)) + "_") + toString(ew)) + u))))) | |
1175 | 1192 | then throw("There are no user position") | |
1176 | - | else if ((0 >= | |
1193 | + | else if ((0 >= fO)) | |
1177 | 1194 | then throw("Price must be greater than 0") | |
1178 | - | else if (( | |
1195 | + | else if ((fO > fP)) | |
1179 | 1196 | then throw("Price must be less than current token price") | |
1180 | - | else [IntegerEntry((((((((toString(aq.caller) + "_") + toString(ew)) + "_") + | |
1197 | + | else [IntegerEntry((((((((toString(aq.caller) + "_") + toString(ew)) + "_") + fN) + "_") + aB) + W), fO)] | |
1181 | 1198 | }) | |
1182 | 1199 | ||
1183 | 1200 | ||
1184 | 1201 | ||
1185 | 1202 | @Callable(aq) | |
1186 | - | func deleteStopLoss (ew, | |
1203 | + | func deleteStopLoss (ew,fN,aB) = valueOrElse(au(), if (!(isDefined(getInteger(this, (((((((toString(aq.caller) + "_") + toString(ew)) + "_") + fN) + "_") + aB) + W))))) | |
1187 | 1204 | then throw("No entry") | |
1188 | - | else [DeleteEntry((((((((toString(aq.caller) + "_") + toString(ew)) + "_") + | |
1205 | + | else [DeleteEntry((((((((toString(aq.caller) + "_") + toString(ew)) + "_") + fN) + "_") + aB) + W))]) | |
1189 | 1206 | ||
1190 | 1207 | ||
1191 | 1208 | ||
1192 | 1209 | @Callable(aq) | |
1193 | - | func init (fS,fT,fU | |
1210 | + | func init (fQ,fR,fS,ai,fT,aj,fU,fV,fW) = if ((toString(aq.caller) != "3PG42y6FgT8zM3uX5tEDxJF5rqX8AKGJRAR")) | |
1194 | 1211 | then throw("Only admin can call this function") | |
1195 | 1212 | else if (isDefined(getString(aa))) | |
1196 | 1213 | then throw("Already inited") | |
1197 | - | else [StringEntry(X, | |
1214 | + | else [StringEntry(X, fQ), StringEntry(Y, fR), StringEntry(Z, fS), StringEntry(ab, ai), StringEntry(ac, fT), StringEntry(ad, aj), StringEntry(ae, fU), StringEntry(af, fV), StringEntry(aa, fW)] | |
1198 | 1215 | ||
1199 | 1216 | ||
1200 | 1217 | ||
1207 | 1224 | ||
1208 | 1225 | ||
1209 | 1226 | @Callable(aq) | |
1210 | - | func replenishFromLand ( | |
1211 | - | let | |
1212 | - | let aZ = | |
1213 | - | let aw = | |
1214 | - | let bR = | |
1215 | - | let dL = | |
1216 | - | let bS = | |
1217 | - | let dM = | |
1218 | - | let aP = | |
1219 | - | let aO = | |
1220 | - | let aS = | |
1221 | - | let | |
1222 | - | let | |
1227 | + | func replenishFromLand (eN) = valueOrElse(at(), valueOrElse(as(aq), { | |
1228 | + | let fX = eM(eN) | |
1229 | + | let aZ = fX._1 | |
1230 | + | let aw = fX._2 | |
1231 | + | let bR = fX._3 | |
1232 | + | let dL = fX._4 | |
1233 | + | let bS = fX._5 | |
1234 | + | let dM = fX._6 | |
1235 | + | let aP = fX._7 | |
1236 | + | let aO = fX._8 | |
1237 | + | let aS = fX._9 | |
1238 | + | let eP = fX._10 | |
1239 | + | let eQ = fX._11 | |
1223 | 1240 | if ((size(aq.payments) != 1)) | |
1224 | 1241 | then throw("Wrong payment size") | |
1225 | - | else if (if ((bg(aq.payments[0].assetId) != | |
1242 | + | else if (if ((bg(aq.payments[0].assetId) != eP)) | |
1226 | 1243 | then true | |
1227 | - | else (aq.payments[0].amount != | |
1244 | + | else (aq.payments[0].amount != eQ)) | |
1228 | 1245 | then throw("Wrong payment") | |
1229 | 1246 | else { | |
1230 | - | let | |
1231 | - | then $Tuple2((bR + | |
1232 | - | else $Tuple2(bR, (bS + | |
1233 | - | let | |
1234 | - | let | |
1247 | + | let fY = if ((dL == eP)) | |
1248 | + | then $Tuple2((bR + eQ), bS) | |
1249 | + | else $Tuple2(bR, (bS + eQ)) | |
1250 | + | let fZ = fY._1 | |
1251 | + | let ga = fY._2 | |
1235 | 1252 | let by = valueOrErrorMessage(getString(this, (N + aw)), "Unknown pool") | |
1236 | - | let | |
1237 | - | let fG = | |
1238 | - | let eb = | |
1253 | + | let gb = cO(by, aw, g, fZ, dL, ga, dM, aP, aO, aS) | |
1254 | + | let fG = gb._1 | |
1255 | + | let eb = gb._2 | |
1239 | 1256 | let de = aY(aZ) | |
1240 | - | let | |
1241 | - | let | |
1242 | - | let | |
1243 | - | let | |
1244 | - | let | |
1245 | - | $Tuple2(((( | |
1257 | + | let gc = [IntegerEntry((((((aw + "_") + aZ) + "_") + toString(de)) + w), eQ), StringEntry((((((aw + "_") + aZ) + "_") + toString(de)) + x), eP)] | |
1258 | + | let eL = dc(aw, aZ, fG, eb, de, aS, by, true) | |
1259 | + | let gd = cG(Address(fromBase58String(aw)), by, aS, fG) | |
1260 | + | let fy = gd._1 | |
1261 | + | let fz = gd._2 | |
1262 | + | $Tuple2((((eL ++ bL(dL, dM, aS, [toString(fy), toString(fz)])) ++ gc) :+ DeleteEntry((eN + L))), fG) | |
1246 | 1263 | } | |
1247 | 1264 | })) | |
1248 | 1265 | ||
1249 | 1266 | ||
1250 | 1267 | ||
1251 | 1268 | @Callable(aq) | |
1252 | - | func liquidate (aZ,ew, | |
1269 | + | func liquidate (aZ,ew,ge) = valueOrElse(at(), valueOrElse(as(aq), { | |
1253 | 1270 | let aw = valueOrErrorMessage(getString(this, (((aZ + "_") + ew) + v)), "no position") | |
1254 | 1271 | let by = valueOrErrorMessage(getString(this, (N + aw)), "Pool is not inited") | |
1255 | - | let | |
1256 | - | let dL = | |
1257 | - | let dM = | |
1258 | - | let aP = | |
1259 | - | let aO = | |
1260 | - | let aS = | |
1261 | - | let cf = cg(aw, by, aS, | |
1272 | + | let gf = aU(Address(fromBase58String(aw)), by) | |
1273 | + | let dL = gf._1 | |
1274 | + | let dM = gf._2 | |
1275 | + | let aP = gf._3 | |
1276 | + | let aO = gf._4 | |
1277 | + | let aS = gf._5 | |
1278 | + | let cf = cg(aw, by, aS, ge) | |
1262 | 1279 | let eD = getIntegerValue(this, (((((aw + "_") + aZ) + "_") + ew) + w)) | |
1263 | 1280 | let ee = getStringValue(this, (((((aw + "_") + aZ) + "_") + ew) + x)) | |
1264 | 1281 | let cH = ev(aZ, aw, ew, (eD > 0)) | |
1265 | - | if (( | |
1282 | + | if ((ge > cH)) | |
1266 | 1283 | then throw("You can't liquidate more than user have") | |
1267 | 1284 | else if ((eD == 0)) | |
1268 | 1285 | then throw("You can't liquidate position without borrow") | |
1269 | - | else [IntegerEntry((((((aw + "_") + aZ) + "_") + ew) + z), getIntegerValue(this, (aw + C))), IntegerEntry((aw + B), (aX(aw) - | |
1286 | + | else [IntegerEntry((((((aw + "_") + aZ) + "_") + ew) + z), getIntegerValue(this, (aw + C))), IntegerEntry((aw + B), (aX(aw) - ge)), IntegerEntry((aw + A), (aW(aw) - ge)), IntegerEntry((((((aw + "_") + aZ) + "_") + ew) + u), (cH - ge)), ScriptTransfer(aq.caller, cf, fromBase58String(aS))] | |
1270 | 1287 | })) | |
1271 | 1288 | ||
1272 | 1289 | ||
1273 | 1290 | ||
1274 | 1291 | @Callable(aq) | |
1275 | 1292 | func stopLoss (aZ,ew,aw,aB) = valueOrElse(at(), valueOrElse(ap(aq), { | |
1276 | - | let | |
1277 | - | if (( | |
1293 | + | let fP = getIntegerValue(ai, (aB + R)) | |
1294 | + | if ((fP > fP)) | |
1278 | 1295 | then throw("Token price greater stop loss price") | |
1279 | 1296 | else if (!(isDefined(getInteger(this, (((((((aZ + "_") + toString(ew)) + "_") + aw) + "_") + aB) + W))))) | |
1280 | 1297 | then throw("No entry") | |
1281 | - | else (eB(aZ, aw, toString(ew), true) :+ DeleteEntry((((((((aZ + "_") + toString(ew)) + "_") + aw) + "_") + aB) + W))) | |
1298 | + | else { | |
1299 | + | let gg = eB(aZ, aw, toString(ew), true) | |
1300 | + | $Tuple2((gg._1 :+ DeleteEntry((((((((aZ + "_") + toString(ew)) + "_") + aw) + "_") + aB) + W))), gg._2) | |
1301 | + | } | |
1282 | 1302 | })) | |
1283 | 1303 | ||
1284 | 1304 | ||
1285 | 1305 | ||
1286 | 1306 | @Callable(aq) | |
1287 | - | func capitalizeExKeeper (aw, | |
1307 | + | func capitalizeExKeeper (aw,gh,fi,fh,dp,dq,dr,ds,dt,du,dv) = valueOrElse(at(), valueOrElse(ap(aq), { | |
1288 | 1308 | let by = getStringValue(this, (N + aw)) | |
1289 | 1309 | let cV = valueOrElse(getInteger(this, (aw + P)), 0) | |
1290 | - | let | |
1291 | - | let | |
1292 | - | let | |
1293 | - | let | |
1294 | - | let | |
1295 | - | let | |
1296 | - | then [IntegerEntry((aw + P), | |
1310 | + | let gi = fg(aw, by, fh, fi, cV) | |
1311 | + | let gj = gi._1 | |
1312 | + | let fk = gi._2 | |
1313 | + | let gk = dl(gh, fi, fk, dp, dq, dr, ds, dt, du, dv) | |
1314 | + | let gl = ((gj + cV) - fi) | |
1315 | + | let gm = if ((gl >= 0)) | |
1316 | + | then [IntegerEntry((aw + P), gl)] | |
1297 | 1317 | else nil | |
1298 | - | (dH(aw, by, | |
1318 | + | (dH(aw, by, gh, gk) ++ gm) | |
1299 | 1319 | })) | |
1300 | 1320 | ||
1301 | 1321 | ||
1302 | 1322 | ||
1303 | 1323 | @Callable(aq) | |
1304 | - | func capitalizeExPuzzle (aw, | |
1324 | + | func capitalizeExPuzzle (aw,gh,fi,fh,dy,dz,dv) = valueOrElse(at(), valueOrElse(ap(aq), { | |
1305 | 1325 | let by = getStringValue(this, (N + aw)) | |
1306 | 1326 | let cV = valueOrElse(getInteger(this, (aw + P)), 0) | |
1307 | - | let | |
1308 | - | let | |
1309 | - | let | |
1310 | - | let | |
1311 | - | let | |
1312 | - | let | |
1313 | - | then [IntegerEntry((aw + P), | |
1327 | + | let gn = fg(aw, by, fh, fi, cV) | |
1328 | + | let gj = gn._1 | |
1329 | + | let fk = gn._2 | |
1330 | + | let gk = dx(gh, fi, fk, dy, dz, dv) | |
1331 | + | let gl = ((gj + cV) - fi) | |
1332 | + | let gm = if ((gl >= 0)) | |
1333 | + | then [IntegerEntry((aw + P), gl)] | |
1314 | 1334 | else nil | |
1315 | - | (dH(aw, by, | |
1335 | + | (dH(aw, by, gh, gk) ++ gm) | |
1316 | 1336 | })) | |
1317 | 1337 | ||
1318 | 1338 | ||
1319 | 1339 | ||
1320 | 1340 | @Callable(aq) | |
1321 | - | func capitalizeExSwopFi (aw, | |
1341 | + | func capitalizeExSwopFi (aw,gh,fi,fh,dB,dC,dD,dE,dF,dG,dv) = valueOrElse(at(), valueOrElse(ap(aq), { | |
1322 | 1342 | let by = getStringValue(this, (N + aw)) | |
1323 | 1343 | let cV = valueOrElse(getInteger(this, (aw + P)), 0) | |
1324 | - | let | |
1325 | - | let | |
1326 | - | let | |
1327 | - | let | |
1328 | - | let | |
1329 | - | let | |
1330 | - | then [IntegerEntry((aw + P), | |
1344 | + | let go = fg(aw, by, fh, fi, cV) | |
1345 | + | let gj = go._1 | |
1346 | + | let fk = go._2 | |
1347 | + | let gk = dA(gh, fi, fk, dB, dC, dD, dE, dF, dG, dv) | |
1348 | + | let gl = ((gj + cV) - fi) | |
1349 | + | let gm = if ((gl >= 0)) | |
1350 | + | then [IntegerEntry((aw + P), gl)] | |
1331 | 1351 | else nil | |
1332 | - | (dH(aw, by, | |
1352 | + | (dH(aw, by, gh, gk) ++ gm) | |
1333 | 1353 | })) | |
1334 | 1354 | ||
1335 | 1355 | ||
1336 | 1356 | ||
1337 | 1357 | @Callable(aq) | |
1338 | - | func initNewPool (ax,aG,gr,gs,gt,gu,gv | |
1358 | + | func initNewPool (ax,aG,gp,gq,gr,gs,gt,gu,gv) = valueOrElse(at(), valueOrElse(ap(aq), if (if ((ax != a)) | |
1339 | 1359 | then (ax != b) | |
1340 | 1360 | else false) | |
1341 | 1361 | then throw("Wrong type") | |
1342 | 1362 | else { | |
1343 | - | let | |
1344 | - | let aI = | |
1345 | - | let aJ = | |
1346 | - | let | |
1347 | - | let | |
1348 | - | let aS = | |
1349 | - | if ((0 > | |
1363 | + | let gw = aU(Address(fromBase58String(aG)), ax) | |
1364 | + | let aI = gw._1 | |
1365 | + | let aJ = gw._2 | |
1366 | + | let gx = gw._3 | |
1367 | + | let gy = gw._4 | |
1368 | + | let aS = gw._5 | |
1369 | + | if ((0 > gp)) | |
1350 | 1370 | then throw("inFeeNoLoan must be greater than 0") | |
1351 | - | else if ((0 > | |
1371 | + | else if ((0 > gq)) | |
1352 | 1372 | then throw("inFeeLoan must be greater than 0") | |
1353 | - | else if ((0 > | |
1373 | + | else if ((0 > gr)) | |
1354 | 1374 | then throw("capFeeNoLoan must be greater than 0") | |
1355 | - | else if ((0 > | |
1375 | + | else if ((0 > gs)) | |
1356 | 1376 | then throw("capFeeWithLoan must be greater than 0") | |
1357 | - | else if ((0 > | |
1377 | + | else if ((0 > gt)) | |
1358 | 1378 | then throw("stoplossFeeNoLoan must be greater than 0") | |
1359 | - | else if ((0 > | |
1379 | + | else if ((0 > gu)) | |
1360 | 1380 | then throw("stoplossFeeWithLoan must be greater than 0") | |
1361 | - | else [IntegerEntry((aG + F), | |
1381 | + | else [IntegerEntry((aG + F), gp), IntegerEntry((aG + G), gq), IntegerEntry((aG + H), gr), IntegerEntry((aG + I), gs), IntegerEntry((aG + J), gt), IntegerEntry((aG + K), gu), IntegerEntry((aG + C), 0), IntegerEntry((aG + D), 0), StringEntry((N + aG), ax), StringEntry((aS + O), aG), BooleanEntry((aG + E), gv)] | |
1362 | 1382 | })) | |
1363 | 1383 | ||
1364 | 1384 | ||
1380 | 1400 | @Callable(aq) | |
1381 | 1401 | func activateForUsers () = valueOrElse(ap(aq), if (valueOrElse(getBoolean(this, T), true)) | |
1382 | 1402 | then throw("dApp already active for users") | |
1383 | - | else [BooleanEntry( | |
1403 | + | else [BooleanEntry(T, true)]) | |
1384 | 1404 | ||
1385 | 1405 | ||
1386 | 1406 | ||
1387 | 1407 | @Callable(aq) | |
1388 | 1408 | func shutdownForUsers () = valueOrElse(ap(aq), if (!(valueOrElse(getBoolean(this, T), true))) | |
1389 | 1409 | then throw("dApp already shutdown for users") | |
1390 | - | else [BooleanEntry( | |
1410 | + | else [BooleanEntry(T, false)]) | |
1391 | 1411 | ||
1392 | 1412 | ||
1393 | 1413 | ||
1394 | 1414 | @Callable(aq) | |
1395 | 1415 | func activateSF () = valueOrElse(ap(aq), if (valueOrElse(getBoolean(this, (a + U)), true)) | |
1396 | 1416 | then throw("SWOPFI already active") | |
1397 | - | else [BooleanEntry( | |
1417 | + | else [BooleanEntry((a + U), true)]) | |
1398 | 1418 | ||
1399 | 1419 | ||
1400 | 1420 | ||
1401 | 1421 | @Callable(aq) | |
1402 | 1422 | func shutdownSF () = valueOrElse(ap(aq), if (!(valueOrElse(getBoolean(this, (a + U)), true))) | |
1403 | 1423 | then throw("SWOPFI already shutdown") | |
1404 | - | else [BooleanEntry( | |
1424 | + | else [BooleanEntry((a + U), false)]) | |
1405 | 1425 | ||
1406 | 1426 | ||
1407 | 1427 | ||
1408 | 1428 | @Callable(aq) | |
1409 | 1429 | func activateWX () = valueOrElse(ap(aq), if (valueOrElse(getBoolean(this, (b + U)), true)) | |
1410 | 1430 | then throw("WX already active") | |
1411 | - | else [BooleanEntry( | |
1431 | + | else [BooleanEntry((b + U), true)]) | |
1412 | 1432 | ||
1413 | 1433 | ||
1414 | 1434 | ||
1415 | 1435 | @Callable(aq) | |
1416 | 1436 | func shutdownWX () = valueOrElse(ap(aq), if (!(valueOrElse(getBoolean(this, (b + U)), true))) | |
1417 | 1437 | then throw("WX already shutdown") | |
1418 | - | else [BooleanEntry( | |
1438 | + | else [BooleanEntry((b + U), false)]) | |
1419 | 1439 | ||
1420 | 1440 | ||
1421 | 1441 | ||
1424 | 1444 | then throw("Unknown pool") | |
1425 | 1445 | else if (valueOrElse(getBoolean(this, (aw + V)), true)) | |
1426 | 1446 | then throw("Pool already active") | |
1427 | - | else [BooleanEntry( | |
1447 | + | else [BooleanEntry((aw + V), true)]) | |
1428 | 1448 | ||
1429 | 1449 | ||
1430 | 1450 | ||
1433 | 1453 | then throw("Unknown pool") | |
1434 | 1454 | else if (!(valueOrElse(getBoolean(this, (aw + V)), true))) | |
1435 | 1455 | then throw("Pool already shutdown") | |
1436 | - | else [BooleanEntry( | |
1456 | + | else [BooleanEntry((aw + V), false)]) | |
1437 | 1457 | ||
1438 | 1458 | ||
1439 | - | @Verifier( | |
1440 | - | func | |
1459 | + | @Verifier(gz) | |
1460 | + | func gA () = sigVerify(gz.bodyBytes, gz.proofs[0], gz.senderPublicKey) | |
1441 | 1461 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "SF" | |
5 | 5 | ||
6 | 6 | let b = "WX" | |
7 | 7 | ||
8 | 8 | let c = "capNoLoan" | |
9 | 9 | ||
10 | 10 | let d = "capLoan" | |
11 | 11 | ||
12 | 12 | let e = "stopLossNoLoan" | |
13 | 13 | ||
14 | 14 | let f = "stopLossLoan" | |
15 | 15 | ||
16 | 16 | let g = "loan" | |
17 | 17 | ||
18 | 18 | let h = "noLoan" | |
19 | 19 | ||
20 | 20 | let i = "noFee" | |
21 | 21 | ||
22 | 22 | let j = 100000000 | |
23 | 23 | ||
24 | 24 | let k = 10000000000 | |
25 | 25 | ||
26 | 26 | let l = toBigInt(10000000000000000) | |
27 | 27 | ||
28 | 28 | let m = 1000000 | |
29 | 29 | ||
30 | 30 | let n = "A_asset_balance" | |
31 | 31 | ||
32 | 32 | let o = "B_asset_balance" | |
33 | 33 | ||
34 | 34 | let p = "A_asset_id" | |
35 | 35 | ||
36 | 36 | let q = "B_asset_id" | |
37 | 37 | ||
38 | 38 | let r = "share_asset_id" | |
39 | 39 | ||
40 | 40 | let s = "share_asset_supply" | |
41 | 41 | ||
42 | 42 | let t = "commission" | |
43 | 43 | ||
44 | 44 | let u = "_userPosition" | |
45 | 45 | ||
46 | 46 | let v = "_userPositionPool" | |
47 | 47 | ||
48 | 48 | let w = "_userPositionBorrowAmount" | |
49 | 49 | ||
50 | 50 | let x = "_userPositionBorrowAssetId" | |
51 | 51 | ||
52 | 52 | let y = "_userPositionNumber" | |
53 | 53 | ||
54 | 54 | let z = "_userPositionInterest" | |
55 | 55 | ||
56 | 56 | let A = "_poolTotal" | |
57 | 57 | ||
58 | 58 | let B = "_poolTotalLoan" | |
59 | 59 | ||
60 | 60 | let C = "_poolInterestLoan" | |
61 | 61 | ||
62 | 62 | let D = "_poolInterestNoLoan" | |
63 | 63 | ||
64 | 64 | let E = "_poolCanBorrow" | |
65 | 65 | ||
66 | 66 | let F = "_axlyFeeNoLoan" | |
67 | 67 | ||
68 | 68 | let G = "_axlyFeeWithLoan" | |
69 | 69 | ||
70 | 70 | let H = "_axlyFeeCapWithLoan" | |
71 | 71 | ||
72 | 72 | let I = "_axlyFeeCapNoLoan" | |
73 | 73 | ||
74 | 74 | let J = "_axlyFeeStoplossWithLoan" | |
75 | 75 | ||
76 | 76 | let K = "_axlyFeeStoplossNoLoan" | |
77 | 77 | ||
78 | 78 | let L = "_request_id" | |
79 | 79 | ||
80 | 80 | let M = "requests_iter" | |
81 | 81 | ||
82 | 82 | let N = "pool_" | |
83 | 83 | ||
84 | 84 | let O = "_poolShareId" | |
85 | 85 | ||
86 | 86 | let P = "_poolCapChange" | |
87 | 87 | ||
88 | 88 | let Q = "last_price" | |
89 | 89 | ||
90 | 90 | let R = "_twap5B" | |
91 | 91 | ||
92 | 92 | let S = "active" | |
93 | 93 | ||
94 | 94 | let T = "activeUsers" | |
95 | 95 | ||
96 | 96 | let U = "_active" | |
97 | 97 | ||
98 | 98 | let V = "_activePool" | |
99 | 99 | ||
100 | 100 | let W = "_stopLoss" | |
101 | 101 | ||
102 | 102 | let X = "axly_money_box" | |
103 | 103 | ||
104 | 104 | let Y = "swopfi_farming_addr" | |
105 | 105 | ||
106 | 106 | let Z = "lend_service_addr" | |
107 | 107 | ||
108 | 108 | let aa = "admin_call_pub_key" | |
109 | 109 | ||
110 | 110 | let ab = "price_oracle" | |
111 | 111 | ||
112 | 112 | let ac = "exchange_contract" | |
113 | 113 | ||
114 | 114 | let ad = "wx_swap_contract" | |
115 | 115 | ||
116 | 116 | let ae = "swop_id" | |
117 | 117 | ||
118 | 118 | let af = "wx_id" | |
119 | 119 | ||
120 | 120 | let ag = Address(fromBase58String(valueOrErrorMessage(getString(this, X), "No axly moneyBox address"))) | |
121 | 121 | ||
122 | 122 | let ah = Address(fromBase58String(valueOrErrorMessage(getString(this, ac), "No exchange contract address"))) | |
123 | 123 | ||
124 | 124 | let ai = Address(fromBase58String(valueOrErrorMessage(getString(this, ab), "No price oracle address"))) | |
125 | 125 | ||
126 | 126 | let aj = Address(fromBase58String(valueOrErrorMessage(getString(this, ad), "No wx swap address"))) | |
127 | 127 | ||
128 | 128 | let ak = fromBase58String(valueOrErrorMessage(getString(this, ae), "No swop id")) | |
129 | 129 | ||
130 | 130 | let al = fromBase58String(valueOrErrorMessage(getString(this, af), "No wx id")) | |
131 | 131 | ||
132 | 132 | func am () = throw("Wrong pool type") | |
133 | 133 | ||
134 | 134 | ||
135 | 135 | func an () = Address(fromBase58String(valueOrErrorMessage(getString(this, Z), "Can't get lend service addr"))) | |
136 | 136 | ||
137 | 137 | ||
138 | 138 | func ao () = addressFromPublicKey(fromBase58String(valueOrErrorMessage(getString(this, aa), "Can't get admin addr"))) | |
139 | 139 | ||
140 | 140 | ||
141 | 141 | func ap (aq) = if ((aq.caller == ao())) | |
142 | 142 | then unit | |
143 | 143 | else throw("Only admin can call this function") | |
144 | 144 | ||
145 | 145 | ||
146 | 146 | func ar (aq) = if ((aq.caller == this)) | |
147 | 147 | then unit | |
148 | 148 | else throw("Only contract itself can call this function") | |
149 | 149 | ||
150 | 150 | ||
151 | 151 | func as (aq) = if ((aq.caller == an())) | |
152 | 152 | then unit | |
153 | 153 | else throw("Only land contract can call this function") | |
154 | 154 | ||
155 | 155 | ||
156 | 156 | func at () = if ((valueOrElse(getBoolean(this, S), true) == true)) | |
157 | 157 | then unit | |
158 | 158 | else throw("DApp is inactive at this moment") | |
159 | 159 | ||
160 | 160 | ||
161 | 161 | func au () = if (if (valueOrElse(getBoolean(this, S), true)) | |
162 | 162 | then (valueOrElse(getBoolean(this, T), true) == true) | |
163 | 163 | else false) | |
164 | 164 | then unit | |
165 | 165 | else throw("DApp is inactive for users at this moment") | |
166 | 166 | ||
167 | 167 | ||
168 | 168 | func av (aw,ax) = { | |
169 | 169 | let ay = valueOrElse(getBoolean(this, (ax + U)), true) | |
170 | 170 | let az = valueOrElse(getBoolean(this, (aw + V)), true) | |
171 | 171 | if (if (ay) | |
172 | 172 | then az | |
173 | 173 | else false) | |
174 | 174 | then true | |
175 | 175 | else false | |
176 | 176 | } | |
177 | 177 | ||
178 | 178 | ||
179 | 179 | func aA (aB) = { | |
180 | 180 | let aC = aB | |
181 | 181 | if ($isInstanceOf(aC, "ByteVector")) | |
182 | 182 | then { | |
183 | 183 | let aD = aC | |
184 | 184 | assetBalance(this, aD) | |
185 | 185 | } | |
186 | 186 | else if ($isInstanceOf(aC, "Unit")) | |
187 | 187 | then { | |
188 | 188 | let aE = aC | |
189 | 189 | wavesBalance(this).available | |
190 | 190 | } | |
191 | 191 | else throw("Match error") | |
192 | 192 | } | |
193 | 193 | ||
194 | 194 | ||
195 | 195 | func aF (aG) = $Tuple2(valueOrErrorMessage(getInteger(aG, n), "Can't get pool A asset balance"), valueOrErrorMessage(getInteger(aG, o), "Can't get pool B asset balance")) | |
196 | 196 | ||
197 | 197 | ||
198 | 198 | func aH (aG,aI,aJ) = $Tuple2({ | |
199 | 199 | let aK = invoke(aG, "getAccBalanceWrapperREADONLY", [aI], nil) | |
200 | 200 | if ($isInstanceOf(aK, "Int")) | |
201 | 201 | then aK | |
202 | 202 | else throw(($getType(aK) + " couldn't be cast to Int")) | |
203 | 203 | }, { | |
204 | 204 | let aK = invoke(aG, "getAccBalanceWrapperREADONLY", [aJ], nil) | |
205 | 205 | if ($isInstanceOf(aK, "Int")) | |
206 | 206 | then aK | |
207 | 207 | else throw(($getType(aK) + " couldn't be cast to Int")) | |
208 | 208 | }) | |
209 | 209 | ||
210 | 210 | ||
211 | 211 | func aL (aG,ax,aI,aJ) = if ((ax == a)) | |
212 | 212 | then aF(aG) | |
213 | 213 | else if ((ax == b)) | |
214 | 214 | then aH(aG, aI, aJ) | |
215 | 215 | else am() | |
216 | 216 | ||
217 | 217 | ||
218 | 218 | func aM (aG) = { | |
219 | 219 | let aN = aF(aG) | |
220 | 220 | if ((aN == aN)) | |
221 | 221 | then { | |
222 | 222 | let aO = aN._2 | |
223 | 223 | let aP = aN._1 | |
224 | 224 | $Tuple5(valueOrErrorMessage(getString(aG, p), "Can't get pool A asset id"), valueOrErrorMessage(getString(aG, q), "Can't get pool B asset id"), aP, aO, valueOrErrorMessage(getString(aG, r), "Can't get share asset id")) | |
225 | 225 | } | |
226 | 226 | else throw("Strict value is not equal to itself.") | |
227 | 227 | } | |
228 | 228 | ||
229 | 229 | ||
230 | 230 | func aQ (aG) = { | |
231 | 231 | let aR = { | |
232 | 232 | let aK = invoke(aG, "getPoolConfigWrapperREADONLY", nil, nil) | |
233 | 233 | if ($isInstanceOf(aK, "List[Any]")) | |
234 | 234 | then aK | |
235 | 235 | else throw(($getType(aK) + " couldn't be cast to List[Any]")) | |
236 | 236 | } | |
237 | 237 | if ((aR == aR)) | |
238 | 238 | then { | |
239 | 239 | let aI = valueOrErrorMessage({ | |
240 | 240 | let aK = aR[4] | |
241 | 241 | if ($isInstanceOf(aK, "String")) | |
242 | 242 | then aK | |
243 | 243 | else unit | |
244 | 244 | }, "Can't get pool A asset id") | |
245 | 245 | let aJ = valueOrErrorMessage({ | |
246 | 246 | let aK = aR[5] | |
247 | 247 | if ($isInstanceOf(aK, "String")) | |
248 | 248 | then aK | |
249 | 249 | else unit | |
250 | 250 | }, "Can't get pool B asset id") | |
251 | 251 | let aS = valueOrErrorMessage({ | |
252 | 252 | let aK = aR[3] | |
253 | 253 | if ($isInstanceOf(aK, "String")) | |
254 | 254 | then aK | |
255 | 255 | else unit | |
256 | 256 | }, "Can't get pool LP asset id") | |
257 | 257 | let aT = aH(aG, aI, aJ) | |
258 | 258 | if ((aT == aT)) | |
259 | 259 | then { | |
260 | 260 | let aO = aT._2 | |
261 | 261 | let aP = aT._1 | |
262 | 262 | $Tuple5(aI, aJ, aP, aO, aS) | |
263 | 263 | } | |
264 | 264 | else throw("Strict value is not equal to itself.") | |
265 | 265 | } | |
266 | 266 | else throw("Strict value is not equal to itself.") | |
267 | 267 | } | |
268 | 268 | ||
269 | 269 | ||
270 | 270 | func aU (aG,ax) = if ((ax == a)) | |
271 | 271 | then aM(aG) | |
272 | 272 | else if ((ax == b)) | |
273 | 273 | then aQ(aG) | |
274 | 274 | else am() | |
275 | 275 | ||
276 | 276 | ||
277 | 277 | func aV (aG,ax,aS) = if ((ax == a)) | |
278 | 278 | then valueOrErrorMessage(getInteger(aG, s), "Can't get share asset supply") | |
279 | 279 | else if ((ax == b)) | |
280 | 280 | then valueOrErrorMessage(assetInfo(fromBase58String(aS)), "Wrong ShareId").quantity | |
281 | 281 | else am() | |
282 | 282 | ||
283 | 283 | ||
284 | 284 | func aW (aw) = valueOrElse(getInteger(this, (aw + A)), 0) | |
285 | 285 | ||
286 | 286 | ||
287 | 287 | func aX (aw) = valueOrElse(getInteger(this, (aw + B)), 0) | |
288 | 288 | ||
289 | 289 | ||
290 | 290 | func aY (aZ) = (valueOrElse(getInteger(this, (aZ + y)), 0) + 1) | |
291 | 291 | ||
292 | 292 | ||
293 | 293 | func ba (aw,bb) = if ((bb == d)) | |
294 | 294 | then getIntegerValue(this, (aw + I)) | |
295 | 295 | else if ((bb == c)) | |
296 | 296 | then getIntegerValue(this, (aw + H)) | |
297 | 297 | else if ((bb == g)) | |
298 | 298 | then getIntegerValue(this, (aw + G)) | |
299 | 299 | else if ((bb == h)) | |
300 | 300 | then getIntegerValue(this, (aw + F)) | |
301 | 301 | else if ((bb == i)) | |
302 | 302 | then 0 | |
303 | 303 | else throw("Wrong fee type") | |
304 | 304 | ||
305 | 305 | ||
306 | 306 | func bc () = Address(fromBase58String(valueOrErrorMessage(getString(this, Y), "Can't get swopfi farming addr"))) | |
307 | 307 | ||
308 | 308 | ||
309 | 309 | func bd (aG) = { | |
310 | 310 | let be = Address(fromBase58String(valueOrErrorMessage(getString(aG, "%s__factoryContract"), "Can't get WX factory contract addr"))) | |
311 | 311 | let bf = split(valueOrErrorMessage(getString(be, "%s__factoryConfig"), "Can't get WX factory cfg"), "__") | |
312 | 312 | Address(fromBase58String(bf[1])) | |
313 | 313 | } | |
314 | 314 | ||
315 | 315 | ||
316 | 316 | func bg (aB) = { | |
317 | 317 | let aC = aB | |
318 | 318 | if ($isInstanceOf(aC, "ByteVector")) | |
319 | 319 | then { | |
320 | 320 | let aD = aC | |
321 | 321 | toBase58String(aD) | |
322 | 322 | } | |
323 | 323 | else if ($isInstanceOf(aC, "Unit")) | |
324 | 324 | then { | |
325 | 325 | let aE = aC | |
326 | 326 | "WAVES" | |
327 | 327 | } | |
328 | 328 | else throw("Not Asset id") | |
329 | 329 | } | |
330 | 330 | ||
331 | 331 | ||
332 | 332 | func bh (aB) = if ((aB == "WAVES")) | |
333 | 333 | then unit | |
334 | 334 | else fromBase58String(aB) | |
335 | 335 | ||
336 | 336 | ||
337 | 337 | func bi (aB) = if ((aB == "WAVES")) | |
338 | 338 | then 8 | |
339 | 339 | else { | |
340 | 340 | let aC = assetInfo(fromBase58String(aB)) | |
341 | 341 | if ($isInstanceOf(aC, "Asset")) | |
342 | 342 | then { | |
343 | 343 | let bj = aC | |
344 | 344 | bj.decimals | |
345 | 345 | } | |
346 | 346 | else throw("Can't find asset") | |
347 | 347 | } | |
348 | 348 | ||
349 | 349 | ||
350 | 350 | func bk (aB) = pow(10, 0, bi(aB), 0, 0, DOWN) | |
351 | 351 | ||
352 | 352 | ||
353 | 353 | func bl (bm) = { | |
354 | 354 | func bn (bo,aB) = { | |
355 | 355 | let bp = getIntegerValue(ai, (aB + R)) | |
356 | 356 | (bo :+ bp) | |
357 | 357 | } | |
358 | 358 | ||
359 | 359 | let bq = bm | |
360 | 360 | let br = size(bq) | |
361 | 361 | let bs = nil | |
362 | 362 | func bt (bu,bv) = if ((bv >= br)) | |
363 | 363 | then bu | |
364 | 364 | else bn(bu, bq[bv]) | |
365 | 365 | ||
366 | 366 | func bw (bu,bv) = if ((bv >= br)) | |
367 | 367 | then bu | |
368 | 368 | else throw("List size exceeds 50") | |
369 | 369 | ||
370 | 370 | bw(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bs, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50) | |
371 | 371 | } | |
372 | 372 | ||
373 | 373 | ||
374 | 374 | func bx (aS) = { | |
375 | 375 | let aw = valueOrErrorMessage(getString(this, (aS + O)), "Can't find pool addr by share id") | |
376 | 376 | let aG = Address(fromBase58String(aw)) | |
377 | 377 | let by = valueOrErrorMessage(getString(this, (N + aw)), "Pool is not inited") | |
378 | 378 | let bz = aU(aG, by) | |
379 | 379 | let aI = bz._1 | |
380 | 380 | let aJ = bz._2 | |
381 | 381 | let bA = bz._3 | |
382 | 382 | let bB = bz._4 | |
383 | 383 | let bC = getIntegerValue(ai, (aI + R)) | |
384 | 384 | let bD = getIntegerValue(ai, (aJ + R)) | |
385 | 385 | let bE = aV(aG, by, aS) | |
386 | 386 | let bF = pow(10, 0, bi(aI), 0, 0, DOWN) | |
387 | 387 | let bG = pow(10, 0, bi(aJ), 0, 0, DOWN) | |
388 | 388 | let bH = pow(10, 0, bi(aS), 0, 0, DOWN) | |
389 | 389 | let bI = (fraction(bA, bC, bF) + fraction(bB, bD, bG)) | |
390 | 390 | fraction(bI, bH, bE) | |
391 | 391 | } | |
392 | 392 | ||
393 | 393 | ||
394 | 394 | func bJ (bK) = { | |
395 | 395 | func bn (bo,aS) = (bo :+ bx(aS)) | |
396 | 396 | ||
397 | 397 | let bq = bK | |
398 | 398 | let br = size(bq) | |
399 | 399 | let bs = nil | |
400 | 400 | func bt (bu,bv) = if ((bv >= br)) | |
401 | 401 | then bu | |
402 | 402 | else bn(bu, bq[bv]) | |
403 | 403 | ||
404 | 404 | func bw (bu,bv) = if ((bv >= br)) | |
405 | 405 | then bu | |
406 | 406 | else throw("List size exceeds 20") | |
407 | 407 | ||
408 | 408 | bw(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bs, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20) | |
409 | 409 | } | |
410 | 410 | ||
411 | 411 | ||
412 | 412 | func bL (aI,aJ,aS,bM) = { | |
413 | 413 | let bN = bl([aI, aJ]) | |
414 | 414 | let bO = bx(aS) | |
415 | 415 | let bP = ([toString(bN[0]), toString(bN[1]), toString(bO)] ++ bM) | |
416 | 416 | [StringEntry(Q, makeString(bP, ","))] | |
417 | 417 | } | |
418 | 418 | ||
419 | 419 | ||
420 | 420 | func bQ (by,aG,bR,aI,bS,aJ,aP,aO) = if ((by == a)) | |
421 | 421 | then { | |
422 | 422 | let bT = { | |
423 | 423 | let aK = invoke(aG, "callFunction", ["calcLPReplenishTwoTokensREADONLY", [toString(bR), toString(bS)]], nil) | |
424 | 424 | if ($isInstanceOf(aK, "List[Any]")) | |
425 | 425 | then aK | |
426 | 426 | else throw(($getType(aK) + " couldn't be cast to List[Any]")) | |
427 | 427 | } | |
428 | 428 | if ((bT == bT)) | |
429 | 429 | then $Tuple5({ | |
430 | 430 | let aK = bT[3] | |
431 | 431 | if ($isInstanceOf(aK, "Int")) | |
432 | 432 | then aK | |
433 | 433 | else throw(($getType(aK) + " couldn't be cast to Int")) | |
434 | 434 | }, { | |
435 | 435 | let aK = bT[4] | |
436 | 436 | if ($isInstanceOf(aK, "Int")) | |
437 | 437 | then aK | |
438 | 438 | else throw(($getType(aK) + " couldn't be cast to Int")) | |
439 | 439 | }, { | |
440 | 440 | let aK = bT[1] | |
441 | 441 | if ($isInstanceOf(aK, "Int")) | |
442 | 442 | then aK | |
443 | 443 | else throw(($getType(aK) + " couldn't be cast to Int")) | |
444 | 444 | }, bg(bT[2]), { | |
445 | 445 | let aK = bT[0] | |
446 | 446 | if ($isInstanceOf(aK, "Int")) | |
447 | 447 | then aK | |
448 | 448 | else throw(($getType(aK) + " couldn't be cast to Int")) | |
449 | 449 | }) | |
450 | 450 | else throw("Strict value is not equal to itself.") | |
451 | 451 | } | |
452 | 452 | else if ((by == b)) | |
453 | 453 | then { | |
454 | 454 | let bU = $Tuple2(split({ | |
455 | 455 | let aK = invoke(aG, "evaluatePutByAmountAssetREADONLY", [bR], nil) | |
456 | 456 | if ($isInstanceOf(aK, "String")) | |
457 | 457 | then aK | |
458 | 458 | else throw(($getType(aK) + " couldn't be cast to String")) | |
459 | 459 | }, "__"), split({ | |
460 | 460 | let aK = invoke(aG, "evaluatePutByPriceAssetREADONLY", [bS], nil) | |
461 | 461 | if ($isInstanceOf(aK, "String")) | |
462 | 462 | then aK | |
463 | 463 | else throw(($getType(aK) + " couldn't be cast to String")) | |
464 | 464 | }, "__")) | |
465 | 465 | if ((bU == bU)) | |
466 | 466 | then { | |
467 | 467 | let bV = bU._2 | |
468 | 468 | let bW = bU._1 | |
469 | 469 | let bX = parseIntValue(bW[1]) | |
470 | 470 | let bY = parseIntValue(bV[1]) | |
471 | 471 | if ((bY > bX)) | |
472 | 472 | then { | |
473 | 473 | let bZ = parseIntValue(bW[8]) | |
474 | 474 | $Tuple5(bR, bZ, (bS - bZ), aJ, bY) | |
475 | 475 | } | |
476 | 476 | else { | |
477 | 477 | let bZ = parseIntValue(bV[7]) | |
478 | 478 | $Tuple5(bZ, bS, (bR - bZ), aI, bX) | |
479 | 479 | } | |
480 | 480 | } | |
481 | 481 | else throw("Strict value is not equal to itself.") | |
482 | 482 | } | |
483 | 483 | else am() | |
484 | 484 | ||
485 | 485 | ||
486 | 486 | func ca (aG,by,bR,aI,bS,aJ) = { | |
487 | 487 | let cb = [AttachedPayment(bh(aI), bR), AttachedPayment(bh(aJ), bS)] | |
488 | 488 | if ((by == a)) | |
489 | 489 | then invoke(aG, "callFunction", ["replenishWithTwoTokens", ["false", "0"]], cb) | |
490 | 490 | else if ((by == b)) | |
491 | 491 | then invoke(aG, "put", [1000000, false], cb) | |
492 | 492 | else am() | |
493 | 493 | } | |
494 | 494 | ||
495 | 495 | ||
496 | 496 | func cc (aG,by,bZ,cd) = { | |
497 | 497 | let cb = [AttachedPayment(bh(cd), bZ)] | |
498 | 498 | if ((by == a)) | |
499 | 499 | then invoke(aG, "callFunction", ["replenishWithOneToken", ["0", "false", "0"]], cb) | |
500 | 500 | else if ((by == b)) | |
501 | 501 | then invoke(aG, "putOneTkn", [0, false], cb) | |
502 | 502 | else am() | |
503 | 503 | } | |
504 | 504 | ||
505 | 505 | ||
506 | 506 | func ce (aw,by,aS,cf) = { | |
507 | 507 | let cb = [AttachedPayment(fromBase58String(aS), cf)] | |
508 | 508 | if ((by == a)) | |
509 | 509 | then invoke(bc(), "lockShareTokens", [aw, 0], cb) | |
510 | 510 | else if ((by == b)) | |
511 | 511 | then invoke(bd(addressFromStringValue(aw)), "stake", nil, cb) | |
512 | 512 | else am() | |
513 | 513 | } | |
514 | 514 | ||
515 | 515 | ||
516 | 516 | func cg (aw,by,aS,cf) = { | |
517 | 517 | let ch = if ((by == a)) | |
518 | 518 | then $Tuple3(bc(), "withdrawShareTokens", [aw, cf]) | |
519 | 519 | else if ((by == b)) | |
520 | 520 | then $Tuple3(bd(Address(fromBase58String(aw))), "unstake", [aS, cf]) | |
521 | 521 | else am() | |
522 | 522 | let ci = ch._1 | |
523 | 523 | let cj = ch._2 | |
524 | 524 | let ck = ch._3 | |
525 | 525 | let cl = invoke(ci, cj, ck, nil) | |
526 | 526 | if ((cl == cl)) | |
527 | 527 | then cf | |
528 | 528 | else throw("Strict value is not equal to itself.") | |
529 | 529 | } | |
530 | 530 | ||
531 | 531 | ||
532 | 532 | func cm (aw,cn,co,aP,aO,cp,cq) = { | |
533 | 533 | let aG = Address(fromBase58String(aw)) | |
534 | 534 | let cr = 1000000 | |
535 | 535 | let cs = getIntegerValue(aG, t) | |
536 | 536 | let ct = fraction(cp, cr, (cr - cs), CEILING) | |
537 | 537 | let cu = if ((cq == cn)) | |
538 | 538 | then { | |
539 | 539 | let cv = fraction(ct, aO, (aP - ct), CEILING) | |
540 | 540 | $Tuple2(cv, co) | |
541 | 541 | } | |
542 | 542 | else { | |
543 | 543 | let cv = fraction(ct, aP, (aO - ct), CEILING) | |
544 | 544 | $Tuple2(cv, cn) | |
545 | 545 | } | |
546 | 546 | let cv = cu._1 | |
547 | 547 | let cw = cu._2 | |
548 | 548 | $Tuple2(cw, cv) | |
549 | 549 | } | |
550 | 550 | ||
551 | 551 | ||
552 | 552 | func cx (aw,cn,co,aP,aO,cp,cq) = { | |
553 | 553 | let cy = getIntegerValue(aj, "%s__protocolFee") | |
554 | 554 | let cz = getIntegerValue(aj, "%s__poolFee") | |
555 | 555 | let cA = toBigInt(100000000) | |
556 | 556 | let cB = if ((cq == cn)) | |
557 | 557 | then { | |
558 | 558 | let cv = fraction(cp, aO, (aP - cp)) | |
559 | 559 | $Tuple2(cv, co) | |
560 | 560 | } | |
561 | 561 | else { | |
562 | 562 | let cv = fraction(cp, aP, (aO - cp)) | |
563 | 563 | $Tuple2(cv, cn) | |
564 | 564 | } | |
565 | 565 | let cv = cB._1 | |
566 | 566 | let cw = cB._2 | |
567 | 567 | let cC = toInt(fraction(toBigInt(cv), cA, (cA - toBigInt((cy + cz))), CEILING)) | |
568 | 568 | $Tuple2(cw, cC) | |
569 | 569 | } | |
570 | 570 | ||
571 | 571 | ||
572 | 572 | func cD (by,aw,cn,co,aP,aO,cp,cq) = if ((by == a)) | |
573 | 573 | then { | |
574 | 574 | let cE = cm(aw, cn, co, aP, aO, cp, cq) | |
575 | 575 | let cw = cE._1 | |
576 | 576 | let cv = cE._2 | |
577 | 577 | invoke(addressFromStringValue(aw), "callFunction", ["exchange", [toString(cp)]], [AttachedPayment(bh(cw), cv)]) | |
578 | 578 | } | |
579 | 579 | else if ((by == b)) | |
580 | 580 | then { | |
581 | 581 | let cF = cx(aw, cn, co, aP, aO, cp, cq) | |
582 | 582 | let cw = cF._1 | |
583 | 583 | let cv = cF._2 | |
584 | 584 | invoke(aj, "swap", [cp, cq, toString(this)], [AttachedPayment(bh(cw), cv)]) | |
585 | 585 | } | |
586 | 586 | else am() | |
587 | 587 | ||
588 | 588 | ||
589 | 589 | func cG (aG,by,aS,cH) = { | |
590 | 590 | let cI = if ((by == a)) | |
591 | 591 | then { | |
592 | 592 | let cl = { | |
593 | 593 | let aK = invoke(aG, "callFunction", ["withdrawREADONLY", [toString(cH)]], nil) | |
594 | - | if ($isInstanceOf(aK, " | |
594 | + | if ($isInstanceOf(aK, "List[Any]")) | |
595 | 595 | then aK | |
596 | - | else throw(($getType(aK) + " couldn't be cast to | |
596 | + | else throw(($getType(aK) + " couldn't be cast to List[Any]")) | |
597 | 597 | } | |
598 | 598 | if ((cl == cl)) | |
599 | - | then $Tuple2(cl._1, cl._2) | |
599 | + | then $Tuple2({ | |
600 | + | let aK = cl[0] | |
601 | + | if ($isInstanceOf(aK, "Int")) | |
602 | + | then aK | |
603 | + | else throw(($getType(aK) + " couldn't be cast to Int")) | |
604 | + | }, { | |
605 | + | let aK = cl[1] | |
606 | + | if ($isInstanceOf(aK, "Int")) | |
607 | + | then aK | |
608 | + | else throw(($getType(aK) + " couldn't be cast to Int")) | |
609 | + | }) | |
600 | 610 | else throw("Strict value is not equal to itself.") | |
601 | 611 | } | |
602 | 612 | else if ((by == b)) | |
603 | 613 | then { | |
604 | 614 | let cl = split({ | |
605 | 615 | let aK = invoke(aG, "evaluateGetREADONLY", [aS, cH], nil) | |
606 | 616 | if ($isInstanceOf(aK, "String")) | |
607 | 617 | then aK | |
608 | 618 | else throw(($getType(aK) + " couldn't be cast to String")) | |
609 | 619 | }, "__") | |
610 | 620 | if ((cl == cl)) | |
611 | 621 | then $Tuple2(parseIntValue(cl[1]), parseIntValue(cl[2])) | |
612 | 622 | else throw("Strict value is not equal to itself.") | |
613 | 623 | } | |
614 | 624 | else am() | |
615 | 625 | let cJ = cI._1 | |
616 | 626 | let cK = cI._2 | |
617 | 627 | $Tuple2(cJ, cK) | |
618 | 628 | } | |
619 | 629 | ||
620 | 630 | ||
621 | 631 | func cL (by,aw) = if ((by == a)) | |
622 | 632 | then { | |
623 | 633 | let cM = aA(ak) | |
624 | 634 | if ((cM == cM)) | |
625 | 635 | then { | |
626 | 636 | let cl = invoke(bc(), "claim", [aw], nil) | |
627 | 637 | if ((cl == cl)) | |
628 | 638 | then { | |
629 | 639 | let cN = aA(ak) | |
630 | 640 | $Tuple2((cN - cM), ak) | |
631 | 641 | } | |
632 | 642 | else throw("Strict value is not equal to itself.") | |
633 | 643 | } | |
634 | 644 | else throw("Strict value is not equal to itself.") | |
635 | 645 | } | |
636 | 646 | else if ((by == b)) | |
637 | 647 | then { | |
638 | 648 | let cM = aA(al) | |
639 | 649 | if ((cM == cM)) | |
640 | 650 | then { | |
641 | 651 | let cl = invoke(bd(Address(fromBase58String(aw))), "claimWX", [aw], nil) | |
642 | 652 | if ((cl == cl)) | |
643 | 653 | then { | |
644 | 654 | let cN = aA(al) | |
645 | 655 | $Tuple2((cN - cM), al) | |
646 | 656 | } | |
647 | 657 | else throw("Strict value is not equal to itself.") | |
648 | 658 | } | |
649 | 659 | else throw("Strict value is not equal to itself.") | |
650 | 660 | } | |
651 | 661 | else am() | |
652 | 662 | ||
653 | 663 | ||
654 | 664 | func cO (by,aw,bb,bR,aI,bS,aJ,aP,aO,cP) = { | |
655 | 665 | let cQ = aA(fromBase58String(cP)) | |
656 | 666 | if ((cQ == cQ)) | |
657 | 667 | then { | |
658 | 668 | let aG = addressFromStringValue(aw) | |
659 | 669 | let cR = if (if ((bR > 0)) | |
660 | 670 | then (bS > 0) | |
661 | 671 | else false) | |
662 | 672 | then { | |
663 | 673 | let cS = bQ(by, aG, bR, aI, bS, aJ, aP, aO) | |
664 | 674 | let cT = cS._1 | |
665 | 675 | let cU = cS._2 | |
666 | 676 | let cV = cS._3 | |
667 | 677 | let cW = cS._4 | |
668 | 678 | let cl = ca(aG, by, cT, aI, cU, aJ) | |
669 | 679 | if ((cl == cl)) | |
670 | 680 | then $Tuple2(cV, cW) | |
671 | 681 | else throw("Strict value is not equal to itself.") | |
672 | 682 | } | |
673 | 683 | else if ((bR > 0)) | |
674 | 684 | then $Tuple2(bR, aI) | |
675 | 685 | else if ((bS > 0)) | |
676 | 686 | then $Tuple2(bS, aJ) | |
677 | 687 | else throw("pmts must be > 0") | |
678 | 688 | let cV = cR._1 | |
679 | 689 | let cW = cR._2 | |
680 | 690 | let cl = if ((cV > 0)) | |
681 | 691 | then cc(aG, by, cV, cW) | |
682 | 692 | else nil | |
683 | 693 | if ((cl == cl)) | |
684 | 694 | then { | |
685 | 695 | let cX = aA(fromBase58String(cP)) | |
686 | 696 | let cY = (cX - cQ) | |
687 | 697 | let cZ = fraction(cY, ba(aw, bb), m) | |
688 | 698 | let da = (cY - cZ) | |
689 | 699 | if ((0 >= da)) | |
690 | 700 | then throw("amount of staked sharetokens must be > 0") | |
691 | 701 | else { | |
692 | 702 | let db = ce(aw, by, cP, da) | |
693 | 703 | if ((db == db)) | |
694 | 704 | then $Tuple2(da, cZ) | |
695 | 705 | else throw("Strict value is not equal to itself.") | |
696 | 706 | } | |
697 | 707 | } | |
698 | 708 | else throw("Strict value is not equal to itself.") | |
699 | 709 | } | |
700 | 710 | else throw("Strict value is not equal to itself.") | |
701 | 711 | } | |
702 | 712 | ||
703 | 713 | ||
704 | 714 | func dc (aw,aZ,dd,cZ,de,aS,ax,df) = { | |
705 | 715 | let dg = aW(aw) | |
706 | 716 | let dh = aX(aw) | |
707 | 717 | let di = if (df) | |
708 | 718 | then $Tuple2(getIntegerValue(this, (aw + C)), (dh + dd)) | |
709 | 719 | else $Tuple2(getIntegerValue(this, (aw + D)), dh) | |
710 | 720 | let dj = di._1 | |
711 | 721 | let dk = di._2 | |
712 | 722 | [IntegerEntry((aw + A), (dg + dd)), IntegerEntry((aw + B), dk), IntegerEntry((((((aw + "_") + aZ) + "_") + toString(de)) + u), dd), IntegerEntry((((((aw + "_") + aZ) + "_") + toString(de)) + z), dj), StringEntry((((aZ + "_") + toString(de)) + v), aw), IntegerEntry((aZ + y), de), ScriptTransfer(ag, cZ, fromBase58String(aS))] | |
713 | 723 | } | |
714 | 724 | ||
715 | 725 | ||
716 | 726 | func dl (dm,dn,do,dp,dq,dr,ds,dt,du,dv) = { | |
717 | 727 | let dw = aA(bh(dm)) | |
718 | 728 | if ((dw == dw)) | |
719 | 729 | then { | |
720 | 730 | let cl = invoke(ah, "swap", [dp, dq, dr, ds, dt, du, dv], [AttachedPayment(do, dn)]) | |
721 | 731 | if ((cl == cl)) | |
722 | 732 | then (aA(bh(dm)) - dw) | |
723 | 733 | else throw("Strict value is not equal to itself.") | |
724 | 734 | } | |
725 | 735 | else throw("Strict value is not equal to itself.") | |
726 | 736 | } | |
727 | 737 | ||
728 | 738 | ||
729 | 739 | func dx (dm,dn,do,dy,dz,dv) = { | |
730 | 740 | let dw = aA(bh(dm)) | |
731 | 741 | if ((dw == dw)) | |
732 | 742 | then { | |
733 | 743 | let cl = invoke(ah, "puzzleSwap", [dy, dz, dv], [AttachedPayment(do, dn)]) | |
734 | 744 | if ((cl == cl)) | |
735 | 745 | then (aA(bh(dm)) - dw) | |
736 | 746 | else throw("Strict value is not equal to itself.") | |
737 | 747 | } | |
738 | 748 | else throw("Strict value is not equal to itself.") | |
739 | 749 | } | |
740 | 750 | ||
741 | 751 | ||
742 | 752 | func dA (dm,dn,do,dB,dC,dD,dE,dF,dG,dv) = { | |
743 | 753 | let dw = aA(bh(dm)) | |
744 | 754 | if ((dw == dw)) | |
745 | 755 | then { | |
746 | 756 | let cl = invoke(ah, "swopfiSwap", [dB, dC, dD, dE, dF, dG, dv], [AttachedPayment(do, dn)]) | |
747 | 757 | if ((cl == cl)) | |
748 | 758 | then (aA(bh(dm)) - dw) | |
749 | 759 | else throw("Strict value is not equal to itself.") | |
750 | 760 | } | |
751 | 761 | else throw("Strict value is not equal to itself.") | |
752 | 762 | } | |
753 | 763 | ||
754 | 764 | ||
755 | 765 | func dH (aw,by,dI,dJ) = { | |
756 | 766 | let aG = Address(fromBase58String(aw)) | |
757 | 767 | let dK = aU(aG, by) | |
758 | 768 | let dL = dK._1 | |
759 | 769 | let dM = dK._2 | |
760 | 770 | let aP = dK._3 | |
761 | 771 | let aO = dK._4 | |
762 | 772 | let aS = dK._5 | |
763 | 773 | if (if ((dI != dL)) | |
764 | 774 | then (dI != dM) | |
765 | 775 | else false) | |
766 | 776 | then throw("Wrong asset") | |
767 | 777 | else { | |
768 | 778 | let dN = if ((dI == dL)) | |
769 | 779 | then $Tuple2(dJ, 0) | |
770 | 780 | else $Tuple2(0, dJ) | |
771 | 781 | let bR = dN._1 | |
772 | 782 | let bS = dN._2 | |
773 | 783 | let dO = cO(by, aw, i, bR, dL, bS, dM, aP, aO, aS) | |
774 | 784 | let dd = dO._1 | |
775 | 785 | let dP = dO._2 | |
776 | 786 | let dQ = valueOrElse(getInteger(this, (aw + C)), 0) | |
777 | 787 | let dR = valueOrElse(getInteger(this, (aw + D)), 0) | |
778 | 788 | let dS = aW(aw) | |
779 | 789 | let dT = aX(aw) | |
780 | 790 | let dU = fraction(dT, j, dS) | |
781 | 791 | let dV = fraction(dd, dU, j) | |
782 | 792 | let dW = (dd - dV) | |
783 | 793 | let dX = if ((dT > 0)) | |
784 | 794 | then (dQ + fraction(dV, k, dT)) | |
785 | 795 | else 0 | |
786 | 796 | let dY = if (((dS - dT) > 0)) | |
787 | 797 | then (dR + fraction(dW, k, (dS - dT))) | |
788 | 798 | else 0 | |
789 | 799 | let dZ = fraction(dV, ba(aw, d), m) | |
790 | 800 | let ea = fraction(dW, ba(aw, c), m) | |
791 | 801 | let eb = cg(aw, by, aS, (dZ + ea)) | |
792 | 802 | if ((eb == eb)) | |
793 | 803 | then ([IntegerEntry((aw + C), dX), IntegerEntry((aw + D), dY), IntegerEntry((aw + A), ((dS + dd) - eb)), IntegerEntry((aw + B), ((dT + dV) - dZ)), ScriptTransfer(ag, (dZ + ea), fromBase58String(aS))] ++ bL(dL, dM, aS, nil)) | |
794 | 804 | else throw("Strict value is not equal to itself.") | |
795 | 805 | } | |
796 | 806 | } | |
797 | 807 | ||
798 | 808 | ||
799 | 809 | func ec (aw,cH,ed,ee,ef) = { | |
800 | 810 | let aG = Address(fromBase58String(aw)) | |
801 | 811 | let by = valueOrErrorMessage(getString(this, (N + aw)), "Unknown pool") | |
802 | 812 | let eg = aU(aG, by) | |
803 | 813 | let cn = eg._1 | |
804 | 814 | let co = eg._2 | |
805 | 815 | let aP = eg._3 | |
806 | 816 | let aO = eg._4 | |
807 | 817 | let aS = eg._5 | |
808 | 818 | let eh = aA(bh(cn)) | |
809 | 819 | if ((eh == eh)) | |
810 | 820 | then { | |
811 | 821 | let ei = aA(bh(co)) | |
812 | 822 | if ((ei == ei)) | |
813 | 823 | then { | |
814 | 824 | let cl = if ((by == a)) | |
815 | 825 | then { | |
816 | 826 | let cl = cg(aw, by, aS, ef) | |
817 | 827 | if ((cl == cl)) | |
818 | 828 | then invoke(aG, "callFunction", ["withdraw", [toString(cH)]], nil) | |
819 | 829 | else throw("Strict value is not equal to itself.") | |
820 | 830 | } | |
821 | 831 | else if ((by == b)) | |
822 | 832 | then { | |
823 | 833 | let cl = cg(aw, by, aS, (cH + ef)) | |
824 | 834 | if ((cl == cl)) | |
825 | 835 | then invoke(aG, "get", nil, [AttachedPayment(bh(aS), cH)]) | |
826 | 836 | else throw("Strict value is not equal to itself.") | |
827 | 837 | } | |
828 | 838 | else am() | |
829 | 839 | if ((cl == cl)) | |
830 | 840 | then { | |
831 | 841 | let ej = aA(bh(cn)) | |
832 | 842 | let ek = aA(bh(co)) | |
833 | 843 | let el = $Tuple2((ej - eh), (ek - ei)) | |
834 | 844 | let em = el._1 | |
835 | 845 | let en = el._2 | |
836 | 846 | let eo = if ((ed > 0)) | |
837 | 847 | then { | |
838 | 848 | let ep = if (if ((ee == cn)) | |
839 | 849 | then (ed > em) | |
840 | 850 | else false) | |
841 | 851 | then (ed - em) | |
842 | 852 | else if (if ((ee == co)) | |
843 | 853 | then (ed > en) | |
844 | 854 | else false) | |
845 | 855 | then (ed - en) | |
846 | 856 | else 0 | |
847 | 857 | let eq = if ((ep > 0)) | |
848 | 858 | then cD(by, aw, cn, co, (aP - em), (aO - en), ep, ee) | |
849 | 859 | else nil | |
850 | 860 | if ((eq == eq)) | |
851 | 861 | then { | |
852 | 862 | let er = aA(bh(cn)) | |
853 | 863 | let es = aA(bh(co)) | |
854 | 864 | if ((ee == cn)) | |
855 | 865 | then $Tuple2(((er - eh) - ed), (es - ei)) | |
856 | 866 | else $Tuple2((er - eh), ((es - ei) - ed)) | |
857 | 867 | } | |
858 | 868 | else throw("Strict value is not equal to itself.") | |
859 | 869 | } | |
860 | 870 | else $Tuple2(em, en) | |
861 | 871 | let et = eo._1 | |
862 | 872 | let eu = eo._2 | |
863 | 873 | $Tuple5(et, cn, eu, co, aS) | |
864 | 874 | } | |
865 | 875 | else throw("Strict value is not equal to itself.") | |
866 | 876 | } | |
867 | 877 | else throw("Strict value is not equal to itself.") | |
868 | 878 | } | |
869 | 879 | else throw("Strict value is not equal to itself.") | |
870 | 880 | } | |
871 | 881 | ||
872 | 882 | ||
873 | 883 | func ev (aZ,aw,ew,ex) = { | |
874 | 884 | let ey = valueOrErrorMessage(getInteger(this, (((((aw + "_") + aZ) + "_") + ew) + u)), "Unknown position") | |
875 | 885 | let ez = getIntegerValue(this, (((((aw + "_") + aZ) + "_") + ew) + z)) | |
876 | 886 | let eA = if (ex) | |
877 | 887 | then getIntegerValue(this, (aw + C)) | |
878 | 888 | else getIntegerValue(this, (aw + D)) | |
879 | 889 | (ey + fraction(ey, (eA - ez), k)) | |
880 | 890 | } | |
881 | 891 | ||
882 | 892 | ||
883 | 893 | func eB (aZ,aw,ew,eC) = { | |
884 | 894 | let ey = valueOrErrorMessage(getInteger(this, (((((aw + "_") + aZ) + "_") + ew) + u)), "Unknown position") | |
885 | 895 | let eD = valueOrElse(getInteger(this, (((((aw + "_") + aZ) + "_") + ew) + w)), 0) | |
886 | 896 | let cH = ev(aZ, aw, ew, (eD > 0)) | |
887 | 897 | let eE = aW(aw) | |
888 | 898 | let eF = Address(fromBase58String(aZ)) | |
889 | 899 | let ee = valueOrElse(getString(this, (((((aw + "_") + aZ) + "_") + ew) + x)), "") | |
890 | 900 | let eG = if ((eD > 0)) | |
891 | 901 | then $Tuple2({ | |
892 | 902 | let aK = invoke(an(), "getAssetDebt", [false, ((aZ + "_") + ew), ee], nil) | |
893 | 903 | if ($isInstanceOf(aK, "Int")) | |
894 | 904 | then aK | |
895 | 905 | else throw(($getType(aK) + " couldn't be cast to Int")) | |
896 | 906 | }, f) | |
897 | 907 | else $Tuple2(0, e) | |
898 | 908 | let ed = eG._1 | |
899 | 909 | let bb = eG._2 | |
900 | 910 | let ef = if (eC) | |
901 | 911 | then fraction(cH, ba(aw, bb), m) | |
902 | 912 | else 0 | |
903 | 913 | let eH = ec(aw, (cH - ef), ed, ee, ef) | |
904 | 914 | if ((eH == eH)) | |
905 | 915 | then { | |
906 | 916 | let aS = eH._5 | |
907 | 917 | let co = eH._4 | |
908 | 918 | let eI = eH._3 | |
909 | 919 | let cn = eH._2 | |
910 | 920 | let eJ = eH._1 | |
911 | 921 | let eK = if ((ed > 0)) | |
912 | 922 | then invoke(an(), "repayFor", [((aZ + "_") + ew)], [AttachedPayment(bh(ee), ed)]) | |
913 | 923 | else 0 | |
914 | 924 | if ((eK == eK)) | |
915 | - | then ([DeleteEntry((((((aw + "_") + aZ) + "_") + ew) + u)), DeleteEntry((((aZ + "_") + ew) + v)), DeleteEntry((((((aw + "_") + aZ) + "_") + ew) + w)), DeleteEntry((((((aw + "_") + aZ) + "_") + ew) + x)), DeleteEntry((((((aw + "_") + aZ) + "_") + ew) + z)), IntegerEntry((aw + A), ((eE - cH) - ef)), ScriptTransfer(eF, eJ, bh(cn)), ScriptTransfer(eF, eI, bh(co)), ScriptTransfer(ag, ef, fromBase58String(aS))] ++ bL(cn, co, aS, nil)) | |
925 | + | then { | |
926 | + | let eL = ([DeleteEntry((((((aw + "_") + aZ) + "_") + ew) + u)), DeleteEntry((((aZ + "_") + ew) + v)), DeleteEntry((((((aw + "_") + aZ) + "_") + ew) + w)), DeleteEntry((((((aw + "_") + aZ) + "_") + ew) + x)), DeleteEntry((((((aw + "_") + aZ) + "_") + ew) + z)), IntegerEntry((aw + A), ((eE - cH) - ef)), ScriptTransfer(eF, eJ, bh(cn)), ScriptTransfer(eF, eI, bh(co)), ScriptTransfer(ag, ef, fromBase58String(aS))] ++ bL(cn, co, aS, nil)) | |
927 | + | $Tuple2(eL, [eJ, eI]) | |
928 | + | } | |
916 | 929 | else throw("Strict value is not equal to itself.") | |
917 | 930 | } | |
918 | 931 | else throw("Strict value is not equal to itself.") | |
919 | 932 | } | |
920 | 933 | ||
921 | 934 | ||
922 | - | func | |
923 | - | let | |
924 | - | let aZ = | |
925 | - | let aw = | |
926 | - | let bR = parseIntValue( | |
927 | - | let dL = | |
928 | - | let bS = parseIntValue( | |
929 | - | let dM = | |
930 | - | let aP = parseIntValue( | |
931 | - | let aO = parseIntValue( | |
932 | - | let aS = | |
933 | - | let | |
934 | - | let | |
935 | - | $Tuple11(aZ, aw, bR, dL, bS, dM, aP, aO, aS, | |
935 | + | func eM (eN) = { | |
936 | + | let eO = split(valueOrErrorMessage(getString(this, (eN + L)), ("No request with id " + eN)), ",") | |
937 | + | let aZ = eO[0] | |
938 | + | let aw = eO[1] | |
939 | + | let bR = parseIntValue(eO[2]) | |
940 | + | let dL = eO[3] | |
941 | + | let bS = parseIntValue(eO[4]) | |
942 | + | let dM = eO[5] | |
943 | + | let aP = parseIntValue(eO[6]) | |
944 | + | let aO = parseIntValue(eO[7]) | |
945 | + | let aS = eO[8] | |
946 | + | let eP = eO[9] | |
947 | + | let eQ = parseIntValue(eO[10]) | |
948 | + | $Tuple11(aZ, aw, bR, dL, bS, dM, aP, aO, aS, eP, eQ) | |
936 | 949 | } | |
937 | 950 | ||
938 | 951 | ||
939 | - | func | |
940 | - | then ( | |
952 | + | func eR (bR,bS,aI,aJ,eS,eT) = if (if ((eT != aI)) | |
953 | + | then (eT != aJ) | |
941 | 954 | else false) | |
942 | 955 | then throw("Wrong borrow asset") | |
943 | 956 | else { | |
944 | 957 | let bC = getIntegerValue(ai, (aI + R)) | |
945 | 958 | let bD = getIntegerValue(ai, (aJ + R)) | |
946 | - | let | |
947 | - | let | |
948 | - | let | |
949 | - | let | |
950 | - | then $Tuple2(bC, | |
951 | - | else $Tuple2(bD, | |
952 | - | let | |
953 | - | let | |
954 | - | fraction(fraction( | |
959 | + | let eU = pow(10, 0, bi(aI), 0, 0, DOWN) | |
960 | + | let eV = pow(10, 0, bi(aJ), 0, 0, DOWN) | |
961 | + | let eW = (fraction(bC, bR, eU) + fraction(bD, bS, eV)) | |
962 | + | let eX = if ((eT == aI)) | |
963 | + | then $Tuple2(bC, eU) | |
964 | + | else $Tuple2(bD, eV) | |
965 | + | let eY = eX._1 | |
966 | + | let eZ = eX._2 | |
967 | + | fraction(fraction(eW, (eS - 100), 100), eZ, eY) | |
955 | 968 | } | |
956 | 969 | ||
957 | 970 | ||
958 | - | func | |
959 | - | then if ((bg( | |
971 | + | func fa (fb,dL,dM) = if ((size(fb) == 2)) | |
972 | + | then if ((bg(fb[0].assetId) != dL)) | |
960 | 973 | then throw("Wrong payment asset A") | |
961 | - | else if ((bg( | |
974 | + | else if ((bg(fb[1].assetId) != dM)) | |
962 | 975 | then throw("Wrong payment asset B") | |
963 | - | else $Tuple2( | |
964 | - | else if ((size( | |
965 | - | then if ((bg( | |
966 | - | then $Tuple2( | |
967 | - | else if ((bg( | |
968 | - | then $Tuple2(0, | |
976 | + | else $Tuple2(fb[0].amount, fb[1].amount) | |
977 | + | else if ((size(fb) == 1)) | |
978 | + | then if ((bg(fb[0].assetId) == dL)) | |
979 | + | then $Tuple2(fb[0].amount, 0) | |
980 | + | else if ((bg(fb[0].assetId) == dM)) | |
981 | + | then $Tuple2(0, fb[0].amount) | |
969 | 982 | else throw("Wrong payment") | |
970 | 983 | else throw("One or two payments expected") | |
971 | 984 | ||
972 | 985 | ||
973 | - | func | |
974 | - | let | |
975 | - | if ((0 > | |
976 | - | then ( | |
977 | - | else | |
986 | + | func fc (aP,aO,fd,fe) = { | |
987 | + | let ff = ((j - fraction(fraction(aO, j, aP), j, fraction(fe, j, fd))) * 100) | |
988 | + | if ((0 > ff)) | |
989 | + | then (ff * -1) | |
990 | + | else ff | |
978 | 991 | } | |
979 | 992 | ||
980 | 993 | ||
981 | - | func | |
982 | - | let | |
994 | + | func fg (aw,by,fh,fi,cV) = { | |
995 | + | let fj = if (fh) | |
983 | 996 | then cL(by, aw) | |
984 | 997 | else { | |
985 | - | let | |
998 | + | let fk = if ((by == a)) | |
986 | 999 | then ak | |
987 | 1000 | else if ((by == b)) | |
988 | 1001 | then al | |
989 | 1002 | else am() | |
990 | - | $Tuple2( | |
1003 | + | $Tuple2(fi, fk) | |
991 | 1004 | } | |
992 | - | let fk = fi._1 | |
993 | - | let fl = fi._2 | |
994 | - | if ((fh > (fk + cV))) | |
1005 | + | let fl = fj._1 | |
1006 | + | let fm = fj._2 | |
1007 | + | let fn = aA(fm) | |
1008 | + | if (if ((fi > (fl + cV))) | |
1009 | + | then true | |
1010 | + | else (fi > fn)) | |
995 | 1011 | then throw("To big amount to exchange") | |
996 | - | else $Tuple2( | |
1012 | + | else $Tuple2(fl, fm) | |
997 | 1013 | } | |
998 | 1014 | ||
999 | 1015 | ||
1000 | 1016 | @Callable(aq) | |
1001 | 1017 | func getShareAssetPriceREADONLY (aS) = { | |
1002 | - | let | |
1003 | - | $Tuple2(nil, | |
1018 | + | let fo = bx(aS) | |
1019 | + | $Tuple2(nil, fo) | |
1004 | 1020 | } | |
1005 | 1021 | ||
1006 | 1022 | ||
1007 | 1023 | ||
1008 | 1024 | @Callable(aq) | |
1009 | 1025 | func getUserPositionShareAmountREADONLY (aZ,de) = { | |
1010 | 1026 | let aw = valueOrErrorMessage(getString(this, (((aZ + "_") + de) + v)), "Unknown position") | |
1011 | 1027 | let eD = getIntegerValue(this, (((((aw + "_") + aZ) + "_") + de) + w)) | |
1012 | 1028 | let cH = ev(aZ, aw, de, (eD > 0)) | |
1013 | 1029 | $Tuple2(nil, cH) | |
1014 | 1030 | } | |
1015 | 1031 | ||
1016 | 1032 | ||
1017 | 1033 | ||
1018 | 1034 | @Callable(aq) | |
1019 | - | func getUserPositionInDollarsREADONLY (aZ,fn,de) = { | |
1020 | - | func fo (bo,aw) = { | |
1021 | - | let fp = bo | |
1022 | - | let fq = fp._1 | |
1023 | - | let fr = fp._2 | |
1024 | - | let fs = fp._3 | |
1035 | + | func getUserPositionREADONLY (aZ,fp,de) = { | |
1036 | + | func fq (bo,aw) = { | |
1037 | + | let fr = bo | |
1038 | + | let fs = fr._1 | |
1039 | + | let ft = fr._2 | |
1040 | + | let fu = fr._3 | |
1041 | + | let fv = fr._4 | |
1025 | 1042 | let by = valueOrErrorMessage(getString(this, (N + aw)), "Pool is not inited") | |
1026 | - | let | |
1027 | - | let dL = | |
1028 | - | let dM = | |
1029 | - | let aP = | |
1030 | - | let aO = | |
1031 | - | let aS = | |
1032 | - | let eD = valueOrElse(getInteger(this, (((((aw + "_") + aZ) + "_") + de[ | |
1033 | - | if (!(isDefined(getInteger(this, (((((aw + "_") + aZ) + "_") + de[ | |
1034 | - | then $Tuple3(( | |
1043 | + | let fw = aU(Address(fromBase58String(aw)), by) | |
1044 | + | let dL = fw._1 | |
1045 | + | let dM = fw._2 | |
1046 | + | let aP = fw._3 | |
1047 | + | let aO = fw._4 | |
1048 | + | let aS = fw._5 | |
1049 | + | let eD = valueOrElse(getInteger(this, (((((aw + "_") + aZ) + "_") + de[fv]) + w)), 0) | |
1050 | + | if (!(isDefined(getInteger(this, (((((aw + "_") + aZ) + "_") + de[fv]) + u))))) | |
1051 | + | then $Tuple3((fs :+ 0), (ft :+ 0), (fv + 1)) | |
1035 | 1052 | else { | |
1036 | - | let cH = ev(aZ, aw, de[fs], (eD > 0)) | |
1037 | - | let fm = bx(aS) | |
1038 | - | let fu = pow(10, 0, bi(aS), 0, 0, DOWN) | |
1039 | - | let fv = fraction(cH, fm, fu) | |
1040 | - | if ((eD == 0)) | |
1041 | - | then $Tuple3((fq :+ fv), (fr :+ 0), (fs + 1)) | |
1042 | - | else { | |
1043 | - | let ee = getStringValue(this, (((((aw + "_") + aZ) + "_") + de[fs]) + x)) | |
1053 | + | let cH = ev(aZ, aw, de[fv], (eD > 0)) | |
1054 | + | let fx = cG(Address(fromBase58String(aw)), by, aS, cH) | |
1055 | + | let fy = fx._1 | |
1056 | + | let fz = fx._2 | |
1057 | + | if ((eD > 0)) | |
1058 | + | then { | |
1059 | + | let ee = getStringValue(this, (((((aw + "_") + aZ) + "_") + de[fv]) + x)) | |
1044 | 1060 | let ed = { | |
1045 | - | let aK = invoke(an(), "getAssetDebt", [false, ((aZ + "_") + de[ | |
1061 | + | let aK = invoke(an(), "getAssetDebt", [false, ((aZ + "_") + de[fv]), ee], nil) | |
1046 | 1062 | if ($isInstanceOf(aK, "Int")) | |
1047 | 1063 | then aK | |
1048 | 1064 | else throw(($getType(aK) + " couldn't be cast to Int")) | |
1049 | 1065 | } | |
1050 | - | let fw = getIntegerValue(ai, (ee + R)) | |
1051 | - | let fx = pow(10, 0, bi(ee), 0, 0, DOWN) | |
1052 | - | let fy = fraction(ed, fw, fx) | |
1053 | - | $Tuple3((fq :+ fv), (fr :+ fy), (fs + 1)) | |
1066 | + | if ((ed == ed)) | |
1067 | + | then $Tuple4((fs :+ fy), (ft :+ fz), (fu :+ ed), (fv + 1)) | |
1068 | + | else throw("Strict value is not equal to itself.") | |
1054 | 1069 | } | |
1070 | + | else $Tuple3((fs :+ fy), (ft :+ fz), (fv + 1)) | |
1055 | 1071 | } | |
1056 | 1072 | } | |
1057 | 1073 | ||
1058 | - | let | |
1059 | - | let bq = | |
1074 | + | let fA = { | |
1075 | + | let bq = fp | |
1060 | 1076 | let br = size(bq) | |
1061 | - | let bs = $ | |
1077 | + | let bs = $Tuple4(nil, nil, nil, 0) | |
1062 | 1078 | func bt (bu,bv) = if ((bv >= br)) | |
1063 | 1079 | then bu | |
1064 | - | else | |
1080 | + | else fq(bu, bq[bv]) | |
1065 | 1081 | ||
1066 | 1082 | func bw (bu,bv) = if ((bv >= br)) | |
1067 | 1083 | then bu | |
1068 | 1084 | else throw("List size exceeds 20") | |
1069 | 1085 | ||
1070 | 1086 | bw(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bt(bs, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20) | |
1071 | 1087 | } | |
1072 | - | let fA = fz._1 | |
1073 | - | let ed = fz._2 | |
1074 | - | $Tuple2(nil, $Tuple2(fA, ed)) | |
1088 | + | let fs = fA._1 | |
1089 | + | let ft = fA._2 | |
1090 | + | let fu = fA._3 | |
1091 | + | $Tuple2(nil, $Tuple3(fs, ft, fu)) | |
1075 | 1092 | } | |
1076 | 1093 | ||
1077 | 1094 | ||
1078 | 1095 | ||
1079 | 1096 | @Callable(aq) | |
1080 | - | func replenish (aw, | |
1097 | + | func replenish (aw,eS,eT) = valueOrElse(au(), if (if ((100 > eS)) | |
1081 | 1098 | then true | |
1082 | - | else ( | |
1099 | + | else (eS > 300)) | |
1083 | 1100 | then throw("Leverage can't be <100 and >300") | |
1084 | 1101 | else if (if (!(getBooleanValue(this, (aw + E)))) | |
1085 | - | then ( | |
1102 | + | then (eS > 100) | |
1086 | 1103 | else false) | |
1087 | 1104 | then throw("You can't borrow in this pool") | |
1088 | 1105 | else { | |
1089 | 1106 | let by = valueOrErrorMessage(getString(this, (N + aw)), "Pool is not inited") | |
1090 | 1107 | let fB = aU(Address(fromBase58String(aw)), by) | |
1091 | 1108 | let dL = fB._1 | |
1092 | 1109 | let dM = fB._2 | |
1093 | 1110 | let aP = fB._3 | |
1094 | 1111 | let aO = fB._4 | |
1095 | 1112 | let aS = fB._5 | |
1096 | - | if (if (( | |
1097 | - | then ( | |
1113 | + | if (if ((eT != dL)) | |
1114 | + | then (eT != dM) | |
1098 | 1115 | else false) | |
1099 | 1116 | then throw("Wrong borrow asset") | |
1100 | 1117 | else { | |
1101 | - | let fC = | |
1118 | + | let fC = fa(aq.payments, dL, dM) | |
1102 | 1119 | let bR = fC._1 | |
1103 | 1120 | let bS = fC._2 | |
1104 | 1121 | let aZ = toString(aq.caller) | |
1105 | 1122 | let fD = aY(aZ) | |
1106 | - | if (( | |
1123 | + | if ((eS > 100)) | |
1107 | 1124 | then { | |
1108 | - | let eD = | |
1109 | - | let | |
1125 | + | let eD = eR(bR, bS, dL, dM, eS, eT) | |
1126 | + | let eO = makeString([aZ, aw, toString(bR), dL, toString(bS), dM, toString(aP), toString(aO), aS, eT, toString(eD)], ",") | |
1110 | 1127 | let fE = { | |
1111 | - | let aK = invoke(this, "createNewRequest", [ | |
1128 | + | let aK = invoke(this, "createNewRequest", [eO], nil) | |
1112 | 1129 | if ($isInstanceOf(aK, "Int")) | |
1113 | 1130 | then aK | |
1114 | 1131 | else throw(($getType(aK) + " couldn't be cast to Int")) | |
1115 | 1132 | } | |
1116 | 1133 | if ((fE == fE)) | |
1117 | 1134 | then { | |
1118 | - | let fF = [((aZ + "_") + toString(fD)), aS, | |
1135 | + | let fF = [((aZ + "_") + toString(fD)), aS, eT, eD, toString(this), "replenishFromLand", toString(valueOrErrorMessage(fE, "Can't create new request"))] | |
1119 | 1136 | let cl = reentrantInvoke(an(), "flashPosition", fF, nil) | |
1120 | 1137 | if ((cl == cl)) | |
1121 | 1138 | then { | |
1122 | 1139 | let fG = getIntegerValue(this, (((((aw + "_") + aZ) + "_") + toString(fD)) + u)) | |
1123 | 1140 | let fH = aL(Address(fromBase58String(aw)), by, dL, dM) | |
1124 | 1141 | if ((fH == fH)) | |
1125 | 1142 | then { | |
1126 | - | let | |
1127 | - | let | |
1128 | - | let fI = | |
1143 | + | let fe = fH._2 | |
1144 | + | let fd = fH._1 | |
1145 | + | let fI = fc(aP, aO, fd, fe) | |
1129 | 1146 | let fJ = cG(Address(fromBase58String(aw)), by, aS, fG) | |
1130 | - | let | |
1131 | - | let | |
1132 | - | $Tuple2(nil, [fI, | |
1147 | + | let fy = fJ._1 | |
1148 | + | let fz = fJ._2 | |
1149 | + | $Tuple2(nil, [fI, fy, fz]) | |
1133 | 1150 | } | |
1134 | 1151 | else throw("Strict value is not equal to itself.") | |
1135 | 1152 | } | |
1136 | 1153 | else throw("Strict value is not equal to itself.") | |
1137 | 1154 | } | |
1138 | 1155 | else throw("Strict value is not equal to itself.") | |
1139 | 1156 | } | |
1140 | 1157 | else { | |
1141 | - | let | |
1142 | - | if (( | |
1158 | + | let fK = cO(by, aw, h, bR, dL, bS, dM, aP, aO, aS) | |
1159 | + | if ((fK == fK)) | |
1143 | 1160 | then { | |
1144 | - | let eb = | |
1145 | - | let fG = | |
1146 | - | let | |
1147 | - | if (( | |
1161 | + | let eb = fK._2 | |
1162 | + | let fG = fK._1 | |
1163 | + | let fL = aL(Address(fromBase58String(aw)), by, dL, dM) | |
1164 | + | if ((fL == fL)) | |
1148 | 1165 | then { | |
1149 | - | let | |
1150 | - | let | |
1151 | - | let fI = | |
1152 | - | let | |
1153 | - | let | |
1154 | - | let | |
1155 | - | $Tuple2((dc(aw, aZ, fG, eb, fD, aS, by, false) ++ bL(dL, dM, aS, [toString( | |
1166 | + | let fe = fL._2 | |
1167 | + | let fd = fL._1 | |
1168 | + | let fI = fc(aP, aO, fd, fe) | |
1169 | + | let fM = cG(Address(fromBase58String(aw)), by, aS, fG) | |
1170 | + | let fy = fM._1 | |
1171 | + | let fz = fM._2 | |
1172 | + | $Tuple2((dc(aw, aZ, fG, eb, fD, aS, by, false) ++ bL(dL, dM, aS, [toString(fy), toString(fz)])), [fI, fy, fz]) | |
1156 | 1173 | } | |
1157 | 1174 | else throw("Strict value is not equal to itself.") | |
1158 | 1175 | } | |
1159 | 1176 | else throw("Strict value is not equal to itself.") | |
1160 | 1177 | } | |
1161 | 1178 | } | |
1162 | 1179 | }) | |
1163 | 1180 | ||
1164 | 1181 | ||
1165 | 1182 | ||
1166 | 1183 | @Callable(aq) | |
1167 | 1184 | func withdraw (aw,ew) = valueOrElse(au(), eB(toString(aq.caller), aw, toString(ew), false)) | |
1168 | 1185 | ||
1169 | 1186 | ||
1170 | 1187 | ||
1171 | 1188 | @Callable(aq) | |
1172 | - | func createUpdateStopLoss (ew, | |
1173 | - | let | |
1174 | - | if (!(isDefined(getInteger(this, ((((( | |
1189 | + | func createUpdateStopLoss (ew,fN,aB,fO) = valueOrElse(au(), { | |
1190 | + | let fP = getIntegerValue(ai, (aB + R)) | |
1191 | + | if (!(isDefined(getInteger(this, (((((fN + "_") + toString(aq.caller)) + "_") + toString(ew)) + u))))) | |
1175 | 1192 | then throw("There are no user position") | |
1176 | - | else if ((0 >= | |
1193 | + | else if ((0 >= fO)) | |
1177 | 1194 | then throw("Price must be greater than 0") | |
1178 | - | else if (( | |
1195 | + | else if ((fO > fP)) | |
1179 | 1196 | then throw("Price must be less than current token price") | |
1180 | - | else [IntegerEntry((((((((toString(aq.caller) + "_") + toString(ew)) + "_") + | |
1197 | + | else [IntegerEntry((((((((toString(aq.caller) + "_") + toString(ew)) + "_") + fN) + "_") + aB) + W), fO)] | |
1181 | 1198 | }) | |
1182 | 1199 | ||
1183 | 1200 | ||
1184 | 1201 | ||
1185 | 1202 | @Callable(aq) | |
1186 | - | func deleteStopLoss (ew, | |
1203 | + | func deleteStopLoss (ew,fN,aB) = valueOrElse(au(), if (!(isDefined(getInteger(this, (((((((toString(aq.caller) + "_") + toString(ew)) + "_") + fN) + "_") + aB) + W))))) | |
1187 | 1204 | then throw("No entry") | |
1188 | - | else [DeleteEntry((((((((toString(aq.caller) + "_") + toString(ew)) + "_") + | |
1205 | + | else [DeleteEntry((((((((toString(aq.caller) + "_") + toString(ew)) + "_") + fN) + "_") + aB) + W))]) | |
1189 | 1206 | ||
1190 | 1207 | ||
1191 | 1208 | ||
1192 | 1209 | @Callable(aq) | |
1193 | - | func init (fS,fT,fU | |
1210 | + | func init (fQ,fR,fS,ai,fT,aj,fU,fV,fW) = if ((toString(aq.caller) != "3PG42y6FgT8zM3uX5tEDxJF5rqX8AKGJRAR")) | |
1194 | 1211 | then throw("Only admin can call this function") | |
1195 | 1212 | else if (isDefined(getString(aa))) | |
1196 | 1213 | then throw("Already inited") | |
1197 | - | else [StringEntry(X, | |
1214 | + | else [StringEntry(X, fQ), StringEntry(Y, fR), StringEntry(Z, fS), StringEntry(ab, ai), StringEntry(ac, fT), StringEntry(ad, aj), StringEntry(ae, fU), StringEntry(af, fV), StringEntry(aa, fW)] | |
1198 | 1215 | ||
1199 | 1216 | ||
1200 | 1217 | ||
1201 | 1218 | @Callable(aq) | |
1202 | 1219 | func createNewRequest (ck) = valueOrElse(ar(aq), { | |
1203 | 1220 | let fE = (valueOrElse(getInteger(this, M), 0) + 1) | |
1204 | 1221 | $Tuple2([StringEntry((toString(fE) + L), ck), IntegerEntry(M, fE)], fE) | |
1205 | 1222 | }) | |
1206 | 1223 | ||
1207 | 1224 | ||
1208 | 1225 | ||
1209 | 1226 | @Callable(aq) | |
1210 | - | func replenishFromLand ( | |
1211 | - | let | |
1212 | - | let aZ = | |
1213 | - | let aw = | |
1214 | - | let bR = | |
1215 | - | let dL = | |
1216 | - | let bS = | |
1217 | - | let dM = | |
1218 | - | let aP = | |
1219 | - | let aO = | |
1220 | - | let aS = | |
1221 | - | let | |
1222 | - | let | |
1227 | + | func replenishFromLand (eN) = valueOrElse(at(), valueOrElse(as(aq), { | |
1228 | + | let fX = eM(eN) | |
1229 | + | let aZ = fX._1 | |
1230 | + | let aw = fX._2 | |
1231 | + | let bR = fX._3 | |
1232 | + | let dL = fX._4 | |
1233 | + | let bS = fX._5 | |
1234 | + | let dM = fX._6 | |
1235 | + | let aP = fX._7 | |
1236 | + | let aO = fX._8 | |
1237 | + | let aS = fX._9 | |
1238 | + | let eP = fX._10 | |
1239 | + | let eQ = fX._11 | |
1223 | 1240 | if ((size(aq.payments) != 1)) | |
1224 | 1241 | then throw("Wrong payment size") | |
1225 | - | else if (if ((bg(aq.payments[0].assetId) != | |
1242 | + | else if (if ((bg(aq.payments[0].assetId) != eP)) | |
1226 | 1243 | then true | |
1227 | - | else (aq.payments[0].amount != | |
1244 | + | else (aq.payments[0].amount != eQ)) | |
1228 | 1245 | then throw("Wrong payment") | |
1229 | 1246 | else { | |
1230 | - | let | |
1231 | - | then $Tuple2((bR + | |
1232 | - | else $Tuple2(bR, (bS + | |
1233 | - | let | |
1234 | - | let | |
1247 | + | let fY = if ((dL == eP)) | |
1248 | + | then $Tuple2((bR + eQ), bS) | |
1249 | + | else $Tuple2(bR, (bS + eQ)) | |
1250 | + | let fZ = fY._1 | |
1251 | + | let ga = fY._2 | |
1235 | 1252 | let by = valueOrErrorMessage(getString(this, (N + aw)), "Unknown pool") | |
1236 | - | let | |
1237 | - | let fG = | |
1238 | - | let eb = | |
1253 | + | let gb = cO(by, aw, g, fZ, dL, ga, dM, aP, aO, aS) | |
1254 | + | let fG = gb._1 | |
1255 | + | let eb = gb._2 | |
1239 | 1256 | let de = aY(aZ) | |
1240 | - | let | |
1241 | - | let | |
1242 | - | let | |
1243 | - | let | |
1244 | - | let | |
1245 | - | $Tuple2(((( | |
1257 | + | let gc = [IntegerEntry((((((aw + "_") + aZ) + "_") + toString(de)) + w), eQ), StringEntry((((((aw + "_") + aZ) + "_") + toString(de)) + x), eP)] | |
1258 | + | let eL = dc(aw, aZ, fG, eb, de, aS, by, true) | |
1259 | + | let gd = cG(Address(fromBase58String(aw)), by, aS, fG) | |
1260 | + | let fy = gd._1 | |
1261 | + | let fz = gd._2 | |
1262 | + | $Tuple2((((eL ++ bL(dL, dM, aS, [toString(fy), toString(fz)])) ++ gc) :+ DeleteEntry((eN + L))), fG) | |
1246 | 1263 | } | |
1247 | 1264 | })) | |
1248 | 1265 | ||
1249 | 1266 | ||
1250 | 1267 | ||
1251 | 1268 | @Callable(aq) | |
1252 | - | func liquidate (aZ,ew, | |
1269 | + | func liquidate (aZ,ew,ge) = valueOrElse(at(), valueOrElse(as(aq), { | |
1253 | 1270 | let aw = valueOrErrorMessage(getString(this, (((aZ + "_") + ew) + v)), "no position") | |
1254 | 1271 | let by = valueOrErrorMessage(getString(this, (N + aw)), "Pool is not inited") | |
1255 | - | let | |
1256 | - | let dL = | |
1257 | - | let dM = | |
1258 | - | let aP = | |
1259 | - | let aO = | |
1260 | - | let aS = | |
1261 | - | let cf = cg(aw, by, aS, | |
1272 | + | let gf = aU(Address(fromBase58String(aw)), by) | |
1273 | + | let dL = gf._1 | |
1274 | + | let dM = gf._2 | |
1275 | + | let aP = gf._3 | |
1276 | + | let aO = gf._4 | |
1277 | + | let aS = gf._5 | |
1278 | + | let cf = cg(aw, by, aS, ge) | |
1262 | 1279 | let eD = getIntegerValue(this, (((((aw + "_") + aZ) + "_") + ew) + w)) | |
1263 | 1280 | let ee = getStringValue(this, (((((aw + "_") + aZ) + "_") + ew) + x)) | |
1264 | 1281 | let cH = ev(aZ, aw, ew, (eD > 0)) | |
1265 | - | if (( | |
1282 | + | if ((ge > cH)) | |
1266 | 1283 | then throw("You can't liquidate more than user have") | |
1267 | 1284 | else if ((eD == 0)) | |
1268 | 1285 | then throw("You can't liquidate position without borrow") | |
1269 | - | else [IntegerEntry((((((aw + "_") + aZ) + "_") + ew) + z), getIntegerValue(this, (aw + C))), IntegerEntry((aw + B), (aX(aw) - | |
1286 | + | else [IntegerEntry((((((aw + "_") + aZ) + "_") + ew) + z), getIntegerValue(this, (aw + C))), IntegerEntry((aw + B), (aX(aw) - ge)), IntegerEntry((aw + A), (aW(aw) - ge)), IntegerEntry((((((aw + "_") + aZ) + "_") + ew) + u), (cH - ge)), ScriptTransfer(aq.caller, cf, fromBase58String(aS))] | |
1270 | 1287 | })) | |
1271 | 1288 | ||
1272 | 1289 | ||
1273 | 1290 | ||
1274 | 1291 | @Callable(aq) | |
1275 | 1292 | func stopLoss (aZ,ew,aw,aB) = valueOrElse(at(), valueOrElse(ap(aq), { | |
1276 | - | let | |
1277 | - | if (( | |
1293 | + | let fP = getIntegerValue(ai, (aB + R)) | |
1294 | + | if ((fP > fP)) | |
1278 | 1295 | then throw("Token price greater stop loss price") | |
1279 | 1296 | else if (!(isDefined(getInteger(this, (((((((aZ + "_") + toString(ew)) + "_") + aw) + "_") + aB) + W))))) | |
1280 | 1297 | then throw("No entry") | |
1281 | - | else (eB(aZ, aw, toString(ew), true) :+ DeleteEntry((((((((aZ + "_") + toString(ew)) + "_") + aw) + "_") + aB) + W))) | |
1298 | + | else { | |
1299 | + | let gg = eB(aZ, aw, toString(ew), true) | |
1300 | + | $Tuple2((gg._1 :+ DeleteEntry((((((((aZ + "_") + toString(ew)) + "_") + aw) + "_") + aB) + W))), gg._2) | |
1301 | + | } | |
1282 | 1302 | })) | |
1283 | 1303 | ||
1284 | 1304 | ||
1285 | 1305 | ||
1286 | 1306 | @Callable(aq) | |
1287 | - | func capitalizeExKeeper (aw, | |
1307 | + | func capitalizeExKeeper (aw,gh,fi,fh,dp,dq,dr,ds,dt,du,dv) = valueOrElse(at(), valueOrElse(ap(aq), { | |
1288 | 1308 | let by = getStringValue(this, (N + aw)) | |
1289 | 1309 | let cV = valueOrElse(getInteger(this, (aw + P)), 0) | |
1290 | - | let | |
1291 | - | let | |
1292 | - | let | |
1293 | - | let | |
1294 | - | let | |
1295 | - | let | |
1296 | - | then [IntegerEntry((aw + P), | |
1310 | + | let gi = fg(aw, by, fh, fi, cV) | |
1311 | + | let gj = gi._1 | |
1312 | + | let fk = gi._2 | |
1313 | + | let gk = dl(gh, fi, fk, dp, dq, dr, ds, dt, du, dv) | |
1314 | + | let gl = ((gj + cV) - fi) | |
1315 | + | let gm = if ((gl >= 0)) | |
1316 | + | then [IntegerEntry((aw + P), gl)] | |
1297 | 1317 | else nil | |
1298 | - | (dH(aw, by, | |
1318 | + | (dH(aw, by, gh, gk) ++ gm) | |
1299 | 1319 | })) | |
1300 | 1320 | ||
1301 | 1321 | ||
1302 | 1322 | ||
1303 | 1323 | @Callable(aq) | |
1304 | - | func capitalizeExPuzzle (aw, | |
1324 | + | func capitalizeExPuzzle (aw,gh,fi,fh,dy,dz,dv) = valueOrElse(at(), valueOrElse(ap(aq), { | |
1305 | 1325 | let by = getStringValue(this, (N + aw)) | |
1306 | 1326 | let cV = valueOrElse(getInteger(this, (aw + P)), 0) | |
1307 | - | let | |
1308 | - | let | |
1309 | - | let | |
1310 | - | let | |
1311 | - | let | |
1312 | - | let | |
1313 | - | then [IntegerEntry((aw + P), | |
1327 | + | let gn = fg(aw, by, fh, fi, cV) | |
1328 | + | let gj = gn._1 | |
1329 | + | let fk = gn._2 | |
1330 | + | let gk = dx(gh, fi, fk, dy, dz, dv) | |
1331 | + | let gl = ((gj + cV) - fi) | |
1332 | + | let gm = if ((gl >= 0)) | |
1333 | + | then [IntegerEntry((aw + P), gl)] | |
1314 | 1334 | else nil | |
1315 | - | (dH(aw, by, | |
1335 | + | (dH(aw, by, gh, gk) ++ gm) | |
1316 | 1336 | })) | |
1317 | 1337 | ||
1318 | 1338 | ||
1319 | 1339 | ||
1320 | 1340 | @Callable(aq) | |
1321 | - | func capitalizeExSwopFi (aw, | |
1341 | + | func capitalizeExSwopFi (aw,gh,fi,fh,dB,dC,dD,dE,dF,dG,dv) = valueOrElse(at(), valueOrElse(ap(aq), { | |
1322 | 1342 | let by = getStringValue(this, (N + aw)) | |
1323 | 1343 | let cV = valueOrElse(getInteger(this, (aw + P)), 0) | |
1324 | - | let | |
1325 | - | let | |
1326 | - | let | |
1327 | - | let | |
1328 | - | let | |
1329 | - | let | |
1330 | - | then [IntegerEntry((aw + P), | |
1344 | + | let go = fg(aw, by, fh, fi, cV) | |
1345 | + | let gj = go._1 | |
1346 | + | let fk = go._2 | |
1347 | + | let gk = dA(gh, fi, fk, dB, dC, dD, dE, dF, dG, dv) | |
1348 | + | let gl = ((gj + cV) - fi) | |
1349 | + | let gm = if ((gl >= 0)) | |
1350 | + | then [IntegerEntry((aw + P), gl)] | |
1331 | 1351 | else nil | |
1332 | - | (dH(aw, by, | |
1352 | + | (dH(aw, by, gh, gk) ++ gm) | |
1333 | 1353 | })) | |
1334 | 1354 | ||
1335 | 1355 | ||
1336 | 1356 | ||
1337 | 1357 | @Callable(aq) | |
1338 | - | func initNewPool (ax,aG,gr,gs,gt,gu,gv | |
1358 | + | func initNewPool (ax,aG,gp,gq,gr,gs,gt,gu,gv) = valueOrElse(at(), valueOrElse(ap(aq), if (if ((ax != a)) | |
1339 | 1359 | then (ax != b) | |
1340 | 1360 | else false) | |
1341 | 1361 | then throw("Wrong type") | |
1342 | 1362 | else { | |
1343 | - | let | |
1344 | - | let aI = | |
1345 | - | let aJ = | |
1346 | - | let | |
1347 | - | let | |
1348 | - | let aS = | |
1349 | - | if ((0 > | |
1363 | + | let gw = aU(Address(fromBase58String(aG)), ax) | |
1364 | + | let aI = gw._1 | |
1365 | + | let aJ = gw._2 | |
1366 | + | let gx = gw._3 | |
1367 | + | let gy = gw._4 | |
1368 | + | let aS = gw._5 | |
1369 | + | if ((0 > gp)) | |
1350 | 1370 | then throw("inFeeNoLoan must be greater than 0") | |
1351 | - | else if ((0 > | |
1371 | + | else if ((0 > gq)) | |
1352 | 1372 | then throw("inFeeLoan must be greater than 0") | |
1353 | - | else if ((0 > | |
1373 | + | else if ((0 > gr)) | |
1354 | 1374 | then throw("capFeeNoLoan must be greater than 0") | |
1355 | - | else if ((0 > | |
1375 | + | else if ((0 > gs)) | |
1356 | 1376 | then throw("capFeeWithLoan must be greater than 0") | |
1357 | - | else if ((0 > | |
1377 | + | else if ((0 > gt)) | |
1358 | 1378 | then throw("stoplossFeeNoLoan must be greater than 0") | |
1359 | - | else if ((0 > | |
1379 | + | else if ((0 > gu)) | |
1360 | 1380 | then throw("stoplossFeeWithLoan must be greater than 0") | |
1361 | - | else [IntegerEntry((aG + F), | |
1381 | + | else [IntegerEntry((aG + F), gp), IntegerEntry((aG + G), gq), IntegerEntry((aG + H), gr), IntegerEntry((aG + I), gs), IntegerEntry((aG + J), gt), IntegerEntry((aG + K), gu), IntegerEntry((aG + C), 0), IntegerEntry((aG + D), 0), StringEntry((N + aG), ax), StringEntry((aS + O), aG), BooleanEntry((aG + E), gv)] | |
1362 | 1382 | })) | |
1363 | 1383 | ||
1364 | 1384 | ||
1365 | 1385 | ||
1366 | 1386 | @Callable(aq) | |
1367 | 1387 | func activate () = valueOrElse(ap(aq), if (valueOrElse(getBoolean(this, S), true)) | |
1368 | 1388 | then throw("dApp already active") | |
1369 | 1389 | else [BooleanEntry(S, true)]) | |
1370 | 1390 | ||
1371 | 1391 | ||
1372 | 1392 | ||
1373 | 1393 | @Callable(aq) | |
1374 | 1394 | func shutdown () = valueOrElse(ap(aq), if (!(valueOrElse(getBoolean(this, S), true))) | |
1375 | 1395 | then throw("dApp already shutdown") | |
1376 | 1396 | else [BooleanEntry(S, false)]) | |
1377 | 1397 | ||
1378 | 1398 | ||
1379 | 1399 | ||
1380 | 1400 | @Callable(aq) | |
1381 | 1401 | func activateForUsers () = valueOrElse(ap(aq), if (valueOrElse(getBoolean(this, T), true)) | |
1382 | 1402 | then throw("dApp already active for users") | |
1383 | - | else [BooleanEntry( | |
1403 | + | else [BooleanEntry(T, true)]) | |
1384 | 1404 | ||
1385 | 1405 | ||
1386 | 1406 | ||
1387 | 1407 | @Callable(aq) | |
1388 | 1408 | func shutdownForUsers () = valueOrElse(ap(aq), if (!(valueOrElse(getBoolean(this, T), true))) | |
1389 | 1409 | then throw("dApp already shutdown for users") | |
1390 | - | else [BooleanEntry( | |
1410 | + | else [BooleanEntry(T, false)]) | |
1391 | 1411 | ||
1392 | 1412 | ||
1393 | 1413 | ||
1394 | 1414 | @Callable(aq) | |
1395 | 1415 | func activateSF () = valueOrElse(ap(aq), if (valueOrElse(getBoolean(this, (a + U)), true)) | |
1396 | 1416 | then throw("SWOPFI already active") | |
1397 | - | else [BooleanEntry( | |
1417 | + | else [BooleanEntry((a + U), true)]) | |
1398 | 1418 | ||
1399 | 1419 | ||
1400 | 1420 | ||
1401 | 1421 | @Callable(aq) | |
1402 | 1422 | func shutdownSF () = valueOrElse(ap(aq), if (!(valueOrElse(getBoolean(this, (a + U)), true))) | |
1403 | 1423 | then throw("SWOPFI already shutdown") | |
1404 | - | else [BooleanEntry( | |
1424 | + | else [BooleanEntry((a + U), false)]) | |
1405 | 1425 | ||
1406 | 1426 | ||
1407 | 1427 | ||
1408 | 1428 | @Callable(aq) | |
1409 | 1429 | func activateWX () = valueOrElse(ap(aq), if (valueOrElse(getBoolean(this, (b + U)), true)) | |
1410 | 1430 | then throw("WX already active") | |
1411 | - | else [BooleanEntry( | |
1431 | + | else [BooleanEntry((b + U), true)]) | |
1412 | 1432 | ||
1413 | 1433 | ||
1414 | 1434 | ||
1415 | 1435 | @Callable(aq) | |
1416 | 1436 | func shutdownWX () = valueOrElse(ap(aq), if (!(valueOrElse(getBoolean(this, (b + U)), true))) | |
1417 | 1437 | then throw("WX already shutdown") | |
1418 | - | else [BooleanEntry( | |
1438 | + | else [BooleanEntry((b + U), false)]) | |
1419 | 1439 | ||
1420 | 1440 | ||
1421 | 1441 | ||
1422 | 1442 | @Callable(aq) | |
1423 | 1443 | func activatePool (aw) = valueOrElse(ap(aq), if (!(isDefined(getString(this, (N + aw))))) | |
1424 | 1444 | then throw("Unknown pool") | |
1425 | 1445 | else if (valueOrElse(getBoolean(this, (aw + V)), true)) | |
1426 | 1446 | then throw("Pool already active") | |
1427 | - | else [BooleanEntry( | |
1447 | + | else [BooleanEntry((aw + V), true)]) | |
1428 | 1448 | ||
1429 | 1449 | ||
1430 | 1450 | ||
1431 | 1451 | @Callable(aq) | |
1432 | 1452 | func shutdownPool (aw) = valueOrElse(ap(aq), if (!(isDefined(getString(this, (N + aw))))) | |
1433 | 1453 | then throw("Unknown pool") | |
1434 | 1454 | else if (!(valueOrElse(getBoolean(this, (aw + V)), true))) | |
1435 | 1455 | then throw("Pool already shutdown") | |
1436 | - | else [BooleanEntry( | |
1456 | + | else [BooleanEntry((aw + V), false)]) | |
1437 | 1457 | ||
1438 | 1458 | ||
1439 | - | @Verifier( | |
1440 | - | func | |
1459 | + | @Verifier(gz) | |
1460 | + | func gA () = sigVerify(gz.bodyBytes, gz.proofs[0], gz.senderPublicKey) | |
1441 | 1461 |
github/deemru/w8io/026f985 231.15 ms ◑