Skip to content

Instantly share code, notes, and snippets.

@jamescarter-le
Created November 21, 2021 14:01
Show Gist options
  • Save jamescarter-le/0f815e6134bd8f299e5c4a9e3a34ae52 to your computer and use it in GitHub Desktop.
Save jamescarter-le/0f815e6134bd8f299e5c4a9e3a34ae52 to your computer and use it in GitHub Desktop.
uniswap-v3-simulator LSB error after many swaps
import JSBI from 'jsbi';
import { CorePool } from './src/core/CorePool';
import { FeeAmount } from './src/enum/FeeAmount';
function main()
{
// Pool is placed in the Initialized state, with no operations yet invoked apart from it being Initialized.
var pool = new CorePool("", "", FeeAmount.MEDIUM, 60, JSBI.BigInt(0), JSBI.BigInt(0), JSBI.BigInt("2505290050365003892876723467"),
JSBI.BigInt(0), -69082, JSBI.BigInt(0), JSBI.BigInt(0));
var queryResult: { amount0: JSBI; amount1: JSBI };
var applyResult: { amount0: JSBI; amount1: JSBI };
var data = [
{ block: 13578816, type: "mint", tickLower: 49800, tickUpper: 64020, amount: JSBI.BigInt("556973545490136947176"), owner: "0xC36442b4a4522E871399CD717aBDD847Ab11FE88" },
{ block: 13578904, type: "burn", tickLower: 49800, tickUpper: 64020, amount: JSBI.BigInt("529124868215630099817"), owner: "0xC36442b4a4522E871399CD717aBDD847Ab11FE88" },
{ block: 13578904, type: "burn", tickLower: 49800, tickUpper: 64020, amount: JSBI.BigInt("0"), owner: "0xC36442b4a4522E871399CD717aBDD847Ab11FE88" },
{ block: 13578932, type: "swap", amount0: JSBI.BigInt("-927248711787417535"), amount1: JSBI.BigInt("226019397190954581334") },
{ block: 13578934, type: "swap", amount0: JSBI.BigInt("920000000000000000"), amount1: JSBI.BigInt("-223879353725590078001") },
{ block: 13578935, type: "swap", amount0: JSBI.BigInt("-959865922027525865"), amount1: JSBI.BigInt("242467151826027761469") },
{ block: 13578936, type: "swap", amount0: JSBI.BigInt("450000000000000000"), amount1: JSBI.BigInt("-145297332972233388668") },
{ block: 13578936, type: "swap", amount0: JSBI.BigInt("-354496843525935494"), amount1: JSBI.BigInt("107587674962888456320") },
{ block: 13578936, type: "swap", amount0: JSBI.BigInt("99075117070465334"), amount1: JSBI.BigInt("-34876614258170369519") },
{ block: 13578941, type: "swap", amount0: JSBI.BigInt("-200964582387892645"), amount1: JSBI.BigInt("76633097773913642784") },
{ block: 13578941, type: "swap", amount0: JSBI.BigInt("100000000000000000"), amount1: JSBI.BigInt("-40586449235886312908") },
{ block: 13578941, type: "swap", amount0: JSBI.BigInt("60000000000000000"), amount1: JSBI.BigInt("-21746203898771549812") },
{ block: 13578943, type: "swap", amount0: JSBI.BigInt("820850720170027688"), amount1: JSBI.BigInt("-184363245697871389667") },
{ block: 13578944, type: "swap", amount0: JSBI.BigInt("-723668151704630641"), amount1: JSBI.BigInt("153747307970458645901") },
{ block: 13578946, type: "swap", amount0: JSBI.BigInt("35000000000000000"), amount1: JSBI.BigInt("-10533117091532267984") },
{ block: 13578949, type: "swap", amount0: JSBI.BigInt("400000000000000000"), amount1: JSBI.BigInt("-94523526264599628877") },
{ block: 13578950, type: "swap", amount0: JSBI.BigInt("-432245254820271752"), amount1: JSBI.BigInt("104924586617373771813") },
{ block: 13578950, type: "swap", amount0: JSBI.BigInt("409525699878743767"), amount1: JSBI.BigInt("-100000000000000000000") },
{ block: 13578951, type: "swap", amount0: JSBI.BigInt("-404533658060313622"), amount1: JSBI.BigInt("99141275941338294718") },
{ block: 13578951, type: "mint", tickLower: 45540, tickUpper: 68100, amount: JSBI.BigInt("38538463904253688987"), owner: "0xC36442b4a4522E871399CD717aBDD847Ab11FE88" },
{ block: 13578952, type: "swap", amount0: JSBI.BigInt("200000000000000000"), amount1: JSBI.BigInt("-58058518551874863020") },
{ block: 13578953, type: "swap", amount0: JSBI.BigInt("500000000000000000"), amount1: JSBI.BigInt("-122585836135168674143") },
{ block: 13578953, type: "mint", tickLower: 58080, tickUpper: 64800, amount: JSBI.BigInt("1470467461420906693794"), owner: "0xC36442b4a4522E871399CD717aBDD847Ab11FE88" },
{ block: 13578954, type: "swap", amount0: JSBI.BigInt("500000000000000000"), amount1: JSBI.BigInt("-98086117296551275739") },
{ block: 13578955, type: "swap", amount0: JSBI.BigInt("-325423982694170797"), amount1: JSBI.BigInt("61840188461878069171") },
{ block: 13578955, type: "swap", amount0: JSBI.BigInt("-512012817959713153"), amount1: JSBI.BigInt("116926198582410125312") },
{ block: 13578956, type: "swap", amount0: JSBI.BigInt("134953581173307484"), amount1: JSBI.BigInt("-33332275990422847763") },
{ block: 13578956, type: "swap", amount0: JSBI.BigInt("80000000000000000"), amount1: JSBI.BigInt("-18789226231399961515") },
{ block: 13578956, type: "swap", amount0: JSBI.BigInt("-453501201768029179"), amount1: JSBI.BigInt("117391025210204291072") },
{ block: 13578957, type: "swap", amount0: JSBI.BigInt("382194778350826159"), amount1: JSBI.BigInt("-100000000000000000000") },
{ block: 13578957, type: "swap", amount0: JSBI.BigInt("200000000000000000"), amount1: JSBI.BigInt("-45567990938823482200") },
{ block: 13578958, type: "swap", amount0: JSBI.BigInt("-265631031333434912"), amount1: JSBI.BigInt("61840188461878069171") },
{ block: 13578958, type: "swap", amount0: JSBI.BigInt("-523649445303167258"), amount1: JSBI.BigInt("147891756819936908774") },
{ block: 13578962, type: "swap", amount0: JSBI.BigInt("416488666699713009"), amount1: JSBI.BigInt("-120000000000000000000") },
{ block: 13578962, type: "swap", amount0: JSBI.BigInt("-200738093200678353"), amount1: JSBI.BigInt("55000000000000000000") },
{ block: 13578964, type: "swap", amount0: JSBI.BigInt("200000000000000000"), amount1: JSBI.BigInt("-54487180772302946383") },
{ block: 13578966, type: "swap", amount0: JSBI.BigInt("-183184966082816227"), amount1: JSBI.BigInt("50000000000000000000") },
{ block: 13578966, type: "swap", amount0: JSBI.BigInt("400000000000000000"), amount1: JSBI.BigInt("-103124343058179299385") },
{ block: 13578967, type: "swap", amount0: JSBI.BigInt("1063506126239455568"), amount1: JSBI.BigInt("-200000000000000000000") },
{ block: 13578967, type: "swap", amount0: JSBI.BigInt("-1202023073455352287"), amount1: JSBI.BigInt("235101035417726671480") },
{ block: 13578968, type: "swap", amount0: JSBI.BigInt("-362914434232198901"), amount1: JSBI.BigInt("100000000000000000000") },
{ block: 13578970, type: "swap", amount0: JSBI.BigInt("400000000000000000"), amount1: JSBI.BigInt("-108628340854339935884") },
{ block: 13578971, type: "swap", amount0: JSBI.BigInt("-402260229725978511"), amount1: JSBI.BigInt("110000000000000000000") },
{ block: 13578971, type: "swap", amount0: JSBI.BigInt("324975151277603649"), amount1: JSBI.BigInt("-90000000000000000000") },
{ block: 13578971, type: "swap", amount0: JSBI.BigInt("-235549460468847430"), amount1: JSBI.BigInt("64143771546949267456") },
{ block: 13578971, type: "swap", amount0: JSBI.BigInt("460000000000000000"), amount1: JSBI.BigInt("-118161025905824149979") },
{ block: 13578973, type: "swap", amount0: JSBI.BigInt("-234711184008356467"), amount1: JSBI.BigInt("57371159724582588416") },
{ block: 13578976, type: "swap", amount0: JSBI.BigInt("-340539680697478709"), amount1: JSBI.BigInt("95852167698158858240") },
{ block: 13578976, type: "swap", amount0: JSBI.BigInt("100000000000000000"), amount1: JSBI.BigInt("-29708039789477723634") },
{ block: 13578977, type: "swap", amount0: JSBI.BigInt("450000000000000000"), amount1: JSBI.BigInt("-116813451104679426697") },
{ block: 13578978, type: "swap", amount0: JSBI.BigInt("-520065935618633811"), amount1: JSBI.BigInt("138351248026509331660") },
{ block: 13578981, type: "swap", amount0: JSBI.BigInt("100000000000000000"), amount1: JSBI.BigInt("-29275808141443850086") },
{ block: 13578986, type: "swap", amount0: JSBI.BigInt("342915525673765472"), amount1: JSBI.BigInt("-90000000000000000000") },
{ block: 13578986, type: "swap", amount0: JSBI.BigInt("-415775282652336263"), amount1: JSBI.BigInt("111886763195754471424") },
{ block: 13578986, type: "swap", amount0: JSBI.BigInt("300000000000000000"), amount1: JSBI.BigInt("-82503891020150712174") },
{ block: 13578989, type: "swap", amount0: JSBI.BigInt("-661655341842236761"), amount1: JSBI.BigInt("200000000000000000000") },
{ block: 13578990, type: "swap", amount0: JSBI.BigInt("592134710000000000"), amount1: JSBI.BigInt("-180831930776954820374") },
{ block: 13578990, type: "swap", amount0: JSBI.BigInt("-214531714393128600"), amount1: JSBI.BigInt("60184814105020633088") },
{ block: 13578991, type: "swap", amount0: JSBI.BigInt("476938961131008594"), amount1: JSBI.BigInt("-125000000000000000000") },
{ block: 13578993, type: "swap", amount0: JSBI.BigInt("-491579718200352545"), amount1: JSBI.BigInt("130155079015787649343") },
{ block: 13578993, type: "swap", amount0: JSBI.BigInt("100000000000000000"), amount1: JSBI.BigInt("-28931077444675003931") },
{ block: 13578995, type: "swap", amount0: JSBI.BigInt("300000000000000000"), amount1: JSBI.BigInt("-78642131958883885060") },
{ block: 13578997, type: "swap", amount0: JSBI.BigInt("-666101211802459285"), amount1: JSBI.BigInt("193365942023009124352") },
{ block: 13578997, type: "swap", amount0: JSBI.BigInt("480044441295484401"), amount1: JSBI.BigInt("-144842918604427271304") },
{ block: 13578997, type: "swap", amount0: JSBI.BigInt("300000000000000000"), amount1: JSBI.BigInt("-74521280798655105023") },
{ block: 13578998, type: "swap", amount0: JSBI.BigInt("-717765762492465616"), amount1: JSBI.BigInt("200000000000000000000") },
{ block: 13578999, type: "swap", amount0: JSBI.BigInt("860000000000000000"), amount1: JSBI.BigInt("-230800801165254554174") },
{ block: 13578999, type: "swap", amount0: JSBI.BigInt("-491266796133649985"), amount1: JSBI.BigInt("120515466606040252416") },
{ block: 13579001, type: "swap", amount0: JSBI.BigInt("655299614751983546"), amount1: JSBI.BigInt("-154234623643972359998") },
{ block: 13579001, type: "swap", amount0: JSBI.BigInt("-961440648528067332"), amount1: JSBI.BigInt("246619183718575374336") },
{ block: 13579002, type: "swap", amount0: JSBI.BigInt("549159010462349033"), amount1: JSBI.BigInt("-153671611259888231797") },
{ block: 13579005, type: "swap", amount0: JSBI.BigInt("-804935249375936953"), amount1: JSBI.BigInt("239912370053956251648") },
{ block: 13579006, type: "swap", amount0: JSBI.BigInt("532102720000000000"), amount1: JSBI.BigInt("-167464307785524599219") },
{ block: 13579007, type: "swap", amount0: JSBI.BigInt("709240617356560852"), amount1: JSBI.BigInt("-167727545831462071231") },
{ block: 13579007, type: "swap", amount0: JSBI.BigInt("-409344818496177743"), amount1: JSBI.BigInt("90596242143649689600") },
{ block: 13579007, type: "swap", amount0: JSBI.BigInt("-470054039056237500"), amount1: JSBI.BigInt("128113261398331453440") },
{ block: 13579008, type: "swap", amount0: JSBI.BigInt("-630148187348331536"), amount1: JSBI.BigInt("209000188179335675904") },
{ block: 13579008, type: "swap", amount0: JSBI.BigInt("887500000000000000"), amount1: JSBI.BigInt("-281257276937864805130") },
{ block: 13579011, type: "swap", amount0: JSBI.BigInt("600000000000000000"), amount1: JSBI.BigInt("-139801173490872581349") },
{ block: 13579011, type: "swap", amount0: JSBI.BigInt("-471645144806513352"), amount1: JSBI.BigInt("107209633557407080448") },
{ block: 13579011, type: "swap", amount0: JSBI.BigInt("-369683672465458974"), amount1: JSBI.BigInt("102585691271231311872") },
{ block: 13579012, type: "swap", amount0: JSBI.BigInt("80000000000000000"), amount1: JSBI.BigInt("-23711125901227327554") },
{ block: 13579014, type: "swap", amount0: JSBI.BigInt("350000000000000000"), amount1: JSBI.BigInt("-93245810490804578040") },
{ block: 13579016, type: "swap", amount0: JSBI.BigInt("-1041265795557610115"), amount1: JSBI.BigInt("320000000000000000000") },
{ block: 13579016, type: "swap", amount0: JSBI.BigInt("717725400000000000"), amount1: JSBI.BigInt("-232525899345586487702") },
{ block: 13579016, type: "swap", amount0: JSBI.BigInt("-210014700979021232"), amount1: JSBI.BigInt("64047470213302505472") },
{ block: 13579017, type: "swap", amount0: JSBI.BigInt("311636825380679527"), amount1: JSBI.BigInt("-92100000000000000000") },
{ block: 13579017, type: "swap", amount0: JSBI.BigInt("-360426565550394692"), amount1: JSBI.BigInt("108619438945332559872") },
{ block: 13579021, type: "swap", amount0: JSBI.BigInt("667271909277938681"), amount1: JSBI.BigInt("-185779050285068299549") },
{ block: 13579021, type: "swap", amount0: JSBI.BigInt("-599951459446541732"), amount1: JSBI.BigInt("165091517008096549888") },
{ block: 13579023, type: "swap", amount0: JSBI.BigInt("600000000000000000"), amount1: JSBI.BigInt("-164182307277436155826") },
{ block: 13579023, type: "swap", amount0: JSBI.BigInt("-312898517993196302"), amount1: JSBI.BigInt("80000000000000000000") },
{ block: 13579027, type: "swap", amount0: JSBI.BigInt("515152860000000064"), amount1: JSBI.BigInt("-125106201848248464212") },
{ block: 13579029, type: "swap", amount0: JSBI.BigInt("-263960621930589807"), amount1: JSBI.BigInt("60705474919837728768") },
{ block: 13579030, type: "swap", amount0: JSBI.BigInt("-356366484600572996"), amount1: JSBI.BigInt("95000000000000000000") },
{ block: 13579030, type: "swap", amount0: JSBI.BigInt("405504268313888955"), amount1: JSBI.BigInt("-106254609492271696882") },
{ block: 13579032, type: "swap", amount0: JSBI.BigInt("-199632813627283585"), amount1: JSBI.BigInt("50000000000000000000") },
{ block: 13579037, type: "swap", amount0: JSBI.BigInt("100000000000000000"), amount1: JSBI.BigInt("-25487982585884267449") },
{ block: 13579039, type: "swap", amount0: JSBI.BigInt("530289670000000064"), amount1: JSBI.BigInt("-117207044968411018032") },
{ block: 13579042, type: "swap", amount0: JSBI.BigInt("-486253691987989937"), amount1: JSBI.BigInt("107040588813525778432") },
{ block: 13579048, type: "swap", amount0: JSBI.BigInt("250000000000000000"), amount1: JSBI.BigInt("-57588607297399457483") },
{ block: 13579048, type: "swap", amount0: JSBI.BigInt("-258352502113548534"), amount1: JSBI.BigInt("60000000000000000000") },
{ block: 13579048, type: "swap", amount0: JSBI.BigInt("270000000000000000"), amount1: JSBI.BigInt("-62179407025311387858") },
{ block: 13579050, type: "swap", amount0: JSBI.BigInt("-401636958075935990"), amount1: JSBI.BigInt("96055788513229220864") },
{ block: 13579050, type: "swap", amount0: JSBI.BigInt("1000000000000000000"), amount1: JSBI.BigInt("-209976653507273682892") },
{ block: 13579050, type: "swap", amount0: JSBI.BigInt("-146858821988013187"), amount1: JSBI.BigInt("25698246055223824384") },
{ block: 13579051, type: "swap", amount0: JSBI.BigInt("-390783473231331322"), amount1: JSBI.BigInt("76439775654712033280") },
{ block: 13579051, type: "swap", amount0: JSBI.BigInt("-380472815873286961"), amount1: JSBI.BigInt("88148262074128409191") },
{ block: 13579051, type: "swap", amount0: JSBI.BigInt("-368180317095223136"), amount1: JSBI.BigInt("102044823604023107584") },
{ block: 13579051, type: "swap", amount0: JSBI.BigInt("125000000000000000"), amount1: JSBI.BigInt("-36567062467411660025") },
{ block: 13579052, type: "swap", amount0: JSBI.BigInt("333000000000000000"), amount1: JSBI.BigInt("-86998376025612414234") },
{ block: 13579055, type: "swap", amount0: JSBI.BigInt("669215200000000000"), amount1: JSBI.BigInt("-139455833414184595522") },
{ block: 13579055, type: "swap", amount0: JSBI.BigInt("-343823422532722628"), amount1: JSBI.BigInt("67006089288560169811") },
{ block: 13579056, type: "swap", amount0: JSBI.BigInt("-334748074502120363"), amount1: JSBI.BigInt("75631311103587364864") },
{ block: 13579059, type: "swap", amount0: JSBI.BigInt("500000000000000000"), amount1: JSBI.BigInt("-108425760937141944685") },
{ block: 13579060, type: "swap", amount0: JSBI.BigInt("-507813349950984957"), amount1: JSBI.BigInt("111026586259397742592") },
{ block: 13579060, type: "swap", amount0: JSBI.BigInt("480000000000000000"), amount1: JSBI.BigInt("-104962232367155901757") },
{ block: 13579061, type: "swap", amount0: JSBI.BigInt("500000000000000000"), amount1: JSBI.BigInt("-88897323724930205476") },
{ block: 13579061, type: "swap", amount0: JSBI.BigInt("-523598770399153082"), amount1: JSBI.BigInt("94153926667935612805") },
{ block: 13579061, type: "swap", amount0: JSBI.BigInt("-341030386677487047"), amount1: JSBI.BigInt("73479429936460296192") },
{ block: 13579063, type: "swap", amount0: JSBI.BigInt("210000000000000000"), amount1: JSBI.BigInt("-46271461333968740590") },
{ block: 13579063, type: "swap", amount0: JSBI.BigInt("-447791084703307046"), amount1: JSBI.BigInt("105000000000000000000") },
{ block: 13579063, type: "swap", amount0: JSBI.BigInt("440000000000000000"), amount1: JSBI.BigInt("-102759801948399156510") },
{ block: 13579066, type: "mint", tickLower: 39120, tickUpper: 52680, amount: JSBI.BigInt("72685338015986102378"), owner: "0xC36442b4a4522E871399CD717aBDD847Ab11FE88" },
{ block: 13579068, type: "swap", amount0: JSBI.BigInt("-436664446297146131"), amount1: JSBI.BigInt("102545328829548101632") },
{ block: 13579071, type: "swap", amount0: JSBI.BigInt("379174577547962359"), amount1: JSBI.BigInt("-89663238189576337676") },
{ block: 13579076, type: "swap", amount0: JSBI.BigInt("275000000000000000"), amount1: JSBI.BigInt("-56155187533108354131") },
{ block: 13579077, type: "swap", amount0: JSBI.BigInt("250000000000000000"), amount1: JSBI.BigInt("-47065054773631973110") },
{ block: 13579078, type: "swap", amount0: JSBI.BigInt("-507164560729008657"), amount1: JSBI.BigInt("100000000000000000000") },
{ block: 13579082, type: "swap", amount0: JSBI.BigInt("500000000000000000"), amount1: JSBI.BigInt("-98102348990407517007") },
{ block: 13579082, type: "swap", amount0: JSBI.BigInt("-251101291515703008"), amount1: JSBI.BigInt("47647672224034586624") },
{ block: 13579085, type: "swap", amount0: JSBI.BigInt("-361754706679474554"), amount1: JSBI.BigInt("76134319777600999424") },
{ block: 13579085, type: "swap", amount0: JSBI.BigInt("100000000000000000"), amount1: JSBI.BigInt("-22136532040693847651") },
{ block: 13579085, type: "mint", tickLower: 49800, tickUpper: 64020, amount: JSBI.BigInt("173262462939348649368"), owner: "0xC36442b4a4522E871399CD717aBDD847Ab11FE88" },
{ block: 13579085, type: "burn", tickLower: 58080, tickUpper: 64800, amount: JSBI.BigInt("1470467461420906693794"), owner: "0xC36442b4a4522E871399CD717aBDD847Ab11FE88" },
{ block: 13579086, type: "swap", amount0: JSBI.BigInt("1812730617047091754"), amount1: JSBI.BigInt("-354950293381807950076") },
{ block: 13579086, type: "swap", amount0: JSBI.BigInt("716798051047282630"), amount1: JSBI.BigInt("-124698816760101342280") },
{ block: 13579086, type: "swap", amount0: JSBI.BigInt("-1921307891509954176"), amount1: JSBI.BigInt("354950293381807950075") },
{ block: 13579086, type: "swap", amount0: JSBI.BigInt("500000000000000000"), amount1: JSBI.BigInt("-97834313019989000713") },
{ block: 13579089, type: "swap", amount0: JSBI.BigInt("450000000000000000"), amount1: JSBI.BigInt("-84155041879241811840") },
{ block: 13579089, type: "swap", amount0: JSBI.BigInt("1200000000000000000"), amount1: JSBI.BigInt("-209175464907189329355") },
{ block: 13579092, type: "swap", amount0: JSBI.BigInt("-284179666783587920"), amount1: JSBI.BigInt("47936041120615870464") },
{ block: 13579093, type: "swap", amount0: JSBI.BigInt("-562045038595610858"), amount1: JSBI.BigInt("98238331899216978460") },
{ block: 13579093, type: "swap", amount0: JSBI.BigInt("-545655052637867841"), amount1: JSBI.BigInt("100000000000000000000") },
{ block: 13579093, type: "swap", amount0: JSBI.BigInt("-247755175829710085"), amount1: JSBI.BigInt("47000000000000000000") },
{ block: 13579093, type: "swap", amount0: JSBI.BigInt("-508024583991866738"), amount1: JSBI.BigInt("100000000000000000000") },
{ block: 13579094, type: "swap", amount0: JSBI.BigInt("1707031250000000000"), amount1: JSBI.BigInt("-316521146332679208763") },
{ block: 13579094, type: "swap", amount0: JSBI.BigInt("-916923314774328722"), amount1: JSBI.BigInt("165000000000000000000") },
{ block: 13579095, type: "swap", amount0: JSBI.BigInt("1513347526656372425"), amount1: JSBI.BigInt("-264121186164668675209") },
{ block: 13579095, type: "swap", amount0: JSBI.BigInt("-1694732064908067632"), amount1: JSBI.BigInt("300000000000000000000") },
{ block: 13579095, type: "swap", amount0: JSBI.BigInt("400000000000000000"), amount1: JSBI.BigInt("-74335914578525103670") },
{ block: 13579095, type: "swap", amount0: JSBI.BigInt("1250000000000000000"), amount1: JSBI.BigInt("-216588811523056017463") },
{ block: 13579095, type: "swap", amount0: JSBI.BigInt("947897953324193875"), amount1: JSBI.BigInt("-150000000000000000000") },
{ block: 13579095, type: "swap", amount0: JSBI.BigInt("-471769078650782818"), amount1: JSBI.BigInt("73671501035799625728") },
{ block: 13579097, type: "swap", amount0: JSBI.BigInt("-358637901655602447"), amount1: JSBI.BigInt("57907970559873357824") },
{ block: 13579097, type: "swap", amount0: JSBI.BigInt("-523766729580775782"), amount1: JSBI.BigInt("87691259667679420416") },
{ block: 13579097, type: "swap", amount0: JSBI.BigInt("-1424094751592033016"), amount1: JSBI.BigInt("259078027957877129216") },
{ block: 13579097, type: "swap", amount0: JSBI.BigInt("400000000000000000"), amount1: JSBI.BigInt("-75574048782216276600") },
{ block: 13579098, type: "swap", amount0: JSBI.BigInt("2973963791010915990"), amount1: JSBI.BigInt("-488780050313735151968") },
{ block: 13579098, type: "swap", amount0: JSBI.BigInt("-840674881937446527"), amount1: JSBI.BigInt("127195093779396526080") },
{ block: 13579098, type: "swap", amount0: JSBI.BigInt("-837800488852870912"), amount1: JSBI.BigInt("135560942677904224256") },
{ block: 13579099, type: "swap", amount0: JSBI.BigInt("-769166302716303123"), amount1: JSBI.BigInt("133000000000000000000") },
{ block: 13579100, type: "swap", amount0: JSBI.BigInt("1272372523755575067"), amount1: JSBI.BigInt("-214267500220437291711") },
{ block: 13579100, type: "swap", amount0: JSBI.BigInt("50000000000000000"), amount1: JSBI.BigInt("-7971019201323308736") },
{ block: 13579100, type: "swap", amount0: JSBI.BigInt("-308489401237767107"), amount1: JSBI.BigInt("50000000000000000000") },
{ block: 13579100, type: "swap", amount0: JSBI.BigInt("36068820429741923"), amount1: JSBI.BigInt("-5875780685940668740") },
{ block: 13579100, type: "swap", amount0: JSBI.BigInt("900000000000000000"), amount1: JSBI.BigInt("-141216561772357840249") },
{ block: 13579102, type: "swap", amount0: JSBI.BigInt("-1000260243356670922"), amount1: JSBI.BigInt("158561715424918788096") },
{ block: 13579102, type: "swap", amount0: JSBI.BigInt("900000000000000000"), amount1: JSBI.BigInt("-142392028552421571351") },
{ block: 13579103, type: "swap", amount0: JSBI.BigInt("-1640647326132145523"), amount1: JSBI.BigInt("269359919956806570996") },
{ block: 13579103, type: "swap", amount0: JSBI.BigInt("1000000000000000000"), amount1: JSBI.BigInt("-167464854200737478248") },
{ block: 13579104, type: "swap", amount0: JSBI.BigInt("-1088068000436307249"), amount1: JSBI.BigInt("184021289014062450413") },
{ block: 13579105, type: "swap", amount0: JSBI.BigInt("1194653736910424672"), amount1: JSBI.BigInt("-200000000000000000000") },
{ block: 13579105, type: "swap", amount0: JSBI.BigInt("-1067346691304366591"), amount1: JSBI.BigInt("178823302202279094933") },
{ block: 13579105, type: "swap", amount0: JSBI.BigInt("-557614913364720553"), amount1: JSBI.BigInt("100000000000000000000") },
{ block: 13579105, type: "swap", amount0: JSBI.BigInt("1000000000000000000"), amount1: JSBI.BigInt("-175007872559785926868") },
{ block: 13579105, type: "swap", amount0: JSBI.BigInt("120000000000000000"), amount1: JSBI.BigInt("-20031825490913381305") },
{ block: 13579106, type: "swap", amount0: JSBI.BigInt("-832943255525777102"), amount1: JSBI.BigInt("144153299685231224832") },
{ block: 13579108, type: "swap", amount0: JSBI.BigInt("2000000000000000000"), amount1: JSBI.BigInt("-328303601891132996057") },
{ block: 13579108, type: "swap", amount0: JSBI.BigInt("-388294452753324658"), amount1: JSBI.BigInt("60000000000000000000") },
{ block: 13579108, type: "swap", amount0: JSBI.BigInt("-252323530765362944"), amount1: JSBI.BigInt("40000000000000000000") },
{ block: 13579109, type: "swap", amount0: JSBI.BigInt("2070109139005705305"), amount1: JSBI.BigInt("-297147136067715772153") },
{ block: 13579110, type: "swap", amount0: JSBI.BigInt("-850026352286021226"), amount1: JSBI.BigInt("112756541080708990513") },
{ block: 13579110, type: "swap", amount0: JSBI.BigInt("-345894559423551712"), amount1: JSBI.BigInt("50997979187580936192") },
{ block: 13579110, type: "swap", amount0: JSBI.BigInt("-384150383079886075"), amount1: JSBI.BigInt("58291748966134394880") },
{ block: 13579110, type: "swap", amount0: JSBI.BigInt("-349509358568349745"), amount1: JSBI.BigInt("54600881021245509632") },
{ block: 13579111, type: "swap", amount0: JSBI.BigInt("-1031387756788169476"), amount1: JSBI.BigInt("170465285087500451840") },
{ block: 13579111, type: "swap", amount0: JSBI.BigInt("2479216922623079734"), amount1: JSBI.BigInt("-383502061030207254994") },
{ block: 13579111, type: "swap", amount0: JSBI.BigInt("-1350489914541850027"), amount1: JSBI.BigInt("200000000000000000000") },
{ block: 13579111, type: "swap", amount0: JSBI.BigInt("-287166444170469056"), amount1: JSBI.BigInt("45691179273284540288") },
{ block: 13579111, type: "swap", amount0: JSBI.BigInt("-440412657698992076"), amount1: JSBI.BigInt("72179762413046206464") },
{ block: 13579111, type: "swap", amount0: JSBI.BigInt("-394452322334410990"), amount1: JSBI.BigInt("66913048721498554368") },
{ block: 13579112, type: "swap", amount0: JSBI.BigInt("295301398262833959"), amount1: JSBI.BigInt("-50000000000000000000") },
{ block: 13579114, type: "swap", amount0: JSBI.BigInt("1422890305558363132"), amount1: JSBI.BigInt("-224758254639952067406") },
{ block: 13579114, type: "swap", amount0: JSBI.BigInt("2000000000000000000"), amount1: JSBI.BigInt("-255219826964621793343") },
{ block: 13579114, type: "swap", amount0: JSBI.BigInt("-1784207120179931673"), amount1: JSBI.BigInt("224758254639952067405") },
{ block: 13579115, type: "swap", amount0: JSBI.BigInt("-439386152968569528"), amount1: JSBI.BigInt("66000000000000000000") },
{ block: 13579117, type: "swap", amount0: JSBI.BigInt("-1118627675700968430"), amount1: JSBI.BigInt("178852999589445074944") },
{ block: 13579117, type: "swap", amount0: JSBI.BigInt("150000000000000000"), amount1: JSBI.BigInt("-24788576492775735054") },
{ block: 13579117, type: "swap", amount0: JSBI.BigInt("350000000000000000"), amount1: JSBI.BigInt("-56671902281121697953") },
{ block: 13579118, type: "swap", amount0: JSBI.BigInt("-1172830521426136798"), amount1: JSBI.BigInt("197743810154285498368") },
{ block: 13579118, type: "swap", amount0: JSBI.BigInt("2578125000000000000"), amount1: JSBI.BigInt("-408596202828644327635") },
{ block: 13579121, type: "swap", amount0: JSBI.BigInt("-720343859395141499"), amount1: JSBI.BigInt("106229951229907787776") },
{ block: 13579121, type: "swap", amount0: JSBI.BigInt("-1342855069331436483"), amount1: JSBI.BigInt("215711267513324486656") },
{ block: 13579121, type: "swap", amount0: JSBI.BigInt("2230386375482803898"), amount1: JSBI.BigInt("-343044748640123076822") },
{ block: 13579122, type: "swap", amount0: JSBI.BigInt("-693002867202423185"), amount1: JSBI.BigInt("100000000000000000000") },
{ block: 13579123, type: "swap", amount0: JSBI.BigInt("-2232567012072882289"), amount1: JSBI.BigInt("366710923900804040887") },
{ block: 13579123, type: "swap", amount0: JSBI.BigInt("-692105868709954002"), amount1: JSBI.BigInt("128378024595214366628") },
{ block: 13579123, type: "swap", amount0: JSBI.BigInt("2562065144043756730"), amount1: JSBI.BigInt("-437448551407811903332") },
{ block: 13579123, type: "swap", amount0: JSBI.BigInt("1700000000000000000"), amount1: JSBI.BigInt("-235958588174659731430") },
{ block: 13579123, type: "swap", amount0: JSBI.BigInt("-1085303338341815302"), amount1: JSBI.BigInt("144805436191799212919") },
{ block: 13579124, type: "swap", amount0: JSBI.BigInt("-516191729171394577"), amount1: JSBI.BigInt("77500000000000000000") },
{ block: 13579128, type: "swap", amount0: JSBI.BigInt("511320189999999936"), amount1: JSBI.BigInt("-76327635177014271624") },
{ block: 13579128, type: "swap", amount0: JSBI.BigInt("-885581851578307717"), amount1: JSBI.BigInt("135000000000000000000") },
{ block: 13579129, type: "swap", amount0: JSBI.BigInt("1493325320000000000"), amount1: JSBI.BigInt("-218871941642690897024") },
{ block: 13579129, type: "swap", amount0: JSBI.BigInt("-841983900410084355"), amount1: JSBI.BigInt("120000000000000000000") },
{ block: 13579131, type: "swap", amount0: JSBI.BigInt("1000000000000000000"), amount1: JSBI.BigInt("-139664897339566330590") },
{ block: 13579131, type: "swap", amount0: JSBI.BigInt("-1189770300580899689"), amount1: JSBI.BigInt("169214802110010294272") },
{ block: 13579132, type: "swap", amount0: JSBI.BigInt("750000000000000000"), amount1: JSBI.BigInt("-109867829293605392146") },
{ block: 13579132, type: "swap", amount0: JSBI.BigInt("-690134023811129813"), amount1: JSBI.BigInt("101445722928647610368") },
{ block: 13579133, type: "swap", amount0: JSBI.BigInt("1250000000000000000"), amount1: JSBI.BigInt("-174322012046969638022") },
{ block: 13579134, type: "swap", amount0: JSBI.BigInt("775400254475836533"), amount1: JSBI.BigInt("-89153150983996528443") },
{ block: 13579134, type: "swap", amount0: JSBI.BigInt("-1250731266414393038"), amount1: JSBI.BigInt("151945931464036234274") },
{ block: 13579135, type: "swap", amount0: JSBI.BigInt("-1838727454322444525"), amount1: JSBI.BigInt("281654357449174088012") },
{ block: 13579135, type: "swap", amount0: JSBI.BigInt("-676799348792999437"), amount1: JSBI.BigInt("115000000000000000000") },
{ block: 13579135, type: "swap", amount0: JSBI.BigInt("1949800084219290417"), amount1: JSBI.BigInt("-313022472824453487082") },
{ block: 13579135, type: "swap", amount0: JSBI.BigInt("750000000000000000"), amount1: JSBI.BigInt("-106149946767548869910") },
{ block: 13579135, type: "swap", amount0: JSBI.BigInt("400000000000000000"), amount1: JSBI.BigInt("-50604495349133441930") },
{ block: 13579135, type: "swap", amount0: JSBI.BigInt("-393086016065643802"), amount1: JSBI.BigInt("50000000000000000136") },
{ block: 13579135, type: "swap", amount0: JSBI.BigInt("-379832423486535784"), amount1: JSBI.BigInt("52328571935050661888") },
{ block: 13579138, type: "swap", amount0: JSBI.BigInt("-816315325977869909"), amount1: JSBI.BigInt("122128901540214282240") },
{ block: 13579138, type: "swap", amount0: JSBI.BigInt("300000000000000000"), amount1: JSBI.BigInt("-45544094520710560793") },
{ block: 13579140, type: "swap", amount0: JSBI.BigInt("-1786255093595824855"), amount1: JSBI.BigInt("289949187659639381302") },
{ block: 13579140, type: "swap", amount0: JSBI.BigInt("-920324257671111533"), amount1: JSBI.BigInt("167158540176299057152") },
{ block: 13579140, type: "swap", amount0: JSBI.BigInt("2120386798243920060"), amount1: JSBI.BigInt("-364443269124833062462") },
{ block: 13579140, type: "swap", amount0: JSBI.BigInt("250000000000000000"), amount1: JSBI.BigInt("-38926125062575730234") },
{ block: 13579141, type: "swap", amount0: JSBI.BigInt("-662505239560466882"), amount1: JSBI.BigInt("105530428495320080384") },
{ block: 13579142, type: "swap", amount0: JSBI.BigInt("1560000000000000000"), amount1: JSBI.BigInt("-238400378248165457352") },
{ block: 13579142, type: "swap", amount0: JSBI.BigInt("-1000000000000000000"), amount1: JSBI.BigInt("150281746076546738423") },
{ block: 13579143, type: "swap", amount0: JSBI.BigInt("1000000000000000000"), amount1: JSBI.BigInt("-149404838326270647787") },
{ block: 13579145, type: "swap", amount0: JSBI.BigInt("758293587258507264"), amount1: JSBI.BigInt("-99355371228999942057") },
{ block: 13579145, type: "swap", amount0: JSBI.BigInt("-786820501485099721"), amount1: JSBI.BigInt("104057940108428582912") },
{ block: 13579145, type: "swap", amount0: JSBI.BigInt("747512249000957849"), amount1: JSBI.BigInt("-98673549687375025912") },
{ block: 13579146, type: "swap", amount0: JSBI.BigInt("-369537525799024897"), amount1: JSBI.BigInt("47168390908503094272") },
{ block: 13579149, type: "swap", amount0: JSBI.BigInt("-563207521714394918"), amount1: JSBI.BigInt("79122558589286887424") },
{ block: 13579151, type: "swap", amount0: JSBI.BigInt("-353016393063335336"), amount1: JSBI.BigInt("52655454866820687872") },
{ block: 13579151, type: "swap", amount0: JSBI.BigInt("1008902119999999070"), amount1: JSBI.BigInt("-143118585920872462688") },
{ block: 13579151, type: "swap", amount0: JSBI.BigInt("-441599030027444328"), amount1: JSBI.BigInt("60170337073231019871") },
{ block: 13579154, type: "swap", amount0: JSBI.BigInt("143148444899328526"), amount1: JSBI.BigInt("-20000000000000000000") },
{ block: 13579155, type: "swap", amount0: JSBI.BigInt("-389398553820201315"), amount1: JSBI.BigInt("56001605860592435200") },
{ block: 13579156, type: "swap", amount0: JSBI.BigInt("115000000000000000"), amount1: JSBI.BigInt("-16788634786930842630") },
{ block: 13579158, type: "swap", amount0: JSBI.BigInt("-3929976481071555569"), amount1: JSBI.BigInt("678222216672709223305") },
{ block: 13579158, type: "swap", amount0: JSBI.BigInt("-464784842892251357"), amount1: JSBI.BigInt("98511822941936650240") },
{ block: 13579158, type: "swap", amount0: JSBI.BigInt("3929976481071555569"), amount1: JSBI.BigInt("-703625584255941446742") },
{ block: 13579159, type: "swap", amount0: JSBI.BigInt("865730098223906816"), amount1: JSBI.BigInt("-125076051773475245585") },
{ block: 13579159, type: "swap", amount0: JSBI.BigInt("1000000000000000000"), amount1: JSBI.BigInt("-121743778024136485002") },
{ block: 13579159, type: "swap", amount0: JSBI.BigInt("-1105303067366772179"), amount1: JSBI.BigInt("136922889070785295362") },
{ block: 13579159, type: "swap", amount0: JSBI.BigInt("-470713229732669906"), amount1: JSBI.BigInt("68000000000000000000") },
{ block: 13579160, type: "swap", amount0: JSBI.BigInt("450291830032781850"), amount1: JSBI.BigInt("-64786235044088545571") },
{ block: 13579160, type: "swap", amount0: JSBI.BigInt("-415335034547142334"), amount1: JSBI.BigInt("60000000000000000000") },
{ block: 13579161, type: "swap", amount0: JSBI.BigInt("434740893156531015"), amount1: JSBI.BigInt("-62323311805880238558") },
{ block: 13579162, type: "swap", amount0: JSBI.BigInt("400000000000000000"), amount1: JSBI.BigInt("-52820346172590925025") },
{ block: 13579162, type: "swap", amount0: JSBI.BigInt("-717043316042259317"), amount1: JSBI.BigInt("98514174741077823488") },
{ block: 13579162, type: "swap", amount0: JSBI.BigInt("-175778105844074530"), amount1: JSBI.BigInt("25965467772615184384") },
{ block: 13579165, type: "swap", amount0: JSBI.BigInt("1000000000000000000"), amount1: JSBI.BigInt("-137208360368865506041") },
{ block: 13579165, type: "swap", amount0: JSBI.BigInt("-545363326114556280"), amount1: JSBI.BigInt("72015123128779684587") },
{ block: 13579168, type: "swap", amount0: JSBI.BigInt("573821701076954108"), amount1: JSBI.BigInt("-75117644707666353039") },
{ block: 13579168, type: "swap", amount0: JSBI.BigInt("-654545893131772856"), amount1: JSBI.BigInt("86962224552453606350") },
{ block: 13579168, type: "swap", amount0: JSBI.BigInt("107361522048938953"), amount1: JSBI.BigInt("-15000000000000000000") },
{ block: 13579169, type: "swap", amount0: JSBI.BigInt("-528561016484114417"), amount1: JSBI.BigInt("76831704676812840960") },
{ block: 13579171, type: "swap", amount0: JSBI.BigInt("1000000000000000000"), amount1: JSBI.BigInt("-138436964590837677228") },
{ block: 13579171, type: "swap", amount0: JSBI.BigInt("-578331740081722950"), amount1: JSBI.BigInt("77472728730277394979") },
{ block: 13579172, type: "swap", amount0: JSBI.BigInt("-428800537696011261"), amount1: JSBI.BigInt("62894533616913498112") },
{ block: 13579172, type: "swap", amount0: JSBI.BigInt("700000000000000000"), amount1: JSBI.BigInt("-99802666747973400032") },
{ block: 13579174, type: "swap", amount0: JSBI.BigInt("-650286247747280825"), amount1: JSBI.BigInt("93000000000000000000") },
{ block: 13579174, type: "swap", amount0: JSBI.BigInt("-199903654571129628"), amount1: JSBI.BigInt("30000000000000000000") },
{ block: 13579176, type: "swap", amount0: JSBI.BigInt("945312500000000000"), amount1: JSBI.BigInt("-134879269567304470588") },
{ block: 13579176, type: "swap", amount0: JSBI.BigInt("-1022032201518952022"), amount1: JSBI.BigInt("147355813690812571648") },
{ block: 13579176, type: "swap", amount0: JSBI.BigInt("-195585445059785567"), amount1: JSBI.BigInt("30000000000000000000") },
{ block: 13579177, type: "swap", amount0: JSBI.BigInt("1078597685391743459"), amount1: JSBI.BigInt("-157844887103236268752") },
{ block: 13579177, type: "swap", amount0: JSBI.BigInt("900000000000000000"), amount1: JSBI.BigInt("-111067303142419934472") },
{ block: 13579177, type: "swap", amount0: JSBI.BigInt("-1227469005961114780"), amount1: JSBI.BigInt("157844887103236268752") },
{ block: 13579177, type: "swap", amount0: JSBI.BigInt("-1122515846515725819"), amount1: JSBI.BigInt("171090364379881997318") },
{ block: 13579178, type: "swap", amount0: JSBI.BigInt("735867703095343989"), amount1: JSBI.BigInt("-113185974679567151000") },
{ block: 13579178, type: "swap", amount0: JSBI.BigInt("310000000000000000"), amount1: JSBI.BigInt("-45756746154723972158") },
{ block: 13579180, type: "swap", amount0: JSBI.BigInt("1000000000000000000"), amount1: JSBI.BigInt("-132824659485827223715") },
{ block: 13579180, type: "swap", amount0: JSBI.BigInt("-398490867174442540"), amount1: JSBI.BigInt("50000000000000000000") },
{ block: 13579180, type: "swap", amount0: JSBI.BigInt("-236022731179839036"), amount1: JSBI.BigInt("31590262298335815680") },
{ block: 13579180, type: "swap", amount0: JSBI.BigInt("10000000000000000"), amount1: JSBI.BigInt("-1362010535152530590") },
{ block: 13579181, type: "swap", amount0: JSBI.BigInt("925960401022027211"), amount1: JSBI.BigInt("-114848673119233796750") },
{ block: 13579182, type: "swap", amount0: JSBI.BigInt("-790902117962911648"), amount1: JSBI.BigInt("97336031058986958848") },
{ block: 13579182, type: "swap", amount0: JSBI.BigInt("-415063732566606841"), amount1: JSBI.BigInt("57750000000000000000") },
{ block: 13579186, type: "swap", amount0: JSBI.BigInt("-338699309443475899"), amount1: JSBI.BigInt("50000000000000000000") },
{ block: 13579189, type: "swap", amount0: JSBI.BigInt("745082700000000000"), amount1: JSBI.BigInt("-105976028107506611719") },
{ block: 13579189, type: "swap", amount0: JSBI.BigInt("-260899877287235040"), amount1: JSBI.BigInt("35786557512349759488") },
{ block: 13579190, type: "swap", amount0: JSBI.BigInt("-418439943206257180"), amount1: JSBI.BigInt("61032042748861874176") },
{ block: 13579190, type: "swap", amount0: JSBI.BigInt("200000000000000000"), amount1: JSBI.BigInt("-29362443810250674036") },
{ block: 13579191, type: "swap", amount0: JSBI.BigInt("200000000000000000"), amount1: JSBI.BigInt("-28720169703889886531") },
{ block: 13579192, type: "mint", tickLower: 49860, tickUpper: 54180, amount: JSBI.BigInt("2303930116619621215328"), owner: "0xC36442b4a4522E871399CD717aBDD847Ab11FE88" },
{ block: 13579195, type: "swap", amount0: JSBI.BigInt("-3335265534824987706"), amount1: JSBI.BigInt("495699831869550051328") },
{ block: 13579195, type: "swap", amount0: JSBI.BigInt("3100000000000000000"), amount1: JSBI.BigInt("-458885408481103462309") },
{ block: 13579195, type: "swap", amount0: JSBI.BigInt("-535793258901259087"), amount1: JSBI.BigInt("78845216913418868736") },
{ block: 13579196, type: "swap", amount0: JSBI.BigInt("250000000000000000"), amount1: JSBI.BigInt("-36617124917562277729") },
{ block: 13579197, type: "swap", amount0: JSBI.BigInt("-1350372759776061180"), amount1: JSBI.BigInt("200000000000000000000") },
{ block: 13579199, type: "swap", amount0: JSBI.BigInt("-2178427322031401919"), amount1: JSBI.BigInt("328000000000000000000") },
{ block: 13579199, type: "swap", amount0: JSBI.BigInt("4042285513778365780"), amount1: JSBI.BigInt("-599522312930091769407") },
{ block: 13579199, type: "swap", amount0: JSBI.BigInt("-1284180019580220807"), amount1: JSBI.BigInt("188962042590515929088") },
{ block: 13579200, type: "swap", amount0: JSBI.BigInt("1523945455118174239"), amount1: JSBI.BigInt("-220982935028862635337") },
{ block: 13579200, type: "swap", amount0: JSBI.BigInt("-1373255612302476305"), amount1: JSBI.BigInt("200000000000000000000") },
{ block: 13579201, type: "swap", amount0: JSBI.BigInt("850213493618449228"), amount1: JSBI.BigInt("-124631819422010633938") },
{ block: 13579201, type: "swap", amount0: JSBI.BigInt("2250000000000000000"), amount1: JSBI.BigInt("-271577326358449135427") },
{ block: 13579201, type: "swap", amount0: JSBI.BigInt("-1148930494213993732"), amount1: JSBI.BigInt("124631819422010633937") },
{ block: 13579202, type: "swap", amount0: JSBI.BigInt("-2007153851237111558"), amount1: JSBI.BigInt("282421277668123656192") },
{ block: 13579202, type: "swap", amount0: JSBI.BigInt("1505697600000000000"), amount1: JSBI.BigInt("-217448714879515148073") },
{ block: 13579207, type: "swap", amount0: JSBI.BigInt("-962790445447431885"), amount1: JSBI.BigInt("138543536032734054400") },
{ block: 13579207, type: "swap", amount0: JSBI.BigInt("225457959155786755"), amount1: JSBI.BigInt("-33000000000000000000") },
{ block: 13579208, type: "swap", amount0: JSBI.BigInt("-2631089465234710494"), amount1: JSBI.BigInt("391798905582831824896") },
{ block: 13579208, type: "swap", amount0: JSBI.BigInt("3101449509436702736"), amount1: JSBI.BigInt("-457713178374298904018") },
{ block: 13579211, type: "swap", amount0: JSBI.BigInt("-983473673828072821"), amount1: JSBI.BigInt("144324316870500910536") },
{ block: 13579212, type: "swap", amount0: JSBI.BigInt("1641914367458934784"), amount1: JSBI.BigInt("-230270907782775720289") },
{ block: 13579212, type: "swap", amount0: JSBI.BigInt("500000000000000000"), amount1: JSBI.BigInt("-58664483813132898754") },
{ block: 13579212, type: "swap", amount0: JSBI.BigInt("-1731965930130223680"), amount1: JSBI.BigInt("230270889040409827260") },
{ block: 13579212, type: "swap", amount0: JSBI.BigInt("830917237720353555"), amount1: JSBI.BigInt("-118763940348466371446") },
{ block: 13579212, type: "swap", amount0: JSBI.BigInt("-1000000000000000000"), amount1: JSBI.BigInt("144407567072563830119") },
{ block: 13579213, type: "swap", amount0: JSBI.BigInt("-237277111618745468"), amount1: JSBI.BigInt("35035500000000000000") },
{ block: 13579213, type: "swap", amount0: JSBI.BigInt("-356844743068138906"), amount1: JSBI.BigInt("52835932364010889216") },
{ block: 13579213, type: "swap", amount0: JSBI.BigInt("-1431754047395571456"), amount1: JSBI.BigInt("213765636790847127552") },
{ block: 13579213, type: "swap", amount0: JSBI.BigInt("-1596401371798846218"), amount1: JSBI.BigInt("241750515025663119360") },
{ block: 13579214, type: "swap", amount0: JSBI.BigInt("3628182383669344410"), amount1: JSBI.BigInt("-541025170326493575630") },
{ block: 13579214, type: "swap", amount0: JSBI.BigInt("1564153238668942740"), amount1: JSBI.BigInt("-215049075670278681071") },
{ block: 13579214, type: "swap", amount0: JSBI.BigInt("-3742747524433587715"), amount1: JSBI.BigInt("541025170326493575629") },
{ block: 13579214, type: "swap", amount0: JSBI.BigInt("1930899215999567612"), amount1: JSBI.BigInt("-286339962352387471699") },
{ block: 13579214, type: "swap", amount0: JSBI.BigInt("-202192549535772791"), amount1: JSBI.BigInt("29923165501291012096") },
{ block: 13579214, type: "swap", amount0: JSBI.BigInt("-2681170511850076124"), amount1: JSBI.BigInt("402177030840490747494") },
{ block: 13579216, type: "swap", amount0: JSBI.BigInt("3939570281974877089"), amount1: JSBI.BigInt("-583482617701308979897") },
{ block: 13579218, type: "swap", amount0: JSBI.BigInt("-1331156674569387049"), amount1: JSBI.BigInt("195594615211900174336") },
{ block: 13579218, type: "swap", amount0: JSBI.BigInt("1000000000000000000"), amount1: JSBI.BigInt("-146681142650991474193") },
{ block: 13579218, type: "swap", amount0: JSBI.BigInt("169292693864919944"), amount1: JSBI.BigInt("-24672270895646330378") },
{ block: 13579218, type: "swap", amount0: JSBI.BigInt("-3016089793692688097"), amount1: JSBI.BigInt("448553611049707749376") },
{ block: 13579218, type: "swap", amount0: JSBI.BigInt("-2783327167503057456"), amount1: JSBI.BigInt("425362557496195579904") },
{ block: 13579218, type: "swap", amount0: JSBI.BigInt("979064958338480820"), amount1: JSBI.BigInt("-150000000000000000000") },
{ block: 13579219, type: "swap", amount0: JSBI.BigInt("5480011463000407607"), amount1: JSBI.BigInt("-808467477826329890603") },
{ block: 13579219, type: "swap", amount0: JSBI.BigInt("-3309681672010358992"), amount1: JSBI.BigInt("483782000000000000000") },
{ block: 13579219, type: "swap", amount0: JSBI.BigInt("73632563727412288"), amount1: JSBI.BigInt("-11000000000000000000") },
{ block: 13579219, type: "swap", amount0: JSBI.BigInt("-1722875730683352848"), amount1: JSBI.BigInt("260946595168803831808") },
{ block: 13579219, type: "swap", amount0: JSBI.BigInt("-913625172311178275"), amount1: JSBI.BigInt("140105570484567744512") },
{ block: 13579219, type: "swap", amount0: JSBI.BigInt("417420335407242414"), amount1: JSBI.BigInt("-63778061658349967253") },
{ block: 13579219, type: "swap", amount0: JSBI.BigInt("4957044895751758014"), amount1: JSBI.BigInt("-738306369165184709431") },
{ block: 13579220, type: "swap", amount0: JSBI.BigInt("-764947853340010091"), amount1: JSBI.BigInt("112110663993374748672") },
{ block: 13579221, type: "swap", amount0: JSBI.BigInt("-3169837491635249209"), amount1: JSBI.BigInt("474606804433770979242") },
{ block: 13579221, type: "swap", amount0: JSBI.BigInt("3998057087872290304"), amount1: JSBI.BigInt("-592184177826601248572") },
{ block: 13579221, type: "swap", amount0: JSBI.BigInt("-2701912530506448760"), amount1: JSBI.BigInt("400000000000000000000") },
{ block: 13579222, type: "swap", amount0: JSBI.BigInt("2475929107995895807"), amount1: JSBI.BigInt("-365288788164264453954") },
{ block: 13579222, type: "swap", amount0: JSBI.BigInt("1191824565610964822"), amount1: JSBI.BigInt("-155000000000000000000") },
{ block: 13579222, type: "swap", amount0: JSBI.BigInt("-2608837245822228300"), amount1: JSBI.BigInt("365288788164264453953") },
{ block: 13579223, type: "swap", amount0: JSBI.BigInt("1000000000000000000"), amount1: JSBI.BigInt("-147105157445072683729") },
{ block: 13579223, type: "swap", amount0: JSBI.BigInt("-2703544424578598049"), amount1: JSBI.BigInt("403305225536685160448") },
{ block: 13579224, type: "swap", amount0: JSBI.BigInt("-415609933735855884"), amount1: JSBI.BigInt("62908139435953528832") },
{ block: 13579225, type: "swap", amount0: JSBI.BigInt("4379730129776985600"), amount1: JSBI.BigInt("-638279629265886471129") },
{ block: 13579225, type: "swap", amount0: JSBI.BigInt("2400000000000000000"), amount1: JSBI.BigInt("-236143499277200405834") },
{ block: 13579225, type: "swap", amount0: JSBI.BigInt("-5173236593781908048"), amount1: JSBI.BigInt("638279629265886471128") },
{ block: 13579225, type: "swap", amount0: JSBI.BigInt("-1330176857158067740"), amount1: JSBI.BigInt("200000000000000000000") },
{ block: 13579225, type: "swap", amount0: JSBI.BigInt("3719427424147536020"), amount1: JSBI.BigInt("-547602259540477523383") },
{ block: 13579225, type: "swap", amount0: JSBI.BigInt("-2073680341680673683"), amount1: JSBI.BigInt("303828400842163372032") },
{ block: 13579225, type: "swap", amount0: JSBI.BigInt("2086417194506842344"), amount1: JSBI.BigInt("-303788977677291959043") },
{ block: 13579226, type: "swap", amount0: JSBI.BigInt("-223356182397889553"), amount1: JSBI.BigInt("30858733048379098649") },
{ block: 13579236, type: "swap", amount0: JSBI.BigInt("300000000000000000"), amount1: JSBI.BigInt("-40876593152134402743") },
{ block: 13579240, type: "swap", amount0: JSBI.BigInt("1697018894690432653"), amount1: JSBI.BigInt("-190689817501799353085") },
{ block: 13579240, type: "swap", amount0: JSBI.BigInt("-1834736462678121875"), amount1: JSBI.BigInt("210518011017191185795") },
{ block: 13579242, type: "swap", amount0: JSBI.BigInt("600000000000000000"), amount1: JSBI.BigInt("-76792961664483586728") },
{ block: 13579243, type: "swap", amount0: JSBI.BigInt("-767795248078982065"), amount1: JSBI.BigInt("100653787973425840961") },
{ block: 13579244, type: "swap", amount0: JSBI.BigInt("144014460172086581"), amount1: JSBI.BigInt("-20000000000000000000") },
{ block: 13579245, type: "mint", tickLower: 49260, tickUpper: 51060, amount: JSBI.BigInt("1432115539984049800130"), owner: "0xC36442b4a4522E871399CD717aBDD847Ab11FE88" },
{ block: 13579245, type: "swap", amount0: JSBI.BigInt("-1076819794376531113"), amount1: JSBI.BigInt("150000000000000000000") },
{ block: 13579245, type: "swap", amount0: JSBI.BigInt("130000000000000000"), amount1: JSBI.BigInt("-18131706042202212807") },
{ block: 13579245, type: "swap", amount0: JSBI.BigInt("-1000000000000000000"), amount1: JSBI.BigInt("141258007713060982008") },
{ block: 13579246, type: "swap", amount0: JSBI.BigInt("-3051461594930472725"), amount1: JSBI.BigInt("443920611120864370688") },
{ block: 13579246, type: "swap", amount0: JSBI.BigInt("-1640895360192954671"), amount1: JSBI.BigInt("243511842046645960704") },
{ block: 13579247, type: "swap", amount0: JSBI.BigInt("-1674700292042472708"), amount1: JSBI.BigInt("251023095302653091840") },
{ block: 13579247, type: "swap", amount0: JSBI.BigInt("4673261142437122649"), amount1: JSBI.BigInt("-690029112111431168766") },
{ block: 13579247, type: "swap", amount0: JSBI.BigInt("-813301044355018130"), amount1: JSBI.BigInt("119377747698099116032") },
{ block: 13579247, type: "swap", amount0: JSBI.BigInt("-1094804324729129056"), amount1: JSBI.BigInt("161688865038716796928") },
{ block: 13579248, type: "swap", amount0: JSBI.BigInt("5047152614444336621"), amount1: JSBI.BigInt("-724634800856363894698") },
{ block: 13579248, type: "swap", amount0: JSBI.BigInt("2086144951213522664"), amount1: JSBI.BigInt("-256128518463366484424") },
{ block: 13579248, type: "swap", amount0: JSBI.BigInt("-5354084849679848605"), amount1: JSBI.BigInt("724634800856363894697") },
{ block: 13579248, type: "swap", amount0: JSBI.BigInt("2084787926679314321"), amount1: JSBI.BigInt("-298761952032937919494") },
{ block: 13579248, type: "swap", amount0: JSBI.BigInt("-812557663942321277"), amount1: JSBI.BigInt("116000000000000000000") },
{ block: 13579248, type: "swap", amount0: JSBI.BigInt("-517387670768827952"), amount1: JSBI.BigInt("74626604236066215936") },
{ block: 13579249, type: "swap", amount0: JSBI.BigInt("-1742708328844186048"), amount1: JSBI.BigInt("255214292833497546752") },
{ block: 13579251, type: "swap", amount0: JSBI.BigInt("-2349661506458470985"), amount1: JSBI.BigInt("349021576119507402752") },
{ block: 13579251, type: "swap", amount0: JSBI.BigInt("2500000000000000000"), amount1: JSBI.BigInt("-368970395108331333733") },
{ block: 13579252, type: "swap", amount0: JSBI.BigInt("-1906985443792050667"), amount1: JSBI.BigInt("282645556461005062144") },
{ block: 13579252, type: "swap", amount0: JSBI.BigInt("2000000000000000000"), amount1: JSBI.BigInt("-294579121919819306452") },
{ block: 13579254, type: "swap", amount0: JSBI.BigInt("200000000000000000"), amount1: JSBI.BigInt("-29264618468096431987") },
{ block: 13579257, type: "swap", amount0: JSBI.BigInt("300000000000000000"), amount1: JSBI.BigInt("-43831523023497500120") },
{ block: 13579257, type: "swap", amount0: JSBI.BigInt("343080054077795685"), amount1: JSBI.BigInt("-50000000000000000000") },
{ block: 13579259, type: "swap", amount0: JSBI.BigInt("1000000000000000000"), amount1: JSBI.BigInt("-144337706301975022885") },
{ block: 13579260, type: "swap", amount0: JSBI.BigInt("1403828823575623868"), amount1: JSBI.BigInt("-198902337064552440449") },
{ block: 13579260, type: "swap", amount0: JSBI.BigInt("2450000000000000000"), amount1: JSBI.BigInt("-321778305775797312268") },
{ block: 13579260, type: "swap", amount0: JSBI.BigInt("-1558398677999878398"), amount1: JSBI.BigInt("198902337064552440448") },
{ block: 13579260, type: "swap", amount0: JSBI.BigInt("-1200000000000000000"), amount1: JSBI.BigInt("168475208946488099125") },
{ block: 13579260, type: "swap", amount0: JSBI.BigInt("-1050062324329689622"), amount1: JSBI.BigInt("150000000000000000000") },
{ block: 13579260, type: "swap", amount0: JSBI.BigInt("-964167667917269340"), amount1: JSBI.BigInt("139897652260584646656") },
{ block: 13579262, type: "swap", amount0: JSBI.BigInt("-2653583324898376636"), amount1: JSBI.BigInt("391793854093340770304") },
{ block: 13579262, type: "swap", amount0: JSBI.BigInt("4643917680871785755"), amount1: JSBI.BigInt("-674301060006242355908") },
{ block: 13579262, type: "swap", amount0: JSBI.BigInt("2000000000000000000"), amount1: JSBI.BigInt("-276181868651480596996") },
{ block: 13579262, type: "swap", amount0: JSBI.BigInt("-4738294511382168290"), amount1: JSBI.BigInt("674250867343889304031") },
{ block: 13579262, type: "swap", amount0: JSBI.BigInt("-783892756965605964"), amount1: JSBI.BigInt("115636803594271272960") },
{ block: 13579262, type: "swap", amount0: JSBI.BigInt("-933014988082233005"), amount1: JSBI.BigInt("138345436289461792256") },
{ block: 13579262, type: "swap", amount0: JSBI.BigInt("900000000000000000"), amount1: JSBI.BigInt("-132664756586787288041") },
{ block: 13579262, type: "swap", amount0: JSBI.BigInt("-1317301598584646941"), amount1: JSBI.BigInt("195594615211900174336") },
{ block: 13579263, type: "swap", amount0: JSBI.BigInt("-767893247879443173"), amount1: JSBI.BigInt("114735371681471578624") },
{ block: 13579263, type: "swap", amount0: JSBI.BigInt("1000000000000000000"), amount1: JSBI.BigInt("-148418237137365943747") },
{ block: 13579263, type: "swap", amount0: JSBI.BigInt("-1338091140681475799"), amount1: JSBI.BigInt("200000000000000000000") },
{ block: 13579263, type: "swap", amount0: JSBI.BigInt("-850737543230530156"), amount1: JSBI.BigInt("128000000000000000000") },
{ block: 13579264, type: "swap", amount0: JSBI.BigInt("600000000000000000"), amount1: JSBI.BigInt("-89802296566080304953") },
{ block: 13579264, type: "swap", amount0: JSBI.BigInt("4000000000000000000"), amount1: JSBI.BigInt("-590478517931045964980") },
{ block: 13579264, type: "swap", amount0: JSBI.BigInt("3348966797373756177"), amount1: JSBI.BigInt("-476300000000000000000") },
{ block: 13579264, type: "swap", amount0: JSBI.BigInt("-243384051318955321"), amount1: JSBI.BigInt("34000000000000000000") },
{ block: 13579264, type: "swap", amount0: JSBI.BigInt("-1788682637374704005"), amount1: JSBI.BigInt("253813730785450000384") },
{ block: 13579265, type: "swap", amount0: JSBI.BigInt("-2725165419138452421"), amount1: JSBI.BigInt("398927982828430565376") },
{ block: 13579265, type: "swap", amount0: JSBI.BigInt("-692705404176475030"), amount1: JSBI.BigInt("102728000722235648000") },
{ block: 13579266, type: "swap", amount0: JSBI.BigInt("4161369227449418866"), amount1: JSBI.BigInt("-604414660755227970915") },
{ block: 13579266, type: "swap", amount0: JSBI.BigInt("-5714516361571009690"), amount1: JSBI.BigInt("840000000000000000000") },
{ block: 13579266, type: "swap", amount0: JSBI.BigInt("-1659425717056760254"), amount1: JSBI.BigInt("250197323673008627712") },
{ block: 13579266, type: "swap", amount0: JSBI.BigInt("-613902062582191423"), amount1: JSBI.BigInt("93200179116803815424") },
{ block: 13579266, type: "swap", amount0: JSBI.BigInt("-1046842741417442441"), amount1: JSBI.BigInt("159732928393725853696") },
{ block: 13579268, type: "swap", amount0: JSBI.BigInt("7458242457902252032"), amount1: JSBI.BigInt("-1109517399711411938403") },
{ block: 13579268, type: "swap", amount0: JSBI.BigInt("-779138554599560736"), amount1: JSBI.BigInt("114177798525205869363") },
{ block: 13579268, type: "swap", amount0: JSBI.BigInt("68433237763189069"), amount1: JSBI.BigInt("-10000000000000000000") },
{ block: 13579269, type: "swap", amount0: JSBI.BigInt("-2569592160400166094"), amount1: JSBI.BigInt("380599276123875549184") },
{ block: 13579269, type: "swap", amount0: JSBI.BigInt("-2631240655633964227"), amount1: JSBI.BigInt("395886991458536833024") },
{ block: 13579270, type: "swap", amount0: JSBI.BigInt("-526655860026481533"), amount1: JSBI.BigInt("80000000000000000000") },
{ block: 13579271, type: "swap", amount0: JSBI.BigInt("300000000000000000"), amount1: JSBI.BigInt("-45328872309110922199") },
{ block: 13579271, type: "swap", amount0: JSBI.BigInt("500000000000000000"), amount1: JSBI.BigInt("-75365246632079212454") },
{ block: 13579271, type: "swap", amount0: JSBI.BigInt("3500000000000000000"), amount1: JSBI.BigInt("-521238545052057975582") },
{ block: 13579273, type: "swap", amount0: JSBI.BigInt("434534227329746789"), amount1: JSBI.BigInt("-63951790048869092005") },
{ block: 13579273, type: "swap", amount0: JSBI.BigInt("-1041153490125663637"), amount1: JSBI.BigInt("154435361590036266392") },
{ block: 13579273, type: "swap", amount0: JSBI.BigInt("-1545247300100450632"), amount1: JSBI.BigInt("231000000000000000000") },
{ block: 13579273, type: "swap", amount0: JSBI.BigInt("2000000000000000000"), amount1: JSBI.BigInt("-296789375406081873310") },
{ block: 13579274, type: "swap", amount0: JSBI.BigInt("-1332222076846642181"), amount1: JSBI.BigInt("198489166371557769216") },
{ block: 13579274, type: "swap", amount0: JSBI.BigInt("2000000000000000000"), amount1: JSBI.BigInt("-295609122259574084073") },
{ block: 13579274, type: "swap", amount0: JSBI.BigInt("-910862755312007810"), amount1: JSBI.BigInt("135000000000000000000") },
{ block: 13579274, type: "swap", amount0: JSBI.BigInt("2500000000000000000"), amount1: JSBI.BigInt("-366483053820366645362") },
{ block: 13579274, type: "swap", amount0: JSBI.BigInt("-530505229698455655"), amount1: JSBI.BigInt("77710000000000000000") },
{ block: 13579274, type: "swap", amount0: JSBI.BigInt("-1308784888372222104"), amount1: JSBI.BigInt("192987980925415904128") },
{ block: 13579274, type: "swap", amount0: JSBI.BigInt("-2680330466860877827"), amount1: JSBI.BigInt("400000000000000000000") },
{ block: 13579274, type: "swap", amount0: JSBI.BigInt("93644313914123990"), amount1: JSBI.BigInt("-14000000000000000000") },
{ block: 13579275, type: "swap", amount0: JSBI.BigInt("1042917582023890542"), amount1: JSBI.BigInt("-155385463026467828721") },
{ block: 13579275, type: "swap", amount0: JSBI.BigInt("-566951230137796836"), amount1: JSBI.BigInt("84858465104542261248") },
{ block: 13579275, type: "swap", amount0: JSBI.BigInt("1500000000000000000"), amount1: JSBI.BigInt("-222544545629384175412") },
{ block: 13579275, type: "swap", amount0: JSBI.BigInt("-526254953436563933"), amount1: JSBI.BigInt("78318107463955550208") },
{ block: 13579275, type: "swap", amount0: JSBI.BigInt("-923879881795452937"), amount1: JSBI.BigInt("138095352249788973056") },
{ block: 13579275, type: "swap", amount0: JSBI.BigInt("-333241685135316807"), amount1: JSBI.BigInt("50000000000000000000") },
{ block: 13579275, type: "swap", amount0: JSBI.BigInt("-1408321366302528574"), amount1: JSBI.BigInt("212423408881386307584") },
{ block: 13579275, type: "swap", amount0: JSBI.BigInt("1000000000000000000"), amount1: JSBI.BigInt("-150117461228204897815") },
{ block: 13579277, type: "swap", amount0: JSBI.BigInt("900000000000000000"), amount1: JSBI.BigInt("-134333256539384861363") },
{ block: 13579278, type: "swap", amount0: JSBI.BigInt("3481131369378423827"), amount1: JSBI.BigInt("-512805602625628624625") },
{ block: 13579278, type: "swap", amount0: JSBI.BigInt("3052254798450760982"), amount1: JSBI.BigInt("-434502191769243309788") },
{ block: 13579278, type: "swap", amount0: JSBI.BigInt("-3567302444706789635"), amount1: JSBI.BigInt("512805602625628624624") },
{ block: 13579278, type: "swap", amount0: JSBI.BigInt("-2096274248298336211"), amount1: JSBI.BigInt("310357915789455753216") },
{ block: 13579278, type: "swap", amount0: JSBI.BigInt("-1483413627300886311"), amount1: JSBI.BigInt("222000000000000000000") },
{ block: 13579278, type: "swap", amount0: JSBI.BigInt("-655139957175999855"), amount1: JSBI.BigInt("98680168510687510528") },
{ block: 13579278, type: "swap", amount0: JSBI.BigInt("1042884533442164052"), amount1: JSBI.BigInt("-155961538495124776269") },
{ block: 13579279, type: "swap", amount0: JSBI.BigInt("-729567028564820909"), amount1: JSBI.BigInt("109659983036578857526") },
{ block: 13579279, type: "swap", amount0: JSBI.BigInt("-490507115095886846"), amount1: JSBI.BigInt("74000000000000000000") },
{ block: 13579279, type: "swap", amount0: JSBI.BigInt("-394582286454394857"), amount1: JSBI.BigInt("59688294125833236480") },
{ block: 13579279, type: "swap", amount0: JSBI.BigInt("-1000000000000000000"), amount1: JSBI.BigInt("151911843742447857852") },
{ block: 13579279, type: "swap", amount0: JSBI.BigInt("-1000000000000000000"), amount1: JSBI.BigInt("152839672965935922648") },
{ block: 13579279, type: "swap", amount0: JSBI.BigInt("-737853933760085753"), amount1: JSBI.BigInt("113373208375324364800") },
{ block: 13579279, type: "swap", amount0: JSBI.BigInt("-1000000000000000000"), amount1: JSBI.BigInt("154472450071261295087") },
{ block: 13579280, type: "swap", amount0: JSBI.BigInt("600000000000000000"), amount1: JSBI.BigInt("-92241642552030423845") },
{ block: 13579280, type: "swap", amount0: JSBI.BigInt("-1845259636822431123"), amount1: JSBI.BigInt("286489620261520179200") },
{ block: 13579280, type: "swap", amount0: JSBI.BigInt("-565518723206159375"), amount1: JSBI.BigInt("88454271310908185088") },
{ block: 13579281, type: "swap", amount0: JSBI.BigInt("-1210256794799704902"), amount1: JSBI.BigInt("190341152812040658944") },
{ block: 13579281, type: "swap", amount0: JSBI.BigInt("4407348456476564782"), amount1: JSBI.BigInt("-682299056058476536666") },
{ block: 13579281, type: "swap", amount0: JSBI.BigInt("-201005112174205882"), amount1: JSBI.BigInt("30903472292972590745") },
{ block: 13579281, type: "swap", amount0: JSBI.BigInt("-1755216165117458412"), amount1: JSBI.BigInt("271478825877076320256") },
{ block: 13579281, type: "swap", amount0: JSBI.BigInt("-1533932541977663926"), amount1: JSBI.BigInt("239664443822345807872") },
{ block: 13579281, type: "swap", amount0: JSBI.BigInt("1000000000000000000"), amount1: JSBI.BigInt("-155562695273705161349") },
{ block: 13579281, type: "swap", amount0: JSBI.BigInt("-739890533006628253"), amount1: JSBI.BigInt("115701153926942425088") },
{ block: 13579283, type: "swap", amount0: JSBI.BigInt("11844803979125721768"), amount1: JSBI.BigInt("-1779844189380859165971"), break: true },
];
function processData(dataLine: any)
{
//console.log(dataLine.block);
if(dataLine.type == "mint")
{
pool.mint(dataLine.owner, dataLine.tickLower, dataLine.tickUpper, dataLine.amount);
}
if(dataLine.type == "burn")
{
pool.burn(dataLine.owner, dataLine.tickLower, dataLine.tickUpper, dataLine.amount);
}
if(dataLine.type == "swap")
{
if(dataLine.break)
{
console.log('debug');
}
var zeroForOne: boolean = JSBI.greaterThan(dataLine.amount0, JSBI.BigInt("0")) ? true : false;
queryResult = pool.querySwap(zeroForOne, dataLine.amount0);
var amount0WasSpecified = JSBI.equal(queryResult.amount0, dataLine.amount0) && JSBI.equal(queryResult.amount1, dataLine.amount1);
queryResult = pool.querySwap(zeroForOne, dataLine.amount1);
var amount1WasSpecified = JSBI.equal(queryResult.amount0, dataLine.amount0) && JSBI.equal(queryResult.amount1, dataLine.amount1);
if(!amount0WasSpecified && !amount1WasSpecified)
{
console.error("BlockNumber: " + dataLine.block + " Could not match with either AmountSpecified as Amount0 or Amount1.");
}
var amountSpecified = amount0WasSpecified ? dataLine.amount0 : dataLine.amount1;
applyResult = pool.swap(zeroForOne, amountSpecified);
if(!JSBI.equal(applyResult.amount0, dataLine.amount0))
console.log(dataLine.block + " Apply: Amount 0 Wrong");
if(!JSBI.equal(applyResult.amount1, dataLine.amount1))
console.log(dataLine.block + " Apply: Amount 1 Wrong: " + applyResult.amount1.toString() + " vs expected " + dataLine.amount1.toString());// <---- Error, is out by 1 LSB.
}
}
for(var x = 0; x < data.length; x++)
{
processData(data[x]);
}
}
main();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment