tx · 3PYWYFpzhVCcmqL6exEBftWnNKRmSsokvNLSgnZN2G65

3MzKSdTH2jFbypLsoNfrH7QgkzSbx3EYwCA:  -0.04000000 Waves

2023.03.06 11:05 [2477965] smart account 3MzKSdTH2jFbypLsoNfrH7QgkzSbx3EYwCA > SELF 0.00000000 Waves

{ "type": 13, "id": "3PYWYFpzhVCcmqL6exEBftWnNKRmSsokvNLSgnZN2G65", "fee": 4000000, "feeAssetId": null, "timestamp": 1678089933923, "version": 2, "chainId": 84, "sender": "3MzKSdTH2jFbypLsoNfrH7QgkzSbx3EYwCA", "senderPublicKey": "35yd3qw1gxKDxKwGAykHN9fANbXNWwseaUwbWDj24o3x", "proofs": [ "4qm1ZBzfcLZKmAMmDeXthYGbYcKKB29wNk6G4t52NVkuCksM15SUR3DtdKGdxmJw7KurxYNqiD9UxVnLHQGafEYB" ], "script": "base64:BgLYKggCEgQKAgEEEgYKBAEEAQgSAwoBCBIDCgEIEgASBAoCAQQSBAoCAQQSAwoBARIAEgQKAggBEgASBAoCCAESBAoCCAESBAoCAQESAwoBARIFCgMBAQESBQoDAQgBEgQKAgEIEgQKAgEIEgQKAggIEgQKAggIEgQKAggBEgASAwoBCBIFCgMBAQESBAoCCAESBAoCAQESBAoCCAgSCwoJCAEBAgECCAQEEgYKBAgIAQgiBnNjYWxlOCIMc2NhbGU4QmlnSW50IgdzY2FsZTE4Igp6ZXJvQmlnSW50IgRiaWcwIgRiaWcxIgRiaWcyIgRiaWczIgRiaWc0IgpzbGlwcGFnZTREIgt3YXZlc1N0cmluZyIFQW11bHQiBURjb252IgNTRVAiBUVNUFRZIgpQb29sQWN0aXZlIgpQb29sUHV0RGlzIg5Qb29sTWF0Y2hlckRpcyIMUG9vbFNodXRkb3duIg5pZHhQb29sQWRkcmVzcyIJaWR4UG9vbFN0IglpZHhMUEFzSWQiCWlkeEFtQXNJZCIJaWR4UHJBc0lkIgtpZHhBbXRBc0RjbSINaWR4UHJpY2VBc0RjbSILaWR4SUFtdEFz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AJhSQkA9AMDCAUCZVoJYm9keUJ5dGVzCQCRAwIIBQJlWgZwcm9vZnMAAQUCaWoDAwMFAmFGBQJhSAcFAmFJBwYJAQJhRQQFAmFGBQJhRwUCYUgFAmFJAwkAAQIFAmdsAhRTZXRTY3JpcHRUcmFuc2FjdGlvbgQCY0MFAmdsAwkA9AMDCAUCaWcJYm9keUJ5dGVzCQCRAwIIBQJpZwZwcm9vZnMAAAUCaWkGBAJpbAkA9gMBCQEFdmFsdWUBCAUCY0MGc2NyaXB0BAJpbQkA2wQBCQEFdmFsdWUBCQCdCAIFAmFRCQECYUMABAJpbgkA8QcBBQR0aGlzAwkAAAIFAmltBQJpbAkBAiE9AgUCaW4FAmlsBwkA9AMDCAUCaWcJYm9keUJ5dGVzCQCRAwIIBQJpZwZwcm9vZnMAAAUCaWnguC5S", "height": 2477965, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2iJBRYT13jorsXutnswKdURrLikTedPQiWsA7Pwq65oC Next: DVkNzFG2fUoCdDn9ihzsgnYQGviE43mQBtwAkEdQHc24 Diff:
OldNewDifferences
952952
953953
954954 @Callable(cP)
955-func calculateAmountOutForSwapREADONLY (gw,gs,gx) = {
956- let gy = if ((gs == false))
955+func calculateAmountOutForSwapREADONLY (gw,gs) = {
956+ let gx = if ((gs == false))
957957 then {
958- let gz = aJ(this, ak())
958+ let gy = aJ(this, ak())
959959 let gt = (toBigInt(bN(aJ(this, aj()))) + toBigInt(gw))
960- $Tuple2(gz, gt)
960+ $Tuple2(gy, gt)
961961 }
962962 else {
963- let gz = aJ(this, aj())
963+ let gy = aJ(this, aj())
964964 let gt = (toBigInt(bN(aJ(this, ak()))) + toBigInt(gw))
965- $Tuple2(gz, gt)
965+ $Tuple2(gy, gt)
966966 }
967- let gz = gy._1
968- let gt = gy._2
967+ let gy = gx._1
968+ let gt = gx._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 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))
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))
982982 then true
983- else throw(makeString(["new D is fewer error", toString(et), toString(gD)], "__"))
983+ else throw(makeString(["new D is fewer error", toString(et), toString(gC)], "__"))
984984 if ((dY == dY))
985- then $Tuple2(nil, gB)
985+ then $Tuple2(nil, gA)
986986 else throw("Strict value is not equal to itself.")
987987 }
988988
989989
990990
991991 @Callable(cP)
992-func calculateAmountOutForSwapAndSendTokens (gw,gs,gE,gF,gx) = {
993- let gG = {
992+func calculateAmountOutForSwapAndSendTokens (gw,gs,gD,gE) = {
993+ let gF = {
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 gH = [if ((value(cP.payments[0]).amount >= gw))
999+ let gG = [if ((value(cP.payments[0]).amount >= gw))
10001000 then true
1001- else aN("Wrong amount"), if ((cP.caller == addressFromStringValue(gG)))
1001+ else aN("Wrong amount"), if ((cP.caller == addressFromStringValue(gF)))
10021002 then true
10031003 else aN("Permission denied")]
1004- if ((gH == gH))
1004+ if ((gG == gG))
10051005 then {
10061006 let fk = value(cP.payments[0])
1007- let gI = be(fk.assetId)
1008- let gJ = if ((gs == false))
1007+ let gH = be(fk.assetId)
1008+ let gI = if ((gs == false))
10091009 then {
1010- let gz = aJ(this, ak())
1011- let gt = (bN(gI) - value(cP.payments[0]).amount)
1012- $Tuple2(gz, gt)
1010+ let gy = aJ(this, ak())
1011+ let gt = (bN(gH) - value(cP.payments[0]).amount)
1012+ $Tuple2(gy, gt)
10131013 }
10141014 else {
1015- let gz = aJ(this, aj())
1016- let gt = (bN(gI) - value(cP.payments[0]).amount)
1017- $Tuple2(gz, gt)
1015+ let gy = aJ(this, aj())
1016+ let gt = (bN(gH) - value(cP.payments[0]).amount)
1017+ $Tuple2(gy, gt)
10181018 }
1019- let gz = gJ._1
1020- let gt = gJ._2
1019+ let gy = gI._1
1020+ let gt = gI._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 gA = ((toBigInt(bN(gz)) - eB) - toBigInt(1))
1030- let gB = max([0, toInt(gA)])
1031- let gK = if ((gB >= gE))
1029+ let gz = ((toBigInt(bN(gy)) - eB) - toBigInt(1))
1030+ let gA = max([0, toInt(gz)])
1031+ let gJ = if ((gA >= gD))
10321032 then true
10331033 else throw("Exchange result is fewer coins than expected")
1034- if ((gK == gK))
1034+ if ((gJ == gJ))
10351035 then {
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))
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))
10411041 then true
10421042 else throw("new D is fewer error")
10431043 if ((dY == dY))
1044- then $Tuple2([ScriptTransfer(addressFromStringValue(gF), gB, bc(gz))], gB)
1044+ then $Tuple2([ScriptTransfer(addressFromStringValue(gE), gA, bc(gy))], gA)
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 (gL) = {
1065+func setManager (gK) = {
10661066 let ex = gq(cP)
10671067 if ((ex == ex))
10681068 then {
1069- let gM = fromBase58String(gL)
1070- if ((gM == gM))
1071- then [StringEntry(aa(), gL)]
1069+ let gL = fromBase58String(gK)
1070+ if ((gL == gL))
1071+ then [StringEntry(aa(), gK)]
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 gN = if (isDefined(cu))
1082+ let gM = if (isDefined(cu))
10831083 then true
10841084 else throw("No pending manager")
1085- if ((gN == gN))
1085+ if ((gM == gM))
10861086 then {
1087- let gO = if ((cP.callerPublicKey == value(cu)))
1087+ let gN = if ((cP.callerPublicKey == value(cu)))
10881088 then true
10891089 else throw("You are not pending manager")
1090- if ((gO == gO))
1090+ if ((gN == gN))
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 (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))
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))
11051105 then throw("Wrong slippage")
11061106 else if ((size(cP.payments) != 2))
11071107 then throw("2 pmnts expd")
11081108 else {
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)
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)
11121112 if ((eO == eO))
11131113 then {
1114- let eP = (toBigInt(bN(be(bn))) - gV)
1114+ let eP = (toBigInt(bN(be(bn))) - gU)
11151115 if ((eP == eP))
11161116 then {
11171117 let eQ = toBigInt(value(assetInfo(bl)).quantity)
11181118 if ((eQ == eQ))
11191119 then {
1120- let eR = eK(gU, gV, toBigInt(0))
1120+ let eR = eK(gT, gU, toBigInt(0))
11211121 if ((eR == eR))
11221122 then {
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
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
11311131 let dX = invoke(aQ, "emit", [el], nil)
11321132 if ((dX == dX))
11331133 then {
1134- let gY = {
1134+ let gX = {
11351135 let gl = dX
11361136 if ($isInstanceOf(gl, "Address"))
11371137 then {
1138- let gZ = gl
1139- invoke(gZ, "emit", [el], nil)
1138+ let gY = gl
1139+ invoke(gY, "emit", [el], nil)
11401140 }
11411141 else unit
11421142 }
1143- if ((gY == gY))
1143+ if ((gX == gX))
11441144 then {
1145- let ha = if ((em > 0))
1146- then invoke(gT, "put", nil, [AttachedPayment(dj, em)])
1145+ let gZ = if ((em > 0))
1146+ then invoke(gS, "put", nil, [AttachedPayment(dj, em)])
11471147 else nil
1148- if ((ha == ha))
1148+ if ((gZ == gZ))
11491149 then {
1150- let hb = if ((en > 0))
1151- then invoke(gT, "put", nil, [AttachedPayment(dk, en)])
1150+ let ha = if ((en > 0))
1151+ then invoke(gS, "put", nil, [AttachedPayment(dk, en)])
11521152 else nil
1153- if ((hb == hb))
1153+ if ((ha == ha))
11541154 then {
1155- let hc = if (gQ)
1155+ let hb = if (gP)
11561156 then {
1157- let hd = invoke(gS, "stake", nil, [AttachedPayment(gX, el)])
1158- if ((hd == hd))
1157+ let hc = invoke(gR, "stake", nil, [AttachedPayment(gW, el)])
1158+ if ((hc == hc))
11591159 then nil
11601160 else throw("Strict value is not equal to itself.")
11611161 }
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))
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))
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 ((hf == hf))
1169+ if ((he == he))
11701170 then {
1171- let hg = value(assetInfo(bl)).quantity
1172- if ((hg == hg))
1173- then ((dB ++ hc) ++ gi)
1171+ let hf = value(assetInfo(bl)).quantity
1172+ if ((hf == hf))
1173+ then ((dB ++ hb) ++ 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,gQ) = {
1200- let hh = {
1199+func putOneTknV2 (fM,gP) = {
1200+ let hg = {
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 hi = if (if (if (aV())
1206+ let hh = if (if (if (aV())
12071207 then true
12081208 else (bk == q))
12091209 then true
12101210 else (bk == s))
12111211 then true
1212- else hh
1213- let gH = [if (if (!(hi))
1212+ else hg
1213+ let gG = [if (if (!(hh))
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 ((gH == gH))
1220+ if ((gG == gG))
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 hj = fp(dL, df, toString(dh), toBase58String(cP.transactionId), true)
1239- if ((hj == hj))
1238+ let hi = fp(dL, df, toString(dh), toBase58String(cP.transactionId), true)
1239+ if ((hi == hi))
12401240 then {
1241- let cx = hj._3
1242- let dB = hj._2
1243- let hk = hj._1
1241+ let cx = hi._3
1242+ let dB = hi._2
1243+ let hj = hi._1
12441244 let el = if (if ((fM > 0))
1245- then (fM > hk)
1245+ then (fM > hj)
12461246 else false)
12471247 then aN(makeString(["amount to receive is less than ", toString(fM)], ""))
1248- else hk
1249- let gW = invoke(aQ, "emit", [el], nil)
1250- if ((gW == gW))
1248+ else hj
1249+ let gV = invoke(aQ, "emit", [el], nil)
1250+ if ((gV == gV))
12511251 then {
1252- let gY = {
1253- let gl = gW
1252+ let gX = {
1253+ let gl = gV
12541254 if ($isInstanceOf(gl, "Address"))
12551255 then {
1256- let gZ = gl
1257- invoke(gZ, "emit", [el], nil)
1256+ let gY = gl
1257+ invoke(gY, "emit", [el], nil)
12581258 }
12591259 else unit
12601260 }
1261- if ((gY == gY))
1261+ if ((gX == gX))
12621262 then {
1263- let hc = if (gQ)
1263+ let hb = if (gP)
12641264 then {
1265- let hd = invoke(bu, "stake", nil, [AttachedPayment(di, el)])
1266- if ((hd == hd))
1265+ let hc = invoke(bu, "stake", nil, [AttachedPayment(di, el)])
1266+ if ((hc == hc))
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 hl = if ((this == aX))
1274+ let hk = if ((this == aX))
12751275 then $Tuple2(0, 0)
12761276 else {
1277- let hm = if ((fk.assetId == bm))
1277+ let hl = if ((fk.assetId == bm))
12781278 then true
12791279 else false
1280- if (hm)
1280+ if (hl)
12811281 then $Tuple2(-(cx), 0)
12821282 else $Tuple2(0, -(cx))
12831283 }
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
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
12891289 let gj = eW(eR, eJ)
12901290 if ((gj == gj))
1291- then $Tuple2((((dB ++ hc) ++ gc) ++ gi), el)
1291+ then $Tuple2((((dB ++ hb) ++ 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 (ho) = if ((0 > ho))
1308+func putForFree (hn) = if ((0 > hn))
13091309 then throw("Wrong slpg")
13101310 else if ((size(cP.payments) != 2))
13111311 then throw("2 pmnts expd")
13121312 else {
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))
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))
13181318 if ((eR == eR))
13191319 then {
1320- let hq = eS(0, 0, 0)
1321- let gi = hq._1
1322- let eJ = hq._2
1320+ let hp = eS(0, 0, 0)
1321+ let gi = hp._1
1322+ let eJ = hp._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 hr = dX._1
1339+ let hq = 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 hs = eS(-(hr), -(dA), 0)
1348- let gi = hs._1
1349- let eJ = hs._2
1347+ let hr = eS(-(hq), -(dA), 0)
1348+ let gi = hr._1
1349+ let eJ = hr._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 hh = {
1364+ let hg = {
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 ht = if (if (aV())
1370+ let hs = if (if (aV())
13711371 then true
13721372 else (bk == s))
13731373 then true
1374- else hh
1375- let gH = [if (if (!(ht))
1374+ else hg
1375+ let gG = [if (if (!(hs))
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 ((gH == gH))
1382+ if ((gG == gG))
13831383 then {
1384- let hu = fK(fL, fM, cP.payments, cP.caller, cP.originCaller, cP.transactionId)
1385- let dB = hu._1
1386- let fV = hu._2
1384+ let ht = fK(fL, fM, cP.payments, cP.caller, cP.originCaller, cP.transactionId)
1385+ let dB = ht._1
1386+ let fV = ht._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 hv = valueOrElse(getInteger(aq), 0)
1397- let hw = if (((height - hv) >= at))
1396+ let hu = valueOrElse(getInteger(aq), 0)
1397+ let hv = if (((height - hu) >= at))
13981398 then unit
13991399 else aN(makeString([toString(at), " blocks have not passed since the previous call"], ""))
1400- if ((hw == hw))
1400+ if ((hv == hv))
14011401 then {
14021402 let fd = valueOrErrorMessage(parseBigInt(valueOrElse(getString(this, ap), "0")), aP("invalid dLp"))
1403- let hx = eS(0, 0, 0)
1404- let hy = hx._1
1405- let eJ = hx._2
1403+ let hw = eS(0, 0, 0)
1404+ let hx = hw._1
1405+ let eJ = hw._2
14061406 let eV = if ((fd != eJ))
1407- then hy
1407+ then hx
14081408 else aN("nothing to refresh")
14091409 $Tuple2(eV, toString(eJ))
14101410 }
14141414
14151415
14161416 @Callable(cP)
1417-func getOneTknV2READONLY (fL,hz) = {
1417+func getOneTknV2READONLY (fL,hy) = {
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(hz), cb, eI))
1425- let hA = if ((fL == dj))
1424+ let ca = (cb - fraction(toBigInt(hy), cb, eI))
1425+ let hz = if ((fL == dj))
14261426 then 0
14271427 else if ((fL == dk))
14281428 then 1
14291429 else throw("invalid out asset id")
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
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
14361436 $Tuple2(nil, $Tuple2(fU, cx))
14371437 }
14381438
14391439
14401440
14411441 @Callable(cP)
1442-func getOneTknV2WithBonusREADONLY (fL,hz) = {
1442+func getOneTknV2WithBonusREADONLY (fL,hy) = {
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 hD = {
1449- let aS = invoke(this, "getOneTknV2READONLY", [fL, hz], nil)
1448+ let hC = {
1449+ let aS = invoke(this, "getOneTknV2READONLY", [fL, hy], 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 = hD._1
1455- let cx = hD._2
1456- let dX = dd("", di, hz, this)
1454+ let fU = hC._1
1455+ let cx = hC._2
1456+ let dX = dd("", di, hy, this)
14571457 let dz = dX._1
14581458 let dA = dX._2
1459- let hE = (dz + dA)
1460- let fJ = if ((hE == 0))
1459+ let hD = (dz + dA)
1460+ let fJ = if ((hD == 0))
14611461 then if ((fU == 0))
14621462 then 0
14631463 else throw("bonus calculation error")
1464- else fraction((fU - hE), a, hE)
1464+ else fraction((fU - hD), a, hD)
14651465 $Tuple2(nil, $Tuple3(fU, cx, fJ))
14661466 }
14671467
14681468
14691469
14701470 @Callable(cP)
1471-func getNoLess (hF,hG) = {
1471+func getNoLess (hE,hF) = {
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 ((hF > dz))
1479- then throw(((("Failed: " + toString(dz)) + " < ") + toString(hF)))
1480- else if ((hG > dA))
1481- then throw(((("Failed: " + toString(dA)) + " < ") + toString(hG)))
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)))
14821482 else {
14831483 let eR = eK(toBigInt(0), toBigInt(0), toBigInt(0))
14841484 if ((eR == eR))
14851485 then {
1486- let hH = invoke(aQ, "burn", [dL], [AttachedPayment(df, dL)])
1487- if ((hH == hH))
1486+ let hG = invoke(aQ, "burn", [dL], [AttachedPayment(df, dL)])
1487+ if ((hG == hG))
14881488 then {
1489- let hI = eS(-(dz), -(dA), 0)
1490- let gi = hI._1
1491- let eJ = hI._2
1489+ let hH = eS(-(dz), -(dA), 0)
1490+ let gi = hH._1
1491+ let eJ = hH._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 hJ = if ((size(cP.payments) != 0))
1507+ let hI = if ((size(cP.payments) != 0))
15081508 then throw("No pmnts expd")
15091509 else true
1510- if ((hJ == hJ))
1510+ if ((hI == hI))
15111511 then {
1512- let hK = bs()
1513- let gX = bl
1514- let hL = valueOrErrorMessage(addressFromString(hK[C]), "Wr st addr")
1512+ let hJ = bs()
1513+ let gW = bl
1514+ let hK = valueOrErrorMessage(addressFromString(hJ[C]), "Wr st addr")
15151515 let eR = eK(toBigInt(0), toBigInt(0), toBigInt(0))
15161516 if ((eR == eR))
15171517 then {
1518- let hM = invoke(hL, "unstake", [toBase58String(gX), cw], nil)
1519- if ((hM == hM))
1518+ let hL = invoke(hK, "unstake", [toBase58String(gW), cw], nil)
1519+ if ((hL == hL))
15201520 then {
1521- let dX = dd(toBase58String(cP.transactionId), toBase58String(gX), cw, cP.caller)
1521+ let dX = dd(toBase58String(cP.transactionId), toBase58String(gW), 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 hN = if (if (aV())
1526+ let hM = if (if (aV())
15271527 then true
15281528 else (dn == s))
15291529 then throw(("Blocked: " + toString(dn)))
15301530 else true
1531- if ((hN == hN))
1531+ if ((hM == hM))
15321532 then {
1533- let hO = invoke(aQ, "burn", [cw], [AttachedPayment(gX, cw)])
1534- if ((hO == hO))
1533+ let hN = invoke(aQ, "burn", [cw], [AttachedPayment(gW, cw)])
1534+ if ((hN == hN))
15351535 then {
1536- let hP = eS(-(dz), -(dA), 0)
1537- let gi = hP._1
1538- let eJ = hP._2
1536+ let hO = eS(-(dz), -(dA), 0)
1537+ let gi = hO._1
1538+ let eJ = hO._2
15391539 let gj = eW(eR, eJ)
15401540 if ((gj == gj))
15411541 then (dB ++ gi)
15551555
15561556
15571557 @Callable(cP)
1558-func unstakeAndGetNoLess (hQ,hR,hG) = {
1559- let ht = if (aV())
1558+func unstakeAndGetNoLess (hP,hQ,hF) = {
1559+ let hs = if (aV())
15601560 then true
15611561 else (bk == s)
1562- let gH = [if (!(ht))
1562+ let gG = [if (!(hs))
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 ((gH == gH))
1567+ if ((gG == gG))
15681568 then {
15691569 let eR = eK(toBigInt(0), toBigInt(0), toBigInt(0))
15701570 if ((eR == eR))
15711571 then {
1572- let hM = invoke(bu, "unstake", [toBase58String(bl), hQ], nil)
1573- if ((hM == hM))
1572+ let hL = invoke(bu, "unstake", [toBase58String(bl), hP], nil)
1573+ if ((hL == hL))
15741574 then {
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))
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))
15801580 then true
1581- else throw(makeString(["amount asset amount to receive is less than ", toString(hR)], "")), if ((dA >= hG))
1581+ else throw(makeString(["amount asset amount to receive is less than ", toString(hQ)], "")), if ((dA >= hF))
15821582 then true
1583- else throw(makeString(["price asset amount to receive is less than ", toString(hG)], ""))]
1584- if ((hT == hT))
1583+ else throw(makeString(["price asset amount to receive is less than ", toString(hF)], ""))]
1584+ if ((hS == hS))
15851585 then {
1586- let hH = invoke(aQ, "burn", [hQ], [AttachedPayment(bl, hQ)])
1587- if ((hH == hH))
1586+ let hG = invoke(aQ, "burn", [hP], [AttachedPayment(bl, hP)])
1587+ if ((hG == hG))
15881588 then {
1589- let hU = eS(-(dz), -(dA), 0)
1590- let gi = hU._1
1591- let eJ = hU._2
1589+ let hT = eS(-(dz), -(dA), 0)
1590+ let gi = hT._1
1591+ let eJ = hT._2
15921592 let gj = eW(eR, eJ)
15931593 if ((gj == gj))
15941594 then (dB ++ gi)
16081608
16091609
16101610 @Callable(cP)
1611-func unstakeAndGetOneTknV2 (hQ,fL,fM) = {
1612- let hh = {
1611+func unstakeAndGetOneTknV2 (hP,fL,fM) = {
1612+ let hg = {
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 ht = if (if (aV())
1618+ let hs = if (if (aV())
16191619 then true
16201620 else (bk == s))
16211621 then true
1622- else hh
1623- let gH = [if (if (!(ht))
1622+ else hg
1623+ let gG = [if (if (!(hs))
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 ((gH == gH))
1630+ if ((gG == gG))
16311631 then {
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))
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))
16391637 then {
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
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
16431641 $Tuple2(dB, fV)
16441642 }
16451643 else throw("Strict value is not equal to itself.")
16501648
16511649
16521650 @Callable(cP)
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
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
16591657 $Tuple2(nil, $Tuple3(fE, cx, fJ))
16601658 }
16611659
16621660
16631661
16641662 @Callable(cP)
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
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
16711669 $Tuple2(nil, $Tuple3(fE, cx, fJ))
16721670 }
16731671
16741672
16751673
16761674 @Callable(cP)
1677-func activate (ib,ic) = if ((toString(cP.caller) != toString(aQ)))
1675+func activate (hZ,ia) = if ((toString(cP.caller) != toString(aQ)))
16781676 then throw("denied")
1679- else $Tuple2([StringEntry(aj(), ib), StringEntry(ak(), ic)], "success")
1677+ else $Tuple2([StringEntry(aj(), hZ), StringEntry(ak(), ia)], "success")
16801678
16811679
16821680
16831681 @Callable(cP)
1684-func setS (id,hN) = if ((toString(cP.caller) != aJ(this, am())))
1682+func setS (ib,hM) = if ((toString(cP.caller) != aJ(this, am())))
16851683 then gn
1686- else [StringEntry(id, hN)]
1684+ else [StringEntry(ib, hM)]
16871685
16881686
16891687
16901688 @Callable(cP)
1691-func setI (id,hN) = if ((toString(cP.caller) != aJ(this, am())))
1689+func setI (ib,hM) = if ((toString(cP.caller) != aJ(this, am())))
16921690 then gn
1693- else [IntegerEntry(id, hN)]
1691+ else [IntegerEntry(ib, hM)]
16941692
16951693
16961694
17061704
17071705 @Callable(cP)
17081706 func calcPricesWrapperREADONLY (ch,ci,cm) = {
1709- let ie = cl(ch, ci, cm)
1710- $Tuple2(nil, [toString(ie[0]), toString(ie[1]), toString(ie[2])])
1707+ let ic = cl(ch, ci, cm)
1708+ $Tuple2(nil, [toString(ic[0]), toString(ic[1]), toString(ic[2])])
17111709 }
17121710
17131711
17141712
17151713 @Callable(cP)
1716-func fromX18WrapperREADONLY (M,if) = $Tuple2(nil, L(parseBigIntValue(M), if))
1714+func fromX18WrapperREADONLY (M,id) = $Tuple2(nil, L(parseBigIntValue(M), id))
17171715
17181716
17191717
17281726
17291727
17301728 @Callable(cP)
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, ""))
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, ""))
17321730
17331731
17341732
17351733 @Callable(cP)
1736-func estimateGetOperationWrapperREADONLY (de,ih,dg,ig) = {
1737- let dX = dd(de, ih, dg, addressFromStringValue(ig))
1734+func estimateGetOperationWrapperREADONLY (de,if,dg,ie) = {
1735+ let dX = dd(de, if, dg, addressFromStringValue(ie))
17381736 $Tuple2(nil, $Tuple10(dX._1, dX._2, dX._3, dX._4, dX._5, dX._6, dX._7, toString(dX._8), dX._9, dX._10))
17391737 }
17401738
17411739
1742-@Verifier(ii)
1743-func ij () = {
1744- let ik = {
1740+@Verifier(ig)
1741+func ih () = {
1742+ let ii = {
17451743 let gl = gk()
17461744 if ($isInstanceOf(gl, "ByteVector"))
17471745 then {
17491747 gp
17501748 }
17511749 else if ($isInstanceOf(gl, "Unit"))
1752- then ii.senderPublicKey
1750+ then ig.senderPublicKey
17531751 else throw("Match error")
17541752 }
1755- let gl = ii
1753+ let gl = ig
17561754 if ($isInstanceOf(gl, "Order"))
17571755 then {
17581756 let eZ = gl
1759- let il = aW()
1760- let im = eY(eZ)
1761- let aF = im._1
1762- let aG = im._2
1757+ let ij = aW()
1758+ let ik = eY(eZ)
1759+ let aF = ik._1
1760+ let aG = ik._2
17631761 let aH = sigVerify(eZ.bodyBytes, eZ.proofs[0], eZ.senderPublicKey)
1764- let aI = sigVerify(eZ.bodyBytes, eZ.proofs[1], il)
1762+ let aI = sigVerify(eZ.bodyBytes, eZ.proofs[1], ij)
17651763 if (if (if (aF)
17661764 then aH
17671765 else false)
17731771 else if ($isInstanceOf(gl, "SetScriptTransaction"))
17741772 then {
17751773 let cC = gl
1776- if (sigVerify(ii.bodyBytes, ii.proofs[0], ik))
1774+ if (sigVerify(ig.bodyBytes, ig.proofs[0], ii))
17771775 then true
17781776 else {
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)
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)
17841782 else false
17851783 }
17861784 }
1787- else sigVerify(ii.bodyBytes, ii.proofs[0], ik)
1785+ else sigVerify(ig.bodyBytes, ig.proofs[0], ii)
17881786 }
17891787
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,gx) = {
956- let gy = if ((gs == false))
955+func calculateAmountOutForSwapREADONLY (gw,gs) = {
956+ let gx = if ((gs == false))
957957 then {
958- let gz = aJ(this, ak())
958+ let gy = aJ(this, ak())
959959 let gt = (toBigInt(bN(aJ(this, aj()))) + toBigInt(gw))
960- $Tuple2(gz, gt)
960+ $Tuple2(gy, gt)
961961 }
962962 else {
963- let gz = aJ(this, aj())
963+ let gy = aJ(this, aj())
964964 let gt = (toBigInt(bN(aJ(this, ak()))) + toBigInt(gw))
965- $Tuple2(gz, gt)
965+ $Tuple2(gy, gt)
966966 }
967- let gz = gy._1
968- let gt = gy._2
967+ let gy = gx._1
968+ let gt = gx._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 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))
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))
982982 then true
983- else throw(makeString(["new D is fewer error", toString(et), toString(gD)], "__"))
983+ else throw(makeString(["new D is fewer error", toString(et), toString(gC)], "__"))
984984 if ((dY == dY))
985- then $Tuple2(nil, gB)
985+ then $Tuple2(nil, gA)
986986 else throw("Strict value is not equal to itself.")
987987 }
988988
989989
990990
991991 @Callable(cP)
992-func calculateAmountOutForSwapAndSendTokens (gw,gs,gE,gF,gx) = {
993- let gG = {
992+func calculateAmountOutForSwapAndSendTokens (gw,gs,gD,gE) = {
993+ let gF = {
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 gH = [if ((value(cP.payments[0]).amount >= gw))
999+ let gG = [if ((value(cP.payments[0]).amount >= gw))
10001000 then true
1001- else aN("Wrong amount"), if ((cP.caller == addressFromStringValue(gG)))
1001+ else aN("Wrong amount"), if ((cP.caller == addressFromStringValue(gF)))
10021002 then true
10031003 else aN("Permission denied")]
1004- if ((gH == gH))
1004+ if ((gG == gG))
10051005 then {
10061006 let fk = value(cP.payments[0])
1007- let gI = be(fk.assetId)
1008- let gJ = if ((gs == false))
1007+ let gH = be(fk.assetId)
1008+ let gI = if ((gs == false))
10091009 then {
1010- let gz = aJ(this, ak())
1011- let gt = (bN(gI) - value(cP.payments[0]).amount)
1012- $Tuple2(gz, gt)
1010+ let gy = aJ(this, ak())
1011+ let gt = (bN(gH) - value(cP.payments[0]).amount)
1012+ $Tuple2(gy, gt)
10131013 }
10141014 else {
1015- let gz = aJ(this, aj())
1016- let gt = (bN(gI) - value(cP.payments[0]).amount)
1017- $Tuple2(gz, gt)
1015+ let gy = aJ(this, aj())
1016+ let gt = (bN(gH) - value(cP.payments[0]).amount)
1017+ $Tuple2(gy, gt)
10181018 }
1019- let gz = gJ._1
1020- let gt = gJ._2
1019+ let gy = gI._1
1020+ let gt = gI._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 gA = ((toBigInt(bN(gz)) - eB) - toBigInt(1))
1030- let gB = max([0, toInt(gA)])
1031- let gK = if ((gB >= gE))
1029+ let gz = ((toBigInt(bN(gy)) - eB) - toBigInt(1))
1030+ let gA = max([0, toInt(gz)])
1031+ let gJ = if ((gA >= gD))
10321032 then true
10331033 else throw("Exchange result is fewer coins than expected")
1034- if ((gK == gK))
1034+ if ((gJ == gJ))
10351035 then {
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))
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))
10411041 then true
10421042 else throw("new D is fewer error")
10431043 if ((dY == dY))
1044- then $Tuple2([ScriptTransfer(addressFromStringValue(gF), gB, bc(gz))], gB)
1044+ then $Tuple2([ScriptTransfer(addressFromStringValue(gE), gA, bc(gy))], gA)
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 (gL) = {
1065+func setManager (gK) = {
10661066 let ex = gq(cP)
10671067 if ((ex == ex))
10681068 then {
1069- let gM = fromBase58String(gL)
1070- if ((gM == gM))
1071- then [StringEntry(aa(), gL)]
1069+ let gL = fromBase58String(gK)
1070+ if ((gL == gL))
1071+ then [StringEntry(aa(), gK)]
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 gN = if (isDefined(cu))
1082+ let gM = if (isDefined(cu))
10831083 then true
10841084 else throw("No pending manager")
1085- if ((gN == gN))
1085+ if ((gM == gM))
10861086 then {
1087- let gO = if ((cP.callerPublicKey == value(cu)))
1087+ let gN = if ((cP.callerPublicKey == value(cu)))
10881088 then true
10891089 else throw("You are not pending manager")
1090- if ((gO == gO))
1090+ if ((gN == gN))
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 (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))
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))
11051105 then throw("Wrong slippage")
11061106 else if ((size(cP.payments) != 2))
11071107 then throw("2 pmnts expd")
11081108 else {
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)
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)
11121112 if ((eO == eO))
11131113 then {
1114- let eP = (toBigInt(bN(be(bn))) - gV)
1114+ let eP = (toBigInt(bN(be(bn))) - gU)
11151115 if ((eP == eP))
11161116 then {
11171117 let eQ = toBigInt(value(assetInfo(bl)).quantity)
11181118 if ((eQ == eQ))
11191119 then {
1120- let eR = eK(gU, gV, toBigInt(0))
1120+ let eR = eK(gT, gU, toBigInt(0))
11211121 if ((eR == eR))
11221122 then {
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
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
11311131 let dX = invoke(aQ, "emit", [el], nil)
11321132 if ((dX == dX))
11331133 then {
1134- let gY = {
1134+ let gX = {
11351135 let gl = dX
11361136 if ($isInstanceOf(gl, "Address"))
11371137 then {
1138- let gZ = gl
1139- invoke(gZ, "emit", [el], nil)
1138+ let gY = gl
1139+ invoke(gY, "emit", [el], nil)
11401140 }
11411141 else unit
11421142 }
1143- if ((gY == gY))
1143+ if ((gX == gX))
11441144 then {
1145- let ha = if ((em > 0))
1146- then invoke(gT, "put", nil, [AttachedPayment(dj, em)])
1145+ let gZ = if ((em > 0))
1146+ then invoke(gS, "put", nil, [AttachedPayment(dj, em)])
11471147 else nil
1148- if ((ha == ha))
1148+ if ((gZ == gZ))
11491149 then {
1150- let hb = if ((en > 0))
1151- then invoke(gT, "put", nil, [AttachedPayment(dk, en)])
1150+ let ha = if ((en > 0))
1151+ then invoke(gS, "put", nil, [AttachedPayment(dk, en)])
11521152 else nil
1153- if ((hb == hb))
1153+ if ((ha == ha))
11541154 then {
1155- let hc = if (gQ)
1155+ let hb = if (gP)
11561156 then {
1157- let hd = invoke(gS, "stake", nil, [AttachedPayment(gX, el)])
1158- if ((hd == hd))
1157+ let hc = invoke(gR, "stake", nil, [AttachedPayment(gW, el)])
1158+ if ((hc == hc))
11591159 then nil
11601160 else throw("Strict value is not equal to itself.")
11611161 }
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))
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))
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 ((hf == hf))
1169+ if ((he == he))
11701170 then {
1171- let hg = value(assetInfo(bl)).quantity
1172- if ((hg == hg))
1173- then ((dB ++ hc) ++ gi)
1171+ let hf = value(assetInfo(bl)).quantity
1172+ if ((hf == hf))
1173+ then ((dB ++ hb) ++ 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,gQ) = {
1200- let hh = {
1199+func putOneTknV2 (fM,gP) = {
1200+ let hg = {
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 hi = if (if (if (aV())
1206+ let hh = if (if (if (aV())
12071207 then true
12081208 else (bk == q))
12091209 then true
12101210 else (bk == s))
12111211 then true
1212- else hh
1213- let gH = [if (if (!(hi))
1212+ else hg
1213+ let gG = [if (if (!(hh))
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 ((gH == gH))
1220+ if ((gG == gG))
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 hj = fp(dL, df, toString(dh), toBase58String(cP.transactionId), true)
1239- if ((hj == hj))
1238+ let hi = fp(dL, df, toString(dh), toBase58String(cP.transactionId), true)
1239+ if ((hi == hi))
12401240 then {
1241- let cx = hj._3
1242- let dB = hj._2
1243- let hk = hj._1
1241+ let cx = hi._3
1242+ let dB = hi._2
1243+ let hj = hi._1
12441244 let el = if (if ((fM > 0))
1245- then (fM > hk)
1245+ then (fM > hj)
12461246 else false)
12471247 then aN(makeString(["amount to receive is less than ", toString(fM)], ""))
1248- else hk
1249- let gW = invoke(aQ, "emit", [el], nil)
1250- if ((gW == gW))
1248+ else hj
1249+ let gV = invoke(aQ, "emit", [el], nil)
1250+ if ((gV == gV))
12511251 then {
1252- let gY = {
1253- let gl = gW
1252+ let gX = {
1253+ let gl = gV
12541254 if ($isInstanceOf(gl, "Address"))
12551255 then {
1256- let gZ = gl
1257- invoke(gZ, "emit", [el], nil)
1256+ let gY = gl
1257+ invoke(gY, "emit", [el], nil)
12581258 }
12591259 else unit
12601260 }
1261- if ((gY == gY))
1261+ if ((gX == gX))
12621262 then {
1263- let hc = if (gQ)
1263+ let hb = if (gP)
12641264 then {
1265- let hd = invoke(bu, "stake", nil, [AttachedPayment(di, el)])
1266- if ((hd == hd))
1265+ let hc = invoke(bu, "stake", nil, [AttachedPayment(di, el)])
1266+ if ((hc == hc))
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 hl = if ((this == aX))
1274+ let hk = if ((this == aX))
12751275 then $Tuple2(0, 0)
12761276 else {
1277- let hm = if ((fk.assetId == bm))
1277+ let hl = if ((fk.assetId == bm))
12781278 then true
12791279 else false
1280- if (hm)
1280+ if (hl)
12811281 then $Tuple2(-(cx), 0)
12821282 else $Tuple2(0, -(cx))
12831283 }
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
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
12891289 let gj = eW(eR, eJ)
12901290 if ((gj == gj))
1291- then $Tuple2((((dB ++ hc) ++ gc) ++ gi), el)
1291+ then $Tuple2((((dB ++ hb) ++ 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 (ho) = if ((0 > ho))
1308+func putForFree (hn) = if ((0 > hn))
13091309 then throw("Wrong slpg")
13101310 else if ((size(cP.payments) != 2))
13111311 then throw("2 pmnts expd")
13121312 else {
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))
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))
13181318 if ((eR == eR))
13191319 then {
1320- let hq = eS(0, 0, 0)
1321- let gi = hq._1
1322- let eJ = hq._2
1320+ let hp = eS(0, 0, 0)
1321+ let gi = hp._1
1322+ let eJ = hp._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 hr = dX._1
1339+ let hq = 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 hs = eS(-(hr), -(dA), 0)
1348- let gi = hs._1
1349- let eJ = hs._2
1347+ let hr = eS(-(hq), -(dA), 0)
1348+ let gi = hr._1
1349+ let eJ = hr._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 hh = {
1364+ let hg = {
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 ht = if (if (aV())
1370+ let hs = if (if (aV())
13711371 then true
13721372 else (bk == s))
13731373 then true
1374- else hh
1375- let gH = [if (if (!(ht))
1374+ else hg
1375+ let gG = [if (if (!(hs))
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 ((gH == gH))
1382+ if ((gG == gG))
13831383 then {
1384- let hu = fK(fL, fM, cP.payments, cP.caller, cP.originCaller, cP.transactionId)
1385- let dB = hu._1
1386- let fV = hu._2
1384+ let ht = fK(fL, fM, cP.payments, cP.caller, cP.originCaller, cP.transactionId)
1385+ let dB = ht._1
1386+ let fV = ht._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 hv = valueOrElse(getInteger(aq), 0)
1397- let hw = if (((height - hv) >= at))
1396+ let hu = valueOrElse(getInteger(aq), 0)
1397+ let hv = if (((height - hu) >= at))
13981398 then unit
13991399 else aN(makeString([toString(at), " blocks have not passed since the previous call"], ""))
1400- if ((hw == hw))
1400+ if ((hv == hv))
14011401 then {
14021402 let fd = valueOrErrorMessage(parseBigInt(valueOrElse(getString(this, ap), "0")), aP("invalid dLp"))
1403- let hx = eS(0, 0, 0)
1404- let hy = hx._1
1405- let eJ = hx._2
1403+ let hw = eS(0, 0, 0)
1404+ let hx = hw._1
1405+ let eJ = hw._2
14061406 let eV = if ((fd != eJ))
1407- then hy
1407+ then hx
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,hz) = {
1417+func getOneTknV2READONLY (fL,hy) = {
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(hz), cb, eI))
1425- let hA = if ((fL == dj))
1424+ let ca = (cb - fraction(toBigInt(hy), cb, eI))
1425+ let hz = if ((fL == dj))
14261426 then 0
14271427 else if ((fL == dk))
14281428 then 1
14291429 else throw("invalid out asset id")
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
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
14361436 $Tuple2(nil, $Tuple2(fU, cx))
14371437 }
14381438
14391439
14401440
14411441 @Callable(cP)
1442-func getOneTknV2WithBonusREADONLY (fL,hz) = {
1442+func getOneTknV2WithBonusREADONLY (fL,hy) = {
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 hD = {
1449- let aS = invoke(this, "getOneTknV2READONLY", [fL, hz], nil)
1448+ let hC = {
1449+ let aS = invoke(this, "getOneTknV2READONLY", [fL, hy], 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 = hD._1
1455- let cx = hD._2
1456- let dX = dd("", di, hz, this)
1454+ let fU = hC._1
1455+ let cx = hC._2
1456+ let dX = dd("", di, hy, this)
14571457 let dz = dX._1
14581458 let dA = dX._2
1459- let hE = (dz + dA)
1460- let fJ = if ((hE == 0))
1459+ let hD = (dz + dA)
1460+ let fJ = if ((hD == 0))
14611461 then if ((fU == 0))
14621462 then 0
14631463 else throw("bonus calculation error")
1464- else fraction((fU - hE), a, hE)
1464+ else fraction((fU - hD), a, hD)
14651465 $Tuple2(nil, $Tuple3(fU, cx, fJ))
14661466 }
14671467
14681468
14691469
14701470 @Callable(cP)
1471-func getNoLess (hF,hG) = {
1471+func getNoLess (hE,hF) = {
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 ((hF > dz))
1479- then throw(((("Failed: " + toString(dz)) + " < ") + toString(hF)))
1480- else if ((hG > dA))
1481- then throw(((("Failed: " + toString(dA)) + " < ") + toString(hG)))
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)))
14821482 else {
14831483 let eR = eK(toBigInt(0), toBigInt(0), toBigInt(0))
14841484 if ((eR == eR))
14851485 then {
1486- let hH = invoke(aQ, "burn", [dL], [AttachedPayment(df, dL)])
1487- if ((hH == hH))
1486+ let hG = invoke(aQ, "burn", [dL], [AttachedPayment(df, dL)])
1487+ if ((hG == hG))
14881488 then {
1489- let hI = eS(-(dz), -(dA), 0)
1490- let gi = hI._1
1491- let eJ = hI._2
1489+ let hH = eS(-(dz), -(dA), 0)
1490+ let gi = hH._1
1491+ let eJ = hH._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 hJ = if ((size(cP.payments) != 0))
1507+ let hI = if ((size(cP.payments) != 0))
15081508 then throw("No pmnts expd")
15091509 else true
1510- if ((hJ == hJ))
1510+ if ((hI == hI))
15111511 then {
1512- let hK = bs()
1513- let gX = bl
1514- let hL = valueOrErrorMessage(addressFromString(hK[C]), "Wr st addr")
1512+ let hJ = bs()
1513+ let gW = bl
1514+ let hK = valueOrErrorMessage(addressFromString(hJ[C]), "Wr st addr")
15151515 let eR = eK(toBigInt(0), toBigInt(0), toBigInt(0))
15161516 if ((eR == eR))
15171517 then {
1518- let hM = invoke(hL, "unstake", [toBase58String(gX), cw], nil)
1519- if ((hM == hM))
1518+ let hL = invoke(hK, "unstake", [toBase58String(gW), cw], nil)
1519+ if ((hL == hL))
15201520 then {
1521- let dX = dd(toBase58String(cP.transactionId), toBase58String(gX), cw, cP.caller)
1521+ let dX = dd(toBase58String(cP.transactionId), toBase58String(gW), 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 hN = if (if (aV())
1526+ let hM = if (if (aV())
15271527 then true
15281528 else (dn == s))
15291529 then throw(("Blocked: " + toString(dn)))
15301530 else true
1531- if ((hN == hN))
1531+ if ((hM == hM))
15321532 then {
1533- let hO = invoke(aQ, "burn", [cw], [AttachedPayment(gX, cw)])
1534- if ((hO == hO))
1533+ let hN = invoke(aQ, "burn", [cw], [AttachedPayment(gW, cw)])
1534+ if ((hN == hN))
15351535 then {
1536- let hP = eS(-(dz), -(dA), 0)
1537- let gi = hP._1
1538- let eJ = hP._2
1536+ let hO = eS(-(dz), -(dA), 0)
1537+ let gi = hO._1
1538+ let eJ = hO._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 (hQ,hR,hG) = {
1559- let ht = if (aV())
1558+func unstakeAndGetNoLess (hP,hQ,hF) = {
1559+ let hs = if (aV())
15601560 then true
15611561 else (bk == s)
1562- let gH = [if (!(ht))
1562+ let gG = [if (!(hs))
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 ((gH == gH))
1567+ if ((gG == gG))
15681568 then {
15691569 let eR = eK(toBigInt(0), toBigInt(0), toBigInt(0))
15701570 if ((eR == eR))
15711571 then {
1572- let hM = invoke(bu, "unstake", [toBase58String(bl), hQ], nil)
1573- if ((hM == hM))
1572+ let hL = invoke(bu, "unstake", [toBase58String(bl), hP], nil)
1573+ if ((hL == hL))
15741574 then {
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))
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))
15801580 then true
1581- else throw(makeString(["amount asset amount to receive is less than ", toString(hR)], "")), if ((dA >= hG))
1581+ else throw(makeString(["amount asset amount to receive is less than ", toString(hQ)], "")), if ((dA >= hF))
15821582 then true
1583- else throw(makeString(["price asset amount to receive is less than ", toString(hG)], ""))]
1584- if ((hT == hT))
1583+ else throw(makeString(["price asset amount to receive is less than ", toString(hF)], ""))]
1584+ if ((hS == hS))
15851585 then {
1586- let hH = invoke(aQ, "burn", [hQ], [AttachedPayment(bl, hQ)])
1587- if ((hH == hH))
1586+ let hG = invoke(aQ, "burn", [hP], [AttachedPayment(bl, hP)])
1587+ if ((hG == hG))
15881588 then {
1589- let hU = eS(-(dz), -(dA), 0)
1590- let gi = hU._1
1591- let eJ = hU._2
1589+ let hT = eS(-(dz), -(dA), 0)
1590+ let gi = hT._1
1591+ let eJ = hT._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 (hQ,fL,fM) = {
1612- let hh = {
1611+func unstakeAndGetOneTknV2 (hP,fL,fM) = {
1612+ let hg = {
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 ht = if (if (aV())
1618+ let hs = if (if (aV())
16191619 then true
16201620 else (bk == s))
16211621 then true
1622- else hh
1623- let gH = [if (if (!(ht))
1622+ else hg
1623+ let gG = [if (if (!(hs))
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 ((gH == gH))
1630+ if ((gG == gG))
16311631 then {
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))
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))
16391637 then {
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
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
16431641 $Tuple2(dB, fV)
16441642 }
16451643 else throw("Strict value is not equal to itself.")
16461644 }
16471645 else throw("Strict value is not equal to itself.")
16481646 }
16491647
16501648
16511649
16521650 @Callable(cP)
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
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
16591657 $Tuple2(nil, $Tuple3(fE, cx, fJ))
16601658 }
16611659
16621660
16631661
16641662 @Callable(cP)
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
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
16711669 $Tuple2(nil, $Tuple3(fE, cx, fJ))
16721670 }
16731671
16741672
16751673
16761674 @Callable(cP)
1677-func activate (ib,ic) = if ((toString(cP.caller) != toString(aQ)))
1675+func activate (hZ,ia) = if ((toString(cP.caller) != toString(aQ)))
16781676 then throw("denied")
1679- else $Tuple2([StringEntry(aj(), ib), StringEntry(ak(), ic)], "success")
1677+ else $Tuple2([StringEntry(aj(), hZ), StringEntry(ak(), ia)], "success")
16801678
16811679
16821680
16831681 @Callable(cP)
1684-func setS (id,hN) = if ((toString(cP.caller) != aJ(this, am())))
1682+func setS (ib,hM) = if ((toString(cP.caller) != aJ(this, am())))
16851683 then gn
1686- else [StringEntry(id, hN)]
1684+ else [StringEntry(ib, hM)]
16871685
16881686
16891687
16901688 @Callable(cP)
1691-func setI (id,hN) = if ((toString(cP.caller) != aJ(this, am())))
1689+func setI (ib,hM) = if ((toString(cP.caller) != aJ(this, am())))
16921690 then gn
1693- else [IntegerEntry(id, hN)]
1691+ else [IntegerEntry(ib, hM)]
16941692
16951693
16961694
16971695 @Callable(cP)
16981696 func getPoolConfigWrapperREADONLY () = $Tuple2(nil, aY())
16991697
17001698
17011699
17021700 @Callable(cP)
17031701 func getAccBalanceWrapperREADONLY (bO) = $Tuple2(nil, bN(bO))
17041702
17051703
17061704
17071705 @Callable(cP)
17081706 func calcPricesWrapperREADONLY (ch,ci,cm) = {
1709- let ie = cl(ch, ci, cm)
1710- $Tuple2(nil, [toString(ie[0]), toString(ie[1]), toString(ie[2])])
1707+ let ic = cl(ch, ci, cm)
1708+ $Tuple2(nil, [toString(ic[0]), toString(ic[1]), toString(ic[2])])
17111709 }
17121710
17131711
17141712
17151713 @Callable(cP)
1716-func fromX18WrapperREADONLY (M,if) = $Tuple2(nil, L(parseBigIntValue(M), if))
1714+func fromX18WrapperREADONLY (M,id) = $Tuple2(nil, L(parseBigIntValue(M), id))
17171715
17181716
17191717
17201718 @Callable(cP)
17211719 func toX18WrapperREADONLY (I,J) = $Tuple2(nil, toString(H(I, J)))
17221720
17231721
17241722
17251723 @Callable(cP)
17261724 func calcPriceBigIntWrapperREADONLY (bQ,bR) = $Tuple2(nil, toString(bP(parseBigIntValue(bQ), parseBigIntValue(bR))))
17271725
17281726
17291727
17301728 @Callable(cP)
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, ""))
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, ""))
17321730
17331731
17341732
17351733 @Callable(cP)
1736-func estimateGetOperationWrapperREADONLY (de,ih,dg,ig) = {
1737- let dX = dd(de, ih, dg, addressFromStringValue(ig))
1734+func estimateGetOperationWrapperREADONLY (de,if,dg,ie) = {
1735+ let dX = dd(de, if, dg, addressFromStringValue(ie))
17381736 $Tuple2(nil, $Tuple10(dX._1, dX._2, dX._3, dX._4, dX._5, dX._6, dX._7, toString(dX._8), dX._9, dX._10))
17391737 }
17401738
17411739
1742-@Verifier(ii)
1743-func ij () = {
1744- let ik = {
1740+@Verifier(ig)
1741+func ih () = {
1742+ let ii = {
17451743 let gl = gk()
17461744 if ($isInstanceOf(gl, "ByteVector"))
17471745 then {
17481746 let gp = gl
17491747 gp
17501748 }
17511749 else if ($isInstanceOf(gl, "Unit"))
1752- then ii.senderPublicKey
1750+ then ig.senderPublicKey
17531751 else throw("Match error")
17541752 }
1755- let gl = ii
1753+ let gl = ig
17561754 if ($isInstanceOf(gl, "Order"))
17571755 then {
17581756 let eZ = gl
1759- let il = aW()
1760- let im = eY(eZ)
1761- let aF = im._1
1762- let aG = im._2
1757+ let ij = aW()
1758+ let ik = eY(eZ)
1759+ let aF = ik._1
1760+ let aG = ik._2
17631761 let aH = sigVerify(eZ.bodyBytes, eZ.proofs[0], eZ.senderPublicKey)
1764- let aI = sigVerify(eZ.bodyBytes, eZ.proofs[1], il)
1762+ let aI = sigVerify(eZ.bodyBytes, eZ.proofs[1], ij)
17651763 if (if (if (aF)
17661764 then aH
17671765 else false)
17681766 then aI
17691767 else false)
17701768 then true
17711769 else aE(aF, aG, aH, aI)
17721770 }
17731771 else if ($isInstanceOf(gl, "SetScriptTransaction"))
17741772 then {
17751773 let cC = gl
1776- if (sigVerify(ii.bodyBytes, ii.proofs[0], ik))
1774+ if (sigVerify(ig.bodyBytes, ig.proofs[0], ii))
17771775 then true
17781776 else {
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)
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)
17841782 else false
17851783 }
17861784 }
1787- else sigVerify(ii.bodyBytes, ii.proofs[0], ik)
1785+ else sigVerify(ig.bodyBytes, ig.proofs[0], ii)
17881786 }
17891787

github/deemru/w8io/026f985 
352.59 ms