Transaction Hash:
Block:
19256076 at Feb-18-2024 05:10:23 PM +UTC
Transaction Fee:
0.033768486681827656 ETH
$81.77
Gas Used:
995,698 Gas / 33.914386372 Gwei
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x01571dF4...D74159beE | (KuCoin Dep: 0x01571dF4c886F5e1631b401aC5C60feD74159beE) | 0.000180142544967 Eth | 0.00189851707716534 Eth | 0.00171837453219834 | |
0x024840d1...0fd6eF1B2 | (KuCoin Dep: 0x024840d13fdEcFC93482B46866AF86a0fd6eF1B2) | 0.002456610136109114 Eth | 0.0031673624911 Eth | 0.000710752354990886 | |
0x03bd1dE3...e96045695 | (KuCoin Dep: 0x03bd1dE38ffAf32ad52e28cFdD6989Ee96045695) | 0.000881903910101985 Eth | 0.0031673624911 Eth | 0.002285458580998015 | |
0x041D959d...C138CfB84 | (KuCoin Dep: 0x041D959d31e8B011594750838B98323C138CfB84) | 0.000307759101661299 Eth | 0.00570125248398 Eth | 0.005393493382318701 | |
0x061F7937...38b6368dC | (KuCoin: Deposit Funder) |
20.329358031643301004 Eth
Nonce: 884740
|
20.131366655413064339 Eth
Nonce: 884741
| 0.197991376230236665 | |
0x0640eeeA...9544060c7 | (KuCoin Dep: 0x0640eeeAC5E2A28ecb43a83b9d546679544060c7) | 0.00105294894380462 Eth | 0.00253388999288 Eth | 0.00148094104907538 | |
0x1148F833...a90391887 | (KuCoin Dep: 0x1148F833F1693B5100bd4d942a0F364a90391887) | 0.00103997056947068 Eth | 0.00253388999288 Eth | 0.00149391942340932 | |
0x11DD1e31...22661Bbd4 | (KuCoin Dep: 0x11DD1e31b66127D62B240Ce57Fd34ef22661Bbd4) | 0.000879566314749868 Eth | 0.002945696168858955 Eth | 0.002066129854109087 | |
0x127D723b...F585b9cc4 | (KuCoin Dep: 0x127D723b10bD514534adE36beF34830F585b9cc4) | 0.000892023622872543 Eth | 0.00253388999288 Eth | 0.001641866370007457 | |
0x177e4C77...4769142f8 | (KuCoin Dep: 0x177e4C7743EeedafCc86a5A1135C17e4769142f8) | 0.001958734590490698 Eth | 0.00253388999288 Eth | 0.000575155402389302 | |
0x1bD356Cf...315dd77Ac | (KuCoin Dep: 0x1bD356Cf1eb041F78CfE38edE287b69315dd77Ac) | 0.00209264296162691 Eth | 0.00253388999288 Eth | 0.00044124703125309 | |
0x1C56F3Bb...32723468d | (KuCoin Dep: 0x1C56F3Bb31853BFD6Ea925C2361217032723468d) | 0.00092967261152818 Eth | 0.00253388999288 Eth | 0.00160421738135182 | |
0x1fb56646...9e0b44557 | (KuCoin Dep: 0x1fb56646549EB3175A6b66B87B03cc29e0b44557) | 0.001207478613510055 Eth | 0.00253388999288 Eth | 0.001326411379369945 | |
0x20b350e1...CaAe0DAe8 | (KuCoin Dep: 0x20b350e1587723a2faA326f17eEA38bCaAe0DAe8) | 0.000495853190869158 Eth | 0.0031673624911 Eth | 0.002671509300230842 | |
0x22b7831a...F52540684 | (KuCoin Dep: 0x22b7831afc073FEf871205E7Ab0fc71F52540684) | 0.001684324767538742 Eth | 0.00253388999288 Eth | 0.000849565225341258 | |
0x23a852Fd...70fac647b | (KuCoin Dep: 0x23a852Fdc90c0356431c62810D9529870fac647b) | 0.001314566610700805 Eth | 0.00189851707716534 Eth | 0.000583950466464535 | |
0x2487abb2...e4d2f1F25 | (KuCoin Dep: 0x2487abb29980Bed4D25c07EDC89b1AEe4d2f1F25) | 0.002181818207139744 Eth | 0.003324020239909806 Eth | 0.001142202032770062 | |
0x253be5c1...B6ae52195 | (KuCoin Dep: 0x253be5c11F76d24e007dA3abAC001d3B6ae52195) | 0.00071745543279163 Eth | 0.00190041749466 Eth | 0.00118296206186837 | |
0x2598C15c...Ea1394B46 | (KuCoin Dep: 0x2598C15c1B90a91109Db9AA49C189c9Ea1394B46) | 0.001379382754813505 Eth | 0.00253388999288 Eth | 0.001154507238066495 | |
0x280628E4...C09335e43 | (KuCoin Dep: 0x280628E4904782F91B1906e49ae5301C09335e43) | 0.000513368343272542 Eth | 0.001571581920833998 Eth | 0.001058213577561456 | |
0x2A2E519D...3AfB8F72C | (KuCoin Dep: 0x2A2E519D30f090B24389D26B2678FD93AfB8F72C) | 0.000625703480137215 Eth | 0.001742049370105 Eth | 0.001116345889967785 | |
0x32E27D2c...205fa0151 | (KuCoin Dep: 0x32E27D2c90E791F697D9797B4c5A63e205fa0151) | 0.002341326626502946 Eth | 0.0031673624911 Eth | 0.000826035864597054 | |
0x36E5f3DB...1F060B59a | (KuCoin Dep: 0x36E5f3DBF0925871a6D4C35AfACe9671F060B59a) | 0.00000463000083 Eth | 0.00189851707716534 Eth | 0.00189388707633534 | |
0x371b2C61...1F1b99eD6 | (KuCoin Dep: 0x371b2C61734F6d57e408c4a908Fe5971F1b99eD6) | 0.000330089567636725 Eth | 0.001571581920833998 Eth | 0.001241492353197273 | |
0x3fcF1AEA...a4C36de4f | (KuCoin Dep: 0x3fcF1AEAE8173f282E13ad4a435e3EFa4C36de4f) | 0.000068272555466962 Eth | 0.003262541733957555 Eth | 0.003194269178490593 | |
0x422f9173...e6033ae70 | (KuCoin Dep: 0x422f9173Dc458b27687F9bA943BFe5Ee6033ae70) | 0 Eth | 0.00253388999288 Eth | 0.00253388999288 | |
0x4332A69E...c42132E20 | (KuCoin Dep: 0x4332A69E74b098693E2260477da2d52c42132E20) | 0.000030648753996 Eth | 0.0031673624911 Eth | 0.003136713737104 | |
0x433972d1...66b1A472A | (KuCoin Dep: 0x433972d1886dB0b7d5F2DeE32De939566b1A472A) | 0.00012919291176308 Eth | 0.001742049370105 Eth | 0.00161285645834192 | |
0x474A63c5...31d8985C7 | (KuCoin Dep: 0x474A63c5F8f847d9AD472C994ef19E531d8985C7) | 0.001346957968077904 Eth | 0.001742049370105 Eth | 0.000395091402027096 | |
0x4838B106...B0BAD5f97
Miner
| (Titan Builder) | 184.961206959429086659 Eth | 184.962202657429086659 Eth | 0.000995698 | |
0x4A2bFa46...86a83d52B | (KuCoin Dep: 0x4A2bFa4666E979656cBA134312e90AD86a83d52B) | 0.003514701195922902 Eth | 0.019904017362156263 Eth | 0.016389316166233361 | |
0x4E68f4a1...2A67f378B | (KuCoin Dep: 0x4E68f4a15129Da9ab6600861dF8EA2e2A67f378B) | 0.000340020273630015 Eth | 0.00253388999288 Eth | 0.002193869719249985 | |
0x4fcACef8...f899Dda66 | (KuCoin Dep: 0x4fcACef854bfB0Af139080437A8B8aEf899Dda66) | 0.000808203194329438 Eth | 0.002746266417220016 Eth | 0.001938063222890578 | |
0x4fF228d7...0446140AB | (KuCoin Dep: 0x4fF228d7ebd9bcc292dc0278610C4f30446140AB) | 0.000379198554325623 Eth | 0.0031673624911 Eth | 0.002788163936774377 | |
0x4FF4D499...41662a96c | (KuCoin Dep: 0x4FF4D499cDf1c976E35337eEB1f1E6f41662a96c) | 0.0001054050650686 Eth | 0.001319491540167349 Eth | 0.001214086475098749 | |
0x52Cab167...Cc635A195 | (KuCoin Dep: 0x52Cab1675Cc10f0bE20B64346fbeA34Cc635A195) | 0 Eth | 0.00158368124555 Eth | 0.00158368124555 | |
0x563eCF05...e3ece25aa | (KuCoin Dep: 0x563eCF05fe1a59cD6f6662105aDF6Afe3ece25aa) | 0.00016580634611352 Eth | 0.00189851707716534 Eth | 0.00173271073105182 | |
0x62058a1c...69379652F | (KuCoin Dep: 0x62058a1c544d53cDD743C5733e1d99F69379652F) | 0.001319534013359757 Eth | 0.00189851707716534 Eth | 0.000578983063805583 | |
0x632A9117...8eAA035f8 | (KuCoin Dep: 0x632A9117CF1BA48EaD26744ea30f4B08eAA035f8) | 0.000094309737841017 Eth | 0.00221715374377 Eth | 0.002122844005928983 | |
0x63718271...DadBA3c57 | (KuCoin Dep: 0x63718271BbEc6844435A75F5DAb02f1DadBA3c57) | 0.000033077335998 Eth | 0.00253388999288 Eth | 0.002500812656882 | |
0x644D6ad4...7361643E9 | (KuCoin Dep: 0x644D6ad4458236F765a7605256Eb4FA7361643E9) | 0 Eth | 0.002058785619215 Eth | 0.002058785619215 | |
0x64A213Ae...8C178C0D0 | (KuCoin Dep: 0x64A213Ae27C0729d6882ACc988993568C178C0D0) | 0.001031211030296834 Eth | 0.00253388999288 Eth | 0.001502678962583166 | |
0x66E31e53...626FCd7A7 | (KuCoin Dep: 0x66E31e539E99951861dcA47dFb10887626FCd7A7) | 0.001397779837862372 Eth | 0.0031673624911 Eth | 0.001769582653237628 | |
0x673BA0cF...2947Cf9Dd | (KuCoin Dep: 0x673BA0cFB7a19F943C19AB7c4480F052947Cf9Dd) | 0.00007639679979228 Eth | 0.001571581920833998 Eth | 0.001495185121041718 | |
0x6D93b9f0...4951D9947 | (KuCoin Dep: 0x6D93b9f0EB32773B7A21A864D04A0484951D9947) | 0.001033785753063 Eth | 0.00253388999288 Eth | 0.001500104239817 | |
0x6F4a580e...b6a8854E0 | (KuCoin Dep: 0x6F4a580e3f5D6d43D4eC43faac41D4Ab6a8854E0) | 0 Eth | 0.003420149691514691 Eth | 0.003420149691514691 | |
0x78813749...ab8025447 | (KuCoin Dep: 0x788137494DFFEF0bA01B8250F579790ab8025447) | 0.000007909169394 Eth | 0.00158368124555 Eth | 0.001575772076156 | |
0x7a717d9E...1939C5eA8 | (KuCoin Dep: 0x7a717d9E863E670967DB7fb26Ec875F1939C5eA8) | 0.000578216175718248 Eth | 0.001160775005738328 Eth | 0.00058255883002008 | |
0x7b674f70...306dfCa61 | (KuCoin Dep: 0x7b674f70a982be44AED2AD1F5040AA1306dfCa61) | 0.000333744698998688 Eth | 0.00253388999288 Eth | 0.002200145293881312 | |
0x7b8C8517...5C530f8bf | (KuCoin Dep: 0x7b8C8517764e52Cc5E07ddf503153EC5C530f8bf) | 0.000073857126957129 Eth | 0.00158368124555 Eth | 0.001509824118592871 | |
0x7Bc521b2...A129ad513 | (KuCoin Dep: 0x7Bc521b206a0f11eddd4FDb27740375A129ad513) | 0 Eth | 0.00158368124555 Eth | 0.00158368124555 | |
0x7C3Aabe9...F79739b6a | (KuCoin Dep: 0x7C3Aabe920e95f10EA239a3d952b131F79739b6a) | 0.000779137019983145 Eth | 0.001135246064060062 Eth | 0.000356109044076917 | |
0x81b61510...Bad3DFb88 | (KuCoin Dep: 0x81b61510C8Fee6d03Bfc453A0E617E8Bad3DFb88) | 0.00090854654799461 Eth | 0.001489040454315932 Eth | 0.000580493906321322 | |
0x820a61D7...8D8b431Ab | (KuCoin Dep: 0x820a61D7BBbc731014E8Fe009f263878D8b431Ab) | 0.000383989281967485 Eth | 0.00221715374377 Eth | 0.001833164461802515 | |
0x83204220...1812B7539 | (KuCoin Dep: 0x83204220072b7A6e5E7c9cF1CA755Ed1812B7539) | 0.000660085315788096 Eth | 0.00190041749466 Eth | 0.001240332178871904 | |
0x8370ffCD...BEF456442 | (KuCoin Dep: 0x8370ffCD58866f8a10416875EBE4493BEF456442) | 0.001810075649289534 Eth | 0.0031673624911 Eth | 0.001357286841810466 | |
0x846b67a8...8a8e4F25e | (KuCoin Dep: 0x846b67a8A60b072C0B07a3E742C87238a8e4F25e) | 0.001281114769511235 Eth | 0.00253388999288 Eth | 0.001252775223368765 | |
0x87118cEB...Ca4FcD55f | (KuCoin Dep: 0x87118cEBdc0c89b19FbdE63Da86E6d4Ca4FcD55f) | 0.00181195814464945 Eth | 0.00253388999288 Eth | 0.00072193184823055 | |
0x8F3a102C...3EfD8dFd5 | (KuCoin Dep: 0x8F3a102Cf8d361Eae09eCEc2c453F783EfD8dFd5) | 0.001237120433245725 Eth | 0.00506777998576 Eth | 0.003830659552514275 | |
0x90e1200A...B14E5E22a | (KuCoin Dep: 0x90e1200A72821ee8c0996Cc5f399277B14E5E22a) | 0.000342278923379832 Eth | 0.001160775005738328 Eth | 0.000818496082358496 | |
0x93fEAb33...b5B399B92 | (KuCoin Dep: 0x93fEAb3308DC47Fec4079d1Ea2AdED1b5B399B92) | 0.000874783371980302 Eth | 0.00253388999288 Eth | 0.001659106620899698 | |
0x94206f02...5B1f84B0b | (KuCoin Dep: 0x94206f02c5e51cC1F0C0161E2953afA5B1f84B0b) | 0.0012134131904929 Eth | 0.00506777998576 Eth | 0.0038543667952671 | |
0x9aA24a1B...a74455Ef4 | (KuCoin Dep: 0x9aA24a1B62543D995f3d9ea8Cd97Dbca74455Ef4) | 0.000214921116587375 Eth | 0.003325730615655 Eth | 0.003110809499067625 | |
0x9b969c70...d24Af901A | (KuCoin Dep: 0x9b969c704571FDDA77314CCeA473F56d24Af901A) | 0.000937613108997966 Eth | 0.00253388999288 Eth | 0.001596276883882034 | |
0xA40f64E1...EE7390CaB | (KuCoin Dep: 0xA40f64E1D18242B85248eFE0D15Da1CEE7390CaB) | 0.000454789079872182 Eth | 0.00158368124555 Eth | 0.001128892165677818 | |
0xa5265909...1f391769B | (KuCoin Dep: 0xa52659099EBc7e96F9Dd5eB4B465ca11f391769B) | 0.000011094635223 Eth | 0.002058785619215 Eth | 0.002047690983992 | |
0xaB0cD3F5...DE6B0995b | (KuCoin Dep: 0xaB0cD3F5AE752b08aB3672955322679DE6B0995b) | 0 Eth | 0.0031673624911 Eth | 0.0031673624911 | |
0xAB7267C3...9Ffd8C9CC | (KuCoin Dep: 0xAB7267C36f81687D368Cb371BA519369Ffd8C9CC) | 0 Eth | 0.00158368124555 Eth | 0.00158368124555 | |
0xB49cb5a9...86714BFe6 | (KuCoin Dep: 0xB49cb5a965D6c3412CfE166bb17791786714BFe6) | 0.001080397461871908 Eth | 0.00190041749466 Eth | 0.000820020032788092 | |
0xb4C92949...3D33f05d7 | (KuCoin Dep: 0xb4C929495d70278820E747B97fcB6113D33f05d7) | 0 Eth | 0.0031673624911 Eth | 0.0031673624911 | |
0xBC68d80e...CD420c324 | (KuCoin Dep: 0xBC68d80e2249547920C56AA39d24eb8CD420c324) | 0.000334065824829919 Eth | 0.001160775005738328 Eth | 0.000826709180908409 | |
0xBcDE1426...11D0F1203 | (KuCoin Dep: 0xBcDE142632da30c7314AE0576EF193F11D0F1203) | 0.000928578214365416 Eth | 0.002058785619215 Eth | 0.001130207404849584 | |
0xBE13c65F...07403b8BD | (KuCoin Dep: 0xBE13c65F8947579312A7298F436370f07403b8BD) | 0.0006591504423768 Eth | 0.00253388999288 Eth | 0.0018747395505032 | |
0xC1845bAC...d1fB38ADB | (KuCoin Dep: 0xC1845bAC3555E96cd089b9f7E21b0c2d1fB38ADB) | 0.000013905896772573 Eth | 0.00253388999288 Eth | 0.002519984096107427 | |
0xc869C8ee...48060329a | (KuCoin Dep: 0xc869C8ee8bfd78F426b9977e9015Edf48060329a) | 0 Eth | 0.00190041749466 Eth | 0.00190041749466 | |
0xD0eaAdE2...838352D95 | (KuCoin Dep: 0xD0eaAdE2f51E549ed8300D4E8f08a1D838352D95) | 0.000030384103743 Eth | 0.00139110560609112 Eth | 0.00136072150234812 | |
0xd131BA62...06a67603A | (KuCoin Dep: 0xd131BA62b6CC79a30A71D70981A1B3E06a67603A) | 0.001004515706942296 Eth | 0.00121056594409842 Eth | 0.000206050237156124 | |
0xDf994020...369a4e534 | (KuCoin Dep: 0xDf994020476e461369C9a16D080161b369a4e534) | 0.001026962123491056 Eth | 0.00253388999288 Eth | 0.001506927869388944 | |
0xE5154ab8...2dC93813d | (KuCoin Dep: 0xE5154ab80B44e6E61E0f0C735fD9F7a2dC93813d) | 0 Eth | 0.00158368124555 Eth | 0.00158368124555 | |
0xE66efC5e...3CdA5d56A | (KuCoin Dep: 0xE66efC5eA35D32749B369174B97679d3CdA5d56A) | 0.000093132347336846 Eth | 0.00221715374377 Eth | 0.002124021396433154 | |
0xe6863705...80CF3E02F | (KuCoin Dep: 0xe6863705453aDaEDa67261a73b1df7180CF3E02F) | 0.00013928846169 Eth | 0.001951158641767422 Eth | 0.001811870180077422 | |
0xE74c05E5...98BD019DD | (KuCoin Dep: 0xE74c05E59C1a92d5D2345C58CdB399B98BD019DD) | 0.001162696357050468 Eth | 0.00253388999288 Eth | 0.001371193635829532 | |
0xe973727a...D96D26a43 | (KuCoin Dep: 0xe973727afE30a57aa64e0773BE7F44cD96D26a43) | 0.00197883699582808 Eth | 0.0031673624911 Eth | 0.00118852549527192 | |
0xea73Fce8...CB125cB52 | (KuCoin Dep: 0xea73Fce802a3c05ebB251D55091f54fCB125cB52) | 0.001143598320765492 Eth | 0.00189851707716534 Eth | 0.000754918756399848 | |
0xEb630575...97eD09bd6 | (KuCoin Dep: 0xEb6305754A8dE4eC7d766F76df7914497eD09bd6) | 0.002980681613673414 Eth | 0.0031673624911 Eth | 0.000186680877426586 | |
0xEB7922E0...ec628cA28 | (KuCoin Dep: 0xEB7922E0Cbd5Ba5f0782E8874EC0b45ec628cA28) | 0.001135638777956508 Eth | 0.0031673624911 Eth | 0.002031723713143492 | |
0xEc5cb482...42dD69876 | (KuCoin Dep: 0xEc5cb482d51E021a2e808Af4161fBC342dD69876) | 0.000065995808319 Eth | 0.001132838868566826 Eth | 0.001066843060247826 | |
0xeEe759aE...9d655EBc4 | (KuCoin Dep: 0xeEe759aE679690414F31fD5c67746929d655EBc4) | 0.000737188056462798 Eth | 0.001951158641767422 Eth | 0.001213970585304624 | |
0xF15eB3b2...c580E9eB1 | (KuCoin Dep: 0xF15eB3b2A1B7C3fC3d076dA88811749c580E9eB1) | 0.001492957578986995 Eth | 0.0031673624911 Eth | 0.001674404912113005 | |
0xf27B1718...2c68B29da | (KuCoin Dep: 0xf27B17185aBB0731206e65F6d1eD7622c68B29da) | 0.000320627488034502 Eth | 0.00253388999288 Eth | 0.002213262504845498 | |
0xf3b218C0...7a77Ebf5f | (KuCoin Dep: 0xf3b218C0545eCD823a276E1Ef20Baa77a77Ebf5f) | 0.001106146064079936 Eth | 0.001742049370105 Eth | 0.000635903306025064 | |
0xF95D6E71...2c6a5634B | (KuCoin Dep: 0xF95D6E71435504587949B27a34b58902c6a5634B) | 0.000030921403548 Eth | 0.00189851707716534 Eth | 0.00186759567361734 | |
0xfdb2A57e...B974a3F15 | (KuCoin Dep: 0xfdb2A57e82B318Bed9e40C6C9985e02B974a3F15) | 0.000271358014365696 Eth | 0.001160775005738328 Eth | 0.000889416991372632 | |
0xFDECb7B5...bF6039508 | (KuCoin Dep: 0xFDECb7B5F341F357B22137F8Fd8267FbF6039508) | 0.004167199878290643 Eth | 0.00475104373665 Eth | 0.000583843858359357 |
Execution Trace
ETH 0.164222889548409009
ERC1967Proxy.eb14f53e( )
ETH 0.164222889548409009
0x74ae836d6f949118b4e4d0af79924edd0d6fd163.eb14f53e( )
- ETH 0.00161285645834192
KuCoin Dep: 0x433972d1886dB0b7d5F2DeE32De939566b1A472A.CALL( )
- ETH 0.000578983063805583
KuCoin Dep: 0x62058a1c544d53cDD743C5733e1d99F69379652F.CALL( )
- ETH 0.00171837453219834
KuCoin Dep: 0x01571dF4c886F5e1631b401aC5C60feD74159beE.CALL( )
- ETH 0.00158368124555
KuCoin Dep: 0xE5154ab80B44e6E61E0f0C735fD9F7a2dC93813d.CALL( )
- ETH 0.016389316166233361
KuCoin Dep: 0x4A2bFa4666E979656cBA134312e90AD86a83d52B.CALL( )
- ETH 0.002500812656882
KuCoin Dep: 0x63718271BbEc6844435A75F5DAb02f1DadBA3c57.CALL( )
- ETH 0.0038543667952671
KuCoin Dep: 0x94206f02c5e51cC1F0C0161E2953afA5B1f84B0b.CALL( )
- ETH 0.002047690983992
KuCoin Dep: 0xa52659099EBc7e96F9Dd5eB4B465ca11f391769B.CALL( )
- ETH 0.00058255883002008
KuCoin Dep: 0x7a717d9E863E670967DB7fb26Ec875F1939C5eA8.CALL( )
- ETH 0.000583950466464535
KuCoin Dep: 0x23a852Fdc90c0356431c62810D9529870fac647b.CALL( )
- ETH 0.000356109044076917
KuCoin Dep: 0x7C3Aabe920e95f10EA239a3d952b131F79739b6a.CALL( )
- ETH 0.000575155402389302
KuCoin Dep: 0x177e4C7743EeedafCc86a5A1135C17e4769142f8.CALL( )
- ETH 0.000635903306025064
KuCoin Dep: 0xf3b218C0545eCD823a276E1Ef20Baa77a77Ebf5f.CALL( )
- ETH 0.001500104239817
KuCoin Dep: 0x6D93b9f0EB32773B7A21A864D04A0484951D9947.CALL( )
- ETH 0.000818496082358496
KuCoin Dep: 0x90e1200A72821ee8c0996Cc5f399277B14E5E22a.CALL( )
- ETH 0.000889416991372632
KuCoin Dep: 0xfdb2A57e82B318Bed9e40C6C9985e02B974a3F15.CALL( )
- ETH 0.001938063222890578
KuCoin Dep: 0x4fcACef854bfB0Af139080437A8B8aEf899Dda66.CALL( )
- ETH 0.00173271073105182
KuCoin Dep: 0x563eCF05fe1a59cD6f6662105aDF6Afe3ece25aa.CALL( )
- ETH 0.001641866370007457
KuCoin Dep: 0x127D723b10bD514534adE36beF34830F585b9cc4.CALL( )
- ETH 0.002285458580998015
KuCoin Dep: 0x03bd1dE38ffAf32ad52e28cFdD6989Ee96045695.CALL( )
- ETH 0.001214086475098749
KuCoin Dep: 0x4FF4D499cDf1c976E35337eEB1f1E6f41662a96c.CALL( )
- ETH 0.000826709180908409
KuCoin Dep: 0xBC68d80e2249547920C56AA39d24eb8CD420c324.CALL( )
- ETH 0.001252775223368765
KuCoin Dep: 0x846b67a8A60b072C0B07a3E742C87238a8e4F25e.CALL( )
- ETH 0.003136713737104
KuCoin Dep: 0x4332A69E74b098693E2260477da2d52c42132E20.CALL( )
- ETH 0.002788163936774377
KuCoin Dep: 0x4fF228d7ebd9bcc292dc0278610C4f30446140AB.CALL( )
- ETH 0.002124021396433154
KuCoin Dep: 0xE66efC5eA35D32749B369174B97679d3CdA5d56A.CALL( )
- ETH 0.001130207404849584
KuCoin Dep: 0xBcDE142632da30c7314AE0576EF193F11D0F1203.CALL( )
- ETH 0.001506927869388944
KuCoin Dep: 0xDf994020476e461369C9a16D080161b369a4e534.CALL( )
- ETH 0.0031673624911
KuCoin Dep: 0xaB0cD3F5AE752b08aB3672955322679DE6B0995b.CALL( )
- ETH 0.001357286841810466
KuCoin Dep: 0x8370ffCD58866f8a10416875EBE4493BEF456442.CALL( )
- ETH 0.001241492353197273
KuCoin Dep: 0x371b2C61734F6d57e408c4a908Fe5971F1b99eD6.CALL( )
- ETH 0.001128892165677818
KuCoin Dep: 0xA40f64E1D18242B85248eFE0D15Da1CEE7390CaB.CALL( )
- ETH 0.0031673624911
KuCoin Dep: 0xb4C929495d70278820E747B97fcB6113D33f05d7.CALL( )
- ETH 0.002213262504845498
KuCoin Dep: 0xf27B17185aBB0731206e65F6d1eD7622c68B29da.CALL( )
- ETH 0.002671509300230842
KuCoin Dep: 0x20b350e1587723a2faA326f17eEA38bCaAe0DAe8.CALL( )
- ETH 0.00044124703125309
KuCoin Dep: 0x1bD356Cf1eb041F78CfE38edE287b69315dd77Ac.CALL( )
- ETH 0.005393493382318701
KuCoin Dep: 0x041D959d31e8B011594750838B98323C138CfB84.CALL( )
- ETH 0.001769582653237628
KuCoin Dep: 0x66E31e539E99951861dcA47dFb10887626FCd7A7.CALL( )
- ETH 0.000186680877426586
KuCoin Dep: 0xEb6305754A8dE4eC7d766F76df7914497eD09bd6.CALL( )
- ETH 0.00186759567361734
KuCoin Dep: 0xF95D6E71435504587949B27a34b58902c6a5634B.CALL( )
- ETH 0.001659106620899698
KuCoin Dep: 0x93fEAb3308DC47Fec4079d1Ea2AdED1b5B399B92.CALL( )
- ETH 0.001811870180077422
KuCoin Dep: 0xe6863705453aDaEDa67261a73b1df7180CF3E02F.CALL( )
- ETH 0.00158368124555
KuCoin Dep: 0xAB7267C36f81687D368Cb371BA519369Ffd8C9CC.CALL( )
- ETH 0.00189388707633534
KuCoin Dep: 0x36E5f3DBF0925871a6D4C35AfACe9671F060B59a.CALL( )
- ETH 0.003110809499067625
KuCoin Dep: 0x9aA24a1B62543D995f3d9ea8Cd97Dbca74455Ef4.CALL( )
- ETH 0.000820020032788092
KuCoin Dep: 0xB49cb5a965D6c3412CfE166bb17791786714BFe6.CALL( )
- ETH 0.000754918756399848
KuCoin Dep: 0xea73Fce802a3c05ebB251D55091f54fCB125cB52.CALL( )
- ETH 0.001142202032770062
KuCoin Dep: 0x2487abb29980Bed4D25c07EDC89b1AEe4d2f1F25.CALL( )
- ETH 0.000580493906321322
KuCoin Dep: 0x81b61510C8Fee6d03Bfc453A0E617E8Bad3DFb88.CALL( )
- ETH 0.000206050237156124
KuCoin Dep: 0xd131BA62b6CC79a30A71D70981A1B3E06a67603A.CALL( )
- ETH 0.003830659552514275
KuCoin Dep: 0x8F3a102Cf8d361Eae09eCEc2c453F783EfD8dFd5.CALL( )
- ETH 0.001575772076156
KuCoin Dep: 0x788137494DFFEF0bA01B8250F579790ab8025447.CALL( )
- ETH 0.002519984096107427
KuCoin Dep: 0xC1845bAC3555E96cd089b9f7E21b0c2d1fB38ADB.CALL( )
- ETH 0.000849565225341258
KuCoin Dep: 0x22b7831afc073FEf871205E7Ab0fc71F52540684.CALL( )
- ETH 0.00253388999288
KuCoin Dep: 0x422f9173Dc458b27687F9bA943BFe5Ee6033ae70.CALL( )
- ETH 0.00190041749466
KuCoin Dep: 0xc869C8ee8bfd78F426b9977e9015Edf48060329a.CALL( )
- ETH 0.002193869719249985
KuCoin Dep: 0x4E68f4a15129Da9ab6600861dF8EA2e2A67f378B.CALL( )
- ETH 0.002122844005928983
KuCoin Dep: 0x632A9117CF1BA48EaD26744ea30f4B08eAA035f8.CALL( )
- ETH 0.003420149691514691
KuCoin Dep: 0x6F4a580e3f5D6d43D4eC43faac41D4Ab6a8854E0.CALL( )
- ETH 0.001213970585304624
KuCoin Dep: 0xeEe759aE679690414F31fD5c67746929d655EBc4.CALL( )
- ETH 0.00160421738135182
KuCoin Dep: 0x1C56F3Bb31853BFD6Ea925C2361217032723468d.CALL( )
- ETH 0.000395091402027096
KuCoin Dep: 0x474A63c5F8f847d9AD472C994ef19E531d8985C7.CALL( )
- ETH 0.00149391942340932
KuCoin Dep: 0x1148F833F1693B5100bd4d942a0F364a90391887.CALL( )
- ETH 0.001154507238066495
KuCoin Dep: 0x2598C15c1B90a91109Db9AA49C189c9Ea1394B46.CALL( )
- ETH 0.00158368124555
KuCoin Dep: 0x52Cab1675Cc10f0bE20B64346fbeA34Cc635A195.CALL( )
- ETH 0.002200145293881312
KuCoin Dep: 0x7b674f70a982be44AED2AD1F5040AA1306dfCa61.CALL( )
- ETH 0.003194269178490593
KuCoin Dep: 0x3fcF1AEAE8173f282E13ad4a435e3EFa4C36de4f.CALL( )
- ETH 0.002031723713143492
KuCoin Dep: 0xEB7922E0Cbd5Ba5f0782E8874EC0b45ec628cA28.CALL( )
- ETH 0.001509824118592871
KuCoin Dep: 0x7b8C8517764e52Cc5E07ddf503153EC5C530f8bf.CALL( )
- ETH 0.00136072150234812
KuCoin Dep: 0xD0eaAdE2f51E549ed8300D4E8f08a1D838352D95.CALL( )
- ETH 0.000710752354990886
KuCoin Dep: 0x024840d13fdEcFC93482B46866AF86a0fd6eF1B2.CALL( )
- ETH 0.001116345889967785
KuCoin Dep: 0x2A2E519D30f090B24389D26B2678FD93AfB8F72C.CALL( )
- ETH 0.00118852549527192
KuCoin Dep: 0xe973727afE30a57aa64e0773BE7F44cD96D26a43.CALL( )
- ETH 0.001371193635829532
KuCoin Dep: 0xE74c05E59C1a92d5D2345C58CdB399B98BD019DD.CALL( )
- ETH 0.001326411379369945
KuCoin Dep: 0x1fb56646549EB3175A6b66B87B03cc29e0b44557.CALL( )
- ETH 0.00072193184823055
KuCoin Dep: 0x87118cEBdc0c89b19FbdE63Da86E6d4Ca4FcD55f.CALL( )
- ETH 0.001833164461802515
KuCoin Dep: 0x820a61D7BBbc731014E8Fe009f263878D8b431Ab.CALL( )
- ETH 0.002066129854109087
KuCoin Dep: 0x11DD1e31b66127D62B240Ce57Fd34ef22661Bbd4.CALL( )
- ETH 0.001502678962583166
KuCoin Dep: 0x64A213Ae27C0729d6882ACc988993568C178C0D0.CALL( )
- ETH 0.001058213577561456
KuCoin Dep: 0x280628E4904782F91B1906e49ae5301C09335e43.CALL( )
- ETH 0.00148094104907538
KuCoin Dep: 0x0640eeeAC5E2A28ecb43a83b9d546679544060c7.CALL( )
- ETH 0.001596276883882034
KuCoin Dep: 0x9b969c704571FDDA77314CCeA473F56d24Af901A.CALL( )
- ETH 0.00158368124555
KuCoin Dep: 0x7Bc521b206a0f11eddd4FDb27740375A129ad513.CALL( )
- ETH 0.001066843060247826
KuCoin Dep: 0xEc5cb482d51E021a2e808Af4161fBC342dD69876.CALL( )
- ETH 0.0018747395505032
KuCoin Dep: 0xBE13c65F8947579312A7298F436370f07403b8BD.CALL( )
- ETH 0.000583843858359357
KuCoin Dep: 0xFDECb7B5F341F357B22137F8Fd8267FbF6039508.CALL( )
- ETH 0.00118296206186837
KuCoin Dep: 0x253be5c11F76d24e007dA3abAC001d3B6ae52195.CALL( )
- ETH 0.002058785619215
KuCoin Dep: 0x644D6ad4458236F765a7605256Eb4FA7361643E9.CALL( )
- ETH 0.001240332178871904
KuCoin Dep: 0x83204220072b7A6e5E7c9cF1CA755Ed1812B7539.CALL( )
- ETH 0.001674404912113005
KuCoin Dep: 0xF15eB3b2A1B7C3fC3d076dA88811749c580E9eB1.CALL( )
- ETH 0.001495185121041718
KuCoin Dep: 0x673BA0cFB7a19F943C19AB7c4480F052947Cf9Dd.CALL( )
- ETH 0.000826035864597054
KuCoin Dep: 0x32E27D2c90E791F697D9797B4c5A63e205fa0151.CALL( )
- ETH 0.00161285645834192
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (interfaces/draft-IERC1822.sol) pragma solidity ^0.8.0; /** * @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified * proxy whose upgrades are fully controlled by the current implementation. */ interface IERC1822Proxiable { /** * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation * address. * * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this * function revert if invoked through a proxy. */ function proxiableUUID() external view returns (bytes32); } // SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.3) (interfaces/IERC1967.sol) pragma solidity ^0.8.0; /** * @dev ERC-1967: Proxy Storage Slots. This interface contains the events defined in the ERC. * * _Available since v4.9._ */ interface IERC1967 { /** * @dev Emitted when the implementation is upgraded. */ event Upgraded(address indexed implementation); /** * @dev Emitted when the admin account has changed. */ event AdminChanged(address previousAdmin, address newAdmin); /** * @dev Emitted when the beacon is changed. */ event BeaconUpgraded(address indexed beacon); } // SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (proxy/beacon/BeaconProxy.sol) pragma solidity ^0.8.0; import "./IBeacon.sol"; import "../Proxy.sol"; import "../ERC1967/ERC1967Upgrade.sol"; /** * @dev This contract implements a proxy that gets the implementation address for each call from an {UpgradeableBeacon}. * * The beacon address is stored in storage slot `uint256(keccak256('eip1967.proxy.beacon')) - 1`, so that it doesn't * conflict with the storage layout of the implementation behind the proxy. * * _Available since v3.4._ */ contract BeaconProxy is Proxy, ERC1967Upgrade { /** * @dev Initializes the proxy with `beacon`. * * If `data` is nonempty, it's used as data in a delegate call to the implementation returned by the beacon. This * will typically be an encoded function call, and allows initializing the storage of the proxy like a Solidity * constructor. * * Requirements: * * - `beacon` must be a contract with the interface {IBeacon}. */ constructor(address beacon, bytes memory data) payable { _upgradeBeaconToAndCall(beacon, data, false); } /** * @dev Returns the current beacon address. */ function _beacon() internal view virtual returns (address) { return _getBeacon(); } /** * @dev Returns the current implementation address of the associated beacon. */ function _implementation() internal view virtual override returns (address) { return IBeacon(_getBeacon()).implementation(); } /** * @dev Changes the proxy to use a new beacon. Deprecated: see {_upgradeBeaconToAndCall}. * * If `data` is nonempty, it's used as data in a delegate call to the implementation returned by the beacon. * * Requirements: * * - `beacon` must be a contract. * - The implementation returned by `beacon` must be a contract. */ function _setBeacon(address beacon, bytes memory data) internal virtual { _upgradeBeaconToAndCall(beacon, data, false); } } // SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (proxy/beacon/IBeacon.sol) pragma solidity ^0.8.0; /** * @dev This is the interface that {BeaconProxy} expects of its beacon. */ interface IBeacon { /** * @dev Must return an address that can be used as a delegate call target. * * {BeaconProxy} will check that this address is a contract. */ function implementation() external view returns (address); } // SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (proxy/beacon/UpgradeableBeacon.sol) pragma solidity ^0.8.0; import "./IBeacon.sol"; import "../../access/Ownable.sol"; import "../../utils/Address.sol"; /** * @dev This contract is used in conjunction with one or more instances of {BeaconProxy} to determine their * implementation contract, which is where they will delegate all function calls. * * An owner is able to change the implementation the beacon points to, thus upgrading the proxies that use this beacon. */ contract UpgradeableBeacon is IBeacon, Ownable { address private _implementation; /** * @dev Emitted when the implementation returned by the beacon is changed. */ event Upgraded(address indexed implementation); /** * @dev Sets the address of the initial implementation, and the deployer account as the owner who can upgrade the * beacon. */ constructor(address implementation_) { _setImplementation(implementation_); } /** * @dev Returns the current implementation address. */ function implementation() public view virtual override returns (address) { return _implementation; } /** * @dev Upgrades the beacon to a new implementation. * * Emits an {Upgraded} event. * * Requirements: * * - msg.sender must be the owner of the contract. * - `newImplementation` must be a contract. */ function upgradeTo(address newImplementation) public virtual onlyOwner { _setImplementation(newImplementation); emit Upgraded(newImplementation); } /** * @dev Sets the implementation contract address for this beacon * * Requirements: * * - `newImplementation` must be a contract. */ function _setImplementation(address newImplementation) private { require(Address.isContract(newImplementation), "UpgradeableBeacon: implementation is not a contract"); _implementation = newImplementation; } } // SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (proxy/ERC1967/ERC1967Proxy.sol) pragma solidity ^0.8.0; import "../Proxy.sol"; import "./ERC1967Upgrade.sol"; /** * @dev This contract implements an upgradeable proxy. It is upgradeable because calls are delegated to an * implementation address that can be changed. This address is stored in storage in the location specified by * https://eips.ethereum.org/EIPS/eip-1967[EIP1967], so that it doesn't conflict with the storage layout of the * implementation behind the proxy. */ contract ERC1967Proxy is Proxy, ERC1967Upgrade { /** * @dev Initializes the upgradeable proxy with an initial implementation specified by `_logic`. * * If `_data` is nonempty, it's used as data in a delegate call to `_logic`. This will typically be an encoded * function call, and allows initializing the storage of the proxy like a Solidity constructor. */ constructor(address _logic, bytes memory _data) payable { _upgradeToAndCall(_logic, _data, false); } /** * @dev Returns the current implementation address. */ function _implementation() internal view virtual override returns (address impl) { return ERC1967Upgrade._getImplementation(); } } // SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.3) (proxy/ERC1967/ERC1967Upgrade.sol) pragma solidity ^0.8.2; import "../beacon/IBeacon.sol"; import "../../interfaces/IERC1967.sol"; import "../../interfaces/draft-IERC1822.sol"; import "../../utils/Address.sol"; import "../../utils/StorageSlot.sol"; /** * @dev This abstract contract provides getters and event emitting update functions for * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots. * * _Available since v4.1._ * * @custom:oz-upgrades-unsafe-allow delegatecall */ abstract contract ERC1967Upgrade is IERC1967 { // This is the keccak-256 hash of "eip1967.proxy.rollback" subtracted by 1 bytes32 private constant _ROLLBACK_SLOT = 0x4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143; /** * @dev Storage slot with the address of the current implementation. * This is the keccak-256 hash of "eip1967.proxy.implementation" subtracted by 1, and is * validated in the constructor. */ bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc; /** * @dev Returns the current implementation address. */ function _getImplementation() internal view returns (address) { return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value; } /** * @dev Stores a new address in the EIP1967 implementation slot. */ function _setImplementation(address newImplementation) private { require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract"); StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation; } /** * @dev Perform implementation upgrade * * Emits an {Upgraded} event. */ function _upgradeTo(address newImplementation) internal { _setImplementation(newImplementation); emit Upgraded(newImplementation); } /** * @dev Perform implementation upgrade with additional setup call. * * Emits an {Upgraded} event. */ function _upgradeToAndCall( address newImplementation, bytes memory data, bool forceCall ) internal { _upgradeTo(newImplementation); if (data.length > 0 || forceCall) { Address.functionDelegateCall(newImplementation, data); } } /** * @dev Perform implementation upgrade with security checks for UUPS proxies, and additional setup call. * * Emits an {Upgraded} event. */ function _upgradeToAndCallUUPS( address newImplementation, bytes memory data, bool forceCall ) internal { // Upgrades from old implementations will perform a rollback test. This test requires the new // implementation to upgrade back to the old, non-ERC1822 compliant, implementation. Removing // this special case will break upgrade paths from old UUPS implementation to new ones. if (StorageSlot.getBooleanSlot(_ROLLBACK_SLOT).value) { _setImplementation(newImplementation); } else { try IERC1822Proxiable(newImplementation).proxiableUUID() returns (bytes32 slot) { require(slot == _IMPLEMENTATION_SLOT, "ERC1967Upgrade: unsupported proxiableUUID"); } catch { revert("ERC1967Upgrade: new implementation is not UUPS"); } _upgradeToAndCall(newImplementation, data, forceCall); } } /** * @dev Storage slot with the admin of the contract. * This is the keccak-256 hash of "eip1967.proxy.admin" subtracted by 1, and is * validated in the constructor. */ bytes32 internal constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103; /** * @dev Returns the current admin. */ function _getAdmin() internal view returns (address) { return StorageSlot.getAddressSlot(_ADMIN_SLOT).value; } /** * @dev Stores a new address in the EIP1967 admin slot. */ function _setAdmin(address newAdmin) private { require(newAdmin != address(0), "ERC1967: new admin is the zero address"); StorageSlot.getAddressSlot(_ADMIN_SLOT).value = newAdmin; } /** * @dev Changes the admin of the proxy. * * Emits an {AdminChanged} event. */ function _changeAdmin(address newAdmin) internal { emit AdminChanged(_getAdmin(), newAdmin); _setAdmin(newAdmin); } /** * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy. * This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor. */ bytes32 internal constant _BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50; /** * @dev Returns the current beacon. */ function _getBeacon() internal view returns (address) { return StorageSlot.getAddressSlot(_BEACON_SLOT).value; } /** * @dev Stores a new beacon in the EIP1967 beacon slot. */ function _setBeacon(address newBeacon) private { require(Address.isContract(newBeacon), "ERC1967: new beacon is not a contract"); require( Address.isContract(IBeacon(newBeacon).implementation()), "ERC1967: beacon implementation is not a contract" ); StorageSlot.getAddressSlot(_BEACON_SLOT).value = newBeacon; } /** * @dev Perform beacon upgrade with additional setup call. Note: This upgrades the address of the beacon, it does * not upgrade the implementation contained in the beacon (see {UpgradeableBeacon-_setImplementation} for that). * * Emits a {BeaconUpgraded} event. */ function _upgradeBeaconToAndCall( address newBeacon, bytes memory data, bool forceCall ) internal { _setBeacon(newBeacon); emit BeaconUpgraded(newBeacon); if (data.length > 0 || forceCall) { Address.functionDelegateCall(IBeacon(newBeacon).implementation(), data); } } } // SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (proxy/Proxy.sol) pragma solidity ^0.8.0; /** * @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM * instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to * be specified by overriding the virtual {_implementation} function. * * Additionally, delegation to the implementation can be triggered manually through the {_fallback} function, or to a * different contract through the {_delegate} function. * * The success and return data of the delegated call will be returned back to the caller of the proxy. */ abstract contract Proxy { /** * @dev Delegates the current call to `implementation`. * * This function does not return to its internal call site, it will return directly to the external caller. */ function _delegate(address implementation) internal virtual { assembly { // Copy msg.data. We take full control of memory in this inline assembly // block because it will not return to Solidity code. We overwrite the // Solidity scratch pad at memory position 0. calldatacopy(0, 0, calldatasize()) // Call the implementation. // out and outsize are 0 because we don't know the size yet. let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0) // Copy the returned data. returndatacopy(0, 0, returndatasize()) switch result // delegatecall returns 0 on error. case 0 { revert(0, returndatasize()) } default { return(0, returndatasize()) } } } /** * @dev This is a virtual function that should be overridden so it returns the address to which the fallback function * and {_fallback} should delegate. */ function _implementation() internal view virtual returns (address); /** * @dev Delegates the current call to the address returned by `_implementation()`. * * This function does not return to its internal call site, it will return directly to the external caller. */ function _fallback() internal virtual { _beforeFallback(); _delegate(_implementation()); } /** * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if no other * function in the contract matches the call data. */ fallback() external payable virtual { _fallback(); } /** * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if call data * is empty. */ receive() external payable virtual { _fallback(); } /** * @dev Hook that is called before falling back to the implementation. Can happen as part of a manual `_fallback` * call, or as part of the Solidity `fallback` or `receive` functions. * * If overridden should call `super._beforeFallback()`. */ function _beforeFallback() internal virtual {} } // SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.3) (proxy/transparent/ProxyAdmin.sol) pragma solidity ^0.8.0; import "./TransparentUpgradeableProxy.sol"; import "../../access/Ownable.sol"; /** * @dev This is an auxiliary contract meant to be assigned as the admin of a {TransparentUpgradeableProxy}. For an * explanation of why you would want to use this see the documentation for {TransparentUpgradeableProxy}. */ contract ProxyAdmin is Ownable { /** * @dev Returns the current implementation of `proxy`. * * Requirements: * * - This contract must be the admin of `proxy`. */ function getProxyImplementation(ITransparentUpgradeableProxy proxy) public view virtual returns (address) { // We need to manually run the static call since the getter cannot be flagged as view // bytes4(keccak256("implementation()")) == 0x5c60da1b (bool success, bytes memory returndata) = address(proxy).staticcall(hex"5c60da1b"); require(success); return abi.decode(returndata, (address)); } /** * @dev Returns the current admin of `proxy`. * * Requirements: * * - This contract must be the admin of `proxy`. */ function getProxyAdmin(ITransparentUpgradeableProxy proxy) public view virtual returns (address) { // We need to manually run the static call since the getter cannot be flagged as view // bytes4(keccak256("admin()")) == 0xf851a440 (bool success, bytes memory returndata) = address(proxy).staticcall(hex"f851a440"); require(success); return abi.decode(returndata, (address)); } /** * @dev Changes the admin of `proxy` to `newAdmin`. * * Requirements: * * - This contract must be the current admin of `proxy`. */ function changeProxyAdmin(ITransparentUpgradeableProxy proxy, address newAdmin) public virtual onlyOwner { proxy.changeAdmin(newAdmin); } /** * @dev Upgrades `proxy` to `implementation`. See {TransparentUpgradeableProxy-upgradeTo}. * * Requirements: * * - This contract must be the admin of `proxy`. */ function upgrade(ITransparentUpgradeableProxy proxy, address implementation) public virtual onlyOwner { proxy.upgradeTo(implementation); } /** * @dev Upgrades `proxy` to `implementation` and calls a function on the new implementation. See * {TransparentUpgradeableProxy-upgradeToAndCall}. * * Requirements: * * - This contract must be the admin of `proxy`. */ function upgradeAndCall( ITransparentUpgradeableProxy proxy, address implementation, bytes memory data ) public payable virtual onlyOwner { proxy.upgradeToAndCall{value: msg.value}(implementation, data); } } // SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.3) (proxy/transparent/TransparentUpgradeableProxy.sol) pragma solidity ^0.8.0; import "../ERC1967/ERC1967Proxy.sol"; /** * @dev Interface for {TransparentUpgradeableProxy}. In order to implement transparency, {TransparentUpgradeableProxy} * does not implement this interface directly, and some of its functions are implemented by an internal dispatch * mechanism. The compiler is unaware that these functions are implemented by {TransparentUpgradeableProxy} and will not * include them in the ABI so this interface must be used to interact with it. */ interface ITransparentUpgradeableProxy is IERC1967 { function admin() external view returns (address); function implementation() external view returns (address); function changeAdmin(address) external; function upgradeTo(address) external; function upgradeToAndCall(address, bytes memory) external payable; } /** * @dev This contract implements a proxy that is upgradeable by an admin. * * To avoid https://medium.com/nomic-labs-blog/malicious-backdoors-in-ethereum-proxies-62629adf3357[proxy selector * clashing], which can potentially be used in an attack, this contract uses the * https://blog.openzeppelin.com/the-transparent-proxy-pattern/[transparent proxy pattern]. This pattern implies two * things that go hand in hand: * * 1. If any account other than the admin calls the proxy, the call will be forwarded to the implementation, even if * that call matches one of the admin functions exposed by the proxy itself. * 2. If the admin calls the proxy, it can access the admin functions, but its calls will never be forwarded to the * implementation. If the admin tries to call a function on the implementation it will fail with an error that says * "admin cannot fallback to proxy target". * * These properties mean that the admin account can only be used for admin actions like upgrading the proxy or changing * the admin, so it's best if it's a dedicated account that is not used for anything else. This will avoid headaches due * to sudden errors when trying to call a function from the proxy implementation. * * Our recommendation is for the dedicated account to be an instance of the {ProxyAdmin} contract. If set up this way, * you should think of the `ProxyAdmin` instance as the real administrative interface of your proxy. * * NOTE: The real interface of this proxy is that defined in `ITransparentUpgradeableProxy`. This contract does not * inherit from that interface, and instead the admin functions are implicitly implemented using a custom dispatch * mechanism in `_fallback`. Consequently, the compiler will not produce an ABI for this contract. This is necessary to * fully implement transparency without decoding reverts caused by selector clashes between the proxy and the * implementation. * * WARNING: It is not recommended to extend this contract to add additional external functions. If you do so, the compiler * will not check that there are no selector conflicts, due to the note above. A selector clash between any new function * and the functions declared in {ITransparentUpgradeableProxy} will be resolved in favor of the new one. This could * render the admin operations inaccessible, which could prevent upgradeability. Transparency may also be compromised. */ contract TransparentUpgradeableProxy is ERC1967Proxy { /** * @dev Initializes an upgradeable proxy managed by `_admin`, backed by the implementation at `_logic`, and * optionally initialized with `_data` as explained in {ERC1967Proxy-constructor}. */ constructor( address _logic, address admin_, bytes memory _data ) payable ERC1967Proxy(_logic, _data) { _changeAdmin(admin_); } /** * @dev Modifier used internally that will delegate the call to the implementation unless the sender is the admin. * * CAUTION: This modifier is deprecated, as it could cause issues if the modified function has arguments, and the * implementation provides a function with the same selector. */ modifier ifAdmin() { if (msg.sender == _getAdmin()) { _; } else { _fallback(); } } /** * @dev If caller is the admin process the call internally, otherwise transparently fallback to the proxy behavior */ function _fallback() internal virtual override { if (msg.sender == _getAdmin()) { bytes memory ret; bytes4 selector = msg.sig; if (selector == ITransparentUpgradeableProxy.upgradeTo.selector) { ret = _dispatchUpgradeTo(); } else if (selector == ITransparentUpgradeableProxy.upgradeToAndCall.selector) { ret = _dispatchUpgradeToAndCall(); } else if (selector == ITransparentUpgradeableProxy.changeAdmin.selector) { ret = _dispatchChangeAdmin(); } else if (selector == ITransparentUpgradeableProxy.admin.selector) { ret = _dispatchAdmin(); } else if (selector == ITransparentUpgradeableProxy.implementation.selector) { ret = _dispatchImplementation(); } else { revert("TransparentUpgradeableProxy: admin cannot fallback to proxy target"); } assembly { return(add(ret, 0x20), mload(ret)) } } else { super._fallback(); } } /** * @dev Returns the current admin. * * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call. * `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103` */ function _dispatchAdmin() private returns (bytes memory) { _requireZeroValue(); address admin = _getAdmin(); return abi.encode(admin); } /** * @dev Returns the current implementation. * * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call. * `0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc` */ function _dispatchImplementation() private returns (bytes memory) { _requireZeroValue(); address implementation = _implementation(); return abi.encode(implementation); } /** * @dev Changes the admin of the proxy. * * Emits an {AdminChanged} event. */ function _dispatchChangeAdmin() private returns (bytes memory) { _requireZeroValue(); address newAdmin = abi.decode(msg.data[4:], (address)); _changeAdmin(newAdmin); return ""; } /** * @dev Upgrade the implementation of the proxy. */ function _dispatchUpgradeTo() private returns (bytes memory) { _requireZeroValue(); address newImplementation = abi.decode(msg.data[4:], (address)); _upgradeToAndCall(newImplementation, bytes(""), false); return ""; } /** * @dev Upgrade the implementation of the proxy, and then call a function from the new implementation as specified * by `data`, which should be an encoded function call. This is useful to initialize new storage variables in the * proxied contract. */ function _dispatchUpgradeToAndCall() private returns (bytes memory) { (address newImplementation, bytes memory data) = abi.decode(msg.data[4:], (address, bytes)); _upgradeToAndCall(newImplementation, data, true); return ""; } /** * @dev Returns the current admin. */ function _admin() internal view virtual returns (address) { return _getAdmin(); } /** * @dev To keep this contract fully transparent, all `ifAdmin` functions must be payable. This helper is here to * emulate some proxy functions being non-payable while still allowing value to pass through. */ function _requireZeroValue() private { require(msg.value == 0); } } // SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } // SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/StorageSlot.sol) pragma solidity ^0.8.0; /** * @dev Library for reading and writing primitive types to specific storage slots. * * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts. * This library helps with reading and writing to such slots without the need for inline assembly. * * The functions in this library return Slot structs that contain a `value` member that can be used to read or write. * * Example usage to set ERC1967 implementation slot: * ``` * contract ERC1967 { * bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc; * * function _getImplementation() internal view returns (address) { * return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value; * } * * function _setImplementation(address newImplementation) internal { * require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract"); * StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation; * } * } * ``` * * _Available since v4.1 for `address`, `bool`, `bytes32`, and `uint256`._ */ library StorageSlot { struct AddressSlot { address value; } struct BooleanSlot { bool value; } struct Bytes32Slot { bytes32 value; } struct Uint256Slot { uint256 value; } /** * @dev Returns an `AddressSlot` with member `value` located at `slot`. */ function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `BooleanSlot` with member `value` located at `slot`. */ function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `Bytes32Slot` with member `value` located at `slot`. */ function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `Uint256Slot` with member `value` located at `slot`. */ function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } }