tx · Gtt4HGsZ6dH8gjhEfELrwmR8Y9oy7dyQ2GgDNMnfAzRt

3MzKSdTH2jFbypLsoNfrH7QgkzSbx3EYwCA:  -0.04000000 Waves

2023.02.21 09:30 [2459040] smart account 3MzKSdTH2jFbypLsoNfrH7QgkzSbx3EYwCA > SELF 0.00000000 Waves

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

github/deemru/w8io/026f985 
338.40 ms