tx · 2cKxTt2mHuKKWD66mfUZaj7PtULHrjQD3wnhg5Xpdfpf

3NAefciWv6f9fWvEXdGgpHfanJFG8HqfjuT:  -0.04000000 Waves

2023.03.10 12:10 [2483779] smart account 3NAefciWv6f9fWvEXdGgpHfanJFG8HqfjuT > SELF 0.00000000 Waves

{ "type": 13, "id": "2cKxTt2mHuKKWD66mfUZaj7PtULHrjQD3wnhg5Xpdfpf", "fee": 4000000, "feeAssetId": null, "timestamp": 1678439476999, "version": 2, "chainId": 84, "sender": "3NAefciWv6f9fWvEXdGgpHfanJFG8HqfjuT", "senderPublicKey": "D1BL65meykxFZTCuq7jq9HSGLLnWvQamQPUNrguW5w39", "proofs": [ "4P5UawfFTGCUwi7q7S3hFrxYNNt7ACYYrYmPAwjqXYfaqf7s53kDAQ2kzKzYTDJM5t58XDXzUBMy8hbLLYXiUBSp" ], "script": "base64:BgKCKwgCEgUKAwEEARIHCgUBBAEIARIDCgEIEgMKAQgSABIECgIBBBIECgIBBBIDCgEBEgASBAoCCAESABIECgIIARIECgIIARIECgIBARIDCgEBEgUKAwEBARIFCgMBCAESBAoCAQgSBAoCAQgSBAoCCAgSBAoCCAgSBAoCCAESABIDCgEIEgUKAwEBARIECgIIARIECgIBARIECgIICBILCgkIAQECAQIIBAQSBgoECAgBCCIGc2NhbGU4IgxzY2FsZThCaWdJbnQiB3NjYWxlMTgiCnplcm9CaWdJbnQiBGJpZzAiBGJpZzEiBGJpZzIiBGJpZzMiBGJpZzQiCnNsaXBwYWdlNEQiC3dhdmVzU3RyaW5nIgVBbXVsdCIFRGNvbnYiA1NFUCIFRU1QVFkiClBvb2xBY3RpdmUiClBvb2xQdXREaXMiDlBvb2xNYXRjaGVyRGlzIgxQb29sU2h1dGRvd24iDmlkeFBvb2xBZGRyZXNzIglpZHhQb29sU3QiCWlkeExQQXNJZCIJaWR4QW1Bc0lkIglpZHhQckFzSWQiC2lkeEFtdEFzRGNtIg1pZHhQcmljZUFzRGNtIgtpZHhJQW10QXNJ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VyBAJlWgUCZ2wEAmlsCQECYVcABAJpbQkBAmVZAQUCZVoEAmFGCAUCaW0CXzEEAmFHCAUCaW0CXzIEAmFICQD0AwMIBQJlWglib2R5Qnl0ZXMJAJEDAggFAmVaBnByb29mcwAACAUCZVoPc2VuZGVyUHVibGljS2V5BAJhSQkA9AMDCAUCZVoJYm9keUJ5dGVzCQCRAwIIBQJlWgZwcm9vZnMAAQUCaWwDAwMFAmFGBQJhSAcFAmFJBwYJAQJhRQQFAmFGBQJhRwUCYUgFAmFJAwkAAQIFAmdsAhRTZXRTY3JpcHRUcmFuc2FjdGlvbgQCY0MFAmdsAwkA9AMDCAUCaWkJYm9keUJ5dGVzCQCRAwIIBQJpaQZwcm9vZnMAAAUCaWsGBAJpbgkA9gMBCQEFdmFsdWUBCAUCY0MGc2NyaXB0BAJpbwkA2wQBCQEFdmFsdWUBCQCdCAIFAmFRCQECYUMABAJpcAkA8QcBBQR0aGlzAwkAAAIFAmlvBQJpbgkBAiE9AgUCaXAFAmluBwkA9AMDCAUCaWkJYm9keUJ5dGVzCQCRAwIIBQJpaQZwcm9vZnMAAAUCaWso85DP", "height": 2483779, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2B6xozpMeDDwnMudkmyfkg7VRjv5jZn7bnyJ72jP7WXM Next: 4G5uEwuwQbGAqyyJMdUqYmJRuUf71B7zvB62s4PKtN22 Diff:
OldNewDifferences
952952
953953
954954 @Callable(cP)
955-func calculateAmountOutForSwapREADONLY (gw,gs) = {
956- let gx = if ((gs == false))
955+func calculateAmountOutForSwapREADONLY (gw,gs,gx) = {
956+ let gy = if ((gs == false))
957957 then {
958- let gy = aJ(this, ak())
958+ let gz = aJ(this, ak())
959959 let gt = (toBigInt(bN(aJ(this, aj()))) + toBigInt(gw))
960- $Tuple2(gy, gt)
960+ $Tuple2(gz, gt)
961961 }
962962 else {
963- let gy = aJ(this, aj())
963+ let gz = aJ(this, aj())
964964 let gt = (toBigInt(bN(aJ(this, ak()))) + toBigInt(gw))
965- $Tuple2(gy, gt)
965+ $Tuple2(gz, gt)
966966 }
967- let gy = gx._1
968- let gt = gx._2
967+ let gz = gy._1
968+ let gt = gy._2
969969 let bg = aY()
970970 let dj = bg[w]
971971 let dk = bg[x]
972972 let cz = [toBigInt(bN(dj)), toBigInt(bN(dk))]
973973 let et = cy(cz)
974974 let eB = gr(gs, et, toBigInt(gw))
975- let gz = ((toBigInt(bN(gy)) - eB) - toBigInt(1))
976- let gA = max([0, toInt(gz)])
977- let gB = if ((gs == false))
978- then [(toBigInt(bN(dj)) + toBigInt(gw)), (toBigInt(bN(dk)) - gz)]
979- else [(toBigInt(bN(dj)) - gz), (toBigInt(bN(dk)) + toBigInt(gw))]
980- let gC = cy(gB)
981- let dY = if ((gC >= et))
975+ let gA = ((toBigInt(bN(gz)) - eB) - toBigInt(1))
976+ let gB = max([0, toInt(gA)])
977+ let gC = if ((gs == false))
978+ then [((toBigInt(bN(dj)) + toBigInt(gw)) + toBigInt(gx)), (toBigInt(bN(dk)) - gA)]
979+ else [(toBigInt(bN(dj)) - gA), ((toBigInt(bN(dk)) + toBigInt(gw)) + toBigInt(gx))]
980+ let gD = cy(gC)
981+ let dY = if ((gD >= et))
982982 then true
983- else throw(makeString(["new D is fewer error", toString(et), toString(gC)], "__"))
983+ else throw(makeString(["new D is fewer error", toString(et), toString(gD)], "__"))
984984 if ((dY == dY))
985- then $Tuple2(nil, gA)
985+ then $Tuple2(nil, gB)
986986 else throw("Strict value is not equal to itself.")
987987 }
988988
989989
990990
991991 @Callable(cP)
992-func calculateAmountOutForSwapAndSendTokens (gw,gs,gD,gE) = {
993- let gF = {
992+func calculateAmountOutForSwapAndSendTokens (gw,gs,gE,gF,gx) = {
993+ let gG = {
994994 let aS = invoke(aQ, "getSwapContractREADONLY", nil, nil)
995995 if ($isInstanceOf(aS, "String"))
996996 then aS
997997 else throw(($getType(aS) + " couldn't be cast to String"))
998998 }
999- let gG = [if ((value(cP.payments[0]).amount >= gw))
999+ let gH = [if ((value(cP.payments[0]).amount >= gw))
10001000 then true
1001- else aN("Wrong amount"), if ((cP.caller == addressFromStringValue(gF)))
1001+ else aN("Wrong amount"), if ((cP.caller == addressFromStringValue(gG)))
10021002 then true
10031003 else aN("Permission denied")]
1004- if ((gG == gG))
1004+ if ((gH == gH))
10051005 then {
10061006 let fk = value(cP.payments[0])
1007- let gH = be(fk.assetId)
1008- let gI = if ((gs == false))
1007+ let gI = be(fk.assetId)
1008+ let gJ = if ((gs == false))
10091009 then {
1010- let gy = aJ(this, ak())
1011- let gt = (bN(gH) - value(cP.payments[0]).amount)
1012- $Tuple2(gy, gt)
1010+ let gz = aJ(this, ak())
1011+ let gt = (bN(gI) - value(cP.payments[0]).amount)
1012+ $Tuple2(gz, gt)
10131013 }
10141014 else {
1015- let gy = aJ(this, aj())
1016- let gt = (bN(gH) - value(cP.payments[0]).amount)
1017- $Tuple2(gy, gt)
1015+ let gz = aJ(this, aj())
1016+ let gt = (bN(gI) - value(cP.payments[0]).amount)
1017+ $Tuple2(gz, gt)
10181018 }
1019- let gy = gI._1
1020- let gt = gI._2
1019+ let gz = gJ._1
1020+ let gt = gJ._2
10211021 let bg = aY()
10221022 let dj = bg[w]
10231023 let dk = bg[x]
10261026 else [toBigInt(bN(dj)), (toBigInt(bN(dk)) - toBigInt(value(cP.payments[0]).amount))]
10271027 let et = cy(cz)
10281028 let eB = gr(gs, et, toBigInt(0))
1029- let gz = ((toBigInt(bN(gy)) - eB) - toBigInt(1))
1030- let gA = max([0, toInt(gz)])
1031- let gJ = if ((gA >= gD))
1029+ let gA = ((toBigInt(bN(gz)) - eB) - toBigInt(1))
1030+ let gB = max([0, toInt(gA)])
1031+ let gK = if ((gB >= gE))
10321032 then true
10331033 else throw("Exchange result is fewer coins than expected")
1034- if ((gJ == gJ))
1034+ if ((gK == gK))
10351035 then {
1036- let gB = if ((gs == false))
1037- then [toBigInt(bN(dj)), (toBigInt(bN(dk)) - gz)]
1038- else [(toBigInt(bN(dj)) - gz), toBigInt(bN(dk))]
1039- let gC = cy(gB)
1040- let dY = if ((gC >= et))
1036+ let gC = if ((gs == false))
1037+ then [(toBigInt(bN(dj)) + toBigInt(gx)), (toBigInt(bN(dk)) - gA)]
1038+ else [(toBigInt(bN(dj)) - gA), (toBigInt(bN(dk)) + toBigInt(gx))]
1039+ let gD = cy(gC)
1040+ let dY = if ((gD >= et))
10411041 then true
10421042 else throw("new D is fewer error")
10431043 if ((dY == dY))
1044- then $Tuple2([ScriptTransfer(addressFromStringValue(gE), gA, bc(gy))], gA)
1044+ then $Tuple2([ScriptTransfer(addressFromStringValue(gF), gB, bc(gz))], gB)
10451045 else throw("Strict value is not equal to itself.")
10461046 }
10471047 else throw("Strict value is not equal to itself.")
10621062
10631063
10641064 @Callable(cP)
1065-func setManager (gK) = {
1065+func setManager (gL) = {
10661066 let ex = gq(cP)
10671067 if ((ex == ex))
10681068 then {
1069- let gL = fromBase58String(gK)
1070- if ((gL == gL))
1071- then [StringEntry(aa(), gK)]
1069+ let gM = fromBase58String(gL)
1070+ if ((gM == gM))
1071+ then [StringEntry(aa(), gL)]
10721072 else throw("Strict value is not equal to itself.")
10731073 }
10741074 else throw("Strict value is not equal to itself.")
10791079 @Callable(cP)
10801080 func confirmManager () = {
10811081 let cu = gm()
1082- let gM = if (isDefined(cu))
1082+ let gN = if (isDefined(cu))
10831083 then true
10841084 else throw("No pending manager")
1085- if ((gM == gM))
1085+ if ((gN == gN))
10861086 then {
1087- let gN = if ((cP.callerPublicKey == value(cu)))
1087+ let gO = if ((cP.callerPublicKey == value(cu)))
10881088 then true
10891089 else throw("You are not pending manager")
1090- if ((gN == gN))
1090+ if ((gO == gO))
10911091 then [StringEntry(Z(), toBase58String(value(cu))), DeleteEntry(aa())]
10921092 else throw("Strict value is not equal to itself.")
10931093 }
10971097
10981098
10991099 @Callable(cP)
1100-func put (gO,gP) = {
1101- let gQ = bs()
1102- let gR = valueOrErrorMessage(addressFromString(gQ[C]), "Wr st addr")
1103- let gS = valueOrErrorMessage(addressFromString(gQ[E]), "Wr sl addr")
1104- if ((0 > gO))
1100+func put (gP,gQ) = {
1101+ let gR = bs()
1102+ let gS = valueOrErrorMessage(addressFromString(gR[C]), "Wr st addr")
1103+ let gT = valueOrErrorMessage(addressFromString(gR[E]), "Wr sl addr")
1104+ if ((0 > gP))
11051105 then throw("Wrong slippage")
11061106 else if ((size(cP.payments) != 2))
11071107 then throw("2 pmnts expd")
11081108 else {
1109- let gT = toBigInt(value(cP.payments[0]).amount)
1110- let gU = toBigInt(value(cP.payments[1]).amount)
1111- let eO = (toBigInt(bN(be(bm))) - gT)
1109+ let gU = toBigInt(value(cP.payments[0]).amount)
1110+ let gV = toBigInt(value(cP.payments[1]).amount)
1111+ let eO = (toBigInt(bN(be(bm))) - gU)
11121112 if ((eO == eO))
11131113 then {
1114- let eP = (toBigInt(bN(be(bn))) - gU)
1114+ let eP = (toBigInt(bN(be(bn))) - gV)
11151115 if ((eP == eP))
11161116 then {
11171117 let eQ = toBigInt(value(assetInfo(bl)).quantity)
11181118 if ((eQ == eQ))
11191119 then {
1120- let eR = eK(gT, gU, toBigInt(0))
1120+ let eR = eK(gU, gV, toBigInt(0))
11211121 if ((eR == eR))
11221122 then {
1123- let gV = fl(toString(cP.caller), toBase58String(cP.transactionId), AttachedPayment(value(cP.payments[0]).assetId, value(cP.payments[0]).amount), cP.payments[1], gO, true, false, true, 0, "")
1124- let el = gV._2
1125- let gW = gV._7
1126- let dB = gV._9
1127- let em = gV._10
1128- let en = gV._11
1129- let dj = gV._12
1130- let dk = gV._13
1123+ let gW = fl(toString(cP.caller), toBase58String(cP.transactionId), AttachedPayment(value(cP.payments[0]).assetId, value(cP.payments[0]).amount), cP.payments[1], gP, true, false, true, 0, "")
1124+ let el = gW._2
1125+ let gX = gW._7
1126+ let dB = gW._9
1127+ let em = gW._10
1128+ let en = gW._11
1129+ let dj = gW._12
1130+ let dk = gW._13
11311131 let dX = invoke(aQ, "emit", [el], nil)
11321132 if ((dX == dX))
11331133 then {
1134- let gX = {
1134+ let gY = {
11351135 let gl = dX
11361136 if ($isInstanceOf(gl, "Address"))
11371137 then {
1138- let gY = gl
1139- invoke(gY, "emit", [el], nil)
1138+ let gZ = gl
1139+ invoke(gZ, "emit", [el], nil)
11401140 }
11411141 else unit
11421142 }
1143- if ((gX == gX))
1143+ if ((gY == gY))
11441144 then {
1145- let gZ = if ((em > 0))
1146- then invoke(gS, "put", nil, [AttachedPayment(dj, em)])
1145+ let ha = if ((em > 0))
1146+ then invoke(gT, "put", nil, [AttachedPayment(dj, em)])
11471147 else nil
1148- if ((gZ == gZ))
1148+ if ((ha == ha))
11491149 then {
1150- let ha = if ((en > 0))
1151- then invoke(gS, "put", nil, [AttachedPayment(dk, en)])
1150+ let hb = if ((en > 0))
1151+ then invoke(gT, "put", nil, [AttachedPayment(dk, en)])
11521152 else nil
1153- if ((ha == ha))
1153+ if ((hb == hb))
11541154 then {
1155- let hb = if (gP)
1155+ let hc = if (gQ)
11561156 then {
1157- let hc = invoke(gR, "stake", nil, [AttachedPayment(gW, el)])
1158- if ((hc == hc))
1157+ let hd = invoke(gS, "stake", nil, [AttachedPayment(gX, el)])
1158+ if ((hd == hd))
11591159 then nil
11601160 else throw("Strict value is not equal to itself.")
11611161 }
1162- else [ScriptTransfer(cP.caller, el, gW)]
1163- let hd = eS(0, 0, 0)
1164- let gi = hd._1
1165- let eJ = hd._2
1166- let he = if ((eJ >= eR))
1162+ else [ScriptTransfer(cP.caller, el, gX)]
1163+ let he = eS(0, 0, 0)
1164+ let gi = he._1
1165+ let eJ = he._2
1166+ let hf = if ((eJ >= eR))
11671167 then true
11681168 else aN(makeString(["updated DLp lower than current DLp", toString(eO), toString(eP), toString(eQ), toString(eR), toString(eJ), toString(em), toString(en)], " "))
1169- if ((he == he))
1169+ if ((hf == hf))
11701170 then {
1171- let hf = value(assetInfo(bl)).quantity
1172- if ((hf == hf))
1173- then ((dB ++ hb) ++ gi)
1171+ let hg = value(assetInfo(bl)).quantity
1172+ if ((hg == hg))
1173+ then ((dB ++ hc) ++ gi)
11741174 else throw("Strict value is not equal to itself.")
11751175 }
11761176 else throw("Strict value is not equal to itself.")
11961196
11971197
11981198 @Callable(cP)
1199-func putOneTknV2 (fM,gP) = {
1200- let hg = {
1199+func putOneTknV2 (fM,gQ) = {
1200+ let hh = {
12011201 let aS = invoke(aQ, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil)
12021202 if ($isInstanceOf(aS, "Boolean"))
12031203 then aS
12041204 else throw(($getType(aS) + " couldn't be cast to Boolean"))
12051205 }
1206- let hh = if (if (if (aV())
1206+ let hi = if (if (if (aV())
12071207 then true
12081208 else (bk == q))
12091209 then true
12101210 else (bk == s))
12111211 then true
1212- else hg
1213- let gG = [if (if (!(hh))
1212+ else hh
1213+ let gH = [if (if (!(hi))
12141214 then true
12151215 else go(cP))
12161216 then true
12171217 else aN("put operation is blocked by admin"), if ((size(cP.payments) == 1))
12181218 then true
12191219 else aN("exactly 1 payment are expected")]
1220- if ((gG == gG))
1220+ if ((gH == gH))
12211221 then {
12221222 let dj = toBase58String(value(bm))
12231223 let dk = toBase58String(value(bn))
12351235 else eK(toBigInt(0), toBigInt(dL), toBigInt(0))
12361236 if ((eR == eR))
12371237 then {
1238- let hi = fp(dL, df, toString(dh), toBase58String(cP.transactionId), true)
1239- if ((hi == hi))
1238+ let hj = fp(dL, df, toString(dh), toBase58String(cP.transactionId), true)
1239+ if ((hj == hj))
12401240 then {
1241- let cx = hi._3
1242- let dB = hi._2
1243- let hj = hi._1
1241+ let cx = hj._3
1242+ let dB = hj._2
1243+ let hk = hj._1
12441244 let el = if (if ((fM > 0))
1245- then (fM > hj)
1245+ then (fM > hk)
12461246 else false)
12471247 then aN(makeString(["amount to receive is less than ", toString(fM)], ""))
1248- else hj
1249- let gV = invoke(aQ, "emit", [el], nil)
1250- if ((gV == gV))
1248+ else hk
1249+ let gW = invoke(aQ, "emit", [el], nil)
1250+ if ((gW == gW))
12511251 then {
1252- let gX = {
1253- let gl = gV
1252+ let gY = {
1253+ let gl = gW
12541254 if ($isInstanceOf(gl, "Address"))
12551255 then {
1256- let gY = gl
1257- invoke(gY, "emit", [el], nil)
1256+ let gZ = gl
1257+ invoke(gZ, "emit", [el], nil)
12581258 }
12591259 else unit
12601260 }
1261- if ((gX == gX))
1261+ if ((gY == gY))
12621262 then {
1263- let hb = if (gP)
1263+ let hc = if (gQ)
12641264 then {
1265- let hc = invoke(bu, "stake", nil, [AttachedPayment(di, el)])
1266- if ((hc == hc))
1265+ let hd = invoke(bu, "stake", nil, [AttachedPayment(di, el)])
1266+ if ((hd == hd))
12671267 then nil
12681268 else throw("Strict value is not equal to itself.")
12691269 }
12711271 let gc = if ((cx > 0))
12721272 then [ScriptTransfer(aX, cx, fromBase58String(df))]
12731273 else nil
1274- let hk = if ((this == aX))
1274+ let hl = if ((this == aX))
12751275 then $Tuple2(0, 0)
12761276 else {
1277- let hl = if ((fk.assetId == bm))
1277+ let hm = if ((fk.assetId == bm))
12781278 then true
12791279 else false
1280- if (hl)
1280+ if (hm)
12811281 then $Tuple2(-(cx), 0)
12821282 else $Tuple2(0, -(cx))
12831283 }
1284- let eT = hk._1
1285- let eU = hk._2
1286- let hm = eS(eT, eU, 0)
1287- let gi = hm._1
1288- let eJ = hm._2
1284+ let eT = hl._1
1285+ let eU = hl._2
1286+ let hn = eS(eT, eU, 0)
1287+ let gi = hn._1
1288+ let eJ = hn._2
12891289 let gj = eW(eR, eJ)
12901290 if ((gj == gj))
1291- then $Tuple2((((dB ++ hb) ++ gc) ++ gi), el)
1291+ then $Tuple2((((dB ++ hc) ++ gc) ++ gi), el)
12921292 else throw("Strict value is not equal to itself.")
12931293 }
12941294 else throw("Strict value is not equal to itself.")
13051305
13061306
13071307 @Callable(cP)
1308-func putForFree (hn) = if ((0 > hn))
1308+func putForFree (ho) = if ((0 > ho))
13091309 then throw("Wrong slpg")
13101310 else if ((size(cP.payments) != 2))
13111311 then throw("2 pmnts expd")
13121312 else {
1313- let ho = fl(toString(cP.caller), toBase58String(cP.transactionId), AttachedPayment(value(cP.payments[0]).assetId, value(cP.payments[0]).amount), cP.payments[1], hn, false, false, true, 0, "")
1314- let dB = ho._9
1315- let gT = toBigInt(value(cP.payments[0]).amount)
1316- let gU = toBigInt(value(cP.payments[1]).amount)
1317- let eR = eK(gT, gU, toBigInt(0))
1313+ let hp = fl(toString(cP.caller), toBase58String(cP.transactionId), AttachedPayment(value(cP.payments[0]).assetId, value(cP.payments[0]).amount), cP.payments[1], ho, false, false, true, 0, "")
1314+ let dB = hp._9
1315+ let gU = toBigInt(value(cP.payments[0]).amount)
1316+ let gV = toBigInt(value(cP.payments[1]).amount)
1317+ let eR = eK(gU, gV, toBigInt(0))
13181318 if ((eR == eR))
13191319 then {
1320- let hp = eS(0, 0, 0)
1321- let gi = hp._1
1322- let eJ = hp._2
1320+ let hq = eS(0, 0, 0)
1321+ let gi = hq._1
1322+ let eJ = hq._2
13231323 let gj = eW(eR, eJ)
13241324 if ((gj == gj))
13251325 then (dB ++ gi)
13361336 if ((eR == eR))
13371337 then {
13381338 let dX = fj(cP)
1339- let hq = dX._1
1339+ let hr = dX._1
13401340 let dA = dX._2
13411341 let dL = dX._3
13421342 let df = dX._4
13441344 let ey = invoke(aQ, "burn", [dL], [AttachedPayment(df, dL)])
13451345 if ((ey == ey))
13461346 then {
1347- let hr = eS(-(hq), -(dA), 0)
1348- let gi = hr._1
1349- let eJ = hr._2
1347+ let hs = eS(-(hr), -(dA), 0)
1348+ let gi = hs._1
1349+ let eJ = hs._2
13501350 let gj = eW(eR, eJ)
13511351 if ((gj == gj))
13521352 then (dB ++ gi)
13611361
13621362 @Callable(cP)
13631363 func getOneTknV2 (fL,fM) = {
1364- let hg = {
1364+ let hh = {
13651365 let aS = invoke(aQ, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil)
13661366 if ($isInstanceOf(aS, "Boolean"))
13671367 then aS
13681368 else throw(($getType(aS) + " couldn't be cast to Boolean"))
13691369 }
1370- let hs = if (if (aV())
1370+ let ht = if (if (aV())
13711371 then true
13721372 else (bk == s))
13731373 then true
1374- else hg
1375- let gG = [if (if (!(hs))
1374+ else hh
1375+ let gH = [if (if (!(ht))
13761376 then true
13771377 else go(cP))
13781378 then true
13791379 else aN("get operation is blocked by admin"), if ((size(cP.payments) == 1))
13801380 then true
13811381 else aN("exactly 1 payment are expected")]
1382- if ((gG == gG))
1382+ if ((gH == gH))
13831383 then {
1384- let ht = fK(fL, fM, cP.payments, cP.caller, cP.originCaller, cP.transactionId)
1385- let dB = ht._1
1386- let fV = ht._2
1384+ let hu = fK(fL, fM, cP.payments, cP.caller, cP.originCaller, cP.transactionId)
1385+ let dB = hu._1
1386+ let fV = hu._2
13871387 $Tuple2(dB, fV)
13881388 }
13891389 else throw("Strict value is not equal to itself.")
13931393
13941394 @Callable(cP)
13951395 func refreshDLp () = {
1396- let hu = valueOrElse(getInteger(aq), 0)
1397- let hv = if (((height - hu) >= at))
1396+ let hv = valueOrElse(getInteger(aq), 0)
1397+ let hw = if (((height - hv) >= at))
13981398 then unit
13991399 else aN(makeString([toString(at), " blocks have not passed since the previous call"], ""))
1400- if ((hv == hv))
1400+ if ((hw == hw))
14011401 then {
14021402 let fd = valueOrErrorMessage(parseBigInt(valueOrElse(getString(this, ap), "0")), aP("invalid dLp"))
1403- let hw = eS(0, 0, 0)
1404- let hx = hw._1
1405- let eJ = hw._2
1403+ let hx = eS(0, 0, 0)
1404+ let hy = hx._1
1405+ let eJ = hx._2
14061406 let eV = if ((fd != eJ))
1407- then hx
1407+ then hy
14081408 else aN("nothing to refresh")
14091409 $Tuple2(eV, toString(eJ))
14101410 }
14141414
14151415
14161416 @Callable(cP)
1417-func getOneTknV2READONLY (fL,hy) = {
1417+func getOneTknV2READONLY (fL,hz) = {
14181418 let dj = toBase58String(value(bm))
14191419 let dk = toBase58String(value(bn))
14201420 let di = toBase58String(value(bl))
14211421 let cz = [toBigInt(bN(dj)), toBigInt(bN(dk))]
14221422 let eI = toBigInt(valueOrErrorMessage(assetInfo(fromBase58String(di)), "invalid lp asset").quantity)
14231423 let cb = cy(cz)
1424- let ca = (cb - fraction(toBigInt(hy), cb, eI))
1425- let hz = if ((fL == dj))
1424+ let ca = (cb - fraction(toBigInt(hz), cb, eI))
1425+ let hA = if ((fL == dj))
14261426 then 0
14271427 else if ((fL == dk))
14281428 then 1
14291429 else throw("invalid out asset id")
1430- let hA = es(cz, hz, ca)
1431- let gz = (cz[hz] - hA)
1432- let gA = max([0, toInt((gz - f))])
1433- let hB = cv(gA, aT)
1434- let fU = hB._1
1435- let cx = hB._2
1430+ let hB = es(cz, hA, ca)
1431+ let gA = (cz[hA] - hB)
1432+ let gB = max([0, toInt((gA - f))])
1433+ let hC = cv(gB, aT)
1434+ let fU = hC._1
1435+ let cx = hC._2
14361436 $Tuple2(nil, $Tuple2(fU, cx))
14371437 }
14381438
14391439
14401440
14411441 @Callable(cP)
1442-func getOneTknV2WithBonusREADONLY (fL,hy) = {
1442+func getOneTknV2WithBonusREADONLY (fL,hz) = {
14431443 let dj = toBase58String(value(bm))
14441444 let dk = toBase58String(value(bn))
14451445 let di = toBase58String(value(bl))
14461446 let dp = bN(dj)
14471447 let dr = bN(dk)
1448- let hC = {
1449- let aS = invoke(this, "getOneTknV2READONLY", [fL, hy], nil)
1448+ let hD = {
1449+ let aS = invoke(this, "getOneTknV2READONLY", [fL, hz], nil)
14501450 if ($isInstanceOf(aS, "(Int, Int)"))
14511451 then aS
14521452 else throw(($getType(aS) + " couldn't be cast to (Int, Int)"))
14531453 }
1454- let fU = hC._1
1455- let cx = hC._2
1456- let dX = dd("", di, hy, this)
1454+ let fU = hD._1
1455+ let cx = hD._2
1456+ let dX = dd("", di, hz, this)
14571457 let dz = dX._1
14581458 let dA = dX._2
1459- let hD = (dz + dA)
1460- let fJ = if ((hD == 0))
1459+ let hE = (dz + dA)
1460+ let fJ = if ((hE == 0))
14611461 then if ((fU == 0))
14621462 then 0
14631463 else throw("bonus calculation error")
1464- else fraction((fU - hD), a, hD)
1464+ else fraction((fU - hE), a, hE)
14651465 $Tuple2(nil, $Tuple3(fU, cx, fJ))
14661466 }
14671467
14681468
14691469
14701470 @Callable(cP)
1471-func getNoLess (hE,hF) = {
1471+func getNoLess (hF,hG) = {
14721472 let dX = fj(cP)
14731473 let dz = dX._1
14741474 let dA = dX._2
14751475 let dL = dX._3
14761476 let df = dX._4
14771477 let dB = dX._5
1478- if ((hE > dz))
1479- then throw(((("Failed: " + toString(dz)) + " < ") + toString(hE)))
1480- else if ((hF > dA))
1481- then throw(((("Failed: " + toString(dA)) + " < ") + toString(hF)))
1478+ if ((hF > dz))
1479+ then throw(((("Failed: " + toString(dz)) + " < ") + toString(hF)))
1480+ else if ((hG > dA))
1481+ then throw(((("Failed: " + toString(dA)) + " < ") + toString(hG)))
14821482 else {
14831483 let eR = eK(toBigInt(0), toBigInt(0), toBigInt(0))
14841484 if ((eR == eR))
14851485 then {
1486- let hG = invoke(aQ, "burn", [dL], [AttachedPayment(df, dL)])
1487- if ((hG == hG))
1486+ let hH = invoke(aQ, "burn", [dL], [AttachedPayment(df, dL)])
1487+ if ((hH == hH))
14881488 then {
1489- let hH = eS(-(dz), -(dA), 0)
1490- let gi = hH._1
1491- let eJ = hH._2
1489+ let hI = eS(-(dz), -(dA), 0)
1490+ let gi = hI._1
1491+ let eJ = hI._2
14921492 let gj = eW(eR, eJ)
14931493 if ((gj == gj))
14941494 then (dB ++ gi)
15041504
15051505 @Callable(cP)
15061506 func unstakeAndGet (cw) = {
1507- let hI = if ((size(cP.payments) != 0))
1507+ let hJ = if ((size(cP.payments) != 0))
15081508 then throw("No pmnts expd")
15091509 else true
1510- if ((hI == hI))
1510+ if ((hJ == hJ))
15111511 then {
1512- let hJ = bs()
1513- let gW = bl
1514- let hK = valueOrErrorMessage(addressFromString(hJ[C]), "Wr st addr")
1512+ let hK = bs()
1513+ let gX = bl
1514+ let hL = valueOrErrorMessage(addressFromString(hK[C]), "Wr st addr")
15151515 let eR = eK(toBigInt(0), toBigInt(0), toBigInt(0))
15161516 if ((eR == eR))
15171517 then {
1518- let hL = invoke(hK, "unstake", [toBase58String(gW), cw], nil)
1519- if ((hL == hL))
1518+ let hM = invoke(hL, "unstake", [toBase58String(gX), cw], nil)
1519+ if ((hM == hM))
15201520 then {
1521- let dX = dd(toBase58String(cP.transactionId), toBase58String(gW), cw, cP.caller)
1521+ let dX = dd(toBase58String(cP.transactionId), toBase58String(gX), cw, cP.caller)
15221522 let dz = dX._1
15231523 let dA = dX._2
15241524 let dn = parseIntValue(dX._9)
15251525 let dB = dX._10
1526- let hM = if (if (aV())
1526+ let hN = if (if (aV())
15271527 then true
15281528 else (dn == s))
15291529 then throw(("Blocked: " + toString(dn)))
15301530 else true
1531- if ((hM == hM))
1531+ if ((hN == hN))
15321532 then {
1533- let hN = invoke(aQ, "burn", [cw], [AttachedPayment(gW, cw)])
1534- if ((hN == hN))
1533+ let hO = invoke(aQ, "burn", [cw], [AttachedPayment(gX, cw)])
1534+ if ((hO == hO))
15351535 then {
1536- let hO = eS(-(dz), -(dA), 0)
1537- let gi = hO._1
1538- let eJ = hO._2
1536+ let hP = eS(-(dz), -(dA), 0)
1537+ let gi = hP._1
1538+ let eJ = hP._2
15391539 let gj = eW(eR, eJ)
15401540 if ((gj == gj))
15411541 then (dB ++ gi)
15551555
15561556
15571557 @Callable(cP)
1558-func unstakeAndGetNoLess (hP,hQ,hF) = {
1559- let hs = if (aV())
1558+func unstakeAndGetNoLess (hQ,hR,hG) = {
1559+ let ht = if (aV())
15601560 then true
15611561 else (bk == s)
1562- let gG = [if (!(hs))
1562+ let gH = [if (!(ht))
15631563 then true
15641564 else throw("get operation is blocked by admin"), if ((size(cP.payments) == 0))
15651565 then true
15661566 else throw("no payments are expected")]
1567- if ((gG == gG))
1567+ if ((gH == gH))
15681568 then {
15691569 let eR = eK(toBigInt(0), toBigInt(0), toBigInt(0))
15701570 if ((eR == eR))
15711571 then {
1572- let hL = invoke(bu, "unstake", [toBase58String(bl), hP], nil)
1573- if ((hL == hL))
1572+ let hM = invoke(bu, "unstake", [toBase58String(bl), hQ], nil)
1573+ if ((hM == hM))
15741574 then {
1575- let hR = dd(toBase58String(cP.transactionId), toBase58String(bl), hP, cP.caller)
1576- let dz = hR._1
1577- let dA = hR._2
1578- let dB = hR._10
1579- let hS = [if ((dz >= hQ))
1575+ let hS = dd(toBase58String(cP.transactionId), toBase58String(bl), hQ, cP.caller)
1576+ let dz = hS._1
1577+ let dA = hS._2
1578+ let dB = hS._10
1579+ let hT = [if ((dz >= hR))
15801580 then true
1581- else throw(makeString(["amount asset amount to receive is less than ", toString(hQ)], "")), if ((dA >= hF))
1581+ else throw(makeString(["amount asset amount to receive is less than ", toString(hR)], "")), if ((dA >= hG))
15821582 then true
1583- else throw(makeString(["price asset amount to receive is less than ", toString(hF)], ""))]
1584- if ((hS == hS))
1583+ else throw(makeString(["price asset amount to receive is less than ", toString(hG)], ""))]
1584+ if ((hT == hT))
15851585 then {
1586- let hG = invoke(aQ, "burn", [hP], [AttachedPayment(bl, hP)])
1587- if ((hG == hG))
1586+ let hH = invoke(aQ, "burn", [hQ], [AttachedPayment(bl, hQ)])
1587+ if ((hH == hH))
15881588 then {
1589- let hT = eS(-(dz), -(dA), 0)
1590- let gi = hT._1
1591- let eJ = hT._2
1589+ let hU = eS(-(dz), -(dA), 0)
1590+ let gi = hU._1
1591+ let eJ = hU._2
15921592 let gj = eW(eR, eJ)
15931593 if ((gj == gj))
15941594 then (dB ++ gi)
16081608
16091609
16101610 @Callable(cP)
1611-func unstakeAndGetOneTknV2 (hP,fL,fM) = {
1612- let hg = {
1611+func unstakeAndGetOneTknV2 (hQ,fL,fM) = {
1612+ let hh = {
16131613 let aS = invoke(aQ, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil)
16141614 if ($isInstanceOf(aS, "Boolean"))
16151615 then aS
16161616 else throw(($getType(aS) + " couldn't be cast to Boolean"))
16171617 }
1618- let hs = if (if (aV())
1618+ let ht = if (if (aV())
16191619 then true
16201620 else (bk == s))
16211621 then true
1622- else hg
1623- let gG = [if (if (!(hs))
1622+ else hh
1623+ let gH = [if (if (!(ht))
16241624 then true
16251625 else go(cP))
16261626 then true
16271627 else aN("get operation is blocked by admin"), if ((size(cP.payments) == 0))
16281628 then true
16291629 else aN("no payments are expected")]
1630- if ((gG == gG))
1630+ if ((gH == gH))
16311631 then {
1632- let hJ = bs()
1633- let gW = bl
1634- let hK = valueOrErrorMessage(addressFromString(hJ[C]), "Wr st addr")
1635- let hL = invoke(hK, "unstake", [toBase58String(gW), hP], nil)
1636- if ((hL == hL))
1632+ let hK = bs()
1633+ let gX = bl
1634+ let hL = valueOrErrorMessage(addressFromString(hK[C]), "Wr st addr")
1635+ let dh = cP.caller
1636+ let hV = this
1637+ let hM = invoke(hL, "unstakeINTERNAL", [gX, hQ, dh.bytes, hV.bytes], nil)
1638+ if ((hM == hM))
16371639 then {
1638- let hU = fK(fL, fM, [AttachedPayment(gW, hP)], cP.caller, cP.originCaller, cP.transactionId)
1639- let dB = hU._1
1640- let fV = hU._2
1640+ let hW = fK(fL, fM, [AttachedPayment(gX, hQ)], cP.caller, cP.originCaller, cP.transactionId)
1641+ let dB = hW._1
1642+ let fV = hW._2
16411643 $Tuple2(dB, fV)
16421644 }
16431645 else throw("Strict value is not equal to itself.")
16481650
16491651
16501652 @Callable(cP)
1651-func putOneTknV2WithBonusREADONLY (hV,hW) = {
1652- let hX = fp(hV, hW, "", "", true)
1653- let fE = hX._1
1654- let dB = hX._2
1655- let cx = hX._3
1656- let fJ = hX._4
1653+func putOneTknV2WithBonusREADONLY (hX,hY) = {
1654+ let hZ = fp(hX, hY, "", "", true)
1655+ let fE = hZ._1
1656+ let dB = hZ._2
1657+ let cx = hZ._3
1658+ let fJ = hZ._4
16571659 $Tuple2(nil, $Tuple3(fE, cx, fJ))
16581660 }
16591661
16601662
16611663
16621664 @Callable(cP)
1663-func putOneTknV2WithoutTakeFeeREADONLY (hV,hW) = {
1664- let hY = fp(hV, hW, "", "", false)
1665- let fE = hY._1
1666- let dB = hY._2
1667- let cx = hY._3
1668- let fJ = hY._4
1665+func putOneTknV2WithoutTakeFeeREADONLY (hX,hY) = {
1666+ let ia = fp(hX, hY, "", "", false)
1667+ let fE = ia._1
1668+ let dB = ia._2
1669+ let cx = ia._3
1670+ let fJ = ia._4
16691671 $Tuple2(nil, $Tuple3(fE, cx, fJ))
16701672 }
16711673
16721674
16731675
16741676 @Callable(cP)
1675-func activate (hZ,ia) = if ((toString(cP.caller) != toString(aQ)))
1677+func activate (ib,ic) = if ((toString(cP.caller) != toString(aQ)))
16761678 then throw("denied")
1677- else $Tuple2([StringEntry(aj(), hZ), StringEntry(ak(), ia)], "success")
1679+ else $Tuple2([StringEntry(aj(), ib), StringEntry(ak(), ic)], "success")
16781680
16791681
16801682
16811683 @Callable(cP)
1682-func setS (ib,hM) = if ((toString(cP.caller) != aJ(this, am())))
1684+func setS (id,hN) = if ((toString(cP.caller) != aJ(this, am())))
16831685 then gn
1684- else [StringEntry(ib, hM)]
1686+ else [StringEntry(id, hN)]
16851687
16861688
16871689
16881690 @Callable(cP)
1689-func setI (ib,hM) = if ((toString(cP.caller) != aJ(this, am())))
1691+func setI (id,hN) = if ((toString(cP.caller) != aJ(this, am())))
16901692 then gn
1691- else [IntegerEntry(ib, hM)]
1693+ else [IntegerEntry(id, hN)]
16921694
16931695
16941696
17041706
17051707 @Callable(cP)
17061708 func calcPricesWrapperREADONLY (ch,ci,cm) = {
1707- let ic = cl(ch, ci, cm)
1708- $Tuple2(nil, [toString(ic[0]), toString(ic[1]), toString(ic[2])])
1709+ let ie = cl(ch, ci, cm)
1710+ $Tuple2(nil, [toString(ie[0]), toString(ie[1]), toString(ie[2])])
17091711 }
17101712
17111713
17121714
17131715 @Callable(cP)
1714-func fromX18WrapperREADONLY (M,id) = $Tuple2(nil, L(parseBigIntValue(M), id))
1716+func fromX18WrapperREADONLY (M,if) = $Tuple2(nil, L(parseBigIntValue(M), if))
17151717
17161718
17171719
17261728
17271729
17281730 @Callable(cP)
1729-func estimatePutOperationWrapperREADONLY (de,bW,dD,dE,dF,dG,ie,dH,dI) = $Tuple2(nil, dC(de, bW, dD, dE, dF, dG, ie, dH, dI, true, false, 0, ""))
1731+func estimatePutOperationWrapperREADONLY (de,bW,dD,dE,dF,dG,ig,dH,dI) = $Tuple2(nil, dC(de, bW, dD, dE, dF, dG, ig, dH, dI, true, false, 0, ""))
17301732
17311733
17321734
17331735 @Callable(cP)
1734-func estimateGetOperationWrapperREADONLY (de,if,dg,ie) = {
1735- let dX = dd(de, if, dg, addressFromStringValue(ie))
1736+func estimateGetOperationWrapperREADONLY (de,ih,dg,ig) = {
1737+ let dX = dd(de, ih, dg, addressFromStringValue(ig))
17361738 $Tuple2(nil, $Tuple10(dX._1, dX._2, dX._3, dX._4, dX._5, dX._6, dX._7, toString(dX._8), dX._9, dX._10))
17371739 }
17381740
17391741
1740-@Verifier(ig)
1741-func ih () = {
1742- let ii = {
1742+@Verifier(ii)
1743+func ij () = {
1744+ let ik = {
17431745 let gl = gk()
17441746 if ($isInstanceOf(gl, "ByteVector"))
17451747 then {
17471749 gp
17481750 }
17491751 else if ($isInstanceOf(gl, "Unit"))
1750- then ig.senderPublicKey
1752+ then ii.senderPublicKey
17511753 else throw("Match error")
17521754 }
1753- let gl = ig
1755+ let gl = ii
17541756 if ($isInstanceOf(gl, "Order"))
17551757 then {
17561758 let eZ = gl
1757- let ij = aW()
1758- let ik = eY(eZ)
1759- let aF = ik._1
1760- let aG = ik._2
1759+ let il = aW()
1760+ let im = eY(eZ)
1761+ let aF = im._1
1762+ let aG = im._2
17611763 let aH = sigVerify(eZ.bodyBytes, eZ.proofs[0], eZ.senderPublicKey)
1762- let aI = sigVerify(eZ.bodyBytes, eZ.proofs[1], ij)
1764+ let aI = sigVerify(eZ.bodyBytes, eZ.proofs[1], il)
17631765 if (if (if (aF)
17641766 then aH
17651767 else false)
17711773 else if ($isInstanceOf(gl, "SetScriptTransaction"))
17721774 then {
17731775 let cC = gl
1774- if (sigVerify(ig.bodyBytes, ig.proofs[0], ii))
1776+ if (sigVerify(ii.bodyBytes, ii.proofs[0], ik))
17751777 then true
17761778 else {
1777- let il = blake2b256(value(cC.script))
1778- let im = fromBase64String(value(getString(aQ, aC())))
1779- let in = scriptHash(this)
1780- if ((im == il))
1781- then (in != il)
1779+ let in = blake2b256(value(cC.script))
1780+ let io = fromBase64String(value(getString(aQ, aC())))
1781+ let ip = scriptHash(this)
1782+ if ((io == in))
1783+ then (ip != in)
17821784 else false
17831785 }
17841786 }
1785- else sigVerify(ig.bodyBytes, ig.proofs[0], ii)
1787+ else sigVerify(ii.bodyBytes, ii.proofs[0], ik)
17861788 }
17871789
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = 100000000
55
66 let b = toBigInt(100000000)
77
88 let c = toBigInt(1000000000000000000)
99
1010 let d = toBigInt(0)
1111
1212 let e = toBigInt(0)
1313
1414 let f = toBigInt(1)
1515
1616 let g = toBigInt(2)
1717
1818 let h = toBigInt(3)
1919
2020 let i = toBigInt(4)
2121
2222 let j = toBigInt((a - ((a * 1) / a)))
2323
2424 let k = "WAVES"
2525
2626 let l = "100"
2727
2828 let m = "1"
2929
3030 let n = "__"
3131
3232 let o = ""
3333
3434 let p = 1
3535
3636 let q = 2
3737
3838 let r = 3
3939
4040 let s = 4
4141
4242 let t = 1
4343
4444 let u = 2
4545
4646 let v = 3
4747
4848 let w = 4
4949
5050 let x = 5
5151
5252 let y = 6
5353
5454 let z = 7
5555
5656 let A = 8
5757
5858 let B = 9
5959
6060 let C = 1
6161
6262 let D = 6
6363
6464 let E = 7
6565
6666 let F = 10
6767
6868 let G = fraction(10, a, 10000)
6969
7070 func H (I,J) = fraction(toBigInt(I), c, toBigInt(J))
7171
7272
7373 func K (I,J) = fraction(I, c, J)
7474
7575
7676 func L (M,N) = toInt(fraction(M, toBigInt(N), c))
7777
7878
7979 func O (M,N,P) = toInt(fraction(M, toBigInt(N), c, P))
8080
8181
8282 func Q (I,J) = fraction(I, c, toBigInt(J))
8383
8484
8585 func R (M,N) = fraction(M, toBigInt(N), c)
8686
8787
8888 func S (T,U,V) = fraction(T, U, V)
8989
9090
9191 func W (M) = if ((d > M))
9292 then -(M)
9393 else M
9494
9595
9696 func X (M) = if ((d > M))
9797 then -(M)
9898 else M
9999
100100
101101 func Y () = "%s__factoryContract"
102102
103103
104104 func Z () = "%s__managerPublicKey"
105105
106106
107107 func aa () = "%s__pendingManagerPublicKey"
108108
109109
110110 func ab () = "%s%s__price__last"
111111
112112
113113 func ac (ad,ae) = makeString(["%s%s%d%d__price__history", toString(ad), toString(ae)], n)
114114
115115
116116 func af (ag,ah) = ((("%s%s%s__P__" + ag) + "__") + ah)
117117
118118
119119 func ai (ag,ah) = ((("%s%s%s__G__" + ag) + "__") + ah)
120120
121121
122122 func aj () = "%s__amountAsset"
123123
124124
125125 func ak () = "%s__priceAsset"
126126
127127
128128 func al () = "%s__amp"
129129
130130
131131 func am () = "%s__addonAddr"
132132
133133
134134 let an = "%s__fee"
135135
136136 let ao = valueOrElse(getInteger(this, an), G)
137137
138138 let ap = makeString(["%s", "dLp"], n)
139139
140140 let aq = makeString(["%s", "dLpRefreshedHeight"], n)
141141
142142 let ar = makeString(["%s", "refreshDLpDelay"], n)
143143
144144 let as = 30
145145
146146 let at = valueOrElse(getInteger(this, ar), as)
147147
148148 func au () = "%s__factoryConfig"
149149
150150
151151 func av () = "%s%s__matcher__publicKey"
152152
153153
154154 func aw (ax,ay) = (((("%d%d%s__" + ax) + "__") + ay) + "__config")
155155
156156
157157 func az (aA) = ("%s%s%s__mappings__baseAsset2internalId__" + aA)
158158
159159
160160 func aB () = "%s__shutdown"
161161
162162
163163 func aC () = "%s__allowedLpStableScriptHash"
164164
165165
166166 func aD () = "%s__feeCollectorAddress"
167167
168168
169169 func aE (aF,aG,aH,aI) = throw((((((((("order validation failed: orderValid=" + toString(aF)) + " (") + aG) + ")") + " senderValid=") + toString(aH)) + " matcherValid=") + toString(aI)))
170170
171171
172172 func aJ (aK,aL) = valueOrErrorMessage(getString(aK, aL), makeString(["mandatory ", toString(aK), ".", aL, " not defined"], ""))
173173
174174
175175 func aM (aK,aL) = valueOrErrorMessage(getInteger(aK, aL), makeString(["mandatory ", toString(aK), ".", aL, " not defined"], ""))
176176
177177
178178 func aN (aO) = throw(makeString(["lp_stable.ride:", aO], " "))
179179
180180
181181 func aP (aO) = makeString(["lp_stable.ride:", aO], " ")
182182
183183
184184 let aQ = addressFromStringValue(aJ(this, Y()))
185185
186186 let aR = {
187187 let aS = invoke(aQ, "getInFeeREADONLY", [toString(this)], nil)
188188 if ($isInstanceOf(aS, "Int"))
189189 then aS
190190 else throw(($getType(aS) + " couldn't be cast to Int"))
191191 }
192192
193193 let aT = {
194194 let aS = invoke(aQ, "getOutFeeREADONLY", [toString(this)], nil)
195195 if ($isInstanceOf(aS, "Int"))
196196 then aS
197197 else throw(($getType(aS) + " couldn't be cast to Int"))
198198 }
199199
200200 let aU = aJ(this, al())
201201
202202 func aV () = valueOrElse(getBoolean(aQ, aB()), false)
203203
204204
205205 func aW () = fromBase58String(aJ(aQ, av()))
206206
207207
208208 let aX = addressFromStringValue(aJ(aQ, aD()))
209209
210210 func aY () = {
211211 let aZ = aJ(this, aj())
212212 let ba = aJ(this, ak())
213213 let bb = aM(aQ, az(ba))
214214 let ax = aM(aQ, az(aZ))
215215 split(aJ(aQ, aw(toString(ax), toString(bb))), n)
216216 }
217217
218218
219219 func bc (bd) = if ((bd == k))
220220 then unit
221221 else fromBase58String(bd)
222222
223223
224224 func be (bd) = if ((bd == unit))
225225 then k
226226 else toBase58String(value(bd))
227227
228228
229229 func bf (bg) = $Tuple9(addressFromStringValue(bg[t]), parseIntValue(bg[u]), fromBase58String(bg[v]), bc(bg[w]), bc(bg[x]), parseIntValue(bg[y]), parseIntValue(bg[z]), fromBase58String(bg[A]), fromBase58String(bg[B]))
230230
231231
232232 let bh = bf(aY())
233233
234234 let bi = bh
235235
236236 let bj = bi._1
237237
238238 let bk = bi._2
239239
240240 let bl = bi._3
241241
242242 let bm = bi._4
243243
244244 let bn = bi._5
245245
246246 let bo = bi._6
247247
248248 let bp = bi._7
249249
250250 let bq = bi._8
251251
252252 let br = bi._9
253253
254254 func bs () = split(aJ(aQ, au()), n)
255255
256256
257257 let bt = bs()
258258
259259 let bu = valueOrErrorMessage(addressFromString(bt[C]), "Invalid staking contract address")
260260
261261 let bv = valueOrErrorMessage(addressFromString(bt[E]), "Invalid slipage contract address")
262262
263263 let bw = valueOrErrorMessage(addressFromString(bt[F]), "Invalid gwx contract address")
264264
265265 let bx = valueOrErrorMessage(addressFromString(bt[D]), "Invalid gwx contract address")
266266
267267 func by (bz,bA,bB,bC,bD,bE,bF,bG,bH,bI) = makeString(["%d%d%d%d%d%d%d%d%d%d", toString(bz), toString(bA), toString(bB), toString(bC), toString(bD), toString(bE), toString(bF), toString(bG), toString(bH), toString(bI)], n)
268268
269269
270270 func bJ (bK,bL,bM,bC,bF,bG) = makeString(["%d%d%d%d%d%d", toString(bK), toString(bL), toString(bM), toString(bC), toString(bF), toString(bG)], n)
271271
272272
273273 func bN (bO) = if ((bO == "WAVES"))
274274 then wavesBalance(this).available
275275 else assetBalance(this, fromBase58String(bO))
276276
277277
278278 func bP (bQ,bR) = fraction(bQ, c, bR)
279279
280280
281281 func bS (bQ,bR,P) = fraction(bQ, c, bR, P)
282282
283283
284284 func bT (bU,bV,bW) = {
285285 let bX = fraction((bU - bV), b, bV)
286286 let bY = ((bW - W(bX)) > d)
287287 if (!(bY))
288288 then throw(("Big slpg: " + toString(bX)))
289289 else $Tuple2(bY, min([bU, bV]))
290290 }
291291
292292
293293 func bZ (ca,cb,cc) = {
294294 let bX = fraction(cb, b, ca)
295295 let cd = (cc > bX)
296296 if (if (cd)
297297 then true
298298 else (cb > ca))
299299 then throw(((((((toString(cb) + " ") + toString(ca)) + " ") + toString(bX)) + " ") + toString(cc)))
300300 else cd
301301 }
302302
303303
304304 func ce (cf,cg,ch,ci) = {
305305 let cj = H(ch, cf)
306306 let ck = H(ci, cg)
307307 bP(ck, cj)
308308 }
309309
310310
311311 func cl (ch,ci,cm) = {
312312 let cn = bo
313313 let co = bp
314314 let cp = ce(cn, co, ch, ci)
315315 let bR = H(ch, cn)
316316 let bQ = H(ci, co)
317317 let cq = H(cm, a)
318318 let cr = bP(bR, cq)
319319 let cs = bP(bQ, cq)
320320 [cp, cr, cs]
321321 }
322322
323323
324324 func ct (ch,ci,cm) = {
325325 let cu = cl(ch, ci, cm)
326326 [L(cu[0], a), L(cu[1], a), L(cu[2], a)]
327327 }
328328
329329
330330 func cv (cw,ao) = {
331331 let cx = if ((ao == 0))
332332 then 0
333333 else fraction(cw, ao, a)
334334 $Tuple2((cw - cx), cx)
335335 }
336336
337337
338338 func cy (cz) = {
339339 let cA = cz[0]
340340 let cB = cz[1]
341341 let cC = (cA + cB)
342342 if ((cC == e))
343343 then e
344344 else {
345345 let cD = parseIntValue(aU)
346346 let cE = (cD * 2)
347347 let cu = fraction(cA, cB, f)
348348 let cF = fraction(cu, i, f)
349349 let cG = fraction(toBigInt(cE), cC, f)
350350 let cH = toBigInt((cE - 1))
351351 func cI (cJ) = {
352352 let cK = fraction(cJ, cJ, f)
353353 let cL = fraction(cK, cJ, f)
354354 let cM = fraction(cL, f, cF)
355355 fraction((cG + fraction(cM, g, f)), cJ, (fraction(cH, cJ, f) + fraction(h, cM, f)))
356356 }
357357
358358 func cN (cO,cP) = if (cO._2)
359359 then cO
360360 else {
361361 let cJ = cO._1
362362 let cQ = cI(cJ)
363363 let cR = (cQ - value(cJ))
364364 let cS = if ((e > cR))
365365 then -(cR)
366366 else cR
367367 if ((f >= cS))
368368 then $Tuple2(cQ, true)
369369 else $Tuple2(cQ, false)
370370 }
371371
372372 let cT = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17]
373373 let cU = {
374374 let cV = cT
375375 let cW = size(cV)
376376 let cX = $Tuple2(cC, false)
377377 func cY (cZ,da) = if ((da >= cW))
378378 then cZ
379379 else cN(cZ, cV[da])
380380
381381 func db (cZ,da) = if ((da >= cW))
382382 then cZ
383383 else throw("List size exceeds 18")
384384
385385 db(cY(cY(cY(cY(cY(cY(cY(cY(cY(cY(cY(cY(cY(cY(cY(cY(cY(cY(cX, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18)
386386 }
387387 let cJ = cU._1
388388 let dc = cU._2
389389 if (dc)
390390 then cJ
391391 else throw(("D calculation error, D = " + toString(cJ)))
392392 }
393393 }
394394
395395
396396 func dd (de,df,dg,dh) = {
397397 let di = bl
398398 let dj = toBase58String(value(bm))
399399 let dk = toBase58String(value(bn))
400400 let dl = bo
401401 let dm = bp
402402 let dn = toString(bk)
403403 let do = valueOrErrorMessage(assetInfo(di), "Wrong LP id").quantity
404404 if ((toBase58String(di) != df))
405405 then throw("Wrong pmt asset")
406406 else {
407407 let dp = bN(dj)
408408 let dq = H(dp, dl)
409409 let dr = bN(dk)
410410 let ds = H(dr, dm)
411411 let dt = bP(ds, dq)
412412 let du = L(dt, a)
413413 let dv = H(dg, a)
414414 let dw = H(do, a)
415415 let dx = fraction(dq, dv, dw)
416416 let dy = fraction(ds, dv, dw)
417417 let dz = O(dx, dl, FLOOR)
418418 let dA = O(dy, dm, FLOOR)
419419 let dB = if ((de == ""))
420420 then nil
421421 else [ScriptTransfer(dh, dz, if ((dj == "WAVES"))
422422 then unit
423423 else fromBase58String(dj)), ScriptTransfer(dh, dA, if ((dk == "WAVES"))
424424 then unit
425425 else fromBase58String(dk)), StringEntry(ai(toString(dh), de), bJ(dz, dA, dg, du, height, lastBlock.timestamp)), IntegerEntry(ab(), du), IntegerEntry(ac(height, lastBlock.timestamp), du)]
426426 $Tuple10(dz, dA, dj, dk, dp, dr, do, dt, dn, dB)
427427 }
428428 }
429429
430430
431431 func dC (de,bW,dD,dE,dF,dG,dh,dH,dI,dJ,dK,dL,dM) = {
432432 let di = bl
433433 let dN = toBase58String(value(bm))
434434 let dO = toBase58String(value(bn))
435435 let dP = bq
436436 let dQ = br
437437 let dR = bo
438438 let dS = bp
439439 let dn = toString(bk)
440440 let dT = valueOrErrorMessage(assetInfo(di), "Wr lp as").quantity
441441 let dp = if (dH)
442442 then bN(dN)
443443 else if (if (dJ)
444444 then (dM == dN)
445445 else false)
446446 then (bN(dN) - dL)
447447 else if (dJ)
448448 then bN(dN)
449449 else (bN(dN) - dD)
450450 let dr = if (dH)
451451 then bN(dO)
452452 else if (if (dJ)
453453 then (dM == dO)
454454 else false)
455455 then (bN(dO) - dL)
456456 else if (dJ)
457457 then bN(dO)
458458 else (bN(dO) - dF)
459459 let dU = H(dD, dR)
460460 let dV = H(dF, dS)
461461 let dW = bP(dV, dU)
462462 let dq = H(dp, dR)
463463 let ds = H(dr, dS)
464464 let cb = cy([dq, ds])
465465 let dX = if ((dT == 0))
466466 then {
467467 let ca = cy([(dq + dU), (ds + dV)])
468468 let dY = if ((ca > cb))
469469 then true
470470 else throw("D1 should be greater than D0")
471471 if ((dY == dY))
472472 then {
473473 let dt = d
474474 let dZ = d
475475 let cq = ca
476476 $Tuple5(L(cq, a), L(dU, dR), L(dV, dS), bP((ds + dV), (dq + dU)), dZ)
477477 }
478478 else throw("Strict value is not equal to itself.")
479479 }
480480 else {
481481 let dt = bP(ds, dq)
482482 let ea = fraction(W((dt - dW)), c, dt)
483483 let dZ = H(bW, a)
484484 if (if (if (dK)
485485 then (dt != d)
486486 else false)
487487 then (ea > dZ)
488488 else false)
489489 then throw(((("Price slippage " + toString(ea)) + " > ") + toString(dZ)))
490490 else {
491491 let eb = H(dT, a)
492492 let ec = fraction(dU, bS(ds, dq, CEILING), c, CEILING)
493493 let ed = fraction(dV, c, bS(ds, dq, FLOOR), CEILING)
494494 let ee = if ((ec > dV))
495495 then $Tuple2(ed, dV)
496496 else $Tuple2(dU, ec)
497497 let ef = ee._1
498498 let eg = ee._2
499499 let ca = cy([(dq + ef), (ds + eg)])
500500 let dY = if ((ca > cb))
501501 then true
502502 else throw("D1 should be greater than D0")
503503 if ((dY == dY))
504504 then {
505505 let cq = fraction(eb, (ca - cb), cb)
506506 $Tuple5(O(cq, a, FLOOR), O(ef, dR, CEILING), O(eg, dS, CEILING), dt, dZ)
507507 }
508508 else throw("Strict value is not equal to itself.")
509509 }
510510 }
511511 let eh = dX._1
512512 let ei = dX._2
513513 let ej = dX._3
514514 let du = L(dX._4, a)
515515 let ek = L(dX._5, a)
516516 if ((0 >= eh))
517517 then throw("LP <= 0")
518518 else {
519519 let el = if (!(dI))
520520 then 0
521521 else eh
522522 let em = (dD - ei)
523523 let en = (dF - ej)
524524 let eo = if (if (dJ)
525525 then (dM == dN)
526526 else false)
527527 then $Tuple2(dL, 0)
528528 else if (if (dJ)
529529 then (dM == dO)
530530 else false)
531531 then $Tuple2(0, dL)
532532 else $Tuple2(ei, ej)
533533 let ep = eo._1
534534 let eq = eo._2
535535 let er = [IntegerEntry(ab(), du), IntegerEntry(ac(height, lastBlock.timestamp), du), StringEntry(af(dh, de), by(ep, eq, el, du, bW, ek, height, lastBlock.timestamp, em, en))]
536536 $Tuple13(eh, el, du, dp, dr, dT, di, dn, er, em, en, dE, dG)
537537 }
538538 }
539539
540540
541541 func es (cz,cP,et) = {
542542 let eu = g
543543 let ev = cz[if ((cP == 0))
544544 then 1
545545 else 0]
546546 let ew = parseBigIntValue(l)
547547 let cD = (parseBigIntValue(aU) * ew)
548548 let cC = ev
549549 let cE = (cD * eu)
550550 let ex = (((((et * et) / (ev * eu)) * et) * ew) / (cE * eu))
551551 let ey = ((cC + ((et * ew) / cE)) - et)
552552 func cN (cO,ez) = {
553553 let eA = cO
554554 let eB = eA._1
555555 let dc = eA._2
556556 if ((dc != unit))
557557 then cO
558558 else {
559559 let eC = (((eB * eB) + ex) / ((g * eB) + ey))
560560 let eD = X((eC - value(eB)))
561561 if ((f >= eD))
562562 then $Tuple2(eC, ez)
563563 else $Tuple2(eC, unit)
564564 }
565565 }
566566
567567 let cT = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]
568568 let eE = {
569569 let cV = cT
570570 let cW = size(cV)
571571 let cX = $Tuple2(et, unit)
572572 func cY (cZ,da) = if ((da >= cW))
573573 then cZ
574574 else cN(cZ, cV[da])
575575
576576 func db (cZ,da) = if ((da >= cW))
577577 then cZ
578578 else throw("List size exceeds 15")
579579
580580 db(cY(cY(cY(cY(cY(cY(cY(cY(cY(cY(cY(cY(cY(cY(cY(cX, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15)
581581 }
582582 let eB = eE._1
583583 let dc = eE._2
584584 if ((dc != unit))
585585 then eB
586586 else throw(("Y calculation error, Y = " + toString(eB)))
587587 }
588588
589589
590590 func eF (eG,eH,eI) = {
591591 let eJ = fraction(cy([K(eG, toBigInt(bo)), K(eH, toBigInt(bp))]), c, eI)
592592 if ((eI == e))
593593 then e
594594 else eJ
595595 }
596596
597597
598598 func eK (eL,eM,eN) = {
599599 let eO = (toBigInt(bN(be(bm))) - eL)
600600 let eP = (toBigInt(bN(be(bn))) - eM)
601601 let eQ = (toBigInt(value(assetInfo(bl)).quantity) - eN)
602602 let eR = eF(eO, eP, eQ)
603603 eR
604604 }
605605
606606
607607 func eS (eT,eU,eN) = {
608608 let eO = (bN(be(bm)) + eT)
609609 let eP = (bN(be(bn)) + eU)
610610 let eQ = (value(assetInfo(bl)).quantity + eN)
611611 let eJ = eF(toBigInt(eO), toBigInt(eP), toBigInt(eQ))
612612 let eV = [IntegerEntry(aq, height), StringEntry(ap, toString(eJ))]
613613 $Tuple2(eV, eJ)
614614 }
615615
616616
617617 func eW (eX,eJ) = if ((eJ >= eX))
618618 then true
619619 else aN("updated DLp lower than current DLp")
620620
621621
622622 func eY (eZ) = {
623623 let eO = bN(be(bm))
624624 let eP = bN(be(bn))
625625 let fa = eZ.amount
626626 let fb = fraction(eZ.amount, eZ.price, a, FLOOR)
627627 let fc = if ((eZ.orderType == Buy))
628628 then $Tuple2(fa, -(fb))
629629 else $Tuple2(-(fa), fb)
630630 let eT = fc._1
631631 let eU = fc._2
632632 if (if (if (aV())
633633 then true
634634 else (bk == r))
635635 then true
636636 else (bk == s))
637637 then throw("Admin blocked")
638638 else if (if ((eZ.assetPair.amountAsset != bm))
639639 then true
640640 else (eZ.assetPair.priceAsset != bn))
641641 then throw("Wr assets")
642642 else {
643643 let fd = parseBigIntValue(valueOrElse(getString(this, ap), "0"))
644644 let fe = eS(eT, eU, 0)
645645 let ff = fe._1
646646 let fg = fe._2
647647 let fh = (fg >= fd)
648648 let fi = makeString(["dLp=", toString(fd), " dLpNew=", toString(fg), " amountAssetBalance=", toString(eO), " priceAssetBalance=", toString(eP), " amountAssetBalanceDelta=", toString(eT), " priceAssetBalanceDelta=", toString(eU), " height=", toString(height)], "")
649649 $Tuple2(fh, fi)
650650 }
651651 }
652652
653653
654654 func fj (cP) = if ((size(cP.payments) != 1))
655655 then throw("1 pmnt exp")
656656 else {
657657 let fk = value(cP.payments[0])
658658 let df = value(fk.assetId)
659659 let dL = fk.amount
660660 let dX = dd(toBase58String(cP.transactionId), toBase58String(df), dL, cP.caller)
661661 let dz = dX._1
662662 let dA = dX._2
663663 let dn = parseIntValue(dX._9)
664664 let dB = dX._10
665665 if (if (aV())
666666 then true
667667 else (dn == s))
668668 then throw(("Admin blocked: " + toString(dn)))
669669 else $Tuple5(dz, dA, dL, df, dB)
670670 }
671671
672672
673673 func fl (fm,ah,fn,fo,bW,dI,dJ,dK,dL,dM) = {
674674 let dX = dC(ah, bW, value(fn).amount, value(fn).assetId, value(fo).amount, value(fo).assetId, fm, (ah == ""), dI, dJ, dK, dL, dM)
675675 let dn = parseIntValue(dX._8)
676676 if (if (if (aV())
677677 then true
678678 else (dn == q))
679679 then true
680680 else (dn == s))
681681 then throw(("Blocked:" + toString(dn)))
682682 else dX
683683 }
684684
685685
686686 func fp (fq,df,dh,ah,fr) = {
687687 let dj = toBase58String(value(bm))
688688 let dk = toBase58String(value(bn))
689689 let di = bl
690690 let dR = bo
691691 let dS = bp
692692 let eQ = toBigInt(valueOrErrorMessage(assetInfo(di), "invalid lp asset").quantity)
693693 let fs = if ((eQ > e))
694694 then true
695695 else throw("initial deposit requires all coins")
696696 if ((fs == fs))
697697 then {
698698 let dp = bN(dj)
699699 let dr = bN(dk)
700700 let ft = if ((ah == ""))
701701 then $Tuple2(dp, dr)
702702 else if ((df == dj))
703703 then if ((fq > dp))
704704 then throw("invalid payment amount")
705705 else $Tuple2((dp - fq), dr)
706706 else if ((df == dk))
707707 then if ((fq > dr))
708708 then throw("invalid payment amount")
709709 else $Tuple2(dp, (dr - fq))
710710 else throw("wrong pmtAssetId")
711711 let fu = ft._1
712712 let fv = ft._2
713713 let fw = if ((df == dj))
714714 then $Tuple2(fq, 0)
715715 else if ((df == dk))
716716 then $Tuple2(0, fq)
717717 else throw("invalid payment")
718718 let fx = fw._1
719719 let fy = fw._2
720720 let fz = if (fr)
721721 then $Tuple3(cv(fx, aR)._1, cv(fy, aR)._1, cv(fq, aR)._2)
722722 else $Tuple3(fx, fy, 0)
723723 let fA = fz._1
724724 let fB = fz._2
725725 let cx = fz._3
726726 let fC = (fu + fA)
727727 let fD = (fv + fB)
728728 let cb = cy([H(fu, bo), H(fv, bp)])
729729 let ca = cy([H(fC, bo), H(fD, bp)])
730730 let dY = if ((ca > cb))
731731 then true
732732 else throw()
733733 if ((dY == dY))
734734 then {
735735 let fE = fraction(eQ, (ca - cb), cb, FLOOR)
736736 let du = L(bP(H(fD, dS), H(fC, dR)), a)
737737 let er = [IntegerEntry(ab(), du), IntegerEntry(ac(height, lastBlock.timestamp), du), StringEntry(af(dh, ah), by(fx, fy, toInt(fE), du, 0, 0, height, lastBlock.timestamp, 0, 0))]
738738 let fF = fraction(fv, a, fu)
739739 let fG = fraction(fq, a, (fF + a))
740740 let fH = (fq - fG)
741741 let fI = fraction(eQ, toBigInt(fH), toBigInt(fv))
742742 let fJ = toInt(fraction((fE - fI), b, fI))
743743 $Tuple4(toInt(fE), er, cx, fJ)
744744 }
745745 else throw("Strict value is not equal to itself.")
746746 }
747747 else throw("Strict value is not equal to itself.")
748748 }
749749
750750
751751 func fK (fL,fM,fN,fm,fO,fP) = {
752752 let di = toBase58String(value(bl))
753753 let dj = toBase58String(value(bm))
754754 let dk = toBase58String(value(bn))
755755 let fQ = bo
756756 let fR = bp
757757 let fS = bk
758758 let dh = if ((fm == bx))
759759 then fO
760760 else fm
761761 let fk = value(fN[0])
762762 let df = value(fk.assetId)
763763 let dL = fk.amount
764764 let eR = eK(e, e, e)
765765 if ((eR == eR))
766766 then {
767767 let de = toBase58String(fP)
768768 if ((di != toBase58String(df)))
769769 then throw("Wrong LP")
770770 else {
771771 let dp = bN(dj)
772772 let dr = bN(dk)
773773 let fT = {
774774 let aS = invoke(this, "getOneTknV2READONLY", [fL, dL], nil)
775775 if ($isInstanceOf(aS, "(Int, Int)"))
776776 then aS
777777 else throw(($getType(aS) + " couldn't be cast to (Int, Int)"))
778778 }
779779 if ((fT == fT))
780780 then {
781781 let cx = fT._2
782782 let fU = fT._1
783783 let fV = if (if ((fM > 0))
784784 then (fM > fU)
785785 else false)
786786 then aN(makeString(["amount to receive is less than ", toString(fM)], ""))
787787 else fU
788788 let fW = if ((fL == dj))
789789 then $Tuple4(fV, 0, ((dp - fV) - cx), dr)
790790 else if ((fL == dk))
791791 then $Tuple4(0, fV, dp, ((dr - fV) - cx))
792792 else throw("invalid out asset id")
793793 let fX = fW._1
794794 let fY = fW._2
795795 let fC = fW._3
796796 let fD = fW._4
797797 let fZ = bP(H(fD, fR), H(fC, fQ))
798798 let ga = L(fZ, a)
799799 let gb = if ((fL == "WAVES"))
800800 then unit
801801 else fromBase58String(fL)
802802 let gc = if ((cx > 0))
803803 then [ScriptTransfer(aX, cx, gb)]
804804 else nil
805805 let dB = ([ScriptTransfer(dh, fV, gb), StringEntry(ai(toString(dh), de), bJ(fX, fY, dL, ga, height, lastBlock.timestamp)), IntegerEntry(ab(), ga), IntegerEntry(ac(height, lastBlock.timestamp), ga)] ++ gc)
806806 if ((dB == dB))
807807 then {
808808 let gd = invoke(aQ, "burn", [dL], [AttachedPayment(df, dL)])
809809 if ((gd == gd))
810810 then {
811811 let ge = {
812812 let gf = if ((this == aX))
813813 then 0
814814 else cx
815815 let gg = if ((bc(fL) == bm))
816816 then true
817817 else false
818818 if (gg)
819819 then $Tuple2(-((fU + gf)), 0)
820820 else $Tuple2(0, -((fU + gf)))
821821 }
822822 let eT = ge._1
823823 let eU = ge._2
824824 let gh = eS(eT, eU, 0)
825825 let gi = gh._1
826826 let eJ = gh._2
827827 let gj = eW(eR, eJ)
828828 if ((gj == gj))
829829 then $Tuple2((dB ++ gi), fV)
830830 else throw("Strict value is not equal to itself.")
831831 }
832832 else throw("Strict value is not equal to itself.")
833833 }
834834 else throw("Strict value is not equal to itself.")
835835 }
836836 else throw("Strict value is not equal to itself.")
837837 }
838838 }
839839 else throw("Strict value is not equal to itself.")
840840 }
841841
842842
843843 func gk () = {
844844 let gl = getString(Z())
845845 if ($isInstanceOf(gl, "String"))
846846 then {
847847 let cC = gl
848848 fromBase58String(cC)
849849 }
850850 else if ($isInstanceOf(gl, "Unit"))
851851 then unit
852852 else throw("Match error")
853853 }
854854
855855
856856 func gm () = {
857857 let gl = getString(aa())
858858 if ($isInstanceOf(gl, "String"))
859859 then {
860860 let cC = gl
861861 fromBase58String(cC)
862862 }
863863 else if ($isInstanceOf(gl, "Unit"))
864864 then unit
865865 else throw("Match error")
866866 }
867867
868868
869869 let gn = throw("Permission denied")
870870
871871 func go (cP) = {
872872 let gl = gk()
873873 if ($isInstanceOf(gl, "ByteVector"))
874874 then {
875875 let gp = gl
876876 (cP.callerPublicKey == gp)
877877 }
878878 else if ($isInstanceOf(gl, "Unit"))
879879 then (cP.caller == this)
880880 else throw("Match error")
881881 }
882882
883883
884884 func gq (cP) = {
885885 let gl = gk()
886886 if ($isInstanceOf(gl, "ByteVector"))
887887 then {
888888 let gp = gl
889889 if ((cP.callerPublicKey == gp))
890890 then true
891891 else gn
892892 }
893893 else if ($isInstanceOf(gl, "Unit"))
894894 then if ((cP.caller == this))
895895 then true
896896 else gn
897897 else throw("Match error")
898898 }
899899
900900
901901 func gr (gs,et,gt) = {
902902 let bg = aY()
903903 let dj = bg[w]
904904 let dk = bg[x]
905905 let eu = g
906906 let ew = parseBigIntValue(l)
907907 let cD = (parseBigIntValue(aU) * ew)
908908 let cz = if ((gs == false))
909909 then [(toBigInt(bN(dj)) + gt), toBigInt(bN(dk))]
910910 else [(toBigInt(bN(dk)) + gt), toBigInt(bN(dj))]
911911 let ev = cz[0]
912912 let cC = ev
913913 let cE = (cD * eu)
914914 let ex = (((((et * et) / (ev * eu)) * et) * ew) / (cE * eu))
915915 let ey = ((cC + ((et * ew) / cE)) - et)
916916 func cN (cO,ez) = {
917917 let gu = cO
918918 let eB = gu._1
919919 let dc = gu._2
920920 if ((dc != unit))
921921 then cO
922922 else {
923923 let eC = (((eB * eB) + ex) / ((g * eB) + ey))
924924 let eD = X((eC - value(eB)))
925925 if ((f >= eD))
926926 then $Tuple2(eC, ez)
927927 else $Tuple2(eC, unit)
928928 }
929929 }
930930
931931 let cT = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]
932932 let gv = {
933933 let cV = cT
934934 let cW = size(cV)
935935 let cX = $Tuple2(et, unit)
936936 func cY (cZ,da) = if ((da >= cW))
937937 then cZ
938938 else cN(cZ, cV[da])
939939
940940 func db (cZ,da) = if ((da >= cW))
941941 then cZ
942942 else throw("List size exceeds 15")
943943
944944 db(cY(cY(cY(cY(cY(cY(cY(cY(cY(cY(cY(cY(cY(cY(cY(cX, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15)
945945 }
946946 let eB = gv._1
947947 let dc = gv._2
948948 if ((dc != unit))
949949 then eB
950950 else throw(("Y calculation error, Y = " + toString(eB)))
951951 }
952952
953953
954954 @Callable(cP)
955-func calculateAmountOutForSwapREADONLY (gw,gs) = {
956- let gx = if ((gs == false))
955+func calculateAmountOutForSwapREADONLY (gw,gs,gx) = {
956+ let gy = if ((gs == false))
957957 then {
958- let gy = aJ(this, ak())
958+ let gz = aJ(this, ak())
959959 let gt = (toBigInt(bN(aJ(this, aj()))) + toBigInt(gw))
960- $Tuple2(gy, gt)
960+ $Tuple2(gz, gt)
961961 }
962962 else {
963- let gy = aJ(this, aj())
963+ let gz = aJ(this, aj())
964964 let gt = (toBigInt(bN(aJ(this, ak()))) + toBigInt(gw))
965- $Tuple2(gy, gt)
965+ $Tuple2(gz, gt)
966966 }
967- let gy = gx._1
968- let gt = gx._2
967+ let gz = gy._1
968+ let gt = gy._2
969969 let bg = aY()
970970 let dj = bg[w]
971971 let dk = bg[x]
972972 let cz = [toBigInt(bN(dj)), toBigInt(bN(dk))]
973973 let et = cy(cz)
974974 let eB = gr(gs, et, toBigInt(gw))
975- let gz = ((toBigInt(bN(gy)) - eB) - toBigInt(1))
976- let gA = max([0, toInt(gz)])
977- let gB = if ((gs == false))
978- then [(toBigInt(bN(dj)) + toBigInt(gw)), (toBigInt(bN(dk)) - gz)]
979- else [(toBigInt(bN(dj)) - gz), (toBigInt(bN(dk)) + toBigInt(gw))]
980- let gC = cy(gB)
981- let dY = if ((gC >= et))
975+ let gA = ((toBigInt(bN(gz)) - eB) - toBigInt(1))
976+ let gB = max([0, toInt(gA)])
977+ let gC = if ((gs == false))
978+ then [((toBigInt(bN(dj)) + toBigInt(gw)) + toBigInt(gx)), (toBigInt(bN(dk)) - gA)]
979+ else [(toBigInt(bN(dj)) - gA), ((toBigInt(bN(dk)) + toBigInt(gw)) + toBigInt(gx))]
980+ let gD = cy(gC)
981+ let dY = if ((gD >= et))
982982 then true
983- else throw(makeString(["new D is fewer error", toString(et), toString(gC)], "__"))
983+ else throw(makeString(["new D is fewer error", toString(et), toString(gD)], "__"))
984984 if ((dY == dY))
985- then $Tuple2(nil, gA)
985+ then $Tuple2(nil, gB)
986986 else throw("Strict value is not equal to itself.")
987987 }
988988
989989
990990
991991 @Callable(cP)
992-func calculateAmountOutForSwapAndSendTokens (gw,gs,gD,gE) = {
993- let gF = {
992+func calculateAmountOutForSwapAndSendTokens (gw,gs,gE,gF,gx) = {
993+ let gG = {
994994 let aS = invoke(aQ, "getSwapContractREADONLY", nil, nil)
995995 if ($isInstanceOf(aS, "String"))
996996 then aS
997997 else throw(($getType(aS) + " couldn't be cast to String"))
998998 }
999- let gG = [if ((value(cP.payments[0]).amount >= gw))
999+ let gH = [if ((value(cP.payments[0]).amount >= gw))
10001000 then true
1001- else aN("Wrong amount"), if ((cP.caller == addressFromStringValue(gF)))
1001+ else aN("Wrong amount"), if ((cP.caller == addressFromStringValue(gG)))
10021002 then true
10031003 else aN("Permission denied")]
1004- if ((gG == gG))
1004+ if ((gH == gH))
10051005 then {
10061006 let fk = value(cP.payments[0])
1007- let gH = be(fk.assetId)
1008- let gI = if ((gs == false))
1007+ let gI = be(fk.assetId)
1008+ let gJ = if ((gs == false))
10091009 then {
1010- let gy = aJ(this, ak())
1011- let gt = (bN(gH) - value(cP.payments[0]).amount)
1012- $Tuple2(gy, gt)
1010+ let gz = aJ(this, ak())
1011+ let gt = (bN(gI) - value(cP.payments[0]).amount)
1012+ $Tuple2(gz, gt)
10131013 }
10141014 else {
1015- let gy = aJ(this, aj())
1016- let gt = (bN(gH) - value(cP.payments[0]).amount)
1017- $Tuple2(gy, gt)
1015+ let gz = aJ(this, aj())
1016+ let gt = (bN(gI) - value(cP.payments[0]).amount)
1017+ $Tuple2(gz, gt)
10181018 }
1019- let gy = gI._1
1020- let gt = gI._2
1019+ let gz = gJ._1
1020+ let gt = gJ._2
10211021 let bg = aY()
10221022 let dj = bg[w]
10231023 let dk = bg[x]
10241024 let cz = if ((gs == false))
10251025 then [(toBigInt(bN(dj)) - toBigInt(value(cP.payments[0]).amount)), toBigInt(bN(dk))]
10261026 else [toBigInt(bN(dj)), (toBigInt(bN(dk)) - toBigInt(value(cP.payments[0]).amount))]
10271027 let et = cy(cz)
10281028 let eB = gr(gs, et, toBigInt(0))
1029- let gz = ((toBigInt(bN(gy)) - eB) - toBigInt(1))
1030- let gA = max([0, toInt(gz)])
1031- let gJ = if ((gA >= gD))
1029+ let gA = ((toBigInt(bN(gz)) - eB) - toBigInt(1))
1030+ let gB = max([0, toInt(gA)])
1031+ let gK = if ((gB >= gE))
10321032 then true
10331033 else throw("Exchange result is fewer coins than expected")
1034- if ((gJ == gJ))
1034+ if ((gK == gK))
10351035 then {
1036- let gB = if ((gs == false))
1037- then [toBigInt(bN(dj)), (toBigInt(bN(dk)) - gz)]
1038- else [(toBigInt(bN(dj)) - gz), toBigInt(bN(dk))]
1039- let gC = cy(gB)
1040- let dY = if ((gC >= et))
1036+ let gC = if ((gs == false))
1037+ then [(toBigInt(bN(dj)) + toBigInt(gx)), (toBigInt(bN(dk)) - gA)]
1038+ else [(toBigInt(bN(dj)) - gA), (toBigInt(bN(dk)) + toBigInt(gx))]
1039+ let gD = cy(gC)
1040+ let dY = if ((gD >= et))
10411041 then true
10421042 else throw("new D is fewer error")
10431043 if ((dY == dY))
1044- then $Tuple2([ScriptTransfer(addressFromStringValue(gE), gA, bc(gy))], gA)
1044+ then $Tuple2([ScriptTransfer(addressFromStringValue(gF), gB, bc(gz))], gB)
10451045 else throw("Strict value is not equal to itself.")
10461046 }
10471047 else throw("Strict value is not equal to itself.")
10481048 }
10491049 else throw("Strict value is not equal to itself.")
10501050 }
10511051
10521052
10531053
10541054 @Callable(cP)
10551055 func constructor (Y) = {
10561056 let ex = gq(cP)
10571057 if ((ex == ex))
10581058 then [StringEntry(Y(), Y)]
10591059 else throw("Strict value is not equal to itself.")
10601060 }
10611061
10621062
10631063
10641064 @Callable(cP)
1065-func setManager (gK) = {
1065+func setManager (gL) = {
10661066 let ex = gq(cP)
10671067 if ((ex == ex))
10681068 then {
1069- let gL = fromBase58String(gK)
1070- if ((gL == gL))
1071- then [StringEntry(aa(), gK)]
1069+ let gM = fromBase58String(gL)
1070+ if ((gM == gM))
1071+ then [StringEntry(aa(), gL)]
10721072 else throw("Strict value is not equal to itself.")
10731073 }
10741074 else throw("Strict value is not equal to itself.")
10751075 }
10761076
10771077
10781078
10791079 @Callable(cP)
10801080 func confirmManager () = {
10811081 let cu = gm()
1082- let gM = if (isDefined(cu))
1082+ let gN = if (isDefined(cu))
10831083 then true
10841084 else throw("No pending manager")
1085- if ((gM == gM))
1085+ if ((gN == gN))
10861086 then {
1087- let gN = if ((cP.callerPublicKey == value(cu)))
1087+ let gO = if ((cP.callerPublicKey == value(cu)))
10881088 then true
10891089 else throw("You are not pending manager")
1090- if ((gN == gN))
1090+ if ((gO == gO))
10911091 then [StringEntry(Z(), toBase58String(value(cu))), DeleteEntry(aa())]
10921092 else throw("Strict value is not equal to itself.")
10931093 }
10941094 else throw("Strict value is not equal to itself.")
10951095 }
10961096
10971097
10981098
10991099 @Callable(cP)
1100-func put (gO,gP) = {
1101- let gQ = bs()
1102- let gR = valueOrErrorMessage(addressFromString(gQ[C]), "Wr st addr")
1103- let gS = valueOrErrorMessage(addressFromString(gQ[E]), "Wr sl addr")
1104- if ((0 > gO))
1100+func put (gP,gQ) = {
1101+ let gR = bs()
1102+ let gS = valueOrErrorMessage(addressFromString(gR[C]), "Wr st addr")
1103+ let gT = valueOrErrorMessage(addressFromString(gR[E]), "Wr sl addr")
1104+ if ((0 > gP))
11051105 then throw("Wrong slippage")
11061106 else if ((size(cP.payments) != 2))
11071107 then throw("2 pmnts expd")
11081108 else {
1109- let gT = toBigInt(value(cP.payments[0]).amount)
1110- let gU = toBigInt(value(cP.payments[1]).amount)
1111- let eO = (toBigInt(bN(be(bm))) - gT)
1109+ let gU = toBigInt(value(cP.payments[0]).amount)
1110+ let gV = toBigInt(value(cP.payments[1]).amount)
1111+ let eO = (toBigInt(bN(be(bm))) - gU)
11121112 if ((eO == eO))
11131113 then {
1114- let eP = (toBigInt(bN(be(bn))) - gU)
1114+ let eP = (toBigInt(bN(be(bn))) - gV)
11151115 if ((eP == eP))
11161116 then {
11171117 let eQ = toBigInt(value(assetInfo(bl)).quantity)
11181118 if ((eQ == eQ))
11191119 then {
1120- let eR = eK(gT, gU, toBigInt(0))
1120+ let eR = eK(gU, gV, toBigInt(0))
11211121 if ((eR == eR))
11221122 then {
1123- let gV = fl(toString(cP.caller), toBase58String(cP.transactionId), AttachedPayment(value(cP.payments[0]).assetId, value(cP.payments[0]).amount), cP.payments[1], gO, true, false, true, 0, "")
1124- let el = gV._2
1125- let gW = gV._7
1126- let dB = gV._9
1127- let em = gV._10
1128- let en = gV._11
1129- let dj = gV._12
1130- let dk = gV._13
1123+ let gW = fl(toString(cP.caller), toBase58String(cP.transactionId), AttachedPayment(value(cP.payments[0]).assetId, value(cP.payments[0]).amount), cP.payments[1], gP, true, false, true, 0, "")
1124+ let el = gW._2
1125+ let gX = gW._7
1126+ let dB = gW._9
1127+ let em = gW._10
1128+ let en = gW._11
1129+ let dj = gW._12
1130+ let dk = gW._13
11311131 let dX = invoke(aQ, "emit", [el], nil)
11321132 if ((dX == dX))
11331133 then {
1134- let gX = {
1134+ let gY = {
11351135 let gl = dX
11361136 if ($isInstanceOf(gl, "Address"))
11371137 then {
1138- let gY = gl
1139- invoke(gY, "emit", [el], nil)
1138+ let gZ = gl
1139+ invoke(gZ, "emit", [el], nil)
11401140 }
11411141 else unit
11421142 }
1143- if ((gX == gX))
1143+ if ((gY == gY))
11441144 then {
1145- let gZ = if ((em > 0))
1146- then invoke(gS, "put", nil, [AttachedPayment(dj, em)])
1145+ let ha = if ((em > 0))
1146+ then invoke(gT, "put", nil, [AttachedPayment(dj, em)])
11471147 else nil
1148- if ((gZ == gZ))
1148+ if ((ha == ha))
11491149 then {
1150- let ha = if ((en > 0))
1151- then invoke(gS, "put", nil, [AttachedPayment(dk, en)])
1150+ let hb = if ((en > 0))
1151+ then invoke(gT, "put", nil, [AttachedPayment(dk, en)])
11521152 else nil
1153- if ((ha == ha))
1153+ if ((hb == hb))
11541154 then {
1155- let hb = if (gP)
1155+ let hc = if (gQ)
11561156 then {
1157- let hc = invoke(gR, "stake", nil, [AttachedPayment(gW, el)])
1158- if ((hc == hc))
1157+ let hd = invoke(gS, "stake", nil, [AttachedPayment(gX, el)])
1158+ if ((hd == hd))
11591159 then nil
11601160 else throw("Strict value is not equal to itself.")
11611161 }
1162- else [ScriptTransfer(cP.caller, el, gW)]
1163- let hd = eS(0, 0, 0)
1164- let gi = hd._1
1165- let eJ = hd._2
1166- let he = if ((eJ >= eR))
1162+ else [ScriptTransfer(cP.caller, el, gX)]
1163+ let he = eS(0, 0, 0)
1164+ let gi = he._1
1165+ let eJ = he._2
1166+ let hf = if ((eJ >= eR))
11671167 then true
11681168 else aN(makeString(["updated DLp lower than current DLp", toString(eO), toString(eP), toString(eQ), toString(eR), toString(eJ), toString(em), toString(en)], " "))
1169- if ((he == he))
1169+ if ((hf == hf))
11701170 then {
1171- let hf = value(assetInfo(bl)).quantity
1172- if ((hf == hf))
1173- then ((dB ++ hb) ++ gi)
1171+ let hg = value(assetInfo(bl)).quantity
1172+ if ((hg == hg))
1173+ then ((dB ++ hc) ++ gi)
11741174 else throw("Strict value is not equal to itself.")
11751175 }
11761176 else throw("Strict value is not equal to itself.")
11771177 }
11781178 else throw("Strict value is not equal to itself.")
11791179 }
11801180 else throw("Strict value is not equal to itself.")
11811181 }
11821182 else throw("Strict value is not equal to itself.")
11831183 }
11841184 else throw("Strict value is not equal to itself.")
11851185 }
11861186 else throw("Strict value is not equal to itself.")
11871187 }
11881188 else throw("Strict value is not equal to itself.")
11891189 }
11901190 else throw("Strict value is not equal to itself.")
11911191 }
11921192 else throw("Strict value is not equal to itself.")
11931193 }
11941194 }
11951195
11961196
11971197
11981198 @Callable(cP)
1199-func putOneTknV2 (fM,gP) = {
1200- let hg = {
1199+func putOneTknV2 (fM,gQ) = {
1200+ let hh = {
12011201 let aS = invoke(aQ, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil)
12021202 if ($isInstanceOf(aS, "Boolean"))
12031203 then aS
12041204 else throw(($getType(aS) + " couldn't be cast to Boolean"))
12051205 }
1206- let hh = if (if (if (aV())
1206+ let hi = if (if (if (aV())
12071207 then true
12081208 else (bk == q))
12091209 then true
12101210 else (bk == s))
12111211 then true
1212- else hg
1213- let gG = [if (if (!(hh))
1212+ else hh
1213+ let gH = [if (if (!(hi))
12141214 then true
12151215 else go(cP))
12161216 then true
12171217 else aN("put operation is blocked by admin"), if ((size(cP.payments) == 1))
12181218 then true
12191219 else aN("exactly 1 payment are expected")]
1220- if ((gG == gG))
1220+ if ((gH == gH))
12211221 then {
12221222 let dj = toBase58String(value(bm))
12231223 let dk = toBase58String(value(bn))
12241224 let di = bl
12251225 let fQ = bo
12261226 let fR = bp
12271227 let dh = if ((cP.caller == this))
12281228 then cP.originCaller
12291229 else cP.caller
12301230 let fk = value(cP.payments[0])
12311231 let df = toBase58String(value(fk.assetId))
12321232 let dL = fk.amount
12331233 let eR = if ((fk.assetId == bm))
12341234 then eK(toBigInt(dL), toBigInt(0), toBigInt(0))
12351235 else eK(toBigInt(0), toBigInt(dL), toBigInt(0))
12361236 if ((eR == eR))
12371237 then {
1238- let hi = fp(dL, df, toString(dh), toBase58String(cP.transactionId), true)
1239- if ((hi == hi))
1238+ let hj = fp(dL, df, toString(dh), toBase58String(cP.transactionId), true)
1239+ if ((hj == hj))
12401240 then {
1241- let cx = hi._3
1242- let dB = hi._2
1243- let hj = hi._1
1241+ let cx = hj._3
1242+ let dB = hj._2
1243+ let hk = hj._1
12441244 let el = if (if ((fM > 0))
1245- then (fM > hj)
1245+ then (fM > hk)
12461246 else false)
12471247 then aN(makeString(["amount to receive is less than ", toString(fM)], ""))
1248- else hj
1249- let gV = invoke(aQ, "emit", [el], nil)
1250- if ((gV == gV))
1248+ else hk
1249+ let gW = invoke(aQ, "emit", [el], nil)
1250+ if ((gW == gW))
12511251 then {
1252- let gX = {
1253- let gl = gV
1252+ let gY = {
1253+ let gl = gW
12541254 if ($isInstanceOf(gl, "Address"))
12551255 then {
1256- let gY = gl
1257- invoke(gY, "emit", [el], nil)
1256+ let gZ = gl
1257+ invoke(gZ, "emit", [el], nil)
12581258 }
12591259 else unit
12601260 }
1261- if ((gX == gX))
1261+ if ((gY == gY))
12621262 then {
1263- let hb = if (gP)
1263+ let hc = if (gQ)
12641264 then {
1265- let hc = invoke(bu, "stake", nil, [AttachedPayment(di, el)])
1266- if ((hc == hc))
1265+ let hd = invoke(bu, "stake", nil, [AttachedPayment(di, el)])
1266+ if ((hd == hd))
12671267 then nil
12681268 else throw("Strict value is not equal to itself.")
12691269 }
12701270 else [ScriptTransfer(cP.caller, el, di)]
12711271 let gc = if ((cx > 0))
12721272 then [ScriptTransfer(aX, cx, fromBase58String(df))]
12731273 else nil
1274- let hk = if ((this == aX))
1274+ let hl = if ((this == aX))
12751275 then $Tuple2(0, 0)
12761276 else {
1277- let hl = if ((fk.assetId == bm))
1277+ let hm = if ((fk.assetId == bm))
12781278 then true
12791279 else false
1280- if (hl)
1280+ if (hm)
12811281 then $Tuple2(-(cx), 0)
12821282 else $Tuple2(0, -(cx))
12831283 }
1284- let eT = hk._1
1285- let eU = hk._2
1286- let hm = eS(eT, eU, 0)
1287- let gi = hm._1
1288- let eJ = hm._2
1284+ let eT = hl._1
1285+ let eU = hl._2
1286+ let hn = eS(eT, eU, 0)
1287+ let gi = hn._1
1288+ let eJ = hn._2
12891289 let gj = eW(eR, eJ)
12901290 if ((gj == gj))
1291- then $Tuple2((((dB ++ hb) ++ gc) ++ gi), el)
1291+ then $Tuple2((((dB ++ hc) ++ gc) ++ gi), el)
12921292 else throw("Strict value is not equal to itself.")
12931293 }
12941294 else throw("Strict value is not equal to itself.")
12951295 }
12961296 else throw("Strict value is not equal to itself.")
12971297 }
12981298 else throw("Strict value is not equal to itself.")
12991299 }
13001300 else throw("Strict value is not equal to itself.")
13011301 }
13021302 else throw("Strict value is not equal to itself.")
13031303 }
13041304
13051305
13061306
13071307 @Callable(cP)
1308-func putForFree (hn) = if ((0 > hn))
1308+func putForFree (ho) = if ((0 > ho))
13091309 then throw("Wrong slpg")
13101310 else if ((size(cP.payments) != 2))
13111311 then throw("2 pmnts expd")
13121312 else {
1313- let ho = fl(toString(cP.caller), toBase58String(cP.transactionId), AttachedPayment(value(cP.payments[0]).assetId, value(cP.payments[0]).amount), cP.payments[1], hn, false, false, true, 0, "")
1314- let dB = ho._9
1315- let gT = toBigInt(value(cP.payments[0]).amount)
1316- let gU = toBigInt(value(cP.payments[1]).amount)
1317- let eR = eK(gT, gU, toBigInt(0))
1313+ let hp = fl(toString(cP.caller), toBase58String(cP.transactionId), AttachedPayment(value(cP.payments[0]).assetId, value(cP.payments[0]).amount), cP.payments[1], ho, false, false, true, 0, "")
1314+ let dB = hp._9
1315+ let gU = toBigInt(value(cP.payments[0]).amount)
1316+ let gV = toBigInt(value(cP.payments[1]).amount)
1317+ let eR = eK(gU, gV, toBigInt(0))
13181318 if ((eR == eR))
13191319 then {
1320- let hp = eS(0, 0, 0)
1321- let gi = hp._1
1322- let eJ = hp._2
1320+ let hq = eS(0, 0, 0)
1321+ let gi = hq._1
1322+ let eJ = hq._2
13231323 let gj = eW(eR, eJ)
13241324 if ((gj == gj))
13251325 then (dB ++ gi)
13261326 else throw("Strict value is not equal to itself.")
13271327 }
13281328 else throw("Strict value is not equal to itself.")
13291329 }
13301330
13311331
13321332
13331333 @Callable(cP)
13341334 func get () = {
13351335 let eR = eK(toBigInt(0), toBigInt(0), toBigInt(0))
13361336 if ((eR == eR))
13371337 then {
13381338 let dX = fj(cP)
1339- let hq = dX._1
1339+ let hr = dX._1
13401340 let dA = dX._2
13411341 let dL = dX._3
13421342 let df = dX._4
13431343 let dB = dX._5
13441344 let ey = invoke(aQ, "burn", [dL], [AttachedPayment(df, dL)])
13451345 if ((ey == ey))
13461346 then {
1347- let hr = eS(-(hq), -(dA), 0)
1348- let gi = hr._1
1349- let eJ = hr._2
1347+ let hs = eS(-(hr), -(dA), 0)
1348+ let gi = hs._1
1349+ let eJ = hs._2
13501350 let gj = eW(eR, eJ)
13511351 if ((gj == gj))
13521352 then (dB ++ gi)
13531353 else throw("Strict value is not equal to itself.")
13541354 }
13551355 else throw("Strict value is not equal to itself.")
13561356 }
13571357 else throw("Strict value is not equal to itself.")
13581358 }
13591359
13601360
13611361
13621362 @Callable(cP)
13631363 func getOneTknV2 (fL,fM) = {
1364- let hg = {
1364+ let hh = {
13651365 let aS = invoke(aQ, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil)
13661366 if ($isInstanceOf(aS, "Boolean"))
13671367 then aS
13681368 else throw(($getType(aS) + " couldn't be cast to Boolean"))
13691369 }
1370- let hs = if (if (aV())
1370+ let ht = if (if (aV())
13711371 then true
13721372 else (bk == s))
13731373 then true
1374- else hg
1375- let gG = [if (if (!(hs))
1374+ else hh
1375+ let gH = [if (if (!(ht))
13761376 then true
13771377 else go(cP))
13781378 then true
13791379 else aN("get operation is blocked by admin"), if ((size(cP.payments) == 1))
13801380 then true
13811381 else aN("exactly 1 payment are expected")]
1382- if ((gG == gG))
1382+ if ((gH == gH))
13831383 then {
1384- let ht = fK(fL, fM, cP.payments, cP.caller, cP.originCaller, cP.transactionId)
1385- let dB = ht._1
1386- let fV = ht._2
1384+ let hu = fK(fL, fM, cP.payments, cP.caller, cP.originCaller, cP.transactionId)
1385+ let dB = hu._1
1386+ let fV = hu._2
13871387 $Tuple2(dB, fV)
13881388 }
13891389 else throw("Strict value is not equal to itself.")
13901390 }
13911391
13921392
13931393
13941394 @Callable(cP)
13951395 func refreshDLp () = {
1396- let hu = valueOrElse(getInteger(aq), 0)
1397- let hv = if (((height - hu) >= at))
1396+ let hv = valueOrElse(getInteger(aq), 0)
1397+ let hw = if (((height - hv) >= at))
13981398 then unit
13991399 else aN(makeString([toString(at), " blocks have not passed since the previous call"], ""))
1400- if ((hv == hv))
1400+ if ((hw == hw))
14011401 then {
14021402 let fd = valueOrErrorMessage(parseBigInt(valueOrElse(getString(this, ap), "0")), aP("invalid dLp"))
1403- let hw = eS(0, 0, 0)
1404- let hx = hw._1
1405- let eJ = hw._2
1403+ let hx = eS(0, 0, 0)
1404+ let hy = hx._1
1405+ let eJ = hx._2
14061406 let eV = if ((fd != eJ))
1407- then hx
1407+ then hy
14081408 else aN("nothing to refresh")
14091409 $Tuple2(eV, toString(eJ))
14101410 }
14111411 else throw("Strict value is not equal to itself.")
14121412 }
14131413
14141414
14151415
14161416 @Callable(cP)
1417-func getOneTknV2READONLY (fL,hy) = {
1417+func getOneTknV2READONLY (fL,hz) = {
14181418 let dj = toBase58String(value(bm))
14191419 let dk = toBase58String(value(bn))
14201420 let di = toBase58String(value(bl))
14211421 let cz = [toBigInt(bN(dj)), toBigInt(bN(dk))]
14221422 let eI = toBigInt(valueOrErrorMessage(assetInfo(fromBase58String(di)), "invalid lp asset").quantity)
14231423 let cb = cy(cz)
1424- let ca = (cb - fraction(toBigInt(hy), cb, eI))
1425- let hz = if ((fL == dj))
1424+ let ca = (cb - fraction(toBigInt(hz), cb, eI))
1425+ let hA = if ((fL == dj))
14261426 then 0
14271427 else if ((fL == dk))
14281428 then 1
14291429 else throw("invalid out asset id")
1430- let hA = es(cz, hz, ca)
1431- let gz = (cz[hz] - hA)
1432- let gA = max([0, toInt((gz - f))])
1433- let hB = cv(gA, aT)
1434- let fU = hB._1
1435- let cx = hB._2
1430+ let hB = es(cz, hA, ca)
1431+ let gA = (cz[hA] - hB)
1432+ let gB = max([0, toInt((gA - f))])
1433+ let hC = cv(gB, aT)
1434+ let fU = hC._1
1435+ let cx = hC._2
14361436 $Tuple2(nil, $Tuple2(fU, cx))
14371437 }
14381438
14391439
14401440
14411441 @Callable(cP)
1442-func getOneTknV2WithBonusREADONLY (fL,hy) = {
1442+func getOneTknV2WithBonusREADONLY (fL,hz) = {
14431443 let dj = toBase58String(value(bm))
14441444 let dk = toBase58String(value(bn))
14451445 let di = toBase58String(value(bl))
14461446 let dp = bN(dj)
14471447 let dr = bN(dk)
1448- let hC = {
1449- let aS = invoke(this, "getOneTknV2READONLY", [fL, hy], nil)
1448+ let hD = {
1449+ let aS = invoke(this, "getOneTknV2READONLY", [fL, hz], nil)
14501450 if ($isInstanceOf(aS, "(Int, Int)"))
14511451 then aS
14521452 else throw(($getType(aS) + " couldn't be cast to (Int, Int)"))
14531453 }
1454- let fU = hC._1
1455- let cx = hC._2
1456- let dX = dd("", di, hy, this)
1454+ let fU = hD._1
1455+ let cx = hD._2
1456+ let dX = dd("", di, hz, this)
14571457 let dz = dX._1
14581458 let dA = dX._2
1459- let hD = (dz + dA)
1460- let fJ = if ((hD == 0))
1459+ let hE = (dz + dA)
1460+ let fJ = if ((hE == 0))
14611461 then if ((fU == 0))
14621462 then 0
14631463 else throw("bonus calculation error")
1464- else fraction((fU - hD), a, hD)
1464+ else fraction((fU - hE), a, hE)
14651465 $Tuple2(nil, $Tuple3(fU, cx, fJ))
14661466 }
14671467
14681468
14691469
14701470 @Callable(cP)
1471-func getNoLess (hE,hF) = {
1471+func getNoLess (hF,hG) = {
14721472 let dX = fj(cP)
14731473 let dz = dX._1
14741474 let dA = dX._2
14751475 let dL = dX._3
14761476 let df = dX._4
14771477 let dB = dX._5
1478- if ((hE > dz))
1479- then throw(((("Failed: " + toString(dz)) + " < ") + toString(hE)))
1480- else if ((hF > dA))
1481- then throw(((("Failed: " + toString(dA)) + " < ") + toString(hF)))
1478+ if ((hF > dz))
1479+ then throw(((("Failed: " + toString(dz)) + " < ") + toString(hF)))
1480+ else if ((hG > dA))
1481+ then throw(((("Failed: " + toString(dA)) + " < ") + toString(hG)))
14821482 else {
14831483 let eR = eK(toBigInt(0), toBigInt(0), toBigInt(0))
14841484 if ((eR == eR))
14851485 then {
1486- let hG = invoke(aQ, "burn", [dL], [AttachedPayment(df, dL)])
1487- if ((hG == hG))
1486+ let hH = invoke(aQ, "burn", [dL], [AttachedPayment(df, dL)])
1487+ if ((hH == hH))
14881488 then {
1489- let hH = eS(-(dz), -(dA), 0)
1490- let gi = hH._1
1491- let eJ = hH._2
1489+ let hI = eS(-(dz), -(dA), 0)
1490+ let gi = hI._1
1491+ let eJ = hI._2
14921492 let gj = eW(eR, eJ)
14931493 if ((gj == gj))
14941494 then (dB ++ gi)
14951495 else throw("Strict value is not equal to itself.")
14961496 }
14971497 else throw("Strict value is not equal to itself.")
14981498 }
14991499 else throw("Strict value is not equal to itself.")
15001500 }
15011501 }
15021502
15031503
15041504
15051505 @Callable(cP)
15061506 func unstakeAndGet (cw) = {
1507- let hI = if ((size(cP.payments) != 0))
1507+ let hJ = if ((size(cP.payments) != 0))
15081508 then throw("No pmnts expd")
15091509 else true
1510- if ((hI == hI))
1510+ if ((hJ == hJ))
15111511 then {
1512- let hJ = bs()
1513- let gW = bl
1514- let hK = valueOrErrorMessage(addressFromString(hJ[C]), "Wr st addr")
1512+ let hK = bs()
1513+ let gX = bl
1514+ let hL = valueOrErrorMessage(addressFromString(hK[C]), "Wr st addr")
15151515 let eR = eK(toBigInt(0), toBigInt(0), toBigInt(0))
15161516 if ((eR == eR))
15171517 then {
1518- let hL = invoke(hK, "unstake", [toBase58String(gW), cw], nil)
1519- if ((hL == hL))
1518+ let hM = invoke(hL, "unstake", [toBase58String(gX), cw], nil)
1519+ if ((hM == hM))
15201520 then {
1521- let dX = dd(toBase58String(cP.transactionId), toBase58String(gW), cw, cP.caller)
1521+ let dX = dd(toBase58String(cP.transactionId), toBase58String(gX), cw, cP.caller)
15221522 let dz = dX._1
15231523 let dA = dX._2
15241524 let dn = parseIntValue(dX._9)
15251525 let dB = dX._10
1526- let hM = if (if (aV())
1526+ let hN = if (if (aV())
15271527 then true
15281528 else (dn == s))
15291529 then throw(("Blocked: " + toString(dn)))
15301530 else true
1531- if ((hM == hM))
1531+ if ((hN == hN))
15321532 then {
1533- let hN = invoke(aQ, "burn", [cw], [AttachedPayment(gW, cw)])
1534- if ((hN == hN))
1533+ let hO = invoke(aQ, "burn", [cw], [AttachedPayment(gX, cw)])
1534+ if ((hO == hO))
15351535 then {
1536- let hO = eS(-(dz), -(dA), 0)
1537- let gi = hO._1
1538- let eJ = hO._2
1536+ let hP = eS(-(dz), -(dA), 0)
1537+ let gi = hP._1
1538+ let eJ = hP._2
15391539 let gj = eW(eR, eJ)
15401540 if ((gj == gj))
15411541 then (dB ++ gi)
15421542 else throw("Strict value is not equal to itself.")
15431543 }
15441544 else throw("Strict value is not equal to itself.")
15451545 }
15461546 else throw("Strict value is not equal to itself.")
15471547 }
15481548 else throw("Strict value is not equal to itself.")
15491549 }
15501550 else throw("Strict value is not equal to itself.")
15511551 }
15521552 else throw("Strict value is not equal to itself.")
15531553 }
15541554
15551555
15561556
15571557 @Callable(cP)
1558-func unstakeAndGetNoLess (hP,hQ,hF) = {
1559- let hs = if (aV())
1558+func unstakeAndGetNoLess (hQ,hR,hG) = {
1559+ let ht = if (aV())
15601560 then true
15611561 else (bk == s)
1562- let gG = [if (!(hs))
1562+ let gH = [if (!(ht))
15631563 then true
15641564 else throw("get operation is blocked by admin"), if ((size(cP.payments) == 0))
15651565 then true
15661566 else throw("no payments are expected")]
1567- if ((gG == gG))
1567+ if ((gH == gH))
15681568 then {
15691569 let eR = eK(toBigInt(0), toBigInt(0), toBigInt(0))
15701570 if ((eR == eR))
15711571 then {
1572- let hL = invoke(bu, "unstake", [toBase58String(bl), hP], nil)
1573- if ((hL == hL))
1572+ let hM = invoke(bu, "unstake", [toBase58String(bl), hQ], nil)
1573+ if ((hM == hM))
15741574 then {
1575- let hR = dd(toBase58String(cP.transactionId), toBase58String(bl), hP, cP.caller)
1576- let dz = hR._1
1577- let dA = hR._2
1578- let dB = hR._10
1579- let hS = [if ((dz >= hQ))
1575+ let hS = dd(toBase58String(cP.transactionId), toBase58String(bl), hQ, cP.caller)
1576+ let dz = hS._1
1577+ let dA = hS._2
1578+ let dB = hS._10
1579+ let hT = [if ((dz >= hR))
15801580 then true
1581- else throw(makeString(["amount asset amount to receive is less than ", toString(hQ)], "")), if ((dA >= hF))
1581+ else throw(makeString(["amount asset amount to receive is less than ", toString(hR)], "")), if ((dA >= hG))
15821582 then true
1583- else throw(makeString(["price asset amount to receive is less than ", toString(hF)], ""))]
1584- if ((hS == hS))
1583+ else throw(makeString(["price asset amount to receive is less than ", toString(hG)], ""))]
1584+ if ((hT == hT))
15851585 then {
1586- let hG = invoke(aQ, "burn", [hP], [AttachedPayment(bl, hP)])
1587- if ((hG == hG))
1586+ let hH = invoke(aQ, "burn", [hQ], [AttachedPayment(bl, hQ)])
1587+ if ((hH == hH))
15881588 then {
1589- let hT = eS(-(dz), -(dA), 0)
1590- let gi = hT._1
1591- let eJ = hT._2
1589+ let hU = eS(-(dz), -(dA), 0)
1590+ let gi = hU._1
1591+ let eJ = hU._2
15921592 let gj = eW(eR, eJ)
15931593 if ((gj == gj))
15941594 then (dB ++ gi)
15951595 else throw("Strict value is not equal to itself.")
15961596 }
15971597 else throw("Strict value is not equal to itself.")
15981598 }
15991599 else throw("Strict value is not equal to itself.")
16001600 }
16011601 else throw("Strict value is not equal to itself.")
16021602 }
16031603 else throw("Strict value is not equal to itself.")
16041604 }
16051605 else throw("Strict value is not equal to itself.")
16061606 }
16071607
16081608
16091609
16101610 @Callable(cP)
1611-func unstakeAndGetOneTknV2 (hP,fL,fM) = {
1612- let hg = {
1611+func unstakeAndGetOneTknV2 (hQ,fL,fM) = {
1612+ let hh = {
16131613 let aS = invoke(aQ, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil)
16141614 if ($isInstanceOf(aS, "Boolean"))
16151615 then aS
16161616 else throw(($getType(aS) + " couldn't be cast to Boolean"))
16171617 }
1618- let hs = if (if (aV())
1618+ let ht = if (if (aV())
16191619 then true
16201620 else (bk == s))
16211621 then true
1622- else hg
1623- let gG = [if (if (!(hs))
1622+ else hh
1623+ let gH = [if (if (!(ht))
16241624 then true
16251625 else go(cP))
16261626 then true
16271627 else aN("get operation is blocked by admin"), if ((size(cP.payments) == 0))
16281628 then true
16291629 else aN("no payments are expected")]
1630- if ((gG == gG))
1630+ if ((gH == gH))
16311631 then {
1632- let hJ = bs()
1633- let gW = bl
1634- let hK = valueOrErrorMessage(addressFromString(hJ[C]), "Wr st addr")
1635- let hL = invoke(hK, "unstake", [toBase58String(gW), hP], nil)
1636- if ((hL == hL))
1632+ let hK = bs()
1633+ let gX = bl
1634+ let hL = valueOrErrorMessage(addressFromString(hK[C]), "Wr st addr")
1635+ let dh = cP.caller
1636+ let hV = this
1637+ let hM = invoke(hL, "unstakeINTERNAL", [gX, hQ, dh.bytes, hV.bytes], nil)
1638+ if ((hM == hM))
16371639 then {
1638- let hU = fK(fL, fM, [AttachedPayment(gW, hP)], cP.caller, cP.originCaller, cP.transactionId)
1639- let dB = hU._1
1640- let fV = hU._2
1640+ let hW = fK(fL, fM, [AttachedPayment(gX, hQ)], cP.caller, cP.originCaller, cP.transactionId)
1641+ let dB = hW._1
1642+ let fV = hW._2
16411643 $Tuple2(dB, fV)
16421644 }
16431645 else throw("Strict value is not equal to itself.")
16441646 }
16451647 else throw("Strict value is not equal to itself.")
16461648 }
16471649
16481650
16491651
16501652 @Callable(cP)
1651-func putOneTknV2WithBonusREADONLY (hV,hW) = {
1652- let hX = fp(hV, hW, "", "", true)
1653- let fE = hX._1
1654- let dB = hX._2
1655- let cx = hX._3
1656- let fJ = hX._4
1653+func putOneTknV2WithBonusREADONLY (hX,hY) = {
1654+ let hZ = fp(hX, hY, "", "", true)
1655+ let fE = hZ._1
1656+ let dB = hZ._2
1657+ let cx = hZ._3
1658+ let fJ = hZ._4
16571659 $Tuple2(nil, $Tuple3(fE, cx, fJ))
16581660 }
16591661
16601662
16611663
16621664 @Callable(cP)
1663-func putOneTknV2WithoutTakeFeeREADONLY (hV,hW) = {
1664- let hY = fp(hV, hW, "", "", false)
1665- let fE = hY._1
1666- let dB = hY._2
1667- let cx = hY._3
1668- let fJ = hY._4
1665+func putOneTknV2WithoutTakeFeeREADONLY (hX,hY) = {
1666+ let ia = fp(hX, hY, "", "", false)
1667+ let fE = ia._1
1668+ let dB = ia._2
1669+ let cx = ia._3
1670+ let fJ = ia._4
16691671 $Tuple2(nil, $Tuple3(fE, cx, fJ))
16701672 }
16711673
16721674
16731675
16741676 @Callable(cP)
1675-func activate (hZ,ia) = if ((toString(cP.caller) != toString(aQ)))
1677+func activate (ib,ic) = if ((toString(cP.caller) != toString(aQ)))
16761678 then throw("denied")
1677- else $Tuple2([StringEntry(aj(), hZ), StringEntry(ak(), ia)], "success")
1679+ else $Tuple2([StringEntry(aj(), ib), StringEntry(ak(), ic)], "success")
16781680
16791681
16801682
16811683 @Callable(cP)
1682-func setS (ib,hM) = if ((toString(cP.caller) != aJ(this, am())))
1684+func setS (id,hN) = if ((toString(cP.caller) != aJ(this, am())))
16831685 then gn
1684- else [StringEntry(ib, hM)]
1686+ else [StringEntry(id, hN)]
16851687
16861688
16871689
16881690 @Callable(cP)
1689-func setI (ib,hM) = if ((toString(cP.caller) != aJ(this, am())))
1691+func setI (id,hN) = if ((toString(cP.caller) != aJ(this, am())))
16901692 then gn
1691- else [IntegerEntry(ib, hM)]
1693+ else [IntegerEntry(id, hN)]
16921694
16931695
16941696
16951697 @Callable(cP)
16961698 func getPoolConfigWrapperREADONLY () = $Tuple2(nil, aY())
16971699
16981700
16991701
17001702 @Callable(cP)
17011703 func getAccBalanceWrapperREADONLY (bO) = $Tuple2(nil, bN(bO))
17021704
17031705
17041706
17051707 @Callable(cP)
17061708 func calcPricesWrapperREADONLY (ch,ci,cm) = {
1707- let ic = cl(ch, ci, cm)
1708- $Tuple2(nil, [toString(ic[0]), toString(ic[1]), toString(ic[2])])
1709+ let ie = cl(ch, ci, cm)
1710+ $Tuple2(nil, [toString(ie[0]), toString(ie[1]), toString(ie[2])])
17091711 }
17101712
17111713
17121714
17131715 @Callable(cP)
1714-func fromX18WrapperREADONLY (M,id) = $Tuple2(nil, L(parseBigIntValue(M), id))
1716+func fromX18WrapperREADONLY (M,if) = $Tuple2(nil, L(parseBigIntValue(M), if))
17151717
17161718
17171719
17181720 @Callable(cP)
17191721 func toX18WrapperREADONLY (I,J) = $Tuple2(nil, toString(H(I, J)))
17201722
17211723
17221724
17231725 @Callable(cP)
17241726 func calcPriceBigIntWrapperREADONLY (bQ,bR) = $Tuple2(nil, toString(bP(parseBigIntValue(bQ), parseBigIntValue(bR))))
17251727
17261728
17271729
17281730 @Callable(cP)
1729-func estimatePutOperationWrapperREADONLY (de,bW,dD,dE,dF,dG,ie,dH,dI) = $Tuple2(nil, dC(de, bW, dD, dE, dF, dG, ie, dH, dI, true, false, 0, ""))
1731+func estimatePutOperationWrapperREADONLY (de,bW,dD,dE,dF,dG,ig,dH,dI) = $Tuple2(nil, dC(de, bW, dD, dE, dF, dG, ig, dH, dI, true, false, 0, ""))
17301732
17311733
17321734
17331735 @Callable(cP)
1734-func estimateGetOperationWrapperREADONLY (de,if,dg,ie) = {
1735- let dX = dd(de, if, dg, addressFromStringValue(ie))
1736+func estimateGetOperationWrapperREADONLY (de,ih,dg,ig) = {
1737+ let dX = dd(de, ih, dg, addressFromStringValue(ig))
17361738 $Tuple2(nil, $Tuple10(dX._1, dX._2, dX._3, dX._4, dX._5, dX._6, dX._7, toString(dX._8), dX._9, dX._10))
17371739 }
17381740
17391741
1740-@Verifier(ig)
1741-func ih () = {
1742- let ii = {
1742+@Verifier(ii)
1743+func ij () = {
1744+ let ik = {
17431745 let gl = gk()
17441746 if ($isInstanceOf(gl, "ByteVector"))
17451747 then {
17461748 let gp = gl
17471749 gp
17481750 }
17491751 else if ($isInstanceOf(gl, "Unit"))
1750- then ig.senderPublicKey
1752+ then ii.senderPublicKey
17511753 else throw("Match error")
17521754 }
1753- let gl = ig
1755+ let gl = ii
17541756 if ($isInstanceOf(gl, "Order"))
17551757 then {
17561758 let eZ = gl
1757- let ij = aW()
1758- let ik = eY(eZ)
1759- let aF = ik._1
1760- let aG = ik._2
1759+ let il = aW()
1760+ let im = eY(eZ)
1761+ let aF = im._1
1762+ let aG = im._2
17611763 let aH = sigVerify(eZ.bodyBytes, eZ.proofs[0], eZ.senderPublicKey)
1762- let aI = sigVerify(eZ.bodyBytes, eZ.proofs[1], ij)
1764+ let aI = sigVerify(eZ.bodyBytes, eZ.proofs[1], il)
17631765 if (if (if (aF)
17641766 then aH
17651767 else false)
17661768 then aI
17671769 else false)
17681770 then true
17691771 else aE(aF, aG, aH, aI)
17701772 }
17711773 else if ($isInstanceOf(gl, "SetScriptTransaction"))
17721774 then {
17731775 let cC = gl
1774- if (sigVerify(ig.bodyBytes, ig.proofs[0], ii))
1776+ if (sigVerify(ii.bodyBytes, ii.proofs[0], ik))
17751777 then true
17761778 else {
1777- let il = blake2b256(value(cC.script))
1778- let im = fromBase64String(value(getString(aQ, aC())))
1779- let in = scriptHash(this)
1780- if ((im == il))
1781- then (in != il)
1779+ let in = blake2b256(value(cC.script))
1780+ let io = fromBase64String(value(getString(aQ, aC())))
1781+ let ip = scriptHash(this)
1782+ if ((io == in))
1783+ then (ip != in)
17821784 else false
17831785 }
17841786 }
1785- else sigVerify(ig.bodyBytes, ig.proofs[0], ii)
1787+ else sigVerify(ii.bodyBytes, ii.proofs[0], ik)
17861788 }
17871789

github/deemru/w8io/026f985 
326.69 ms