{"matchId":"57819771","creationMatch":"exact_match","runtimeMatch":"exact_match","verifiedAt":"2026-10-31T11:46:47Z","creationBytecode":{"onchainBytecode":"0x610100604052348015610010575f80fd5b50604051611c7e380380611c7e83398101604081905261002f91610228565b826001600160a01b038116610062575f604051631e4fbdf760e01b8152600401610059919061028c565b60405180910390fd5b61006b816101a2565b5060016002556001600160a01b0386163b5f0361009d5785604051633b00592160e21b8152600401610059919061028c565b846001600160a01b03163b5f036100c95784604051633b00592160e21b8152600401610059919061028c565b836001600160a01b03163b5f036100f55783604051633b00592160e21b8152600401610059919061028c565b6101f482111561011b576040516303dc98a160e51b815260048101839052602401610059565b805f0361013b57604051635177028760e11b815260040160405180910390fd5b6001600160a01b0386811660805285811660a052841660c05260e08190526003829055604080515f8152602081018490527f5ec5620e288c4be955ccb6cfb3d55431a8fed5c4c96ffacc4b9506360695f64e910160405180910390a15050505050506102a0565b600180546001600160a01b03191690556101bb816101be565b50565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b0381168114610223575f80fd5b919050565b5f805f805f8060c0878903121561023d575f80fd5b6102468761020d565b95506102546020880161020d565b94506102626040880161020d565b93506102706060880161020d565b608088015160a090980151969995985093969395939492505050565b6001600160a01b0391909116815260200190565b60805160a05160c05160e0516119266103585f395f81816101030152818161096401528181610c510152610c9901525f818161030e01528181610fe10152818161101c01526110ac01525f81816102280152818161033c015281816104e401528181610670015281816109c601528181610b4c01526111ef01525f818161020101528181610e3d01528181610ec001528181610f0101528181610fbf01528181611088015281816110ea01526111b101526119265ff3fe608060405234801561000f575f80fd5b50600436106100fa575f3560e01c80630cbf54c8146100fe578063150b7a0214610138578063249d39e91461016457806324a9d8531461016d57806340e58ee51461017657806350fd73671461018b578063715018a61461019e57806372c27b62146101a657806379ba5097146101b95780637a3c4c17146101c15780638da5cb5b146101d457806391e078bb146101e9578063c98a295b146101fc578063d39a59c514610223578063d55be8c61461024a578063d6febde814610253578063de74e57b14610266578063e30c3978146102ee578063f2fde38b146102f6578063fbfa77cf14610309575b5f80fd5b6101257f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020015b60405180910390f35b61014b61014636600461169e565b610330565b6040516001600160e01b0319909116815260200161012f565b61012561271081565b61012560035481565b61018961018436600461177c565b6103e4565b005b610189610199366004611793565b610558565b6101896106e4565b6101896101b436600461177c565b6106f7565b61018961077a565b6101256101cf36600461177c565b6107b6565b6101dc610847565b60405161012f91906117b3565b6101896101f73660046117c7565b610855565b6101dc7f000000000000000000000000000000000000000000000000000000000000000081565b6101dc7f000000000000000000000000000000000000000000000000000000000000000081565b6101256101f481565b610189610261366004611793565b610a3b565b6102b561027436600461177c565b600460208190525f91825260409091208054600182015460028301546003840154948401546005909401546001600160a01b03909316949193909260ff1686565b604080516001600160a01b03909716875260208701959095529385019290925260608401526080830152151560a082015260c00161012f565b6101dc610a57565b6101896103043660046117f0565b610a66565b6101dc7f000000000000000000000000000000000000000000000000000000000000000081565b5f336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614158061037257506001600160a01b0385163014155b8061037f57506002805414155b8061039157506001600160a01b038416155b806103b557505f838152600460205260409020546001600160a01b03858116911614155b156103d3576040516328b05d3b60e01b815260040160405180910390fd5b50630a85bd0160e11b949350505050565b6103ec610acc565b5f818152600460205260409020546001600160a01b0316806104295760405163068bb67560e51b8152600481018390526024015b60405180910390fd5b6001600160a01b0381163314610455576040516314fcceef60e31b815260048101839052602401610420565b5f82815260046020819052604080832080546001600160a01b03191681556001810184905560028101849055600381018490559182018390556005909101805460ff19169055516001600160a01b0383169184917f26deca31ff8139a06c52453ce8985d34f7648a6d9af1d283c4063d052c355a0f9190a3604051632142170760e11b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342842e0e9061051d9030908590879060040161180b565b5f604051808303815f87803b158015610534575f80fd5b505af1158015610546573d5f803e3d5ffd5b50505050506105556001600255565b50565b610560610acc565b805f0361057f5760405162bfc92160e01b815260040160405180910390fd5b61058882610af4565b6040805160c081018252338082526020808301858152838501868152426060860190815260038054608088019081525f60a089018181528c8252600497889052908a9020985189546001600160a01b0319166001600160a01b039091161789559451600189015592516002880155905186820155905192850192909255516005909301805460ff19169315159390931790925590549151909184917f98868c46d49b200d82c273c9f28d73265826ca6567690262736450563dfff64c916106519186919061182f565b60405180910390a3604051632142170760e11b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342842e0e906106a99033903090879060040161180b565b5f604051808303815f87803b1580156106c0575f80fd5b505af11580156106d2573d5f803e3d5ffd5b505050506106e06001600255565b5050565b6106ec610bdf565b6106f55f610c11565b565b6106ff610bdf565b610707610acc565b6101f481111561072d576040516303dc98a160e51b815260048101829052602401610420565b60038054908290556040517f5ec5620e288c4be955ccb6cfb3d55431a8fed5c4c96ffacc4b9506360695f64e90610767908390859061182f565b60405180910390a1506105556001600255565b3380610784610a57565b6001600160a01b0316146107ad578060405163118cdaa760e01b815260040161042091906117b3565b61055581610c11565b5f818152600460208181526040808420815160c08101835281546001600160a01b03168082526001830154948201949094526002820154928101929092526003810154606083015292830154608082015260059092015460ff16151560a08301526108375760405163068bb67560e51b815260048101849052602401610420565b61084081610c2a565b9392505050565b5f546001600160a01b031690565b61085d610acc565b80158061086a5750808211155b1561088c5781816040516325b13ee760e11b815260040161042092919061182f565b61089583610af4565b6040805160c08101825233808252602080830186815283850186815242606086018181526003805460808901908152600160a08a018181525f8f81526004998a90528c90209a518b546001600160a01b03919091166001600160a01b0319909116178b559651908a01559351600289015590518782015591519386019390935590516005909401805494151560ff199095169490941790935591549251909286927f277bb19dead7c84114d4e92878fe32cbcd6d375c81b8f8da1ec32d5ae78267a0926109a7928892889290917f000000000000000000000000000000000000000000000000000000000000000091948552602085019390935260408401919091526060830152608082015260a00190565b60405180910390a3604051632142170760e11b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342842e0e906109ff9033903090889060040161180b565b5f604051808303815f87803b158015610a16575f80fd5b505af1158015610a28573d5f803e3d5ffd5b50505050610a366001600255565b505050565b610a43610acc565b610a4d8282610ccc565b6106e06001600255565b6001546001600160a01b031690565b610a6e610bdf565b600180546001600160a01b0319166001600160a01b038316908117909155610a94610847565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b6002805403610aee57604051633ee5aeb560e01b815260040160405180910390fd5b60028055565b5f818152600460205260409020546001600160a01b031615610b2c57604051637fbcdff960e01b815260048101829052602401610420565b6040516331a9108f60e11b81526004810182905233906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690636352211e90602401602060405180830381865afa158015610b91573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb5919061183d565b6001600160a01b03161461055557604051630e35d34560e11b815260048101829052602401610420565b33610be8610847565b6001600160a01b0316146106f5573360405163118cdaa760e01b815260040161042091906117b3565b600180546001600160a01b03191690556105558161125e565b5f8160a00151610c3c57506020015190565b5f826060015142610c4d9190611858565b90507f00000000000000000000000000000000000000000000000000000000000000008110610c7f5750506040015190565b610cbd83604001518460200151610c969190611858565b827f00000000000000000000000000000000000000000000000000000000000000006112ad565b83602001516108409190611858565b5f82815260046020818152604092839020835160c08101855281546001600160a01b03168082526001830154938201939093526002820154948101949094526003810154606085015291820154608084015260059091015460ff16151560a0830152610d4e5760405163068bb67560e51b815260048101849052602401610420565b5f610d5882610c2a565b905082811115610d7f57808360405163513c618160e01b815260040161042092919061182f565b5f610d918284608001516127106112ad565b5f86815260046020819052604080832080546001600160a01b031916815560018101849055600281018490556003810184905591820192909255600501805460ff191690558451905191925033916001600160a01b039091169087907fa70b1a854695e7921b122988e216d3a6cd10ed799017c67b1ff231967e6bf56d90610e1c908790879061182f565b60405180910390a46040516370a0823160e01b81525f906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190610e729030906004016117b3565b602060405180830381865afa158015610e8d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eb19190611877565b9050610ee86001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633308661136c565b6040516370a0823160e01b81525f906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190610f369030906004016117b3565b602060405180830381865afa158015610f51573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f759190611877565b905081811080610f8e575083610f8b8383611858565b14155b15610fac5760405163fe3a51d360e01b815260040160405180910390fd5b8215611197576110066001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f0000000000000000000000000000000000000000000000000000000000000000856113cc565b60405163f14faf6f60e01b8152600481018490527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f14faf6f906024015f604051808303815f87803b158015611065575f80fd5b505af1158015611077573d5f803e3d5ffd5b506110d19250506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690507f00000000000000000000000000000000000000000000000000000000000000005f6113cc565b6040516370a0823160e01b81525f906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a082319061111f9030906004016117b3565b602060405180830381865afa15801561113a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061115e9190611877565b9050818111806111775750836111748284611858565b14155b1561119557604051630f8c0f3560e11b815260040160405180910390fd5b505b84516111d8906111a78587611858565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016919061145c565b604051632142170760e11b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342842e0e9061122890309033908c9060040161180b565b5f604051808303815f87803b15801561123f575f80fd5b505af1158015611251573d5f803e3d5ffd5b5050505050505050505050565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f838302815f1985870982811083820303915050805f036112e1578382816112d7576112d761188e565b0492505050610840565b8084116113015760405163227bc15360e01b815260040160405180910390fd5b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b6113c684856001600160a01b03166323b872dd8686866040516024016113949392919061180b565b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050611482565b50505050565b5f836001600160a01b031663095ea7b384846040516024016113ef9291906118a2565b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050905061142884826114da565b6113c65761145284856001600160a01b031663095ea7b3865f6040516024016113949291906118a2565b6113c68482611482565b610a3683846001600160a01b031663a9059cbb85856040516024016113949291906118a2565b5f6114966001600160a01b0384168361157d565b905080515f141580156114ba5750808060200190518101906114b891906118bb565b155b15610a365782604051635274afe760e01b815260040161042091906117b3565b5f805f846001600160a01b0316846040516114f591906118da565b5f604051808303815f865af19150503d805f811461152e576040519150601f19603f3d011682016040523d82523d5f602084013e611533565b606091505b509150915081801561155d57508051158061155d57508080602001905181019061155d91906118bb565b801561157257505f856001600160a01b03163b115b925050505b92915050565b606061084083835f845f80856001600160a01b031684866040516115a191906118da565b5f6040518083038185875af1925050503d805f81146115db576040519150601f19603f3d011682016040523d82523d5f602084013e6115e0565b606091505b50915091506115f08683836115fa565b9695505050505050565b60608261160f5761160a8261164d565b610840565b815115801561162657506001600160a01b0384163b155b156116465783604051639996b31560e01b815260040161042091906117b3565b5080610840565b80511561165d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6001600160a01b0381168114610555575f80fd5b634e487b7160e01b5f52604160045260245ffd5b5f805f80608085870312156116b1575f80fd5b84356116bc81611676565b935060208501356116cc81611676565b92506040850135915060608501356001600160401b038111156116ed575f80fd5b8501601f810187136116fd575f80fd5b80356001600160401b038111156117165761171661168a565b604051601f8201601f19908116603f011681016001600160401b03811182821017156117445761174461168a565b60405281815282820160200189101561175b575f80fd5b816020840160208301375f6020838301015280935050505092959194509250565b5f6020828403121561178c575f80fd5b5035919050565b5f80604083850312156117a4575f80fd5b50508035926020909101359150565b6001600160a01b0391909116815260200190565b5f805f606084860312156117d9575f80fd5b505081359360208301359350604090920135919050565b5f60208284031215611800575f80fd5b813561084081611676565b6001600160a01b039384168152919092166020820152604081019190915260600190565b918252602082015260400190565b5f6020828403121561184d575f80fd5b815161084081611676565b8181038181111561157757634e487b7160e01b5f52601160045260245ffd5b5f60208284031215611887575f80fd5b5051919050565b634e487b7160e01b5f52601260045260245ffd5b6001600160a01b03929092168252602082015260400190565b5f602082840312156118cb575f80fd5b81518015158114610840575f80fd5b5f82518060208501845e5f92019182525091905056fea2646970667358221220ab2fd239680052c54d42fea2d19fee3f7ddf74c987a7757d77122ee807a8b0f564736f6c634300081a00330000000000000000000000005501e1fa81be1c3f49225fa7668da0245d07db60000000000000000000000000cb98349c134ab983da5bfd80527dfe2552bdb70f000000000000000000000000b63abab9019fa0db4a3ab1824c5e5fa7171f1472000000000000000000000000bc8744370bcb6d5abf5de8b4086ecfbb4c5629c300000000000000000000000000000000000000000000000000000000000000fa0000000000000000000000000000000000000000000000000000000000015180","recompiledBytecode":"0x610100604052348015610010575f80fd5b50604051611c7e380380611c7e83398101604081905261002f91610228565b826001600160a01b038116610062575f604051631e4fbdf760e01b8152600401610059919061028c565b60405180910390fd5b61006b816101a2565b5060016002556001600160a01b0386163b5f0361009d5785604051633b00592160e21b8152600401610059919061028c565b846001600160a01b03163b5f036100c95784604051633b00592160e21b8152600401610059919061028c565b836001600160a01b03163b5f036100f55783604051633b00592160e21b8152600401610059919061028c565b6101f482111561011b576040516303dc98a160e51b815260048101839052602401610059565b805f0361013b57604051635177028760e11b815260040160405180910390fd5b6001600160a01b0386811660805285811660a052841660c05260e08190526003829055604080515f8152602081018490527f5ec5620e288c4be955ccb6cfb3d55431a8fed5c4c96ffacc4b9506360695f64e910160405180910390a15050505050506102a0565b600180546001600160a01b03191690556101bb816101be565b50565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b0381168114610223575f80fd5b919050565b5f805f805f8060c0878903121561023d575f80fd5b6102468761020d565b95506102546020880161020d565b94506102626040880161020d565b93506102706060880161020d565b608088015160a090980151969995985093969395939492505050565b6001600160a01b0391909116815260200190565b60805160a05160c05160e0516119266103585f395f81816101030152818161096401528181610c510152610c9901525f818161030e01528181610fe10152818161101c01526110ac01525f81816102280152818161033c015281816104e401528181610670015281816109c601528181610b4c01526111ef01525f818161020101528181610e3d01528181610ec001528181610f0101528181610fbf01528181611088015281816110ea01526111b101526119265ff3fe608060405234801561000f575f80fd5b50600436106100fa575f3560e01c80630cbf54c8146100fe578063150b7a0214610138578063249d39e91461016457806324a9d8531461016d57806340e58ee51461017657806350fd73671461018b578063715018a61461019e57806372c27b62146101a657806379ba5097146101b95780637a3c4c17146101c15780638da5cb5b146101d457806391e078bb146101e9578063c98a295b146101fc578063d39a59c514610223578063d55be8c61461024a578063d6febde814610253578063de74e57b14610266578063e30c3978146102ee578063f2fde38b146102f6578063fbfa77cf14610309575b5f80fd5b6101257f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020015b60405180910390f35b61014b61014636600461169e565b610330565b6040516001600160e01b0319909116815260200161012f565b61012561271081565b61012560035481565b61018961018436600461177c565b6103e4565b005b610189610199366004611793565b610558565b6101896106e4565b6101896101b436600461177c565b6106f7565b61018961077a565b6101256101cf36600461177c565b6107b6565b6101dc610847565b60405161012f91906117b3565b6101896101f73660046117c7565b610855565b6101dc7f000000000000000000000000000000000000000000000000000000000000000081565b6101dc7f000000000000000000000000000000000000000000000000000000000000000081565b6101256101f481565b610189610261366004611793565b610a3b565b6102b561027436600461177c565b600460208190525f91825260409091208054600182015460028301546003840154948401546005909401546001600160a01b03909316949193909260ff1686565b604080516001600160a01b03909716875260208701959095529385019290925260608401526080830152151560a082015260c00161012f565b6101dc610a57565b6101896103043660046117f0565b610a66565b6101dc7f000000000000000000000000000000000000000000000000000000000000000081565b5f336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614158061037257506001600160a01b0385163014155b8061037f57506002805414155b8061039157506001600160a01b038416155b806103b557505f838152600460205260409020546001600160a01b03858116911614155b156103d3576040516328b05d3b60e01b815260040160405180910390fd5b50630a85bd0160e11b949350505050565b6103ec610acc565b5f818152600460205260409020546001600160a01b0316806104295760405163068bb67560e51b8152600481018390526024015b60405180910390fd5b6001600160a01b0381163314610455576040516314fcceef60e31b815260048101839052602401610420565b5f82815260046020819052604080832080546001600160a01b03191681556001810184905560028101849055600381018490559182018390556005909101805460ff19169055516001600160a01b0383169184917f26deca31ff8139a06c52453ce8985d34f7648a6d9af1d283c4063d052c355a0f9190a3604051632142170760e11b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342842e0e9061051d9030908590879060040161180b565b5f604051808303815f87803b158015610534575f80fd5b505af1158015610546573d5f803e3d5ffd5b50505050506105556001600255565b50565b610560610acc565b805f0361057f5760405162bfc92160e01b815260040160405180910390fd5b61058882610af4565b6040805160c081018252338082526020808301858152838501868152426060860190815260038054608088019081525f60a089018181528c8252600497889052908a9020985189546001600160a01b0319166001600160a01b039091161789559451600189015592516002880155905186820155905192850192909255516005909301805460ff19169315159390931790925590549151909184917f98868c46d49b200d82c273c9f28d73265826ca6567690262736450563dfff64c916106519186919061182f565b60405180910390a3604051632142170760e11b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342842e0e906106a99033903090879060040161180b565b5f604051808303815f87803b1580156106c0575f80fd5b505af11580156106d2573d5f803e3d5ffd5b505050506106e06001600255565b5050565b6106ec610bdf565b6106f55f610c11565b565b6106ff610bdf565b610707610acc565b6101f481111561072d576040516303dc98a160e51b815260048101829052602401610420565b60038054908290556040517f5ec5620e288c4be955ccb6cfb3d55431a8fed5c4c96ffacc4b9506360695f64e90610767908390859061182f565b60405180910390a1506105556001600255565b3380610784610a57565b6001600160a01b0316146107ad578060405163118cdaa760e01b815260040161042091906117b3565b61055581610c11565b5f818152600460208181526040808420815160c08101835281546001600160a01b03168082526001830154948201949094526002820154928101929092526003810154606083015292830154608082015260059092015460ff16151560a08301526108375760405163068bb67560e51b815260048101849052602401610420565b61084081610c2a565b9392505050565b5f546001600160a01b031690565b61085d610acc565b80158061086a5750808211155b1561088c5781816040516325b13ee760e11b815260040161042092919061182f565b61089583610af4565b6040805160c08101825233808252602080830186815283850186815242606086018181526003805460808901908152600160a08a018181525f8f81526004998a90528c90209a518b546001600160a01b03919091166001600160a01b0319909116178b559651908a01559351600289015590518782015591519386019390935590516005909401805494151560ff199095169490941790935591549251909286927f277bb19dead7c84114d4e92878fe32cbcd6d375c81b8f8da1ec32d5ae78267a0926109a7928892889290917f000000000000000000000000000000000000000000000000000000000000000091948552602085019390935260408401919091526060830152608082015260a00190565b60405180910390a3604051632142170760e11b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342842e0e906109ff9033903090889060040161180b565b5f604051808303815f87803b158015610a16575f80fd5b505af1158015610a28573d5f803e3d5ffd5b50505050610a366001600255565b505050565b610a43610acc565b610a4d8282610ccc565b6106e06001600255565b6001546001600160a01b031690565b610a6e610bdf565b600180546001600160a01b0319166001600160a01b038316908117909155610a94610847565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b6002805403610aee57604051633ee5aeb560e01b815260040160405180910390fd5b60028055565b5f818152600460205260409020546001600160a01b031615610b2c57604051637fbcdff960e01b815260048101829052602401610420565b6040516331a9108f60e11b81526004810182905233906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690636352211e90602401602060405180830381865afa158015610b91573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb5919061183d565b6001600160a01b03161461055557604051630e35d34560e11b815260048101829052602401610420565b33610be8610847565b6001600160a01b0316146106f5573360405163118cdaa760e01b815260040161042091906117b3565b600180546001600160a01b03191690556105558161125e565b5f8160a00151610c3c57506020015190565b5f826060015142610c4d9190611858565b90507f00000000000000000000000000000000000000000000000000000000000000008110610c7f5750506040015190565b610cbd83604001518460200151610c969190611858565b827f00000000000000000000000000000000000000000000000000000000000000006112ad565b83602001516108409190611858565b5f82815260046020818152604092839020835160c08101855281546001600160a01b03168082526001830154938201939093526002820154948101949094526003810154606085015291820154608084015260059091015460ff16151560a0830152610d4e5760405163068bb67560e51b815260048101849052602401610420565b5f610d5882610c2a565b905082811115610d7f57808360405163513c618160e01b815260040161042092919061182f565b5f610d918284608001516127106112ad565b5f86815260046020819052604080832080546001600160a01b031916815560018101849055600281018490556003810184905591820192909255600501805460ff191690558451905191925033916001600160a01b039091169087907fa70b1a854695e7921b122988e216d3a6cd10ed799017c67b1ff231967e6bf56d90610e1c908790879061182f565b60405180910390a46040516370a0823160e01b81525f906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190610e729030906004016117b3565b602060405180830381865afa158015610e8d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eb19190611877565b9050610ee86001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633308661136c565b6040516370a0823160e01b81525f906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190610f369030906004016117b3565b602060405180830381865afa158015610f51573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f759190611877565b905081811080610f8e575083610f8b8383611858565b14155b15610fac5760405163fe3a51d360e01b815260040160405180910390fd5b8215611197576110066001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f0000000000000000000000000000000000000000000000000000000000000000856113cc565b60405163f14faf6f60e01b8152600481018490527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f14faf6f906024015f604051808303815f87803b158015611065575f80fd5b505af1158015611077573d5f803e3d5ffd5b506110d19250506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690507f00000000000000000000000000000000000000000000000000000000000000005f6113cc565b6040516370a0823160e01b81525f906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a082319061111f9030906004016117b3565b602060405180830381865afa15801561113a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061115e9190611877565b9050818111806111775750836111748284611858565b14155b1561119557604051630f8c0f3560e11b815260040160405180910390fd5b505b84516111d8906111a78587611858565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016919061145c565b604051632142170760e11b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342842e0e9061122890309033908c9060040161180b565b5f604051808303815f87803b15801561123f575f80fd5b505af1158015611251573d5f803e3d5ffd5b5050505050505050505050565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f838302815f1985870982811083820303915050805f036112e1578382816112d7576112d761188e565b0492505050610840565b8084116113015760405163227bc15360e01b815260040160405180910390fd5b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b6113c684856001600160a01b03166323b872dd8686866040516024016113949392919061180b565b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050611482565b50505050565b5f836001600160a01b031663095ea7b384846040516024016113ef9291906118a2565b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050905061142884826114da565b6113c65761145284856001600160a01b031663095ea7b3865f6040516024016113949291906118a2565b6113c68482611482565b610a3683846001600160a01b031663a9059cbb85856040516024016113949291906118a2565b5f6114966001600160a01b0384168361157d565b905080515f141580156114ba5750808060200190518101906114b891906118bb565b155b15610a365782604051635274afe760e01b815260040161042091906117b3565b5f805f846001600160a01b0316846040516114f591906118da565b5f604051808303815f865af19150503d805f811461152e576040519150601f19603f3d011682016040523d82523d5f602084013e611533565b606091505b509150915081801561155d57508051158061155d57508080602001905181019061155d91906118bb565b801561157257505f856001600160a01b03163b115b925050505b92915050565b606061084083835f845f80856001600160a01b031684866040516115a191906118da565b5f6040518083038185875af1925050503d805f81146115db576040519150601f19603f3d011682016040523d82523d5f602084013e6115e0565b606091505b50915091506115f08683836115fa565b9695505050505050565b60608261160f5761160a8261164d565b610840565b815115801561162657506001600160a01b0384163b155b156116465783604051639996b31560e01b815260040161042091906117b3565b5080610840565b80511561165d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6001600160a01b0381168114610555575f80fd5b634e487b7160e01b5f52604160045260245ffd5b5f805f80608085870312156116b1575f80fd5b84356116bc81611676565b935060208501356116cc81611676565b92506040850135915060608501356001600160401b038111156116ed575f80fd5b8501601f810187136116fd575f80fd5b80356001600160401b038111156117165761171661168a565b604051601f8201601f19908116603f011681016001600160401b03811182821017156117445761174461168a565b60405281815282820160200189101561175b575f80fd5b816020840160208301375f6020838301015280935050505092959194509250565b5f6020828403121561178c575f80fd5b5035919050565b5f80604083850312156117a4575f80fd5b50508035926020909101359150565b6001600160a01b0391909116815260200190565b5f805f606084860312156117d9575f80fd5b505081359360208301359350604090920135919050565b5f60208284031215611800575f80fd5b813561084081611676565b6001600160a01b039384168152919092166020820152604081019190915260600190565b918252602082015260400190565b5f6020828403121561184d575f80fd5b815161084081611676565b8181038181111561157757634e487b7160e01b5f52601160045260245ffd5b5f60208284031215611887575f80fd5b5051919050565b634e487b7160e01b5f52601260045260245ffd5b6001600160a01b03929092168252602082015260400190565b5f602082840312156118cb575f80fd5b81518015158114610840575f80fd5b5f82518060208501845e5f92019182525091905056fea2646970667358221220ab2fd239680052c54d42fea2d19fee3f7ddf74c987a7757d77122ee807a8b0f564736f6c634300081a0033","sourceMap":"53338:9089:0:-:0;;;55735:826;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;55939:12;-1:-1:-1;;;;;3897:26:0;;3893:95;;3974:1;3946:31;;-1:-1:-1;;;3946:31:0;;;;;;;;:::i;:::-;;;;;;;;3893:95;3997:32;4016:12;3997:18;:32::i;:::-;-1:-1:-1;9490:1:0;9693:7;:21;-1:-1:-1;;;;;55967:16:0;::::1;;55987:1;55967:21:::0;55963:55:::1;;56013:4;55997:21;;-1:-1:-1::0;;;55997:21:0::1;;;;;;;;:::i;55963:55::-;56032:7;-1:-1:-1::0;;;;;56032:19:0::1;;56055:1;56032:24:::0;56028:61:::1;;56081:7;56065:24;;-1:-1:-1::0;;;56065:24:0::1;;;;;;;;:::i;56028:61::-;56103:6;-1:-1:-1::0;;;;;56103:18:0::1;;56125:1;56103:23:::0;56099:59:::1;;56151:6;56135:23;;-1:-1:-1::0;;;56135:23:0::1;;;;;;;;:::i;56099:59::-;53586:3;56172:13;:27;56168:65;;;56208:25;::::0;-1:-1:-1;;;56208:25:0;;::::1;::::0;::::1;1241::1::0;;;1214:18;;56208:25:0::1;1095:177:1::0;56168:65:0::1;56247:16;56267:1;56247:21:::0;56243:58:::1;;56277:24;;-1:-1:-1::0;;;56277:24:0::1;;;;;;;;;;;56243:58;-1:-1:-1::0;;;;;56311:30:0;;::::1;;::::0;56351:37;;::::1;;::::0;56398:34;::::1;;::::0;56442::::1;::::0;;;56486:6:::1;:22:::0;;;56523:31:::1;::::0;;56537:1:::1;1459:25:1::0;;1515:2;1500:18;;1493:34;;;56523:31:0::1;::::0;1432:18:1;56523:31:0::1;;;;;;;55735:826:::0;;;;;;53338:9089;;7274:153;7363:13;7356:20;;-1:-1:-1;;;;;;7356:20:0;;;7386:34;7411:8;7386:24;:34::i;:::-;7274:153;:::o;5536:187::-;5609:16;5628:6;;-1:-1:-1;;;;;5644:17:0;;;-1:-1:-1;;;;;;5644:17:0;;;;;;5676:40;;5628:6;;;;;;;5676:40;;5609:16;5676:40;5599:124;5536:187;:::o;14:177:1:-;93:13;;-1:-1:-1;;;;;135:31:1;;125:42;;115:70;;181:1;178;171:12;115:70;14:177;;;:::o;196:686::-;311:6;319;327;335;343;351;404:3;392:9;383:7;379:23;375:33;372:53;;;421:1;418;411:12;372:53;444:40;474:9;444:40;:::i;:::-;434:50;;503:49;548:2;537:9;533:18;503:49;:::i;:::-;493:59;;571:49;616:2;605:9;601:18;571:49;:::i;:::-;561:59;;639:49;684:2;673:9;669:18;639:49;:::i;:::-;750:3;735:19;;729:26;845:3;830:19;;;824:26;196:686;;;;-1:-1:-1;196:686:1;;629:59;;729:26;;196:686;-1:-1:-1;;;196:686:1:o;887:203::-;-1:-1:-1;;;;;1051:32:1;;;;1033:51;;1021:2;1006:18;;887:203::o;1277:256::-;53338:9089:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","linkReferences":{},"cborAuxdata":{"1":{"value":"0xa2646970667358221220ab2fd239680052c54d42fea2d19fee3f7ddf74c987a7757d77122ee807a8b0f564736f6c634300081a0033","offset":7241}},"transformations":[{"type":"insert","offset":7294,"reason":"constructorArguments"}],"transformationValues":{"constructorArguments":"0x0000000000000000000000005501e1fa81be1c3f49225fa7668da0245d07db60000000000000000000000000cb98349c134ab983da5bfd80527dfe2552bdb70f000000000000000000000000b63abab9019fa0db4a3ab1824c5e5fa7171f1472000000000000000000000000bc8744370bcb6d5abf5de8b4086ecfbb4c5629c300000000000000000000000000000000000000000000000000000000000000fa0000000000000000000000000000000000000000000000000000000000015180"}},"runtimeBytecode":{"onchainBytecode":"0x608060405234801561000f575f80fd5b50600436106100fa575f3560e01c80630cbf54c8146100fe578063150b7a0214610138578063249d39e91461016457806324a9d8531461016d57806340e58ee51461017657806350fd73671461018b578063715018a61461019e57806372c27b62146101a657806379ba5097146101b95780637a3c4c17146101c15780638da5cb5b146101d457806391e078bb146101e9578063c98a295b146101fc578063d39a59c514610223578063d55be8c61461024a578063d6febde814610253578063de74e57b14610266578063e30c3978146102ee578063f2fde38b146102f6578063fbfa77cf14610309575b5f80fd5b6101257f000000000000000000000000000000000000000000000000000000000001518081565b6040519081526020015b60405180910390f35b61014b61014636600461169e565b610330565b6040516001600160e01b0319909116815260200161012f565b61012561271081565b61012560035481565b61018961018436600461177c565b6103e4565b005b610189610199366004611793565b610558565b6101896106e4565b6101896101b436600461177c565b6106f7565b61018961077a565b6101256101cf36600461177c565b6107b6565b6101dc610847565b60405161012f91906117b3565b6101896101f73660046117c7565b610855565b6101dc7f0000000000000000000000005501e1fa81be1c3f49225fa7668da0245d07db6081565b6101dc7f000000000000000000000000cb98349c134ab983da5bfd80527dfe2552bdb70f81565b6101256101f481565b610189610261366004611793565b610a3b565b6102b561027436600461177c565b600460208190525f91825260409091208054600182015460028301546003840154948401546005909401546001600160a01b03909316949193909260ff1686565b604080516001600160a01b03909716875260208701959095529385019290925260608401526080830152151560a082015260c00161012f565b6101dc610a57565b6101896103043660046117f0565b610a66565b6101dc7f000000000000000000000000b63abab9019fa0db4a3ab1824c5e5fa7171f147281565b5f336001600160a01b037f000000000000000000000000cb98349c134ab983da5bfd80527dfe2552bdb70f1614158061037257506001600160a01b0385163014155b8061037f57506002805414155b8061039157506001600160a01b038416155b806103b557505f838152600460205260409020546001600160a01b03858116911614155b156103d3576040516328b05d3b60e01b815260040160405180910390fd5b50630a85bd0160e11b949350505050565b6103ec610acc565b5f818152600460205260409020546001600160a01b0316806104295760405163068bb67560e51b8152600481018390526024015b60405180910390fd5b6001600160a01b0381163314610455576040516314fcceef60e31b815260048101839052602401610420565b5f82815260046020819052604080832080546001600160a01b03191681556001810184905560028101849055600381018490559182018390556005909101805460ff19169055516001600160a01b0383169184917f26deca31ff8139a06c52453ce8985d34f7648a6d9af1d283c4063d052c355a0f9190a3604051632142170760e11b81526001600160a01b037f000000000000000000000000cb98349c134ab983da5bfd80527dfe2552bdb70f16906342842e0e9061051d9030908590879060040161180b565b5f604051808303815f87803b158015610534575f80fd5b505af1158015610546573d5f803e3d5ffd5b50505050506105556001600255565b50565b610560610acc565b805f0361057f5760405162bfc92160e01b815260040160405180910390fd5b61058882610af4565b6040805160c081018252338082526020808301858152838501868152426060860190815260038054608088019081525f60a089018181528c8252600497889052908a9020985189546001600160a01b0319166001600160a01b039091161789559451600189015592516002880155905186820155905192850192909255516005909301805460ff19169315159390931790925590549151909184917f98868c46d49b200d82c273c9f28d73265826ca6567690262736450563dfff64c916106519186919061182f565b60405180910390a3604051632142170760e11b81526001600160a01b037f000000000000000000000000cb98349c134ab983da5bfd80527dfe2552bdb70f16906342842e0e906106a99033903090879060040161180b565b5f604051808303815f87803b1580156106c0575f80fd5b505af11580156106d2573d5f803e3d5ffd5b505050506106e06001600255565b5050565b6106ec610bdf565b6106f55f610c11565b565b6106ff610bdf565b610707610acc565b6101f481111561072d576040516303dc98a160e51b815260048101829052602401610420565b60038054908290556040517f5ec5620e288c4be955ccb6cfb3d55431a8fed5c4c96ffacc4b9506360695f64e90610767908390859061182f565b60405180910390a1506105556001600255565b3380610784610a57565b6001600160a01b0316146107ad578060405163118cdaa760e01b815260040161042091906117b3565b61055581610c11565b5f818152600460208181526040808420815160c08101835281546001600160a01b03168082526001830154948201949094526002820154928101929092526003810154606083015292830154608082015260059092015460ff16151560a08301526108375760405163068bb67560e51b815260048101849052602401610420565b61084081610c2a565b9392505050565b5f546001600160a01b031690565b61085d610acc565b80158061086a5750808211155b1561088c5781816040516325b13ee760e11b815260040161042092919061182f565b61089583610af4565b6040805160c08101825233808252602080830186815283850186815242606086018181526003805460808901908152600160a08a018181525f8f81526004998a90528c90209a518b546001600160a01b03919091166001600160a01b0319909116178b559651908a01559351600289015590518782015591519386019390935590516005909401805494151560ff199095169490941790935591549251909286927f277bb19dead7c84114d4e92878fe32cbcd6d375c81b8f8da1ec32d5ae78267a0926109a7928892889290917f000000000000000000000000000000000000000000000000000000000001518091948552602085019390935260408401919091526060830152608082015260a00190565b60405180910390a3604051632142170760e11b81526001600160a01b037f000000000000000000000000cb98349c134ab983da5bfd80527dfe2552bdb70f16906342842e0e906109ff9033903090889060040161180b565b5f604051808303815f87803b158015610a16575f80fd5b505af1158015610a28573d5f803e3d5ffd5b50505050610a366001600255565b505050565b610a43610acc565b610a4d8282610ccc565b6106e06001600255565b6001546001600160a01b031690565b610a6e610bdf565b600180546001600160a01b0319166001600160a01b038316908117909155610a94610847565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b6002805403610aee57604051633ee5aeb560e01b815260040160405180910390fd5b60028055565b5f818152600460205260409020546001600160a01b031615610b2c57604051637fbcdff960e01b815260048101829052602401610420565b6040516331a9108f60e11b81526004810182905233906001600160a01b037f000000000000000000000000cb98349c134ab983da5bfd80527dfe2552bdb70f1690636352211e90602401602060405180830381865afa158015610b91573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb5919061183d565b6001600160a01b03161461055557604051630e35d34560e11b815260048101829052602401610420565b33610be8610847565b6001600160a01b0316146106f5573360405163118cdaa760e01b815260040161042091906117b3565b600180546001600160a01b03191690556105558161125e565b5f8160a00151610c3c57506020015190565b5f826060015142610c4d9190611858565b90507f00000000000000000000000000000000000000000000000000000000000151808110610c7f5750506040015190565b610cbd83604001518460200151610c969190611858565b827f00000000000000000000000000000000000000000000000000000000000151806112ad565b83602001516108409190611858565b5f82815260046020818152604092839020835160c08101855281546001600160a01b03168082526001830154938201939093526002820154948101949094526003810154606085015291820154608084015260059091015460ff16151560a0830152610d4e5760405163068bb67560e51b815260048101849052602401610420565b5f610d5882610c2a565b905082811115610d7f57808360405163513c618160e01b815260040161042092919061182f565b5f610d918284608001516127106112ad565b5f86815260046020819052604080832080546001600160a01b031916815560018101849055600281018490556003810184905591820192909255600501805460ff191690558451905191925033916001600160a01b039091169087907fa70b1a854695e7921b122988e216d3a6cd10ed799017c67b1ff231967e6bf56d90610e1c908790879061182f565b60405180910390a46040516370a0823160e01b81525f906001600160a01b037f0000000000000000000000005501e1fa81be1c3f49225fa7668da0245d07db6016906370a0823190610e729030906004016117b3565b602060405180830381865afa158015610e8d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eb19190611877565b9050610ee86001600160a01b037f0000000000000000000000005501e1fa81be1c3f49225fa7668da0245d07db601633308661136c565b6040516370a0823160e01b81525f906001600160a01b037f0000000000000000000000005501e1fa81be1c3f49225fa7668da0245d07db6016906370a0823190610f369030906004016117b3565b602060405180830381865afa158015610f51573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f759190611877565b905081811080610f8e575083610f8b8383611858565b14155b15610fac5760405163fe3a51d360e01b815260040160405180910390fd5b8215611197576110066001600160a01b037f0000000000000000000000005501e1fa81be1c3f49225fa7668da0245d07db60167f000000000000000000000000b63abab9019fa0db4a3ab1824c5e5fa7171f1472856113cc565b60405163f14faf6f60e01b8152600481018490527f000000000000000000000000b63abab9019fa0db4a3ab1824c5e5fa7171f14726001600160a01b03169063f14faf6f906024015f604051808303815f87803b158015611065575f80fd5b505af1158015611077573d5f803e3d5ffd5b506110d19250506001600160a01b037f0000000000000000000000005501e1fa81be1c3f49225fa7668da0245d07db601690507f000000000000000000000000b63abab9019fa0db4a3ab1824c5e5fa7171f14725f6113cc565b6040516370a0823160e01b81525f906001600160a01b037f0000000000000000000000005501e1fa81be1c3f49225fa7668da0245d07db6016906370a082319061111f9030906004016117b3565b602060405180830381865afa15801561113a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061115e9190611877565b9050818111806111775750836111748284611858565b14155b1561119557604051630f8c0f3560e11b815260040160405180910390fd5b505b84516111d8906111a78587611858565b6001600160a01b037f0000000000000000000000005501e1fa81be1c3f49225fa7668da0245d07db6016919061145c565b604051632142170760e11b81526001600160a01b037f000000000000000000000000cb98349c134ab983da5bfd80527dfe2552bdb70f16906342842e0e9061122890309033908c9060040161180b565b5f604051808303815f87803b15801561123f575f80fd5b505af1158015611251573d5f803e3d5ffd5b5050505050505050505050565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f838302815f1985870982811083820303915050805f036112e1578382816112d7576112d761188e565b0492505050610840565b8084116113015760405163227bc15360e01b815260040160405180910390fd5b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b6113c684856001600160a01b03166323b872dd8686866040516024016113949392919061180b565b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050611482565b50505050565b5f836001600160a01b031663095ea7b384846040516024016113ef9291906118a2565b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050905061142884826114da565b6113c65761145284856001600160a01b031663095ea7b3865f6040516024016113949291906118a2565b6113c68482611482565b610a3683846001600160a01b031663a9059cbb85856040516024016113949291906118a2565b5f6114966001600160a01b0384168361157d565b905080515f141580156114ba5750808060200190518101906114b891906118bb565b155b15610a365782604051635274afe760e01b815260040161042091906117b3565b5f805f846001600160a01b0316846040516114f591906118da565b5f604051808303815f865af19150503d805f811461152e576040519150601f19603f3d011682016040523d82523d5f602084013e611533565b606091505b509150915081801561155d57508051158061155d57508080602001905181019061155d91906118bb565b801561157257505f856001600160a01b03163b115b925050505b92915050565b606061084083835f845f80856001600160a01b031684866040516115a191906118da565b5f6040518083038185875af1925050503d805f81146115db576040519150601f19603f3d011682016040523d82523d5f602084013e6115e0565b606091505b50915091506115f08683836115fa565b9695505050505050565b60608261160f5761160a8261164d565b610840565b815115801561162657506001600160a01b0384163b155b156116465783604051639996b31560e01b815260040161042091906117b3565b5080610840565b80511561165d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6001600160a01b0381168114610555575f80fd5b634e487b7160e01b5f52604160045260245ffd5b5f805f80608085870312156116b1575f80fd5b84356116bc81611676565b935060208501356116cc81611676565b92506040850135915060608501356001600160401b038111156116ed575f80fd5b8501601f810187136116fd575f80fd5b80356001600160401b038111156117165761171661168a565b604051601f8201601f19908116603f011681016001600160401b03811182821017156117445761174461168a565b60405281815282820160200189101561175b575f80fd5b816020840160208301375f6020838301015280935050505092959194509250565b5f6020828403121561178c575f80fd5b5035919050565b5f80604083850312156117a4575f80fd5b50508035926020909101359150565b6001600160a01b0391909116815260200190565b5f805f606084860312156117d9575f80fd5b505081359360208301359350604090920135919050565b5f60208284031215611800575f80fd5b813561084081611676565b6001600160a01b039384168152919092166020820152604081019190915260600190565b918252602082015260400190565b5f6020828403121561184d575f80fd5b815161084081611676565b8181038181111561157757634e487b7160e01b5f52601160045260245ffd5b5f60208284031215611887575f80fd5b5051919050565b634e487b7160e01b5f52601260045260245ffd5b6001600160a01b03929092168252602082015260400190565b5f602082840312156118cb575f80fd5b81518015158114610840575f80fd5b5f82518060208501845e5f92019182525091905056fea2646970667358221220ab2fd239680052c54d42fea2d19fee3f7ddf74c987a7757d77122ee807a8b0f564736f6c634300081a0033","recompiledBytecode":"0x608060405234801561000f575f80fd5b50600436106100fa575f3560e01c80630cbf54c8146100fe578063150b7a0214610138578063249d39e91461016457806324a9d8531461016d57806340e58ee51461017657806350fd73671461018b578063715018a61461019e57806372c27b62146101a657806379ba5097146101b95780637a3c4c17146101c15780638da5cb5b146101d457806391e078bb146101e9578063c98a295b146101fc578063d39a59c514610223578063d55be8c61461024a578063d6febde814610253578063de74e57b14610266578063e30c3978146102ee578063f2fde38b146102f6578063fbfa77cf14610309575b5f80fd5b6101257f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020015b60405180910390f35b61014b61014636600461169e565b610330565b6040516001600160e01b0319909116815260200161012f565b61012561271081565b61012560035481565b61018961018436600461177c565b6103e4565b005b610189610199366004611793565b610558565b6101896106e4565b6101896101b436600461177c565b6106f7565b61018961077a565b6101256101cf36600461177c565b6107b6565b6101dc610847565b60405161012f91906117b3565b6101896101f73660046117c7565b610855565b6101dc7f000000000000000000000000000000000000000000000000000000000000000081565b6101dc7f000000000000000000000000000000000000000000000000000000000000000081565b6101256101f481565b610189610261366004611793565b610a3b565b6102b561027436600461177c565b600460208190525f91825260409091208054600182015460028301546003840154948401546005909401546001600160a01b03909316949193909260ff1686565b604080516001600160a01b03909716875260208701959095529385019290925260608401526080830152151560a082015260c00161012f565b6101dc610a57565b6101896103043660046117f0565b610a66565b6101dc7f000000000000000000000000000000000000000000000000000000000000000081565b5f336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614158061037257506001600160a01b0385163014155b8061037f57506002805414155b8061039157506001600160a01b038416155b806103b557505f838152600460205260409020546001600160a01b03858116911614155b156103d3576040516328b05d3b60e01b815260040160405180910390fd5b50630a85bd0160e11b949350505050565b6103ec610acc565b5f818152600460205260409020546001600160a01b0316806104295760405163068bb67560e51b8152600481018390526024015b60405180910390fd5b6001600160a01b0381163314610455576040516314fcceef60e31b815260048101839052602401610420565b5f82815260046020819052604080832080546001600160a01b03191681556001810184905560028101849055600381018490559182018390556005909101805460ff19169055516001600160a01b0383169184917f26deca31ff8139a06c52453ce8985d34f7648a6d9af1d283c4063d052c355a0f9190a3604051632142170760e11b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342842e0e9061051d9030908590879060040161180b565b5f604051808303815f87803b158015610534575f80fd5b505af1158015610546573d5f803e3d5ffd5b50505050506105556001600255565b50565b610560610acc565b805f0361057f5760405162bfc92160e01b815260040160405180910390fd5b61058882610af4565b6040805160c081018252338082526020808301858152838501868152426060860190815260038054608088019081525f60a089018181528c8252600497889052908a9020985189546001600160a01b0319166001600160a01b039091161789559451600189015592516002880155905186820155905192850192909255516005909301805460ff19169315159390931790925590549151909184917f98868c46d49b200d82c273c9f28d73265826ca6567690262736450563dfff64c916106519186919061182f565b60405180910390a3604051632142170760e11b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342842e0e906106a99033903090879060040161180b565b5f604051808303815f87803b1580156106c0575f80fd5b505af11580156106d2573d5f803e3d5ffd5b505050506106e06001600255565b5050565b6106ec610bdf565b6106f55f610c11565b565b6106ff610bdf565b610707610acc565b6101f481111561072d576040516303dc98a160e51b815260048101829052602401610420565b60038054908290556040517f5ec5620e288c4be955ccb6cfb3d55431a8fed5c4c96ffacc4b9506360695f64e90610767908390859061182f565b60405180910390a1506105556001600255565b3380610784610a57565b6001600160a01b0316146107ad578060405163118cdaa760e01b815260040161042091906117b3565b61055581610c11565b5f818152600460208181526040808420815160c08101835281546001600160a01b03168082526001830154948201949094526002820154928101929092526003810154606083015292830154608082015260059092015460ff16151560a08301526108375760405163068bb67560e51b815260048101849052602401610420565b61084081610c2a565b9392505050565b5f546001600160a01b031690565b61085d610acc565b80158061086a5750808211155b1561088c5781816040516325b13ee760e11b815260040161042092919061182f565b61089583610af4565b6040805160c08101825233808252602080830186815283850186815242606086018181526003805460808901908152600160a08a018181525f8f81526004998a90528c90209a518b546001600160a01b03919091166001600160a01b0319909116178b559651908a01559351600289015590518782015591519386019390935590516005909401805494151560ff199095169490941790935591549251909286927f277bb19dead7c84114d4e92878fe32cbcd6d375c81b8f8da1ec32d5ae78267a0926109a7928892889290917f000000000000000000000000000000000000000000000000000000000000000091948552602085019390935260408401919091526060830152608082015260a00190565b60405180910390a3604051632142170760e11b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342842e0e906109ff9033903090889060040161180b565b5f604051808303815f87803b158015610a16575f80fd5b505af1158015610a28573d5f803e3d5ffd5b50505050610a366001600255565b505050565b610a43610acc565b610a4d8282610ccc565b6106e06001600255565b6001546001600160a01b031690565b610a6e610bdf565b600180546001600160a01b0319166001600160a01b038316908117909155610a94610847565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b6002805403610aee57604051633ee5aeb560e01b815260040160405180910390fd5b60028055565b5f818152600460205260409020546001600160a01b031615610b2c57604051637fbcdff960e01b815260048101829052602401610420565b6040516331a9108f60e11b81526004810182905233906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690636352211e90602401602060405180830381865afa158015610b91573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb5919061183d565b6001600160a01b03161461055557604051630e35d34560e11b815260048101829052602401610420565b33610be8610847565b6001600160a01b0316146106f5573360405163118cdaa760e01b815260040161042091906117b3565b600180546001600160a01b03191690556105558161125e565b5f8160a00151610c3c57506020015190565b5f826060015142610c4d9190611858565b90507f00000000000000000000000000000000000000000000000000000000000000008110610c7f5750506040015190565b610cbd83604001518460200151610c969190611858565b827f00000000000000000000000000000000000000000000000000000000000000006112ad565b83602001516108409190611858565b5f82815260046020818152604092839020835160c08101855281546001600160a01b03168082526001830154938201939093526002820154948101949094526003810154606085015291820154608084015260059091015460ff16151560a0830152610d4e5760405163068bb67560e51b815260048101849052602401610420565b5f610d5882610c2a565b905082811115610d7f57808360405163513c618160e01b815260040161042092919061182f565b5f610d918284608001516127106112ad565b5f86815260046020819052604080832080546001600160a01b031916815560018101849055600281018490556003810184905591820192909255600501805460ff191690558451905191925033916001600160a01b039091169087907fa70b1a854695e7921b122988e216d3a6cd10ed799017c67b1ff231967e6bf56d90610e1c908790879061182f565b60405180910390a46040516370a0823160e01b81525f906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190610e729030906004016117b3565b602060405180830381865afa158015610e8d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eb19190611877565b9050610ee86001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633308661136c565b6040516370a0823160e01b81525f906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190610f369030906004016117b3565b602060405180830381865afa158015610f51573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f759190611877565b905081811080610f8e575083610f8b8383611858565b14155b15610fac5760405163fe3a51d360e01b815260040160405180910390fd5b8215611197576110066001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f0000000000000000000000000000000000000000000000000000000000000000856113cc565b60405163f14faf6f60e01b8152600481018490527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f14faf6f906024015f604051808303815f87803b158015611065575f80fd5b505af1158015611077573d5f803e3d5ffd5b506110d19250506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690507f00000000000000000000000000000000000000000000000000000000000000005f6113cc565b6040516370a0823160e01b81525f906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a082319061111f9030906004016117b3565b602060405180830381865afa15801561113a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061115e9190611877565b9050818111806111775750836111748284611858565b14155b1561119557604051630f8c0f3560e11b815260040160405180910390fd5b505b84516111d8906111a78587611858565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016919061145c565b604051632142170760e11b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342842e0e9061122890309033908c9060040161180b565b5f604051808303815f87803b15801561123f575f80fd5b505af1158015611251573d5f803e3d5ffd5b5050505050505050505050565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f838302815f1985870982811083820303915050805f036112e1578382816112d7576112d761188e565b0492505050610840565b8084116113015760405163227bc15360e01b815260040160405180910390fd5b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b6113c684856001600160a01b03166323b872dd8686866040516024016113949392919061180b565b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050611482565b50505050565b5f836001600160a01b031663095ea7b384846040516024016113ef9291906118a2565b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050905061142884826114da565b6113c65761145284856001600160a01b031663095ea7b3865f6040516024016113949291906118a2565b6113c68482611482565b610a3683846001600160a01b031663a9059cbb85856040516024016113949291906118a2565b5f6114966001600160a01b0384168361157d565b905080515f141580156114ba5750808060200190518101906114b891906118bb565b155b15610a365782604051635274afe760e01b815260040161042091906117b3565b5f805f846001600160a01b0316846040516114f591906118da565b5f604051808303815f865af19150503d805f811461152e576040519150601f19603f3d011682016040523d82523d5f602084013e611533565b606091505b509150915081801561155d57508051158061155d57508080602001905181019061155d91906118bb565b801561157257505f856001600160a01b03163b115b925050505b92915050565b606061084083835f845f80856001600160a01b031684866040516115a191906118da565b5f6040518083038185875af1925050503d805f81146115db576040519150601f19603f3d011682016040523d82523d5f602084013e6115e0565b606091505b50915091506115f08683836115fa565b9695505050505050565b60608261160f5761160a8261164d565b610840565b815115801561162657506001600160a01b0384163b155b156116465783604051639996b31560e01b815260040161042091906117b3565b5080610840565b80511561165d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6001600160a01b0381168114610555575f80fd5b634e487b7160e01b5f52604160045260245ffd5b5f805f80608085870312156116b1575f80fd5b84356116bc81611676565b935060208501356116cc81611676565b92506040850135915060608501356001600160401b038111156116ed575f80fd5b8501601f810187136116fd575f80fd5b80356001600160401b038111156117165761171661168a565b604051601f8201601f19908116603f011681016001600160401b03811182821017156117445761174461168a565b60405281815282820160200189101561175b575f80fd5b816020840160208301375f6020838301015280935050505092959194509250565b5f6020828403121561178c575f80fd5b5035919050565b5f80604083850312156117a4575f80fd5b50508035926020909101359150565b6001600160a01b0391909116815260200190565b5f805f606084860312156117d9575f80fd5b505081359360208301359350604090920135919050565b5f60208284031215611800575f80fd5b813561084081611676565b6001600160a01b039384168152919092166020820152604081019190915260600190565b918252602082015260400190565b5f6020828403121561184d575f80fd5b815161084081611676565b8181038181111561157757634e487b7160e01b5f52601160045260245ffd5b5f60208284031215611887575f80fd5b5051919050565b634e487b7160e01b5f52601260045260245ffd5b6001600160a01b03929092168252602082015260400190565b5f602082840312156118cb575f80fd5b81518015158114610840575f80fd5b5f82518060208501845e5f92019182525091905056fea2646970667358221220ab2fd239680052c54d42fea2d19fee3f7ddf74c987a7757d77122ee807a8b0f564736f6c634300081a0033","sourceMap":"53338:9089:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53737:40;;;;;;;;160:25:1;;;148:2;133:18;53737:40:0;;;;;;;;59699:462;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;;1972:33:1;;;1954:52;;1942:2;1927:18;59699:462:0;1810:202:1;53506:36:0;;53536:6;53506:36;;53783:21;;;;;;58004:375;;;;;;:::i;:::-;;:::i;:::-;;56655;;;;;;:::i;:::-;;:::i;4917:101::-;;;:::i;59172:258::-;;;;;;:::i;:::-;;:::i;7507:229::-;;;:::i;58846:231::-;;;;;;:::i;:::-;;:::i;4262:85::-;;;:::i;:::-;;;;;;;:::i;57373:539::-;;;;;;:::i;:::-;;:::i;53596:39::-;;;;;53641:43;;;;;53548:41;;53586:3;53548:41;;58642:110;;;;;;:::i;:::-;;:::i;54115:51::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;54115:51:0;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4046:32:1;;;4028:51;;4110:2;4095:18;;4088:34;;;;4138:18;;;4131:34;;;;4196:2;4181:18;;4174:34;4239:3;4224:19;;4217:35;4296:14;4289:22;4066:3;4268:19;;4261:51;4015:3;4000:19;54115:51:0;3747:571:1;6620:99:0;;;:::i;6912:178::-;;;;;;:::i;:::-;;:::i;53690:41::-;;;;;59699:462;59850:6;59889:10;-1:-1:-1;;;;;59911:6:0;59889:29;;;;:58;;-1:-1:-1;;;;;;59922:25:0;;59942:4;59922:25;;59889:58;:88;;;-1:-1:-1;9532:1:0;10987:7;;:18;59951:26;59889:88;:126;;;-1:-1:-1;;;;;;59997:18:0;;;59889:126;:162;;;-1:-1:-1;60019:17:0;;;;:8;:17;;;;;:24;-1:-1:-1;;;;;60019:32:0;;;:24;;:32;;59889:162;59872:212;;;60069:15;;-1:-1:-1;;;60069:15:0;;;;;;;;;;;59872:212;-1:-1:-1;;;;59699:462:0;;;;;;:::o;58004:375::-;10131:21;:19;:21::i;:::-;58069:14:::1;58086:17:::0;;;:8:::1;:17;::::0;;;;:24;-1:-1:-1;;;;;58086:24:0::1;::::0;58120:51:::1;;58153:18;::::0;-1:-1:-1;;;58153:18:0;;::::1;::::0;::::1;160:25:1::0;;;133:18;;58153::0::1;;;;;;;;58120:51;-1:-1:-1::0;;;;;58185:20:0;::::1;58195:10;58185:20;58181:51;;58214:18;::::0;-1:-1:-1;;;58214:18:0;;::::1;::::0;::::1;160:25:1::0;;;133:18;;58214::0::1;14:177:1::0;58181:51:0::1;58249:17;::::0;;;:8:::1;:17;::::0;;;;;;;58242:24;;-1:-1:-1;;;;;;58242:24:0::1;::::0;;;;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;58242:24:0::1;::::0;;58281:26;-1:-1:-1;;;;;58281:26:0;::::1;::::0;58258:7;;58281:26:::1;::::0;58249:17;58281:26:::1;58317:55;::::0;-1:-1:-1;;;58317:55:0;;-1:-1:-1;;;;;58317:6:0::1;:23;::::0;::::1;::::0;:55:::1;::::0;58349:4:::1;::::0;58356:6;;58364:7;;58317:55:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;58059:320;10173:20:::0;9490:1;10699:7;:21;10519:208;10173:20;58004:375;:::o;56655:::-;10131:21;:19;:21::i;:::-;56737:5:::1;56746:1;56737:10:::0;56733:37:::1;;56756:14;;-1:-1:-1::0;;;56756:14:0::1;;;;;;;;;;;56733:37;56780:22;56794:7;56780:13;:22::i;:::-;56832:65;::::0;;::::1;::::0;::::1;::::0;;56840:10:::1;56832:65:::0;;;::::1;::::0;;::::1;::::0;;;;;;;;;56866:15:::1;56832:65:::0;;;;;;56883:6:::1;::::0;;56832:65;;;;;;-1:-1:-1;56832:65:0;;;;;;56812:17;;;:8:::1;:17:::0;;;;;;;;:85;;;;-1:-1:-1;;;;;;56812:85:0::1;-1:-1:-1::0;;;;;56812:85:0;;::::1;;::::0;;;;-1:-1:-1;56812:85:0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;;;;::::1;::::0;;;;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;56812:85:0::1;::::0;::::1;;::::0;;;::::1;::::0;;;56947:6;;56912:42;;56840:10;;56812:17;;56912:42:::1;::::0;::::1;::::0;56832:65;;56947:6;56912:42:::1;:::i;:::-;;;;;;;;56964:59;::::0;-1:-1:-1;;;56964:59:0;;-1:-1:-1;;;;;56964:6:0::1;:23;::::0;::::1;::::0;:59:::1;::::0;56988:10:::1;::::0;57008:4:::1;::::0;57015:7;;56964:59:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;10173:20:::0;9490:1;10699:7;:21;10519:208;10173:20;56655:375;;:::o;4917:101::-;4155:13;:11;:13::i;:::-;4981:30:::1;5008:1;4981:18;:30::i;:::-;4917:101::o:0;59172:258::-;4155:13;:11;:13::i;:::-;10131:21:::1;:19;:21::i;:::-;53586:3:::2;59256:9;:23;59252:57;;;59288:21;::::0;-1:-1:-1;;;59288:21:0;;::::2;::::0;::::2;160:25:1::0;;;133:18;;59288:21:0::2;14:177:1::0;59252:57:0::2;59339:6;::::0;;59355:18;;;;59388:35:::2;::::0;::::2;::::0;::::2;::::0;59339:6;;59364:9;;59388:35:::2;:::i;:::-;;;;;;;;59242:188;10173:20:::1;9490:1:::0;10699:7;:21;10519:208;7507:229;2412:10;;7602:14;:12;:14::i;:::-;-1:-1:-1;;;;;7602:24:0;;7598:96;;7676:6;7649:34;;-1:-1:-1;;;7649:34:0;;;;;;;;:::i;7598:96::-;7703:26;7722:6;7703:18;:26::i;58846:231::-;58908:7;58952:17;;;:8;:17;;;;;;;;58927:42;;;;;;;;;-1:-1:-1;;;;;58927:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58979:59;;59020:18;;-1:-1:-1;;;59020:18:0;;;;;160:25:1;;;133:18;;59020::0;14:177:1;58979:59:0;59055:15;59062:7;59055:6;:15::i;:::-;59048:22;58846:231;-1:-1:-1;;;58846:231:0:o;4262:85::-;4308:7;4334:6;-1:-1:-1;;;;;4334:6:0;;4262:85::o;57373:539::-;10131:21;:19;:21::i;:::-;57488:15;;;:43:::1;;;57521:10;57507;:24;;57488:43;57484:100;;;57561:10;57573;57540:44;;-1:-1:-1::0;;;57540:44:0::1;;;;;;;;;:::i;57484:100::-;57594:22;57608:7;57594:13;:22::i;:::-;57646:74;::::0;;::::1;::::0;::::1;::::0;;57654:10:::1;57646:74:::0;;;::::1;::::0;;::::1;::::0;;;;;;;;;57690:15:::1;57646:74:::0;;;;;;57707:6:::1;::::0;;57646:74;;;;;;57715:4:::1;57646:74:::0;;;;;;-1:-1:-1;57626:17:0;;;:8:::1;:17:::0;;;;;;;:94;;;;-1:-1:-1;;;;;57626:94:0;;;::::1;-1:-1:-1::0;;;;;;57626:94:0;;::::1;;::::0;;;;;;::::1;::::0;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;;;;::::1;::::0;;;;;;::::1;::::0;;::::1;::::0;;;::::1;;-1:-1:-1::0;;57626:94:0;;::::1;::::0;;;::::1;::::0;;;57829:6;;57735:101;;57654:10;;57635:7;;57735:101:::1;::::0;::::1;::::0;57666:10;;57678;;57690:15;;57812::::1;::::0;5698:25:1;;;5754:2;5739:18;;5732:34;;;;5797:2;5782:18;;5775:34;;;;5840:2;5825:18;;5818:34;5883:3;5868:19;;5861:35;5685:3;5670:19;;5439:463;57735:101:0::1;;;;;;;;57846:59;::::0;-1:-1:-1;;;57846:59:0;;-1:-1:-1;;;;;57846:6:0::1;:23;::::0;::::1;::::0;:59:::1;::::0;57870:10:::1;::::0;57890:4:::1;::::0;57897:7;;57846:59:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;10173:20:::0;9490:1;10699:7;:21;10519:208;10173:20;57373:539;;;:::o;58642:110::-;10131:21;:19;:21::i;:::-;58722:23:::1;58727:7;58736:8;58722:4;:23::i;:::-;10173:20:::0;9490:1;10699:7;:21;10519:208;6620:99;6699:13;;-1:-1:-1;;;;;6699:13:0;;6620:99::o;6912:178::-;4155:13;:11;:13::i;:::-;7001::::1;:24:::0;;-1:-1:-1;;;;;;7001:24:0::1;-1:-1:-1::0;;;;;7001:24:0;::::1;::::0;;::::1;::::0;;;7065:7:::1;:5;:7::i;:::-;-1:-1:-1::0;;;;;7040:43:0::1;;;;;;;;;;;6912:178:::0;:::o;10206:307::-;9532:1;10333:7;;:18;10329:86;;10374:30;;-1:-1:-1;;;10374:30:0;;;;;;;;;;;10329:86;9532:1;10489:17;;10206:307::o;60167:225::-;60270:1;60234:17;;;:8;:17;;;;;:24;-1:-1:-1;;;;;60234:24:0;:38;60230:73;;60281:22;;-1:-1:-1;;;60281:22:0;;;;;160:25:1;;;133:18;;60281:22:0;14:177:1;60230:73:0;60317:23;;-1:-1:-1;;;60317:23:0;;;;;160:25:1;;;60344:10:0;;-1:-1:-1;;;;;60317:6:0;:14;;;;133:18:1;;60317:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;60317:37:0;;60313:72;;60363:22;;-1:-1:-1;;;60363:22:0;;;;;160:25:1;;;133:18;;60363:22:0;14:177:1;4420:162:0;2412:10;4479:7;:5;:7::i;:::-;-1:-1:-1;;;;;4479:23:0;;4475:101;;2412:10;4525:40;;-1:-1:-1;;;4525:40:0;;;;;;;;:::i;7274:153::-;7363:13;7356:20;;-1:-1:-1;;;;;;7356:20:0;;;7386:34;7411:8;7386:24;:34::i;60398:549::-;60460:7;60484;:17;;;60479:44;;-1:-1:-1;60510:13:0;;;;60398:549::o;60479:44::-;60533:15;60569:7;:17;;;60551:15;:35;;;;:::i;:::-;60533:53;;60611:15;60600:7;:26;60596:57;;-1:-1:-1;;60635:18:0;;;;60398:549::o;60596:57::-;60855:85;60895:7;:18;;;60879:7;:13;;;:34;;;;:::i;:::-;60915:7;60924:15;60855:23;:85::i;:::-;60839:7;:13;;;:101;;;;:::i;60953:1472::-;61020:22;61045:17;;;:8;:17;;;;;;;;;61020:42;;;;;;;;;-1:-1:-1;;;;;61020:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61072:59;;61113:18;;-1:-1:-1;;;61113:18:0;;;;;160:25:1;;;133:18;;61113::0;14:177:1;61072:59:0;61141:13;61157:15;61164:7;61157:6;:15::i;:::-;61141:31;;61194:8;61186:5;:16;61182:63;;;61229:5;61236:8;61211:34;;-1:-1:-1;;;61211:34:0;;;;;;;;;:::i;61182:63::-;61255:11;61269:55;61293:5;61300:7;:18;;;53536:6;61269:23;:55::i;:::-;61420:17;;;;:8;:17;;;;;;;;61413:24;;-1:-1:-1;;;;;;61413:24:0;;;-1:-1:-1;61413:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;61413:24:0;;;61466:14;;61452:53;;61255:69;;-1:-1:-1;61482:10:0;;-1:-1:-1;;;;;61452:53:0;;;;61420:17;;61452:53;;;;61494:5;;61255:69;;61452:53;:::i;:::-;;;;;;;;61540:28;;-1:-1:-1;;;61540:28:0;;61516:21;;-1:-1:-1;;;;;61540:3:0;:13;;;;:28;;61562:4;;61540:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;61516:52;-1:-1:-1;61578:54:0;-1:-1:-1;;;;;61578:3:0;:20;61599:10;61619:4;61626:5;61578:20;:54::i;:::-;61665:28;;-1:-1:-1;;;61665:28:0;;61642:20;;-1:-1:-1;;;;;61665:3:0;:13;;;;:28;;61687:4;;61665:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;61642:51;;61722:13;61707:12;:28;:69;;;-1:-1:-1;61771:5:0;61739:28;61754:13;61739:12;:28;:::i;:::-;:37;;61707:69;61703:105;;;61785:23;;-1:-1:-1;;;61785:23:0;;;;;;;;;;;61703:105;61823:8;;61819:476;;61937:37;-1:-1:-1;;;;;61937:3:0;:16;61962:5;61970:3;61937:16;:37::i;:::-;61988:17;;-1:-1:-1;;;61988:17:0;;;;;160:25:1;;;61988:5:0;-1:-1:-1;;;;;61988:12:0;;;;133:18:1;;61988:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;62019:35:0;;-1:-1:-1;;;;;;;62019:3:0;:16;;-1:-1:-1;62044:5:0;62052:1;62019:16;:35::i;:::-;62099:28;;-1:-1:-1;;;62099:28:0;;62068;;-1:-1:-1;;;;;62099:3:0;:13;;;;:28;;62121:4;;62099:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;62068:59;;62168:12;62145:20;:35;:81;;;-1:-1:-1;62223:3:0;62184:35;62199:20;62184:12;:35;:::i;:::-;:42;;62145:81;62141:144;;;62253:17;;-1:-1:-1;;;62253:17:0;;;;;;;;;;;62141:144;61833:462;61819:476;62321:14;;62304:45;;62337:11;62345:3;62337:5;:11;:::i;:::-;-1:-1:-1;;;;;62304:3:0;:16;;:45;:16;:45::i;:::-;62359:59;;-1:-1:-1;;;62359:59:0;;-1:-1:-1;;;;;62359:6:0;:23;;;;:59;;62391:4;;62398:10;;62410:7;;62359:59;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61010:1415;;;;;60953:1472;;:::o;5536:187::-;5609:16;5628:6;;-1:-1:-1;;;;;5644:17:0;;;-1:-1:-1;;;;;;5644:17:0;;;;;;5676:40;;5628:6;;;;;;;5676:40;;5609:16;5676:40;5599:124;5536:187;:::o;41319:4108::-;41401:14;41764:5;;;41401:14;-1:-1:-1;;41768:1:0;41764;41936:20;42009:5;42005:2;42002:13;41994:5;41990:2;41986:14;41982:34;41973:43;;;42110:5;42119:1;42110:10;42106:368;;42448:11;42440:5;:19;;;;;:::i;:::-;;42433:26;;;;;;42106:368;42594:5;42579:11;:20;42575:88;;42626:22;;-1:-1:-1;;;42626:22:0;;;;;;;;;;;42575:88;42917:17;43052:11;43049:1;43046;43039:25;43451:12;43481:15;;;43466:31;;43600:22;;;;;44323:1;44304;:15;;44303:21;;44555;;;44551:25;;44540:36;44624:21;;;44620:25;;44609:36;44694:21;;;44690:25;;44679:36;44764:21;;;44760:25;;44749:36;44834:21;;;44830:25;;44819:36;44905:21;;;44901:25;;;44890:36;43844:12;;;;43840:23;;;43865:1;43836:31;43166:20;;;43155:32;;;43956:12;;;;43213:21;;;;43698:16;;;;43947:21;;;;45368:15;;;;;-1:-1:-1;;41319:4108:0;;;;;:::o;33335:200::-;33447:81;33467:5;33489;-1:-1:-1;;;;;33489:18:0;;33510:4;33516:2;33520:5;33474:53;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;33474:53:0;;;;;;;;;;;33447:19;:81::i;:::-;33335:200;;;;:::o;34965:391::-;35064:25;35107:5;-1:-1:-1;;;;;35107:13:0;;35123:7;35132:5;35092:47;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;35092:47:0;;;;;;;;;;;35064:75;;35154:44;35178:5;35185:12;35154:23;:44::i;:::-;35149:201;;35214:71;35234:5;35256;-1:-1:-1;;;;;35256:13:0;;35272:7;35281:1;35241:43;;;;;;;;;:::i;35214:71::-;35299:40;35319:5;35326:12;35299:19;:40::i;32924:172::-;33018:71;33038:5;33060;-1:-1:-1;;;;;33060:14:0;;33077:2;33081:5;33045:43;;;;;;;;;:::i;35739:652::-;36181:23;36207:33;-1:-1:-1;;;;;36207:27:0;;36235:4;36207:27;:33::i;:::-;36181:59;;36254:10;:17;36275:1;36254:22;;:57;;;;;36292:10;36281:30;;;;;;;;;;;;:::i;:::-;36280:31;36254:57;36250:135;;;36367:5;36334:40;;-1:-1:-1;;;36334:40:0;;;;;;;;:::i;36892:601::-;36987:4;37300:12;37314:23;37349:5;-1:-1:-1;;;;;37341:19:0;37361:4;37341:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37299:67;;;;37383:7;:69;;;;-1:-1:-1;37395:17:0;;:22;;:56;;;37432:10;37421:30;;;;;;;;;;;;:::i;:::-;37383:103;;;;;37485:1;37464:5;-1:-1:-1;;;;;37456:26:0;;:30;37383:103;37376:110;;;;36892:601;;;;;:::o;28102:151::-;28177:12;28208:38;28230:6;28238:4;28244:1;28177:12;28830;28844:23;28871:6;-1:-1:-1;;;;;28871:11:0;28890:5;28897:4;28871:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28829:73;;;;28919:55;28946:6;28954:7;28963:10;28919:26;:55::i;:::-;28912:62;28589:392;-1:-1:-1;;;;;;28589:392:0:o;30058:580::-;30196:12;30229:7;30224:408;;30252:19;30260:10;30252:7;:19::i;:::-;30224:408;;;30476:17;;:22;:49;;;;-1:-1:-1;;;;;;30502:18:0;;;:23;30476:49;30472:119;;;30569:6;30552:24;;-1:-1:-1;;;30552:24:0;;;;;;;;:::i;30472:119::-;-1:-1:-1;30611:10:0;30604:17;;31174:516;31305:17;;:21;31301:383;;31533:10;31527:17;31589:15;31576:10;31572:2;31568:19;31561:44;31301:383;31656:17;;-1:-1:-1;;;31656:17:0;;;;;;;;;;;196:131:1;-1:-1:-1;;;;;271:31:1;;261:42;;251:70;;317:1;314;307:12;332:127;393:10;388:3;384:20;381:1;374:31;424:4;421:1;414:15;448:4;445:1;438:15;464:1341;559:6;567;575;583;636:3;624:9;615:7;611:23;607:33;604:53;;;653:1;650;643:12;604:53;692:9;679:23;711:31;736:5;711:31;:::i;:::-;761:5;-1:-1:-1;818:2:1;803:18;;790:32;831:33;790:32;831:33;:::i;:::-;883:7;-1:-1:-1;963:2:1;948:18;;935:32;;-1:-1:-1;1044:2:1;1029:18;;1016:32;-1:-1:-1;;;;;1060:30:1;;1057:50;;;1103:1;1100;1093:12;1057:50;1126:22;;1179:4;1171:13;;1167:27;-1:-1:-1;1157:55:1;;1208:1;1205;1198:12;1157:55;1235:16;;-1:-1:-1;;;;;1263:30:1;;1260:56;;;1296:18;;:::i;:::-;1345:2;1339:9;1437:2;1399:17;;-1:-1:-1;;1395:31:1;;;1428:2;1391:40;1387:54;1375:67;;-1:-1:-1;;;;;1457:34:1;;1493:22;;;1454:62;1451:88;;;1519:18;;:::i;:::-;1555:2;1548:22;1579;;;1620:15;;;1637:2;1616:24;1613:37;-1:-1:-1;1610:57:1;;;1663:1;1660;1653:12;1610:57;1719:6;1714:2;1710;1706:11;1701:2;1693:6;1689:15;1676:50;1772:1;1767:2;1758:6;1750;1746:19;1742:28;1735:39;1793:6;1783:16;;;;;464:1341;;;;;;;:::o;2017:226::-;2076:6;2129:2;2117:9;2108:7;2104:23;2100:32;2097:52;;;2145:1;2142;2135:12;2097:52;-1:-1:-1;2190:23:1;;2017:226;-1:-1:-1;2017:226:1:o;2248:346::-;2316:6;2324;2377:2;2365:9;2356:7;2352:23;2348:32;2345:52;;;2393:1;2390;2383:12;2345:52;-1:-1:-1;;2438:23:1;;;2558:2;2543:18;;;2530:32;;-1:-1:-1;2248:346:1:o;2599:203::-;-1:-1:-1;;;;;2763:32:1;;;;2745:51;;2733:2;2718:18;;2599:203::o;2807:466::-;2884:6;2892;2900;2953:2;2941:9;2932:7;2928:23;2924:32;2921:52;;;2969:1;2966;2959:12;2921:52;-1:-1:-1;;3014:23:1;;;3134:2;3119:18;;3106:32;;-1:-1:-1;3237:2:1;3222:18;;;3209:32;;2807:466;-1:-1:-1;2807:466:1:o;4323:247::-;4382:6;4435:2;4423:9;4414:7;4410:23;4406:32;4403:52;;;4451:1;4448;4441:12;4403:52;4490:9;4477:23;4509:31;4534:5;4509:31;:::i;4810:371::-;-1:-1:-1;;;;;5030:32:1;;;5012:51;;5099:32;;;;5094:2;5079:18;;5072:60;5163:2;5148:18;;5141:34;;;;5000:2;4985:18;;4810:371::o;5186:248::-;5360:25;;;5416:2;5401:18;;5394:34;5348:2;5333:18;;5186:248::o;5907:251::-;5977:6;6030:2;6018:9;6009:7;6005:23;6001:32;5998:52;;;6046:1;6043;6036:12;5998:52;6078:9;6072:16;6097:31;6122:5;6097:31;:::i;6163:225::-;6230:9;;;6251:11;;;6248:134;;;6304:10;6299:3;6295:20;6292:1;6285:31;6339:4;6336:1;6329:15;6367:4;6364:1;6357:15;6393:184;6463:6;6516:2;6504:9;6495:7;6491:23;6487:32;6484:52;;;6532:1;6529;6522:12;6484:52;-1:-1:-1;6555:16:1;;6393:184;-1:-1:-1;6393:184:1:o;6582:127::-;6643:10;6638:3;6634:20;6631:1;6624:31;6674:4;6671:1;6664:15;6698:4;6695:1;6688:15;6714:274;-1:-1:-1;;;;;6906:32:1;;;;6888:51;;6970:2;6955:18;;6948:34;6876:2;6861:18;;6714:274::o;7280:277::-;7347:6;7400:2;7388:9;7379:7;7375:23;7371:32;7368:52;;;7416:1;7413;7406:12;7368:52;7448:9;7442:16;7501:5;7494:13;7487:21;7480:5;7477:32;7467:60;;7523:1;7520;7513:12;7562:301;7691:3;7729:6;7723:13;7775:6;7768:4;7760:6;7756:17;7751:3;7745:37;7837:1;7801:16;;7826:13;;;-1:-1:-1;7801:16:1;7562:301;-1:-1:-1;7562:301:1:o","linkReferences":{},"cborAuxdata":{"1":{"value":"0xa2646970667358221220ab2fd239680052c54d42fea2d19fee3f7ddf74c987a7757d77122ee807a8b0f564736f6c634300081a0033","offset":6385}},"immutableReferences":{"2206":[{"start":513,"length":32},{"start":3645,"length":32},{"start":3776,"length":32},{"start":3841,"length":32},{"start":4031,"length":32},{"start":4232,"length":32},{"start":4330,"length":32},{"start":4529,"length":32}],"2209":[{"start":552,"length":32},{"start":828,"length":32},{"start":1252,"length":32},{"start":1648,"length":32},{"start":2502,"length":32},{"start":2892,"length":32},{"start":4591,"length":32}],"2212":[{"start":782,"length":32},{"start":4065,"length":32},{"start":4124,"length":32},{"start":4268,"length":32}],"2214":[{"start":259,"length":32},{"start":2404,"length":32},{"start":3153,"length":32},{"start":3225,"length":32}]},"transformations":[{"id":"2214","type":"replace","offset":259,"reason":"immutable"},{"id":"2206","type":"replace","offset":513,"reason":"immutable"},{"id":"2209","type":"replace","offset":552,"reason":"immutable"},{"id":"2212","type":"replace","offset":782,"reason":"immutable"},{"id":"2209","type":"replace","offset":828,"reason":"immutable"},{"id":"2209","type":"replace","offset":1252,"reason":"immutable"},{"id":"2209","type":"replace","offset":1648,"reason":"immutable"},{"id":"2214","type":"replace","offset":2404,"reason":"immutable"},{"id":"2209","type":"replace","offset":2502,"reason":"immutable"},{"id":"2209","type":"replace","offset":2892,"reason":"immutable"},{"id":"2214","type":"replace","offset":3153,"reason":"immutable"},{"id":"2214","type":"replace","offset":3225,"reason":"immutable"},{"id":"2206","type":"replace","offset":3645,"reason":"immutable"},{"id":"2206","type":"replace","offset":3776,"reason":"immutable"},{"id":"2206","type":"replace","offset":3841,"reason":"immutable"},{"id":"2206","type":"replace","offset":4031,"reason":"immutable"},{"id":"2212","type":"replace","offset":4065,"reason":"immutable"},{"id":"2212","type":"replace","offset":4124,"reason":"immutable"},{"id":"2206","type":"replace","offset":4232,"reason":"immutable"},{"id":"2212","type":"replace","offset":4268,"reason":"immutable"},{"id":"2206","type":"replace","offset":4330,"reason":"immutable"},{"id":"2206","type":"replace","offset":4529,"reason":"immutable"},{"id":"2209","type":"replace","offset":4591,"reason":"immutable"}],"transformationValues":{"immutables":{"2206":"0x0000000000000000000000005501e1fa81be1c3f49225fa7668da0245d07db60","2209":"0x000000000000000000000000cb98349c134ab983da5bfd80527dfe2552bdb70f","2212":"0x000000000000000000000000b63abab9019fa0db4a3ab1824c5e5fa7171f1472","2214":"0x0000000000000000000000000000000000000000000000000000000000015180"}}},"deployment":{"transactionHash":"0x654af3f07ea1e4860cb7d0130b0f9251beb23efea49d0a2fe6b22347f5764aed","blockNumber":"12033612","transactionIndex":"74","deployer":"0xbC8744370bCb6D5AbF5dE8B4086ecfBB4C5629C3"},"sources":{"src/BurrowMarket.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.26;\n\n/*\n * Bundled OpenZeppelin Contracts v5.0.2 dependencies, from\n * https://github.com/OpenZeppelin/openzeppelin-contracts/tree/v5.0.2\n * Kept in this file so the single-file deliverable builds without downloads.\n * Only imports/pragmas are removed and top-level symbols are prefixed with\n * BurrowMarket to avoid collisions with dependencies in other protocol files.\n * The original library logic and documentation are retained below.\n *\n * The MIT License (MIT)\n *\n * Copyright (c) 2016-2023 zOS Global Limited and contributors\n * Permission is hereby granted, free of charge, to any person obtaining\n * a copy of this software and associated documentation files (the\n * \"Software\"), to deal in the Software without restriction, including\n * without limitation the rights to use, copy, modify, merge, publish,\n * distribute, sublicense, and/or sell copies of the Software, and to\n * permit persons to whom the Software is furnished to do so, subject to\n * the following conditions:\n * The above copyright notice and this permission notice shall be included\n * in all copies or substantial portions of the Software.\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\n * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\n * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\n * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n */\n\n// OpenZeppelin v5.0.2: contracts/utils/Context.sol\n// OpenZeppelin Contracts (last updated v5.0.1) (utils/BurrowMarketContext.sol)\n\n/**\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract BurrowMarketContext {\n    function _msgSender() internal view virtual returns (address) {\n        return msg.sender;\n    }\n\n    function _msgData() internal view virtual returns (bytes calldata) {\n        return msg.data;\n    }\n\n    function _contextSuffixLength() internal view virtual returns (uint256) {\n        return 0;\n    }\n}\n\n// OpenZeppelin v5.0.2: contracts/access/Ownable.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (access/BurrowMarketOwnable.sol)\n\n/**\n * @dev Contract module which provides a basic access control mechanism, where\n * there is an account (an owner) that can be granted exclusive access to\n * specific functions.\n *\n * The initial owner is set to the address provided by the deployer. This can\n * later be changed with {transferOwnership}.\n *\n * This module is used through inheritance. It will make available the modifier\n * `onlyOwner`, which can be applied to your functions to restrict their use to\n * the owner.\n */\nabstract contract BurrowMarketOwnable is BurrowMarketContext {\n    address private _owner;\n    /**\n     * @dev The caller account is not authorized to perform an operation.\n     */\n    error OwnableUnauthorizedAccount(address account);\n\n    /**\n     * @dev The owner is not a valid owner account. (eg. `address(0)`)\n     */\n    error OwnableInvalidOwner(address owner);\n\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n    /**\n     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.\n     */\n    constructor(address initialOwner) {\n        if (initialOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\n        _transferOwnership(initialOwner);\n    }\n\n    /**\n     * @dev Throws if called by any account other than the owner.\n     */\n    modifier onlyOwner() {\n        _checkOwner();\n        _;\n    }\n\n    /**\n     * @dev Returns the address of the current owner.\n     */\n    function owner() public view virtual returns (address) {\n        return _owner;\n    }\n\n    /**\n     * @dev Throws if the sender is not the owner.\n     */\n    function _checkOwner() internal view virtual {\n        if (owner() != _msgSender()) {\n            revert OwnableUnauthorizedAccount(_msgSender());\n        }\n    }\n\n    /**\n     * @dev Leaves the contract without owner. It will not be possible to call\n     * `onlyOwner` functions. Can only be called by the current owner.\n     *\n     * NOTE: Renouncing ownership will leave the contract without an owner,\n     * thereby disabling any functionality that is only available to the owner.\n     */\n    function renounceOwnership() public virtual onlyOwner {\n        _transferOwnership(address(0));\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Can only be called by the current owner.\n     */\n    function transferOwnership(address newOwner) public virtual onlyOwner {\n        if (newOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\n        _transferOwnership(newOwner);\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Internal function without access restriction.\n     */\n    function _transferOwnership(address newOwner) internal virtual {\n        address oldOwner = _owner;\n        _owner = newOwner;\n        emit OwnershipTransferred(oldOwner, newOwner);\n    }\n}\n\n// OpenZeppelin v5.0.2: contracts/access/Ownable2Step.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (access/BurrowMarketOwnable2Step.sol)\n\n/**\n * @dev Contract module which provides access control mechanism, where\n * there is an account (an owner) that can be granted exclusive access to\n * specific functions.\n *\n * The initial owner is specified at deployment time in the constructor for `BurrowMarketOwnable`. This\n * can later be changed with {transferOwnership} and {acceptOwnership}.\n *\n * This module is used through inheritance. It will make available all functions\n * from parent (BurrowMarketOwnable).\n */\nabstract contract BurrowMarketOwnable2Step is BurrowMarketOwnable {\n    address private _pendingOwner;\n    event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner);\n\n    /**\n     * @dev Returns the address of the pending owner.\n     */\n    function pendingOwner() public view virtual returns (address) {\n        return _pendingOwner;\n    }\n\n    /**\n     * @dev Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one.\n     * Can only be called by the current owner.\n     */\n    function transferOwnership(address newOwner) public virtual override onlyOwner {\n        _pendingOwner = newOwner;\n        emit OwnershipTransferStarted(owner(), newOwner);\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`) and deletes any pending owner.\n     * Internal function without access restriction.\n     */\n    function _transferOwnership(address newOwner) internal virtual override {\n        delete _pendingOwner;\n        super._transferOwnership(newOwner);\n    }\n\n    /**\n     * @dev The new owner accepts the ownership transfer.\n     */\n    function acceptOwnership() public virtual {\n        address sender = _msgSender();\n        if (pendingOwner() != sender) {\n            revert OwnableUnauthorizedAccount(sender);\n        }\n        _transferOwnership(sender);\n    }\n}\n\n// OpenZeppelin v5.0.2: contracts/utils/ReentrancyGuard.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/BurrowMarketReentrancyGuard.sol)\n\n/**\n * @dev Contract module that helps prevent reentrant calls to a function.\n *\n * Inheriting from `BurrowMarketReentrancyGuard` will make the {nonReentrant} modifier\n * available, which can be applied to functions to make sure there are no nested\n * (reentrant) calls to them.\n *\n * Note that because there is a single `nonReentrant` guard, functions marked as\n * `nonReentrant` may not call one another. This can be worked around by making\n * those functions `private`, and then adding `external` `nonReentrant` entry\n * points to them.\n *\n * TIP: If you would like to learn more about reentrancy and alternative ways\n * to protect against it, check out our blog post\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\n */\nabstract contract BurrowMarketReentrancyGuard {\n    // Booleans are more expensive than uint256 or any type that takes up a full\n    // word because each write operation emits an extra SLOAD to first read the\n    // slot's contents, replace the bits taken up by the boolean, and then write\n    // back. This is the compiler's defense against contract upgrades and\n    // pointer aliasing, and it cannot be disabled.\n    // The values being non-zero value makes deployment a bit more expensive,\n    // but in exchange the refund on every call to nonReentrant will be lower in\n    // amount. Since refunds are capped to a percentage of the total\n    // transaction's gas, it is best to keep them low in cases like this one, to\n    // increase the likelihood of the full refund coming into effect.\n    uint256 private constant NOT_ENTERED = 1;\n    uint256 private constant ENTERED = 2;\n\n    uint256 private _status;\n    /**\n     * @dev Unauthorized reentrant call.\n     */\n    error ReentrancyGuardReentrantCall();\n\n    constructor() {\n        _status = NOT_ENTERED;\n    }\n    /**\n     * @dev Prevents a contract from calling itself, directly or indirectly.\n     * Calling a `nonReentrant` function from another `nonReentrant`\n     * function is not supported. It is possible to prevent this from happening\n     * by making the `nonReentrant` function external, and making it call a\n     * `private` function that does the actual work.\n     */\n    modifier nonReentrant() {\n        _nonReentrantBefore();\n        _;\n        _nonReentrantAfter();\n    }\n\n    function _nonReentrantBefore() private {\n        // On the first call to nonReentrant, _status will be NOT_ENTERED\n        if (_status == ENTERED) {\n            revert ReentrancyGuardReentrantCall();\n        }\n\n        // Any calls to nonReentrant after this point will fail\n        _status = ENTERED;\n    }\n\n    function _nonReentrantAfter() private {\n        // By storing the original value once again, a refund is triggered (see\n        // https://eips.ethereum.org/EIPS/eip-2200)\n        _status = NOT_ENTERED;\n    }\n\n    /**\n     * @dev Returns true if the reentrancy guard is currently set to \"entered\", which indicates there is a\n     * `nonReentrant` function in the call stack.\n     */\n    function _reentrancyGuardEntered() internal view returns (bool) {\n        return _status == ENTERED;\n    }\n}\n\n// OpenZeppelin v5.0.2: contracts/utils/introspection/IERC165.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/BurrowMarketIERC165.sol)\n\n/**\n * @dev Interface of the ERC165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\n *\n * Implementers can declare support of contract interfaces, which can then be\n * queried by others ({ERC165Checker}).\n *\n * For an implementation, see {ERC165}.\n */\ninterface BurrowMarketIERC165 {\n    /**\n     * @dev Returns true if this contract implements the interface defined by\n     * `interfaceId`. See the corresponding\n     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n     * to learn more about how these ids are created.\n     *\n     * This function call must use less than 30 000 gas.\n     */\n    function supportsInterface(bytes4 interfaceId) external view returns (bool);\n}\n\n// OpenZeppelin v5.0.2: contracts/token/ERC721/IERC721Receiver.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/BurrowMarketIERC721Receiver.sol)\n\n/**\n * @title ERC721 token receiver interface\n * @dev Interface for any contract that wants to support safeTransfers\n * from ERC721 asset contracts.\n */\ninterface BurrowMarketIERC721Receiver {\n    /**\n     * @dev Whenever an {BurrowMarketIERC721} `tokenId` token is transferred to this contract via {BurrowMarketIERC721-safeTransferFrom}\n     * by `operator` from `from`, this function is called.\n     *\n     * It must return its Solidity selector to confirm the token transfer.\n     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be\n     * reverted.\n     *\n     * The selector can be obtained in Solidity with `BurrowMarketIERC721Receiver.onERC721Received.selector`.\n     */\n    function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data)\n        external\n        returns (bytes4);\n}\n\n// OpenZeppelin v5.0.2: contracts/token/ERC721/utils/ERC721Holder.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/utils/BurrowMarketERC721Holder.sol)\n\n/**\n * @dev Implementation of the {BurrowMarketIERC721Receiver} interface.\n *\n * Accepts all token transfers.\n * Make sure the contract is able to use its token with {BurrowMarketIERC721-safeTransferFrom}, {BurrowMarketIERC721-approve} or\n * {BurrowMarketIERC721-setApprovalForAll}.\n */\nabstract contract BurrowMarketERC721Holder is BurrowMarketIERC721Receiver {\n    /**\n     * @dev See {BurrowMarketIERC721Receiver-onERC721Received}.\n     *\n     * Always returns `BurrowMarketIERC721Receiver.onERC721Received.selector`.\n     */\n    function onERC721Received(address, address, uint256, bytes memory) public virtual returns (bytes4) {\n        return this.onERC721Received.selector;\n    }\n}\n\n// OpenZeppelin v5.0.2: contracts/token/ERC721/IERC721.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/BurrowMarketIERC721.sol)\n\n/**\n * @dev Required interface of an ERC721 compliant contract.\n */\ninterface BurrowMarketIERC721 is BurrowMarketIERC165 {\n    /**\n     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\n     */\n    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\n    /**\n     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\n     */\n    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\n\n    /**\n     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\n     */\n    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\n    /**\n     * @dev Returns the number of tokens in ``owner``'s account.\n     */\n    function balanceOf(address owner) external view returns (uint256 balance);\n\n    /**\n     * @dev Returns the owner of the `tokenId` token.\n     *\n     * Requirements:\n     *\n     * - `tokenId` must exist.\n     */\n    function ownerOf(uint256 tokenId) external view returns (address owner);\n    /**\n     * @dev Safely transfers `tokenId` token from `from` to `to`.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must exist and be owned by `from`.\n     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n     * - If `to` refers to a smart contract, it must implement {BurrowMarketIERC721Receiver-onERC721Received}, which is called upon\n     *   a safe transfer.\n     *\n     * Emits a {Transfer} event.\n     */\n    function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;\n    /**\n     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n     * are aware of the ERC721 protocol to prevent tokens from being forever locked.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must exist and be owned by `from`.\n     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or\n     *   {setApprovalForAll}.\n     * - If `to` refers to a smart contract, it must implement {BurrowMarketIERC721Receiver-onERC721Received}, which is called upon\n     *   a safe transfer.\n     *\n     * Emits a {Transfer} event.\n     */\n    function safeTransferFrom(address from, address to, uint256 tokenId) external;\n    /**\n     * @dev Transfers `tokenId` token from `from` to `to`.\n     *\n     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721\n     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must\n     * understand this adds an external call which potentially creates a reentrancy vulnerability.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must be owned by `from`.\n     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transferFrom(address from, address to, uint256 tokenId) external;\n    /**\n     * @dev Gives permission to `to` to transfer `tokenId` token to another account.\n     * The approval is cleared when the token is transferred.\n     *\n     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n     *\n     * Requirements:\n     *\n     * - The caller must own the token or be an approved operator.\n     * - `tokenId` must exist.\n     *\n     * Emits an {Approval} event.\n     */\n    function approve(address to, uint256 tokenId) external;\n    /**\n     * @dev Approve or remove `operator` as an operator for the caller.\n     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n     *\n     * Requirements:\n     *\n     * - The `operator` cannot be the address zero.\n     *\n     * Emits an {ApprovalForAll} event.\n     */\n    function setApprovalForAll(address operator, bool approved) external;\n    /**\n     * @dev Returns the account approved for `tokenId` token.\n     *\n     * Requirements:\n     *\n     * - `tokenId` must exist.\n     */\n    function getApproved(uint256 tokenId) external view returns (address operator);\n\n    /**\n     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n     *\n     * See {setApprovalForAll}\n     */\n    function isApprovedForAll(address owner, address operator) external view returns (bool);\n}\n\n// OpenZeppelin v5.0.2: contracts/token/ERC20/IERC20.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/BurrowMarketIERC20.sol)\n\n/**\n * @dev Interface of the ERC20 standard as defined in the EIP.\n */\ninterface BurrowMarketIERC20 {\n    /**\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\n     * another (`to`).\n     *\n     * Note that `value` may be zero.\n     */\n    event Transfer(address indexed from, address indexed to, uint256 value);\n    /**\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\n     * a call to {approve}. `value` is the new allowance.\n     */\n    event Approval(address indexed owner, address indexed spender, uint256 value);\n\n    /**\n     * @dev Returns the value of tokens in existence.\n     */\n    function totalSupply() external view returns (uint256);\n    /**\n     * @dev Returns the value of tokens owned by `account`.\n     */\n    function balanceOf(address account) external view returns (uint256);\n\n    /**\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transfer(address to, uint256 value) external returns (bool);\n    /**\n     * @dev Returns the remaining number of tokens that `spender` will be\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\n     * zero by default.\n     *\n     * This value changes when {approve} or {transferFrom} are called.\n     */\n    function allowance(address owner, address spender) external view returns (uint256);\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\n     * that someone may use both the old and the new allowance by unfortunate\n     * transaction ordering. One possible solution to mitigate this race\n     * condition is to first reduce the spender's allowance to 0 and set the\n     * desired value afterwards:\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n     *\n     * Emits an {Approval} event.\n     */\n    function approve(address spender, uint256 value) external returns (bool);\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the\n     * allowance mechanism. `value` is then deducted from the caller's\n     * allowance.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transferFrom(address from, address to, uint256 value) external returns (bool);\n}\n\n// OpenZeppelin v5.0.2: contracts/token/ERC20/extensions/IERC20Permit.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/BurrowMarketIERC20Permit.sol)\n\n/**\n * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in\n * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].\n *\n * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {BurrowMarketIERC20-allowance}) by\n * presenting a message signed by the account. By not relying on {BurrowMarketIERC20-approve}, the token holder account doesn't\n * need to send a transaction, and thus is not required to hold Ether at all.\n *\n * ==== Security Considerations\n *\n * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature\n * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be\n * considered as an intention to spend the allowance in any specific way. The second is that because permits have\n * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should\n * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be\n * generally recommended is:\n *\n * ```solidity\n * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {\n *     try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}\n *     doThing(..., value);\n * }\n *\n * function doThing(..., uint256 value) public {\n *     token.safeTransferFrom(msg.sender, address(this), value);\n *     ...\n * }\n * ```\n *\n * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of\n * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also\n * {BurrowMarketSafeERC20-safeTransferFrom}).\n *\n * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so\n * contracts should have entry points that don't rely on permit.\n */\ninterface BurrowMarketIERC20Permit {\n    /**\n     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,\n     * given ``owner``'s signed approval.\n     *\n     * IMPORTANT: The same issues {BurrowMarketIERC20-approve} has related to transaction\n     * ordering also apply here.\n     *\n     * Emits an {Approval} event.\n     *\n     * Requirements:\n     *\n     * - `spender` cannot be the zero address.\n     * - `deadline` must be a timestamp in the future.\n     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`\n     * over the EIP712-formatted function arguments.\n     * - the signature must use ``owner``'s current nonce (see {nonces}).\n     *\n     * For more information on the signature format, see the\n     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP\n     * section].\n     *\n     * CAUTION: See Security Considerations above.\n     */\n    function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s)\n        external;\n    /**\n     * @dev Returns the current nonce for `owner`. This value must be\n     * included whenever a signature is generated for {permit}.\n     *\n     * Every successful call to {permit} increases ``owner``'s nonce by one. This\n     * prevents a signature from being used multiple times.\n     */\n    function nonces(address owner) external view returns (uint256);\n    /**\n     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.\n     */\n    // solhint-disable-next-line func-name-mixedcase\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\n}\n\n// OpenZeppelin v5.0.2: contracts/utils/Address.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/BurrowMarketAddress.sol)\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary BurrowMarketAddress {\n    /**\n     * @dev The ETH balance of the account is not enough to perform the operation.\n     */\n    error AddressInsufficientBalance(address account);\n\n    /**\n     * @dev There's no code at `target` (it is not a contract).\n     */\n    error AddressEmptyCode(address target);\n    /**\n     * @dev A call to an address target failed. The target may have reverted.\n     */\n    error FailedInnerCall();\n\n    /**\n     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n     * `recipient`, forwarding all available gas and reverting on errors.\n     *\n     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n     * of certain opcodes, possibly making contracts go over the 2300 gas limit\n     * imposed by `transfer`, making them unable to receive funds via\n     * `transfer`. {sendValue} removes this limitation.\n     *\n     * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n     *\n     * IMPORTANT: because control is transferred to `recipient`, care must be\n     * taken to not create reentrancy vulnerabilities. Consider using\n     * {BurrowMarketReentrancyGuard} or the\n     * https://solidity.readthedocs.io/en/v0.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n     */\n    function sendValue(address payable recipient, uint256 amount) internal {\n        if (address(this).balance < amount) {\n            revert AddressInsufficientBalance(address(this));\n        }\n        (bool success,) = recipient.call{value: amount}(\"\");\n        if (!success) {\n            revert FailedInnerCall();\n        }\n    }\n\n    /**\n     * @dev Performs a Solidity function call using a low level `call`. A\n     * plain `call` is an unsafe replacement for a function call: use this\n     * function instead.\n     *\n     * If `target` reverts with a revert reason or custom error, it is bubbled\n     * up by this function (like regular Solidity function calls). However, if\n     * the call reverted with no returned reason, this function reverts with a\n     * {FailedInnerCall} error.\n     *\n     * Returns the raw returned data. To convert to the expected return value,\n     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n     *\n     * Requirements:\n     *\n     * - `target` must be a contract.\n     * - calling `target` with `data` must not revert.\n     */\n    function functionCall(address target, bytes memory data) internal returns (bytes memory) {\n        return functionCallWithValue(target, data, 0);\n    }\n\n    /**\n     * @dev Same as {xref-BurrowMarketAddress-functionCall-address-bytes-}[`functionCall`],\n     * but also transferring `value` wei to `target`.\n     *\n     * Requirements:\n     *\n     * - the calling contract must have an ETH balance of at least `value`.\n     * - the called Solidity function must be `payable`.\n     */\n    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\n        if (address(this).balance < value) {\n            revert AddressInsufficientBalance(address(this));\n        }\n        (bool success, bytes memory returndata) = target.call{value: value}(data);\n        return verifyCallResultFromTarget(target, success, returndata);\n    }\n\n    /**\n     * @dev Same as {xref-BurrowMarketAddress-functionCall-address-bytes-}[`functionCall`],\n     * but performing a static call.\n     */\n    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\n        (bool success, bytes memory returndata) = target.staticcall(data);\n        return verifyCallResultFromTarget(target, success, returndata);\n    }\n\n    /**\n     * @dev Same as {xref-BurrowMarketAddress-functionCall-address-bytes-}[`functionCall`],\n     * but performing a delegate call.\n     */\n    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\n        (bool success, bytes memory returndata) = target.delegatecall(data);\n        return verifyCallResultFromTarget(target, success, returndata);\n    }\n\n    /**\n     * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target\n     * was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an\n     * unsuccessful call.\n     */\n    function verifyCallResultFromTarget(address target, bool success, bytes memory returndata)\n        internal\n        view\n        returns (bytes memory)\n    {\n        if (!success) {\n            _revert(returndata);\n        } else {\n            // only check if target is a contract if the call was successful and the return data is empty\n            // otherwise we already know that it was a contract\n            if (returndata.length == 0 && target.code.length == 0) {\n                revert AddressEmptyCode(target);\n            }\n            return returndata;\n        }\n    }\n\n    /**\n     * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the\n     * revert reason or with a default {FailedInnerCall} error.\n     */\n    function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {\n        if (!success) {\n            _revert(returndata);\n        } else {\n            return returndata;\n        }\n    }\n\n    /**\n     * @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}.\n     */\n    function _revert(bytes memory returndata) private pure {\n        // Look for revert reason and bubble it up if present\n        if (returndata.length > 0) {\n            // The easiest way to bubble the revert reason is using memory via assembly\n            /// @solidity memory-safe-assembly\n            assembly {\n                let returndata_size := mload(returndata)\n                revert(add(32, returndata), returndata_size)\n            }\n        } else {\n            revert FailedInnerCall();\n        }\n    }\n}\n\n// OpenZeppelin v5.0.2: contracts/token/ERC20/utils/SafeERC20.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/utils/BurrowMarketSafeERC20.sol)\n\n/**\n * @title BurrowMarketSafeERC20\n * @dev Wrappers around ERC20 operations that throw on failure (when the token\n * contract returns false). Tokens that return no value (and instead revert or\n * throw on failure) are also supported, non-reverting calls are assumed to be\n * successful.\n * To use this library you can add a `using BurrowMarketSafeERC20 for BurrowMarketIERC20;` statement to your contract,\n * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.\n */\nlibrary BurrowMarketSafeERC20 {\n    using BurrowMarketAddress for address;\n    /**\n     * @dev An operation with an ERC20 token failed.\n     */\n    error SafeERC20FailedOperation(address token);\n\n    /**\n     * @dev Indicates a failed `decreaseAllowance` request.\n     */\n    error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);\n\n    /**\n     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful.\n     */\n    function safeTransfer(BurrowMarketIERC20 token, address to, uint256 value) internal {\n        _callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value)));\n    }\n\n    /**\n     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the\n     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.\n     */\n    function safeTransferFrom(BurrowMarketIERC20 token, address from, address to, uint256 value) internal {\n        _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value)));\n    }\n\n    /**\n     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful.\n     */\n    function safeIncreaseAllowance(BurrowMarketIERC20 token, address spender, uint256 value) internal {\n        uint256 oldAllowance = token.allowance(address(this), spender);\n        forceApprove(token, spender, oldAllowance + value);\n    }\n\n    /**\n     * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no\n     * value, non-reverting calls are assumed to be successful.\n     */\n    function safeDecreaseAllowance(BurrowMarketIERC20 token, address spender, uint256 requestedDecrease) internal {\n        unchecked {\n            uint256 currentAllowance = token.allowance(address(this), spender);\n            if (currentAllowance < requestedDecrease) {\n                revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);\n            }\n            forceApprove(token, spender, currentAllowance - requestedDecrease);\n        }\n    }\n\n    /**\n     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval\n     * to be set to zero before setting it to a non-zero value, such as USDT.\n     */\n    function forceApprove(BurrowMarketIERC20 token, address spender, uint256 value) internal {\n        bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value));\n        if (!_callOptionalReturnBool(token, approvalCall)) {\n            _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0)));\n            _callOptionalReturn(token, approvalCall);\n        }\n    }\n\n    /**\n     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\n     * on the return value: the return value is optional (but if data is returned, it must not be false).\n     * @param token The token targeted by the call.\n     * @param data The call data (encoded using abi.encode or one of its variants).\n     */\n    function _callOptionalReturn(BurrowMarketIERC20 token, bytes memory data) private {\n        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\n        // we're implementing it ourselves. We use {BurrowMarketAddress-functionCall} to perform this call, which verifies that\n        // the target address contains contract code and also asserts for success in the low-level call.\n        bytes memory returndata = address(token).functionCall(data);\n        if (returndata.length != 0 && !abi.decode(returndata, (bool))) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\n     * on the return value: the return value is optional (but if data is returned, it must not be false).\n     * @param token The token targeted by the call.\n     * @param data The call data (encoded using abi.encode or one of its variants).\n     *\n     * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.\n     */\n    function _callOptionalReturnBool(BurrowMarketIERC20 token, bytes memory data) private returns (bool) {\n        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\n        // we're implementing it ourselves. We cannot use {BurrowMarketAddress-functionCall} here since this should return false\n        // and not revert is the subcall reverts.\n        (bool success, bytes memory returndata) = address(token).call(data);\n        return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && address(token).code.length > 0;\n    }\n}\n\n// OpenZeppelin v5.0.2: contracts/utils/math/Math.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/BurrowMarketMath.sol)\n\n/**\n * @dev Standard math utilities missing in the Solidity language.\n */\nlibrary BurrowMarketMath {\n    /**\n     * @dev Muldiv operation overflow.\n     */\n    error MathOverflowedMulDiv();\n\n    enum Rounding {\n        Floor, // Toward negative infinity\n        Ceil, // Toward positive infinity\n        Trunc, // Toward zero\n        Expand // Away from zero\n    }\n\n    /**\n     * @dev Returns the addition of two unsigned integers, with an overflow flag.\n     */\n    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n        unchecked {\n            uint256 c = a + b;\n            if (c < a) return (false, 0);\n            return (true, c);\n        }\n    }\n\n    /**\n     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.\n     */\n    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n        unchecked {\n            if (b > a) return (false, 0);\n            return (true, a - b);\n        }\n    }\n\n    /**\n     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n     */\n    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n        unchecked {\n            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\n            // benefit is lost if 'b' is also tested.\n            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\n            if (a == 0) return (true, 0);\n            uint256 c = a * b;\n            if (c / a != b) return (false, 0);\n            return (true, c);\n        }\n    }\n\n    /**\n     * @dev Returns the division of two unsigned integers, with a division by zero flag.\n     */\n    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n        unchecked {\n            if (b == 0) return (false, 0);\n            return (true, a / b);\n        }\n    }\n\n    /**\n     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n     */\n    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n        unchecked {\n            if (b == 0) return (false, 0);\n            return (true, a % b);\n        }\n    }\n\n    /**\n     * @dev Returns the largest of two numbers.\n     */\n    function max(uint256 a, uint256 b) internal pure returns (uint256) {\n        return a > b ? a : b;\n    }\n\n    /**\n     * @dev Returns the smallest of two numbers.\n     */\n    function min(uint256 a, uint256 b) internal pure returns (uint256) {\n        return a < b ? a : b;\n    }\n\n    /**\n     * @dev Returns the average of two numbers. The result is rounded towards\n     * zero.\n     */\n    function average(uint256 a, uint256 b) internal pure returns (uint256) {\n        // (a + b) / 2 can overflow.\n        return (a & b) + (a ^ b) / 2;\n    }\n\n    /**\n     * @dev Returns the ceiling of the division of two numbers.\n     *\n     * This differs from standard division with `/` in that it rounds towards infinity instead\n     * of rounding towards zero.\n     */\n    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {\n        if (b == 0) {\n            // Guarantee the same behavior as in a regular Solidity division.\n            return a / b;\n        }\n        // (a + b - 1) / b can overflow on addition, so we distribute.\n        return a == 0 ? 0 : (a - 1) / b + 1;\n    }\n\n    /**\n     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or\n     * denominator == 0.\n     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by\n     * Uniswap Labs also under MIT license.\n     */\n    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {\n        unchecked {\n            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use\n            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256\n            // variables such that product = prod1 * 2^256 + prod0.\n            uint256 prod0 = x * y; // Least significant 256 bits of the product\n            uint256 prod1; // Most significant 256 bits of the product\n            assembly {\n                let mm := mulmod(x, y, not(0))\n                prod1 := sub(sub(mm, prod0), lt(mm, prod0))\n            }\n            // Handle non-overflow cases, 256 by 256 division.\n            if (prod1 == 0) {\n                // Solidity will revert if denominator == 0, unlike the div opcode on its own.\n                // The surrounding unchecked block does not change this fact.\n                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.\n                return prod0 / denominator;\n            }\n            // Make sure the result is less than 2^256. Also prevents denominator == 0.\n            if (denominator <= prod1) {\n                revert MathOverflowedMulDiv();\n            }\n\n            ///////////////////////////////////////////////\n            // 512 by 256 division.\n            ///////////////////////////////////////////////\n            // Make division exact by subtracting the remainder from [prod1 prod0].\n            uint256 remainder;\n            assembly {\n                // Compute remainder using mulmod.\n                remainder := mulmod(x, y, denominator)\n\n                // Subtract 256 bit number from 512 bit number.\n                prod1 := sub(prod1, gt(remainder, prod0))\n                prod0 := sub(prod0, remainder)\n            }\n            // Factor powers of two out of denominator and compute largest power of two divisor of denominator.\n            // Always >= 1. See https://cs.stackexchange.com/q/138556/92363.\n\n            uint256 twos = denominator & (0 - denominator);\n            assembly {\n                // Divide denominator by twos.\n                denominator := div(denominator, twos)\n\n                // Divide [prod1 prod0] by twos.\n                prod0 := div(prod0, twos)\n                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.\n                twos := add(div(sub(0, twos), twos), 1)\n            }\n\n            // Shift in bits from prod1 into prod0.\n            prod0 |= prod1 * twos;\n            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such\n            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for\n            // four bits. That is, denominator * inv = 1 mod 2^4.\n            uint256 inverse = (3 * denominator) ^ 2;\n            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also\n            // works in modular arithmetic, doubling the correct bits in each step.\n            inverse *= 2 - denominator * inverse; // inverse mod 2^8\n            inverse *= 2 - denominator * inverse; // inverse mod 2^16\n            inverse *= 2 - denominator * inverse; // inverse mod 2^32\n            inverse *= 2 - denominator * inverse; // inverse mod 2^64\n            inverse *= 2 - denominator * inverse; // inverse mod 2^128\n            inverse *= 2 - denominator * inverse; // inverse mod 2^256\n            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.\n            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is\n            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1\n            // is no longer required.\n            result = prod0 * inverse;\n            return result;\n        }\n    }\n\n    /**\n     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.\n     */\n    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {\n        uint256 result = mulDiv(x, y, denominator);\n        if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) {\n            result += 1;\n        }\n        return result;\n    }\n\n    /**\n     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded\n     * towards zero.\n     *\n     * Inspired by Henry S. Warren, Jr.'s \"Hacker's Delight\" (Chapter 11).\n     */\n    function sqrt(uint256 a) internal pure returns (uint256) {\n        if (a == 0) {\n            return 0;\n        }\n        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.\n        //\n        // We know that the \"msb\" (most significant bit) of our target number `a` is a power of 2 such that we have\n        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.\n        //\n        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`\n        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`\n        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`\n        //\n        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.\n        uint256 result = 1 << (log2(a) >> 1);\n        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,\n        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at\n        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision\n        // into the expected uint128 result.\n        unchecked {\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            return min(result, a / result);\n        }\n    }\n\n    /**\n     * @notice Calculates sqrt(a), following the selected rounding direction.\n     */\n    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = sqrt(a);\n            return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 2 of a positive value rounded towards zero.\n     * Returns 0 if given 0.\n     */\n    function log2(uint256 value) internal pure returns (uint256) {\n        uint256 result = 0;\n        unchecked {\n            if (value >> 128 > 0) {\n                value >>= 128;\n                result += 128;\n            }\n            if (value >> 64 > 0) {\n                value >>= 64;\n                result += 64;\n            }\n            if (value >> 32 > 0) {\n                value >>= 32;\n                result += 32;\n            }\n            if (value >> 16 > 0) {\n                value >>= 16;\n                result += 16;\n            }\n            if (value >> 8 > 0) {\n                value >>= 8;\n                result += 8;\n            }\n            if (value >> 4 > 0) {\n                value >>= 4;\n                result += 4;\n            }\n            if (value >> 2 > 0) {\n                value >>= 2;\n                result += 2;\n            }\n            if (value >> 1 > 0) {\n                result += 1;\n            }\n        }\n        return result;\n    }\n\n    /**\n     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log2(value);\n            return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 10 of a positive value rounded towards zero.\n     * Returns 0 if given 0.\n     */\n    function log10(uint256 value) internal pure returns (uint256) {\n        uint256 result = 0;\n        unchecked {\n            if (value >= 10 ** 64) {\n                value /= 10 ** 64;\n                result += 64;\n            }\n            if (value >= 10 ** 32) {\n                value /= 10 ** 32;\n                result += 32;\n            }\n            if (value >= 10 ** 16) {\n                value /= 10 ** 16;\n                result += 16;\n            }\n            if (value >= 10 ** 8) {\n                value /= 10 ** 8;\n                result += 8;\n            }\n            if (value >= 10 ** 4) {\n                value /= 10 ** 4;\n                result += 4;\n            }\n            if (value >= 10 ** 2) {\n                value /= 10 ** 2;\n                result += 2;\n            }\n            if (value >= 10 ** 1) {\n                result += 1;\n            }\n        }\n        return result;\n    }\n\n    /**\n     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log10(value);\n            return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 256 of a positive value rounded towards zero.\n     * Returns 0 if given 0.\n     *\n     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.\n     */\n    function log256(uint256 value) internal pure returns (uint256) {\n        uint256 result = 0;\n        unchecked {\n            if (value >> 128 > 0) {\n                value >>= 128;\n                result += 16;\n            }\n            if (value >> 64 > 0) {\n                value >>= 64;\n                result += 8;\n            }\n            if (value >> 32 > 0) {\n                value >>= 32;\n                result += 4;\n            }\n            if (value >> 16 > 0) {\n                value >>= 16;\n                result += 2;\n            }\n            if (value >> 8 > 0) {\n                result += 1;\n            }\n        }\n        return result;\n    }\n\n    /**\n     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log256(value);\n            return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0);\n        }\n    }\n\n    /**\n     * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.\n     */\n    function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {\n        return uint8(rounding) % 2 == 1;\n    }\n}\n\n/// @dev The only vault entry point the market needs. donate pulls SQK from its caller.\ninterface IBurrowMarketVault {\n    function donate(uint256 amount) external;\n}\n\n/// @title BurrowMarket\n/// @notice SQK-denominated Squeek sales and Dutch auctions, with fees paid to BurrowVault.\n/// @dev Unaudited; intended for testnet use. All amounts are raw SQK units (18 decimals).\n/// Listings escrow the NFT until purchase or seller cancellation. Liquidation in the\n/// vault gives the collateral to the liquidator, who may then call startAuction like\n/// any other NFT owner. The market neither seizes collateral nor settles loan debt.\n/// SQK, Squeek and the fee vault are immutable, constructor-supplied contracts.\ncontract BurrowMarket is BurrowMarketOwnable2Step, BurrowMarketERC721Holder, BurrowMarketReentrancyGuard {\n    using BurrowMarketSafeERC20 for BurrowMarketIERC20;\n\n    uint256 public constant BPS = 10_000;\n    uint256 public constant MAX_FEE_BPS = 500;\n\n    BurrowMarketIERC20 public immutable sqk;\n    BurrowMarketIERC721 public immutable squeek;\n    IBurrowMarketVault public immutable vault;\n    uint256 public immutable auctionDuration;\n    uint256 public feeBps;\n\n    struct Listing {\n        address seller;\n        uint256 price; // Fixed price, or the premium starting price of a Dutch auction.\n        uint256 floorPrice;\n        uint256 startedAt;\n        uint256 saleFeeBps; // Snapshotted at listing time, including for auctions.\n        bool isAuction;\n    }\n\n    mapping(uint256 tokenId => Listing) public listings;\n\n    error InvalidContract(address account);\n    error FeeTooHigh(uint256 requested);\n    error InvalidAuctionDuration();\n    error InvalidPrice();\n    error InvalidAuctionPrices(uint256 startPrice, uint256 floorPrice);\n    error AlreadyListed(uint256 tokenId);\n    error NotListed(uint256 tokenId);\n    error NotTokenOwner(uint256 tokenId);\n    error NotSeller(uint256 tokenId);\n    error PriceExceedsLimit(uint256 price, uint256 maxPrice);\n    error UnexpectedNFT();\n    error UnexpectedSQKTransfer();\n    error FeeNotCollected();\n\n    event Listed(uint256 indexed tokenId, address indexed seller, uint256 price, uint256 feeBps);\n    event AuctionStarted(\n        uint256 indexed tokenId,\n        address indexed seller,\n        uint256 startPrice,\n        uint256 floorPrice,\n        uint256 startedAt,\n        uint256 duration,\n        uint256 feeBps\n    );\n    event Cancelled(uint256 indexed tokenId, address indexed seller);\n    event Sold(uint256 indexed tokenId, address indexed seller, address indexed buyer, uint256 price, uint256 fee);\n    event FeeBpsUpdated(uint256 oldFeeBps, uint256 newFeeBps);\n\n    /// @param sqk_ The SQK ERC20 used for every payment.\n    /// @param squeek_ The only ERC721 collection accepted by this market.\n    /// @param vault_ The Burrow vault implementing donate(uint256).\n    /// @param initialOwner The administrator, whose sole market power is the capped fee.\n    /// @param initialFeeBps Sale fee in basis points, at most 500 (5%).\n    /// @param auctionDuration_ Immutable decay window in seconds, greater than zero.\n    constructor(\n        address sqk_,\n        address squeek_,\n        address vault_,\n        address initialOwner,\n        uint256 initialFeeBps,\n        uint256 auctionDuration_\n    ) BurrowMarketOwnable(initialOwner) {\n        if (sqk_.code.length == 0) revert InvalidContract(sqk_);\n        if (squeek_.code.length == 0) revert InvalidContract(squeek_);\n        if (vault_.code.length == 0) revert InvalidContract(vault_);\n        if (initialFeeBps > MAX_FEE_BPS) revert FeeTooHigh(initialFeeBps);\n        if (auctionDuration_ == 0) revert InvalidAuctionDuration();\n        sqk = BurrowMarketIERC20(sqk_);\n        squeek = BurrowMarketIERC721(squeek_);\n        vault = IBurrowMarketVault(vault_);\n        auctionDuration = auctionDuration_;\n        feeBps = initialFeeBps;\n        emit FeeBpsUpdated(0, initialFeeBps);\n    }\n\n    /// @notice Escrow an NFT at a fixed SQK price. Approve this market before calling.\n    function list(uint256 tokenId, uint256 price) external nonReentrant {\n        if (price == 0) revert InvalidPrice();\n        _checkCanList(tokenId);\n        listings[tokenId] = Listing(msg.sender, price, price, block.timestamp, feeBps, false);\n        emit Listed(tokenId, msg.sender, price, feeBps);\n        squeek.safeTransferFrom(msg.sender, address(this), tokenId);\n    }\n\n    /// @notice Escrow an NFT for a Dutch auction, including NFTs obtained in liquidation.\n    /// @dev The seller chooses a premium startPrice strictly above a nonzero floorPrice.\n    /// The duration is fixed for this market. An unsold NFT remains purchasable at the\n    /// floor after that window, and only its seller may cancel it.\n    function startAuction(uint256 tokenId, uint256 startPrice, uint256 floorPrice) external nonReentrant {\n        if (floorPrice == 0 || startPrice <= floorPrice) revert InvalidAuctionPrices(startPrice, floorPrice);\n        _checkCanList(tokenId);\n        listings[tokenId] = Listing(msg.sender, startPrice, floorPrice, block.timestamp, feeBps, true);\n        emit AuctionStarted(tokenId, msg.sender, startPrice, floorPrice, block.timestamp, auctionDuration, feeBps);\n        squeek.safeTransferFrom(msg.sender, address(this), tokenId);\n    }\n\n    /// @notice Cancel either type of sale and return the escrowed NFT to its seller.\n    function cancel(uint256 tokenId) external nonReentrant {\n        address seller = listings[tokenId].seller;\n        if (seller == address(0)) revert NotListed(tokenId);\n        if (seller != msg.sender) revert NotSeller(tokenId);\n        delete listings[tokenId];\n        emit Cancelled(tokenId, seller);\n        squeek.safeTransferFrom(address(this), seller, tokenId);\n    }\n\n    /// @notice Buy a fixed-price listing or auction for no more than maxPrice SQK.\n    /// @dev There is deliberately no unbounded overload: a seller could otherwise cancel\n    /// and relist at any price up to the buyer's allowance ahead of the purchase.\n    function buy(uint256 tokenId, uint256 maxPrice) external nonReentrant {\n        _buy(tokenId, maxPrice);\n    }\n\n    /// @notice Quote the current gross price, including the fee, for either sale type.\n    function currentPrice(uint256 tokenId) external view returns (uint256) {\n        Listing memory listing = listings[tokenId];\n        if (listing.seller == address(0)) revert NotListed(tokenId);\n        return _price(listing);\n    }\n\n    /// @notice Set the fee for future listings; existing sellers keep their agreed fee.\n    function setFeeBps(uint256 newFeeBps) external onlyOwner nonReentrant {\n        if (newFeeBps > MAX_FEE_BPS) revert FeeTooHigh(newFeeBps);\n        uint256 oldFeeBps = feeBps;\n        feeBps = newFeeBps;\n        emit FeeBpsUpdated(oldFeeBps, newFeeBps);\n    }\n\n    /// @dev Accept only the safe transfer initiated by list/startAuction. This callback\n    /// performs no value transfer and runs inside their nonReentrant guard. Unsolicited\n    /// safe transfers are rejected; do not send NFTs here with unsafe transferFrom.\n    function onERC721Received(address operator, address from, uint256 tokenId, bytes memory)\n        public\n        view\n        override\n        returns (bytes4)\n    {\n        if (\n            msg.sender != address(squeek) || operator != address(this) || !_reentrancyGuardEntered()\n                || from == address(0) || listings[tokenId].seller != from\n        ) revert UnexpectedNFT();\n        return BurrowMarketIERC721Receiver.onERC721Received.selector;\n    }\n\n    function _checkCanList(uint256 tokenId) private view {\n        if (listings[tokenId].seller != address(0)) revert AlreadyListed(tokenId);\n        if (squeek.ownerOf(tokenId) != msg.sender) revert NotTokenOwner(tokenId);\n    }\n\n    function _price(Listing memory listing) private view returns (uint256) {\n        if (!listing.isAuction) return listing.price;\n        uint256 elapsed = block.timestamp - listing.startedAt;\n        if (elapsed >= auctionDuration) return listing.floorPrice;\n        // Full-precision multiplication avoids overflow even for extreme prices.\n        // Round the discount down so the gross price rounds up and never undershoots.\n        return listing.price - BurrowMarketMath.mulDiv(listing.price - listing.floorPrice, elapsed, auctionDuration);\n    }\n\n    function _buy(uint256 tokenId, uint256 maxPrice) private {\n        Listing memory listing = listings[tokenId];\n        if (listing.seller == address(0)) revert NotListed(tokenId);\n        uint256 price = _price(listing);\n        if (price > maxPrice) revert PriceExceedsLimit(price, maxPrice);\n        uint256 fee = BurrowMarketMath.mulDiv(price, listing.saleFeeBps, BPS);\n\n        // Consume the listing before any token, vault or recipient callback.\n        delete listings[tokenId];\n        emit Sold(tokenId, listing.seller, msg.sender, price, fee);\n\n        uint256 balanceBefore = sqk.balanceOf(address(this));\n        sqk.safeTransferFrom(msg.sender, address(this), price);\n        uint256 balanceAfter = sqk.balanceOf(address(this));\n        if (balanceAfter < balanceBefore || balanceAfter - balanceBefore != price) revert UnexpectedSQKTransfer();\n\n        if (fee != 0) {\n            // donate pulls SQK. Approve only this fee and revoke any residual allowance.\n            sqk.forceApprove(address(vault), fee);\n            vault.donate(fee);\n            sqk.forceApprove(address(vault), 0);\n            uint256 balanceAfterDonation = sqk.balanceOf(address(this));\n            if (balanceAfterDonation > balanceAfter || balanceAfter - balanceAfterDonation != fee) {\n                revert FeeNotCollected();\n            }\n        }\n        sqk.safeTransfer(listing.seller, price - fee);\n        squeek.safeTransferFrom(address(this), msg.sender, tokenId);\n    }\n}\n\n"}},"compilation":{"language":"Solidity","compiler":"solc","compilerVersion":"0.8.26+commit.8a97fa7a","compilerSettings":{"viaIR":false,"metadata":{"appendCBOR":true,"bytecodeHash":"ipfs","useLiteralContent":false},"libraries":{},"optimizer":{"runs":1,"enabled":true},"evmVersion":"cancun","remappings":["forge-std/=/Users/loserzx/squeek/burrow-lite/lib/forge-std/src/"]},"name":"BurrowMarket","fullyQualifiedName":"src/BurrowMarket.sol:BurrowMarket"},"abi":[{"type":"constructor","inputs":[{"name":"sqk_","type":"address","internalType":"address"},{"name":"squeek_","type":"address","internalType":"address"},{"name":"vault_","type":"address","internalType":"address"},{"name":"initialOwner","type":"address","internalType":"address"},{"name":"initialFeeBps","type":"uint256","internalType":"uint256"},{"name":"auctionDuration_","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"AddressEmptyCode","type":"error","inputs":[{"name":"target","type":"address","internalType":"address"}]},{"name":"AddressInsufficientBalance","type":"error","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"name":"AlreadyListed","type":"error","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}]},{"name":"FailedInnerCall","type":"error","inputs":[]},{"name":"FeeNotCollected","type":"error","inputs":[]},{"name":"FeeTooHigh","type":"error","inputs":[{"name":"requested","type":"uint256","internalType":"uint256"}]},{"name":"InvalidAuctionDuration","type":"error","inputs":[]},{"name":"InvalidAuctionPrices","type":"error","inputs":[{"name":"startPrice","type":"uint256","internalType":"uint256"},{"name":"floorPrice","type":"uint256","internalType":"uint256"}]},{"name":"InvalidContract","type":"error","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"name":"InvalidPrice","type":"error","inputs":[]},{"name":"MathOverflowedMulDiv","type":"error","inputs":[]},{"name":"NotListed","type":"error","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}]},{"name":"NotSeller","type":"error","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}]},{"name":"NotTokenOwner","type":"error","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}]},{"name":"OwnableInvalidOwner","type":"error","inputs":[{"name":"owner","type":"address","internalType":"address"}]},{"name":"OwnableUnauthorizedAccount","type":"error","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"name":"PriceExceedsLimit","type":"error","inputs":[{"name":"price","type":"uint256","internalType":"uint256"},{"name":"maxPrice","type":"uint256","internalType":"uint256"}]},{"name":"ReentrancyGuardReentrantCall","type":"error","inputs":[]},{"name":"SafeERC20FailedOperation","type":"error","inputs":[{"name":"token","type":"address","internalType":"address"}]},{"name":"UnexpectedNFT","type":"error","inputs":[]},{"name":"UnexpectedSQKTransfer","type":"error","inputs":[]},{"name":"AuctionStarted","type":"event","inputs":[{"name":"tokenId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"seller","type":"address","indexed":true,"internalType":"address"},{"name":"startPrice","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"floorPrice","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"startedAt","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"duration","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"feeBps","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"Cancelled","type":"event","inputs":[{"name":"tokenId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"seller","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"FeeBpsUpdated","type":"event","inputs":[{"name":"oldFeeBps","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"newFeeBps","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"Listed","type":"event","inputs":[{"name":"tokenId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"seller","type":"address","indexed":true,"internalType":"address"},{"name":"price","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"feeBps","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"OwnershipTransferStarted","type":"event","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"OwnershipTransferred","type":"event","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"Sold","type":"event","inputs":[{"name":"tokenId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"seller","type":"address","indexed":true,"internalType":"address"},{"name":"buyer","type":"address","indexed":true,"internalType":"address"},{"name":"price","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"fee","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"BPS","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"MAX_FEE_BPS","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"acceptOwnership","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"auctionDuration","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"buy","type":"function","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"},{"name":"maxPrice","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"cancel","type":"function","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"currentPrice","type":"function","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"feeBps","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"list","type":"function","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"},{"name":"price","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"listings","type":"function","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"seller","type":"address","internalType":"address"},{"name":"price","type":"uint256","internalType":"uint256"},{"name":"floorPrice","type":"uint256","internalType":"uint256"},{"name":"startedAt","type":"uint256","internalType":"uint256"},{"name":"saleFeeBps","type":"uint256","internalType":"uint256"},{"name":"isAuction","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"onERC721Received","type":"function","inputs":[{"name":"operator","type":"address","internalType":"address"},{"name":"from","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"},{"name":"","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"bytes4","internalType":"bytes4"}],"stateMutability":"view"},{"name":"owner","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"pendingOwner","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"renounceOwnership","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"setFeeBps","type":"function","inputs":[{"name":"newFeeBps","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"sqk","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract BurrowMarketIERC20"}],"stateMutability":"view"},{"name":"squeek","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract BurrowMarketIERC721"}],"stateMutability":"view"},{"name":"startAuction","type":"function","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"},{"name":"startPrice","type":"uint256","internalType":"uint256"},{"name":"floorPrice","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"transferOwnership","type":"function","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"vault","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IBurrowMarketVault"}],"stateMutability":"view"}],"metadata":{"compiler":{"version":"0.8.26+commit.8a97fa7a"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"sqk_","type":"address"},{"internalType":"address","name":"squeek_","type":"address"},{"internalType":"address","name":"vault_","type":"address"},{"internalType":"address","name":"initialOwner","type":"address"},{"internalType":"uint256","name":"initialFeeBps","type":"uint256"},{"internalType":"uint256","name":"auctionDuration_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"AddressEmptyCode","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"AddressInsufficientBalance","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"AlreadyListed","type":"error"},{"inputs":[],"name":"FailedInnerCall","type":"error"},{"inputs":[],"name":"FeeNotCollected","type":"error"},{"inputs":[{"internalType":"uint256","name":"requested","type":"uint256"}],"name":"FeeTooHigh","type":"error"},{"inputs":[],"name":"InvalidAuctionDuration","type":"error"},{"inputs":[{"internalType":"uint256","name":"startPrice","type":"uint256"},{"internalType":"uint256","name":"floorPrice","type":"uint256"}],"name":"InvalidAuctionPrices","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"InvalidContract","type":"error"},{"inputs":[],"name":"InvalidPrice","type":"error"},{"inputs":[],"name":"MathOverflowedMulDiv","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"NotListed","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"NotSeller","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"NotTokenOwner","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"maxPrice","type":"uint256"}],"name":"PriceExceedsLimit","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"inputs":[],"name":"UnexpectedNFT","type":"error"},{"inputs":[],"name":"UnexpectedSQKTransfer","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"seller","type":"address"},{"indexed":false,"internalType":"uint256","name":"startPrice","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"floorPrice","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"startedAt","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"duration","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"feeBps","type":"uint256"}],"name":"AuctionStarted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"seller","type":"address"}],"name":"Cancelled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldFeeBps","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newFeeBps","type":"uint256"}],"name":"FeeBpsUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"seller","type":"address"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"feeBps","type":"uint256"}],"name":"Listed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferStarted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"seller","type":"address"},{"indexed":true,"internalType":"address","name":"buyer","type":"address"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"Sold","type":"event"},{"inputs":[],"name":"BPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FEE_BPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"auctionDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"maxPrice","type":"uint256"}],"name":"buy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"cancel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"currentPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeBps","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"}],"name":"list","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"listings","outputs":[{"internalType":"address","name":"seller","type":"address"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"floorPrice","type":"uint256"},{"internalType":"uint256","name":"startedAt","type":"uint256"},{"internalType":"uint256","name":"saleFeeBps","type":"uint256"},{"internalType":"bool","name":"isAuction","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newFeeBps","type":"uint256"}],"name":"setFeeBps","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sqk","outputs":[{"internalType":"contract BurrowMarketIERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"squeek","outputs":[{"internalType":"contract BurrowMarketIERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"startPrice","type":"uint256"},{"internalType":"uint256","name":"floorPrice","type":"uint256"}],"name":"startAuction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vault","outputs":[{"internalType":"contract IBurrowMarketVault","name":"","type":"address"}],"stateMutability":"view","type":"function"}],"devdoc":{"details":"Unaudited; intended for testnet use. All amounts are raw SQK units (18 decimals). Listings escrow the NFT until purchase or seller cancellation. Liquidation in the vault gives the collateral to the liquidator, who may then call startAuction like any other NFT owner. The market neither seizes collateral nor settles loan debt. SQK, Squeek and the fee vault are immutable, constructor-supplied contracts.","errors":{"AddressEmptyCode(address)":[{"details":"There's no code at `target` (it is not a contract)."}],"AddressInsufficientBalance(address)":[{"details":"The ETH balance of the account is not enough to perform the operation."}],"FailedInnerCall()":[{"details":"A call to an address target failed. The target may have reverted."}],"MathOverflowedMulDiv()":[{"details":"Muldiv operation overflow."}],"OwnableInvalidOwner(address)":[{"details":"The owner is not a valid owner account. (eg. `address(0)`)"}],"OwnableUnauthorizedAccount(address)":[{"details":"The caller account is not authorized to perform an operation."}],"ReentrancyGuardReentrantCall()":[{"details":"Unauthorized reentrant call."}],"SafeERC20FailedOperation(address)":[{"details":"An operation with an ERC20 token failed."}]},"kind":"dev","methods":{"acceptOwnership()":{"details":"The new owner accepts the ownership transfer."},"buy(uint256,uint256)":{"details":"There is deliberately no unbounded overload: a seller could otherwise cancel and relist at any price up to the buyer's allowance ahead of the purchase."},"constructor":{"params":{"auctionDuration_":"Immutable decay window in seconds, greater than zero.","initialFeeBps":"Sale fee in basis points, at most 500 (5%).","initialOwner":"The administrator, whose sole market power is the capped fee.","sqk_":"The SQK ERC20 used for every payment.","squeek_":"The only ERC721 collection accepted by this market.","vault_":"The Burrow vault implementing donate(uint256)."}},"onERC721Received(address,address,uint256,bytes)":{"details":"Accept only the safe transfer initiated by list/startAuction. This callback performs no value transfer and runs inside their nonReentrant guard. Unsolicited safe transfers are rejected; do not send NFTs here with unsafe transferFrom."},"owner()":{"details":"Returns the address of the current owner."},"pendingOwner()":{"details":"Returns the address of the pending owner."},"renounceOwnership()":{"details":"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner."},"startAuction(uint256,uint256,uint256)":{"details":"The seller chooses a premium startPrice strictly above a nonzero floorPrice. The duration is fixed for this market. An unsold NFT remains purchasable at the floor after that window, and only its seller may cancel it."},"transferOwnership(address)":{"details":"Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one. Can only be called by the current owner."}},"title":"BurrowMarket","version":1},"userdoc":{"kind":"user","methods":{"buy(uint256,uint256)":{"notice":"Buy a fixed-price listing or auction for no more than maxPrice SQK."},"cancel(uint256)":{"notice":"Cancel either type of sale and return the escrowed NFT to its seller."},"currentPrice(uint256)":{"notice":"Quote the current gross price, including the fee, for either sale type."},"list(uint256,uint256)":{"notice":"Escrow an NFT at a fixed SQK price. Approve this market before calling."},"setFeeBps(uint256)":{"notice":"Set the fee for future listings; existing sellers keep their agreed fee."},"startAuction(uint256,uint256,uint256)":{"notice":"Escrow an NFT for a Dutch auction, including NFTs obtained in liquidation."}},"notice":"SQK-denominated Squeek sales and Dutch auctions, with fees paid to BurrowVault.","version":1}},"settings":{"compilationTarget":{"src/BurrowMarket.sol":"BurrowMarket"},"evmVersion":"cancun","libraries":{},"metadata":{"bytecodeHash":"ipfs"},"optimizer":{"enabled":true,"runs":1},"remappings":[":forge-std/=/Users/loserzx/squeek/burrow-lite/lib/forge-std/src/"]},"sources":{"src/BurrowMarket.sol":{"keccak256":"0x5e5723e4b39698a46cbc6ffd66754ef9259ee109ff6871ad3dbe5ff2fcc41d75","license":"MIT","urls":["bzz-raw://d2e434e6e742cee973d95d9413827ef9162bfb03d5778ca3d1642629e827ea20","dweb:/ipfs/Qmc6kit2aXXc8FaA2sCX93PhsZGGxPNd2Pct8oBKkUJPBy"]}},"version":1},"storageLayout":{"types":{"t_bool":{"label":"bool","encoding":"inplace","numberOfBytes":"1"},"t_address":{"label":"address","encoding":"inplace","numberOfBytes":"20"},"t_uint256":{"label":"uint256","encoding":"inplace","numberOfBytes":"32"},"t_struct(Listing)2229_storage":{"label":"struct BurrowMarket.Listing","members":[{"slot":"0","type":"t_address","astId":2218,"label":"seller","offset":0,"contract":"src/BurrowMarket.sol:BurrowMarket"},{"slot":"1","type":"t_uint256","astId":2220,"label":"price","offset":0,"contract":"src/BurrowMarket.sol:BurrowMarket"},{"slot":"2","type":"t_uint256","astId":2222,"label":"floorPrice","offset":0,"contract":"src/BurrowMarket.sol:BurrowMarket"},{"slot":"3","type":"t_uint256","astId":2224,"label":"startedAt","offset":0,"contract":"src/BurrowMarket.sol:BurrowMarket"},{"slot":"4","type":"t_uint256","astId":2226,"label":"saleFeeBps","offset":0,"contract":"src/BurrowMarket.sol:BurrowMarket"},{"slot":"5","type":"t_bool","astId":2228,"label":"isAuction","offset":0,"contract":"src/BurrowMarket.sol:BurrowMarket"}],"encoding":"inplace","numberOfBytes":"192"},"t_mapping(t_uint256,t_struct(Listing)2229_storage)":{"key":"t_uint256","label":"mapping(uint256 => struct BurrowMarket.Listing)","value":"t_struct(Listing)2229_storage","encoding":"mapping","numberOfBytes":"32"}},"storage":[{"slot":"0","type":"t_address","astId":34,"label":"_owner","offset":0,"contract":"src/BurrowMarket.sol:BurrowMarket"},{"slot":"1","type":"t_address","astId":178,"label":"_pendingOwner","offset":0,"contract":"src/BurrowMarket.sol:BurrowMarket"},{"slot":"2","type":"t_uint256","astId":264,"label":"_status","offset":0,"contract":"src/BurrowMarket.sol:BurrowMarket"},{"slot":"3","type":"t_uint256","astId":2216,"label":"feeBps","offset":0,"contract":"src/BurrowMarket.sol:BurrowMarket"},{"slot":"4","type":"t_mapping(t_uint256,t_struct(Listing)2229_storage)","astId":2234,"label":"listings","offset":0,"contract":"src/BurrowMarket.sol:BurrowMarket"}]},"transientStorageLayout":null,"userdoc":{"kind":"user","notice":"SQK-denominated Squeek sales and Dutch auctions, with fees paid to BurrowVault.","methods":{"cancel(uint256)":{"notice":"Cancel either type of sale and return the escrowed NFT to its seller."},"setFeeBps(uint256)":{"notice":"Set the fee for future listings; existing sellers keep their agreed fee."},"buy(uint256,uint256)":{"notice":"Buy a fixed-price listing or auction for no more than maxPrice SQK."},"currentPrice(uint256)":{"notice":"Quote the current gross price, including the fee, for either sale type."},"list(uint256,uint256)":{"notice":"Escrow an NFT at a fixed SQK price. Approve this market before calling."},"startAuction(uint256,uint256,uint256)":{"notice":"Escrow an NFT for a Dutch auction, including NFTs obtained in liquidation."}},"version":1},"devdoc":{"kind":"dev","title":"BurrowMarket","errors":{"FailedInnerCall()":[{"details":"A call to an address target failed. The target may have reverted."}],"MathOverflowedMulDiv()":[{"details":"Muldiv operation overflow."}],"AddressEmptyCode(address)":[{"details":"There's no code at `target` (it is not a contract)."}],"OwnableInvalidOwner(address)":[{"details":"The owner is not a valid owner account. (eg. `address(0)`)"}],"ReentrancyGuardReentrantCall()":[{"details":"Unauthorized reentrant call."}],"SafeERC20FailedOperation(address)":[{"details":"An operation with an ERC20 token failed."}],"AddressInsufficientBalance(address)":[{"details":"The ETH balance of the account is not enough to perform the operation."}],"OwnableUnauthorizedAccount(address)":[{"details":"The caller account is not authorized to perform an operation."}]},"details":"Unaudited; intended for testnet use. All amounts are raw SQK units (18 decimals). Listings escrow the NFT until purchase or seller cancellation. Liquidation in the vault gives the collateral to the liquidator, who may then call startAuction like any other NFT owner. The market neither seizes collateral nor settles loan debt. SQK, Squeek and the fee vault are immutable, constructor-supplied contracts.","methods":{"owner()":{"details":"Returns the address of the current owner."},"constructor":{"params":{"sqk_":"The SQK ERC20 used for every payment.","vault_":"The Burrow vault implementing donate(uint256).","squeek_":"The only ERC721 collection accepted by this market.","initialOwner":"The administrator, whose sole market power is the capped fee.","initialFeeBps":"Sale fee in basis points, at most 500 (5%).","auctionDuration_":"Immutable decay window in seconds, greater than zero."}},"pendingOwner()":{"details":"Returns the address of the pending owner."},"acceptOwnership()":{"details":"The new owner accepts the ownership transfer."},"renounceOwnership()":{"details":"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner."},"buy(uint256,uint256)":{"details":"There is deliberately no unbounded overload: a seller could otherwise cancel and relist at any price up to the buyer's allowance ahead of the purchase."},"transferOwnership(address)":{"details":"Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one. Can only be called by the current owner."},"startAuction(uint256,uint256,uint256)":{"details":"The seller chooses a premium startPrice strictly above a nonzero floorPrice. The duration is fixed for this market. An unsold NFT remains purchasable at the floor after that window, and only its seller may cancel it."},"onERC721Received(address,address,uint256,bytes)":{"details":"Accept only the safe transfer initiated by list/startAuction. This callback performs no value transfer and runs inside their nonReentrant guard. Unsolicited safe transfers are rejected; do not send NFTs here with unsafe transferFrom."}},"version":1},"sourceIds":{"src/BurrowMarket.sol":{"id":0}},"additionalInput":null,"stdJsonInput":{"sources":{"src/BurrowMarket.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.26;\n\n/*\n * Bundled OpenZeppelin Contracts v5.0.2 dependencies, from\n * https://github.com/OpenZeppelin/openzeppelin-contracts/tree/v5.0.2\n * Kept in this file so the single-file deliverable builds without downloads.\n * Only imports/pragmas are removed and top-level symbols are prefixed with\n * BurrowMarket to avoid collisions with dependencies in other protocol files.\n * The original library logic and documentation are retained below.\n *\n * The MIT License (MIT)\n *\n * Copyright (c) 2016-2023 zOS Global Limited and contributors\n * Permission is hereby granted, free of charge, to any person obtaining\n * a copy of this software and associated documentation files (the\n * \"Software\"), to deal in the Software without restriction, including\n * without limitation the rights to use, copy, modify, merge, publish,\n * distribute, sublicense, and/or sell copies of the Software, and to\n * permit persons to whom the Software is furnished to do so, subject to\n * the following conditions:\n * The above copyright notice and this permission notice shall be included\n * in all copies or substantial portions of the Software.\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\n * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\n * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\n * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n */\n\n// OpenZeppelin v5.0.2: contracts/utils/Context.sol\n// OpenZeppelin Contracts (last updated v5.0.1) (utils/BurrowMarketContext.sol)\n\n/**\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract BurrowMarketContext {\n    function _msgSender() internal view virtual returns (address) {\n        return msg.sender;\n    }\n\n    function _msgData() internal view virtual returns (bytes calldata) {\n        return msg.data;\n    }\n\n    function _contextSuffixLength() internal view virtual returns (uint256) {\n        return 0;\n    }\n}\n\n// OpenZeppelin v5.0.2: contracts/access/Ownable.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (access/BurrowMarketOwnable.sol)\n\n/**\n * @dev Contract module which provides a basic access control mechanism, where\n * there is an account (an owner) that can be granted exclusive access to\n * specific functions.\n *\n * The initial owner is set to the address provided by the deployer. This can\n * later be changed with {transferOwnership}.\n *\n * This module is used through inheritance. It will make available the modifier\n * `onlyOwner`, which can be applied to your functions to restrict their use to\n * the owner.\n */\nabstract contract BurrowMarketOwnable is BurrowMarketContext {\n    address private _owner;\n    /**\n     * @dev The caller account is not authorized to perform an operation.\n     */\n    error OwnableUnauthorizedAccount(address account);\n\n    /**\n     * @dev The owner is not a valid owner account. (eg. `address(0)`)\n     */\n    error OwnableInvalidOwner(address owner);\n\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n    /**\n     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.\n     */\n    constructor(address initialOwner) {\n        if (initialOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\n        _transferOwnership(initialOwner);\n    }\n\n    /**\n     * @dev Throws if called by any account other than the owner.\n     */\n    modifier onlyOwner() {\n        _checkOwner();\n        _;\n    }\n\n    /**\n     * @dev Returns the address of the current owner.\n     */\n    function owner() public view virtual returns (address) {\n        return _owner;\n    }\n\n    /**\n     * @dev Throws if the sender is not the owner.\n     */\n    function _checkOwner() internal view virtual {\n        if (owner() != _msgSender()) {\n            revert OwnableUnauthorizedAccount(_msgSender());\n        }\n    }\n\n    /**\n     * @dev Leaves the contract without owner. It will not be possible to call\n     * `onlyOwner` functions. Can only be called by the current owner.\n     *\n     * NOTE: Renouncing ownership will leave the contract without an owner,\n     * thereby disabling any functionality that is only available to the owner.\n     */\n    function renounceOwnership() public virtual onlyOwner {\n        _transferOwnership(address(0));\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Can only be called by the current owner.\n     */\n    function transferOwnership(address newOwner) public virtual onlyOwner {\n        if (newOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\n        _transferOwnership(newOwner);\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Internal function without access restriction.\n     */\n    function _transferOwnership(address newOwner) internal virtual {\n        address oldOwner = _owner;\n        _owner = newOwner;\n        emit OwnershipTransferred(oldOwner, newOwner);\n    }\n}\n\n// OpenZeppelin v5.0.2: contracts/access/Ownable2Step.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (access/BurrowMarketOwnable2Step.sol)\n\n/**\n * @dev Contract module which provides access control mechanism, where\n * there is an account (an owner) that can be granted exclusive access to\n * specific functions.\n *\n * The initial owner is specified at deployment time in the constructor for `BurrowMarketOwnable`. This\n * can later be changed with {transferOwnership} and {acceptOwnership}.\n *\n * This module is used through inheritance. It will make available all functions\n * from parent (BurrowMarketOwnable).\n */\nabstract contract BurrowMarketOwnable2Step is BurrowMarketOwnable {\n    address private _pendingOwner;\n    event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner);\n\n    /**\n     * @dev Returns the address of the pending owner.\n     */\n    function pendingOwner() public view virtual returns (address) {\n        return _pendingOwner;\n    }\n\n    /**\n     * @dev Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one.\n     * Can only be called by the current owner.\n     */\n    function transferOwnership(address newOwner) public virtual override onlyOwner {\n        _pendingOwner = newOwner;\n        emit OwnershipTransferStarted(owner(), newOwner);\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`) and deletes any pending owner.\n     * Internal function without access restriction.\n     */\n    function _transferOwnership(address newOwner) internal virtual override {\n        delete _pendingOwner;\n        super._transferOwnership(newOwner);\n    }\n\n    /**\n     * @dev The new owner accepts the ownership transfer.\n     */\n    function acceptOwnership() public virtual {\n        address sender = _msgSender();\n        if (pendingOwner() != sender) {\n            revert OwnableUnauthorizedAccount(sender);\n        }\n        _transferOwnership(sender);\n    }\n}\n\n// OpenZeppelin v5.0.2: contracts/utils/ReentrancyGuard.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/BurrowMarketReentrancyGuard.sol)\n\n/**\n * @dev Contract module that helps prevent reentrant calls to a function.\n *\n * Inheriting from `BurrowMarketReentrancyGuard` will make the {nonReentrant} modifier\n * available, which can be applied to functions to make sure there are no nested\n * (reentrant) calls to them.\n *\n * Note that because there is a single `nonReentrant` guard, functions marked as\n * `nonReentrant` may not call one another. This can be worked around by making\n * those functions `private`, and then adding `external` `nonReentrant` entry\n * points to them.\n *\n * TIP: If you would like to learn more about reentrancy and alternative ways\n * to protect against it, check out our blog post\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\n */\nabstract contract BurrowMarketReentrancyGuard {\n    // Booleans are more expensive than uint256 or any type that takes up a full\n    // word because each write operation emits an extra SLOAD to first read the\n    // slot's contents, replace the bits taken up by the boolean, and then write\n    // back. This is the compiler's defense against contract upgrades and\n    // pointer aliasing, and it cannot be disabled.\n    // The values being non-zero value makes deployment a bit more expensive,\n    // but in exchange the refund on every call to nonReentrant will be lower in\n    // amount. Since refunds are capped to a percentage of the total\n    // transaction's gas, it is best to keep them low in cases like this one, to\n    // increase the likelihood of the full refund coming into effect.\n    uint256 private constant NOT_ENTERED = 1;\n    uint256 private constant ENTERED = 2;\n\n    uint256 private _status;\n    /**\n     * @dev Unauthorized reentrant call.\n     */\n    error ReentrancyGuardReentrantCall();\n\n    constructor() {\n        _status = NOT_ENTERED;\n    }\n    /**\n     * @dev Prevents a contract from calling itself, directly or indirectly.\n     * Calling a `nonReentrant` function from another `nonReentrant`\n     * function is not supported. It is possible to prevent this from happening\n     * by making the `nonReentrant` function external, and making it call a\n     * `private` function that does the actual work.\n     */\n    modifier nonReentrant() {\n        _nonReentrantBefore();\n        _;\n        _nonReentrantAfter();\n    }\n\n    function _nonReentrantBefore() private {\n        // On the first call to nonReentrant, _status will be NOT_ENTERED\n        if (_status == ENTERED) {\n            revert ReentrancyGuardReentrantCall();\n        }\n\n        // Any calls to nonReentrant after this point will fail\n        _status = ENTERED;\n    }\n\n    function _nonReentrantAfter() private {\n        // By storing the original value once again, a refund is triggered (see\n        // https://eips.ethereum.org/EIPS/eip-2200)\n        _status = NOT_ENTERED;\n    }\n\n    /**\n     * @dev Returns true if the reentrancy guard is currently set to \"entered\", which indicates there is a\n     * `nonReentrant` function in the call stack.\n     */\n    function _reentrancyGuardEntered() internal view returns (bool) {\n        return _status == ENTERED;\n    }\n}\n\n// OpenZeppelin v5.0.2: contracts/utils/introspection/IERC165.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/BurrowMarketIERC165.sol)\n\n/**\n * @dev Interface of the ERC165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\n *\n * Implementers can declare support of contract interfaces, which can then be\n * queried by others ({ERC165Checker}).\n *\n * For an implementation, see {ERC165}.\n */\ninterface BurrowMarketIERC165 {\n    /**\n     * @dev Returns true if this contract implements the interface defined by\n     * `interfaceId`. See the corresponding\n     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n     * to learn more about how these ids are created.\n     *\n     * This function call must use less than 30 000 gas.\n     */\n    function supportsInterface(bytes4 interfaceId) external view returns (bool);\n}\n\n// OpenZeppelin v5.0.2: contracts/token/ERC721/IERC721Receiver.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/BurrowMarketIERC721Receiver.sol)\n\n/**\n * @title ERC721 token receiver interface\n * @dev Interface for any contract that wants to support safeTransfers\n * from ERC721 asset contracts.\n */\ninterface BurrowMarketIERC721Receiver {\n    /**\n     * @dev Whenever an {BurrowMarketIERC721} `tokenId` token is transferred to this contract via {BurrowMarketIERC721-safeTransferFrom}\n     * by `operator` from `from`, this function is called.\n     *\n     * It must return its Solidity selector to confirm the token transfer.\n     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be\n     * reverted.\n     *\n     * The selector can be obtained in Solidity with `BurrowMarketIERC721Receiver.onERC721Received.selector`.\n     */\n    function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data)\n        external\n        returns (bytes4);\n}\n\n// OpenZeppelin v5.0.2: contracts/token/ERC721/utils/ERC721Holder.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/utils/BurrowMarketERC721Holder.sol)\n\n/**\n * @dev Implementation of the {BurrowMarketIERC721Receiver} interface.\n *\n * Accepts all token transfers.\n * Make sure the contract is able to use its token with {BurrowMarketIERC721-safeTransferFrom}, {BurrowMarketIERC721-approve} or\n * {BurrowMarketIERC721-setApprovalForAll}.\n */\nabstract contract BurrowMarketERC721Holder is BurrowMarketIERC721Receiver {\n    /**\n     * @dev See {BurrowMarketIERC721Receiver-onERC721Received}.\n     *\n     * Always returns `BurrowMarketIERC721Receiver.onERC721Received.selector`.\n     */\n    function onERC721Received(address, address, uint256, bytes memory) public virtual returns (bytes4) {\n        return this.onERC721Received.selector;\n    }\n}\n\n// OpenZeppelin v5.0.2: contracts/token/ERC721/IERC721.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/BurrowMarketIERC721.sol)\n\n/**\n * @dev Required interface of an ERC721 compliant contract.\n */\ninterface BurrowMarketIERC721 is BurrowMarketIERC165 {\n    /**\n     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\n     */\n    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\n    /**\n     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\n     */\n    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\n\n    /**\n     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\n     */\n    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\n    /**\n     * @dev Returns the number of tokens in ``owner``'s account.\n     */\n    function balanceOf(address owner) external view returns (uint256 balance);\n\n    /**\n     * @dev Returns the owner of the `tokenId` token.\n     *\n     * Requirements:\n     *\n     * - `tokenId` must exist.\n     */\n    function ownerOf(uint256 tokenId) external view returns (address owner);\n    /**\n     * @dev Safely transfers `tokenId` token from `from` to `to`.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must exist and be owned by `from`.\n     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n     * - If `to` refers to a smart contract, it must implement {BurrowMarketIERC721Receiver-onERC721Received}, which is called upon\n     *   a safe transfer.\n     *\n     * Emits a {Transfer} event.\n     */\n    function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;\n    /**\n     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n     * are aware of the ERC721 protocol to prevent tokens from being forever locked.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must exist and be owned by `from`.\n     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or\n     *   {setApprovalForAll}.\n     * - If `to` refers to a smart contract, it must implement {BurrowMarketIERC721Receiver-onERC721Received}, which is called upon\n     *   a safe transfer.\n     *\n     * Emits a {Transfer} event.\n     */\n    function safeTransferFrom(address from, address to, uint256 tokenId) external;\n    /**\n     * @dev Transfers `tokenId` token from `from` to `to`.\n     *\n     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721\n     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must\n     * understand this adds an external call which potentially creates a reentrancy vulnerability.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must be owned by `from`.\n     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transferFrom(address from, address to, uint256 tokenId) external;\n    /**\n     * @dev Gives permission to `to` to transfer `tokenId` token to another account.\n     * The approval is cleared when the token is transferred.\n     *\n     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n     *\n     * Requirements:\n     *\n     * - The caller must own the token or be an approved operator.\n     * - `tokenId` must exist.\n     *\n     * Emits an {Approval} event.\n     */\n    function approve(address to, uint256 tokenId) external;\n    /**\n     * @dev Approve or remove `operator` as an operator for the caller.\n     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n     *\n     * Requirements:\n     *\n     * - The `operator` cannot be the address zero.\n     *\n     * Emits an {ApprovalForAll} event.\n     */\n    function setApprovalForAll(address operator, bool approved) external;\n    /**\n     * @dev Returns the account approved for `tokenId` token.\n     *\n     * Requirements:\n     *\n     * - `tokenId` must exist.\n     */\n    function getApproved(uint256 tokenId) external view returns (address operator);\n\n    /**\n     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n     *\n     * See {setApprovalForAll}\n     */\n    function isApprovedForAll(address owner, address operator) external view returns (bool);\n}\n\n// OpenZeppelin v5.0.2: contracts/token/ERC20/IERC20.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/BurrowMarketIERC20.sol)\n\n/**\n * @dev Interface of the ERC20 standard as defined in the EIP.\n */\ninterface BurrowMarketIERC20 {\n    /**\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\n     * another (`to`).\n     *\n     * Note that `value` may be zero.\n     */\n    event Transfer(address indexed from, address indexed to, uint256 value);\n    /**\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\n     * a call to {approve}. `value` is the new allowance.\n     */\n    event Approval(address indexed owner, address indexed spender, uint256 value);\n\n    /**\n     * @dev Returns the value of tokens in existence.\n     */\n    function totalSupply() external view returns (uint256);\n    /**\n     * @dev Returns the value of tokens owned by `account`.\n     */\n    function balanceOf(address account) external view returns (uint256);\n\n    /**\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transfer(address to, uint256 value) external returns (bool);\n    /**\n     * @dev Returns the remaining number of tokens that `spender` will be\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\n     * zero by default.\n     *\n     * This value changes when {approve} or {transferFrom} are called.\n     */\n    function allowance(address owner, address spender) external view returns (uint256);\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\n     * that someone may use both the old and the new allowance by unfortunate\n     * transaction ordering. One possible solution to mitigate this race\n     * condition is to first reduce the spender's allowance to 0 and set the\n     * desired value afterwards:\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n     *\n     * Emits an {Approval} event.\n     */\n    function approve(address spender, uint256 value) external returns (bool);\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the\n     * allowance mechanism. `value` is then deducted from the caller's\n     * allowance.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transferFrom(address from, address to, uint256 value) external returns (bool);\n}\n\n// OpenZeppelin v5.0.2: contracts/token/ERC20/extensions/IERC20Permit.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/BurrowMarketIERC20Permit.sol)\n\n/**\n * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in\n * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].\n *\n * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {BurrowMarketIERC20-allowance}) by\n * presenting a message signed by the account. By not relying on {BurrowMarketIERC20-approve}, the token holder account doesn't\n * need to send a transaction, and thus is not required to hold Ether at all.\n *\n * ==== Security Considerations\n *\n * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature\n * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be\n * considered as an intention to spend the allowance in any specific way. The second is that because permits have\n * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should\n * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be\n * generally recommended is:\n *\n * ```solidity\n * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {\n *     try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}\n *     doThing(..., value);\n * }\n *\n * function doThing(..., uint256 value) public {\n *     token.safeTransferFrom(msg.sender, address(this), value);\n *     ...\n * }\n * ```\n *\n * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of\n * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also\n * {BurrowMarketSafeERC20-safeTransferFrom}).\n *\n * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so\n * contracts should have entry points that don't rely on permit.\n */\ninterface BurrowMarketIERC20Permit {\n    /**\n     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,\n     * given ``owner``'s signed approval.\n     *\n     * IMPORTANT: The same issues {BurrowMarketIERC20-approve} has related to transaction\n     * ordering also apply here.\n     *\n     * Emits an {Approval} event.\n     *\n     * Requirements:\n     *\n     * - `spender` cannot be the zero address.\n     * - `deadline` must be a timestamp in the future.\n     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`\n     * over the EIP712-formatted function arguments.\n     * - the signature must use ``owner``'s current nonce (see {nonces}).\n     *\n     * For more information on the signature format, see the\n     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP\n     * section].\n     *\n     * CAUTION: See Security Considerations above.\n     */\n    function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s)\n        external;\n    /**\n     * @dev Returns the current nonce for `owner`. This value must be\n     * included whenever a signature is generated for {permit}.\n     *\n     * Every successful call to {permit} increases ``owner``'s nonce by one. This\n     * prevents a signature from being used multiple times.\n     */\n    function nonces(address owner) external view returns (uint256);\n    /**\n     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.\n     */\n    // solhint-disable-next-line func-name-mixedcase\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\n}\n\n// OpenZeppelin v5.0.2: contracts/utils/Address.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/BurrowMarketAddress.sol)\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary BurrowMarketAddress {\n    /**\n     * @dev The ETH balance of the account is not enough to perform the operation.\n     */\n    error AddressInsufficientBalance(address account);\n\n    /**\n     * @dev There's no code at `target` (it is not a contract).\n     */\n    error AddressEmptyCode(address target);\n    /**\n     * @dev A call to an address target failed. The target may have reverted.\n     */\n    error FailedInnerCall();\n\n    /**\n     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n     * `recipient`, forwarding all available gas and reverting on errors.\n     *\n     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n     * of certain opcodes, possibly making contracts go over the 2300 gas limit\n     * imposed by `transfer`, making them unable to receive funds via\n     * `transfer`. {sendValue} removes this limitation.\n     *\n     * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n     *\n     * IMPORTANT: because control is transferred to `recipient`, care must be\n     * taken to not create reentrancy vulnerabilities. Consider using\n     * {BurrowMarketReentrancyGuard} or the\n     * https://solidity.readthedocs.io/en/v0.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n     */\n    function sendValue(address payable recipient, uint256 amount) internal {\n        if (address(this).balance < amount) {\n            revert AddressInsufficientBalance(address(this));\n        }\n        (bool success,) = recipient.call{value: amount}(\"\");\n        if (!success) {\n            revert FailedInnerCall();\n        }\n    }\n\n    /**\n     * @dev Performs a Solidity function call using a low level `call`. A\n     * plain `call` is an unsafe replacement for a function call: use this\n     * function instead.\n     *\n     * If `target` reverts with a revert reason or custom error, it is bubbled\n     * up by this function (like regular Solidity function calls). However, if\n     * the call reverted with no returned reason, this function reverts with a\n     * {FailedInnerCall} error.\n     *\n     * Returns the raw returned data. To convert to the expected return value,\n     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n     *\n     * Requirements:\n     *\n     * - `target` must be a contract.\n     * - calling `target` with `data` must not revert.\n     */\n    function functionCall(address target, bytes memory data) internal returns (bytes memory) {\n        return functionCallWithValue(target, data, 0);\n    }\n\n    /**\n     * @dev Same as {xref-BurrowMarketAddress-functionCall-address-bytes-}[`functionCall`],\n     * but also transferring `value` wei to `target`.\n     *\n     * Requirements:\n     *\n     * - the calling contract must have an ETH balance of at least `value`.\n     * - the called Solidity function must be `payable`.\n     */\n    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\n        if (address(this).balance < value) {\n            revert AddressInsufficientBalance(address(this));\n        }\n        (bool success, bytes memory returndata) = target.call{value: value}(data);\n        return verifyCallResultFromTarget(target, success, returndata);\n    }\n\n    /**\n     * @dev Same as {xref-BurrowMarketAddress-functionCall-address-bytes-}[`functionCall`],\n     * but performing a static call.\n     */\n    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\n        (bool success, bytes memory returndata) = target.staticcall(data);\n        return verifyCallResultFromTarget(target, success, returndata);\n    }\n\n    /**\n     * @dev Same as {xref-BurrowMarketAddress-functionCall-address-bytes-}[`functionCall`],\n     * but performing a delegate call.\n     */\n    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\n        (bool success, bytes memory returndata) = target.delegatecall(data);\n        return verifyCallResultFromTarget(target, success, returndata);\n    }\n\n    /**\n     * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target\n     * was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an\n     * unsuccessful call.\n     */\n    function verifyCallResultFromTarget(address target, bool success, bytes memory returndata)\n        internal\n        view\n        returns (bytes memory)\n    {\n        if (!success) {\n            _revert(returndata);\n        } else {\n            // only check if target is a contract if the call was successful and the return data is empty\n            // otherwise we already know that it was a contract\n            if (returndata.length == 0 && target.code.length == 0) {\n                revert AddressEmptyCode(target);\n            }\n            return returndata;\n        }\n    }\n\n    /**\n     * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the\n     * revert reason or with a default {FailedInnerCall} error.\n     */\n    function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {\n        if (!success) {\n            _revert(returndata);\n        } else {\n            return returndata;\n        }\n    }\n\n    /**\n     * @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}.\n     */\n    function _revert(bytes memory returndata) private pure {\n        // Look for revert reason and bubble it up if present\n        if (returndata.length > 0) {\n            // The easiest way to bubble the revert reason is using memory via assembly\n            /// @solidity memory-safe-assembly\n            assembly {\n                let returndata_size := mload(returndata)\n                revert(add(32, returndata), returndata_size)\n            }\n        } else {\n            revert FailedInnerCall();\n        }\n    }\n}\n\n// OpenZeppelin v5.0.2: contracts/token/ERC20/utils/SafeERC20.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/utils/BurrowMarketSafeERC20.sol)\n\n/**\n * @title BurrowMarketSafeERC20\n * @dev Wrappers around ERC20 operations that throw on failure (when the token\n * contract returns false). Tokens that return no value (and instead revert or\n * throw on failure) are also supported, non-reverting calls are assumed to be\n * successful.\n * To use this library you can add a `using BurrowMarketSafeERC20 for BurrowMarketIERC20;` statement to your contract,\n * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.\n */\nlibrary BurrowMarketSafeERC20 {\n    using BurrowMarketAddress for address;\n    /**\n     * @dev An operation with an ERC20 token failed.\n     */\n    error SafeERC20FailedOperation(address token);\n\n    /**\n     * @dev Indicates a failed `decreaseAllowance` request.\n     */\n    error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);\n\n    /**\n     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful.\n     */\n    function safeTransfer(BurrowMarketIERC20 token, address to, uint256 value) internal {\n        _callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value)));\n    }\n\n    /**\n     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the\n     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.\n     */\n    function safeTransferFrom(BurrowMarketIERC20 token, address from, address to, uint256 value) internal {\n        _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value)));\n    }\n\n    /**\n     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful.\n     */\n    function safeIncreaseAllowance(BurrowMarketIERC20 token, address spender, uint256 value) internal {\n        uint256 oldAllowance = token.allowance(address(this), spender);\n        forceApprove(token, spender, oldAllowance + value);\n    }\n\n    /**\n     * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no\n     * value, non-reverting calls are assumed to be successful.\n     */\n    function safeDecreaseAllowance(BurrowMarketIERC20 token, address spender, uint256 requestedDecrease) internal {\n        unchecked {\n            uint256 currentAllowance = token.allowance(address(this), spender);\n            if (currentAllowance < requestedDecrease) {\n                revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);\n            }\n            forceApprove(token, spender, currentAllowance - requestedDecrease);\n        }\n    }\n\n    /**\n     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval\n     * to be set to zero before setting it to a non-zero value, such as USDT.\n     */\n    function forceApprove(BurrowMarketIERC20 token, address spender, uint256 value) internal {\n        bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value));\n        if (!_callOptionalReturnBool(token, approvalCall)) {\n            _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0)));\n            _callOptionalReturn(token, approvalCall);\n        }\n    }\n\n    /**\n     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\n     * on the return value: the return value is optional (but if data is returned, it must not be false).\n     * @param token The token targeted by the call.\n     * @param data The call data (encoded using abi.encode or one of its variants).\n     */\n    function _callOptionalReturn(BurrowMarketIERC20 token, bytes memory data) private {\n        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\n        // we're implementing it ourselves. We use {BurrowMarketAddress-functionCall} to perform this call, which verifies that\n        // the target address contains contract code and also asserts for success in the low-level call.\n        bytes memory returndata = address(token).functionCall(data);\n        if (returndata.length != 0 && !abi.decode(returndata, (bool))) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\n     * on the return value: the return value is optional (but if data is returned, it must not be false).\n     * @param token The token targeted by the call.\n     * @param data The call data (encoded using abi.encode or one of its variants).\n     *\n     * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.\n     */\n    function _callOptionalReturnBool(BurrowMarketIERC20 token, bytes memory data) private returns (bool) {\n        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\n        // we're implementing it ourselves. We cannot use {BurrowMarketAddress-functionCall} here since this should return false\n        // and not revert is the subcall reverts.\n        (bool success, bytes memory returndata) = address(token).call(data);\n        return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && address(token).code.length > 0;\n    }\n}\n\n// OpenZeppelin v5.0.2: contracts/utils/math/Math.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/BurrowMarketMath.sol)\n\n/**\n * @dev Standard math utilities missing in the Solidity language.\n */\nlibrary BurrowMarketMath {\n    /**\n     * @dev Muldiv operation overflow.\n     */\n    error MathOverflowedMulDiv();\n\n    enum Rounding {\n        Floor, // Toward negative infinity\n        Ceil, // Toward positive infinity\n        Trunc, // Toward zero\n        Expand // Away from zero\n    }\n\n    /**\n     * @dev Returns the addition of two unsigned integers, with an overflow flag.\n     */\n    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n        unchecked {\n            uint256 c = a + b;\n            if (c < a) return (false, 0);\n            return (true, c);\n        }\n    }\n\n    /**\n     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.\n     */\n    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n        unchecked {\n            if (b > a) return (false, 0);\n            return (true, a - b);\n        }\n    }\n\n    /**\n     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n     */\n    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n        unchecked {\n            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\n            // benefit is lost if 'b' is also tested.\n            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\n            if (a == 0) return (true, 0);\n            uint256 c = a * b;\n            if (c / a != b) return (false, 0);\n            return (true, c);\n        }\n    }\n\n    /**\n     * @dev Returns the division of two unsigned integers, with a division by zero flag.\n     */\n    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n        unchecked {\n            if (b == 0) return (false, 0);\n            return (true, a / b);\n        }\n    }\n\n    /**\n     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n     */\n    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n        unchecked {\n            if (b == 0) return (false, 0);\n            return (true, a % b);\n        }\n    }\n\n    /**\n     * @dev Returns the largest of two numbers.\n     */\n    function max(uint256 a, uint256 b) internal pure returns (uint256) {\n        return a > b ? a : b;\n    }\n\n    /**\n     * @dev Returns the smallest of two numbers.\n     */\n    function min(uint256 a, uint256 b) internal pure returns (uint256) {\n        return a < b ? a : b;\n    }\n\n    /**\n     * @dev Returns the average of two numbers. The result is rounded towards\n     * zero.\n     */\n    function average(uint256 a, uint256 b) internal pure returns (uint256) {\n        // (a + b) / 2 can overflow.\n        return (a & b) + (a ^ b) / 2;\n    }\n\n    /**\n     * @dev Returns the ceiling of the division of two numbers.\n     *\n     * This differs from standard division with `/` in that it rounds towards infinity instead\n     * of rounding towards zero.\n     */\n    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {\n        if (b == 0) {\n            // Guarantee the same behavior as in a regular Solidity division.\n            return a / b;\n        }\n        // (a + b - 1) / b can overflow on addition, so we distribute.\n        return a == 0 ? 0 : (a - 1) / b + 1;\n    }\n\n    /**\n     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or\n     * denominator == 0.\n     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by\n     * Uniswap Labs also under MIT license.\n     */\n    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {\n        unchecked {\n            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use\n            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256\n            // variables such that product = prod1 * 2^256 + prod0.\n            uint256 prod0 = x * y; // Least significant 256 bits of the product\n            uint256 prod1; // Most significant 256 bits of the product\n            assembly {\n                let mm := mulmod(x, y, not(0))\n                prod1 := sub(sub(mm, prod0), lt(mm, prod0))\n            }\n            // Handle non-overflow cases, 256 by 256 division.\n            if (prod1 == 0) {\n                // Solidity will revert if denominator == 0, unlike the div opcode on its own.\n                // The surrounding unchecked block does not change this fact.\n                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.\n                return prod0 / denominator;\n            }\n            // Make sure the result is less than 2^256. Also prevents denominator == 0.\n            if (denominator <= prod1) {\n                revert MathOverflowedMulDiv();\n            }\n\n            ///////////////////////////////////////////////\n            // 512 by 256 division.\n            ///////////////////////////////////////////////\n            // Make division exact by subtracting the remainder from [prod1 prod0].\n            uint256 remainder;\n            assembly {\n                // Compute remainder using mulmod.\n                remainder := mulmod(x, y, denominator)\n\n                // Subtract 256 bit number from 512 bit number.\n                prod1 := sub(prod1, gt(remainder, prod0))\n                prod0 := sub(prod0, remainder)\n            }\n            // Factor powers of two out of denominator and compute largest power of two divisor of denominator.\n            // Always >= 1. See https://cs.stackexchange.com/q/138556/92363.\n\n            uint256 twos = denominator & (0 - denominator);\n            assembly {\n                // Divide denominator by twos.\n                denominator := div(denominator, twos)\n\n                // Divide [prod1 prod0] by twos.\n                prod0 := div(prod0, twos)\n                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.\n                twos := add(div(sub(0, twos), twos), 1)\n            }\n\n            // Shift in bits from prod1 into prod0.\n            prod0 |= prod1 * twos;\n            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such\n            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for\n            // four bits. That is, denominator * inv = 1 mod 2^4.\n            uint256 inverse = (3 * denominator) ^ 2;\n            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also\n            // works in modular arithmetic, doubling the correct bits in each step.\n            inverse *= 2 - denominator * inverse; // inverse mod 2^8\n            inverse *= 2 - denominator * inverse; // inverse mod 2^16\n            inverse *= 2 - denominator * inverse; // inverse mod 2^32\n            inverse *= 2 - denominator * inverse; // inverse mod 2^64\n            inverse *= 2 - denominator * inverse; // inverse mod 2^128\n            inverse *= 2 - denominator * inverse; // inverse mod 2^256\n            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.\n            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is\n            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1\n            // is no longer required.\n            result = prod0 * inverse;\n            return result;\n        }\n    }\n\n    /**\n     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.\n     */\n    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {\n        uint256 result = mulDiv(x, y, denominator);\n        if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) {\n            result += 1;\n        }\n        return result;\n    }\n\n    /**\n     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded\n     * towards zero.\n     *\n     * Inspired by Henry S. Warren, Jr.'s \"Hacker's Delight\" (Chapter 11).\n     */\n    function sqrt(uint256 a) internal pure returns (uint256) {\n        if (a == 0) {\n            return 0;\n        }\n        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.\n        //\n        // We know that the \"msb\" (most significant bit) of our target number `a` is a power of 2 such that we have\n        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.\n        //\n        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`\n        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`\n        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`\n        //\n        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.\n        uint256 result = 1 << (log2(a) >> 1);\n        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,\n        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at\n        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision\n        // into the expected uint128 result.\n        unchecked {\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            return min(result, a / result);\n        }\n    }\n\n    /**\n     * @notice Calculates sqrt(a), following the selected rounding direction.\n     */\n    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = sqrt(a);\n            return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 2 of a positive value rounded towards zero.\n     * Returns 0 if given 0.\n     */\n    function log2(uint256 value) internal pure returns (uint256) {\n        uint256 result = 0;\n        unchecked {\n            if (value >> 128 > 0) {\n                value >>= 128;\n                result += 128;\n            }\n            if (value >> 64 > 0) {\n                value >>= 64;\n                result += 64;\n            }\n            if (value >> 32 > 0) {\n                value >>= 32;\n                result += 32;\n            }\n            if (value >> 16 > 0) {\n                value >>= 16;\n                result += 16;\n            }\n            if (value >> 8 > 0) {\n                value >>= 8;\n                result += 8;\n            }\n            if (value >> 4 > 0) {\n                value >>= 4;\n                result += 4;\n            }\n            if (value >> 2 > 0) {\n                value >>= 2;\n                result += 2;\n            }\n            if (value >> 1 > 0) {\n                result += 1;\n            }\n        }\n        return result;\n    }\n\n    /**\n     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log2(value);\n            return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 10 of a positive value rounded towards zero.\n     * Returns 0 if given 0.\n     */\n    function log10(uint256 value) internal pure returns (uint256) {\n        uint256 result = 0;\n        unchecked {\n            if (value >= 10 ** 64) {\n                value /= 10 ** 64;\n                result += 64;\n            }\n            if (value >= 10 ** 32) {\n                value /= 10 ** 32;\n                result += 32;\n            }\n            if (value >= 10 ** 16) {\n                value /= 10 ** 16;\n                result += 16;\n            }\n            if (value >= 10 ** 8) {\n                value /= 10 ** 8;\n                result += 8;\n            }\n            if (value >= 10 ** 4) {\n                value /= 10 ** 4;\n                result += 4;\n            }\n            if (value >= 10 ** 2) {\n                value /= 10 ** 2;\n                result += 2;\n            }\n            if (value >= 10 ** 1) {\n                result += 1;\n            }\n        }\n        return result;\n    }\n\n    /**\n     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log10(value);\n            return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 256 of a positive value rounded towards zero.\n     * Returns 0 if given 0.\n     *\n     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.\n     */\n    function log256(uint256 value) internal pure returns (uint256) {\n        uint256 result = 0;\n        unchecked {\n            if (value >> 128 > 0) {\n                value >>= 128;\n                result += 16;\n            }\n            if (value >> 64 > 0) {\n                value >>= 64;\n                result += 8;\n            }\n            if (value >> 32 > 0) {\n                value >>= 32;\n                result += 4;\n            }\n            if (value >> 16 > 0) {\n                value >>= 16;\n                result += 2;\n            }\n            if (value >> 8 > 0) {\n                result += 1;\n            }\n        }\n        return result;\n    }\n\n    /**\n     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log256(value);\n            return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0);\n        }\n    }\n\n    /**\n     * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.\n     */\n    function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {\n        return uint8(rounding) % 2 == 1;\n    }\n}\n\n/// @dev The only vault entry point the market needs. donate pulls SQK from its caller.\ninterface IBurrowMarketVault {\n    function donate(uint256 amount) external;\n}\n\n/// @title BurrowMarket\n/// @notice SQK-denominated Squeek sales and Dutch auctions, with fees paid to BurrowVault.\n/// @dev Unaudited; intended for testnet use. All amounts are raw SQK units (18 decimals).\n/// Listings escrow the NFT until purchase or seller cancellation. Liquidation in the\n/// vault gives the collateral to the liquidator, who may then call startAuction like\n/// any other NFT owner. The market neither seizes collateral nor settles loan debt.\n/// SQK, Squeek and the fee vault are immutable, constructor-supplied contracts.\ncontract BurrowMarket is BurrowMarketOwnable2Step, BurrowMarketERC721Holder, BurrowMarketReentrancyGuard {\n    using BurrowMarketSafeERC20 for BurrowMarketIERC20;\n\n    uint256 public constant BPS = 10_000;\n    uint256 public constant MAX_FEE_BPS = 500;\n\n    BurrowMarketIERC20 public immutable sqk;\n    BurrowMarketIERC721 public immutable squeek;\n    IBurrowMarketVault public immutable vault;\n    uint256 public immutable auctionDuration;\n    uint256 public feeBps;\n\n    struct Listing {\n        address seller;\n        uint256 price; // Fixed price, or the premium starting price of a Dutch auction.\n        uint256 floorPrice;\n        uint256 startedAt;\n        uint256 saleFeeBps; // Snapshotted at listing time, including for auctions.\n        bool isAuction;\n    }\n\n    mapping(uint256 tokenId => Listing) public listings;\n\n    error InvalidContract(address account);\n    error FeeTooHigh(uint256 requested);\n    error InvalidAuctionDuration();\n    error InvalidPrice();\n    error InvalidAuctionPrices(uint256 startPrice, uint256 floorPrice);\n    error AlreadyListed(uint256 tokenId);\n    error NotListed(uint256 tokenId);\n    error NotTokenOwner(uint256 tokenId);\n    error NotSeller(uint256 tokenId);\n    error PriceExceedsLimit(uint256 price, uint256 maxPrice);\n    error UnexpectedNFT();\n    error UnexpectedSQKTransfer();\n    error FeeNotCollected();\n\n    event Listed(uint256 indexed tokenId, address indexed seller, uint256 price, uint256 feeBps);\n    event AuctionStarted(\n        uint256 indexed tokenId,\n        address indexed seller,\n        uint256 startPrice,\n        uint256 floorPrice,\n        uint256 startedAt,\n        uint256 duration,\n        uint256 feeBps\n    );\n    event Cancelled(uint256 indexed tokenId, address indexed seller);\n    event Sold(uint256 indexed tokenId, address indexed seller, address indexed buyer, uint256 price, uint256 fee);\n    event FeeBpsUpdated(uint256 oldFeeBps, uint256 newFeeBps);\n\n    /// @param sqk_ The SQK ERC20 used for every payment.\n    /// @param squeek_ The only ERC721 collection accepted by this market.\n    /// @param vault_ The Burrow vault implementing donate(uint256).\n    /// @param initialOwner The administrator, whose sole market power is the capped fee.\n    /// @param initialFeeBps Sale fee in basis points, at most 500 (5%).\n    /// @param auctionDuration_ Immutable decay window in seconds, greater than zero.\n    constructor(\n        address sqk_,\n        address squeek_,\n        address vault_,\n        address initialOwner,\n        uint256 initialFeeBps,\n        uint256 auctionDuration_\n    ) BurrowMarketOwnable(initialOwner) {\n        if (sqk_.code.length == 0) revert InvalidContract(sqk_);\n        if (squeek_.code.length == 0) revert InvalidContract(squeek_);\n        if (vault_.code.length == 0) revert InvalidContract(vault_);\n        if (initialFeeBps > MAX_FEE_BPS) revert FeeTooHigh(initialFeeBps);\n        if (auctionDuration_ == 0) revert InvalidAuctionDuration();\n        sqk = BurrowMarketIERC20(sqk_);\n        squeek = BurrowMarketIERC721(squeek_);\n        vault = IBurrowMarketVault(vault_);\n        auctionDuration = auctionDuration_;\n        feeBps = initialFeeBps;\n        emit FeeBpsUpdated(0, initialFeeBps);\n    }\n\n    /// @notice Escrow an NFT at a fixed SQK price. Approve this market before calling.\n    function list(uint256 tokenId, uint256 price) external nonReentrant {\n        if (price == 0) revert InvalidPrice();\n        _checkCanList(tokenId);\n        listings[tokenId] = Listing(msg.sender, price, price, block.timestamp, feeBps, false);\n        emit Listed(tokenId, msg.sender, price, feeBps);\n        squeek.safeTransferFrom(msg.sender, address(this), tokenId);\n    }\n\n    /// @notice Escrow an NFT for a Dutch auction, including NFTs obtained in liquidation.\n    /// @dev The seller chooses a premium startPrice strictly above a nonzero floorPrice.\n    /// The duration is fixed for this market. An unsold NFT remains purchasable at the\n    /// floor after that window, and only its seller may cancel it.\n    function startAuction(uint256 tokenId, uint256 startPrice, uint256 floorPrice) external nonReentrant {\n        if (floorPrice == 0 || startPrice <= floorPrice) revert InvalidAuctionPrices(startPrice, floorPrice);\n        _checkCanList(tokenId);\n        listings[tokenId] = Listing(msg.sender, startPrice, floorPrice, block.timestamp, feeBps, true);\n        emit AuctionStarted(tokenId, msg.sender, startPrice, floorPrice, block.timestamp, auctionDuration, feeBps);\n        squeek.safeTransferFrom(msg.sender, address(this), tokenId);\n    }\n\n    /// @notice Cancel either type of sale and return the escrowed NFT to its seller.\n    function cancel(uint256 tokenId) external nonReentrant {\n        address seller = listings[tokenId].seller;\n        if (seller == address(0)) revert NotListed(tokenId);\n        if (seller != msg.sender) revert NotSeller(tokenId);\n        delete listings[tokenId];\n        emit Cancelled(tokenId, seller);\n        squeek.safeTransferFrom(address(this), seller, tokenId);\n    }\n\n    /// @notice Buy a fixed-price listing or auction for no more than maxPrice SQK.\n    /// @dev There is deliberately no unbounded overload: a seller could otherwise cancel\n    /// and relist at any price up to the buyer's allowance ahead of the purchase.\n    function buy(uint256 tokenId, uint256 maxPrice) external nonReentrant {\n        _buy(tokenId, maxPrice);\n    }\n\n    /// @notice Quote the current gross price, including the fee, for either sale type.\n    function currentPrice(uint256 tokenId) external view returns (uint256) {\n        Listing memory listing = listings[tokenId];\n        if (listing.seller == address(0)) revert NotListed(tokenId);\n        return _price(listing);\n    }\n\n    /// @notice Set the fee for future listings; existing sellers keep their agreed fee.\n    function setFeeBps(uint256 newFeeBps) external onlyOwner nonReentrant {\n        if (newFeeBps > MAX_FEE_BPS) revert FeeTooHigh(newFeeBps);\n        uint256 oldFeeBps = feeBps;\n        feeBps = newFeeBps;\n        emit FeeBpsUpdated(oldFeeBps, newFeeBps);\n    }\n\n    /// @dev Accept only the safe transfer initiated by list/startAuction. This callback\n    /// performs no value transfer and runs inside their nonReentrant guard. Unsolicited\n    /// safe transfers are rejected; do not send NFTs here with unsafe transferFrom.\n    function onERC721Received(address operator, address from, uint256 tokenId, bytes memory)\n        public\n        view\n        override\n        returns (bytes4)\n    {\n        if (\n            msg.sender != address(squeek) || operator != address(this) || !_reentrancyGuardEntered()\n                || from == address(0) || listings[tokenId].seller != from\n        ) revert UnexpectedNFT();\n        return BurrowMarketIERC721Receiver.onERC721Received.selector;\n    }\n\n    function _checkCanList(uint256 tokenId) private view {\n        if (listings[tokenId].seller != address(0)) revert AlreadyListed(tokenId);\n        if (squeek.ownerOf(tokenId) != msg.sender) revert NotTokenOwner(tokenId);\n    }\n\n    function _price(Listing memory listing) private view returns (uint256) {\n        if (!listing.isAuction) return listing.price;\n        uint256 elapsed = block.timestamp - listing.startedAt;\n        if (elapsed >= auctionDuration) return listing.floorPrice;\n        // Full-precision multiplication avoids overflow even for extreme prices.\n        // Round the discount down so the gross price rounds up and never undershoots.\n        return listing.price - BurrowMarketMath.mulDiv(listing.price - listing.floorPrice, elapsed, auctionDuration);\n    }\n\n    function _buy(uint256 tokenId, uint256 maxPrice) private {\n        Listing memory listing = listings[tokenId];\n        if (listing.seller == address(0)) revert NotListed(tokenId);\n        uint256 price = _price(listing);\n        if (price > maxPrice) revert PriceExceedsLimit(price, maxPrice);\n        uint256 fee = BurrowMarketMath.mulDiv(price, listing.saleFeeBps, BPS);\n\n        // Consume the listing before any token, vault or recipient callback.\n        delete listings[tokenId];\n        emit Sold(tokenId, listing.seller, msg.sender, price, fee);\n\n        uint256 balanceBefore = sqk.balanceOf(address(this));\n        sqk.safeTransferFrom(msg.sender, address(this), price);\n        uint256 balanceAfter = sqk.balanceOf(address(this));\n        if (balanceAfter < balanceBefore || balanceAfter - balanceBefore != price) revert UnexpectedSQKTransfer();\n\n        if (fee != 0) {\n            // donate pulls SQK. Approve only this fee and revoke any residual allowance.\n            sqk.forceApprove(address(vault), fee);\n            vault.donate(fee);\n            sqk.forceApprove(address(vault), 0);\n            uint256 balanceAfterDonation = sqk.balanceOf(address(this));\n            if (balanceAfterDonation > balanceAfter || balanceAfter - balanceAfterDonation != fee) {\n                revert FeeNotCollected();\n            }\n        }\n        sqk.safeTransfer(listing.seller, price - fee);\n        squeek.safeTransferFrom(address(this), msg.sender, tokenId);\n    }\n}\n\n"}},"language":"Solidity","settings":{"viaIR":false,"metadata":{"appendCBOR":true,"bytecodeHash":"ipfs","useLiteralContent":false},"libraries":{},"optimizer":{"runs":1,"enabled":true},"evmVersion":"cancun","remappings":["forge-std/=/Users/loserzx/squeek/burrow-lite/lib/forge-std/src/"]}},"stdJsonOutput":{"sources":{"src/BurrowMarket.sol":{"id":0}},"contracts":{"src/BurrowMarket.sol":{"BurrowMarket":{"abi":[{"type":"constructor","inputs":[{"name":"sqk_","type":"address","internalType":"address"},{"name":"squeek_","type":"address","internalType":"address"},{"name":"vault_","type":"address","internalType":"address"},{"name":"initialOwner","type":"address","internalType":"address"},{"name":"initialFeeBps","type":"uint256","internalType":"uint256"},{"name":"auctionDuration_","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"AddressEmptyCode","type":"error","inputs":[{"name":"target","type":"address","internalType":"address"}]},{"name":"AddressInsufficientBalance","type":"error","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"name":"AlreadyListed","type":"error","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}]},{"name":"FailedInnerCall","type":"error","inputs":[]},{"name":"FeeNotCollected","type":"error","inputs":[]},{"name":"FeeTooHigh","type":"error","inputs":[{"name":"requested","type":"uint256","internalType":"uint256"}]},{"name":"InvalidAuctionDuration","type":"error","inputs":[]},{"name":"InvalidAuctionPrices","type":"error","inputs":[{"name":"startPrice","type":"uint256","internalType":"uint256"},{"name":"floorPrice","type":"uint256","internalType":"uint256"}]},{"name":"InvalidContract","type":"error","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"name":"InvalidPrice","type":"error","inputs":[]},{"name":"MathOverflowedMulDiv","type":"error","inputs":[]},{"name":"NotListed","type":"error","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}]},{"name":"NotSeller","type":"error","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}]},{"name":"NotTokenOwner","type":"error","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}]},{"name":"OwnableInvalidOwner","type":"error","inputs":[{"name":"owner","type":"address","internalType":"address"}]},{"name":"OwnableUnauthorizedAccount","type":"error","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"name":"PriceExceedsLimit","type":"error","inputs":[{"name":"price","type":"uint256","internalType":"uint256"},{"name":"maxPrice","type":"uint256","internalType":"uint256"}]},{"name":"ReentrancyGuardReentrantCall","type":"error","inputs":[]},{"name":"SafeERC20FailedOperation","type":"error","inputs":[{"name":"token","type":"address","internalType":"address"}]},{"name":"UnexpectedNFT","type":"error","inputs":[]},{"name":"UnexpectedSQKTransfer","type":"error","inputs":[]},{"name":"AuctionStarted","type":"event","inputs":[{"name":"tokenId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"seller","type":"address","indexed":true,"internalType":"address"},{"name":"startPrice","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"floorPrice","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"startedAt","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"duration","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"feeBps","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"Cancelled","type":"event","inputs":[{"name":"tokenId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"seller","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"FeeBpsUpdated","type":"event","inputs":[{"name":"oldFeeBps","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"newFeeBps","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"Listed","type":"event","inputs":[{"name":"tokenId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"seller","type":"address","indexed":true,"internalType":"address"},{"name":"price","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"feeBps","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"OwnershipTransferStarted","type":"event","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"OwnershipTransferred","type":"event","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"Sold","type":"event","inputs":[{"name":"tokenId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"seller","type":"address","indexed":true,"internalType":"address"},{"name":"buyer","type":"address","indexed":true,"internalType":"address"},{"name":"price","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"fee","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"BPS","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"MAX_FEE_BPS","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"acceptOwnership","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"auctionDuration","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"buy","type":"function","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"},{"name":"maxPrice","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"cancel","type":"function","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"currentPrice","type":"function","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"feeBps","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"list","type":"function","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"},{"name":"price","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"listings","type":"function","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"seller","type":"address","internalType":"address"},{"name":"price","type":"uint256","internalType":"uint256"},{"name":"floorPrice","type":"uint256","internalType":"uint256"},{"name":"startedAt","type":"uint256","internalType":"uint256"},{"name":"saleFeeBps","type":"uint256","internalType":"uint256"},{"name":"isAuction","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"onERC721Received","type":"function","inputs":[{"name":"operator","type":"address","internalType":"address"},{"name":"from","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"},{"name":"","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"bytes4","internalType":"bytes4"}],"stateMutability":"view"},{"name":"owner","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"pendingOwner","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"renounceOwnership","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"setFeeBps","type":"function","inputs":[{"name":"newFeeBps","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"sqk","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract BurrowMarketIERC20"}],"stateMutability":"view"},{"name":"squeek","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract BurrowMarketIERC721"}],"stateMutability":"view"},{"name":"startAuction","type":"function","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"},{"name":"startPrice","type":"uint256","internalType":"uint256"},{"name":"floorPrice","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"transferOwnership","type":"function","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"vault","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IBurrowMarketVault"}],"stateMutability":"view"}],"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sqk_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"squeek_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"vault_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"initialOwner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"initialFeeBps\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"auctionDuration_\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"AddressEmptyCode\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"AddressInsufficientBalance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"AlreadyListed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FailedInnerCall\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FeeNotCollected\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"requested\",\"type\":\"uint256\"}],\"name\":\"FeeTooHigh\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidAuctionDuration\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"startPrice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"floorPrice\",\"type\":\"uint256\"}],\"name\":\"InvalidAuctionPrices\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"InvalidContract\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidPrice\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MathOverflowedMulDiv\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"NotListed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"NotSeller\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"NotTokenOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"OwnableInvalidOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"OwnableUnauthorizedAccount\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxPrice\",\"type\":\"uint256\"}],\"name\":\"PriceExceedsLimit\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ReentrancyGuardReentrantCall\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"SafeERC20FailedOperation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnexpectedNFT\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnexpectedSQKTransfer\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"seller\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"startPrice\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"floorPrice\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"startedAt\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"duration\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feeBps\",\"type\":\"uint256\"}],\"name\":\"AuctionStarted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"seller\",\"type\":\"address\"}],\"name\":\"Cancelled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldFeeBps\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newFeeBps\",\"type\":\"uint256\"}],\"name\":\"FeeBpsUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"seller\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feeBps\",\"type\":\"uint256\"}],\"name\":\"Listed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferStarted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"seller\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"buyer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"}],\"name\":\"Sold\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"BPS\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_FEE_BPS\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"auctionDuration\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxPrice\",\"type\":\"uint256\"}],\"name\":\"buy\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"cancel\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"currentPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeBps\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"}],\"name\":\"list\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"listings\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"seller\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"floorPrice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startedAt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"saleFeeBps\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"isAuction\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"onERC721Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newFeeBps\",\"type\":\"uint256\"}],\"name\":\"setFeeBps\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"sqk\",\"outputs\":[{\"internalType\":\"contract BurrowMarketIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"squeek\",\"outputs\":[{\"internalType\":\"contract BurrowMarketIERC721\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startPrice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"floorPrice\",\"type\":\"uint256\"}],\"name\":\"startAuction\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"vault\",\"outputs\":[{\"internalType\":\"contract IBurrowMarketVault\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Unaudited; intended for testnet use. All amounts are raw SQK units (18 decimals). Listings escrow the NFT until purchase or seller cancellation. Liquidation in the vault gives the collateral to the liquidator, who may then call startAuction like any other NFT owner. The market neither seizes collateral nor settles loan debt. SQK, Squeek and the fee vault are immutable, constructor-supplied contracts.\",\"errors\":{\"AddressEmptyCode(address)\":[{\"details\":\"There's no code at `target` (it is not a contract).\"}],\"AddressInsufficientBalance(address)\":[{\"details\":\"The ETH balance of the account is not enough to perform the operation.\"}],\"FailedInnerCall()\":[{\"details\":\"A call to an address target failed. The target may have reverted.\"}],\"MathOverflowedMulDiv()\":[{\"details\":\"Muldiv operation overflow.\"}],\"OwnableInvalidOwner(address)\":[{\"details\":\"The owner is not a valid owner account. (eg. `address(0)`)\"}],\"OwnableUnauthorizedAccount(address)\":[{\"details\":\"The caller account is not authorized to perform an operation.\"}],\"ReentrancyGuardReentrantCall()\":[{\"details\":\"Unauthorized reentrant call.\"}],\"SafeERC20FailedOperation(address)\":[{\"details\":\"An operation with an ERC20 token failed.\"}]},\"kind\":\"dev\",\"methods\":{\"acceptOwnership()\":{\"details\":\"The new owner accepts the ownership transfer.\"},\"buy(uint256,uint256)\":{\"details\":\"There is deliberately no unbounded overload: a seller could otherwise cancel and relist at any price up to the buyer's allowance ahead of the purchase.\"},\"constructor\":{\"params\":{\"auctionDuration_\":\"Immutable decay window in seconds, greater than zero.\",\"initialFeeBps\":\"Sale fee in basis points, at most 500 (5%).\",\"initialOwner\":\"The administrator, whose sole market power is the capped fee.\",\"sqk_\":\"The SQK ERC20 used for every payment.\",\"squeek_\":\"The only ERC721 collection accepted by this market.\",\"vault_\":\"The Burrow vault implementing donate(uint256).\"}},\"onERC721Received(address,address,uint256,bytes)\":{\"details\":\"Accept only the safe transfer initiated by list/startAuction. This callback performs no value transfer and runs inside their nonReentrant guard. Unsolicited safe transfers are rejected; do not send NFTs here with unsafe transferFrom.\"},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"pendingOwner()\":{\"details\":\"Returns the address of the pending owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner.\"},\"startAuction(uint256,uint256,uint256)\":{\"details\":\"The seller chooses a premium startPrice strictly above a nonzero floorPrice. The duration is fixed for this market. An unsold NFT remains purchasable at the floor after that window, and only its seller may cancel it.\"},\"transferOwnership(address)\":{\"details\":\"Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one. Can only be called by the current owner.\"}},\"title\":\"BurrowMarket\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"buy(uint256,uint256)\":{\"notice\":\"Buy a fixed-price listing or auction for no more than maxPrice SQK.\"},\"cancel(uint256)\":{\"notice\":\"Cancel either type of sale and return the escrowed NFT to its seller.\"},\"currentPrice(uint256)\":{\"notice\":\"Quote the current gross price, including the fee, for either sale type.\"},\"list(uint256,uint256)\":{\"notice\":\"Escrow an NFT at a fixed SQK price. Approve this market before calling.\"},\"setFeeBps(uint256)\":{\"notice\":\"Set the fee for future listings; existing sellers keep their agreed fee.\"},\"startAuction(uint256,uint256,uint256)\":{\"notice\":\"Escrow an NFT for a Dutch auction, including NFTs obtained in liquidation.\"}},\"notice\":\"SQK-denominated Squeek sales and Dutch auctions, with fees paid to BurrowVault.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/BurrowMarket.sol\":\"BurrowMarket\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[\":forge-std/=/Users/loserzx/squeek/burrow-lite/lib/forge-std/src/\"]},\"sources\":{\"src/BurrowMarket.sol\":{\"keccak256\":\"0x5e5723e4b39698a46cbc6ffd66754ef9259ee109ff6871ad3dbe5ff2fcc41d75\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d2e434e6e742cee973d95d9413827ef9162bfb03d5778ca3d1642629e827ea20\",\"dweb:/ipfs/Qmc6kit2aXXc8FaA2sCX93PhsZGGxPNd2Pct8oBKkUJPBy\"]}},\"version\":1}","userdoc":{"kind":"user","notice":"SQK-denominated Squeek sales and Dutch auctions, with fees paid to BurrowVault.","methods":{"cancel(uint256)":{"notice":"Cancel either type of sale and return the escrowed NFT to its seller."},"setFeeBps(uint256)":{"notice":"Set the fee for future listings; existing sellers keep their agreed fee."},"buy(uint256,uint256)":{"notice":"Buy a fixed-price listing or auction for no more than maxPrice SQK."},"currentPrice(uint256)":{"notice":"Quote the current gross price, including the fee, for either sale type."},"list(uint256,uint256)":{"notice":"Escrow an NFT at a fixed SQK price. Approve this market before calling."},"startAuction(uint256,uint256,uint256)":{"notice":"Escrow an NFT for a Dutch auction, including NFTs obtained in liquidation."}},"version":1},"devdoc":{"kind":"dev","title":"BurrowMarket","errors":{"FailedInnerCall()":[{"details":"A call to an address target failed. The target may have reverted."}],"MathOverflowedMulDiv()":[{"details":"Muldiv operation overflow."}],"AddressEmptyCode(address)":[{"details":"There's no code at `target` (it is not a contract)."}],"OwnableInvalidOwner(address)":[{"details":"The owner is not a valid owner account. (eg. `address(0)`)"}],"ReentrancyGuardReentrantCall()":[{"details":"Unauthorized reentrant call."}],"SafeERC20FailedOperation(address)":[{"details":"An operation with an ERC20 token failed."}],"AddressInsufficientBalance(address)":[{"details":"The ETH balance of the account is not enough to perform the operation."}],"OwnableUnauthorizedAccount(address)":[{"details":"The caller account is not authorized to perform an operation."}]},"details":"Unaudited; intended for testnet use. All amounts are raw SQK units (18 decimals). Listings escrow the NFT until purchase or seller cancellation. Liquidation in the vault gives the collateral to the liquidator, who may then call startAuction like any other NFT owner. The market neither seizes collateral nor settles loan debt. SQK, Squeek and the fee vault are immutable, constructor-supplied contracts.","methods":{"owner()":{"details":"Returns the address of the current owner."},"constructor":{"params":{"sqk_":"The SQK ERC20 used for every payment.","vault_":"The Burrow vault implementing donate(uint256).","squeek_":"The only ERC721 collection accepted by this market.","initialOwner":"The administrator, whose sole market power is the capped fee.","initialFeeBps":"Sale fee in basis points, at most 500 (5%).","auctionDuration_":"Immutable decay window in seconds, greater than zero."}},"pendingOwner()":{"details":"Returns the address of the pending owner."},"acceptOwnership()":{"details":"The new owner accepts the ownership transfer."},"renounceOwnership()":{"details":"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner."},"buy(uint256,uint256)":{"details":"There is deliberately no unbounded overload: a seller could otherwise cancel and relist at any price up to the buyer's allowance ahead of the purchase."},"transferOwnership(address)":{"details":"Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one. Can only be called by the current owner."},"startAuction(uint256,uint256,uint256)":{"details":"The seller chooses a premium startPrice strictly above a nonzero floorPrice. The duration is fixed for this market. An unsold NFT remains purchasable at the floor after that window, and only its seller may cancel it."},"onERC721Received(address,address,uint256,bytes)":{"details":"Accept only the safe transfer initiated by list/startAuction. This callback performs no value transfer and runs inside their nonReentrant guard. Unsolicited safe transfers are rejected; do not send NFTs here with unsafe transferFrom."}},"version":1},"storageLayout":{"types":{"t_bool":{"label":"bool","encoding":"inplace","numberOfBytes":"1"},"t_address":{"label":"address","encoding":"inplace","numberOfBytes":"20"},"t_uint256":{"label":"uint256","encoding":"inplace","numberOfBytes":"32"},"t_struct(Listing)2229_storage":{"label":"struct BurrowMarket.Listing","members":[{"slot":"0","type":"t_address","astId":2218,"label":"seller","offset":0,"contract":"src/BurrowMarket.sol:BurrowMarket"},{"slot":"1","type":"t_uint256","astId":2220,"label":"price","offset":0,"contract":"src/BurrowMarket.sol:BurrowMarket"},{"slot":"2","type":"t_uint256","astId":2222,"label":"floorPrice","offset":0,"contract":"src/BurrowMarket.sol:BurrowMarket"},{"slot":"3","type":"t_uint256","astId":2224,"label":"startedAt","offset":0,"contract":"src/BurrowMarket.sol:BurrowMarket"},{"slot":"4","type":"t_uint256","astId":2226,"label":"saleFeeBps","offset":0,"contract":"src/BurrowMarket.sol:BurrowMarket"},{"slot":"5","type":"t_bool","astId":2228,"label":"isAuction","offset":0,"contract":"src/BurrowMarket.sol:BurrowMarket"}],"encoding":"inplace","numberOfBytes":"192"},"t_mapping(t_uint256,t_struct(Listing)2229_storage)":{"key":"t_uint256","label":"mapping(uint256 => struct BurrowMarket.Listing)","value":"t_struct(Listing)2229_storage","encoding":"mapping","numberOfBytes":"32"}},"storage":[{"slot":"0","type":"t_address","astId":34,"label":"_owner","offset":0,"contract":"src/BurrowMarket.sol:BurrowMarket"},{"slot":"1","type":"t_address","astId":178,"label":"_pendingOwner","offset":0,"contract":"src/BurrowMarket.sol:BurrowMarket"},{"slot":"2","type":"t_uint256","astId":264,"label":"_status","offset":0,"contract":"src/BurrowMarket.sol:BurrowMarket"},{"slot":"3","type":"t_uint256","astId":2216,"label":"feeBps","offset":0,"contract":"src/BurrowMarket.sol:BurrowMarket"},{"slot":"4","type":"t_mapping(t_uint256,t_struct(Listing)2229_storage)","astId":2234,"label":"listings","offset":0,"contract":"src/BurrowMarket.sol:BurrowMarket"}]},"transientStorageLayout":null,"evm":{"bytecode":{"object":"610100604052348015610010575f80fd5b50604051611c7e380380611c7e83398101604081905261002f91610228565b826001600160a01b038116610062575f604051631e4fbdf760e01b8152600401610059919061028c565b60405180910390fd5b61006b816101a2565b5060016002556001600160a01b0386163b5f0361009d5785604051633b00592160e21b8152600401610059919061028c565b846001600160a01b03163b5f036100c95784604051633b00592160e21b8152600401610059919061028c565b836001600160a01b03163b5f036100f55783604051633b00592160e21b8152600401610059919061028c565b6101f482111561011b576040516303dc98a160e51b815260048101839052602401610059565b805f0361013b57604051635177028760e11b815260040160405180910390fd5b6001600160a01b0386811660805285811660a052841660c05260e08190526003829055604080515f8152602081018490527f5ec5620e288c4be955ccb6cfb3d55431a8fed5c4c96ffacc4b9506360695f64e910160405180910390a15050505050506102a0565b600180546001600160a01b03191690556101bb816101be565b50565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b0381168114610223575f80fd5b919050565b5f805f805f8060c0878903121561023d575f80fd5b6102468761020d565b95506102546020880161020d565b94506102626040880161020d565b93506102706060880161020d565b608088015160a090980151969995985093969395939492505050565b6001600160a01b0391909116815260200190565b60805160a05160c05160e0516119266103585f395f81816101030152818161096401528181610c510152610c9901525f818161030e01528181610fe10152818161101c01526110ac01525f81816102280152818161033c015281816104e401528181610670015281816109c601528181610b4c01526111ef01525f818161020101528181610e3d01528181610ec001528181610f0101528181610fbf01528181611088015281816110ea01526111b101526119265ff3fe608060405234801561000f575f80fd5b50600436106100fa575f3560e01c80630cbf54c8146100fe578063150b7a0214610138578063249d39e91461016457806324a9d8531461016d57806340e58ee51461017657806350fd73671461018b578063715018a61461019e57806372c27b62146101a657806379ba5097146101b95780637a3c4c17146101c15780638da5cb5b146101d457806391e078bb146101e9578063c98a295b146101fc578063d39a59c514610223578063d55be8c61461024a578063d6febde814610253578063de74e57b14610266578063e30c3978146102ee578063f2fde38b146102f6578063fbfa77cf14610309575b5f80fd5b6101257f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020015b60405180910390f35b61014b61014636600461169e565b610330565b6040516001600160e01b0319909116815260200161012f565b61012561271081565b61012560035481565b61018961018436600461177c565b6103e4565b005b610189610199366004611793565b610558565b6101896106e4565b6101896101b436600461177c565b6106f7565b61018961077a565b6101256101cf36600461177c565b6107b6565b6101dc610847565b60405161012f91906117b3565b6101896101f73660046117c7565b610855565b6101dc7f000000000000000000000000000000000000000000000000000000000000000081565b6101dc7f000000000000000000000000000000000000000000000000000000000000000081565b6101256101f481565b610189610261366004611793565b610a3b565b6102b561027436600461177c565b600460208190525f91825260409091208054600182015460028301546003840154948401546005909401546001600160a01b03909316949193909260ff1686565b604080516001600160a01b03909716875260208701959095529385019290925260608401526080830152151560a082015260c00161012f565b6101dc610a57565b6101896103043660046117f0565b610a66565b6101dc7f000000000000000000000000000000000000000000000000000000000000000081565b5f336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614158061037257506001600160a01b0385163014155b8061037f57506002805414155b8061039157506001600160a01b038416155b806103b557505f838152600460205260409020546001600160a01b03858116911614155b156103d3576040516328b05d3b60e01b815260040160405180910390fd5b50630a85bd0160e11b949350505050565b6103ec610acc565b5f818152600460205260409020546001600160a01b0316806104295760405163068bb67560e51b8152600481018390526024015b60405180910390fd5b6001600160a01b0381163314610455576040516314fcceef60e31b815260048101839052602401610420565b5f82815260046020819052604080832080546001600160a01b03191681556001810184905560028101849055600381018490559182018390556005909101805460ff19169055516001600160a01b0383169184917f26deca31ff8139a06c52453ce8985d34f7648a6d9af1d283c4063d052c355a0f9190a3604051632142170760e11b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342842e0e9061051d9030908590879060040161180b565b5f604051808303815f87803b158015610534575f80fd5b505af1158015610546573d5f803e3d5ffd5b50505050506105556001600255565b50565b610560610acc565b805f0361057f5760405162bfc92160e01b815260040160405180910390fd5b61058882610af4565b6040805160c081018252338082526020808301858152838501868152426060860190815260038054608088019081525f60a089018181528c8252600497889052908a9020985189546001600160a01b0319166001600160a01b039091161789559451600189015592516002880155905186820155905192850192909255516005909301805460ff19169315159390931790925590549151909184917f98868c46d49b200d82c273c9f28d73265826ca6567690262736450563dfff64c916106519186919061182f565b60405180910390a3604051632142170760e11b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342842e0e906106a99033903090879060040161180b565b5f604051808303815f87803b1580156106c0575f80fd5b505af11580156106d2573d5f803e3d5ffd5b505050506106e06001600255565b5050565b6106ec610bdf565b6106f55f610c11565b565b6106ff610bdf565b610707610acc565b6101f481111561072d576040516303dc98a160e51b815260048101829052602401610420565b60038054908290556040517f5ec5620e288c4be955ccb6cfb3d55431a8fed5c4c96ffacc4b9506360695f64e90610767908390859061182f565b60405180910390a1506105556001600255565b3380610784610a57565b6001600160a01b0316146107ad578060405163118cdaa760e01b815260040161042091906117b3565b61055581610c11565b5f818152600460208181526040808420815160c08101835281546001600160a01b03168082526001830154948201949094526002820154928101929092526003810154606083015292830154608082015260059092015460ff16151560a08301526108375760405163068bb67560e51b815260048101849052602401610420565b61084081610c2a565b9392505050565b5f546001600160a01b031690565b61085d610acc565b80158061086a5750808211155b1561088c5781816040516325b13ee760e11b815260040161042092919061182f565b61089583610af4565b6040805160c08101825233808252602080830186815283850186815242606086018181526003805460808901908152600160a08a018181525f8f81526004998a90528c90209a518b546001600160a01b03919091166001600160a01b0319909116178b559651908a01559351600289015590518782015591519386019390935590516005909401805494151560ff199095169490941790935591549251909286927f277bb19dead7c84114d4e92878fe32cbcd6d375c81b8f8da1ec32d5ae78267a0926109a7928892889290917f000000000000000000000000000000000000000000000000000000000000000091948552602085019390935260408401919091526060830152608082015260a00190565b60405180910390a3604051632142170760e11b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342842e0e906109ff9033903090889060040161180b565b5f604051808303815f87803b158015610a16575f80fd5b505af1158015610a28573d5f803e3d5ffd5b50505050610a366001600255565b505050565b610a43610acc565b610a4d8282610ccc565b6106e06001600255565b6001546001600160a01b031690565b610a6e610bdf565b600180546001600160a01b0319166001600160a01b038316908117909155610a94610847565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b6002805403610aee57604051633ee5aeb560e01b815260040160405180910390fd5b60028055565b5f818152600460205260409020546001600160a01b031615610b2c57604051637fbcdff960e01b815260048101829052602401610420565b6040516331a9108f60e11b81526004810182905233906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690636352211e90602401602060405180830381865afa158015610b91573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb5919061183d565b6001600160a01b03161461055557604051630e35d34560e11b815260048101829052602401610420565b33610be8610847565b6001600160a01b0316146106f5573360405163118cdaa760e01b815260040161042091906117b3565b600180546001600160a01b03191690556105558161125e565b5f8160a00151610c3c57506020015190565b5f826060015142610c4d9190611858565b90507f00000000000000000000000000000000000000000000000000000000000000008110610c7f5750506040015190565b610cbd83604001518460200151610c969190611858565b827f00000000000000000000000000000000000000000000000000000000000000006112ad565b83602001516108409190611858565b5f82815260046020818152604092839020835160c08101855281546001600160a01b03168082526001830154938201939093526002820154948101949094526003810154606085015291820154608084015260059091015460ff16151560a0830152610d4e5760405163068bb67560e51b815260048101849052602401610420565b5f610d5882610c2a565b905082811115610d7f57808360405163513c618160e01b815260040161042092919061182f565b5f610d918284608001516127106112ad565b5f86815260046020819052604080832080546001600160a01b031916815560018101849055600281018490556003810184905591820192909255600501805460ff191690558451905191925033916001600160a01b039091169087907fa70b1a854695e7921b122988e216d3a6cd10ed799017c67b1ff231967e6bf56d90610e1c908790879061182f565b60405180910390a46040516370a0823160e01b81525f906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190610e729030906004016117b3565b602060405180830381865afa158015610e8d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eb19190611877565b9050610ee86001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633308661136c565b6040516370a0823160e01b81525f906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190610f369030906004016117b3565b602060405180830381865afa158015610f51573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f759190611877565b905081811080610f8e575083610f8b8383611858565b14155b15610fac5760405163fe3a51d360e01b815260040160405180910390fd5b8215611197576110066001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f0000000000000000000000000000000000000000000000000000000000000000856113cc565b60405163f14faf6f60e01b8152600481018490527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f14faf6f906024015f604051808303815f87803b158015611065575f80fd5b505af1158015611077573d5f803e3d5ffd5b506110d19250506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690507f00000000000000000000000000000000000000000000000000000000000000005f6113cc565b6040516370a0823160e01b81525f906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a082319061111f9030906004016117b3565b602060405180830381865afa15801561113a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061115e9190611877565b9050818111806111775750836111748284611858565b14155b1561119557604051630f8c0f3560e11b815260040160405180910390fd5b505b84516111d8906111a78587611858565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016919061145c565b604051632142170760e11b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342842e0e9061122890309033908c9060040161180b565b5f604051808303815f87803b15801561123f575f80fd5b505af1158015611251573d5f803e3d5ffd5b5050505050505050505050565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f838302815f1985870982811083820303915050805f036112e1578382816112d7576112d761188e565b0492505050610840565b8084116113015760405163227bc15360e01b815260040160405180910390fd5b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b6113c684856001600160a01b03166323b872dd8686866040516024016113949392919061180b565b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050611482565b50505050565b5f836001600160a01b031663095ea7b384846040516024016113ef9291906118a2565b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050905061142884826114da565b6113c65761145284856001600160a01b031663095ea7b3865f6040516024016113949291906118a2565b6113c68482611482565b610a3683846001600160a01b031663a9059cbb85856040516024016113949291906118a2565b5f6114966001600160a01b0384168361157d565b905080515f141580156114ba5750808060200190518101906114b891906118bb565b155b15610a365782604051635274afe760e01b815260040161042091906117b3565b5f805f846001600160a01b0316846040516114f591906118da565b5f604051808303815f865af19150503d805f811461152e576040519150601f19603f3d011682016040523d82523d5f602084013e611533565b606091505b509150915081801561155d57508051158061155d57508080602001905181019061155d91906118bb565b801561157257505f856001600160a01b03163b115b925050505b92915050565b606061084083835f845f80856001600160a01b031684866040516115a191906118da565b5f6040518083038185875af1925050503d805f81146115db576040519150601f19603f3d011682016040523d82523d5f602084013e6115e0565b606091505b50915091506115f08683836115fa565b9695505050505050565b60608261160f5761160a8261164d565b610840565b815115801561162657506001600160a01b0384163b155b156116465783604051639996b31560e01b815260040161042091906117b3565b5080610840565b80511561165d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6001600160a01b0381168114610555575f80fd5b634e487b7160e01b5f52604160045260245ffd5b5f805f80608085870312156116b1575f80fd5b84356116bc81611676565b935060208501356116cc81611676565b92506040850135915060608501356001600160401b038111156116ed575f80fd5b8501601f810187136116fd575f80fd5b80356001600160401b038111156117165761171661168a565b604051601f8201601f19908116603f011681016001600160401b03811182821017156117445761174461168a565b60405281815282820160200189101561175b575f80fd5b816020840160208301375f6020838301015280935050505092959194509250565b5f6020828403121561178c575f80fd5b5035919050565b5f80604083850312156117a4575f80fd5b50508035926020909101359150565b6001600160a01b0391909116815260200190565b5f805f606084860312156117d9575f80fd5b505081359360208301359350604090920135919050565b5f60208284031215611800575f80fd5b813561084081611676565b6001600160a01b039384168152919092166020820152604081019190915260600190565b918252602082015260400190565b5f6020828403121561184d575f80fd5b815161084081611676565b8181038181111561157757634e487b7160e01b5f52601160045260245ffd5b5f60208284031215611887575f80fd5b5051919050565b634e487b7160e01b5f52601260045260245ffd5b6001600160a01b03929092168252602082015260400190565b5f602082840312156118cb575f80fd5b81518015158114610840575f80fd5b5f82518060208501845e5f92019182525091905056fea2646970667358221220ab2fd239680052c54d42fea2d19fee3f7ddf74c987a7757d77122ee807a8b0f564736f6c634300081a0033","sourceMap":"53338:9089:0:-:0;;;55735:826;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;55939:12;-1:-1:-1;;;;;3897:26:0;;3893:95;;3974:1;3946:31;;-1:-1:-1;;;3946:31:0;;;;;;;;:::i;:::-;;;;;;;;3893:95;3997:32;4016:12;3997:18;:32::i;:::-;-1:-1:-1;9490:1:0;9693:7;:21;-1:-1:-1;;;;;55967:16:0;::::1;;55987:1;55967:21:::0;55963:55:::1;;56013:4;55997:21;;-1:-1:-1::0;;;55997:21:0::1;;;;;;;;:::i;55963:55::-;56032:7;-1:-1:-1::0;;;;;56032:19:0::1;;56055:1;56032:24:::0;56028:61:::1;;56081:7;56065:24;;-1:-1:-1::0;;;56065:24:0::1;;;;;;;;:::i;56028:61::-;56103:6;-1:-1:-1::0;;;;;56103:18:0::1;;56125:1;56103:23:::0;56099:59:::1;;56151:6;56135:23;;-1:-1:-1::0;;;56135:23:0::1;;;;;;;;:::i;56099:59::-;53586:3;56172:13;:27;56168:65;;;56208:25;::::0;-1:-1:-1;;;56208:25:0;;::::1;::::0;::::1;1241::1::0;;;1214:18;;56208:25:0::1;1095:177:1::0;56168:65:0::1;56247:16;56267:1;56247:21:::0;56243:58:::1;;56277:24;;-1:-1:-1::0;;;56277:24:0::1;;;;;;;;;;;56243:58;-1:-1:-1::0;;;;;56311:30:0;;::::1;;::::0;56351:37;;::::1;;::::0;56398:34;::::1;;::::0;56442::::1;::::0;;;56486:6:::1;:22:::0;;;56523:31:::1;::::0;;56537:1:::1;1459:25:1::0;;1515:2;1500:18;;1493:34;;;56523:31:0::1;::::0;1432:18:1;56523:31:0::1;;;;;;;55735:826:::0;;;;;;53338:9089;;7274:153;7363:13;7356:20;;-1:-1:-1;;;;;;7356:20:0;;;7386:34;7411:8;7386:24;:34::i;:::-;7274:153;:::o;5536:187::-;5609:16;5628:6;;-1:-1:-1;;;;;5644:17:0;;;-1:-1:-1;;;;;;5644:17:0;;;;;;5676:40;;5628:6;;;;;;;5676:40;;5609:16;5676:40;5599:124;5536:187;:::o;14:177:1:-;93:13;;-1:-1:-1;;;;;135:31:1;;125:42;;115:70;;181:1;178;171:12;115:70;14:177;;;:::o;196:686::-;311:6;319;327;335;343;351;404:3;392:9;383:7;379:23;375:33;372:53;;;421:1;418;411:12;372:53;444:40;474:9;444:40;:::i;:::-;434:50;;503:49;548:2;537:9;533:18;503:49;:::i;:::-;493:59;;571:49;616:2;605:9;601:18;571:49;:::i;:::-;561:59;;639:49;684:2;673:9;669:18;639:49;:::i;:::-;750:3;735:19;;729:26;845:3;830:19;;;824:26;196:686;;;;-1:-1:-1;196:686:1;;629:59;;729:26;;196:686;-1:-1:-1;;;196:686:1:o;887:203::-;-1:-1:-1;;;;;1051:32:1;;;;1033:51;;1021:2;1006:18;;887:203::o;1277:256::-;53338:9089:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"608060405234801561000f575f80fd5b50600436106100fa575f3560e01c80630cbf54c8146100fe578063150b7a0214610138578063249d39e91461016457806324a9d8531461016d57806340e58ee51461017657806350fd73671461018b578063715018a61461019e57806372c27b62146101a657806379ba5097146101b95780637a3c4c17146101c15780638da5cb5b146101d457806391e078bb146101e9578063c98a295b146101fc578063d39a59c514610223578063d55be8c61461024a578063d6febde814610253578063de74e57b14610266578063e30c3978146102ee578063f2fde38b146102f6578063fbfa77cf14610309575b5f80fd5b6101257f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020015b60405180910390f35b61014b61014636600461169e565b610330565b6040516001600160e01b0319909116815260200161012f565b61012561271081565b61012560035481565b61018961018436600461177c565b6103e4565b005b610189610199366004611793565b610558565b6101896106e4565b6101896101b436600461177c565b6106f7565b61018961077a565b6101256101cf36600461177c565b6107b6565b6101dc610847565b60405161012f91906117b3565b6101896101f73660046117c7565b610855565b6101dc7f000000000000000000000000000000000000000000000000000000000000000081565b6101dc7f000000000000000000000000000000000000000000000000000000000000000081565b6101256101f481565b610189610261366004611793565b610a3b565b6102b561027436600461177c565b600460208190525f91825260409091208054600182015460028301546003840154948401546005909401546001600160a01b03909316949193909260ff1686565b604080516001600160a01b03909716875260208701959095529385019290925260608401526080830152151560a082015260c00161012f565b6101dc610a57565b6101896103043660046117f0565b610a66565b6101dc7f000000000000000000000000000000000000000000000000000000000000000081565b5f336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614158061037257506001600160a01b0385163014155b8061037f57506002805414155b8061039157506001600160a01b038416155b806103b557505f838152600460205260409020546001600160a01b03858116911614155b156103d3576040516328b05d3b60e01b815260040160405180910390fd5b50630a85bd0160e11b949350505050565b6103ec610acc565b5f818152600460205260409020546001600160a01b0316806104295760405163068bb67560e51b8152600481018390526024015b60405180910390fd5b6001600160a01b0381163314610455576040516314fcceef60e31b815260048101839052602401610420565b5f82815260046020819052604080832080546001600160a01b03191681556001810184905560028101849055600381018490559182018390556005909101805460ff19169055516001600160a01b0383169184917f26deca31ff8139a06c52453ce8985d34f7648a6d9af1d283c4063d052c355a0f9190a3604051632142170760e11b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342842e0e9061051d9030908590879060040161180b565b5f604051808303815f87803b158015610534575f80fd5b505af1158015610546573d5f803e3d5ffd5b50505050506105556001600255565b50565b610560610acc565b805f0361057f5760405162bfc92160e01b815260040160405180910390fd5b61058882610af4565b6040805160c081018252338082526020808301858152838501868152426060860190815260038054608088019081525f60a089018181528c8252600497889052908a9020985189546001600160a01b0319166001600160a01b039091161789559451600189015592516002880155905186820155905192850192909255516005909301805460ff19169315159390931790925590549151909184917f98868c46d49b200d82c273c9f28d73265826ca6567690262736450563dfff64c916106519186919061182f565b60405180910390a3604051632142170760e11b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342842e0e906106a99033903090879060040161180b565b5f604051808303815f87803b1580156106c0575f80fd5b505af11580156106d2573d5f803e3d5ffd5b505050506106e06001600255565b5050565b6106ec610bdf565b6106f55f610c11565b565b6106ff610bdf565b610707610acc565b6101f481111561072d576040516303dc98a160e51b815260048101829052602401610420565b60038054908290556040517f5ec5620e288c4be955ccb6cfb3d55431a8fed5c4c96ffacc4b9506360695f64e90610767908390859061182f565b60405180910390a1506105556001600255565b3380610784610a57565b6001600160a01b0316146107ad578060405163118cdaa760e01b815260040161042091906117b3565b61055581610c11565b5f818152600460208181526040808420815160c08101835281546001600160a01b03168082526001830154948201949094526002820154928101929092526003810154606083015292830154608082015260059092015460ff16151560a08301526108375760405163068bb67560e51b815260048101849052602401610420565b61084081610c2a565b9392505050565b5f546001600160a01b031690565b61085d610acc565b80158061086a5750808211155b1561088c5781816040516325b13ee760e11b815260040161042092919061182f565b61089583610af4565b6040805160c08101825233808252602080830186815283850186815242606086018181526003805460808901908152600160a08a018181525f8f81526004998a90528c90209a518b546001600160a01b03919091166001600160a01b0319909116178b559651908a01559351600289015590518782015591519386019390935590516005909401805494151560ff199095169490941790935591549251909286927f277bb19dead7c84114d4e92878fe32cbcd6d375c81b8f8da1ec32d5ae78267a0926109a7928892889290917f000000000000000000000000000000000000000000000000000000000000000091948552602085019390935260408401919091526060830152608082015260a00190565b60405180910390a3604051632142170760e11b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342842e0e906109ff9033903090889060040161180b565b5f604051808303815f87803b158015610a16575f80fd5b505af1158015610a28573d5f803e3d5ffd5b50505050610a366001600255565b505050565b610a43610acc565b610a4d8282610ccc565b6106e06001600255565b6001546001600160a01b031690565b610a6e610bdf565b600180546001600160a01b0319166001600160a01b038316908117909155610a94610847565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b6002805403610aee57604051633ee5aeb560e01b815260040160405180910390fd5b60028055565b5f818152600460205260409020546001600160a01b031615610b2c57604051637fbcdff960e01b815260048101829052602401610420565b6040516331a9108f60e11b81526004810182905233906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690636352211e90602401602060405180830381865afa158015610b91573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb5919061183d565b6001600160a01b03161461055557604051630e35d34560e11b815260048101829052602401610420565b33610be8610847565b6001600160a01b0316146106f5573360405163118cdaa760e01b815260040161042091906117b3565b600180546001600160a01b03191690556105558161125e565b5f8160a00151610c3c57506020015190565b5f826060015142610c4d9190611858565b90507f00000000000000000000000000000000000000000000000000000000000000008110610c7f5750506040015190565b610cbd83604001518460200151610c969190611858565b827f00000000000000000000000000000000000000000000000000000000000000006112ad565b83602001516108409190611858565b5f82815260046020818152604092839020835160c08101855281546001600160a01b03168082526001830154938201939093526002820154948101949094526003810154606085015291820154608084015260059091015460ff16151560a0830152610d4e5760405163068bb67560e51b815260048101849052602401610420565b5f610d5882610c2a565b905082811115610d7f57808360405163513c618160e01b815260040161042092919061182f565b5f610d918284608001516127106112ad565b5f86815260046020819052604080832080546001600160a01b031916815560018101849055600281018490556003810184905591820192909255600501805460ff191690558451905191925033916001600160a01b039091169087907fa70b1a854695e7921b122988e216d3a6cd10ed799017c67b1ff231967e6bf56d90610e1c908790879061182f565b60405180910390a46040516370a0823160e01b81525f906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190610e729030906004016117b3565b602060405180830381865afa158015610e8d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eb19190611877565b9050610ee86001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633308661136c565b6040516370a0823160e01b81525f906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190610f369030906004016117b3565b602060405180830381865afa158015610f51573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f759190611877565b905081811080610f8e575083610f8b8383611858565b14155b15610fac5760405163fe3a51d360e01b815260040160405180910390fd5b8215611197576110066001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f0000000000000000000000000000000000000000000000000000000000000000856113cc565b60405163f14faf6f60e01b8152600481018490527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f14faf6f906024015f604051808303815f87803b158015611065575f80fd5b505af1158015611077573d5f803e3d5ffd5b506110d19250506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690507f00000000000000000000000000000000000000000000000000000000000000005f6113cc565b6040516370a0823160e01b81525f906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a082319061111f9030906004016117b3565b602060405180830381865afa15801561113a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061115e9190611877565b9050818111806111775750836111748284611858565b14155b1561119557604051630f8c0f3560e11b815260040160405180910390fd5b505b84516111d8906111a78587611858565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016919061145c565b604051632142170760e11b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342842e0e9061122890309033908c9060040161180b565b5f604051808303815f87803b15801561123f575f80fd5b505af1158015611251573d5f803e3d5ffd5b5050505050505050505050565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f838302815f1985870982811083820303915050805f036112e1578382816112d7576112d761188e565b0492505050610840565b8084116113015760405163227bc15360e01b815260040160405180910390fd5b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b6113c684856001600160a01b03166323b872dd8686866040516024016113949392919061180b565b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050611482565b50505050565b5f836001600160a01b031663095ea7b384846040516024016113ef9291906118a2565b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050905061142884826114da565b6113c65761145284856001600160a01b031663095ea7b3865f6040516024016113949291906118a2565b6113c68482611482565b610a3683846001600160a01b031663a9059cbb85856040516024016113949291906118a2565b5f6114966001600160a01b0384168361157d565b905080515f141580156114ba5750808060200190518101906114b891906118bb565b155b15610a365782604051635274afe760e01b815260040161042091906117b3565b5f805f846001600160a01b0316846040516114f591906118da565b5f604051808303815f865af19150503d805f811461152e576040519150601f19603f3d011682016040523d82523d5f602084013e611533565b606091505b509150915081801561155d57508051158061155d57508080602001905181019061155d91906118bb565b801561157257505f856001600160a01b03163b115b925050505b92915050565b606061084083835f845f80856001600160a01b031684866040516115a191906118da565b5f6040518083038185875af1925050503d805f81146115db576040519150601f19603f3d011682016040523d82523d5f602084013e6115e0565b606091505b50915091506115f08683836115fa565b9695505050505050565b60608261160f5761160a8261164d565b610840565b815115801561162657506001600160a01b0384163b155b156116465783604051639996b31560e01b815260040161042091906117b3565b5080610840565b80511561165d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6001600160a01b0381168114610555575f80fd5b634e487b7160e01b5f52604160045260245ffd5b5f805f80608085870312156116b1575f80fd5b84356116bc81611676565b935060208501356116cc81611676565b92506040850135915060608501356001600160401b038111156116ed575f80fd5b8501601f810187136116fd575f80fd5b80356001600160401b038111156117165761171661168a565b604051601f8201601f19908116603f011681016001600160401b03811182821017156117445761174461168a565b60405281815282820160200189101561175b575f80fd5b816020840160208301375f6020838301015280935050505092959194509250565b5f6020828403121561178c575f80fd5b5035919050565b5f80604083850312156117a4575f80fd5b50508035926020909101359150565b6001600160a01b0391909116815260200190565b5f805f606084860312156117d9575f80fd5b505081359360208301359350604090920135919050565b5f60208284031215611800575f80fd5b813561084081611676565b6001600160a01b039384168152919092166020820152604081019190915260600190565b918252602082015260400190565b5f6020828403121561184d575f80fd5b815161084081611676565b8181038181111561157757634e487b7160e01b5f52601160045260245ffd5b5f60208284031215611887575f80fd5b5051919050565b634e487b7160e01b5f52601260045260245ffd5b6001600160a01b03929092168252602082015260400190565b5f602082840312156118cb575f80fd5b81518015158114610840575f80fd5b5f82518060208501845e5f92019182525091905056fea2646970667358221220ab2fd239680052c54d42fea2d19fee3f7ddf74c987a7757d77122ee807a8b0f564736f6c634300081a0033","sourceMap":"53338:9089:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53737:40;;;;;;;;160:25:1;;;148:2;133:18;53737:40:0;;;;;;;;59699:462;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;;1972:33:1;;;1954:52;;1942:2;1927:18;59699:462:0;1810:202:1;53506:36:0;;53536:6;53506:36;;53783:21;;;;;;58004:375;;;;;;:::i;:::-;;:::i;:::-;;56655;;;;;;:::i;:::-;;:::i;4917:101::-;;;:::i;59172:258::-;;;;;;:::i;:::-;;:::i;7507:229::-;;;:::i;58846:231::-;;;;;;:::i;:::-;;:::i;4262:85::-;;;:::i;:::-;;;;;;;:::i;57373:539::-;;;;;;:::i;:::-;;:::i;53596:39::-;;;;;53641:43;;;;;53548:41;;53586:3;53548:41;;58642:110;;;;;;:::i;:::-;;:::i;54115:51::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;54115:51:0;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4046:32:1;;;4028:51;;4110:2;4095:18;;4088:34;;;;4138:18;;;4131:34;;;;4196:2;4181:18;;4174:34;4239:3;4224:19;;4217:35;4296:14;4289:22;4066:3;4268:19;;4261:51;4015:3;4000:19;54115:51:0;3747:571:1;6620:99:0;;;:::i;6912:178::-;;;;;;:::i;:::-;;:::i;53690:41::-;;;;;59699:462;59850:6;59889:10;-1:-1:-1;;;;;59911:6:0;59889:29;;;;:58;;-1:-1:-1;;;;;;59922:25:0;;59942:4;59922:25;;59889:58;:88;;;-1:-1:-1;9532:1:0;10987:7;;:18;59951:26;59889:88;:126;;;-1:-1:-1;;;;;;59997:18:0;;;59889:126;:162;;;-1:-1:-1;60019:17:0;;;;:8;:17;;;;;:24;-1:-1:-1;;;;;60019:32:0;;;:24;;:32;;59889:162;59872:212;;;60069:15;;-1:-1:-1;;;60069:15:0;;;;;;;;;;;59872:212;-1:-1:-1;;;;59699:462:0;;;;;;:::o;58004:375::-;10131:21;:19;:21::i;:::-;58069:14:::1;58086:17:::0;;;:8:::1;:17;::::0;;;;:24;-1:-1:-1;;;;;58086:24:0::1;::::0;58120:51:::1;;58153:18;::::0;-1:-1:-1;;;58153:18:0;;::::1;::::0;::::1;160:25:1::0;;;133:18;;58153::0::1;;;;;;;;58120:51;-1:-1:-1::0;;;;;58185:20:0;::::1;58195:10;58185:20;58181:51;;58214:18;::::0;-1:-1:-1;;;58214:18:0;;::::1;::::0;::::1;160:25:1::0;;;133:18;;58214::0::1;14:177:1::0;58181:51:0::1;58249:17;::::0;;;:8:::1;:17;::::0;;;;;;;58242:24;;-1:-1:-1;;;;;;58242:24:0::1;::::0;;;;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;58242:24:0::1;::::0;;58281:26;-1:-1:-1;;;;;58281:26:0;::::1;::::0;58258:7;;58281:26:::1;::::0;58249:17;58281:26:::1;58317:55;::::0;-1:-1:-1;;;58317:55:0;;-1:-1:-1;;;;;58317:6:0::1;:23;::::0;::::1;::::0;:55:::1;::::0;58349:4:::1;::::0;58356:6;;58364:7;;58317:55:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;58059:320;10173:20:::0;9490:1;10699:7;:21;10519:208;10173:20;58004:375;:::o;56655:::-;10131:21;:19;:21::i;:::-;56737:5:::1;56746:1;56737:10:::0;56733:37:::1;;56756:14;;-1:-1:-1::0;;;56756:14:0::1;;;;;;;;;;;56733:37;56780:22;56794:7;56780:13;:22::i;:::-;56832:65;::::0;;::::1;::::0;::::1;::::0;;56840:10:::1;56832:65:::0;;;::::1;::::0;;::::1;::::0;;;;;;;;;56866:15:::1;56832:65:::0;;;;;;56883:6:::1;::::0;;56832:65;;;;;;-1:-1:-1;56832:65:0;;;;;;56812:17;;;:8:::1;:17:::0;;;;;;;;:85;;;;-1:-1:-1;;;;;;56812:85:0::1;-1:-1:-1::0;;;;;56812:85:0;;::::1;;::::0;;;;-1:-1:-1;56812:85:0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;;;;::::1;::::0;;;;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;56812:85:0::1;::::0;::::1;;::::0;;;::::1;::::0;;;56947:6;;56912:42;;56840:10;;56812:17;;56912:42:::1;::::0;::::1;::::0;56832:65;;56947:6;56912:42:::1;:::i;:::-;;;;;;;;56964:59;::::0;-1:-1:-1;;;56964:59:0;;-1:-1:-1;;;;;56964:6:0::1;:23;::::0;::::1;::::0;:59:::1;::::0;56988:10:::1;::::0;57008:4:::1;::::0;57015:7;;56964:59:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;10173:20:::0;9490:1;10699:7;:21;10519:208;10173:20;56655:375;;:::o;4917:101::-;4155:13;:11;:13::i;:::-;4981:30:::1;5008:1;4981:18;:30::i;:::-;4917:101::o:0;59172:258::-;4155:13;:11;:13::i;:::-;10131:21:::1;:19;:21::i;:::-;53586:3:::2;59256:9;:23;59252:57;;;59288:21;::::0;-1:-1:-1;;;59288:21:0;;::::2;::::0;::::2;160:25:1::0;;;133:18;;59288:21:0::2;14:177:1::0;59252:57:0::2;59339:6;::::0;;59355:18;;;;59388:35:::2;::::0;::::2;::::0;::::2;::::0;59339:6;;59364:9;;59388:35:::2;:::i;:::-;;;;;;;;59242:188;10173:20:::1;9490:1:::0;10699:7;:21;10519:208;7507:229;2412:10;;7602:14;:12;:14::i;:::-;-1:-1:-1;;;;;7602:24:0;;7598:96;;7676:6;7649:34;;-1:-1:-1;;;7649:34:0;;;;;;;;:::i;7598:96::-;7703:26;7722:6;7703:18;:26::i;58846:231::-;58908:7;58952:17;;;:8;:17;;;;;;;;58927:42;;;;;;;;;-1:-1:-1;;;;;58927:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58979:59;;59020:18;;-1:-1:-1;;;59020:18:0;;;;;160:25:1;;;133:18;;59020::0;14:177:1;58979:59:0;59055:15;59062:7;59055:6;:15::i;:::-;59048:22;58846:231;-1:-1:-1;;;58846:231:0:o;4262:85::-;4308:7;4334:6;-1:-1:-1;;;;;4334:6:0;;4262:85::o;57373:539::-;10131:21;:19;:21::i;:::-;57488:15;;;:43:::1;;;57521:10;57507;:24;;57488:43;57484:100;;;57561:10;57573;57540:44;;-1:-1:-1::0;;;57540:44:0::1;;;;;;;;;:::i;57484:100::-;57594:22;57608:7;57594:13;:22::i;:::-;57646:74;::::0;;::::1;::::0;::::1;::::0;;57654:10:::1;57646:74:::0;;;::::1;::::0;;::::1;::::0;;;;;;;;;57690:15:::1;57646:74:::0;;;;;;57707:6:::1;::::0;;57646:74;;;;;;57715:4:::1;57646:74:::0;;;;;;-1:-1:-1;57626:17:0;;;:8:::1;:17:::0;;;;;;;:94;;;;-1:-1:-1;;;;;57626:94:0;;;::::1;-1:-1:-1::0;;;;;;57626:94:0;;::::1;;::::0;;;;;;::::1;::::0;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;;;;::::1;::::0;;;;;;::::1;::::0;;::::1;::::0;;;::::1;;-1:-1:-1::0;;57626:94:0;;::::1;::::0;;;::::1;::::0;;;57829:6;;57735:101;;57654:10;;57635:7;;57735:101:::1;::::0;::::1;::::0;57666:10;;57678;;57690:15;;57812::::1;::::0;5698:25:1;;;5754:2;5739:18;;5732:34;;;;5797:2;5782:18;;5775:34;;;;5840:2;5825:18;;5818:34;5883:3;5868:19;;5861:35;5685:3;5670:19;;5439:463;57735:101:0::1;;;;;;;;57846:59;::::0;-1:-1:-1;;;57846:59:0;;-1:-1:-1;;;;;57846:6:0::1;:23;::::0;::::1;::::0;:59:::1;::::0;57870:10:::1;::::0;57890:4:::1;::::0;57897:7;;57846:59:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;10173:20:::0;9490:1;10699:7;:21;10519:208;10173:20;57373:539;;;:::o;58642:110::-;10131:21;:19;:21::i;:::-;58722:23:::1;58727:7;58736:8;58722:4;:23::i;:::-;10173:20:::0;9490:1;10699:7;:21;10519:208;6620:99;6699:13;;-1:-1:-1;;;;;6699:13:0;;6620:99::o;6912:178::-;4155:13;:11;:13::i;:::-;7001::::1;:24:::0;;-1:-1:-1;;;;;;7001:24:0::1;-1:-1:-1::0;;;;;7001:24:0;::::1;::::0;;::::1;::::0;;;7065:7:::1;:5;:7::i;:::-;-1:-1:-1::0;;;;;7040:43:0::1;;;;;;;;;;;6912:178:::0;:::o;10206:307::-;9532:1;10333:7;;:18;10329:86;;10374:30;;-1:-1:-1;;;10374:30:0;;;;;;;;;;;10329:86;9532:1;10489:17;;10206:307::o;60167:225::-;60270:1;60234:17;;;:8;:17;;;;;:24;-1:-1:-1;;;;;60234:24:0;:38;60230:73;;60281:22;;-1:-1:-1;;;60281:22:0;;;;;160:25:1;;;133:18;;60281:22:0;14:177:1;60230:73:0;60317:23;;-1:-1:-1;;;60317:23:0;;;;;160:25:1;;;60344:10:0;;-1:-1:-1;;;;;60317:6:0;:14;;;;133:18:1;;60317:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;60317:37:0;;60313:72;;60363:22;;-1:-1:-1;;;60363:22:0;;;;;160:25:1;;;133:18;;60363:22:0;14:177:1;4420:162:0;2412:10;4479:7;:5;:7::i;:::-;-1:-1:-1;;;;;4479:23:0;;4475:101;;2412:10;4525:40;;-1:-1:-1;;;4525:40:0;;;;;;;;:::i;7274:153::-;7363:13;7356:20;;-1:-1:-1;;;;;;7356:20:0;;;7386:34;7411:8;7386:24;:34::i;60398:549::-;60460:7;60484;:17;;;60479:44;;-1:-1:-1;60510:13:0;;;;60398:549::o;60479:44::-;60533:15;60569:7;:17;;;60551:15;:35;;;;:::i;:::-;60533:53;;60611:15;60600:7;:26;60596:57;;-1:-1:-1;;60635:18:0;;;;60398:549::o;60596:57::-;60855:85;60895:7;:18;;;60879:7;:13;;;:34;;;;:::i;:::-;60915:7;60924:15;60855:23;:85::i;:::-;60839:7;:13;;;:101;;;;:::i;60953:1472::-;61020:22;61045:17;;;:8;:17;;;;;;;;;61020:42;;;;;;;;;-1:-1:-1;;;;;61020:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61072:59;;61113:18;;-1:-1:-1;;;61113:18:0;;;;;160:25:1;;;133:18;;61113::0;14:177:1;61072:59:0;61141:13;61157:15;61164:7;61157:6;:15::i;:::-;61141:31;;61194:8;61186:5;:16;61182:63;;;61229:5;61236:8;61211:34;;-1:-1:-1;;;61211:34:0;;;;;;;;;:::i;61182:63::-;61255:11;61269:55;61293:5;61300:7;:18;;;53536:6;61269:23;:55::i;:::-;61420:17;;;;:8;:17;;;;;;;;61413:24;;-1:-1:-1;;;;;;61413:24:0;;;-1:-1:-1;61413:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;61413:24:0;;;61466:14;;61452:53;;61255:69;;-1:-1:-1;61482:10:0;;-1:-1:-1;;;;;61452:53:0;;;;61420:17;;61452:53;;;;61494:5;;61255:69;;61452:53;:::i;:::-;;;;;;;;61540:28;;-1:-1:-1;;;61540:28:0;;61516:21;;-1:-1:-1;;;;;61540:3:0;:13;;;;:28;;61562:4;;61540:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;61516:52;-1:-1:-1;61578:54:0;-1:-1:-1;;;;;61578:3:0;:20;61599:10;61619:4;61626:5;61578:20;:54::i;:::-;61665:28;;-1:-1:-1;;;61665:28:0;;61642:20;;-1:-1:-1;;;;;61665:3:0;:13;;;;:28;;61687:4;;61665:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;61642:51;;61722:13;61707:12;:28;:69;;;-1:-1:-1;61771:5:0;61739:28;61754:13;61739:12;:28;:::i;:::-;:37;;61707:69;61703:105;;;61785:23;;-1:-1:-1;;;61785:23:0;;;;;;;;;;;61703:105;61823:8;;61819:476;;61937:37;-1:-1:-1;;;;;61937:3:0;:16;61962:5;61970:3;61937:16;:37::i;:::-;61988:17;;-1:-1:-1;;;61988:17:0;;;;;160:25:1;;;61988:5:0;-1:-1:-1;;;;;61988:12:0;;;;133:18:1;;61988:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;62019:35:0;;-1:-1:-1;;;;;;;62019:3:0;:16;;-1:-1:-1;62044:5:0;62052:1;62019:16;:35::i;:::-;62099:28;;-1:-1:-1;;;62099:28:0;;62068;;-1:-1:-1;;;;;62099:3:0;:13;;;;:28;;62121:4;;62099:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;62068:59;;62168:12;62145:20;:35;:81;;;-1:-1:-1;62223:3:0;62184:35;62199:20;62184:12;:35;:::i;:::-;:42;;62145:81;62141:144;;;62253:17;;-1:-1:-1;;;62253:17:0;;;;;;;;;;;62141:144;61833:462;61819:476;62321:14;;62304:45;;62337:11;62345:3;62337:5;:11;:::i;:::-;-1:-1:-1;;;;;62304:3:0;:16;;:45;:16;:45::i;:::-;62359:59;;-1:-1:-1;;;62359:59:0;;-1:-1:-1;;;;;62359:6:0;:23;;;;:59;;62391:4;;62398:10;;62410:7;;62359:59;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61010:1415;;;;;60953:1472;;:::o;5536:187::-;5609:16;5628:6;;-1:-1:-1;;;;;5644:17:0;;;-1:-1:-1;;;;;;5644:17:0;;;;;;5676:40;;5628:6;;;;;;;5676:40;;5609:16;5676:40;5599:124;5536:187;:::o;41319:4108::-;41401:14;41764:5;;;41401:14;-1:-1:-1;;41768:1:0;41764;41936:20;42009:5;42005:2;42002:13;41994:5;41990:2;41986:14;41982:34;41973:43;;;42110:5;42119:1;42110:10;42106:368;;42448:11;42440:5;:19;;;;;:::i;:::-;;42433:26;;;;;;42106:368;42594:5;42579:11;:20;42575:88;;42626:22;;-1:-1:-1;;;42626:22:0;;;;;;;;;;;42575:88;42917:17;43052:11;43049:1;43046;43039:25;43451:12;43481:15;;;43466:31;;43600:22;;;;;44323:1;44304;:15;;44303:21;;44555;;;44551:25;;44540:36;44624:21;;;44620:25;;44609:36;44694:21;;;44690:25;;44679:36;44764:21;;;44760:25;;44749:36;44834:21;;;44830:25;;44819:36;44905:21;;;44901:25;;;44890:36;43844:12;;;;43840:23;;;43865:1;43836:31;43166:20;;;43155:32;;;43956:12;;;;43213:21;;;;43698:16;;;;43947:21;;;;45368:15;;;;;-1:-1:-1;;41319:4108:0;;;;;:::o;33335:200::-;33447:81;33467:5;33489;-1:-1:-1;;;;;33489:18:0;;33510:4;33516:2;33520:5;33474:53;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;33474:53:0;;;;;;;;;;;33447:19;:81::i;:::-;33335:200;;;;:::o;34965:391::-;35064:25;35107:5;-1:-1:-1;;;;;35107:13:0;;35123:7;35132:5;35092:47;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;35092:47:0;;;;;;;;;;;35064:75;;35154:44;35178:5;35185:12;35154:23;:44::i;:::-;35149:201;;35214:71;35234:5;35256;-1:-1:-1;;;;;35256:13:0;;35272:7;35281:1;35241:43;;;;;;;;;:::i;35214:71::-;35299:40;35319:5;35326:12;35299:19;:40::i;32924:172::-;33018:71;33038:5;33060;-1:-1:-1;;;;;33060:14:0;;33077:2;33081:5;33045:43;;;;;;;;;:::i;35739:652::-;36181:23;36207:33;-1:-1:-1;;;;;36207:27:0;;36235:4;36207:27;:33::i;:::-;36181:59;;36254:10;:17;36275:1;36254:22;;:57;;;;;36292:10;36281:30;;;;;;;;;;;;:::i;:::-;36280:31;36254:57;36250:135;;;36367:5;36334:40;;-1:-1:-1;;;36334:40:0;;;;;;;;:::i;36892:601::-;36987:4;37300:12;37314:23;37349:5;-1:-1:-1;;;;;37341:19:0;37361:4;37341:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37299:67;;;;37383:7;:69;;;;-1:-1:-1;37395:17:0;;:22;;:56;;;37432:10;37421:30;;;;;;;;;;;;:::i;:::-;37383:103;;;;;37485:1;37464:5;-1:-1:-1;;;;;37456:26:0;;:30;37383:103;37376:110;;;;36892:601;;;;;:::o;28102:151::-;28177:12;28208:38;28230:6;28238:4;28244:1;28177:12;28830;28844:23;28871:6;-1:-1:-1;;;;;28871:11:0;28890:5;28897:4;28871:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28829:73;;;;28919:55;28946:6;28954:7;28963:10;28919:26;:55::i;:::-;28912:62;28589:392;-1:-1:-1;;;;;;28589:392:0:o;30058:580::-;30196:12;30229:7;30224:408;;30252:19;30260:10;30252:7;:19::i;:::-;30224:408;;;30476:17;;:22;:49;;;;-1:-1:-1;;;;;;30502:18:0;;;:23;30476:49;30472:119;;;30569:6;30552:24;;-1:-1:-1;;;30552:24:0;;;;;;;;:::i;30472:119::-;-1:-1:-1;30611:10:0;30604:17;;31174:516;31305:17;;:21;31301:383;;31533:10;31527:17;31589:15;31576:10;31572:2;31568:19;31561:44;31301:383;31656:17;;-1:-1:-1;;;31656:17:0;;;;;;;;;;;196:131:1;-1:-1:-1;;;;;271:31:1;;261:42;;251:70;;317:1;314;307:12;332:127;393:10;388:3;384:20;381:1;374:31;424:4;421:1;414:15;448:4;445:1;438:15;464:1341;559:6;567;575;583;636:3;624:9;615:7;611:23;607:33;604:53;;;653:1;650;643:12;604:53;692:9;679:23;711:31;736:5;711:31;:::i;:::-;761:5;-1:-1:-1;818:2:1;803:18;;790:32;831:33;790:32;831:33;:::i;:::-;883:7;-1:-1:-1;963:2:1;948:18;;935:32;;-1:-1:-1;1044:2:1;1029:18;;1016:32;-1:-1:-1;;;;;1060:30:1;;1057:50;;;1103:1;1100;1093:12;1057:50;1126:22;;1179:4;1171:13;;1167:27;-1:-1:-1;1157:55:1;;1208:1;1205;1198:12;1157:55;1235:16;;-1:-1:-1;;;;;1263:30:1;;1260:56;;;1296:18;;:::i;:::-;1345:2;1339:9;1437:2;1399:17;;-1:-1:-1;;1395:31:1;;;1428:2;1391:40;1387:54;1375:67;;-1:-1:-1;;;;;1457:34:1;;1493:22;;;1454:62;1451:88;;;1519:18;;:::i;:::-;1555:2;1548:22;1579;;;1620:15;;;1637:2;1616:24;1613:37;-1:-1:-1;1610:57:1;;;1663:1;1660;1653:12;1610:57;1719:6;1714:2;1710;1706:11;1701:2;1693:6;1689:15;1676:50;1772:1;1767:2;1758:6;1750;1746:19;1742:28;1735:39;1793:6;1783:16;;;;;464:1341;;;;;;;:::o;2017:226::-;2076:6;2129:2;2117:9;2108:7;2104:23;2100:32;2097:52;;;2145:1;2142;2135:12;2097:52;-1:-1:-1;2190:23:1;;2017:226;-1:-1:-1;2017:226:1:o;2248:346::-;2316:6;2324;2377:2;2365:9;2356:7;2352:23;2348:32;2345:52;;;2393:1;2390;2383:12;2345:52;-1:-1:-1;;2438:23:1;;;2558:2;2543:18;;;2530:32;;-1:-1:-1;2248:346:1:o;2599:203::-;-1:-1:-1;;;;;2763:32:1;;;;2745:51;;2733:2;2718:18;;2599:203::o;2807:466::-;2884:6;2892;2900;2953:2;2941:9;2932:7;2928:23;2924:32;2921:52;;;2969:1;2966;2959:12;2921:52;-1:-1:-1;;3014:23:1;;;3134:2;3119:18;;3106:32;;-1:-1:-1;3237:2:1;3222:18;;;3209:32;;2807:466;-1:-1:-1;2807:466:1:o;4323:247::-;4382:6;4435:2;4423:9;4414:7;4410:23;4406:32;4403:52;;;4451:1;4448;4441:12;4403:52;4490:9;4477:23;4509:31;4534:5;4509:31;:::i;4810:371::-;-1:-1:-1;;;;;5030:32:1;;;5012:51;;5099:32;;;;5094:2;5079:18;;5072:60;5163:2;5148:18;;5141:34;;;;5000:2;4985:18;;4810:371::o;5186:248::-;5360:25;;;5416:2;5401:18;;5394:34;5348:2;5333:18;;5186:248::o;5907:251::-;5977:6;6030:2;6018:9;6009:7;6005:23;6001:32;5998:52;;;6046:1;6043;6036:12;5998:52;6078:9;6072:16;6097:31;6122:5;6097:31;:::i;6163:225::-;6230:9;;;6251:11;;;6248:134;;;6304:10;6299:3;6295:20;6292:1;6285:31;6339:4;6336:1;6329:15;6367:4;6364:1;6357:15;6393:184;6463:6;6516:2;6504:9;6495:7;6491:23;6487:32;6484:52;;;6532:1;6529;6522:12;6484:52;-1:-1:-1;6555:16:1;;6393:184;-1:-1:-1;6393:184:1:o;6582:127::-;6643:10;6638:3;6634:20;6631:1;6624:31;6674:4;6671:1;6664:15;6698:4;6695:1;6688:15;6714:274;-1:-1:-1;;;;;6906:32:1;;;;6888:51;;6970:2;6955:18;;6948:34;6876:2;6861:18;;6714:274::o;7280:277::-;7347:6;7400:2;7388:9;7379:7;7375:23;7371:32;7368:52;;;7416:1;7413;7406:12;7368:52;7448:9;7442:16;7501:5;7494:13;7487:21;7480:5;7477:32;7467:60;;7523:1;7520;7513:12;7562:301;7691:3;7729:6;7723:13;7775:6;7768:4;7760:6;7756:17;7751:3;7745:37;7837:1;7801:16;;7826:13;;;-1:-1:-1;7801:16:1;7562:301;-1:-1:-1;7562:301:1:o","linkReferences":{},"immutableReferences":{"2206":[{"start":513,"length":32},{"start":3645,"length":32},{"start":3776,"length":32},{"start":3841,"length":32},{"start":4031,"length":32},{"start":4232,"length":32},{"start":4330,"length":32},{"start":4529,"length":32}],"2209":[{"start":552,"length":32},{"start":828,"length":32},{"start":1252,"length":32},{"start":1648,"length":32},{"start":2502,"length":32},{"start":2892,"length":32},{"start":4591,"length":32}],"2212":[{"start":782,"length":32},{"start":4065,"length":32},{"start":4124,"length":32},{"start":4268,"length":32}],"2214":[{"start":259,"length":32},{"start":2404,"length":32},{"start":3153,"length":32},{"start":3225,"length":32}]}}}}}}},"signatures":{"function":[{"signature":"acceptOwnership()","signatureHash4":"0x79ba5097","signatureHash32":"0x79ba5097e5519a381a52113cdcc59540d13f73fd9d26abc0453484a096cc96f2"},{"signature":"auctionDuration()","signatureHash4":"0x0cbf54c8","signatureHash32":"0x0cbf54c844f676babc862d6877e9e49a43a5d6218eb75c9b6d2df596533cf312"},{"signature":"BPS()","signatureHash4":"0x249d39e9","signatureHash32":"0x249d39e95dcf38deb6c884103e990949e9d7e5d370eee3d20091aba0a46aa824"},{"signature":"buy(uint256,uint256)","signatureHash4":"0xd6febde8","signatureHash32":"0xd6febde8e106f09efd155cebc8789e26a04bdc3a9c44367e4fa0cab9b08eb254"},{"signature":"cancel(uint256)","signatureHash4":"0x40e58ee5","signatureHash32":"0x40e58ee57cbfe74d40a14ae6415beb600e320cffce987b1449899a4608d2fbf8"},{"signature":"currentPrice(uint256)","signatureHash4":"0x7a3c4c17","signatureHash32":"0x7a3c4c17fa56da2c7ac555ad9849217161376d66ee446840c9001a31dd79dbbc"},{"signature":"feeBps()","signatureHash4":"0x24a9d853","signatureHash32":"0x24a9d85381176ce7f0b1b3841f92299cc755d72f01089960d8178157468b9368"},{"signature":"listings(uint256)","signatureHash4":"0xde74e57b","signatureHash32":"0xde74e57b1f384121dd45416c90a46b1285800eea6f4c124ecdce008324b8bfcf"},{"signature":"list(uint256,uint256)","signatureHash4":"0x50fd7367","signatureHash32":"0x50fd7367461393e5b028f2214c333f40eee6b0539cb8d304961341ad5bbfbd34"},{"signature":"MAX_FEE_BPS()","signatureHash4":"0xd55be8c6","signatureHash32":"0xd55be8c614643c7e551c45ec9daa6eb8135894a3c156e4227c24ce99a787aae7"},{"signature":"onERC721Received(address,address,uint256,bytes)","signatureHash4":"0x150b7a02","signatureHash32":"0x150b7a023d4804d13e8c85fb27262cb750cf6ba9f9dd3bb30d90f482ceeb4b1f"},{"signature":"owner()","signatureHash4":"0x8da5cb5b","signatureHash32":"0x8da5cb5b36e7f68c1d2e56001220cdbdd3ba2616072f718acfda4a06441a807d"},{"signature":"pendingOwner()","signatureHash4":"0xe30c3978","signatureHash32":"0xe30c3978ddd82956a01b5cb08d17f1a2d73e636aeefb7b36f896e41d4c2aab90"},{"signature":"renounceOwnership()","signatureHash4":"0x715018a6","signatureHash32":"0x715018a616b5f2044428f6fadb7deef4ce9ca76ef60ea57978964ad137bbe7ae"},{"signature":"setFeeBps(uint256)","signatureHash4":"0x72c27b62","signatureHash32":"0x72c27b628c5de4ff855e92dc3cd20898fe9f32196b18e7307956b959d998ff04"},{"signature":"sqk()","signatureHash4":"0xc98a295b","signatureHash32":"0xc98a295b079f59c3de48974261b4eeca1437a2c7ae60e120e52f235190f4063c"},{"signature":"squeek()","signatureHash4":"0xd39a59c5","signatureHash32":"0xd39a59c52a88445fe18eaaedd617744343d29faf5ba98fa4ca4d01f08bd4b446"},{"signature":"startAuction(uint256,uint256,uint256)","signatureHash4":"0x91e078bb","signatureHash32":"0x91e078bba26b6e5a5806fcd337264152da6c07208161af0dd5ba2fecb2782cfc"},{"signature":"transferOwnership(address)","signatureHash4":"0xf2fde38b","signatureHash32":"0xf2fde38b092330466c661fc723d5289b90272a3e580e3187d1d7ef788506c557"},{"signature":"vault()","signatureHash4":"0xfbfa77cf","signatureHash32":"0xfbfa77cfa16f85c900b53d1065f840fd1fc574b2cd12cde1a86984206875ef23"}],"event":[{"signature":"AuctionStarted(uint256,address,uint256,uint256,uint256,uint256,uint256)","signatureHash4":"0x277bb19d","signatureHash32":"0x277bb19dead7c84114d4e92878fe32cbcd6d375c81b8f8da1ec32d5ae78267a0"},{"signature":"Cancelled(uint256,address)","signatureHash4":"0x26deca31","signatureHash32":"0x26deca31ff8139a06c52453ce8985d34f7648a6d9af1d283c4063d052c355a0f"},{"signature":"FeeBpsUpdated(uint256,uint256)","signatureHash4":"0x5ec5620e","signatureHash32":"0x5ec5620e288c4be955ccb6cfb3d55431a8fed5c4c96ffacc4b9506360695f64e"},{"signature":"Listed(uint256,address,uint256,uint256)","signatureHash4":"0x98868c46","signatureHash32":"0x98868c46d49b200d82c273c9f28d73265826ca6567690262736450563dfff64c"},{"signature":"OwnershipTransferred(address,address)","signatureHash4":"0x8be0079c","signatureHash32":"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0"},{"signature":"OwnershipTransferStarted(address,address)","signatureHash4":"0x38d16b8c","signatureHash32":"0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700"},{"signature":"Sold(uint256,address,address,uint256,uint256)","signatureHash4":"0xa70b1a85","signatureHash32":"0xa70b1a854695e7921b122988e216d3a6cd10ed799017c67b1ff231967e6bf56d"}],"error":[{"signature":"AddressEmptyCode(address)","signatureHash4":"0x9996b315","signatureHash32":"0x9996b315c842ff135b8fc4a08ad5df1c344efbc03d2687aecc0678050d2aac89"},{"signature":"AddressInsufficientBalance(address)","signatureHash4":"0xcd786059","signatureHash32":"0xcd7860599b9fd41bcf04bec8b7a59cb8b83ebbb59480bead3f13259df2ace421"},{"signature":"AlreadyListed(uint256)","signatureHash4":"0x7fbcdff9","signatureHash32":"0x7fbcdff9d313f648fc928eac83f85d0b6987399caf4b6cd75676f0ddaf44a172"},{"signature":"FailedInnerCall()","signatureHash4":"0x1425ea42","signatureHash32":"0x1425ea42df7c932537f94e8b917ea9c5931f140fb6e8098822ef05dc56222ca9"},{"signature":"FeeNotCollected()","signatureHash4":"0x1f181e6a","signatureHash32":"0x1f181e6ad408add9b1b9bc5d8db1817954361ad40021bc408d15c911b56bbc01"},{"signature":"FeeTooHigh(uint256)","signatureHash4":"0x7b931420","signatureHash32":"0x7b9314203a3b3ff62160a372518d07bc82a41321a06443b2fb210b880301fa53"},{"signature":"InvalidAuctionDuration()","signatureHash4":"0xa2ee050e","signatureHash32":"0xa2ee050edf0fd4d138c3d213385c9e906808761919b8e1a87de6cd34453f23fb"},{"signature":"InvalidAuctionPrices(uint256,uint256)","signatureHash4":"0x4b627dce","signatureHash32":"0x4b627dce18fbfd0e2294c869471a0f9845626d1307c526e038119a87c087b1cf"},{"signature":"InvalidContract(address)","signatureHash4":"0xec016484","signatureHash32":"0xec0164843fa3d252d6335fcee18fe0148af8f073cc04d32f6fb47b9c583f62b3"},{"signature":"InvalidPrice()","signatureHash4":"0x00bfc921","signatureHash32":"0x00bfc9219afe7e8e3b9f14a4708e4cd3d8acb04e325ce992b2a60a58a519683a"},{"signature":"MathOverflowedMulDiv()","signatureHash4":"0x227bc153","signatureHash32":"0x227bc15363d4cef823f97dfe7ee13e9d7fd5d6baf94ddad1b9023fc7b1b91154"},{"signature":"NotListed(uint256)","signatureHash4":"0xd176cea0","signatureHash32":"0xd176cea0d27fd63dcbcf21630f5c3452bee00c238c2ad1142db4ae64e0f26fd0"},{"signature":"NotSeller(uint256)","signatureHash4":"0xa7e67778","signatureHash32":"0xa7e67778f8b2dc8fddf4c099cd2c04648e5bfbbd37511a1918a536818635372c"},{"signature":"NotTokenOwner(uint256)","signatureHash4":"0x1c6ba68a","signatureHash32":"0x1c6ba68aeec99ceeb2a1a035af53b7c37975e6f4de6b4195bf7aa95cbd14b577"},{"signature":"OwnableInvalidOwner(address)","signatureHash4":"0x1e4fbdf7","signatureHash32":"0x1e4fbdf7f3ef8bcaa855599e3abf48b232380f183f08f6f813d9ffa5bd585188"},{"signature":"OwnableUnauthorizedAccount(address)","signatureHash4":"0x118cdaa7","signatureHash32":"0x118cdaa7a341953d1887a2245fd6665d741c67c8c50581daa59e1d03373fa188"},{"signature":"PriceExceedsLimit(uint256,uint256)","signatureHash4":"0x513c6181","signatureHash32":"0x513c61810181ad0350f4361658461d66a0cd26dee1c76de00b8a44ac0933d9ac"},{"signature":"ReentrancyGuardReentrantCall()","signatureHash4":"0x3ee5aeb5","signatureHash32":"0x3ee5aeb571de7fc460830b4d0017439a1ca56fb0bc39062227ade4fe4a24c1ca"},{"signature":"SafeERC20FailedOperation(address)","signatureHash4":"0x5274afe7","signatureHash32":"0x5274afe73c98b4749fc91ffae6b7b574e7842cb2144a159e9377a5f20b32edf9"},{"signature":"UnexpectedNFT()","signatureHash4":"0x28b05d3b","signatureHash32":"0x28b05d3b11f152aea1cb43d26bfd9fe5d97e56b69a8b6db52e8541dc5cc25ebf"},{"signature":"UnexpectedSQKTransfer()","signatureHash4":"0xfe3a51d3","signatureHash32":"0xfe3a51d3afc89351250f6ba9478d31689c798c5cc99cf623d20dd8fa95ad305a"}]},"proxyResolution":{"isProxy":false,"proxyType":null,"implementations":[]},"match":"exact_match","chainId":"11155111","address":"0xDF0b997E701AaB73e69417e1910a9a9D93F0De8d"}