From 9b0044c7b737def5e5cc7173966b107aab1d9447 Mon Sep 17 00:00:00 2001 From: Mikhail Melnik Date: Tue, 15 Oct 2024 21:08:48 +0300 Subject: [PATCH] deploy maverick helpers --- deployments/base/Maverick2TickHelper.json | 129 +++++++ deployments/mainnet/Maverick2TickHelper.json | 129 +++++++ deployments/zksync/Maverick2TickHelper.json | 374 +++++++++++++++++++ hardhat.config.js | 2 +- 4 files changed, 633 insertions(+), 1 deletion(-) create mode 100644 deployments/base/Maverick2TickHelper.json create mode 100644 deployments/mainnet/Maverick2TickHelper.json create mode 100644 deployments/zksync/Maverick2TickHelper.json diff --git a/deployments/base/Maverick2TickHelper.json b/deployments/base/Maverick2TickHelper.json new file mode 100644 index 0000000..dda10bd --- /dev/null +++ b/deployments/base/Maverick2TickHelper.json @@ -0,0 +1,129 @@ +{ + "address": "0x75277E9da52E3Bbf365c25652f88d4370679055F", + "abi": [ + { + "inputs": [ + { + "internalType": "contract Pool", + "name": "pool", + "type": "address" + }, + { + "internalType": "int32", + "name": "limit", + "type": "int32" + } + ], + "name": "get", + "outputs": [ + { + "components": [ + { + "internalType": "uint128", + "name": "reserveA", + "type": "uint128" + }, + { + "internalType": "uint128", + "name": "reserveB", + "type": "uint128" + }, + { + "internalType": "int64", + "name": "lastTwaD8", + "type": "int64" + }, + { + "internalType": "int64", + "name": "lastLogPriceD8", + "type": "int64" + }, + { + "internalType": "uint40", + "name": "lastTimestamp", + "type": "uint40" + }, + { + "internalType": "int32", + "name": "activeTick", + "type": "int32" + }, + { + "internalType": "bool", + "name": "isLocked", + "type": "bool" + }, + { + "internalType": "uint32", + "name": "binCounter", + "type": "uint32" + }, + { + "internalType": "uint8", + "name": "protocolFeeRatioD3", + "type": "uint8" + } + ], + "internalType": "struct Pool.State", + "name": "state", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "uint128", + "name": "reserveA", + "type": "uint128" + }, + { + "internalType": "uint128", + "name": "reserveB", + "type": "uint128" + } + ], + "internalType": "struct Maverick2TickHelper.Tick[]", + "name": "reserves", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "transactionHash": "0xe279a4bed034d00bfd0129adb7ac6620ad383e20ca46ee2bab611c582178973f", + "receipt": { + "to": null, + "from": "0x11799622F4D98A24514011E8527B969f7488eF47", + "contractAddress": "0x75277E9da52E3Bbf365c25652f88d4370679055F", + "transactionIndex": 86, + "gasUsed": "470231", + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "blockHash": "0x049cc59bade50e23c9e272e8783ce7f4ba8d5ad961720a8883d14b9be253cd03", + "transactionHash": "0xe279a4bed034d00bfd0129adb7ac6620ad383e20ca46ee2bab611c582178973f", + "logs": [], + "blockNumber": 21112913, + "cumulativeGasUsed": "13547178", + "status": 1, + "byzantium": true + }, + "args": [], + "numDeployments": 1, + "solcInputHash": "327b212d1cebf2aa947b75e5b3f23528", + "metadata": "{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract Pool\",\"name\":\"pool\",\"type\":\"address\"},{\"internalType\":\"int32\",\"name\":\"limit\",\"type\":\"int32\"}],\"name\":\"get\",\"outputs\":[{\"components\":[{\"internalType\":\"uint128\",\"name\":\"reserveA\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"reserveB\",\"type\":\"uint128\"},{\"internalType\":\"int64\",\"name\":\"lastTwaD8\",\"type\":\"int64\"},{\"internalType\":\"int64\",\"name\":\"lastLogPriceD8\",\"type\":\"int64\"},{\"internalType\":\"uint40\",\"name\":\"lastTimestamp\",\"type\":\"uint40\"},{\"internalType\":\"int32\",\"name\":\"activeTick\",\"type\":\"int32\"},{\"internalType\":\"bool\",\"name\":\"isLocked\",\"type\":\"bool\"},{\"internalType\":\"uint32\",\"name\":\"binCounter\",\"type\":\"uint32\"},{\"internalType\":\"uint8\",\"name\":\"protocolFeeRatioD3\",\"type\":\"uint8\"}],\"internalType\":\"struct Pool.State\",\"name\":\"state\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint128\",\"name\":\"reserveA\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"reserveB\",\"type\":\"uint128\"}],\"internalType\":\"struct Maverick2TickHelper.Tick[]\",\"name\":\"reserves\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/Maverick2.sol\":\"Maverick2TickHelper\"},\"evmVersion\":\"shanghai\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[],\"viaIR\":true},\"sources\":{\"contracts/Maverick2.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity 0.8.23;\\n\\ninterface Pool {\\n struct TickState {\\n uint128 reserveA;\\n uint128 reserveB;\\n uint128 totalSupply;\\n uint32[4] binIdsByTick;\\n }\\n struct State {\\n uint128 reserveA;\\n uint128 reserveB;\\n int64 lastTwaD8;\\n int64 lastLogPriceD8;\\n uint40 lastTimestamp;\\n int32 activeTick;\\n bool isLocked;\\n uint32 binCounter;\\n uint8 protocolFeeRatioD3;\\n }\\n\\n function getTick(int32 tick) external view returns (TickState memory _tick);\\n function getState() external view returns (State memory);\\n}\\n\\ncontract Maverick2TickHelper {\\n struct Tick {\\n uint128 reserveA;\\n uint128 reserveB;\\n }\\n\\n function get(Pool pool, int32 limit) public view returns(Pool.State memory state, Tick[] memory reserves) {\\n state = pool.getState();\\n uint32 len = uint32(limit*2+1);\\n reserves = new Tick[](len);\\n for (uint32 i = 0; i < len; i++) {\\n Pool.TickState memory tick = pool.getTick(state.activeTick-limit+int32(i));\\n reserves[i].reserveA = tick.reserveA;\\n reserves[i].reserveB = tick.reserveB;\\n }\\n }\\n}\\n\",\"keccak256\":\"0x86f5d2b0c8d2ec5cb8b1882d50f6ccbb72a0cc1190771ded8366d0a91f3c956a\",\"license\":\"MIT\"}},\"version\":1}", + "bytecode": "0x6080806040523461001657610790908161001b8239f35b5f80fdfe6080806040526004361015610012575f80fd5b5f3560e01c63cd81f23014610025575f80fd5b346103ac5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126103ac576004359073ffffffffffffffffffffffffffffffffffffffff821682036103ac57602435908160030b82036103ac57610100816100915f9361064b565b8281528260208201528260408201528260608201528260808201528260a08201528260c08201528260e08201520152604051907f1865c57d0000000000000000000000000000000000000000000000000000000082526101208260048173ffffffffffffffffffffffffffffffffffffffff87165afa9182156103b8575f92610563575b508060030b60011b8060030b9081036103c357600101917fffffffffffffffffffffffffffffffffffffffffffffffffffffffff800000008312637fffffff8413176103c35761016a63ffffffff8416610701565b916101786040519384610684565b63ffffffff841680845261018b90610701565b5f5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0820181106104d85750505f5b63ffffffff851663ffffffff821610156103f0578160030b60a084015160030b03637fffffff81137fffffffffffffffffffffffffffffffffffffffffffffffffffffffff800000008212176103c35763ffffffff821660030b9060030b017fffffffffffffffffffffffffffffffffffffffffffffffffffffffff800000008112637fffffff8213176103c357604051907f3256cfa900000000000000000000000000000000000000000000000000000000825260030b600482015260e08160248173ffffffffffffffffffffffffffffffffffffffff8b165afa9081156103b8575f916102f2575b50600163ffffffff92839260206fffffffffffffffffffffffffffffffff91828151166102d38786168c610719565b515201511660206102e68584168a610719565b510152011690506101ba565b60e091503d82116103b0575b6103088282610684565b60e08183810103126103ac576040519161032183610668565b61032a826106c5565b8352610338602083016106c5565b6020840152610349604083016106c5565b6040840152808201607f830112156103ac576040519161036883610668565b8291810160e08201116103ac5760608101915b60e08201831061039457505050606082015260016102a4565b602080916103a1856106f0565b81520192019161037b565b5f80fd5b3d91506102fe565b6040513d5f823e3d90fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b83836040519182916101408084019060ff6101006fffffffffffffffffffffffffffffffff94858151168852856020820151166020890152604081015160070b6040890152606081015160070b606089015264ffffffffff608082015116608089015260a081015160030b60a089015260c0810151151560c089015263ffffffff60e08201511660e08901520151166101008601526101208501528251809152602061016085019301915f905b8282106104ac57505050500390f35b91938395506040602091848360019597518281511684520151168382015201950192018594939161049d565b60405180604081011067ffffffffffffffff604083011117610536577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe091816040602093016040525f81525f8382015282828901015201905061018d565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b909150610120813d61012011610643575b816105826101209383610684565b810103126103ac57604051906105978261064b565b6105a0816106c5565b82526105ae602082016106c5565b60208301526105bf604082016106e2565b60408301526105d0606082016106e2565b6060830152608081015164ffffffffff811681036103ac57608083015260a08101518060030b81036103ac5760a083015260c08101519081151582036103ac576101009160c084015261062560e082016106f0565b60e0840152015160ff811681036103ac57610100820152905f610115565b3d9150610574565b610120810190811067ffffffffffffffff82111761053657604052565b6080810190811067ffffffffffffffff82111761053657604052565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff82111761053657604052565b51906fffffffffffffffffffffffffffffffff821682036103ac57565b51908160070b82036103ac57565b519063ffffffff821682036103ac57565b67ffffffffffffffff81116105365760051b60200190565b805182101561072d5760209160051b010190565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffdfea264697066735822122005ebc56cb70cbb2a917b3269161876f6c8e8f0c00cf68e6d8f86590d9970df9f64736f6c63430008170033", + "deployedBytecode": "0x6080806040526004361015610012575f80fd5b5f3560e01c63cd81f23014610025575f80fd5b346103ac5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126103ac576004359073ffffffffffffffffffffffffffffffffffffffff821682036103ac57602435908160030b82036103ac57610100816100915f9361064b565b8281528260208201528260408201528260608201528260808201528260a08201528260c08201528260e08201520152604051907f1865c57d0000000000000000000000000000000000000000000000000000000082526101208260048173ffffffffffffffffffffffffffffffffffffffff87165afa9182156103b8575f92610563575b508060030b60011b8060030b9081036103c357600101917fffffffffffffffffffffffffffffffffffffffffffffffffffffffff800000008312637fffffff8413176103c35761016a63ffffffff8416610701565b916101786040519384610684565b63ffffffff841680845261018b90610701565b5f5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0820181106104d85750505f5b63ffffffff851663ffffffff821610156103f0578160030b60a084015160030b03637fffffff81137fffffffffffffffffffffffffffffffffffffffffffffffffffffffff800000008212176103c35763ffffffff821660030b9060030b017fffffffffffffffffffffffffffffffffffffffffffffffffffffffff800000008112637fffffff8213176103c357604051907f3256cfa900000000000000000000000000000000000000000000000000000000825260030b600482015260e08160248173ffffffffffffffffffffffffffffffffffffffff8b165afa9081156103b8575f916102f2575b50600163ffffffff92839260206fffffffffffffffffffffffffffffffff91828151166102d38786168c610719565b515201511660206102e68584168a610719565b510152011690506101ba565b60e091503d82116103b0575b6103088282610684565b60e08183810103126103ac576040519161032183610668565b61032a826106c5565b8352610338602083016106c5565b6020840152610349604083016106c5565b6040840152808201607f830112156103ac576040519161036883610668565b8291810160e08201116103ac5760608101915b60e08201831061039457505050606082015260016102a4565b602080916103a1856106f0565b81520192019161037b565b5f80fd5b3d91506102fe565b6040513d5f823e3d90fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b83836040519182916101408084019060ff6101006fffffffffffffffffffffffffffffffff94858151168852856020820151166020890152604081015160070b6040890152606081015160070b606089015264ffffffffff608082015116608089015260a081015160030b60a089015260c0810151151560c089015263ffffffff60e08201511660e08901520151166101008601526101208501528251809152602061016085019301915f905b8282106104ac57505050500390f35b91938395506040602091848360019597518281511684520151168382015201950192018594939161049d565b60405180604081011067ffffffffffffffff604083011117610536577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe091816040602093016040525f81525f8382015282828901015201905061018d565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b909150610120813d61012011610643575b816105826101209383610684565b810103126103ac57604051906105978261064b565b6105a0816106c5565b82526105ae602082016106c5565b60208301526105bf604082016106e2565b60408301526105d0606082016106e2565b6060830152608081015164ffffffffff811681036103ac57608083015260a08101518060030b81036103ac5760a083015260c08101519081151582036103ac576101009160c084015261062560e082016106f0565b60e0840152015160ff811681036103ac57610100820152905f610115565b3d9150610574565b610120810190811067ffffffffffffffff82111761053657604052565b6080810190811067ffffffffffffffff82111761053657604052565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff82111761053657604052565b51906fffffffffffffffffffffffffffffffff821682036103ac57565b51908160070b82036103ac57565b519063ffffffff821682036103ac57565b67ffffffffffffffff81116105365760051b60200190565b805182101561072d5760209160051b010190565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffdfea264697066735822122005ebc56cb70cbb2a917b3269161876f6c8e8f0c00cf68e6d8f86590d9970df9f64736f6c63430008170033", + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + }, + "storageLayout": { + "storage": [], + "types": null + } +} \ No newline at end of file diff --git a/deployments/mainnet/Maverick2TickHelper.json b/deployments/mainnet/Maverick2TickHelper.json new file mode 100644 index 0000000..eab10e6 --- /dev/null +++ b/deployments/mainnet/Maverick2TickHelper.json @@ -0,0 +1,129 @@ +{ + "address": "0x1666EF2e729daB497a6798a4221D0e041111DcD4", + "abi": [ + { + "inputs": [ + { + "internalType": "contract Pool", + "name": "pool", + "type": "address" + }, + { + "internalType": "int32", + "name": "limit", + "type": "int32" + } + ], + "name": "get", + "outputs": [ + { + "components": [ + { + "internalType": "uint128", + "name": "reserveA", + "type": "uint128" + }, + { + "internalType": "uint128", + "name": "reserveB", + "type": "uint128" + }, + { + "internalType": "int64", + "name": "lastTwaD8", + "type": "int64" + }, + { + "internalType": "int64", + "name": "lastLogPriceD8", + "type": "int64" + }, + { + "internalType": "uint40", + "name": "lastTimestamp", + "type": "uint40" + }, + { + "internalType": "int32", + "name": "activeTick", + "type": "int32" + }, + { + "internalType": "bool", + "name": "isLocked", + "type": "bool" + }, + { + "internalType": "uint32", + "name": "binCounter", + "type": "uint32" + }, + { + "internalType": "uint8", + "name": "protocolFeeRatioD3", + "type": "uint8" + } + ], + "internalType": "struct Pool.State", + "name": "state", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "uint128", + "name": "reserveA", + "type": "uint128" + }, + { + "internalType": "uint128", + "name": "reserveB", + "type": "uint128" + } + ], + "internalType": "struct Maverick2TickHelper.Tick[]", + "name": "reserves", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "transactionHash": "0xc537bf53d5be72f5a25ceea6d1c5fc9a469057dee5534120bbb849b9e1a9ad57", + "receipt": { + "to": null, + "from": "0x11799622F4D98A24514011E8527B969f7488eF47", + "contractAddress": "0x1666EF2e729daB497a6798a4221D0e041111DcD4", + "transactionIndex": 60, + "gasUsed": "470231", + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "blockHash": "0x7257897f0e593ba65e5bb2f31266cfb897cc6d4b31a87a5ff83a08b86197f738", + "transactionHash": "0xc537bf53d5be72f5a25ceea6d1c5fc9a469057dee5534120bbb849b9e1a9ad57", + "logs": [], + "blockNumber": 20972601, + "cumulativeGasUsed": "3767762", + "status": 1, + "byzantium": true + }, + "args": [], + "numDeployments": 1, + "solcInputHash": "327b212d1cebf2aa947b75e5b3f23528", + "metadata": "{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract Pool\",\"name\":\"pool\",\"type\":\"address\"},{\"internalType\":\"int32\",\"name\":\"limit\",\"type\":\"int32\"}],\"name\":\"get\",\"outputs\":[{\"components\":[{\"internalType\":\"uint128\",\"name\":\"reserveA\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"reserveB\",\"type\":\"uint128\"},{\"internalType\":\"int64\",\"name\":\"lastTwaD8\",\"type\":\"int64\"},{\"internalType\":\"int64\",\"name\":\"lastLogPriceD8\",\"type\":\"int64\"},{\"internalType\":\"uint40\",\"name\":\"lastTimestamp\",\"type\":\"uint40\"},{\"internalType\":\"int32\",\"name\":\"activeTick\",\"type\":\"int32\"},{\"internalType\":\"bool\",\"name\":\"isLocked\",\"type\":\"bool\"},{\"internalType\":\"uint32\",\"name\":\"binCounter\",\"type\":\"uint32\"},{\"internalType\":\"uint8\",\"name\":\"protocolFeeRatioD3\",\"type\":\"uint8\"}],\"internalType\":\"struct Pool.State\",\"name\":\"state\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint128\",\"name\":\"reserveA\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"reserveB\",\"type\":\"uint128\"}],\"internalType\":\"struct Maverick2TickHelper.Tick[]\",\"name\":\"reserves\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/Maverick2.sol\":\"Maverick2TickHelper\"},\"evmVersion\":\"shanghai\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[],\"viaIR\":true},\"sources\":{\"contracts/Maverick2.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity 0.8.23;\\n\\ninterface Pool {\\n struct TickState {\\n uint128 reserveA;\\n uint128 reserveB;\\n uint128 totalSupply;\\n uint32[4] binIdsByTick;\\n }\\n struct State {\\n uint128 reserveA;\\n uint128 reserveB;\\n int64 lastTwaD8;\\n int64 lastLogPriceD8;\\n uint40 lastTimestamp;\\n int32 activeTick;\\n bool isLocked;\\n uint32 binCounter;\\n uint8 protocolFeeRatioD3;\\n }\\n\\n function getTick(int32 tick) external view returns (TickState memory _tick);\\n function getState() external view returns (State memory);\\n}\\n\\ncontract Maverick2TickHelper {\\n struct Tick {\\n uint128 reserveA;\\n uint128 reserveB;\\n }\\n\\n function get(Pool pool, int32 limit) public view returns(Pool.State memory state, Tick[] memory reserves) {\\n state = pool.getState();\\n uint32 len = uint32(limit*2+1);\\n reserves = new Tick[](len);\\n for (uint32 i = 0; i < len; i++) {\\n Pool.TickState memory tick = pool.getTick(state.activeTick-limit+int32(i));\\n reserves[i].reserveA = tick.reserveA;\\n reserves[i].reserveB = tick.reserveB;\\n }\\n }\\n}\\n\",\"keccak256\":\"0x86f5d2b0c8d2ec5cb8b1882d50f6ccbb72a0cc1190771ded8366d0a91f3c956a\",\"license\":\"MIT\"}},\"version\":1}", + "bytecode": "0x6080806040523461001657610790908161001b8239f35b5f80fdfe6080806040526004361015610012575f80fd5b5f3560e01c63cd81f23014610025575f80fd5b346103ac5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126103ac576004359073ffffffffffffffffffffffffffffffffffffffff821682036103ac57602435908160030b82036103ac57610100816100915f9361064b565b8281528260208201528260408201528260608201528260808201528260a08201528260c08201528260e08201520152604051907f1865c57d0000000000000000000000000000000000000000000000000000000082526101208260048173ffffffffffffffffffffffffffffffffffffffff87165afa9182156103b8575f92610563575b508060030b60011b8060030b9081036103c357600101917fffffffffffffffffffffffffffffffffffffffffffffffffffffffff800000008312637fffffff8413176103c35761016a63ffffffff8416610701565b916101786040519384610684565b63ffffffff841680845261018b90610701565b5f5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0820181106104d85750505f5b63ffffffff851663ffffffff821610156103f0578160030b60a084015160030b03637fffffff81137fffffffffffffffffffffffffffffffffffffffffffffffffffffffff800000008212176103c35763ffffffff821660030b9060030b017fffffffffffffffffffffffffffffffffffffffffffffffffffffffff800000008112637fffffff8213176103c357604051907f3256cfa900000000000000000000000000000000000000000000000000000000825260030b600482015260e08160248173ffffffffffffffffffffffffffffffffffffffff8b165afa9081156103b8575f916102f2575b50600163ffffffff92839260206fffffffffffffffffffffffffffffffff91828151166102d38786168c610719565b515201511660206102e68584168a610719565b510152011690506101ba565b60e091503d82116103b0575b6103088282610684565b60e08183810103126103ac576040519161032183610668565b61032a826106c5565b8352610338602083016106c5565b6020840152610349604083016106c5565b6040840152808201607f830112156103ac576040519161036883610668565b8291810160e08201116103ac5760608101915b60e08201831061039457505050606082015260016102a4565b602080916103a1856106f0565b81520192019161037b565b5f80fd5b3d91506102fe565b6040513d5f823e3d90fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b83836040519182916101408084019060ff6101006fffffffffffffffffffffffffffffffff94858151168852856020820151166020890152604081015160070b6040890152606081015160070b606089015264ffffffffff608082015116608089015260a081015160030b60a089015260c0810151151560c089015263ffffffff60e08201511660e08901520151166101008601526101208501528251809152602061016085019301915f905b8282106104ac57505050500390f35b91938395506040602091848360019597518281511684520151168382015201950192018594939161049d565b60405180604081011067ffffffffffffffff604083011117610536577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe091816040602093016040525f81525f8382015282828901015201905061018d565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b909150610120813d61012011610643575b816105826101209383610684565b810103126103ac57604051906105978261064b565b6105a0816106c5565b82526105ae602082016106c5565b60208301526105bf604082016106e2565b60408301526105d0606082016106e2565b6060830152608081015164ffffffffff811681036103ac57608083015260a08101518060030b81036103ac5760a083015260c08101519081151582036103ac576101009160c084015261062560e082016106f0565b60e0840152015160ff811681036103ac57610100820152905f610115565b3d9150610574565b610120810190811067ffffffffffffffff82111761053657604052565b6080810190811067ffffffffffffffff82111761053657604052565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff82111761053657604052565b51906fffffffffffffffffffffffffffffffff821682036103ac57565b51908160070b82036103ac57565b519063ffffffff821682036103ac57565b67ffffffffffffffff81116105365760051b60200190565b805182101561072d5760209160051b010190565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffdfea264697066735822122005ebc56cb70cbb2a917b3269161876f6c8e8f0c00cf68e6d8f86590d9970df9f64736f6c63430008170033", + "deployedBytecode": "0x6080806040526004361015610012575f80fd5b5f3560e01c63cd81f23014610025575f80fd5b346103ac5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126103ac576004359073ffffffffffffffffffffffffffffffffffffffff821682036103ac57602435908160030b82036103ac57610100816100915f9361064b565b8281528260208201528260408201528260608201528260808201528260a08201528260c08201528260e08201520152604051907f1865c57d0000000000000000000000000000000000000000000000000000000082526101208260048173ffffffffffffffffffffffffffffffffffffffff87165afa9182156103b8575f92610563575b508060030b60011b8060030b9081036103c357600101917fffffffffffffffffffffffffffffffffffffffffffffffffffffffff800000008312637fffffff8413176103c35761016a63ffffffff8416610701565b916101786040519384610684565b63ffffffff841680845261018b90610701565b5f5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0820181106104d85750505f5b63ffffffff851663ffffffff821610156103f0578160030b60a084015160030b03637fffffff81137fffffffffffffffffffffffffffffffffffffffffffffffffffffffff800000008212176103c35763ffffffff821660030b9060030b017fffffffffffffffffffffffffffffffffffffffffffffffffffffffff800000008112637fffffff8213176103c357604051907f3256cfa900000000000000000000000000000000000000000000000000000000825260030b600482015260e08160248173ffffffffffffffffffffffffffffffffffffffff8b165afa9081156103b8575f916102f2575b50600163ffffffff92839260206fffffffffffffffffffffffffffffffff91828151166102d38786168c610719565b515201511660206102e68584168a610719565b510152011690506101ba565b60e091503d82116103b0575b6103088282610684565b60e08183810103126103ac576040519161032183610668565b61032a826106c5565b8352610338602083016106c5565b6020840152610349604083016106c5565b6040840152808201607f830112156103ac576040519161036883610668565b8291810160e08201116103ac5760608101915b60e08201831061039457505050606082015260016102a4565b602080916103a1856106f0565b81520192019161037b565b5f80fd5b3d91506102fe565b6040513d5f823e3d90fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b83836040519182916101408084019060ff6101006fffffffffffffffffffffffffffffffff94858151168852856020820151166020890152604081015160070b6040890152606081015160070b606089015264ffffffffff608082015116608089015260a081015160030b60a089015260c0810151151560c089015263ffffffff60e08201511660e08901520151166101008601526101208501528251809152602061016085019301915f905b8282106104ac57505050500390f35b91938395506040602091848360019597518281511684520151168382015201950192018594939161049d565b60405180604081011067ffffffffffffffff604083011117610536577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe091816040602093016040525f81525f8382015282828901015201905061018d565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b909150610120813d61012011610643575b816105826101209383610684565b810103126103ac57604051906105978261064b565b6105a0816106c5565b82526105ae602082016106c5565b60208301526105bf604082016106e2565b60408301526105d0606082016106e2565b6060830152608081015164ffffffffff811681036103ac57608083015260a08101518060030b81036103ac5760a083015260c08101519081151582036103ac576101009160c084015261062560e082016106f0565b60e0840152015160ff811681036103ac57610100820152905f610115565b3d9150610574565b610120810190811067ffffffffffffffff82111761053657604052565b6080810190811067ffffffffffffffff82111761053657604052565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff82111761053657604052565b51906fffffffffffffffffffffffffffffffff821682036103ac57565b51908160070b82036103ac57565b519063ffffffff821682036103ac57565b67ffffffffffffffff81116105365760051b60200190565b805182101561072d5760209160051b010190565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffdfea264697066735822122005ebc56cb70cbb2a917b3269161876f6c8e8f0c00cf68e6d8f86590d9970df9f64736f6c63430008170033", + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + }, + "storageLayout": { + "storage": [], + "types": null + } +} \ No newline at end of file diff --git a/deployments/zksync/Maverick2TickHelper.json b/deployments/zksync/Maverick2TickHelper.json new file mode 100644 index 0000000..2cbf427 --- /dev/null +++ b/deployments/zksync/Maverick2TickHelper.json @@ -0,0 +1,374 @@ +{ + "address": "0x995bA9E88902cEF5C802c3A60A659699fB5a1fd0", + "abi": [ + { + "inputs": [ + { + "internalType": "contract Pool", + "name": "pool", + "type": "address" + }, + { + "internalType": "int32", + "name": "limit", + "type": "int32" + } + ], + "name": "get", + "outputs": [ + { + "components": [ + { + "internalType": "uint128", + "name": "reserveA", + "type": "uint128" + }, + { + "internalType": "uint128", + "name": "reserveB", + "type": "uint128" + }, + { + "internalType": "int64", + "name": "lastTwaD8", + "type": "int64" + }, + { + "internalType": "int64", + "name": "lastLogPriceD8", + "type": "int64" + }, + { + "internalType": "uint40", + "name": "lastTimestamp", + "type": "uint40" + }, + { + "internalType": "int32", + "name": "activeTick", + "type": "int32" + }, + { + "internalType": "bool", + "name": "isLocked", + "type": "bool" + }, + { + "internalType": "uint32", + "name": "binCounter", + "type": "uint32" + }, + { + "internalType": "uint8", + "name": "protocolFeeRatioD3", + "type": "uint8" + } + ], + "internalType": "struct Pool.State", + "name": "state", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "uint128", + "name": "reserveA", + "type": "uint128" + }, + { + "internalType": "uint128", + "name": "reserveB", + "type": "uint128" + } + ], + "internalType": "struct Maverick2TickHelper.Tick[]", + "name": "reserves", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "transactionHash": "0x4826ee386261f0f95e54b878b820b8e6536a9a152dd4c317242e7e595aec1c6c", + "receipt": { + "to": "0x0000000000000000000000000000000000008006", + "from": "0x11799622F4D98A24514011E8527B969f7488eF47", + "contractAddress": "0x995bA9E88902cEF5C802c3A60A659699fB5a1fd0", + "transactionIndex": 1, + "gasUsed": "3762967", + "logsBloom": "0x00000100000400080000010000000000000008000020400000000000000080000000000000020000000000000001000000000000000000000000000000200000000100000000050000000028000040000400000000000000000000000000880000000000020100000000000000000800000000000000400000000010000004000000001000000000000004000100000000000100000000000000000000000080800040000000100000000000800100000000000000000000002000010000000000000002008000000000000040000000000010000100000000000000000028000000000000000000000000000000000000000040000000000000000080000000", + "blockHash": "0xcdb07148c7b548eb206cd28ef7ea73761ff6bf12e4eb97a8a9e9092ce949f686", + "transactionHash": "0x4826ee386261f0f95e54b878b820b8e6536a9a152dd4c317242e7e595aec1c6c", + "logs": [ + { + "transactionIndex": 1, + "blockNumber": 46638062, + "transactionHash": "0x4826ee386261f0f95e54b878b820b8e6536a9a152dd4c317242e7e595aec1c6c", + "address": "0x000000000000000000000000000000000000800A", + "topics": [ + "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef", + "0x00000000000000000000000011799622f4d98a24514011e8527b969f7488ef47", + "0x0000000000000000000000000000000000000000000000000000000000008001" + ], + "data": "0x0000000000000000000000000000000000000000000000000001148d87b9b6b0", + "logIndex": 3, + "blockHash": "0xcdb07148c7b548eb206cd28ef7ea73761ff6bf12e4eb97a8a9e9092ce949f686" + }, + { + "transactionIndex": 1, + "blockNumber": 46638062, + "transactionHash": "0x4826ee386261f0f95e54b878b820b8e6536a9a152dd4c317242e7e595aec1c6c", + "address": "0x0000000000000000000000000000000000008008", + "topics": [ + "0x27fe8c0b49f49507b9d4fe5968c9f49edfe5c9df277d433a07a0717ede97638d" + ], + "data": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000002e60000000000000000000000000000000000000000000000000000000000008008000000000000000000000000000000000000000000000000000000000000800eded802d9e412e6a317bc6aea3770408610166d16a71353e937866f833c7e7435", + "logIndex": 4, + "blockHash": "0xcdb07148c7b548eb206cd28ef7ea73761ff6bf12e4eb97a8a9e9092ce949f686" + }, + { + "transactionIndex": 1, + "blockNumber": 46638062, + "transactionHash": "0x4826ee386261f0f95e54b878b820b8e6536a9a152dd4c317242e7e595aec1c6c", + "address": "0x0000000000000000000000000000000000008008", + "topics": [ + "0x3a36e47291f4201faf137fab081d92295bce2d53be2c6ca68ba82c7faa9ce241", + "0x000000000000000000000000000000000000000000000000000000000000800e", + "0xded802d9e412e6a317bc6aea3770408610166d16a71353e937866f833c7e7435" + ], + "data": "0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000012b201a90000000000000000ffffffffffffffff000000b50000213d000000b50000c13d0000000000240435000000000023043500000000020204330000023e000104300000021f0000213d0000000002006019000000000042004b0000009c00200198000000400020043f0000000004034019000000000121019f00000000010060190000009601000041000000b50000413d00000001002001908000000000000000000000a801000041000000040010043f000000000010043f000000ab01000041000000000232019f000000e00030008c00000095001001980000000001010433000002190000413d000000a20020009c0000000008980436000000007907043c000000000701034f000000900020009c000000000454019f00000000040060190000009b0020009c00000000006504350000009001008041000000900010009c0000023d0001042e000001200030008c000000000002004bffffffff0000000000000000ffffffff000000000001042d0000009d020000410000009e0320019700000000003204350000009b01100197000002250000a13d000000000056004b0000000004000019000000000064004b0000009b0050009c00000000022104360000000002000039000000e0040000390000000000120435000000950210009a00000097021001970000000005000019000000a70f00004100000020022000390000000000450435000000400050043f000000400400043d00000000020000190000021f0000c13d000000000012004b0000009602000041000000000112019f00000040022002100000009002008041000000000005004b000000000048004b0000000008020019000000c20000613d0000000004620019000000400200043d0000009a063001980000001f0530018f0000000004000039000000960400004100000095002001980000009e052001970000009d040000410000001f0140003900000011060000290000000d09000029000000000003001f000000000686019f0000000008050433000000900330019700000060033002700000000003010019023c02370000040f000000c001100210000d00000009001d00000120040000390000000001000414000000400010043f000000900220019780d3a2a6977c108db9f79e9ddde43f12717d0d147735abe3814ce420fb16b38f4e487b7100000000ffffffffffffff7f00000024000000003256cfa900000000ffffffffffffffbf0000003fffffffc000000000fffffffe000000007ffffffe0000000040000000000000ffffffffff7fffffffffffffff00000000ffffffe000000004000001a01865c57d00000000000000007fffffffffffffff800000000000000080000000cd81f23000000000000000400000010000000002000000000000023c0000043200000001020000390000023a00210423000000c20000013d000002320000c13d000000320100003900000041010000390000001101000039000000400110021000000060022002100000000002120049000002040000413d000000000034004b000000010440003900000040022000390000009b06600197000000000606043300000000055204360000009b055001970000000065050434000000000507043300000020077000390000000c07000029000002100000613d000000000003004b0000016002100039000001400210003900000000030a04330000010003100039000000ff0220018f0000000000430435000001400400003900000120031000390000000102000029000000e0031000390000000202000029000000c003100039000000010200c0390000000302000029000000a0031000390000009703200197000000100200002900000080031000390000009f02200197000000040200002900000060031000390000000502000029000000400310003900000006020000290000009b0330019700000000030304330000000703000029000000400100043d0000009b021001970000000801000029000001090000413d0000000000c5004b0000009005100197000000010160003900000000020404330000000001020433000000000061004b00000000010a0433000000000015043500000000050404330000000004d40019000000050460021000000000040a04330000006005100039000001a10000413d0000000007870436000000900080009c00000000680604340000000007040019000001a70000813d0000006006b00039000000000065004b000000e005b000390000008005400039000000a90040009c000000000504c019000000aa0080009c000000aa04008041000000aa05004041000000000057004b000000000857013f000000aa07400197000000aa056001970000007f04b000390000000006b400190000000000560435000000400610003900000000050504330000004005b000390000000000520435000000000506043300000000020b04330000008002100039000000a90010009c000000a50010009c0000000102004039000000000021004b0000000001b20019000001e00210018f0000000e060000290000022b0000613d000000090e0000290000000a0d0000290000000b0c0000290000000c0a00002900000000067601cf000000000676022f0000010007700089000000000606043b000000000878022f00000000087801cf0000000307700210000000000661034f0000015d0000613d0000001f074001900000014c0000c13d000000000058004b00000000080b0019000001500000613d0000000f056000290000000f0b000029000000e006400190000f0000000b001d00000000020e0019000000a8011001c700000000020b401900000090020000410000009000b0009c000e00000006001d000001670000013d000001330000c13d001100000005001d0000000400e0008c0000000402b000390000000006fb0436000000400b00043d0000000001210019000000000141019f0000009704100197000000000224019f0000000004004019000000950050009c00000097025001970000000001910049000000100100002900090000000e001d000a0000000d001d000b0000000c001d000c0000000a001d000000940e600197000000f40000413d0000000005d200190000000000040435000000000005043500000020054000390000004005400039000000a60040009c000000000dca04360000000100400190000000a50020009c00000001040040390000000000a2004b00000000022a0019000000400a00043d000000a4022001970000003f021000390000000501c00210000000010c1001bf000000a301100197000000970210009a000002190000c13d000000000242019f000000a1041001970000000101900210000000a0009001980000000000210435000100000001001d000002a00110003900000060013002100000000000140435000000000161019f00000000015101cf000000000151022f0000010005500089000000000101043b000000000656022f00000000065601cf00000000060404330000000305500210000000000161034f000000cf0000613d000000be0000c13d0000000001000019000000d50000a13d000000ff0020008c000002a00200043d000200000004001d0000028004100039000002800200043d000300000004001d0000026004100039000000010400c039000002600200043d001000000004001d00000240041000390000009705200197000002400200043d000400000004001d00000220041000390000009f0020009c000002200200043d000500000004001d0000020004100039000002000200043d000600000004001d000001e004100039000001e00200043d000700000004001d000001c004100039000001c00200043d0000000804000029000001a00200043d000002c002100039000800000002001d000001a002100039000003e00110018f000000b70000613d00000000066701cf000000000767022f0000010006600089000000000707043b000000000868022f00000000086801cf0000000306600210000000000771034f000000630000613d000000000006004b000000520000c13d00000000005a004b000000000a9a0436000000008908043c000000000801034f000000560000613d000001a005700039000001e0074001900000001f0640018f000001a00a0000390000000002060019001100000006001d00000099011001c70000009101000041000001200000044300000100001004430000002001000039000000000001004b0000000001000416000000680000013d00000000030000310000003e0000c13d000000040060008c000001a00010043f0000009801000041000001800000043f000001600000043f000001400000043f000001200000043f000001000000043f000000e00000043f000000c00000043f000000a00000043f000000800000043f000001a001000039000000000019004b00000097029001970000009500900198000000000901043b0000002401100370000000940060009c000000000602043b00000004021003700000000002000416000000440020008c000000930030009c0000009203300197000000000301043b000000040020008c00000060022002700000000002010019000000360000c13d000000400030043f00000080030000390011000000000002000100000000000201a801a701a601a5001201a401a301a2006601a1001101a0019f019e0003019d0011019c002a0003019b019a019900020198019701960010000f0195000e0194000301930065019201910190018f018e018d018c018b018a01890188006401870186018500290063000d018401830182000301810180017f017e00280062002700260061017d017c017b0060017a005f005e005d00290063000d0179017801770176017501740173017201710170016f016e016d005c016c016b016a016901680167005b0025005a00120059016600580057016501640163000c002900110162000c01610024000201600004015f00240002015e015d0004015c000b0056002300550022000a0003015b015a00040159000b0056002300550022000a0003015801570004015601550002015401530004015200540053002301510022000a00030150014f0004014e002a0052014d000a0003014c014b0004014a002100020149014800040147014601450144000700510050004f004e004d0020004c001f001e004b0143004a014201410140013f013e013d013c013b013a01390138013701360021004900480047000701350134013301320046000901310130012f0045012e012d001d001c012c012b012a01290128012701260125005201240123000801220044000c01210043004201200008011f0041011e011d011c011b0040003f0045011a0119003e003d011800620117011601150114001b003c001a0010000f000e0113003b001d001c0112011100530110010f010e001a0010000f010d010c003b001d001c010b010a003c001a0010000f000e0109003a006401080107010600190039000d010501040103010201010048002700260061000e010000ff00fe0060005f005e005d00190039000d00fd00fc00fb00fa002000f9001f001e00f800f700f600f500f400f3005c00f200f100f000ef00ee00ed005b0025005a0012005900ec00eb00ea00e9003e00e800e7005700e600e500e4003800e300e200080012004400650019001100e1000800e0000c00df00240002003700de0036000200dd00dc00db0036000200da00d900d800d700d600d500d400d3003d00d20035003400d100d000cf004a0003004200ce000800cd004100cc00cb000200ca003300c900c800c700c6000200c5003300c400c3004000c200580035003200c100c0001b003100bf00be00bd00bc003200bb003100ba003f003a00b900b800b700b600b5001b00b400b3003700b200b100b0003000af0006002f000b002e0009001800ae000500ad0006002f000b002e0009001800ac000500ab000600aa00a9000500a8000600a7005400460009001800a6000500a50006002a003800a400a3000500a20006006600a1000500a00006009f009e009d009c009b0005009a009900300098009700960034009500940093009200910090008f008e0025008d008c008b008a00890021004900880027002600870047002800170016008600150014000700170016008500150014000700170016008400150014000700510050004f004e004d0020004c001f001e004b0083008200810080002d0043002d007f002800070000000000000000002c007e0000007d0000002b000000000000007c0000000000000000002c00010001000000000000007b000100010001007a00000000000000790078000000000000000000000077000000000000000000760000000000010001000000000000001300010001000100130000000000000075000000000000007400000000000000730000000000000072000100010001002b000000000000007100000000000000700000000000000001000000000000006f006e00000000000000000000006d0000000000000000006c0013000000000000006b000000000000006a0069006800670000000000000000000000000000", + "logIndex": 5, + "blockHash": "0xcdb07148c7b548eb206cd28ef7ea73761ff6bf12e4eb97a8a9e9092ce949f686" + }, + { + "transactionIndex": 1, + "blockNumber": 46638062, + "transactionHash": "0x4826ee386261f0f95e54b878b820b8e6536a9a152dd4c317242e7e595aec1c6c", + "address": "0x0000000000000000000000000000000000008004", + "topics": [ + "0xc94722ff13eacf53547c4741dab5228353a05938ffcdd5d4a2d533ae0e618287", + "0x010000ad9a279e844bdc3d0b4b61eb4e1c85dad332ababb103400beb2f74fcc1", + "0x0000000000000000000000000000000000000000000000000000000000000000" + ], + "data": "0x", + "logIndex": 6, + "blockHash": "0xcdb07148c7b548eb206cd28ef7ea73761ff6bf12e4eb97a8a9e9092ce949f686" + }, + { + "transactionIndex": 1, + "blockNumber": 46638062, + "transactionHash": "0x4826ee386261f0f95e54b878b820b8e6536a9a152dd4c317242e7e595aec1c6c", + "address": "0x0000000000000000000000000000000000008006", + "topics": [ + "0x290afdae231a3fc0bbae8b1af63698b0a1d79b21ad17df0342dfb952fe74f8e5", + "0x00000000000000000000000011799622f4d98a24514011e8527b969f7488ef47", + "0x010000ad9a279e844bdc3d0b4b61eb4e1c85dad332ababb103400beb2f74fcc1", + "0x000000000000000000000000995ba9e88902cef5c802c3a60a659699fb5a1fd0" + ], + "data": "0x", + "logIndex": 7, + "blockHash": "0xcdb07148c7b548eb206cd28ef7ea73761ff6bf12e4eb97a8a9e9092ce949f686" + }, + { + "transactionIndex": 1, + "blockNumber": 46638062, + "transactionHash": "0x4826ee386261f0f95e54b878b820b8e6536a9a152dd4c317242e7e595aec1c6c", + "address": "0x000000000000000000000000000000000000800A", + "topics": [ + "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef", + "0x0000000000000000000000000000000000000000000000000000000000008001", + "0x00000000000000000000000011799622f4d98a24514011e8527b969f7488ef47" + ], + "data": "0x000000000000000000000000000000000000000000000000000079b077233100", + "logIndex": 8, + "blockHash": "0xcdb07148c7b548eb206cd28ef7ea73761ff6bf12e4eb97a8a9e9092ce949f686" + } + ], + "blockNumber": 46638062, + "cumulativeGasUsed": "0", + "status": 1, + "byzantium": true + }, + "args": [], + "numDeployments": 1, + "solcInputHash": "b9ee7dfc208c3192b46ddd363c65c965", + "metadata": { + "llvm_options": [], + "optimizer_settings": { + "is_debug_logging_enabled": false, + "is_fallback_to_size_enabled": false, + "is_verify_each_enabled": false, + "level_back_end": "Aggressive", + "level_middle_end": "Aggressive", + "level_middle_end_size": "Zero" + }, + "solc_version": "0.8.23", + "solc_zkvm_edition": null, + "source_metadata": { + "compiler": { + "version": "0.8.23+commit.f704f362" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "inputs": [ + { + "internalType": "contract Pool", + "name": "pool", + "type": "address" + }, + { + "internalType": "int32", + "name": "limit", + "type": "int32" + } + ], + "name": "get", + "outputs": [ + { + "components": [ + { + "internalType": "uint128", + "name": "reserveA", + "type": "uint128" + }, + { + "internalType": "uint128", + "name": "reserveB", + "type": "uint128" + }, + { + "internalType": "int64", + "name": "lastTwaD8", + "type": "int64" + }, + { + "internalType": "int64", + "name": "lastLogPriceD8", + "type": "int64" + }, + { + "internalType": "uint40", + "name": "lastTimestamp", + "type": "uint40" + }, + { + "internalType": "int32", + "name": "activeTick", + "type": "int32" + }, + { + "internalType": "bool", + "name": "isLocked", + "type": "bool" + }, + { + "internalType": "uint32", + "name": "binCounter", + "type": "uint32" + }, + { + "internalType": "uint8", + "name": "protocolFeeRatioD3", + "type": "uint8" + } + ], + "internalType": "struct Pool.State", + "name": "state", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "uint128", + "name": "reserveA", + "type": "uint128" + }, + { + "internalType": "uint128", + "name": "reserveB", + "type": "uint128" + } + ], + "internalType": "struct Maverick2TickHelper.Tick[]", + "name": "reserves", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + }, + "settings": { + "compilationTarget": { + "contracts/Maverick2.sol": "Maverick2TickHelper" + }, + "evmVersion": "paris", + "libraries": {}, + "metadata": { + "bytecodeHash": "ipfs" + }, + "optimizer": { + "details": { + "constantOptimizer": false, + "cse": false, + "deduplicate": false, + "inliner": false, + "jumpdestRemover": false, + "orderLiterals": false, + "peephole": false, + "simpleCounterForLoopUncheckedIncrement": true, + "yul": true, + "yulDetails": { + "optimizerSteps": "dhfoDgvulfnTUtnIf[xa[r]EscLMcCTUtTOntnfDIulLculVcul [j]Tpeulxa[rul]xa[r]cLgvifCTUca[r]LSsTFOtfDnca[r]Iulc]jmul[jul] VcTOcul jmul:fDnTOcmu", + "stackAllocation": true + } + }, + "runs": 200 + }, + "remappings": [] + }, + "sources": { + "contracts/Maverick2.sol": { + "keccak256": "0x86f5d2b0c8d2ec5cb8b1882d50f6ccbb72a0cc1190771ded8366d0a91f3c956a", + "license": "MIT", + "urls": [ + "bzz-raw://e4aae8bbd000f55d95ea3b454cd82315341ae251d77934064f684908656950c4", + "dweb:/ipfs/QmatzYjkCwLVnHjSguCrziuJ8jdzv4iSP1SgXJVYcTtmbA" + ] + } + }, + "version": 1 + }, + "zk_version": "1.5.4" + }, + "bytecode": "0x000100000000000200110000000000020000008003000039000000400030043f0000000100200190000000360000c13d000000000201001900000060022002700000009002200197000000040020008c000000b50000413d000000000301043b0000009203300197000000930030009c000000b50000c13d000000440020008c000000b50000413d0000000002000416000000000002004b000000b50000c13d0000000402100370000000000602043b000000940060009c000000b50000213d0000002401100370000000000901043b0000009500900198000000960100004100000000010060190000009702900197000000000121019f000000000019004b000000b50000c13d000001a001000039000000400010043f000000800000043f000000a00000043f000000c00000043f000000e00000043f000001000000043f000001200000043f000001400000043f000001600000043f000001800000043f0000009801000041000001a00010043f0000000001000414000000040060008c0000003e0000c13d0000000003000031000001200030008c00000120040000390000000004034019000000680000013d0000000001000416000000000001004b000000b50000c13d00000020010000390000010000100443000001200000044300000091010000410000023d0001042e000d00000009001d000000900010009c0000009001008041000000c00110021000000099011001c7001100000006001d0000000002060019023c02370000040f000001a00a000039000000000301001900000060033002700000009003300197000001200030008c000001200400003900000000040340190000001f0640018f000001e007400190000001a005700039000000560000613d000000000801034f000000008908043c000000000a9a043600000000005a004b000000520000c13d000000000006004b000000630000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000000000003001f00000001002001900000000d09000029000000b70000613d00000011060000290000001f01400039000003e00110018f000001a002100039000800000002001d000000400020043f000001200030008c000000b50000413d000002c002100039000000400020043f000001a00200043d0000009b0020009c000000b50000213d00000008040000290000000000240435000001c00200043d0000009b0020009c000000b50000213d000001c004100039000700000004001d0000000000240435000001e00200043d0000009c002001980000009d0400004100000000040060190000009e05200197000000000454019f000000000042004b000000b50000c13d000001e004100039000600000004001d0000000000240435000002000200043d0000009c002001980000009d0400004100000000040060190000009e05200197000000000454019f000000000042004b000000b50000c13d0000020004100039000500000004001d0000000000240435000002200200043d0000009f0020009c000000b50000213d0000022004100039000400000004001d0000000000240435000002400200043d0000009500200198000000960400004100000000040060190000009705200197000000000454019f000000000042004b000000b50000c13d0000024004100039001000000004001d0000000000240435000002600200043d000000000002004b0000000004000039000000010400c039000000000042004b000000b50000c13d0000026004100039000300000004001d0000000000240435000002800200043d000000900020009c000000b50000213d0000028004100039000200000004001d0000000000240435000002a00200043d000000ff0020008c000000d50000a13d00000000010000190000023e000104300000001f0530018f0000009a06300198000000400200043d0000000004620019000000c20000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b000000be0000c13d000000000005004b000000cf0000613d000000000161034f0000000305500210000000000604043300000000065601cf000000000656022f000000000101043b0000010005500089000000000151022f00000000015101cf000000000161019f00000000001404350000006001300210000000900020009c00000090020080410000004002200210000000000112019f0000023e00010430000002a001100039000100000001001d0000000000210435000000a000900198000000960200004100000000020060190000000101900210000000a104100197000000000242019f000000000012004b000002190000c13d000000970210009a000000a20020009c000002190000413d000000a301100197000000010c1001bf0000000501c002100000003f02100039000000a402200197000000400a00043d00000000022a00190000000000a2004b00000000040000390000000104004039000000a50020009c0000021f0000213d00000001004001900000021f0000c13d000000400020043f000000000dca04360000000002000019000000400400043d000000a60040009c0000021f0000213d0000004005400039000000400050043f0000002005400039000000000005043500000000000404350000000005d2001900000000004504350000002002200039000000000012004b000000f40000413d000000940e600197000000a70f0000410000000005000019000c0000000a001d000d00000009001d000b0000000c001d000a0000000d001d00090000000e001d000000100100002900000000010104330000009702100197000000950010019800000096010000410000000001006019000000000121019f0000000001910049000000950210009a000000a20020009c000002190000413d0000009702500197000000950050009c00000096040000410000000004004019000000000224019f0000009704100197000000950010019800000096010000410000000001006019000000000141019f0000000001210019000000950210009a000000a20020009c000002190000413d000000400b00043d0000000006fb04360000009702100197000000950010019800000096010000410000000001006019000000000121019f0000000402b00039000000000012043500000000010004140000000400e0008c001100000005001d000001330000c13d000000e00030008c000000e0040000390000000004034019000001670000013d000e00000006001d0000009000b0009c000000900200004100000000020b40190000004002200210000000900010009c0000009001008041000000c001100210000000000121019f000000a8011001c700000000020e0019000f0000000b001d023c02370000040f000000000301001900000060033002700000009003300197000000e00030008c000000e0040000390000000004034019000000e0064001900000000f0b0000290000000f05600029000001500000613d000000000701034f00000000080b0019000000007907043c0000000008980436000000000058004b0000014c0000c13d0000001f074001900000015d0000613d000000000661034f0000000307700210000000000805043300000000087801cf000000000878022f000000000606043b0000010007700089000000000676022f00000000067601cf000000000686019f0000000000650435000000000003001f00000001002001900000000d090000290000000c0a0000290000000b0c0000290000000a0d000029000000090e000029000000a70f0000410000022b0000613d0000000e060000290000001f01400039000001e00210018f0000000001b20019000000000021004b00000000020000390000000102004039000000a50010009c0000021f0000213d00000001002001900000021f0000c13d000000400010043f000000e00030008c000000b50000413d000000a90010009c0000021f0000213d0000008002100039000000400020043f00000000020b04330000009b0020009c000000b50000213d000000000221043600000000050604330000009b0050009c000000b50000213d00000000005204350000004005b0003900000000050504330000009b0050009c000000b50000213d000000400610003900000000005604350000000006b400190000007f04b00039000000aa05600197000000aa07400197000000000857013f000000000057004b0000000005000019000000aa05004041000000000064004b0000000004000019000000aa04008041000000aa0080009c000000000504c019000000000005004b000000b50000c13d000000400400043d000000a90040009c0000021f0000213d0000008005400039000000400050043f000000e005b00039000000000065004b000000b50000213d0000006006b00039000000000056004b000001a70000813d00000000070400190000000068060434000000900080009c000000b50000213d0000000007870436000000000056004b000001a10000413d0000006005100039000000000045043500000000040a04330000001106000029000000000064004b000002250000a13d00000005046002100000000004d4001900000000010104330000009b011001970000000005040433000000000015043500000000010a0433000000000061004b000002250000a13d00000000010204330000009b01100197000000000204043300000020022000390000000000120435000000010160003900000090051001970000000000c5004b000001090000413d000000080100002900000000010104330000009b02100197000000400100043d0000000002210436000000070300002900000000030304330000009b033001970000000000320435000000060200002900000000020204330000009e032001970000009c002001980000009d020000410000000002006019000000000232019f00000040031000390000000000230435000000050200002900000000020204330000009e032001970000009c002001980000009d020000410000000002006019000000000232019f00000060031000390000000000230435000000040200002900000000020204330000009f0220019700000080031000390000000000230435000000100200002900000000020204330000009703200197000000950020019800000096020000410000000002006019000000000232019f000000a003100039000000000023043500000003020000290000000002020433000000000002004b0000000002000039000000010200c039000000c0031000390000000000230435000000020200002900000000020204330000009002200197000000e003100039000000000023043500000001020000290000000002020433000001200310003900000140040000390000000000430435000000ff0220018f0000010003100039000000000023043500000000030a0433000001400210003900000000003204350000016002100039000000000003004b000002100000613d00000000040000190000000c070000290000002007700039000000000507043300000000650504340000009b05500197000000000552043600000000060604330000009b06600197000000000065043500000040022000390000000104400039000000000034004b000002040000413d0000000002120049000000900020009c00000090020080410000006002200210000000900010009c00000090010080410000004001100210000000000112019f0000023d0001042e000000ab01000041000000000010043f0000001101000039000000040010043f000000a8010000410000023e00010430000000ab01000041000000000010043f0000004101000039000000040010043f000000a8010000410000023e00010430000000ab01000041000000000010043f0000003201000039000000040010043f000000a8010000410000023e000104300000001f0530018f0000009a06300198000000400200043d0000000004620019000000c20000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b000002320000c13d000000c20000013d0000023a002104230000000102000039000000000001042d0000000002000019000000000001042d0000023c000004320000023d0001042e0000023e00010430000000000000000000000000000000000000000000000000000000000000000000000000ffffffff0000000200000000000000000000000000000040000001000000000000000000ffffffff00000000000000000000000000000000000000000000000000000000cd81f23000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000000080000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff80000000000000000000000000000000000000000000000000000000000000007fffffff1865c57d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000001a0000000000000000000000000000000000000000000000000000000000000000000000000ffffffe000000000000000000000000000000000ffffffffffffffffffffffffffffffff0000000000000000000000000000000000000000000000008000000000000000ffffffffffffffffffffffffffffffffffffffffffffffff80000000000000000000000000000000000000000000000000000000000000007fffffffffffffff000000000000000000000000000000000000000000000000000000ffffffffff0000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000007ffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000000000000000fffffffe0000000000000000000000000000000000000000000000000000003fffffffc0000000000000000000000000000000000000000000000000ffffffffffffffff000000000000000000000000000000000000000000000000ffffffffffffffbf3256cfa9000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffff7f80000000000000000000000000000000000000000000000000000000000000004e487b7100000000000000000000000000000000000000000000000000000000814ce420fb16b38f717d0d147735abe3b9f79e9ddde43f1280d3a2a6977c108d", + "deployedBytecode": "0x000100000000000200110000000000020000008003000039000000400030043f0000000100200190000000360000c13d000000000201001900000060022002700000009002200197000000040020008c000000b50000413d000000000301043b0000009203300197000000930030009c000000b50000c13d000000440020008c000000b50000413d0000000002000416000000000002004b000000b50000c13d0000000402100370000000000602043b000000940060009c000000b50000213d0000002401100370000000000901043b0000009500900198000000960100004100000000010060190000009702900197000000000121019f000000000019004b000000b50000c13d000001a001000039000000400010043f000000800000043f000000a00000043f000000c00000043f000000e00000043f000001000000043f000001200000043f000001400000043f000001600000043f000001800000043f0000009801000041000001a00010043f0000000001000414000000040060008c0000003e0000c13d0000000003000031000001200030008c00000120040000390000000004034019000000680000013d0000000001000416000000000001004b000000b50000c13d00000020010000390000010000100443000001200000044300000091010000410000023d0001042e000d00000009001d000000900010009c0000009001008041000000c00110021000000099011001c7001100000006001d0000000002060019023c02370000040f000001a00a000039000000000301001900000060033002700000009003300197000001200030008c000001200400003900000000040340190000001f0640018f000001e007400190000001a005700039000000560000613d000000000801034f000000008908043c000000000a9a043600000000005a004b000000520000c13d000000000006004b000000630000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000000000003001f00000001002001900000000d09000029000000b70000613d00000011060000290000001f01400039000003e00110018f000001a002100039000800000002001d000000400020043f000001200030008c000000b50000413d000002c002100039000000400020043f000001a00200043d0000009b0020009c000000b50000213d00000008040000290000000000240435000001c00200043d0000009b0020009c000000b50000213d000001c004100039000700000004001d0000000000240435000001e00200043d0000009c002001980000009d0400004100000000040060190000009e05200197000000000454019f000000000042004b000000b50000c13d000001e004100039000600000004001d0000000000240435000002000200043d0000009c002001980000009d0400004100000000040060190000009e05200197000000000454019f000000000042004b000000b50000c13d0000020004100039000500000004001d0000000000240435000002200200043d0000009f0020009c000000b50000213d0000022004100039000400000004001d0000000000240435000002400200043d0000009500200198000000960400004100000000040060190000009705200197000000000454019f000000000042004b000000b50000c13d0000024004100039001000000004001d0000000000240435000002600200043d000000000002004b0000000004000039000000010400c039000000000042004b000000b50000c13d0000026004100039000300000004001d0000000000240435000002800200043d000000900020009c000000b50000213d0000028004100039000200000004001d0000000000240435000002a00200043d000000ff0020008c000000d50000a13d00000000010000190000023e000104300000001f0530018f0000009a06300198000000400200043d0000000004620019000000c20000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b000000be0000c13d000000000005004b000000cf0000613d000000000161034f0000000305500210000000000604043300000000065601cf000000000656022f000000000101043b0000010005500089000000000151022f00000000015101cf000000000161019f00000000001404350000006001300210000000900020009c00000090020080410000004002200210000000000112019f0000023e00010430000002a001100039000100000001001d0000000000210435000000a000900198000000960200004100000000020060190000000101900210000000a104100197000000000242019f000000000012004b000002190000c13d000000970210009a000000a20020009c000002190000413d000000a301100197000000010c1001bf0000000501c002100000003f02100039000000a402200197000000400a00043d00000000022a00190000000000a2004b00000000040000390000000104004039000000a50020009c0000021f0000213d00000001004001900000021f0000c13d000000400020043f000000000dca04360000000002000019000000400400043d000000a60040009c0000021f0000213d0000004005400039000000400050043f0000002005400039000000000005043500000000000404350000000005d2001900000000004504350000002002200039000000000012004b000000f40000413d000000940e600197000000a70f0000410000000005000019000c0000000a001d000d00000009001d000b0000000c001d000a0000000d001d00090000000e001d000000100100002900000000010104330000009702100197000000950010019800000096010000410000000001006019000000000121019f0000000001910049000000950210009a000000a20020009c000002190000413d0000009702500197000000950050009c00000096040000410000000004004019000000000224019f0000009704100197000000950010019800000096010000410000000001006019000000000141019f0000000001210019000000950210009a000000a20020009c000002190000413d000000400b00043d0000000006fb04360000009702100197000000950010019800000096010000410000000001006019000000000121019f0000000402b00039000000000012043500000000010004140000000400e0008c001100000005001d000001330000c13d000000e00030008c000000e0040000390000000004034019000001670000013d000e00000006001d0000009000b0009c000000900200004100000000020b40190000004002200210000000900010009c0000009001008041000000c001100210000000000121019f000000a8011001c700000000020e0019000f0000000b001d023c02370000040f000000000301001900000060033002700000009003300197000000e00030008c000000e0040000390000000004034019000000e0064001900000000f0b0000290000000f05600029000001500000613d000000000701034f00000000080b0019000000007907043c0000000008980436000000000058004b0000014c0000c13d0000001f074001900000015d0000613d000000000661034f0000000307700210000000000805043300000000087801cf000000000878022f000000000606043b0000010007700089000000000676022f00000000067601cf000000000686019f0000000000650435000000000003001f00000001002001900000000d090000290000000c0a0000290000000b0c0000290000000a0d000029000000090e000029000000a70f0000410000022b0000613d0000000e060000290000001f01400039000001e00210018f0000000001b20019000000000021004b00000000020000390000000102004039000000a50010009c0000021f0000213d00000001002001900000021f0000c13d000000400010043f000000e00030008c000000b50000413d000000a90010009c0000021f0000213d0000008002100039000000400020043f00000000020b04330000009b0020009c000000b50000213d000000000221043600000000050604330000009b0050009c000000b50000213d00000000005204350000004005b0003900000000050504330000009b0050009c000000b50000213d000000400610003900000000005604350000000006b400190000007f04b00039000000aa05600197000000aa07400197000000000857013f000000000057004b0000000005000019000000aa05004041000000000064004b0000000004000019000000aa04008041000000aa0080009c000000000504c019000000000005004b000000b50000c13d000000400400043d000000a90040009c0000021f0000213d0000008005400039000000400050043f000000e005b00039000000000065004b000000b50000213d0000006006b00039000000000056004b000001a70000813d00000000070400190000000068060434000000900080009c000000b50000213d0000000007870436000000000056004b000001a10000413d0000006005100039000000000045043500000000040a04330000001106000029000000000064004b000002250000a13d00000005046002100000000004d4001900000000010104330000009b011001970000000005040433000000000015043500000000010a0433000000000061004b000002250000a13d00000000010204330000009b01100197000000000204043300000020022000390000000000120435000000010160003900000090051001970000000000c5004b000001090000413d000000080100002900000000010104330000009b02100197000000400100043d0000000002210436000000070300002900000000030304330000009b033001970000000000320435000000060200002900000000020204330000009e032001970000009c002001980000009d020000410000000002006019000000000232019f00000040031000390000000000230435000000050200002900000000020204330000009e032001970000009c002001980000009d020000410000000002006019000000000232019f00000060031000390000000000230435000000040200002900000000020204330000009f0220019700000080031000390000000000230435000000100200002900000000020204330000009703200197000000950020019800000096020000410000000002006019000000000232019f000000a003100039000000000023043500000003020000290000000002020433000000000002004b0000000002000039000000010200c039000000c0031000390000000000230435000000020200002900000000020204330000009002200197000000e003100039000000000023043500000001020000290000000002020433000001200310003900000140040000390000000000430435000000ff0220018f0000010003100039000000000023043500000000030a0433000001400210003900000000003204350000016002100039000000000003004b000002100000613d00000000040000190000000c070000290000002007700039000000000507043300000000650504340000009b05500197000000000552043600000000060604330000009b06600197000000000065043500000040022000390000000104400039000000000034004b000002040000413d0000000002120049000000900020009c00000090020080410000006002200210000000900010009c00000090010080410000004001100210000000000112019f0000023d0001042e000000ab01000041000000000010043f0000001101000039000000040010043f000000a8010000410000023e00010430000000ab01000041000000000010043f0000004101000039000000040010043f000000a8010000410000023e00010430000000ab01000041000000000010043f0000003201000039000000040010043f000000a8010000410000023e000104300000001f0530018f0000009a06300198000000400200043d0000000004620019000000c20000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b000002320000c13d000000c20000013d0000023a002104230000000102000039000000000001042d0000000002000019000000000001042d0000023c000004320000023d0001042e0000023e00010430000000000000000000000000000000000000000000000000000000000000000000000000ffffffff0000000200000000000000000000000000000040000001000000000000000000ffffffff00000000000000000000000000000000000000000000000000000000cd81f23000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000000080000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff80000000000000000000000000000000000000000000000000000000000000007fffffff1865c57d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000001a0000000000000000000000000000000000000000000000000000000000000000000000000ffffffe000000000000000000000000000000000ffffffffffffffffffffffffffffffff0000000000000000000000000000000000000000000000008000000000000000ffffffffffffffffffffffffffffffffffffffffffffffff80000000000000000000000000000000000000000000000000000000000000007fffffffffffffff000000000000000000000000000000000000000000000000000000ffffffffff0000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000007ffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000000000000000fffffffe0000000000000000000000000000000000000000000000000000003fffffffc0000000000000000000000000000000000000000000000000ffffffffffffffff000000000000000000000000000000000000000000000000ffffffffffffffbf3256cfa9000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffff7f80000000000000000000000000000000000000000000000000000000000000004e487b7100000000000000000000000000000000000000000000000000000000814ce420fb16b38f717d0d147735abe3b9f79e9ddde43f1280d3a2a6977c108d", + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + }, + "storageLayout": { + "storage": [], + "types": null + } +} \ No newline at end of file diff --git a/hardhat.config.js b/hardhat.config.js index 7e509dd..1787e24 100644 --- a/hardhat.config.js +++ b/hardhat.config.js @@ -36,7 +36,7 @@ module.exports = { }, networks, zksolc: { - version: '1.3.19', + version: '1.5.4', compilerSource: 'binary', settings: {}, },