tx · BUH63WvK3Gogxtgd6hALPUrB95rjJwYUvsPjhD3p3tjv

3N74GDduMoMAhHk7dApH6P9VDWKhFZ417FD:  -0.04300000 Waves

2023.08.17 16:13 [2714639] smart account 3N74GDduMoMAhHk7dApH6P9VDWKhFZ417FD > SELF 0.00000000 Waves

{ "type": 13, "id": "BUH63WvK3Gogxtgd6hALPUrB95rjJwYUvsPjhD3p3tjv", "fee": 4300000, "feeAssetId": null, "timestamp": 1692278079083, "version": 2, "chainId": 84, "sender": "3N74GDduMoMAhHk7dApH6P9VDWKhFZ417FD", "senderPublicKey": "C94AxUmoNDGMx49Ry1Q3s6UNv8WgGMUeBb6zhLbfFk8v", "proofs": [ "5VXsWcprQCPpd9vL8KKAZeACJJZBWoQaTSGjF5AuSPubLAV5LPyRZ6VKqZJhvK11Q4dFSjLnw4qPvb3Bf3hNiZKx" ], "script": "base64:BgK2OAgCEgASBQoDAQQBEgcKBQEEAQgBEgQKAgEEEgMKAQESBAoCAQQSBAoCCAESBAoCCAESBAoCCAESBQoDAQgBEgASBAoCAQESAwoBARIFCgMBAQESBAoCCAgSABIAEgMKAQgSBQoDAQEBEgQKAgEBEgQKAggBEgQKAggIEgsKCQgBAQIBAggEBBIGCgQICAEIEgASAwoBARIDCgEBEgQKAggBIgpsUGRlY2ltYWxzIgZzY2FsZTgiDHNjYWxlOEJpZ0ludCIHc2NhbGUxOCIKemVyb0JpZ0ludCIEYmlnMCIEYmlnMSIEYmlnMiILd2F2ZXNTdHJpbmciA1NFUCIKUG9vbEFjdGl2ZSIPUG9vbFB1dERpc2FibGVkIhNQb29sTWF0Y2hlckRpc2FibGVkIgxQb29sU2h1dGRvd24iDmlkeFBvb2xBZGRyZXNzIg1pZHhQb29sU3RhdHVzIhBpZHhQb29sTFBBc3NldElkIg1pZHhBbXRBc3NldElkIg9pZHhQcmljZUFzc2V0SWQiDmlkeEFtdEFzc2V0RGNtIhBpZHhQcmljZUFzc2V0RGNtIg5pZHhJQW10QXNzZXRJZCIQa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0HBQJhTgcGCQECYUoEBQJhSwUCYUwFAmFNBQJhTgMJAAECBQJhUQIUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAmFWBQJhUQMJAPQDAwgFAmlrCWJvZHlCeXRlcwkAkQMCCAUCaWsGcHJvb2ZzAAAFAmltBgQCaXAJAPYDAQkBBXZhbHVlAQgFAmFWBnNjcmlwdAQCaXEJANsEAQkBBXZhbHVlAQkAnQgCBQJiZAkBAmFGAAQCaXIJAPEHAQUEdGhpcwMJAAACBQJpcQUCaXAJAQIhPQIFAmlyBQJpcAcJAPQDAwgFAmlrCWJvZHlCeXRlcwkAkQMCCAUCaWsGcHJvb2ZzAAAFAmltDP/3ew==", "height": 2714639, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3DBf6UKjvkXrHBdwP91NLpNFVaeQgk62AYmxC7dPVvGJ Next: CFN7hTF4ePGeYgkcjtxNxou7RXoJjRXmVMuhQ2pVHMwf Diff:
OldNewDifferences
974974 then bg
975975 else throw(($getType(bg) + " couldn't be cast to String"))
976976 }
977- let fV = [if ((value(fb.payments[0]).amount >= gt))
977+ let gI = {
978+ let bg = invoke(bd, "isPoolSwapDisabledREADONLY", [toString(this)], nil)
979+ if ($isInstanceOf(bg, "Boolean"))
980+ then bg
981+ else throw(($getType(bg) + " couldn't be cast to Boolean"))
982+ }
983+ let gJ = if (if (bi())
984+ then true
985+ else (bv == n))
986+ then true
987+ else gI
988+ let fV = [if (if (!(gJ))
989+ then true
990+ else gp(fb))
991+ then true
992+ else ba("swap operation is blocked by admin"), if ((value(fb.payments[0]).amount >= gt))
978993 then true
979994 else ba("Wrong amount"), if ((fb.caller == addressFromStringValue(gH)))
980995 then true
9961011 else throw("new K is fewer error")
9971012 if ((gE == gE))
9981013 then {
999- let gI = if ((gB >= gF))
1014+ let gK = if ((gB >= gF))
10001015 then true
10011016 else throw("Exchange result is fewer coins than expected")
1002- if ((gI == gI))
1017+ if ((gK == gK))
10031018 then {
10041019 let eJ = if (gu)
10051020 then -(gB)
10071022 let eK = if (gu)
10081023 then gv
10091024 else -(gB)
1010- let gJ = eI(eJ, eK, 0)._1
1011- if ((gJ == gJ))
1025+ let gL = eI(eJ, eK, 0)._1
1026+ if ((gL == gL))
10121027 then {
1013- let gK = cI(gy)
1014- if ((gK == gK))
1028+ let gM = cI(gy)
1029+ if ((gM == gM))
10151030 then {
1016- let gL = cP(gx, gB)
1017- if ((gL == gL))
1018- then $Tuple2(((gL ++ gK) ++ [ScriptTransfer(addressFromStringValue(gG), gB, bn(gx))]), gB)
1031+ let gN = cP(gx, gB)
1032+ if ((gN == gN))
1033+ then $Tuple2(((gN ++ gM) ++ [ScriptTransfer(addressFromStringValue(gG), gB, bn(gx))]), gB)
10191034 else throw("Strict value is not equal to itself.")
10201035 }
10211036 else throw("Strict value is not equal to itself.")
10321047
10331048
10341049 @Callable(fb)
1035-func put (dO,gM) = if ((0 > dO))
1050+func put (dO,gO) = if ((0 > dO))
10361051 then throw("Invalid slippageTolerance passed")
10371052 else {
10381053 let fh = fe(fb, dO, true)
10411056 let dM = fh._9
10421057 let er = fh._10
10431058 let es = fh._11
1044- let gN = fh._12
1045- let gO = fh._13
1059+ let gP = fh._12
1060+ let gQ = fh._13
10461061 let ff = toBigInt(value(fb.payments[0]).amount)
10471062 let fg = toBigInt(value(fb.payments[1]).amount)
10481063 let eH = eA(ff, fg, toBigInt(0))
10621077 }
10631078 if ((fk == fk))
10641079 then {
1065- let gP = if ((er > 0))
1066- then invoke(bD, "put", nil, [AttachedPayment(gN, er)])
1080+ let gR = if ((er > 0))
1081+ then invoke(bD, "put", nil, [AttachedPayment(gP, er)])
10671082 else nil
1068- if ((gP == gP))
1083+ if ((gR == gR))
10691084 then {
1070- let gQ = if ((es > 0))
1071- then invoke(bD, "put", nil, [AttachedPayment(gO, es)])
1085+ let gS = if ((es > 0))
1086+ then invoke(bD, "put", nil, [AttachedPayment(gQ, es)])
10721087 else nil
1073- if ((gQ == gQ))
1088+ if ((gS == gS))
10741089 then {
1075- let gR = if (gM)
1090+ let gT = if (gO)
10761091 then {
1077- let gS = invoke(bC, "stake", nil, [AttachedPayment(dv, eq)])
1078- if ((gS == gS))
1092+ let gU = invoke(bC, "stake", nil, [AttachedPayment(dv, eq)])
1093+ if ((gU == gU))
10791094 then nil
10801095 else throw("Strict value is not equal to itself.")
10811096 }
10821097 else [ScriptTransfer(fb.caller, eq, dv)]
1083- let gT = eI(0, 0, 0)
1084- if ((gT == gT))
1098+ let gV = eI(0, 0, 0)
1099+ if ((gV == gV))
10851100 then {
1086- let ez = gT._2
1087- let gJ = gT._1
1088- let gU = eN(eH, ez)
1089- if ((gU == gU))
1101+ let ez = gV._2
1102+ let gL = gV._1
1103+ let gW = eN(eH, ez)
1104+ if ((gW == gW))
10901105 then {
1091- let gV = invoke(this, "rebalance", nil, nil)
1092- if ((gV == gV))
1093- then ((dM ++ gR) ++ gJ)
1106+ let gX = invoke(this, "rebalance", nil, nil)
1107+ if ((gX == gX))
1108+ then ((dM ++ gT) ++ gL)
10941109 else throw("Strict value is not equal to itself.")
10951110 }
10961111 else throw("Strict value is not equal to itself.")
11111126
11121127
11131128 @Callable(fb)
1114-func putForFree (gW) = if ((0 > gW))
1129+func putForFree (gY) = if ((0 > gY))
11151130 then throw("Invalid value passed")
11161131 else {
1117- let fh = fe(fb, gW, false)
1132+ let fh = fe(fb, gY, false)
11181133 let dM = fh._9
11191134 let ff = toBigInt(value(fb.payments[0]).amount)
11201135 let fg = toBigInt(value(fb.payments[1]).amount)
11211136 let eH = eA(ff, fg, toBigInt(0))
11221137 if ((eH == eH))
11231138 then {
1124- let gX = eI(0, 0, 0)
1125- let gJ = gX._1
1126- let ez = gX._2
1127- let gU = eN(eH, ez)
1128- if ((gU == gU))
1129- then (dM ++ gJ)
1139+ let gZ = eI(0, 0, 0)
1140+ let gL = gZ._1
1141+ let ez = gZ._2
1142+ let gW = eN(eH, ez)
1143+ if ((gW == gW))
1144+ then (dM ++ gL)
11301145 else throw("Strict value is not equal to itself.")
11311146 }
11321147 else throw("Strict value is not equal to itself.")
11351150
11361151
11371152 @Callable(fb)
1138-func putOneTkn (gY,gZ) = {
1139- let ha = {
1153+func putOneTkn (ha,hb) = {
1154+ let hc = {
11401155 let bg = invoke(bd, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil)
11411156 if ($isInstanceOf(bg, "Boolean"))
11421157 then bg
11431158 else throw(($getType(bg) + " couldn't be cast to Boolean"))
11441159 }
1145- let hb = if (if (if (bi())
1160+ let hd = if (if (if (bi())
11461161 then true
11471162 else (bv == l))
11481163 then true
11491164 else (bv == n))
11501165 then true
1151- else ha
1152- let fV = [if (if (!(hb))
1166+ else hc
1167+ let fV = [if (if (!(hd))
11531168 then true
11541169 else gp(fb))
11551170 then true
11581173 else ba("exactly 1 payment are expected")]
11591174 if ((fV == fV))
11601175 then {
1161- let hc = fb.payments[0]
1162- let fq = hc.assetId
1163- let fp = hc.amount
1176+ let he = fb.payments[0]
1177+ let fq = he.assetId
1178+ let fp = he.amount
11641179 let eH = if ((fq == bx))
11651180 then eA(toBigInt(fp), toBigInt(0), toBigInt(0))
11661181 else if ((fq == by))
11701185 then {
11711186 let ab = fb.caller
11721187 let ac = fb.transactionId
1173- let hd = fo(fp, fq, ab, ac)
1174- if ((hd == hd))
1188+ let hf = fo(fp, fq, ab, ac)
1189+ if ((hf == hf))
11751190 then {
1176- let fu = hd._5
1177- let he = hd._4
1178- let fn = hd._3
1179- let et = hd._2
1180- let hf = hd._1
1181- let hg = if (if ((gY > 0))
1182- then (gY > hf)
1191+ let fu = hf._5
1192+ let hg = hf._4
1193+ let fn = hf._3
1194+ let et = hf._2
1195+ let hh = hf._1
1196+ let hi = if (if ((ha > 0))
1197+ then (ha > hh)
11831198 else false)
1184- then ba(makeString(["amount to receive is less than ", toString(gY)], ""))
1185- else hf
1186- let fj = fi(hg)
1199+ then ba(makeString(["amount to receive is less than ", toString(ha)], ""))
1200+ else hh
1201+ let fj = fi(hi)
11871202 if ((fj == fj))
11881203 then {
1189- let gR = if (gZ)
1204+ let gT = if (hb)
11901205 then {
1191- let hh = invoke(bC, "stake", nil, [AttachedPayment(bw, hg)])
1192- if ((hh == hh))
1206+ let hj = invoke(bC, "stake", nil, [AttachedPayment(bw, hi)])
1207+ if ((hj == hj))
11931208 then nil
11941209 else throw("Strict value is not equal to itself.")
11951210 }
1196- else [ScriptTransfer(fb.caller, hg, bw)]
1197- let hi = if ((fn > 0))
1211+ else [ScriptTransfer(fb.caller, hi, bw)]
1212+ let hk = if ((fn > 0))
11981213 then [ScriptTransfer(be, fn, fq)]
11991214 else nil
1200- let hj = if ((this == be))
1215+ let hl = if ((this == be))
12011216 then $Tuple2(0, 0)
12021217 else if (fu)
12031218 then $Tuple2(-(fn), 0)
12041219 else $Tuple2(0, -(fn))
1205- let eJ = hj._1
1206- let eK = hj._2
1207- let hk = eI(eJ, eK, 0)
1208- let gJ = hk._1
1209- let ez = hk._2
1220+ let eJ = hl._1
1221+ let eK = hl._2
1222+ let hm = eI(eJ, eK, 0)
1223+ let gL = hm._1
1224+ let ez = hm._2
12101225 let eU = value(getString(aj))
1211- let gU = eN(eH, ez)
1212- if ((gU == gU))
1226+ let gW = eN(eH, ez)
1227+ if ((gW == gW))
12131228 then {
1214- let gV = invoke(this, "rebalance", nil, nil)
1215- if ((gV == gV))
1216- then $Tuple2((((et ++ gR) ++ hi) ++ gJ), hg)
1229+ let gX = invoke(this, "rebalance", nil, nil)
1230+ if ((gX == gX))
1231+ then $Tuple2((((et ++ gT) ++ hk) ++ gL), hi)
12171232 else throw("Strict value is not equal to itself.")
12181233 }
12191234 else throw("Strict value is not equal to itself.")
12311246
12321247 @Callable(fb)
12331248 func putOneTknREADONLY (fq,fp) = {
1234- let hl = fo(fp, bn(fq), unit, unit)
1235- let hf = hl._1
1236- let et = hl._2
1237- let fn = hl._3
1238- let he = hl._4
1239- let fu = hl._5
1240- $Tuple2(nil, $Tuple3(hf, fn, he))
1249+ let hn = fo(fp, bn(fq), unit, unit)
1250+ let hh = hn._1
1251+ let et = hn._2
1252+ let fn = hn._3
1253+ let hg = hn._4
1254+ let fu = hn._5
1255+ $Tuple2(nil, $Tuple3(hh, fn, hg))
12411256 }
12421257
12431258
12441259
12451260 @Callable(fb)
1246-func getOneTkn (hm,gY) = {
1247- let ha = {
1261+func getOneTkn (ho,ha) = {
1262+ let hc = {
12481263 let bg = invoke(bd, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil)
12491264 if ($isInstanceOf(bg, "Boolean"))
12501265 then bg
12511266 else throw(($getType(bg) + " couldn't be cast to Boolean"))
12521267 }
1253- let hn = if (if (bi())
1268+ let hp = if (if (bi())
12541269 then true
12551270 else (bv == n))
12561271 then true
1257- else ha
1258- let fV = [if (if (!(hn))
1272+ else hc
1273+ let fV = [if (if (!(hp))
12591274 then true
12601275 else gp(fb))
12611276 then true
12641279 else ba("exactly 1 payment are expected")]
12651280 if ((fV == fV))
12661281 then {
1267- let fU = bn(hm)
1268- let hc = fb.payments[0]
1269- let fq = hc.assetId
1270- let fC = hc.amount
1282+ let fU = bn(ho)
1283+ let he = fb.payments[0]
1284+ let fq = he.assetId
1285+ let fC = he.amount
12711286 let eH = eA(toBigInt(0), toBigInt(0), toBigInt(0))
12721287 if ((eH == eH))
12731288 then {
12741289 let ab = fb.caller
12751290 let ac = fb.transactionId
1276- let ho = fT(fU, fC, fq, ab, ac)
1277- if ((ho == ho))
1291+ let hq = fT(fU, fC, fq, ab, ac)
1292+ if ((hq == hq))
12781293 then {
1279- let fW = ho._5
1280- let he = ho._4
1281- let fn = ho._3
1282- let et = ho._2
1283- let hp = ho._1
1284- let cf = if (if ((gY > 0))
1285- then (gY > hp)
1294+ let fW = hq._5
1295+ let hg = hq._4
1296+ let fn = hq._3
1297+ let et = hq._2
1298+ let hr = hq._1
1299+ let cf = if (if ((ha > 0))
1300+ then (ha > hr)
12861301 else false)
1287- then ba(makeString(["amount to receive is less than ", toString(gY)], ""))
1288- else hp
1289- let hq = invoke(bd, "burn", [fC], [AttachedPayment(fq, fC)])
1290- if ((hq == hq))
1302+ then ba(makeString(["amount to receive is less than ", toString(ha)], ""))
1303+ else hr
1304+ let hs = invoke(bd, "burn", [fC], [AttachedPayment(fq, fC)])
1305+ if ((hs == hs))
12911306 then {
1292- let gL = cP(hm, (cf + max([0, fn])))
1293- let hr = [ScriptTransfer(ab, cf, fU)]
1294- let hi = if ((fn > 0))
1307+ let gN = cP(ho, (cf + max([0, fn])))
1308+ let ht = [ScriptTransfer(ab, cf, fU)]
1309+ let hk = if ((fn > 0))
12951310 then [ScriptTransfer(be, fn, fU)]
12961311 else nil
1297- let hs = {
1298- let ht = if ((this == be))
1312+ let hu = {
1313+ let hv = if ((this == be))
12991314 then 0
13001315 else fn
13011316 if (fW)
1302- then $Tuple2(-((cf + ht)), 0)
1303- else $Tuple2(0, -((cf + ht)))
1317+ then $Tuple2(-((cf + hv)), 0)
1318+ else $Tuple2(0, -((cf + hv)))
13041319 }
1305- let eJ = hs._1
1306- let eK = hs._2
1307- let hu = eI(eJ, eK, 0)
1308- let gJ = hu._1
1309- let ez = hu._2
1310- let gU = eN(eH, ez)
1311- if ((gU == gU))
1312- then $Tuple2(((((et ++ gL) ++ hr) ++ hi) ++ gJ), cf)
1320+ let eJ = hu._1
1321+ let eK = hu._2
1322+ let hw = eI(eJ, eK, 0)
1323+ let gL = hw._1
1324+ let ez = hw._2
1325+ let gW = eN(eH, ez)
1326+ if ((gW == gW))
1327+ then $Tuple2(((((et ++ gN) ++ ht) ++ hk) ++ gL), cf)
13131328 else throw("Strict value is not equal to itself.")
13141329 }
13151330 else throw("Strict value is not equal to itself.")
13251340
13261341 @Callable(fb)
13271342 func getOneTknREADONLY (fU,fC) = {
1328- let hv = fT(bn(fU), fC, bw, unit, unit)
1329- let hp = hv._1
1330- let et = hv._2
1331- let fn = hv._3
1332- let he = hv._4
1333- let fW = hv._5
1334- $Tuple2(nil, $Tuple3(hp, fn, he))
1343+ let hx = fT(bn(fU), fC, bw, unit, unit)
1344+ let hr = hx._1
1345+ let et = hx._2
1346+ let fn = hx._3
1347+ let hg = hx._4
1348+ let fW = hx._5
1349+ $Tuple2(nil, $Tuple3(hr, fn, hg))
13351350 }
13361351
13371352
13381353
13391354 @Callable(fb)
1340-func unstakeAndGetOneTkn (hw,hm,gY) = {
1341- let ha = {
1355+func unstakeAndGetOneTkn (hy,ho,ha) = {
1356+ let hc = {
13421357 let bg = invoke(bd, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil)
13431358 if ($isInstanceOf(bg, "Boolean"))
13441359 then bg
13451360 else throw(($getType(bg) + " couldn't be cast to Boolean"))
13461361 }
1347- let hn = if (if (bi())
1362+ let hp = if (if (bi())
13481363 then true
13491364 else (bv == n))
13501365 then true
1351- else ha
1352- let fV = [if (if (!(hn))
1366+ else hc
1367+ let fV = [if (if (!(hp))
13531368 then true
13541369 else gp(fb))
13551370 then true
13581373 else ba("no payments are expected")]
13591374 if ((fV == fV))
13601375 then {
1361- let fU = bn(hm)
1376+ let fU = bn(ho)
13621377 let ab = fb.caller
13631378 let ac = fb.transactionId
13641379 let eH = eA(toBigInt(0), toBigInt(0), toBigInt(0))
13651380 if ((eH == eH))
13661381 then {
1367- let hx = invoke(bC, "unstake", [toBase58String(bw), hw], nil)
1368- if ((hx == hx))
1382+ let hz = invoke(bC, "unstake", [toBase58String(bw), hy], nil)
1383+ if ((hz == hz))
13691384 then {
1370- let hy = fT(fU, hw, bw, ab, ac)
1371- if ((hy == hy))
1385+ let hA = fT(fU, hy, bw, ab, ac)
1386+ if ((hA == hA))
13721387 then {
1373- let fW = hy._5
1374- let he = hy._4
1375- let fn = hy._3
1376- let et = hy._2
1377- let hp = hy._1
1378- let cf = if (if ((gY > 0))
1379- then (gY > hp)
1388+ let fW = hA._5
1389+ let hg = hA._4
1390+ let fn = hA._3
1391+ let et = hA._2
1392+ let hr = hA._1
1393+ let cf = if (if ((ha > 0))
1394+ then (ha > hr)
13801395 else false)
1381- then ba(makeString(["amount to receive is less than ", toString(gY)], ""))
1382- else hp
1383- let hq = invoke(bd, "burn", [hw], [AttachedPayment(bw, hw)])
1384- if ((hq == hq))
1396+ then ba(makeString(["amount to receive is less than ", toString(ha)], ""))
1397+ else hr
1398+ let hs = invoke(bd, "burn", [hy], [AttachedPayment(bw, hy)])
1399+ if ((hs == hs))
13851400 then {
1386- let gL = cP(hm, (cf + max([0, fn])))
1387- let hr = [ScriptTransfer(fb.caller, cf, fU)]
1388- let hi = if ((fn > 0))
1401+ let gN = cP(ho, (cf + max([0, fn])))
1402+ let ht = [ScriptTransfer(fb.caller, cf, fU)]
1403+ let hk = if ((fn > 0))
13891404 then [ScriptTransfer(be, fn, fU)]
13901405 else nil
1391- let hz = {
1392- let ht = if ((this == be))
1406+ let hB = {
1407+ let hv = if ((this == be))
13931408 then 0
13941409 else fn
13951410 if (fW)
1396- then $Tuple2(-((cf + ht)), 0)
1397- else $Tuple2(0, -((cf + ht)))
1411+ then $Tuple2(-((cf + hv)), 0)
1412+ else $Tuple2(0, -((cf + hv)))
13981413 }
1399- let eJ = hz._1
1400- let eK = hz._2
1401- let hA = eI(eJ, eK, 0)
1402- let gJ = hA._1
1403- let ez = hA._2
1404- let gU = eN(eH, ez)
1405- if ((gU == gU))
1406- then $Tuple2(((((et ++ gL) ++ hr) ++ hi) ++ gJ), cf)
1414+ let eJ = hB._1
1415+ let eK = hB._2
1416+ let hC = eI(eJ, eK, 0)
1417+ let gL = hC._1
1418+ let ez = hC._2
1419+ let gW = eN(eH, ez)
1420+ if ((gW == gW))
1421+ then $Tuple2(((((et ++ gN) ++ ht) ++ hk) ++ gL), cf)
14071422 else throw("Strict value is not equal to itself.")
14081423 }
14091424 else throw("Strict value is not equal to itself.")
14271442 let fd = ee._3
14281443 let dt = ee._4
14291444 let dM = ee._5
1430- let gL = cU(dK, dL)
1445+ let gN = cU(dK, dL)
14311446 let eH = eA(toBigInt(0), toBigInt(0), toBigInt(0))
14321447 if ((eH == eH))
14331448 then {
1434- let hB = invoke(bd, "burn", [fd], [AttachedPayment(dt, fd)])
1435- if ((hB == hB))
1449+ let hD = invoke(bd, "burn", [fd], [AttachedPayment(dt, fd)])
1450+ if ((hD == hD))
14361451 then {
1437- let hC = eI(-(dK), -(dL), 0)
1438- let gJ = hC._1
1439- let ez = hC._2
1440- let gU = eN(eH, ez)
1441- if ((gU == gU))
1442- then ((gL ++ dM) ++ gJ)
1452+ let hE = eI(-(dK), -(dL), 0)
1453+ let gL = hE._1
1454+ let ez = hE._2
1455+ let gW = eN(eH, ez)
1456+ if ((gW == gW))
1457+ then ((gN ++ dM) ++ gL)
14431458 else throw("Strict value is not equal to itself.")
14441459 }
14451460 else throw("Strict value is not equal to itself.")
14501465
14511466
14521467 @Callable(fb)
1453-func getNoLess (hD,hE) = {
1468+func getNoLess (hF,hG) = {
14541469 let ee = fa(fb)
14551470 let dK = ee._1
14561471 let dL = ee._2
14571472 let fd = ee._3
14581473 let dt = ee._4
14591474 let dM = ee._5
1460- if ((hD > dK))
1461- then throw(((("noLessThenAmtAsset failed: " + toString(dK)) + " < ") + toString(hD)))
1462- else if ((hE > dL))
1463- then throw(((("noLessThenPriceAsset failed: " + toString(dL)) + " < ") + toString(hE)))
1475+ if ((hF > dK))
1476+ then throw(((("noLessThenAmtAsset failed: " + toString(dK)) + " < ") + toString(hF)))
1477+ else if ((hG > dL))
1478+ then throw(((("noLessThenPriceAsset failed: " + toString(dL)) + " < ") + toString(hG)))
14641479 else {
1465- let gL = cU(dK, dL)
1480+ let gN = cU(dK, dL)
14661481 let eH = eA(toBigInt(0), toBigInt(0), toBigInt(0))
14671482 if ((eH == eH))
14681483 then {
1469- let hB = invoke(bd, "burn", [fd], [AttachedPayment(dt, fd)])
1470- if ((hB == hB))
1484+ let hD = invoke(bd, "burn", [fd], [AttachedPayment(dt, fd)])
1485+ if ((hD == hD))
14711486 then {
1472- let hF = eI(-(dK), -(dL), 0)
1473- let gJ = hF._1
1474- let ez = hF._2
1475- let gU = eN(eH, ez)
1476- if ((gU == gU))
1477- then ((gL ++ dM) ++ gJ)
1487+ let hH = eI(-(dK), -(dL), 0)
1488+ let gL = hH._1
1489+ let ez = hH._2
1490+ let gW = eN(eH, ez)
1491+ if ((gW == gW))
1492+ then ((gN ++ dM) ++ gL)
14781493 else throw("Strict value is not equal to itself.")
14791494 }
14801495 else throw("Strict value is not equal to itself.")
14871502
14881503 @Callable(fb)
14891504 func unstakeAndGet (cf) = {
1490- let hG = if ((size(fb.payments) != 0))
1505+ let hI = if ((size(fb.payments) != 0))
14911506 then throw("No payments are expected")
14921507 else true
1493- if ((hG == hG))
1508+ if ((hI == hI))
14941509 then {
14951510 let di = bk()
14961511 let dv = fromBase58String(di[q])
14971512 let eH = eA(toBigInt(0), toBigInt(0), toBigInt(0))
14981513 if ((eH == eH))
14991514 then {
1500- let hx = invoke(bC, "unstake", [toBase58String(dv), cf], nil)
1501- if ((hx == hx))
1515+ let hz = invoke(bC, "unstake", [toBase58String(dv), cf], nil)
1516+ if ((hz == hz))
15021517 then {
15031518 let ee = dr(toBase58String(fb.transactionId), toBase58String(dv), cf, fb.caller)
15041519 let dK = ee._1
15051520 let dL = ee._2
15061521 let dy = parseIntValue(ee._9)
15071522 let dM = ee._10
1508- let gL = cU(dK, dL)
1509- let hH = if (if (bi())
1523+ let gN = cU(dK, dL)
1524+ let hJ = if (if (bi())
15101525 then true
15111526 else (dy == n))
15121527 then throw(("Get operation is blocked by admin. Status = " + toString(dy)))
15131528 else true
1514- if ((hH == hH))
1529+ if ((hJ == hJ))
15151530 then {
1516- let hB = invoke(bd, "burn", [cf], [AttachedPayment(dv, cf)])
1517- if ((hB == hB))
1531+ let hD = invoke(bd, "burn", [cf], [AttachedPayment(dv, cf)])
1532+ if ((hD == hD))
15181533 then {
1519- let hI = eI(-(dK), -(dL), 0)
1520- let gJ = hI._1
1521- let ez = hI._2
1522- let gU = eN(eH, ez)
1523- if ((gU == gU))
1524- then ((gL ++ dM) ++ gJ)
1534+ let hK = eI(-(dK), -(dL), 0)
1535+ let gL = hK._1
1536+ let ez = hK._2
1537+ let gW = eN(eH, ez)
1538+ if ((gW == gW))
1539+ then ((gN ++ dM) ++ gL)
15251540 else throw("Strict value is not equal to itself.")
15261541 }
15271542 else throw("Strict value is not equal to itself.")
15381553
15391554
15401555 @Callable(fb)
1541-func unstakeAndGetNoLess (hw,hJ,hE) = {
1542- let hn = if (bi())
1556+func unstakeAndGetNoLess (hy,hL,hG) = {
1557+ let hp = if (bi())
15431558 then true
15441559 else (bv == n)
1545- let fV = [if (!(hn))
1560+ let fV = [if (!(hp))
15461561 then true
15471562 else throw("get operation is blocked by admin"), if ((size(fb.payments) == 0))
15481563 then true
15521567 let eH = eA(toBigInt(0), toBigInt(0), toBigInt(0))
15531568 if ((eH == eH))
15541569 then {
1555- let hx = invoke(bC, "unstake", [toBase58String(bw), hw], nil)
1556- if ((hx == hx))
1570+ let hz = invoke(bC, "unstake", [toBase58String(bw), hy], nil)
1571+ if ((hz == hz))
15571572 then {
1558- let ee = dr(toBase58String(fb.transactionId), toBase58String(bw), hw, fb.caller)
1573+ let ee = dr(toBase58String(fb.transactionId), toBase58String(bw), hy, fb.caller)
15591574 let dK = ee._1
15601575 let dL = ee._2
15611576 let dM = ee._10
1562- let gL = cU(dK, dL)
1563- let hK = [if ((dK >= hJ))
1577+ let gN = cU(dK, dL)
1578+ let hM = [if ((dK >= hL))
15641579 then true
1565- else throw(makeString(["amount asset amount to receive is less than ", toString(hJ)], "")), if ((dL >= hE))
1580+ else throw(makeString(["amount asset amount to receive is less than ", toString(hL)], "")), if ((dL >= hG))
15661581 then true
1567- else throw(makeString(["price asset amount to receive is less than ", toString(hE)], ""))]
1568- if ((hK == hK))
1582+ else throw(makeString(["price asset amount to receive is less than ", toString(hG)], ""))]
1583+ if ((hM == hM))
15691584 then {
1570- let hB = invoke(bd, "burn", [hw], [AttachedPayment(bw, hw)])
1571- if ((hB == hB))
1585+ let hD = invoke(bd, "burn", [hy], [AttachedPayment(bw, hy)])
1586+ if ((hD == hD))
15721587 then {
1573- let hL = eI(-(dK), -(dL), 0)
1574- let gJ = hL._1
1575- let ez = hL._2
1576- let gU = eN(eH, ez)
1577- if ((gU == gU))
1578- then ((gL ++ dM) ++ gJ)
1588+ let hN = eI(-(dK), -(dL), 0)
1589+ let gL = hN._1
1590+ let ez = hN._2
1591+ let gW = eN(eH, ez)
1592+ if ((gW == gW))
1593+ then ((gN ++ dM) ++ gL)
15791594 else throw("Strict value is not equal to itself.")
15801595 }
15811596 else throw("Strict value is not equal to itself.")
15921607
15931608
15941609 @Callable(fb)
1595-func activate (hM,hN) = if ((toString(fb.caller) != toString(bd)))
1610+func activate (hO,hP) = if ((toString(fb.caller) != toString(bd)))
15961611 then throw("permissions denied")
1597- else $Tuple2([StringEntry(ae(), hM), StringEntry(af(), hN)], "success")
1612+ else $Tuple2([StringEntry(ae(), hO), StringEntry(af(), hP)], "success")
15981613
15991614
16001615
16011616 @Callable(fb)
16021617 func refreshKLp () = {
1603- let hO = valueOrElse(getInteger(ak), 0)
1604- let hP = if (((height - hO) >= an))
1618+ let hQ = valueOrElse(getInteger(ak), 0)
1619+ let hR = if (((height - hQ) >= an))
16051620 then unit
16061621 else ba(makeString([toString(an), " blocks have not passed since the previous call"], ""))
1607- if ((hP == hP))
1622+ if ((hR == hR))
16081623 then {
16091624 let eU = valueOrErrorMessage(parseBigInt(valueOrElse(getString(this, aj), "0")), bc("invalid kLp"))
1610- let hQ = eI(0, 0, 0)
1611- let hR = hQ._1
1612- let ez = hQ._2
1625+ let hS = eI(0, 0, 0)
1626+ let hT = hS._1
1627+ let ez = hS._2
16131628 let eL = if ((eU != ez))
1614- then hR
1629+ then hT
16151630 else ba("nothing to refresh")
16161631 $Tuple2(eL, toString(ez))
16171632 }
16701685 func statsREADONLY () = {
16711686 let di = bk()
16721687 let dv = fromBase58String(di[q])
1673- let hS = di[r]
1674- let hT = di[s]
1688+ let hU = di[r]
1689+ let hV = di[s]
16751690 let dX = di[v]
16761691 let dY = di[w]
16771692 let dj = parseIntValue(di[t])
16781693 let dk = parseIntValue(di[u])
1679- let hU = valueOrErrorMessage(assetInfo(dv), (("Asset " + toBase58String(dv)) + " doesn't exist")).quantity
1680- let hV = bT(hS)
1681- let hW = bT(hT)
1682- let hX = if ((hU == 0))
1694+ let hW = valueOrErrorMessage(assetInfo(dv), (("Asset " + toBase58String(dv)) + " doesn't exist")).quantity
1695+ let hX = bT(hU)
1696+ let hY = bT(hV)
1697+ let hZ = if ((hW == 0))
16831698 then [e, e, e]
1684- else dg(hV, hW, hU)
1699+ else dg(hX, hY, hW)
16851700 let dF = 0
1686- let hY = H(hX[1], b)
1687- let hZ = H(hX[2], b)
1688- let ia = value(getInteger(bd, aD(toString(this))))
1689- $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString(hV), toString(hW), toString(hU), toString(dF), toString(hY), toString(hZ), toString(ia)], j))
1701+ let ia = H(hZ[1], b)
1702+ let ib = H(hZ[2], b)
1703+ let ic = value(getInteger(bd, aD(toString(this))))
1704+ $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString(hX), toString(hY), toString(hW), toString(dF), toString(ia), toString(ib), toString(ic)], j))
16901705 }
16911706
16921707
17021717 let dj = parseIntValue(di[t])
17031718 let dk = parseIntValue(di[u])
17041719 let dy = di[p]
1705- let hU = valueOrErrorMessage(assetInfo(dv), (("Asset " + toBase58String(dv)) + " doesn't exist")).quantity
1706- let hV = bT(dV)
1707- let hW = bT(dW)
1708- let de = D(hV, dj)
1709- let df = D(hW, dk)
1710- let dE = if ((hU == 0))
1720+ let hW = valueOrErrorMessage(assetInfo(dv), (("Asset " + toBase58String(dv)) + " doesn't exist")).quantity
1721+ let hX = bT(dV)
1722+ let hY = bT(dW)
1723+ let de = D(hX, dj)
1724+ let df = D(hY, dk)
1725+ let dE = if ((hW == 0))
17111726 then e
17121727 else bW(df, de)
17131728 let eb = D(dP, dj)
17151730 let dR = H(ec, dk)
17161731 let fh = dN("", 500000, dP, dw, dR, dx, "", true, false)
17171732 let em = fh._1
1718- let ib = fh._3
1733+ let id = fh._3
17191734 let dA = fh._4
17201735 let dC = fh._5
17211736 let dz = fh._6
17351750 let dj = parseIntValue(di[t])
17361751 let dk = parseIntValue(di[u])
17371752 let dy = di[p]
1738- let hU = valueOrErrorMessage(assetInfo(dv), (("Asset " + toBase58String(dv)) + " doesn't exist")).quantity
1739- let ic = bT(dV)
1740- let id = bT(dW)
1741- let ie = D(ic, dj)
1742- let if = D(id, dk)
1743- let dE = if ((hU == 0))
1753+ let hW = valueOrErrorMessage(assetInfo(dv), (("Asset " + toBase58String(dv)) + " doesn't exist")).quantity
1754+ let ie = bT(dV)
1755+ let if = bT(dW)
1756+ let ig = D(ie, dj)
1757+ let ih = D(if, dk)
1758+ let dE = if ((hW == 0))
17441759 then e
1745- else bW(if, ie)
1760+ else bW(ih, ig)
17461761 let ec = D(dR, dk)
17471762 let eb = fraction(ec, d, dE)
17481763 let dP = H(eb, dj)
17491764 let fh = dN("", 500000, dP, dw, dR, dx, "", true, false)
17501765 let em = fh._1
1751- let ib = fh._3
1766+ let id = fh._3
17521767 let dA = fh._4
17531768 let dC = fh._5
17541769 let dz = fh._6
17581773
17591774
17601775 @Callable(fb)
1761-func evaluateGetREADONLY (ig,ih) = {
1762- let ee = dr("", ig, ih, this)
1776+func evaluateGetREADONLY (ii,ij) = {
1777+ let ee = dr("", ii, ij, this)
17631778 let dK = ee._1
17641779 let dL = ee._2
17651780 let dA = ee._5
17711786 }
17721787
17731788
1774-@Verifier(ii)
1775-func ij () = {
1776- let ik = {
1789+@Verifier(ik)
1790+func il () = {
1791+ let im = {
17771792 let aQ = gn()
17781793 if ($isInstanceOf(aQ, "ByteVector"))
17791794 then {
17811796 gq
17821797 }
17831798 else if ($isInstanceOf(aQ, "Unit"))
1784- then ii.senderPublicKey
1799+ then ik.senderPublicKey
17851800 else throw("Match error")
17861801 }
1787- let aQ = ii
1802+ let aQ = ik
17881803 if ($isInstanceOf(aQ, "Order"))
17891804 then {
17901805 let eQ = aQ
1791- let il = bj()
1792- let im = if (eM())
1806+ let in = bj()
1807+ let io = if (eM())
17931808 then $Tuple2(true, "")
17941809 else eP(eQ)
1795- let aK = im._1
1796- let aL = im._2
1810+ let aK = io._1
1811+ let aL = io._2
17971812 let aM = sigVerify(eQ.bodyBytes, eQ.proofs[0], eQ.senderPublicKey)
1798- let aN = sigVerify(eQ.bodyBytes, eQ.proofs[1], il)
1813+ let aN = sigVerify(eQ.bodyBytes, eQ.proofs[1], in)
17991814 if (if (if (aK)
18001815 then aM
18011816 else false)
18071822 else if ($isInstanceOf(aQ, "SetScriptTransaction"))
18081823 then {
18091824 let aV = aQ
1810- if (sigVerify(ii.bodyBytes, ii.proofs[0], ik))
1825+ if (sigVerify(ik.bodyBytes, ik.proofs[0], im))
18111826 then true
18121827 else {
1813- let in = blake2b256(value(aV.script))
1814- let io = fromBase64String(value(getString(bd, aF())))
1815- let ip = scriptHash(this)
1816- if ((io == in))
1817- then (ip != in)
1828+ let ip = blake2b256(value(aV.script))
1829+ let iq = fromBase64String(value(getString(bd, aF())))
1830+ let ir = scriptHash(this)
1831+ if ((iq == ip))
1832+ then (ir != ip)
18181833 else false
18191834 }
18201835 }
1821- else sigVerify(ii.bodyBytes, ii.proofs[0], ik)
1836+ else sigVerify(ik.bodyBytes, ik.proofs[0], im)
18221837 }
18231838
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = 8
55
66 let b = 100000000
77
88 let c = toBigInt(100000000)
99
1010 let d = toBigInt(1000000000000000000)
1111
1212 let e = toBigInt(0)
1313
1414 let f = toBigInt(0)
1515
1616 let g = toBigInt(1)
1717
1818 let h = toBigInt(2)
1919
2020 let i = "WAVES"
2121
2222 let j = "__"
2323
2424 let k = 1
2525
2626 let l = 2
2727
2828 let m = 3
2929
3030 let n = 4
3131
3232 let o = 1
3333
3434 let p = 2
3535
3636 let q = 3
3737
3838 let r = 4
3939
4040 let s = 5
4141
4242 let t = 6
4343
4444 let u = 7
4545
4646 let v = 8
4747
4848 let w = 9
4949
5050 let x = 10
5151
5252 let y = 1
5353
5454 let z = 2
5555
5656 let A = 3
5757
5858 let B = 1
5959
6060 let C = 7
6161
6262 func D (E,F) = fraction(toBigInt(E), d, toBigInt(F))
6363
6464
6565 func G (E,F) = fraction(E, d, F)
6666
6767
6868 func H (I,J) = toInt(fraction(I, toBigInt(J), d))
6969
7070
7171 func K (I,J,L) = toInt(fraction(I, toBigInt(J), d, L))
7272
7373
7474 func M (N,O,P) = fraction(N, O, P)
7575
7676
7777 func Q (I) = if ((0 > I))
7878 then -(I)
7979 else I
8080
8181
8282 func R (I) = if ((e > I))
8383 then -(I)
8484 else I
8585
8686
8787 func S () = "%s__swapContract"
8888
8989
9090 func T () = "%s__factoryContract"
9191
9292
9393 func U () = "%s__managerPublicKey"
9494
9595
9696 func V () = "%s__managerVaultAddress"
9797
9898
9999 func W () = "%s%s__price__last"
100100
101101
102102 func X (Y,Z) = makeString(["%s%s%d%d__price__history", toString(Y), toString(Z)], j)
103103
104104
105105 func aa (ab,ac) = ((("%s%s%s__P__" + ab) + "__") + ac)
106106
107107
108108 func ad (ab,ac) = ((("%s%s%s__G__" + ab) + "__") + ac)
109109
110110
111111 func ae () = "%s__amountAsset"
112112
113113
114114 func af () = "%s__priceAsset"
115115
116116
117117 let ag = "%s__fee"
118118
119119 let ah = fraction(10, b, 10000)
120120
121121 let ai = valueOrElse(getInteger(this, ag), ah)
122122
123123 let aj = makeString(["%s", "kLp"], j)
124124
125125 let ak = makeString(["%s", "kLpRefreshedHeight"], j)
126126
127127 let al = makeString(["%s", "refreshKLpDelay"], j)
128128
129129 let am = 30
130130
131131 let an = valueOrElse(getInteger(this, al), am)
132132
133133 func ao (ap) = makeString(["%s%s", "stakedBalance", ap], j)
134134
135135
136136 func aq (ap) = makeString(["%s%s", "shareAssetBalance", ap], j)
137137
138138
139139 func ar (ap) = valueOrElse(getInteger(this, ao(ap)), 0)
140140
141141
142142 func as (ap) = valueOrElse(getInteger(this, aq(ap)), 0)
143143
144144
145145 func at () = "%s__factoryConfig"
146146
147147
148148 func au () = "%s%s__matcher__publicKey"
149149
150150
151151 func av (aw) = (("%s%s%s__" + aw) + "__mappings__poolContract2LpAsset")
152152
153153
154154 func ax (ay,az) = (((("%d%d%s__" + ay) + "__") + az) + "__config")
155155
156156
157157 func aA (aB) = ("%s%s%s__mappings__baseAsset2internalId__" + aB)
158158
159159
160160 func aC () = "%s__shutdown"
161161
162162
163163 func aD (aE) = ("%s%s__poolWeight__" + aE)
164164
165165
166166 func aF () = "%s__allowedLpScriptHash"
167167
168168
169169 let aG = "%s__feeCollectorAddress"
170170
171171 func aH (aI) = ("%s%s__skipOrderValidation__" + aI)
172172
173173
174174 func aJ (aK,aL,aM,aN) = throw((((((((("order validation failed: orderValid=" + toString(aK)) + " (") + aL) + ")") + " senderValid=") + toString(aM)) + " matcherValid=") + toString(aN)))
175175
176176
177177 func aO (aP) = {
178178 let aQ = addressFromString(aP)
179179 if ($isInstanceOf(aQ, "Address"))
180180 then {
181181 let aR = aQ
182182 aR
183183 }
184184 else this
185185 }
186186
187187
188188 func aS () = {
189189 let aT = {
190190 let aQ = getString(T())
191191 if ($isInstanceOf(aQ, "String"))
192192 then {
193193 let aU = aQ
194194 aO(aU)
195195 }
196196 else this
197197 }
198198 let aQ = getString(aT, V())
199199 if ($isInstanceOf(aQ, "String"))
200200 then {
201201 let aV = aQ
202202 aO(aV)
203203 }
204204 else this
205205 }
206206
207207
208208 func aW (aX,aY) = valueOrErrorMessage(getString(aX, aY), makeString(["mandatory ", toString(aX), ".", aY, " is not defined"], ""))
209209
210210
211211 func aZ (aX,aY) = valueOrErrorMessage(getInteger(aX, aY), makeString(["mandatory ", toString(aX), ".", aY, " is not defined"], ""))
212212
213213
214214 func ba (bb) = throw(makeString(["lp.ride:", bb], " "))
215215
216216
217217 func bc (bb) = makeString(["lp.ride:", bb], " ")
218218
219219
220220 let bd = addressFromStringValue(aW(this, T()))
221221
222222 let be = addressFromStringValue(aW(bd, aG))
223223
224224 let bf = {
225225 let bg = invoke(bd, "getInFeeREADONLY", [toString(this)], nil)
226226 if ($isInstanceOf(bg, "Int"))
227227 then bg
228228 else throw(($getType(bg) + " couldn't be cast to Int"))
229229 }
230230
231231 let bh = {
232232 let bg = invoke(bd, "getOutFeeREADONLY", [toString(this)], nil)
233233 if ($isInstanceOf(bg, "Int"))
234234 then bg
235235 else throw(($getType(bg) + " couldn't be cast to Int"))
236236 }
237237
238238 func bi () = valueOrElse(getBoolean(bd, aC()), false)
239239
240240
241241 func bj () = fromBase58String(aW(bd, au()))
242242
243243
244244 func bk () = {
245245 let bl = aW(this, ae())
246246 let bm = aW(this, af())
247247 let az = aZ(bd, aA(bm))
248248 let ay = aZ(bd, aA(bl))
249249 split(aW(bd, ax(toString(ay), toString(az))), j)
250250 }
251251
252252
253253 func bn (bo) = if ((bo == i))
254254 then unit
255255 else fromBase58String(bo)
256256
257257
258258 func bp (bo) = if ((bo == unit))
259259 then i
260260 else toBase58String(value(bo))
261261
262262
263263 func bq (br) = $Tuple7(addressFromStringValue(br[o]), parseIntValue(br[p]), fromBase58String(br[q]), bn(br[r]), bn(br[s]), parseIntValue(br[t]), parseIntValue(br[u]))
264264
265265
266266 let bs = bq(bk())
267267
268268 let bt = bs
269269
270270 let bu = bt._1
271271
272272 let bv = bt._2
273273
274274 let bw = bt._3
275275
276276 let bx = bt._4
277277
278278 let by = bt._5
279279
280280 let bz = bt._6
281281
282282 let bA = bt._7
283283
284284 func bB () = split(aW(bd, at()), j)
285285
286286
287287 let bC = valueOrErrorMessage(addressFromString(bB()[B]), "incorrect staking address")
288288
289289 let bD = valueOrErrorMessage(addressFromString(bB()[C]), "incorrect staking address")
290290
291291 func bE (bF,bG,bH,bI,bJ,bK,bL,bM,bN,bO) = makeString(["%d%d%d%d%d%d%d%d%d%d", toString(bF), toString(bG), toString(bH), toString(bI), toString(bJ), toString(bK), toString(bL), toString(bM), toString(bN), toString(bO)], j)
292292
293293
294294 func bP (bQ,bR,bS,bI,bL,bM) = makeString(["%d%d%d%d%d%d", toString(bQ), toString(bR), toString(bS), toString(bI), toString(bL), toString(bM)], j)
295295
296296
297297 func bT (ap) = {
298298 let bU = if ((ap == "WAVES"))
299299 then wavesBalance(this).available
300300 else assetBalance(this, fromBase58String(ap))
301301 let bV = ((bU + ar(ap)) - as(ap))
302302 max([0, bV])
303303 }
304304
305305
306306 func bW (bX,bY) = fraction(bX, d, bY)
307307
308308
309309 func bZ (bX,bY,L) = fraction(bX, d, bY, L)
310310
311311
312312 func ca (cb) = {
313313 let cc = invoke(cb, "getRate", nil, nil)
314314 if ((cc == cc))
315315 then {
316316 let aQ = cc
317317 if ($isInstanceOf(aQ, "Int"))
318318 then {
319319 let cd = aQ
320320 cd
321321 }
322322 else ba("proxy.getRate() unexpected value")
323323 }
324324 else throw("Strict value is not equal to itself.")
325325 }
326326
327327
328328 func ce (ap,cf,cg,cb) = {
329329 let ch = ar(ap)
330330 if ((ch == ch))
331331 then {
332332 let ci = as(cg)
333333 if ((ci == ci))
334334 then {
335335 let cj = bn(ap)
336336 if ((cf > 0))
337337 then {
338338 let ck = invoke(cb, "deposit", nil, [AttachedPayment(cj, cf)])
339339 if ((ck == ck))
340340 then {
341341 let aQ = ck
342342 if ($isInstanceOf(aQ, "Int"))
343343 then {
344344 let cl = aQ
345345 let cm = (ch + cf)
346346 let cn = (ci + cl)
347347 [IntegerEntry(ao(ap), cm), IntegerEntry(aq(cg), cn)]
348348 }
349349 else nil
350350 }
351351 else throw("Strict value is not equal to itself.")
352352 }
353353 else nil
354354 }
355355 else throw("Strict value is not equal to itself.")
356356 }
357357 else throw("Strict value is not equal to itself.")
358358 }
359359
360360
361361 func co (ap,cf,cg,cb,cp,cq) = {
362362 let ch = ar(ap)
363363 if ((ch == ch))
364364 then {
365365 let ci = as(cg)
366366 if ((ci == ci))
367367 then {
368368 let cr = ca(cb)
369369 if ((cr == cr))
370370 then {
371371 let cs = fraction(cp, ch, ci)
372372 let ct = bn(cg)
373373 let cu = fraction(cp, cf, cs)
374374 let cv = fraction(cp, cf, cr)
375375 let cw = max([0, (cu - cv)])
376376 if ((cv > 0))
377377 then {
378378 let cx = invoke(cb, "withdraw", nil, [AttachedPayment(ct, cv)])
379379 if ((cx == cx))
380380 then {
381381 let aQ = cx
382382 if ($isInstanceOf(aQ, "Int"))
383383 then {
384384 let cy = aQ
385385 let cm = (ch - cy)
386386 let cn = ((ci - cv) - cw)
387387 [IntegerEntry(ao(ap), cm), IntegerEntry(aq(cg), cn), ScriptTransfer(cq, cw, bn(cg))]
388388 }
389389 else nil
390390 }
391391 else throw("Strict value is not equal to itself.")
392392 }
393393 else nil
394394 }
395395 else throw("Strict value is not equal to itself.")
396396 }
397397 else throw("Strict value is not equal to itself.")
398398 }
399399 else throw("Strict value is not equal to itself.")
400400 }
401401
402402
403403 func cz (ap) = {
404404 let aQ = invoke(bd, "getPoolLeaseConfigREADONLY", [toString(this), ap], nil)
405405 if ($isInstanceOf(aQ, "(Boolean, Int, Int, String, String, Int, String)"))
406406 then {
407407 let aR = aQ
408408 aR
409409 }
410410 else ba((("[" + ap) + "] getLeaseProxyConfig() error"))
411411 }
412412
413413
414414 func cA (cB,ap,cg,cC,cb,cp,cq) = {
415415 let ch = ar(ap)
416416 if ((ch == ch))
417417 then {
418418 let ci = as(cg)
419419 if ((ci == ci))
420420 then {
421421 let cD = max([0, (bT(ap) - cC)])
422422 let cE = fraction(cB, cD, 100)
423423 let cF = (ch - cE)
424424 if ((cF == 0))
425425 then nil
426426 else if ((0 > cF))
427427 then {
428428 let cG = -(cF)
429429 ce(ap, cG, cg, cb)
430430 }
431431 else {
432432 let cH = cF
433433 co(ap, cH, cg, cb, cp, cq)
434434 }
435435 }
436436 else throw("Strict value is not equal to itself.")
437437 }
438438 else throw("Strict value is not equal to itself.")
439439 }
440440
441441
442442 func cI (ap) = {
443443 let cJ = cz(ap)
444444 let cK = cJ._1
445445 let cL = cJ._2
446446 let cC = cJ._3
447447 let cM = cJ._4
448448 let cN = cJ._5
449449 let cp = cJ._6
450450 let cO = cJ._7
451451 if (cK)
452452 then cA(cL, ap, cN, cC, addressFromStringValue(cM), cp, addressFromStringValue(cO))
453453 else nil
454454 }
455455
456456
457457 func cP (ap,cQ) = {
458458 let cR = cz(ap)
459459 let cK = cR._1
460460 let cL = cR._2
461461 let cC = cR._3
462462 let cM = cR._4
463463 let cN = cR._5
464464 let cp = cR._6
465465 let cO = cR._7
466466 if (cK)
467467 then {
468468 let cS = max([0, ((bT(ap) - cQ) - cC)])
469469 if ((cS == cS))
470470 then {
471471 let cm = fraction(cL, cS, 100)
472472 if ((cm == cm))
473473 then {
474474 let cT = (ar(ap) - cm)
475475 if ((cT == cT))
476476 then if ((0 > cT))
477477 then ce(ap, -(cT), cN, addressFromStringValue(cM))
478478 else co(ap, cT, cN, addressFromStringValue(cM), cp, addressFromStringValue(cO))
479479 else throw("Strict value is not equal to itself.")
480480 }
481481 else throw("Strict value is not equal to itself.")
482482 }
483483 else throw("Strict value is not equal to itself.")
484484 }
485485 else nil
486486 }
487487
488488
489489 func cU (cV,cW) = {
490490 let cX = cP(aW(this, ae()), cV)
491491 let cY = cP(aW(this, af()), cW)
492492 (cX ++ cY)
493493 }
494494
495495
496496 func cZ (da,db,dc,dd) = {
497497 let de = D(dc, da)
498498 let df = D(dd, db)
499499 bW(df, de)
500500 }
501501
502502
503503 func dg (dc,dd,dh) = {
504504 let di = bk()
505505 let dj = parseIntValue(di[t])
506506 let dk = parseIntValue(di[u])
507507 let dl = cZ(dj, dk, dc, dd)
508508 let bY = D(dc, dj)
509509 let bX = D(dd, dk)
510510 let dm = D(dh, b)
511511 let dn = bW(bY, dm)
512512 let do = bW(bX, dm)
513513 [dl, dn, do]
514514 }
515515
516516
517517 func dp (dc,dd,dh) = {
518518 let dq = dg(dc, dd, dh)
519519 [H(dq[0], b), H(dq[1], b), H(dq[2], b)]
520520 }
521521
522522
523523 func dr (ds,dt,du,ab) = {
524524 let di = bk()
525525 let dv = di[q]
526526 let dw = di[r]
527527 let dx = di[s]
528528 let da = parseIntValue(di[t])
529529 let db = parseIntValue(di[u])
530530 let dy = di[p]
531531 let dz = valueOrErrorMessage(assetInfo(fromBase58String(dv)), (("Asset " + dv) + " doesn't exist")).quantity
532532 if ((dv != dt))
533533 then throw("Invalid asset passed.")
534534 else {
535535 let dA = bT(dw)
536536 let dB = D(dA, da)
537537 let dC = bT(dx)
538538 let dD = D(dC, db)
539539 let dE = bW(dD, dB)
540540 let dF = H(dE, b)
541541 let dG = D(du, b)
542542 let dH = D(dz, b)
543543 let dI = fraction(dB, dG, dH)
544544 let dJ = fraction(dD, dG, dH)
545545 let dK = K(dI, da, FLOOR)
546546 let dL = K(dJ, db, FLOOR)
547547 let dM = if ((ds == ""))
548548 then nil
549549 else [ScriptTransfer(ab, dK, if ((dw == "WAVES"))
550550 then unit
551551 else fromBase58String(dw)), ScriptTransfer(ab, dL, if ((dx == "WAVES"))
552552 then unit
553553 else fromBase58String(dx)), StringEntry(ad(toString(ab), ds), bP(dK, dL, du, dF, height, lastBlock.timestamp)), IntegerEntry(W(), dF), IntegerEntry(X(height, lastBlock.timestamp), dF)]
554554 $Tuple10(dK, dL, dw, dx, dA, dC, dz, dE, dy, dM)
555555 }
556556 }
557557
558558
559559 func dN (ds,dO,dP,dQ,dR,dS,ab,dT,dU) = {
560560 let di = bk()
561561 let dv = fromBase58String(di[q])
562562 let dV = di[r]
563563 let dW = di[s]
564564 let dX = di[v]
565565 let dY = di[w]
566566 let dj = parseIntValue(di[t])
567567 let dk = parseIntValue(di[u])
568568 let dy = di[p]
569569 let dz = valueOrErrorMessage(assetInfo(dv), (("Asset " + toBase58String(dv)) + " doesn't exist")).quantity
570570 let dZ = toBase58String(valueOrElse(dQ, fromBase58String("WAVES")))
571571 let ea = toBase58String(valueOrElse(dS, fromBase58String("WAVES")))
572572 if (if ((dV != dZ))
573573 then true
574574 else (dW != ea))
575575 then throw("Invalid amt or price asset passed.")
576576 else {
577577 let dA = if (dT)
578578 then bT(dV)
579579 else (bT(dV) - dP)
580580 let dC = if (dT)
581581 then bT(dW)
582582 else (bT(dW) - dR)
583583 let eb = D(dP, dj)
584584 let ec = D(dR, dk)
585585 let ed = bW(ec, eb)
586586 let dB = D(dA, dj)
587587 let dD = D(dC, dk)
588588 let ee = if ((dz == 0))
589589 then {
590590 let dE = e
591591 let ef = e
592592 let dm = pow((eb * ec), 0, toBigInt(5), 1, 0, DOWN)
593593 $Tuple5(H(dm, b), H(eb, dj), H(ec, dk), bW((dD + ec), (dB + eb)), ef)
594594 }
595595 else {
596596 let dE = bW(dD, dB)
597597 let ef = fraction(R((dE - ed)), d, dE)
598598 let eg = D(dO, b)
599599 if (if ((dE != e))
600600 then (ef > eg)
601601 else false)
602602 then throw(((("Price slippage " + toString(ef)) + " exceeded the passed limit of ") + toString(eg)))
603603 else {
604604 let dH = D(dz, b)
605605 let eh = fraction(eb, bZ(dD, dB, CEILING), d, CEILING)
606606 let ei = fraction(ec, d, bZ(dD, dB, FLOOR), CEILING)
607607 let ej = if ((eh > ec))
608608 then $Tuple2(ei, ec)
609609 else $Tuple2(eb, eh)
610610 let ek = ej._1
611611 let el = ej._2
612612 let dm = fraction(dH, el, dD, FLOOR)
613613 $Tuple5(K(dm, b, FLOOR), K(ek, dj, CEILING), K(el, dk, CEILING), dE, ef)
614614 }
615615 }
616616 let em = ee._1
617617 let en = ee._2
618618 let eo = ee._3
619619 let dF = H(ee._4, b)
620620 let ep = H(ee._5, b)
621621 if ((0 >= em))
622622 then throw("Invalid calculations. LP calculated is less than zero.")
623623 else {
624624 let eq = if (!(dU))
625625 then 0
626626 else em
627627 let er = (dP - en)
628628 let es = (dR - eo)
629629 let et = [IntegerEntry(W(), dF), IntegerEntry(X(height, lastBlock.timestamp), dF), StringEntry(aa(ab, ds), bE(en, eo, eq, dF, dO, ep, height, lastBlock.timestamp, er, es))]
630630 $Tuple13(em, eq, dF, dA, dC, dz, dv, dy, et, er, es, dQ, dS)
631631 }
632632 }
633633 }
634634
635635
636636 func eu (ev,ew,dz) = {
637637 let ex = G(ev, toBigInt(bz))
638638 let ey = G(ew, toBigInt(bA))
639639 let ez = fraction(pow((ex * ey), 0, toBigInt(5), 1, 18, DOWN), g, dz)
640640 if ((dz == f))
641641 then f
642642 else ez
643643 }
644644
645645
646646 func eA (eB,eC,eD) = {
647647 let eE = (toBigInt(bT(bp(bx))) - eB)
648648 let eF = (toBigInt(bT(bp(by))) - eC)
649649 let eG = (toBigInt(value(assetInfo(bw)).quantity) - eD)
650650 let eH = eu(eE, eF, eG)
651651 eH
652652 }
653653
654654
655655 func eI (eJ,eK,eD) = {
656656 let eE = (bT(bp(bx)) + eJ)
657657 let eF = (bT(bp(by)) + eK)
658658 let eG = (value(assetInfo(bw)).quantity + eD)
659659 let ez = eu(toBigInt(eE), toBigInt(eF), toBigInt(eG))
660660 let eL = [IntegerEntry(ak, height), StringEntry(aj, toString(ez))]
661661 $Tuple2(eL, ez)
662662 }
663663
664664
665665 func eM () = valueOrElse(getBoolean(bd, aH(toString(this))), false)
666666
667667
668668 func eN (eO,ez) = if ((ez >= eO))
669669 then true
670670 else ba(makeString(["updated KLp lower than current KLp", toString(eO), toString(ez)], " "))
671671
672672
673673 func eP (eQ) = {
674674 let eE = bT(bp(bx))
675675 let eF = bT(bp(by))
676676 let eR = eQ.amount
677677 let eS = fraction(eQ.amount, eQ.price, b, FLOOR)
678678 let eT = if ((eQ.orderType == Buy))
679679 then $Tuple2(eR, -(eS))
680680 else $Tuple2(-(eR), eS)
681681 let eJ = eT._1
682682 let eK = eT._2
683683 if (if (if (bi())
684684 then true
685685 else (bv == m))
686686 then true
687687 else (bv == n))
688688 then throw("Exchange operations disabled")
689689 else if (if ((eQ.assetPair.amountAsset != bx))
690690 then true
691691 else (eQ.assetPair.priceAsset != by))
692692 then throw("Wrong order assets.")
693693 else {
694694 let eU = valueOrErrorMessage(parseBigInt(valueOrElse(getString(this, aj), "0")), bc("invalid kLp"))
695695 let eV = eI(eJ, eK, 0)
696696 let eW = eV._1
697697 let eX = eV._2
698698 let eY = (eX >= eU)
699699 let eZ = makeString(["kLp=", toString(eU), " kLpNew=", toString(eX), " amountAssetBalance=", toString(eE), " priceAssetBalance=", toString(eF), " amountAssetBalanceDelta=", toString(eJ), " priceAssetBalanceDelta=", toString(eK), " height=", toString(height)], "")
700700 $Tuple2(eY, eZ)
701701 }
702702 }
703703
704704
705705 func fa (fb) = if ((size(fb.payments) != 1))
706706 then throw("exactly 1 payment is expected")
707707 else {
708708 let fc = value(fb.payments[0])
709709 let dt = value(fc.assetId)
710710 let fd = fc.amount
711711 let ee = dr(toBase58String(fb.transactionId), toBase58String(dt), fd, fb.caller)
712712 let dK = ee._1
713713 let dL = ee._2
714714 let dy = parseIntValue(ee._9)
715715 let dM = ee._10
716716 if (if (bi())
717717 then true
718718 else (dy == n))
719719 then throw(("Get operation is blocked by admin. Status = " + toString(dy)))
720720 else $Tuple5(dK, dL, fd, dt, dM)
721721 }
722722
723723
724724 func fe (fb,dO,dU) = if ((size(fb.payments) != 2))
725725 then throw("exactly 2 payments are expected")
726726 else {
727727 let ff = value(fb.payments[0])
728728 let fg = value(fb.payments[1])
729729 let fh = dN(toBase58String(fb.transactionId), dO, ff.amount, ff.assetId, fg.amount, fg.assetId, toString(fb.caller), false, dU)
730730 let dy = parseIntValue(fh._8)
731731 if (if (if (bi())
732732 then true
733733 else (dy == l))
734734 then true
735735 else (dy == n))
736736 then throw(("Put operation is blocked by admin. Status = " + toString(dy)))
737737 else fh
738738 }
739739
740740
741741 func fi (cf) = {
742742 let fj = invoke(bd, "emit", [cf], nil)
743743 if ((fj == fj))
744744 then {
745745 let fk = {
746746 let aQ = fj
747747 if ($isInstanceOf(aQ, "Address"))
748748 then {
749749 let fl = aQ
750750 invoke(fl, "emit", [cf], nil)
751751 }
752752 else unit
753753 }
754754 if ((fk == fk))
755755 then cf
756756 else throw("Strict value is not equal to itself.")
757757 }
758758 else throw("Strict value is not equal to itself.")
759759 }
760760
761761
762762 func fm (cf,ai) = {
763763 let fn = if ((ai == 0))
764764 then 0
765765 else fraction(cf, ai, b)
766766 $Tuple2((cf - fn), fn)
767767 }
768768
769769
770770 func fo (fp,fq,ab,ac) = {
771771 let fr = (ac == unit)
772772 let fs = bT(bp(bx))
773773 let ft = bT(bp(by))
774774 let fu = if ((fq == bx))
775775 then true
776776 else if ((fq == by))
777777 then false
778778 else ba("invalid asset")
779779 let fv = if (fr)
780780 then $Tuple2(fs, ft)
781781 else if (fu)
782782 then $Tuple2((fs - fp), ft)
783783 else $Tuple2(fs, (ft - fp))
784784 let fw = fv._1
785785 let fx = fv._2
786786 let fy = if (fu)
787787 then $Tuple2(fp, 0)
788788 else $Tuple2(0, fp)
789789 let fz = fy._1
790790 let fA = fy._2
791791 let eR = fm(fz, bf)._1
792792 let eS = fm(fA, bf)._1
793793 let fB = fm(fp, bf)
794794 let fC = fB._1
795795 let fn = fB._2
796796 let fD = (fw + eR)
797797 let fE = (fx + eS)
798798 let fF = bW(D(fE, bA), D(fD, bz))
799799 let fG = H(fF, b)
800800 let fH = if (fu)
801801 then fw
802802 else fx
803803 let fI = toBigInt(fH)
804804 let fJ = toBigInt(valueOrErrorMessage(assetInfo(bw), (("asset " + toBase58String(bw)) + " doesn't exist")).quantity)
805805 let fK = if ((fJ > f))
806806 then true
807807 else ba("initial deposit requires all coins")
808808 if ((fK == fK))
809809 then {
810810 let fL = toBigInt(fC)
811811 let fM = max([0, toInt(((fJ * (sqrtBigInt((d + ((fL * d) / fI)), 18, 18, DOWN) - d)) / d))])
812812 let et = if (fr)
813813 then nil
814814 else [IntegerEntry(W(), fG), IntegerEntry(X(height, lastBlock.timestamp), fG), StringEntry(aa(toString(value(ab)), toBase58String(value(ac))), bE(fz, fA, fM, fG, 0, 0, height, lastBlock.timestamp, 0, 0))]
815815 let fN = bW(D(fx, bA), D(fw, bz))
816816 let fO = H(fN, b)
817817 let fP = {
818818 let fQ = if (fu)
819819 then $Tuple2(fz, fw)
820820 else $Tuple2(fA, fx)
821821 let cf = fQ._1
822822 let fR = fQ._2
823823 let fS = toInt(fraction(fJ, toBigInt((cf / 2)), toBigInt(fR)))
824824 fraction((fM - fS), b, fS)
825825 }
826826 $Tuple5(fM, et, fn, fP, fu)
827827 }
828828 else throw("Strict value is not equal to itself.")
829829 }
830830
831831
832832 func fT (fU,fC,fq,ab,ac) = {
833833 let fr = (ac == unit)
834834 let di = bk()
835835 let dj = parseIntValue(di[t])
836836 let dk = parseIntValue(di[u])
837837 let fV = [if ((fq == bw))
838838 then true
839839 else ba("invalid lp asset")]
840840 if ((fV == fV))
841841 then {
842842 let fW = if ((fU == bx))
843843 then true
844844 else if ((fU == by))
845845 then false
846846 else ba("invalid asset")
847847 let fX = if (fW)
848848 then toBigInt(bT(bp(bx)))
849849 else toBigInt(bT(bp(by)))
850850 let fY = if (fW)
851851 then dj
852852 else dk
853853 let fZ = bT(bp(bx))
854854 let ga = bT(bp(by))
855855 let gb = if (fW)
856856 then fZ
857857 else ga
858858 let gc = toBigInt(gb)
859859 let fJ = toBigInt(valueOrErrorMessage(assetInfo(bw), (("asset " + toBase58String(bw)) + " doesn't exist")).quantity)
860860 let gd = toBigInt(fC)
861861 let ge = max([0, toInt(((fX * (d - pow((d - ((gd * d) / fJ)), 18, h, 0, 18, DOWN))) / d))])
862862 let gf = fm(ge, bh)
863863 let gg = gf._1
864864 let fn = gf._2
865865 let gh = if (fW)
866866 then $Tuple4(gg, 0, (fZ - ge), ga)
867867 else $Tuple4(0, gg, fZ, (ga - ge))
868868 let gi = gh._1
869869 let gj = gh._2
870870 let gk = gh._3
871871 let gl = gh._4
872872 let fF = bW(D(gl, bA), D(gk, bz))
873873 let fG = H(fF, b)
874874 let et = if (fr)
875875 then nil
876876 else [StringEntry(ad(toString(value(ab)), toBase58String(value(ac))), bP(gi, gj, fC, fG, height, lastBlock.timestamp)), IntegerEntry(W(), fG), IntegerEntry(X(height, lastBlock.timestamp), fG)]
877877 let fN = bW(D(ga, bA), D(fZ, bz))
878878 let fO = H(fN, b)
879879 let fP = {
880880 let gm = (toInt(fraction(fX, gd, fJ)) * 2)
881881 fraction((gg - gm), b, gm)
882882 }
883883 $Tuple5(gg, et, fn, fP, fW)
884884 }
885885 else throw("Strict value is not equal to itself.")
886886 }
887887
888888
889889 func gn () = {
890890 let go = aS()
891891 let aQ = getString(go, U())
892892 if ($isInstanceOf(aQ, "String"))
893893 then {
894894 let aV = aQ
895895 fromBase58String(aV)
896896 }
897897 else if ($isInstanceOf(aQ, "Unit"))
898898 then unit
899899 else throw("Match error")
900900 }
901901
902902
903903 func gp (fb) = {
904904 let aQ = gn()
905905 if ($isInstanceOf(aQ, "ByteVector"))
906906 then {
907907 let gq = aQ
908908 (fb.callerPublicKey == gq)
909909 }
910910 else if ($isInstanceOf(aQ, "Unit"))
911911 then (fb.caller == this)
912912 else throw("Match error")
913913 }
914914
915915
916916 func gr (fb) = {
917917 let gs = throw("Permission denied")
918918 let aQ = gn()
919919 if ($isInstanceOf(aQ, "ByteVector"))
920920 then {
921921 let gq = aQ
922922 if ((fb.callerPublicKey == gq))
923923 then true
924924 else gs
925925 }
926926 else if ($isInstanceOf(aQ, "Unit"))
927927 then if ((fb.caller == this))
928928 then true
929929 else gs
930930 else throw("Match error")
931931 }
932932
933933
934934 @Callable(fb)
935935 func rebalance () = (cI(aW(this, ae())) ++ cI(aW(this, af())))
936936
937937
938938
939939 @Callable(fb)
940940 func calculateAmountOutForSwapREADONLY (gt,gu,gv) = {
941941 let gw = if ((gu == false))
942942 then {
943943 let gx = aW(this, af())
944944 let gy = aW(this, ae())
945945 $Tuple2(gx, gy)
946946 }
947947 else {
948948 let gx = aW(this, ae())
949949 let gy = aW(this, af())
950950 $Tuple2(gx, gy)
951951 }
952952 let gx = gw._1
953953 let gy = gw._2
954954 let gz = bT(gy)
955955 let gA = bT(gx)
956956 let gB = fraction(gA, gt, (gz + gt))
957957 let gC = (toBigInt(gz) * toBigInt(gA))
958958 let gD = (((toBigInt(bT(gy)) + toBigInt(gt)) + toBigInt(gv)) * (toBigInt(bT(gx)) - toBigInt(gB)))
959959 let gE = if ((gD >= gC))
960960 then true
961961 else throw("new K is fewer error")
962962 if ((gE == gE))
963963 then $Tuple2(nil, gB)
964964 else throw("Strict value is not equal to itself.")
965965 }
966966
967967
968968
969969 @Callable(fb)
970970 func calculateAmountOutForSwapAndSendTokens (gt,gu,gF,gG,gv) = {
971971 let gH = {
972972 let bg = invoke(bd, "getSwapContractREADONLY", nil, nil)
973973 if ($isInstanceOf(bg, "String"))
974974 then bg
975975 else throw(($getType(bg) + " couldn't be cast to String"))
976976 }
977- let fV = [if ((value(fb.payments[0]).amount >= gt))
977+ let gI = {
978+ let bg = invoke(bd, "isPoolSwapDisabledREADONLY", [toString(this)], nil)
979+ if ($isInstanceOf(bg, "Boolean"))
980+ then bg
981+ else throw(($getType(bg) + " couldn't be cast to Boolean"))
982+ }
983+ let gJ = if (if (bi())
984+ then true
985+ else (bv == n))
986+ then true
987+ else gI
988+ let fV = [if (if (!(gJ))
989+ then true
990+ else gp(fb))
991+ then true
992+ else ba("swap operation is blocked by admin"), if ((value(fb.payments[0]).amount >= gt))
978993 then true
979994 else ba("Wrong amount"), if ((fb.caller == addressFromStringValue(gH)))
980995 then true
981996 else ba("Permission denied")]
982997 if ((fV == fV))
983998 then {
984999 let fc = value(fb.payments[0])
9851000 let gy = bp(fc.assetId)
9861001 let gx = if ((gu == false))
9871002 then aW(this, af())
9881003 else aW(this, ae())
9891004 let gz = ((bT(gy) - value(fb.payments[0]).amount) - gv)
9901005 let gA = bT(gx)
9911006 let gB = fraction(gA, gt, (gz + gt))
9921007 let gC = (toBigInt(gz) * toBigInt(gA))
9931008 let gD = ((toBigInt(bT(gy)) + toBigInt(gv)) * (toBigInt(bT(gx)) - toBigInt(gB)))
9941009 let gE = if ((gD >= gC))
9951010 then true
9961011 else throw("new K is fewer error")
9971012 if ((gE == gE))
9981013 then {
999- let gI = if ((gB >= gF))
1014+ let gK = if ((gB >= gF))
10001015 then true
10011016 else throw("Exchange result is fewer coins than expected")
1002- if ((gI == gI))
1017+ if ((gK == gK))
10031018 then {
10041019 let eJ = if (gu)
10051020 then -(gB)
10061021 else gv
10071022 let eK = if (gu)
10081023 then gv
10091024 else -(gB)
1010- let gJ = eI(eJ, eK, 0)._1
1011- if ((gJ == gJ))
1025+ let gL = eI(eJ, eK, 0)._1
1026+ if ((gL == gL))
10121027 then {
1013- let gK = cI(gy)
1014- if ((gK == gK))
1028+ let gM = cI(gy)
1029+ if ((gM == gM))
10151030 then {
1016- let gL = cP(gx, gB)
1017- if ((gL == gL))
1018- then $Tuple2(((gL ++ gK) ++ [ScriptTransfer(addressFromStringValue(gG), gB, bn(gx))]), gB)
1031+ let gN = cP(gx, gB)
1032+ if ((gN == gN))
1033+ then $Tuple2(((gN ++ gM) ++ [ScriptTransfer(addressFromStringValue(gG), gB, bn(gx))]), gB)
10191034 else throw("Strict value is not equal to itself.")
10201035 }
10211036 else throw("Strict value is not equal to itself.")
10221037 }
10231038 else throw("Strict value is not equal to itself.")
10241039 }
10251040 else throw("Strict value is not equal to itself.")
10261041 }
10271042 else throw("Strict value is not equal to itself.")
10281043 }
10291044 else throw("Strict value is not equal to itself.")
10301045 }
10311046
10321047
10331048
10341049 @Callable(fb)
1035-func put (dO,gM) = if ((0 > dO))
1050+func put (dO,gO) = if ((0 > dO))
10361051 then throw("Invalid slippageTolerance passed")
10371052 else {
10381053 let fh = fe(fb, dO, true)
10391054 let eq = fh._2
10401055 let dv = fh._7
10411056 let dM = fh._9
10421057 let er = fh._10
10431058 let es = fh._11
1044- let gN = fh._12
1045- let gO = fh._13
1059+ let gP = fh._12
1060+ let gQ = fh._13
10461061 let ff = toBigInt(value(fb.payments[0]).amount)
10471062 let fg = toBigInt(value(fb.payments[1]).amount)
10481063 let eH = eA(ff, fg, toBigInt(0))
10491064 if ((eH == eH))
10501065 then {
10511066 let fj = invoke(bd, "emit", [eq], nil)
10521067 if ((fj == fj))
10531068 then {
10541069 let fk = {
10551070 let aQ = fj
10561071 if ($isInstanceOf(aQ, "Address"))
10571072 then {
10581073 let fl = aQ
10591074 invoke(fl, "emit", [eq], nil)
10601075 }
10611076 else unit
10621077 }
10631078 if ((fk == fk))
10641079 then {
1065- let gP = if ((er > 0))
1066- then invoke(bD, "put", nil, [AttachedPayment(gN, er)])
1080+ let gR = if ((er > 0))
1081+ then invoke(bD, "put", nil, [AttachedPayment(gP, er)])
10671082 else nil
1068- if ((gP == gP))
1083+ if ((gR == gR))
10691084 then {
1070- let gQ = if ((es > 0))
1071- then invoke(bD, "put", nil, [AttachedPayment(gO, es)])
1085+ let gS = if ((es > 0))
1086+ then invoke(bD, "put", nil, [AttachedPayment(gQ, es)])
10721087 else nil
1073- if ((gQ == gQ))
1088+ if ((gS == gS))
10741089 then {
1075- let gR = if (gM)
1090+ let gT = if (gO)
10761091 then {
1077- let gS = invoke(bC, "stake", nil, [AttachedPayment(dv, eq)])
1078- if ((gS == gS))
1092+ let gU = invoke(bC, "stake", nil, [AttachedPayment(dv, eq)])
1093+ if ((gU == gU))
10791094 then nil
10801095 else throw("Strict value is not equal to itself.")
10811096 }
10821097 else [ScriptTransfer(fb.caller, eq, dv)]
1083- let gT = eI(0, 0, 0)
1084- if ((gT == gT))
1098+ let gV = eI(0, 0, 0)
1099+ if ((gV == gV))
10851100 then {
1086- let ez = gT._2
1087- let gJ = gT._1
1088- let gU = eN(eH, ez)
1089- if ((gU == gU))
1101+ let ez = gV._2
1102+ let gL = gV._1
1103+ let gW = eN(eH, ez)
1104+ if ((gW == gW))
10901105 then {
1091- let gV = invoke(this, "rebalance", nil, nil)
1092- if ((gV == gV))
1093- then ((dM ++ gR) ++ gJ)
1106+ let gX = invoke(this, "rebalance", nil, nil)
1107+ if ((gX == gX))
1108+ then ((dM ++ gT) ++ gL)
10941109 else throw("Strict value is not equal to itself.")
10951110 }
10961111 else throw("Strict value is not equal to itself.")
10971112 }
10981113 else throw("Strict value is not equal to itself.")
10991114 }
11001115 else throw("Strict value is not equal to itself.")
11011116 }
11021117 else throw("Strict value is not equal to itself.")
11031118 }
11041119 else throw("Strict value is not equal to itself.")
11051120 }
11061121 else throw("Strict value is not equal to itself.")
11071122 }
11081123 else throw("Strict value is not equal to itself.")
11091124 }
11101125
11111126
11121127
11131128 @Callable(fb)
1114-func putForFree (gW) = if ((0 > gW))
1129+func putForFree (gY) = if ((0 > gY))
11151130 then throw("Invalid value passed")
11161131 else {
1117- let fh = fe(fb, gW, false)
1132+ let fh = fe(fb, gY, false)
11181133 let dM = fh._9
11191134 let ff = toBigInt(value(fb.payments[0]).amount)
11201135 let fg = toBigInt(value(fb.payments[1]).amount)
11211136 let eH = eA(ff, fg, toBigInt(0))
11221137 if ((eH == eH))
11231138 then {
1124- let gX = eI(0, 0, 0)
1125- let gJ = gX._1
1126- let ez = gX._2
1127- let gU = eN(eH, ez)
1128- if ((gU == gU))
1129- then (dM ++ gJ)
1139+ let gZ = eI(0, 0, 0)
1140+ let gL = gZ._1
1141+ let ez = gZ._2
1142+ let gW = eN(eH, ez)
1143+ if ((gW == gW))
1144+ then (dM ++ gL)
11301145 else throw("Strict value is not equal to itself.")
11311146 }
11321147 else throw("Strict value is not equal to itself.")
11331148 }
11341149
11351150
11361151
11371152 @Callable(fb)
1138-func putOneTkn (gY,gZ) = {
1139- let ha = {
1153+func putOneTkn (ha,hb) = {
1154+ let hc = {
11401155 let bg = invoke(bd, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil)
11411156 if ($isInstanceOf(bg, "Boolean"))
11421157 then bg
11431158 else throw(($getType(bg) + " couldn't be cast to Boolean"))
11441159 }
1145- let hb = if (if (if (bi())
1160+ let hd = if (if (if (bi())
11461161 then true
11471162 else (bv == l))
11481163 then true
11491164 else (bv == n))
11501165 then true
1151- else ha
1152- let fV = [if (if (!(hb))
1166+ else hc
1167+ let fV = [if (if (!(hd))
11531168 then true
11541169 else gp(fb))
11551170 then true
11561171 else ba("put operation is blocked by admin"), if ((size(fb.payments) == 1))
11571172 then true
11581173 else ba("exactly 1 payment are expected")]
11591174 if ((fV == fV))
11601175 then {
1161- let hc = fb.payments[0]
1162- let fq = hc.assetId
1163- let fp = hc.amount
1176+ let he = fb.payments[0]
1177+ let fq = he.assetId
1178+ let fp = he.amount
11641179 let eH = if ((fq == bx))
11651180 then eA(toBigInt(fp), toBigInt(0), toBigInt(0))
11661181 else if ((fq == by))
11671182 then eA(toBigInt(0), toBigInt(fp), toBigInt(0))
11681183 else ba("payment asset is not supported")
11691184 if ((eH == eH))
11701185 then {
11711186 let ab = fb.caller
11721187 let ac = fb.transactionId
1173- let hd = fo(fp, fq, ab, ac)
1174- if ((hd == hd))
1188+ let hf = fo(fp, fq, ab, ac)
1189+ if ((hf == hf))
11751190 then {
1176- let fu = hd._5
1177- let he = hd._4
1178- let fn = hd._3
1179- let et = hd._2
1180- let hf = hd._1
1181- let hg = if (if ((gY > 0))
1182- then (gY > hf)
1191+ let fu = hf._5
1192+ let hg = hf._4
1193+ let fn = hf._3
1194+ let et = hf._2
1195+ let hh = hf._1
1196+ let hi = if (if ((ha > 0))
1197+ then (ha > hh)
11831198 else false)
1184- then ba(makeString(["amount to receive is less than ", toString(gY)], ""))
1185- else hf
1186- let fj = fi(hg)
1199+ then ba(makeString(["amount to receive is less than ", toString(ha)], ""))
1200+ else hh
1201+ let fj = fi(hi)
11871202 if ((fj == fj))
11881203 then {
1189- let gR = if (gZ)
1204+ let gT = if (hb)
11901205 then {
1191- let hh = invoke(bC, "stake", nil, [AttachedPayment(bw, hg)])
1192- if ((hh == hh))
1206+ let hj = invoke(bC, "stake", nil, [AttachedPayment(bw, hi)])
1207+ if ((hj == hj))
11931208 then nil
11941209 else throw("Strict value is not equal to itself.")
11951210 }
1196- else [ScriptTransfer(fb.caller, hg, bw)]
1197- let hi = if ((fn > 0))
1211+ else [ScriptTransfer(fb.caller, hi, bw)]
1212+ let hk = if ((fn > 0))
11981213 then [ScriptTransfer(be, fn, fq)]
11991214 else nil
1200- let hj = if ((this == be))
1215+ let hl = if ((this == be))
12011216 then $Tuple2(0, 0)
12021217 else if (fu)
12031218 then $Tuple2(-(fn), 0)
12041219 else $Tuple2(0, -(fn))
1205- let eJ = hj._1
1206- let eK = hj._2
1207- let hk = eI(eJ, eK, 0)
1208- let gJ = hk._1
1209- let ez = hk._2
1220+ let eJ = hl._1
1221+ let eK = hl._2
1222+ let hm = eI(eJ, eK, 0)
1223+ let gL = hm._1
1224+ let ez = hm._2
12101225 let eU = value(getString(aj))
1211- let gU = eN(eH, ez)
1212- if ((gU == gU))
1226+ let gW = eN(eH, ez)
1227+ if ((gW == gW))
12131228 then {
1214- let gV = invoke(this, "rebalance", nil, nil)
1215- if ((gV == gV))
1216- then $Tuple2((((et ++ gR) ++ hi) ++ gJ), hg)
1229+ let gX = invoke(this, "rebalance", nil, nil)
1230+ if ((gX == gX))
1231+ then $Tuple2((((et ++ gT) ++ hk) ++ gL), hi)
12171232 else throw("Strict value is not equal to itself.")
12181233 }
12191234 else throw("Strict value is not equal to itself.")
12201235 }
12211236 else throw("Strict value is not equal to itself.")
12221237 }
12231238 else throw("Strict value is not equal to itself.")
12241239 }
12251240 else throw("Strict value is not equal to itself.")
12261241 }
12271242 else throw("Strict value is not equal to itself.")
12281243 }
12291244
12301245
12311246
12321247 @Callable(fb)
12331248 func putOneTknREADONLY (fq,fp) = {
1234- let hl = fo(fp, bn(fq), unit, unit)
1235- let hf = hl._1
1236- let et = hl._2
1237- let fn = hl._3
1238- let he = hl._4
1239- let fu = hl._5
1240- $Tuple2(nil, $Tuple3(hf, fn, he))
1249+ let hn = fo(fp, bn(fq), unit, unit)
1250+ let hh = hn._1
1251+ let et = hn._2
1252+ let fn = hn._3
1253+ let hg = hn._4
1254+ let fu = hn._5
1255+ $Tuple2(nil, $Tuple3(hh, fn, hg))
12411256 }
12421257
12431258
12441259
12451260 @Callable(fb)
1246-func getOneTkn (hm,gY) = {
1247- let ha = {
1261+func getOneTkn (ho,ha) = {
1262+ let hc = {
12481263 let bg = invoke(bd, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil)
12491264 if ($isInstanceOf(bg, "Boolean"))
12501265 then bg
12511266 else throw(($getType(bg) + " couldn't be cast to Boolean"))
12521267 }
1253- let hn = if (if (bi())
1268+ let hp = if (if (bi())
12541269 then true
12551270 else (bv == n))
12561271 then true
1257- else ha
1258- let fV = [if (if (!(hn))
1272+ else hc
1273+ let fV = [if (if (!(hp))
12591274 then true
12601275 else gp(fb))
12611276 then true
12621277 else ba("get operation is blocked by admin"), if ((size(fb.payments) == 1))
12631278 then true
12641279 else ba("exactly 1 payment are expected")]
12651280 if ((fV == fV))
12661281 then {
1267- let fU = bn(hm)
1268- let hc = fb.payments[0]
1269- let fq = hc.assetId
1270- let fC = hc.amount
1282+ let fU = bn(ho)
1283+ let he = fb.payments[0]
1284+ let fq = he.assetId
1285+ let fC = he.amount
12711286 let eH = eA(toBigInt(0), toBigInt(0), toBigInt(0))
12721287 if ((eH == eH))
12731288 then {
12741289 let ab = fb.caller
12751290 let ac = fb.transactionId
1276- let ho = fT(fU, fC, fq, ab, ac)
1277- if ((ho == ho))
1291+ let hq = fT(fU, fC, fq, ab, ac)
1292+ if ((hq == hq))
12781293 then {
1279- let fW = ho._5
1280- let he = ho._4
1281- let fn = ho._3
1282- let et = ho._2
1283- let hp = ho._1
1284- let cf = if (if ((gY > 0))
1285- then (gY > hp)
1294+ let fW = hq._5
1295+ let hg = hq._4
1296+ let fn = hq._3
1297+ let et = hq._2
1298+ let hr = hq._1
1299+ let cf = if (if ((ha > 0))
1300+ then (ha > hr)
12861301 else false)
1287- then ba(makeString(["amount to receive is less than ", toString(gY)], ""))
1288- else hp
1289- let hq = invoke(bd, "burn", [fC], [AttachedPayment(fq, fC)])
1290- if ((hq == hq))
1302+ then ba(makeString(["amount to receive is less than ", toString(ha)], ""))
1303+ else hr
1304+ let hs = invoke(bd, "burn", [fC], [AttachedPayment(fq, fC)])
1305+ if ((hs == hs))
12911306 then {
1292- let gL = cP(hm, (cf + max([0, fn])))
1293- let hr = [ScriptTransfer(ab, cf, fU)]
1294- let hi = if ((fn > 0))
1307+ let gN = cP(ho, (cf + max([0, fn])))
1308+ let ht = [ScriptTransfer(ab, cf, fU)]
1309+ let hk = if ((fn > 0))
12951310 then [ScriptTransfer(be, fn, fU)]
12961311 else nil
1297- let hs = {
1298- let ht = if ((this == be))
1312+ let hu = {
1313+ let hv = if ((this == be))
12991314 then 0
13001315 else fn
13011316 if (fW)
1302- then $Tuple2(-((cf + ht)), 0)
1303- else $Tuple2(0, -((cf + ht)))
1317+ then $Tuple2(-((cf + hv)), 0)
1318+ else $Tuple2(0, -((cf + hv)))
13041319 }
1305- let eJ = hs._1
1306- let eK = hs._2
1307- let hu = eI(eJ, eK, 0)
1308- let gJ = hu._1
1309- let ez = hu._2
1310- let gU = eN(eH, ez)
1311- if ((gU == gU))
1312- then $Tuple2(((((et ++ gL) ++ hr) ++ hi) ++ gJ), cf)
1320+ let eJ = hu._1
1321+ let eK = hu._2
1322+ let hw = eI(eJ, eK, 0)
1323+ let gL = hw._1
1324+ let ez = hw._2
1325+ let gW = eN(eH, ez)
1326+ if ((gW == gW))
1327+ then $Tuple2(((((et ++ gN) ++ ht) ++ hk) ++ gL), cf)
13131328 else throw("Strict value is not equal to itself.")
13141329 }
13151330 else throw("Strict value is not equal to itself.")
13161331 }
13171332 else throw("Strict value is not equal to itself.")
13181333 }
13191334 else throw("Strict value is not equal to itself.")
13201335 }
13211336 else throw("Strict value is not equal to itself.")
13221337 }
13231338
13241339
13251340
13261341 @Callable(fb)
13271342 func getOneTknREADONLY (fU,fC) = {
1328- let hv = fT(bn(fU), fC, bw, unit, unit)
1329- let hp = hv._1
1330- let et = hv._2
1331- let fn = hv._3
1332- let he = hv._4
1333- let fW = hv._5
1334- $Tuple2(nil, $Tuple3(hp, fn, he))
1343+ let hx = fT(bn(fU), fC, bw, unit, unit)
1344+ let hr = hx._1
1345+ let et = hx._2
1346+ let fn = hx._3
1347+ let hg = hx._4
1348+ let fW = hx._5
1349+ $Tuple2(nil, $Tuple3(hr, fn, hg))
13351350 }
13361351
13371352
13381353
13391354 @Callable(fb)
1340-func unstakeAndGetOneTkn (hw,hm,gY) = {
1341- let ha = {
1355+func unstakeAndGetOneTkn (hy,ho,ha) = {
1356+ let hc = {
13421357 let bg = invoke(bd, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil)
13431358 if ($isInstanceOf(bg, "Boolean"))
13441359 then bg
13451360 else throw(($getType(bg) + " couldn't be cast to Boolean"))
13461361 }
1347- let hn = if (if (bi())
1362+ let hp = if (if (bi())
13481363 then true
13491364 else (bv == n))
13501365 then true
1351- else ha
1352- let fV = [if (if (!(hn))
1366+ else hc
1367+ let fV = [if (if (!(hp))
13531368 then true
13541369 else gp(fb))
13551370 then true
13561371 else ba("get operation is blocked by admin"), if ((size(fb.payments) == 0))
13571372 then true
13581373 else ba("no payments are expected")]
13591374 if ((fV == fV))
13601375 then {
1361- let fU = bn(hm)
1376+ let fU = bn(ho)
13621377 let ab = fb.caller
13631378 let ac = fb.transactionId
13641379 let eH = eA(toBigInt(0), toBigInt(0), toBigInt(0))
13651380 if ((eH == eH))
13661381 then {
1367- let hx = invoke(bC, "unstake", [toBase58String(bw), hw], nil)
1368- if ((hx == hx))
1382+ let hz = invoke(bC, "unstake", [toBase58String(bw), hy], nil)
1383+ if ((hz == hz))
13691384 then {
1370- let hy = fT(fU, hw, bw, ab, ac)
1371- if ((hy == hy))
1385+ let hA = fT(fU, hy, bw, ab, ac)
1386+ if ((hA == hA))
13721387 then {
1373- let fW = hy._5
1374- let he = hy._4
1375- let fn = hy._3
1376- let et = hy._2
1377- let hp = hy._1
1378- let cf = if (if ((gY > 0))
1379- then (gY > hp)
1388+ let fW = hA._5
1389+ let hg = hA._4
1390+ let fn = hA._3
1391+ let et = hA._2
1392+ let hr = hA._1
1393+ let cf = if (if ((ha > 0))
1394+ then (ha > hr)
13801395 else false)
1381- then ba(makeString(["amount to receive is less than ", toString(gY)], ""))
1382- else hp
1383- let hq = invoke(bd, "burn", [hw], [AttachedPayment(bw, hw)])
1384- if ((hq == hq))
1396+ then ba(makeString(["amount to receive is less than ", toString(ha)], ""))
1397+ else hr
1398+ let hs = invoke(bd, "burn", [hy], [AttachedPayment(bw, hy)])
1399+ if ((hs == hs))
13851400 then {
1386- let gL = cP(hm, (cf + max([0, fn])))
1387- let hr = [ScriptTransfer(fb.caller, cf, fU)]
1388- let hi = if ((fn > 0))
1401+ let gN = cP(ho, (cf + max([0, fn])))
1402+ let ht = [ScriptTransfer(fb.caller, cf, fU)]
1403+ let hk = if ((fn > 0))
13891404 then [ScriptTransfer(be, fn, fU)]
13901405 else nil
1391- let hz = {
1392- let ht = if ((this == be))
1406+ let hB = {
1407+ let hv = if ((this == be))
13931408 then 0
13941409 else fn
13951410 if (fW)
1396- then $Tuple2(-((cf + ht)), 0)
1397- else $Tuple2(0, -((cf + ht)))
1411+ then $Tuple2(-((cf + hv)), 0)
1412+ else $Tuple2(0, -((cf + hv)))
13981413 }
1399- let eJ = hz._1
1400- let eK = hz._2
1401- let hA = eI(eJ, eK, 0)
1402- let gJ = hA._1
1403- let ez = hA._2
1404- let gU = eN(eH, ez)
1405- if ((gU == gU))
1406- then $Tuple2(((((et ++ gL) ++ hr) ++ hi) ++ gJ), cf)
1414+ let eJ = hB._1
1415+ let eK = hB._2
1416+ let hC = eI(eJ, eK, 0)
1417+ let gL = hC._1
1418+ let ez = hC._2
1419+ let gW = eN(eH, ez)
1420+ if ((gW == gW))
1421+ then $Tuple2(((((et ++ gN) ++ ht) ++ hk) ++ gL), cf)
14071422 else throw("Strict value is not equal to itself.")
14081423 }
14091424 else throw("Strict value is not equal to itself.")
14101425 }
14111426 else throw("Strict value is not equal to itself.")
14121427 }
14131428 else throw("Strict value is not equal to itself.")
14141429 }
14151430 else throw("Strict value is not equal to itself.")
14161431 }
14171432 else throw("Strict value is not equal to itself.")
14181433 }
14191434
14201435
14211436
14221437 @Callable(fb)
14231438 func get () = {
14241439 let ee = fa(fb)
14251440 let dK = ee._1
14261441 let dL = ee._2
14271442 let fd = ee._3
14281443 let dt = ee._4
14291444 let dM = ee._5
1430- let gL = cU(dK, dL)
1445+ let gN = cU(dK, dL)
14311446 let eH = eA(toBigInt(0), toBigInt(0), toBigInt(0))
14321447 if ((eH == eH))
14331448 then {
1434- let hB = invoke(bd, "burn", [fd], [AttachedPayment(dt, fd)])
1435- if ((hB == hB))
1449+ let hD = invoke(bd, "burn", [fd], [AttachedPayment(dt, fd)])
1450+ if ((hD == hD))
14361451 then {
1437- let hC = eI(-(dK), -(dL), 0)
1438- let gJ = hC._1
1439- let ez = hC._2
1440- let gU = eN(eH, ez)
1441- if ((gU == gU))
1442- then ((gL ++ dM) ++ gJ)
1452+ let hE = eI(-(dK), -(dL), 0)
1453+ let gL = hE._1
1454+ let ez = hE._2
1455+ let gW = eN(eH, ez)
1456+ if ((gW == gW))
1457+ then ((gN ++ dM) ++ gL)
14431458 else throw("Strict value is not equal to itself.")
14441459 }
14451460 else throw("Strict value is not equal to itself.")
14461461 }
14471462 else throw("Strict value is not equal to itself.")
14481463 }
14491464
14501465
14511466
14521467 @Callable(fb)
1453-func getNoLess (hD,hE) = {
1468+func getNoLess (hF,hG) = {
14541469 let ee = fa(fb)
14551470 let dK = ee._1
14561471 let dL = ee._2
14571472 let fd = ee._3
14581473 let dt = ee._4
14591474 let dM = ee._5
1460- if ((hD > dK))
1461- then throw(((("noLessThenAmtAsset failed: " + toString(dK)) + " < ") + toString(hD)))
1462- else if ((hE > dL))
1463- then throw(((("noLessThenPriceAsset failed: " + toString(dL)) + " < ") + toString(hE)))
1475+ if ((hF > dK))
1476+ then throw(((("noLessThenAmtAsset failed: " + toString(dK)) + " < ") + toString(hF)))
1477+ else if ((hG > dL))
1478+ then throw(((("noLessThenPriceAsset failed: " + toString(dL)) + " < ") + toString(hG)))
14641479 else {
1465- let gL = cU(dK, dL)
1480+ let gN = cU(dK, dL)
14661481 let eH = eA(toBigInt(0), toBigInt(0), toBigInt(0))
14671482 if ((eH == eH))
14681483 then {
1469- let hB = invoke(bd, "burn", [fd], [AttachedPayment(dt, fd)])
1470- if ((hB == hB))
1484+ let hD = invoke(bd, "burn", [fd], [AttachedPayment(dt, fd)])
1485+ if ((hD == hD))
14711486 then {
1472- let hF = eI(-(dK), -(dL), 0)
1473- let gJ = hF._1
1474- let ez = hF._2
1475- let gU = eN(eH, ez)
1476- if ((gU == gU))
1477- then ((gL ++ dM) ++ gJ)
1487+ let hH = eI(-(dK), -(dL), 0)
1488+ let gL = hH._1
1489+ let ez = hH._2
1490+ let gW = eN(eH, ez)
1491+ if ((gW == gW))
1492+ then ((gN ++ dM) ++ gL)
14781493 else throw("Strict value is not equal to itself.")
14791494 }
14801495 else throw("Strict value is not equal to itself.")
14811496 }
14821497 else throw("Strict value is not equal to itself.")
14831498 }
14841499 }
14851500
14861501
14871502
14881503 @Callable(fb)
14891504 func unstakeAndGet (cf) = {
1490- let hG = if ((size(fb.payments) != 0))
1505+ let hI = if ((size(fb.payments) != 0))
14911506 then throw("No payments are expected")
14921507 else true
1493- if ((hG == hG))
1508+ if ((hI == hI))
14941509 then {
14951510 let di = bk()
14961511 let dv = fromBase58String(di[q])
14971512 let eH = eA(toBigInt(0), toBigInt(0), toBigInt(0))
14981513 if ((eH == eH))
14991514 then {
1500- let hx = invoke(bC, "unstake", [toBase58String(dv), cf], nil)
1501- if ((hx == hx))
1515+ let hz = invoke(bC, "unstake", [toBase58String(dv), cf], nil)
1516+ if ((hz == hz))
15021517 then {
15031518 let ee = dr(toBase58String(fb.transactionId), toBase58String(dv), cf, fb.caller)
15041519 let dK = ee._1
15051520 let dL = ee._2
15061521 let dy = parseIntValue(ee._9)
15071522 let dM = ee._10
1508- let gL = cU(dK, dL)
1509- let hH = if (if (bi())
1523+ let gN = cU(dK, dL)
1524+ let hJ = if (if (bi())
15101525 then true
15111526 else (dy == n))
15121527 then throw(("Get operation is blocked by admin. Status = " + toString(dy)))
15131528 else true
1514- if ((hH == hH))
1529+ if ((hJ == hJ))
15151530 then {
1516- let hB = invoke(bd, "burn", [cf], [AttachedPayment(dv, cf)])
1517- if ((hB == hB))
1531+ let hD = invoke(bd, "burn", [cf], [AttachedPayment(dv, cf)])
1532+ if ((hD == hD))
15181533 then {
1519- let hI = eI(-(dK), -(dL), 0)
1520- let gJ = hI._1
1521- let ez = hI._2
1522- let gU = eN(eH, ez)
1523- if ((gU == gU))
1524- then ((gL ++ dM) ++ gJ)
1534+ let hK = eI(-(dK), -(dL), 0)
1535+ let gL = hK._1
1536+ let ez = hK._2
1537+ let gW = eN(eH, ez)
1538+ if ((gW == gW))
1539+ then ((gN ++ dM) ++ gL)
15251540 else throw("Strict value is not equal to itself.")
15261541 }
15271542 else throw("Strict value is not equal to itself.")
15281543 }
15291544 else throw("Strict value is not equal to itself.")
15301545 }
15311546 else throw("Strict value is not equal to itself.")
15321547 }
15331548 else throw("Strict value is not equal to itself.")
15341549 }
15351550 else throw("Strict value is not equal to itself.")
15361551 }
15371552
15381553
15391554
15401555 @Callable(fb)
1541-func unstakeAndGetNoLess (hw,hJ,hE) = {
1542- let hn = if (bi())
1556+func unstakeAndGetNoLess (hy,hL,hG) = {
1557+ let hp = if (bi())
15431558 then true
15441559 else (bv == n)
1545- let fV = [if (!(hn))
1560+ let fV = [if (!(hp))
15461561 then true
15471562 else throw("get operation is blocked by admin"), if ((size(fb.payments) == 0))
15481563 then true
15491564 else throw("no payments are expected")]
15501565 if ((fV == fV))
15511566 then {
15521567 let eH = eA(toBigInt(0), toBigInt(0), toBigInt(0))
15531568 if ((eH == eH))
15541569 then {
1555- let hx = invoke(bC, "unstake", [toBase58String(bw), hw], nil)
1556- if ((hx == hx))
1570+ let hz = invoke(bC, "unstake", [toBase58String(bw), hy], nil)
1571+ if ((hz == hz))
15571572 then {
1558- let ee = dr(toBase58String(fb.transactionId), toBase58String(bw), hw, fb.caller)
1573+ let ee = dr(toBase58String(fb.transactionId), toBase58String(bw), hy, fb.caller)
15591574 let dK = ee._1
15601575 let dL = ee._2
15611576 let dM = ee._10
1562- let gL = cU(dK, dL)
1563- let hK = [if ((dK >= hJ))
1577+ let gN = cU(dK, dL)
1578+ let hM = [if ((dK >= hL))
15641579 then true
1565- else throw(makeString(["amount asset amount to receive is less than ", toString(hJ)], "")), if ((dL >= hE))
1580+ else throw(makeString(["amount asset amount to receive is less than ", toString(hL)], "")), if ((dL >= hG))
15661581 then true
1567- else throw(makeString(["price asset amount to receive is less than ", toString(hE)], ""))]
1568- if ((hK == hK))
1582+ else throw(makeString(["price asset amount to receive is less than ", toString(hG)], ""))]
1583+ if ((hM == hM))
15691584 then {
1570- let hB = invoke(bd, "burn", [hw], [AttachedPayment(bw, hw)])
1571- if ((hB == hB))
1585+ let hD = invoke(bd, "burn", [hy], [AttachedPayment(bw, hy)])
1586+ if ((hD == hD))
15721587 then {
1573- let hL = eI(-(dK), -(dL), 0)
1574- let gJ = hL._1
1575- let ez = hL._2
1576- let gU = eN(eH, ez)
1577- if ((gU == gU))
1578- then ((gL ++ dM) ++ gJ)
1588+ let hN = eI(-(dK), -(dL), 0)
1589+ let gL = hN._1
1590+ let ez = hN._2
1591+ let gW = eN(eH, ez)
1592+ if ((gW == gW))
1593+ then ((gN ++ dM) ++ gL)
15791594 else throw("Strict value is not equal to itself.")
15801595 }
15811596 else throw("Strict value is not equal to itself.")
15821597 }
15831598 else throw("Strict value is not equal to itself.")
15841599 }
15851600 else throw("Strict value is not equal to itself.")
15861601 }
15871602 else throw("Strict value is not equal to itself.")
15881603 }
15891604 else throw("Strict value is not equal to itself.")
15901605 }
15911606
15921607
15931608
15941609 @Callable(fb)
1595-func activate (hM,hN) = if ((toString(fb.caller) != toString(bd)))
1610+func activate (hO,hP) = if ((toString(fb.caller) != toString(bd)))
15961611 then throw("permissions denied")
1597- else $Tuple2([StringEntry(ae(), hM), StringEntry(af(), hN)], "success")
1612+ else $Tuple2([StringEntry(ae(), hO), StringEntry(af(), hP)], "success")
15981613
15991614
16001615
16011616 @Callable(fb)
16021617 func refreshKLp () = {
1603- let hO = valueOrElse(getInteger(ak), 0)
1604- let hP = if (((height - hO) >= an))
1618+ let hQ = valueOrElse(getInteger(ak), 0)
1619+ let hR = if (((height - hQ) >= an))
16051620 then unit
16061621 else ba(makeString([toString(an), " blocks have not passed since the previous call"], ""))
1607- if ((hP == hP))
1622+ if ((hR == hR))
16081623 then {
16091624 let eU = valueOrErrorMessage(parseBigInt(valueOrElse(getString(this, aj), "0")), bc("invalid kLp"))
1610- let hQ = eI(0, 0, 0)
1611- let hR = hQ._1
1612- let ez = hQ._2
1625+ let hS = eI(0, 0, 0)
1626+ let hT = hS._1
1627+ let ez = hS._2
16131628 let eL = if ((eU != ez))
1614- then hR
1629+ then hT
16151630 else ba("nothing to refresh")
16161631 $Tuple2(eL, toString(ez))
16171632 }
16181633 else throw("Strict value is not equal to itself.")
16191634 }
16201635
16211636
16221637
16231638 @Callable(fb)
16241639 func getPoolConfigWrapperREADONLY () = $Tuple2(nil, bk())
16251640
16261641
16271642
16281643 @Callable(fb)
16291644 func getAccBalanceWrapperREADONLY (ap) = $Tuple2(nil, bT(ap))
16301645
16311646
16321647
16331648 @Callable(fb)
16341649 func calcPricesWrapperREADONLY (dc,dd,dh) = {
16351650 let dq = dg(dc, dd, dh)
16361651 $Tuple2(nil, [toString(dq[0]), toString(dq[1]), toString(dq[2])])
16371652 }
16381653
16391654
16401655
16411656 @Callable(fb)
16421657 func toX18WrapperREADONLY (E,F) = $Tuple2(nil, toString(D(E, F)))
16431658
16441659
16451660
16461661 @Callable(fb)
16471662 func fromX18WrapperREADONLY (I,J) = $Tuple2(nil, H(parseBigIntValue(I), J))
16481663
16491664
16501665
16511666 @Callable(fb)
16521667 func calcPriceBigIntWrapperREADONLY (bX,bY) = $Tuple2(nil, toString(bW(parseBigIntValue(bX), parseBigIntValue(bY))))
16531668
16541669
16551670
16561671 @Callable(fb)
16571672 func estimatePutOperationWrapperREADONLY (ds,dO,dP,dQ,dR,dS,ab,dT,dU) = $Tuple2(nil, dN(ds, dO, dP, dQ, dR, dS, ab, dT, dU))
16581673
16591674
16601675
16611676 @Callable(fb)
16621677 func estimateGetOperationWrapperREADONLY (ds,dt,du,ab) = {
16631678 let ee = dr(ds, dt, du, addressFromStringValue(ab))
16641679 $Tuple2(nil, $Tuple10(ee._1, ee._2, ee._3, ee._4, ee._5, ee._6, ee._7, toString(ee._8), ee._9, ee._10))
16651680 }
16661681
16671682
16681683
16691684 @Callable(fb)
16701685 func statsREADONLY () = {
16711686 let di = bk()
16721687 let dv = fromBase58String(di[q])
1673- let hS = di[r]
1674- let hT = di[s]
1688+ let hU = di[r]
1689+ let hV = di[s]
16751690 let dX = di[v]
16761691 let dY = di[w]
16771692 let dj = parseIntValue(di[t])
16781693 let dk = parseIntValue(di[u])
1679- let hU = valueOrErrorMessage(assetInfo(dv), (("Asset " + toBase58String(dv)) + " doesn't exist")).quantity
1680- let hV = bT(hS)
1681- let hW = bT(hT)
1682- let hX = if ((hU == 0))
1694+ let hW = valueOrErrorMessage(assetInfo(dv), (("Asset " + toBase58String(dv)) + " doesn't exist")).quantity
1695+ let hX = bT(hU)
1696+ let hY = bT(hV)
1697+ let hZ = if ((hW == 0))
16831698 then [e, e, e]
1684- else dg(hV, hW, hU)
1699+ else dg(hX, hY, hW)
16851700 let dF = 0
1686- let hY = H(hX[1], b)
1687- let hZ = H(hX[2], b)
1688- let ia = value(getInteger(bd, aD(toString(this))))
1689- $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString(hV), toString(hW), toString(hU), toString(dF), toString(hY), toString(hZ), toString(ia)], j))
1701+ let ia = H(hZ[1], b)
1702+ let ib = H(hZ[2], b)
1703+ let ic = value(getInteger(bd, aD(toString(this))))
1704+ $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString(hX), toString(hY), toString(hW), toString(dF), toString(ia), toString(ib), toString(ic)], j))
16901705 }
16911706
16921707
16931708
16941709 @Callable(fb)
16951710 func evaluatePutByAmountAssetREADONLY (dP) = {
16961711 let di = bk()
16971712 let dv = fromBase58String(di[q])
16981713 let dV = di[r]
16991714 let dw = fromBase58String(dV)
17001715 let dW = di[s]
17011716 let dx = fromBase58String(dW)
17021717 let dj = parseIntValue(di[t])
17031718 let dk = parseIntValue(di[u])
17041719 let dy = di[p]
1705- let hU = valueOrErrorMessage(assetInfo(dv), (("Asset " + toBase58String(dv)) + " doesn't exist")).quantity
1706- let hV = bT(dV)
1707- let hW = bT(dW)
1708- let de = D(hV, dj)
1709- let df = D(hW, dk)
1710- let dE = if ((hU == 0))
1720+ let hW = valueOrErrorMessage(assetInfo(dv), (("Asset " + toBase58String(dv)) + " doesn't exist")).quantity
1721+ let hX = bT(dV)
1722+ let hY = bT(dW)
1723+ let de = D(hX, dj)
1724+ let df = D(hY, dk)
1725+ let dE = if ((hW == 0))
17111726 then e
17121727 else bW(df, de)
17131728 let eb = D(dP, dj)
17141729 let ec = fraction(eb, dE, d)
17151730 let dR = H(ec, dk)
17161731 let fh = dN("", 500000, dP, dw, dR, dx, "", true, false)
17171732 let em = fh._1
1718- let ib = fh._3
1733+ let id = fh._3
17191734 let dA = fh._4
17201735 let dC = fh._5
17211736 let dz = fh._6
17221737 $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString(em), toString(H(dE, b)), toString(dA), toString(dC), toString(dz), dy, toString(dP), toString(dR)], j))
17231738 }
17241739
17251740
17261741
17271742 @Callable(fb)
17281743 func evaluatePutByPriceAssetREADONLY (dR) = {
17291744 let di = bk()
17301745 let dv = fromBase58String(di[q])
17311746 let dV = di[r]
17321747 let dw = fromBase58String(dV)
17331748 let dW = di[s]
17341749 let dx = fromBase58String(dW)
17351750 let dj = parseIntValue(di[t])
17361751 let dk = parseIntValue(di[u])
17371752 let dy = di[p]
1738- let hU = valueOrErrorMessage(assetInfo(dv), (("Asset " + toBase58String(dv)) + " doesn't exist")).quantity
1739- let ic = bT(dV)
1740- let id = bT(dW)
1741- let ie = D(ic, dj)
1742- let if = D(id, dk)
1743- let dE = if ((hU == 0))
1753+ let hW = valueOrErrorMessage(assetInfo(dv), (("Asset " + toBase58String(dv)) + " doesn't exist")).quantity
1754+ let ie = bT(dV)
1755+ let if = bT(dW)
1756+ let ig = D(ie, dj)
1757+ let ih = D(if, dk)
1758+ let dE = if ((hW == 0))
17441759 then e
1745- else bW(if, ie)
1760+ else bW(ih, ig)
17461761 let ec = D(dR, dk)
17471762 let eb = fraction(ec, d, dE)
17481763 let dP = H(eb, dj)
17491764 let fh = dN("", 500000, dP, dw, dR, dx, "", true, false)
17501765 let em = fh._1
1751- let ib = fh._3
1766+ let id = fh._3
17521767 let dA = fh._4
17531768 let dC = fh._5
17541769 let dz = fh._6
17551770 $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString(em), toString(H(dE, b)), toString(dA), toString(dC), toString(dz), dy, toString(dP), toString(dR)], j))
17561771 }
17571772
17581773
17591774
17601775 @Callable(fb)
1761-func evaluateGetREADONLY (ig,ih) = {
1762- let ee = dr("", ig, ih, this)
1776+func evaluateGetREADONLY (ii,ij) = {
1777+ let ee = dr("", ii, ij, this)
17631778 let dK = ee._1
17641779 let dL = ee._2
17651780 let dA = ee._5
17661781 let dC = ee._6
17671782 let dz = ee._7
17681783 let dF = ee._8
17691784 let dy = parseIntValue(ee._9)
17701785 $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString(dK), toString(dL), toString(dA), toString(dC), toString(dz), toString(dF), toString(dy)], j))
17711786 }
17721787
17731788
1774-@Verifier(ii)
1775-func ij () = {
1776- let ik = {
1789+@Verifier(ik)
1790+func il () = {
1791+ let im = {
17771792 let aQ = gn()
17781793 if ($isInstanceOf(aQ, "ByteVector"))
17791794 then {
17801795 let gq = aQ
17811796 gq
17821797 }
17831798 else if ($isInstanceOf(aQ, "Unit"))
1784- then ii.senderPublicKey
1799+ then ik.senderPublicKey
17851800 else throw("Match error")
17861801 }
1787- let aQ = ii
1802+ let aQ = ik
17881803 if ($isInstanceOf(aQ, "Order"))
17891804 then {
17901805 let eQ = aQ
1791- let il = bj()
1792- let im = if (eM())
1806+ let in = bj()
1807+ let io = if (eM())
17931808 then $Tuple2(true, "")
17941809 else eP(eQ)
1795- let aK = im._1
1796- let aL = im._2
1810+ let aK = io._1
1811+ let aL = io._2
17971812 let aM = sigVerify(eQ.bodyBytes, eQ.proofs[0], eQ.senderPublicKey)
1798- let aN = sigVerify(eQ.bodyBytes, eQ.proofs[1], il)
1813+ let aN = sigVerify(eQ.bodyBytes, eQ.proofs[1], in)
17991814 if (if (if (aK)
18001815 then aM
18011816 else false)
18021817 then aN
18031818 else false)
18041819 then true
18051820 else aJ(aK, aL, aM, aN)
18061821 }
18071822 else if ($isInstanceOf(aQ, "SetScriptTransaction"))
18081823 then {
18091824 let aV = aQ
1810- if (sigVerify(ii.bodyBytes, ii.proofs[0], ik))
1825+ if (sigVerify(ik.bodyBytes, ik.proofs[0], im))
18111826 then true
18121827 else {
1813- let in = blake2b256(value(aV.script))
1814- let io = fromBase64String(value(getString(bd, aF())))
1815- let ip = scriptHash(this)
1816- if ((io == in))
1817- then (ip != in)
1828+ let ip = blake2b256(value(aV.script))
1829+ let iq = fromBase64String(value(getString(bd, aF())))
1830+ let ir = scriptHash(this)
1831+ if ((iq == ip))
1832+ then (ir != ip)
18181833 else false
18191834 }
18201835 }
1821- else sigVerify(ii.bodyBytes, ii.proofs[0], ik)
1836+ else sigVerify(ik.bodyBytes, ik.proofs[0], im)
18221837 }
18231838

github/deemru/w8io/026f985 
340.25 ms