ETH Price: $2,884.23 (-4.47%)
Gas: 12 Gwei

Transaction Decoder

Block:
9061210 at Dec-06-2019 03:41:27 PM +UTC
Transaction Fee:
0.002201676 ETH $6.35
Gas Used:
1,100,838 Gas / 2 Gwei

Account State Difference:

  Address   Before After State Difference Code
(Spark Pool)
26.972624892629788204 Eth26.974826568629788204 Eth0.002201676
0xA220Eaa2...A7261F200
0 Eth
Nonce: 0
0 Eth
Nonce: 1
From: 0 To: 5326154425561671162615175467945911267101502028602546096158694877948275892980544580615502008518953771481779674528544508405941867500003175474211969297641231339424240799892957774004432723315796126701117605327831714349784331110356624073047455045797023835308736745763002208568909280741632223704363616856964567609437101252060656919287285824937197864979174166076376415833370366185806390766381398631847250650467119998242239429626901269810905168052612784143342425698977594004590716989484451649834322300812343617865010217529000230338239870471143615055619037623295507852374799296531808499688975416647574942118711878089020909372088274594632115318005850435472484288281324997683059715219471659252953176556148529796181637991394812162412035013983922083927808239206750470387516794039915293312937228461469068814166424011548592945545722349353263563471145995904570721660668029855303335283276628658457789516618877095089195386802892630067280281758956518429665279403945729864120971924334924488121676496728548491048556673007706292716654112112809397213465488903350294510122813987426510601391414982562366352024934658609195230406858657220482834228228379233685654631710054752171279672659156880946901850347366161108409527661407039816197957069936748680523338760420640600059200470917549893362318892832697112571104522804129749788105772729243333973720051320258178430281499966790536630514660898858202722267036735996033590426862432735084034613016360259417881944303153117526785630006441005916222111466989690217593359927742718421935668128262022141494242727949327159953612394260293425549824112420667886752383356968378452601149817886002566762515129686002545048719230347599215254556826489368752887480795758893780548570683739698177283675281469214497569193745220775654930367524774538886515088471361669869670333489291375399806827895956242408620076410495785579558816461590407597450020161049118610664783156981691739672134203714664141088321099140181026157793506386044259516320492876760843966006599405310184091365196702759386598191582771501477503915491037672796293690783539617884515955353269319031490946165499053325697341327592713293622774143808478728040770722530106405835516866015463484929710509389418334994818070871999794533538872598307125855700702559163122313194848397601803973314965977607745703999915404851910604221109049099275092906111498711835036437331064457618101676744255655300202825150534173347580109289246413599220632953026366899573596218761284277209670863055813063826887079450223155097865041160053204161539848679735386988341112991278950933069405681833129720620532834283322629103635461992783010801286963729360351180243975855431227282335316941778800448889593945731122478961641567852696722905310047460790596829154101593322611199134938782710712996143484226167343260466338592612845244776269379940616104821147220673849567793407328306
0xdDb10889...B4E617ACc
(Maker: Deployer 4)
3.04711808029669758 Eth
Nonce: 1374
3.04491640429669758 Eth
Nonce: 1375
0.002201676
0xF267EFDD...88a86b813
0 Eth
Nonce: 0
0 Eth
Nonce: 2
From: 0 To: 16494392531157838099328486745331063637985950768097593075687251660857772463487718698631090437050813982924113677272747363507784645710538609061813372492447845293818196065066397672189005325237564483405463920458728383263143456900837716887708559175456569597143816318324086278748677401122309345606766815994429347016546220845464542335976997887651303372969099345667981373594111719696849424436334853851756622514888058762071413255780282084367526231034347813741665497009243935660010034316177746293231237519855896724269986372812260629267127488798322484534226663551441804883938268275425190260501135088397011636490568141276183733293285457096305106865422553154286862049260881501858989028639009422861553796534793855773022851264744284700865545660990912143227802396302933977825296919662030391075229306230916196644359339829901377990045174728900585063305488845579807045962987222214183090611564789623190526363419478304965434845001039862292413745811840962238028343655255009984947059351368517624836652956590755318500161653169785506174608870313738011949064554494779560518188599192426740478802394373401518369853693023256514714591655488805764631401396560824024672534260913178976643991722083662737417475927337842466043864614351909150640090492957157374374958501632407588834201617598506458653559882180926261953079767349117193381803792486826958500087004086504016984057215301223231500077936659619656960766643484180204169031595000066429535457492210980356227665644802062078290678580952725994942697721956280186585033950001619398754621154646429522565865330535910919858018794118648164729722778798534105090071558119561874769034814516229076670874963646482560901504067380114686506868938154510541094275564442302578169898993188250785889439820719088026877425272312134207925744139599658150589391640680648502667270520140163303541205326861905393319331144512685805436900610118053848650661397700282432911569720164926215001908045280426948560107503885025271171737520226707256292052856916348366598170774130587000974205557633141090180392190225786496276647796253979809874221384862637978488173529293716444340261998560880349504684190422141814552213021927834621973427191903699351621993661167960938749328669252594106526762264917301475476466336780344982025347849265194312360021037783761025573449362972250894830907430878322860110999349551346328148736975925363570639539802245598421680251822540938530481658135569964706907923539243313099824444783471227895847535494918407820140515568798309000220469013292991418113797782340901528687751439014959985085071084837692859526472229235093371895333352109410298932775713941651860825074154680835636182092593360962373141420623370965730255542286966941692268316352259541110645912777231613668793465545779982168717430984403454711829935166109910659304648691844470704411726530591792897022717958935544132734258317009910989528908087030809399492444921073488064531676084379727908545219409772853219348720223137813546216338210349284754901817804528976006976872083068601667989162559566087455175204520593441038212644926004700475717822613690371231255073439928853488802069157645885418974728872307083500542141796114296210488231257209805176273714695707339855361693772204243130245643634370642764974558506803413737439178544959594949174596081219666278195110662993052899545438604610611683336749675828915474400397648277670432875305850004679613021461739811761772945269831706186592076142961161771567417386605418271991419980374305426437719723978829367856129897756716067751343338939437983061471496080143360980686315937698118654901269122066337932513336423560525590197261025952536753464841423854142394087818912176432185165953672116861852533580149047177704270971957500559153312382825825788891238821543424936084297921828984531771687320761193028192168565759912956298006863596299878691087878170250788805511317299386874812045801618913551120735923004170592019576247134055644166877420714544674191278377315104430060208340345135561575071138369117268403742054227025417130905737454293748309946688138144712089966202188603797406977412517602146042312510178759431851580974107842693785913153491477420366288487401071252234954139223442027132187775123244076626666227877045446303976948952418337562094392797085776469865059426954538601349988939078028689679114772995148825652432755529784539033624664441969523841682977639604238146070801661796593885244202994222509125493368479775363777277390624716624183141988799403958971203709361836908263871699745413742287168606249588074812657080180941771383729922530725094405802668727959342770863845250773115375651742031010519456493705651828077009810769086827157234945646022216812124781781688322670797462755730164478942005150650957683023308395807941058837970589678912077595261341043752464196073262078063059468349102431055264607101509696786196268089554932196038649304079874041488812129384958402114057668143697755129078218525012751016427217169468705621713532639689183122408457070756985990429325623723913381988269036826783137153255790064641886945181954568382027841212592777088423065195935957940806861778409250501692530791237015638914552581981169023091835581886544733608481403941567124644985763059660442172794401938840027023170069705287846720204983266094067011211966337774077292248674674821593000561939064445502739198596090999201924331508250056049314304753994418405080169701970877583462024211252460267191902931837791229195571712092159590537218147158792035675723890628077350418711285927202431970183557331736165898671859114968459339673370674

Execution Trace

DssDecember6Spell.60806040( )
  • 0xa220eaa2cc130d076c57e6067d9baeaa7261f200.60806040( )
    pragma solidity 0.5.12;
    
    contract FileLike {
        function file(bytes32, uint256) external;
        function file(bytes32, bytes32, uint256) external;
    }
    
    contract JugLike {
        function drip(bytes32) external;
        function file(bytes32, bytes32, uint256) external;
    }
    
    contract PotLike {
        function drip() external;
        function file(bytes32, uint256) external;
    }
    
    contract PauseLike {
        function delay() external view returns (uint256);
        function plot(address, bytes32, bytes calldata, uint256) external;
        function exec(address, bytes32, bytes calldata, uint256) external;
    }
    
    contract MomLike {
        function setCap(uint256) external;
        function setFee(uint256) external;
    }
    
    contract DssFlopReplaceSpellAction {
        uint256 constant RAD = 10 ** 45;
        address constant public VAT = 0x35D1b3F3D7966A1DFe207aa4514C12a259A0492B;
        address constant public JUG = 0x19c0976f590D67707E62397C87829d896Dc0f1F1;
        address constant public POT = 0x197E90f9FAD81970bA7976f33CbD77088E5D7cf7;
    
        function execute() external {
            // set the global debt ceiling to 178,000,000
            FileLike(VAT).file("Line", 178000000 * RAD);
    
            // set the ETH-A debt ceiling to 75,000,000
            FileLike(VAT).file("ETH-A", "line", 75000000 * RAD);
    
            // DSR
            PotLike(POT).drip();
            PotLike(POT).file("dsr", 1000000001243680656318820312);
    
            // drip
            // JugLike(JUG).drip("ETH-A");
            // JugLike(JUG).drip("BAT-A");
    
            // set ETH-A duty to X
            // JugLike(JUG).file("ETH-A", "duty", X);
    
            // set BAT-A duty to X
            // JugLike(JUG).file("BAT-A", "duty", X);
        }
    }
    
    contract DssDecember6Spell {
        PauseLike public pause =
            PauseLike(0xbE286431454714F511008713973d3B053A2d38f3);
        address constant public SAIMOM = 0xF2C5369cFFb8Ea6284452b0326e326DbFdCb867C;
        uint256 constant public SCDCAP = 95000000 * 10 ** 18;
        uint256 constant public NEWFEE = 1000000000937303470807876289;
        address   public action;
        bytes32   public tag;
        uint256   public eta;
        bytes     public sig;
        bool      public done;
    
        constructor() public {
            sig = abi.encodeWithSignature("execute()");
            action = address(new DssFlopReplaceSpellAction());
            bytes32 _tag;
            address _action = action;
            assembly { _tag := extcodehash(_action) }
            tag = _tag;
        }
    
        function cast() external {
            require(!done, "spell-already-cast");
            done = true;
            pause.plot(action, tag, sig, now);
            pause.exec(action, tag, sig, now);
            // Lower Debt Ceiling in SCD to 95,000,000
            MomLike(SAIMOM).setCap(SCDCAP);
            MomLike(SAIMOM).setFee(NEWFEE);
        }
    }