{"matchId":"55766734","creationMatch":"match","runtimeMatch":"match","verifiedAt":"2026-10-08T11:55:03Z","creationBytecode":{"onchainBytecode":"0x610120346101a457601f612e6938819003918201601f19168301916001600160401b03831184841017610190578084926080946040528339810103126101a45780516001600160a01b038116908181036101a45760208301516001600160a01b03811693908481036101a4576040820151916001600160a01b03831683036101a45760600151926001600160a01b03841684036101a45760805260a05260c05260e0526040519161110e90818401906001600160401b03821185831017610190576060938593611d5b8539825260208201523060408201520301905ff080156101855761010052604051611bb290816101a9823960805181818161019e0152818161055e015281816109650152611234015260a0518181816102a901528181610c650152818161100b01526111ce015260c05181818161035b01528181610508015261073a015260e05181818161064c015281816107b001528181610ea901528181610fc70152818161111c0152611434015261010051818181610d80015261104f0152f35b6040513d5f823e3d90fd5b634e487b7160e01b5f52604160045260245ffd5b5f80fdfe6080806040526004361015610012575f80fd5b5f905f3560e01c90816305c58df2146114835750806307b37e1c1461142457806313f47411146113fe57806330c8f01a146113d4578063367174fd146113b75780633e9394561461138d5780634578f5f01461118c5780634a8e6b2b1461116f5780634f3487581461111057806351e42ab5146110f357806354eae3e6146110d65780636c962a5a146110a4578063748f8dde1461107e5780637d9f6db51461103a5780637de1e53614610ff65780637f5a7c7b14610fb25780637f8661a114610c3057806389c68dd914610c0c57806391dd7346146106e957806396c82e57146106cb578063af6e6238146106ac578063b7122e161461063d578063c2c4c5c114610621578063c3bcd94f14610603578063ce955ea5146105df578063d89135cd14610537578063dc4c90d3146104f2578063dc9db7f1146104d4578063df24223614610255578063e99209621461022b578063eced552614610205578063f8e27f93146101d05763fc0c546a14610189575f80fd5b346101cd57806003193601126101cd576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b80fd5b50346101cd5760203660031901126101cd576101fd60ff60406020936004358152600585522054166115e2565b604051908152f35b50346101cd57806003193601126101cd576020604051676765c793fa10079d601b1b8152f35b50346101cd5760203660031901126101cd5760406020916004358152600883522054604051908152f35b5060803660031901126101cd5760043561026d6114c2565b6044356001600160a01b03811692908390036104d05783546104c157600184556040516331a9108f60e11b8152600481018290526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa90811561045b578591610483575b50336001600160a01b0390911603610475576064354211610466576103568461030a8484611570565b94600160ff19600e541617600e556040519086602083015234604083015260608201526060815261033c608082611526565b604051809381926348c8949160e01b8352600483016114e2565b0381837f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af190811561045b5785916103db575b50602081519181808201938492010103126103d7576103d1936103cb936103c592519360ff19600e5416600e556118ba565b34611519565b33611b50565b80805580f35b5f80fd5b9050843d8082843e6103ed8184611526565b8201916020818403126104575780519067ffffffffffffffff8211610453570182601f820112156104575780516104238161175a565b936104316040519586611526565b81855260208284010111610453578060208093018386015e830101525f610393565b8280fd5b5080fd5b6040513d87823e3d90fd5b633c36db5f60e01b8452600484fd5b6282b42960e81b8452600484fd5b90506020813d6020116104b9575b8161049e60209383611526565b810103126104b5576104af9061155c565b5f6102e1565b8480fd5b3d9150610491565b63558a1e0360e11b8452600484fd5b8380fd5b50346101cd57806003193601126101cd576020600a54604051908152f35b50346101cd57806003193601126101cd576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b50346101cd57806003193601126101cd5760405163d89135cd60e01b8152906020826004817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156105d357906105a0575b602090604051908152f35b506020813d6020116105cb575b816105ba60209383611526565b810103126103d75760209051610595565b3d91506105ad565b604051903d90823e3d90fd5b50346101cd5760203660031901126101cd5760206101fd6105fe6114d2565b6116fa565b50346101cd57806003193601126101cd576020600354604051908152f35b50346101cd57806003193601126101cd5761063a611a49565b80f35b50806003193601126101cd57337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316148015906106a1575b6106935761068d34600354611519565b60035580f35b6282b42960e81b8152600490fd5b50600354341161067d565b50346101cd5760203660031901126101cd5760206101fd600435611635565b50346101cd57806003193601126101cd576020600154604051908152f35b50346101cd5760203660031901126101cd5760043567ffffffffffffffff8111610457573660238201121561045757806004013567ffffffffffffffff8111610453578101366024820111610453577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690338214801590610bff575b61047557606090839003126104535760648201356001600160a01b03811692602481013592918490036104b55760405163182148ef60e01b815260a0816004817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa908115610bf4578691610b3a575b50604051916060830183811067ffffffffffffffff821117610b265760409081526001845260208085018781528583019889528251633cf3645360e21b815285516001600160a01b0390811660048301528684018051821660248401529487015162ffffff166044830152606087015160020b60648301526080870151811660848301529651151560a4820152905160c4820152975190941660e488015261012061010488015261012487018890529286610144818a885af1958615610b1b578796610ae3575b50608086901d600f0b600160ff1b8114610acf57870395600f0b851480159190610ac1575b50610ab25751859291906001600160a01b0316823b156104d05760405190632961046560e21b82526004820152838160248183875af1908115610a5f578491610a9d575b5050604051630476982d60e21b815260208160048189875af18015610a5f57610a6a575b50516040516303fd2a4560e01b815291906001600160a01b0390811690602090849060049082907f0000000000000000000000000000000000000000000000000000000000000000165afa928315610a5f578493610a23575b50813b156104d057836064926040519687958694630b0d9c0960e01b8652600486015260018060a01b0316602485015260448401525af18015610a1857610a03575b6109ff82604051906020820152602081526109f3604082611526565b604051918291826114e2565b0390f35b610a0e838092611526565b61045757816109d7565b6040513d85823e3d90fd5b9092506020813d602011610a57575b81610a3f60209383611526565b810103126104d057610a509061155c565b915f610995565b3d9150610a32565b6040513d86823e3d90fd5b92506020833d602011610a95575b81610a8560209383611526565b810103126103d75785925161093c565b3d9150610a78565b81610aa791611526565b61045357825f610918565b633c36db5f60e01b8652600486fd5b60449150013585115f6108d4565b634e487b7160e01b88526011600452602488fd5b9095506020813d602011610b13575b81610aff60209383611526565b81010312610b0f5751945f6108af565b8680fd5b3d9150610af2565b6040513d89823e3d90fd5b634e487b7160e01b88526041600452602488fd5b905060a0813d60a011610bec575b81610b5560a09383611526565b81010312610be8576040519060a0820182811067ffffffffffffffff821117610b2657604052610b848161155c565b8252610b926020820161155c565b6020830152604081015162ffffff81168103610be45760408301526060810151908160020b8203610be4576060830191909152608001516001600160a01b0381168103610b0f5760808201525f6107e8565b8780fd5b8580fd5b3d9150610b48565b6040513d88823e3d90fd5b5060ff600e54161561076e565b50346101cd5760203660031901126101cd5760206101fd610c2b6114d2565b6115e2565b50346103d75760203660031901126103d7576004355f54610fa35760015f556040516331a9108f60e11b8152600481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169190602081602481865afa908115610f16575f91610f69575b506001600160a01b03163314801590610f52575b610f4457805f52600660205260405f2054620151808101809111610f30574210610f2157600354610ea7575b610cee611a49565b82610cf882611635565b92828252600560205260ff604083205416610d1d610d15826115e2565b600154611519565b6001558252600460205260408220610d3581546115d6565b905582825260056020526040822060ff19815416905582825260076020528160408120558282526008602052816040812055828252600660205281604081205560015415610e9a575b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690813b1561045357604051634064a0cf60e11b815260048101859052838160248183875af1908115610a5f578491610e85575b5050803b1561045357604051632142170760e11b81523360048201526001600160a01b039290921660248301526044820184905282908290606490829084905af18015610e7a57610e65575b5050610e338233611b50565b6040519182527f0808b45a422e0acd47a625c74fff3eb8d6d4dd063e0845deb1e57581c27b32f560203393a380805580f35b81610e6f91611526565b61045357825f610e27565b6040513d84823e3d90fd5b81610e8f91611526565b61045357825f610ddb565b610ea2611ab4565b610d7e565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316803b156103d7575f8091600460405180948193633a047bb360e01b83525af18015610f1657610f01575b50610ce6565b610f0e9193505f90611526565b5f915f610efb565b6040513d5f823e3d90fd5b6303cb96db60e21b5f5260045ffd5b634e487b7160e01b5f52601160045260245ffd5b6282b42960e81b5f5260045ffd5b50805f52600560205260ff60405f20541615610cba565b90506020813d602011610f9b575b81610f8460209383611526565b810103126103d757610f959061155c565b5f610ca6565b3d9150610f77565b63558a1e0360e11b5f5260045ffd5b346103d7575f3660031901126103d7576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346103d7575f3660031901126103d7576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346103d7575f3660031901126103d7576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346103d75760403660031901126103d75760206101fd61109c6114c2565b600435611570565b346103d75760203660031901126103d75760ff6110bf6114d2565b165f526004602052602060405f2054604051908152f35b346103d7575f3660031901126103d7576020600b54604051908152f35b346103d7575f3660031901126103d7576020600254604051908152f35b611119366114ac565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03161480159061115c575b610f445761115a91611776565b005b50611167818361150c565b34141561114d565b346103d7575f3660031901126103d757602060405162278d008152f35b346103d75760403660031901126103d7576004356111a86114c2565b5f54610fa35760015f556040516331a9108f60e11b8152600481018390526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa908115610f16575f91611353575b50336001600160a01b0390911603610f44576112228183611570565b6040516303fd2a4560e01b81529091907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316602082600481845afa8015610f165784925f9161130e575b506040516323b872dd60e01b81523360048201526001600160a01b03909116602482015260448101929092526020908290815f81606481015b03925af1908115610f16575f916112d3575b50156103d7576112ce926118ba565b5f8055005b90506020813d602011611306575b816112ee60209383611526565b810103126103d7575180151581036103d757846112bf565b3d91506112e1565b9250506020823d60201161134b575b8161132a60209383611526565b810103126103d757836020916113426112ad9461155c565b91935091611274565b3d915061131d565b90506020813d602011611385575b8161136e60209383611526565b810103126103d75761137f9061155c565b83611206565b3d9150611361565b346103d75760203660031901126103d7576004355f526006602052602060405f2054604051908152f35b346103d7575f3660031901126103d7576020604051620151808152f35b346103d75760203660031901126103d7576004355f526007602052602060405f2054604051908152f35b346103d7575f3660031901126103d75760206101fd60095461141e611858565b90611519565b346103d757611432366114ac565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03163303610f44578161147b6114738361115a9561150c565b60035461150c565b600355611776565b346103d75760203660031901126103d7576020906004355f526005825260ff60405f2054168152f35b60409060031901126103d7576004359060243590565b6024359060ff821682036103d757565b6004359060ff821682036103d757565b602060409281835280519182918282860152018484015e5f828201840152601f01601f1916010190565b91908201809211610f3057565b91908203918211610f3057565b90601f8019910116810190811067ffffffffffffffff82111761154857604052565b634e487b7160e01b5f52604160045260245ffd5b51906001600160a01b03821682036103d757565b805f52600560205260ff60405f20541660ff8316908111908115916115cb575b506115bc576115a16115b9926116fa565b905f52600560205261141e60ff60405f2054166116fa565b90565b63d1459f7960e01b5f5260045ffd5b60039150115f611590565b8015610f30575f190190565b60ff16806115ef57505f90565b5f190160ff8111610f305760ff600191161b90565b81810292918115918404141715610f3057565b8115611621570490565b634e487b7160e01b5f52601260045260245ffd5b600254600154806116a1575b508161168a61169d92676765c793fa10079d601b1b945f52600860205261168460405f205491845f52600560205261167f60ff60405f2054166115e2565b611604565b9061150c565b905f52600760205260405f205490611519565b0490565b916116aa611858565b676765c793fa10079d601b1b810290808204676765c793fa10079d601b1b1490151715610f30576116f161169d93611684676765c793fa10079d601b1b9661168a94611617565b92505091611641565b60ff166001811461174b576002811461173c576003811461172d57156117295763d1459f7960e01b5f5260045ffd5b5f90565b506954b40b1f852bda00000090565b50691fc3842bd1f071c0000090565b50690a968163f0a57b40000090565b67ffffffffffffffff811161154857601f01601f191660200190565b9061177f611a49565b600154806117d3575081816117c26117ba6040947f61cb44cbea389abb97c617c7d16a62235c51f27da3406d3ec3c9ac87c0d0c8269661150c565b60095461150c565b6009555b82519182526020820152a1565b91676765c793fa10079d601b1b810291818304676765c793fa10079d601b1b1482151715610f305761183361182b7f61cb44cbea389abb97c617c7d16a62235c51f27da3406d3ec3c9ac87c0d0c82695604095611617565b60025461150c565b60025580156117c6576118488160095461150c565b600955611853611ab4565b6117c6565b6001541580156118b0575b61172957600b548042105f146118a057506115b962278d00611896425b611890600c5491600a5490611519565b90611604565b04600d5490611519565b62278d006118966115b992611880565b50600b5415611863565b90916118c4611a49565b815f52600560205260ff60405f2054166118dd816115e2565b6118ff6118ec60025483611604565b855f52600760205260405f205490611519565b845f52600860205261191660405f2091825461150c565b90556119316119286001549283611519565b611684876115e2565b6001558115908115611a2c575b60ff861695865f52600460205260405f20908154905f198214610f305761198c92600161198393019055875f52600560205260405f208960ff198254161790556115e2565b60025490611604565b855f52600760205260405f2055845f5260066020524260405f205515611a1f575b156119e6575060405192835260208301527f4e4f107f0e9557eb4a56fbc0e0697242ee73b7aa9002ceb8c344bdaf2f5d093060403393a3565b92604051938452602084015260408301527f1029612f2d373919141590030d145ff4724ec4f953268cf21bb3ef6379971c2660603393a3565b611a27611ab4565b6119ad565b825f52600460205260405f20611a4281546115d6565b905561193e565b611a51611858565b80158015611a5d575050565b611a6982600d5461150c565b600d55611a7882600954611519565b600955676765c793fa10079d601b1b8202918204676765c793fa10079d601b1b141715610f305761182b611aaf9160015490611617565b600255565b42600a5560095480600c555f600d5580158015611b46575b15611b0f5760607f1e0ab595e482d035bb08b11a96fce569f5eaa9218ba393c03e98379599abb2cc915f5b80600b556040519182524260208301526040820152a1565b62278d004201804211610f30577f1e0ab595e482d035bb08b11a96fce569f5eaa9218ba393c03e98379599abb2cc91606091611af7565b5060015415611acc565b8115611ba1575f80809381935af13d15611b9c573d611b6e8161175a565b90611b7c6040519283611526565b81525f60203d92013e5b15611b8d57565b63cef4eed760e01b5f5260045ffd5b611b86565b505056fea164736f6c634300081a000a60e0346100d157601f61110e38819003918201601f19168301916001600160401b038311848410176100d5578084926060946040528339810103126100d1578051906001600160a01b03821682036100d1576020810151906001600160a01b03821682036100d15760400151916001600160a01b03831683036100d15760805260a05260c05260405161102490816100ea823960805181818160cd01526102c8015260a051818181610361015281816106c901526109cd015260c05181818161013a015281816105590152610a380152f35b5f80fd5b634e487b7160e01b5f52604160045260245ffdfe6080806040526004361015610012575f80fd5b5f905f3560e01c908163150b7a021461095f575080631be052891461094257806326a49e371461091c5780632ad71573146108ff57806330c4e5841461073e578063571a26a0146106f85780637de1e536146106b457806380c9419e1461054357806384b3d8e91461051f5780638945257c14610193578063bd765beb14610169578063bfe1092814610124578063ca0246d6146100ff5763fc0c546a146100b8575f80fd5b346100fc57806003193601126100fc576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b80fd5b50346100fc57806003193601126100fc5760206040516969e10de76676d08000008152f35b50346100fc57806003193601126100fc576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b50346100fc5760203660031901126100fc5760406020916004358152600283522054604051908152f35b5034610426576080366003190112610426576044356001600160a01b03811690600435828203610426575f546105105760015f55805f52600160205260ff600260405f20015416158015610508575b80156104ff575b6104f0576101f681610ae7565b91606435421180156104e5575b6104d657815f5260016020525f6002604082208281558260018201550155815f5260026020528260405f2055815f52600460205260405f20546003545f1981019081116104c25761025390610e3e565b90549060031b1c61027f8161026784610e3e565b90919082549060031b91821b915f19901b1916179055565b5f52600460205260405f205560035480156104ae575f19016102a081610e3e565b8154905f199060031b1b19169055600355815f5260046020525f604081205560018060a01b037f0000000000000000000000000000000000000000000000000000000000000000166040516303fd2a4560e01b8152602081600481855afa801561041b5785915f91610465575b506040516323b872dd60e01b81523360048201526001600160a01b0390911660248201526044810191909152906020908290815f81606481015b03925af190811561041b575f9161042a575b5015610426577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316803b1561042657604051632142170760e11b81523060048201526001600160a01b03929092166024830152604482018390525f908290606490829084905af1801561041b57610406575b506040519182527f230ff444c20a90089771b54b56d9da976d972cbcd131ca7fee204c63c8a60ccd60203393a480805580f35b6104139194505f90610ab8565b5f925f6103d3565b6040513d5f823e3d90fd5b5f80fd5b90506020813d60201161045d575b8161044560209383610ab8565b8101031261042657518015158103610426575f610359565b3d9150610438565b9150506020813d6020116104a6575b8161048160209383610ab8565b810103126104265751906001600160a01b03821682036104265790849061034761030d565b3d9150610474565b634e487b7160e01b5f52603160045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b633c36db5f60e01b5f5260045ffd5b506024358311610203565b63010ab10b60e51b5f5260045ffd5b503083146101e9565b5082156101e2565b63558a1e0360e11b5f5260045ffd5b34610426575f366003190112610426576020604051690a968163f0a57b4000008152f35b34610426576020366003190112610426576004357f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036106a657805f52600160205260ff600260405f200154166104f057805f52600260205260405f2054600a810290808204600a14901517156104c2576969e10de76676d08000008110610695575b6040516105dc81610a9c565b81815260026020820191428352604081019260018452855f52600160205260405f2091518255516001820155019051151560ff80198354169116179055600354825f5260046020528060405f205568010000000000000000811015610681577f16b21250ee4692778f57023f3f4fa208b61acf19ae67f5be49ee3b824f52849b916106738461026784600160409601600355610e3e565b8151908152426020820152a2005b634e487b7160e01b5f52604160045260245ffd5b506969e10de76676d08000006105d0565b6282b42960e81b5f5260045ffd5b34610426575f366003190112610426576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b34610426576020366003190112610426576004355f526001602052606060405f2080549060ff600260018301549201541690604051928352602083015215156040820152f35b3461042657604036600319011261042657602435600435606482116108f6575b600354818181106108e75750505f915b8083116108df575b5061078082610e26565b9161078e6040519384610ab8565b808352601f1961079d82610e26565b015f5b8181106108b05750505f5b81811061081857836040518091602082016020835281518091526020604084019201905f5b8181106107de575050500390f35b91935091602060806001926060875180518352848101518584015260408101516040840152015160608201520194019101918493926107d0565b808301908184116104c25761082e600192610e3e565b90549060031b1c805f528260205260405f206040519061084d82610a9c565b805491828152604060ff60028885015494856020860152015416151591015261087583610ae7565b916040519361088385610a80565b845260208401526040830152606082015261089e8287610e6a565b526108a98186610e6a565b50016107ab565b6020906040516108bf81610a80565b5f81525f838201525f60408201525f6060820152828288010152016107a0565b915082610776565b6108f091610ada565b9161076e565b6064915061075e565b34610426575f366003190112610426576020600354604051908152f35b3461042657602036600319011261042657602061093a600435610ae7565b604051908152f35b34610426575f3660031901126104265760206040516201fa408152f35b34610426576080366003190112610426576004356001600160a01b038116908190036104265761098d610a6a565b5060643567ffffffffffffffff8111610426573660238201121561042657806004013567ffffffffffffffff8111610426573691016024011161042657337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03161480159190610a36575b508015610a1a575b6106a657630a85bd0160e11b8152602090f35b506044355f52600160205260ff600260405f2001541615610a07565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614159050826109ff565b602435906001600160a01b038216820361042657565b6080810190811067ffffffffffffffff82111761068157604052565b6060810190811067ffffffffffffffff82111761068157604052565b90601f8019910116810190811067ffffffffffffffff82111761068157604052565b919082039182116104c257565b5f52600160205260405f2060405190610aff82610a9c565b8054825260ff60026001830154928360208601520154161580156040840152610e2057610b2c9042610ada565b6201fa40811015610e10578015610e0b5781518015610df7577092efd1b8d0cf37be5aa1cae50000000000045f811315610dc65780711340daa0d5f769dba1915cef59f0815a55067d57115e47018c7177eebf7cd370a3356a1b7863008a5ae8028c72b8864284926fffffffffffffffffffffffffffffffff1060071b82811c67ffffffffffffffff1060061b1782811c63ffffffff1060051b1782811c61ffff1060041b1782811c60ff1060031b1782811c600f1060021b1782811c60031060011b1782811c6001101791606083609f03011b609f1c91605f19017d0267a36c0c95b3975ab3ee5b203a7614a3f75373f047d803ae7b6687f2b302916c0b7a86d7375468fac667a0a527816d01920d8043ca89b5239253284e42816d0a0f742023def783a307a986912e816d13cdffb29d51d99322bdff5f2211816d0df99ac502031bf953eff472fdcc816d0388eaa27412d5aca026815d636e816c465772b2bbbb5f824b15207a3081010260601d010260601d010260601d010260601d010260601d010260601d0190780a09507084cc699bb0e71ea869ffffffffffffffffffffffff19906cb9a025d814b29c212b8b1a07cd19816d02384773bdf1ac5676facced609019816c8c3f38e95a6b1ff2ab1c3b343619816d02247f7a7b6594320649aa03aba1816d0139601a2efabe717e604cbb4894816c29508e458543d8aa4df2abee7881010260601d010260601d010260601d010260601d010260601d0102010502010160ae1d91519181810291600160ff1b81145f8312166104c25781830514901517156104c2576201fa40610d869105610e7e565b908181029181830414901517156104c257670de0b6b3a76400009004690a968163f0a57b400000811015610dc35750690a968163f0a57b40000090565b90565b60405162461bcd60e51b815260206004820152600960248201526815539111519253915160ba1b6044820152606490fd5b634e487b7160e01b5f52601260045260245ffd5b505190565b5050690a968163f0a57b40000090565b50505f90565b67ffffffffffffffff81116106815760051b60200190565b600354811015610e565760035f5260205f2001905f90565b634e487b7160e01b5f52603260045260245ffd5b8051821015610e565760209160051b010190565b680248ce36a70cb26b3e1981131561101257680755bf798b4a1bf1e5811215610fde576503782dace9d990604e1b0574029d9dc38563c32e5c2f6dc192ee70ef65f9978af36001605f1b6bb17217f7d1cf79abc9e3b3988360601b050160601d916bb17217f7d1cf79abc9e3b39883029003806c10fe68e7fd37d0007b713f765081010260601d6e05180bb14799ab47a8a8cb2a527d57826e02c72388d9f74f51a9331fed693f1419816db1bbb201f443cf962f1a1d3db4a5816d1a521255e34f6a5061b25ef1c9c319816d0277594991cfc85f6e2461837cd9816c240c330e9fb2d9cbaf0fd5aafb1981010260601d010260601d010260601d010260601d010260601d01916e0587f503bb6ea29d25fcb7401964506d360d7aeea093263ecc6e0ecb291760621b926d02d16720577bd19bf614176fe9ea810190836d01d3967ed30fc4f89c02bab57081199101010260601d01020105029060c3031c90565b60405162461bcd60e51b815260206004820152600c60248201526b4558505f4f564552464c4f5760a01b6044820152606490fd5b505f9056fea164736f6c634300081a000a000000000000000000000000ce7eb1ad9e2e1c784ea05f7ea4a0fe625923d10a000000000000000000000000999ce0ce8c5f7661e0c74a568ffe27ceb9177bdb000000000000000000000000000000000004444c5dc75cb358380d2e3de08a9000000000000000000000000022fded8abce0d93979ebb2a04cfc37c110abe0cc","recompiledBytecode":"0x610120346101a457601f612e6938819003918201601f19168301916001600160401b03831184841017610190578084926080946040528339810103126101a45780516001600160a01b038116908181036101a45760208301516001600160a01b03811693908481036101a4576040820151916001600160a01b03831683036101a45760600151926001600160a01b03841684036101a45760805260a05260c05260e0526040519161110e90818401906001600160401b03821185831017610190576060938593611d5b8539825260208201523060408201520301905ff080156101855761010052604051611bb290816101a9823960805181818161019e0152818161055e015281816109650152611234015260a0518181816102a901528181610c650152818161100b01526111ce015260c05181818161035b01528181610508015261073a015260e05181818161064c015281816107b001528181610ea901528181610fc70152818161111c0152611434015261010051818181610d80015261104f0152f35b6040513d5f823e3d90fd5b634e487b7160e01b5f52604160045260245ffd5b5f80fdfe6080806040526004361015610012575f80fd5b5f905f3560e01c90816305c58df2146114835750806307b37e1c1461142457806313f47411146113fe57806330c8f01a146113d4578063367174fd146113b75780633e9394561461138d5780634578f5f01461118c5780634a8e6b2b1461116f5780634f3487581461111057806351e42ab5146110f357806354eae3e6146110d65780636c962a5a146110a4578063748f8dde1461107e5780637d9f6db51461103a5780637de1e53614610ff65780637f5a7c7b14610fb25780637f8661a114610c3057806389c68dd914610c0c57806391dd7346146106e957806396c82e57146106cb578063af6e6238146106ac578063b7122e161461063d578063c2c4c5c114610621578063c3bcd94f14610603578063ce955ea5146105df578063d89135cd14610537578063dc4c90d3146104f2578063dc9db7f1146104d4578063df24223614610255578063e99209621461022b578063eced552614610205578063f8e27f93146101d05763fc0c546a14610189575f80fd5b346101cd57806003193601126101cd576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b80fd5b50346101cd5760203660031901126101cd576101fd60ff60406020936004358152600585522054166115e2565b604051908152f35b50346101cd57806003193601126101cd576020604051676765c793fa10079d601b1b8152f35b50346101cd5760203660031901126101cd5760406020916004358152600883522054604051908152f35b5060803660031901126101cd5760043561026d6114c2565b6044356001600160a01b03811692908390036104d05783546104c157600184556040516331a9108f60e11b8152600481018290526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa90811561045b578591610483575b50336001600160a01b0390911603610475576064354211610466576103568461030a8484611570565b94600160ff19600e541617600e556040519086602083015234604083015260608201526060815261033c608082611526565b604051809381926348c8949160e01b8352600483016114e2565b0381837f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af190811561045b5785916103db575b50602081519181808201938492010103126103d7576103d1936103cb936103c592519360ff19600e5416600e556118ba565b34611519565b33611b50565b80805580f35b5f80fd5b9050843d8082843e6103ed8184611526565b8201916020818403126104575780519067ffffffffffffffff8211610453570182601f820112156104575780516104238161175a565b936104316040519586611526565b81855260208284010111610453578060208093018386015e830101525f610393565b8280fd5b5080fd5b6040513d87823e3d90fd5b633c36db5f60e01b8452600484fd5b6282b42960e81b8452600484fd5b90506020813d6020116104b9575b8161049e60209383611526565b810103126104b5576104af9061155c565b5f6102e1565b8480fd5b3d9150610491565b63558a1e0360e11b8452600484fd5b8380fd5b50346101cd57806003193601126101cd576020600a54604051908152f35b50346101cd57806003193601126101cd576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b50346101cd57806003193601126101cd5760405163d89135cd60e01b8152906020826004817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156105d357906105a0575b602090604051908152f35b506020813d6020116105cb575b816105ba60209383611526565b810103126103d75760209051610595565b3d91506105ad565b604051903d90823e3d90fd5b50346101cd5760203660031901126101cd5760206101fd6105fe6114d2565b6116fa565b50346101cd57806003193601126101cd576020600354604051908152f35b50346101cd57806003193601126101cd5761063a611a49565b80f35b50806003193601126101cd57337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316148015906106a1575b6106935761068d34600354611519565b60035580f35b6282b42960e81b8152600490fd5b50600354341161067d565b50346101cd5760203660031901126101cd5760206101fd600435611635565b50346101cd57806003193601126101cd576020600154604051908152f35b50346101cd5760203660031901126101cd5760043567ffffffffffffffff8111610457573660238201121561045757806004013567ffffffffffffffff8111610453578101366024820111610453577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690338214801590610bff575b61047557606090839003126104535760648201356001600160a01b03811692602481013592918490036104b55760405163182148ef60e01b815260a0816004817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa908115610bf4578691610b3a575b50604051916060830183811067ffffffffffffffff821117610b265760409081526001845260208085018781528583019889528251633cf3645360e21b815285516001600160a01b0390811660048301528684018051821660248401529487015162ffffff166044830152606087015160020b60648301526080870151811660848301529651151560a4820152905160c4820152975190941660e488015261012061010488015261012487018890529286610144818a885af1958615610b1b578796610ae3575b50608086901d600f0b600160ff1b8114610acf57870395600f0b851480159190610ac1575b50610ab25751859291906001600160a01b0316823b156104d05760405190632961046560e21b82526004820152838160248183875af1908115610a5f578491610a9d575b5050604051630476982d60e21b815260208160048189875af18015610a5f57610a6a575b50516040516303fd2a4560e01b815291906001600160a01b0390811690602090849060049082907f0000000000000000000000000000000000000000000000000000000000000000165afa928315610a5f578493610a23575b50813b156104d057836064926040519687958694630b0d9c0960e01b8652600486015260018060a01b0316602485015260448401525af18015610a1857610a03575b6109ff82604051906020820152602081526109f3604082611526565b604051918291826114e2565b0390f35b610a0e838092611526565b61045757816109d7565b6040513d85823e3d90fd5b9092506020813d602011610a57575b81610a3f60209383611526565b810103126104d057610a509061155c565b915f610995565b3d9150610a32565b6040513d86823e3d90fd5b92506020833d602011610a95575b81610a8560209383611526565b810103126103d75785925161093c565b3d9150610a78565b81610aa791611526565b61045357825f610918565b633c36db5f60e01b8652600486fd5b60449150013585115f6108d4565b634e487b7160e01b88526011600452602488fd5b9095506020813d602011610b13575b81610aff60209383611526565b81010312610b0f5751945f6108af565b8680fd5b3d9150610af2565b6040513d89823e3d90fd5b634e487b7160e01b88526041600452602488fd5b905060a0813d60a011610bec575b81610b5560a09383611526565b81010312610be8576040519060a0820182811067ffffffffffffffff821117610b2657604052610b848161155c565b8252610b926020820161155c565b6020830152604081015162ffffff81168103610be45760408301526060810151908160020b8203610be4576060830191909152608001516001600160a01b0381168103610b0f5760808201525f6107e8565b8780fd5b8580fd5b3d9150610b48565b6040513d88823e3d90fd5b5060ff600e54161561076e565b50346101cd5760203660031901126101cd5760206101fd610c2b6114d2565b6115e2565b50346103d75760203660031901126103d7576004355f54610fa35760015f556040516331a9108f60e11b8152600481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169190602081602481865afa908115610f16575f91610f69575b506001600160a01b03163314801590610f52575b610f4457805f52600660205260405f2054620151808101809111610f30574210610f2157600354610ea7575b610cee611a49565b82610cf882611635565b92828252600560205260ff604083205416610d1d610d15826115e2565b600154611519565b6001558252600460205260408220610d3581546115d6565b905582825260056020526040822060ff19815416905582825260076020528160408120558282526008602052816040812055828252600660205281604081205560015415610e9a575b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690813b1561045357604051634064a0cf60e11b815260048101859052838160248183875af1908115610a5f578491610e85575b5050803b1561045357604051632142170760e11b81523360048201526001600160a01b039290921660248301526044820184905282908290606490829084905af18015610e7a57610e65575b5050610e338233611b50565b6040519182527f0808b45a422e0acd47a625c74fff3eb8d6d4dd063e0845deb1e57581c27b32f560203393a380805580f35b81610e6f91611526565b61045357825f610e27565b6040513d84823e3d90fd5b81610e8f91611526565b61045357825f610ddb565b610ea2611ab4565b610d7e565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316803b156103d7575f8091600460405180948193633a047bb360e01b83525af18015610f1657610f01575b50610ce6565b610f0e9193505f90611526565b5f915f610efb565b6040513d5f823e3d90fd5b6303cb96db60e21b5f5260045ffd5b634e487b7160e01b5f52601160045260245ffd5b6282b42960e81b5f5260045ffd5b50805f52600560205260ff60405f20541615610cba565b90506020813d602011610f9b575b81610f8460209383611526565b810103126103d757610f959061155c565b5f610ca6565b3d9150610f77565b63558a1e0360e11b5f5260045ffd5b346103d7575f3660031901126103d7576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346103d7575f3660031901126103d7576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346103d7575f3660031901126103d7576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346103d75760403660031901126103d75760206101fd61109c6114c2565b600435611570565b346103d75760203660031901126103d75760ff6110bf6114d2565b165f526004602052602060405f2054604051908152f35b346103d7575f3660031901126103d7576020600b54604051908152f35b346103d7575f3660031901126103d7576020600254604051908152f35b611119366114ac565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03161480159061115c575b610f445761115a91611776565b005b50611167818361150c565b34141561114d565b346103d7575f3660031901126103d757602060405162278d008152f35b346103d75760403660031901126103d7576004356111a86114c2565b5f54610fa35760015f556040516331a9108f60e11b8152600481018390526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa908115610f16575f91611353575b50336001600160a01b0390911603610f44576112228183611570565b6040516303fd2a4560e01b81529091907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316602082600481845afa8015610f165784925f9161130e575b506040516323b872dd60e01b81523360048201526001600160a01b03909116602482015260448101929092526020908290815f81606481015b03925af1908115610f16575f916112d3575b50156103d7576112ce926118ba565b5f8055005b90506020813d602011611306575b816112ee60209383611526565b810103126103d7575180151581036103d757846112bf565b3d91506112e1565b9250506020823d60201161134b575b8161132a60209383611526565b810103126103d757836020916113426112ad9461155c565b91935091611274565b3d915061131d565b90506020813d602011611385575b8161136e60209383611526565b810103126103d75761137f9061155c565b83611206565b3d9150611361565b346103d75760203660031901126103d7576004355f526006602052602060405f2054604051908152f35b346103d7575f3660031901126103d7576020604051620151808152f35b346103d75760203660031901126103d7576004355f526007602052602060405f2054604051908152f35b346103d7575f3660031901126103d75760206101fd60095461141e611858565b90611519565b346103d757611432366114ac565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03163303610f44578161147b6114738361115a9561150c565b60035461150c565b600355611776565b346103d75760203660031901126103d7576020906004355f526005825260ff60405f2054168152f35b60409060031901126103d7576004359060243590565b6024359060ff821682036103d757565b6004359060ff821682036103d757565b602060409281835280519182918282860152018484015e5f828201840152601f01601f1916010190565b91908201809211610f3057565b91908203918211610f3057565b90601f8019910116810190811067ffffffffffffffff82111761154857604052565b634e487b7160e01b5f52604160045260245ffd5b51906001600160a01b03821682036103d757565b805f52600560205260ff60405f20541660ff8316908111908115916115cb575b506115bc576115a16115b9926116fa565b905f52600560205261141e60ff60405f2054166116fa565b90565b63d1459f7960e01b5f5260045ffd5b60039150115f611590565b8015610f30575f190190565b60ff16806115ef57505f90565b5f190160ff8111610f305760ff600191161b90565b81810292918115918404141715610f3057565b8115611621570490565b634e487b7160e01b5f52601260045260245ffd5b600254600154806116a1575b508161168a61169d92676765c793fa10079d601b1b945f52600860205261168460405f205491845f52600560205261167f60ff60405f2054166115e2565b611604565b9061150c565b905f52600760205260405f205490611519565b0490565b916116aa611858565b676765c793fa10079d601b1b810290808204676765c793fa10079d601b1b1490151715610f30576116f161169d93611684676765c793fa10079d601b1b9661168a94611617565b92505091611641565b60ff166001811461174b576002811461173c576003811461172d57156117295763d1459f7960e01b5f5260045ffd5b5f90565b506954b40b1f852bda00000090565b50691fc3842bd1f071c0000090565b50690a968163f0a57b40000090565b67ffffffffffffffff811161154857601f01601f191660200190565b9061177f611a49565b600154806117d3575081816117c26117ba6040947f61cb44cbea389abb97c617c7d16a62235c51f27da3406d3ec3c9ac87c0d0c8269661150c565b60095461150c565b6009555b82519182526020820152a1565b91676765c793fa10079d601b1b810291818304676765c793fa10079d601b1b1482151715610f305761183361182b7f61cb44cbea389abb97c617c7d16a62235c51f27da3406d3ec3c9ac87c0d0c82695604095611617565b60025461150c565b60025580156117c6576118488160095461150c565b600955611853611ab4565b6117c6565b6001541580156118b0575b61172957600b548042105f146118a057506115b962278d00611896425b611890600c5491600a5490611519565b90611604565b04600d5490611519565b62278d006118966115b992611880565b50600b5415611863565b90916118c4611a49565b815f52600560205260ff60405f2054166118dd816115e2565b6118ff6118ec60025483611604565b855f52600760205260405f205490611519565b845f52600860205261191660405f2091825461150c565b90556119316119286001549283611519565b611684876115e2565b6001558115908115611a2c575b60ff861695865f52600460205260405f20908154905f198214610f305761198c92600161198393019055875f52600560205260405f208960ff198254161790556115e2565b60025490611604565b855f52600760205260405f2055845f5260066020524260405f205515611a1f575b156119e6575060405192835260208301527f4e4f107f0e9557eb4a56fbc0e0697242ee73b7aa9002ceb8c344bdaf2f5d093060403393a3565b92604051938452602084015260408301527f1029612f2d373919141590030d145ff4724ec4f953268cf21bb3ef6379971c2660603393a3565b611a27611ab4565b6119ad565b825f52600460205260405f20611a4281546115d6565b905561193e565b611a51611858565b80158015611a5d575050565b611a6982600d5461150c565b600d55611a7882600954611519565b600955676765c793fa10079d601b1b8202918204676765c793fa10079d601b1b141715610f305761182b611aaf9160015490611617565b600255565b42600a5560095480600c555f600d5580158015611b46575b15611b0f5760607f1e0ab595e482d035bb08b11a96fce569f5eaa9218ba393c03e98379599abb2cc915f5b80600b556040519182524260208301526040820152a1565b62278d004201804211610f30577f1e0ab595e482d035bb08b11a96fce569f5eaa9218ba393c03e98379599abb2cc91606091611af7565b5060015415611acc565b8115611ba1575f80809381935af13d15611b9c573d611b6e8161175a565b90611b7c6040519283611526565b81525f60203d92013e5b15611b8d57565b63cef4eed760e01b5f5260045ffd5b611b86565b505056fea164736f6c634300081a000a60e0346100d157601f61110e38819003918201601f19168301916001600160401b038311848410176100d5578084926060946040528339810103126100d1578051906001600160a01b03821682036100d1576020810151906001600160a01b03821682036100d15760400151916001600160a01b03831683036100d15760805260a05260c05260405161102490816100ea823960805181818160cd01526102c8015260a051818181610361015281816106c901526109cd015260c05181818161013a015281816105590152610a380152f35b5f80fd5b634e487b7160e01b5f52604160045260245ffdfe6080806040526004361015610012575f80fd5b5f905f3560e01c908163150b7a021461095f575080631be052891461094257806326a49e371461091c5780632ad71573146108ff57806330c4e5841461073e578063571a26a0146106f85780637de1e536146106b457806380c9419e1461054357806384b3d8e91461051f5780638945257c14610193578063bd765beb14610169578063bfe1092814610124578063ca0246d6146100ff5763fc0c546a146100b8575f80fd5b346100fc57806003193601126100fc576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b80fd5b50346100fc57806003193601126100fc5760206040516969e10de76676d08000008152f35b50346100fc57806003193601126100fc576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b50346100fc5760203660031901126100fc5760406020916004358152600283522054604051908152f35b5034610426576080366003190112610426576044356001600160a01b03811690600435828203610426575f546105105760015f55805f52600160205260ff600260405f20015416158015610508575b80156104ff575b6104f0576101f681610ae7565b91606435421180156104e5575b6104d657815f5260016020525f6002604082208281558260018201550155815f5260026020528260405f2055815f52600460205260405f20546003545f1981019081116104c25761025390610e3e565b90549060031b1c61027f8161026784610e3e565b90919082549060031b91821b915f19901b1916179055565b5f52600460205260405f205560035480156104ae575f19016102a081610e3e565b8154905f199060031b1b19169055600355815f5260046020525f604081205560018060a01b037f0000000000000000000000000000000000000000000000000000000000000000166040516303fd2a4560e01b8152602081600481855afa801561041b5785915f91610465575b506040516323b872dd60e01b81523360048201526001600160a01b0390911660248201526044810191909152906020908290815f81606481015b03925af190811561041b575f9161042a575b5015610426577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316803b1561042657604051632142170760e11b81523060048201526001600160a01b03929092166024830152604482018390525f908290606490829084905af1801561041b57610406575b506040519182527f230ff444c20a90089771b54b56d9da976d972cbcd131ca7fee204c63c8a60ccd60203393a480805580f35b6104139194505f90610ab8565b5f925f6103d3565b6040513d5f823e3d90fd5b5f80fd5b90506020813d60201161045d575b8161044560209383610ab8565b8101031261042657518015158103610426575f610359565b3d9150610438565b9150506020813d6020116104a6575b8161048160209383610ab8565b810103126104265751906001600160a01b03821682036104265790849061034761030d565b3d9150610474565b634e487b7160e01b5f52603160045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b633c36db5f60e01b5f5260045ffd5b506024358311610203565b63010ab10b60e51b5f5260045ffd5b503083146101e9565b5082156101e2565b63558a1e0360e11b5f5260045ffd5b34610426575f366003190112610426576020604051690a968163f0a57b4000008152f35b34610426576020366003190112610426576004357f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036106a657805f52600160205260ff600260405f200154166104f057805f52600260205260405f2054600a810290808204600a14901517156104c2576969e10de76676d08000008110610695575b6040516105dc81610a9c565b81815260026020820191428352604081019260018452855f52600160205260405f2091518255516001820155019051151560ff80198354169116179055600354825f5260046020528060405f205568010000000000000000811015610681577f16b21250ee4692778f57023f3f4fa208b61acf19ae67f5be49ee3b824f52849b916106738461026784600160409601600355610e3e565b8151908152426020820152a2005b634e487b7160e01b5f52604160045260245ffd5b506969e10de76676d08000006105d0565b6282b42960e81b5f5260045ffd5b34610426575f366003190112610426576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b34610426576020366003190112610426576004355f526001602052606060405f2080549060ff600260018301549201541690604051928352602083015215156040820152f35b3461042657604036600319011261042657602435600435606482116108f6575b600354818181106108e75750505f915b8083116108df575b5061078082610e26565b9161078e6040519384610ab8565b808352601f1961079d82610e26565b015f5b8181106108b05750505f5b81811061081857836040518091602082016020835281518091526020604084019201905f5b8181106107de575050500390f35b91935091602060806001926060875180518352848101518584015260408101516040840152015160608201520194019101918493926107d0565b808301908184116104c25761082e600192610e3e565b90549060031b1c805f528260205260405f206040519061084d82610a9c565b805491828152604060ff60028885015494856020860152015416151591015261087583610ae7565b916040519361088385610a80565b845260208401526040830152606082015261089e8287610e6a565b526108a98186610e6a565b50016107ab565b6020906040516108bf81610a80565b5f81525f838201525f60408201525f6060820152828288010152016107a0565b915082610776565b6108f091610ada565b9161076e565b6064915061075e565b34610426575f366003190112610426576020600354604051908152f35b3461042657602036600319011261042657602061093a600435610ae7565b604051908152f35b34610426575f3660031901126104265760206040516201fa408152f35b34610426576080366003190112610426576004356001600160a01b038116908190036104265761098d610a6a565b5060643567ffffffffffffffff8111610426573660238201121561042657806004013567ffffffffffffffff8111610426573691016024011161042657337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03161480159190610a36575b508015610a1a575b6106a657630a85bd0160e11b8152602090f35b506044355f52600160205260ff600260405f2001541615610a07565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614159050826109ff565b602435906001600160a01b038216820361042657565b6080810190811067ffffffffffffffff82111761068157604052565b6060810190811067ffffffffffffffff82111761068157604052565b90601f8019910116810190811067ffffffffffffffff82111761068157604052565b919082039182116104c257565b5f52600160205260405f2060405190610aff82610a9c565b8054825260ff60026001830154928360208601520154161580156040840152610e2057610b2c9042610ada565b6201fa40811015610e10578015610e0b5781518015610df7577092efd1b8d0cf37be5aa1cae50000000000045f811315610dc65780711340daa0d5f769dba1915cef59f0815a55067d57115e47018c7177eebf7cd370a3356a1b7863008a5ae8028c72b8864284926fffffffffffffffffffffffffffffffff1060071b82811c67ffffffffffffffff1060061b1782811c63ffffffff1060051b1782811c61ffff1060041b1782811c60ff1060031b1782811c600f1060021b1782811c60031060011b1782811c6001101791606083609f03011b609f1c91605f19017d0267a36c0c95b3975ab3ee5b203a7614a3f75373f047d803ae7b6687f2b302916c0b7a86d7375468fac667a0a527816d01920d8043ca89b5239253284e42816d0a0f742023def783a307a986912e816d13cdffb29d51d99322bdff5f2211816d0df99ac502031bf953eff472fdcc816d0388eaa27412d5aca026815d636e816c465772b2bbbb5f824b15207a3081010260601d010260601d010260601d010260601d010260601d010260601d0190780a09507084cc699bb0e71ea869ffffffffffffffffffffffff19906cb9a025d814b29c212b8b1a07cd19816d02384773bdf1ac5676facced609019816c8c3f38e95a6b1ff2ab1c3b343619816d02247f7a7b6594320649aa03aba1816d0139601a2efabe717e604cbb4894816c29508e458543d8aa4df2abee7881010260601d010260601d010260601d010260601d010260601d0102010502010160ae1d91519181810291600160ff1b81145f8312166104c25781830514901517156104c2576201fa40610d869105610e7e565b908181029181830414901517156104c257670de0b6b3a76400009004690a968163f0a57b400000811015610dc35750690a968163f0a57b40000090565b90565b60405162461bcd60e51b815260206004820152600960248201526815539111519253915160ba1b6044820152606490fd5b634e487b7160e01b5f52601260045260245ffd5b505190565b5050690a968163f0a57b40000090565b50505f90565b67ffffffffffffffff81116106815760051b60200190565b600354811015610e565760035f5260205f2001905f90565b634e487b7160e01b5f52603260045260245ffd5b8051821015610e565760209160051b010190565b680248ce36a70cb26b3e1981131561101257680755bf798b4a1bf1e5811215610fde576503782dace9d990604e1b0574029d9dc38563c32e5c2f6dc192ee70ef65f9978af36001605f1b6bb17217f7d1cf79abc9e3b3988360601b050160601d916bb17217f7d1cf79abc9e3b39883029003806c10fe68e7fd37d0007b713f765081010260601d6e05180bb14799ab47a8a8cb2a527d57826e02c72388d9f74f51a9331fed693f1419816db1bbb201f443cf962f1a1d3db4a5816d1a521255e34f6a5061b25ef1c9c319816d0277594991cfc85f6e2461837cd9816c240c330e9fb2d9cbaf0fd5aafb1981010260601d010260601d010260601d010260601d010260601d01916e0587f503bb6ea29d25fcb7401964506d360d7aeea093263ecc6e0ecb291760621b926d02d16720577bd19bf614176fe9ea810190836d01d3967ed30fc4f89c02bab57081199101010260601d01020105029060c3031c90565b60405162461bcd60e51b815260206004820152600c60248201526b4558505f4f564552464c4f5760a01b6044820152606490fd5b505f9056fea164736f6c634300081a000a","sourceMap":"525:8349:20:-:0;;;;;;;;;;;;;-1:-1:-1;;525:8349:20;;;;-1:-1:-1;;;;;525:8349:20;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;525:8349:20;;;;;;;;;;;;-1:-1:-1;;;;;525:8349:20;;;;;;;;;;;;;;-1:-1:-1;;;;;525:8349:20;;;;;;;;;;-1:-1:-1;;;;;525:8349:20;;;;;;;2179:14;2203:24;;2237:22;;2269:12;;525:8349;;;2301:49;;;;;;-1:-1:-1;;;;;2301:49:20;;;;;;;;525:8349;2301:49;;;;;;525:8349;;;;;;2344:4;525:8349;;;;2301:49;;;-1:-1:-1;2301:49:20;;;;;2291:59;;525:8349;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2203:24;525:8349;;;;;;;;;;;;;;;;;;;;2237:22;525:8349;;;;;;;;;;;;;;;2269:12;525:8349;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2291:59;525:8349;;;;;;;;;;;2301:49;525:8349;;;-1:-1:-1;525:8349:20;;;;;2301:49;525:8349;;;-1:-1:-1;525:8349:20;;;;;-1:-1:-1;525:8349:20;;-1:-1:-1;525:8349:20;","linkReferences":{},"cborAuxdata":{},"transformations":[{"type":"insert","offset":11881,"reason":"constructorArguments"}],"transformationValues":{"constructorArguments":"0x000000000000000000000000ce7eb1ad9e2e1c784ea05f7ea4a0fe625923d10a000000000000000000000000999ce0ce8c5f7661e0c74a568ffe27ceb9177bdb000000000000000000000000000000000004444c5dc75cb358380d2e3de08a9000000000000000000000000022fded8abce0d93979ebb2a04cfc37c110abe0cc"}},"runtimeBytecode":{"onchainBytecode":"0x6080806040526004361015610012575f80fd5b5f905f3560e01c90816305c58df2146114835750806307b37e1c1461142457806313f47411146113fe57806330c8f01a146113d4578063367174fd146113b75780633e9394561461138d5780634578f5f01461118c5780634a8e6b2b1461116f5780634f3487581461111057806351e42ab5146110f357806354eae3e6146110d65780636c962a5a146110a4578063748f8dde1461107e5780637d9f6db51461103a5780637de1e53614610ff65780637f5a7c7b14610fb25780637f8661a114610c3057806389c68dd914610c0c57806391dd7346146106e957806396c82e57146106cb578063af6e6238146106ac578063b7122e161461063d578063c2c4c5c114610621578063c3bcd94f14610603578063ce955ea5146105df578063d89135cd14610537578063dc4c90d3146104f2578063dc9db7f1146104d4578063df24223614610255578063e99209621461022b578063eced552614610205578063f8e27f93146101d05763fc0c546a14610189575f80fd5b346101cd57806003193601126101cd576040517f000000000000000000000000ce7eb1ad9e2e1c784ea05f7ea4a0fe625923d10a6001600160a01b03168152602090f35b80fd5b50346101cd5760203660031901126101cd576101fd60ff60406020936004358152600585522054166115e2565b604051908152f35b50346101cd57806003193601126101cd576020604051676765c793fa10079d601b1b8152f35b50346101cd5760203660031901126101cd5760406020916004358152600883522054604051908152f35b5060803660031901126101cd5760043561026d6114c2565b6044356001600160a01b03811692908390036104d05783546104c157600184556040516331a9108f60e11b8152600481018290526020816024817f000000000000000000000000999ce0ce8c5f7661e0c74a568ffe27ceb9177bdb6001600160a01b03165afa90811561045b578591610483575b50336001600160a01b0390911603610475576064354211610466576103568461030a8484611570565b94600160ff19600e541617600e556040519086602083015234604083015260608201526060815261033c608082611526565b604051809381926348c8949160e01b8352600483016114e2565b0381837f000000000000000000000000000000000004444c5dc75cb358380d2e3de08a906001600160a01b03165af190811561045b5785916103db575b50602081519181808201938492010103126103d7576103d1936103cb936103c592519360ff19600e5416600e556118ba565b34611519565b33611b50565b80805580f35b5f80fd5b9050843d8082843e6103ed8184611526565b8201916020818403126104575780519067ffffffffffffffff8211610453570182601f820112156104575780516104238161175a565b936104316040519586611526565b81855260208284010111610453578060208093018386015e830101525f610393565b8280fd5b5080fd5b6040513d87823e3d90fd5b633c36db5f60e01b8452600484fd5b6282b42960e81b8452600484fd5b90506020813d6020116104b9575b8161049e60209383611526565b810103126104b5576104af9061155c565b5f6102e1565b8480fd5b3d9150610491565b63558a1e0360e11b8452600484fd5b8380fd5b50346101cd57806003193601126101cd576020600a54604051908152f35b50346101cd57806003193601126101cd576040517f000000000000000000000000000000000004444c5dc75cb358380d2e3de08a906001600160a01b03168152602090f35b50346101cd57806003193601126101cd5760405163d89135cd60e01b8152906020826004817f000000000000000000000000ce7eb1ad9e2e1c784ea05f7ea4a0fe625923d10a6001600160a01b03165afa9081156105d357906105a0575b602090604051908152f35b506020813d6020116105cb575b816105ba60209383611526565b810103126103d75760209051610595565b3d91506105ad565b604051903d90823e3d90fd5b50346101cd5760203660031901126101cd5760206101fd6105fe6114d2565b6116fa565b50346101cd57806003193601126101cd576020600354604051908152f35b50346101cd57806003193601126101cd5761063a611a49565b80f35b50806003193601126101cd57337f00000000000000000000000022fded8abce0d93979ebb2a04cfc37c110abe0cc6001600160a01b0316148015906106a1575b6106935761068d34600354611519565b60035580f35b6282b42960e81b8152600490fd5b50600354341161067d565b50346101cd5760203660031901126101cd5760206101fd600435611635565b50346101cd57806003193601126101cd576020600154604051908152f35b50346101cd5760203660031901126101cd5760043567ffffffffffffffff8111610457573660238201121561045757806004013567ffffffffffffffff8111610453578101366024820111610453577f000000000000000000000000000000000004444c5dc75cb358380d2e3de08a906001600160a01b031690338214801590610bff575b61047557606090839003126104535760648201356001600160a01b03811692602481013592918490036104b55760405163182148ef60e01b815260a0816004817f00000000000000000000000022fded8abce0d93979ebb2a04cfc37c110abe0cc6001600160a01b03165afa908115610bf4578691610b3a575b50604051916060830183811067ffffffffffffffff821117610b265760409081526001845260208085018781528583019889528251633cf3645360e21b815285516001600160a01b0390811660048301528684018051821660248401529487015162ffffff166044830152606087015160020b60648301526080870151811660848301529651151560a4820152905160c4820152975190941660e488015261012061010488015261012487018890529286610144818a885af1958615610b1b578796610ae3575b50608086901d600f0b600160ff1b8114610acf57870395600f0b851480159190610ac1575b50610ab25751859291906001600160a01b0316823b156104d05760405190632961046560e21b82526004820152838160248183875af1908115610a5f578491610a9d575b5050604051630476982d60e21b815260208160048189875af18015610a5f57610a6a575b50516040516303fd2a4560e01b815291906001600160a01b0390811690602090849060049082907f000000000000000000000000ce7eb1ad9e2e1c784ea05f7ea4a0fe625923d10a165afa928315610a5f578493610a23575b50813b156104d057836064926040519687958694630b0d9c0960e01b8652600486015260018060a01b0316602485015260448401525af18015610a1857610a03575b6109ff82604051906020820152602081526109f3604082611526565b604051918291826114e2565b0390f35b610a0e838092611526565b61045757816109d7565b6040513d85823e3d90fd5b9092506020813d602011610a57575b81610a3f60209383611526565b810103126104d057610a509061155c565b915f610995565b3d9150610a32565b6040513d86823e3d90fd5b92506020833d602011610a95575b81610a8560209383611526565b810103126103d75785925161093c565b3d9150610a78565b81610aa791611526565b61045357825f610918565b633c36db5f60e01b8652600486fd5b60449150013585115f6108d4565b634e487b7160e01b88526011600452602488fd5b9095506020813d602011610b13575b81610aff60209383611526565b81010312610b0f5751945f6108af565b8680fd5b3d9150610af2565b6040513d89823e3d90fd5b634e487b7160e01b88526041600452602488fd5b905060a0813d60a011610bec575b81610b5560a09383611526565b81010312610be8576040519060a0820182811067ffffffffffffffff821117610b2657604052610b848161155c565b8252610b926020820161155c565b6020830152604081015162ffffff81168103610be45760408301526060810151908160020b8203610be4576060830191909152608001516001600160a01b0381168103610b0f5760808201525f6107e8565b8780fd5b8580fd5b3d9150610b48565b6040513d88823e3d90fd5b5060ff600e54161561076e565b50346101cd5760203660031901126101cd5760206101fd610c2b6114d2565b6115e2565b50346103d75760203660031901126103d7576004355f54610fa35760015f556040516331a9108f60e11b8152600481018290527f000000000000000000000000999ce0ce8c5f7661e0c74a568ffe27ceb9177bdb6001600160a01b03169190602081602481865afa908115610f16575f91610f69575b506001600160a01b03163314801590610f52575b610f4457805f52600660205260405f2054620151808101809111610f30574210610f2157600354610ea7575b610cee611a49565b82610cf882611635565b92828252600560205260ff604083205416610d1d610d15826115e2565b600154611519565b6001558252600460205260408220610d3581546115d6565b905582825260056020526040822060ff19815416905582825260076020528160408120558282526008602052816040812055828252600660205281604081205560015415610e9a575b7f000000000000000000000000b0d2d2cfe7a1b14d1f34135c3c7a8d152c4262e96001600160a01b031690813b1561045357604051634064a0cf60e11b815260048101859052838160248183875af1908115610a5f578491610e85575b5050803b1561045357604051632142170760e11b81523360048201526001600160a01b039290921660248301526044820184905282908290606490829084905af18015610e7a57610e65575b5050610e338233611b50565b6040519182527f0808b45a422e0acd47a625c74fff3eb8d6d4dd063e0845deb1e57581c27b32f560203393a380805580f35b81610e6f91611526565b61045357825f610e27565b6040513d84823e3d90fd5b81610e8f91611526565b61045357825f610ddb565b610ea2611ab4565b610d7e565b7f00000000000000000000000022fded8abce0d93979ebb2a04cfc37c110abe0cc6001600160a01b0316803b156103d7575f8091600460405180948193633a047bb360e01b83525af18015610f1657610f01575b50610ce6565b610f0e9193505f90611526565b5f915f610efb565b6040513d5f823e3d90fd5b6303cb96db60e21b5f5260045ffd5b634e487b7160e01b5f52601160045260245ffd5b6282b42960e81b5f5260045ffd5b50805f52600560205260ff60405f20541615610cba565b90506020813d602011610f9b575b81610f8460209383611526565b810103126103d757610f959061155c565b5f610ca6565b3d9150610f77565b63558a1e0360e11b5f5260045ffd5b346103d7575f3660031901126103d7576040517f00000000000000000000000022fded8abce0d93979ebb2a04cfc37c110abe0cc6001600160a01b03168152602090f35b346103d7575f3660031901126103d7576040517f000000000000000000000000999ce0ce8c5f7661e0c74a568ffe27ceb9177bdb6001600160a01b03168152602090f35b346103d7575f3660031901126103d7576040517f000000000000000000000000b0d2d2cfe7a1b14d1f34135c3c7a8d152c4262e96001600160a01b03168152602090f35b346103d75760403660031901126103d75760206101fd61109c6114c2565b600435611570565b346103d75760203660031901126103d75760ff6110bf6114d2565b165f526004602052602060405f2054604051908152f35b346103d7575f3660031901126103d7576020600b54604051908152f35b346103d7575f3660031901126103d7576020600254604051908152f35b611119366114ac565b337f00000000000000000000000022fded8abce0d93979ebb2a04cfc37c110abe0cc6001600160a01b03161480159061115c575b610f445761115a91611776565b005b50611167818361150c565b34141561114d565b346103d7575f3660031901126103d757602060405162278d008152f35b346103d75760403660031901126103d7576004356111a86114c2565b5f54610fa35760015f556040516331a9108f60e11b8152600481018390526020816024817f000000000000000000000000999ce0ce8c5f7661e0c74a568ffe27ceb9177bdb6001600160a01b03165afa908115610f16575f91611353575b50336001600160a01b0390911603610f44576112228183611570565b6040516303fd2a4560e01b81529091907f000000000000000000000000ce7eb1ad9e2e1c784ea05f7ea4a0fe625923d10a6001600160a01b0316602082600481845afa8015610f165784925f9161130e575b506040516323b872dd60e01b81523360048201526001600160a01b03909116602482015260448101929092526020908290815f81606481015b03925af1908115610f16575f916112d3575b50156103d7576112ce926118ba565b5f8055005b90506020813d602011611306575b816112ee60209383611526565b810103126103d7575180151581036103d757846112bf565b3d91506112e1565b9250506020823d60201161134b575b8161132a60209383611526565b810103126103d757836020916113426112ad9461155c565b91935091611274565b3d915061131d565b90506020813d602011611385575b8161136e60209383611526565b810103126103d75761137f9061155c565b83611206565b3d9150611361565b346103d75760203660031901126103d7576004355f526006602052602060405f2054604051908152f35b346103d7575f3660031901126103d7576020604051620151808152f35b346103d75760203660031901126103d7576004355f526007602052602060405f2054604051908152f35b346103d7575f3660031901126103d75760206101fd60095461141e611858565b90611519565b346103d757611432366114ac565b7f00000000000000000000000022fded8abce0d93979ebb2a04cfc37c110abe0cc6001600160a01b03163303610f44578161147b6114738361115a9561150c565b60035461150c565b600355611776565b346103d75760203660031901126103d7576020906004355f526005825260ff60405f2054168152f35b60409060031901126103d7576004359060243590565b6024359060ff821682036103d757565b6004359060ff821682036103d757565b602060409281835280519182918282860152018484015e5f828201840152601f01601f1916010190565b91908201809211610f3057565b91908203918211610f3057565b90601f8019910116810190811067ffffffffffffffff82111761154857604052565b634e487b7160e01b5f52604160045260245ffd5b51906001600160a01b03821682036103d757565b805f52600560205260ff60405f20541660ff8316908111908115916115cb575b506115bc576115a16115b9926116fa565b905f52600560205261141e60ff60405f2054166116fa565b90565b63d1459f7960e01b5f5260045ffd5b60039150115f611590565b8015610f30575f190190565b60ff16806115ef57505f90565b5f190160ff8111610f305760ff600191161b90565b81810292918115918404141715610f3057565b8115611621570490565b634e487b7160e01b5f52601260045260245ffd5b600254600154806116a1575b508161168a61169d92676765c793fa10079d601b1b945f52600860205261168460405f205491845f52600560205261167f60ff60405f2054166115e2565b611604565b9061150c565b905f52600760205260405f205490611519565b0490565b916116aa611858565b676765c793fa10079d601b1b810290808204676765c793fa10079d601b1b1490151715610f30576116f161169d93611684676765c793fa10079d601b1b9661168a94611617565b92505091611641565b60ff166001811461174b576002811461173c576003811461172d57156117295763d1459f7960e01b5f5260045ffd5b5f90565b506954b40b1f852bda00000090565b50691fc3842bd1f071c0000090565b50690a968163f0a57b40000090565b67ffffffffffffffff811161154857601f01601f191660200190565b9061177f611a49565b600154806117d3575081816117c26117ba6040947f61cb44cbea389abb97c617c7d16a62235c51f27da3406d3ec3c9ac87c0d0c8269661150c565b60095461150c565b6009555b82519182526020820152a1565b91676765c793fa10079d601b1b810291818304676765c793fa10079d601b1b1482151715610f305761183361182b7f61cb44cbea389abb97c617c7d16a62235c51f27da3406d3ec3c9ac87c0d0c82695604095611617565b60025461150c565b60025580156117c6576118488160095461150c565b600955611853611ab4565b6117c6565b6001541580156118b0575b61172957600b548042105f146118a057506115b962278d00611896425b611890600c5491600a5490611519565b90611604565b04600d5490611519565b62278d006118966115b992611880565b50600b5415611863565b90916118c4611a49565b815f52600560205260ff60405f2054166118dd816115e2565b6118ff6118ec60025483611604565b855f52600760205260405f205490611519565b845f52600860205261191660405f2091825461150c565b90556119316119286001549283611519565b611684876115e2565b6001558115908115611a2c575b60ff861695865f52600460205260405f20908154905f198214610f305761198c92600161198393019055875f52600560205260405f208960ff198254161790556115e2565b60025490611604565b855f52600760205260405f2055845f5260066020524260405f205515611a1f575b156119e6575060405192835260208301527f4e4f107f0e9557eb4a56fbc0e0697242ee73b7aa9002ceb8c344bdaf2f5d093060403393a3565b92604051938452602084015260408301527f1029612f2d373919141590030d145ff4724ec4f953268cf21bb3ef6379971c2660603393a3565b611a27611ab4565b6119ad565b825f52600460205260405f20611a4281546115d6565b905561193e565b611a51611858565b80158015611a5d575050565b611a6982600d5461150c565b600d55611a7882600954611519565b600955676765c793fa10079d601b1b8202918204676765c793fa10079d601b1b141715610f305761182b611aaf9160015490611617565b600255565b42600a5560095480600c555f600d5580158015611b46575b15611b0f5760607f1e0ab595e482d035bb08b11a96fce569f5eaa9218ba393c03e98379599abb2cc915f5b80600b556040519182524260208301526040820152a1565b62278d004201804211610f30577f1e0ab595e482d035bb08b11a96fce569f5eaa9218ba393c03e98379599abb2cc91606091611af7565b5060015415611acc565b8115611ba1575f80809381935af13d15611b9c573d611b6e8161175a565b90611b7c6040519283611526565b81525f60203d92013e5b15611b8d57565b63cef4eed760e01b5f5260045ffd5b611b86565b505056fea164736f6c634300081a000a","recompiledBytecode":"0x6080806040526004361015610012575f80fd5b5f905f3560e01c90816305c58df2146114835750806307b37e1c1461142457806313f47411146113fe57806330c8f01a146113d4578063367174fd146113b75780633e9394561461138d5780634578f5f01461118c5780634a8e6b2b1461116f5780634f3487581461111057806351e42ab5146110f357806354eae3e6146110d65780636c962a5a146110a4578063748f8dde1461107e5780637d9f6db51461103a5780637de1e53614610ff65780637f5a7c7b14610fb25780637f8661a114610c3057806389c68dd914610c0c57806391dd7346146106e957806396c82e57146106cb578063af6e6238146106ac578063b7122e161461063d578063c2c4c5c114610621578063c3bcd94f14610603578063ce955ea5146105df578063d89135cd14610537578063dc4c90d3146104f2578063dc9db7f1146104d4578063df24223614610255578063e99209621461022b578063eced552614610205578063f8e27f93146101d05763fc0c546a14610189575f80fd5b346101cd57806003193601126101cd576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b80fd5b50346101cd5760203660031901126101cd576101fd60ff60406020936004358152600585522054166115e2565b604051908152f35b50346101cd57806003193601126101cd576020604051676765c793fa10079d601b1b8152f35b50346101cd5760203660031901126101cd5760406020916004358152600883522054604051908152f35b5060803660031901126101cd5760043561026d6114c2565b6044356001600160a01b03811692908390036104d05783546104c157600184556040516331a9108f60e11b8152600481018290526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa90811561045b578591610483575b50336001600160a01b0390911603610475576064354211610466576103568461030a8484611570565b94600160ff19600e541617600e556040519086602083015234604083015260608201526060815261033c608082611526565b604051809381926348c8949160e01b8352600483016114e2565b0381837f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af190811561045b5785916103db575b50602081519181808201938492010103126103d7576103d1936103cb936103c592519360ff19600e5416600e556118ba565b34611519565b33611b50565b80805580f35b5f80fd5b9050843d8082843e6103ed8184611526565b8201916020818403126104575780519067ffffffffffffffff8211610453570182601f820112156104575780516104238161175a565b936104316040519586611526565b81855260208284010111610453578060208093018386015e830101525f610393565b8280fd5b5080fd5b6040513d87823e3d90fd5b633c36db5f60e01b8452600484fd5b6282b42960e81b8452600484fd5b90506020813d6020116104b9575b8161049e60209383611526565b810103126104b5576104af9061155c565b5f6102e1565b8480fd5b3d9150610491565b63558a1e0360e11b8452600484fd5b8380fd5b50346101cd57806003193601126101cd576020600a54604051908152f35b50346101cd57806003193601126101cd576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b50346101cd57806003193601126101cd5760405163d89135cd60e01b8152906020826004817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156105d357906105a0575b602090604051908152f35b506020813d6020116105cb575b816105ba60209383611526565b810103126103d75760209051610595565b3d91506105ad565b604051903d90823e3d90fd5b50346101cd5760203660031901126101cd5760206101fd6105fe6114d2565b6116fa565b50346101cd57806003193601126101cd576020600354604051908152f35b50346101cd57806003193601126101cd5761063a611a49565b80f35b50806003193601126101cd57337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316148015906106a1575b6106935761068d34600354611519565b60035580f35b6282b42960e81b8152600490fd5b50600354341161067d565b50346101cd5760203660031901126101cd5760206101fd600435611635565b50346101cd57806003193601126101cd576020600154604051908152f35b50346101cd5760203660031901126101cd5760043567ffffffffffffffff8111610457573660238201121561045757806004013567ffffffffffffffff8111610453578101366024820111610453577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690338214801590610bff575b61047557606090839003126104535760648201356001600160a01b03811692602481013592918490036104b55760405163182148ef60e01b815260a0816004817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa908115610bf4578691610b3a575b50604051916060830183811067ffffffffffffffff821117610b265760409081526001845260208085018781528583019889528251633cf3645360e21b815285516001600160a01b0390811660048301528684018051821660248401529487015162ffffff166044830152606087015160020b60648301526080870151811660848301529651151560a4820152905160c4820152975190941660e488015261012061010488015261012487018890529286610144818a885af1958615610b1b578796610ae3575b50608086901d600f0b600160ff1b8114610acf57870395600f0b851480159190610ac1575b50610ab25751859291906001600160a01b0316823b156104d05760405190632961046560e21b82526004820152838160248183875af1908115610a5f578491610a9d575b5050604051630476982d60e21b815260208160048189875af18015610a5f57610a6a575b50516040516303fd2a4560e01b815291906001600160a01b0390811690602090849060049082907f0000000000000000000000000000000000000000000000000000000000000000165afa928315610a5f578493610a23575b50813b156104d057836064926040519687958694630b0d9c0960e01b8652600486015260018060a01b0316602485015260448401525af18015610a1857610a03575b6109ff82604051906020820152602081526109f3604082611526565b604051918291826114e2565b0390f35b610a0e838092611526565b61045757816109d7565b6040513d85823e3d90fd5b9092506020813d602011610a57575b81610a3f60209383611526565b810103126104d057610a509061155c565b915f610995565b3d9150610a32565b6040513d86823e3d90fd5b92506020833d602011610a95575b81610a8560209383611526565b810103126103d75785925161093c565b3d9150610a78565b81610aa791611526565b61045357825f610918565b633c36db5f60e01b8652600486fd5b60449150013585115f6108d4565b634e487b7160e01b88526011600452602488fd5b9095506020813d602011610b13575b81610aff60209383611526565b81010312610b0f5751945f6108af565b8680fd5b3d9150610af2565b6040513d89823e3d90fd5b634e487b7160e01b88526041600452602488fd5b905060a0813d60a011610bec575b81610b5560a09383611526565b81010312610be8576040519060a0820182811067ffffffffffffffff821117610b2657604052610b848161155c565b8252610b926020820161155c565b6020830152604081015162ffffff81168103610be45760408301526060810151908160020b8203610be4576060830191909152608001516001600160a01b0381168103610b0f5760808201525f6107e8565b8780fd5b8580fd5b3d9150610b48565b6040513d88823e3d90fd5b5060ff600e54161561076e565b50346101cd5760203660031901126101cd5760206101fd610c2b6114d2565b6115e2565b50346103d75760203660031901126103d7576004355f54610fa35760015f556040516331a9108f60e11b8152600481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169190602081602481865afa908115610f16575f91610f69575b506001600160a01b03163314801590610f52575b610f4457805f52600660205260405f2054620151808101809111610f30574210610f2157600354610ea7575b610cee611a49565b82610cf882611635565b92828252600560205260ff604083205416610d1d610d15826115e2565b600154611519565b6001558252600460205260408220610d3581546115d6565b905582825260056020526040822060ff19815416905582825260076020528160408120558282526008602052816040812055828252600660205281604081205560015415610e9a575b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690813b1561045357604051634064a0cf60e11b815260048101859052838160248183875af1908115610a5f578491610e85575b5050803b1561045357604051632142170760e11b81523360048201526001600160a01b039290921660248301526044820184905282908290606490829084905af18015610e7a57610e65575b5050610e338233611b50565b6040519182527f0808b45a422e0acd47a625c74fff3eb8d6d4dd063e0845deb1e57581c27b32f560203393a380805580f35b81610e6f91611526565b61045357825f610e27565b6040513d84823e3d90fd5b81610e8f91611526565b61045357825f610ddb565b610ea2611ab4565b610d7e565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316803b156103d7575f8091600460405180948193633a047bb360e01b83525af18015610f1657610f01575b50610ce6565b610f0e9193505f90611526565b5f915f610efb565b6040513d5f823e3d90fd5b6303cb96db60e21b5f5260045ffd5b634e487b7160e01b5f52601160045260245ffd5b6282b42960e81b5f5260045ffd5b50805f52600560205260ff60405f20541615610cba565b90506020813d602011610f9b575b81610f8460209383611526565b810103126103d757610f959061155c565b5f610ca6565b3d9150610f77565b63558a1e0360e11b5f5260045ffd5b346103d7575f3660031901126103d7576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346103d7575f3660031901126103d7576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346103d7575f3660031901126103d7576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346103d75760403660031901126103d75760206101fd61109c6114c2565b600435611570565b346103d75760203660031901126103d75760ff6110bf6114d2565b165f526004602052602060405f2054604051908152f35b346103d7575f3660031901126103d7576020600b54604051908152f35b346103d7575f3660031901126103d7576020600254604051908152f35b611119366114ac565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03161480159061115c575b610f445761115a91611776565b005b50611167818361150c565b34141561114d565b346103d7575f3660031901126103d757602060405162278d008152f35b346103d75760403660031901126103d7576004356111a86114c2565b5f54610fa35760015f556040516331a9108f60e11b8152600481018390526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa908115610f16575f91611353575b50336001600160a01b0390911603610f44576112228183611570565b6040516303fd2a4560e01b81529091907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316602082600481845afa8015610f165784925f9161130e575b506040516323b872dd60e01b81523360048201526001600160a01b03909116602482015260448101929092526020908290815f81606481015b03925af1908115610f16575f916112d3575b50156103d7576112ce926118ba565b5f8055005b90506020813d602011611306575b816112ee60209383611526565b810103126103d7575180151581036103d757846112bf565b3d91506112e1565b9250506020823d60201161134b575b8161132a60209383611526565b810103126103d757836020916113426112ad9461155c565b91935091611274565b3d915061131d565b90506020813d602011611385575b8161136e60209383611526565b810103126103d75761137f9061155c565b83611206565b3d9150611361565b346103d75760203660031901126103d7576004355f526006602052602060405f2054604051908152f35b346103d7575f3660031901126103d7576020604051620151808152f35b346103d75760203660031901126103d7576004355f526007602052602060405f2054604051908152f35b346103d7575f3660031901126103d75760206101fd60095461141e611858565b90611519565b346103d757611432366114ac565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03163303610f44578161147b6114738361115a9561150c565b60035461150c565b600355611776565b346103d75760203660031901126103d7576020906004355f526005825260ff60405f2054168152f35b60409060031901126103d7576004359060243590565b6024359060ff821682036103d757565b6004359060ff821682036103d757565b602060409281835280519182918282860152018484015e5f828201840152601f01601f1916010190565b91908201809211610f3057565b91908203918211610f3057565b90601f8019910116810190811067ffffffffffffffff82111761154857604052565b634e487b7160e01b5f52604160045260245ffd5b51906001600160a01b03821682036103d757565b805f52600560205260ff60405f20541660ff8316908111908115916115cb575b506115bc576115a16115b9926116fa565b905f52600560205261141e60ff60405f2054166116fa565b90565b63d1459f7960e01b5f5260045ffd5b60039150115f611590565b8015610f30575f190190565b60ff16806115ef57505f90565b5f190160ff8111610f305760ff600191161b90565b81810292918115918404141715610f3057565b8115611621570490565b634e487b7160e01b5f52601260045260245ffd5b600254600154806116a1575b508161168a61169d92676765c793fa10079d601b1b945f52600860205261168460405f205491845f52600560205261167f60ff60405f2054166115e2565b611604565b9061150c565b905f52600760205260405f205490611519565b0490565b916116aa611858565b676765c793fa10079d601b1b810290808204676765c793fa10079d601b1b1490151715610f30576116f161169d93611684676765c793fa10079d601b1b9661168a94611617565b92505091611641565b60ff166001811461174b576002811461173c576003811461172d57156117295763d1459f7960e01b5f5260045ffd5b5f90565b506954b40b1f852bda00000090565b50691fc3842bd1f071c0000090565b50690a968163f0a57b40000090565b67ffffffffffffffff811161154857601f01601f191660200190565b9061177f611a49565b600154806117d3575081816117c26117ba6040947f61cb44cbea389abb97c617c7d16a62235c51f27da3406d3ec3c9ac87c0d0c8269661150c565b60095461150c565b6009555b82519182526020820152a1565b91676765c793fa10079d601b1b810291818304676765c793fa10079d601b1b1482151715610f305761183361182b7f61cb44cbea389abb97c617c7d16a62235c51f27da3406d3ec3c9ac87c0d0c82695604095611617565b60025461150c565b60025580156117c6576118488160095461150c565b600955611853611ab4565b6117c6565b6001541580156118b0575b61172957600b548042105f146118a057506115b962278d00611896425b611890600c5491600a5490611519565b90611604565b04600d5490611519565b62278d006118966115b992611880565b50600b5415611863565b90916118c4611a49565b815f52600560205260ff60405f2054166118dd816115e2565b6118ff6118ec60025483611604565b855f52600760205260405f205490611519565b845f52600860205261191660405f2091825461150c565b90556119316119286001549283611519565b611684876115e2565b6001558115908115611a2c575b60ff861695865f52600460205260405f20908154905f198214610f305761198c92600161198393019055875f52600560205260405f208960ff198254161790556115e2565b60025490611604565b855f52600760205260405f2055845f5260066020524260405f205515611a1f575b156119e6575060405192835260208301527f4e4f107f0e9557eb4a56fbc0e0697242ee73b7aa9002ceb8c344bdaf2f5d093060403393a3565b92604051938452602084015260408301527f1029612f2d373919141590030d145ff4724ec4f953268cf21bb3ef6379971c2660603393a3565b611a27611ab4565b6119ad565b825f52600460205260405f20611a4281546115d6565b905561193e565b611a51611858565b80158015611a5d575050565b611a6982600d5461150c565b600d55611a7882600954611519565b600955676765c793fa10079d601b1b8202918204676765c793fa10079d601b1b141715610f305761182b611aaf9160015490611617565b600255565b42600a5560095480600c555f600d5580158015611b46575b15611b0f5760607f1e0ab595e482d035bb08b11a96fce569f5eaa9218ba393c03e98379599abb2cc915f5b80600b556040519182524260208301526040820152a1565b62278d004201804211610f30577f1e0ab595e482d035bb08b11a96fce569f5eaa9218ba393c03e98379599abb2cc91606091611af7565b5060015415611acc565b8115611ba1575f80809381935af13d15611b9c573d611b6e8161175a565b90611b7c6040519283611526565b81525f60203d92013e5b15611b8d57565b63cef4eed760e01b5f5260045ffd5b611b86565b505056fea164736f6c634300081a000a","sourceMap":"525:8349:20:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8846:19;525:8349;8846:19;;;525:8349;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;727:25;-1:-1:-1;;;;;525:8349:20;;;;;;;;;;;;;;;;-1:-1:-1;;525:8349:20;;;;2438:22;525:8349;;;;;;;;2450:5;525:8349;;;;;2438:22;:::i;:::-;525:8349;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;525:8349:20;;;;;;;;;;-1:-1:-1;;525:8349:20;;;;;;;;;;;1324:47;525:8349;;;;;;;;;;;-1:-1:-1;525:8349:20;;-1:-1:-1;;525:8349:20;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;525:8349:20;;;;;;;;;;;651:37:17;;525:8349:20;;;;;-1:-1:-1;;;6019:22:20;;525:8349;6019:22;;525:8349;;;;;;;6019:10;-1:-1:-1;;;;;525:8349:20;6019:22;;;;;;;;;;;525:8349;-1:-1:-1;6045:10:20;-1:-1:-1;;;;;525:8349:20;;;6019:36;6015:63;;525:8349;;6092:15;:26;6088:58;;6259:66;6171:28;;;;;:::i;:::-;525:8349;;;;6209:13;525:8349;;;6209:13;525:8349;;;6278:46;;525:8349;6278:46;;525:8349;6295:9;525:8349;;;;;;;;;6278:46;;;525:8349;6278:46;;:::i;:::-;525:8349;;;;;;;;;6259:66;;525:8349;6259:66;;;:::i;:::-;;525:8349;;6259:11;-1:-1:-1;;;;;525:8349:20;6259:66;;;;;;;;;;;525:8349;;;;;6248:89;;;;;;;;;;525:8349;;;;6431:17;525:8349;6431:17;525:8349;6395:4;525:8349;;;;;6209:13;525:8349;;6209:13;525:8349;6395:4;:::i;:::-;6295:9;6431:17;:::i;:::-;6045:10;6431:17;:::i;:::-;525:8349;;;;;;-1:-1:-1;525:8349:20;;6259:66;;;;;;;;;;;;;:::i;:::-;;;525:8349;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;6259:66;;;525:8349;;;;;;;;6259:66;525:8349;;;;;;;;;6088:58;-1:-1:-1;;;6127:19:20;;525:8349;7004:19;6127;6015:63;-1:-1:-1;;;6064:14:20;;525:8349;4838:14;6064;6019:22;;;525:8349;6019:22;;525:8349;6019:22;;;;;;525:8349;6019:22;;;:::i;:::-;;;525:8349;;;;;;;:::i;:::-;6019:22;;;525:8349;;;;6019:22;;;-1:-1:-1;6019:22:20;;651:37:17;-1:-1:-1;;;676:12:17;;525:8349:20;676:12:17;;525:8349:20;;;;;;;;;;;;;;;;;;1406:26;525:8349;;;;;;;;;;;;;;;;;;;;;;798:41;-1:-1:-1;;;;;525:8349:20;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;8846:19:20;;525:8349;8846:19;525:8349;;;8846:5;-1:-1:-1;;;;;525:8349:20;8846:19;;;;;;;;;;525:8349;8846:19;525:8349;;;;;;;8846:19;;;;;;;;;;;;525:8349;8846:19;;;:::i;:::-;;;525:8349;;;;8846:19;525:8349;;8846:19;;;;;-1:-1:-1;8846:19:20;;;525:8349;;;;;;;;;;;;;;;;;-1:-1:-1;;525:8349:20;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;;985:27;525:8349;;;;;;;;;;;;;;;;;;;;3971:61;;:::i;:::-;525:8349;;;;;;;;;;;;5002:10;5016:4;-1:-1:-1;;;;;525:8349:20;5002:18;;;;:46;;525:8349;4998:73;;5081:25;5097:9;5081:25;525:8349;5081:25;:::i;:::-;;525:8349;;;4998:73;-1:-1:-1;;;5057:14:20;;525:8349;;5057:14;5002:46;525:8349;5036:12;525:8349;5024:9;:24;5002:46;;525:8349;;;;;;;-1:-1:-1;;525:8349:20;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;920:26;525:8349;;;;;;;;;;;;;;-1:-1:-1;;525:8349:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6575:11;-1:-1:-1;;;;;525:8349:20;;6553:10;:34;;;;;:45;;525:8349;6549:72;;525:8349;;;;;;;;;;;;-1:-1:-1;;;;;525:8349:20;;;;;;;;;;;;;;;;-1:-1:-1;;;6755:23:20;;;525:8349;;;6763:4;-1:-1:-1;;;;;525:8349:20;6755:23;;;;;;;;;;;525:8349;;;;;;;;;;;;;;;;;;;;;;;;;6831:37;;;525:8349;;;6831:37;;;525:8349;;;;;-1:-1:-1;;;6809:64:20;;525:8349;;-1:-1:-1;;;;;525:8349:20;;;;6809:64;;525:8349;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6809:64;525:8349;;6809:64;;;;;;;;;;;;525:8349;-1:-1:-1;525:8349:20;2052:83:11;;;525:8349:20;;-1:-1:-1;;;525:8349:20;;;;;;;;2241:89:11;6946:31:20;;;;;;:49;;525:8349;6942:81;;;525:8349;;;;;-1:-1:-1;;;;;525:8349:20;7033:31;;;;;525:8349;;;;;;7033:31;;525:8349;7033:31;;525:8349;7033:31;;525:8349;7033:31;;;;;;;;;;;;;;525:8349;-1:-1:-1;;525:8349:20;;-1:-1:-1;;;7074:34:20;;525:8349;;;;7074:34;;;;;;;;;;525:8349;-1:-1:-1;525:8349:20;;;-1:-1:-1;;;7150:12:20;;525:8349;;-1:-1:-1;;;;;525:8349:20;;;;;;;;;;;;7150:5;525:8349;7150:12;;;;;;;;;;;525:8349;7118:51;;;;;;525:8349;;;;;;;;;;;;;7118:51;;525:8349;7118:51;;525:8349;;;;;;;;;;;;;;;7118:51;;;;;;;;525:8349;;;;;7186:17;525:8349;7186:17;;525:8349;;7186:17;;;525:8349;7186:17;;:::i;:::-;525:8349;;;;;;;:::i;:::-;;;;7118:51;;;;;;:::i;:::-;525:8349;;7118:51;;;;525:8349;;;;;;;;;7150:12;;;;525:8349;7150:12;;525:8349;7150:12;;;;;;525:8349;7150:12;;;:::i;:::-;;;525:8349;;;;;;;:::i;:::-;7150:12;;;;;;;-1:-1:-1;7150:12:20;;;525:8349;;;;;;;;;7074:34;;;525:8349;7074:34;;525:8349;7074:34;;;;;;525:8349;7074:34;;;:::i;:::-;;;525:8349;;;;;;;7074:34;;;;;-1:-1:-1;7074:34:20;;7033:31;;;;;:::i;:::-;525:8349;;7033:31;;;;6942:81;-1:-1:-1;;;7004:19:20;;525:8349;7004:19;;6946:49;525:8349;;;;;6981:14;;6946:49;;;525:8349;-1:-1:-1;;;525:8349:20;;;;;;;;6809:64;;;;525:8349;6809:64;;525:8349;6809:64;;;;;;525:8349;6809:64;;;:::i;:::-;;;525:8349;;;;;6809:64;;;;525:8349;;;;6809:64;;;-1:-1:-1;6809:64:20;;;525:8349;;;;;;;;;;-1:-1:-1;;;525:8349:20;;;;;;;;6755:23;;;;;;;;;;;;;;;;;:::i;:::-;;;525:8349;;;;;;;6755:23;525:8349;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;525:8349:20;;;;;;;;;;6755:23;;;525:8349;;;;;;;;6755:23;;;-1:-1:-1;6755:23:20;;;525:8349;;;;;;;;;6553:45;525:8349;;6592:6;525:8349;;6591:7;6553:45;;525:8349;;;;;;;-1:-1:-1;;525:8349:20;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;-1:-1:-1;;525:8349:20;;;;;;;;651:37:17;;525:8349:20;;;;;-1:-1:-1;;;8034:22:20;;525:8349;8034:22;;525:8349;;;8034:10;-1:-1:-1;;;;;525:8349:20;;;;;8034:22;525:8349;;8034:22;;;;;;;525:8349;8034:22;;;525:8349;-1:-1:-1;;;;;;525:8349:20;8060:10;8034:36;;;;:54;;525:8349;8030:81;;525:8349;;;8143:14;525:8349;;;;;;713:8;525:8349;;;;;;;8125:15;:48;8121:69;;8204:12;525:8349;8200:49;;525:8349;8200:49;;:::i;:::-;8299:11;;;;:::i;:::-;525:8349;;;;8332:5;525:8349;;;;;;;;8351:31;8366:16;;;:::i;:::-;525:8349;;8351:31;:::i;:::-;525:8349;;;;;;;;;;8392:21;525:8349;;8392:21;:::i;:::-;525:8349;;;;;8332:5;525:8349;;;;;;;;;;;;;;;8456:10;525:8349;;;;;;;;;;8487:12;525:8349;;;;;;;;;;8143:14;525:8349;;;;;;;;;8552:16;8548:33;;525:8349;8591:7;-1:-1:-1;;;;;525:8349:20;;8591:16;;;;;525:8349;;-1:-1:-1;;;8591:16:20;;525:8349;8591:16;;525:8349;;;8591:16;525:8349;8034:22;525:8349;8591:16;;;;;;;;;;;;;525:8349;8617:61;;;;;;;525:8349;;-1:-1:-1;;;8617:61:20;;8060:10;525:8349;8617:61;;525:8349;-1:-1:-1;;;;;525:8349:20;;;;;;;;;;;;;;;;;;;;;;;;8617:61;;;;;;;;525:8349;8060:10;;8709:6;8060:10;;8709:6;:::i;:::-;525:8349;;;;;8731:30;525:8349;8060:10;8731:30;;525:8349;;;;;8617:61;;;;;:::i;:::-;525:8349;;8617:61;;;;;525:8349;;;;;;;;;8591:16;;;;;:::i;:::-;525:8349;;8591:16;;;;8548:33;;;:::i;:::-;;;8200:49;8231:4;-1:-1:-1;;;;;525:8349:20;8223:26;;;;;525:8349;;;;;;;;;;;;;8223:26;;;;;;;;;;8200:49;;;;8223:26;;;;;525:8349;8223:26;;:::i;:::-;525:8349;8223:26;;;;;525:8349;;;;;;;;;8121:69;8182:8;;;525:8349;8182:8;525:8349;;8182:8;525:8349;;;;;;;;;8034:22;525:8349;;8030:81;4838:14;;;525:8349;8097:14;525:8349;;8097:14;8034:54;525:8349;;;;8074:5;525:8349;;;;;;;;8074:14;8034:54;;:22;;;525:8349;8034:22;;525:8349;8034:22;;;;;;525:8349;8034:22;;;:::i;:::-;;;525:8349;;;;;;;:::i;:::-;8034:22;;;;;;-1:-1:-1;8034:22:20;;651:37:17;676:12;;;525:8349:20;676:12:17;525:8349:20;;676:12:17;525:8349:20;;;;;;-1:-1:-1;;525:8349:20;;;;;;845:29;-1:-1:-1;;;;;525:8349:20;;;;;;;;;;;;-1:-1:-1;;525:8349:20;;;;;;758:34;-1:-1:-1;;;;;525:8349:20;;;;;;;;;;;;-1:-1:-1;;525:8349:20;;;;;;880:34;-1:-1:-1;;;;;525:8349:20;;;;;;;;;;;;-1:-1:-1;;525:8349:20;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;;;-1:-1:-1;;525:8349:20;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;525:8349:20;;;;;1438:24;525:8349;;;;;;;;;;;;;-1:-1:-1;;525:8349:20;;;;;952:27;525:8349;;;;;;;;;;;:::i;:::-;4603:10;4617:4;-1:-1:-1;;;;;525:8349:20;4603:18;;;;:51;;525:8349;4599:78;;4708:7;;;:::i;:::-;525:8349;4603:51;4638:16;;;;;:::i;:::-;4625:9;:29;;4603:51;;525:8349;;;;;;-1:-1:-1;;525:8349:20;;;;;;;664:7;525:8349;;;;;;;;;-1:-1:-1;;525:8349:20;;;;;;;;:::i;:::-;;;651:37:17;;525:8349:20;;;;;-1:-1:-1;;;5616:22:20;;525:8349;5616:22;;525:8349;;;;;;;5616:10;-1:-1:-1;;;;;525:8349:20;5616:22;;;;;;;525:8349;5616:22;;;525:8349;-1:-1:-1;5642:10:20;-1:-1:-1;;;;;525:8349:20;;;5616:36;5612:63;;5700:28;;;;:::i;:::-;525:8349;;-1:-1:-1;;;5777:12:20;;525:8349;;;5746:5;-1:-1:-1;;;;;525:8349:20;;;;;;5777:12;;;;;;;;525:8349;5777:12;;;525:8349;-1:-1:-1;525:8349:20;;-1:-1:-1;;;5746:50:20;;5642:10;525:8349;5746:50;;525:8349;-1:-1:-1;;;;;525:8349:20;;;;;;;;;;;;;;;;;;;;;;;;5746:50;;;;;;;;;;525:8349;5746:50;;;525:8349;;;;;5831:4;;;:::i;:::-;525:8349;;;;5746:50;;;525:8349;5746:50;;525:8349;5746:50;;;;;;525:8349;5746:50;;;:::i;:::-;;;525:8349;;;;;;;;;;;;5746:50;;;;;;-1:-1:-1;5746:50:20;;5777:12;;;;525:8349;5777:12;;525:8349;5777:12;;;;;;525:8349;5777:12;;;:::i;:::-;;;525:8349;;;;;;;;5746:50;525:8349;;:::i;:::-;5777:12;;;;;;;;;-1:-1:-1;5777:12:20;;5616:22;;;525:8349;5616:22;;525:8349;5616:22;;;;;;525:8349;5616:22;;;:::i;:::-;;;525:8349;;;;;;;:::i;:::-;5616:22;;;;;;-1:-1:-1;5616:22:20;;525:8349;;;;;;-1:-1:-1;;525:8349:20;;;;;;;;1115:49;525:8349;;;;;;;;;;;;;;;;;;;-1:-1:-1;;525:8349:20;;;;;;;713:8;525:8349;;;;;;;;;-1:-1:-1;;525:8349:20;;;;;;;;1273:45;525:8349;;;;;;;;;;;;;;;;;;;-1:-1:-1;;525:8349:20;;;;;3701:19;:7;525:8349;3711:9;;:::i;:::-;3701:19;;:::i;525:8349::-;;;;;;;:::i;:::-;4825:4;-1:-1:-1;;;;;525:8349:20;4811:10;:18;4807:45;;4878:16;4862:32;4878:16;;4925:7;4878:16;;:::i;:::-;4862:32;525:8349;4862:32;:::i;:::-;;525:8349;4925:7;:::i;525:8349::-;;;;;;-1:-1:-1;;525:8349:20;;;;;;;;;;1071:38;525:8349;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;525:8349:20;;;;:::o;:::-;;;;;;;;;;:::o;:::-;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;525:8349:20;;;;;-1:-1:-1;525:8349:20;;;;-1:-1:-1;;;;;525:8349:20;;;;;;:::o;2859:232::-;525:8349;-1:-1:-1;525:8349:20;2967:5;525:8349;;;;-1:-1:-1;525:8349:20;;;;;;2955:21;;;;;;:37;;;2859:232;2951:64;;;3032:24;:52;:24;;:::i;:::-;525:8349;-1:-1:-1;525:8349:20;2967:5;525:8349;;3059:25;525:8349;;-1:-1:-1;525:8349:20;;;3059:25;:::i;3032:52::-;2859:232;:::o;2951:64::-;3001:14;;;-1:-1:-1;3001:14:20;;-1:-1:-1;3001:14:20;2955:37;2991:1;2980:12;;;2955:37;;;525:8349;;;;;-1:-1:-1;;525:8349:20;;:::o;2473:118::-;525:8349;;2550:6;525:8349;;2550:34;2555:1;2473:118;:::o;2550:34::-;-1:-1:-1;;525:8349:20;;;;;;;2571:1;525:8349;;;2473:118;:::o;525:8349::-;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;:::o;:::-;;;;;;;;;;;;3380:245;3461:12;525:8349;3487:11;525:8349;3487:16;3483:58;;3380:245;525:8349;;3559:33;:50;525:8349;-1:-1:-1;;;525:8349:20;-1:-1:-1;525:8349:20;3559:12;525:8349;;3578:14;525:8349;-1:-1:-1;525:8349:20;;;;-1:-1:-1;525:8349:20;2450:5;525:8349;;2438:22;525:8349;;-1:-1:-1;525:8349:20;;;2438:22;:::i;:::-;3578:14;:::i;:::-;3559:33;;:::i;:::-;525:8349;-1:-1:-1;525:8349:20;3595:10;525:8349;;;-1:-1:-1;525:8349:20;;3559:50;;:::i;:::-;525:8349;3380:245;:::o;3483:58::-;3510:9;;;:::i;:::-;-1:-1:-1;;;525:8349:20;;;;;;-1:-1:-1;;;525:8349:20;;;;;;;3505:36;3559:50;3510:31;;-1:-1:-1;;;3510:31:20;3559:33;3510:31;;:::i;3505:36::-;3483:58;;;;;;2597:256;525:8349;;2679:1;2674:6;;2670:31;;2720:1;2715:6;;2711:32;;2762:1;2757:6;;2753:32;;2799:6;2795:20;;3001:14;;;525:8349;2832:14;;525:8349;2832:14;2795:20;525:8349;2807:8;:::o;2753:32::-;2765:20;2772:13;2765:20;:::o;2711:32::-;2723:20;2730:13;2723:20;:::o;2670:31::-;2682:19;2689:12;2682:19;:::o;525:8349::-;;;;;;;;-1:-1:-1;;525:8349:20;;;;:::o;5119:409::-;;;;:::i;:::-;5219:11;525:8349;5219:16;;;5262;;;5251:27;5262:16;525:8349;5262:16;5489:32;5262:16;;:::i;:::-;5251:27;525:8349;5251:27;:::i;:::-;;525:8349;5215:260;525:8349;;;;;;;;;5489:32;5119:409::o;5215:260::-;525:8349;-1:-1:-1;;;525:8349:20;;;;;;-1:-1:-1;;;525:8349:20;;;;;;;5309:44;5325:28;5489:32;5325:28;525:8349;5325:28;;:::i;:::-;5309:44;525:8349;5309:44;:::i;:::-;;525:8349;5371:12;5367:98;5215:260;5367:98;5403:18;525:8349;5403:18;525:8349;5403:18;:::i;:::-;;525:8349;5403:18;;:::i;:::-;5215:260;;3097:277;3161:11;525:8349;3161:16;:34;;;;3097:277;3157:48;;3248:9;525:8349;3230:15;;:27;:57;:27;;;:15;3304:63;664:7;3304:34;3230:15;:57;3319:18;3304:11;525:8349;;3326:11;525:8349;3319:18;;:::i;:::-;3304:34;;:::i;:::-;525:8349;3359:8;525:8349;3304:63;;:::i;3230:57::-;664:7;3304:34;:63;3230:57;;;3161:34;525:8349;3181:9;525:8349;3181:14;3161:34;;7216:750;;;;;:::i;:::-;525:8349;-1:-1:-1;525:8349:20;7330:5;525:8349;;;;-1:-1:-1;525:8349:20;;;7369:16;;;:::i;:::-;7415:41;:24;7427:12;525:8349;7415:24;;:::i;:::-;525:8349;-1:-1:-1;525:8349:20;7442:10;525:8349;;;-1:-1:-1;525:8349:20;;7415:41;;:::i;:::-;525:8349;-1:-1:-1;525:8349:20;7395:12;525:8349;;7395:61;525:8349;-1:-1:-1;525:8349:20;;;;7395:61;:::i;:::-;525:8349;;7522:47;:23;7482:11;525:8349;7522:23;;;:::i;:::-;7548:21;;;:::i;7522:47::-;7482:11;525:8349;7583:8;;;;;7579:35;;7216:750;525:8349;;;;;-1:-1:-1;525:8349:20;7626:14;525:8349;;;-1:-1:-1;525:8349:20;;;;;;;;;;;7707:36;525:8349;7482:11;7707:21;525:8349;;;;;-1:-1:-1;525:8349:20;7330:5;525:8349;;;-1:-1:-1;525:8349:20;;;;;;;;;;7707:21;:::i;:::-;7427:12;525:8349;7707:36;;:::i;:::-;525:8349;-1:-1:-1;525:8349:20;7442:10;525:8349;;;-1:-1:-1;525:8349:20;;;-1:-1:-1;525:8349:20;7753:14;525:8349;;7774:15;525:8349;-1:-1:-1;525:8349:20;;7482:16;7799:25;;7216:750;7834:125;;;525:8349;;;;;;;;;;7853:41;525:8349;7867:10;7853:41;;7216:750::o;7834:125::-;525:8349;;;;;;;;;;;;;;7914:45;525:8349;7927:10;7914:45;;7216:750::o;7799:25::-;;;:::i;:::-;;;7579:35;525:8349;-1:-1:-1;525:8349:20;7595:14;525:8349;;;-1:-1:-1;525:8349:20;7593:21;525:8349;;7593:21;:::i;:::-;525:8349;;7579:35;;3733:232;3791:9;;:::i;:::-;3814:11;;;;3810:149;;3733:232;;:::o;3810:149::-;3841:18;525:8349;3841:18;525:8349;3841:18;:::i;:::-;;525:8349;3873:17;525:8349;3873:17;525:8349;3873:17;:::i;:::-;;525:8349;-1:-1:-1;;;525:8349:20;;;;;-1:-1:-1;;;525:8349:20;;;;;3920:28;3904:44;525:8349;3937:11;525:8349;3920:28;;:::i;3904:44::-;;525:8349;3733:232::o;4038:285::-;4091:15;4077:29;525:8349;4130:7;525:8349;;4116:21;525:8349;-1:-1:-1;4147:12:20;525:8349;4181:12;;:32;;;;4038:285;4181:72;;;525:8349;4268:48;4181:72;-1:-1:-1;4181:72:20;525:8349;4169:84;525:8349;;;;;;4091:15;525:8349;;;;;;;;4268:48;4038:285::o;4181:72::-;664:7;4091:15;525:8349;4091:15;;525:8349;;;4268:48;4181:72;525:8349;4181:72;;;:32;525:8349;4197:11;525:8349;4197:16;4181:32;;781:185:17;850:11;;846:24;;860:1;892:26;;;;;;;525:8349:20;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;860:1:17;525:8349:20;;;;;;932:3:17;928:31;;781:185::o;928:31::-;944:15;;;860:1;944:15;;860:1;944:15;525:8349:20;;;846:24:17;863:7;;:::o","linkReferences":{},"cborAuxdata":{},"immutableReferences":{"3100":[{"start":414,"length":32},{"start":1374,"length":32},{"start":2405,"length":32},{"start":4660,"length":32}],"3103":[{"start":681,"length":32},{"start":3173,"length":32},{"start":4107,"length":32},{"start":4558,"length":32}],"3106":[{"start":859,"length":32},{"start":1288,"length":32},{"start":1850,"length":32}],"3108":[{"start":1612,"length":32},{"start":1968,"length":32},{"start":3753,"length":32},{"start":4039,"length":32},{"start":4380,"length":32},{"start":5172,"length":32}],"3111":[{"start":3456,"length":32},{"start":4175,"length":32}]},"transformations":[{"id":"3100","type":"replace","offset":414,"reason":"immutable"},{"id":"3103","type":"replace","offset":681,"reason":"immutable"},{"id":"3106","type":"replace","offset":859,"reason":"immutable"},{"id":"3106","type":"replace","offset":1288,"reason":"immutable"},{"id":"3100","type":"replace","offset":1374,"reason":"immutable"},{"id":"3108","type":"replace","offset":1612,"reason":"immutable"},{"id":"3106","type":"replace","offset":1850,"reason":"immutable"},{"id":"3108","type":"replace","offset":1968,"reason":"immutable"},{"id":"3100","type":"replace","offset":2405,"reason":"immutable"},{"id":"3103","type":"replace","offset":3173,"reason":"immutable"},{"id":"3111","type":"replace","offset":3456,"reason":"immutable"},{"id":"3108","type":"replace","offset":3753,"reason":"immutable"},{"id":"3108","type":"replace","offset":4039,"reason":"immutable"},{"id":"3103","type":"replace","offset":4107,"reason":"immutable"},{"id":"3111","type":"replace","offset":4175,"reason":"immutable"},{"id":"3108","type":"replace","offset":4380,"reason":"immutable"},{"id":"3103","type":"replace","offset":4558,"reason":"immutable"},{"id":"3100","type":"replace","offset":4660,"reason":"immutable"},{"id":"3108","type":"replace","offset":5172,"reason":"immutable"}],"transformationValues":{"immutables":{"3100":"0x000000000000000000000000ce7eb1ad9e2e1c784ea05f7ea4a0fe625923d10a","3103":"0x000000000000000000000000999ce0ce8c5f7661e0c74a568ffe27ceb9177bdb","3106":"0x000000000000000000000000000000000004444c5dc75cb358380d2e3de08a90","3108":"0x00000000000000000000000022fded8abce0d93979ebb2a04cfc37c110abe0cc","3111":"0x000000000000000000000000b0d2d2cfe7a1b14d1f34135c3c7a8d152c4262e9"}}},"deployment":{"transactionHash":"0x091cf7f8c7452403bba49c9e7922a51dc86537020a2f5da456b705c23cdfb946","blockNumber":"26147432","transactionIndex":"85","deployer":"0xcECc29B037f5064fCdF45a5C318F132ef76aA551"},"sources":{"src/OGDistributor.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.26;\nimport {OG} from \"./OG.sol\";\nimport {OGAuction} from \"./OGAuction.sol\";\nimport {ISpepe, IOGPool, Guard} from \"./Interfaces.sol\";\nimport {IPoolManager} from \"v4-core/src/interfaces/IPoolManager.sol\";\nimport {IUnlockCallback} from \"v4-core/src/interfaces/callback/IUnlockCallback.sol\";\nimport {PoolKey} from \"v4-core/src/types/PoolKey.sol\";\nimport {SwapParams} from \"v4-core/src/types/PoolOperation.sol\";\nimport {BalanceDelta} from \"v4-core/src/types/BalanceDelta.sol\";\n\ncontract OGDistributor is Guard, IUnlockCallback {\n    uint256 public constant SCALE = 1e27;\n    uint256 public constant STREAM_DURATION = 30 days;\n    uint256 public constant EXIT_LOCK = 24 hours;\n    OG public immutable token;\n    ISpepe public immutable collection;\n    IPoolManager public immutable poolManager;\n    address public immutable hook;\n    OGAuction public immutable auction;\n    uint256 public totalWeight;\n    uint256 public accPerWeight;\n    uint256 public unfundedFees;\n    mapping(uint8 => uint256) public activePerLevel;\n    mapping(uint256 => uint8) public level;\n    mapping(uint256 => uint256) public lastActivation;\n    // Scaled debt and credit preserve fractional wei across upgrades, preventing rounding insolvency.\n    mapping(uint256 => uint256) public debtScaled;\n    mapping(uint256 => uint256) public creditScaled;\n    uint256 private backlog;\n    uint256 public streamStart;\n    uint256 public streamEnd;\n    uint256 private streamTotal;\n    uint256 private released;\n    bool private buying;\n    event Activated(uint256 indexed tokenId, address indexed owner, uint8 level, uint256 burned);\n    event Upgraded(uint256 indexed tokenId, address indexed owner, uint8 oldLevel, uint8 newLevel, uint256 burned);\n    event Exited(uint256 indexed tokenId, address indexed owner, uint256 ethPaid);\n    event RewardsReceived(uint256 normal, uint256 surplus);\n    event StreamScheduled(uint256 amount, uint256 start, uint256 end);\n    error Unauthorized();\n    error InvalidLevel();\n    error Locked();\n    error SlippageOrExpired();\n\n    constructor(OG token_, ISpepe collection_, IPoolManager manager_, address hook_) {\n        token = token_;\n        collection = collection_;\n        poolManager = manager_;\n        hook = hook_;\n        auction = new OGAuction(token_, collection_, address(this));\n    }\n\n    function weight(uint256 id) public view returns (uint256) {\n        return levelWeight(level[id]);\n    }\n\n    function levelWeight(uint8 l) public pure returns (uint256) {\n        return l == 0 ? 0 : uint256(1) << (l - 1);\n    }\n\n    function cumulativeCost(uint8 l) public pure returns (uint256) {\n        if (l == 1) return 50_000 ether;\n        if (l == 2) return 150_000 ether;\n        if (l == 3) return 400_000 ether;\n        if (l == 0) return 0;\n        revert InvalidLevel();\n    }\n\n    function activationCost(uint256 id, uint8 newLevel) public view returns (uint256) {\n        if (newLevel <= level[id] || newLevel > 3) revert InvalidLevel();\n        return cumulativeCost(newLevel) - cumulativeCost(level[id]);\n    }\n\n    function _vested() private view returns (uint256) {\n        if (totalWeight == 0 || streamEnd == 0) return 0;\n        uint256 now_ = block.timestamp < streamEnd ? block.timestamp : streamEnd;\n        return streamTotal * (now_ - streamStart) / STREAM_DURATION - released;\n    }\n\n    function pending(uint256 id) public view returns (uint256) {\n        uint256 a = accPerWeight;\n        if (totalWeight != 0) a += _vested() * SCALE / totalWeight;\n        return (creditScaled[id] + weight(id) * a - debtScaled[id]) / SCALE;\n    }\n\n    function backlogLeft() public view returns (uint256) {\n        return backlog - _vested();\n    }\n\n    function _checkpoint() private {\n        uint256 amount = _vested();\n        if (amount != 0) {\n            released += amount;\n            backlog -= amount;\n            accPerWeight += amount * SCALE / totalWeight;\n        }\n    }\n\n    function checkpoint() external {\n        _checkpoint();\n    }\n\n    function _schedule() private {\n        streamStart = block.timestamp;\n        streamTotal = backlog;\n        released = 0;\n        streamEnd = backlog == 0 || totalWeight == 0 ? 0 : block.timestamp + STREAM_DURATION;\n        emit StreamScheduled(backlog, streamStart, streamEnd);\n    }\n\n    /// @dev Intentionally callable during activateWithETH: the old weight earns that swap's fees.\n    ///      Only the immutable hook can enter; this function performs no external calls.\n    function receiveFees(uint256 normal, uint256 surplus) external payable {\n        if (msg.sender != hook || msg.value != normal + surplus) revert Unauthorized();\n        _accountFees(normal, surplus);\n    }\n\n    function receiveFeeClaims(uint256 normal, uint256 surplus) external {\n        if (msg.sender != hook) revert Unauthorized();\n        unfundedFees += normal + surplus;\n        _accountFees(normal, surplus);\n    }\n\n    function fundFeeClaims() external payable {\n        if (msg.sender != hook || msg.value > unfundedFees) revert Unauthorized();\n        unfundedFees -= msg.value;\n    }\n\n    function _accountFees(uint256 normal, uint256 surplus) private {\n        _checkpoint();\n        if (totalWeight == 0) {\n            backlog += normal + surplus;\n        } else {\n            accPerWeight += normal * SCALE / totalWeight;\n            if (surplus != 0) {\n                backlog += surplus;\n                _schedule();\n            }\n        }\n        emit RewardsReceived(normal, surplus);\n    }\n\n    function activate(uint256 id, uint8 newLevel) external nonReentrant {\n        if (collection.ownerOf(id) != msg.sender) revert Unauthorized();\n        uint256 cost = activationCost(id, newLevel);\n        require(token.transferFrom(msg.sender, token.DEAD(), cost));\n        _activate(id, newLevel, cost);\n    }\n\n    function activateWithETH(uint256 id, uint8 newLevel, uint160 sqrtPriceLimitX96, uint256 deadline)\n        external\n        payable\n        nonReentrant\n    {\n        if (collection.ownerOf(id) != msg.sender) revert Unauthorized();\n        if (block.timestamp > deadline) revert SlippageOrExpired();\n        uint256 cost = activationCost(id, newLevel);\n        buying = true;\n        uint256 spent = abi.decode(poolManager.unlock(abi.encode(cost, msg.value, sqrtPriceLimitX96)), (uint256));\n        buying = false;\n        _activate(id, newLevel, cost);\n        _sendETH(msg.sender, msg.value - spent);\n    }\n\n    function unlockCallback(bytes calldata data) external returns (bytes memory) {\n        if (msg.sender != address(poolManager) || !buying) revert Unauthorized();\n        (uint256 cost, uint256 budget, uint160 limit) = abi.decode(data, (uint256, uint256, uint160));\n        PoolKey memory key = IOGPool(hook).poolKey();\n        BalanceDelta delta = poolManager.swap(key, SwapParams(true, int256(cost), limit), \"\");\n        uint256 spent = uint256(-int256(delta.amount0()));\n        if (delta.amount1() != int256(cost) || spent > budget) revert SlippageOrExpired();\n        poolManager.sync(key.currency0);\n        poolManager.settle{value: spent}();\n        poolManager.take(key.currency1, token.DEAD(), cost);\n        return abi.encode(spent);\n    }\n\n    function _activate(uint256 id, uint8 newLevel, uint256 cost) private {\n        _checkpoint();\n        uint8 old = level[id];\n        uint256 oldWeight = levelWeight(old);\n        creditScaled[id] += oldWeight * accPerWeight - debtScaled[id];\n        bool wasEmpty = totalWeight == 0;\n        totalWeight = totalWeight - oldWeight + levelWeight(newLevel);\n        if (old != 0) --activePerLevel[old];\n        ++activePerLevel[newLevel];\n        level[id] = newLevel;\n        debtScaled[id] = levelWeight(newLevel) * accPerWeight;\n        lastActivation[id] = block.timestamp;\n        if (wasEmpty) _schedule();\n        if (old == 0) emit Activated(id, msg.sender, newLevel, cost);\n        else emit Upgraded(id, msg.sender, old, newLevel, cost);\n    }\n\n    function exit(uint256 id) external nonReentrant {\n        if (collection.ownerOf(id) != msg.sender || level[id] == 0) revert Unauthorized();\n        if (block.timestamp < lastActivation[id] + EXIT_LOCK) revert Locked();\n        if (unfundedFees != 0) IOGPool(hook).redeemFees();\n        _checkpoint();\n        uint256 amount = pending(id);\n        uint8 old = level[id];\n        totalWeight -= levelWeight(old);\n        --activePerLevel[old];\n        delete level[id];\n        delete debtScaled[id];\n        delete creditScaled[id];\n        delete lastActivation[id];\n        if (totalWeight == 0) _schedule();\n        auction.list(id);\n        collection.safeTransferFrom(msg.sender, address(auction), id);\n        _sendETH(msg.sender, amount);\n        emit Exited(id, msg.sender, amount);\n    }\n\n    function totalBurned() external view returns (uint256) {\n        return token.totalBurned();\n    }\n}\n"},"src/OG.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.26;\n\n/// @notice Fixed launch supply. Burning is an ordinary transfer to DEAD, never a supply reduction.\ncontract OG {\n    string public constant name = \"OG\";\n    string public constant symbol = \"OG\";\n    uint8 public constant decimals = 18;\n    uint256 public constant totalSupply = 1_000_000_000 ether;\n    address public constant DEAD = 0x000000000000000000000000000000000000dEaD;\n    mapping(address => uint256) public balanceOf;\n    mapping(address => mapping(address => uint256)) public allowance;\n    uint256 public totalBurned;\n    event Transfer(address indexed from, address indexed to, uint256 value);\n    event Approval(address indexed owner, address indexed spender, uint256 value);\n    error ZeroAddress();\n\n    constructor() {\n        balanceOf[msg.sender] = totalSupply;\n        emit Transfer(address(0), msg.sender, totalSupply);\n    }\n\n    function approve(address spender, uint256 amount) external returns (bool) {\n        allowance[msg.sender][spender] = amount;\n        emit Approval(msg.sender, spender, amount);\n        return true;\n    }\n\n    function transfer(address to, uint256 amount) external returns (bool) {\n        _transfer(msg.sender, to, amount);\n        return true;\n    }\n\n    function transferFrom(address from, address to, uint256 amount) external returns (bool) {\n        uint256 approved = allowance[from][msg.sender];\n        if (approved != type(uint256).max) allowance[from][msg.sender] = approved - amount;\n        _transfer(from, to, amount);\n        return true;\n    }\n\n    function _transfer(address from, address to, uint256 amount) internal {\n        if (to == address(0)) revert ZeroAddress();\n        balanceOf[from] -= amount;\n        balanceOf[to] += amount;\n        if (to == DEAD) totalBurned += amount;\n        emit Transfer(from, to, amount);\n    }\n}\n"},"src/OGAuction.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.26;\nimport {OG} from \"./OG.sol\";\nimport {ISpepe, Guard} from \"./Interfaces.sol\";\nimport {wadExp, wadLn} from \"solmate/src/utils/SignedWadMath.sol\";\n\n/// @notice Permissionless, perpetual Dutch sales of exited NFTs. No withdrawals or administrative roles.\ncontract OGAuction is Guard {\n    OG public immutable token;\n    ISpepe public immutable collection;\n    address public immutable distributor;\n    uint256 public constant FLOOR = 50_000 ether;\n    uint256 public constant MIN_START = 500_000 ether;\n    uint256 public constant DURATION = 36 hours;\n\n    struct Auction {\n        uint256 startPrice;\n        uint256 startedAt;\n        bool listed;\n    }\n\n    struct Listing {\n        uint256 tokenId;\n        uint256 startPrice;\n        uint256 startedAt;\n        uint256 price;\n    }\n    mapping(uint256 => Auction) public auctions;\n    mapping(uint256 => uint256) public lastSalePrice;\n    uint256[] private ids;\n    mapping(uint256 => uint256) private index;\n    event AuctionListed(uint256 indexed tokenId, uint256 startPrice, uint256 startedAt);\n    event AuctionSold(uint256 indexed tokenId, address indexed buyer, address indexed recipient, uint256 burned);\n    error Unauthorized();\n    error InvalidAuction();\n    error SlippageOrExpired();\n\n    constructor(OG token_, ISpepe collection_, address distributor_) {\n        token = token_;\n        collection = collection_;\n        distributor = distributor_;\n    }\n\n    function list(uint256 id) external {\n        if (msg.sender != distributor) revert Unauthorized();\n        if (auctions[id].listed) revert InvalidAuction();\n        uint256 start = lastSalePrice[id] * 10;\n        if (start < MIN_START) start = MIN_START;\n        auctions[id] = Auction(start, block.timestamp, true);\n        index[id] = ids.length;\n        ids.push(id);\n        emit AuctionListed(id, start, block.timestamp);\n    }\n\n    /// @dev P(t) = start * exp(ln(floor/start) * t / 36h), clamped at the floor.\n    function price(uint256 id) public view returns (uint256) {\n        Auction memory a = auctions[id];\n        if (!a.listed) return 0;\n        uint256 elapsed = block.timestamp - a.startedAt;\n        if (elapsed >= DURATION) return FLOOR;\n        if (elapsed == 0) return a.startPrice;\n        int256 logarithm = wadLn(int256(FLOOR * 1e18 / a.startPrice));\n        uint256 result = a.startPrice * uint256(wadExp(logarithm * int256(elapsed) / int256(DURATION))) / 1e18;\n        return result < FLOOR ? FLOOR : result;\n    }\n\n    function buy(uint256 id, uint256 maxPrice, address recipient, uint256 deadline) external nonReentrant {\n        if (!auctions[id].listed || recipient == address(0) || recipient == address(this)) revert InvalidAuction();\n        uint256 cost = price(id);\n        if (block.timestamp > deadline || cost > maxPrice) revert SlippageOrExpired();\n        delete auctions[id];\n        lastSalePrice[id] = cost;\n        uint256 i = index[id];\n        uint256 last = ids[ids.length - 1];\n        ids[i] = last;\n        index[last] = i;\n        ids.pop();\n        delete index[id];\n        require(token.transferFrom(msg.sender, token.DEAD(), cost));\n        collection.safeTransferFrom(address(this), recipient, id);\n        emit AuctionSold(id, msg.sender, recipient, cost);\n    }\n\n    function auctionCount() external view returns (uint256) {\n        return ids.length;\n    }\n\n    /// @notice Pages use swap-and-pop ordering; pin a block when traversing multiple pages.\n    function currentAuctions(uint256 offset, uint256 limit) external view returns (Listing[] memory result) {\n        if (limit > 100) limit = 100;\n        uint256 count = offset >= ids.length ? 0 : ids.length - offset;\n        if (count > limit) count = limit;\n        result = new Listing[](count);\n        for (uint256 j; j < count; ++j) {\n            uint256 id = ids[offset + j];\n            Auction memory a = auctions[id];\n            result[j] = Listing(id, a.startPrice, a.startedAt, price(id));\n        }\n    }\n\n    function onERC721Received(address operator, address, uint256 id, bytes calldata) external view returns (bytes4) {\n        if (msg.sender != address(collection) || operator != distributor || !auctions[id].listed) {\n            revert Unauthorized();\n        }\n        return this.onERC721Received.selector;\n    }\n}\n"},"src/Interfaces.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.26;\nimport {PoolKey} from \"v4-core/src/types/PoolKey.sol\";\n\ninterface ISpepe {\n    function ownerOf(uint256 id) external view returns (address);\n    function safeTransferFrom(address from, address to, uint256 id) external;\n    function transferFrom(address from, address to, uint256 id) external;\n    function totalMinted() external view returns (uint256);\n}\n\ninterface IOGPool {\n    function poolKey() external view returns (PoolKey memory);\n    function redeemFees() external;\n}\n\nabstract contract Guard {\n    uint256 private entered;\n    error Reentrancy();\n    modifier nonReentrant() {\n        if (entered != 0) revert Reentrancy();\n        entered = 1;\n        _;\n        entered = 0;\n    }\n    error ETHSendFailed();\n\n    function _sendETH(address to, uint256 amount) internal {\n        if (amount == 0) return;\n        (bool ok,) = to.call{value: amount}(\"\");\n        if (!ok) revert ETHSendFailed();\n    }\n}\n"},"lib/v4-core/src/interfaces/IPoolManager.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nimport {Currency} from \"../types/Currency.sol\";\nimport {PoolKey} from \"../types/PoolKey.sol\";\nimport {IHooks} from \"./IHooks.sol\";\nimport {IERC6909Claims} from \"./external/IERC6909Claims.sol\";\nimport {IProtocolFees} from \"./IProtocolFees.sol\";\nimport {BalanceDelta} from \"../types/BalanceDelta.sol\";\nimport {PoolId} from \"../types/PoolId.sol\";\nimport {IExtsload} from \"./IExtsload.sol\";\nimport {IExttload} from \"./IExttload.sol\";\nimport {ModifyLiquidityParams, SwapParams} from \"../types/PoolOperation.sol\";\n\n/// @notice Interface for the PoolManager\ninterface IPoolManager is IProtocolFees, IERC6909Claims, IExtsload, IExttload {\n    /// @notice Thrown when a currency is not netted out after the contract is unlocked\n    error CurrencyNotSettled();\n\n    /// @notice Thrown when trying to interact with a non-initialized pool\n    error PoolNotInitialized();\n\n    /// @notice Thrown when unlock is called, but the contract is already unlocked\n    error AlreadyUnlocked();\n\n    /// @notice Thrown when a function is called that requires the contract to be unlocked, but it is not\n    error ManagerLocked();\n\n    /// @notice Pools are limited to type(int16).max tickSpacing in #initialize, to prevent overflow\n    error TickSpacingTooLarge(int24 tickSpacing);\n\n    /// @notice Pools must have a positive non-zero tickSpacing passed to #initialize\n    error TickSpacingTooSmall(int24 tickSpacing);\n\n    /// @notice PoolKey must have currencies where address(currency0) < address(currency1)\n    error CurrenciesOutOfOrderOrEqual(address currency0, address currency1);\n\n    /// @notice Thrown when a call to updateDynamicLPFee is made by an address that is not the hook,\n    /// or on a pool that does not have a dynamic swap fee.\n    error UnauthorizedDynamicLPFeeUpdate();\n\n    /// @notice Thrown when trying to swap amount of 0\n    error SwapAmountCannotBeZero();\n\n    ///@notice Thrown when native currency is passed to a non native settlement\n    error NonzeroNativeValue();\n\n    /// @notice Thrown when `clear` is called with an amount that is not exactly equal to the open currency delta.\n    error MustClearExactPositiveDelta();\n\n    /// @notice Emitted when a new pool is initialized\n    /// @param id The abi encoded hash of the pool key struct for the new pool\n    /// @param currency0 The first currency of the pool by address sort order\n    /// @param currency1 The second currency of the pool by address sort order\n    /// @param fee The fee collected upon every swap in the pool, denominated in hundredths of a bip\n    /// @param tickSpacing The minimum number of ticks between initialized ticks\n    /// @param hooks The hooks contract address for the pool, or address(0) if none\n    /// @param sqrtPriceX96 The price of the pool on initialization\n    /// @param tick The initial tick of the pool corresponding to the initialized price\n    event Initialize(\n        PoolId indexed id,\n        Currency indexed currency0,\n        Currency indexed currency1,\n        uint24 fee,\n        int24 tickSpacing,\n        IHooks hooks,\n        uint160 sqrtPriceX96,\n        int24 tick\n    );\n\n    /// @notice Emitted when a liquidity position is modified\n    /// @param id The abi encoded hash of the pool key struct for the pool that was modified\n    /// @param sender The address that modified the pool\n    /// @param tickLower The lower tick of the position\n    /// @param tickUpper The upper tick of the position\n    /// @param liquidityDelta The amount of liquidity that was added or removed\n    /// @param salt The extra data to make positions unique\n    event ModifyLiquidity(\n        PoolId indexed id, address indexed sender, int24 tickLower, int24 tickUpper, int256 liquidityDelta, bytes32 salt\n    );\n\n    /// @notice Emitted for swaps between currency0 and currency1\n    /// @param id The abi encoded hash of the pool key struct for the pool that was modified\n    /// @param sender The address that initiated the swap call, and that received the callback\n    /// @param amount0 The delta of the currency0 balance of the pool\n    /// @param amount1 The delta of the currency1 balance of the pool\n    /// @param sqrtPriceX96 The sqrt(price) of the pool after the swap, as a Q64.96\n    /// @param liquidity The liquidity of the pool after the swap\n    /// @param tick The log base 1.0001 of the price of the pool after the swap\n    /// @param fee The swap fee in hundredths of a bip\n    event Swap(\n        PoolId indexed id,\n        address indexed sender,\n        int128 amount0,\n        int128 amount1,\n        uint160 sqrtPriceX96,\n        uint128 liquidity,\n        int24 tick,\n        uint24 fee\n    );\n\n    /// @notice Emitted for donations\n    /// @param id The abi encoded hash of the pool key struct for the pool that was donated to\n    /// @param sender The address that initiated the donate call\n    /// @param amount0 The amount donated in currency0\n    /// @param amount1 The amount donated in currency1\n    event Donate(PoolId indexed id, address indexed sender, uint256 amount0, uint256 amount1);\n\n    /// @notice All interactions on the contract that account deltas require unlocking. A caller that calls `unlock` must implement\n    /// `IUnlockCallback(msg.sender).unlockCallback(data)`, where they interact with the remaining functions on this contract.\n    /// @dev The only functions callable without an unlocking are `initialize` and `updateDynamicLPFee`\n    /// @param data Any data to pass to the callback, via `IUnlockCallback(msg.sender).unlockCallback(data)`\n    /// @return The data returned by the call to `IUnlockCallback(msg.sender).unlockCallback(data)`\n    function unlock(bytes calldata data) external returns (bytes memory);\n\n    /// @notice Initialize the state for a given pool ID\n    /// @dev A swap fee totaling MAX_SWAP_FEE (100%) makes exact output swaps impossible since the input is entirely consumed by the fee\n    /// @param key The pool key for the pool to initialize\n    /// @param sqrtPriceX96 The initial square root price\n    /// @return tick The initial tick of the pool\n    function initialize(PoolKey memory key, uint160 sqrtPriceX96) external returns (int24 tick);\n\n    /// @notice Modify the liquidity for the given pool\n    /// @dev Poke by calling with a zero liquidityDelta\n    /// @param key The pool to modify liquidity in\n    /// @param params The parameters for modifying the liquidity\n    /// @param hookData The data to pass through to the add/removeLiquidity hooks\n    /// @return callerDelta The balance delta of the caller of modifyLiquidity. This is the total of both principal, fee deltas, and hook deltas if applicable\n    /// @return feesAccrued The balance delta of the fees generated in the liquidity range. Returned for informational purposes\n    /// @dev Note that feesAccrued can be artificially inflated by a malicious actor and integrators should be careful using the value\n    /// For pools with a single liquidity position, actors can donate to themselves to inflate feeGrowthGlobal (and consequently feesAccrued)\n    /// atomically donating and collecting fees in the same unlockCallback may make the inflated value more extreme\n    function modifyLiquidity(PoolKey memory key, ModifyLiquidityParams memory params, bytes calldata hookData)\n        external\n        returns (BalanceDelta callerDelta, BalanceDelta feesAccrued);\n\n    /// @notice Swap against the given pool\n    /// @param key The pool to swap in\n    /// @param params The parameters for swapping\n    /// @param hookData The data to pass through to the swap hooks\n    /// @return swapDelta The balance delta of the address swapping\n    /// @dev Swapping on low liquidity pools may cause unexpected swap amounts when liquidity available is less than amountSpecified.\n    /// Additionally note that if interacting with hooks that have the BEFORE_SWAP_RETURNS_DELTA_FLAG or AFTER_SWAP_RETURNS_DELTA_FLAG\n    /// the hook may alter the swap input/output. Integrators should perform checks on the returned swapDelta.\n    function swap(PoolKey memory key, SwapParams memory params, bytes calldata hookData)\n        external\n        returns (BalanceDelta swapDelta);\n\n    /// @notice Donate the given currency amounts to the in-range liquidity providers of a pool\n    /// @dev Calls to donate can be frontrun adding just-in-time liquidity, with the aim of receiving a portion donated funds.\n    /// Donors should keep this in mind when designing donation mechanisms.\n    /// @dev This function donates to in-range LPs at slot0.tick. In certain edge-cases of the swap algorithm, the `sqrtPrice` of\n    /// a pool can be at the lower boundary of tick `n`, but the `slot0.tick` of the pool is already `n - 1`. In this case a call to\n    /// `donate` would donate to tick `n - 1` (slot0.tick) not tick `n` (getTickAtSqrtPrice(slot0.sqrtPriceX96)).\n    /// Read the comments in `Pool.swap()` for more information about this.\n    /// @param key The key of the pool to donate to\n    /// @param amount0 The amount of currency0 to donate\n    /// @param amount1 The amount of currency1 to donate\n    /// @param hookData The data to pass through to the donate hooks\n    /// @return BalanceDelta The delta of the caller after the donate\n    function donate(PoolKey memory key, uint256 amount0, uint256 amount1, bytes calldata hookData)\n        external\n        returns (BalanceDelta);\n\n    /// @notice Writes the current ERC20 balance of the specified currency to transient storage\n    /// This is used to checkpoint balances for the manager and derive deltas for the caller.\n    /// @dev This MUST be called before any ERC20 tokens are sent into the contract, but can be skipped\n    /// for native tokens because the amount to settle is determined by the sent value.\n    /// However, if an ERC20 token has been synced and not settled, and the caller instead wants to settle\n    /// native funds, this function can be called with the native currency to then be able to settle the native currency\n    function sync(Currency currency) external;\n\n    /// @notice Called by the user to net out some value owed to the user\n    /// @dev Will revert if the requested amount is not available, consider using `mint` instead\n    /// @dev Can also be used as a mechanism for free flash loans\n    /// @param currency The currency to withdraw from the pool manager\n    /// @param to The address to withdraw to\n    /// @param amount The amount of currency to withdraw\n    function take(Currency currency, address to, uint256 amount) external;\n\n    /// @notice Called by the user to pay what is owed\n    /// @return paid The amount of currency settled\n    function settle() external payable returns (uint256 paid);\n\n    /// @notice Called by the user to pay on behalf of another address\n    /// @param recipient The address to credit for the payment\n    /// @return paid The amount of currency settled\n    function settleFor(address recipient) external payable returns (uint256 paid);\n\n    /// @notice WARNING - Any currency that is cleared, will be non-retrievable, and locked in the contract permanently.\n    /// A call to clear will zero out a positive balance WITHOUT a corresponding transfer.\n    /// @dev This could be used to clear a balance that is considered dust.\n    /// Additionally, the amount must be the exact positive balance. This is to enforce that the caller is aware of the amount being cleared.\n    function clear(Currency currency, uint256 amount) external;\n\n    /// @notice Called by the user to move value into ERC6909 balance\n    /// @param to The address to mint the tokens to\n    /// @param id The currency address to mint to ERC6909s, as a uint256\n    /// @param amount The amount of currency to mint\n    /// @dev The id is converted to a uint160 to correspond to a currency address\n    /// If the upper 12 bytes are not 0, they will be 0-ed out\n    function mint(address to, uint256 id, uint256 amount) external;\n\n    /// @notice Called by the user to move value from ERC6909 balance\n    /// @param from The address to burn the tokens from\n    /// @param id The currency address to burn from ERC6909s, as a uint256\n    /// @param amount The amount of currency to burn\n    /// @dev The id is converted to a uint160 to correspond to a currency address\n    /// If the upper 12 bytes are not 0, they will be 0-ed out\n    function burn(address from, uint256 id, uint256 amount) external;\n\n    /// @notice Updates the pools lp fees for the a pool that has enabled dynamic lp fees.\n    /// @dev A swap fee totaling MAX_SWAP_FEE (100%) makes exact output swaps impossible since the input is entirely consumed by the fee\n    /// @param key The key of the pool to update dynamic LP fees for\n    /// @param newDynamicLPFee The new dynamic pool LP fee\n    function updateDynamicLPFee(PoolKey memory key, uint24 newDynamicLPFee) external;\n}\n"},"lib/v4-core/src/interfaces/callback/IUnlockCallback.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @notice Interface for the callback executed when an address unlocks the pool manager\ninterface IUnlockCallback {\n    /// @notice Called by the pool manager on `msg.sender` when the manager is unlocked\n    /// @param data The data that was passed to the call to unlock\n    /// @return Any data that you want to be returned from the unlock call\n    function unlockCallback(bytes calldata data) external returns (bytes memory);\n}\n"},"lib/v4-core/src/types/PoolKey.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {Currency} from \"./Currency.sol\";\nimport {IHooks} from \"../interfaces/IHooks.sol\";\nimport {PoolIdLibrary} from \"./PoolId.sol\";\n\nusing PoolIdLibrary for PoolKey global;\n\n/// @notice Returns the key for identifying a pool\nstruct PoolKey {\n    /// @notice The lower currency of the pool, sorted numerically\n    Currency currency0;\n    /// @notice The higher currency of the pool, sorted numerically\n    Currency currency1;\n    /// @notice The pool LP fee, capped at 1_000_000. If the highest bit is 1, the pool has a dynamic fee and must be exactly equal to 0x800000\n    uint24 fee;\n    /// @notice Ticks that involve positions must be a multiple of tick spacing\n    int24 tickSpacing;\n    /// @notice The hooks of the pool\n    IHooks hooks;\n}\n"},"lib/v4-core/src/types/PoolOperation.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nimport {PoolKey} from \"../types/PoolKey.sol\";\nimport {BalanceDelta} from \"../types/BalanceDelta.sol\";\n\n/// @notice Parameter struct for `ModifyLiquidity` pool operations\nstruct ModifyLiquidityParams {\n    // the lower and upper tick of the position\n    int24 tickLower;\n    int24 tickUpper;\n    // how to modify the liquidity\n    int256 liquidityDelta;\n    // a value to set if you want unique liquidity positions at the same range\n    bytes32 salt;\n}\n\n/// @notice Parameter struct for `Swap` pool operations\nstruct SwapParams {\n    /// Whether to swap token0 for token1 or vice versa\n    bool zeroForOne;\n    /// The desired input amount if negative (exactIn), or the desired output amount if positive (exactOut)\n    int256 amountSpecified;\n    /// The sqrt price at which, if reached, the swap will stop executing\n    uint160 sqrtPriceLimitX96;\n}\n"},"lib/v4-core/src/types/BalanceDelta.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {SafeCast} from \"../libraries/SafeCast.sol\";\n\n/// @dev Two `int128` values packed into a single `int256` where the upper 128 bits represent the amount0\n/// and the lower 128 bits represent the amount1.\ntype BalanceDelta is int256;\n\nusing {add as +, sub as -, eq as ==, neq as !=} for BalanceDelta global;\nusing BalanceDeltaLibrary for BalanceDelta global;\nusing SafeCast for int256;\n\nfunction toBalanceDelta(int128 _amount0, int128 _amount1) pure returns (BalanceDelta balanceDelta) {\n    assembly (\"memory-safe\") {\n        balanceDelta := or(shl(128, _amount0), and(sub(shl(128, 1), 1), _amount1))\n    }\n}\n\nfunction add(BalanceDelta a, BalanceDelta b) pure returns (BalanceDelta) {\n    int256 res0;\n    int256 res1;\n    assembly (\"memory-safe\") {\n        let a0 := sar(128, a)\n        let a1 := signextend(15, a)\n        let b0 := sar(128, b)\n        let b1 := signextend(15, b)\n        res0 := add(a0, b0)\n        res1 := add(a1, b1)\n    }\n    return toBalanceDelta(res0.toInt128(), res1.toInt128());\n}\n\nfunction sub(BalanceDelta a, BalanceDelta b) pure returns (BalanceDelta) {\n    int256 res0;\n    int256 res1;\n    assembly (\"memory-safe\") {\n        let a0 := sar(128, a)\n        let a1 := signextend(15, a)\n        let b0 := sar(128, b)\n        let b1 := signextend(15, b)\n        res0 := sub(a0, b0)\n        res1 := sub(a1, b1)\n    }\n    return toBalanceDelta(res0.toInt128(), res1.toInt128());\n}\n\nfunction eq(BalanceDelta a, BalanceDelta b) pure returns (bool) {\n    return BalanceDelta.unwrap(a) == BalanceDelta.unwrap(b);\n}\n\nfunction neq(BalanceDelta a, BalanceDelta b) pure returns (bool) {\n    return BalanceDelta.unwrap(a) != BalanceDelta.unwrap(b);\n}\n\n/// @notice Library for getting the amount0 and amount1 deltas from the BalanceDelta type\nlibrary BalanceDeltaLibrary {\n    /// @notice A BalanceDelta of 0\n    BalanceDelta public constant ZERO_DELTA = BalanceDelta.wrap(0);\n\n    function amount0(BalanceDelta balanceDelta) internal pure returns (int128 _amount0) {\n        assembly (\"memory-safe\") {\n            _amount0 := sar(128, balanceDelta)\n        }\n    }\n\n    function amount1(BalanceDelta balanceDelta) internal pure returns (int128 _amount1) {\n        assembly (\"memory-safe\") {\n            _amount1 := signextend(15, balanceDelta)\n        }\n    }\n}\n"},"lib/solmate/src/utils/SignedWadMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity >=0.8.0;\n\n/// @notice Signed 18 decimal fixed point (wad) arithmetic library.\n/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/SignedWadMath.sol)\n/// @author Modified from Remco Bloemen (https://xn--2-umb.com/22/exp-ln/index.html)\n\n/// @dev Will not revert on overflow, only use where overflow is not possible.\nfunction toWadUnsafe(uint256 x) pure returns (int256 r) {\n    /// @solidity memory-safe-assembly\n    assembly {\n        // Multiply x by 1e18.\n        r := mul(x, 1000000000000000000)\n    }\n}\n\n/// @dev Takes an integer amount of seconds and converts it to a wad amount of days.\n/// @dev Will not revert on overflow, only use where overflow is not possible.\n/// @dev Not meant for negative second amounts, it assumes x is positive.\nfunction toDaysWadUnsafe(uint256 x) pure returns (int256 r) {\n    /// @solidity memory-safe-assembly\n    assembly {\n        // Multiply x by 1e18 and then divide it by 86400.\n        r := div(mul(x, 1000000000000000000), 86400)\n    }\n}\n\n/// @dev Takes a wad amount of days and converts it to an integer amount of seconds.\n/// @dev Will not revert on overflow, only use where overflow is not possible.\n/// @dev Not meant for negative day amounts, it assumes x is positive.\nfunction fromDaysWadUnsafe(int256 x) pure returns (uint256 r) {\n    /// @solidity memory-safe-assembly\n    assembly {\n        // Multiply x by 86400 and then divide it by 1e18.\n        r := div(mul(x, 86400), 1000000000000000000)\n    }\n}\n\n/// @dev Will not revert on overflow, only use where overflow is not possible.\nfunction unsafeWadMul(int256 x, int256 y) pure returns (int256 r) {\n    /// @solidity memory-safe-assembly\n    assembly {\n        // Multiply x by y and divide by 1e18.\n        r := sdiv(mul(x, y), 1000000000000000000)\n    }\n}\n\n/// @dev Will return 0 instead of reverting if y is zero and will\n/// not revert on overflow, only use where overflow is not possible.\nfunction unsafeWadDiv(int256 x, int256 y) pure returns (int256 r) {\n    /// @solidity memory-safe-assembly\n    assembly {\n        // Multiply x by 1e18 and divide it by y.\n        r := sdiv(mul(x, 1000000000000000000), y)\n    }\n}\n\nfunction wadMul(int256 x, int256 y) pure returns (int256 r) {\n    /// @solidity memory-safe-assembly\n    assembly {\n        // Store x * y in r for now.\n        r := mul(x, y)\n\n        // Combined overflow check (`x == 0 || (x * y) / x == y`) and edge case check\n        // where x == -1 and y == type(int256).min, for y == -1 and x == min int256,\n        // the second overflow check will catch this.\n        // See: https://secure-contracts.com/learn_evm/arithmetic-checks.html#arithmetic-checks-for-int256-multiplication\n        // Combining into 1 expression saves gas as resulting bytecode will only have 1 `JUMPI`\n        // rather than 2.\n        if iszero(\n            and(\n                or(iszero(x), eq(sdiv(r, x), y)),\n                or(lt(x, not(0)), sgt(y, 0x8000000000000000000000000000000000000000000000000000000000000000))\n            )\n        ) {\n            revert(0, 0)\n        }\n\n        // Scale the result down by 1e18.\n        r := sdiv(r, 1000000000000000000)\n    }\n}\n\nfunction wadDiv(int256 x, int256 y) pure returns (int256 r) {\n    /// @solidity memory-safe-assembly\n    assembly {\n        // Store x * 1e18 in r for now.\n        r := mul(x, 1000000000000000000)\n\n        // Equivalent to require(y != 0 && ((x * 1e18) / 1e18 == x))\n        if iszero(and(iszero(iszero(y)), eq(sdiv(r, 1000000000000000000), x))) {\n            revert(0, 0)\n        }\n\n        // Divide r by y.\n        r := sdiv(r, y)\n    }\n}\n\n/// @dev Will not work with negative bases, only use when x is positive.\nfunction wadPow(int256 x, int256 y) pure returns (int256) {\n    // Equivalent to x to the power of y because x ** y = (e ** ln(x)) ** y = e ** (ln(x) * y)\n    return wadExp((wadLn(x) * y) / 1e18); // Using ln(x) means x must be greater than 0.\n}\n\nfunction wadExp(int256 x) pure returns (int256 r) {\n    unchecked {\n        // When the result is < 0.5 we return zero. This happens when\n        // x <= floor(log(0.5e18) * 1e18) ~ -42e18\n        if (x <= -42139678854452767551) return 0;\n\n        // When the result is > (2**255 - 1) / 1e18 we can not represent it as an\n        // int. This happens when x >= floor(log((2**255 - 1) / 1e18) * 1e18) ~ 135.\n        if (x >= 135305999368893231589) revert(\"EXP_OVERFLOW\");\n\n        // x is now in the range (-42, 136) * 1e18. Convert to (-42, 136) * 2**96\n        // for more intermediate precision and a binary basis. This base conversion\n        // is a multiplication by 1e18 / 2**96 = 5**18 / 2**78.\n        x = (x << 78) / 5 ** 18;\n\n        // Reduce range of x to (-½ ln 2, ½ ln 2) * 2**96 by factoring out powers\n        // of two such that exp(x) = exp(x') * 2**k, where k is an integer.\n        // Solving this gives k = round(x / log(2)) and x' = x - k * log(2).\n        int256 k = ((x << 96) / 54916777467707473351141471128 + 2 ** 95) >> 96;\n        x = x - k * 54916777467707473351141471128;\n\n        // k is in the range [-61, 195].\n\n        // Evaluate using a (6, 7)-term rational approximation.\n        // p is made monic, we'll multiply by a scale factor later.\n        int256 y = x + 1346386616545796478920950773328;\n        y = ((y * x) >> 96) + 57155421227552351082224309758442;\n        int256 p = y + x - 94201549194550492254356042504812;\n        p = ((p * y) >> 96) + 28719021644029726153956944680412240;\n        p = p * x + (4385272521454847904659076985693276 << 96);\n\n        // We leave p in 2**192 basis so we don't need to scale it back up for the division.\n        int256 q = x - 2855989394907223263936484059900;\n        q = ((q * x) >> 96) + 50020603652535783019961831881945;\n        q = ((q * x) >> 96) - 533845033583426703283633433725380;\n        q = ((q * x) >> 96) + 3604857256930695427073651918091429;\n        q = ((q * x) >> 96) - 14423608567350463180887372962807573;\n        q = ((q * x) >> 96) + 26449188498355588339934803723976023;\n\n        /// @solidity memory-safe-assembly\n        assembly {\n            // Div in assembly because solidity adds a zero check despite the unchecked.\n            // The q polynomial won't have zeros in the domain as all its roots are complex.\n            // No scaling is necessary because p is already 2**96 too large.\n            r := sdiv(p, q)\n        }\n\n        // r should be in the range (0.09, 0.25) * 2**96.\n\n        // We now need to multiply r by:\n        // * the scale factor s = ~6.031367120.\n        // * the 2**k factor from the range reduction.\n        // * the 1e18 / 2**96 factor for base conversion.\n        // We do this all at once, with an intermediate result in 2**213\n        // basis, so the final right shift is always by a positive amount.\n        r = int256((uint256(r) * 3822833074963236453042738258902158003155416615667) >> uint256(195 - k));\n    }\n}\n\nfunction wadLn(int256 x) pure returns (int256 r) {\n    unchecked {\n        require(x > 0, \"UNDEFINED\");\n\n        // We want to convert x from 10**18 fixed point to 2**96 fixed point.\n        // We do this by multiplying by 2**96 / 10**18. But since\n        // ln(x * C) = ln(x) + ln(C), we can simply do nothing here\n        // and add ln(2**96 / 10**18) at the end.\n\n        /// @solidity memory-safe-assembly\n        assembly {\n            r := shl(7, lt(0xffffffffffffffffffffffffffffffff, x))\n            r := or(r, shl(6, lt(0xffffffffffffffff, shr(r, x))))\n            r := or(r, shl(5, lt(0xffffffff, shr(r, x))))\n            r := or(r, shl(4, lt(0xffff, shr(r, x))))\n            r := or(r, shl(3, lt(0xff, shr(r, x))))\n            r := or(r, shl(2, lt(0xf, shr(r, x))))\n            r := or(r, shl(1, lt(0x3, shr(r, x))))\n            r := or(r, lt(0x1, shr(r, x)))\n        }\n\n        // Reduce range of x to (1, 2) * 2**96\n        // ln(2^k * x) = k * ln(2) + ln(x)\n        int256 k = r - 96;\n        x <<= uint256(159 - k);\n        x = int256(uint256(x) >> 159);\n\n        // Evaluate using a (8, 8)-term rational approximation.\n        // p is made monic, we will multiply by a scale factor later.\n        int256 p = x + 3273285459638523848632254066296;\n        p = ((p * x) >> 96) + 24828157081833163892658089445524;\n        p = ((p * x) >> 96) + 43456485725739037958740375743393;\n        p = ((p * x) >> 96) - 11111509109440967052023855526967;\n        p = ((p * x) >> 96) - 45023709667254063763336534515857;\n        p = ((p * x) >> 96) - 14706773417378608786704636184526;\n        p = p * x - (795164235651350426258249787498 << 96);\n\n        // We leave p in 2**192 basis so we don't need to scale it back up for the division.\n        // q is monic by convention.\n        int256 q = x + 5573035233440673466300451813936;\n        q = ((q * x) >> 96) + 71694874799317883764090561454958;\n        q = ((q * x) >> 96) + 283447036172924575727196451306956;\n        q = ((q * x) >> 96) + 401686690394027663651624208769553;\n        q = ((q * x) >> 96) + 204048457590392012362485061816622;\n        q = ((q * x) >> 96) + 31853899698501571402653359427138;\n        q = ((q * x) >> 96) + 909429971244387300277376558375;\n        /// @solidity memory-safe-assembly\n        assembly {\n            // Div in assembly because solidity adds a zero check despite the unchecked.\n            // The q polynomial is known not to have zeros in the domain.\n            // No scaling required because p is already 2**96 too large.\n            r := sdiv(p, q)\n        }\n\n        // r is in the range (0, 0.125) * 2**96\n\n        // Finalization, we need to:\n        // * multiply by the scale factor s = 5.549…\n        // * add ln(2**96 / 10**18)\n        // * add k * ln(2)\n        // * multiply by 10**18 / 2**96 = 5**18 >> 78\n\n        // mul s * 5e18 * 2**96, base is now 5**18 * 2**192\n        r *= 1677202110996718588342820967067443963516166;\n        // add ln(2) * k * 5e18 * 2**192\n        r += 16597577552685614221487285958193947469193820559219878177908093499208371 * k;\n        // add ln(2**96 / 10**18) * 5e18 * 2**192\n        r += 600920179829731861736702779321621459595472258049074101567377883020018308;\n        // base conversion: mul 2**18 / 2**192\n        r >>= 174;\n    }\n}\n\n/// @dev Will return 0 instead of reverting if y is zero.\nfunction unsafeDiv(int256 x, int256 y) pure returns (int256 r) {\n    /// @solidity memory-safe-assembly\n    assembly {\n        // Divide x by y.\n        r := sdiv(x, y)\n    }\n}\n"},"lib/v4-core/src/types/Currency.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {IERC20Minimal} from \"../interfaces/external/IERC20Minimal.sol\";\nimport {CustomRevert} from \"../libraries/CustomRevert.sol\";\n\ntype Currency is address;\n\nusing {greaterThan as >, lessThan as <, greaterThanOrEqualTo as >=, equals as ==} for Currency global;\nusing CurrencyLibrary for Currency global;\n\nfunction equals(Currency currency, Currency other) pure returns (bool) {\n    return Currency.unwrap(currency) == Currency.unwrap(other);\n}\n\nfunction greaterThan(Currency currency, Currency other) pure returns (bool) {\n    return Currency.unwrap(currency) > Currency.unwrap(other);\n}\n\nfunction lessThan(Currency currency, Currency other) pure returns (bool) {\n    return Currency.unwrap(currency) < Currency.unwrap(other);\n}\n\nfunction greaterThanOrEqualTo(Currency currency, Currency other) pure returns (bool) {\n    return Currency.unwrap(currency) >= Currency.unwrap(other);\n}\n\n/// @title CurrencyLibrary\n/// @dev This library allows for transferring and holding native tokens and ERC20 tokens\nlibrary CurrencyLibrary {\n    /// @notice Additional context for ERC-7751 wrapped error when a native transfer fails\n    error NativeTransferFailed();\n\n    /// @notice Additional context for ERC-7751 wrapped error when an ERC20 transfer fails\n    error ERC20TransferFailed();\n\n    /// @notice A constant to represent the native currency\n    Currency public constant ADDRESS_ZERO = Currency.wrap(address(0));\n\n    function transfer(Currency currency, address to, uint256 amount) internal {\n        // altered from https://github.com/transmissions11/solmate/blob/44a9963d4c78111f77caa0e65d677b8b46d6f2e6/src/utils/SafeTransferLib.sol\n        // modified custom error selectors\n\n        bool success;\n        if (currency.isAddressZero()) {\n            assembly (\"memory-safe\") {\n                // Transfer the ETH and revert if it fails.\n                success := call(gas(), to, amount, 0, 0, 0, 0)\n            }\n            // revert with NativeTransferFailed, containing the bubbled up error as an argument\n            if (!success) {\n                CustomRevert.bubbleUpAndRevertWith(to, bytes4(0), NativeTransferFailed.selector);\n            }\n        } else {\n            assembly (\"memory-safe\") {\n                // Get a pointer to some free memory.\n                let fmp := mload(0x40)\n\n                // Write the abi-encoded calldata into memory, beginning with the function selector.\n                mstore(fmp, 0xa9059cbb00000000000000000000000000000000000000000000000000000000)\n                mstore(add(fmp, 4), and(to, 0xffffffffffffffffffffffffffffffffffffffff)) // Append and mask the \"to\" argument.\n                mstore(add(fmp, 36), amount) // Append the \"amount\" argument. Masking not required as it's a full 32 byte type.\n\n                success := and(\n                    // Set success to whether the call reverted, if not we check it either\n                    // returned exactly 1 (can't just be non-zero data), or had no return data.\n                    or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())),\n                    // We use 68 because the length of our calldata totals up like so: 4 + 32 * 2.\n                    // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space.\n                    // Counterintuitively, this call must be positioned second to the or() call in the\n                    // surrounding and() call or else returndatasize() will be zero during the computation.\n                    call(gas(), currency, 0, fmp, 68, 0, 32)\n                )\n\n                // Now clean the memory we used\n                mstore(fmp, 0) // 4 byte `selector` and 28 bytes of `to` were stored here\n                mstore(add(fmp, 0x20), 0) // 4 bytes of `to` and 28 bytes of `amount` were stored here\n                mstore(add(fmp, 0x40), 0) // 4 bytes of `amount` were stored here\n            }\n            // revert with ERC20TransferFailed, containing the bubbled up error as an argument\n            if (!success) {\n                CustomRevert.bubbleUpAndRevertWith(\n                    Currency.unwrap(currency), IERC20Minimal.transfer.selector, ERC20TransferFailed.selector\n                );\n            }\n        }\n    }\n\n    function balanceOfSelf(Currency currency) internal view returns (uint256) {\n        if (currency.isAddressZero()) {\n            return address(this).balance;\n        } else {\n            return IERC20Minimal(Currency.unwrap(currency)).balanceOf(address(this));\n        }\n    }\n\n    function balanceOf(Currency currency, address owner) internal view returns (uint256) {\n        if (currency.isAddressZero()) {\n            return owner.balance;\n        } else {\n            return IERC20Minimal(Currency.unwrap(currency)).balanceOf(owner);\n        }\n    }\n\n    function isAddressZero(Currency currency) internal pure returns (bool) {\n        return Currency.unwrap(currency) == Currency.unwrap(ADDRESS_ZERO);\n    }\n\n    function toId(Currency currency) internal pure returns (uint256) {\n        return uint160(Currency.unwrap(currency));\n    }\n\n    // If the upper 12 bytes are non-zero, they will be zero-ed out\n    // Therefore, fromId() and toId() are not inverses of each other\n    function fromId(uint256 id) internal pure returns (Currency) {\n        return Currency.wrap(address(uint160(id)));\n    }\n}\n"},"lib/v4-core/src/interfaces/IHooks.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {PoolKey} from \"../types/PoolKey.sol\";\nimport {BalanceDelta} from \"../types/BalanceDelta.sol\";\nimport {ModifyLiquidityParams, SwapParams} from \"../types/PoolOperation.sol\";\nimport {BeforeSwapDelta} from \"../types/BeforeSwapDelta.sol\";\n\n/// @notice V4 decides whether to invoke specific hooks by inspecting the least significant bits\n/// of the address that the hooks contract is deployed to.\n/// For example, a hooks contract deployed to address: 0x0000000000000000000000000000000000002400\n/// has the lowest bits '10 0100 0000 0000' which would cause the 'before initialize' and 'after add liquidity' hooks to be used.\n/// See the Hooks library for the full spec.\n/// @dev Should only be callable by the v4 PoolManager.\ninterface IHooks {\n    /// @notice The hook called before the state of a pool is initialized\n    /// @param sender The initial msg.sender for the initialize call\n    /// @param key The key for the pool being initialized\n    /// @param sqrtPriceX96 The sqrt(price) of the pool as a Q64.96\n    /// @return bytes4 The function selector for the hook\n    function beforeInitialize(address sender, PoolKey calldata key, uint160 sqrtPriceX96) external returns (bytes4);\n\n    /// @notice The hook called after the state of a pool is initialized\n    /// @param sender The initial msg.sender for the initialize call\n    /// @param key The key for the pool being initialized\n    /// @param sqrtPriceX96 The sqrt(price) of the pool as a Q64.96\n    /// @param tick The current tick after the state of a pool is initialized\n    /// @return bytes4 The function selector for the hook\n    function afterInitialize(address sender, PoolKey calldata key, uint160 sqrtPriceX96, int24 tick)\n        external\n        returns (bytes4);\n\n    /// @notice The hook called before liquidity is added\n    /// @param sender The initial msg.sender for the add liquidity call\n    /// @param key The key for the pool\n    /// @param params The parameters for adding liquidity\n    /// @param hookData Arbitrary data handed into the PoolManager by the liquidity provider to be passed on to the hook\n    /// @return bytes4 The function selector for the hook\n    function beforeAddLiquidity(\n        address sender,\n        PoolKey calldata key,\n        ModifyLiquidityParams calldata params,\n        bytes calldata hookData\n    ) external returns (bytes4);\n\n    /// @notice The hook called after liquidity is added\n    /// @param sender The initial msg.sender for the add liquidity call\n    /// @param key The key for the pool\n    /// @param params The parameters for adding liquidity\n    /// @param delta The caller's balance delta after adding liquidity; the sum of principal delta, fees accrued, and hook delta\n    /// @param feesAccrued The fees accrued since the last time fees were collected from this position\n    /// @param hookData Arbitrary data handed into the PoolManager by the liquidity provider to be passed on to the hook\n    /// @return bytes4 The function selector for the hook\n    /// @return BalanceDelta The hook's delta in token0 and token1. Positive: the hook is owed/took currency, negative: the hook owes/sent currency\n    function afterAddLiquidity(\n        address sender,\n        PoolKey calldata key,\n        ModifyLiquidityParams calldata params,\n        BalanceDelta delta,\n        BalanceDelta feesAccrued,\n        bytes calldata hookData\n    ) external returns (bytes4, BalanceDelta);\n\n    /// @notice The hook called before liquidity is removed\n    /// @param sender The initial msg.sender for the remove liquidity call\n    /// @param key The key for the pool\n    /// @param params The parameters for removing liquidity\n    /// @param hookData Arbitrary data handed into the PoolManager by the liquidity provider to be be passed on to the hook\n    /// @return bytes4 The function selector for the hook\n    function beforeRemoveLiquidity(\n        address sender,\n        PoolKey calldata key,\n        ModifyLiquidityParams calldata params,\n        bytes calldata hookData\n    ) external returns (bytes4);\n\n    /// @notice The hook called after liquidity is removed\n    /// @param sender The initial msg.sender for the remove liquidity call\n    /// @param key The key for the pool\n    /// @param params The parameters for removing liquidity\n    /// @param delta The caller's balance delta after removing liquidity; the sum of principal delta, fees accrued, and hook delta\n    /// @param feesAccrued The fees accrued since the last time fees were collected from this position\n    /// @param hookData Arbitrary data handed into the PoolManager by the liquidity provider to be be passed on to the hook\n    /// @return bytes4 The function selector for the hook\n    /// @return BalanceDelta The hook's delta in token0 and token1. Positive: the hook is owed/took currency, negative: the hook owes/sent currency\n    function afterRemoveLiquidity(\n        address sender,\n        PoolKey calldata key,\n        ModifyLiquidityParams calldata params,\n        BalanceDelta delta,\n        BalanceDelta feesAccrued,\n        bytes calldata hookData\n    ) external returns (bytes4, BalanceDelta);\n\n    /// @notice The hook called before a swap\n    /// @param sender The initial msg.sender for the swap call\n    /// @param key The key for the pool\n    /// @param params The parameters for the swap\n    /// @param hookData Arbitrary data handed into the PoolManager by the swapper to be be passed on to the hook\n    /// @return bytes4 The function selector for the hook\n    /// @return BeforeSwapDelta The hook's delta in specified and unspecified currencies. Positive: the hook is owed/took currency, negative: the hook owes/sent currency\n    /// @return uint24 Optionally override the lp fee, only used if three conditions are met: 1. the Pool has a dynamic fee, 2. the value's 2nd highest bit is set (23rd bit, 0x400000), and 3. the value is less than or equal to the maximum fee (1 million)\n    function beforeSwap(address sender, PoolKey calldata key, SwapParams calldata params, bytes calldata hookData)\n        external\n        returns (bytes4, BeforeSwapDelta, uint24);\n\n    /// @notice The hook called after a swap\n    /// @param sender The initial msg.sender for the swap call\n    /// @param key The key for the pool\n    /// @param params The parameters for the swap\n    /// @param delta The amount owed to the caller (positive) or owed to the pool (negative)\n    /// @param hookData Arbitrary data handed into the PoolManager by the swapper to be be passed on to the hook\n    /// @return bytes4 The function selector for the hook\n    /// @return int128 The hook's delta in unspecified currency. Positive: the hook is owed/took currency, negative: the hook owes/sent currency\n    function afterSwap(\n        address sender,\n        PoolKey calldata key,\n        SwapParams calldata params,\n        BalanceDelta delta,\n        bytes calldata hookData\n    ) external returns (bytes4, int128);\n\n    /// @notice The hook called before donate\n    /// @param sender The initial msg.sender for the donate call\n    /// @param key The key for the pool\n    /// @param amount0 The amount of token0 being donated\n    /// @param amount1 The amount of token1 being donated\n    /// @param hookData Arbitrary data handed into the PoolManager by the donor to be be passed on to the hook\n    /// @return bytes4 The function selector for the hook\n    function beforeDonate(\n        address sender,\n        PoolKey calldata key,\n        uint256 amount0,\n        uint256 amount1,\n        bytes calldata hookData\n    ) external returns (bytes4);\n\n    /// @notice The hook called after donate\n    /// @param sender The initial msg.sender for the donate call\n    /// @param key The key for the pool\n    /// @param amount0 The amount of token0 being donated\n    /// @param amount1 The amount of token1 being donated\n    /// @param hookData Arbitrary data handed into the PoolManager by the donor to be be passed on to the hook\n    /// @return bytes4 The function selector for the hook\n    function afterDonate(\n        address sender,\n        PoolKey calldata key,\n        uint256 amount0,\n        uint256 amount1,\n        bytes calldata hookData\n    ) external returns (bytes4);\n}\n"},"lib/v4-core/src/interfaces/external/IERC6909Claims.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @notice Interface for claims over a contract balance, wrapped as a ERC6909\ninterface IERC6909Claims {\n    /*//////////////////////////////////////////////////////////////\n                                 EVENTS\n    //////////////////////////////////////////////////////////////*/\n\n    event OperatorSet(address indexed owner, address indexed operator, bool approved);\n\n    event Approval(address indexed owner, address indexed spender, uint256 indexed id, uint256 amount);\n\n    event Transfer(address caller, address indexed from, address indexed to, uint256 indexed id, uint256 amount);\n\n    /*//////////////////////////////////////////////////////////////\n                                 FUNCTIONS\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Owner balance of an id.\n    /// @param owner The address of the owner.\n    /// @param id The id of the token.\n    /// @return amount The balance of the token.\n    function balanceOf(address owner, uint256 id) external view returns (uint256 amount);\n\n    /// @notice Spender allowance of an id.\n    /// @param owner The address of the owner.\n    /// @param spender The address of the spender.\n    /// @param id The id of the token.\n    /// @return amount The allowance of the token.\n    function allowance(address owner, address spender, uint256 id) external view returns (uint256 amount);\n\n    /// @notice Checks if a spender is approved by an owner as an operator\n    /// @param owner The address of the owner.\n    /// @param spender The address of the spender.\n    /// @return approved The approval status.\n    function isOperator(address owner, address spender) external view returns (bool approved);\n\n    /// @notice Transfers an amount of an id from the caller to a receiver.\n    /// @param receiver The address of the receiver.\n    /// @param id The id of the token.\n    /// @param amount The amount of the token.\n    /// @return bool True, always, unless the function reverts\n    function transfer(address receiver, uint256 id, uint256 amount) external returns (bool);\n\n    /// @notice Transfers an amount of an id from a sender to a receiver.\n    /// @param sender The address of the sender.\n    /// @param receiver The address of the receiver.\n    /// @param id The id of the token.\n    /// @param amount The amount of the token.\n    /// @return bool True, always, unless the function reverts\n    function transferFrom(address sender, address receiver, uint256 id, uint256 amount) external returns (bool);\n\n    /// @notice Approves an amount of an id to a spender.\n    /// @param spender The address of the spender.\n    /// @param id The id of the token.\n    /// @param amount The amount of the token.\n    /// @return bool True, always\n    function approve(address spender, uint256 id, uint256 amount) external returns (bool);\n\n    /// @notice Sets or removes an operator for the caller.\n    /// @param operator The address of the operator.\n    /// @param approved The approval status.\n    /// @return bool True, always\n    function setOperator(address operator, bool approved) external returns (bool);\n}\n"},"lib/v4-core/src/interfaces/IProtocolFees.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {Currency} from \"../types/Currency.sol\";\nimport {PoolId} from \"../types/PoolId.sol\";\nimport {PoolKey} from \"../types/PoolKey.sol\";\n\n/// @notice Interface for all protocol-fee related functions in the pool manager\ninterface IProtocolFees {\n    /// @notice Thrown when protocol fee is set too high\n    error ProtocolFeeTooLarge(uint24 fee);\n\n    /// @notice Thrown when collectProtocolFees or setProtocolFee is not called by the controller.\n    error InvalidCaller();\n\n    /// @notice Thrown when collectProtocolFees is attempted on a token that is synced.\n    error ProtocolFeeCurrencySynced();\n\n    /// @notice Emitted when the protocol fee controller address is updated in setProtocolFeeController.\n    event ProtocolFeeControllerUpdated(address indexed protocolFeeController);\n\n    /// @notice Emitted when the protocol fee is updated for a pool.\n    event ProtocolFeeUpdated(PoolId indexed id, uint24 protocolFee);\n\n    /// @notice Given a currency address, returns the protocol fees accrued in that currency\n    /// @param currency The currency to check\n    /// @return amount The amount of protocol fees accrued in the currency\n    function protocolFeesAccrued(Currency currency) external view returns (uint256 amount);\n\n    /// @notice Sets the protocol fee for the given pool\n    /// @param key The key of the pool to set a protocol fee for\n    /// @param newProtocolFee The fee to set\n    function setProtocolFee(PoolKey memory key, uint24 newProtocolFee) external;\n\n    /// @notice Sets the protocol fee controller\n    /// @param controller The new protocol fee controller\n    function setProtocolFeeController(address controller) external;\n\n    /// @notice Collects the protocol fees for a given recipient and currency, returning the amount collected\n    /// @dev This will revert if the contract is unlocked\n    /// @param recipient The address to receive the protocol fees\n    /// @param currency The currency to withdraw\n    /// @param amount The amount of currency to withdraw\n    /// @return amountCollected The amount of currency successfully withdrawn\n    function collectProtocolFees(address recipient, Currency currency, uint256 amount)\n        external\n        returns (uint256 amountCollected);\n\n    /// @notice Returns the current protocol fee controller address\n    /// @return address The current protocol fee controller address\n    function protocolFeeController() external view returns (address);\n}\n"},"lib/v4-core/src/types/PoolId.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {PoolKey} from \"./PoolKey.sol\";\n\ntype PoolId is bytes32;\n\n/// @notice Library for computing the ID of a pool\nlibrary PoolIdLibrary {\n    /// @notice Returns value equal to keccak256(abi.encode(poolKey))\n    function toId(PoolKey memory poolKey) internal pure returns (PoolId poolId) {\n        assembly (\"memory-safe\") {\n            // 0xa0 represents the total size of the poolKey struct (5 slots of 32 bytes)\n            poolId := keccak256(poolKey, 0xa0)\n        }\n    }\n}\n"},"lib/v4-core/src/interfaces/IExtsload.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @notice Interface for functions to access any storage slot in a contract\ninterface IExtsload {\n    /// @notice Called by external contracts to access granular pool state\n    /// @param slot Key of slot to sload\n    /// @return value The value of the slot as bytes32\n    function extsload(bytes32 slot) external view returns (bytes32 value);\n\n    /// @notice Called by external contracts to access granular pool state\n    /// @param startSlot Key of slot to start sloading from\n    /// @param nSlots Number of slots to load into return value\n    /// @return values List of loaded values.\n    function extsload(bytes32 startSlot, uint256 nSlots) external view returns (bytes32[] memory values);\n\n    /// @notice Called by external contracts to access sparse pool state\n    /// @param slots List of slots to SLOAD from.\n    /// @return values List of loaded values.\n    function extsload(bytes32[] calldata slots) external view returns (bytes32[] memory values);\n}\n"},"lib/v4-core/src/interfaces/IExttload.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\n/// @notice Interface for functions to access any transient storage slot in a contract\ninterface IExttload {\n    /// @notice Called by external contracts to access transient storage of the contract\n    /// @param slot Key of slot to tload\n    /// @return value The value of the slot as bytes32\n    function exttload(bytes32 slot) external view returns (bytes32 value);\n\n    /// @notice Called by external contracts to access sparse transient pool state\n    /// @param slots List of slots to tload\n    /// @return values List of loaded values\n    function exttload(bytes32[] calldata slots) external view returns (bytes32[] memory values);\n}\n"},"lib/v4-core/src/libraries/SafeCast.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {CustomRevert} from \"./CustomRevert.sol\";\n\n/// @title Safe casting methods\n/// @notice Contains methods for safely casting between types\nlibrary SafeCast {\n    using CustomRevert for bytes4;\n\n    error SafeCastOverflow();\n\n    /// @notice Cast a uint256 to a uint160, revert on overflow\n    /// @param x The uint256 to be downcasted\n    /// @return y The downcasted integer, now type uint160\n    function toUint160(uint256 x) internal pure returns (uint160 y) {\n        y = uint160(x);\n        if (y != x) SafeCastOverflow.selector.revertWith();\n    }\n\n    /// @notice Cast a uint256 to a uint128, revert on overflow\n    /// @param x The uint256 to be downcasted\n    /// @return y The downcasted integer, now type uint128\n    function toUint128(uint256 x) internal pure returns (uint128 y) {\n        y = uint128(x);\n        if (x != y) SafeCastOverflow.selector.revertWith();\n    }\n\n    /// @notice Cast a int128 to a uint128, revert on overflow or underflow\n    /// @param x The int128 to be casted\n    /// @return y The casted integer, now type uint128\n    function toUint128(int128 x) internal pure returns (uint128 y) {\n        if (x < 0) SafeCastOverflow.selector.revertWith();\n        y = uint128(x);\n    }\n\n    /// @notice Cast a int256 to a int128, revert on overflow or underflow\n    /// @param x The int256 to be downcasted\n    /// @return y The downcasted integer, now type int128\n    function toInt128(int256 x) internal pure returns (int128 y) {\n        y = int128(x);\n        if (y != x) SafeCastOverflow.selector.revertWith();\n    }\n\n    /// @notice Cast a uint256 to a int256, revert on overflow\n    /// @param x The uint256 to be casted\n    /// @return y The casted integer, now type int256\n    function toInt256(uint256 x) internal pure returns (int256 y) {\n        y = int256(x);\n        if (y < 0) SafeCastOverflow.selector.revertWith();\n    }\n\n    /// @notice Cast a uint256 to a int128, revert on overflow\n    /// @param x The uint256 to be downcasted\n    /// @return The downcasted integer, now type int128\n    function toInt128(uint256 x) internal pure returns (int128) {\n        if (x >= 1 << 127) SafeCastOverflow.selector.revertWith();\n        return int128(int256(x));\n    }\n}\n"},"lib/v4-core/src/interfaces/external/IERC20Minimal.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title Minimal ERC20 interface for Uniswap\n/// @notice Contains a subset of the full ERC20 interface that is used in Uniswap V3\ninterface IERC20Minimal {\n    /// @notice Returns an account's balance in the token\n    /// @param account The account for which to look up the number of tokens it has, i.e. its balance\n    /// @return The number of tokens held by the account\n    function balanceOf(address account) external view returns (uint256);\n\n    /// @notice Transfers the amount of token from the `msg.sender` to the recipient\n    /// @param recipient The account that will receive the amount transferred\n    /// @param amount The number of tokens to send from the sender to the recipient\n    /// @return Returns true for a successful transfer, false for an unsuccessful transfer\n    function transfer(address recipient, uint256 amount) external returns (bool);\n\n    /// @notice Returns the current allowance given to a spender by an owner\n    /// @param owner The account of the token owner\n    /// @param spender The account of the token spender\n    /// @return The current allowance granted by `owner` to `spender`\n    function allowance(address owner, address spender) external view returns (uint256);\n\n    /// @notice Sets the allowance of a spender from the `msg.sender` to the value `amount`\n    /// @param spender The account which will be allowed to spend a given amount of the owners tokens\n    /// @param amount The amount of tokens allowed to be used by `spender`\n    /// @return Returns true for a successful approval, false for unsuccessful\n    function approve(address spender, uint256 amount) external returns (bool);\n\n    /// @notice Transfers `amount` tokens from `sender` to `recipient` up to the allowance given to the `msg.sender`\n    /// @param sender The account from which the transfer will be initiated\n    /// @param recipient The recipient of the transfer\n    /// @param amount The amount of the transfer\n    /// @return Returns true for a successful transfer, false for unsuccessful\n    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);\n\n    /// @notice Event emitted when tokens are transferred from one address to another, either via `#transfer` or `#transferFrom`.\n    /// @param from The account from which the tokens were sent, i.e. the balance decreased\n    /// @param to The account to which the tokens were sent, i.e. the balance increased\n    /// @param value The amount of tokens that were transferred\n    event Transfer(address indexed from, address indexed to, uint256 value);\n\n    /// @notice Event emitted when the approval amount for the spender of a given owner's tokens changes.\n    /// @param owner The account that approved spending of its tokens\n    /// @param spender The account for which the spending allowance was modified\n    /// @param value The new allowance from the owner to the spender\n    event Approval(address indexed owner, address indexed spender, uint256 value);\n}\n"},"lib/v4-core/src/libraries/CustomRevert.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title Library for reverting with custom errors efficiently\n/// @notice Contains functions for reverting with custom errors with different argument types efficiently\n/// @dev To use this library, declare `using CustomRevert for bytes4;` and replace `revert CustomError()` with\n/// `CustomError.selector.revertWith()`\n/// @dev The functions may tamper with the free memory pointer but it is fine since the call context is exited immediately\nlibrary CustomRevert {\n    /// @dev ERC-7751 error for wrapping bubbled up reverts\n    error WrappedError(address target, bytes4 selector, bytes reason, bytes details);\n\n    /// @dev Reverts with the selector of a custom error in the scratch space\n    function revertWith(bytes4 selector) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0, selector)\n            revert(0, 0x04)\n        }\n    }\n\n    /// @dev Reverts with a custom error with an address argument in the scratch space\n    function revertWith(bytes4 selector, address addr) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0, selector)\n            mstore(0x04, and(addr, 0xffffffffffffffffffffffffffffffffffffffff))\n            revert(0, 0x24)\n        }\n    }\n\n    /// @dev Reverts with a custom error with an int24 argument in the scratch space\n    function revertWith(bytes4 selector, int24 value) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0, selector)\n            mstore(0x04, signextend(2, value))\n            revert(0, 0x24)\n        }\n    }\n\n    /// @dev Reverts with a custom error with a uint160 argument in the scratch space\n    function revertWith(bytes4 selector, uint160 value) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0, selector)\n            mstore(0x04, and(value, 0xffffffffffffffffffffffffffffffffffffffff))\n            revert(0, 0x24)\n        }\n    }\n\n    /// @dev Reverts with a custom error with two int24 arguments\n    function revertWith(bytes4 selector, int24 value1, int24 value2) internal pure {\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(fmp, selector)\n            mstore(add(fmp, 0x04), signextend(2, value1))\n            mstore(add(fmp, 0x24), signextend(2, value2))\n            revert(fmp, 0x44)\n        }\n    }\n\n    /// @dev Reverts with a custom error with two uint160 arguments\n    function revertWith(bytes4 selector, uint160 value1, uint160 value2) internal pure {\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(fmp, selector)\n            mstore(add(fmp, 0x04), and(value1, 0xffffffffffffffffffffffffffffffffffffffff))\n            mstore(add(fmp, 0x24), and(value2, 0xffffffffffffffffffffffffffffffffffffffff))\n            revert(fmp, 0x44)\n        }\n    }\n\n    /// @dev Reverts with a custom error with two address arguments\n    function revertWith(bytes4 selector, address value1, address value2) internal pure {\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(fmp, selector)\n            mstore(add(fmp, 0x04), and(value1, 0xffffffffffffffffffffffffffffffffffffffff))\n            mstore(add(fmp, 0x24), and(value2, 0xffffffffffffffffffffffffffffffffffffffff))\n            revert(fmp, 0x44)\n        }\n    }\n\n    /// @notice bubble up the revert message returned by a call and revert with a wrapped ERC-7751 error\n    /// @dev this method can be vulnerable to revert data bombs\n    function bubbleUpAndRevertWith(\n        address revertingContract,\n        bytes4 revertingFunctionSelector,\n        bytes4 additionalContext\n    ) internal pure {\n        bytes4 wrappedErrorSelector = WrappedError.selector;\n        assembly (\"memory-safe\") {\n            // Ensure the size of the revert data is a multiple of 32 bytes\n            let encodedDataSize := mul(div(add(returndatasize(), 31), 32), 32)\n\n            let fmp := mload(0x40)\n\n            // Encode wrapped error selector, address, function selector, offset, additional context, size, revert reason\n            mstore(fmp, wrappedErrorSelector)\n            mstore(add(fmp, 0x04), and(revertingContract, 0xffffffffffffffffffffffffffffffffffffffff))\n            mstore(\n                add(fmp, 0x24),\n                and(revertingFunctionSelector, 0xffffffff00000000000000000000000000000000000000000000000000000000)\n            )\n            // offset revert reason\n            mstore(add(fmp, 0x44), 0x80)\n            // offset additional context\n            mstore(add(fmp, 0x64), add(0xa0, encodedDataSize))\n            // size revert reason\n            mstore(add(fmp, 0x84), returndatasize())\n            // revert reason\n            returndatacopy(add(fmp, 0xa4), 0, returndatasize())\n            // size additional context\n            mstore(add(fmp, add(0xa4, encodedDataSize)), 0x04)\n            // additional context\n            mstore(\n                add(fmp, add(0xc4, encodedDataSize)),\n                and(additionalContext, 0xffffffff00000000000000000000000000000000000000000000000000000000)\n            )\n            revert(fmp, add(0xe4, encodedDataSize))\n        }\n    }\n}\n"},"lib/v4-core/src/types/BeforeSwapDelta.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n// Return type of the beforeSwap hook.\n// Upper 128 bits is the delta in specified tokens. Lower 128 bits is delta in unspecified tokens (to match the afterSwap hook)\ntype BeforeSwapDelta is int256;\n\n// Creates a BeforeSwapDelta from specified and unspecified\nfunction toBeforeSwapDelta(int128 deltaSpecified, int128 deltaUnspecified)\n    pure\n    returns (BeforeSwapDelta beforeSwapDelta)\n{\n    assembly (\"memory-safe\") {\n        beforeSwapDelta := or(shl(128, deltaSpecified), and(sub(shl(128, 1), 1), deltaUnspecified))\n    }\n}\n\n/// @notice Library for getting the specified and unspecified deltas from the BeforeSwapDelta type\nlibrary BeforeSwapDeltaLibrary {\n    /// @notice A BeforeSwapDelta of 0\n    BeforeSwapDelta public constant ZERO_DELTA = BeforeSwapDelta.wrap(0);\n\n    /// extracts int128 from the upper 128 bits of the BeforeSwapDelta\n    /// returned by beforeSwap\n    function getSpecifiedDelta(BeforeSwapDelta delta) internal pure returns (int128 deltaSpecified) {\n        assembly (\"memory-safe\") {\n            deltaSpecified := sar(128, delta)\n        }\n    }\n\n    /// extracts int128 from the lower 128 bits of the BeforeSwapDelta\n    /// returned by beforeSwap and afterSwap\n    function getUnspecifiedDelta(BeforeSwapDelta delta) internal pure returns (int128 deltaUnspecified) {\n        assembly (\"memory-safe\") {\n            deltaUnspecified := signextend(15, delta)\n        }\n    }\n}\n"}},"compilation":{"language":"Solidity","compiler":"solc","compilerVersion":"0.8.26+commit.8a97fa7a","compilerSettings":{"viaIR":true,"metadata":{"appendCBOR":true,"bytecodeHash":"none","useLiteralContent":false},"libraries":{},"optimizer":{"runs":200,"enabled":true},"evmVersion":"cancun","remappings":["v4-core/=lib/v4-core/","forge-std/=lib/forge-std/src/","solmate/=lib/solmate/"]},"name":"OGDistributor","fullyQualifiedName":"src/OGDistributor.sol:OGDistributor"},"abi":[{"type":"constructor","inputs":[{"name":"token_","type":"address","internalType":"contract OG"},{"name":"collection_","type":"address","internalType":"contract ISpepe"},{"name":"manager_","type":"address","internalType":"contract IPoolManager"},{"name":"hook_","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"name":"ETHSendFailed","type":"error","inputs":[]},{"name":"InvalidLevel","type":"error","inputs":[]},{"name":"Locked","type":"error","inputs":[]},{"name":"Reentrancy","type":"error","inputs":[]},{"name":"SlippageOrExpired","type":"error","inputs":[]},{"name":"Unauthorized","type":"error","inputs":[]},{"name":"Activated","type":"event","inputs":[{"name":"tokenId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"level","type":"uint8","indexed":false,"internalType":"uint8"},{"name":"burned","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"Exited","type":"event","inputs":[{"name":"tokenId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"ethPaid","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"RewardsReceived","type":"event","inputs":[{"name":"normal","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"surplus","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"StreamScheduled","type":"event","inputs":[{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"start","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"end","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"Upgraded","type":"event","inputs":[{"name":"tokenId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"oldLevel","type":"uint8","indexed":false,"internalType":"uint8"},{"name":"newLevel","type":"uint8","indexed":false,"internalType":"uint8"},{"name":"burned","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"EXIT_LOCK","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"SCALE","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"STREAM_DURATION","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"accPerWeight","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"activate","type":"function","inputs":[{"name":"id","type":"uint256","internalType":"uint256"},{"name":"newLevel","type":"uint8","internalType":"uint8"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"activateWithETH","type":"function","inputs":[{"name":"id","type":"uint256","internalType":"uint256"},{"name":"newLevel","type":"uint8","internalType":"uint8"},{"name":"sqrtPriceLimitX96","type":"uint160","internalType":"uint160"},{"name":"deadline","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"name":"activationCost","type":"function","inputs":[{"name":"id","type":"uint256","internalType":"uint256"},{"name":"newLevel","type":"uint8","internalType":"uint8"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"activePerLevel","type":"function","inputs":[{"name":"","type":"uint8","internalType":"uint8"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"auction","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract OGAuction"}],"stateMutability":"view"},{"name":"backlogLeft","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"checkpoint","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"collection","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract ISpepe"}],"stateMutability":"view"},{"name":"creditScaled","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"cumulativeCost","type":"function","inputs":[{"name":"l","type":"uint8","internalType":"uint8"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"pure"},{"name":"debtScaled","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"exit","type":"function","inputs":[{"name":"id","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"fundFeeClaims","type":"function","inputs":[],"outputs":[],"stateMutability":"payable"},{"name":"hook","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"lastActivation","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"level","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint8","internalType":"uint8"}],"stateMutability":"view"},{"name":"levelWeight","type":"function","inputs":[{"name":"l","type":"uint8","internalType":"uint8"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"pure"},{"name":"pending","type":"function","inputs":[{"name":"id","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"poolManager","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IPoolManager"}],"stateMutability":"view"},{"name":"receiveFeeClaims","type":"function","inputs":[{"name":"normal","type":"uint256","internalType":"uint256"},{"name":"surplus","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"receiveFees","type":"function","inputs":[{"name":"normal","type":"uint256","internalType":"uint256"},{"name":"surplus","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"name":"streamEnd","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"streamStart","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"token","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract OG"}],"stateMutability":"view"},{"name":"totalBurned","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"totalWeight","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"unfundedFees","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"unlockCallback","type":"function","inputs":[{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"nonpayable"},{"name":"weight","type":"function","inputs":[{"name":"id","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"}],"metadata":{"compiler":{"version":"0.8.26+commit.8a97fa7a"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"contract OG","name":"token_","type":"address"},{"internalType":"contract ISpepe","name":"collection_","type":"address"},{"internalType":"contract IPoolManager","name":"manager_","type":"address"},{"internalType":"address","name":"hook_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ETHSendFailed","type":"error"},{"inputs":[],"name":"InvalidLevel","type":"error"},{"inputs":[],"name":"Locked","type":"error"},{"inputs":[],"name":"Reentrancy","type":"error"},{"inputs":[],"name":"SlippageOrExpired","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint8","name":"level","type":"uint8"},{"indexed":false,"internalType":"uint256","name":"burned","type":"uint256"}],"name":"Activated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"ethPaid","type":"uint256"}],"name":"Exited","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"normal","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"surplus","type":"uint256"}],"name":"RewardsReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"start","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"end","type":"uint256"}],"name":"StreamScheduled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint8","name":"oldLevel","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"newLevel","type":"uint8"},{"indexed":false,"internalType":"uint256","name":"burned","type":"uint256"}],"name":"Upgraded","type":"event"},{"inputs":[],"name":"EXIT_LOCK","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SCALE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STREAM_DURATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"accPerWeight","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint8","name":"newLevel","type":"uint8"}],"name":"activate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint8","name":"newLevel","type":"uint8"},{"internalType":"uint160","name":"sqrtPriceLimitX96","type":"uint160"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"activateWithETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint8","name":"newLevel","type":"uint8"}],"name":"activationCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"","type":"uint8"}],"name":"activePerLevel","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"auction","outputs":[{"internalType":"contract OGAuction","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"backlogLeft","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"checkpoint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"collection","outputs":[{"internalType":"contract ISpepe","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"creditScaled","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"l","type":"uint8"}],"name":"cumulativeCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"debtScaled","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fundFeeClaims","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"hook","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"lastActivation","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"level","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"l","type":"uint8"}],"name":"levelWeight","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"pending","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolManager","outputs":[{"internalType":"contract IPoolManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"normal","type":"uint256"},{"internalType":"uint256","name":"surplus","type":"uint256"}],"name":"receiveFeeClaims","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"normal","type":"uint256"},{"internalType":"uint256","name":"surplus","type":"uint256"}],"name":"receiveFees","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"streamEnd","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"streamStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract OG","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBurned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalWeight","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unfundedFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"data","type":"bytes"}],"name":"unlockCallback","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"weight","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}],"devdoc":{"kind":"dev","methods":{"receiveFees(uint256,uint256)":{"details":"Intentionally callable during activateWithETH: the old weight earns that swap's fees.      Only the immutable hook can enter; this function performs no external calls."},"unlockCallback(bytes)":{"params":{"data":"The data that was passed to the call to unlock"},"returns":{"_0":"Any data that you want to be returned from the unlock call"}}},"version":1},"userdoc":{"kind":"user","methods":{"unlockCallback(bytes)":{"notice":"Called by the pool manager on `msg.sender` when the manager is unlocked"}},"version":1}},"settings":{"compilationTarget":{"src/OGDistributor.sol":"OGDistributor"},"evmVersion":"cancun","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":200},"remappings":[":forge-std/=lib/forge-std/src/",":solmate/=lib/solmate/",":v4-core/=lib/v4-core/"],"viaIR":true},"sources":{"lib/solmate/src/utils/SignedWadMath.sol":{"keccak256":"0x42878c98476e3d899bd447f715134fd0977fa335871b278281352d00bf03ce5f","license":"MIT","urls":["bzz-raw://1f7c2cd5d2929701a505710fe8692cdc5f865bb6cdf3ac52160097bf8a240c81","dweb:/ipfs/QmdksxP4KXpYzJMxyCvMCkEaV9E5Vx9CqNesMTyz5dQ7Sp"]},"lib/v4-core/src/interfaces/IExtsload.sol":{"keccak256":"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43","license":"MIT","urls":["bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1","dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN"]},"lib/v4-core/src/interfaces/IExttload.sol":{"keccak256":"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937","license":"MIT","urls":["bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8","dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY"]},"lib/v4-core/src/interfaces/IHooks.sol":{"keccak256":"0xc131ffa2d04c10a012fe715fe2c115811526b7ea34285cf0a04ce7ce8320da8d","license":"MIT","urls":["bzz-raw://3b212358897db5d99c21244d88f97b2e788527552cb430629b472a8cc6289aec","dweb:/ipfs/QmQtwV4dDe2RYk2ErLpaAX7U82jWh1L6Lw2HRuKDvBi84G"]},"lib/v4-core/src/interfaces/IPoolManager.sol":{"keccak256":"0xbdab3544da3d32dfdf7457baa94e17d5a3012952428559e013ffac45d067038e","license":"MIT","urls":["bzz-raw://ce95ff864468e37c76adf71df061d4f3d6f3a5ec1f9bc3aea090463bc72798f4","dweb:/ipfs/QmSbWh1pLbz51yQF4HEu5NRhr8XVv9JYGEw1hq1HudAnCi"]},"lib/v4-core/src/interfaces/IProtocolFees.sol":{"keccak256":"0x32a666e588a2f66334430357bb1e2424fe7eebeb98a3364b1dd16eb6ccca9848","license":"MIT","urls":["bzz-raw://85751d302125881f72e5f8af051c2d5d9b1f606ebaea8ca7d04fccdd27cc252d","dweb:/ipfs/QmeRwomeh9NWm6A6fgNA4KZPQZHPpdKsPQyYsHSFmvud7J"]},"lib/v4-core/src/interfaces/callback/IUnlockCallback.sol":{"keccak256":"0x58c82f2bd9d7c097ed09bd0991fedc403b0ec270eb3d0158bfb095c06a03d719","license":"MIT","urls":["bzz-raw://91168ca26a10980df2cdc3fbfe8ddf372c002b7ef19e3c59a0c9870d64198f1b","dweb:/ipfs/QmUSpaM825vd1SwvF38esgbdLgYiPwefKaFERTWvUi6uSK"]},"lib/v4-core/src/interfaces/external/IERC20Minimal.sol":{"keccak256":"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f","license":"MIT","urls":["bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de","dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d"]},"lib/v4-core/src/interfaces/external/IERC6909Claims.sol":{"keccak256":"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48","license":"MIT","urls":["bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f","dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK"]},"lib/v4-core/src/libraries/CustomRevert.sol":{"keccak256":"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de","license":"MIT","urls":["bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd","dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt"]},"lib/v4-core/src/libraries/SafeCast.sol":{"keccak256":"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86","license":"MIT","urls":["bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59","dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj"]},"lib/v4-core/src/types/BalanceDelta.sol":{"keccak256":"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f","license":"MIT","urls":["bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9","dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H"]},"lib/v4-core/src/types/BeforeSwapDelta.sol":{"keccak256":"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78","license":"MIT","urls":["bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782","dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K"]},"lib/v4-core/src/types/Currency.sol":{"keccak256":"0x710e24fa84dfb6355a5b644b03c058be3b079782f37b8296848f1e43817ba644","license":"MIT","urls":["bzz-raw://3a5450b6285feb5a40106a182d3ea72ee1e378fdf1b75cfbafac1e5b25232730","dweb:/ipfs/QmfHBAtnMyKXxhMBEmmY9yDkG9yzEE4kF8B8Ya9xGXHQEL"]},"lib/v4-core/src/types/PoolId.sol":{"keccak256":"0x308311916ea0f5c2fd878b6a2751eb223d170a69e33f601fae56dfe3c5d392af","license":"MIT","urls":["bzz-raw://669c2cd7ac17690b5d8831e0bda72822376c3a04b36afed6d31df4d75fe60918","dweb:/ipfs/QmT6EpkxqU8VF3WsgrZ66F3s1cCQRffR95z1HDYZz7ph6y"]},"lib/v4-core/src/types/PoolKey.sol":{"keccak256":"0xf89856e0580d7a4856d3187a76858377ccee9d59702d230c338d84388221b786","license":"MIT","urls":["bzz-raw://6f3118fa189025695c37fdf0bdd1190f085ad097484d3c88cf4c56d1db65f639","dweb:/ipfs/QmamXpgtB8GV1CaFLvqefPWSoikLDhMk1yU4heBnVzU8gi"]},"lib/v4-core/src/types/PoolOperation.sol":{"keccak256":"0x7a1a107fc1f2208abb2c9364c8c54e56e98dca27673e9441bed2b949b6382162","license":"MIT","urls":["bzz-raw://4ad2470383bc5595d5af17840c64971f457adac68895a4db41ba5c71a4478e07","dweb:/ipfs/QmdwKhBHDZFuqXrR2BfDBD9r7rB2ULGQBznsajRTkTmL4c"]},"src/Interfaces.sol":{"keccak256":"0xe151adc0ace81787158cbd2872bad377ec20ef332d64c61e33a066fd221b65f3","license":"MIT","urls":["bzz-raw://475c1c8657ce934c7a45ceb1f9eb3a99618c403f7529214905ab6870478ae758","dweb:/ipfs/QmT9gBizCoCh8j5mwntANwKquQ3wV3sBKTgVAwNLBUCyUB"]},"src/OG.sol":{"keccak256":"0x2fb1df8902a32cddd1f9ad401940d21847254d0963e2d5fae122debe46426f73","license":"MIT","urls":["bzz-raw://9b05f49874b046b5389f5f482873d6af37fc59df46881459060b5a4443a5284c","dweb:/ipfs/QmfS3nzRKL3VU3DoD5DL4NkXhsf9nhzGhUKb3BFDfYmjcg"]},"src/OGAuction.sol":{"keccak256":"0x3d26bdb07bf360dafba464337aa6901bdfb5b68183bcc88c35b58fcc123dd711","license":"MIT","urls":["bzz-raw://5b8ee387a63a717000f6a5b8a8a65928d5545b7b01b280ce0d74abb65b4d5b36","dweb:/ipfs/QmeQuuYGkyZYfaa1fqXSAhwVkYJZMcBbA9GfxZy4aL7QM6"]},"src/OGDistributor.sol":{"keccak256":"0x05f12e0e842fd267e0ece0b6a35ea0e5c55632245ca863a6da11590c52488147","license":"MIT","urls":["bzz-raw://cdb6140812e1e7b81ba6fa4f544b02f65e3f7685653d6020482ae438f336396f","dweb:/ipfs/QmYyBybo8hgQntceVfCLPwYQesa2WRe5kePcCc4WAHTaEf"]}},"version":1},"storageLayout":{"types":{"t_bool":{"label":"bool","encoding":"inplace","numberOfBytes":"1"},"t_uint8":{"label":"uint8","encoding":"inplace","numberOfBytes":"1"},"t_uint256":{"label":"uint256","encoding":"inplace","numberOfBytes":"32"},"t_mapping(t_uint256,t_uint8)":{"key":"t_uint256","label":"mapping(uint256 => uint8)","value":"t_uint8","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_uint8,t_uint256)":{"key":"t_uint8","label":"mapping(uint8 => uint256)","value":"t_uint256","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_uint256,t_uint256)":{"key":"t_uint256","label":"mapping(uint256 => uint256)","value":"t_uint256","encoding":"mapping","numberOfBytes":"32"}},"storage":[{"slot":"0","type":"t_uint256","astId":2258,"label":"entered","offset":0,"contract":"src/OGDistributor.sol:OGDistributor"},{"slot":"1","type":"t_uint256","astId":3113,"label":"totalWeight","offset":0,"contract":"src/OGDistributor.sol:OGDistributor"},{"slot":"2","type":"t_uint256","astId":3115,"label":"accPerWeight","offset":0,"contract":"src/OGDistributor.sol:OGDistributor"},{"slot":"3","type":"t_uint256","astId":3117,"label":"unfundedFees","offset":0,"contract":"src/OGDistributor.sol:OGDistributor"},{"slot":"4","type":"t_mapping(t_uint8,t_uint256)","astId":3121,"label":"activePerLevel","offset":0,"contract":"src/OGDistributor.sol:OGDistributor"},{"slot":"5","type":"t_mapping(t_uint256,t_uint8)","astId":3125,"label":"level","offset":0,"contract":"src/OGDistributor.sol:OGDistributor"},{"slot":"6","type":"t_mapping(t_uint256,t_uint256)","astId":3129,"label":"lastActivation","offset":0,"contract":"src/OGDistributor.sol:OGDistributor"},{"slot":"7","type":"t_mapping(t_uint256,t_uint256)","astId":3133,"label":"debtScaled","offset":0,"contract":"src/OGDistributor.sol:OGDistributor"},{"slot":"8","type":"t_mapping(t_uint256,t_uint256)","astId":3137,"label":"creditScaled","offset":0,"contract":"src/OGDistributor.sol:OGDistributor"},{"slot":"9","type":"t_uint256","astId":3139,"label":"backlog","offset":0,"contract":"src/OGDistributor.sol:OGDistributor"},{"slot":"10","type":"t_uint256","astId":3141,"label":"streamStart","offset":0,"contract":"src/OGDistributor.sol:OGDistributor"},{"slot":"11","type":"t_uint256","astId":3143,"label":"streamEnd","offset":0,"contract":"src/OGDistributor.sol:OGDistributor"},{"slot":"12","type":"t_uint256","astId":3145,"label":"streamTotal","offset":0,"contract":"src/OGDistributor.sol:OGDistributor"},{"slot":"13","type":"t_uint256","astId":3147,"label":"released","offset":0,"contract":"src/OGDistributor.sol:OGDistributor"},{"slot":"14","type":"t_bool","astId":3149,"label":"buying","offset":0,"contract":"src/OGDistributor.sol:OGDistributor"}]},"transientStorageLayout":null,"userdoc":{"kind":"user","methods":{"unlockCallback(bytes)":{"notice":"Called by the pool manager on `msg.sender` when the manager is unlocked"}},"version":1},"devdoc":{"kind":"dev","methods":{"unlockCallback(bytes)":{"params":{"data":"The data that was passed to the call to unlock"},"returns":{"_0":"Any data that you want to be returned from the unlock call"}},"receiveFees(uint256,uint256)":{"details":"Intentionally callable during activateWithETH: the old weight earns that swap's fees.      Only the immutable hook can enter; this function performs no external calls."}},"version":1},"sourceIds":{"src/OG.sol":{"id":18},"src/OGAuction.sol":{"id":19},"src/Interfaces.sol":{"id":17},"src/OGDistributor.sol":{"id":20},"lib/v4-core/src/types/PoolId.sol":{"id":14},"lib/v4-core/src/types/PoolKey.sol":{"id":15},"lib/v4-core/src/types/Currency.sol":{"id":13},"lib/v4-core/src/interfaces/IHooks.sol":{"id":3},"lib/v4-core/src/libraries/SafeCast.sol":{"id":10},"lib/v4-core/src/types/BalanceDelta.sol":{"id":11},"lib/solmate/src/utils/SignedWadMath.sol":{"id":0},"lib/v4-core/src/types/PoolOperation.sol":{"id":16},"lib/v4-core/src/interfaces/IExtsload.sol":{"id":1},"lib/v4-core/src/interfaces/IExttload.sol":{"id":2},"lib/v4-core/src/types/BeforeSwapDelta.sol":{"id":12},"lib/v4-core/src/libraries/CustomRevert.sol":{"id":9},"lib/v4-core/src/interfaces/IPoolManager.sol":{"id":4},"lib/v4-core/src/interfaces/IProtocolFees.sol":{"id":5},"lib/v4-core/src/interfaces/external/IERC20Minimal.sol":{"id":7},"lib/v4-core/src/interfaces/external/IERC6909Claims.sol":{"id":8},"lib/v4-core/src/interfaces/callback/IUnlockCallback.sol":{"id":6}},"additionalInput":null,"stdJsonInput":{"sources":{"src/OG.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.26;\n\n/// @notice Fixed launch supply. Burning is an ordinary transfer to DEAD, never a supply reduction.\ncontract OG {\n    string public constant name = \"OG\";\n    string public constant symbol = \"OG\";\n    uint8 public constant decimals = 18;\n    uint256 public constant totalSupply = 1_000_000_000 ether;\n    address public constant DEAD = 0x000000000000000000000000000000000000dEaD;\n    mapping(address => uint256) public balanceOf;\n    mapping(address => mapping(address => uint256)) public allowance;\n    uint256 public totalBurned;\n    event Transfer(address indexed from, address indexed to, uint256 value);\n    event Approval(address indexed owner, address indexed spender, uint256 value);\n    error ZeroAddress();\n\n    constructor() {\n        balanceOf[msg.sender] = totalSupply;\n        emit Transfer(address(0), msg.sender, totalSupply);\n    }\n\n    function approve(address spender, uint256 amount) external returns (bool) {\n        allowance[msg.sender][spender] = amount;\n        emit Approval(msg.sender, spender, amount);\n        return true;\n    }\n\n    function transfer(address to, uint256 amount) external returns (bool) {\n        _transfer(msg.sender, to, amount);\n        return true;\n    }\n\n    function transferFrom(address from, address to, uint256 amount) external returns (bool) {\n        uint256 approved = allowance[from][msg.sender];\n        if (approved != type(uint256).max) allowance[from][msg.sender] = approved - amount;\n        _transfer(from, to, amount);\n        return true;\n    }\n\n    function _transfer(address from, address to, uint256 amount) internal {\n        if (to == address(0)) revert ZeroAddress();\n        balanceOf[from] -= amount;\n        balanceOf[to] += amount;\n        if (to == DEAD) totalBurned += amount;\n        emit Transfer(from, to, amount);\n    }\n}\n"},"src/OGAuction.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.26;\nimport {OG} from \"./OG.sol\";\nimport {ISpepe, Guard} from \"./Interfaces.sol\";\nimport {wadExp, wadLn} from \"solmate/src/utils/SignedWadMath.sol\";\n\n/// @notice Permissionless, perpetual Dutch sales of exited NFTs. No withdrawals or administrative roles.\ncontract OGAuction is Guard {\n    OG public immutable token;\n    ISpepe public immutable collection;\n    address public immutable distributor;\n    uint256 public constant FLOOR = 50_000 ether;\n    uint256 public constant MIN_START = 500_000 ether;\n    uint256 public constant DURATION = 36 hours;\n\n    struct Auction {\n        uint256 startPrice;\n        uint256 startedAt;\n        bool listed;\n    }\n\n    struct Listing {\n        uint256 tokenId;\n        uint256 startPrice;\n        uint256 startedAt;\n        uint256 price;\n    }\n    mapping(uint256 => Auction) public auctions;\n    mapping(uint256 => uint256) public lastSalePrice;\n    uint256[] private ids;\n    mapping(uint256 => uint256) private index;\n    event AuctionListed(uint256 indexed tokenId, uint256 startPrice, uint256 startedAt);\n    event AuctionSold(uint256 indexed tokenId, address indexed buyer, address indexed recipient, uint256 burned);\n    error Unauthorized();\n    error InvalidAuction();\n    error SlippageOrExpired();\n\n    constructor(OG token_, ISpepe collection_, address distributor_) {\n        token = token_;\n        collection = collection_;\n        distributor = distributor_;\n    }\n\n    function list(uint256 id) external {\n        if (msg.sender != distributor) revert Unauthorized();\n        if (auctions[id].listed) revert InvalidAuction();\n        uint256 start = lastSalePrice[id] * 10;\n        if (start < MIN_START) start = MIN_START;\n        auctions[id] = Auction(start, block.timestamp, true);\n        index[id] = ids.length;\n        ids.push(id);\n        emit AuctionListed(id, start, block.timestamp);\n    }\n\n    /// @dev P(t) = start * exp(ln(floor/start) * t / 36h), clamped at the floor.\n    function price(uint256 id) public view returns (uint256) {\n        Auction memory a = auctions[id];\n        if (!a.listed) return 0;\n        uint256 elapsed = block.timestamp - a.startedAt;\n        if (elapsed >= DURATION) return FLOOR;\n        if (elapsed == 0) return a.startPrice;\n        int256 logarithm = wadLn(int256(FLOOR * 1e18 / a.startPrice));\n        uint256 result = a.startPrice * uint256(wadExp(logarithm * int256(elapsed) / int256(DURATION))) / 1e18;\n        return result < FLOOR ? FLOOR : result;\n    }\n\n    function buy(uint256 id, uint256 maxPrice, address recipient, uint256 deadline) external nonReentrant {\n        if (!auctions[id].listed || recipient == address(0) || recipient == address(this)) revert InvalidAuction();\n        uint256 cost = price(id);\n        if (block.timestamp > deadline || cost > maxPrice) revert SlippageOrExpired();\n        delete auctions[id];\n        lastSalePrice[id] = cost;\n        uint256 i = index[id];\n        uint256 last = ids[ids.length - 1];\n        ids[i] = last;\n        index[last] = i;\n        ids.pop();\n        delete index[id];\n        require(token.transferFrom(msg.sender, token.DEAD(), cost));\n        collection.safeTransferFrom(address(this), recipient, id);\n        emit AuctionSold(id, msg.sender, recipient, cost);\n    }\n\n    function auctionCount() external view returns (uint256) {\n        return ids.length;\n    }\n\n    /// @notice Pages use swap-and-pop ordering; pin a block when traversing multiple pages.\n    function currentAuctions(uint256 offset, uint256 limit) external view returns (Listing[] memory result) {\n        if (limit > 100) limit = 100;\n        uint256 count = offset >= ids.length ? 0 : ids.length - offset;\n        if (count > limit) count = limit;\n        result = new Listing[](count);\n        for (uint256 j; j < count; ++j) {\n            uint256 id = ids[offset + j];\n            Auction memory a = auctions[id];\n            result[j] = Listing(id, a.startPrice, a.startedAt, price(id));\n        }\n    }\n\n    function onERC721Received(address operator, address, uint256 id, bytes calldata) external view returns (bytes4) {\n        if (msg.sender != address(collection) || operator != distributor || !auctions[id].listed) {\n            revert Unauthorized();\n        }\n        return this.onERC721Received.selector;\n    }\n}\n"},"src/Interfaces.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.26;\nimport {PoolKey} from \"v4-core/src/types/PoolKey.sol\";\n\ninterface ISpepe {\n    function ownerOf(uint256 id) external view returns (address);\n    function safeTransferFrom(address from, address to, uint256 id) external;\n    function transferFrom(address from, address to, uint256 id) external;\n    function totalMinted() external view returns (uint256);\n}\n\ninterface IOGPool {\n    function poolKey() external view returns (PoolKey memory);\n    function redeemFees() external;\n}\n\nabstract contract Guard {\n    uint256 private entered;\n    error Reentrancy();\n    modifier nonReentrant() {\n        if (entered != 0) revert Reentrancy();\n        entered = 1;\n        _;\n        entered = 0;\n    }\n    error ETHSendFailed();\n\n    function _sendETH(address to, uint256 amount) internal {\n        if (amount == 0) return;\n        (bool ok,) = to.call{value: amount}(\"\");\n        if (!ok) revert ETHSendFailed();\n    }\n}\n"},"src/OGDistributor.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.26;\nimport {OG} from \"./OG.sol\";\nimport {OGAuction} from \"./OGAuction.sol\";\nimport {ISpepe, IOGPool, Guard} from \"./Interfaces.sol\";\nimport {IPoolManager} from \"v4-core/src/interfaces/IPoolManager.sol\";\nimport {IUnlockCallback} from \"v4-core/src/interfaces/callback/IUnlockCallback.sol\";\nimport {PoolKey} from \"v4-core/src/types/PoolKey.sol\";\nimport {SwapParams} from \"v4-core/src/types/PoolOperation.sol\";\nimport {BalanceDelta} from \"v4-core/src/types/BalanceDelta.sol\";\n\ncontract OGDistributor is Guard, IUnlockCallback {\n    uint256 public constant SCALE = 1e27;\n    uint256 public constant STREAM_DURATION = 30 days;\n    uint256 public constant EXIT_LOCK = 24 hours;\n    OG public immutable token;\n    ISpepe public immutable collection;\n    IPoolManager public immutable poolManager;\n    address public immutable hook;\n    OGAuction public immutable auction;\n    uint256 public totalWeight;\n    uint256 public accPerWeight;\n    uint256 public unfundedFees;\n    mapping(uint8 => uint256) public activePerLevel;\n    mapping(uint256 => uint8) public level;\n    mapping(uint256 => uint256) public lastActivation;\n    // Scaled debt and credit preserve fractional wei across upgrades, preventing rounding insolvency.\n    mapping(uint256 => uint256) public debtScaled;\n    mapping(uint256 => uint256) public creditScaled;\n    uint256 private backlog;\n    uint256 public streamStart;\n    uint256 public streamEnd;\n    uint256 private streamTotal;\n    uint256 private released;\n    bool private buying;\n    event Activated(uint256 indexed tokenId, address indexed owner, uint8 level, uint256 burned);\n    event Upgraded(uint256 indexed tokenId, address indexed owner, uint8 oldLevel, uint8 newLevel, uint256 burned);\n    event Exited(uint256 indexed tokenId, address indexed owner, uint256 ethPaid);\n    event RewardsReceived(uint256 normal, uint256 surplus);\n    event StreamScheduled(uint256 amount, uint256 start, uint256 end);\n    error Unauthorized();\n    error InvalidLevel();\n    error Locked();\n    error SlippageOrExpired();\n\n    constructor(OG token_, ISpepe collection_, IPoolManager manager_, address hook_) {\n        token = token_;\n        collection = collection_;\n        poolManager = manager_;\n        hook = hook_;\n        auction = new OGAuction(token_, collection_, address(this));\n    }\n\n    function weight(uint256 id) public view returns (uint256) {\n        return levelWeight(level[id]);\n    }\n\n    function levelWeight(uint8 l) public pure returns (uint256) {\n        return l == 0 ? 0 : uint256(1) << (l - 1);\n    }\n\n    function cumulativeCost(uint8 l) public pure returns (uint256) {\n        if (l == 1) return 50_000 ether;\n        if (l == 2) return 150_000 ether;\n        if (l == 3) return 400_000 ether;\n        if (l == 0) return 0;\n        revert InvalidLevel();\n    }\n\n    function activationCost(uint256 id, uint8 newLevel) public view returns (uint256) {\n        if (newLevel <= level[id] || newLevel > 3) revert InvalidLevel();\n        return cumulativeCost(newLevel) - cumulativeCost(level[id]);\n    }\n\n    function _vested() private view returns (uint256) {\n        if (totalWeight == 0 || streamEnd == 0) return 0;\n        uint256 now_ = block.timestamp < streamEnd ? block.timestamp : streamEnd;\n        return streamTotal * (now_ - streamStart) / STREAM_DURATION - released;\n    }\n\n    function pending(uint256 id) public view returns (uint256) {\n        uint256 a = accPerWeight;\n        if (totalWeight != 0) a += _vested() * SCALE / totalWeight;\n        return (creditScaled[id] + weight(id) * a - debtScaled[id]) / SCALE;\n    }\n\n    function backlogLeft() public view returns (uint256) {\n        return backlog - _vested();\n    }\n\n    function _checkpoint() private {\n        uint256 amount = _vested();\n        if (amount != 0) {\n            released += amount;\n            backlog -= amount;\n            accPerWeight += amount * SCALE / totalWeight;\n        }\n    }\n\n    function checkpoint() external {\n        _checkpoint();\n    }\n\n    function _schedule() private {\n        streamStart = block.timestamp;\n        streamTotal = backlog;\n        released = 0;\n        streamEnd = backlog == 0 || totalWeight == 0 ? 0 : block.timestamp + STREAM_DURATION;\n        emit StreamScheduled(backlog, streamStart, streamEnd);\n    }\n\n    /// @dev Intentionally callable during activateWithETH: the old weight earns that swap's fees.\n    ///      Only the immutable hook can enter; this function performs no external calls.\n    function receiveFees(uint256 normal, uint256 surplus) external payable {\n        if (msg.sender != hook || msg.value != normal + surplus) revert Unauthorized();\n        _accountFees(normal, surplus);\n    }\n\n    function receiveFeeClaims(uint256 normal, uint256 surplus) external {\n        if (msg.sender != hook) revert Unauthorized();\n        unfundedFees += normal + surplus;\n        _accountFees(normal, surplus);\n    }\n\n    function fundFeeClaims() external payable {\n        if (msg.sender != hook || msg.value > unfundedFees) revert Unauthorized();\n        unfundedFees -= msg.value;\n    }\n\n    function _accountFees(uint256 normal, uint256 surplus) private {\n        _checkpoint();\n        if (totalWeight == 0) {\n            backlog += normal + surplus;\n        } else {\n            accPerWeight += normal * SCALE / totalWeight;\n            if (surplus != 0) {\n                backlog += surplus;\n                _schedule();\n            }\n        }\n        emit RewardsReceived(normal, surplus);\n    }\n\n    function activate(uint256 id, uint8 newLevel) external nonReentrant {\n        if (collection.ownerOf(id) != msg.sender) revert Unauthorized();\n        uint256 cost = activationCost(id, newLevel);\n        require(token.transferFrom(msg.sender, token.DEAD(), cost));\n        _activate(id, newLevel, cost);\n    }\n\n    function activateWithETH(uint256 id, uint8 newLevel, uint160 sqrtPriceLimitX96, uint256 deadline)\n        external\n        payable\n        nonReentrant\n    {\n        if (collection.ownerOf(id) != msg.sender) revert Unauthorized();\n        if (block.timestamp > deadline) revert SlippageOrExpired();\n        uint256 cost = activationCost(id, newLevel);\n        buying = true;\n        uint256 spent = abi.decode(poolManager.unlock(abi.encode(cost, msg.value, sqrtPriceLimitX96)), (uint256));\n        buying = false;\n        _activate(id, newLevel, cost);\n        _sendETH(msg.sender, msg.value - spent);\n    }\n\n    function unlockCallback(bytes calldata data) external returns (bytes memory) {\n        if (msg.sender != address(poolManager) || !buying) revert Unauthorized();\n        (uint256 cost, uint256 budget, uint160 limit) = abi.decode(data, (uint256, uint256, uint160));\n        PoolKey memory key = IOGPool(hook).poolKey();\n        BalanceDelta delta = poolManager.swap(key, SwapParams(true, int256(cost), limit), \"\");\n        uint256 spent = uint256(-int256(delta.amount0()));\n        if (delta.amount1() != int256(cost) || spent > budget) revert SlippageOrExpired();\n        poolManager.sync(key.currency0);\n        poolManager.settle{value: spent}();\n        poolManager.take(key.currency1, token.DEAD(), cost);\n        return abi.encode(spent);\n    }\n\n    function _activate(uint256 id, uint8 newLevel, uint256 cost) private {\n        _checkpoint();\n        uint8 old = level[id];\n        uint256 oldWeight = levelWeight(old);\n        creditScaled[id] += oldWeight * accPerWeight - debtScaled[id];\n        bool wasEmpty = totalWeight == 0;\n        totalWeight = totalWeight - oldWeight + levelWeight(newLevel);\n        if (old != 0) --activePerLevel[old];\n        ++activePerLevel[newLevel];\n        level[id] = newLevel;\n        debtScaled[id] = levelWeight(newLevel) * accPerWeight;\n        lastActivation[id] = block.timestamp;\n        if (wasEmpty) _schedule();\n        if (old == 0) emit Activated(id, msg.sender, newLevel, cost);\n        else emit Upgraded(id, msg.sender, old, newLevel, cost);\n    }\n\n    function exit(uint256 id) external nonReentrant {\n        if (collection.ownerOf(id) != msg.sender || level[id] == 0) revert Unauthorized();\n        if (block.timestamp < lastActivation[id] + EXIT_LOCK) revert Locked();\n        if (unfundedFees != 0) IOGPool(hook).redeemFees();\n        _checkpoint();\n        uint256 amount = pending(id);\n        uint8 old = level[id];\n        totalWeight -= levelWeight(old);\n        --activePerLevel[old];\n        delete level[id];\n        delete debtScaled[id];\n        delete creditScaled[id];\n        delete lastActivation[id];\n        if (totalWeight == 0) _schedule();\n        auction.list(id);\n        collection.safeTransferFrom(msg.sender, address(auction), id);\n        _sendETH(msg.sender, amount);\n        emit Exited(id, msg.sender, amount);\n    }\n\n    function totalBurned() external view returns (uint256) {\n        return token.totalBurned();\n    }\n}\n"},"lib/v4-core/src/types/PoolId.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {PoolKey} from \"./PoolKey.sol\";\n\ntype PoolId is bytes32;\n\n/// @notice Library for computing the ID of a pool\nlibrary PoolIdLibrary {\n    /// @notice Returns value equal to keccak256(abi.encode(poolKey))\n    function toId(PoolKey memory poolKey) internal pure returns (PoolId poolId) {\n        assembly (\"memory-safe\") {\n            // 0xa0 represents the total size of the poolKey struct (5 slots of 32 bytes)\n            poolId := keccak256(poolKey, 0xa0)\n        }\n    }\n}\n"},"lib/v4-core/src/types/PoolKey.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {Currency} from \"./Currency.sol\";\nimport {IHooks} from \"../interfaces/IHooks.sol\";\nimport {PoolIdLibrary} from \"./PoolId.sol\";\n\nusing PoolIdLibrary for PoolKey global;\n\n/// @notice Returns the key for identifying a pool\nstruct PoolKey {\n    /// @notice The lower currency of the pool, sorted numerically\n    Currency currency0;\n    /// @notice The higher currency of the pool, sorted numerically\n    Currency currency1;\n    /// @notice The pool LP fee, capped at 1_000_000. If the highest bit is 1, the pool has a dynamic fee and must be exactly equal to 0x800000\n    uint24 fee;\n    /// @notice Ticks that involve positions must be a multiple of tick spacing\n    int24 tickSpacing;\n    /// @notice The hooks of the pool\n    IHooks hooks;\n}\n"},"lib/v4-core/src/types/Currency.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {IERC20Minimal} from \"../interfaces/external/IERC20Minimal.sol\";\nimport {CustomRevert} from \"../libraries/CustomRevert.sol\";\n\ntype Currency is address;\n\nusing {greaterThan as >, lessThan as <, greaterThanOrEqualTo as >=, equals as ==} for Currency global;\nusing CurrencyLibrary for Currency global;\n\nfunction equals(Currency currency, Currency other) pure returns (bool) {\n    return Currency.unwrap(currency) == Currency.unwrap(other);\n}\n\nfunction greaterThan(Currency currency, Currency other) pure returns (bool) {\n    return Currency.unwrap(currency) > Currency.unwrap(other);\n}\n\nfunction lessThan(Currency currency, Currency other) pure returns (bool) {\n    return Currency.unwrap(currency) < Currency.unwrap(other);\n}\n\nfunction greaterThanOrEqualTo(Currency currency, Currency other) pure returns (bool) {\n    return Currency.unwrap(currency) >= Currency.unwrap(other);\n}\n\n/// @title CurrencyLibrary\n/// @dev This library allows for transferring and holding native tokens and ERC20 tokens\nlibrary CurrencyLibrary {\n    /// @notice Additional context for ERC-7751 wrapped error when a native transfer fails\n    error NativeTransferFailed();\n\n    /// @notice Additional context for ERC-7751 wrapped error when an ERC20 transfer fails\n    error ERC20TransferFailed();\n\n    /// @notice A constant to represent the native currency\n    Currency public constant ADDRESS_ZERO = Currency.wrap(address(0));\n\n    function transfer(Currency currency, address to, uint256 amount) internal {\n        // altered from https://github.com/transmissions11/solmate/blob/44a9963d4c78111f77caa0e65d677b8b46d6f2e6/src/utils/SafeTransferLib.sol\n        // modified custom error selectors\n\n        bool success;\n        if (currency.isAddressZero()) {\n            assembly (\"memory-safe\") {\n                // Transfer the ETH and revert if it fails.\n                success := call(gas(), to, amount, 0, 0, 0, 0)\n            }\n            // revert with NativeTransferFailed, containing the bubbled up error as an argument\n            if (!success) {\n                CustomRevert.bubbleUpAndRevertWith(to, bytes4(0), NativeTransferFailed.selector);\n            }\n        } else {\n            assembly (\"memory-safe\") {\n                // Get a pointer to some free memory.\n                let fmp := mload(0x40)\n\n                // Write the abi-encoded calldata into memory, beginning with the function selector.\n                mstore(fmp, 0xa9059cbb00000000000000000000000000000000000000000000000000000000)\n                mstore(add(fmp, 4), and(to, 0xffffffffffffffffffffffffffffffffffffffff)) // Append and mask the \"to\" argument.\n                mstore(add(fmp, 36), amount) // Append the \"amount\" argument. Masking not required as it's a full 32 byte type.\n\n                success := and(\n                    // Set success to whether the call reverted, if not we check it either\n                    // returned exactly 1 (can't just be non-zero data), or had no return data.\n                    or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())),\n                    // We use 68 because the length of our calldata totals up like so: 4 + 32 * 2.\n                    // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space.\n                    // Counterintuitively, this call must be positioned second to the or() call in the\n                    // surrounding and() call or else returndatasize() will be zero during the computation.\n                    call(gas(), currency, 0, fmp, 68, 0, 32)\n                )\n\n                // Now clean the memory we used\n                mstore(fmp, 0) // 4 byte `selector` and 28 bytes of `to` were stored here\n                mstore(add(fmp, 0x20), 0) // 4 bytes of `to` and 28 bytes of `amount` were stored here\n                mstore(add(fmp, 0x40), 0) // 4 bytes of `amount` were stored here\n            }\n            // revert with ERC20TransferFailed, containing the bubbled up error as an argument\n            if (!success) {\n                CustomRevert.bubbleUpAndRevertWith(\n                    Currency.unwrap(currency), IERC20Minimal.transfer.selector, ERC20TransferFailed.selector\n                );\n            }\n        }\n    }\n\n    function balanceOfSelf(Currency currency) internal view returns (uint256) {\n        if (currency.isAddressZero()) {\n            return address(this).balance;\n        } else {\n            return IERC20Minimal(Currency.unwrap(currency)).balanceOf(address(this));\n        }\n    }\n\n    function balanceOf(Currency currency, address owner) internal view returns (uint256) {\n        if (currency.isAddressZero()) {\n            return owner.balance;\n        } else {\n            return IERC20Minimal(Currency.unwrap(currency)).balanceOf(owner);\n        }\n    }\n\n    function isAddressZero(Currency currency) internal pure returns (bool) {\n        return Currency.unwrap(currency) == Currency.unwrap(ADDRESS_ZERO);\n    }\n\n    function toId(Currency currency) internal pure returns (uint256) {\n        return uint160(Currency.unwrap(currency));\n    }\n\n    // If the upper 12 bytes are non-zero, they will be zero-ed out\n    // Therefore, fromId() and toId() are not inverses of each other\n    function fromId(uint256 id) internal pure returns (Currency) {\n        return Currency.wrap(address(uint160(id)));\n    }\n}\n"},"lib/v4-core/src/interfaces/IHooks.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {PoolKey} from \"../types/PoolKey.sol\";\nimport {BalanceDelta} from \"../types/BalanceDelta.sol\";\nimport {ModifyLiquidityParams, SwapParams} from \"../types/PoolOperation.sol\";\nimport {BeforeSwapDelta} from \"../types/BeforeSwapDelta.sol\";\n\n/// @notice V4 decides whether to invoke specific hooks by inspecting the least significant bits\n/// of the address that the hooks contract is deployed to.\n/// For example, a hooks contract deployed to address: 0x0000000000000000000000000000000000002400\n/// has the lowest bits '10 0100 0000 0000' which would cause the 'before initialize' and 'after add liquidity' hooks to be used.\n/// See the Hooks library for the full spec.\n/// @dev Should only be callable by the v4 PoolManager.\ninterface IHooks {\n    /// @notice The hook called before the state of a pool is initialized\n    /// @param sender The initial msg.sender for the initialize call\n    /// @param key The key for the pool being initialized\n    /// @param sqrtPriceX96 The sqrt(price) of the pool as a Q64.96\n    /// @return bytes4 The function selector for the hook\n    function beforeInitialize(address sender, PoolKey calldata key, uint160 sqrtPriceX96) external returns (bytes4);\n\n    /// @notice The hook called after the state of a pool is initialized\n    /// @param sender The initial msg.sender for the initialize call\n    /// @param key The key for the pool being initialized\n    /// @param sqrtPriceX96 The sqrt(price) of the pool as a Q64.96\n    /// @param tick The current tick after the state of a pool is initialized\n    /// @return bytes4 The function selector for the hook\n    function afterInitialize(address sender, PoolKey calldata key, uint160 sqrtPriceX96, int24 tick)\n        external\n        returns (bytes4);\n\n    /// @notice The hook called before liquidity is added\n    /// @param sender The initial msg.sender for the add liquidity call\n    /// @param key The key for the pool\n    /// @param params The parameters for adding liquidity\n    /// @param hookData Arbitrary data handed into the PoolManager by the liquidity provider to be passed on to the hook\n    /// @return bytes4 The function selector for the hook\n    function beforeAddLiquidity(\n        address sender,\n        PoolKey calldata key,\n        ModifyLiquidityParams calldata params,\n        bytes calldata hookData\n    ) external returns (bytes4);\n\n    /// @notice The hook called after liquidity is added\n    /// @param sender The initial msg.sender for the add liquidity call\n    /// @param key The key for the pool\n    /// @param params The parameters for adding liquidity\n    /// @param delta The caller's balance delta after adding liquidity; the sum of principal delta, fees accrued, and hook delta\n    /// @param feesAccrued The fees accrued since the last time fees were collected from this position\n    /// @param hookData Arbitrary data handed into the PoolManager by the liquidity provider to be passed on to the hook\n    /// @return bytes4 The function selector for the hook\n    /// @return BalanceDelta The hook's delta in token0 and token1. Positive: the hook is owed/took currency, negative: the hook owes/sent currency\n    function afterAddLiquidity(\n        address sender,\n        PoolKey calldata key,\n        ModifyLiquidityParams calldata params,\n        BalanceDelta delta,\n        BalanceDelta feesAccrued,\n        bytes calldata hookData\n    ) external returns (bytes4, BalanceDelta);\n\n    /// @notice The hook called before liquidity is removed\n    /// @param sender The initial msg.sender for the remove liquidity call\n    /// @param key The key for the pool\n    /// @param params The parameters for removing liquidity\n    /// @param hookData Arbitrary data handed into the PoolManager by the liquidity provider to be be passed on to the hook\n    /// @return bytes4 The function selector for the hook\n    function beforeRemoveLiquidity(\n        address sender,\n        PoolKey calldata key,\n        ModifyLiquidityParams calldata params,\n        bytes calldata hookData\n    ) external returns (bytes4);\n\n    /// @notice The hook called after liquidity is removed\n    /// @param sender The initial msg.sender for the remove liquidity call\n    /// @param key The key for the pool\n    /// @param params The parameters for removing liquidity\n    /// @param delta The caller's balance delta after removing liquidity; the sum of principal delta, fees accrued, and hook delta\n    /// @param feesAccrued The fees accrued since the last time fees were collected from this position\n    /// @param hookData Arbitrary data handed into the PoolManager by the liquidity provider to be be passed on to the hook\n    /// @return bytes4 The function selector for the hook\n    /// @return BalanceDelta The hook's delta in token0 and token1. Positive: the hook is owed/took currency, negative: the hook owes/sent currency\n    function afterRemoveLiquidity(\n        address sender,\n        PoolKey calldata key,\n        ModifyLiquidityParams calldata params,\n        BalanceDelta delta,\n        BalanceDelta feesAccrued,\n        bytes calldata hookData\n    ) external returns (bytes4, BalanceDelta);\n\n    /// @notice The hook called before a swap\n    /// @param sender The initial msg.sender for the swap call\n    /// @param key The key for the pool\n    /// @param params The parameters for the swap\n    /// @param hookData Arbitrary data handed into the PoolManager by the swapper to be be passed on to the hook\n    /// @return bytes4 The function selector for the hook\n    /// @return BeforeSwapDelta The hook's delta in specified and unspecified currencies. Positive: the hook is owed/took currency, negative: the hook owes/sent currency\n    /// @return uint24 Optionally override the lp fee, only used if three conditions are met: 1. the Pool has a dynamic fee, 2. the value's 2nd highest bit is set (23rd bit, 0x400000), and 3. the value is less than or equal to the maximum fee (1 million)\n    function beforeSwap(address sender, PoolKey calldata key, SwapParams calldata params, bytes calldata hookData)\n        external\n        returns (bytes4, BeforeSwapDelta, uint24);\n\n    /// @notice The hook called after a swap\n    /// @param sender The initial msg.sender for the swap call\n    /// @param key The key for the pool\n    /// @param params The parameters for the swap\n    /// @param delta The amount owed to the caller (positive) or owed to the pool (negative)\n    /// @param hookData Arbitrary data handed into the PoolManager by the swapper to be be passed on to the hook\n    /// @return bytes4 The function selector for the hook\n    /// @return int128 The hook's delta in unspecified currency. Positive: the hook is owed/took currency, negative: the hook owes/sent currency\n    function afterSwap(\n        address sender,\n        PoolKey calldata key,\n        SwapParams calldata params,\n        BalanceDelta delta,\n        bytes calldata hookData\n    ) external returns (bytes4, int128);\n\n    /// @notice The hook called before donate\n    /// @param sender The initial msg.sender for the donate call\n    /// @param key The key for the pool\n    /// @param amount0 The amount of token0 being donated\n    /// @param amount1 The amount of token1 being donated\n    /// @param hookData Arbitrary data handed into the PoolManager by the donor to be be passed on to the hook\n    /// @return bytes4 The function selector for the hook\n    function beforeDonate(\n        address sender,\n        PoolKey calldata key,\n        uint256 amount0,\n        uint256 amount1,\n        bytes calldata hookData\n    ) external returns (bytes4);\n\n    /// @notice The hook called after donate\n    /// @param sender The initial msg.sender for the donate call\n    /// @param key The key for the pool\n    /// @param amount0 The amount of token0 being donated\n    /// @param amount1 The amount of token1 being donated\n    /// @param hookData Arbitrary data handed into the PoolManager by the donor to be be passed on to the hook\n    /// @return bytes4 The function selector for the hook\n    function afterDonate(\n        address sender,\n        PoolKey calldata key,\n        uint256 amount0,\n        uint256 amount1,\n        bytes calldata hookData\n    ) external returns (bytes4);\n}\n"},"lib/v4-core/src/libraries/SafeCast.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {CustomRevert} from \"./CustomRevert.sol\";\n\n/// @title Safe casting methods\n/// @notice Contains methods for safely casting between types\nlibrary SafeCast {\n    using CustomRevert for bytes4;\n\n    error SafeCastOverflow();\n\n    /// @notice Cast a uint256 to a uint160, revert on overflow\n    /// @param x The uint256 to be downcasted\n    /// @return y The downcasted integer, now type uint160\n    function toUint160(uint256 x) internal pure returns (uint160 y) {\n        y = uint160(x);\n        if (y != x) SafeCastOverflow.selector.revertWith();\n    }\n\n    /// @notice Cast a uint256 to a uint128, revert on overflow\n    /// @param x The uint256 to be downcasted\n    /// @return y The downcasted integer, now type uint128\n    function toUint128(uint256 x) internal pure returns (uint128 y) {\n        y = uint128(x);\n        if (x != y) SafeCastOverflow.selector.revertWith();\n    }\n\n    /// @notice Cast a int128 to a uint128, revert on overflow or underflow\n    /// @param x The int128 to be casted\n    /// @return y The casted integer, now type uint128\n    function toUint128(int128 x) internal pure returns (uint128 y) {\n        if (x < 0) SafeCastOverflow.selector.revertWith();\n        y = uint128(x);\n    }\n\n    /// @notice Cast a int256 to a int128, revert on overflow or underflow\n    /// @param x The int256 to be downcasted\n    /// @return y The downcasted integer, now type int128\n    function toInt128(int256 x) internal pure returns (int128 y) {\n        y = int128(x);\n        if (y != x) SafeCastOverflow.selector.revertWith();\n    }\n\n    /// @notice Cast a uint256 to a int256, revert on overflow\n    /// @param x The uint256 to be casted\n    /// @return y The casted integer, now type int256\n    function toInt256(uint256 x) internal pure returns (int256 y) {\n        y = int256(x);\n        if (y < 0) SafeCastOverflow.selector.revertWith();\n    }\n\n    /// @notice Cast a uint256 to a int128, revert on overflow\n    /// @param x The uint256 to be downcasted\n    /// @return The downcasted integer, now type int128\n    function toInt128(uint256 x) internal pure returns (int128) {\n        if (x >= 1 << 127) SafeCastOverflow.selector.revertWith();\n        return int128(int256(x));\n    }\n}\n"},"lib/v4-core/src/types/BalanceDelta.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {SafeCast} from \"../libraries/SafeCast.sol\";\n\n/// @dev Two `int128` values packed into a single `int256` where the upper 128 bits represent the amount0\n/// and the lower 128 bits represent the amount1.\ntype BalanceDelta is int256;\n\nusing {add as +, sub as -, eq as ==, neq as !=} for BalanceDelta global;\nusing BalanceDeltaLibrary for BalanceDelta global;\nusing SafeCast for int256;\n\nfunction toBalanceDelta(int128 _amount0, int128 _amount1) pure returns (BalanceDelta balanceDelta) {\n    assembly (\"memory-safe\") {\n        balanceDelta := or(shl(128, _amount0), and(sub(shl(128, 1), 1), _amount1))\n    }\n}\n\nfunction add(BalanceDelta a, BalanceDelta b) pure returns (BalanceDelta) {\n    int256 res0;\n    int256 res1;\n    assembly (\"memory-safe\") {\n        let a0 := sar(128, a)\n        let a1 := signextend(15, a)\n        let b0 := sar(128, b)\n        let b1 := signextend(15, b)\n        res0 := add(a0, b0)\n        res1 := add(a1, b1)\n    }\n    return toBalanceDelta(res0.toInt128(), res1.toInt128());\n}\n\nfunction sub(BalanceDelta a, BalanceDelta b) pure returns (BalanceDelta) {\n    int256 res0;\n    int256 res1;\n    assembly (\"memory-safe\") {\n        let a0 := sar(128, a)\n        let a1 := signextend(15, a)\n        let b0 := sar(128, b)\n        let b1 := signextend(15, b)\n        res0 := sub(a0, b0)\n        res1 := sub(a1, b1)\n    }\n    return toBalanceDelta(res0.toInt128(), res1.toInt128());\n}\n\nfunction eq(BalanceDelta a, BalanceDelta b) pure returns (bool) {\n    return BalanceDelta.unwrap(a) == BalanceDelta.unwrap(b);\n}\n\nfunction neq(BalanceDelta a, BalanceDelta b) pure returns (bool) {\n    return BalanceDelta.unwrap(a) != BalanceDelta.unwrap(b);\n}\n\n/// @notice Library for getting the amount0 and amount1 deltas from the BalanceDelta type\nlibrary BalanceDeltaLibrary {\n    /// @notice A BalanceDelta of 0\n    BalanceDelta public constant ZERO_DELTA = BalanceDelta.wrap(0);\n\n    function amount0(BalanceDelta balanceDelta) internal pure returns (int128 _amount0) {\n        assembly (\"memory-safe\") {\n            _amount0 := sar(128, balanceDelta)\n        }\n    }\n\n    function amount1(BalanceDelta balanceDelta) internal pure returns (int128 _amount1) {\n        assembly (\"memory-safe\") {\n            _amount1 := signextend(15, balanceDelta)\n        }\n    }\n}\n"},"lib/solmate/src/utils/SignedWadMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity >=0.8.0;\n\n/// @notice Signed 18 decimal fixed point (wad) arithmetic library.\n/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/SignedWadMath.sol)\n/// @author Modified from Remco Bloemen (https://xn--2-umb.com/22/exp-ln/index.html)\n\n/// @dev Will not revert on overflow, only use where overflow is not possible.\nfunction toWadUnsafe(uint256 x) pure returns (int256 r) {\n    /// @solidity memory-safe-assembly\n    assembly {\n        // Multiply x by 1e18.\n        r := mul(x, 1000000000000000000)\n    }\n}\n\n/// @dev Takes an integer amount of seconds and converts it to a wad amount of days.\n/// @dev Will not revert on overflow, only use where overflow is not possible.\n/// @dev Not meant for negative second amounts, it assumes x is positive.\nfunction toDaysWadUnsafe(uint256 x) pure returns (int256 r) {\n    /// @solidity memory-safe-assembly\n    assembly {\n        // Multiply x by 1e18 and then divide it by 86400.\n        r := div(mul(x, 1000000000000000000), 86400)\n    }\n}\n\n/// @dev Takes a wad amount of days and converts it to an integer amount of seconds.\n/// @dev Will not revert on overflow, only use where overflow is not possible.\n/// @dev Not meant for negative day amounts, it assumes x is positive.\nfunction fromDaysWadUnsafe(int256 x) pure returns (uint256 r) {\n    /// @solidity memory-safe-assembly\n    assembly {\n        // Multiply x by 86400 and then divide it by 1e18.\n        r := div(mul(x, 86400), 1000000000000000000)\n    }\n}\n\n/// @dev Will not revert on overflow, only use where overflow is not possible.\nfunction unsafeWadMul(int256 x, int256 y) pure returns (int256 r) {\n    /// @solidity memory-safe-assembly\n    assembly {\n        // Multiply x by y and divide by 1e18.\n        r := sdiv(mul(x, y), 1000000000000000000)\n    }\n}\n\n/// @dev Will return 0 instead of reverting if y is zero and will\n/// not revert on overflow, only use where overflow is not possible.\nfunction unsafeWadDiv(int256 x, int256 y) pure returns (int256 r) {\n    /// @solidity memory-safe-assembly\n    assembly {\n        // Multiply x by 1e18 and divide it by y.\n        r := sdiv(mul(x, 1000000000000000000), y)\n    }\n}\n\nfunction wadMul(int256 x, int256 y) pure returns (int256 r) {\n    /// @solidity memory-safe-assembly\n    assembly {\n        // Store x * y in r for now.\n        r := mul(x, y)\n\n        // Combined overflow check (`x == 0 || (x * y) / x == y`) and edge case check\n        // where x == -1 and y == type(int256).min, for y == -1 and x == min int256,\n        // the second overflow check will catch this.\n        // See: https://secure-contracts.com/learn_evm/arithmetic-checks.html#arithmetic-checks-for-int256-multiplication\n        // Combining into 1 expression saves gas as resulting bytecode will only have 1 `JUMPI`\n        // rather than 2.\n        if iszero(\n            and(\n                or(iszero(x), eq(sdiv(r, x), y)),\n                or(lt(x, not(0)), sgt(y, 0x8000000000000000000000000000000000000000000000000000000000000000))\n            )\n        ) {\n            revert(0, 0)\n        }\n\n        // Scale the result down by 1e18.\n        r := sdiv(r, 1000000000000000000)\n    }\n}\n\nfunction wadDiv(int256 x, int256 y) pure returns (int256 r) {\n    /// @solidity memory-safe-assembly\n    assembly {\n        // Store x * 1e18 in r for now.\n        r := mul(x, 1000000000000000000)\n\n        // Equivalent to require(y != 0 && ((x * 1e18) / 1e18 == x))\n        if iszero(and(iszero(iszero(y)), eq(sdiv(r, 1000000000000000000), x))) {\n            revert(0, 0)\n        }\n\n        // Divide r by y.\n        r := sdiv(r, y)\n    }\n}\n\n/// @dev Will not work with negative bases, only use when x is positive.\nfunction wadPow(int256 x, int256 y) pure returns (int256) {\n    // Equivalent to x to the power of y because x ** y = (e ** ln(x)) ** y = e ** (ln(x) * y)\n    return wadExp((wadLn(x) * y) / 1e18); // Using ln(x) means x must be greater than 0.\n}\n\nfunction wadExp(int256 x) pure returns (int256 r) {\n    unchecked {\n        // When the result is < 0.5 we return zero. This happens when\n        // x <= floor(log(0.5e18) * 1e18) ~ -42e18\n        if (x <= -42139678854452767551) return 0;\n\n        // When the result is > (2**255 - 1) / 1e18 we can not represent it as an\n        // int. This happens when x >= floor(log((2**255 - 1) / 1e18) * 1e18) ~ 135.\n        if (x >= 135305999368893231589) revert(\"EXP_OVERFLOW\");\n\n        // x is now in the range (-42, 136) * 1e18. Convert to (-42, 136) * 2**96\n        // for more intermediate precision and a binary basis. This base conversion\n        // is a multiplication by 1e18 / 2**96 = 5**18 / 2**78.\n        x = (x << 78) / 5 ** 18;\n\n        // Reduce range of x to (-½ ln 2, ½ ln 2) * 2**96 by factoring out powers\n        // of two such that exp(x) = exp(x') * 2**k, where k is an integer.\n        // Solving this gives k = round(x / log(2)) and x' = x - k * log(2).\n        int256 k = ((x << 96) / 54916777467707473351141471128 + 2 ** 95) >> 96;\n        x = x - k * 54916777467707473351141471128;\n\n        // k is in the range [-61, 195].\n\n        // Evaluate using a (6, 7)-term rational approximation.\n        // p is made monic, we'll multiply by a scale factor later.\n        int256 y = x + 1346386616545796478920950773328;\n        y = ((y * x) >> 96) + 57155421227552351082224309758442;\n        int256 p = y + x - 94201549194550492254356042504812;\n        p = ((p * y) >> 96) + 28719021644029726153956944680412240;\n        p = p * x + (4385272521454847904659076985693276 << 96);\n\n        // We leave p in 2**192 basis so we don't need to scale it back up for the division.\n        int256 q = x - 2855989394907223263936484059900;\n        q = ((q * x) >> 96) + 50020603652535783019961831881945;\n        q = ((q * x) >> 96) - 533845033583426703283633433725380;\n        q = ((q * x) >> 96) + 3604857256930695427073651918091429;\n        q = ((q * x) >> 96) - 14423608567350463180887372962807573;\n        q = ((q * x) >> 96) + 26449188498355588339934803723976023;\n\n        /// @solidity memory-safe-assembly\n        assembly {\n            // Div in assembly because solidity adds a zero check despite the unchecked.\n            // The q polynomial won't have zeros in the domain as all its roots are complex.\n            // No scaling is necessary because p is already 2**96 too large.\n            r := sdiv(p, q)\n        }\n\n        // r should be in the range (0.09, 0.25) * 2**96.\n\n        // We now need to multiply r by:\n        // * the scale factor s = ~6.031367120.\n        // * the 2**k factor from the range reduction.\n        // * the 1e18 / 2**96 factor for base conversion.\n        // We do this all at once, with an intermediate result in 2**213\n        // basis, so the final right shift is always by a positive amount.\n        r = int256((uint256(r) * 3822833074963236453042738258902158003155416615667) >> uint256(195 - k));\n    }\n}\n\nfunction wadLn(int256 x) pure returns (int256 r) {\n    unchecked {\n        require(x > 0, \"UNDEFINED\");\n\n        // We want to convert x from 10**18 fixed point to 2**96 fixed point.\n        // We do this by multiplying by 2**96 / 10**18. But since\n        // ln(x * C) = ln(x) + ln(C), we can simply do nothing here\n        // and add ln(2**96 / 10**18) at the end.\n\n        /// @solidity memory-safe-assembly\n        assembly {\n            r := shl(7, lt(0xffffffffffffffffffffffffffffffff, x))\n            r := or(r, shl(6, lt(0xffffffffffffffff, shr(r, x))))\n            r := or(r, shl(5, lt(0xffffffff, shr(r, x))))\n            r := or(r, shl(4, lt(0xffff, shr(r, x))))\n            r := or(r, shl(3, lt(0xff, shr(r, x))))\n            r := or(r, shl(2, lt(0xf, shr(r, x))))\n            r := or(r, shl(1, lt(0x3, shr(r, x))))\n            r := or(r, lt(0x1, shr(r, x)))\n        }\n\n        // Reduce range of x to (1, 2) * 2**96\n        // ln(2^k * x) = k * ln(2) + ln(x)\n        int256 k = r - 96;\n        x <<= uint256(159 - k);\n        x = int256(uint256(x) >> 159);\n\n        // Evaluate using a (8, 8)-term rational approximation.\n        // p is made monic, we will multiply by a scale factor later.\n        int256 p = x + 3273285459638523848632254066296;\n        p = ((p * x) >> 96) + 24828157081833163892658089445524;\n        p = ((p * x) >> 96) + 43456485725739037958740375743393;\n        p = ((p * x) >> 96) - 11111509109440967052023855526967;\n        p = ((p * x) >> 96) - 45023709667254063763336534515857;\n        p = ((p * x) >> 96) - 14706773417378608786704636184526;\n        p = p * x - (795164235651350426258249787498 << 96);\n\n        // We leave p in 2**192 basis so we don't need to scale it back up for the division.\n        // q is monic by convention.\n        int256 q = x + 5573035233440673466300451813936;\n        q = ((q * x) >> 96) + 71694874799317883764090561454958;\n        q = ((q * x) >> 96) + 283447036172924575727196451306956;\n        q = ((q * x) >> 96) + 401686690394027663651624208769553;\n        q = ((q * x) >> 96) + 204048457590392012362485061816622;\n        q = ((q * x) >> 96) + 31853899698501571402653359427138;\n        q = ((q * x) >> 96) + 909429971244387300277376558375;\n        /// @solidity memory-safe-assembly\n        assembly {\n            // Div in assembly because solidity adds a zero check despite the unchecked.\n            // The q polynomial is known not to have zeros in the domain.\n            // No scaling required because p is already 2**96 too large.\n            r := sdiv(p, q)\n        }\n\n        // r is in the range (0, 0.125) * 2**96\n\n        // Finalization, we need to:\n        // * multiply by the scale factor s = 5.549…\n        // * add ln(2**96 / 10**18)\n        // * add k * ln(2)\n        // * multiply by 10**18 / 2**96 = 5**18 >> 78\n\n        // mul s * 5e18 * 2**96, base is now 5**18 * 2**192\n        r *= 1677202110996718588342820967067443963516166;\n        // add ln(2) * k * 5e18 * 2**192\n        r += 16597577552685614221487285958193947469193820559219878177908093499208371 * k;\n        // add ln(2**96 / 10**18) * 5e18 * 2**192\n        r += 600920179829731861736702779321621459595472258049074101567377883020018308;\n        // base conversion: mul 2**18 / 2**192\n        r >>= 174;\n    }\n}\n\n/// @dev Will return 0 instead of reverting if y is zero.\nfunction unsafeDiv(int256 x, int256 y) pure returns (int256 r) {\n    /// @solidity memory-safe-assembly\n    assembly {\n        // Divide x by y.\n        r := sdiv(x, y)\n    }\n}\n"},"lib/v4-core/src/types/PoolOperation.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nimport {PoolKey} from \"../types/PoolKey.sol\";\nimport {BalanceDelta} from \"../types/BalanceDelta.sol\";\n\n/// @notice Parameter struct for `ModifyLiquidity` pool operations\nstruct ModifyLiquidityParams {\n    // the lower and upper tick of the position\n    int24 tickLower;\n    int24 tickUpper;\n    // how to modify the liquidity\n    int256 liquidityDelta;\n    // a value to set if you want unique liquidity positions at the same range\n    bytes32 salt;\n}\n\n/// @notice Parameter struct for `Swap` pool operations\nstruct SwapParams {\n    /// Whether to swap token0 for token1 or vice versa\n    bool zeroForOne;\n    /// The desired input amount if negative (exactIn), or the desired output amount if positive (exactOut)\n    int256 amountSpecified;\n    /// The sqrt price at which, if reached, the swap will stop executing\n    uint160 sqrtPriceLimitX96;\n}\n"},"lib/v4-core/src/interfaces/IExtsload.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @notice Interface for functions to access any storage slot in a contract\ninterface IExtsload {\n    /// @notice Called by external contracts to access granular pool state\n    /// @param slot Key of slot to sload\n    /// @return value The value of the slot as bytes32\n    function extsload(bytes32 slot) external view returns (bytes32 value);\n\n    /// @notice Called by external contracts to access granular pool state\n    /// @param startSlot Key of slot to start sloading from\n    /// @param nSlots Number of slots to load into return value\n    /// @return values List of loaded values.\n    function extsload(bytes32 startSlot, uint256 nSlots) external view returns (bytes32[] memory values);\n\n    /// @notice Called by external contracts to access sparse pool state\n    /// @param slots List of slots to SLOAD from.\n    /// @return values List of loaded values.\n    function extsload(bytes32[] calldata slots) external view returns (bytes32[] memory values);\n}\n"},"lib/v4-core/src/interfaces/IExttload.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\n/// @notice Interface for functions to access any transient storage slot in a contract\ninterface IExttload {\n    /// @notice Called by external contracts to access transient storage of the contract\n    /// @param slot Key of slot to tload\n    /// @return value The value of the slot as bytes32\n    function exttload(bytes32 slot) external view returns (bytes32 value);\n\n    /// @notice Called by external contracts to access sparse transient pool state\n    /// @param slots List of slots to tload\n    /// @return values List of loaded values\n    function exttload(bytes32[] calldata slots) external view returns (bytes32[] memory values);\n}\n"},"lib/v4-core/src/types/BeforeSwapDelta.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n// Return type of the beforeSwap hook.\n// Upper 128 bits is the delta in specified tokens. Lower 128 bits is delta in unspecified tokens (to match the afterSwap hook)\ntype BeforeSwapDelta is int256;\n\n// Creates a BeforeSwapDelta from specified and unspecified\nfunction toBeforeSwapDelta(int128 deltaSpecified, int128 deltaUnspecified)\n    pure\n    returns (BeforeSwapDelta beforeSwapDelta)\n{\n    assembly (\"memory-safe\") {\n        beforeSwapDelta := or(shl(128, deltaSpecified), and(sub(shl(128, 1), 1), deltaUnspecified))\n    }\n}\n\n/// @notice Library for getting the specified and unspecified deltas from the BeforeSwapDelta type\nlibrary BeforeSwapDeltaLibrary {\n    /// @notice A BeforeSwapDelta of 0\n    BeforeSwapDelta public constant ZERO_DELTA = BeforeSwapDelta.wrap(0);\n\n    /// extracts int128 from the upper 128 bits of the BeforeSwapDelta\n    /// returned by beforeSwap\n    function getSpecifiedDelta(BeforeSwapDelta delta) internal pure returns (int128 deltaSpecified) {\n        assembly (\"memory-safe\") {\n            deltaSpecified := sar(128, delta)\n        }\n    }\n\n    /// extracts int128 from the lower 128 bits of the BeforeSwapDelta\n    /// returned by beforeSwap and afterSwap\n    function getUnspecifiedDelta(BeforeSwapDelta delta) internal pure returns (int128 deltaUnspecified) {\n        assembly (\"memory-safe\") {\n            deltaUnspecified := signextend(15, delta)\n        }\n    }\n}\n"},"lib/v4-core/src/libraries/CustomRevert.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title Library for reverting with custom errors efficiently\n/// @notice Contains functions for reverting with custom errors with different argument types efficiently\n/// @dev To use this library, declare `using CustomRevert for bytes4;` and replace `revert CustomError()` with\n/// `CustomError.selector.revertWith()`\n/// @dev The functions may tamper with the free memory pointer but it is fine since the call context is exited immediately\nlibrary CustomRevert {\n    /// @dev ERC-7751 error for wrapping bubbled up reverts\n    error WrappedError(address target, bytes4 selector, bytes reason, bytes details);\n\n    /// @dev Reverts with the selector of a custom error in the scratch space\n    function revertWith(bytes4 selector) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0, selector)\n            revert(0, 0x04)\n        }\n    }\n\n    /// @dev Reverts with a custom error with an address argument in the scratch space\n    function revertWith(bytes4 selector, address addr) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0, selector)\n            mstore(0x04, and(addr, 0xffffffffffffffffffffffffffffffffffffffff))\n            revert(0, 0x24)\n        }\n    }\n\n    /// @dev Reverts with a custom error with an int24 argument in the scratch space\n    function revertWith(bytes4 selector, int24 value) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0, selector)\n            mstore(0x04, signextend(2, value))\n            revert(0, 0x24)\n        }\n    }\n\n    /// @dev Reverts with a custom error with a uint160 argument in the scratch space\n    function revertWith(bytes4 selector, uint160 value) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0, selector)\n            mstore(0x04, and(value, 0xffffffffffffffffffffffffffffffffffffffff))\n            revert(0, 0x24)\n        }\n    }\n\n    /// @dev Reverts with a custom error with two int24 arguments\n    function revertWith(bytes4 selector, int24 value1, int24 value2) internal pure {\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(fmp, selector)\n            mstore(add(fmp, 0x04), signextend(2, value1))\n            mstore(add(fmp, 0x24), signextend(2, value2))\n            revert(fmp, 0x44)\n        }\n    }\n\n    /// @dev Reverts with a custom error with two uint160 arguments\n    function revertWith(bytes4 selector, uint160 value1, uint160 value2) internal pure {\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(fmp, selector)\n            mstore(add(fmp, 0x04), and(value1, 0xffffffffffffffffffffffffffffffffffffffff))\n            mstore(add(fmp, 0x24), and(value2, 0xffffffffffffffffffffffffffffffffffffffff))\n            revert(fmp, 0x44)\n        }\n    }\n\n    /// @dev Reverts with a custom error with two address arguments\n    function revertWith(bytes4 selector, address value1, address value2) internal pure {\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(fmp, selector)\n            mstore(add(fmp, 0x04), and(value1, 0xffffffffffffffffffffffffffffffffffffffff))\n            mstore(add(fmp, 0x24), and(value2, 0xffffffffffffffffffffffffffffffffffffffff))\n            revert(fmp, 0x44)\n        }\n    }\n\n    /// @notice bubble up the revert message returned by a call and revert with a wrapped ERC-7751 error\n    /// @dev this method can be vulnerable to revert data bombs\n    function bubbleUpAndRevertWith(\n        address revertingContract,\n        bytes4 revertingFunctionSelector,\n        bytes4 additionalContext\n    ) internal pure {\n        bytes4 wrappedErrorSelector = WrappedError.selector;\n        assembly (\"memory-safe\") {\n            // Ensure the size of the revert data is a multiple of 32 bytes\n            let encodedDataSize := mul(div(add(returndatasize(), 31), 32), 32)\n\n            let fmp := mload(0x40)\n\n            // Encode wrapped error selector, address, function selector, offset, additional context, size, revert reason\n            mstore(fmp, wrappedErrorSelector)\n            mstore(add(fmp, 0x04), and(revertingContract, 0xffffffffffffffffffffffffffffffffffffffff))\n            mstore(\n                add(fmp, 0x24),\n                and(revertingFunctionSelector, 0xffffffff00000000000000000000000000000000000000000000000000000000)\n            )\n            // offset revert reason\n            mstore(add(fmp, 0x44), 0x80)\n            // offset additional context\n            mstore(add(fmp, 0x64), add(0xa0, encodedDataSize))\n            // size revert reason\n            mstore(add(fmp, 0x84), returndatasize())\n            // revert reason\n            returndatacopy(add(fmp, 0xa4), 0, returndatasize())\n            // size additional context\n            mstore(add(fmp, add(0xa4, encodedDataSize)), 0x04)\n            // additional context\n            mstore(\n                add(fmp, add(0xc4, encodedDataSize)),\n                and(additionalContext, 0xffffffff00000000000000000000000000000000000000000000000000000000)\n            )\n            revert(fmp, add(0xe4, encodedDataSize))\n        }\n    }\n}\n"},"lib/v4-core/src/interfaces/IPoolManager.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nimport {Currency} from \"../types/Currency.sol\";\nimport {PoolKey} from \"../types/PoolKey.sol\";\nimport {IHooks} from \"./IHooks.sol\";\nimport {IERC6909Claims} from \"./external/IERC6909Claims.sol\";\nimport {IProtocolFees} from \"./IProtocolFees.sol\";\nimport {BalanceDelta} from \"../types/BalanceDelta.sol\";\nimport {PoolId} from \"../types/PoolId.sol\";\nimport {IExtsload} from \"./IExtsload.sol\";\nimport {IExttload} from \"./IExttload.sol\";\nimport {ModifyLiquidityParams, SwapParams} from \"../types/PoolOperation.sol\";\n\n/// @notice Interface for the PoolManager\ninterface IPoolManager is IProtocolFees, IERC6909Claims, IExtsload, IExttload {\n    /// @notice Thrown when a currency is not netted out after the contract is unlocked\n    error CurrencyNotSettled();\n\n    /// @notice Thrown when trying to interact with a non-initialized pool\n    error PoolNotInitialized();\n\n    /// @notice Thrown when unlock is called, but the contract is already unlocked\n    error AlreadyUnlocked();\n\n    /// @notice Thrown when a function is called that requires the contract to be unlocked, but it is not\n    error ManagerLocked();\n\n    /// @notice Pools are limited to type(int16).max tickSpacing in #initialize, to prevent overflow\n    error TickSpacingTooLarge(int24 tickSpacing);\n\n    /// @notice Pools must have a positive non-zero tickSpacing passed to #initialize\n    error TickSpacingTooSmall(int24 tickSpacing);\n\n    /// @notice PoolKey must have currencies where address(currency0) < address(currency1)\n    error CurrenciesOutOfOrderOrEqual(address currency0, address currency1);\n\n    /// @notice Thrown when a call to updateDynamicLPFee is made by an address that is not the hook,\n    /// or on a pool that does not have a dynamic swap fee.\n    error UnauthorizedDynamicLPFeeUpdate();\n\n    /// @notice Thrown when trying to swap amount of 0\n    error SwapAmountCannotBeZero();\n\n    ///@notice Thrown when native currency is passed to a non native settlement\n    error NonzeroNativeValue();\n\n    /// @notice Thrown when `clear` is called with an amount that is not exactly equal to the open currency delta.\n    error MustClearExactPositiveDelta();\n\n    /// @notice Emitted when a new pool is initialized\n    /// @param id The abi encoded hash of the pool key struct for the new pool\n    /// @param currency0 The first currency of the pool by address sort order\n    /// @param currency1 The second currency of the pool by address sort order\n    /// @param fee The fee collected upon every swap in the pool, denominated in hundredths of a bip\n    /// @param tickSpacing The minimum number of ticks between initialized ticks\n    /// @param hooks The hooks contract address for the pool, or address(0) if none\n    /// @param sqrtPriceX96 The price of the pool on initialization\n    /// @param tick The initial tick of the pool corresponding to the initialized price\n    event Initialize(\n        PoolId indexed id,\n        Currency indexed currency0,\n        Currency indexed currency1,\n        uint24 fee,\n        int24 tickSpacing,\n        IHooks hooks,\n        uint160 sqrtPriceX96,\n        int24 tick\n    );\n\n    /// @notice Emitted when a liquidity position is modified\n    /// @param id The abi encoded hash of the pool key struct for the pool that was modified\n    /// @param sender The address that modified the pool\n    /// @param tickLower The lower tick of the position\n    /// @param tickUpper The upper tick of the position\n    /// @param liquidityDelta The amount of liquidity that was added or removed\n    /// @param salt The extra data to make positions unique\n    event ModifyLiquidity(\n        PoolId indexed id, address indexed sender, int24 tickLower, int24 tickUpper, int256 liquidityDelta, bytes32 salt\n    );\n\n    /// @notice Emitted for swaps between currency0 and currency1\n    /// @param id The abi encoded hash of the pool key struct for the pool that was modified\n    /// @param sender The address that initiated the swap call, and that received the callback\n    /// @param amount0 The delta of the currency0 balance of the pool\n    /// @param amount1 The delta of the currency1 balance of the pool\n    /// @param sqrtPriceX96 The sqrt(price) of the pool after the swap, as a Q64.96\n    /// @param liquidity The liquidity of the pool after the swap\n    /// @param tick The log base 1.0001 of the price of the pool after the swap\n    /// @param fee The swap fee in hundredths of a bip\n    event Swap(\n        PoolId indexed id,\n        address indexed sender,\n        int128 amount0,\n        int128 amount1,\n        uint160 sqrtPriceX96,\n        uint128 liquidity,\n        int24 tick,\n        uint24 fee\n    );\n\n    /// @notice Emitted for donations\n    /// @param id The abi encoded hash of the pool key struct for the pool that was donated to\n    /// @param sender The address that initiated the donate call\n    /// @param amount0 The amount donated in currency0\n    /// @param amount1 The amount donated in currency1\n    event Donate(PoolId indexed id, address indexed sender, uint256 amount0, uint256 amount1);\n\n    /// @notice All interactions on the contract that account deltas require unlocking. A caller that calls `unlock` must implement\n    /// `IUnlockCallback(msg.sender).unlockCallback(data)`, where they interact with the remaining functions on this contract.\n    /// @dev The only functions callable without an unlocking are `initialize` and `updateDynamicLPFee`\n    /// @param data Any data to pass to the callback, via `IUnlockCallback(msg.sender).unlockCallback(data)`\n    /// @return The data returned by the call to `IUnlockCallback(msg.sender).unlockCallback(data)`\n    function unlock(bytes calldata data) external returns (bytes memory);\n\n    /// @notice Initialize the state for a given pool ID\n    /// @dev A swap fee totaling MAX_SWAP_FEE (100%) makes exact output swaps impossible since the input is entirely consumed by the fee\n    /// @param key The pool key for the pool to initialize\n    /// @param sqrtPriceX96 The initial square root price\n    /// @return tick The initial tick of the pool\n    function initialize(PoolKey memory key, uint160 sqrtPriceX96) external returns (int24 tick);\n\n    /// @notice Modify the liquidity for the given pool\n    /// @dev Poke by calling with a zero liquidityDelta\n    /// @param key The pool to modify liquidity in\n    /// @param params The parameters for modifying the liquidity\n    /// @param hookData The data to pass through to the add/removeLiquidity hooks\n    /// @return callerDelta The balance delta of the caller of modifyLiquidity. This is the total of both principal, fee deltas, and hook deltas if applicable\n    /// @return feesAccrued The balance delta of the fees generated in the liquidity range. Returned for informational purposes\n    /// @dev Note that feesAccrued can be artificially inflated by a malicious actor and integrators should be careful using the value\n    /// For pools with a single liquidity position, actors can donate to themselves to inflate feeGrowthGlobal (and consequently feesAccrued)\n    /// atomically donating and collecting fees in the same unlockCallback may make the inflated value more extreme\n    function modifyLiquidity(PoolKey memory key, ModifyLiquidityParams memory params, bytes calldata hookData)\n        external\n        returns (BalanceDelta callerDelta, BalanceDelta feesAccrued);\n\n    /// @notice Swap against the given pool\n    /// @param key The pool to swap in\n    /// @param params The parameters for swapping\n    /// @param hookData The data to pass through to the swap hooks\n    /// @return swapDelta The balance delta of the address swapping\n    /// @dev Swapping on low liquidity pools may cause unexpected swap amounts when liquidity available is less than amountSpecified.\n    /// Additionally note that if interacting with hooks that have the BEFORE_SWAP_RETURNS_DELTA_FLAG or AFTER_SWAP_RETURNS_DELTA_FLAG\n    /// the hook may alter the swap input/output. Integrators should perform checks on the returned swapDelta.\n    function swap(PoolKey memory key, SwapParams memory params, bytes calldata hookData)\n        external\n        returns (BalanceDelta swapDelta);\n\n    /// @notice Donate the given currency amounts to the in-range liquidity providers of a pool\n    /// @dev Calls to donate can be frontrun adding just-in-time liquidity, with the aim of receiving a portion donated funds.\n    /// Donors should keep this in mind when designing donation mechanisms.\n    /// @dev This function donates to in-range LPs at slot0.tick. In certain edge-cases of the swap algorithm, the `sqrtPrice` of\n    /// a pool can be at the lower boundary of tick `n`, but the `slot0.tick` of the pool is already `n - 1`. In this case a call to\n    /// `donate` would donate to tick `n - 1` (slot0.tick) not tick `n` (getTickAtSqrtPrice(slot0.sqrtPriceX96)).\n    /// Read the comments in `Pool.swap()` for more information about this.\n    /// @param key The key of the pool to donate to\n    /// @param amount0 The amount of currency0 to donate\n    /// @param amount1 The amount of currency1 to donate\n    /// @param hookData The data to pass through to the donate hooks\n    /// @return BalanceDelta The delta of the caller after the donate\n    function donate(PoolKey memory key, uint256 amount0, uint256 amount1, bytes calldata hookData)\n        external\n        returns (BalanceDelta);\n\n    /// @notice Writes the current ERC20 balance of the specified currency to transient storage\n    /// This is used to checkpoint balances for the manager and derive deltas for the caller.\n    /// @dev This MUST be called before any ERC20 tokens are sent into the contract, but can be skipped\n    /// for native tokens because the amount to settle is determined by the sent value.\n    /// However, if an ERC20 token has been synced and not settled, and the caller instead wants to settle\n    /// native funds, this function can be called with the native currency to then be able to settle the native currency\n    function sync(Currency currency) external;\n\n    /// @notice Called by the user to net out some value owed to the user\n    /// @dev Will revert if the requested amount is not available, consider using `mint` instead\n    /// @dev Can also be used as a mechanism for free flash loans\n    /// @param currency The currency to withdraw from the pool manager\n    /// @param to The address to withdraw to\n    /// @param amount The amount of currency to withdraw\n    function take(Currency currency, address to, uint256 amount) external;\n\n    /// @notice Called by the user to pay what is owed\n    /// @return paid The amount of currency settled\n    function settle() external payable returns (uint256 paid);\n\n    /// @notice Called by the user to pay on behalf of another address\n    /// @param recipient The address to credit for the payment\n    /// @return paid The amount of currency settled\n    function settleFor(address recipient) external payable returns (uint256 paid);\n\n    /// @notice WARNING - Any currency that is cleared, will be non-retrievable, and locked in the contract permanently.\n    /// A call to clear will zero out a positive balance WITHOUT a corresponding transfer.\n    /// @dev This could be used to clear a balance that is considered dust.\n    /// Additionally, the amount must be the exact positive balance. This is to enforce that the caller is aware of the amount being cleared.\n    function clear(Currency currency, uint256 amount) external;\n\n    /// @notice Called by the user to move value into ERC6909 balance\n    /// @param to The address to mint the tokens to\n    /// @param id The currency address to mint to ERC6909s, as a uint256\n    /// @param amount The amount of currency to mint\n    /// @dev The id is converted to a uint160 to correspond to a currency address\n    /// If the upper 12 bytes are not 0, they will be 0-ed out\n    function mint(address to, uint256 id, uint256 amount) external;\n\n    /// @notice Called by the user to move value from ERC6909 balance\n    /// @param from The address to burn the tokens from\n    /// @param id The currency address to burn from ERC6909s, as a uint256\n    /// @param amount The amount of currency to burn\n    /// @dev The id is converted to a uint160 to correspond to a currency address\n    /// If the upper 12 bytes are not 0, they will be 0-ed out\n    function burn(address from, uint256 id, uint256 amount) external;\n\n    /// @notice Updates the pools lp fees for the a pool that has enabled dynamic lp fees.\n    /// @dev A swap fee totaling MAX_SWAP_FEE (100%) makes exact output swaps impossible since the input is entirely consumed by the fee\n    /// @param key The key of the pool to update dynamic LP fees for\n    /// @param newDynamicLPFee The new dynamic pool LP fee\n    function updateDynamicLPFee(PoolKey memory key, uint24 newDynamicLPFee) external;\n}\n"},"lib/v4-core/src/interfaces/IProtocolFees.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {Currency} from \"../types/Currency.sol\";\nimport {PoolId} from \"../types/PoolId.sol\";\nimport {PoolKey} from \"../types/PoolKey.sol\";\n\n/// @notice Interface for all protocol-fee related functions in the pool manager\ninterface IProtocolFees {\n    /// @notice Thrown when protocol fee is set too high\n    error ProtocolFeeTooLarge(uint24 fee);\n\n    /// @notice Thrown when collectProtocolFees or setProtocolFee is not called by the controller.\n    error InvalidCaller();\n\n    /// @notice Thrown when collectProtocolFees is attempted on a token that is synced.\n    error ProtocolFeeCurrencySynced();\n\n    /// @notice Emitted when the protocol fee controller address is updated in setProtocolFeeController.\n    event ProtocolFeeControllerUpdated(address indexed protocolFeeController);\n\n    /// @notice Emitted when the protocol fee is updated for a pool.\n    event ProtocolFeeUpdated(PoolId indexed id, uint24 protocolFee);\n\n    /// @notice Given a currency address, returns the protocol fees accrued in that currency\n    /// @param currency The currency to check\n    /// @return amount The amount of protocol fees accrued in the currency\n    function protocolFeesAccrued(Currency currency) external view returns (uint256 amount);\n\n    /// @notice Sets the protocol fee for the given pool\n    /// @param key The key of the pool to set a protocol fee for\n    /// @param newProtocolFee The fee to set\n    function setProtocolFee(PoolKey memory key, uint24 newProtocolFee) external;\n\n    /// @notice Sets the protocol fee controller\n    /// @param controller The new protocol fee controller\n    function setProtocolFeeController(address controller) external;\n\n    /// @notice Collects the protocol fees for a given recipient and currency, returning the amount collected\n    /// @dev This will revert if the contract is unlocked\n    /// @param recipient The address to receive the protocol fees\n    /// @param currency The currency to withdraw\n    /// @param amount The amount of currency to withdraw\n    /// @return amountCollected The amount of currency successfully withdrawn\n    function collectProtocolFees(address recipient, Currency currency, uint256 amount)\n        external\n        returns (uint256 amountCollected);\n\n    /// @notice Returns the current protocol fee controller address\n    /// @return address The current protocol fee controller address\n    function protocolFeeController() external view returns (address);\n}\n"},"lib/v4-core/src/interfaces/external/IERC20Minimal.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title Minimal ERC20 interface for Uniswap\n/// @notice Contains a subset of the full ERC20 interface that is used in Uniswap V3\ninterface IERC20Minimal {\n    /// @notice Returns an account's balance in the token\n    /// @param account The account for which to look up the number of tokens it has, i.e. its balance\n    /// @return The number of tokens held by the account\n    function balanceOf(address account) external view returns (uint256);\n\n    /// @notice Transfers the amount of token from the `msg.sender` to the recipient\n    /// @param recipient The account that will receive the amount transferred\n    /// @param amount The number of tokens to send from the sender to the recipient\n    /// @return Returns true for a successful transfer, false for an unsuccessful transfer\n    function transfer(address recipient, uint256 amount) external returns (bool);\n\n    /// @notice Returns the current allowance given to a spender by an owner\n    /// @param owner The account of the token owner\n    /// @param spender The account of the token spender\n    /// @return The current allowance granted by `owner` to `spender`\n    function allowance(address owner, address spender) external view returns (uint256);\n\n    /// @notice Sets the allowance of a spender from the `msg.sender` to the value `amount`\n    /// @param spender The account which will be allowed to spend a given amount of the owners tokens\n    /// @param amount The amount of tokens allowed to be used by `spender`\n    /// @return Returns true for a successful approval, false for unsuccessful\n    function approve(address spender, uint256 amount) external returns (bool);\n\n    /// @notice Transfers `amount` tokens from `sender` to `recipient` up to the allowance given to the `msg.sender`\n    /// @param sender The account from which the transfer will be initiated\n    /// @param recipient The recipient of the transfer\n    /// @param amount The amount of the transfer\n    /// @return Returns true for a successful transfer, false for unsuccessful\n    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);\n\n    /// @notice Event emitted when tokens are transferred from one address to another, either via `#transfer` or `#transferFrom`.\n    /// @param from The account from which the tokens were sent, i.e. the balance decreased\n    /// @param to The account to which the tokens were sent, i.e. the balance increased\n    /// @param value The amount of tokens that were transferred\n    event Transfer(address indexed from, address indexed to, uint256 value);\n\n    /// @notice Event emitted when the approval amount for the spender of a given owner's tokens changes.\n    /// @param owner The account that approved spending of its tokens\n    /// @param spender The account for which the spending allowance was modified\n    /// @param value The new allowance from the owner to the spender\n    event Approval(address indexed owner, address indexed spender, uint256 value);\n}\n"},"lib/v4-core/src/interfaces/external/IERC6909Claims.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @notice Interface for claims over a contract balance, wrapped as a ERC6909\ninterface IERC6909Claims {\n    /*//////////////////////////////////////////////////////////////\n                                 EVENTS\n    //////////////////////////////////////////////////////////////*/\n\n    event OperatorSet(address indexed owner, address indexed operator, bool approved);\n\n    event Approval(address indexed owner, address indexed spender, uint256 indexed id, uint256 amount);\n\n    event Transfer(address caller, address indexed from, address indexed to, uint256 indexed id, uint256 amount);\n\n    /*//////////////////////////////////////////////////////////////\n                                 FUNCTIONS\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Owner balance of an id.\n    /// @param owner The address of the owner.\n    /// @param id The id of the token.\n    /// @return amount The balance of the token.\n    function balanceOf(address owner, uint256 id) external view returns (uint256 amount);\n\n    /// @notice Spender allowance of an id.\n    /// @param owner The address of the owner.\n    /// @param spender The address of the spender.\n    /// @param id The id of the token.\n    /// @return amount The allowance of the token.\n    function allowance(address owner, address spender, uint256 id) external view returns (uint256 amount);\n\n    /// @notice Checks if a spender is approved by an owner as an operator\n    /// @param owner The address of the owner.\n    /// @param spender The address of the spender.\n    /// @return approved The approval status.\n    function isOperator(address owner, address spender) external view returns (bool approved);\n\n    /// @notice Transfers an amount of an id from the caller to a receiver.\n    /// @param receiver The address of the receiver.\n    /// @param id The id of the token.\n    /// @param amount The amount of the token.\n    /// @return bool True, always, unless the function reverts\n    function transfer(address receiver, uint256 id, uint256 amount) external returns (bool);\n\n    /// @notice Transfers an amount of an id from a sender to a receiver.\n    /// @param sender The address of the sender.\n    /// @param receiver The address of the receiver.\n    /// @param id The id of the token.\n    /// @param amount The amount of the token.\n    /// @return bool True, always, unless the function reverts\n    function transferFrom(address sender, address receiver, uint256 id, uint256 amount) external returns (bool);\n\n    /// @notice Approves an amount of an id to a spender.\n    /// @param spender The address of the spender.\n    /// @param id The id of the token.\n    /// @param amount The amount of the token.\n    /// @return bool True, always\n    function approve(address spender, uint256 id, uint256 amount) external returns (bool);\n\n    /// @notice Sets or removes an operator for the caller.\n    /// @param operator The address of the operator.\n    /// @param approved The approval status.\n    /// @return bool True, always\n    function setOperator(address operator, bool approved) external returns (bool);\n}\n"},"lib/v4-core/src/interfaces/callback/IUnlockCallback.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @notice Interface for the callback executed when an address unlocks the pool manager\ninterface IUnlockCallback {\n    /// @notice Called by the pool manager on `msg.sender` when the manager is unlocked\n    /// @param data The data that was passed to the call to unlock\n    /// @return Any data that you want to be returned from the unlock call\n    function unlockCallback(bytes calldata data) external returns (bytes memory);\n}\n"}},"language":"Solidity","settings":{"viaIR":true,"metadata":{"appendCBOR":true,"bytecodeHash":"none","useLiteralContent":false},"libraries":{},"optimizer":{"runs":200,"enabled":true},"evmVersion":"cancun","remappings":["v4-core/=lib/v4-core/","forge-std/=lib/forge-std/src/","solmate/=lib/solmate/"]}},"stdJsonOutput":{"sources":{"src/OG.sol":{"id":18},"src/OGAuction.sol":{"id":19},"src/Interfaces.sol":{"id":17},"src/OGDistributor.sol":{"id":20},"lib/v4-core/src/types/PoolId.sol":{"id":14},"lib/v4-core/src/types/PoolKey.sol":{"id":15},"lib/v4-core/src/types/Currency.sol":{"id":13},"lib/v4-core/src/interfaces/IHooks.sol":{"id":3},"lib/v4-core/src/libraries/SafeCast.sol":{"id":10},"lib/v4-core/src/types/BalanceDelta.sol":{"id":11},"lib/solmate/src/utils/SignedWadMath.sol":{"id":0},"lib/v4-core/src/types/PoolOperation.sol":{"id":16},"lib/v4-core/src/interfaces/IExtsload.sol":{"id":1},"lib/v4-core/src/interfaces/IExttload.sol":{"id":2},"lib/v4-core/src/types/BeforeSwapDelta.sol":{"id":12},"lib/v4-core/src/libraries/CustomRevert.sol":{"id":9},"lib/v4-core/src/interfaces/IPoolManager.sol":{"id":4},"lib/v4-core/src/interfaces/IProtocolFees.sol":{"id":5},"lib/v4-core/src/interfaces/external/IERC20Minimal.sol":{"id":7},"lib/v4-core/src/interfaces/external/IERC6909Claims.sol":{"id":8},"lib/v4-core/src/interfaces/callback/IUnlockCallback.sol":{"id":6}},"contracts":{"src/OGDistributor.sol":{"OGDistributor":{"abi":[{"type":"constructor","inputs":[{"name":"token_","type":"address","internalType":"contract OG"},{"name":"collection_","type":"address","internalType":"contract ISpepe"},{"name":"manager_","type":"address","internalType":"contract IPoolManager"},{"name":"hook_","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"name":"ETHSendFailed","type":"error","inputs":[]},{"name":"InvalidLevel","type":"error","inputs":[]},{"name":"Locked","type":"error","inputs":[]},{"name":"Reentrancy","type":"error","inputs":[]},{"name":"SlippageOrExpired","type":"error","inputs":[]},{"name":"Unauthorized","type":"error","inputs":[]},{"name":"Activated","type":"event","inputs":[{"name":"tokenId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"level","type":"uint8","indexed":false,"internalType":"uint8"},{"name":"burned","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"Exited","type":"event","inputs":[{"name":"tokenId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"ethPaid","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"RewardsReceived","type":"event","inputs":[{"name":"normal","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"surplus","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"StreamScheduled","type":"event","inputs":[{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"start","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"end","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"Upgraded","type":"event","inputs":[{"name":"tokenId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"oldLevel","type":"uint8","indexed":false,"internalType":"uint8"},{"name":"newLevel","type":"uint8","indexed":false,"internalType":"uint8"},{"name":"burned","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"EXIT_LOCK","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"SCALE","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"STREAM_DURATION","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"accPerWeight","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"activate","type":"function","inputs":[{"name":"id","type":"uint256","internalType":"uint256"},{"name":"newLevel","type":"uint8","internalType":"uint8"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"activateWithETH","type":"function","inputs":[{"name":"id","type":"uint256","internalType":"uint256"},{"name":"newLevel","type":"uint8","internalType":"uint8"},{"name":"sqrtPriceLimitX96","type":"uint160","internalType":"uint160"},{"name":"deadline","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"name":"activationCost","type":"function","inputs":[{"name":"id","type":"uint256","internalType":"uint256"},{"name":"newLevel","type":"uint8","internalType":"uint8"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"activePerLevel","type":"function","inputs":[{"name":"","type":"uint8","internalType":"uint8"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"auction","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract OGAuction"}],"stateMutability":"view"},{"name":"backlogLeft","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"checkpoint","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"collection","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract ISpepe"}],"stateMutability":"view"},{"name":"creditScaled","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"cumulativeCost","type":"function","inputs":[{"name":"l","type":"uint8","internalType":"uint8"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"pure"},{"name":"debtScaled","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"exit","type":"function","inputs":[{"name":"id","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"fundFeeClaims","type":"function","inputs":[],"outputs":[],"stateMutability":"payable"},{"name":"hook","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"lastActivation","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"level","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint8","internalType":"uint8"}],"stateMutability":"view"},{"name":"levelWeight","type":"function","inputs":[{"name":"l","type":"uint8","internalType":"uint8"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"pure"},{"name":"pending","type":"function","inputs":[{"name":"id","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"poolManager","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IPoolManager"}],"stateMutability":"view"},{"name":"receiveFeeClaims","type":"function","inputs":[{"name":"normal","type":"uint256","internalType":"uint256"},{"name":"surplus","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"receiveFees","type":"function","inputs":[{"name":"normal","type":"uint256","internalType":"uint256"},{"name":"surplus","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"name":"streamEnd","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"streamStart","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"token","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract OG"}],"stateMutability":"view"},{"name":"totalBurned","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"totalWeight","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"unfundedFees","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"unlockCallback","type":"function","inputs":[{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"nonpayable"},{"name":"weight","type":"function","inputs":[{"name":"id","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"}],"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract OG\",\"name\":\"token_\",\"type\":\"address\"},{\"internalType\":\"contract ISpepe\",\"name\":\"collection_\",\"type\":\"address\"},{\"internalType\":\"contract IPoolManager\",\"name\":\"manager_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"hook_\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"ETHSendFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidLevel\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Locked\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Reentrancy\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SlippageOrExpired\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"level\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"burned\",\"type\":\"uint256\"}],\"name\":\"Activated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"ethPaid\",\"type\":\"uint256\"}],\"name\":\"Exited\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"normal\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"surplus\",\"type\":\"uint256\"}],\"name\":\"RewardsReceived\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"start\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"end\",\"type\":\"uint256\"}],\"name\":\"StreamScheduled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"oldLevel\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"newLevel\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"burned\",\"type\":\"uint256\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"EXIT_LOCK\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SCALE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"STREAM_DURATION\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"accPerWeight\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"newLevel\",\"type\":\"uint8\"}],\"name\":\"activate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"newLevel\",\"type\":\"uint8\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceLimitX96\",\"type\":\"uint160\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"activateWithETH\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"newLevel\",\"type\":\"uint8\"}],\"name\":\"activationCost\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"name\":\"activePerLevel\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"auction\",\"outputs\":[{\"internalType\":\"contract OGAuction\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"backlogLeft\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"checkpoint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"collection\",\"outputs\":[{\"internalType\":\"contract ISpepe\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"creditScaled\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"l\",\"type\":\"uint8\"}],\"name\":\"cumulativeCost\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"debtScaled\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"exit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fundFeeClaims\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"hook\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"lastActivation\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"level\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"l\",\"type\":\"uint8\"}],\"name\":\"levelWeight\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"pending\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolManager\",\"outputs\":[{\"internalType\":\"contract IPoolManager\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"normal\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"surplus\",\"type\":\"uint256\"}],\"name\":\"receiveFeeClaims\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"normal\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"surplus\",\"type\":\"uint256\"}],\"name\":\"receiveFees\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"streamEnd\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"streamStart\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token\",\"outputs\":[{\"internalType\":\"contract OG\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalBurned\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalWeight\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unfundedFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"unlockCallback\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"weight\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"receiveFees(uint256,uint256)\":{\"details\":\"Intentionally callable during activateWithETH: the old weight earns that swap's fees.      Only the immutable hook can enter; this function performs no external calls.\"},\"unlockCallback(bytes)\":{\"params\":{\"data\":\"The data that was passed to the call to unlock\"},\"returns\":{\"_0\":\"Any data that you want to be returned from the unlock call\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"unlockCallback(bytes)\":{\"notice\":\"Called by the pool manager on `msg.sender` when the manager is unlocked\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/OGDistributor.sol\":\"OGDistributor\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":forge-std/=lib/forge-std/src/\",\":solmate/=lib/solmate/\",\":v4-core/=lib/v4-core/\"],\"viaIR\":true},\"sources\":{\"lib/solmate/src/utils/SignedWadMath.sol\":{\"keccak256\":\"0x42878c98476e3d899bd447f715134fd0977fa335871b278281352d00bf03ce5f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1f7c2cd5d2929701a505710fe8692cdc5f865bb6cdf3ac52160097bf8a240c81\",\"dweb:/ipfs/QmdksxP4KXpYzJMxyCvMCkEaV9E5Vx9CqNesMTyz5dQ7Sp\"]},\"lib/v4-core/src/interfaces/IExtsload.sol\":{\"keccak256\":\"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1\",\"dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN\"]},\"lib/v4-core/src/interfaces/IExttload.sol\":{\"keccak256\":\"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8\",\"dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY\"]},\"lib/v4-core/src/interfaces/IHooks.sol\":{\"keccak256\":\"0xc131ffa2d04c10a012fe715fe2c115811526b7ea34285cf0a04ce7ce8320da8d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3b212358897db5d99c21244d88f97b2e788527552cb430629b472a8cc6289aec\",\"dweb:/ipfs/QmQtwV4dDe2RYk2ErLpaAX7U82jWh1L6Lw2HRuKDvBi84G\"]},\"lib/v4-core/src/interfaces/IPoolManager.sol\":{\"keccak256\":\"0xbdab3544da3d32dfdf7457baa94e17d5a3012952428559e013ffac45d067038e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ce95ff864468e37c76adf71df061d4f3d6f3a5ec1f9bc3aea090463bc72798f4\",\"dweb:/ipfs/QmSbWh1pLbz51yQF4HEu5NRhr8XVv9JYGEw1hq1HudAnCi\"]},\"lib/v4-core/src/interfaces/IProtocolFees.sol\":{\"keccak256\":\"0x32a666e588a2f66334430357bb1e2424fe7eebeb98a3364b1dd16eb6ccca9848\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://85751d302125881f72e5f8af051c2d5d9b1f606ebaea8ca7d04fccdd27cc252d\",\"dweb:/ipfs/QmeRwomeh9NWm6A6fgNA4KZPQZHPpdKsPQyYsHSFmvud7J\"]},\"lib/v4-core/src/interfaces/callback/IUnlockCallback.sol\":{\"keccak256\":\"0x58c82f2bd9d7c097ed09bd0991fedc403b0ec270eb3d0158bfb095c06a03d719\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91168ca26a10980df2cdc3fbfe8ddf372c002b7ef19e3c59a0c9870d64198f1b\",\"dweb:/ipfs/QmUSpaM825vd1SwvF38esgbdLgYiPwefKaFERTWvUi6uSK\"]},\"lib/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]},\"lib/v4-core/src/interfaces/external/IERC6909Claims.sol\":{\"keccak256\":\"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f\",\"dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK\"]},\"lib/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"lib/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"lib/v4-core/src/types/BalanceDelta.sol\":{\"keccak256\":\"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9\",\"dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H\"]},\"lib/v4-core/src/types/BeforeSwapDelta.sol\":{\"keccak256\":\"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782\",\"dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K\"]},\"lib/v4-core/src/types/Currency.sol\":{\"keccak256\":\"0x710e24fa84dfb6355a5b644b03c058be3b079782f37b8296848f1e43817ba644\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3a5450b6285feb5a40106a182d3ea72ee1e378fdf1b75cfbafac1e5b25232730\",\"dweb:/ipfs/QmfHBAtnMyKXxhMBEmmY9yDkG9yzEE4kF8B8Ya9xGXHQEL\"]},\"lib/v4-core/src/types/PoolId.sol\":{\"keccak256\":\"0x308311916ea0f5c2fd878b6a2751eb223d170a69e33f601fae56dfe3c5d392af\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://669c2cd7ac17690b5d8831e0bda72822376c3a04b36afed6d31df4d75fe60918\",\"dweb:/ipfs/QmT6EpkxqU8VF3WsgrZ66F3s1cCQRffR95z1HDYZz7ph6y\"]},\"lib/v4-core/src/types/PoolKey.sol\":{\"keccak256\":\"0xf89856e0580d7a4856d3187a76858377ccee9d59702d230c338d84388221b786\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f3118fa189025695c37fdf0bdd1190f085ad097484d3c88cf4c56d1db65f639\",\"dweb:/ipfs/QmamXpgtB8GV1CaFLvqefPWSoikLDhMk1yU4heBnVzU8gi\"]},\"lib/v4-core/src/types/PoolOperation.sol\":{\"keccak256\":\"0x7a1a107fc1f2208abb2c9364c8c54e56e98dca27673e9441bed2b949b6382162\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4ad2470383bc5595d5af17840c64971f457adac68895a4db41ba5c71a4478e07\",\"dweb:/ipfs/QmdwKhBHDZFuqXrR2BfDBD9r7rB2ULGQBznsajRTkTmL4c\"]},\"src/Interfaces.sol\":{\"keccak256\":\"0xe151adc0ace81787158cbd2872bad377ec20ef332d64c61e33a066fd221b65f3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://475c1c8657ce934c7a45ceb1f9eb3a99618c403f7529214905ab6870478ae758\",\"dweb:/ipfs/QmT9gBizCoCh8j5mwntANwKquQ3wV3sBKTgVAwNLBUCyUB\"]},\"src/OG.sol\":{\"keccak256\":\"0x2fb1df8902a32cddd1f9ad401940d21847254d0963e2d5fae122debe46426f73\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9b05f49874b046b5389f5f482873d6af37fc59df46881459060b5a4443a5284c\",\"dweb:/ipfs/QmfS3nzRKL3VU3DoD5DL4NkXhsf9nhzGhUKb3BFDfYmjcg\"]},\"src/OGAuction.sol\":{\"keccak256\":\"0x3d26bdb07bf360dafba464337aa6901bdfb5b68183bcc88c35b58fcc123dd711\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5b8ee387a63a717000f6a5b8a8a65928d5545b7b01b280ce0d74abb65b4d5b36\",\"dweb:/ipfs/QmeQuuYGkyZYfaa1fqXSAhwVkYJZMcBbA9GfxZy4aL7QM6\"]},\"src/OGDistributor.sol\":{\"keccak256\":\"0x05f12e0e842fd267e0ece0b6a35ea0e5c55632245ca863a6da11590c52488147\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cdb6140812e1e7b81ba6fa4f544b02f65e3f7685653d6020482ae438f336396f\",\"dweb:/ipfs/QmYyBybo8hgQntceVfCLPwYQesa2WRe5kePcCc4WAHTaEf\"]}},\"version\":1}","userdoc":{"kind":"user","methods":{"unlockCallback(bytes)":{"notice":"Called by the pool manager on `msg.sender` when the manager is unlocked"}},"version":1},"devdoc":{"kind":"dev","methods":{"unlockCallback(bytes)":{"params":{"data":"The data that was passed to the call to unlock"},"returns":{"_0":"Any data that you want to be returned from the unlock call"}},"receiveFees(uint256,uint256)":{"details":"Intentionally callable during activateWithETH: the old weight earns that swap's fees.      Only the immutable hook can enter; this function performs no external calls."}},"version":1},"storageLayout":{"types":{"t_bool":{"label":"bool","encoding":"inplace","numberOfBytes":"1"},"t_uint8":{"label":"uint8","encoding":"inplace","numberOfBytes":"1"},"t_uint256":{"label":"uint256","encoding":"inplace","numberOfBytes":"32"},"t_mapping(t_uint256,t_uint8)":{"key":"t_uint256","label":"mapping(uint256 => uint8)","value":"t_uint8","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_uint8,t_uint256)":{"key":"t_uint8","label":"mapping(uint8 => uint256)","value":"t_uint256","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_uint256,t_uint256)":{"key":"t_uint256","label":"mapping(uint256 => uint256)","value":"t_uint256","encoding":"mapping","numberOfBytes":"32"}},"storage":[{"slot":"0","type":"t_uint256","astId":2258,"label":"entered","offset":0,"contract":"src/OGDistributor.sol:OGDistributor"},{"slot":"1","type":"t_uint256","astId":3113,"label":"totalWeight","offset":0,"contract":"src/OGDistributor.sol:OGDistributor"},{"slot":"2","type":"t_uint256","astId":3115,"label":"accPerWeight","offset":0,"contract":"src/OGDistributor.sol:OGDistributor"},{"slot":"3","type":"t_uint256","astId":3117,"label":"unfundedFees","offset":0,"contract":"src/OGDistributor.sol:OGDistributor"},{"slot":"4","type":"t_mapping(t_uint8,t_uint256)","astId":3121,"label":"activePerLevel","offset":0,"contract":"src/OGDistributor.sol:OGDistributor"},{"slot":"5","type":"t_mapping(t_uint256,t_uint8)","astId":3125,"label":"level","offset":0,"contract":"src/OGDistributor.sol:OGDistributor"},{"slot":"6","type":"t_mapping(t_uint256,t_uint256)","astId":3129,"label":"lastActivation","offset":0,"contract":"src/OGDistributor.sol:OGDistributor"},{"slot":"7","type":"t_mapping(t_uint256,t_uint256)","astId":3133,"label":"debtScaled","offset":0,"contract":"src/OGDistributor.sol:OGDistributor"},{"slot":"8","type":"t_mapping(t_uint256,t_uint256)","astId":3137,"label":"creditScaled","offset":0,"contract":"src/OGDistributor.sol:OGDistributor"},{"slot":"9","type":"t_uint256","astId":3139,"label":"backlog","offset":0,"contract":"src/OGDistributor.sol:OGDistributor"},{"slot":"10","type":"t_uint256","astId":3141,"label":"streamStart","offset":0,"contract":"src/OGDistributor.sol:OGDistributor"},{"slot":"11","type":"t_uint256","astId":3143,"label":"streamEnd","offset":0,"contract":"src/OGDistributor.sol:OGDistributor"},{"slot":"12","type":"t_uint256","astId":3145,"label":"streamTotal","offset":0,"contract":"src/OGDistributor.sol:OGDistributor"},{"slot":"13","type":"t_uint256","astId":3147,"label":"released","offset":0,"contract":"src/OGDistributor.sol:OGDistributor"},{"slot":"14","type":"t_bool","astId":3149,"label":"buying","offset":0,"contract":"src/OGDistributor.sol:OGDistributor"}]},"transientStorageLayout":null,"evm":{"bytecode":{"object":"610120346101a457601f612e6938819003918201601f19168301916001600160401b03831184841017610190578084926080946040528339810103126101a45780516001600160a01b038116908181036101a45760208301516001600160a01b03811693908481036101a4576040820151916001600160a01b03831683036101a45760600151926001600160a01b03841684036101a45760805260a05260c05260e0526040519161110e90818401906001600160401b03821185831017610190576060938593611d5b8539825260208201523060408201520301905ff080156101855761010052604051611bb290816101a9823960805181818161019e0152818161055e015281816109650152611234015260a0518181816102a901528181610c650152818161100b01526111ce015260c05181818161035b01528181610508015261073a015260e05181818161064c015281816107b001528181610ea901528181610fc70152818161111c0152611434015261010051818181610d80015261104f0152f35b6040513d5f823e3d90fd5b634e487b7160e01b5f52604160045260245ffd5b5f80fdfe6080806040526004361015610012575f80fd5b5f905f3560e01c90816305c58df2146114835750806307b37e1c1461142457806313f47411146113fe57806330c8f01a146113d4578063367174fd146113b75780633e9394561461138d5780634578f5f01461118c5780634a8e6b2b1461116f5780634f3487581461111057806351e42ab5146110f357806354eae3e6146110d65780636c962a5a146110a4578063748f8dde1461107e5780637d9f6db51461103a5780637de1e53614610ff65780637f5a7c7b14610fb25780637f8661a114610c3057806389c68dd914610c0c57806391dd7346146106e957806396c82e57146106cb578063af6e6238146106ac578063b7122e161461063d578063c2c4c5c114610621578063c3bcd94f14610603578063ce955ea5146105df578063d89135cd14610537578063dc4c90d3146104f2578063dc9db7f1146104d4578063df24223614610255578063e99209621461022b578063eced552614610205578063f8e27f93146101d05763fc0c546a14610189575f80fd5b346101cd57806003193601126101cd576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b80fd5b50346101cd5760203660031901126101cd576101fd60ff60406020936004358152600585522054166115e2565b604051908152f35b50346101cd57806003193601126101cd576020604051676765c793fa10079d601b1b8152f35b50346101cd5760203660031901126101cd5760406020916004358152600883522054604051908152f35b5060803660031901126101cd5760043561026d6114c2565b6044356001600160a01b03811692908390036104d05783546104c157600184556040516331a9108f60e11b8152600481018290526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa90811561045b578591610483575b50336001600160a01b0390911603610475576064354211610466576103568461030a8484611570565b94600160ff19600e541617600e556040519086602083015234604083015260608201526060815261033c608082611526565b604051809381926348c8949160e01b8352600483016114e2565b0381837f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af190811561045b5785916103db575b50602081519181808201938492010103126103d7576103d1936103cb936103c592519360ff19600e5416600e556118ba565b34611519565b33611b50565b80805580f35b5f80fd5b9050843d8082843e6103ed8184611526565b8201916020818403126104575780519067ffffffffffffffff8211610453570182601f820112156104575780516104238161175a565b936104316040519586611526565b81855260208284010111610453578060208093018386015e830101525f610393565b8280fd5b5080fd5b6040513d87823e3d90fd5b633c36db5f60e01b8452600484fd5b6282b42960e81b8452600484fd5b90506020813d6020116104b9575b8161049e60209383611526565b810103126104b5576104af9061155c565b5f6102e1565b8480fd5b3d9150610491565b63558a1e0360e11b8452600484fd5b8380fd5b50346101cd57806003193601126101cd576020600a54604051908152f35b50346101cd57806003193601126101cd576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b50346101cd57806003193601126101cd5760405163d89135cd60e01b8152906020826004817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156105d357906105a0575b602090604051908152f35b506020813d6020116105cb575b816105ba60209383611526565b810103126103d75760209051610595565b3d91506105ad565b604051903d90823e3d90fd5b50346101cd5760203660031901126101cd5760206101fd6105fe6114d2565b6116fa565b50346101cd57806003193601126101cd576020600354604051908152f35b50346101cd57806003193601126101cd5761063a611a49565b80f35b50806003193601126101cd57337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316148015906106a1575b6106935761068d34600354611519565b60035580f35b6282b42960e81b8152600490fd5b50600354341161067d565b50346101cd5760203660031901126101cd5760206101fd600435611635565b50346101cd57806003193601126101cd576020600154604051908152f35b50346101cd5760203660031901126101cd5760043567ffffffffffffffff8111610457573660238201121561045757806004013567ffffffffffffffff8111610453578101366024820111610453577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690338214801590610bff575b61047557606090839003126104535760648201356001600160a01b03811692602481013592918490036104b55760405163182148ef60e01b815260a0816004817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa908115610bf4578691610b3a575b50604051916060830183811067ffffffffffffffff821117610b265760409081526001845260208085018781528583019889528251633cf3645360e21b815285516001600160a01b0390811660048301528684018051821660248401529487015162ffffff166044830152606087015160020b60648301526080870151811660848301529651151560a4820152905160c4820152975190941660e488015261012061010488015261012487018890529286610144818a885af1958615610b1b578796610ae3575b50608086901d600f0b600160ff1b8114610acf57870395600f0b851480159190610ac1575b50610ab25751859291906001600160a01b0316823b156104d05760405190632961046560e21b82526004820152838160248183875af1908115610a5f578491610a9d575b5050604051630476982d60e21b815260208160048189875af18015610a5f57610a6a575b50516040516303fd2a4560e01b815291906001600160a01b0390811690602090849060049082907f0000000000000000000000000000000000000000000000000000000000000000165afa928315610a5f578493610a23575b50813b156104d057836064926040519687958694630b0d9c0960e01b8652600486015260018060a01b0316602485015260448401525af18015610a1857610a03575b6109ff82604051906020820152602081526109f3604082611526565b604051918291826114e2565b0390f35b610a0e838092611526565b61045757816109d7565b6040513d85823e3d90fd5b9092506020813d602011610a57575b81610a3f60209383611526565b810103126104d057610a509061155c565b915f610995565b3d9150610a32565b6040513d86823e3d90fd5b92506020833d602011610a95575b81610a8560209383611526565b810103126103d75785925161093c565b3d9150610a78565b81610aa791611526565b61045357825f610918565b633c36db5f60e01b8652600486fd5b60449150013585115f6108d4565b634e487b7160e01b88526011600452602488fd5b9095506020813d602011610b13575b81610aff60209383611526565b81010312610b0f5751945f6108af565b8680fd5b3d9150610af2565b6040513d89823e3d90fd5b634e487b7160e01b88526041600452602488fd5b905060a0813d60a011610bec575b81610b5560a09383611526565b81010312610be8576040519060a0820182811067ffffffffffffffff821117610b2657604052610b848161155c565b8252610b926020820161155c565b6020830152604081015162ffffff81168103610be45760408301526060810151908160020b8203610be4576060830191909152608001516001600160a01b0381168103610b0f5760808201525f6107e8565b8780fd5b8580fd5b3d9150610b48565b6040513d88823e3d90fd5b5060ff600e54161561076e565b50346101cd5760203660031901126101cd5760206101fd610c2b6114d2565b6115e2565b50346103d75760203660031901126103d7576004355f54610fa35760015f556040516331a9108f60e11b8152600481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169190602081602481865afa908115610f16575f91610f69575b506001600160a01b03163314801590610f52575b610f4457805f52600660205260405f2054620151808101809111610f30574210610f2157600354610ea7575b610cee611a49565b82610cf882611635565b92828252600560205260ff604083205416610d1d610d15826115e2565b600154611519565b6001558252600460205260408220610d3581546115d6565b905582825260056020526040822060ff19815416905582825260076020528160408120558282526008602052816040812055828252600660205281604081205560015415610e9a575b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690813b1561045357604051634064a0cf60e11b815260048101859052838160248183875af1908115610a5f578491610e85575b5050803b1561045357604051632142170760e11b81523360048201526001600160a01b039290921660248301526044820184905282908290606490829084905af18015610e7a57610e65575b5050610e338233611b50565b6040519182527f0808b45a422e0acd47a625c74fff3eb8d6d4dd063e0845deb1e57581c27b32f560203393a380805580f35b81610e6f91611526565b61045357825f610e27565b6040513d84823e3d90fd5b81610e8f91611526565b61045357825f610ddb565b610ea2611ab4565b610d7e565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316803b156103d7575f8091600460405180948193633a047bb360e01b83525af18015610f1657610f01575b50610ce6565b610f0e9193505f90611526565b5f915f610efb565b6040513d5f823e3d90fd5b6303cb96db60e21b5f5260045ffd5b634e487b7160e01b5f52601160045260245ffd5b6282b42960e81b5f5260045ffd5b50805f52600560205260ff60405f20541615610cba565b90506020813d602011610f9b575b81610f8460209383611526565b810103126103d757610f959061155c565b5f610ca6565b3d9150610f77565b63558a1e0360e11b5f5260045ffd5b346103d7575f3660031901126103d7576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346103d7575f3660031901126103d7576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346103d7575f3660031901126103d7576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346103d75760403660031901126103d75760206101fd61109c6114c2565b600435611570565b346103d75760203660031901126103d75760ff6110bf6114d2565b165f526004602052602060405f2054604051908152f35b346103d7575f3660031901126103d7576020600b54604051908152f35b346103d7575f3660031901126103d7576020600254604051908152f35b611119366114ac565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03161480159061115c575b610f445761115a91611776565b005b50611167818361150c565b34141561114d565b346103d7575f3660031901126103d757602060405162278d008152f35b346103d75760403660031901126103d7576004356111a86114c2565b5f54610fa35760015f556040516331a9108f60e11b8152600481018390526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa908115610f16575f91611353575b50336001600160a01b0390911603610f44576112228183611570565b6040516303fd2a4560e01b81529091907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316602082600481845afa8015610f165784925f9161130e575b506040516323b872dd60e01b81523360048201526001600160a01b03909116602482015260448101929092526020908290815f81606481015b03925af1908115610f16575f916112d3575b50156103d7576112ce926118ba565b5f8055005b90506020813d602011611306575b816112ee60209383611526565b810103126103d7575180151581036103d757846112bf565b3d91506112e1565b9250506020823d60201161134b575b8161132a60209383611526565b810103126103d757836020916113426112ad9461155c565b91935091611274565b3d915061131d565b90506020813d602011611385575b8161136e60209383611526565b810103126103d75761137f9061155c565b83611206565b3d9150611361565b346103d75760203660031901126103d7576004355f526006602052602060405f2054604051908152f35b346103d7575f3660031901126103d7576020604051620151808152f35b346103d75760203660031901126103d7576004355f526007602052602060405f2054604051908152f35b346103d7575f3660031901126103d75760206101fd60095461141e611858565b90611519565b346103d757611432366114ac565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03163303610f44578161147b6114738361115a9561150c565b60035461150c565b600355611776565b346103d75760203660031901126103d7576020906004355f526005825260ff60405f2054168152f35b60409060031901126103d7576004359060243590565b6024359060ff821682036103d757565b6004359060ff821682036103d757565b602060409281835280519182918282860152018484015e5f828201840152601f01601f1916010190565b91908201809211610f3057565b91908203918211610f3057565b90601f8019910116810190811067ffffffffffffffff82111761154857604052565b634e487b7160e01b5f52604160045260245ffd5b51906001600160a01b03821682036103d757565b805f52600560205260ff60405f20541660ff8316908111908115916115cb575b506115bc576115a16115b9926116fa565b905f52600560205261141e60ff60405f2054166116fa565b90565b63d1459f7960e01b5f5260045ffd5b60039150115f611590565b8015610f30575f190190565b60ff16806115ef57505f90565b5f190160ff8111610f305760ff600191161b90565b81810292918115918404141715610f3057565b8115611621570490565b634e487b7160e01b5f52601260045260245ffd5b600254600154806116a1575b508161168a61169d92676765c793fa10079d601b1b945f52600860205261168460405f205491845f52600560205261167f60ff60405f2054166115e2565b611604565b9061150c565b905f52600760205260405f205490611519565b0490565b916116aa611858565b676765c793fa10079d601b1b810290808204676765c793fa10079d601b1b1490151715610f30576116f161169d93611684676765c793fa10079d601b1b9661168a94611617565b92505091611641565b60ff166001811461174b576002811461173c576003811461172d57156117295763d1459f7960e01b5f5260045ffd5b5f90565b506954b40b1f852bda00000090565b50691fc3842bd1f071c0000090565b50690a968163f0a57b40000090565b67ffffffffffffffff811161154857601f01601f191660200190565b9061177f611a49565b600154806117d3575081816117c26117ba6040947f61cb44cbea389abb97c617c7d16a62235c51f27da3406d3ec3c9ac87c0d0c8269661150c565b60095461150c565b6009555b82519182526020820152a1565b91676765c793fa10079d601b1b810291818304676765c793fa10079d601b1b1482151715610f305761183361182b7f61cb44cbea389abb97c617c7d16a62235c51f27da3406d3ec3c9ac87c0d0c82695604095611617565b60025461150c565b60025580156117c6576118488160095461150c565b600955611853611ab4565b6117c6565b6001541580156118b0575b61172957600b548042105f146118a057506115b962278d00611896425b611890600c5491600a5490611519565b90611604565b04600d5490611519565b62278d006118966115b992611880565b50600b5415611863565b90916118c4611a49565b815f52600560205260ff60405f2054166118dd816115e2565b6118ff6118ec60025483611604565b855f52600760205260405f205490611519565b845f52600860205261191660405f2091825461150c565b90556119316119286001549283611519565b611684876115e2565b6001558115908115611a2c575b60ff861695865f52600460205260405f20908154905f198214610f305761198c92600161198393019055875f52600560205260405f208960ff198254161790556115e2565b60025490611604565b855f52600760205260405f2055845f5260066020524260405f205515611a1f575b156119e6575060405192835260208301527f4e4f107f0e9557eb4a56fbc0e0697242ee73b7aa9002ceb8c344bdaf2f5d093060403393a3565b92604051938452602084015260408301527f1029612f2d373919141590030d145ff4724ec4f953268cf21bb3ef6379971c2660603393a3565b611a27611ab4565b6119ad565b825f52600460205260405f20611a4281546115d6565b905561193e565b611a51611858565b80158015611a5d575050565b611a6982600d5461150c565b600d55611a7882600954611519565b600955676765c793fa10079d601b1b8202918204676765c793fa10079d601b1b141715610f305761182b611aaf9160015490611617565b600255565b42600a5560095480600c555f600d5580158015611b46575b15611b0f5760607f1e0ab595e482d035bb08b11a96fce569f5eaa9218ba393c03e98379599abb2cc915f5b80600b556040519182524260208301526040820152a1565b62278d004201804211610f30577f1e0ab595e482d035bb08b11a96fce569f5eaa9218ba393c03e98379599abb2cc91606091611af7565b5060015415611acc565b8115611ba1575f80809381935af13d15611b9c573d611b6e8161175a565b90611b7c6040519283611526565b81525f60203d92013e5b15611b8d57565b63cef4eed760e01b5f5260045ffd5b611b86565b505056fea164736f6c634300081a000a60e0346100d157601f61110e38819003918201601f19168301916001600160401b038311848410176100d5578084926060946040528339810103126100d1578051906001600160a01b03821682036100d1576020810151906001600160a01b03821682036100d15760400151916001600160a01b03831683036100d15760805260a05260c05260405161102490816100ea823960805181818160cd01526102c8015260a051818181610361015281816106c901526109cd015260c05181818161013a015281816105590152610a380152f35b5f80fd5b634e487b7160e01b5f52604160045260245ffdfe6080806040526004361015610012575f80fd5b5f905f3560e01c908163150b7a021461095f575080631be052891461094257806326a49e371461091c5780632ad71573146108ff57806330c4e5841461073e578063571a26a0146106f85780637de1e536146106b457806380c9419e1461054357806384b3d8e91461051f5780638945257c14610193578063bd765beb14610169578063bfe1092814610124578063ca0246d6146100ff5763fc0c546a146100b8575f80fd5b346100fc57806003193601126100fc576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b80fd5b50346100fc57806003193601126100fc5760206040516969e10de76676d08000008152f35b50346100fc57806003193601126100fc576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b50346100fc5760203660031901126100fc5760406020916004358152600283522054604051908152f35b5034610426576080366003190112610426576044356001600160a01b03811690600435828203610426575f546105105760015f55805f52600160205260ff600260405f20015416158015610508575b80156104ff575b6104f0576101f681610ae7565b91606435421180156104e5575b6104d657815f5260016020525f6002604082208281558260018201550155815f5260026020528260405f2055815f52600460205260405f20546003545f1981019081116104c25761025390610e3e565b90549060031b1c61027f8161026784610e3e565b90919082549060031b91821b915f19901b1916179055565b5f52600460205260405f205560035480156104ae575f19016102a081610e3e565b8154905f199060031b1b19169055600355815f5260046020525f604081205560018060a01b037f0000000000000000000000000000000000000000000000000000000000000000166040516303fd2a4560e01b8152602081600481855afa801561041b5785915f91610465575b506040516323b872dd60e01b81523360048201526001600160a01b0390911660248201526044810191909152906020908290815f81606481015b03925af190811561041b575f9161042a575b5015610426577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316803b1561042657604051632142170760e11b81523060048201526001600160a01b03929092166024830152604482018390525f908290606490829084905af1801561041b57610406575b506040519182527f230ff444c20a90089771b54b56d9da976d972cbcd131ca7fee204c63c8a60ccd60203393a480805580f35b6104139194505f90610ab8565b5f925f6103d3565b6040513d5f823e3d90fd5b5f80fd5b90506020813d60201161045d575b8161044560209383610ab8565b8101031261042657518015158103610426575f610359565b3d9150610438565b9150506020813d6020116104a6575b8161048160209383610ab8565b810103126104265751906001600160a01b03821682036104265790849061034761030d565b3d9150610474565b634e487b7160e01b5f52603160045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b633c36db5f60e01b5f5260045ffd5b506024358311610203565b63010ab10b60e51b5f5260045ffd5b503083146101e9565b5082156101e2565b63558a1e0360e11b5f5260045ffd5b34610426575f366003190112610426576020604051690a968163f0a57b4000008152f35b34610426576020366003190112610426576004357f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036106a657805f52600160205260ff600260405f200154166104f057805f52600260205260405f2054600a810290808204600a14901517156104c2576969e10de76676d08000008110610695575b6040516105dc81610a9c565b81815260026020820191428352604081019260018452855f52600160205260405f2091518255516001820155019051151560ff80198354169116179055600354825f5260046020528060405f205568010000000000000000811015610681577f16b21250ee4692778f57023f3f4fa208b61acf19ae67f5be49ee3b824f52849b916106738461026784600160409601600355610e3e565b8151908152426020820152a2005b634e487b7160e01b5f52604160045260245ffd5b506969e10de76676d08000006105d0565b6282b42960e81b5f5260045ffd5b34610426575f366003190112610426576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b34610426576020366003190112610426576004355f526001602052606060405f2080549060ff600260018301549201541690604051928352602083015215156040820152f35b3461042657604036600319011261042657602435600435606482116108f6575b600354818181106108e75750505f915b8083116108df575b5061078082610e26565b9161078e6040519384610ab8565b808352601f1961079d82610e26565b015f5b8181106108b05750505f5b81811061081857836040518091602082016020835281518091526020604084019201905f5b8181106107de575050500390f35b91935091602060806001926060875180518352848101518584015260408101516040840152015160608201520194019101918493926107d0565b808301908184116104c25761082e600192610e3e565b90549060031b1c805f528260205260405f206040519061084d82610a9c565b805491828152604060ff60028885015494856020860152015416151591015261087583610ae7565b916040519361088385610a80565b845260208401526040830152606082015261089e8287610e6a565b526108a98186610e6a565b50016107ab565b6020906040516108bf81610a80565b5f81525f838201525f60408201525f6060820152828288010152016107a0565b915082610776565b6108f091610ada565b9161076e565b6064915061075e565b34610426575f366003190112610426576020600354604051908152f35b3461042657602036600319011261042657602061093a600435610ae7565b604051908152f35b34610426575f3660031901126104265760206040516201fa408152f35b34610426576080366003190112610426576004356001600160a01b038116908190036104265761098d610a6a565b5060643567ffffffffffffffff8111610426573660238201121561042657806004013567ffffffffffffffff8111610426573691016024011161042657337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03161480159190610a36575b508015610a1a575b6106a657630a85bd0160e11b8152602090f35b506044355f52600160205260ff600260405f2001541615610a07565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614159050826109ff565b602435906001600160a01b038216820361042657565b6080810190811067ffffffffffffffff82111761068157604052565b6060810190811067ffffffffffffffff82111761068157604052565b90601f8019910116810190811067ffffffffffffffff82111761068157604052565b919082039182116104c257565b5f52600160205260405f2060405190610aff82610a9c565b8054825260ff60026001830154928360208601520154161580156040840152610e2057610b2c9042610ada565b6201fa40811015610e10578015610e0b5781518015610df7577092efd1b8d0cf37be5aa1cae50000000000045f811315610dc65780711340daa0d5f769dba1915cef59f0815a55067d57115e47018c7177eebf7cd370a3356a1b7863008a5ae8028c72b8864284926fffffffffffffffffffffffffffffffff1060071b82811c67ffffffffffffffff1060061b1782811c63ffffffff1060051b1782811c61ffff1060041b1782811c60ff1060031b1782811c600f1060021b1782811c60031060011b1782811c6001101791606083609f03011b609f1c91605f19017d0267a36c0c95b3975ab3ee5b203a7614a3f75373f047d803ae7b6687f2b302916c0b7a86d7375468fac667a0a527816d01920d8043ca89b5239253284e42816d0a0f742023def783a307a986912e816d13cdffb29d51d99322bdff5f2211816d0df99ac502031bf953eff472fdcc816d0388eaa27412d5aca026815d636e816c465772b2bbbb5f824b15207a3081010260601d010260601d010260601d010260601d010260601d010260601d0190780a09507084cc699bb0e71ea869ffffffffffffffffffffffff19906cb9a025d814b29c212b8b1a07cd19816d02384773bdf1ac5676facced609019816c8c3f38e95a6b1ff2ab1c3b343619816d02247f7a7b6594320649aa03aba1816d0139601a2efabe717e604cbb4894816c29508e458543d8aa4df2abee7881010260601d010260601d010260601d010260601d010260601d0102010502010160ae1d91519181810291600160ff1b81145f8312166104c25781830514901517156104c2576201fa40610d869105610e7e565b908181029181830414901517156104c257670de0b6b3a76400009004690a968163f0a57b400000811015610dc35750690a968163f0a57b40000090565b90565b60405162461bcd60e51b815260206004820152600960248201526815539111519253915160ba1b6044820152606490fd5b634e487b7160e01b5f52601260045260245ffd5b505190565b5050690a968163f0a57b40000090565b50505f90565b67ffffffffffffffff81116106815760051b60200190565b600354811015610e565760035f5260205f2001905f90565b634e487b7160e01b5f52603260045260245ffd5b8051821015610e565760209160051b010190565b680248ce36a70cb26b3e1981131561101257680755bf798b4a1bf1e5811215610fde576503782dace9d990604e1b0574029d9dc38563c32e5c2f6dc192ee70ef65f9978af36001605f1b6bb17217f7d1cf79abc9e3b3988360601b050160601d916bb17217f7d1cf79abc9e3b39883029003806c10fe68e7fd37d0007b713f765081010260601d6e05180bb14799ab47a8a8cb2a527d57826e02c72388d9f74f51a9331fed693f1419816db1bbb201f443cf962f1a1d3db4a5816d1a521255e34f6a5061b25ef1c9c319816d0277594991cfc85f6e2461837cd9816c240c330e9fb2d9cbaf0fd5aafb1981010260601d010260601d010260601d010260601d010260601d01916e0587f503bb6ea29d25fcb7401964506d360d7aeea093263ecc6e0ecb291760621b926d02d16720577bd19bf614176fe9ea810190836d01d3967ed30fc4f89c02bab57081199101010260601d01020105029060c3031c90565b60405162461bcd60e51b815260206004820152600c60248201526b4558505f4f564552464c4f5760a01b6044820152606490fd5b505f9056fea164736f6c634300081a000a","sourceMap":"525:8349:20:-:0;;;;;;;;;;;;;-1:-1:-1;;525:8349:20;;;;-1:-1:-1;;;;;525:8349:20;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;525:8349:20;;;;;;;;;;;;-1:-1:-1;;;;;525:8349:20;;;;;;;;;;;;;;-1:-1:-1;;;;;525:8349:20;;;;;;;;;;-1:-1:-1;;;;;525:8349:20;;;;;;;2179:14;2203:24;;2237:22;;2269:12;;525:8349;;;2301:49;;;;;;-1:-1:-1;;;;;2301:49:20;;;;;;;;525:8349;2301:49;;;;;;525:8349;;;;;;2344:4;525:8349;;;;2301:49;;;-1:-1:-1;2301:49:20;;;;;2291:59;;525:8349;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2203:24;525:8349;;;;;;;;;;;;;;;;;;;;2237:22;525:8349;;;;;;;;;;;;;;;2269:12;525:8349;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2291:59;525:8349;;;;;;;;;;;2301:49;525:8349;;;-1:-1:-1;525:8349:20;;;;;2301:49;525:8349;;;-1:-1:-1;525:8349:20;;;;;-1:-1:-1;525:8349:20;;-1:-1:-1;525:8349:20;","linkReferences":{}},"deployedBytecode":{"object":"6080806040526004361015610012575f80fd5b5f905f3560e01c90816305c58df2146114835750806307b37e1c1461142457806313f47411146113fe57806330c8f01a146113d4578063367174fd146113b75780633e9394561461138d5780634578f5f01461118c5780634a8e6b2b1461116f5780634f3487581461111057806351e42ab5146110f357806354eae3e6146110d65780636c962a5a146110a4578063748f8dde1461107e5780637d9f6db51461103a5780637de1e53614610ff65780637f5a7c7b14610fb25780637f8661a114610c3057806389c68dd914610c0c57806391dd7346146106e957806396c82e57146106cb578063af6e6238146106ac578063b7122e161461063d578063c2c4c5c114610621578063c3bcd94f14610603578063ce955ea5146105df578063d89135cd14610537578063dc4c90d3146104f2578063dc9db7f1146104d4578063df24223614610255578063e99209621461022b578063eced552614610205578063f8e27f93146101d05763fc0c546a14610189575f80fd5b346101cd57806003193601126101cd576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b80fd5b50346101cd5760203660031901126101cd576101fd60ff60406020936004358152600585522054166115e2565b604051908152f35b50346101cd57806003193601126101cd576020604051676765c793fa10079d601b1b8152f35b50346101cd5760203660031901126101cd5760406020916004358152600883522054604051908152f35b5060803660031901126101cd5760043561026d6114c2565b6044356001600160a01b03811692908390036104d05783546104c157600184556040516331a9108f60e11b8152600481018290526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa90811561045b578591610483575b50336001600160a01b0390911603610475576064354211610466576103568461030a8484611570565b94600160ff19600e541617600e556040519086602083015234604083015260608201526060815261033c608082611526565b604051809381926348c8949160e01b8352600483016114e2565b0381837f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af190811561045b5785916103db575b50602081519181808201938492010103126103d7576103d1936103cb936103c592519360ff19600e5416600e556118ba565b34611519565b33611b50565b80805580f35b5f80fd5b9050843d8082843e6103ed8184611526565b8201916020818403126104575780519067ffffffffffffffff8211610453570182601f820112156104575780516104238161175a565b936104316040519586611526565b81855260208284010111610453578060208093018386015e830101525f610393565b8280fd5b5080fd5b6040513d87823e3d90fd5b633c36db5f60e01b8452600484fd5b6282b42960e81b8452600484fd5b90506020813d6020116104b9575b8161049e60209383611526565b810103126104b5576104af9061155c565b5f6102e1565b8480fd5b3d9150610491565b63558a1e0360e11b8452600484fd5b8380fd5b50346101cd57806003193601126101cd576020600a54604051908152f35b50346101cd57806003193601126101cd576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b50346101cd57806003193601126101cd5760405163d89135cd60e01b8152906020826004817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156105d357906105a0575b602090604051908152f35b506020813d6020116105cb575b816105ba60209383611526565b810103126103d75760209051610595565b3d91506105ad565b604051903d90823e3d90fd5b50346101cd5760203660031901126101cd5760206101fd6105fe6114d2565b6116fa565b50346101cd57806003193601126101cd576020600354604051908152f35b50346101cd57806003193601126101cd5761063a611a49565b80f35b50806003193601126101cd57337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316148015906106a1575b6106935761068d34600354611519565b60035580f35b6282b42960e81b8152600490fd5b50600354341161067d565b50346101cd5760203660031901126101cd5760206101fd600435611635565b50346101cd57806003193601126101cd576020600154604051908152f35b50346101cd5760203660031901126101cd5760043567ffffffffffffffff8111610457573660238201121561045757806004013567ffffffffffffffff8111610453578101366024820111610453577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690338214801590610bff575b61047557606090839003126104535760648201356001600160a01b03811692602481013592918490036104b55760405163182148ef60e01b815260a0816004817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa908115610bf4578691610b3a575b50604051916060830183811067ffffffffffffffff821117610b265760409081526001845260208085018781528583019889528251633cf3645360e21b815285516001600160a01b0390811660048301528684018051821660248401529487015162ffffff166044830152606087015160020b60648301526080870151811660848301529651151560a4820152905160c4820152975190941660e488015261012061010488015261012487018890529286610144818a885af1958615610b1b578796610ae3575b50608086901d600f0b600160ff1b8114610acf57870395600f0b851480159190610ac1575b50610ab25751859291906001600160a01b0316823b156104d05760405190632961046560e21b82526004820152838160248183875af1908115610a5f578491610a9d575b5050604051630476982d60e21b815260208160048189875af18015610a5f57610a6a575b50516040516303fd2a4560e01b815291906001600160a01b0390811690602090849060049082907f0000000000000000000000000000000000000000000000000000000000000000165afa928315610a5f578493610a23575b50813b156104d057836064926040519687958694630b0d9c0960e01b8652600486015260018060a01b0316602485015260448401525af18015610a1857610a03575b6109ff82604051906020820152602081526109f3604082611526565b604051918291826114e2565b0390f35b610a0e838092611526565b61045757816109d7565b6040513d85823e3d90fd5b9092506020813d602011610a57575b81610a3f60209383611526565b810103126104d057610a509061155c565b915f610995565b3d9150610a32565b6040513d86823e3d90fd5b92506020833d602011610a95575b81610a8560209383611526565b810103126103d75785925161093c565b3d9150610a78565b81610aa791611526565b61045357825f610918565b633c36db5f60e01b8652600486fd5b60449150013585115f6108d4565b634e487b7160e01b88526011600452602488fd5b9095506020813d602011610b13575b81610aff60209383611526565b81010312610b0f5751945f6108af565b8680fd5b3d9150610af2565b6040513d89823e3d90fd5b634e487b7160e01b88526041600452602488fd5b905060a0813d60a011610bec575b81610b5560a09383611526565b81010312610be8576040519060a0820182811067ffffffffffffffff821117610b2657604052610b848161155c565b8252610b926020820161155c565b6020830152604081015162ffffff81168103610be45760408301526060810151908160020b8203610be4576060830191909152608001516001600160a01b0381168103610b0f5760808201525f6107e8565b8780fd5b8580fd5b3d9150610b48565b6040513d88823e3d90fd5b5060ff600e54161561076e565b50346101cd5760203660031901126101cd5760206101fd610c2b6114d2565b6115e2565b50346103d75760203660031901126103d7576004355f54610fa35760015f556040516331a9108f60e11b8152600481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169190602081602481865afa908115610f16575f91610f69575b506001600160a01b03163314801590610f52575b610f4457805f52600660205260405f2054620151808101809111610f30574210610f2157600354610ea7575b610cee611a49565b82610cf882611635565b92828252600560205260ff604083205416610d1d610d15826115e2565b600154611519565b6001558252600460205260408220610d3581546115d6565b905582825260056020526040822060ff19815416905582825260076020528160408120558282526008602052816040812055828252600660205281604081205560015415610e9a575b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690813b1561045357604051634064a0cf60e11b815260048101859052838160248183875af1908115610a5f578491610e85575b5050803b1561045357604051632142170760e11b81523360048201526001600160a01b039290921660248301526044820184905282908290606490829084905af18015610e7a57610e65575b5050610e338233611b50565b6040519182527f0808b45a422e0acd47a625c74fff3eb8d6d4dd063e0845deb1e57581c27b32f560203393a380805580f35b81610e6f91611526565b61045357825f610e27565b6040513d84823e3d90fd5b81610e8f91611526565b61045357825f610ddb565b610ea2611ab4565b610d7e565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316803b156103d7575f8091600460405180948193633a047bb360e01b83525af18015610f1657610f01575b50610ce6565b610f0e9193505f90611526565b5f915f610efb565b6040513d5f823e3d90fd5b6303cb96db60e21b5f5260045ffd5b634e487b7160e01b5f52601160045260245ffd5b6282b42960e81b5f5260045ffd5b50805f52600560205260ff60405f20541615610cba565b90506020813d602011610f9b575b81610f8460209383611526565b810103126103d757610f959061155c565b5f610ca6565b3d9150610f77565b63558a1e0360e11b5f5260045ffd5b346103d7575f3660031901126103d7576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346103d7575f3660031901126103d7576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346103d7575f3660031901126103d7576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346103d75760403660031901126103d75760206101fd61109c6114c2565b600435611570565b346103d75760203660031901126103d75760ff6110bf6114d2565b165f526004602052602060405f2054604051908152f35b346103d7575f3660031901126103d7576020600b54604051908152f35b346103d7575f3660031901126103d7576020600254604051908152f35b611119366114ac565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03161480159061115c575b610f445761115a91611776565b005b50611167818361150c565b34141561114d565b346103d7575f3660031901126103d757602060405162278d008152f35b346103d75760403660031901126103d7576004356111a86114c2565b5f54610fa35760015f556040516331a9108f60e11b8152600481018390526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa908115610f16575f91611353575b50336001600160a01b0390911603610f44576112228183611570565b6040516303fd2a4560e01b81529091907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316602082600481845afa8015610f165784925f9161130e575b506040516323b872dd60e01b81523360048201526001600160a01b03909116602482015260448101929092526020908290815f81606481015b03925af1908115610f16575f916112d3575b50156103d7576112ce926118ba565b5f8055005b90506020813d602011611306575b816112ee60209383611526565b810103126103d7575180151581036103d757846112bf565b3d91506112e1565b9250506020823d60201161134b575b8161132a60209383611526565b810103126103d757836020916113426112ad9461155c565b91935091611274565b3d915061131d565b90506020813d602011611385575b8161136e60209383611526565b810103126103d75761137f9061155c565b83611206565b3d9150611361565b346103d75760203660031901126103d7576004355f526006602052602060405f2054604051908152f35b346103d7575f3660031901126103d7576020604051620151808152f35b346103d75760203660031901126103d7576004355f526007602052602060405f2054604051908152f35b346103d7575f3660031901126103d75760206101fd60095461141e611858565b90611519565b346103d757611432366114ac565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03163303610f44578161147b6114738361115a9561150c565b60035461150c565b600355611776565b346103d75760203660031901126103d7576020906004355f526005825260ff60405f2054168152f35b60409060031901126103d7576004359060243590565b6024359060ff821682036103d757565b6004359060ff821682036103d757565b602060409281835280519182918282860152018484015e5f828201840152601f01601f1916010190565b91908201809211610f3057565b91908203918211610f3057565b90601f8019910116810190811067ffffffffffffffff82111761154857604052565b634e487b7160e01b5f52604160045260245ffd5b51906001600160a01b03821682036103d757565b805f52600560205260ff60405f20541660ff8316908111908115916115cb575b506115bc576115a16115b9926116fa565b905f52600560205261141e60ff60405f2054166116fa565b90565b63d1459f7960e01b5f5260045ffd5b60039150115f611590565b8015610f30575f190190565b60ff16806115ef57505f90565b5f190160ff8111610f305760ff600191161b90565b81810292918115918404141715610f3057565b8115611621570490565b634e487b7160e01b5f52601260045260245ffd5b600254600154806116a1575b508161168a61169d92676765c793fa10079d601b1b945f52600860205261168460405f205491845f52600560205261167f60ff60405f2054166115e2565b611604565b9061150c565b905f52600760205260405f205490611519565b0490565b916116aa611858565b676765c793fa10079d601b1b810290808204676765c793fa10079d601b1b1490151715610f30576116f161169d93611684676765c793fa10079d601b1b9661168a94611617565b92505091611641565b60ff166001811461174b576002811461173c576003811461172d57156117295763d1459f7960e01b5f5260045ffd5b5f90565b506954b40b1f852bda00000090565b50691fc3842bd1f071c0000090565b50690a968163f0a57b40000090565b67ffffffffffffffff811161154857601f01601f191660200190565b9061177f611a49565b600154806117d3575081816117c26117ba6040947f61cb44cbea389abb97c617c7d16a62235c51f27da3406d3ec3c9ac87c0d0c8269661150c565b60095461150c565b6009555b82519182526020820152a1565b91676765c793fa10079d601b1b810291818304676765c793fa10079d601b1b1482151715610f305761183361182b7f61cb44cbea389abb97c617c7d16a62235c51f27da3406d3ec3c9ac87c0d0c82695604095611617565b60025461150c565b60025580156117c6576118488160095461150c565b600955611853611ab4565b6117c6565b6001541580156118b0575b61172957600b548042105f146118a057506115b962278d00611896425b611890600c5491600a5490611519565b90611604565b04600d5490611519565b62278d006118966115b992611880565b50600b5415611863565b90916118c4611a49565b815f52600560205260ff60405f2054166118dd816115e2565b6118ff6118ec60025483611604565b855f52600760205260405f205490611519565b845f52600860205261191660405f2091825461150c565b90556119316119286001549283611519565b611684876115e2565b6001558115908115611a2c575b60ff861695865f52600460205260405f20908154905f198214610f305761198c92600161198393019055875f52600560205260405f208960ff198254161790556115e2565b60025490611604565b855f52600760205260405f2055845f5260066020524260405f205515611a1f575b156119e6575060405192835260208301527f4e4f107f0e9557eb4a56fbc0e0697242ee73b7aa9002ceb8c344bdaf2f5d093060403393a3565b92604051938452602084015260408301527f1029612f2d373919141590030d145ff4724ec4f953268cf21bb3ef6379971c2660603393a3565b611a27611ab4565b6119ad565b825f52600460205260405f20611a4281546115d6565b905561193e565b611a51611858565b80158015611a5d575050565b611a6982600d5461150c565b600d55611a7882600954611519565b600955676765c793fa10079d601b1b8202918204676765c793fa10079d601b1b141715610f305761182b611aaf9160015490611617565b600255565b42600a5560095480600c555f600d5580158015611b46575b15611b0f5760607f1e0ab595e482d035bb08b11a96fce569f5eaa9218ba393c03e98379599abb2cc915f5b80600b556040519182524260208301526040820152a1565b62278d004201804211610f30577f1e0ab595e482d035bb08b11a96fce569f5eaa9218ba393c03e98379599abb2cc91606091611af7565b5060015415611acc565b8115611ba1575f80809381935af13d15611b9c573d611b6e8161175a565b90611b7c6040519283611526565b81525f60203d92013e5b15611b8d57565b63cef4eed760e01b5f5260045ffd5b611b86565b505056fea164736f6c634300081a000a","sourceMap":"525:8349:20:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8846:19;525:8349;8846:19;;;525:8349;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;727:25;-1:-1:-1;;;;;525:8349:20;;;;;;;;;;;;;;;;-1:-1:-1;;525:8349:20;;;;2438:22;525:8349;;;;;;;;2450:5;525:8349;;;;;2438:22;:::i;:::-;525:8349;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;525:8349:20;;;;;;;;;;-1:-1:-1;;525:8349:20;;;;;;;;;;;1324:47;525:8349;;;;;;;;;;;-1:-1:-1;525:8349:20;;-1:-1:-1;;525:8349:20;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;525:8349:20;;;;;;;;;;;651:37:17;;525:8349:20;;;;;-1:-1:-1;;;6019:22:20;;525:8349;6019:22;;525:8349;;;;;;;6019:10;-1:-1:-1;;;;;525:8349:20;6019:22;;;;;;;;;;;525:8349;-1:-1:-1;6045:10:20;-1:-1:-1;;;;;525:8349:20;;;6019:36;6015:63;;525:8349;;6092:15;:26;6088:58;;6259:66;6171:28;;;;;:::i;:::-;525:8349;;;;6209:13;525:8349;;;6209:13;525:8349;;;6278:46;;525:8349;6278:46;;525:8349;6295:9;525:8349;;;;;;;;;6278:46;;;525:8349;6278:46;;:::i;:::-;525:8349;;;;;;;;;6259:66;;525:8349;6259:66;;;:::i;:::-;;525:8349;;6259:11;-1:-1:-1;;;;;525:8349:20;6259:66;;;;;;;;;;;525:8349;;;;;6248:89;;;;;;;;;;525:8349;;;;6431:17;525:8349;6431:17;525:8349;6395:4;525:8349;;;;;6209:13;525:8349;;6209:13;525:8349;6395:4;:::i;:::-;6295:9;6431:17;:::i;:::-;6045:10;6431:17;:::i;:::-;525:8349;;;;;;-1:-1:-1;525:8349:20;;6259:66;;;;;;;;;;;;;:::i;:::-;;;525:8349;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;6259:66;;;525:8349;;;;;;;;6259:66;525:8349;;;;;;;;;6088:58;-1:-1:-1;;;6127:19:20;;525:8349;7004:19;6127;6015:63;-1:-1:-1;;;6064:14:20;;525:8349;4838:14;6064;6019:22;;;525:8349;6019:22;;525:8349;6019:22;;;;;;525:8349;6019:22;;;:::i;:::-;;;525:8349;;;;;;;:::i;:::-;6019:22;;;525:8349;;;;6019:22;;;-1:-1:-1;6019:22:20;;651:37:17;-1:-1:-1;;;676:12:17;;525:8349:20;676:12:17;;525:8349:20;;;;;;;;;;;;;;;;;;1406:26;525:8349;;;;;;;;;;;;;;;;;;;;;;798:41;-1:-1:-1;;;;;525:8349:20;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;8846:19:20;;525:8349;8846:19;525:8349;;;8846:5;-1:-1:-1;;;;;525:8349:20;8846:19;;;;;;;;;;525:8349;8846:19;525:8349;;;;;;;8846:19;;;;;;;;;;;;525:8349;8846:19;;;:::i;:::-;;;525:8349;;;;8846:19;525:8349;;8846:19;;;;;-1:-1:-1;8846:19:20;;;525:8349;;;;;;;;;;;;;;;;;-1:-1:-1;;525:8349:20;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;;985:27;525:8349;;;;;;;;;;;;;;;;;;;;3971:61;;:::i;:::-;525:8349;;;;;;;;;;;;5002:10;5016:4;-1:-1:-1;;;;;525:8349:20;5002:18;;;;:46;;525:8349;4998:73;;5081:25;5097:9;5081:25;525:8349;5081:25;:::i;:::-;;525:8349;;;4998:73;-1:-1:-1;;;5057:14:20;;525:8349;;5057:14;5002:46;525:8349;5036:12;525:8349;5024:9;:24;5002:46;;525:8349;;;;;;;-1:-1:-1;;525:8349:20;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;920:26;525:8349;;;;;;;;;;;;;;-1:-1:-1;;525:8349:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6575:11;-1:-1:-1;;;;;525:8349:20;;6553:10;:34;;;;;:45;;525:8349;6549:72;;525:8349;;;;;;;;;;;;-1:-1:-1;;;;;525:8349:20;;;;;;;;;;;;;;;;-1:-1:-1;;;6755:23:20;;;525:8349;;;6763:4;-1:-1:-1;;;;;525:8349:20;6755:23;;;;;;;;;;;525:8349;;;;;;;;;;;;;;;;;;;;;;;;;6831:37;;;525:8349;;;6831:37;;;525:8349;;;;;-1:-1:-1;;;6809:64:20;;525:8349;;-1:-1:-1;;;;;525:8349:20;;;;6809:64;;525:8349;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6809:64;525:8349;;6809:64;;;;;;;;;;;;525:8349;-1:-1:-1;525:8349:20;2052:83:11;;;525:8349:20;;-1:-1:-1;;;525:8349:20;;;;;;;;2241:89:11;6946:31:20;;;;;;:49;;525:8349;6942:81;;;525:8349;;;;;-1:-1:-1;;;;;525:8349:20;7033:31;;;;;525:8349;;;;;;7033:31;;525:8349;7033:31;;525:8349;7033:31;;525:8349;7033:31;;;;;;;;;;;;;;525:8349;-1:-1:-1;;525:8349:20;;-1:-1:-1;;;7074:34:20;;525:8349;;;;7074:34;;;;;;;;;;525:8349;-1:-1:-1;525:8349:20;;;-1:-1:-1;;;7150:12:20;;525:8349;;-1:-1:-1;;;;;525:8349:20;;;;;;;;;;;;7150:5;525:8349;7150:12;;;;;;;;;;;525:8349;7118:51;;;;;;525:8349;;;;;;;;;;;;;7118:51;;525:8349;7118:51;;525:8349;;;;;;;;;;;;;;;7118:51;;;;;;;;525:8349;;;;;7186:17;525:8349;7186:17;;525:8349;;7186:17;;;525:8349;7186:17;;:::i;:::-;525:8349;;;;;;;:::i;:::-;;;;7118:51;;;;;;:::i;:::-;525:8349;;7118:51;;;;525:8349;;;;;;;;;7150:12;;;;525:8349;7150:12;;525:8349;7150:12;;;;;;525:8349;7150:12;;;:::i;:::-;;;525:8349;;;;;;;:::i;:::-;7150:12;;;;;;;-1:-1:-1;7150:12:20;;;525:8349;;;;;;;;;7074:34;;;525:8349;7074:34;;525:8349;7074:34;;;;;;525:8349;7074:34;;;:::i;:::-;;;525:8349;;;;;;;7074:34;;;;;-1:-1:-1;7074:34:20;;7033:31;;;;;:::i;:::-;525:8349;;7033:31;;;;6942:81;-1:-1:-1;;;7004:19:20;;525:8349;7004:19;;6946:49;525:8349;;;;;6981:14;;6946:49;;;525:8349;-1:-1:-1;;;525:8349:20;;;;;;;;6809:64;;;;525:8349;6809:64;;525:8349;6809:64;;;;;;525:8349;6809:64;;;:::i;:::-;;;525:8349;;;;;6809:64;;;;525:8349;;;;6809:64;;;-1:-1:-1;6809:64:20;;;525:8349;;;;;;;;;;-1:-1:-1;;;525:8349:20;;;;;;;;6755:23;;;;;;;;;;;;;;;;;:::i;:::-;;;525:8349;;;;;;;6755:23;525:8349;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;525:8349:20;;;;;;;;;;6755:23;;;525:8349;;;;;;;;6755:23;;;-1:-1:-1;6755:23:20;;;525:8349;;;;;;;;;6553:45;525:8349;;6592:6;525:8349;;6591:7;6553:45;;525:8349;;;;;;;-1:-1:-1;;525:8349:20;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;-1:-1:-1;;525:8349:20;;;;;;;;651:37:17;;525:8349:20;;;;;-1:-1:-1;;;8034:22:20;;525:8349;8034:22;;525:8349;;;8034:10;-1:-1:-1;;;;;525:8349:20;;;;;8034:22;525:8349;;8034:22;;;;;;;525:8349;8034:22;;;525:8349;-1:-1:-1;;;;;;525:8349:20;8060:10;8034:36;;;;:54;;525:8349;8030:81;;525:8349;;;8143:14;525:8349;;;;;;713:8;525:8349;;;;;;;8125:15;:48;8121:69;;8204:12;525:8349;8200:49;;525:8349;8200:49;;:::i;:::-;8299:11;;;;:::i;:::-;525:8349;;;;8332:5;525:8349;;;;;;;;8351:31;8366:16;;;:::i;:::-;525:8349;;8351:31;:::i;:::-;525:8349;;;;;;;;;;8392:21;525:8349;;8392:21;:::i;:::-;525:8349;;;;;8332:5;525:8349;;;;;;;;;;;;;;;8456:10;525:8349;;;;;;;;;;8487:12;525:8349;;;;;;;;;;8143:14;525:8349;;;;;;;;;8552:16;8548:33;;525:8349;8591:7;-1:-1:-1;;;;;525:8349:20;;8591:16;;;;;525:8349;;-1:-1:-1;;;8591:16:20;;525:8349;8591:16;;525:8349;;;8591:16;525:8349;8034:22;525:8349;8591:16;;;;;;;;;;;;;525:8349;8617:61;;;;;;;525:8349;;-1:-1:-1;;;8617:61:20;;8060:10;525:8349;8617:61;;525:8349;-1:-1:-1;;;;;525:8349:20;;;;;;;;;;;;;;;;;;;;;;;;8617:61;;;;;;;;525:8349;8060:10;;8709:6;8060:10;;8709:6;:::i;:::-;525:8349;;;;;8731:30;525:8349;8060:10;8731:30;;525:8349;;;;;8617:61;;;;;:::i;:::-;525:8349;;8617:61;;;;;525:8349;;;;;;;;;8591:16;;;;;:::i;:::-;525:8349;;8591:16;;;;8548:33;;;:::i;:::-;;;8200:49;8231:4;-1:-1:-1;;;;;525:8349:20;8223:26;;;;;525:8349;;;;;;;;;;;;;8223:26;;;;;;;;;;8200:49;;;;8223:26;;;;;525:8349;8223:26;;:::i;:::-;525:8349;8223:26;;;;;525:8349;;;;;;;;;8121:69;8182:8;;;525:8349;8182:8;525:8349;;8182:8;525:8349;;;;;;;;;8034:22;525:8349;;8030:81;4838:14;;;525:8349;8097:14;525:8349;;8097:14;8034:54;525:8349;;;;8074:5;525:8349;;;;;;;;8074:14;8034:54;;:22;;;525:8349;8034:22;;525:8349;8034:22;;;;;;525:8349;8034:22;;;:::i;:::-;;;525:8349;;;;;;;:::i;:::-;8034:22;;;;;;-1:-1:-1;8034:22:20;;651:37:17;676:12;;;525:8349:20;676:12:17;525:8349:20;;676:12:17;525:8349:20;;;;;;-1:-1:-1;;525:8349:20;;;;;;845:29;-1:-1:-1;;;;;525:8349:20;;;;;;;;;;;;-1:-1:-1;;525:8349:20;;;;;;758:34;-1:-1:-1;;;;;525:8349:20;;;;;;;;;;;;-1:-1:-1;;525:8349:20;;;;;;880:34;-1:-1:-1;;;;;525:8349:20;;;;;;;;;;;;-1:-1:-1;;525:8349:20;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;;;-1:-1:-1;;525:8349:20;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;525:8349:20;;;;;1438:24;525:8349;;;;;;;;;;;;;-1:-1:-1;;525:8349:20;;;;;952:27;525:8349;;;;;;;;;;;:::i;:::-;4603:10;4617:4;-1:-1:-1;;;;;525:8349:20;4603:18;;;;:51;;525:8349;4599:78;;4708:7;;;:::i;:::-;525:8349;4603:51;4638:16;;;;;:::i;:::-;4625:9;:29;;4603:51;;525:8349;;;;;;-1:-1:-1;;525:8349:20;;;;;;;664:7;525:8349;;;;;;;;;-1:-1:-1;;525:8349:20;;;;;;;;:::i;:::-;;;651:37:17;;525:8349:20;;;;;-1:-1:-1;;;5616:22:20;;525:8349;5616:22;;525:8349;;;;;;;5616:10;-1:-1:-1;;;;;525:8349:20;5616:22;;;;;;;525:8349;5616:22;;;525:8349;-1:-1:-1;5642:10:20;-1:-1:-1;;;;;525:8349:20;;;5616:36;5612:63;;5700:28;;;;:::i;:::-;525:8349;;-1:-1:-1;;;5777:12:20;;525:8349;;;5746:5;-1:-1:-1;;;;;525:8349:20;;;;;;5777:12;;;;;;;;525:8349;5777:12;;;525:8349;-1:-1:-1;525:8349:20;;-1:-1:-1;;;5746:50:20;;5642:10;525:8349;5746:50;;525:8349;-1:-1:-1;;;;;525:8349:20;;;;;;;;;;;;;;;;;;;;;;;;5746:50;;;;;;;;;;525:8349;5746:50;;;525:8349;;;;;5831:4;;;:::i;:::-;525:8349;;;;5746:50;;;525:8349;5746:50;;525:8349;5746:50;;;;;;525:8349;5746:50;;;:::i;:::-;;;525:8349;;;;;;;;;;;;5746:50;;;;;;-1:-1:-1;5746:50:20;;5777:12;;;;525:8349;5777:12;;525:8349;5777:12;;;;;;525:8349;5777:12;;;:::i;:::-;;;525:8349;;;;;;;;5746:50;525:8349;;:::i;:::-;5777:12;;;;;;;;;-1:-1:-1;5777:12:20;;5616:22;;;525:8349;5616:22;;525:8349;5616:22;;;;;;525:8349;5616:22;;;:::i;:::-;;;525:8349;;;;;;;:::i;:::-;5616:22;;;;;;-1:-1:-1;5616:22:20;;525:8349;;;;;;-1:-1:-1;;525:8349:20;;;;;;;;1115:49;525:8349;;;;;;;;;;;;;;;;;;;-1:-1:-1;;525:8349:20;;;;;;;713:8;525:8349;;;;;;;;;-1:-1:-1;;525:8349:20;;;;;;;;1273:45;525:8349;;;;;;;;;;;;;;;;;;;-1:-1:-1;;525:8349:20;;;;;3701:19;:7;525:8349;3711:9;;:::i;:::-;3701:19;;:::i;525:8349::-;;;;;;;:::i;:::-;4825:4;-1:-1:-1;;;;;525:8349:20;4811:10;:18;4807:45;;4878:16;4862:32;4878:16;;4925:7;4878:16;;:::i;:::-;4862:32;525:8349;4862:32;:::i;:::-;;525:8349;4925:7;:::i;525:8349::-;;;;;;-1:-1:-1;;525:8349:20;;;;;;;;;;1071:38;525:8349;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;525:8349:20;;;;:::o;:::-;;;;;;;;;;:::o;:::-;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;525:8349:20;;;;;-1:-1:-1;525:8349:20;;;;-1:-1:-1;;;;;525:8349:20;;;;;;:::o;2859:232::-;525:8349;-1:-1:-1;525:8349:20;2967:5;525:8349;;;;-1:-1:-1;525:8349:20;;;;;;2955:21;;;;;;:37;;;2859:232;2951:64;;;3032:24;:52;:24;;:::i;:::-;525:8349;-1:-1:-1;525:8349:20;2967:5;525:8349;;3059:25;525:8349;;-1:-1:-1;525:8349:20;;;3059:25;:::i;3032:52::-;2859:232;:::o;2951:64::-;3001:14;;;-1:-1:-1;3001:14:20;;-1:-1:-1;3001:14:20;2955:37;2991:1;2980:12;;;2955:37;;;525:8349;;;;;-1:-1:-1;;525:8349:20;;:::o;2473:118::-;525:8349;;2550:6;525:8349;;2550:34;2555:1;2473:118;:::o;2550:34::-;-1:-1:-1;;525:8349:20;;;;;;;2571:1;525:8349;;;2473:118;:::o;525:8349::-;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;:::o;:::-;;;;;;;;;;;;3380:245;3461:12;525:8349;3487:11;525:8349;3487:16;3483:58;;3380:245;525:8349;;3559:33;:50;525:8349;-1:-1:-1;;;525:8349:20;-1:-1:-1;525:8349:20;3559:12;525:8349;;3578:14;525:8349;-1:-1:-1;525:8349:20;;;;-1:-1:-1;525:8349:20;2450:5;525:8349;;2438:22;525:8349;;-1:-1:-1;525:8349:20;;;2438:22;:::i;:::-;3578:14;:::i;:::-;3559:33;;:::i;:::-;525:8349;-1:-1:-1;525:8349:20;3595:10;525:8349;;;-1:-1:-1;525:8349:20;;3559:50;;:::i;:::-;525:8349;3380:245;:::o;3483:58::-;3510:9;;;:::i;:::-;-1:-1:-1;;;525:8349:20;;;;;;-1:-1:-1;;;525:8349:20;;;;;;;3505:36;3559:50;3510:31;;-1:-1:-1;;;3510:31:20;3559:33;3510:31;;:::i;3505:36::-;3483:58;;;;;;2597:256;525:8349;;2679:1;2674:6;;2670:31;;2720:1;2715:6;;2711:32;;2762:1;2757:6;;2753:32;;2799:6;2795:20;;3001:14;;;525:8349;2832:14;;525:8349;2832:14;2795:20;525:8349;2807:8;:::o;2753:32::-;2765:20;2772:13;2765:20;:::o;2711:32::-;2723:20;2730:13;2723:20;:::o;2670:31::-;2682:19;2689:12;2682:19;:::o;525:8349::-;;;;;;;;-1:-1:-1;;525:8349:20;;;;:::o;5119:409::-;;;;:::i;:::-;5219:11;525:8349;5219:16;;;5262;;;5251:27;5262:16;525:8349;5262:16;5489:32;5262:16;;:::i;:::-;5251:27;525:8349;5251:27;:::i;:::-;;525:8349;5215:260;525:8349;;;;;;;;;5489:32;5119:409::o;5215:260::-;525:8349;-1:-1:-1;;;525:8349:20;;;;;;-1:-1:-1;;;525:8349:20;;;;;;;5309:44;5325:28;5489:32;5325:28;525:8349;5325:28;;:::i;:::-;5309:44;525:8349;5309:44;:::i;:::-;;525:8349;5371:12;5367:98;5215:260;5367:98;5403:18;525:8349;5403:18;525:8349;5403:18;:::i;:::-;;525:8349;5403:18;;:::i;:::-;5215:260;;3097:277;3161:11;525:8349;3161:16;:34;;;;3097:277;3157:48;;3248:9;525:8349;3230:15;;:27;:57;:27;;;:15;3304:63;664:7;3304:34;3230:15;:57;3319:18;3304:11;525:8349;;3326:11;525:8349;3319:18;;:::i;:::-;3304:34;;:::i;:::-;525:8349;3359:8;525:8349;3304:63;;:::i;3230:57::-;664:7;3304:34;:63;3230:57;;;3161:34;525:8349;3181:9;525:8349;3181:14;3161:34;;7216:750;;;;;:::i;:::-;525:8349;-1:-1:-1;525:8349:20;7330:5;525:8349;;;;-1:-1:-1;525:8349:20;;;7369:16;;;:::i;:::-;7415:41;:24;7427:12;525:8349;7415:24;;:::i;:::-;525:8349;-1:-1:-1;525:8349:20;7442:10;525:8349;;;-1:-1:-1;525:8349:20;;7415:41;;:::i;:::-;525:8349;-1:-1:-1;525:8349:20;7395:12;525:8349;;7395:61;525:8349;-1:-1:-1;525:8349:20;;;;7395:61;:::i;:::-;525:8349;;7522:47;:23;7482:11;525:8349;7522:23;;;:::i;:::-;7548:21;;;:::i;7522:47::-;7482:11;525:8349;7583:8;;;;;7579:35;;7216:750;525:8349;;;;;-1:-1:-1;525:8349:20;7626:14;525:8349;;;-1:-1:-1;525:8349:20;;;;;;;;;;;7707:36;525:8349;7482:11;7707:21;525:8349;;;;;-1:-1:-1;525:8349:20;7330:5;525:8349;;;-1:-1:-1;525:8349:20;;;;;;;;;;7707:21;:::i;:::-;7427:12;525:8349;7707:36;;:::i;:::-;525:8349;-1:-1:-1;525:8349:20;7442:10;525:8349;;;-1:-1:-1;525:8349:20;;;-1:-1:-1;525:8349:20;7753:14;525:8349;;7774:15;525:8349;-1:-1:-1;525:8349:20;;7482:16;7799:25;;7216:750;7834:125;;;525:8349;;;;;;;;;;7853:41;525:8349;7867:10;7853:41;;7216:750::o;7834:125::-;525:8349;;;;;;;;;;;;;;7914:45;525:8349;7927:10;7914:45;;7216:750::o;7799:25::-;;;:::i;:::-;;;7579:35;525:8349;-1:-1:-1;525:8349:20;7595:14;525:8349;;;-1:-1:-1;525:8349:20;7593:21;525:8349;;7593:21;:::i;:::-;525:8349;;7579:35;;3733:232;3791:9;;:::i;:::-;3814:11;;;;3810:149;;3733:232;;:::o;3810:149::-;3841:18;525:8349;3841:18;525:8349;3841:18;:::i;:::-;;525:8349;3873:17;525:8349;3873:17;525:8349;3873:17;:::i;:::-;;525:8349;-1:-1:-1;;;525:8349:20;;;;;-1:-1:-1;;;525:8349:20;;;;;3920:28;3904:44;525:8349;3937:11;525:8349;3920:28;;:::i;3904:44::-;;525:8349;3733:232::o;4038:285::-;4091:15;4077:29;525:8349;4130:7;525:8349;;4116:21;525:8349;-1:-1:-1;4147:12:20;525:8349;4181:12;;:32;;;;4038:285;4181:72;;;525:8349;4268:48;4181:72;-1:-1:-1;4181:72:20;525:8349;4169:84;525:8349;;;;;;4091:15;525:8349;;;;;;;;4268:48;4038:285::o;4181:72::-;664:7;4091:15;525:8349;4091:15;;525:8349;;;4268:48;4181:72;525:8349;4181:72;;;:32;525:8349;4197:11;525:8349;4197:16;4181:32;;781:185:17;850:11;;846:24;;860:1;892:26;;;;;;;525:8349:20;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;860:1:17;525:8349:20;;;;;;932:3:17;928:31;;781:185::o;928:31::-;944:15;;;860:1;944:15;;860:1;944:15;525:8349:20;;;846:24:17;863:7;;:::o","linkReferences":{},"immutableReferences":{"3100":[{"start":414,"length":32},{"start":1374,"length":32},{"start":2405,"length":32},{"start":4660,"length":32}],"3103":[{"start":681,"length":32},{"start":3173,"length":32},{"start":4107,"length":32},{"start":4558,"length":32}],"3106":[{"start":859,"length":32},{"start":1288,"length":32},{"start":1850,"length":32}],"3108":[{"start":1612,"length":32},{"start":1968,"length":32},{"start":3753,"length":32},{"start":4039,"length":32},{"start":4380,"length":32},{"start":5172,"length":32}],"3111":[{"start":3456,"length":32},{"start":4175,"length":32}]}}}}}}},"signatures":{"function":[{"signature":"accPerWeight()","signatureHash4":"0x51e42ab5","signatureHash32":"0x51e42ab5e3869d1ef2a1096acf29c3d3999e0e908438ef8f35c88a3184fa88a0"},{"signature":"activate(uint256,uint8)","signatureHash4":"0x4578f5f0","signatureHash32":"0x4578f5f098f027f494bc9879e8fe56fb1015d2cd745120c38c46c30c52573b4a"},{"signature":"activateWithETH(uint256,uint8,uint160,uint256)","signatureHash4":"0xdf242236","signatureHash32":"0xdf242236c87847abeaffa5dabf6f9061383bc7cf96de1244f1d5f2e3cc0c7c6d"},{"signature":"activationCost(uint256,uint8)","signatureHash4":"0x748f8dde","signatureHash32":"0x748f8ddebb33ae4b07bef4d26a722ef921acf2ff889deb035e705dd8ed4c4814"},{"signature":"activePerLevel(uint8)","signatureHash4":"0x6c962a5a","signatureHash32":"0x6c962a5afe9e349f73c3d169138399dde2653cdf5b3f26672b30af5c64dc3291"},{"signature":"auction()","signatureHash4":"0x7d9f6db5","signatureHash32":"0x7d9f6db56ddaaac4c6b7667ba13d73112fe51d42c76723647f14b08863be9977"},{"signature":"backlogLeft()","signatureHash4":"0x13f47411","signatureHash32":"0x13f4741162f2bf4e56be6236c9cc01b326206628f2f13dc4e4109b682af9aef5"},{"signature":"checkpoint()","signatureHash4":"0xc2c4c5c1","signatureHash32":"0xc2c4c5c1224ccf84f77c29ea0c5bd1dfdbc18e3ae9ee8efe526bc0d1165112fe"},{"signature":"collection()","signatureHash4":"0x7de1e536","signatureHash32":"0x7de1e536159a717666455104327908f5769ef558f3040990290562906d9ad086"},{"signature":"creditScaled(uint256)","signatureHash4":"0xe9920962","signatureHash32":"0xe9920962fedd61b0a74e5c12f62f0eb5be5c8097472f599c4f4c679e75af99ed"},{"signature":"cumulativeCost(uint8)","signatureHash4":"0xce955ea5","signatureHash32":"0xce955ea510dcb3d7be9ea6a573a4c641ec6485fac3d99f2c4f6fd23606faedfe"},{"signature":"debtScaled(uint256)","signatureHash4":"0x30c8f01a","signatureHash32":"0x30c8f01a2798c5dd6f2c52fd6a9bce6e0d23aad4b5e0c934f7788c0c6f6d6806"},{"signature":"EXIT_LOCK()","signatureHash4":"0x367174fd","signatureHash32":"0x367174fdf335bc8a45f69983406ab8120e4a87d1dc676ee4d6e558f6e5a3bb56"},{"signature":"exit(uint256)","signatureHash4":"0x7f8661a1","signatureHash32":"0x7f8661a1e8ed5dbb6f5716be261928a0c82e6073836938757fa76dbffe30550d"},{"signature":"fundFeeClaims()","signatureHash4":"0xb7122e16","signatureHash32":"0xb7122e16169bc3d4c789d099b1e75164d4b0a417c9151ff29c85c7dfe2a5dfed"},{"signature":"hook()","signatureHash4":"0x7f5a7c7b","signatureHash32":"0x7f5a7c7bdca9de90f9a6519c8d200a03eeda3484497129351fe5e935bcecff7f"},{"signature":"lastActivation(uint256)","signatureHash4":"0x3e939456","signatureHash32":"0x3e939456575a83312da5c7ade4b902001f50cf4253ac21a724e290c1895ebcec"},{"signature":"level(uint256)","signatureHash4":"0x05c58df2","signatureHash32":"0x05c58df2fbd6367c44667ee19ebe7ca11eb1825759d17d6f77d4a4d85d349ced"},{"signature":"levelWeight(uint8)","signatureHash4":"0x89c68dd9","signatureHash32":"0x89c68dd924b571bc9be00f718ce50b7b2884722da528d34eeb03d6e3dccae409"},{"signature":"pending(uint256)","signatureHash4":"0xaf6e6238","signatureHash32":"0xaf6e6238173e62de0f4df9dde82b5cf1e80a24453d4036793be868429c58756a"},{"signature":"poolManager()","signatureHash4":"0xdc4c90d3","signatureHash32":"0xdc4c90d3c2342c5afe26871a21a4ecf482fcb45ae1ac8294d1dcff7a134352c0"},{"signature":"receiveFeeClaims(uint256,uint256)","signatureHash4":"0x07b37e1c","signatureHash32":"0x07b37e1cdfffbafed63285a724888053eb59af4ad0a0f69aa467ef26a1ef8cab"},{"signature":"receiveFees(uint256,uint256)","signatureHash4":"0x4f348758","signatureHash32":"0x4f348758ad10f4ec7c21e39dff25b3b89daed89bd28fa235539cb2fde852d7fd"},{"signature":"SCALE()","signatureHash4":"0xeced5526","signatureHash32":"0xeced5526e7b96083aec419d88338fdfd4aa3899e1a14a8f0eaa3630ffb5cf01d"},{"signature":"STREAM_DURATION()","signatureHash4":"0x4a8e6b2b","signatureHash32":"0x4a8e6b2b465f94962456e3308f68208c3d3082fd349622e4b46f165c84823c91"},{"signature":"streamEnd()","signatureHash4":"0x54eae3e6","signatureHash32":"0x54eae3e64dd6ecf2c2846a870fbb58542d770d808aa5e60f842569354c70cfaa"},{"signature":"streamStart()","signatureHash4":"0xdc9db7f1","signatureHash32":"0xdc9db7f12c78e7f0bd0a2e3c37fa4c6176cbea0bda6379c9d13760233e24137d"},{"signature":"token()","signatureHash4":"0xfc0c546a","signatureHash32":"0xfc0c546a8dce9d6e9b97c086302918c9106d97a17809f6bcacfe02124763cb39"},{"signature":"totalBurned()","signatureHash4":"0xd89135cd","signatureHash32":"0xd89135cddb3b6c41c0720c8d7275cdd8b5478920e58bcf7bd96e92e3c514ddb2"},{"signature":"totalWeight()","signatureHash4":"0x96c82e57","signatureHash32":"0x96c82e577bcb8022d7412bf86297bd6445ea69305352a736341948876e43ccec"},{"signature":"unfundedFees()","signatureHash4":"0xc3bcd94f","signatureHash32":"0xc3bcd94f98f57526808f21b1e6aff2327a41f0c79164be61536b0ae56332edb9"},{"signature":"unlockCallback(bytes)","signatureHash4":"0x91dd7346","signatureHash32":"0x91dd7346410d7d3e1561ab65859d8ebbee84f666c7eb10ddc6d9424bc35ec2ee"},{"signature":"weight(uint256)","signatureHash4":"0xf8e27f93","signatureHash32":"0xf8e27f9330cf33521826cf51db3e528ddfa8a393e32da82468505dd1ed39ca3e"}],"event":[{"signature":"Activated(uint256,address,uint8,uint256)","signatureHash4":"0x4e4f107f","signatureHash32":"0x4e4f107f0e9557eb4a56fbc0e0697242ee73b7aa9002ceb8c344bdaf2f5d0930"},{"signature":"Exited(uint256,address,uint256)","signatureHash4":"0x0808b45a","signatureHash32":"0x0808b45a422e0acd47a625c74fff3eb8d6d4dd063e0845deb1e57581c27b32f5"},{"signature":"RewardsReceived(uint256,uint256)","signatureHash4":"0x61cb44cb","signatureHash32":"0x61cb44cbea389abb97c617c7d16a62235c51f27da3406d3ec3c9ac87c0d0c826"},{"signature":"StreamScheduled(uint256,uint256,uint256)","signatureHash4":"0x1e0ab595","signatureHash32":"0x1e0ab595e482d035bb08b11a96fce569f5eaa9218ba393c03e98379599abb2cc"},{"signature":"Upgraded(uint256,address,uint8,uint8,uint256)","signatureHash4":"0x1029612f","signatureHash32":"0x1029612f2d373919141590030d145ff4724ec4f953268cf21bb3ef6379971c26"}],"error":[{"signature":"ETHSendFailed()","signatureHash4":"0xcef4eed7","signatureHash32":"0xcef4eed72b76dbbbde6716822fbf6660adc586ddf12b5f9f5581270bfbb33f82"},{"signature":"InvalidLevel()","signatureHash4":"0xd1459f79","signatureHash32":"0xd1459f79c1a6d4223f650efb8eb92504e602bad93b602554c20949b23552785c"},{"signature":"Locked()","signatureHash4":"0x0f2e5b6c","signatureHash32":"0x0f2e5b6c72c6a4491efd919a9f9a409f324ef0708c11ee57d410c2cb06c0992b"},{"signature":"Reentrancy()","signatureHash4":"0xab143c06","signatureHash32":"0xab143c06c9772d69bbbc9f2fe74acd02f810e93b099f3d1dac8448ac9ae35991"},{"signature":"SlippageOrExpired()","signatureHash4":"0x3c36db5f","signatureHash32":"0x3c36db5f5a82b6befa2a981bd3404fbe2a3788cb9456bff16ae596ade38e965f"},{"signature":"Unauthorized()","signatureHash4":"0x82b42900","signatureHash32":"0x82b4290015f7ec7256ca2a6247d3c2a89c4865c0e791456df195f40ad0a81367"}]},"proxyResolution":{"isProxy":false,"proxyType":null,"implementations":[]},"match":"match","chainId":"1","address":"0xd450ea80aeC46B8bFfdf0C4F44d3964489B613f2"}