{"matchId":"6188711","creationMatch":"exact_match","runtimeMatch":"exact_match","verifiedAt":"2025-03-05T20:22:21Z","creationBytecode":{"onchainBytecode":"0x61028060405234801562000011575f80fd5b5060405162003170380380620031708339810160408190526200003491620009a0565b806101800151815f015180604051806040016040528060018152602001603160f81b815250845f01518560200151816003908162000073919062000b86565b50600462000082828262000b86565b50620000949150839050600562000434565b61012052620000a581600662000434565b61014052815160208084019190912060e052815190820120610100524660a0526200013260e05161010051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a08201525f9060c00160405160208183030381529060405280519060200120905090565b60805250503060c052506001600160a01b0381166200016b57604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b62000176816200046c565b5060016009556080810151606460ff9091161115620001d85760405162461bcd60e51b815260206004820152601660248201527f5461782063616e6e6f7420657863656564203130302500000000000000000000604482015260640162000162565b6101008101516001600160a01b0316620002415760405162461bcd60e51b8152602060048201526024808201527f54617820726563697069656e742063616e6e6f74206265207a65726f206164646044820152637265737360e01b606482015260840162000162565b6101208101516001600160a01b03166200029e5760405162461bcd60e51b815260206004820152601b60248201527f574554482063616e6e6f74206265207a65726f20616464726573730000000000604482015260640162000162565b6101408101516001600160a01b0316620002fb5760405162461bcd60e51b815260206004820152601d60248201527f526f757465722063616e6e6f74206265207a65726f2061646472657373000000604482015260640162000162565b6101608101516001600160a01b0316620003585760405162461bcd60e51b815260206004820152601e60248201527f466163746f72792063616e6e6f74206265207a65726f20616464726573730000604482015260640162000162565b6101808101516001600160a01b0316620003b55760405162461bcd60e51b815260206004820152601c60248201527f4f776e65722063616e6e6f74206265207a65726f206164647265737300000000604482015260640162000162565b608081015160ff9081166101c05260a08201516101e05260c08201516102005260e082015116610240526101008101516001600160a01b039081166102205243610260526101208201518116610160908152610140830151821661018052820151166101a05260608101516200042d903090620004bd565b5062000d24565b5f60208351101562000453576200044b83620004f9565b905062000466565b8162000460848262000b86565b5060ff90505b92915050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038216620004e85760405163ec442f0560e01b81525f600482015260240162000162565b620004f55f83836200053b565b5050565b5f80829050601f8151111562000526578260405163305a27a960e01b815260040162000162919062000c52565b8051620005338262000c86565b179392505050565b6001600160a01b03831615806200055957506001600160a01b038216155b1562000571576200056c8383836200062a565b505050565b6200057b62000759565b5f62000586620007c2565b60ff1690505f81118015620005a457506001600160a01b0384163014155b8015620005ba57506001600160a01b0383163014155b1562000617575f6064620005cf838562000cbe565b620005db919062000cd8565b90505f620005ea828562000cf8565b9050620006028661022051846200062a60201b60201c565b6200060f8686836200062a565b505062000624565b620006248484846200062a565b50505050565b6001600160a01b03831662000658578060025f8282546200064c919062000d0e565b90915550620006ca9050565b6001600160a01b0383165f9081526020819052604090205481811015620006ac5760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640162000162565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216620006e85760028054829003905562000706565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200074c91815260200190565b60405180910390a3505050565b600e54600160a01b900460ff161580156200077e575062000779620007c2565b60ff16155b15620007c057600e805460ff60a01b1916600160a01b1790556040517f6112e881046eeed04237d499dbf611392304cd4a8f1c851834c8777aee228f5d905f90a15b565b600e545f90600160a01b900460ff1615620007dc57505f90565b6102005161026051620007f0919062000d0e565b4310156200080057506101c05190565b5f610200516102605162000815919062000d0e565b62000821904362000cf8565b90505f6101e0518262000835919062000cd8565b90505f6102405160ff16826200084c919062000cbe565b90506101c05160ff16811062000865575f935050505090565b806101c05160ff1662000879919062000cf8565b935050505090565b634e487b7160e01b5f52604160045260245ffd5b6040516101a081016001600160401b0381118282101715620008bb57620008bb62000881565b60405290565b5f5b83811015620008dd578181015183820152602001620008c3565b50505f910152565b5f82601f830112620008f5575f80fd5b81516001600160401b038082111562000912576200091262000881565b604051601f8301601f19908116603f011681019082821181831017156200093d576200093d62000881565b8160405283815286602085880101111562000956575f80fd5b62000969846020830160208901620008c1565b9695505050505050565b805160ff8116811462000984575f80fd5b919050565b80516001600160a01b038116811462000984575f80fd5b5f60208284031215620009b1575f80fd5b81516001600160401b0380821115620009c8575f80fd5b908301906101a08286031215620009dd575f80fd5b620009e762000895565b825182811115620009f6575f80fd5b62000a0487828601620008e5565b82525060208301518281111562000a19575f80fd5b62000a2787828601620008e5565b60208301525062000a3b6040840162000973565b60408201526060830151606082015262000a586080840162000973565b608082015260a083015160a082015260c083015160c082015262000a7f60e0840162000973565b60e0820152610100915062000a9682840162000989565b82820152610120915062000aac82840162000989565b82820152610140915062000ac282840162000989565b82820152610160915062000ad882840162000989565b82820152610180915062000aee82840162000989565b91810191909152949350505050565b600181811c9082168062000b1257607f821691505b60208210810362000b3157634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200056c57805f5260205f20601f840160051c8101602085101562000b5e5750805b601f840160051c820191505b8181101562000b7f575f815560010162000b6a565b5050505050565b81516001600160401b0381111562000ba25762000ba262000881565b62000bba8162000bb3845462000afd565b8462000b37565b602080601f83116001811462000bf0575f841562000bd85750858301515b5f19600386901b1c1916600185901b17855562000c4a565b5f85815260208120601f198616915b8281101562000c205788860151825594840194600190910190840162000bff565b508582101562000c3e57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b602081525f825180602084015262000c72816040850160208701620008c1565b601f01601f19169190910160400192915050565b8051602080830151919081101562000b31575f1960209190910360031b1b16919050565b634e487b7160e01b5f52601160045260245ffd5b808202811582820484141762000466576200046662000caa565b5f8262000cf357634e487b7160e01b5f52601260045260245ffd5b500490565b8181038181111562000466576200046662000caa565b8082018082111562000466576200046662000caa565b60805160a05160c05160e05161010051610120516101405161016051610180516101a0516101c0516101e0516102005161022051610240516102605161232962000e475f395f818161137501526113ec01525f61145101525f8181610da7015281816110c9015281816111180152611a5701525f818161135401526113cb01525f61142201525f81816113a30152818161147b01526114b401525f81816108be015261098401525f818161084b01528181610ae80152610b9201525f81816101480152818161088d0152818161095601528181610a6601528181610b1701528181610bba0152818161102101526110a701525f61181501525f6117e801525f6116ca01525f6116a201525f6115fd01525f61162701525f61165101526123295ff3fe608060405260043610610138575f3560e01c80637ecebe00116100aa578063a457c2d71161006e578063a457c2d714610400578063a9059cbb1461041f578063d505accf1461043e578063dd62ed3e1461045d578063f0fcce631461047c578063f2fde38b14610490576101bc565b80637ecebe001461037557806384b0196e146103945780638da5cb5b146103bb57806395d89b41146103d857806398e0ad11146103ec576101bc565b80633644e515116100fc5780633644e515146102b057806339509351146102c4578063499c695c146102e3578063665a11ca146102f657806370a082311461032d578063715018a614610361576101bc565b806306fdde03146101f9578063095ea7b31461022357806318160ddd1461025257806323b872dd14610270578063313ce5671461028f576101bc565b366101bc57336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146101ba5760405162461bcd60e51b815260206004820152601960248201527f4f6e6c7920616363657074204554482066726f6d20574554480000000000000060448201526064015b60405180910390fd5b005b60405162461bcd60e51b8152602060048201526012602482015271119d5b98dd1a5bdb881b9bdd08199bdd5b9960721b60448201526064016101b1565b348015610204575f80fd5b5061020d6104af565b60405161021a9190611f5f565b60405180910390f35b34801561022e575f80fd5b5061024261023d366004611f85565b61053f565b604051901515815260200161021a565b34801561025d575f80fd5b506002545b60405190815260200161021a565b34801561027b575f80fd5b5061024261028a366004611faf565b6105b3565b34801561029a575f80fd5b5060125b60405160ff909116815260200161021a565b3480156102bb575f80fd5b506102626105d6565b3480156102cf575f80fd5b506102426102de366004611f85565b6105e4565b6101ba6102f1366004611fed565b61064f565b348015610301575f80fd5b50600e54610315906001600160a01b031681565b6040516001600160a01b03909116815260200161021a565b348015610338575f80fd5b50610262610347366004612021565b6001600160a01b03165f9081526020819052604090205490565b34801561036c575f80fd5b506101ba610e14565b348015610380575f80fd5b5061026261038f366004612021565b610e26565b34801561039f575f80fd5b506103a8610e43565b60405161021a9796959493929190612043565b3480156103c6575f80fd5b506008546001600160a01b0316610315565b3480156103e3575f80fd5b5061020d610e85565b3480156103f7575f80fd5b506101ba610e94565b34801561040b575f80fd5b5061024261041a366004611f85565b61114d565b34801561042a575f80fd5b50610242610439366004611f85565b6111c9565b348015610449575f80fd5b506101ba6104583660046120da565b6111d6565b348015610468575f80fd5b5061026261047736600461214b565b61130c565b348015610487575f80fd5b5061029e611336565b34801561049b575f80fd5b506101ba6104aa366004612021565b6114e1565b6060600380546104be90612177565b80601f01602080910402602001604051908101604052809291908181526020018280546104ea90612177565b80156105355780601f1061050c57610100808354040283529160200191610535565b820191905f5260205f20905b81548152906001019060200180831161051857829003601f168201915b5050505050905090565b5f8115806105545750610552338461130c565b155b6105a05760405162461bcd60e51b815260206004820152601760248201527f556e7361666520616c6c6f77616e6365206368616e676500000000000000000060448201526064016101b1565b6105aa838361151e565b90505b92915050565b5f336105c085828561152b565b6105cb85858561158f565b506001949350505050565b5f6105df6115f1565b905090565b5f806105f0338561130c565b90505f6105fd84836121c3565b9050818110156106445760405162461bcd60e51b8152602060048201526012602482015271416c6c6f77616e6365206f766572666c6f7760701b60448201526064016101b1565b6105cb33868361171a565b610657611727565b81341461069d5760405162461bcd60e51b8152602060048201526014602482015273125b98dbdc9c9958dd0811551208185b5bdd5b9d60621b60448201526064016101b1565b600e546001600160a01b0316156106f65760405162461bcd60e51b815260206004820152601e60248201527f4c697175696469747920706f6f6c20616c72656164792063726561746564000060448201526064016101b1565b5f821161073e5760405162461bcd60e51b8152602060048201526016602482015275045544820616d6f756e74206d757374206265203e20360541b60448201526064016101b1565b5f8161ffff1611801561075757506103e88161ffff1611155b6107a35760405162461bcd60e51b815260206004820152601960248201527f496e76616c696420736c6970706167652028312d31303030290000000000000060448201526064016101b1565b305f90815260208190526040902054806107f55760405162461bcd60e51b81526020600482015260136024820152724e6f20746f6b656e7320617661696c61626c6560681b60448201526064016101b1565b5f61271061080384826121d6565b6108119061ffff16846121f8565b61081b919061220f565b90505f61271061082b85826121d6565b6108399061ffff16876121f8565b610843919061220f565b9050610870307f00000000000000000000000000000000000000000000000000000000000000008561171a565b6040516379bc57d560e01b81523060048201526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660248301525f60448301819052917f0000000000000000000000000000000000000000000000000000000000000000909116906379bc57d590606401602060405180830381865afa158015610905573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610929919061222e565b90506001600160a01b038116610a3e576040516301b5fcad60e51b81523060048201526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660248301525f60448301527f000000000000000000000000000000000000000000000000000000000000000016906336bf95a0906064016020604051808303815f875af11580156109ca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109ee919061222e565b90506001600160a01b038116610a3e5760405162461bcd60e51b815260206004820152601560248201527411985a5b1959081d1bc818dc99585d19481c1bdbdb605a1b60448201526064016101b1565b80600e5f6101000a8154816001600160a01b0302191690836001600160a01b031602179055507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0876040518263ffffffff1660e01b81526004015f604051808303818588803b158015610abd575f80fd5b505af1158015610acf573d5f803e3d5ffd5b505060405163095ea7b360e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081166004830152602482018b90527f000000000000000000000000000000000000000000000000000000000000000016935063095ea7b3925060440190506020604051808303815f875af1158015610b61573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b859190612249565b505f806001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016635a47ddc3307f0000000000000000000000000000000000000000000000000000000000000000848a8d8b8b86610beb42610e106121c3565b60405160e08b901b6001600160e01b03191681526001600160a01b03998a166004820152978916602489015295151560448801526064870194909452608486019290925260a485015260c484015290921660e4820152610104810191909152610124016060604051808303815f875af1158015610c6a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c8e9190612268565b5091509150848210158015610ca35750838110155b610ce35760405162461bcd60e51b815260206004820152601160248201527014db1a5c1c1859d948195e18d959591959607a1b60448201526064016101b1565b600e546040516370a0823160e01b81523060048201525f916001600160a01b0316906370a0823190602401602060405180830381865afa158015610d29573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4d9190612293565b90505f8111610d955760405162461bcd60e51b8152602060048201526014602482015273139bc81314081d1bdad95b9cc81d1bc81cd95b9960621b60448201526064016101b1565b600e54610dcc906001600160a01b03167f000000000000000000000000000000000000000000000000000000000000000083611751565b6040518181527f599e3c1445f5d3f97307a24763cc7d200c7c523b685562a5df07759410a411ec9060200160405180910390a150505050505050610e106001600955565b5050565b610e1c6117a3565b610e246117d0565b565b6001600160a01b0381165f908152600760205260408120546105ad565b5f6060805f805f6060610e546117e1565b610e5c61180e565b604080515f80825260208201909252600f60f81b9b939a50919850469750309650945092509050565b6060600480546104be90612177565b610e9c6117a3565b610ea4611727565b600e546001600160a01b0316610eef5760405162461bcd60e51b815260206004820152601060248201526f141bdbdb081b9bdd0818dc99585d195960821b60448201526064016101b1565b600e546040516370a0823160e01b81523060048201525f916001600160a01b0316906370a0823190602401602060405180830381865afa158015610f35573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f599190612293565b90505f8111610f9e5760405162461bcd60e51b8152602060048201526011602482015270139bc81314081d1bdad95b9cc81a195b19607a1b60448201526064016101b1565b600e546040805163d294f09360e01b815281516001600160a01b0390931692839263d294f093926004808201939182900301815f875af1158015610fe4573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061100891906122aa565b50506040516370a0823160e01b81523060048201525f907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa15801561106e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110929190612293565b905080156110ee576110ee6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f000000000000000000000000000000000000000000000000000000000000000083611751565b305f908152602081905260409020548381111561113f575f61111085836122cc565b905061113d307f00000000000000000000000000000000000000000000000000000000000000008361158f565b505b50505050610e246001600955565b5f80611159338561130c565b9050808311156111ab5760405162461bcd60e51b815260206004820152601e60248201527f44656372656173656420616c6c6f77616e63652062656c6f77207a65726f000060448201526064016101b1565b6111bf33856111ba86856122cc565b61171a565b5060019392505050565b5f336111bf81858561158f565b834211156111fa5760405163313c898160e11b8152600481018590526024016101b1565b5f7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886112458c6001600160a01b03165f90815260076020526040902080546001810190915590565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090505f61129f8261183b565b90505f6112ae82878787611867565b9050896001600160a01b0316816001600160a01b0316146112f5576040516325c0072360e11b81526001600160a01b0380831660048301528b1660248201526044016101b1565b6113008a8a8a61171a565b50505050505050505050565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b600e545f90600160a01b900460ff161561134f57505f90565b6113997f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006121c3565b4310156113c557507f000000000000000000000000000000000000000000000000000000000000000090565b5f6114107f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006121c3565b61141a90436122cc565b90505f6114477f00000000000000000000000000000000000000000000000000000000000000008361220f565b90505f61147760ff7f000000000000000000000000000000000000000000000000000000000000000016836121f8565b90507f000000000000000000000000000000000000000000000000000000000000000060ff1681106114ac575f935050505090565b6114d98160ff7f0000000000000000000000000000000000000000000000000000000000000000166122cc565b935050505090565b6114e96117a3565b6001600160a01b03811661151257604051631e4fbdf760e01b81525f60048201526024016101b1565b61151b81611893565b50565b5f336111bf81858561171a565b5f611536848461130c565b90505f19811015611589578181101561157b57604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016101b1565b61158984848484035f6118e4565b50505050565b6001600160a01b0383166115b857604051634b637e8f60e11b81525f60048201526024016101b1565b6001600160a01b0382166115e15760405163ec442f0560e01b81525f60048201526024016101b1565b6115ec8383836119b6565b505050565b5f306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561164957507f000000000000000000000000000000000000000000000000000000000000000046145b1561167357507f000000000000000000000000000000000000000000000000000000000000000090565b6105df604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a08201525f9060c00160405160208183030381529060405280519060200120905090565b6115ec83838360016118e4565b60026009540361174a57604051633ee5aeb560e01b815260040160405180910390fd5b6002600955565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526115ec908490611a99565b6008546001600160a01b03163314610e245760405163118cdaa760e01b81523360048201526024016101b1565b6117d86117a3565b610e245f611893565b60606105df7f00000000000000000000000000000000000000000000000000000000000000006005611b05565b60606105df7f00000000000000000000000000000000000000000000000000000000000000006006611b05565b5f6105ad6118476115f1565b8360405161190160f01b8152600281019290925260228201526042902090565b5f805f8061187788888888611bae565b9250925092506118878282611c76565b50909695505050505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b03841661190d5760405163e602df0560e01b81525f60048201526024016101b1565b6001600160a01b03831661193657604051634a1406b160e11b81525f60048201526024016101b1565b6001600160a01b038085165f908152600160209081526040808320938716835292905220829055801561158957826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516119a891815260200190565b60405180910390a350505050565b6001600160a01b03831615806119d357506001600160a01b038216155b156119e3576115ec838383611d2e565b6119eb611e54565b5f6119f4611336565b60ff1690505f81118015611a1157506001600160a01b0384163014155b8015611a2657506001600160a01b0383163014155b15611a8e575f6064611a3883856121f8565b611a42919061220f565b90505f611a4f82856122cc565b9050611a7c867f000000000000000000000000000000000000000000000000000000000000000084611d2e565b611a87868683611d2e565b5050611589565b611589848484611d2e565b5f8060205f8451602086015f885af180611ab8576040513d5f823e3d81fd5b50505f513d91508115611acf578060011415611adc565b6001600160a01b0384163b155b1561158957604051635274afe760e01b81526001600160a01b03851660048201526024016101b1565b606060ff8314611b1f57611b1883611eb8565b90506105ad565b818054611b2b90612177565b80601f0160208091040260200160405190810160405280929190818152602001828054611b5790612177565b8015611ba25780601f10611b7957610100808354040283529160200191611ba2565b820191905f5260205f20905b815481529060010190602001808311611b8557829003601f168201915b505050505090506105ad565b5f80807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0841115611be757505f91506003905082611c6c565b604080515f808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa158015611c38573d5f803e3d5ffd5b5050604051601f1901519150506001600160a01b038116611c6357505f925060019150829050611c6c565b92505f91508190505b9450945094915050565b5f826003811115611c8957611c896122df565b03611c92575050565b6001826003811115611ca657611ca66122df565b03611cc45760405163f645eedf60e01b815260040160405180910390fd5b6002826003811115611cd857611cd86122df565b03611cf95760405163fce698f760e01b8152600481018290526024016101b1565b6003826003811115611d0d57611d0d6122df565b03610e10576040516335e2f38360e21b8152600481018290526024016101b1565b6001600160a01b038316611d58578060025f828254611d4d91906121c3565b90915550611dc89050565b6001600160a01b0383165f9081526020819052604090205481811015611daa5760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016101b1565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216611de457600280548290039055611e02565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611e4791815260200190565b60405180910390a3505050565b600e54600160a01b900460ff16158015611e765750611e71611336565b60ff16155b15610e2457600e805460ff60a01b1916600160a01b1790556040517f6112e881046eeed04237d499dbf611392304cd4a8f1c851834c8777aee228f5d905f90a1565b60605f611ec483611ef5565b6040805160208082528183019092529192505f91906020820181803683375050509182525060208101929092525090565b5f60ff8216601f8111156105ad57604051632cd44ac360e21b815260040160405180910390fd5b5f81518084525f5b81811015611f4057602081850181015186830182015201611f24565b505f602082860101526020601f19601f83011685010191505092915050565b602081525f6105aa6020830184611f1c565b6001600160a01b038116811461151b575f80fd5b5f8060408385031215611f96575f80fd5b8235611fa181611f71565b946020939093013593505050565b5f805f60608486031215611fc1575f80fd5b8335611fcc81611f71565b92506020840135611fdc81611f71565b929592945050506040919091013590565b5f8060408385031215611ffe575f80fd5b82359150602083013561ffff81168114612016575f80fd5b809150509250929050565b5f60208284031215612031575f80fd5b813561203c81611f71565b9392505050565b60ff60f81b881681525f602060e0602084015261206360e084018a611f1c565b8381036040850152612075818a611f1c565b606085018990526001600160a01b038816608086015260a0850187905284810360c0860152855180825260208088019350909101905f5b818110156120c8578351835292840192918401916001016120ac565b50909c9b505050505050505050505050565b5f805f805f805f60e0888a0312156120f0575f80fd5b87356120fb81611f71565b9650602088013561210b81611f71565b95506040880135945060608801359350608088013560ff8116811461212e575f80fd5b9699959850939692959460a0840135945060c09093013592915050565b5f806040838503121561215c575f80fd5b823561216781611f71565b9150602083013561201681611f71565b600181811c9082168061218b57607f821691505b6020821081036121a957634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b808201808211156105ad576105ad6121af565b61ffff8281168282160390808211156121f1576121f16121af565b5092915050565b80820281158282048414176105ad576105ad6121af565b5f8261222957634e487b7160e01b5f52601260045260245ffd5b500490565b5f6020828403121561223e575f80fd5b815161203c81611f71565b5f60208284031215612259575f80fd5b8151801515811461203c575f80fd5b5f805f6060848603121561227a575f80fd5b8351925060208401519150604084015190509250925092565b5f602082840312156122a3575f80fd5b5051919050565b5f80604083850312156122bb575f80fd5b505080516020909101519092909150565b818103818111156105ad576105ad6121af565b634e487b7160e01b5f52602160045260245ffdfea2646970667358221220e8df4d55ae5ab7b020d2bcb05e3bb7ebef53f233e1684d93d7277ac3201c69a864736f6c63430008170033000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000033b2e3c9fd0803ce80000000000000000000000000000000000000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000001e000000000000000000000000000000000000000000000000000000000000000f0000000000000000000000000000000000000000000000000000000000000008000000000000000000000000fba2454912df55984a1526ad5e11557c7984c77f0000000000000000000000004200000000000000000000000000000000000006000000000000000000000000cf77a3ba9a5ca399b7c97c74d54e5b1beb874e43000000000000000000000000420dd381b31aef6683db6b902084cb0ffece40da000000000000000000000000ac971cc29fddd0e86c86fbed11ae3e200e8ed05b00000000000000000000000000000000000000000000000000000000000000054b6565746100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034b54410000000000000000000000000000000000000000000000000000000000","recompiledBytecode":"0x61028060405234801562000011575f80fd5b5060405162003170380380620031708339810160408190526200003491620009a0565b806101800151815f015180604051806040016040528060018152602001603160f81b815250845f01518560200151816003908162000073919062000b86565b50600462000082828262000b86565b50620000949150839050600562000434565b61012052620000a581600662000434565b61014052815160208084019190912060e052815190820120610100524660a0526200013260e05161010051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a08201525f9060c00160405160208183030381529060405280519060200120905090565b60805250503060c052506001600160a01b0381166200016b57604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b62000176816200046c565b5060016009556080810151606460ff9091161115620001d85760405162461bcd60e51b815260206004820152601660248201527f5461782063616e6e6f7420657863656564203130302500000000000000000000604482015260640162000162565b6101008101516001600160a01b0316620002415760405162461bcd60e51b8152602060048201526024808201527f54617820726563697069656e742063616e6e6f74206265207a65726f206164646044820152637265737360e01b606482015260840162000162565b6101208101516001600160a01b03166200029e5760405162461bcd60e51b815260206004820152601b60248201527f574554482063616e6e6f74206265207a65726f20616464726573730000000000604482015260640162000162565b6101408101516001600160a01b0316620002fb5760405162461bcd60e51b815260206004820152601d60248201527f526f757465722063616e6e6f74206265207a65726f2061646472657373000000604482015260640162000162565b6101608101516001600160a01b0316620003585760405162461bcd60e51b815260206004820152601e60248201527f466163746f72792063616e6e6f74206265207a65726f20616464726573730000604482015260640162000162565b6101808101516001600160a01b0316620003b55760405162461bcd60e51b815260206004820152601c60248201527f4f776e65722063616e6e6f74206265207a65726f206164647265737300000000604482015260640162000162565b608081015160ff9081166101c05260a08201516101e05260c08201516102005260e082015116610240526101008101516001600160a01b039081166102205243610260526101208201518116610160908152610140830151821661018052820151166101a05260608101516200042d903090620004bd565b5062000d24565b5f60208351101562000453576200044b83620004f9565b905062000466565b8162000460848262000b86565b5060ff90505b92915050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038216620004e85760405163ec442f0560e01b81525f600482015260240162000162565b620004f55f83836200053b565b5050565b5f80829050601f8151111562000526578260405163305a27a960e01b815260040162000162919062000c52565b8051620005338262000c86565b179392505050565b6001600160a01b03831615806200055957506001600160a01b038216155b1562000571576200056c8383836200062a565b505050565b6200057b62000759565b5f62000586620007c2565b60ff1690505f81118015620005a457506001600160a01b0384163014155b8015620005ba57506001600160a01b0383163014155b1562000617575f6064620005cf838562000cbe565b620005db919062000cd8565b90505f620005ea828562000cf8565b9050620006028661022051846200062a60201b60201c565b6200060f8686836200062a565b505062000624565b620006248484846200062a565b50505050565b6001600160a01b03831662000658578060025f8282546200064c919062000d0e565b90915550620006ca9050565b6001600160a01b0383165f9081526020819052604090205481811015620006ac5760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640162000162565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216620006e85760028054829003905562000706565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200074c91815260200190565b60405180910390a3505050565b600e54600160a01b900460ff161580156200077e575062000779620007c2565b60ff16155b15620007c057600e805460ff60a01b1916600160a01b1790556040517f6112e881046eeed04237d499dbf611392304cd4a8f1c851834c8777aee228f5d905f90a15b565b600e545f90600160a01b900460ff1615620007dc57505f90565b6102005161026051620007f0919062000d0e565b4310156200080057506101c05190565b5f610200516102605162000815919062000d0e565b62000821904362000cf8565b90505f6101e0518262000835919062000cd8565b90505f6102405160ff16826200084c919062000cbe565b90506101c05160ff16811062000865575f935050505090565b806101c05160ff1662000879919062000cf8565b935050505090565b634e487b7160e01b5f52604160045260245ffd5b6040516101a081016001600160401b0381118282101715620008bb57620008bb62000881565b60405290565b5f5b83811015620008dd578181015183820152602001620008c3565b50505f910152565b5f82601f830112620008f5575f80fd5b81516001600160401b038082111562000912576200091262000881565b604051601f8301601f19908116603f011681019082821181831017156200093d576200093d62000881565b8160405283815286602085880101111562000956575f80fd5b62000969846020830160208901620008c1565b9695505050505050565b805160ff8116811462000984575f80fd5b919050565b80516001600160a01b038116811462000984575f80fd5b5f60208284031215620009b1575f80fd5b81516001600160401b0380821115620009c8575f80fd5b908301906101a08286031215620009dd575f80fd5b620009e762000895565b825182811115620009f6575f80fd5b62000a0487828601620008e5565b82525060208301518281111562000a19575f80fd5b62000a2787828601620008e5565b60208301525062000a3b6040840162000973565b60408201526060830151606082015262000a586080840162000973565b608082015260a083015160a082015260c083015160c082015262000a7f60e0840162000973565b60e0820152610100915062000a9682840162000989565b82820152610120915062000aac82840162000989565b82820152610140915062000ac282840162000989565b82820152610160915062000ad882840162000989565b82820152610180915062000aee82840162000989565b91810191909152949350505050565b600181811c9082168062000b1257607f821691505b60208210810362000b3157634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200056c57805f5260205f20601f840160051c8101602085101562000b5e5750805b601f840160051c820191505b8181101562000b7f575f815560010162000b6a565b5050505050565b81516001600160401b0381111562000ba25762000ba262000881565b62000bba8162000bb3845462000afd565b8462000b37565b602080601f83116001811462000bf0575f841562000bd85750858301515b5f19600386901b1c1916600185901b17855562000c4a565b5f85815260208120601f198616915b8281101562000c205788860151825594840194600190910190840162000bff565b508582101562000c3e57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b602081525f825180602084015262000c72816040850160208701620008c1565b601f01601f19169190910160400192915050565b8051602080830151919081101562000b31575f1960209190910360031b1b16919050565b634e487b7160e01b5f52601160045260245ffd5b808202811582820484141762000466576200046662000caa565b5f8262000cf357634e487b7160e01b5f52601260045260245ffd5b500490565b8181038181111562000466576200046662000caa565b8082018082111562000466576200046662000caa565b60805160a05160c05160e05161010051610120516101405161016051610180516101a0516101c0516101e0516102005161022051610240516102605161232962000e475f395f818161137501526113ec01525f61145101525f8181610da7015281816110c9015281816111180152611a5701525f818161135401526113cb01525f61142201525f81816113a30152818161147b01526114b401525f81816108be015261098401525f818161084b01528181610ae80152610b9201525f81816101480152818161088d0152818161095601528181610a6601528181610b1701528181610bba0152818161102101526110a701525f61181501525f6117e801525f6116ca01525f6116a201525f6115fd01525f61162701525f61165101526123295ff3fe608060405260043610610138575f3560e01c80637ecebe00116100aa578063a457c2d71161006e578063a457c2d714610400578063a9059cbb1461041f578063d505accf1461043e578063dd62ed3e1461045d578063f0fcce631461047c578063f2fde38b14610490576101bc565b80637ecebe001461037557806384b0196e146103945780638da5cb5b146103bb57806395d89b41146103d857806398e0ad11146103ec576101bc565b80633644e515116100fc5780633644e515146102b057806339509351146102c4578063499c695c146102e3578063665a11ca146102f657806370a082311461032d578063715018a614610361576101bc565b806306fdde03146101f9578063095ea7b31461022357806318160ddd1461025257806323b872dd14610270578063313ce5671461028f576101bc565b366101bc57336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146101ba5760405162461bcd60e51b815260206004820152601960248201527f4f6e6c7920616363657074204554482066726f6d20574554480000000000000060448201526064015b60405180910390fd5b005b60405162461bcd60e51b8152602060048201526012602482015271119d5b98dd1a5bdb881b9bdd08199bdd5b9960721b60448201526064016101b1565b348015610204575f80fd5b5061020d6104af565b60405161021a9190611f5f565b60405180910390f35b34801561022e575f80fd5b5061024261023d366004611f85565b61053f565b604051901515815260200161021a565b34801561025d575f80fd5b506002545b60405190815260200161021a565b34801561027b575f80fd5b5061024261028a366004611faf565b6105b3565b34801561029a575f80fd5b5060125b60405160ff909116815260200161021a565b3480156102bb575f80fd5b506102626105d6565b3480156102cf575f80fd5b506102426102de366004611f85565b6105e4565b6101ba6102f1366004611fed565b61064f565b348015610301575f80fd5b50600e54610315906001600160a01b031681565b6040516001600160a01b03909116815260200161021a565b348015610338575f80fd5b50610262610347366004612021565b6001600160a01b03165f9081526020819052604090205490565b34801561036c575f80fd5b506101ba610e14565b348015610380575f80fd5b5061026261038f366004612021565b610e26565b34801561039f575f80fd5b506103a8610e43565b60405161021a9796959493929190612043565b3480156103c6575f80fd5b506008546001600160a01b0316610315565b3480156103e3575f80fd5b5061020d610e85565b3480156103f7575f80fd5b506101ba610e94565b34801561040b575f80fd5b5061024261041a366004611f85565b61114d565b34801561042a575f80fd5b50610242610439366004611f85565b6111c9565b348015610449575f80fd5b506101ba6104583660046120da565b6111d6565b348015610468575f80fd5b5061026261047736600461214b565b61130c565b348015610487575f80fd5b5061029e611336565b34801561049b575f80fd5b506101ba6104aa366004612021565b6114e1565b6060600380546104be90612177565b80601f01602080910402602001604051908101604052809291908181526020018280546104ea90612177565b80156105355780601f1061050c57610100808354040283529160200191610535565b820191905f5260205f20905b81548152906001019060200180831161051857829003601f168201915b5050505050905090565b5f8115806105545750610552338461130c565b155b6105a05760405162461bcd60e51b815260206004820152601760248201527f556e7361666520616c6c6f77616e6365206368616e676500000000000000000060448201526064016101b1565b6105aa838361151e565b90505b92915050565b5f336105c085828561152b565b6105cb85858561158f565b506001949350505050565b5f6105df6115f1565b905090565b5f806105f0338561130c565b90505f6105fd84836121c3565b9050818110156106445760405162461bcd60e51b8152602060048201526012602482015271416c6c6f77616e6365206f766572666c6f7760701b60448201526064016101b1565b6105cb33868361171a565b610657611727565b81341461069d5760405162461bcd60e51b8152602060048201526014602482015273125b98dbdc9c9958dd0811551208185b5bdd5b9d60621b60448201526064016101b1565b600e546001600160a01b0316156106f65760405162461bcd60e51b815260206004820152601e60248201527f4c697175696469747920706f6f6c20616c72656164792063726561746564000060448201526064016101b1565b5f821161073e5760405162461bcd60e51b8152602060048201526016602482015275045544820616d6f756e74206d757374206265203e20360541b60448201526064016101b1565b5f8161ffff1611801561075757506103e88161ffff1611155b6107a35760405162461bcd60e51b815260206004820152601960248201527f496e76616c696420736c6970706167652028312d31303030290000000000000060448201526064016101b1565b305f90815260208190526040902054806107f55760405162461bcd60e51b81526020600482015260136024820152724e6f20746f6b656e7320617661696c61626c6560681b60448201526064016101b1565b5f61271061080384826121d6565b6108119061ffff16846121f8565b61081b919061220f565b90505f61271061082b85826121d6565b6108399061ffff16876121f8565b610843919061220f565b9050610870307f00000000000000000000000000000000000000000000000000000000000000008561171a565b6040516379bc57d560e01b81523060048201526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660248301525f60448301819052917f0000000000000000000000000000000000000000000000000000000000000000909116906379bc57d590606401602060405180830381865afa158015610905573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610929919061222e565b90506001600160a01b038116610a3e576040516301b5fcad60e51b81523060048201526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660248301525f60448301527f000000000000000000000000000000000000000000000000000000000000000016906336bf95a0906064016020604051808303815f875af11580156109ca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109ee919061222e565b90506001600160a01b038116610a3e5760405162461bcd60e51b815260206004820152601560248201527411985a5b1959081d1bc818dc99585d19481c1bdbdb605a1b60448201526064016101b1565b80600e5f6101000a8154816001600160a01b0302191690836001600160a01b031602179055507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0876040518263ffffffff1660e01b81526004015f604051808303818588803b158015610abd575f80fd5b505af1158015610acf573d5f803e3d5ffd5b505060405163095ea7b360e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081166004830152602482018b90527f000000000000000000000000000000000000000000000000000000000000000016935063095ea7b3925060440190506020604051808303815f875af1158015610b61573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b859190612249565b505f806001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016635a47ddc3307f0000000000000000000000000000000000000000000000000000000000000000848a8d8b8b86610beb42610e106121c3565b60405160e08b901b6001600160e01b03191681526001600160a01b03998a166004820152978916602489015295151560448801526064870194909452608486019290925260a485015260c484015290921660e4820152610104810191909152610124016060604051808303815f875af1158015610c6a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c8e9190612268565b5091509150848210158015610ca35750838110155b610ce35760405162461bcd60e51b815260206004820152601160248201527014db1a5c1c1859d948195e18d959591959607a1b60448201526064016101b1565b600e546040516370a0823160e01b81523060048201525f916001600160a01b0316906370a0823190602401602060405180830381865afa158015610d29573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4d9190612293565b90505f8111610d955760405162461bcd60e51b8152602060048201526014602482015273139bc81314081d1bdad95b9cc81d1bc81cd95b9960621b60448201526064016101b1565b600e54610dcc906001600160a01b03167f000000000000000000000000000000000000000000000000000000000000000083611751565b6040518181527f599e3c1445f5d3f97307a24763cc7d200c7c523b685562a5df07759410a411ec9060200160405180910390a150505050505050610e106001600955565b5050565b610e1c6117a3565b610e246117d0565b565b6001600160a01b0381165f908152600760205260408120546105ad565b5f6060805f805f6060610e546117e1565b610e5c61180e565b604080515f80825260208201909252600f60f81b9b939a50919850469750309650945092509050565b6060600480546104be90612177565b610e9c6117a3565b610ea4611727565b600e546001600160a01b0316610eef5760405162461bcd60e51b815260206004820152601060248201526f141bdbdb081b9bdd0818dc99585d195960821b60448201526064016101b1565b600e546040516370a0823160e01b81523060048201525f916001600160a01b0316906370a0823190602401602060405180830381865afa158015610f35573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f599190612293565b90505f8111610f9e5760405162461bcd60e51b8152602060048201526011602482015270139bc81314081d1bdad95b9cc81a195b19607a1b60448201526064016101b1565b600e546040805163d294f09360e01b815281516001600160a01b0390931692839263d294f093926004808201939182900301815f875af1158015610fe4573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061100891906122aa565b50506040516370a0823160e01b81523060048201525f907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa15801561106e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110929190612293565b905080156110ee576110ee6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f000000000000000000000000000000000000000000000000000000000000000083611751565b305f908152602081905260409020548381111561113f575f61111085836122cc565b905061113d307f00000000000000000000000000000000000000000000000000000000000000008361158f565b505b50505050610e246001600955565b5f80611159338561130c565b9050808311156111ab5760405162461bcd60e51b815260206004820152601e60248201527f44656372656173656420616c6c6f77616e63652062656c6f77207a65726f000060448201526064016101b1565b6111bf33856111ba86856122cc565b61171a565b5060019392505050565b5f336111bf81858561158f565b834211156111fa5760405163313c898160e11b8152600481018590526024016101b1565b5f7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886112458c6001600160a01b03165f90815260076020526040902080546001810190915590565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090505f61129f8261183b565b90505f6112ae82878787611867565b9050896001600160a01b0316816001600160a01b0316146112f5576040516325c0072360e11b81526001600160a01b0380831660048301528b1660248201526044016101b1565b6113008a8a8a61171a565b50505050505050505050565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b600e545f90600160a01b900460ff161561134f57505f90565b6113997f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006121c3565b4310156113c557507f000000000000000000000000000000000000000000000000000000000000000090565b5f6114107f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006121c3565b61141a90436122cc565b90505f6114477f00000000000000000000000000000000000000000000000000000000000000008361220f565b90505f61147760ff7f000000000000000000000000000000000000000000000000000000000000000016836121f8565b90507f000000000000000000000000000000000000000000000000000000000000000060ff1681106114ac575f935050505090565b6114d98160ff7f0000000000000000000000000000000000000000000000000000000000000000166122cc565b935050505090565b6114e96117a3565b6001600160a01b03811661151257604051631e4fbdf760e01b81525f60048201526024016101b1565b61151b81611893565b50565b5f336111bf81858561171a565b5f611536848461130c565b90505f19811015611589578181101561157b57604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016101b1565b61158984848484035f6118e4565b50505050565b6001600160a01b0383166115b857604051634b637e8f60e11b81525f60048201526024016101b1565b6001600160a01b0382166115e15760405163ec442f0560e01b81525f60048201526024016101b1565b6115ec8383836119b6565b505050565b5f306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561164957507f000000000000000000000000000000000000000000000000000000000000000046145b1561167357507f000000000000000000000000000000000000000000000000000000000000000090565b6105df604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a08201525f9060c00160405160208183030381529060405280519060200120905090565b6115ec83838360016118e4565b60026009540361174a57604051633ee5aeb560e01b815260040160405180910390fd5b6002600955565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526115ec908490611a99565b6008546001600160a01b03163314610e245760405163118cdaa760e01b81523360048201526024016101b1565b6117d86117a3565b610e245f611893565b60606105df7f00000000000000000000000000000000000000000000000000000000000000006005611b05565b60606105df7f00000000000000000000000000000000000000000000000000000000000000006006611b05565b5f6105ad6118476115f1565b8360405161190160f01b8152600281019290925260228201526042902090565b5f805f8061187788888888611bae565b9250925092506118878282611c76565b50909695505050505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b03841661190d5760405163e602df0560e01b81525f60048201526024016101b1565b6001600160a01b03831661193657604051634a1406b160e11b81525f60048201526024016101b1565b6001600160a01b038085165f908152600160209081526040808320938716835292905220829055801561158957826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516119a891815260200190565b60405180910390a350505050565b6001600160a01b03831615806119d357506001600160a01b038216155b156119e3576115ec838383611d2e565b6119eb611e54565b5f6119f4611336565b60ff1690505f81118015611a1157506001600160a01b0384163014155b8015611a2657506001600160a01b0383163014155b15611a8e575f6064611a3883856121f8565b611a42919061220f565b90505f611a4f82856122cc565b9050611a7c867f000000000000000000000000000000000000000000000000000000000000000084611d2e565b611a87868683611d2e565b5050611589565b611589848484611d2e565b5f8060205f8451602086015f885af180611ab8576040513d5f823e3d81fd5b50505f513d91508115611acf578060011415611adc565b6001600160a01b0384163b155b1561158957604051635274afe760e01b81526001600160a01b03851660048201526024016101b1565b606060ff8314611b1f57611b1883611eb8565b90506105ad565b818054611b2b90612177565b80601f0160208091040260200160405190810160405280929190818152602001828054611b5790612177565b8015611ba25780601f10611b7957610100808354040283529160200191611ba2565b820191905f5260205f20905b815481529060010190602001808311611b8557829003601f168201915b505050505090506105ad565b5f80807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0841115611be757505f91506003905082611c6c565b604080515f808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa158015611c38573d5f803e3d5ffd5b5050604051601f1901519150506001600160a01b038116611c6357505f925060019150829050611c6c565b92505f91508190505b9450945094915050565b5f826003811115611c8957611c896122df565b03611c92575050565b6001826003811115611ca657611ca66122df565b03611cc45760405163f645eedf60e01b815260040160405180910390fd5b6002826003811115611cd857611cd86122df565b03611cf95760405163fce698f760e01b8152600481018290526024016101b1565b6003826003811115611d0d57611d0d6122df565b03610e10576040516335e2f38360e21b8152600481018290526024016101b1565b6001600160a01b038316611d58578060025f828254611d4d91906121c3565b90915550611dc89050565b6001600160a01b0383165f9081526020819052604090205481811015611daa5760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016101b1565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216611de457600280548290039055611e02565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611e4791815260200190565b60405180910390a3505050565b600e54600160a01b900460ff16158015611e765750611e71611336565b60ff16155b15610e2457600e805460ff60a01b1916600160a01b1790556040517f6112e881046eeed04237d499dbf611392304cd4a8f1c851834c8777aee228f5d905f90a1565b60605f611ec483611ef5565b6040805160208082528183019092529192505f91906020820181803683375050509182525060208101929092525090565b5f60ff8216601f8111156105ad57604051632cd44ac360e21b815260040160405180910390fd5b5f81518084525f5b81811015611f4057602081850181015186830182015201611f24565b505f602082860101526020601f19601f83011685010191505092915050565b602081525f6105aa6020830184611f1c565b6001600160a01b038116811461151b575f80fd5b5f8060408385031215611f96575f80fd5b8235611fa181611f71565b946020939093013593505050565b5f805f60608486031215611fc1575f80fd5b8335611fcc81611f71565b92506020840135611fdc81611f71565b929592945050506040919091013590565b5f8060408385031215611ffe575f80fd5b82359150602083013561ffff81168114612016575f80fd5b809150509250929050565b5f60208284031215612031575f80fd5b813561203c81611f71565b9392505050565b60ff60f81b881681525f602060e0602084015261206360e084018a611f1c565b8381036040850152612075818a611f1c565b606085018990526001600160a01b038816608086015260a0850187905284810360c0860152855180825260208088019350909101905f5b818110156120c8578351835292840192918401916001016120ac565b50909c9b505050505050505050505050565b5f805f805f805f60e0888a0312156120f0575f80fd5b87356120fb81611f71565b9650602088013561210b81611f71565b95506040880135945060608801359350608088013560ff8116811461212e575f80fd5b9699959850939692959460a0840135945060c09093013592915050565b5f806040838503121561215c575f80fd5b823561216781611f71565b9150602083013561201681611f71565b600181811c9082168061218b57607f821691505b6020821081036121a957634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b808201808211156105ad576105ad6121af565b61ffff8281168282160390808211156121f1576121f16121af565b5092915050565b80820281158282048414176105ad576105ad6121af565b5f8261222957634e487b7160e01b5f52601260045260245ffd5b500490565b5f6020828403121561223e575f80fd5b815161203c81611f71565b5f60208284031215612259575f80fd5b8151801515811461203c575f80fd5b5f805f6060848603121561227a575f80fd5b8351925060208401519150604084015190509250925092565b5f602082840312156122a3575f80fd5b5051919050565b5f80604083850312156122bb575f80fd5b505080516020909101519092909150565b818103818111156105ad576105ad6121af565b634e487b7160e01b5f52602160045260245ffdfea2646970667358221220e8df4d55ae5ab7b020d2bcb05e3bb7ebef53f233e1684d93d7277ac3201c69a864736f6c63430008170033","sourceMap":"6493:13061:26:-:0;;;9519:1088;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;9650:6;:12;;;9621:6;:11;;;1616:4:8;3428:431:20;;;;;;;;;;;;;-1:-1:-1;;;3428:431:20;;;9572:6:26;:11;;;9585:6;:13;;;1675:5:6;1667;:13;;;;;;:::i;:::-;-1:-1:-1;1690:7:6;:17;1700:7;1690;:17;:::i;:::-;-1:-1:-1;3501:45:20;;-1:-1:-1;3501:4:20;;-1:-1:-1;3532:13:20;3501:30;:45::i;:::-;3493:53;;3567:51;:7;3601:16;3567:33;:51::i;:::-;3556:62;;3642:22;;;;;;;;;;3628:36;;3691:25;;;;;;3674:42;;3744:13;3727:30;;3792:23;4326:11;;4339:14;;4304:80;;;2079:95;4304:80;;;8579:25:27;8620:18;;;8613:34;;;;8663:18;;;8656:34;4355:13:20;8706:18:27;;;8699:34;4378:4:20;8749:19:27;;;8742:61;4268:7:20;;8551:19:27;;4304:80:20;;;;;;;;;;;;4294:91;;;;;;4287:98;;4213:179;;3792:23;3767:48;;-1:-1:-1;;3847:4:20;3825:27;;-1:-1:-1;;;;;;1273:26:0;;1269:95;;1322:31;;-1:-1:-1;;;1322:31:0;;1350:1;1322:31;;;6072:51:27;6045:18;;1322:31:0;;;;;;;;1269:95;1373:32;1392:12;1373:18;:32::i;:::-;-1:-1:-1;1857:1:15;2061:7;:21;9687:17:26::3;::::0;::::3;::::0;9708:3:::3;9687:24;::::0;;::::3;;;9679:59;;;::::0;-1:-1:-1;;;9679:59:26;;6336:2:27;9679:59:26::3;::::0;::::3;6318:21:27::0;6375:2;6355:18;;;6348:30;6414:24;6394:18;;;6387:52;6456:18;;9679:59:26::3;6134:346:27::0;9679:59:26::3;9756:19;::::0;::::3;::::0;-1:-1:-1;;;;;9756:33:26::3;9748:82;;;::::0;-1:-1:-1;;;9748:82:26;;6687:2:27;9748:82:26::3;::::0;::::3;6669:21:27::0;6726:2;6706:18;;;6699:30;6765:34;6745:18;;;6738:62;-1:-1:-1;;;6816:18:27;;;6809:34;6860:19;;9748:82:26::3;6485:400:27::0;9748:82:26::3;9848:11;::::0;::::3;::::0;-1:-1:-1;;;;;9848:25:26::3;9840:65;;;::::0;-1:-1:-1;;;9840:65:26;;7092:2:27;9840:65:26::3;::::0;::::3;7074:21:27::0;7131:2;7111:18;;;7104:30;7170:29;7150:18;;;7143:57;7217:18;;9840:65:26::3;6890:351:27::0;9840:65:26::3;9923:13;::::0;::::3;::::0;-1:-1:-1;;;;;9923:27:26::3;9915:69;;;::::0;-1:-1:-1;;;9915:69:26;;7448:2:27;9915:69:26::3;::::0;::::3;7430:21:27::0;7487:2;7467:18;;;7460:30;7526:31;7506:18;;;7499:59;7575:18;;9915:69:26::3;7246:353:27::0;9915:69:26::3;10002:14;::::0;::::3;::::0;-1:-1:-1;;;;;10002:28:26::3;9994:71;;;::::0;-1:-1:-1;;;9994:71:26;;7806:2:27;9994:71:26::3;::::0;::::3;7788:21:27::0;7845:2;7825:18;;;7818:30;7884:32;7864:18;;;7857:60;7934:18;;9994:71:26::3;7604:354:27::0;9994:71:26::3;10083:12;::::0;::::3;::::0;-1:-1:-1;;;;;10083:26:26::3;10075:67;;;::::0;-1:-1:-1;;;10075:67:26;;8165:2:27;10075:67:26::3;::::0;::::3;8147:21:27::0;8204:2;8184:18;;;8177:30;8243;8223:18;;;8216:58;8291:18;;10075:67:26::3;7963:352:27::0;10075:67:26::3;10167:17;::::0;::::3;::::0;10153:31:::3;::::0;;::::3;;::::0;10218:27:::3;::::0;::::3;::::0;10194:51:::3;::::0;10277:25:::3;::::0;::::3;::::0;10255:47:::3;::::0;10332:23:::3;::::0;::::3;::::0;10312:43:::3;;::::0;10381:19:::3;::::0;::::3;::::0;-1:-1:-1;;;;;10365:35:26;;::::3;;::::0;10429:12:::3;10410:31;::::0;10460:11:::3;::::0;::::3;::::0;10452:19;::::3;;::::0;;;10491:13:::3;::::0;::::3;::::0;10481:23;::::3;;::::0;10535:14;::::3;::::0;10514:35:::3;;::::0;-1:-1:-1;10581:18:26;::::3;::::0;10560:40:::3;::::0;10574:4:::3;::::0;10560:5:::3;:40::i;:::-;9519:1088:::0;6493:13061;;2887:340:16;2983:11;3032:2;3016:5;3010:19;:24;3006:215;;;3057:20;3071:5;3057:13;:20::i;:::-;3050:27;;;;3006:215;3134:5;3108:46;3149:5;3134;3108:46;:::i;:::-;-1:-1:-1;1390:66:16;;-1:-1:-1;3006:215:16;2887:340;;;;:::o;2912:187:0:-;3004:6;;;-1:-1:-1;;;;;3020:17:0;;;-1:-1:-1;;;;;;3020:17:0;;;;;;;3052:40;;3004:6;;;3020:17;3004:6;;3052:40;;2985:16;;3052:40;2975:124;2912:187;:::o;7458:208:6:-;-1:-1:-1;;;;;7528:21:6;;7524:91;;7572:32;;-1:-1:-1;;;7572:32:6;;7601:1;7572:32;;;6072:51:27;6045:18;;7572:32:6;5926:203:27;7524:91:6;7624:35;7640:1;7644:7;7653:5;7624:7;:35::i;:::-;7458:208;;:::o;1708:286:16:-;1773:11;1796:17;1822:3;1796:30;;1854:2;1840:4;:11;:16;1836:72;;;1893:3;1879:18;;-1:-1:-1;;;1879:18:16;;;;;;;;:::i;1836:72::-;1974:11;;1957:13;1974:4;1957:13;:::i;:::-;1949:36;;1708:286;-1:-1:-1;;;1708:286:16:o;13635:666:26:-;-1:-1:-1;;;;;13734:18:26;;;;:38;;-1:-1:-1;;;;;;13756:16:26;;;13734:38;13730:120;;;13788:31;13802:4;13808:2;13812:6;13788:13;:31::i;:::-;13635:666;;;:::o;13730:120::-;13860:27;:25;:27::i;:::-;13897:11;13911:15;:13;:15::i;:::-;13897:29;;;;13947:1;13941:3;:7;:32;;;;-1:-1:-1;;;;;;13952:21:26;;13968:4;13952:21;;13941:32;:55;;;;-1:-1:-1;;;;;;13977:19:26;;13991:4;13977:19;;13941:55;13937:358;;;14012:17;14049:3;14033:12;14042:3;14033:6;:12;:::i;:::-;14032:20;;;;:::i;:::-;14012:40;-1:-1:-1;14066:22:26;14091:18;14012:40;14091:6;:18;:::i;:::-;14066:43;;14124:45;14138:4;14144:13;;14159:9;14124:13;;;:45;;:::i;:::-;14183:39;14197:4;14203:2;14207:14;14183:13;:39::i;:::-;13998:235;;13937:358;;;14253:31;14267:4;14273:2;14277:6;14253:13;:31::i;:::-;13720:581;13635:666;;;:::o;6008:1107:6:-;-1:-1:-1;;;;;6097:18:6;;6093:540;;6249:5;6233:12;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;6093:540:6;;-1:-1:-1;6093:540:6;;-1:-1:-1;;;;;6307:15:6;;6285:19;6307:15;;;;;;;;;;;6340:19;;;6336:115;;;6386:50;;-1:-1:-1;;;6386:50:6;;-1:-1:-1;;;;;10527:32:27;;6386:50:6;;;10509:51:27;10576:18;;;10569:34;;;10619:18;;;10612:34;;;10482:18;;6386:50:6;10307:345:27;6336:115:6;-1:-1:-1;;;;;6571:15:6;;:9;:15;;;;;;;;;;6589:19;;;;6571:37;;6093:540;-1:-1:-1;;;;;6647:16:6;;6643:425;;6810:12;:21;;;;;;;6643:425;;;-1:-1:-1;;;;;7021:13:6;;:9;:13;;;;;;;;;;:22;;;;;;6643:425;7098:2;-1:-1:-1;;;;;7083:25:6;7092:4;-1:-1:-1;;;;;7083:25:6;;7102:5;7083:25;;;;10803::27;;10791:2;10776:18;;10657:177;7083:25:6;;;;;;;;6008:1107;;;:::o;16464:208:26:-;16524:21;;-1:-1:-1;;;16524:21:26;;;;16523:22;:46;;;;-1:-1:-1;16549:15:26;:13;:15::i;:::-;:20;;;16523:46;16519:147;;;16585:21;:28;;-1:-1:-1;;;;16585:28:26;-1:-1:-1;;;16585:28:26;;;16632:23;;;;16585:28;;16632:23;16519:147;16464:208::o;16911:847::-;16978:21;;16957:5;;-1:-1:-1;;;16978:21:26;;;;16974:60;;;-1:-1:-1;17022:1:26;;16911:847::o;16974:60::-;17135:19;;17116:16;;:38;;;;:::i;:::-;17101:12;:53;17097:102;;;-1:-1:-1;17177:11:26;;;16911:847::o;17097:102::-;17264:34;17336:19;;17317:16;;:38;;;;:::i;:::-;17301:55;;:12;:55;:::i;:::-;17264:92;;17436:18;17486:21;;17457:26;:50;;;;:::i;:::-;17436:71;;17564:20;17600:17;;17587:30;;:10;:30;;;;:::i;:::-;17564:53;;17647:11;;17631:27;;:12;:27;17627:66;;17681:1;17674:8;;;;;16911:847;:::o;17627:66::-;17738:12;17724:11;;:26;;;;;;:::i;:::-;17711:40;;;;;16911:847;:::o;14:127:27:-;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:250;213:2;207:9;255:6;243:19;;-1:-1:-1;;;;;277:34:27;;313:22;;;274:62;271:88;;;339:18;;:::i;:::-;375:2;368:22;146:250;:::o;401:::-;486:1;496:113;510:6;507:1;504:13;496:113;;;586:11;;;580:18;567:11;;;560:39;532:2;525:10;496:113;;;-1:-1:-1;;643:1:27;625:16;;618:27;401:250::o;656:699::-;710:5;763:3;756:4;748:6;744:17;740:27;730:55;;781:1;778;771:12;730:55;804:13;;-1:-1:-1;;;;;866:10:27;;;863:36;;;879:18;;:::i;:::-;954:2;948:9;922:2;1008:13;;-1:-1:-1;;1004:22:27;;;1028:2;1000:31;996:40;984:53;;;1052:18;;;1072:22;;;1049:46;1046:72;;;1098:18;;:::i;:::-;1138:10;1134:2;1127:22;1173:2;1165:6;1158:18;1219:3;1212:4;1207:2;1199:6;1195:15;1191:26;1188:35;1185:55;;;1236:1;1233;1226:12;1185:55;1249:76;1322:2;1315:4;1307:6;1303:17;1296:4;1288:6;1284:17;1249:76;:::i;:::-;1343:6;656:699;-1:-1:-1;;;;;;656:699:27:o;1360:160::-;1437:13;;1490:4;1479:16;;1469:27;;1459:55;;1510:1;1507;1500:12;1459:55;1360:160;;;:::o;1525:177::-;1604:13;;-1:-1:-1;;;;;1646:31:27;;1636:42;;1626:70;;1692:1;1689;1682:12;1707:1659;1805:6;1858:2;1846:9;1837:7;1833:23;1829:32;1826:52;;;1874:1;1871;1864:12;1826:52;1901:16;;-1:-1:-1;;;;;1966:14:27;;;1963:34;;;1993:1;1990;1983:12;1963:34;2016:22;;;;2072:6;2054:16;;;2050:29;2047:49;;;2092:1;2089;2082:12;2047:49;2118:17;;:::i;:::-;2166:2;2160:9;2194:2;2184:8;2181:16;2178:36;;;2210:1;2207;2200:12;2178:36;2237:56;2285:7;2274:8;2270:2;2266:17;2237:56;:::i;:::-;2230:5;2223:71;;2333:2;2329;2325:11;2319:18;2362:2;2352:8;2349:16;2346:36;;;2378:1;2375;2368:12;2346:36;2414:56;2462:7;2451:8;2447:2;2443:17;2414:56;:::i;:::-;2409:2;2402:5;2398:14;2391:80;;2503:40;2539:2;2535;2531:11;2503:40;:::i;:::-;2498:2;2491:5;2487:14;2480:64;2590:2;2586;2582:11;2576:18;2571:2;2564:5;2560:14;2553:42;2628:41;2664:3;2660:2;2656:12;2628:41;:::i;:::-;2622:3;2615:5;2611:15;2604:66;2717:3;2713:2;2709:12;2703:19;2697:3;2690:5;2686:15;2679:44;2770:3;2766:2;2762:12;2756:19;2750:3;2743:5;2739:15;2732:44;2809:41;2845:3;2841:2;2837:12;2809:41;:::i;:::-;2803:3;2796:5;2792:15;2785:66;2870:3;2860:13;;2905:42;2943:2;2939;2935:11;2905:42;:::i;:::-;2900:2;2893:5;2889:14;2882:66;2967:3;2957:13;;3002:42;3040:2;3036;3032:11;3002:42;:::i;:::-;2997:2;2990:5;2986:14;2979:66;3064:3;3054:13;;3099:42;3137:2;3133;3129:11;3099:42;:::i;:::-;3094:2;3087:5;3083:14;3076:66;3161:3;3151:13;;3196:42;3234:2;3230;3226:11;3196:42;:::i;:::-;3191:2;3184:5;3180:14;3173:66;3258:3;3248:13;;3293:42;3331:2;3327;3323:11;3293:42;:::i;:::-;3277:14;;;3270:66;;;;3281:5;1707:1659;-1:-1:-1;;;;1707:1659:27:o;3371:380::-;3450:1;3446:12;;;;3493;;;3514:61;;3568:4;3560:6;3556:17;3546:27;;3514:61;3621:2;3613:6;3610:14;3590:18;3587:38;3584:161;;3667:10;3662:3;3658:20;3655:1;3648:31;3702:4;3699:1;3692:15;3730:4;3727:1;3720:15;3584:161;;3371:380;;;:::o;3882:518::-;3984:2;3979:3;3976:11;3973:421;;;4020:5;4017:1;4010:16;4064:4;4061:1;4051:18;4134:2;4122:10;4118:19;4115:1;4111:27;4105:4;4101:38;4170:4;4158:10;4155:20;4152:47;;;-1:-1:-1;4193:4:27;4152:47;4248:2;4243:3;4239:12;4236:1;4232:20;4226:4;4222:31;4212:41;;4303:81;4321:2;4314:5;4311:13;4303:81;;;4380:1;4366:16;;4347:1;4336:13;4303:81;;;4307:3;;3882:518;;;:::o;4576:1345::-;4696:10;;-1:-1:-1;;;;;4718:30:27;;4715:56;;;4751:18;;:::i;:::-;4780:97;4870:6;4830:38;4862:4;4856:11;4830:38;:::i;:::-;4824:4;4780:97;:::i;:::-;4932:4;;4989:2;4978:14;;5006:1;5001:663;;;;5708:1;5725:6;5722:89;;;-1:-1:-1;5777:19:27;;;5771:26;5722:89;-1:-1:-1;;4533:1:27;4529:11;;;4525:24;4521:29;4511:40;4557:1;4553:11;;;4508:57;5824:81;;4971:944;;5001:663;3829:1;3822:14;;;3866:4;3853:18;;-1:-1:-1;;5037:20:27;;;5155:236;5169:7;5166:1;5163:14;5155:236;;;5258:19;;;5252:26;5237:42;;5350:27;;;;5318:1;5306:14;;;;5185:19;;5155:236;;;5159:3;5419:6;5410:7;5407:19;5404:201;;;5480:19;;;5474:26;-1:-1:-1;;5563:1:27;5559:14;;;5575:3;5555:24;5551:37;5547:42;5532:58;5517:74;;5404:201;;;5651:1;5642:6;5639:1;5635:14;5631:22;5625:4;5618:36;4971:944;;;;;4576:1345;;:::o;8814:396::-;8963:2;8952:9;8945:21;8926:4;8995:6;8989:13;9038:6;9033:2;9022:9;9018:18;9011:34;9054:79;9126:6;9121:2;9110:9;9106:18;9101:2;9093:6;9089:15;9054:79;:::i;:::-;9194:2;9173:15;-1:-1:-1;;9169:29:27;9154:45;;;;9201:2;9150:54;;8814:396;-1:-1:-1;;8814:396:27:o;9215:297::-;9333:12;;9380:4;9369:16;;;9363:23;;9333:12;9398:16;;9395:111;;;-1:-1:-1;;9472:4:27;9468:17;;;;9465:1;9461:25;9457:38;9446:50;;9215:297;-1:-1:-1;9215:297:27:o;9517:127::-;9578:10;9573:3;9569:20;9566:1;9559:31;9609:4;9606:1;9599:15;9633:4;9630:1;9623:15;9649:168;9722:9;;;9753;;9770:15;;;9764:22;;9750:37;9740:71;;9791:18;;:::i;9822:217::-;9862:1;9888;9878:132;;9932:10;9927:3;9923:20;9920:1;9913:31;9967:4;9964:1;9957:15;9995:4;9992:1;9985:15;9878:132;-1:-1:-1;10024:9:27;;9822:217::o;10044:128::-;10111:9;;;10132:11;;;10129:37;;;10146:18;;:::i;10177:125::-;10242:9;;;10263:10;;;10260:36;;;10276:18;;:::i;10657:177::-;6493:13061:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","linkReferences":{},"cborAuxdata":{"1":{"value":"0xa2646970667358221220e8df4d55ae5ab7b020d2bcb05e3bb7ebef53f233e1684d93d7277ac3201c69a864736f6c63430008170033","offset":12603}},"transformations":[{"type":"insert","offset":12656,"reason":"constructorArguments"}],"transformationValues":{"constructorArguments":"0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000033b2e3c9fd0803ce80000000000000000000000000000000000000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000001e000000000000000000000000000000000000000000000000000000000000000f0000000000000000000000000000000000000000000000000000000000000008000000000000000000000000fba2454912df55984a1526ad5e11557c7984c77f0000000000000000000000004200000000000000000000000000000000000006000000000000000000000000cf77a3ba9a5ca399b7c97c74d54e5b1beb874e43000000000000000000000000420dd381b31aef6683db6b902084cb0ffece40da000000000000000000000000ac971cc29fddd0e86c86fbed11ae3e200e8ed05b00000000000000000000000000000000000000000000000000000000000000054b6565746100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034b54410000000000000000000000000000000000000000000000000000000000"}},"runtimeBytecode":{"onchainBytecode":"0x608060405260043610610138575f3560e01c80637ecebe00116100aa578063a457c2d71161006e578063a457c2d714610400578063a9059cbb1461041f578063d505accf1461043e578063dd62ed3e1461045d578063f0fcce631461047c578063f2fde38b14610490576101bc565b80637ecebe001461037557806384b0196e146103945780638da5cb5b146103bb57806395d89b41146103d857806398e0ad11146103ec576101bc565b80633644e515116100fc5780633644e515146102b057806339509351146102c4578063499c695c146102e3578063665a11ca146102f657806370a082311461032d578063715018a614610361576101bc565b806306fdde03146101f9578063095ea7b31461022357806318160ddd1461025257806323b872dd14610270578063313ce5671461028f576101bc565b366101bc57336001600160a01b037f000000000000000000000000420000000000000000000000000000000000000616146101ba5760405162461bcd60e51b815260206004820152601960248201527f4f6e6c7920616363657074204554482066726f6d20574554480000000000000060448201526064015b60405180910390fd5b005b60405162461bcd60e51b8152602060048201526012602482015271119d5b98dd1a5bdb881b9bdd08199bdd5b9960721b60448201526064016101b1565b348015610204575f80fd5b5061020d6104af565b60405161021a9190611f5f565b60405180910390f35b34801561022e575f80fd5b5061024261023d366004611f85565b61053f565b604051901515815260200161021a565b34801561025d575f80fd5b506002545b60405190815260200161021a565b34801561027b575f80fd5b5061024261028a366004611faf565b6105b3565b34801561029a575f80fd5b5060125b60405160ff909116815260200161021a565b3480156102bb575f80fd5b506102626105d6565b3480156102cf575f80fd5b506102426102de366004611f85565b6105e4565b6101ba6102f1366004611fed565b61064f565b348015610301575f80fd5b50600e54610315906001600160a01b031681565b6040516001600160a01b03909116815260200161021a565b348015610338575f80fd5b50610262610347366004612021565b6001600160a01b03165f9081526020819052604090205490565b34801561036c575f80fd5b506101ba610e14565b348015610380575f80fd5b5061026261038f366004612021565b610e26565b34801561039f575f80fd5b506103a8610e43565b60405161021a9796959493929190612043565b3480156103c6575f80fd5b506008546001600160a01b0316610315565b3480156103e3575f80fd5b5061020d610e85565b3480156103f7575f80fd5b506101ba610e94565b34801561040b575f80fd5b5061024261041a366004611f85565b61114d565b34801561042a575f80fd5b50610242610439366004611f85565b6111c9565b348015610449575f80fd5b506101ba6104583660046120da565b6111d6565b348015610468575f80fd5b5061026261047736600461214b565b61130c565b348015610487575f80fd5b5061029e611336565b34801561049b575f80fd5b506101ba6104aa366004612021565b6114e1565b6060600380546104be90612177565b80601f01602080910402602001604051908101604052809291908181526020018280546104ea90612177565b80156105355780601f1061050c57610100808354040283529160200191610535565b820191905f5260205f20905b81548152906001019060200180831161051857829003601f168201915b5050505050905090565b5f8115806105545750610552338461130c565b155b6105a05760405162461bcd60e51b815260206004820152601760248201527f556e7361666520616c6c6f77616e6365206368616e676500000000000000000060448201526064016101b1565b6105aa838361151e565b90505b92915050565b5f336105c085828561152b565b6105cb85858561158f565b506001949350505050565b5f6105df6115f1565b905090565b5f806105f0338561130c565b90505f6105fd84836121c3565b9050818110156106445760405162461bcd60e51b8152602060048201526012602482015271416c6c6f77616e6365206f766572666c6f7760701b60448201526064016101b1565b6105cb33868361171a565b610657611727565b81341461069d5760405162461bcd60e51b8152602060048201526014602482015273125b98dbdc9c9958dd0811551208185b5bdd5b9d60621b60448201526064016101b1565b600e546001600160a01b0316156106f65760405162461bcd60e51b815260206004820152601e60248201527f4c697175696469747920706f6f6c20616c72656164792063726561746564000060448201526064016101b1565b5f821161073e5760405162461bcd60e51b8152602060048201526016602482015275045544820616d6f756e74206d757374206265203e20360541b60448201526064016101b1565b5f8161ffff1611801561075757506103e88161ffff1611155b6107a35760405162461bcd60e51b815260206004820152601960248201527f496e76616c696420736c6970706167652028312d31303030290000000000000060448201526064016101b1565b305f90815260208190526040902054806107f55760405162461bcd60e51b81526020600482015260136024820152724e6f20746f6b656e7320617661696c61626c6560681b60448201526064016101b1565b5f61271061080384826121d6565b6108119061ffff16846121f8565b61081b919061220f565b90505f61271061082b85826121d6565b6108399061ffff16876121f8565b610843919061220f565b9050610870307f000000000000000000000000cf77a3ba9a5ca399b7c97c74d54e5b1beb874e438561171a565b6040516379bc57d560e01b81523060048201526001600160a01b037f0000000000000000000000004200000000000000000000000000000000000006811660248301525f60448301819052917f000000000000000000000000420dd381b31aef6683db6b902084cb0ffece40da909116906379bc57d590606401602060405180830381865afa158015610905573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610929919061222e565b90506001600160a01b038116610a3e576040516301b5fcad60e51b81523060048201526001600160a01b037f0000000000000000000000004200000000000000000000000000000000000006811660248301525f60448301527f000000000000000000000000420dd381b31aef6683db6b902084cb0ffece40da16906336bf95a0906064016020604051808303815f875af11580156109ca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109ee919061222e565b90506001600160a01b038116610a3e5760405162461bcd60e51b815260206004820152601560248201527411985a5b1959081d1bc818dc99585d19481c1bdbdb605a1b60448201526064016101b1565b80600e5f6101000a8154816001600160a01b0302191690836001600160a01b031602179055507f00000000000000000000000042000000000000000000000000000000000000066001600160a01b031663d0e30db0876040518263ffffffff1660e01b81526004015f604051808303818588803b158015610abd575f80fd5b505af1158015610acf573d5f803e3d5ffd5b505060405163095ea7b360e01b81526001600160a01b037f000000000000000000000000cf77a3ba9a5ca399b7c97c74d54e5b1beb874e4381166004830152602482018b90527f000000000000000000000000420000000000000000000000000000000000000616935063095ea7b3925060440190506020604051808303815f875af1158015610b61573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b859190612249565b505f806001600160a01b037f000000000000000000000000cf77a3ba9a5ca399b7c97c74d54e5b1beb874e4316635a47ddc3307f0000000000000000000000004200000000000000000000000000000000000006848a8d8b8b86610beb42610e106121c3565b60405160e08b901b6001600160e01b03191681526001600160a01b03998a166004820152978916602489015295151560448801526064870194909452608486019290925260a485015260c484015290921660e4820152610104810191909152610124016060604051808303815f875af1158015610c6a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c8e9190612268565b5091509150848210158015610ca35750838110155b610ce35760405162461bcd60e51b815260206004820152601160248201527014db1a5c1c1859d948195e18d959591959607a1b60448201526064016101b1565b600e546040516370a0823160e01b81523060048201525f916001600160a01b0316906370a0823190602401602060405180830381865afa158015610d29573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4d9190612293565b90505f8111610d955760405162461bcd60e51b8152602060048201526014602482015273139bc81314081d1bdad95b9cc81d1bc81cd95b9960621b60448201526064016101b1565b600e54610dcc906001600160a01b03167f000000000000000000000000fba2454912df55984a1526ad5e11557c7984c77f83611751565b6040518181527f599e3c1445f5d3f97307a24763cc7d200c7c523b685562a5df07759410a411ec9060200160405180910390a150505050505050610e106001600955565b5050565b610e1c6117a3565b610e246117d0565b565b6001600160a01b0381165f908152600760205260408120546105ad565b5f6060805f805f6060610e546117e1565b610e5c61180e565b604080515f80825260208201909252600f60f81b9b939a50919850469750309650945092509050565b6060600480546104be90612177565b610e9c6117a3565b610ea4611727565b600e546001600160a01b0316610eef5760405162461bcd60e51b815260206004820152601060248201526f141bdbdb081b9bdd0818dc99585d195960821b60448201526064016101b1565b600e546040516370a0823160e01b81523060048201525f916001600160a01b0316906370a0823190602401602060405180830381865afa158015610f35573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f599190612293565b90505f8111610f9e5760405162461bcd60e51b8152602060048201526011602482015270139bc81314081d1bdad95b9cc81a195b19607a1b60448201526064016101b1565b600e546040805163d294f09360e01b815281516001600160a01b0390931692839263d294f093926004808201939182900301815f875af1158015610fe4573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061100891906122aa565b50506040516370a0823160e01b81523060048201525f907f00000000000000000000000042000000000000000000000000000000000000066001600160a01b0316906370a0823190602401602060405180830381865afa15801561106e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110929190612293565b905080156110ee576110ee6001600160a01b037f0000000000000000000000004200000000000000000000000000000000000006167f000000000000000000000000fba2454912df55984a1526ad5e11557c7984c77f83611751565b305f908152602081905260409020548381111561113f575f61111085836122cc565b905061113d307f000000000000000000000000fba2454912df55984a1526ad5e11557c7984c77f8361158f565b505b50505050610e246001600955565b5f80611159338561130c565b9050808311156111ab5760405162461bcd60e51b815260206004820152601e60248201527f44656372656173656420616c6c6f77616e63652062656c6f77207a65726f000060448201526064016101b1565b6111bf33856111ba86856122cc565b61171a565b5060019392505050565b5f336111bf81858561158f565b834211156111fa5760405163313c898160e11b8152600481018590526024016101b1565b5f7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886112458c6001600160a01b03165f90815260076020526040902080546001810190915590565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090505f61129f8261183b565b90505f6112ae82878787611867565b9050896001600160a01b0316816001600160a01b0316146112f5576040516325c0072360e11b81526001600160a01b0380831660048301528b1660248201526044016101b1565b6113008a8a8a61171a565b50505050505050505050565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b600e545f90600160a01b900460ff161561134f57505f90565b6113997f000000000000000000000000000000000000000000000000000000000000000f7f00000000000000000000000000000000000000000000000000000000019f1def6121c3565b4310156113c557507f000000000000000000000000000000000000000000000000000000000000002890565b5f6114107f000000000000000000000000000000000000000000000000000000000000000f7f00000000000000000000000000000000000000000000000000000000019f1def6121c3565b61141a90436122cc565b90505f6114477f000000000000000000000000000000000000000000000000000000000000001e8361220f565b90505f61147760ff7f000000000000000000000000000000000000000000000000000000000000000816836121f8565b90507f000000000000000000000000000000000000000000000000000000000000002860ff1681106114ac575f935050505090565b6114d98160ff7f0000000000000000000000000000000000000000000000000000000000000028166122cc565b935050505090565b6114e96117a3565b6001600160a01b03811661151257604051631e4fbdf760e01b81525f60048201526024016101b1565b61151b81611893565b50565b5f336111bf81858561171a565b5f611536848461130c565b90505f19811015611589578181101561157b57604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016101b1565b61158984848484035f6118e4565b50505050565b6001600160a01b0383166115b857604051634b637e8f60e11b81525f60048201526024016101b1565b6001600160a01b0382166115e15760405163ec442f0560e01b81525f60048201526024016101b1565b6115ec8383836119b6565b505050565b5f306001600160a01b037f000000000000000000000000c0634090f2fe6c6d75e61be2b949464abb4989731614801561164957507f000000000000000000000000000000000000000000000000000000000000210546145b1561167357507f33e7cd03e8fa54a575a041f328e5f4daf8ce7d4add1703ae9abdc6c55b2976cf90565b6105df604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f166e14228d7679b2f966c11cf44f522d5714baa46e1ebead68508e11a95d40dc918101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a08201525f9060c00160405160208183030381529060405280519060200120905090565b6115ec83838360016118e4565b60026009540361174a57604051633ee5aeb560e01b815260040160405180910390fd5b6002600955565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526115ec908490611a99565b6008546001600160a01b03163314610e245760405163118cdaa760e01b81523360048201526024016101b1565b6117d86117a3565b610e245f611893565b60606105df7f4b656574610000000000000000000000000000000000000000000000000000056005611b05565b60606105df7f31000000000000000000000000000000000000000000000000000000000000016006611b05565b5f6105ad6118476115f1565b8360405161190160f01b8152600281019290925260228201526042902090565b5f805f8061187788888888611bae565b9250925092506118878282611c76565b50909695505050505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b03841661190d5760405163e602df0560e01b81525f60048201526024016101b1565b6001600160a01b03831661193657604051634a1406b160e11b81525f60048201526024016101b1565b6001600160a01b038085165f908152600160209081526040808320938716835292905220829055801561158957826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516119a891815260200190565b60405180910390a350505050565b6001600160a01b03831615806119d357506001600160a01b038216155b156119e3576115ec838383611d2e565b6119eb611e54565b5f6119f4611336565b60ff1690505f81118015611a1157506001600160a01b0384163014155b8015611a2657506001600160a01b0383163014155b15611a8e575f6064611a3883856121f8565b611a42919061220f565b90505f611a4f82856122cc565b9050611a7c867f000000000000000000000000fba2454912df55984a1526ad5e11557c7984c77f84611d2e565b611a87868683611d2e565b5050611589565b611589848484611d2e565b5f8060205f8451602086015f885af180611ab8576040513d5f823e3d81fd5b50505f513d91508115611acf578060011415611adc565b6001600160a01b0384163b155b1561158957604051635274afe760e01b81526001600160a01b03851660048201526024016101b1565b606060ff8314611b1f57611b1883611eb8565b90506105ad565b818054611b2b90612177565b80601f0160208091040260200160405190810160405280929190818152602001828054611b5790612177565b8015611ba25780601f10611b7957610100808354040283529160200191611ba2565b820191905f5260205f20905b815481529060010190602001808311611b8557829003601f168201915b505050505090506105ad565b5f80807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0841115611be757505f91506003905082611c6c565b604080515f808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa158015611c38573d5f803e3d5ffd5b5050604051601f1901519150506001600160a01b038116611c6357505f925060019150829050611c6c565b92505f91508190505b9450945094915050565b5f826003811115611c8957611c896122df565b03611c92575050565b6001826003811115611ca657611ca66122df565b03611cc45760405163f645eedf60e01b815260040160405180910390fd5b6002826003811115611cd857611cd86122df565b03611cf95760405163fce698f760e01b8152600481018290526024016101b1565b6003826003811115611d0d57611d0d6122df565b03610e10576040516335e2f38360e21b8152600481018290526024016101b1565b6001600160a01b038316611d58578060025f828254611d4d91906121c3565b90915550611dc89050565b6001600160a01b0383165f9081526020819052604090205481811015611daa5760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016101b1565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216611de457600280548290039055611e02565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611e4791815260200190565b60405180910390a3505050565b600e54600160a01b900460ff16158015611e765750611e71611336565b60ff16155b15610e2457600e805460ff60a01b1916600160a01b1790556040517f6112e881046eeed04237d499dbf611392304cd4a8f1c851834c8777aee228f5d905f90a1565b60605f611ec483611ef5565b6040805160208082528183019092529192505f91906020820181803683375050509182525060208101929092525090565b5f60ff8216601f8111156105ad57604051632cd44ac360e21b815260040160405180910390fd5b5f81518084525f5b81811015611f4057602081850181015186830182015201611f24565b505f602082860101526020601f19601f83011685010191505092915050565b602081525f6105aa6020830184611f1c565b6001600160a01b038116811461151b575f80fd5b5f8060408385031215611f96575f80fd5b8235611fa181611f71565b946020939093013593505050565b5f805f60608486031215611fc1575f80fd5b8335611fcc81611f71565b92506020840135611fdc81611f71565b929592945050506040919091013590565b5f8060408385031215611ffe575f80fd5b82359150602083013561ffff81168114612016575f80fd5b809150509250929050565b5f60208284031215612031575f80fd5b813561203c81611f71565b9392505050565b60ff60f81b881681525f602060e0602084015261206360e084018a611f1c565b8381036040850152612075818a611f1c565b606085018990526001600160a01b038816608086015260a0850187905284810360c0860152855180825260208088019350909101905f5b818110156120c8578351835292840192918401916001016120ac565b50909c9b505050505050505050505050565b5f805f805f805f60e0888a0312156120f0575f80fd5b87356120fb81611f71565b9650602088013561210b81611f71565b95506040880135945060608801359350608088013560ff8116811461212e575f80fd5b9699959850939692959460a0840135945060c09093013592915050565b5f806040838503121561215c575f80fd5b823561216781611f71565b9150602083013561201681611f71565b600181811c9082168061218b57607f821691505b6020821081036121a957634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b808201808211156105ad576105ad6121af565b61ffff8281168282160390808211156121f1576121f16121af565b5092915050565b80820281158282048414176105ad576105ad6121af565b5f8261222957634e487b7160e01b5f52601260045260245ffd5b500490565b5f6020828403121561223e575f80fd5b815161203c81611f71565b5f60208284031215612259575f80fd5b8151801515811461203c575f80fd5b5f805f6060848603121561227a575f80fd5b8351925060208401519150604084015190509250925092565b5f602082840312156122a3575f80fd5b5051919050565b5f80604083850312156122bb575f80fd5b505080516020909101519092909150565b818103818111156105ad576105ad6121af565b634e487b7160e01b5f52602160045260245ffdfea2646970667358221220e8df4d55ae5ab7b020d2bcb05e3bb7ebef53f233e1684d93d7277ac3201c69a864736f6c63430008170033","recompiledBytecode":"0x608060405260043610610138575f3560e01c80637ecebe00116100aa578063a457c2d71161006e578063a457c2d714610400578063a9059cbb1461041f578063d505accf1461043e578063dd62ed3e1461045d578063f0fcce631461047c578063f2fde38b14610490576101bc565b80637ecebe001461037557806384b0196e146103945780638da5cb5b146103bb57806395d89b41146103d857806398e0ad11146103ec576101bc565b80633644e515116100fc5780633644e515146102b057806339509351146102c4578063499c695c146102e3578063665a11ca146102f657806370a082311461032d578063715018a614610361576101bc565b806306fdde03146101f9578063095ea7b31461022357806318160ddd1461025257806323b872dd14610270578063313ce5671461028f576101bc565b366101bc57336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146101ba5760405162461bcd60e51b815260206004820152601960248201527f4f6e6c7920616363657074204554482066726f6d20574554480000000000000060448201526064015b60405180910390fd5b005b60405162461bcd60e51b8152602060048201526012602482015271119d5b98dd1a5bdb881b9bdd08199bdd5b9960721b60448201526064016101b1565b348015610204575f80fd5b5061020d6104af565b60405161021a9190611f5f565b60405180910390f35b34801561022e575f80fd5b5061024261023d366004611f85565b61053f565b604051901515815260200161021a565b34801561025d575f80fd5b506002545b60405190815260200161021a565b34801561027b575f80fd5b5061024261028a366004611faf565b6105b3565b34801561029a575f80fd5b5060125b60405160ff909116815260200161021a565b3480156102bb575f80fd5b506102626105d6565b3480156102cf575f80fd5b506102426102de366004611f85565b6105e4565b6101ba6102f1366004611fed565b61064f565b348015610301575f80fd5b50600e54610315906001600160a01b031681565b6040516001600160a01b03909116815260200161021a565b348015610338575f80fd5b50610262610347366004612021565b6001600160a01b03165f9081526020819052604090205490565b34801561036c575f80fd5b506101ba610e14565b348015610380575f80fd5b5061026261038f366004612021565b610e26565b34801561039f575f80fd5b506103a8610e43565b60405161021a9796959493929190612043565b3480156103c6575f80fd5b506008546001600160a01b0316610315565b3480156103e3575f80fd5b5061020d610e85565b3480156103f7575f80fd5b506101ba610e94565b34801561040b575f80fd5b5061024261041a366004611f85565b61114d565b34801561042a575f80fd5b50610242610439366004611f85565b6111c9565b348015610449575f80fd5b506101ba6104583660046120da565b6111d6565b348015610468575f80fd5b5061026261047736600461214b565b61130c565b348015610487575f80fd5b5061029e611336565b34801561049b575f80fd5b506101ba6104aa366004612021565b6114e1565b6060600380546104be90612177565b80601f01602080910402602001604051908101604052809291908181526020018280546104ea90612177565b80156105355780601f1061050c57610100808354040283529160200191610535565b820191905f5260205f20905b81548152906001019060200180831161051857829003601f168201915b5050505050905090565b5f8115806105545750610552338461130c565b155b6105a05760405162461bcd60e51b815260206004820152601760248201527f556e7361666520616c6c6f77616e6365206368616e676500000000000000000060448201526064016101b1565b6105aa838361151e565b90505b92915050565b5f336105c085828561152b565b6105cb85858561158f565b506001949350505050565b5f6105df6115f1565b905090565b5f806105f0338561130c565b90505f6105fd84836121c3565b9050818110156106445760405162461bcd60e51b8152602060048201526012602482015271416c6c6f77616e6365206f766572666c6f7760701b60448201526064016101b1565b6105cb33868361171a565b610657611727565b81341461069d5760405162461bcd60e51b8152602060048201526014602482015273125b98dbdc9c9958dd0811551208185b5bdd5b9d60621b60448201526064016101b1565b600e546001600160a01b0316156106f65760405162461bcd60e51b815260206004820152601e60248201527f4c697175696469747920706f6f6c20616c72656164792063726561746564000060448201526064016101b1565b5f821161073e5760405162461bcd60e51b8152602060048201526016602482015275045544820616d6f756e74206d757374206265203e20360541b60448201526064016101b1565b5f8161ffff1611801561075757506103e88161ffff1611155b6107a35760405162461bcd60e51b815260206004820152601960248201527f496e76616c696420736c6970706167652028312d31303030290000000000000060448201526064016101b1565b305f90815260208190526040902054806107f55760405162461bcd60e51b81526020600482015260136024820152724e6f20746f6b656e7320617661696c61626c6560681b60448201526064016101b1565b5f61271061080384826121d6565b6108119061ffff16846121f8565b61081b919061220f565b90505f61271061082b85826121d6565b6108399061ffff16876121f8565b610843919061220f565b9050610870307f00000000000000000000000000000000000000000000000000000000000000008561171a565b6040516379bc57d560e01b81523060048201526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660248301525f60448301819052917f0000000000000000000000000000000000000000000000000000000000000000909116906379bc57d590606401602060405180830381865afa158015610905573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610929919061222e565b90506001600160a01b038116610a3e576040516301b5fcad60e51b81523060048201526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660248301525f60448301527f000000000000000000000000000000000000000000000000000000000000000016906336bf95a0906064016020604051808303815f875af11580156109ca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109ee919061222e565b90506001600160a01b038116610a3e5760405162461bcd60e51b815260206004820152601560248201527411985a5b1959081d1bc818dc99585d19481c1bdbdb605a1b60448201526064016101b1565b80600e5f6101000a8154816001600160a01b0302191690836001600160a01b031602179055507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0876040518263ffffffff1660e01b81526004015f604051808303818588803b158015610abd575f80fd5b505af1158015610acf573d5f803e3d5ffd5b505060405163095ea7b360e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081166004830152602482018b90527f000000000000000000000000000000000000000000000000000000000000000016935063095ea7b3925060440190506020604051808303815f875af1158015610b61573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b859190612249565b505f806001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016635a47ddc3307f0000000000000000000000000000000000000000000000000000000000000000848a8d8b8b86610beb42610e106121c3565b60405160e08b901b6001600160e01b03191681526001600160a01b03998a166004820152978916602489015295151560448801526064870194909452608486019290925260a485015260c484015290921660e4820152610104810191909152610124016060604051808303815f875af1158015610c6a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c8e9190612268565b5091509150848210158015610ca35750838110155b610ce35760405162461bcd60e51b815260206004820152601160248201527014db1a5c1c1859d948195e18d959591959607a1b60448201526064016101b1565b600e546040516370a0823160e01b81523060048201525f916001600160a01b0316906370a0823190602401602060405180830381865afa158015610d29573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4d9190612293565b90505f8111610d955760405162461bcd60e51b8152602060048201526014602482015273139bc81314081d1bdad95b9cc81d1bc81cd95b9960621b60448201526064016101b1565b600e54610dcc906001600160a01b03167f000000000000000000000000000000000000000000000000000000000000000083611751565b6040518181527f599e3c1445f5d3f97307a24763cc7d200c7c523b685562a5df07759410a411ec9060200160405180910390a150505050505050610e106001600955565b5050565b610e1c6117a3565b610e246117d0565b565b6001600160a01b0381165f908152600760205260408120546105ad565b5f6060805f805f6060610e546117e1565b610e5c61180e565b604080515f80825260208201909252600f60f81b9b939a50919850469750309650945092509050565b6060600480546104be90612177565b610e9c6117a3565b610ea4611727565b600e546001600160a01b0316610eef5760405162461bcd60e51b815260206004820152601060248201526f141bdbdb081b9bdd0818dc99585d195960821b60448201526064016101b1565b600e546040516370a0823160e01b81523060048201525f916001600160a01b0316906370a0823190602401602060405180830381865afa158015610f35573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f599190612293565b90505f8111610f9e5760405162461bcd60e51b8152602060048201526011602482015270139bc81314081d1bdad95b9cc81a195b19607a1b60448201526064016101b1565b600e546040805163d294f09360e01b815281516001600160a01b0390931692839263d294f093926004808201939182900301815f875af1158015610fe4573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061100891906122aa565b50506040516370a0823160e01b81523060048201525f907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa15801561106e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110929190612293565b905080156110ee576110ee6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f000000000000000000000000000000000000000000000000000000000000000083611751565b305f908152602081905260409020548381111561113f575f61111085836122cc565b905061113d307f00000000000000000000000000000000000000000000000000000000000000008361158f565b505b50505050610e246001600955565b5f80611159338561130c565b9050808311156111ab5760405162461bcd60e51b815260206004820152601e60248201527f44656372656173656420616c6c6f77616e63652062656c6f77207a65726f000060448201526064016101b1565b6111bf33856111ba86856122cc565b61171a565b5060019392505050565b5f336111bf81858561158f565b834211156111fa5760405163313c898160e11b8152600481018590526024016101b1565b5f7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886112458c6001600160a01b03165f90815260076020526040902080546001810190915590565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090505f61129f8261183b565b90505f6112ae82878787611867565b9050896001600160a01b0316816001600160a01b0316146112f5576040516325c0072360e11b81526001600160a01b0380831660048301528b1660248201526044016101b1565b6113008a8a8a61171a565b50505050505050505050565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b600e545f90600160a01b900460ff161561134f57505f90565b6113997f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006121c3565b4310156113c557507f000000000000000000000000000000000000000000000000000000000000000090565b5f6114107f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006121c3565b61141a90436122cc565b90505f6114477f00000000000000000000000000000000000000000000000000000000000000008361220f565b90505f61147760ff7f000000000000000000000000000000000000000000000000000000000000000016836121f8565b90507f000000000000000000000000000000000000000000000000000000000000000060ff1681106114ac575f935050505090565b6114d98160ff7f0000000000000000000000000000000000000000000000000000000000000000166122cc565b935050505090565b6114e96117a3565b6001600160a01b03811661151257604051631e4fbdf760e01b81525f60048201526024016101b1565b61151b81611893565b50565b5f336111bf81858561171a565b5f611536848461130c565b90505f19811015611589578181101561157b57604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016101b1565b61158984848484035f6118e4565b50505050565b6001600160a01b0383166115b857604051634b637e8f60e11b81525f60048201526024016101b1565b6001600160a01b0382166115e15760405163ec442f0560e01b81525f60048201526024016101b1565b6115ec8383836119b6565b505050565b5f306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561164957507f000000000000000000000000000000000000000000000000000000000000000046145b1561167357507f000000000000000000000000000000000000000000000000000000000000000090565b6105df604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a08201525f9060c00160405160208183030381529060405280519060200120905090565b6115ec83838360016118e4565b60026009540361174a57604051633ee5aeb560e01b815260040160405180910390fd5b6002600955565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526115ec908490611a99565b6008546001600160a01b03163314610e245760405163118cdaa760e01b81523360048201526024016101b1565b6117d86117a3565b610e245f611893565b60606105df7f00000000000000000000000000000000000000000000000000000000000000006005611b05565b60606105df7f00000000000000000000000000000000000000000000000000000000000000006006611b05565b5f6105ad6118476115f1565b8360405161190160f01b8152600281019290925260228201526042902090565b5f805f8061187788888888611bae565b9250925092506118878282611c76565b50909695505050505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b03841661190d5760405163e602df0560e01b81525f60048201526024016101b1565b6001600160a01b03831661193657604051634a1406b160e11b81525f60048201526024016101b1565b6001600160a01b038085165f908152600160209081526040808320938716835292905220829055801561158957826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516119a891815260200190565b60405180910390a350505050565b6001600160a01b03831615806119d357506001600160a01b038216155b156119e3576115ec838383611d2e565b6119eb611e54565b5f6119f4611336565b60ff1690505f81118015611a1157506001600160a01b0384163014155b8015611a2657506001600160a01b0383163014155b15611a8e575f6064611a3883856121f8565b611a42919061220f565b90505f611a4f82856122cc565b9050611a7c867f000000000000000000000000000000000000000000000000000000000000000084611d2e565b611a87868683611d2e565b5050611589565b611589848484611d2e565b5f8060205f8451602086015f885af180611ab8576040513d5f823e3d81fd5b50505f513d91508115611acf578060011415611adc565b6001600160a01b0384163b155b1561158957604051635274afe760e01b81526001600160a01b03851660048201526024016101b1565b606060ff8314611b1f57611b1883611eb8565b90506105ad565b818054611b2b90612177565b80601f0160208091040260200160405190810160405280929190818152602001828054611b5790612177565b8015611ba25780601f10611b7957610100808354040283529160200191611ba2565b820191905f5260205f20905b815481529060010190602001808311611b8557829003601f168201915b505050505090506105ad565b5f80807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0841115611be757505f91506003905082611c6c565b604080515f808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa158015611c38573d5f803e3d5ffd5b5050604051601f1901519150506001600160a01b038116611c6357505f925060019150829050611c6c565b92505f91508190505b9450945094915050565b5f826003811115611c8957611c896122df565b03611c92575050565b6001826003811115611ca657611ca66122df565b03611cc45760405163f645eedf60e01b815260040160405180910390fd5b6002826003811115611cd857611cd86122df565b03611cf95760405163fce698f760e01b8152600481018290526024016101b1565b6003826003811115611d0d57611d0d6122df565b03610e10576040516335e2f38360e21b8152600481018290526024016101b1565b6001600160a01b038316611d58578060025f828254611d4d91906121c3565b90915550611dc89050565b6001600160a01b0383165f9081526020819052604090205481811015611daa5760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016101b1565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216611de457600280548290039055611e02565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611e4791815260200190565b60405180910390a3505050565b600e54600160a01b900460ff16158015611e765750611e71611336565b60ff16155b15610e2457600e805460ff60a01b1916600160a01b1790556040517f6112e881046eeed04237d499dbf611392304cd4a8f1c851834c8777aee228f5d905f90a1565b60605f611ec483611ef5565b6040805160208082528183019092529192505f91906020820181803683375050509182525060208101929092525090565b5f60ff8216601f8111156105ad57604051632cd44ac360e21b815260040160405180910390fd5b5f81518084525f5b81811015611f4057602081850181015186830182015201611f24565b505f602082860101526020601f19601f83011685010191505092915050565b602081525f6105aa6020830184611f1c565b6001600160a01b038116811461151b575f80fd5b5f8060408385031215611f96575f80fd5b8235611fa181611f71565b946020939093013593505050565b5f805f60608486031215611fc1575f80fd5b8335611fcc81611f71565b92506020840135611fdc81611f71565b929592945050506040919091013590565b5f8060408385031215611ffe575f80fd5b82359150602083013561ffff81168114612016575f80fd5b809150509250929050565b5f60208284031215612031575f80fd5b813561203c81611f71565b9392505050565b60ff60f81b881681525f602060e0602084015261206360e084018a611f1c565b8381036040850152612075818a611f1c565b606085018990526001600160a01b038816608086015260a0850187905284810360c0860152855180825260208088019350909101905f5b818110156120c8578351835292840192918401916001016120ac565b50909c9b505050505050505050505050565b5f805f805f805f60e0888a0312156120f0575f80fd5b87356120fb81611f71565b9650602088013561210b81611f71565b95506040880135945060608801359350608088013560ff8116811461212e575f80fd5b9699959850939692959460a0840135945060c09093013592915050565b5f806040838503121561215c575f80fd5b823561216781611f71565b9150602083013561201681611f71565b600181811c9082168061218b57607f821691505b6020821081036121a957634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b808201808211156105ad576105ad6121af565b61ffff8281168282160390808211156121f1576121f16121af565b5092915050565b80820281158282048414176105ad576105ad6121af565b5f8261222957634e487b7160e01b5f52601260045260245ffd5b500490565b5f6020828403121561223e575f80fd5b815161203c81611f71565b5f60208284031215612259575f80fd5b8151801515811461203c575f80fd5b5f805f6060848603121561227a575f80fd5b8351925060208401519150604084015190509250925092565b5f602082840312156122a3575f80fd5b5051919050565b5f80604083850312156122bb575f80fd5b505080516020909101519092909150565b818103818111156105ad576105ad6121af565b634e487b7160e01b5f52602160045260245ffdfea2646970667358221220e8df4d55ae5ab7b020d2bcb05e3bb7ebef53f233e1684d93d7277ac3201c69a864736f6c63430008170033","sourceMap":"6493:13061:26:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18181:10;-1:-1:-1;;;;;18195:5:26;18181:19;;18173:57;;;;-1:-1:-1;;;18173:57:26;;216:2:27;18173:57:26;;;198:21:27;255:2;235:18;;;228:30;294:27;274:18;;;267:55;339:18;;18173:57:26;;;;;;;;;6493:13061;;18393:28;;-1:-1:-1;;;18393:28:26;;570:2:27;18393:28:26;;;552:21:27;609:2;589:18;;;582:30;-1:-1:-1;;;628:18:27;;;621:48;686:18;;18393:28:26;368:342:27;1779:89:6;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;14647:231:26;;;;;;;;;;-1:-1:-1;14647:231:26;;;;;:::i;:::-;;:::i;:::-;;;1989:14:27;;1982:22;1964:41;;1952:2;1937:18;14647:231:26;1824:187:27;2849:97:6;;;;;;;;;;-1:-1:-1;2927:12:6;;2849:97;;;2162:25:27;;;2150:2;2135:18;2849:97:6;2016:177:27;4776:244:6;;;;;;;;;;-1:-1:-1;4776:244:6;;;;;:::i;:::-;;:::i;2707:82::-;;;;;;;;;;-1:-1:-1;2780:2:6;2707:82;;;2831:4:27;2819:17;;;2801:36;;2789:2;2774:18;2707:82:6;2659:184:27;:112:8;;;;;;;;;;;;;:::i;15187:369:26:-;;;;;;;;;;-1:-1:-1;15187:369:26;;;;;:::i;:::-;;:::i;10962:2337::-;;;;;;:::i;:::-;;:::i;7130:28::-;;;;;;;;;;-1:-1:-1;7130:28:26;;;;-1:-1:-1;;;;;7130:28:26;;;;;;-1:-1:-1;;;;;3539:32:27;;;3521:51;;3509:2;3494:18;7130:28:26;3375:203:27;3004:116:6;;;;;;;;;;-1:-1:-1;3004:116:6;;;;;:::i;:::-;-1:-1:-1;;;;;3095:18:6;3069:7;3095:18;;;;;;;;;;;;3004:116;17937:97:26;;;;;;;;;;;;;:::i;2409:143:8:-;;;;;;;;;;-1:-1:-1;2409:143:8;;;;;:::i;:::-;;:::i;5243:557:20:-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;1638:85:0:-;;;;;;;;;;-1:-1:-1;1710:6:0;;-1:-1:-1;;;;;1710:6:0;1638:85;;1981:93:6;;;;;;;;;;;;;:::i;18571:981:26:-;;;;;;;;;;;;;:::i;15883:349::-;;;;;;;;;;-1:-1:-1;15883:349:26;;;;;:::i;:::-;;:::i;3315:178:6:-;;;;;;;;;;-1:-1:-1;3315:178:6;;;;;:::i;:::-;;:::i;1683:672:8:-;;;;;;;;;;-1:-1:-1;1683:672:8;;;;;:::i;:::-;;:::i;3551:140:6:-;;;;;;;;;;-1:-1:-1;3551:140:6;;;;;:::i;:::-;;:::i;16911:847:26:-;;;;;;;;;;;;;:::i;2543:215:0:-;;;;;;;;;;-1:-1:-1;2543:215:0;;;;;:::i;:::-;;:::i;1779:89:6:-;1824:13;1856:5;1849:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1779:89;:::o;14647:231:26:-;14722:4;14746:11;;;:50;;;14761:30;14771:10;14783:7;14761:9;:30::i;:::-;:35;14746:50;14738:86;;;;-1:-1:-1;;;14738:86:26;;6913:2:27;14738:86:26;;;6895:21:27;6952:2;6932:18;;;6925:30;6991:25;6971:18;;;6964:53;7034:18;;14738:86:26;6711:347:27;14738:86:26;14841:30;14855:7;14864:6;14841:13;:30::i;:::-;14834:37;;14647:231;;;;;:::o;4776:244:6:-;4863:4;735:10:12;4919:37:6;4935:4;735:10:12;4950:5:6;4919:15;:37::i;:::-;4966:26;4976:4;4982:2;4986:5;4966:9;:26::i;:::-;-1:-1:-1;5009:4:6;;4776:244;-1:-1:-1;;;;4776:244:6:o;2659:112:8:-;2718:7;2744:20;:18;:20::i;:::-;2737:27;;2659:112;:::o;15187:369:26:-;15267:4;15283:24;15310:30;15320:10;15332:7;15310:9;:30::i;:::-;15283:57;-1:-1:-1;15350:20:26;15373:29;15392:10;15283:57;15373:29;:::i;:::-;15350:52;;15436:16;15420:12;:32;;15412:63;;;;-1:-1:-1;;;15412:63:26;;7527:2:27;15412:63:26;;;7509:21:27;7566:2;7546:18;;;7539:30;-1:-1:-1;;;7585:18:27;;;7578:48;7643:18;;15412:63:26;7325:342:27;15412:63:26;15485:43;15494:10;15506:7;15515:12;15485:8;:43::i;10962:2337::-;2500:21:15;:19;:21::i;:::-;11109:9:26::1;11096;:22;11088:55;;;::::0;-1:-1:-1;;;11088:55:26;;7874:2:27;11088:55:26::1;::::0;::::1;7856:21:27::0;7913:2;7893:18;;;7886:30;-1:-1:-1;;;7932:18:27;;;7925:50;7992:18;;11088:55:26::1;7672:344:27::0;11088:55:26::1;11161:13;::::0;-1:-1:-1;;;;;11161:13:26::1;:27:::0;11153:70:::1;;;::::0;-1:-1:-1;;;11153:70:26;;8223:2:27;11153:70:26::1;::::0;::::1;8205:21:27::0;8262:2;8242:18;;;8235:30;8301:32;8281:18;;;8274:60;8351:18;;11153:70:26::1;8021:354:27::0;11153:70:26::1;11253:1;11241:9;:13;11233:48;;;::::0;-1:-1:-1;;;11233:48:26;;8582:2:27;11233:48:26::1;::::0;::::1;8564:21:27::0;8621:2;8601:18;;;8594:30;-1:-1:-1;;;8640:18:27;;;8633:52;8702:18;;11233:48:26::1;8380:346:27::0;11233:48:26::1;11313:1;11299:11;:15;;;:38;;;;;11333:4;11318:11;:19;;;;11299:38;11291:76;;;::::0;-1:-1:-1;;;11291:76:26;;8933:2:27;11291:76:26::1;::::0;::::1;8915:21:27::0;8972:2;8952:18;;;8945:30;9011:27;8991:18;;;8984:55;9056:18;;11291:76:26::1;8731:349:27::0;11291:76:26::1;11454:4;11414:19;3095:18:6::0;;;;;;;;;;;11478:15:26;11470:47:::1;;;::::0;-1:-1:-1;;;11470:47:26;;9287:2:27;11470:47:26::1;::::0;::::1;9269:21:27::0;9326:2;9306:18;;;9299:30;-1:-1:-1;;;9345:18:27;;;9338:49;9404:18;;11470:47:26::1;9085:343:27::0;11470:47:26::1;11593:22;11656:5;11633:19;11641:11:::0;11656:5;11633:19:::1;:::i;:::-;11618:35;::::0;::::1;;:11:::0;:35:::1;:::i;:::-;:43;;;;:::i;:::-;11593:68:::0;-1:-1:-1;11671:20:26::1;11730:5;11707:19;11715:11:::0;11730:5;11707:19:::1;:::i;:::-;11694:33;::::0;::::1;;:9:::0;:33:::1;:::i;:::-;:41;;;;:::i;:::-;11671:64;;11812:45;11829:4;11836:7;11845:11;11812:8;:45::i;:::-;11983:74;::::0;-1:-1:-1;;;11983:74:26;;12037:4:::1;11983:74;::::0;::::1;10238:34:27::0;-1:-1:-1;;;;;12044:5:26::1;10308:15:27::0;;10288:18;;;10281:43;-1:-1:-1;10340:18:27;;;10333:50;;;-1:-1:-1;12001:18:26::1;11983:45:::0;;::::1;::::0;::::1;::::0;10173:18:27;;11983:74:26::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;11961:96:::0;-1:-1:-1;;;;;;12071:25:26;::::1;12067:220;;12126:77;::::0;-1:-1:-1;;;12126:77:26;;12183:4:::1;12126:77;::::0;::::1;10238:34:27::0;-1:-1:-1;;;;;12190:5:26::1;10308:15:27::0;;10288:18;;;10281:43;-1:-1:-1;10340:18:27;;;10333:50;12144:18:26::1;12126:48;::::0;::::1;::::0;10173:18:27;;12126:77:26::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;12112:91:::0;-1:-1:-1;;;;;;12225:25:26;::::1;12217:59;;;::::0;-1:-1:-1;;;12217:59:26;;10852:2:27;12217:59:26::1;::::0;::::1;10834:21:27::0;10891:2;10871:18;;;10864:30;-1:-1:-1;;;10910:18:27;;;10903:51;10971:18;;12217:59:26::1;10650:345:27::0;12217:59:26::1;12337:11;12321:13;;:27;;;;;-1:-1:-1::0;;;;;12321:27:26::1;;;;;-1:-1:-1::0;;;;;12321:27:26::1;;;;;;12402:5;-1:-1:-1::0;;;;;12396:20:26::1;;12425:9;12396:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;12448:40:26::1;::::0;-1:-1:-1;;;12448:40:26;;-1:-1:-1;;;;;12469:7:26::1;11192:32:27::0;;12448:40:26::1;::::0;::::1;11174:51:27::0;11241:18;;;11234:34;;;12454:5:26::1;12448:20;::::0;-1:-1:-1;12448:20:26::1;::::0;-1:-1:-1;11147:18:27;;;-1:-1:-1;12448:40:26::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;12550:23:26::1;::::0;-1:-1:-1;;;;;12612:7:26::1;12601:32;;12655:4;12674:5;12550:23:::0;12726:11;12751:9;12774:14;12802:12;12655:4;12855:25:::1;:15;12873:7;12855:25;:::i;:::-;12601:289;::::0;::::1;::::0;;;-1:-1:-1;;;;;;12601:289:26;;;-1:-1:-1;;;;;11982:15:27;;;12601:289:26::1;::::0;::::1;11964:34:27::0;12034:15;;;12014:18;;;12007:43;12093:14;;12086:22;12066:18;;;12059:50;12125:18;;;12118:34;;;;12168:19;;;12161:35;;;;12212:19;;;12205:35;12256:19;;;12249:35;12321:15;;;12300:19;;;12293:44;12353:19;;;12346:35;;;;11898:19;;12601:289:26::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;12549:341;;;;;12928:14;12909:15;:33;;:66;;;;;12963:12;12946:13;:29;;12909:66;12901:96;;;::::0;-1:-1:-1;;;12901:96:26;;12905:2:27;12901:96:26::1;::::0;::::1;12887:21:27::0;12944:2;12924:18;;;12917:30;-1:-1:-1;;;12963:18:27;;;12956:47;13020:18;;12901:96:26::1;12703:341:27::0;12901:96:26::1;13086:13;::::0;13079:46:::1;::::0;-1:-1:-1;;;13079:46:26;;13119:4:::1;13079:46;::::0;::::1;3521:51:27::0;13059:17:26::1;::::0;-1:-1:-1;;;;;13086:13:26::1;::::0;13079:31:::1;::::0;3494:18:27;;13079:46:26::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;13059:66;;13155:1;13143:9;:13;13135:46;;;::::0;-1:-1:-1;;;13135:46:26;;13440:2:27;13135:46:26::1;::::0;::::1;13422:21:27::0;13479:2;13459:18;;;13452:30;-1:-1:-1;;;13498:18:27;;;13491:50;13558:18;;13135:46:26::1;13238:344:27::0;13135:46:26::1;13198:13;::::0;13191:60:::1;::::0;-1:-1:-1;;;;;13198:13:26::1;13226;13241:9:::0;13191:34:::1;:60::i;:::-;13266:25;::::0;2162::27;;;13266::26::1;::::0;2150:2:27;2135:18;13266:25:26::1;;;;;;;11060:2239;;;;;;;2542:20:15::0;1857:1;3068:7;:21;2888:208;2542:20;10962:2337:26;;:::o;17937:97::-;1531:13:0;:11;:13::i;:::-;18002:25:26::1;:23;:25::i;:::-;17937:97::o:0;2409:143:8:-;-1:-1:-1;;;;;624:14:13;;2500:7:8;624:14:13;;;:7;:14;;;;;;2526:19:8;538:107:13;5243:557:20;5341:13;5368:18;5400:21;5435:15;5464:25;5503:12;5529:27;5632:13;:11;:13::i;:::-;5659:16;:14;:16::i;:::-;5767;;;5751:1;5767:16;;;;;;;;;-1:-1:-1;;;5581:212:20;;;-1:-1:-1;5581:212:20;;-1:-1:-1;5689:13:20;;-1:-1:-1;5724:4:20;;-1:-1:-1;5751:1:20;-1:-1:-1;5767:16:20;-1:-1:-1;5581:212:20;-1:-1:-1;5243:557:20:o;1981:93:6:-;2028:13;2060:7;2053:14;;;;;:::i;18571:981:26:-;1531:13:0;:11;:13::i;:::-;2500:21:15::1;:19;:21::i;:::-;18646:13:26::2;::::0;-1:-1:-1;;;;;18646:13:26::2;18638:56;;;::::0;-1:-1:-1;;;18638:56:26;;13921:2:27;18638:56:26::2;::::0;::::2;13903:21:27::0;13960:2;13940:18;;;13933:30;-1:-1:-1;;;13979:18:27;;;13972:46;14035:18;;18638:56:26::2;13719:340:27::0;18638:56:26::2;18772:13;::::0;18765:46:::2;::::0;-1:-1:-1;;;18765:46:26;;18805:4:::2;18765:46;::::0;::::2;3521:51:27::0;18745:17:26::2;::::0;-1:-1:-1;;;;;18772:13:26::2;::::0;18765:31:::2;::::0;3494:18:27;;18765:46:26::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;18745:66;;18841:1;18829:9;:13;18821:43;;;::::0;-1:-1:-1;;;18821:43:26;;14266:2:27;18821:43:26::2;::::0;::::2;14248:21:27::0;14305:2;14285:18;;;14278:30;-1:-1:-1;;;14324:18:27;;;14317:47;14381:18;;18821:43:26::2;14064:341:27::0;18821:43:26::2;18946:13;::::0;19001:16:::2;::::0;;-1:-1:-1;;;19001:16:26;;;;-1:-1:-1;;;;;18946:13:26;;::::2;::::0;;;19001:14:::2;::::0;:16:::2;::::0;;::::2;::::0;;;;;;;18909:19:::2;18946:13:::0;19001:16:::2;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;19105:38:26::2;::::0;-1:-1:-1;;;19105:38:26;;19137:4:::2;19105:38;::::0;::::2;3521:51:27::0;19083:19:26::2;::::0;19112:5:::2;-1:-1:-1::0;;;;;19105:23:26::2;::::0;::::2;::::0;3494:18:27;;19105:38:26::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;19083:60:::0;-1:-1:-1;19157:15:26;;19153:100:::2;;19188:54;-1:-1:-1::0;;;;;19195:5:26::2;19188:26;19215:13;19230:11:::0;19188:26:::2;:54::i;:::-;19361:4;19320:20;3095:18:6::0;;;;;;;;;;;19381:24:26;;::::2;19377:169;;;19421:20;19444:24;19459:9:::0;19444:12;:24:::2;:::i;:::-;19421:47;;19482:53;19500:4;19507:13;19522:12;19482:9;:53::i;:::-;19407:139;19377:169;18628:924;;;;2542:20:15::1;1857:1:::0;3068:7;:21;2888:208;15883:349:26;15968:4;15984:24;16011:30;16021:10;16033:7;16011:9;:30::i;:::-;15984:57;;16078:16;16059:15;:35;;16051:78;;;;-1:-1:-1;;;16051:78:26;;14995:2:27;16051:78:26;;;14977:21:27;15034:2;15014:18;;;15007:30;15073:32;15053:18;;;15046:60;15123:18;;16051:78:26;14793:354:27;16051:78:26;16139:65;16148:10;16160:7;16169:34;16188:15;16169:16;:34;:::i;:::-;16139:8;:65::i;:::-;-1:-1:-1;16221:4:26;;15883:349;-1:-1:-1;;;15883:349:26:o;3315:178:6:-;3384:4;735:10:12;3438:27:6;735:10:12;3455:2:6;3459:5;3438:9;:27::i;1683:672:8:-;1904:8;1886:15;:26;1882:97;;;1935:33;;-1:-1:-1;;;1935:33:8;;;;;2162:25:27;;;2135:18;;1935:33:8;2016:177:27;1882:97:8;1989:18;1024:95;2048:5;2055:7;2064:5;2071:16;2081:5;-1:-1:-1;;;;;1121:14:13;819:7;1121:14;;;:7;:14;;;;;:16;;;;;;;;;759:395;2071:16:8;2020:78;;;;;;15439:25:27;;;;-1:-1:-1;;;;;15538:15:27;;;15518:18;;;15511:43;15590:15;;;;15570:18;;;15563:43;15622:18;;;15615:34;15665:19;;;15658:35;15709:19;;;15702:35;;;15411:19;;2020:78:8;;;;;;;;;;;;2010:89;;;;;;1989:110;;2110:12;2125:28;2142:10;2125:16;:28::i;:::-;2110:43;;2164:14;2181:28;2195:4;2201:1;2204;2207;2181:13;:28::i;:::-;2164:45;;2233:5;-1:-1:-1;;;;;2223:15:8;:6;-1:-1:-1;;;;;2223:15:8;;2219:88;;2261:35;;-1:-1:-1;;;2261:35:8;;-1:-1:-1;;;;;15978:15:27;;;2261:35:8;;;15960:34:27;16030:15;;16010:18;;;16003:43;15895:18;;2261:35:8;15748:304:27;2219:88:8;2317:31;2326:5;2333:7;2342:5;2317:8;:31::i;:::-;1872:483;;;1683:672;;;;;;;:::o;3551:140:6:-;-1:-1:-1;;;;;3657:18:6;;;3631:7;3657:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;3551:140::o;16911:847:26:-;16978:21;;16957:5;;-1:-1:-1;;;16978:21:26;;;;16974:60;;;-1:-1:-1;17022:1:26;;16911:847::o;16974:60::-;17116:38;17135:19;17116:16;:38;:::i;:::-;17101:12;:53;17097:102;;;-1:-1:-1;17177:11:26;;16911:847::o;17097:102::-;17264:34;17317:38;17336:19;17317:16;:38;:::i;:::-;17301:55;;:12;:55;:::i;:::-;17264:92;-1:-1:-1;17436:18:26;17457:50;17486:21;17264:92;17457:50;:::i;:::-;17436:71;-1:-1:-1;17564:20:26;17587:30;;17600:17;17587:30;17436:71;17587:30;:::i;:::-;17564:53;;17647:11;17631:27;;:12;:27;17627:66;;17681:1;17674:8;;;;;16911:847;:::o;17627:66::-;17724:26;17738:12;17724:26;:11;:26;;:::i;:::-;17711:40;;;;;16911:847;:::o;2543:215:0:-;1531:13;:11;:13::i;:::-;-1:-1:-1;;;;;2627:22:0;::::1;2623:91;;2672:31;::::0;-1:-1:-1;;;2672:31:0;;2700:1:::1;2672:31;::::0;::::1;3521:51:27::0;3494:18;;2672:31:0::1;3375:203:27::0;2623:91:0::1;2723:28;2742:8;2723:18;:28::i;:::-;2543:215:::0;:::o;3998:186:6:-;4071:4;735:10:12;4125:31:6;735:10:12;4141:7:6;4150:5;4125:8;:31::i;10415:476::-;10514:24;10541:25;10551:5;10558:7;10541:9;:25::i;:::-;10514:52;;-1:-1:-1;;10580:16:6;:36;10576:309;;;10655:5;10636:16;:24;10632:130;;;10687:60;;-1:-1:-1;;;10687:60:6;;-1:-1:-1;;;;;16277:32:27;;10687:60:6;;;16259:51:27;16326:18;;;16319:34;;;16369:18;;;16362:34;;;16232:18;;10687:60:6;16057:345:27;10632:130:6;10803:57;10812:5;10819:7;10847:5;10828:16;:24;10854:5;10803:8;:57::i;:::-;10504:387;10415:476;;;:::o;5393:300::-;-1:-1:-1;;;;;5476:18:6;;5472:86;;5517:30;;-1:-1:-1;;;5517:30:6;;5544:1;5517:30;;;3521:51:27;3494:18;;5517:30:6;3375:203:27;5472:86:6;-1:-1:-1;;;;;5571:16:6;;5567:86;;5610:32;;-1:-1:-1;;;5610:32:6;;5639:1;5610:32;;;3521:51:27;3494:18;;5610:32:6;3375:203:27;5567:86:6;5662:24;5670:4;5676:2;5680:5;5662:7;:24::i;:::-;5393:300;;;:::o;3945:262:20:-;3998:7;4029:4;-1:-1:-1;;;;;4038:11:20;4021:28;;:63;;;;;4070:14;4053:13;:31;4021:63;4017:184;;;-1:-1:-1;4107:22:20;;3945:262::o;4017:184::-;4167:23;4304:80;;;2079:95;4304:80;;;16666:25:27;4326:11:20;16707:18:27;;;16700:34;;;;4339:14:20;16750:18:27;;;16743:34;4355:13:20;16793:18:27;;;16786:34;4378:4:20;16836:19:27;;;16829:61;4268:7:20;;16638:19:27;;4304:80:20;;;;;;;;;;;;4294:91;;;;;;4287:98;;4213:179;;8726:128:6;8810:37;8819:5;8826:7;8835:5;8842:4;8810:8;:37::i;2575:307:15:-;1899:1;2702:7;;:18;2698:86;;2743:30;;-1:-1:-1;;;2743:30:15;;;;;;;;;;;2698:86;1899:1;2858:7;:17;2575:307::o;1219:160:11:-;1328:43;;;-1:-1:-1;;;;;11192:32:27;;1328:43:11;;;11174:51:27;11241:18;;;;11234:34;;;1328:43:11;;;;;;;;;;11147:18:27;;;;1328:43:11;;;;;;;;-1:-1:-1;;;;;1328:43:11;-1:-1:-1;;;1328:43:11;;;1301:71;;1321:5;;1301:19;:71::i;1796:162:0:-;1710:6;;-1:-1:-1;;;;;1710:6:0;735:10:12;1855:23:0;1851:101;;1901:40;;-1:-1:-1;;;1901:40:0;;735:10:12;1901:40:0;;;3521:51:27;3494:18;;1901:40:0;3375:203:27;2293:101:0;1531:13;:11;:13::i;:::-;2357:30:::1;2384:1;2357:18;:30::i;6120:126:20:-:0;6166:13;6198:41;:5;6225:13;6198:26;:41::i;6572:135::-;6621:13;6653:47;:8;6683:16;6653:29;:47::i;5017:176::-;5094:7;5120:66;5153:20;:18;:20::i;:::-;5175:10;4049:4:21;4043:11;-1:-1:-1;;;4067:23:21;;4119:4;4110:14;;4103:39;;;;4171:4;4162:14;;4155:34;4227:4;4212:20;;;3874:374;6887:260:19;6972:7;6992:17;7011:18;7031:16;7051:25;7062:4;7068:1;7071;7074;7051:10;:25::i;:::-;6991:85;;;;;;7086:28;7098:5;7105:8;7086:11;:28::i;:::-;-1:-1:-1;7131:9:19;;6887:260;-1:-1:-1;;;;;;6887:260:19:o;2912:187:0:-;3004:6;;;-1:-1:-1;;;;;3020:17:0;;;-1:-1:-1;;;;;;3020:17:0;;;;;;;3052:40;;3004:6;;;3020:17;3004:6;;3052:40;;2985:16;;3052:40;2975:124;2912:187;:::o;9701:432:6:-;-1:-1:-1;;;;;9813:19:6;;9809:89;;9855:32;;-1:-1:-1;;;9855:32:6;;9884:1;9855:32;;;3521:51:27;3494:18;;9855:32:6;3375:203:27;9809:89:6;-1:-1:-1;;;;;9911:21:6;;9907:90;;9955:31;;-1:-1:-1;;;9955:31:6;;9983:1;9955:31;;;3521:51:27;3494:18;;9955:31:6;3375:203:27;9907:90:6;-1:-1:-1;;;;;10006:18:6;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;:35;;;10051:76;;;;10101:7;-1:-1:-1;;;;;10085:31:6;10094:5;-1:-1:-1;;;;;10085:31:6;;10110:5;10085:31;;;;2162:25:27;;2150:2;2135:18;;2016:177;10085:31:6;;;;;;;;9701:432;;;;:::o;13635:666:26:-;-1:-1:-1;;;;;13734:18:26;;;;:38;;-1:-1:-1;;;;;;13756:16:26;;;13734:38;13730:120;;;13788:31;13802:4;13808:2;13812:6;13788:13;:31::i;13730:120::-;13860:27;:25;:27::i;:::-;13897:11;13911:15;:13;:15::i;:::-;13897:29;;;;13947:1;13941:3;:7;:32;;;;-1:-1:-1;;;;;;13952:21:26;;13968:4;13952:21;;13941:32;:55;;;;-1:-1:-1;;;;;;13977:19:26;;13991:4;13977:19;;13941:55;13937:358;;;14012:17;14049:3;14033:12;14042:3;14033:6;:12;:::i;:::-;14032:20;;;;:::i;:::-;14012:40;-1:-1:-1;14066:22:26;14091:18;14012:40;14091:6;:18;:::i;:::-;14066:43;;14124:45;14138:4;14144:13;14159:9;14124:13;:45::i;:::-;14183:39;14197:4;14203:2;14207:14;14183:13;:39::i;:::-;13998:235;;13937:358;;;14253:31;14267:4;14273:2;14277:6;14253:13;:31::i;8370:720:11:-;8450:18;8478:19;8616:4;8613:1;8606:4;8600:11;8593:4;8587;8583:15;8580:1;8573:5;8566;8561:60;8673:7;8663:176;;8717:4;8711:11;8762:16;8759:1;8754:3;8739:40;8808:16;8803:3;8796:29;8663:176;-1:-1:-1;;8916:1:11;8910:8;8866:16;;-1:-1:-1;8942:15:11;;:68;;8994:11;9009:1;8994:16;;8942:68;;;-1:-1:-1;;;;;8960:26:11;;;:31;8942:68;8938:146;;;9033:40;;-1:-1:-1;;;9033:40:11;;-1:-1:-1;;;;;3539:32:27;;9033:40:11;;;3521:51:27;3494:18;;9033:40:11;3375:203:27;3368:267:16;3462:13;1390:66;3491:46;;3487:142;;3560:15;3569:5;3560:8;:15::i;:::-;3553:22;;;;3487:142;3613:5;3606:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5203:1551:19;5329:17;;;6283:66;6270:79;;6266:164;;;-1:-1:-1;6381:1:19;;-1:-1:-1;6385:30:19;;-1:-1:-1;6417:1:19;6365:54;;6266:164;6541:24;;;6524:14;6541:24;;;;;;;;;17128:25:27;;;17201:4;17189:17;;17169:18;;;17162:45;;;;17223:18;;;17216:34;;;17266:18;;;17259:34;;;6541:24:19;;17100:19:27;;6541:24:19;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6541:24:19;;-1:-1:-1;;6541:24:19;;;-1:-1:-1;;;;;;;6579:20:19;;6575:113;;-1:-1:-1;6631:1:19;;-1:-1:-1;6635:29:19;;-1:-1:-1;6631:1:19;;-1:-1:-1;6615:62:19;;6575:113;6706:6;-1:-1:-1;6714:20:19;;-1:-1:-1;6714:20:19;;-1:-1:-1;5203:1551:19;;;;;;;;;:::o;7280:532::-;7375:20;7366:5;:29;;;;;;;;:::i;:::-;;7362:444;;7280:532;;:::o;7362:444::-;7471:29;7462:5;:38;;;;;;;;:::i;:::-;;7458:348;;7523:23;;-1:-1:-1;;;7523:23:19;;;;;;;;;;;7458:348;7576:35;7567:5;:44;;;;;;;;:::i;:::-;;7563:243;;7634:46;;-1:-1:-1;;;7634:46:19;;;;;2162:25:27;;;2135:18;;7634:46:19;2016:177:27;7563:243:19;7710:30;7701:5;:39;;;;;;;;:::i;:::-;;7697:109;;7763:32;;-1:-1:-1;;;7763:32:19;;;;;2162:25:27;;;2135:18;;7763:32:19;2016:177:27;6008:1107:6;-1:-1:-1;;;;;6097:18:6;;6093:540;;6249:5;6233:12;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;6093:540:6;;-1:-1:-1;6093:540:6;;-1:-1:-1;;;;;6307:15:6;;6285:19;6307:15;;;;;;;;;;;6340:19;;;6336:115;;;6386:50;;-1:-1:-1;;;6386:50:6;;-1:-1:-1;;;;;16277:32:27;;6386:50:6;;;16259:51:27;16326:18;;;16319:34;;;16369:18;;;16362:34;;;16232:18;;6386:50:6;16057:345:27;6336:115:6;-1:-1:-1;;;;;6571:15:6;;:9;:15;;;;;;;;;;6589:19;;;;6571:37;;6093:540;-1:-1:-1;;;;;6647:16:6;;6643:425;;6810:12;:21;;;;;;;6643:425;;;-1:-1:-1;;;;;7021:13:6;;:9;:13;;;;;;;;;;:22;;;;;;6643:425;7098:2;-1:-1:-1;;;;;7083:25:6;7092:4;-1:-1:-1;;;;;7083:25:6;;7102:5;7083:25;;;;2162::27;;2150:2;2135:18;;2016:177;7083:25:6;;;;;;;;6008:1107;;;:::o;16464:208:26:-;16524:21;;-1:-1:-1;;;16524:21:26;;;;16523:22;:46;;;;;16549:15;:13;:15::i;:::-;:20;;;16523:46;16519:147;;;16585:21;:28;;-1:-1:-1;;;;16585:28:26;-1:-1:-1;;;16585:28:26;;;16632:23;;;;16585:28;;16632:23;16464:208::o;2078:378:16:-;2137:13;2162:11;2176:16;2187:4;2176:10;:16::i;:::-;2300:14;;;2311:2;2300:14;;;;;;;;;2162:30;;-1:-1:-1;2280:17:16;;2300:14;;;;;;;;;-1:-1:-1;;;2363:16:16;;;-1:-1:-1;2408:4:16;2399:14;;2392:28;;;;-1:-1:-1;2363:16:16;2078:378::o;2528:245::-;2589:7;2661:4;2625:40;;2688:2;2679:11;;2675:69;;;2713:20;;-1:-1:-1;;;2713:20:16;;;;;;;;;;;715:423:27;757:3;795:5;789:12;822:6;817:3;810:19;847:1;857:162;871:6;868:1;865:13;857:162;;;933:4;989:13;;;985:22;;979:29;961:11;;;957:20;;950:59;886:12;857:162;;;861:3;1064:1;1057:4;1048:6;1043:3;1039:16;1035:27;1028:38;1127:4;1120:2;1116:7;1111:2;1103:6;1099:15;1095:29;1090:3;1086:39;1082:50;1075:57;;;715:423;;;;:::o;1143:220::-;1292:2;1281:9;1274:21;1255:4;1312:45;1353:2;1342:9;1338:18;1330:6;1312:45;:::i;1368:131::-;-1:-1:-1;;;;;1443:31:27;;1433:42;;1423:70;;1489:1;1486;1479:12;1504:315;1572:6;1580;1633:2;1621:9;1612:7;1608:23;1604:32;1601:52;;;1649:1;1646;1639:12;1601:52;1688:9;1675:23;1707:31;1732:5;1707:31;:::i;:::-;1757:5;1809:2;1794:18;;;;1781:32;;-1:-1:-1;;;1504:315:27:o;2198:456::-;2275:6;2283;2291;2344:2;2332:9;2323:7;2319:23;2315:32;2312:52;;;2360:1;2357;2350:12;2312:52;2399:9;2386:23;2418:31;2443:5;2418:31;:::i;:::-;2468:5;-1:-1:-1;2525:2:27;2510:18;;2497:32;2538:33;2497:32;2538:33;:::i;:::-;2198:456;;2590:7;;-1:-1:-1;;;2644:2:27;2629:18;;;;2616:32;;2198:456::o;3030:340::-;3097:6;3105;3158:2;3146:9;3137:7;3133:23;3129:32;3126:52;;;3174:1;3171;3164:12;3126:52;3210:9;3197:23;3187:33;;3270:2;3259:9;3255:18;3242:32;3314:6;3307:5;3303:18;3296:5;3293:29;3283:57;;3336:1;3333;3326:12;3283:57;3359:5;3349:15;;;3030:340;;;;;:::o;3583:247::-;3642:6;3695:2;3683:9;3674:7;3670:23;3666:32;3663:52;;;3711:1;3708;3701:12;3663:52;3750:9;3737:23;3769:31;3794:5;3769:31;:::i;:::-;3819:5;3583:247;-1:-1:-1;;;3583:247:27:o;3835:1259::-;4241:3;4236;4232:13;4224:6;4220:26;4209:9;4202:45;4183:4;4266:2;4304:3;4299:2;4288:9;4284:18;4277:31;4331:46;4372:3;4361:9;4357:19;4349:6;4331:46;:::i;:::-;4425:9;4417:6;4413:22;4408:2;4397:9;4393:18;4386:50;4459:33;4485:6;4477;4459:33;:::i;:::-;4523:2;4508:18;;4501:34;;;-1:-1:-1;;;;;4572:32:27;;4566:3;4551:19;;4544:61;4592:3;4621:19;;4614:35;;;4686:22;;;4680:3;4665:19;;4658:51;4758:13;;4780:22;;;4830:2;4856:15;;;;-1:-1:-1;4818:15:27;;;;-1:-1:-1;4899:169:27;4913:6;4910:1;4907:13;4899:169;;;4974:13;;4962:26;;5043:15;;;;5008:12;;;;4935:1;4928:9;4899:169;;;-1:-1:-1;5085:3:27;;3835:1259;-1:-1:-1;;;;;;;;;;;;3835:1259:27:o;5099:829::-;5210:6;5218;5226;5234;5242;5250;5258;5311:3;5299:9;5290:7;5286:23;5282:33;5279:53;;;5328:1;5325;5318:12;5279:53;5367:9;5354:23;5386:31;5411:5;5386:31;:::i;:::-;5436:5;-1:-1:-1;5493:2:27;5478:18;;5465:32;5506:33;5465:32;5506:33;:::i;:::-;5558:7;-1:-1:-1;5612:2:27;5597:18;;5584:32;;-1:-1:-1;5663:2:27;5648:18;;5635:32;;-1:-1:-1;5719:3:27;5704:19;;5691:33;5768:4;5755:18;;5743:31;;5733:59;;5788:1;5785;5778:12;5733:59;5099:829;;;;-1:-1:-1;5099:829:27;;;;5811:7;5865:3;5850:19;;5837:33;;-1:-1:-1;5917:3:27;5902:19;;;5889:33;;5099:829;-1:-1:-1;;5099:829:27:o;5933:388::-;6001:6;6009;6062:2;6050:9;6041:7;6037:23;6033:32;6030:52;;;6078:1;6075;6068:12;6030:52;6117:9;6104:23;6136:31;6161:5;6136:31;:::i;:::-;6186:5;-1:-1:-1;6243:2:27;6228:18;;6215:32;6256:33;6215:32;6256:33;:::i;6326:380::-;6405:1;6401:12;;;;6448;;;6469:61;;6523:4;6515:6;6511:17;6501:27;;6469:61;6576:2;6568:6;6565:14;6545:18;6542:38;6539:161;;6622:10;6617:3;6613:20;6610:1;6603:31;6657:4;6654:1;6647:15;6685:4;6682:1;6675:15;6539:161;;6326:380;;;:::o;7063:127::-;7124:10;7119:3;7115:20;7112:1;7105:31;7155:4;7152:1;7145:15;7179:4;7176:1;7169:15;7195:125;7260:9;;;7281:10;;;7278:36;;;7294:18;;:::i;9433:171::-;9501:6;9540:10;;;9528;;;9524:27;;9563:12;;;9560:38;;;9578:18;;:::i;:::-;9560:38;9433:171;;;;:::o;9609:168::-;9682:9;;;9713;;9730:15;;;9724:22;;9710:37;9700:71;;9751:18;;:::i;9782:217::-;9822:1;9848;9838:132;;9892:10;9887:3;9883:20;9880:1;9873:31;9927:4;9924:1;9917:15;9955:4;9952:1;9945:15;9838:132;-1:-1:-1;9984:9:27;;9782:217::o;10394:251::-;10464:6;10517:2;10505:9;10496:7;10492:23;10488:32;10485:52;;;10533:1;10530;10523:12;10485:52;10565:9;10559:16;10584:31;10609:5;10584:31;:::i;11279:277::-;11346:6;11399:2;11387:9;11378:7;11374:23;11370:32;11367:52;;;11415:1;11412;11405:12;11367:52;11447:9;11441:16;11500:5;11493:13;11486:21;11479:5;11476:32;11466:60;;11522:1;11519;11512:12;12392:306;12480:6;12488;12496;12549:2;12537:9;12528:7;12524:23;12520:32;12517:52;;;12565:1;12562;12555:12;12517:52;12594:9;12588:16;12578:26;;12644:2;12633:9;12629:18;12623:25;12613:35;;12688:2;12677:9;12673:18;12667:25;12657:35;;12392:306;;;;;:::o;13049:184::-;13119:6;13172:2;13160:9;13151:7;13147:23;13143:32;13140:52;;;13188:1;13185;13178:12;13140:52;-1:-1:-1;13211:16:27;;13049:184;-1:-1:-1;13049:184:27:o;14410:245::-;14489:6;14497;14550:2;14538:9;14529:7;14525:23;14521:32;14518:52;;;14566:1;14563;14556:12;14518:52;-1:-1:-1;;14589:16:27;;14645:2;14630:18;;;14624:25;14589:16;;14624:25;;-1:-1:-1;14410:245:27:o;14660:128::-;14727:9;;;14748:11;;;14745:37;;;14762:18;;:::i;17304:127::-;17365:10;17360:3;17356:20;17353:1;17346:31;17396:4;17393:1;17386:15;17420:4;17417:1;17410:15","linkReferences":{},"cborAuxdata":{"1":{"value":"0xa2646970667358221220e8df4d55ae5ab7b020d2bcb05e3bb7ebef53f233e1684d93d7277ac3201c69a864736f6c63430008170033","offset":8948}},"immutableReferences":{"4003":[{"start":5713,"length":32}],"4005":[{"start":5671,"length":32}],"4007":[{"start":5629,"length":32}],"4009":[{"start":5794,"length":32}],"4011":[{"start":5834,"length":32}],"4014":[{"start":6120,"length":32}],"4017":[{"start":6165,"length":32}],"8019":[{"start":328,"length":32},{"start":2189,"length":32},{"start":2390,"length":32},{"start":2662,"length":32},{"start":2839,"length":32},{"start":3002,"length":32},{"start":4129,"length":32},{"start":4263,"length":32}],"8022":[{"start":2123,"length":32},{"start":2792,"length":32},{"start":2962,"length":32}],"8025":[{"start":2238,"length":32},{"start":2436,"length":32}],"8031":[{"start":5027,"length":32},{"start":5243,"length":32},{"start":5300,"length":32}],"8034":[{"start":5154,"length":32}],"8037":[{"start":4948,"length":32},{"start":5067,"length":32}],"8043":[{"start":3495,"length":32},{"start":4297,"length":32},{"start":4376,"length":32},{"start":6743,"length":32}],"8046":[{"start":5201,"length":32}],"8049":[{"start":4981,"length":32},{"start":5100,"length":32}]},"transformations":[{"id":"4003","type":"replace","offset":5713,"reason":"immutable"},{"id":"4005","type":"replace","offset":5671,"reason":"immutable"},{"id":"4007","type":"replace","offset":5629,"reason":"immutable"},{"id":"4009","type":"replace","offset":5794,"reason":"immutable"},{"id":"4011","type":"replace","offset":5834,"reason":"immutable"},{"id":"4014","type":"replace","offset":6120,"reason":"immutable"},{"id":"4017","type":"replace","offset":6165,"reason":"immutable"},{"id":"8019","type":"replace","offset":328,"reason":"immutable"},{"id":"8019","type":"replace","offset":2189,"reason":"immutable"},{"id":"8019","type":"replace","offset":2390,"reason":"immutable"},{"id":"8019","type":"replace","offset":2662,"reason":"immutable"},{"id":"8019","type":"replace","offset":2839,"reason":"immutable"},{"id":"8019","type":"replace","offset":3002,"reason":"immutable"},{"id":"8019","type":"replace","offset":4129,"reason":"immutable"},{"id":"8019","type":"replace","offset":4263,"reason":"immutable"},{"id":"8022","type":"replace","offset":2123,"reason":"immutable"},{"id":"8022","type":"replace","offset":2792,"reason":"immutable"},{"id":"8022","type":"replace","offset":2962,"reason":"immutable"},{"id":"8025","type":"replace","offset":2238,"reason":"immutable"},{"id":"8025","type":"replace","offset":2436,"reason":"immutable"},{"id":"8031","type":"replace","offset":5027,"reason":"immutable"},{"id":"8031","type":"replace","offset":5243,"reason":"immutable"},{"id":"8031","type":"replace","offset":5300,"reason":"immutable"},{"id":"8034","type":"replace","offset":5154,"reason":"immutable"},{"id":"8037","type":"replace","offset":4948,"reason":"immutable"},{"id":"8037","type":"replace","offset":5067,"reason":"immutable"},{"id":"8043","type":"replace","offset":3495,"reason":"immutable"},{"id":"8043","type":"replace","offset":4297,"reason":"immutable"},{"id":"8043","type":"replace","offset":4376,"reason":"immutable"},{"id":"8043","type":"replace","offset":6743,"reason":"immutable"},{"id":"8046","type":"replace","offset":5201,"reason":"immutable"},{"id":"8049","type":"replace","offset":4981,"reason":"immutable"},{"id":"8049","type":"replace","offset":5100,"reason":"immutable"}],"transformationValues":{"immutables":{"4003":"0x33e7cd03e8fa54a575a041f328e5f4daf8ce7d4add1703ae9abdc6c55b2976cf","4005":"0x0000000000000000000000000000000000000000000000000000000000002105","4007":"0x000000000000000000000000c0634090f2fe6c6d75e61be2b949464abb498973","4009":"0x166e14228d7679b2f966c11cf44f522d5714baa46e1ebead68508e11a95d40dc","4011":"0xc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6","4014":"0x4b65657461000000000000000000000000000000000000000000000000000005","4017":"0x3100000000000000000000000000000000000000000000000000000000000001","8019":"0x0000000000000000000000004200000000000000000000000000000000000006","8022":"0x000000000000000000000000cf77a3ba9a5ca399b7c97c74d54e5b1beb874e43","8025":"0x000000000000000000000000420dd381b31aef6683db6b902084cb0ffece40da","8031":"0x0000000000000000000000000000000000000000000000000000000000000028","8034":"0x000000000000000000000000000000000000000000000000000000000000001e","8037":"0x000000000000000000000000000000000000000000000000000000000000000f","8043":"0x000000000000000000000000fba2454912df55984a1526ad5e11557c7984c77f","8046":"0x0000000000000000000000000000000000000000000000000000000000000008","8049":"0x00000000000000000000000000000000000000000000000000000000019f1def"}}},"deployment":{"transactionHash":"0xa435bab273467bb0416c871cc56b1974e6784d3cd3c3a97602bf4b9e72af0520","blockNumber":"27205103","transactionIndex":"95","deployer":"0xac971cC29fdDd0e86C86fbED11aE3e200E8Ed05b"},"sources":{"src/Contract.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.19;\n\nimport \"@openzeppelin/contracts/token/ERC20/ERC20.sol\";\nimport \"@openzeppelin/contracts/token/ERC20/extensions/ERC20Permit.sol\";\nimport \"@openzeppelin/contracts/access/Ownable.sol\";\nimport \"@openzeppelin/contracts/utils/ReentrancyGuard.sol\";\nimport \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\n\n/// @title WETH Interface\n/// @notice Interface for interacting with Wrapped Ether (WETH) contract on Base network\n/// @dev Minimal interface for WETH9 functionality required by this contract\ninterface IWETH {\n    /// @notice Deposit ETH to receive WETH\n    function deposit() external payable;\n    /// @notice Transfer WETH to another address\n    /// @param to Recipient address\n    /// @param value Amount of WETH to transfer\n    /// @return success Whether the transfer was successful\n    function transfer(address to, uint256 value) external returns (bool);\n    /// @notice Withdraw ETH from WETH\n    /// @param amount Amount of WETH to withdraw\n    function withdraw(uint256 amount) external;\n    /// @notice Approve spender to transfer WETH\n    /// @param spender Address to approve\n    /// @param amount Amount to approve\n    /// @return success Whether the approval was successful\n    function approve(address spender, uint256 amount) external returns (bool);\n}\n\n/// @title Aerodrome Router Interface\n/// @notice Interface for Aerodrome DEX router functionality on Base network\n/// @dev Minimal interface required for liquidity pool operations\ninterface IAerodrome {\n    /// @notice Add liquidity to an Aerodrome pool\n    /// @param tokenA First token in the pair\n    /// @param tokenB Second token in the pair\n    /// @param stable Whether the pool is stable or volatile\n    /// @param amountADesired Desired amount of tokenA\n    /// @param amountBDesired Desired amount of tokenB\n    /// @param amountAMin Minimum amount of tokenA (slippage protection)\n    /// @param amountBMin Minimum amount of tokenB (slippage protection)\n    /// @param to Address that will receive LP tokens\n    /// @param deadline Timestamp after which the transaction will revert\n    /// @return amountA Amount of tokenA actually added\n    /// @return amountB Amount of tokenB actually added\n    /// @return liquidity Amount of LP tokens minted\n    function addLiquidity(\n        address tokenA,\n        address tokenB,\n        bool stable,\n        uint256 amountADesired,\n        uint256 amountBDesired,\n        uint256 amountAMin,\n        uint256 amountBMin,\n        address to,\n        uint256 deadline\n    ) external returns (uint256 amountA, uint256 amountB, uint256 liquidity);\n\n    /// @notice Swaps an exact amount of tokens for another token through the path provided\n    /// @param amountIn The amount of input tokens to send\n    /// @param amountOutMin The minimum amount of output tokens to receive\n    /// @param routes The array of routes to use for the swap\n    /// @param to The address to receive the output tokens\n    /// @param deadline The timestamp after which the transaction will revert\n    /// @return amounts The amounts of tokens swapped at each hop\n    function swapExactTokensForTokens(\n        uint256 amountIn,\n        uint256 amountOutMin,\n        Route[] calldata routes,\n        address to,\n        uint256 deadline\n    ) external returns (uint256[] memory amounts);\n\n    /// @notice Swaps an exact amount of ETH for tokens\n    /// @param amountOutMin The minimum amount of output tokens to receive\n    /// @param routes The array of routes to use for the swap\n    /// @param to The address to receive the output tokens\n    /// @param deadline The timestamp after which the transaction will revert\n    /// @return amounts The amounts of tokens swapped at each hop\n    function swapExactETHForTokens(\n        uint256 amountOutMin,\n        Route[] calldata routes,\n        address to,\n        uint256 deadline\n    ) external payable returns (uint256[] memory amounts);\n\n    /// @notice Represents a single swap route\n    /// @param from The address of the input token\n    /// @param to The address of the output token\n    /// @param stable Whether to use the stable or volatile pool\n    /// @param factory The factory address for the pool\n    struct Route {\n        address from;\n        address to;\n        bool stable;\n        address factory;\n    }\n\n    /// @notice Swaps exact eth or tokens supporting fee on transfer\n    /// @param amountOutMin The minimum amount of output tokens to receive\n    /// @param routes The array of routes to use for the swap\n    /// @param to The address to receive the output tokens\n    /// @param deadline The timestamp after which the transaction will revert\n    /// @return amounts The amounts of tokens swapped at each hop\n    function swapExactETHForTokensSupportingFeeOnTransfer(\n        uint256 amountOutMin,\n        Route[] calldata routes,\n        address to,\n        uint256 deadline\n    ) external payable returns (uint256[] memory amounts);\n}\n\n/// @title Aerodrome Factory Interface\n/// @notice Interface for creating and managing Aerodrome liquidity pools on Base network\n/// @dev Minimal interface required for pool creation and querying\ninterface IAerodromeFactory {\n    /// @notice Create a new liquidity pool\n    /// @param tokenA First token in the pair\n    /// @param tokenB Second token in the pair\n    /// @param stable Whether to create a stable or volatile pool\n    /// @return pair Address of the created pool\n    function createPool(address tokenA, address tokenB, bool stable) external returns (address pair);\n    /// @notice Get the address of an existing pool\n    /// @param tokenA First token in the pair\n    /// @param tokenB Second token in the pair\n    /// @param stable Whether the pool is stable or volatile\n    /// @return pool Address of the pool (zero address if it doesn't exist)\n    function getPool(address tokenA, address tokenB, bool stable) external view returns (address);\n}\n\n/// @title Dynamic Tax Token with Liquidity Management\n/// @notice Implementation of an ERC20 token with dynamic tax reduction and automated liquidity pool management\n/// @dev Token implements a tax system that reduces over time and includes liquidity pool creation/management features.\n/// The tax starts at an initial rate and reduces by a fixed percentage after an initial period.\n/// Tax reduction occurs in steps: after the initial period 2minutes at 2 seconds per block, \n/// tax reduces by 1% every 30sec at 2 seconds per block until it reaches 0%.\ncontract Contract is ERC20, ERC20Permit, Ownable, ReentrancyGuard {\n    using SafeERC20 for IERC20;\n\n    // Token metadata\n    string private _name;\n    string private _symbol;\n    uint8 private _decimals;\n    uint256 private _totalSupply;\n\n    // Protocol addresses\n    /// @dev Address of the WETH contract on Base network\n    address private immutable _WETH;\n    /// @dev Address of the Aerodrome router contract\n    address private immutable _ROUTER;\n    /// @dev Address of the Aerodrome factory contract\n    address private immutable _AERODROME_FACTORY;\n    /// @dev Address of the token's liquidity pool (zero if not created)\n    address public liquidityPool;\n\n    // Tax parameters\n    /// @dev Initial tax percentage (1-100)\n    uint8 private immutable _initialTax;\n    /// @dev Number of blocks between tax reductions\n    uint256 private immutable _taxReductionInterval;\n    /// @dev Number of blocks before tax reduction begins\n    uint256 private immutable _initialTaxDuration;\n    /// @dev Whether tax reduction has completed\n    bool private _taxReductionComplete;\n    /// @dev Address that receives tax payments\n    address private immutable _taxRecipient;\n    /// @dev Percentage points to reduce tax by each interval\n    uint8 private immutable _taxReductionRate;\n    /// @dev Block number when contract was deployed\n    uint256 private immutable _deploymentBlock;\n\n    // Custom events\n    /// @notice Emitted when tax reduction reaches zero\n    event TaxReductionCompleted();\n    /// @notice Emitted when LP tokens are burned\n    /// @param amount The amount of LP tokens burned\n    event LPTokensBurned(uint256 amount);\n\n    /// @notice Struct containing all parameters needed for contract initialization\n    /// @dev Used to avoid stack too deep errors in constructor\n    struct InitParams {\n        /// @notice Token name\n        string name;\n        /// @notice Token symbol\n        string symbol;\n        /// @notice Token decimals (typically 18)\n        uint8 decimals;\n        /// @notice Total supply of tokens\n        uint256 totalSupply;\n        /// @notice Initial tax percentage (1-100)\n        uint8 initialTax;\n        /// @notice Number of blocks between tax reductions\n        uint256 taxReductionInterval;\n        /// @notice Number of blocks before tax reduction begins\n        uint256 initialTaxDuration;\n        /// @notice Percentage points to reduce tax by each interval\n        uint8 taxReductionRate;\n        /// @notice Address that receives tax payments\n        address taxRecipient;\n        /// @notice WETH contract address\n        address weth;\n        /// @notice Aerodrome router address\n        address router;\n        /// @notice Aerodrome factory address\n        address factory;\n        /// @notice Initial owner of the contract\n        address owner;\n    }\n\n    /// @notice Initializes the contract with the specified parameters\n    /// @param params Struct containing all initialization parameters\n    /// @dev All tokens are initially minted to the contract itself\n    constructor(InitParams memory params) \n        ERC20(params.name, params.symbol) \n        ERC20Permit(params.name)\n        Ownable(params.owner) \n    {\n        require(params.initialTax <= 100, \"Tax cannot exceed 100%\");\n        require(params.taxRecipient != address(0), \"Tax recipient cannot be zero address\");\n        require(params.weth != address(0), \"WETH cannot be zero address\");\n        require(params.router != address(0), \"Router cannot be zero address\");\n        require(params.factory != address(0), \"Factory cannot be zero address\");\n        require(params.owner != address(0), \"Owner cannot be zero address\");\n\n        _initialTax = params.initialTax;\n        _taxReductionInterval = params.taxReductionInterval;\n        _initialTaxDuration = params.initialTaxDuration;\n        _taxReductionRate = params.taxReductionRate;\n        _taxRecipient = params.taxRecipient;\n        _deploymentBlock = block.number;\n\n        _WETH = params.weth;\n        _ROUTER = params.router;\n        _AERODROME_FACTORY = params.factory;\n\n        _mint(address(this), params.totalSupply);\n    }\n\n    /// @notice Creates a liquidity pool for the token with WETH pair, adds initial liquidity, sends all LP tokens to the tax recipient\n    /// @dev Creates a volatile pool on Aerodrome\n    /// @param ethAmount Amount of ETH to add as initial liquidity\n    /// @param maxSlippage Maximum allowed slippage in basis points (1 = 0.01%, max 1000 = 10%)\n    function createLiquidityPool(uint256 ethAmount, uint16 maxSlippage) external payable nonReentrant {\n        // Checks\n        require(msg.value == ethAmount, \"Incorrect ETH amount\");\n        require(liquidityPool == address(0), \"Liquidity pool already created\");\n        require(ethAmount > 0, \"ETH amount must be > 0\");\n        require(maxSlippage > 0 && maxSlippage <= 1000, \"Invalid slippage (1-1000)\");\n\n        // Use all available tokens\n        uint256 tokenAmount = balanceOf(address(this));\n        require(tokenAmount > 0, \"No tokens available\");\n\n        // Calculate minimum amounts based on slippage tolerance\n        uint256 minTokenAmount = tokenAmount * (10000 - maxSlippage) / 10000;\n        uint256 minEthAmount = ethAmount * (10000 - maxSlippage) / 10000;\n\n        // Effects - Pre-approve tokens before any external calls\n        _approve(address(this), _ROUTER, tokenAmount);\n\n        // Interactions - External calls after state changes\n        // Check if pool exists\n        address poolAddress = IAerodromeFactory(_AERODROME_FACTORY).getPool(address(this), _WETH, false);\n        if (poolAddress == address(0)) {\n            poolAddress = IAerodromeFactory(_AERODROME_FACTORY).createPool(address(this), _WETH, false);\n            require(poolAddress != address(0), \"Failed to create pool\");\n        }\n\n        // Update state\n        liquidityPool = poolAddress;\n\n        // Wrap ETH and approve WETH\n        IWETH(_WETH).deposit{ value: ethAmount }();\n        IWETH(_WETH).approve(_ROUTER, ethAmount);\n\n        // Add liquidity with slippage protection\n        (uint256 amountTokenUsed, uint256 amountETHUsed,) = IAerodrome(_ROUTER).addLiquidity(\n            address(this),\n            _WETH,\n            false, // not stable\n            tokenAmount,\n            ethAmount,\n            minTokenAmount,\n            minEthAmount,\n            address(this),\n            block.timestamp + 1 hours\n        );\n\n        require(amountTokenUsed >= minTokenAmount && amountETHUsed >= minEthAmount, \"Slippage exceeded\");\n\n        // Send all LP tokens to the tax recipient\n        uint256 lpBalance = IERC20(liquidityPool).balanceOf(address(this));\n        require(lpBalance > 0, \"No LP tokens to send\");\n        IERC20(liquidityPool).safeTransfer(_taxRecipient, lpBalance);\n        emit LPTokensBurned(lpBalance);\n\n    }\n\n    /// @notice Implementation of tax on transfers\n    /// @dev Calculates and applies tax on transfers when applicable\n    /// @dev No tax on mints, burns, or transfers involving the contract itself\n    /// @param from The sender address\n    /// @param to The recipient address\n    /// @param amount The amount being transferred\n    function _update(address from, address to, uint256 amount) internal virtual override {\n        if (from == address(0) || to == address(0)) {\n            super._update(from, to, amount);\n            return;\n        }\n\n        _updateTaxReductionStatus();\n        uint256 tax = getCurrentTax();\n\n        if (tax > 0 && from != address(this) && to != address(this)) {\n            uint256 taxAmount = (amount * tax) / 100;\n            uint256 transferAmount = amount - taxAmount;\n\n            super._update(from, _taxRecipient, taxAmount);\n            super._update(from, to, transferAmount);\n        } else {\n            super._update(from, to, amount);\n        }\n    }\n\n    /// @notice Safely approves spender to spend tokens on behalf of msg.sender\n    /// @dev Requires previous allowance to be 0 or new allowance to be 0 for safety\n    /// @param spender Address authorized to spend tokens\n    /// @param amount Amount of tokens approved to spend\n    /// @return success Whether the approval was successful\n    function approve(address spender, uint256 amount) public override returns (bool) {\n        require(amount == 0 || allowance(msg.sender, spender) == 0, \"Unsafe allowance change\");\n        return super.approve(spender, amount);\n    }\n\n    /// @notice Safely increases the allowance granted to spender by the caller\n    /// @dev Checks for allowance overflow\n    /// @param spender Address authorized to spend tokens\n    /// @param addedValue Amount to increase the allowance by\n    /// @return success Whether the allowance was increased\n    function increaseAllowance(address spender, uint256 addedValue) public returns (bool) {\n        uint256 currentAllowance = allowance(msg.sender, spender);\n        uint256 newAllowance = currentAllowance + addedValue;\n        require(newAllowance >= currentAllowance, \"Allowance overflow\");\n        _approve(msg.sender, spender, newAllowance);\n        return true;\n    }\n\n    /// @notice Safely decreases the allowance granted to spender by the caller\n    /// @dev Checks that decrease doesn't go below zero\n    /// @param spender Address authorized to spend tokens\n    /// @param subtractedValue Amount to decrease the allowance by\n    /// @return success Whether the allowance was decreased\n    function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) {\n        uint256 currentAllowance = allowance(msg.sender, spender);\n        require(subtractedValue <= currentAllowance, \"Decreased allowance below zero\");\n        _approve(msg.sender, spender, currentAllowance - subtractedValue);\n        return true;\n    }\n\n    /// @notice Updates the tax reduction status based on current block number\n    /// @dev Sets _taxReductionComplete to true if tax has been fully reduced\n    /// @dev Emits TaxReductionCompleted event when tax reaches zero\n    function _updateTaxReductionStatus() private {\n        if (!_taxReductionComplete && getCurrentTax() == 0) {\n            _taxReductionComplete = true;\n            emit TaxReductionCompleted();\n        }\n    }\n\n    /// @notice Gets the current tax rate based on block number\n    /// @dev Tax remains at initial rate during initial period, then reduces by taxReductionRate every interval\n    /// @return Current tax rate as a percentage (0-100)\n    function getCurrentTax() public view returns (uint8) {\n        if (_taxReductionComplete) {\n            return 0;\n        }\n\n        // During initial period, return initial tax\n        if (block.number < _deploymentBlock + _initialTaxDuration) {\n            return _initialTax;\n        }\n\n        // Calculate blocks since initial period ended\n        uint256 blocksSinceInitialDuration = block.number - (_deploymentBlock + _initialTaxDuration);\n        \n        // Calculate number of reductions that have occurred\n        uint256 reductions = blocksSinceInitialDuration / _taxReductionInterval;\n        \n        // Calculate current tax rate\n        uint256 taxReduction = reductions * _taxReductionRate;\n        if (taxReduction >= _initialTax) {\n            return 0;\n        }\n        \n        return uint8(_initialTax - taxReduction);\n    }\n\n    /// @notice Renounces ownership of the contract\n    /// @dev Sets owner to address(0), making owner-only functions inaccessible\n    /// @dev This action is irreversible\n    function renounceOwnership() public override onlyOwner {\n        super.renounceOwnership();\n    }\n\n    /// @notice Handles incoming ETH transfers\n    /// @dev Only accepts ETH from WETH contract\n    receive() external payable {\n        require(msg.sender == _WETH, \"Only accept ETH from WETH\");\n    }\n\n    /// @notice Fallback function to reject unexpected calls\n    /// @dev Reverts all unexpected function calls\n    fallback() external payable {\n        revert(\"Function not found\");\n    }\n\n    /// @notice Claims accumulated fees from the liquidity pool\n    /// @dev Only callable by owner, sends claimed fees to tax recipient\n    function claimPoolFees() external onlyOwner nonReentrant {\n        require(liquidityPool != address(0), \"Pool not created\");\n        \n        // Get LP token balance\n        uint256 lpBalance = IERC20(liquidityPool).balanceOf(address(this));\n        require(lpBalance > 0, \"No LP tokens held\");\n\n        // Interface for the pool\n        IAerodromePool pool = IAerodromePool(liquidityPool);\n        \n        // Claim fees\n        pool.claimFees();\n\n        // Transfer any WETH received to tax recipient\n        uint256 wethBalance = IERC20(_WETH).balanceOf(address(this));\n        if (wethBalance > 0) {\n            IERC20(_WETH).safeTransfer(_taxRecipient, wethBalance);\n        }\n\n        // Transfer any tokens received to tax recipient\n        uint256 tokenBalance = balanceOf(address(this));\n        if (tokenBalance > lpBalance) {\n            uint256 excessTokens = tokenBalance - lpBalance;\n            _transfer(address(this), _taxRecipient, excessTokens);\n        }\n    }\n}\n\n/// @title Aerodrome Pool Interface\n/// @notice Minimal interface for Aerodrome pool fee claiming\ninterface IAerodromePool {\n    /// @notice Claims accumulated fees from the pool\n    function claimFees() external returns (uint256, uint256);\n    /// @notice Returns the token0 address\n    function token0() external view returns (address);\n    /// @notice Returns the token1 address\n    function token1() external view returns (address);\n    /// @notice Returns the reserves of the pool\n    function getReserves() external view returns (uint256, uint256, uint256);\n    /// @notice Returns the stability of the pool\n    function stable() external view returns (bool);\n    /// @notice Returns the address of the factory\n}\n"},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.2.0) (token/ERC20/ERC20.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"./IERC20.sol\";\nimport {IERC20Metadata} from \"./extensions/IERC20Metadata.sol\";\nimport {Context} from \"../../utils/Context.sol\";\nimport {IERC20Errors} from \"../../interfaces/draft-IERC6093.sol\";\n\n/**\n * @dev Implementation of the {IERC20} interface.\n *\n * This implementation is agnostic to the way tokens are created. This means\n * that a supply mechanism has to be added in a derived contract using {_mint}.\n *\n * TIP: For a detailed writeup see our guide\n * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How\n * to implement supply mechanisms].\n *\n * The default value of {decimals} is 18. To change this, you should override\n * this function so it returns a different value.\n *\n * We have followed general OpenZeppelin Contracts guidelines: functions revert\n * instead returning `false` on failure. This behavior is nonetheless\n * conventional and does not conflict with the expectations of ERC-20\n * applications.\n */\nabstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {\n    mapping(address account => uint256) private _balances;\n\n    mapping(address account => mapping(address spender => uint256)) private _allowances;\n\n    uint256 private _totalSupply;\n\n    string private _name;\n    string private _symbol;\n\n    /**\n     * @dev Sets the values for {name} and {symbol}.\n     *\n     * All two of these values are immutable: they can only be set once during\n     * construction.\n     */\n    constructor(string memory name_, string memory symbol_) {\n        _name = name_;\n        _symbol = symbol_;\n    }\n\n    /**\n     * @dev Returns the name of the token.\n     */\n    function name() public view virtual returns (string memory) {\n        return _name;\n    }\n\n    /**\n     * @dev Returns the symbol of the token, usually a shorter version of the\n     * name.\n     */\n    function symbol() public view virtual returns (string memory) {\n        return _symbol;\n    }\n\n    /**\n     * @dev Returns the number of decimals used to get its user representation.\n     * For example, if `decimals` equals `2`, a balance of `505` tokens should\n     * be displayed to a user as `5.05` (`505 / 10 ** 2`).\n     *\n     * Tokens usually opt for a value of 18, imitating the relationship between\n     * Ether and Wei. This is the default value returned by this function, unless\n     * it's overridden.\n     *\n     * NOTE: This information is only used for _display_ purposes: it in\n     * no way affects any of the arithmetic of the contract, including\n     * {IERC20-balanceOf} and {IERC20-transfer}.\n     */\n    function decimals() public view virtual returns (uint8) {\n        return 18;\n    }\n\n    /**\n     * @dev See {IERC20-totalSupply}.\n     */\n    function totalSupply() public view virtual returns (uint256) {\n        return _totalSupply;\n    }\n\n    /**\n     * @dev See {IERC20-balanceOf}.\n     */\n    function balanceOf(address account) public view virtual returns (uint256) {\n        return _balances[account];\n    }\n\n    /**\n     * @dev See {IERC20-transfer}.\n     *\n     * Requirements:\n     *\n     * - `to` cannot be the zero address.\n     * - the caller must have a balance of at least `value`.\n     */\n    function transfer(address to, uint256 value) public virtual returns (bool) {\n        address owner = _msgSender();\n        _transfer(owner, to, value);\n        return true;\n    }\n\n    /**\n     * @dev See {IERC20-allowance}.\n     */\n    function allowance(address owner, address spender) public view virtual returns (uint256) {\n        return _allowances[owner][spender];\n    }\n\n    /**\n     * @dev See {IERC20-approve}.\n     *\n     * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on\n     * `transferFrom`. This is semantically equivalent to an infinite approval.\n     *\n     * Requirements:\n     *\n     * - `spender` cannot be the zero address.\n     */\n    function approve(address spender, uint256 value) public virtual returns (bool) {\n        address owner = _msgSender();\n        _approve(owner, spender, value);\n        return true;\n    }\n\n    /**\n     * @dev See {IERC20-transferFrom}.\n     *\n     * Skips emitting an {Approval} event indicating an allowance update. This is not\n     * required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve].\n     *\n     * NOTE: Does not update the allowance if the current allowance\n     * is the maximum `uint256`.\n     *\n     * Requirements:\n     *\n     * - `from` and `to` cannot be the zero address.\n     * - `from` must have a balance of at least `value`.\n     * - the caller must have allowance for ``from``'s tokens of at least\n     * `value`.\n     */\n    function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {\n        address spender = _msgSender();\n        _spendAllowance(from, spender, value);\n        _transfer(from, to, value);\n        return true;\n    }\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to`.\n     *\n     * This internal function is equivalent to {transfer}, and can be used to\n     * e.g. implement automatic token fees, slashing mechanisms, etc.\n     *\n     * Emits a {Transfer} event.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead.\n     */\n    function _transfer(address from, address to, uint256 value) internal {\n        if (from == address(0)) {\n            revert ERC20InvalidSender(address(0));\n        }\n        if (to == address(0)) {\n            revert ERC20InvalidReceiver(address(0));\n        }\n        _update(from, to, value);\n    }\n\n    /**\n     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`\n     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding\n     * this function.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _update(address from, address to, uint256 value) internal virtual {\n        if (from == address(0)) {\n            // Overflow check required: The rest of the code assumes that totalSupply never overflows\n            _totalSupply += value;\n        } else {\n            uint256 fromBalance = _balances[from];\n            if (fromBalance < value) {\n                revert ERC20InsufficientBalance(from, fromBalance, value);\n            }\n            unchecked {\n                // Overflow not possible: value <= fromBalance <= totalSupply.\n                _balances[from] = fromBalance - value;\n            }\n        }\n\n        if (to == address(0)) {\n            unchecked {\n                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.\n                _totalSupply -= value;\n            }\n        } else {\n            unchecked {\n                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.\n                _balances[to] += value;\n            }\n        }\n\n        emit Transfer(from, to, value);\n    }\n\n    /**\n     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).\n     * Relies on the `_update` mechanism\n     *\n     * Emits a {Transfer} event with `from` set to the zero address.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead.\n     */\n    function _mint(address account, uint256 value) internal {\n        if (account == address(0)) {\n            revert ERC20InvalidReceiver(address(0));\n        }\n        _update(address(0), account, value);\n    }\n\n    /**\n     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.\n     * Relies on the `_update` mechanism.\n     *\n     * Emits a {Transfer} event with `to` set to the zero address.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead\n     */\n    function _burn(address account, uint256 value) internal {\n        if (account == address(0)) {\n            revert ERC20InvalidSender(address(0));\n        }\n        _update(account, address(0), value);\n    }\n\n    /**\n     * @dev Sets `value` as the allowance of `spender` over the `owner` s tokens.\n     *\n     * This internal function is equivalent to `approve`, and can be used to\n     * e.g. set automatic allowances for certain subsystems, etc.\n     *\n     * Emits an {Approval} event.\n     *\n     * Requirements:\n     *\n     * - `owner` cannot be the zero address.\n     * - `spender` cannot be the zero address.\n     *\n     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.\n     */\n    function _approve(address owner, address spender, uint256 value) internal {\n        _approve(owner, spender, value, true);\n    }\n\n    /**\n     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.\n     *\n     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by\n     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any\n     * `Approval` event during `transferFrom` operations.\n     *\n     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to\n     * true using the following override:\n     *\n     * ```solidity\n     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {\n     *     super._approve(owner, spender, value, true);\n     * }\n     * ```\n     *\n     * Requirements are the same as {_approve}.\n     */\n    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {\n        if (owner == address(0)) {\n            revert ERC20InvalidApprover(address(0));\n        }\n        if (spender == address(0)) {\n            revert ERC20InvalidSpender(address(0));\n        }\n        _allowances[owner][spender] = value;\n        if (emitEvent) {\n            emit Approval(owner, spender, value);\n        }\n    }\n\n    /**\n     * @dev Updates `owner` s allowance for `spender` based on spent `value`.\n     *\n     * Does not update the allowance value in case of infinite allowance.\n     * Revert if not enough allowance is available.\n     *\n     * Does not emit an {Approval} event.\n     */\n    function _spendAllowance(address owner, address spender, uint256 value) internal virtual {\n        uint256 currentAllowance = allowance(owner, spender);\n        if (currentAllowance < type(uint256).max) {\n            if (currentAllowance < value) {\n                revert ERC20InsufficientAllowance(spender, currentAllowance, value);\n            }\n            unchecked {\n                _approve(owner, spender, currentAllowance - value, false);\n            }\n        }\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/ERC20Permit.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/ERC20Permit.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20Permit} from \"./IERC20Permit.sol\";\nimport {ERC20} from \"../ERC20.sol\";\nimport {ECDSA} from \"../../../utils/cryptography/ECDSA.sol\";\nimport {EIP712} from \"../../../utils/cryptography/EIP712.sol\";\nimport {Nonces} from \"../../../utils/Nonces.sol\";\n\n/**\n * @dev Implementation of the ERC-20 Permit extension allowing approvals to be made via signatures, as defined in\n * https://eips.ethereum.org/EIPS/eip-2612[ERC-2612].\n *\n * Adds the {permit} method, which can be used to change an account's ERC-20 allowance (see {IERC20-allowance}) by\n * presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't\n * need to send a transaction, and thus is not required to hold Ether at all.\n */\nabstract contract ERC20Permit is ERC20, IERC20Permit, EIP712, Nonces {\n    bytes32 private constant PERMIT_TYPEHASH =\n        keccak256(\"Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)\");\n\n    /**\n     * @dev Permit deadline has expired.\n     */\n    error ERC2612ExpiredSignature(uint256 deadline);\n\n    /**\n     * @dev Mismatched signature.\n     */\n    error ERC2612InvalidSigner(address signer, address owner);\n\n    /**\n     * @dev Initializes the {EIP712} domain separator using the `name` parameter, and setting `version` to `\"1\"`.\n     *\n     * It's a good idea to use the same `name` that is defined as the ERC-20 token name.\n     */\n    constructor(string memory name) EIP712(name, \"1\") {}\n\n    /**\n     * @inheritdoc IERC20Permit\n     */\n    function permit(\n        address owner,\n        address spender,\n        uint256 value,\n        uint256 deadline,\n        uint8 v,\n        bytes32 r,\n        bytes32 s\n    ) public virtual {\n        if (block.timestamp > deadline) {\n            revert ERC2612ExpiredSignature(deadline);\n        }\n\n        bytes32 structHash = keccak256(abi.encode(PERMIT_TYPEHASH, owner, spender, value, _useNonce(owner), deadline));\n\n        bytes32 hash = _hashTypedDataV4(structHash);\n\n        address signer = ECDSA.recover(hash, v, r, s);\n        if (signer != owner) {\n            revert ERC2612InvalidSigner(signer, owner);\n        }\n\n        _approve(owner, spender, value);\n    }\n\n    /**\n     * @inheritdoc IERC20Permit\n     */\n    function nonces(address owner) public view virtual override(IERC20Permit, Nonces) returns (uint256) {\n        return super.nonces(owner);\n    }\n\n    /**\n     * @inheritdoc IERC20Permit\n     */\n    // solhint-disable-next-line func-name-mixedcase\n    function DOMAIN_SEPARATOR() external view virtual returns (bytes32) {\n        return _domainSeparatorV4();\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/access/Ownable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)\n\npragma solidity ^0.8.20;\n\nimport {Context} from \"../utils/Context.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 Ownable is Context {\n    address private _owner;\n\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"},"lib/openzeppelin-contracts/contracts/utils/ReentrancyGuard.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/ReentrancyGuard.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Contract module that helps prevent reentrant calls to a function.\n *\n * Inheriting from `ReentrancyGuard` 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 EIP-1153 (transient storage) is available on the chain you're deploying at,\n * consider using {ReentrancyGuardTransient} instead.\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 ReentrancyGuard {\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\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    /**\n     * @dev Unauthorized reentrant call.\n     */\n    error ReentrancyGuardReentrantCall();\n\n    constructor() {\n        _status = NOT_ENTERED;\n    }\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"},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.2.0) (token/ERC20/utils/SafeERC20.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"../IERC20.sol\";\nimport {IERC1363} from \"../../../interfaces/IERC1363.sol\";\n\n/**\n * @title SafeERC20\n * @dev Wrappers around ERC-20 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 SafeERC20 for IERC20;` statement to your contract,\n * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.\n */\nlibrary SafeERC20 {\n    /**\n     * @dev An operation with an ERC-20 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(IERC20 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(IERC20 token, address from, address to, uint256 value) internal {\n        _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value)));\n    }\n\n    /**\n     * @dev Variant of {safeTransfer} that returns a bool instead of reverting if the operation is not successful.\n     */\n    function trySafeTransfer(IERC20 token, address to, uint256 value) internal returns (bool) {\n        return _callOptionalReturnBool(token, abi.encodeCall(token.transfer, (to, value)));\n    }\n\n    /**\n     * @dev Variant of {safeTransferFrom} that returns a bool instead of reverting if the operation is not successful.\n     */\n    function trySafeTransferFrom(IERC20 token, address from, address to, uint256 value) internal returns (bool) {\n        return _callOptionalReturnBool(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     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the \"client\"\n     * smart contract uses ERC-7674 to set temporary allowances, then the \"client\" smart contract should avoid using\n     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract\n     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.\n     */\n    function safeIncreaseAllowance(IERC20 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     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the \"client\"\n     * smart contract uses ERC-7674 to set temporary allowances, then the \"client\" smart contract should avoid using\n     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract\n     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.\n     */\n    function safeDecreaseAllowance(IERC20 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     * NOTE: If the token implements ERC-7674, this function will not modify any temporary allowance. This function\n     * only sets the \"standard\" allowance. Any temporary allowance will remain active, in addition to the value being\n     * set here.\n     */\n    function forceApprove(IERC20 token, address spender, uint256 value) internal {\n        bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value));\n\n        if (!_callOptionalReturnBool(token, approvalCall)) {\n            _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0)));\n            _callOptionalReturn(token, approvalCall);\n        }\n    }\n\n    /**\n     * @dev Performs an {ERC1363} transferAndCall, with a fallback to the simple {ERC20} transfer if the target has no\n     * code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when\n     * targeting contracts.\n     *\n     * Reverts if the returned value is other than `true`.\n     */\n    function transferAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {\n        if (to.code.length == 0) {\n            safeTransfer(token, to, value);\n        } else if (!token.transferAndCall(to, value, data)) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Performs an {ERC1363} transferFromAndCall, with a fallback to the simple {ERC20} transferFrom if the target\n     * has no code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when\n     * targeting contracts.\n     *\n     * Reverts if the returned value is other than `true`.\n     */\n    function transferFromAndCallRelaxed(\n        IERC1363 token,\n        address from,\n        address to,\n        uint256 value,\n        bytes memory data\n    ) internal {\n        if (to.code.length == 0) {\n            safeTransferFrom(token, from, to, value);\n        } else if (!token.transferFromAndCall(from, to, value, data)) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Performs an {ERC1363} approveAndCall, with a fallback to the simple {ERC20} approve if the target has no\n     * code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when\n     * targeting contracts.\n     *\n     * NOTE: When the recipient address (`to`) has no code (i.e. is an EOA), this function behaves as {forceApprove}.\n     * Opposedly, when the recipient address (`to`) has code, this function only attempts to call {ERC1363-approveAndCall}\n     * once without retrying, and relies on the returned value to be true.\n     *\n     * Reverts if the returned value is other than `true`.\n     */\n    function approveAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {\n        if (to.code.length == 0) {\n            forceApprove(token, to, value);\n        } else if (!token.approveAndCall(to, value, data)) {\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 {_callOptionalReturnBool} that reverts if call fails to meet the requirements.\n     */\n    function _callOptionalReturn(IERC20 token, bytes memory data) private {\n        uint256 returnSize;\n        uint256 returnValue;\n        assembly (\"memory-safe\") {\n            let success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)\n            // bubble errors\n            if iszero(success) {\n                let ptr := mload(0x40)\n                returndatacopy(ptr, 0, returndatasize())\n                revert(ptr, returndatasize())\n            }\n            returnSize := returndatasize()\n            returnValue := mload(0)\n        }\n\n        if (returnSize == 0 ? address(token).code.length == 0 : returnValue != 1) {\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 silently catches all reverts and returns a bool instead.\n     */\n    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {\n        bool success;\n        uint256 returnSize;\n        uint256 returnValue;\n        assembly (\"memory-safe\") {\n            success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)\n            returnSize := returndatasize()\n            returnValue := mload(0)\n        }\n        return success && (returnSize == 0 ? address(token).code.length > 0 : returnValue == 1);\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC-20 standard as defined in the ERC.\n */\ninterface IERC20 {\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    /**\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    /**\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    /**\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    /**\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    /**\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"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/IERC20Metadata.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"../IERC20.sol\";\n\n/**\n * @dev Interface for the optional metadata functions from the ERC-20 standard.\n */\ninterface IERC20Metadata is IERC20 {\n    /**\n     * @dev Returns the name of the token.\n     */\n    function name() external view returns (string memory);\n\n    /**\n     * @dev Returns the symbol of the token.\n     */\n    function symbol() external view returns (string memory);\n\n    /**\n     * @dev Returns the decimals places of the token.\n     */\n    function decimals() external view returns (uint8);\n}\n"},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)\n\npragma solidity ^0.8.20;\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 Context {\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"},"lib/openzeppelin-contracts/contracts/interfaces/draft-IERC6093.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/draft-IERC6093.sol)\npragma solidity ^0.8.20;\n\n/**\n * @dev Standard ERC-20 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens.\n */\ninterface IERC20Errors {\n    /**\n     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param balance Current balance for the interacting account.\n     * @param needed Minimum amount required to perform a transfer.\n     */\n    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC20InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC20InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.\n     * @param spender Address that may be allowed to operate on tokens without being their owner.\n     * @param allowance Amount of tokens a `spender` is allowed to operate with.\n     * @param needed Minimum amount required to perform a transfer.\n     */\n    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC20InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.\n     * @param spender Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC20InvalidSpender(address spender);\n}\n\n/**\n * @dev Standard ERC-721 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens.\n */\ninterface IERC721Errors {\n    /**\n     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-20.\n     * Used in balance queries.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC721InvalidOwner(address owner);\n\n    /**\n     * @dev Indicates a `tokenId` whose `owner` is the zero address.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC721NonexistentToken(uint256 tokenId);\n\n    /**\n     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param tokenId Identifier number of a token.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC721InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC721InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC721InsufficientApproval(address operator, uint256 tokenId);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC721InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC721InvalidOperator(address operator);\n}\n\n/**\n * @dev Standard ERC-1155 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens.\n */\ninterface IERC1155Errors {\n    /**\n     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param balance Current balance for the interacting account.\n     * @param needed Minimum amount required to perform a transfer.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC1155InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC1155InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC1155MissingApprovalForAll(address operator, address owner);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC1155InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC1155InvalidOperator(address operator);\n\n    /**\n     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.\n     * Used in batch transfers.\n     * @param idsLength Length of the array of token identifiers\n     * @param valuesLength Length of the array of token amounts\n     */\n    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);\n}\n"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Permit.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/IERC20Permit.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC-20 Permit extension allowing approvals to be made via signatures, as defined in\n * https://eips.ethereum.org/EIPS/eip-2612[ERC-2612].\n *\n * Adds the {permit} method, which can be used to change an account's ERC-20 allowance (see {IERC20-allowance}) by\n * presenting a message signed by the account. By not relying on {IERC20-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 * {SafeERC20-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 IERC20Permit {\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 {IERC20-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(\n        address owner,\n        address spender,\n        uint256 value,\n        uint256 deadline,\n        uint8 v,\n        bytes32 r,\n        bytes32 s\n    ) external;\n\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    /**\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"},"lib/openzeppelin-contracts/contracts/utils/cryptography/ECDSA.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/cryptography/ECDSA.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.\n *\n * These functions can be used to verify that a message was signed by the holder\n * of the private keys of a given address.\n */\nlibrary ECDSA {\n    enum RecoverError {\n        NoError,\n        InvalidSignature,\n        InvalidSignatureLength,\n        InvalidSignatureS\n    }\n\n    /**\n     * @dev The signature derives the `address(0)`.\n     */\n    error ECDSAInvalidSignature();\n\n    /**\n     * @dev The signature has an invalid length.\n     */\n    error ECDSAInvalidSignatureLength(uint256 length);\n\n    /**\n     * @dev The signature has an S value that is in the upper half order.\n     */\n    error ECDSAInvalidSignatureS(bytes32 s);\n\n    /**\n     * @dev Returns the address that signed a hashed message (`hash`) with `signature` or an error. This will not\n     * return address(0) without also returning an error description. Errors are documented using an enum (error type)\n     * and a bytes32 providing additional information about the error.\n     *\n     * If no error is returned, then the address can be used for verification purposes.\n     *\n     * The `ecrecover` EVM precompile allows for malleable (non-unique) signatures:\n     * this function rejects them by requiring the `s` value to be in the lower\n     * half order, and the `v` value to be either 27 or 28.\n     *\n     * IMPORTANT: `hash` _must_ be the result of a hash operation for the\n     * verification to be secure: it is possible to craft signatures that\n     * recover to arbitrary addresses for non-hashed data. A safe way to ensure\n     * this is by receiving a hash of the original message (which may otherwise\n     * be too long), and then calling {MessageHashUtils-toEthSignedMessageHash} on it.\n     *\n     * Documentation for signature generation:\n     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]\n     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]\n     */\n    function tryRecover(\n        bytes32 hash,\n        bytes memory signature\n    ) internal pure returns (address recovered, RecoverError err, bytes32 errArg) {\n        if (signature.length == 65) {\n            bytes32 r;\n            bytes32 s;\n            uint8 v;\n            // ecrecover takes the signature parameters, and the only way to get them\n            // currently is to use assembly.\n            assembly (\"memory-safe\") {\n                r := mload(add(signature, 0x20))\n                s := mload(add(signature, 0x40))\n                v := byte(0, mload(add(signature, 0x60)))\n            }\n            return tryRecover(hash, v, r, s);\n        } else {\n            return (address(0), RecoverError.InvalidSignatureLength, bytes32(signature.length));\n        }\n    }\n\n    /**\n     * @dev Returns the address that signed a hashed message (`hash`) with\n     * `signature`. This address can then be used for verification purposes.\n     *\n     * The `ecrecover` EVM precompile allows for malleable (non-unique) signatures:\n     * this function rejects them by requiring the `s` value to be in the lower\n     * half order, and the `v` value to be either 27 or 28.\n     *\n     * IMPORTANT: `hash` _must_ be the result of a hash operation for the\n     * verification to be secure: it is possible to craft signatures that\n     * recover to arbitrary addresses for non-hashed data. A safe way to ensure\n     * this is by receiving a hash of the original message (which may otherwise\n     * be too long), and then calling {MessageHashUtils-toEthSignedMessageHash} on it.\n     */\n    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {\n        (address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, signature);\n        _throwError(error, errorArg);\n        return recovered;\n    }\n\n    /**\n     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.\n     *\n     * See https://eips.ethereum.org/EIPS/eip-2098[ERC-2098 short signatures]\n     */\n    function tryRecover(\n        bytes32 hash,\n        bytes32 r,\n        bytes32 vs\n    ) internal pure returns (address recovered, RecoverError err, bytes32 errArg) {\n        unchecked {\n            bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);\n            // We do not check for an overflow here since the shift operation results in 0 or 1.\n            uint8 v = uint8((uint256(vs) >> 255) + 27);\n            return tryRecover(hash, v, r, s);\n        }\n    }\n\n    /**\n     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.\n     */\n    function recover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address) {\n        (address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, r, vs);\n        _throwError(error, errorArg);\n        return recovered;\n    }\n\n    /**\n     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,\n     * `r` and `s` signature fields separately.\n     */\n    function tryRecover(\n        bytes32 hash,\n        uint8 v,\n        bytes32 r,\n        bytes32 s\n    ) internal pure returns (address recovered, RecoverError err, bytes32 errArg) {\n        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature\n        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines\n        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most\n        // signatures from current libraries generate a unique signature with an s-value in the lower half order.\n        //\n        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value\n        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or\n        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept\n        // these malleable signatures as well.\n        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {\n            return (address(0), RecoverError.InvalidSignatureS, s);\n        }\n\n        // If the signature is valid (and not malleable), return the signer address\n        address signer = ecrecover(hash, v, r, s);\n        if (signer == address(0)) {\n            return (address(0), RecoverError.InvalidSignature, bytes32(0));\n        }\n\n        return (signer, RecoverError.NoError, bytes32(0));\n    }\n\n    /**\n     * @dev Overload of {ECDSA-recover} that receives the `v`,\n     * `r` and `s` signature fields separately.\n     */\n    function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) {\n        (address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, v, r, s);\n        _throwError(error, errorArg);\n        return recovered;\n    }\n\n    /**\n     * @dev Optionally reverts with the corresponding custom error according to the `error` argument provided.\n     */\n    function _throwError(RecoverError error, bytes32 errorArg) private pure {\n        if (error == RecoverError.NoError) {\n            return; // no error: do nothing\n        } else if (error == RecoverError.InvalidSignature) {\n            revert ECDSAInvalidSignature();\n        } else if (error == RecoverError.InvalidSignatureLength) {\n            revert ECDSAInvalidSignatureLength(uint256(errorArg));\n        } else if (error == RecoverError.InvalidSignatureS) {\n            revert ECDSAInvalidSignatureS(errorArg);\n        }\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/utils/cryptography/EIP712.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/cryptography/EIP712.sol)\n\npragma solidity ^0.8.20;\n\nimport {MessageHashUtils} from \"./MessageHashUtils.sol\";\nimport {ShortStrings, ShortString} from \"../ShortStrings.sol\";\nimport {IERC5267} from \"../../interfaces/IERC5267.sol\";\n\n/**\n * @dev https://eips.ethereum.org/EIPS/eip-712[EIP-712] is a standard for hashing and signing of typed structured data.\n *\n * The encoding scheme specified in the EIP requires a domain separator and a hash of the typed structured data, whose\n * encoding is very generic and therefore its implementation in Solidity is not feasible, thus this contract\n * does not implement the encoding itself. Protocols need to implement the type-specific encoding they need in order to\n * produce the hash of their typed data using a combination of `abi.encode` and `keccak256`.\n *\n * This contract implements the EIP-712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding\n * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA\n * ({_hashTypedDataV4}).\n *\n * The implementation of the domain separator was designed to be as efficient as possible while still properly updating\n * the chain id to protect against replay attacks on an eventual fork of the chain.\n *\n * NOTE: This contract implements the version of the encoding known as \"v4\", as implemented by the JSON RPC method\n * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].\n *\n * NOTE: In the upgradeable version of this contract, the cached values will correspond to the address, and the domain\n * separator of the implementation contract. This will cause the {_domainSeparatorV4} function to always rebuild the\n * separator from the immutable values, which is cheaper than accessing a cached version in cold storage.\n *\n * @custom:oz-upgrades-unsafe-allow state-variable-immutable\n */\nabstract contract EIP712 is IERC5267 {\n    using ShortStrings for *;\n\n    bytes32 private constant TYPE_HASH =\n        keccak256(\"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\");\n\n    // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to\n    // invalidate the cached domain separator if the chain id changes.\n    bytes32 private immutable _cachedDomainSeparator;\n    uint256 private immutable _cachedChainId;\n    address private immutable _cachedThis;\n\n    bytes32 private immutable _hashedName;\n    bytes32 private immutable _hashedVersion;\n\n    ShortString private immutable _name;\n    ShortString private immutable _version;\n    // slither-disable-next-line constable-states\n    string private _nameFallback;\n    // slither-disable-next-line constable-states\n    string private _versionFallback;\n\n    /**\n     * @dev Initializes the domain separator and parameter caches.\n     *\n     * The meaning of `name` and `version` is specified in\n     * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP-712]:\n     *\n     * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.\n     * - `version`: the current major version of the signing domain.\n     *\n     * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart\n     * contract upgrade].\n     */\n    constructor(string memory name, string memory version) {\n        _name = name.toShortStringWithFallback(_nameFallback);\n        _version = version.toShortStringWithFallback(_versionFallback);\n        _hashedName = keccak256(bytes(name));\n        _hashedVersion = keccak256(bytes(version));\n\n        _cachedChainId = block.chainid;\n        _cachedDomainSeparator = _buildDomainSeparator();\n        _cachedThis = address(this);\n    }\n\n    /**\n     * @dev Returns the domain separator for the current chain.\n     */\n    function _domainSeparatorV4() internal view returns (bytes32) {\n        if (address(this) == _cachedThis && block.chainid == _cachedChainId) {\n            return _cachedDomainSeparator;\n        } else {\n            return _buildDomainSeparator();\n        }\n    }\n\n    function _buildDomainSeparator() private view returns (bytes32) {\n        return keccak256(abi.encode(TYPE_HASH, _hashedName, _hashedVersion, block.chainid, address(this)));\n    }\n\n    /**\n     * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this\n     * function returns the hash of the fully encoded EIP712 message for this domain.\n     *\n     * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:\n     *\n     * ```solidity\n     * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(\n     *     keccak256(\"Mail(address to,string contents)\"),\n     *     mailTo,\n     *     keccak256(bytes(mailContents))\n     * )));\n     * address signer = ECDSA.recover(digest, signature);\n     * ```\n     */\n    function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {\n        return MessageHashUtils.toTypedDataHash(_domainSeparatorV4(), structHash);\n    }\n\n    /**\n     * @inheritdoc IERC5267\n     */\n    function eip712Domain()\n        public\n        view\n        virtual\n        returns (\n            bytes1 fields,\n            string memory name,\n            string memory version,\n            uint256 chainId,\n            address verifyingContract,\n            bytes32 salt,\n            uint256[] memory extensions\n        )\n    {\n        return (\n            hex\"0f\", // 01111\n            _EIP712Name(),\n            _EIP712Version(),\n            block.chainid,\n            address(this),\n            bytes32(0),\n            new uint256[](0)\n        );\n    }\n\n    /**\n     * @dev The name parameter for the EIP712 domain.\n     *\n     * NOTE: By default this function reads _name which is an immutable value.\n     * It only reads from storage if necessary (in case the value is too large to fit in a ShortString).\n     */\n    // solhint-disable-next-line func-name-mixedcase\n    function _EIP712Name() internal view returns (string memory) {\n        return _name.toStringWithFallback(_nameFallback);\n    }\n\n    /**\n     * @dev The version parameter for the EIP712 domain.\n     *\n     * NOTE: By default this function reads _version which is an immutable value.\n     * It only reads from storage if necessary (in case the value is too large to fit in a ShortString).\n     */\n    // solhint-disable-next-line func-name-mixedcase\n    function _EIP712Version() internal view returns (string memory) {\n        return _version.toStringWithFallback(_versionFallback);\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/utils/Nonces.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/Nonces.sol)\npragma solidity ^0.8.20;\n\n/**\n * @dev Provides tracking nonces for addresses. Nonces will only increment.\n */\nabstract contract Nonces {\n    /**\n     * @dev The nonce used for an `account` is not the expected current nonce.\n     */\n    error InvalidAccountNonce(address account, uint256 currentNonce);\n\n    mapping(address account => uint256) private _nonces;\n\n    /**\n     * @dev Returns the next unused nonce for an address.\n     */\n    function nonces(address owner) public view virtual returns (uint256) {\n        return _nonces[owner];\n    }\n\n    /**\n     * @dev Consumes a nonce.\n     *\n     * Returns the current value and increments nonce.\n     */\n    function _useNonce(address owner) internal virtual returns (uint256) {\n        // For each account, the nonce has an initial value of 0, can only be incremented by one, and cannot be\n        // decremented or reset. This guarantees that the nonce never overflows.\n        unchecked {\n            // It is important to do x++ and not ++x here.\n            return _nonces[owner]++;\n        }\n    }\n\n    /**\n     * @dev Same as {_useNonce} but checking that `nonce` is the next valid for `owner`.\n     */\n    function _useCheckedNonce(address owner, uint256 nonce) internal virtual {\n        uint256 current = _useNonce(owner);\n        if (nonce != current) {\n            revert InvalidAccountNonce(owner, current);\n        }\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/interfaces/IERC1363.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/IERC1363.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"./IERC20.sol\";\nimport {IERC165} from \"./IERC165.sol\";\n\n/**\n * @title IERC1363\n * @dev Interface of the ERC-1363 standard as defined in the https://eips.ethereum.org/EIPS/eip-1363[ERC-1363].\n *\n * Defines an extension interface for ERC-20 tokens that supports executing code on a recipient contract\n * after `transfer` or `transferFrom`, or code on a spender contract after `approve`, in a single transaction.\n */\ninterface IERC1363 is IERC20, IERC165 {\n    /*\n     * Note: the ERC-165 identifier for this interface is 0xb0202a11.\n     * 0xb0202a11 ===\n     *   bytes4(keccak256('transferAndCall(address,uint256)')) ^\n     *   bytes4(keccak256('transferAndCall(address,uint256,bytes)')) ^\n     *   bytes4(keccak256('transferFromAndCall(address,address,uint256)')) ^\n     *   bytes4(keccak256('transferFromAndCall(address,address,uint256,bytes)')) ^\n     *   bytes4(keccak256('approveAndCall(address,uint256)')) ^\n     *   bytes4(keccak256('approveAndCall(address,uint256,bytes)'))\n     */\n\n    /**\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferAndCall(address to, uint256 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @param data Additional data with no specified format, sent in call to `to`.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferAndCall(address to, uint256 value, bytes calldata data) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param from The address which you want to send tokens from.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferFromAndCall(address from, address to, uint256 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param from The address which you want to send tokens from.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @param data Additional data with no specified format, sent in call to `to`.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferFromAndCall(address from, address to, uint256 value, bytes calldata data) external returns (bool);\n\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.\n     * @param spender The address which will spend the funds.\n     * @param value The amount of tokens to be spent.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function approveAndCall(address spender, uint256 value) external returns (bool);\n\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.\n     * @param spender The address which will spend the funds.\n     * @param value The amount of tokens to be spent.\n     * @param data Additional data with no specified format, sent in call to `spender`.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function approveAndCall(address spender, uint256 value, bytes calldata data) external returns (bool);\n}\n"},"lib/openzeppelin-contracts/contracts/utils/cryptography/MessageHashUtils.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/cryptography/MessageHashUtils.sol)\n\npragma solidity ^0.8.20;\n\nimport {Strings} from \"../Strings.sol\";\n\n/**\n * @dev Signature message hash utilities for producing digests to be consumed by {ECDSA} recovery or signing.\n *\n * The library provides methods for generating a hash of a message that conforms to the\n * https://eips.ethereum.org/EIPS/eip-191[ERC-191] and https://eips.ethereum.org/EIPS/eip-712[EIP 712]\n * specifications.\n */\nlibrary MessageHashUtils {\n    /**\n     * @dev Returns the keccak256 digest of an ERC-191 signed data with version\n     * `0x45` (`personal_sign` messages).\n     *\n     * The digest is calculated by prefixing a bytes32 `messageHash` with\n     * `\"\\x19Ethereum Signed Message:\\n32\"` and hashing the result. It corresponds with the\n     * hash signed when using the https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sign[`eth_sign`] JSON-RPC method.\n     *\n     * NOTE: The `messageHash` parameter is intended to be the result of hashing a raw message with\n     * keccak256, although any bytes32 value can be safely used because the final digest will\n     * be re-hashed.\n     *\n     * See {ECDSA-recover}.\n     */\n    function toEthSignedMessageHash(bytes32 messageHash) internal pure returns (bytes32 digest) {\n        assembly (\"memory-safe\") {\n            mstore(0x00, \"\\x19Ethereum Signed Message:\\n32\") // 32 is the bytes-length of messageHash\n            mstore(0x1c, messageHash) // 0x1c (28) is the length of the prefix\n            digest := keccak256(0x00, 0x3c) // 0x3c is the length of the prefix (0x1c) + messageHash (0x20)\n        }\n    }\n\n    /**\n     * @dev Returns the keccak256 digest of an ERC-191 signed data with version\n     * `0x45` (`personal_sign` messages).\n     *\n     * The digest is calculated by prefixing an arbitrary `message` with\n     * `\"\\x19Ethereum Signed Message:\\n\" + len(message)` and hashing the result. It corresponds with the\n     * hash signed when using the https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sign[`eth_sign`] JSON-RPC method.\n     *\n     * See {ECDSA-recover}.\n     */\n    function toEthSignedMessageHash(bytes memory message) internal pure returns (bytes32) {\n        return\n            keccak256(bytes.concat(\"\\x19Ethereum Signed Message:\\n\", bytes(Strings.toString(message.length)), message));\n    }\n\n    /**\n     * @dev Returns the keccak256 digest of an ERC-191 signed data with version\n     * `0x00` (data with intended validator).\n     *\n     * The digest is calculated by prefixing an arbitrary `data` with `\"\\x19\\x00\"` and the intended\n     * `validator` address. Then hashing the result.\n     *\n     * See {ECDSA-recover}.\n     */\n    function toDataWithIntendedValidatorHash(address validator, bytes memory data) internal pure returns (bytes32) {\n        return keccak256(abi.encodePacked(hex\"19_00\", validator, data));\n    }\n\n    /**\n     * @dev Variant of {toDataWithIntendedValidatorHash-address-bytes} optimized for cases where `data` is a bytes32.\n     */\n    function toDataWithIntendedValidatorHash(\n        address validator,\n        bytes32 messageHash\n    ) internal pure returns (bytes32 digest) {\n        assembly (\"memory-safe\") {\n            mstore(0x00, hex\"19_00\")\n            mstore(0x02, shl(96, validator))\n            mstore(0x16, messageHash)\n            digest := keccak256(0x00, 0x36)\n        }\n    }\n\n    /**\n     * @dev Returns the keccak256 digest of an EIP-712 typed data (ERC-191 version `0x01`).\n     *\n     * The digest is calculated from a `domainSeparator` and a `structHash`, by prefixing them with\n     * `\\x19\\x01` and hashing the result. It corresponds to the hash signed by the\n     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] JSON-RPC method as part of EIP-712.\n     *\n     * See {ECDSA-recover}.\n     */\n    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32 digest) {\n        assembly (\"memory-safe\") {\n            let ptr := mload(0x40)\n            mstore(ptr, hex\"19_01\")\n            mstore(add(ptr, 0x02), domainSeparator)\n            mstore(add(ptr, 0x22), structHash)\n            digest := keccak256(ptr, 0x42)\n        }\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/utils/ShortStrings.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/ShortStrings.sol)\n\npragma solidity ^0.8.20;\n\nimport {StorageSlot} from \"./StorageSlot.sol\";\n\n// | string  | 0xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA   |\n// | length  | 0x                                                              BB |\ntype ShortString is bytes32;\n\n/**\n * @dev This library provides functions to convert short memory strings\n * into a `ShortString` type that can be used as an immutable variable.\n *\n * Strings of arbitrary length can be optimized using this library if\n * they are short enough (up to 31 bytes) by packing them with their\n * length (1 byte) in a single EVM word (32 bytes). Additionally, a\n * fallback mechanism can be used for every other case.\n *\n * Usage example:\n *\n * ```solidity\n * contract Named {\n *     using ShortStrings for *;\n *\n *     ShortString private immutable _name;\n *     string private _nameFallback;\n *\n *     constructor(string memory contractName) {\n *         _name = contractName.toShortStringWithFallback(_nameFallback);\n *     }\n *\n *     function name() external view returns (string memory) {\n *         return _name.toStringWithFallback(_nameFallback);\n *     }\n * }\n * ```\n */\nlibrary ShortStrings {\n    // Used as an identifier for strings longer than 31 bytes.\n    bytes32 private constant FALLBACK_SENTINEL = 0x00000000000000000000000000000000000000000000000000000000000000FF;\n\n    error StringTooLong(string str);\n    error InvalidShortString();\n\n    /**\n     * @dev Encode a string of at most 31 chars into a `ShortString`.\n     *\n     * This will trigger a `StringTooLong` error is the input string is too long.\n     */\n    function toShortString(string memory str) internal pure returns (ShortString) {\n        bytes memory bstr = bytes(str);\n        if (bstr.length > 31) {\n            revert StringTooLong(str);\n        }\n        return ShortString.wrap(bytes32(uint256(bytes32(bstr)) | bstr.length));\n    }\n\n    /**\n     * @dev Decode a `ShortString` back to a \"normal\" string.\n     */\n    function toString(ShortString sstr) internal pure returns (string memory) {\n        uint256 len = byteLength(sstr);\n        // using `new string(len)` would work locally but is not memory safe.\n        string memory str = new string(32);\n        assembly (\"memory-safe\") {\n            mstore(str, len)\n            mstore(add(str, 0x20), sstr)\n        }\n        return str;\n    }\n\n    /**\n     * @dev Return the length of a `ShortString`.\n     */\n    function byteLength(ShortString sstr) internal pure returns (uint256) {\n        uint256 result = uint256(ShortString.unwrap(sstr)) & 0xFF;\n        if (result > 31) {\n            revert InvalidShortString();\n        }\n        return result;\n    }\n\n    /**\n     * @dev Encode a string into a `ShortString`, or write it to storage if it is too long.\n     */\n    function toShortStringWithFallback(string memory value, string storage store) internal returns (ShortString) {\n        if (bytes(value).length < 32) {\n            return toShortString(value);\n        } else {\n            StorageSlot.getStringSlot(store).value = value;\n            return ShortString.wrap(FALLBACK_SENTINEL);\n        }\n    }\n\n    /**\n     * @dev Decode a string that was encoded to `ShortString` or written to storage using {toShortStringWithFallback}.\n     */\n    function toStringWithFallback(ShortString value, string storage store) internal pure returns (string memory) {\n        if (ShortString.unwrap(value) != FALLBACK_SENTINEL) {\n            return toString(value);\n        } else {\n            return store;\n        }\n    }\n\n    /**\n     * @dev Return the length of a string that was encoded to `ShortString` or written to storage using\n     * {toShortStringWithFallback}.\n     *\n     * WARNING: This will return the \"byte length\" of the string. This may not reflect the actual length in terms of\n     * actual characters as the UTF-8 encoding of a single character can span over multiple bytes.\n     */\n    function byteLengthWithFallback(ShortString value, string storage store) internal view returns (uint256) {\n        if (ShortString.unwrap(value) != FALLBACK_SENTINEL) {\n            return byteLength(value);\n        } else {\n            return bytes(store).length;\n        }\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/interfaces/IERC5267.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC5267.sol)\n\npragma solidity ^0.8.20;\n\ninterface IERC5267 {\n    /**\n     * @dev MAY be emitted to signal that the domain could have changed.\n     */\n    event EIP712DomainChanged();\n\n    /**\n     * @dev returns the fields and values that describe the domain separator used by this contract for EIP-712\n     * signature.\n     */\n    function eip712Domain()\n        external\n        view\n        returns (\n            bytes1 fields,\n            string memory name,\n            string memory version,\n            uint256 chainId,\n            address verifyingContract,\n            bytes32 salt,\n            uint256[] memory extensions\n        );\n}\n"},"lib/openzeppelin-contracts/contracts/interfaces/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC20.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"../token/ERC20/IERC20.sol\";\n"},"lib/openzeppelin-contracts/contracts/interfaces/IERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC165.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC165} from \"../utils/introspection/IERC165.sol\";\n"},"lib/openzeppelin-contracts/contracts/utils/Strings.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.2.0) (utils/Strings.sol)\n\npragma solidity ^0.8.20;\n\nimport {Math} from \"./math/Math.sol\";\nimport {SafeCast} from \"./math/SafeCast.sol\";\nimport {SignedMath} from \"./math/SignedMath.sol\";\n\n/**\n * @dev String operations.\n */\nlibrary Strings {\n    using SafeCast for *;\n\n    bytes16 private constant HEX_DIGITS = \"0123456789abcdef\";\n    uint8 private constant ADDRESS_LENGTH = 20;\n    uint256 private constant SPECIAL_CHARS_LOOKUP =\n        (1 << 0x08) | // backspace\n            (1 << 0x09) | // tab\n            (1 << 0x0a) | // newline\n            (1 << 0x0c) | // form feed\n            (1 << 0x0d) | // carriage return\n            (1 << 0x22) | // double quote\n            (1 << 0x5c); // backslash\n\n    /**\n     * @dev The `value` string doesn't fit in the specified `length`.\n     */\n    error StringsInsufficientHexLength(uint256 value, uint256 length);\n\n    /**\n     * @dev The string being parsed contains characters that are not in scope of the given base.\n     */\n    error StringsInvalidChar();\n\n    /**\n     * @dev The string being parsed is not a properly formatted address.\n     */\n    error StringsInvalidAddressFormat();\n\n    /**\n     * @dev Converts a `uint256` to its ASCII `string` decimal representation.\n     */\n    function toString(uint256 value) internal pure returns (string memory) {\n        unchecked {\n            uint256 length = Math.log10(value) + 1;\n            string memory buffer = new string(length);\n            uint256 ptr;\n            assembly (\"memory-safe\") {\n                ptr := add(buffer, add(32, length))\n            }\n            while (true) {\n                ptr--;\n                assembly (\"memory-safe\") {\n                    mstore8(ptr, byte(mod(value, 10), HEX_DIGITS))\n                }\n                value /= 10;\n                if (value == 0) break;\n            }\n            return buffer;\n        }\n    }\n\n    /**\n     * @dev Converts a `int256` to its ASCII `string` decimal representation.\n     */\n    function toStringSigned(int256 value) internal pure returns (string memory) {\n        return string.concat(value < 0 ? \"-\" : \"\", toString(SignedMath.abs(value)));\n    }\n\n    /**\n     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.\n     */\n    function toHexString(uint256 value) internal pure returns (string memory) {\n        unchecked {\n            return toHexString(value, Math.log256(value) + 1);\n        }\n    }\n\n    /**\n     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.\n     */\n    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {\n        uint256 localValue = value;\n        bytes memory buffer = new bytes(2 * length + 2);\n        buffer[0] = \"0\";\n        buffer[1] = \"x\";\n        for (uint256 i = 2 * length + 1; i > 1; --i) {\n            buffer[i] = HEX_DIGITS[localValue & 0xf];\n            localValue >>= 4;\n        }\n        if (localValue != 0) {\n            revert StringsInsufficientHexLength(value, length);\n        }\n        return string(buffer);\n    }\n\n    /**\n     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal\n     * representation.\n     */\n    function toHexString(address addr) internal pure returns (string memory) {\n        return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH);\n    }\n\n    /**\n     * @dev Converts an `address` with fixed length of 20 bytes to its checksummed ASCII `string` hexadecimal\n     * representation, according to EIP-55.\n     */\n    function toChecksumHexString(address addr) internal pure returns (string memory) {\n        bytes memory buffer = bytes(toHexString(addr));\n\n        // hash the hex part of buffer (skip length + 2 bytes, length 40)\n        uint256 hashValue;\n        assembly (\"memory-safe\") {\n            hashValue := shr(96, keccak256(add(buffer, 0x22), 40))\n        }\n\n        for (uint256 i = 41; i > 1; --i) {\n            // possible values for buffer[i] are 48 (0) to 57 (9) and 97 (a) to 102 (f)\n            if (hashValue & 0xf > 7 && uint8(buffer[i]) > 96) {\n                // case shift by xoring with 0x20\n                buffer[i] ^= 0x20;\n            }\n            hashValue >>= 4;\n        }\n        return string(buffer);\n    }\n\n    /**\n     * @dev Returns true if the two strings are equal.\n     */\n    function equal(string memory a, string memory b) internal pure returns (bool) {\n        return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b));\n    }\n\n    /**\n     * @dev Parse a decimal string and returns the value as a `uint256`.\n     *\n     * Requirements:\n     * - The string must be formatted as `[0-9]*`\n     * - The result must fit into an `uint256` type\n     */\n    function parseUint(string memory input) internal pure returns (uint256) {\n        return parseUint(input, 0, bytes(input).length);\n    }\n\n    /**\n     * @dev Variant of {parseUint-string} that parses a substring of `input` located between position `begin` (included) and\n     * `end` (excluded).\n     *\n     * Requirements:\n     * - The substring must be formatted as `[0-9]*`\n     * - The result must fit into an `uint256` type\n     */\n    function parseUint(string memory input, uint256 begin, uint256 end) internal pure returns (uint256) {\n        (bool success, uint256 value) = tryParseUint(input, begin, end);\n        if (!success) revert StringsInvalidChar();\n        return value;\n    }\n\n    /**\n     * @dev Variant of {parseUint-string} that returns false if the parsing fails because of an invalid character.\n     *\n     * NOTE: This function will revert if the result does not fit in a `uint256`.\n     */\n    function tryParseUint(string memory input) internal pure returns (bool success, uint256 value) {\n        return _tryParseUintUncheckedBounds(input, 0, bytes(input).length);\n    }\n\n    /**\n     * @dev Variant of {parseUint-string-uint256-uint256} that returns false if the parsing fails because of an invalid\n     * character.\n     *\n     * NOTE: This function will revert if the result does not fit in a `uint256`.\n     */\n    function tryParseUint(\n        string memory input,\n        uint256 begin,\n        uint256 end\n    ) internal pure returns (bool success, uint256 value) {\n        if (end > bytes(input).length || begin > end) return (false, 0);\n        return _tryParseUintUncheckedBounds(input, begin, end);\n    }\n\n    /**\n     * @dev Implementation of {tryParseUint-string-uint256-uint256} that does not check bounds. Caller should make sure that\n     * `begin <= end <= input.length`. Other inputs would result in undefined behavior.\n     */\n    function _tryParseUintUncheckedBounds(\n        string memory input,\n        uint256 begin,\n        uint256 end\n    ) private pure returns (bool success, uint256 value) {\n        bytes memory buffer = bytes(input);\n\n        uint256 result = 0;\n        for (uint256 i = begin; i < end; ++i) {\n            uint8 chr = _tryParseChr(bytes1(_unsafeReadBytesOffset(buffer, i)));\n            if (chr > 9) return (false, 0);\n            result *= 10;\n            result += chr;\n        }\n        return (true, result);\n    }\n\n    /**\n     * @dev Parse a decimal string and returns the value as a `int256`.\n     *\n     * Requirements:\n     * - The string must be formatted as `[-+]?[0-9]*`\n     * - The result must fit in an `int256` type.\n     */\n    function parseInt(string memory input) internal pure returns (int256) {\n        return parseInt(input, 0, bytes(input).length);\n    }\n\n    /**\n     * @dev Variant of {parseInt-string} that parses a substring of `input` located between position `begin` (included) and\n     * `end` (excluded).\n     *\n     * Requirements:\n     * - The substring must be formatted as `[-+]?[0-9]*`\n     * - The result must fit in an `int256` type.\n     */\n    function parseInt(string memory input, uint256 begin, uint256 end) internal pure returns (int256) {\n        (bool success, int256 value) = tryParseInt(input, begin, end);\n        if (!success) revert StringsInvalidChar();\n        return value;\n    }\n\n    /**\n     * @dev Variant of {parseInt-string} that returns false if the parsing fails because of an invalid character or if\n     * the result does not fit in a `int256`.\n     *\n     * NOTE: This function will revert if the absolute value of the result does not fit in a `uint256`.\n     */\n    function tryParseInt(string memory input) internal pure returns (bool success, int256 value) {\n        return _tryParseIntUncheckedBounds(input, 0, bytes(input).length);\n    }\n\n    uint256 private constant ABS_MIN_INT256 = 2 ** 255;\n\n    /**\n     * @dev Variant of {parseInt-string-uint256-uint256} that returns false if the parsing fails because of an invalid\n     * character or if the result does not fit in a `int256`.\n     *\n     * NOTE: This function will revert if the absolute value of the result does not fit in a `uint256`.\n     */\n    function tryParseInt(\n        string memory input,\n        uint256 begin,\n        uint256 end\n    ) internal pure returns (bool success, int256 value) {\n        if (end > bytes(input).length || begin > end) return (false, 0);\n        return _tryParseIntUncheckedBounds(input, begin, end);\n    }\n\n    /**\n     * @dev Implementation of {tryParseInt-string-uint256-uint256} that does not check bounds. Caller should make sure that\n     * `begin <= end <= input.length`. Other inputs would result in undefined behavior.\n     */\n    function _tryParseIntUncheckedBounds(\n        string memory input,\n        uint256 begin,\n        uint256 end\n    ) private pure returns (bool success, int256 value) {\n        bytes memory buffer = bytes(input);\n\n        // Check presence of a negative sign.\n        bytes1 sign = begin == end ? bytes1(0) : bytes1(_unsafeReadBytesOffset(buffer, begin)); // don't do out-of-bound (possibly unsafe) read if sub-string is empty\n        bool positiveSign = sign == bytes1(\"+\");\n        bool negativeSign = sign == bytes1(\"-\");\n        uint256 offset = (positiveSign || negativeSign).toUint();\n\n        (bool absSuccess, uint256 absValue) = tryParseUint(input, begin + offset, end);\n\n        if (absSuccess && absValue < ABS_MIN_INT256) {\n            return (true, negativeSign ? -int256(absValue) : int256(absValue));\n        } else if (absSuccess && negativeSign && absValue == ABS_MIN_INT256) {\n            return (true, type(int256).min);\n        } else return (false, 0);\n    }\n\n    /**\n     * @dev Parse a hexadecimal string (with or without \"0x\" prefix), and returns the value as a `uint256`.\n     *\n     * Requirements:\n     * - The string must be formatted as `(0x)?[0-9a-fA-F]*`\n     * - The result must fit in an `uint256` type.\n     */\n    function parseHexUint(string memory input) internal pure returns (uint256) {\n        return parseHexUint(input, 0, bytes(input).length);\n    }\n\n    /**\n     * @dev Variant of {parseHexUint-string} that parses a substring of `input` located between position `begin` (included) and\n     * `end` (excluded).\n     *\n     * Requirements:\n     * - The substring must be formatted as `(0x)?[0-9a-fA-F]*`\n     * - The result must fit in an `uint256` type.\n     */\n    function parseHexUint(string memory input, uint256 begin, uint256 end) internal pure returns (uint256) {\n        (bool success, uint256 value) = tryParseHexUint(input, begin, end);\n        if (!success) revert StringsInvalidChar();\n        return value;\n    }\n\n    /**\n     * @dev Variant of {parseHexUint-string} that returns false if the parsing fails because of an invalid character.\n     *\n     * NOTE: This function will revert if the result does not fit in a `uint256`.\n     */\n    function tryParseHexUint(string memory input) internal pure returns (bool success, uint256 value) {\n        return _tryParseHexUintUncheckedBounds(input, 0, bytes(input).length);\n    }\n\n    /**\n     * @dev Variant of {parseHexUint-string-uint256-uint256} that returns false if the parsing fails because of an\n     * invalid character.\n     *\n     * NOTE: This function will revert if the result does not fit in a `uint256`.\n     */\n    function tryParseHexUint(\n        string memory input,\n        uint256 begin,\n        uint256 end\n    ) internal pure returns (bool success, uint256 value) {\n        if (end > bytes(input).length || begin > end) return (false, 0);\n        return _tryParseHexUintUncheckedBounds(input, begin, end);\n    }\n\n    /**\n     * @dev Implementation of {tryParseHexUint-string-uint256-uint256} that does not check bounds. Caller should make sure that\n     * `begin <= end <= input.length`. Other inputs would result in undefined behavior.\n     */\n    function _tryParseHexUintUncheckedBounds(\n        string memory input,\n        uint256 begin,\n        uint256 end\n    ) private pure returns (bool success, uint256 value) {\n        bytes memory buffer = bytes(input);\n\n        // skip 0x prefix if present\n        bool hasPrefix = (end > begin + 1) && bytes2(_unsafeReadBytesOffset(buffer, begin)) == bytes2(\"0x\"); // don't do out-of-bound (possibly unsafe) read if sub-string is empty\n        uint256 offset = hasPrefix.toUint() * 2;\n\n        uint256 result = 0;\n        for (uint256 i = begin + offset; i < end; ++i) {\n            uint8 chr = _tryParseChr(bytes1(_unsafeReadBytesOffset(buffer, i)));\n            if (chr > 15) return (false, 0);\n            result *= 16;\n            unchecked {\n                // Multiplying by 16 is equivalent to a shift of 4 bits (with additional overflow check).\n                // This guarantees that adding a value < 16 will not cause an overflow, hence the unchecked.\n                result += chr;\n            }\n        }\n        return (true, result);\n    }\n\n    /**\n     * @dev Parse a hexadecimal string (with or without \"0x\" prefix), and returns the value as an `address`.\n     *\n     * Requirements:\n     * - The string must be formatted as `(0x)?[0-9a-fA-F]{40}`\n     */\n    function parseAddress(string memory input) internal pure returns (address) {\n        return parseAddress(input, 0, bytes(input).length);\n    }\n\n    /**\n     * @dev Variant of {parseAddress-string} that parses a substring of `input` located between position `begin` (included) and\n     * `end` (excluded).\n     *\n     * Requirements:\n     * - The substring must be formatted as `(0x)?[0-9a-fA-F]{40}`\n     */\n    function parseAddress(string memory input, uint256 begin, uint256 end) internal pure returns (address) {\n        (bool success, address value) = tryParseAddress(input, begin, end);\n        if (!success) revert StringsInvalidAddressFormat();\n        return value;\n    }\n\n    /**\n     * @dev Variant of {parseAddress-string} that returns false if the parsing fails because the input is not a properly\n     * formatted address. See {parseAddress-string} requirements.\n     */\n    function tryParseAddress(string memory input) internal pure returns (bool success, address value) {\n        return tryParseAddress(input, 0, bytes(input).length);\n    }\n\n    /**\n     * @dev Variant of {parseAddress-string-uint256-uint256} that returns false if the parsing fails because input is not a properly\n     * formatted address. See {parseAddress-string-uint256-uint256} requirements.\n     */\n    function tryParseAddress(\n        string memory input,\n        uint256 begin,\n        uint256 end\n    ) internal pure returns (bool success, address value) {\n        if (end > bytes(input).length || begin > end) return (false, address(0));\n\n        bool hasPrefix = (end > begin + 1) && bytes2(_unsafeReadBytesOffset(bytes(input), begin)) == bytes2(\"0x\"); // don't do out-of-bound (possibly unsafe) read if sub-string is empty\n        uint256 expectedLength = 40 + hasPrefix.toUint() * 2;\n\n        // check that input is the correct length\n        if (end - begin == expectedLength) {\n            // length guarantees that this does not overflow, and value is at most type(uint160).max\n            (bool s, uint256 v) = _tryParseHexUintUncheckedBounds(input, begin, end);\n            return (s, address(uint160(v)));\n        } else {\n            return (false, address(0));\n        }\n    }\n\n    function _tryParseChr(bytes1 chr) private pure returns (uint8) {\n        uint8 value = uint8(chr);\n\n        // Try to parse `chr`:\n        // - Case 1: [0-9]\n        // - Case 2: [a-f]\n        // - Case 3: [A-F]\n        // - otherwise not supported\n        unchecked {\n            if (value > 47 && value < 58) value -= 48;\n            else if (value > 96 && value < 103) value -= 87;\n            else if (value > 64 && value < 71) value -= 55;\n            else return type(uint8).max;\n        }\n\n        return value;\n    }\n\n    /**\n     * @dev Escape special characters in JSON strings. This can be useful to prevent JSON injection in NFT metadata.\n     *\n     * WARNING: This function should only be used in double quoted JSON strings. Single quotes are not escaped.\n     */\n    function escapeJSON(string memory input) internal pure returns (string memory) {\n        bytes memory buffer = bytes(input);\n        bytes memory output = new bytes(2 * buffer.length); // worst case scenario\n        uint256 outputLength = 0;\n\n        for (uint256 i; i < buffer.length; ++i) {\n            bytes1 char = bytes1(_unsafeReadBytesOffset(buffer, i));\n            if (((SPECIAL_CHARS_LOOKUP & (1 << uint8(char))) != 0)) {\n                output[outputLength++] = \"\\\\\";\n                if (char == 0x08) output[outputLength++] = \"b\";\n                else if (char == 0x09) output[outputLength++] = \"t\";\n                else if (char == 0x0a) output[outputLength++] = \"n\";\n                else if (char == 0x0c) output[outputLength++] = \"f\";\n                else if (char == 0x0d) output[outputLength++] = \"r\";\n                else if (char == 0x5c) output[outputLength++] = \"\\\\\";\n                else if (char == 0x22) {\n                    // solhint-disable-next-line quotes\n                    output[outputLength++] = '\"';\n                }\n            } else {\n                output[outputLength++] = char;\n            }\n        }\n        // write the actual length and deallocate unused memory\n        assembly (\"memory-safe\") {\n            mstore(output, outputLength)\n            mstore(0x40, add(output, shl(5, shr(5, add(outputLength, 63)))))\n        }\n\n        return string(output);\n    }\n\n    /**\n     * @dev Reads a bytes32 from a bytes array without bounds checking.\n     *\n     * NOTE: making this function internal would mean it could be used with memory unsafe offset, and marking the\n     * assembly block as such would prevent some optimizations.\n     */\n    function _unsafeReadBytesOffset(bytes memory buffer, uint256 offset) private pure returns (bytes32 value) {\n        // This is not memory safe in the general case, but all calls to this private function are within bounds.\n        assembly (\"memory-safe\") {\n            value := mload(add(buffer, add(0x20, offset)))\n        }\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/utils/StorageSlot.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/StorageSlot.sol)\n// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Library for reading and writing primitive types to specific storage slots.\n *\n * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.\n * This library helps with reading and writing to such slots without the need for inline assembly.\n *\n * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.\n *\n * Example usage to set ERC-1967 implementation slot:\n * ```solidity\n * contract ERC1967 {\n *     // Define the slot. Alternatively, use the SlotDerivation library to derive the slot.\n *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n *\n *     function _getImplementation() internal view returns (address) {\n *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\n *     }\n *\n *     function _setImplementation(address newImplementation) internal {\n *         require(newImplementation.code.length > 0);\n *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\n *     }\n * }\n * ```\n *\n * TIP: Consider using this library along with {SlotDerivation}.\n */\nlibrary StorageSlot {\n    struct AddressSlot {\n        address value;\n    }\n\n    struct BooleanSlot {\n        bool value;\n    }\n\n    struct Bytes32Slot {\n        bytes32 value;\n    }\n\n    struct Uint256Slot {\n        uint256 value;\n    }\n\n    struct Int256Slot {\n        int256 value;\n    }\n\n    struct StringSlot {\n        string value;\n    }\n\n    struct BytesSlot {\n        bytes value;\n    }\n\n    /**\n     * @dev Returns an `AddressSlot` with member `value` located at `slot`.\n     */\n    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `BooleanSlot` with member `value` located at `slot`.\n     */\n    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Bytes32Slot` with member `value` located at `slot`.\n     */\n    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Uint256Slot` with member `value` located at `slot`.\n     */\n    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Int256Slot` with member `value` located at `slot`.\n     */\n    function getInt256Slot(bytes32 slot) internal pure returns (Int256Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `StringSlot` with member `value` located at `slot`.\n     */\n    function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `StringSlot` representation of the string storage pointer `store`.\n     */\n    function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := store.slot\n        }\n    }\n\n    /**\n     * @dev Returns a `BytesSlot` with member `value` located at `slot`.\n     */\n    function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.\n     */\n    function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := store.slot\n        }\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC-165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[ERC].\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 IERC165 {\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[ERC 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"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/math/Math.sol)\n\npragma solidity ^0.8.20;\n\nimport {Panic} from \"../Panic.sol\";\nimport {SafeCast} from \"./SafeCast.sol\";\n\n/**\n * @dev Standard math utilities missing in the Solidity language.\n */\nlibrary Math {\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 Return the 512-bit addition of two uint256.\n     *\n     * The result is stored in two 256 variables such that sum = high * 2²⁵⁶ + low.\n     */\n    function add512(uint256 a, uint256 b) internal pure returns (uint256 high, uint256 low) {\n        assembly (\"memory-safe\") {\n            low := add(a, b)\n            high := lt(low, a)\n        }\n    }\n\n    /**\n     * @dev Return the 512-bit multiplication of two uint256.\n     *\n     * The result is stored in two 256 variables such that product = high * 2²⁵⁶ + low.\n     */\n    function mul512(uint256 a, uint256 b) internal pure returns (uint256 high, uint256 low) {\n        // 512-bit multiply [high low] = x * y. Compute the product mod 2²⁵⁶ and mod 2²⁵⁶ - 1, then use\n        // the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256\n        // variables such that product = high * 2²⁵⁶ + low.\n        assembly (\"memory-safe\") {\n            let mm := mulmod(a, b, not(0))\n            low := mul(a, b)\n            high := sub(sub(mm, low), lt(mm, low))\n        }\n    }\n\n    /**\n     * @dev Returns the addition of two unsigned integers, with an success flag (no overflow).\n     */\n    function tryAdd(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            uint256 c = a + b;\n            success = c >= a;\n            result = c * SafeCast.toUint(success);\n        }\n    }\n\n    /**\n     * @dev Returns the subtraction of two unsigned integers, with an success flag (no overflow).\n     */\n    function trySub(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            uint256 c = a - b;\n            success = c <= a;\n            result = c * SafeCast.toUint(success);\n        }\n    }\n\n    /**\n     * @dev Returns the multiplication of two unsigned integers, with an success flag (no overflow).\n     */\n    function tryMul(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            uint256 c = a * b;\n            assembly (\"memory-safe\") {\n                // Only true when the multiplication doesn't overflow\n                // (c / a == b) || (a == 0)\n                success := or(eq(div(c, a), b), iszero(a))\n            }\n            // equivalent to: success ? c : 0\n            result = c * SafeCast.toUint(success);\n        }\n    }\n\n    /**\n     * @dev Returns the division of two unsigned integers, with a success flag (no division by zero).\n     */\n    function tryDiv(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            success = b > 0;\n            assembly (\"memory-safe\") {\n                // The `DIV` opcode returns zero when the denominator is 0.\n                result := div(a, b)\n            }\n        }\n    }\n\n    /**\n     * @dev Returns the remainder of dividing two unsigned integers, with a success flag (no division by zero).\n     */\n    function tryMod(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            success = b > 0;\n            assembly (\"memory-safe\") {\n                // The `MOD` opcode returns zero when the denominator is 0.\n                result := mod(a, b)\n            }\n        }\n    }\n\n    /**\n     * @dev Unsigned saturating addition, bounds to `2²⁵⁶ - 1` instead of overflowing.\n     */\n    function saturatingAdd(uint256 a, uint256 b) internal pure returns (uint256) {\n        (bool success, uint256 result) = tryAdd(a, b);\n        return ternary(success, result, type(uint256).max);\n    }\n\n    /**\n     * @dev Unsigned saturating subtraction, bounds to zero instead of overflowing.\n     */\n    function saturatingSub(uint256 a, uint256 b) internal pure returns (uint256) {\n        (, uint256 result) = trySub(a, b);\n        return result;\n    }\n\n    /**\n     * @dev Unsigned saturating multiplication, bounds to `2²⁵⁶ - 1` instead of overflowing.\n     */\n    function saturatingMul(uint256 a, uint256 b) internal pure returns (uint256) {\n        (bool success, uint256 result) = tryMul(a, b);\n        return ternary(success, result, type(uint256).max);\n    }\n\n    /**\n     * @dev Branchless ternary evaluation for `a ? b : c`. Gas costs are constant.\n     *\n     * IMPORTANT: This function may reduce bytecode size and consume less gas when used standalone.\n     * However, the compiler may optimize Solidity ternary operations (i.e. `a ? b : c`) to only compute\n     * one branch when needed, making this function more expensive.\n     */\n    function ternary(bool condition, uint256 a, uint256 b) internal pure returns (uint256) {\n        unchecked {\n            // branchless ternary works because:\n            // b ^ (a ^ b) == a\n            // b ^ 0 == b\n            return b ^ ((a ^ b) * SafeCast.toUint(condition));\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 ternary(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 ternary(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            Panic.panic(Panic.DIVISION_BY_ZERO);\n        }\n\n        // The following calculation ensures accurate ceiling division without overflow.\n        // Since a is non-zero, (a - 1) / b will not overflow.\n        // The largest possible result occurs when (a - 1) / b is type(uint256).max,\n        // but the largest value we can obtain is type(uint256).max - 1, which happens\n        // when a = type(uint256).max and b = 1.\n        unchecked {\n            return SafeCast.toUint(a > 0) * ((a - 1) / b + 1);\n        }\n    }\n\n    /**\n     * @dev Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or\n     * denominator == 0.\n     *\n     * 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            (uint256 high, uint256 low) = mul512(x, y);\n\n            // Handle non-overflow cases, 256 by 256 division.\n            if (high == 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 low / denominator;\n            }\n\n            // Make sure the result is less than 2²⁵⁶. Also prevents denominator == 0.\n            if (denominator <= high) {\n                Panic.panic(ternary(denominator == 0, Panic.DIVISION_BY_ZERO, Panic.UNDER_OVERFLOW));\n            }\n\n            ///////////////////////////////////////////////\n            // 512 by 256 division.\n            ///////////////////////////////////////////////\n\n            // Make division exact by subtracting the remainder from [high low].\n            uint256 remainder;\n            assembly (\"memory-safe\") {\n                // Compute remainder using mulmod.\n                remainder := mulmod(x, y, denominator)\n\n                // Subtract 256 bit number from 512 bit number.\n                high := sub(high, gt(remainder, low))\n                low := sub(low, remainder)\n            }\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 (\"memory-safe\") {\n                // Divide denominator by twos.\n                denominator := div(denominator, twos)\n\n                // Divide [high low] by twos.\n                low := div(low, twos)\n\n                // Flip twos such that it is 2²⁵⁶ / 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 high into low.\n            low |= high * twos;\n\n            // Invert denominator mod 2²⁵⁶. Now that denominator is an odd number, it has an inverse modulo 2²⁵⁶ such\n            // that denominator * inv ≡ 1 mod 2²⁵⁶. Compute the inverse by starting with a seed that is correct for\n            // four bits. That is, denominator * inv ≡ 1 mod 2⁴.\n            uint256 inverse = (3 * denominator) ^ 2;\n\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⁸\n            inverse *= 2 - denominator * inverse; // inverse mod 2¹⁶\n            inverse *= 2 - denominator * inverse; // inverse mod 2³²\n            inverse *= 2 - denominator * inverse; // inverse mod 2⁶⁴\n            inverse *= 2 - denominator * inverse; // inverse mod 2¹²⁸\n            inverse *= 2 - denominator * inverse; // inverse mod 2²⁵⁶\n\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²⁵⁶. Since the preconditions guarantee that the outcome is\n            // less than 2²⁵⁶, this is the final result. We don't need to compute the high bits of the result and high\n            // is no longer required.\n            result = low * inverse;\n            return result;\n        }\n    }\n\n    /**\n     * @dev 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        return mulDiv(x, y, denominator) + SafeCast.toUint(unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0);\n    }\n\n    /**\n     * @dev Calculates floor(x * y >> n) with full precision. Throws if result overflows a uint256.\n     */\n    function mulShr(uint256 x, uint256 y, uint8 n) internal pure returns (uint256 result) {\n        unchecked {\n            (uint256 high, uint256 low) = mul512(x, y);\n            if (high >= 1 << n) {\n                Panic.panic(Panic.UNDER_OVERFLOW);\n            }\n            return (high << (256 - n)) | (low >> n);\n        }\n    }\n\n    /**\n     * @dev Calculates x * y >> n with full precision, following the selected rounding direction.\n     */\n    function mulShr(uint256 x, uint256 y, uint8 n, Rounding rounding) internal pure returns (uint256) {\n        return mulShr(x, y, n) + SafeCast.toUint(unsignedRoundsUp(rounding) && mulmod(x, y, 1 << n) > 0);\n    }\n\n    /**\n     * @dev Calculate the modular multiplicative inverse of a number in Z/nZ.\n     *\n     * If n is a prime, then Z/nZ is a field. In that case all elements are inversible, except 0.\n     * If n is not a prime, then Z/nZ is not a field, and some elements might not be inversible.\n     *\n     * If the input value is not inversible, 0 is returned.\n     *\n     * NOTE: If you know for sure that n is (big) a prime, it may be cheaper to use Fermat's little theorem and get the\n     * inverse using `Math.modExp(a, n - 2, n)`. See {invModPrime}.\n     */\n    function invMod(uint256 a, uint256 n) internal pure returns (uint256) {\n        unchecked {\n            if (n == 0) return 0;\n\n            // The inverse modulo is calculated using the Extended Euclidean Algorithm (iterative version)\n            // Used to compute integers x and y such that: ax + ny = gcd(a, n).\n            // When the gcd is 1, then the inverse of a modulo n exists and it's x.\n            // ax + ny = 1\n            // ax = 1 + (-y)n\n            // ax ≡ 1 (mod n) # x is the inverse of a modulo n\n\n            // If the remainder is 0 the gcd is n right away.\n            uint256 remainder = a % n;\n            uint256 gcd = n;\n\n            // Therefore the initial coefficients are:\n            // ax + ny = gcd(a, n) = n\n            // 0a + 1n = n\n            int256 x = 0;\n            int256 y = 1;\n\n            while (remainder != 0) {\n                uint256 quotient = gcd / remainder;\n\n                (gcd, remainder) = (\n                    // The old remainder is the next gcd to try.\n                    remainder,\n                    // Compute the next remainder.\n                    // Can't overflow given that (a % gcd) * (gcd // (a % gcd)) <= gcd\n                    // where gcd is at most n (capped to type(uint256).max)\n                    gcd - remainder * quotient\n                );\n\n                (x, y) = (\n                    // Increment the coefficient of a.\n                    y,\n                    // Decrement the coefficient of n.\n                    // Can overflow, but the result is casted to uint256 so that the\n                    // next value of y is \"wrapped around\" to a value between 0 and n - 1.\n                    x - y * int256(quotient)\n                );\n            }\n\n            if (gcd != 1) return 0; // No inverse exists.\n            return ternary(x < 0, n - uint256(-x), uint256(x)); // Wrap the result if it's negative.\n        }\n    }\n\n    /**\n     * @dev Variant of {invMod}. More efficient, but only works if `p` is known to be a prime greater than `2`.\n     *\n     * From https://en.wikipedia.org/wiki/Fermat%27s_little_theorem[Fermat's little theorem], we know that if p is\n     * prime, then `a**(p-1) ≡ 1 mod p`. As a consequence, we have `a * a**(p-2) ≡ 1 mod p`, which means that\n     * `a**(p-2)` is the modular multiplicative inverse of a in Fp.\n     *\n     * NOTE: this function does NOT check that `p` is a prime greater than `2`.\n     */\n    function invModPrime(uint256 a, uint256 p) internal view returns (uint256) {\n        unchecked {\n            return Math.modExp(a, p - 2, p);\n        }\n    }\n\n    /**\n     * @dev Returns the modular exponentiation of the specified base, exponent and modulus (b ** e % m)\n     *\n     * Requirements:\n     * - modulus can't be zero\n     * - underlying staticcall to precompile must succeed\n     *\n     * IMPORTANT: The result is only valid if the underlying call succeeds. When using this function, make\n     * sure the chain you're using it on supports the precompiled contract for modular exponentiation\n     * at address 0x05 as specified in https://eips.ethereum.org/EIPS/eip-198[EIP-198]. Otherwise,\n     * the underlying function will succeed given the lack of a revert, but the result may be incorrectly\n     * interpreted as 0.\n     */\n    function modExp(uint256 b, uint256 e, uint256 m) internal view returns (uint256) {\n        (bool success, uint256 result) = tryModExp(b, e, m);\n        if (!success) {\n            Panic.panic(Panic.DIVISION_BY_ZERO);\n        }\n        return result;\n    }\n\n    /**\n     * @dev Returns the modular exponentiation of the specified base, exponent and modulus (b ** e % m).\n     * It includes a success flag indicating if the operation succeeded. Operation will be marked as failed if trying\n     * to operate modulo 0 or if the underlying precompile reverted.\n     *\n     * IMPORTANT: The result is only valid if the success flag is true. When using this function, make sure the chain\n     * you're using it on supports the precompiled contract for modular exponentiation at address 0x05 as specified in\n     * https://eips.ethereum.org/EIPS/eip-198[EIP-198]. Otherwise, the underlying function will succeed given the lack\n     * of a revert, but the result may be incorrectly interpreted as 0.\n     */\n    function tryModExp(uint256 b, uint256 e, uint256 m) internal view returns (bool success, uint256 result) {\n        if (m == 0) return (false, 0);\n        assembly (\"memory-safe\") {\n            let ptr := mload(0x40)\n            // | Offset    | Content    | Content (Hex)                                                      |\n            // |-----------|------------|--------------------------------------------------------------------|\n            // | 0x00:0x1f | size of b  | 0x0000000000000000000000000000000000000000000000000000000000000020 |\n            // | 0x20:0x3f | size of e  | 0x0000000000000000000000000000000000000000000000000000000000000020 |\n            // | 0x40:0x5f | size of m  | 0x0000000000000000000000000000000000000000000000000000000000000020 |\n            // | 0x60:0x7f | value of b | 0x<.............................................................b> |\n            // | 0x80:0x9f | value of e | 0x<.............................................................e> |\n            // | 0xa0:0xbf | value of m | 0x<.............................................................m> |\n            mstore(ptr, 0x20)\n            mstore(add(ptr, 0x20), 0x20)\n            mstore(add(ptr, 0x40), 0x20)\n            mstore(add(ptr, 0x60), b)\n            mstore(add(ptr, 0x80), e)\n            mstore(add(ptr, 0xa0), m)\n\n            // Given the result < m, it's guaranteed to fit in 32 bytes,\n            // so we can use the memory scratch space located at offset 0.\n            success := staticcall(gas(), 0x05, ptr, 0xc0, 0x00, 0x20)\n            result := mload(0x00)\n        }\n    }\n\n    /**\n     * @dev Variant of {modExp} that supports inputs of arbitrary length.\n     */\n    function modExp(bytes memory b, bytes memory e, bytes memory m) internal view returns (bytes memory) {\n        (bool success, bytes memory result) = tryModExp(b, e, m);\n        if (!success) {\n            Panic.panic(Panic.DIVISION_BY_ZERO);\n        }\n        return result;\n    }\n\n    /**\n     * @dev Variant of {tryModExp} that supports inputs of arbitrary length.\n     */\n    function tryModExp(\n        bytes memory b,\n        bytes memory e,\n        bytes memory m\n    ) internal view returns (bool success, bytes memory result) {\n        if (_zeroBytes(m)) return (false, new bytes(0));\n\n        uint256 mLen = m.length;\n\n        // Encode call args in result and move the free memory pointer\n        result = abi.encodePacked(b.length, e.length, mLen, b, e, m);\n\n        assembly (\"memory-safe\") {\n            let dataPtr := add(result, 0x20)\n            // Write result on top of args to avoid allocating extra memory.\n            success := staticcall(gas(), 0x05, dataPtr, mload(result), dataPtr, mLen)\n            // Overwrite the length.\n            // result.length > returndatasize() is guaranteed because returndatasize() == m.length\n            mstore(result, mLen)\n            // Set the memory pointer after the returned data.\n            mstore(0x40, add(dataPtr, mLen))\n        }\n    }\n\n    /**\n     * @dev Returns whether the provided byte array is zero.\n     */\n    function _zeroBytes(bytes memory byteArray) private pure returns (bool) {\n        for (uint256 i = 0; i < byteArray.length; ++i) {\n            if (byteArray[i] != 0) {\n                return false;\n            }\n        }\n        return true;\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     * This method is based on Newton's method for computing square roots; the algorithm is restricted to only\n     * using integer operations.\n     */\n    function sqrt(uint256 a) internal pure returns (uint256) {\n        unchecked {\n            // Take care of easy edge cases when a == 0 or a == 1\n            if (a <= 1) {\n                return a;\n            }\n\n            // In this function, we use Newton's method to get a root of `f(x) := x² - a`. It involves building a\n            // sequence x_n that converges toward sqrt(a). For each iteration x_n, we also define the error between\n            // the current value as `ε_n = | x_n - sqrt(a) |`.\n            //\n            // For our first estimation, we consider `e` the smallest power of 2 which is bigger than the square root\n            // of the target. (i.e. `2**(e-1) ≤ sqrt(a) < 2**e`). We know that `e ≤ 128` because `(2¹²⁸)² = 2²⁵⁶` is\n            // bigger than any uint256.\n            //\n            // By noticing that\n            // `2**(e-1) ≤ sqrt(a) < 2**e → (2**(e-1))² ≤ a < (2**e)² → 2**(2*e-2) ≤ a < 2**(2*e)`\n            // we can deduce that `e - 1` is `log2(a) / 2`. We can thus compute `x_n = 2**(e-1)` using a method similar\n            // to the msb function.\n            uint256 aa = a;\n            uint256 xn = 1;\n\n            if (aa >= (1 << 128)) {\n                aa >>= 128;\n                xn <<= 64;\n            }\n            if (aa >= (1 << 64)) {\n                aa >>= 64;\n                xn <<= 32;\n            }\n            if (aa >= (1 << 32)) {\n                aa >>= 32;\n                xn <<= 16;\n            }\n            if (aa >= (1 << 16)) {\n                aa >>= 16;\n                xn <<= 8;\n            }\n            if (aa >= (1 << 8)) {\n                aa >>= 8;\n                xn <<= 4;\n            }\n            if (aa >= (1 << 4)) {\n                aa >>= 4;\n                xn <<= 2;\n            }\n            if (aa >= (1 << 2)) {\n                xn <<= 1;\n            }\n\n            // We now have x_n such that `x_n = 2**(e-1) ≤ sqrt(a) < 2**e = 2 * x_n`. This implies ε_n ≤ 2**(e-1).\n            //\n            // We can refine our estimation by noticing that the middle of that interval minimizes the error.\n            // If we move x_n to equal 2**(e-1) + 2**(e-2), then we reduce the error to ε_n ≤ 2**(e-2).\n            // This is going to be our x_0 (and ε_0)\n            xn = (3 * xn) >> 1; // ε_0 := | x_0 - sqrt(a) | ≤ 2**(e-2)\n\n            // From here, Newton's method give us:\n            // x_{n+1} = (x_n + a / x_n) / 2\n            //\n            // One should note that:\n            // x_{n+1}² - a = ((x_n + a / x_n) / 2)² - a\n            //              = ((x_n² + a) / (2 * x_n))² - a\n            //              = (x_n⁴ + 2 * a * x_n² + a²) / (4 * x_n²) - a\n            //              = (x_n⁴ + 2 * a * x_n² + a² - 4 * a * x_n²) / (4 * x_n²)\n            //              = (x_n⁴ - 2 * a * x_n² + a²) / (4 * x_n²)\n            //              = (x_n² - a)² / (2 * x_n)²\n            //              = ((x_n² - a) / (2 * x_n))²\n            //              ≥ 0\n            // Which proves that for all n ≥ 1, sqrt(a) ≤ x_n\n            //\n            // This gives us the proof of quadratic convergence of the sequence:\n            // ε_{n+1} = | x_{n+1} - sqrt(a) |\n            //         = | (x_n + a / x_n) / 2 - sqrt(a) |\n            //         = | (x_n² + a - 2*x_n*sqrt(a)) / (2 * x_n) |\n            //         = | (x_n - sqrt(a))² / (2 * x_n) |\n            //         = | ε_n² / (2 * x_n) |\n            //         = ε_n² / | (2 * x_n) |\n            //\n            // For the first iteration, we have a special case where x_0 is known:\n            // ε_1 = ε_0² / | (2 * x_0) |\n            //     ≤ (2**(e-2))² / (2 * (2**(e-1) + 2**(e-2)))\n            //     ≤ 2**(2*e-4) / (3 * 2**(e-1))\n            //     ≤ 2**(e-3) / 3\n            //     ≤ 2**(e-3-log2(3))\n            //     ≤ 2**(e-4.5)\n            //\n            // For the following iterations, we use the fact that, 2**(e-1) ≤ sqrt(a) ≤ x_n:\n            // ε_{n+1} = ε_n² / | (2 * x_n) |\n            //         ≤ (2**(e-k))² / (2 * 2**(e-1))\n            //         ≤ 2**(2*e-2*k) / 2**e\n            //         ≤ 2**(e-2*k)\n            xn = (xn + a / xn) >> 1; // ε_1 := | x_1 - sqrt(a) | ≤ 2**(e-4.5)  -- special case, see above\n            xn = (xn + a / xn) >> 1; // ε_2 := | x_2 - sqrt(a) | ≤ 2**(e-9)    -- general case with k = 4.5\n            xn = (xn + a / xn) >> 1; // ε_3 := | x_3 - sqrt(a) | ≤ 2**(e-18)   -- general case with k = 9\n            xn = (xn + a / xn) >> 1; // ε_4 := | x_4 - sqrt(a) | ≤ 2**(e-36)   -- general case with k = 18\n            xn = (xn + a / xn) >> 1; // ε_5 := | x_5 - sqrt(a) | ≤ 2**(e-72)   -- general case with k = 36\n            xn = (xn + a / xn) >> 1; // ε_6 := | x_6 - sqrt(a) | ≤ 2**(e-144)  -- general case with k = 72\n\n            // Because e ≤ 128 (as discussed during the first estimation phase), we know have reached a precision\n            // ε_6 ≤ 2**(e-144) < 1. Given we're operating on integers, then we can ensure that xn is now either\n            // sqrt(a) or sqrt(a) + 1.\n            return xn - SafeCast.toUint(xn > a / xn);\n        }\n    }\n\n    /**\n     * @dev 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 + SafeCast.toUint(unsignedRoundsUp(rounding) && result * result < a);\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 x) internal pure returns (uint256 r) {\n        // If value has upper 128 bits set, log2 result is at least 128\n        r = SafeCast.toUint(x > 0xffffffffffffffffffffffffffffffff) << 7;\n        // If upper 64 bits of 128-bit half set, add 64 to result\n        r |= SafeCast.toUint((x >> r) > 0xffffffffffffffff) << 6;\n        // If upper 32 bits of 64-bit half set, add 32 to result\n        r |= SafeCast.toUint((x >> r) > 0xffffffff) << 5;\n        // If upper 16 bits of 32-bit half set, add 16 to result\n        r |= SafeCast.toUint((x >> r) > 0xffff) << 4;\n        // If upper 8 bits of 16-bit half set, add 8 to result\n        r |= SafeCast.toUint((x >> r) > 0xff) << 3;\n        // If upper 4 bits of 8-bit half set, add 4 to result\n        r |= SafeCast.toUint((x >> r) > 0xf) << 2;\n\n        // Shifts value right by the current result and use it as an index into this lookup table:\n        //\n        // | x (4 bits) |  index  | table[index] = MSB position |\n        // |------------|---------|-----------------------------|\n        // |    0000    |    0    |        table[0] = 0         |\n        // |    0001    |    1    |        table[1] = 0         |\n        // |    0010    |    2    |        table[2] = 1         |\n        // |    0011    |    3    |        table[3] = 1         |\n        // |    0100    |    4    |        table[4] = 2         |\n        // |    0101    |    5    |        table[5] = 2         |\n        // |    0110    |    6    |        table[6] = 2         |\n        // |    0111    |    7    |        table[7] = 2         |\n        // |    1000    |    8    |        table[8] = 3         |\n        // |    1001    |    9    |        table[9] = 3         |\n        // |    1010    |   10    |        table[10] = 3        |\n        // |    1011    |   11    |        table[11] = 3        |\n        // |    1100    |   12    |        table[12] = 3        |\n        // |    1101    |   13    |        table[13] = 3        |\n        // |    1110    |   14    |        table[14] = 3        |\n        // |    1111    |   15    |        table[15] = 3        |\n        //\n        // The lookup table is represented as a 32-byte value with the MSB positions for 0-15 in the last 16 bytes.\n        assembly (\"memory-safe\") {\n            r := or(r, byte(shr(r, x), 0x0000010102020202030303030303030300000000000000000000000000000000))\n        }\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 + SafeCast.toUint(unsignedRoundsUp(rounding) && 1 << result < value);\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 + SafeCast.toUint(unsignedRoundsUp(rounding) && 10 ** result < value);\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 x) internal pure returns (uint256 r) {\n        // If value has upper 128 bits set, log2 result is at least 128\n        r = SafeCast.toUint(x > 0xffffffffffffffffffffffffffffffff) << 7;\n        // If upper 64 bits of 128-bit half set, add 64 to result\n        r |= SafeCast.toUint((x >> r) > 0xffffffffffffffff) << 6;\n        // If upper 32 bits of 64-bit half set, add 32 to result\n        r |= SafeCast.toUint((x >> r) > 0xffffffff) << 5;\n        // If upper 16 bits of 32-bit half set, add 16 to result\n        r |= SafeCast.toUint((x >> r) > 0xffff) << 4;\n        // Add 1 if upper 8 bits of 16-bit half set, and divide accumulated result by 8\n        return (r >> 3) | SafeCast.toUint((x >> r) > 0xff);\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 + SafeCast.toUint(unsignedRoundsUp(rounding) && 1 << (result << 3) < value);\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"},"lib/openzeppelin-contracts/contracts/utils/math/SafeCast.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/math/SafeCast.sol)\n// This file was procedurally generated from scripts/generate/templates/SafeCast.js.\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Wrappers over Solidity's uintXX/intXX/bool casting operators with added overflow\n * checks.\n *\n * Downcasting from uint256/int256 in Solidity does not revert on overflow. This can\n * easily result in undesired exploitation or bugs, since developers usually\n * assume that overflows raise errors. `SafeCast` restores this intuition by\n * reverting the transaction when such an operation overflows.\n *\n * Using this library instead of the unchecked operations eliminates an entire\n * class of bugs, so it's recommended to use it always.\n */\nlibrary SafeCast {\n    /**\n     * @dev Value doesn't fit in an uint of `bits` size.\n     */\n    error SafeCastOverflowedUintDowncast(uint8 bits, uint256 value);\n\n    /**\n     * @dev An int value doesn't fit in an uint of `bits` size.\n     */\n    error SafeCastOverflowedIntToUint(int256 value);\n\n    /**\n     * @dev Value doesn't fit in an int of `bits` size.\n     */\n    error SafeCastOverflowedIntDowncast(uint8 bits, int256 value);\n\n    /**\n     * @dev An uint value doesn't fit in an int of `bits` size.\n     */\n    error SafeCastOverflowedUintToInt(uint256 value);\n\n    /**\n     * @dev Returns the downcasted uint248 from uint256, reverting on\n     * overflow (when the input is greater than largest uint248).\n     *\n     * Counterpart to Solidity's `uint248` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 248 bits\n     */\n    function toUint248(uint256 value) internal pure returns (uint248) {\n        if (value > type(uint248).max) {\n            revert SafeCastOverflowedUintDowncast(248, value);\n        }\n        return uint248(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint240 from uint256, reverting on\n     * overflow (when the input is greater than largest uint240).\n     *\n     * Counterpart to Solidity's `uint240` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 240 bits\n     */\n    function toUint240(uint256 value) internal pure returns (uint240) {\n        if (value > type(uint240).max) {\n            revert SafeCastOverflowedUintDowncast(240, value);\n        }\n        return uint240(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint232 from uint256, reverting on\n     * overflow (when the input is greater than largest uint232).\n     *\n     * Counterpart to Solidity's `uint232` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 232 bits\n     */\n    function toUint232(uint256 value) internal pure returns (uint232) {\n        if (value > type(uint232).max) {\n            revert SafeCastOverflowedUintDowncast(232, value);\n        }\n        return uint232(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint224 from uint256, reverting on\n     * overflow (when the input is greater than largest uint224).\n     *\n     * Counterpart to Solidity's `uint224` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 224 bits\n     */\n    function toUint224(uint256 value) internal pure returns (uint224) {\n        if (value > type(uint224).max) {\n            revert SafeCastOverflowedUintDowncast(224, value);\n        }\n        return uint224(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint216 from uint256, reverting on\n     * overflow (when the input is greater than largest uint216).\n     *\n     * Counterpart to Solidity's `uint216` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 216 bits\n     */\n    function toUint216(uint256 value) internal pure returns (uint216) {\n        if (value > type(uint216).max) {\n            revert SafeCastOverflowedUintDowncast(216, value);\n        }\n        return uint216(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint208 from uint256, reverting on\n     * overflow (when the input is greater than largest uint208).\n     *\n     * Counterpart to Solidity's `uint208` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 208 bits\n     */\n    function toUint208(uint256 value) internal pure returns (uint208) {\n        if (value > type(uint208).max) {\n            revert SafeCastOverflowedUintDowncast(208, value);\n        }\n        return uint208(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint200 from uint256, reverting on\n     * overflow (when the input is greater than largest uint200).\n     *\n     * Counterpart to Solidity's `uint200` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 200 bits\n     */\n    function toUint200(uint256 value) internal pure returns (uint200) {\n        if (value > type(uint200).max) {\n            revert SafeCastOverflowedUintDowncast(200, value);\n        }\n        return uint200(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint192 from uint256, reverting on\n     * overflow (when the input is greater than largest uint192).\n     *\n     * Counterpart to Solidity's `uint192` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 192 bits\n     */\n    function toUint192(uint256 value) internal pure returns (uint192) {\n        if (value > type(uint192).max) {\n            revert SafeCastOverflowedUintDowncast(192, value);\n        }\n        return uint192(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint184 from uint256, reverting on\n     * overflow (when the input is greater than largest uint184).\n     *\n     * Counterpart to Solidity's `uint184` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 184 bits\n     */\n    function toUint184(uint256 value) internal pure returns (uint184) {\n        if (value > type(uint184).max) {\n            revert SafeCastOverflowedUintDowncast(184, value);\n        }\n        return uint184(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint176 from uint256, reverting on\n     * overflow (when the input is greater than largest uint176).\n     *\n     * Counterpart to Solidity's `uint176` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 176 bits\n     */\n    function toUint176(uint256 value) internal pure returns (uint176) {\n        if (value > type(uint176).max) {\n            revert SafeCastOverflowedUintDowncast(176, value);\n        }\n        return uint176(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint168 from uint256, reverting on\n     * overflow (when the input is greater than largest uint168).\n     *\n     * Counterpart to Solidity's `uint168` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 168 bits\n     */\n    function toUint168(uint256 value) internal pure returns (uint168) {\n        if (value > type(uint168).max) {\n            revert SafeCastOverflowedUintDowncast(168, value);\n        }\n        return uint168(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint160 from uint256, reverting on\n     * overflow (when the input is greater than largest uint160).\n     *\n     * Counterpart to Solidity's `uint160` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 160 bits\n     */\n    function toUint160(uint256 value) internal pure returns (uint160) {\n        if (value > type(uint160).max) {\n            revert SafeCastOverflowedUintDowncast(160, value);\n        }\n        return uint160(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint152 from uint256, reverting on\n     * overflow (when the input is greater than largest uint152).\n     *\n     * Counterpart to Solidity's `uint152` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 152 bits\n     */\n    function toUint152(uint256 value) internal pure returns (uint152) {\n        if (value > type(uint152).max) {\n            revert SafeCastOverflowedUintDowncast(152, value);\n        }\n        return uint152(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint144 from uint256, reverting on\n     * overflow (when the input is greater than largest uint144).\n     *\n     * Counterpart to Solidity's `uint144` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 144 bits\n     */\n    function toUint144(uint256 value) internal pure returns (uint144) {\n        if (value > type(uint144).max) {\n            revert SafeCastOverflowedUintDowncast(144, value);\n        }\n        return uint144(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint136 from uint256, reverting on\n     * overflow (when the input is greater than largest uint136).\n     *\n     * Counterpart to Solidity's `uint136` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 136 bits\n     */\n    function toUint136(uint256 value) internal pure returns (uint136) {\n        if (value > type(uint136).max) {\n            revert SafeCastOverflowedUintDowncast(136, value);\n        }\n        return uint136(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint128 from uint256, reverting on\n     * overflow (when the input is greater than largest uint128).\n     *\n     * Counterpart to Solidity's `uint128` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 128 bits\n     */\n    function toUint128(uint256 value) internal pure returns (uint128) {\n        if (value > type(uint128).max) {\n            revert SafeCastOverflowedUintDowncast(128, value);\n        }\n        return uint128(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint120 from uint256, reverting on\n     * overflow (when the input is greater than largest uint120).\n     *\n     * Counterpart to Solidity's `uint120` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 120 bits\n     */\n    function toUint120(uint256 value) internal pure returns (uint120) {\n        if (value > type(uint120).max) {\n            revert SafeCastOverflowedUintDowncast(120, value);\n        }\n        return uint120(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint112 from uint256, reverting on\n     * overflow (when the input is greater than largest uint112).\n     *\n     * Counterpart to Solidity's `uint112` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 112 bits\n     */\n    function toUint112(uint256 value) internal pure returns (uint112) {\n        if (value > type(uint112).max) {\n            revert SafeCastOverflowedUintDowncast(112, value);\n        }\n        return uint112(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint104 from uint256, reverting on\n     * overflow (when the input is greater than largest uint104).\n     *\n     * Counterpart to Solidity's `uint104` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 104 bits\n     */\n    function toUint104(uint256 value) internal pure returns (uint104) {\n        if (value > type(uint104).max) {\n            revert SafeCastOverflowedUintDowncast(104, value);\n        }\n        return uint104(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint96 from uint256, reverting on\n     * overflow (when the input is greater than largest uint96).\n     *\n     * Counterpart to Solidity's `uint96` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 96 bits\n     */\n    function toUint96(uint256 value) internal pure returns (uint96) {\n        if (value > type(uint96).max) {\n            revert SafeCastOverflowedUintDowncast(96, value);\n        }\n        return uint96(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint88 from uint256, reverting on\n     * overflow (when the input is greater than largest uint88).\n     *\n     * Counterpart to Solidity's `uint88` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 88 bits\n     */\n    function toUint88(uint256 value) internal pure returns (uint88) {\n        if (value > type(uint88).max) {\n            revert SafeCastOverflowedUintDowncast(88, value);\n        }\n        return uint88(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint80 from uint256, reverting on\n     * overflow (when the input is greater than largest uint80).\n     *\n     * Counterpart to Solidity's `uint80` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 80 bits\n     */\n    function toUint80(uint256 value) internal pure returns (uint80) {\n        if (value > type(uint80).max) {\n            revert SafeCastOverflowedUintDowncast(80, value);\n        }\n        return uint80(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint72 from uint256, reverting on\n     * overflow (when the input is greater than largest uint72).\n     *\n     * Counterpart to Solidity's `uint72` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 72 bits\n     */\n    function toUint72(uint256 value) internal pure returns (uint72) {\n        if (value > type(uint72).max) {\n            revert SafeCastOverflowedUintDowncast(72, value);\n        }\n        return uint72(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint64 from uint256, reverting on\n     * overflow (when the input is greater than largest uint64).\n     *\n     * Counterpart to Solidity's `uint64` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 64 bits\n     */\n    function toUint64(uint256 value) internal pure returns (uint64) {\n        if (value > type(uint64).max) {\n            revert SafeCastOverflowedUintDowncast(64, value);\n        }\n        return uint64(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint56 from uint256, reverting on\n     * overflow (when the input is greater than largest uint56).\n     *\n     * Counterpart to Solidity's `uint56` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 56 bits\n     */\n    function toUint56(uint256 value) internal pure returns (uint56) {\n        if (value > type(uint56).max) {\n            revert SafeCastOverflowedUintDowncast(56, value);\n        }\n        return uint56(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint48 from uint256, reverting on\n     * overflow (when the input is greater than largest uint48).\n     *\n     * Counterpart to Solidity's `uint48` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 48 bits\n     */\n    function toUint48(uint256 value) internal pure returns (uint48) {\n        if (value > type(uint48).max) {\n            revert SafeCastOverflowedUintDowncast(48, value);\n        }\n        return uint48(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint40 from uint256, reverting on\n     * overflow (when the input is greater than largest uint40).\n     *\n     * Counterpart to Solidity's `uint40` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 40 bits\n     */\n    function toUint40(uint256 value) internal pure returns (uint40) {\n        if (value > type(uint40).max) {\n            revert SafeCastOverflowedUintDowncast(40, value);\n        }\n        return uint40(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint32 from uint256, reverting on\n     * overflow (when the input is greater than largest uint32).\n     *\n     * Counterpart to Solidity's `uint32` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 32 bits\n     */\n    function toUint32(uint256 value) internal pure returns (uint32) {\n        if (value > type(uint32).max) {\n            revert SafeCastOverflowedUintDowncast(32, value);\n        }\n        return uint32(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint24 from uint256, reverting on\n     * overflow (when the input is greater than largest uint24).\n     *\n     * Counterpart to Solidity's `uint24` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 24 bits\n     */\n    function toUint24(uint256 value) internal pure returns (uint24) {\n        if (value > type(uint24).max) {\n            revert SafeCastOverflowedUintDowncast(24, value);\n        }\n        return uint24(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint16 from uint256, reverting on\n     * overflow (when the input is greater than largest uint16).\n     *\n     * Counterpart to Solidity's `uint16` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 16 bits\n     */\n    function toUint16(uint256 value) internal pure returns (uint16) {\n        if (value > type(uint16).max) {\n            revert SafeCastOverflowedUintDowncast(16, value);\n        }\n        return uint16(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint8 from uint256, reverting on\n     * overflow (when the input is greater than largest uint8).\n     *\n     * Counterpart to Solidity's `uint8` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 8 bits\n     */\n    function toUint8(uint256 value) internal pure returns (uint8) {\n        if (value > type(uint8).max) {\n            revert SafeCastOverflowedUintDowncast(8, value);\n        }\n        return uint8(value);\n    }\n\n    /**\n     * @dev Converts a signed int256 into an unsigned uint256.\n     *\n     * Requirements:\n     *\n     * - input must be greater than or equal to 0.\n     */\n    function toUint256(int256 value) internal pure returns (uint256) {\n        if (value < 0) {\n            revert SafeCastOverflowedIntToUint(value);\n        }\n        return uint256(value);\n    }\n\n    /**\n     * @dev Returns the downcasted int248 from int256, reverting on\n     * overflow (when the input is less than smallest int248 or\n     * greater than largest int248).\n     *\n     * Counterpart to Solidity's `int248` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 248 bits\n     */\n    function toInt248(int256 value) internal pure returns (int248 downcasted) {\n        downcasted = int248(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(248, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int240 from int256, reverting on\n     * overflow (when the input is less than smallest int240 or\n     * greater than largest int240).\n     *\n     * Counterpart to Solidity's `int240` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 240 bits\n     */\n    function toInt240(int256 value) internal pure returns (int240 downcasted) {\n        downcasted = int240(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(240, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int232 from int256, reverting on\n     * overflow (when the input is less than smallest int232 or\n     * greater than largest int232).\n     *\n     * Counterpart to Solidity's `int232` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 232 bits\n     */\n    function toInt232(int256 value) internal pure returns (int232 downcasted) {\n        downcasted = int232(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(232, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int224 from int256, reverting on\n     * overflow (when the input is less than smallest int224 or\n     * greater than largest int224).\n     *\n     * Counterpart to Solidity's `int224` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 224 bits\n     */\n    function toInt224(int256 value) internal pure returns (int224 downcasted) {\n        downcasted = int224(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(224, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int216 from int256, reverting on\n     * overflow (when the input is less than smallest int216 or\n     * greater than largest int216).\n     *\n     * Counterpart to Solidity's `int216` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 216 bits\n     */\n    function toInt216(int256 value) internal pure returns (int216 downcasted) {\n        downcasted = int216(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(216, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int208 from int256, reverting on\n     * overflow (when the input is less than smallest int208 or\n     * greater than largest int208).\n     *\n     * Counterpart to Solidity's `int208` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 208 bits\n     */\n    function toInt208(int256 value) internal pure returns (int208 downcasted) {\n        downcasted = int208(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(208, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int200 from int256, reverting on\n     * overflow (when the input is less than smallest int200 or\n     * greater than largest int200).\n     *\n     * Counterpart to Solidity's `int200` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 200 bits\n     */\n    function toInt200(int256 value) internal pure returns (int200 downcasted) {\n        downcasted = int200(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(200, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int192 from int256, reverting on\n     * overflow (when the input is less than smallest int192 or\n     * greater than largest int192).\n     *\n     * Counterpart to Solidity's `int192` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 192 bits\n     */\n    function toInt192(int256 value) internal pure returns (int192 downcasted) {\n        downcasted = int192(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(192, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int184 from int256, reverting on\n     * overflow (when the input is less than smallest int184 or\n     * greater than largest int184).\n     *\n     * Counterpart to Solidity's `int184` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 184 bits\n     */\n    function toInt184(int256 value) internal pure returns (int184 downcasted) {\n        downcasted = int184(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(184, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int176 from int256, reverting on\n     * overflow (when the input is less than smallest int176 or\n     * greater than largest int176).\n     *\n     * Counterpart to Solidity's `int176` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 176 bits\n     */\n    function toInt176(int256 value) internal pure returns (int176 downcasted) {\n        downcasted = int176(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(176, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int168 from int256, reverting on\n     * overflow (when the input is less than smallest int168 or\n     * greater than largest int168).\n     *\n     * Counterpart to Solidity's `int168` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 168 bits\n     */\n    function toInt168(int256 value) internal pure returns (int168 downcasted) {\n        downcasted = int168(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(168, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int160 from int256, reverting on\n     * overflow (when the input is less than smallest int160 or\n     * greater than largest int160).\n     *\n     * Counterpart to Solidity's `int160` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 160 bits\n     */\n    function toInt160(int256 value) internal pure returns (int160 downcasted) {\n        downcasted = int160(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(160, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int152 from int256, reverting on\n     * overflow (when the input is less than smallest int152 or\n     * greater than largest int152).\n     *\n     * Counterpart to Solidity's `int152` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 152 bits\n     */\n    function toInt152(int256 value) internal pure returns (int152 downcasted) {\n        downcasted = int152(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(152, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int144 from int256, reverting on\n     * overflow (when the input is less than smallest int144 or\n     * greater than largest int144).\n     *\n     * Counterpart to Solidity's `int144` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 144 bits\n     */\n    function toInt144(int256 value) internal pure returns (int144 downcasted) {\n        downcasted = int144(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(144, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int136 from int256, reverting on\n     * overflow (when the input is less than smallest int136 or\n     * greater than largest int136).\n     *\n     * Counterpart to Solidity's `int136` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 136 bits\n     */\n    function toInt136(int256 value) internal pure returns (int136 downcasted) {\n        downcasted = int136(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(136, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int128 from int256, reverting on\n     * overflow (when the input is less than smallest int128 or\n     * greater than largest int128).\n     *\n     * Counterpart to Solidity's `int128` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 128 bits\n     */\n    function toInt128(int256 value) internal pure returns (int128 downcasted) {\n        downcasted = int128(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(128, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int120 from int256, reverting on\n     * overflow (when the input is less than smallest int120 or\n     * greater than largest int120).\n     *\n     * Counterpart to Solidity's `int120` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 120 bits\n     */\n    function toInt120(int256 value) internal pure returns (int120 downcasted) {\n        downcasted = int120(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(120, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int112 from int256, reverting on\n     * overflow (when the input is less than smallest int112 or\n     * greater than largest int112).\n     *\n     * Counterpart to Solidity's `int112` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 112 bits\n     */\n    function toInt112(int256 value) internal pure returns (int112 downcasted) {\n        downcasted = int112(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(112, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int104 from int256, reverting on\n     * overflow (when the input is less than smallest int104 or\n     * greater than largest int104).\n     *\n     * Counterpart to Solidity's `int104` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 104 bits\n     */\n    function toInt104(int256 value) internal pure returns (int104 downcasted) {\n        downcasted = int104(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(104, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int96 from int256, reverting on\n     * overflow (when the input is less than smallest int96 or\n     * greater than largest int96).\n     *\n     * Counterpart to Solidity's `int96` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 96 bits\n     */\n    function toInt96(int256 value) internal pure returns (int96 downcasted) {\n        downcasted = int96(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(96, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int88 from int256, reverting on\n     * overflow (when the input is less than smallest int88 or\n     * greater than largest int88).\n     *\n     * Counterpart to Solidity's `int88` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 88 bits\n     */\n    function toInt88(int256 value) internal pure returns (int88 downcasted) {\n        downcasted = int88(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(88, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int80 from int256, reverting on\n     * overflow (when the input is less than smallest int80 or\n     * greater than largest int80).\n     *\n     * Counterpart to Solidity's `int80` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 80 bits\n     */\n    function toInt80(int256 value) internal pure returns (int80 downcasted) {\n        downcasted = int80(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(80, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int72 from int256, reverting on\n     * overflow (when the input is less than smallest int72 or\n     * greater than largest int72).\n     *\n     * Counterpart to Solidity's `int72` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 72 bits\n     */\n    function toInt72(int256 value) internal pure returns (int72 downcasted) {\n        downcasted = int72(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(72, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int64 from int256, reverting on\n     * overflow (when the input is less than smallest int64 or\n     * greater than largest int64).\n     *\n     * Counterpart to Solidity's `int64` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 64 bits\n     */\n    function toInt64(int256 value) internal pure returns (int64 downcasted) {\n        downcasted = int64(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(64, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int56 from int256, reverting on\n     * overflow (when the input is less than smallest int56 or\n     * greater than largest int56).\n     *\n     * Counterpart to Solidity's `int56` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 56 bits\n     */\n    function toInt56(int256 value) internal pure returns (int56 downcasted) {\n        downcasted = int56(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(56, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int48 from int256, reverting on\n     * overflow (when the input is less than smallest int48 or\n     * greater than largest int48).\n     *\n     * Counterpart to Solidity's `int48` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 48 bits\n     */\n    function toInt48(int256 value) internal pure returns (int48 downcasted) {\n        downcasted = int48(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(48, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int40 from int256, reverting on\n     * overflow (when the input is less than smallest int40 or\n     * greater than largest int40).\n     *\n     * Counterpart to Solidity's `int40` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 40 bits\n     */\n    function toInt40(int256 value) internal pure returns (int40 downcasted) {\n        downcasted = int40(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(40, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int32 from int256, reverting on\n     * overflow (when the input is less than smallest int32 or\n     * greater than largest int32).\n     *\n     * Counterpart to Solidity's `int32` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 32 bits\n     */\n    function toInt32(int256 value) internal pure returns (int32 downcasted) {\n        downcasted = int32(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(32, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int24 from int256, reverting on\n     * overflow (when the input is less than smallest int24 or\n     * greater than largest int24).\n     *\n     * Counterpart to Solidity's `int24` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 24 bits\n     */\n    function toInt24(int256 value) internal pure returns (int24 downcasted) {\n        downcasted = int24(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(24, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int16 from int256, reverting on\n     * overflow (when the input is less than smallest int16 or\n     * greater than largest int16).\n     *\n     * Counterpart to Solidity's `int16` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 16 bits\n     */\n    function toInt16(int256 value) internal pure returns (int16 downcasted) {\n        downcasted = int16(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(16, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int8 from int256, reverting on\n     * overflow (when the input is less than smallest int8 or\n     * greater than largest int8).\n     *\n     * Counterpart to Solidity's `int8` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 8 bits\n     */\n    function toInt8(int256 value) internal pure returns (int8 downcasted) {\n        downcasted = int8(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(8, value);\n        }\n    }\n\n    /**\n     * @dev Converts an unsigned uint256 into a signed int256.\n     *\n     * Requirements:\n     *\n     * - input must be less than or equal to maxInt256.\n     */\n    function toInt256(uint256 value) internal pure returns (int256) {\n        // Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive\n        if (value > uint256(type(int256).max)) {\n            revert SafeCastOverflowedUintToInt(value);\n        }\n        return int256(value);\n    }\n\n    /**\n     * @dev Cast a boolean (false or true) to a uint256 (0 or 1) with no jump.\n     */\n    function toUint(bool b) internal pure returns (uint256 u) {\n        assembly (\"memory-safe\") {\n            u := iszero(iszero(b))\n        }\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/math/SignedMath.sol)\n\npragma solidity ^0.8.20;\n\nimport {SafeCast} from \"./SafeCast.sol\";\n\n/**\n * @dev Standard signed math utilities missing in the Solidity language.\n */\nlibrary SignedMath {\n    /**\n     * @dev Branchless ternary evaluation for `a ? b : c`. Gas costs are constant.\n     *\n     * IMPORTANT: This function may reduce bytecode size and consume less gas when used standalone.\n     * However, the compiler may optimize Solidity ternary operations (i.e. `a ? b : c`) to only compute\n     * one branch when needed, making this function more expensive.\n     */\n    function ternary(bool condition, int256 a, int256 b) internal pure returns (int256) {\n        unchecked {\n            // branchless ternary works because:\n            // b ^ (a ^ b) == a\n            // b ^ 0 == b\n            return b ^ ((a ^ b) * int256(SafeCast.toUint(condition)));\n        }\n    }\n\n    /**\n     * @dev Returns the largest of two signed numbers.\n     */\n    function max(int256 a, int256 b) internal pure returns (int256) {\n        return ternary(a > b, a, b);\n    }\n\n    /**\n     * @dev Returns the smallest of two signed numbers.\n     */\n    function min(int256 a, int256 b) internal pure returns (int256) {\n        return ternary(a < b, a, b);\n    }\n\n    /**\n     * @dev Returns the average of two signed numbers without overflow.\n     * The result is rounded towards zero.\n     */\n    function average(int256 a, int256 b) internal pure returns (int256) {\n        // Formula from the book \"Hacker's Delight\"\n        int256 x = (a & b) + ((a ^ b) >> 1);\n        return x + (int256(uint256(x) >> 255) & (a ^ b));\n    }\n\n    /**\n     * @dev Returns the absolute unsigned value of a signed value.\n     */\n    function abs(int256 n) internal pure returns (uint256) {\n        unchecked {\n            // Formula from the \"Bit Twiddling Hacks\" by Sean Eron Anderson.\n            // Since `n` is a signed integer, the generated bytecode will use the SAR opcode to perform the right shift,\n            // taking advantage of the most significant (or \"sign\" bit) in two's complement representation.\n            // This opcode adds new most significant bits set to the value of the previous most significant bit. As a result,\n            // the mask will either be `bytes32(0)` (if n is positive) or `~bytes32(0)` (if n is negative).\n            int256 mask = n >> 255;\n\n            // A `bytes32(0)` mask leaves the input unchanged, while a `~bytes32(0)` mask complements it.\n            return uint256((n + mask) ^ mask);\n        }\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/utils/Panic.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/Panic.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Helper library for emitting standardized panic codes.\n *\n * ```solidity\n * contract Example {\n *      using Panic for uint256;\n *\n *      // Use any of the declared internal constants\n *      function foo() { Panic.GENERIC.panic(); }\n *\n *      // Alternatively\n *      function foo() { Panic.panic(Panic.GENERIC); }\n * }\n * ```\n *\n * Follows the list from https://github.com/ethereum/solidity/blob/v0.8.24/libsolutil/ErrorCodes.h[libsolutil].\n *\n * _Available since v5.1._\n */\n// slither-disable-next-line unused-state\nlibrary Panic {\n    /// @dev generic / unspecified error\n    uint256 internal constant GENERIC = 0x00;\n    /// @dev used by the assert() builtin\n    uint256 internal constant ASSERT = 0x01;\n    /// @dev arithmetic underflow or overflow\n    uint256 internal constant UNDER_OVERFLOW = 0x11;\n    /// @dev division or modulo by zero\n    uint256 internal constant DIVISION_BY_ZERO = 0x12;\n    /// @dev enum conversion error\n    uint256 internal constant ENUM_CONVERSION_ERROR = 0x21;\n    /// @dev invalid encoding in storage\n    uint256 internal constant STORAGE_ENCODING_ERROR = 0x22;\n    /// @dev empty array pop\n    uint256 internal constant EMPTY_ARRAY_POP = 0x31;\n    /// @dev array out of bounds access\n    uint256 internal constant ARRAY_OUT_OF_BOUNDS = 0x32;\n    /// @dev resource error (too large allocation or too large array)\n    uint256 internal constant RESOURCE_ERROR = 0x41;\n    /// @dev calling invalid internal function\n    uint256 internal constant INVALID_INTERNAL_FUNCTION = 0x51;\n\n    /// @dev Reverts with a panic code. Recommended to use with\n    /// the internal constants with predefined codes.\n    function panic(uint256 code) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0x00, 0x4e487b71)\n            mstore(0x20, code)\n            revert(0x1c, 0x24)\n        }\n    }\n}\n"}},"compilation":{"language":"Solidity","compiler":"solc","compilerVersion":"0.8.23+commit.f704f362","compilerSettings":{"metadata":{"bytecodeHash":"ipfs"},"libraries":{},"optimizer":{"runs":200,"enabled":true},"evmVersion":"shanghai","remappings":[":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",":forge-std/=lib/forge-std/src/",":halmos-cheatcodes/=lib/openzeppelin-contracts/lib/halmos-cheatcodes/src/",":openzeppelin-contracts/contracts/=lib/openzeppelin-contracts/contracts/",":openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/"]},"name":"Contract","fullyQualifiedName":"src/Contract.sol:Contract"},"abi":[{"type":"constructor","inputs":[{"name":"params","type":"tuple","components":[{"name":"name","type":"string","internalType":"string"},{"name":"symbol","type":"string","internalType":"string"},{"name":"decimals","type":"uint8","internalType":"uint8"},{"name":"totalSupply","type":"uint256","internalType":"uint256"},{"name":"initialTax","type":"uint8","internalType":"uint8"},{"name":"taxReductionInterval","type":"uint256","internalType":"uint256"},{"name":"initialTaxDuration","type":"uint256","internalType":"uint256"},{"name":"taxReductionRate","type":"uint8","internalType":"uint8"},{"name":"taxRecipient","type":"address","internalType":"address"},{"name":"weth","type":"address","internalType":"address"},{"name":"router","type":"address","internalType":"address"},{"name":"factory","type":"address","internalType":"address"},{"name":"owner","type":"address","internalType":"address"}],"internalType":"struct Contract.InitParams"}],"stateMutability":"nonpayable"},{"name":"ECDSAInvalidSignature","type":"error","inputs":[]},{"name":"ECDSAInvalidSignatureLength","type":"error","inputs":[{"name":"length","type":"uint256","internalType":"uint256"}]},{"name":"ECDSAInvalidSignatureS","type":"error","inputs":[{"name":"s","type":"bytes32","internalType":"bytes32"}]},{"name":"ERC20InsufficientAllowance","type":"error","inputs":[{"name":"spender","type":"address","internalType":"address"},{"name":"allowance","type":"uint256","internalType":"uint256"},{"name":"needed","type":"uint256","internalType":"uint256"}]},{"name":"ERC20InsufficientBalance","type":"error","inputs":[{"name":"sender","type":"address","internalType":"address"},{"name":"balance","type":"uint256","internalType":"uint256"},{"name":"needed","type":"uint256","internalType":"uint256"}]},{"name":"ERC20InvalidApprover","type":"error","inputs":[{"name":"approver","type":"address","internalType":"address"}]},{"name":"ERC20InvalidReceiver","type":"error","inputs":[{"name":"receiver","type":"address","internalType":"address"}]},{"name":"ERC20InvalidSender","type":"error","inputs":[{"name":"sender","type":"address","internalType":"address"}]},{"name":"ERC20InvalidSpender","type":"error","inputs":[{"name":"spender","type":"address","internalType":"address"}]},{"name":"ERC2612ExpiredSignature","type":"error","inputs":[{"name":"deadline","type":"uint256","internalType":"uint256"}]},{"name":"ERC2612InvalidSigner","type":"error","inputs":[{"name":"signer","type":"address","internalType":"address"},{"name":"owner","type":"address","internalType":"address"}]},{"name":"InvalidAccountNonce","type":"error","inputs":[{"name":"account","type":"address","internalType":"address"},{"name":"currentNonce","type":"uint256","internalType":"uint256"}]},{"name":"InvalidShortString","type":"error","inputs":[]},{"name":"OwnableInvalidOwner","type":"error","inputs":[{"name":"owner","type":"address","internalType":"address"}]},{"name":"OwnableUnauthorizedAccount","type":"error","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"name":"ReentrancyGuardReentrantCall","type":"error","inputs":[]},{"name":"SafeERC20FailedOperation","type":"error","inputs":[{"name":"token","type":"address","internalType":"address"}]},{"name":"StringTooLong","type":"error","inputs":[{"name":"str","type":"string","internalType":"string"}]},{"name":"Approval","type":"event","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"spender","type":"address","indexed":true,"internalType":"address"},{"name":"value","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"EIP712DomainChanged","type":"event","inputs":[],"anonymous":false},{"name":"LPTokensBurned","type":"event","inputs":[{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"}],"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":"TaxReductionCompleted","type":"event","inputs":[],"anonymous":false},{"name":"Transfer","type":"event","inputs":[{"name":"from","type":"address","indexed":true,"internalType":"address"},{"name":"to","type":"address","indexed":true,"internalType":"address"},{"name":"value","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"fallback","stateMutability":"payable"},{"name":"DOMAIN_SEPARATOR","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"allowance","type":"function","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"spender","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"approve","type":"function","inputs":[{"name":"spender","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"balanceOf","type":"function","inputs":[{"name":"account","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"claimPoolFees","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"createLiquidityPool","type":"function","inputs":[{"name":"ethAmount","type":"uint256","internalType":"uint256"},{"name":"maxSlippage","type":"uint16","internalType":"uint16"}],"outputs":[],"stateMutability":"payable"},{"name":"decimals","type":"function","inputs":[],"outputs":[{"name":"","type":"uint8","internalType":"uint8"}],"stateMutability":"view"},{"name":"decreaseAllowance","type":"function","inputs":[{"name":"spender","type":"address","internalType":"address"},{"name":"subtractedValue","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"eip712Domain","type":"function","inputs":[],"outputs":[{"name":"fields","type":"bytes1","internalType":"bytes1"},{"name":"name","type":"string","internalType":"string"},{"name":"version","type":"string","internalType":"string"},{"name":"chainId","type":"uint256","internalType":"uint256"},{"name":"verifyingContract","type":"address","internalType":"address"},{"name":"salt","type":"bytes32","internalType":"bytes32"},{"name":"extensions","type":"uint256[]","internalType":"uint256[]"}],"stateMutability":"view"},{"name":"getCurrentTax","type":"function","inputs":[],"outputs":[{"name":"","type":"uint8","internalType":"uint8"}],"stateMutability":"view"},{"name":"increaseAllowance","type":"function","inputs":[{"name":"spender","type":"address","internalType":"address"},{"name":"addedValue","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"liquidityPool","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"name","type":"function","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"nonces","type":"function","inputs":[{"name":"owner","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"owner","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"permit","type":"function","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"spender","type":"address","internalType":"address"},{"name":"value","type":"uint256","internalType":"uint256"},{"name":"deadline","type":"uint256","internalType":"uint256"},{"name":"v","type":"uint8","internalType":"uint8"},{"name":"r","type":"bytes32","internalType":"bytes32"},{"name":"s","type":"bytes32","internalType":"bytes32"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"renounceOwnership","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"symbol","type":"function","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"totalSupply","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"transfer","type":"function","inputs":[{"name":"to","type":"address","internalType":"address"},{"name":"value","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"transferFrom","type":"function","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"value","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"transferOwnership","type":"function","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"receive","stateMutability":"payable"}],"metadata":{"compiler":{"version":"0.8.23+commit.f704f362"},"language":"Solidity","output":{"abi":[{"inputs":[{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint8","name":"decimals","type":"uint8"},{"internalType":"uint256","name":"totalSupply","type":"uint256"},{"internalType":"uint8","name":"initialTax","type":"uint8"},{"internalType":"uint256","name":"taxReductionInterval","type":"uint256"},{"internalType":"uint256","name":"initialTaxDuration","type":"uint256"},{"internalType":"uint8","name":"taxReductionRate","type":"uint8"},{"internalType":"address","name":"taxRecipient","type":"address"},{"internalType":"address","name":"weth","type":"address"},{"internalType":"address","name":"router","type":"address"},{"internalType":"address","name":"factory","type":"address"},{"internalType":"address","name":"owner","type":"address"}],"internalType":"struct Contract.InitParams","name":"params","type":"tuple"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ECDSAInvalidSignature","type":"error"},{"inputs":[{"internalType":"uint256","name":"length","type":"uint256"}],"name":"ECDSAInvalidSignatureLength","type":"error"},{"inputs":[{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"ECDSAInvalidSignatureS","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"ERC2612ExpiredSignature","type":"error"},{"inputs":[{"internalType":"address","name":"signer","type":"address"},{"internalType":"address","name":"owner","type":"address"}],"name":"ERC2612InvalidSigner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"currentNonce","type":"uint256"}],"name":"InvalidAccountNonce","type":"error"},{"inputs":[],"name":"InvalidShortString","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":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"inputs":[{"internalType":"string","name":"str","type":"string"}],"name":"StringTooLong","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[],"name":"EIP712DomainChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"LPTokensBurned","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":[],"name":"TaxReductionCompleted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimPoolFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"ethAmount","type":"uint256"},{"internalType":"uint16","name":"maxSlippage","type":"uint16"}],"name":"createLiquidityPool","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"eip712Domain","outputs":[{"internalType":"bytes1","name":"fields","type":"bytes1"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"version","type":"string"},{"internalType":"uint256","name":"chainId","type":"uint256"},{"internalType":"address","name":"verifyingContract","type":"address"},{"internalType":"bytes32","name":"salt","type":"bytes32"},{"internalType":"uint256[]","name":"extensions","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentTax","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"liquidityPool","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}],"devdoc":{"details":"Token implements a tax system that reduces over time and includes liquidity pool creation/management features. The tax starts at an initial rate and reduces by a fixed percentage after an initial period. Tax reduction occurs in steps: after the initial period 2minutes at 2 seconds per block,  tax reduces by 1% every 30sec at 2 seconds per block until it reaches 0%.","errors":{"ECDSAInvalidSignature()":[{"details":"The signature derives the `address(0)`."}],"ECDSAInvalidSignatureLength(uint256)":[{"details":"The signature has an invalid length."}],"ECDSAInvalidSignatureS(bytes32)":[{"details":"The signature has an S value that is in the upper half order."}],"ERC20InsufficientAllowance(address,uint256,uint256)":[{"details":"Indicates a failure with the `spender`’s `allowance`. Used in transfers.","params":{"allowance":"Amount of tokens a `spender` is allowed to operate with.","needed":"Minimum amount required to perform a transfer.","spender":"Address that may be allowed to operate on tokens without being their owner."}}],"ERC20InsufficientBalance(address,uint256,uint256)":[{"details":"Indicates an error related to the current `balance` of a `sender`. Used in transfers.","params":{"balance":"Current balance for the interacting account.","needed":"Minimum amount required to perform a transfer.","sender":"Address whose tokens are being transferred."}}],"ERC20InvalidApprover(address)":[{"details":"Indicates a failure with the `approver` of a token to be approved. Used in approvals.","params":{"approver":"Address initiating an approval operation."}}],"ERC20InvalidReceiver(address)":[{"details":"Indicates a failure with the token `receiver`. Used in transfers.","params":{"receiver":"Address to which tokens are being transferred."}}],"ERC20InvalidSender(address)":[{"details":"Indicates a failure with the token `sender`. Used in transfers.","params":{"sender":"Address whose tokens are being transferred."}}],"ERC20InvalidSpender(address)":[{"details":"Indicates a failure with the `spender` to be approved. Used in approvals.","params":{"spender":"Address that may be allowed to operate on tokens without being their owner."}}],"ERC2612ExpiredSignature(uint256)":[{"details":"Permit deadline has expired."}],"ERC2612InvalidSigner(address,address)":[{"details":"Mismatched signature."}],"InvalidAccountNonce(address,uint256)":[{"details":"The nonce used for an `account` is not the expected current nonce."}],"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 ERC-20 token failed."}]},"events":{"Approval(address,address,uint256)":{"details":"Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance."},"EIP712DomainChanged()":{"details":"MAY be emitted to signal that the domain could have changed."},"LPTokensBurned(uint256)":{"params":{"amount":"The amount of LP tokens burned"}},"Transfer(address,address,uint256)":{"details":"Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero."}},"kind":"dev","methods":{"DOMAIN_SEPARATOR()":{"details":"Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}."},"allowance(address,address)":{"details":"See {IERC20-allowance}."},"approve(address,uint256)":{"details":"Requires previous allowance to be 0 or new allowance to be 0 for safety","params":{"amount":"Amount of tokens approved to spend","spender":"Address authorized to spend tokens"},"returns":{"_0":"success Whether the approval was successful"}},"balanceOf(address)":{"details":"See {IERC20-balanceOf}."},"claimPoolFees()":{"details":"Only callable by owner, sends claimed fees to tax recipient"},"constructor":{"details":"All tokens are initially minted to the contract itself","params":{"params":"Struct containing all initialization parameters"}},"createLiquidityPool(uint256,uint16)":{"details":"Creates a volatile pool on Aerodrome","params":{"ethAmount":"Amount of ETH to add as initial liquidity","maxSlippage":"Maximum allowed slippage in basis points (1 = 0.01%, max 1000 = 10%)"}},"decimals()":{"details":"Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). Tokens usually opt for a value of 18, imitating the relationship between Ether and Wei. This is the default value returned by this function, unless it's overridden. NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}."},"decreaseAllowance(address,uint256)":{"details":"Checks that decrease doesn't go below zero","params":{"spender":"Address authorized to spend tokens","subtractedValue":"Amount to decrease the allowance by"},"returns":{"_0":"success Whether the allowance was decreased"}},"eip712Domain()":{"details":"returns the fields and values that describe the domain separator used by this contract for EIP-712 signature."},"getCurrentTax()":{"details":"Tax remains at initial rate during initial period, then reduces by taxReductionRate every interval","returns":{"_0":"Current tax rate as a percentage (0-100)"}},"increaseAllowance(address,uint256)":{"details":"Checks for allowance overflow","params":{"addedValue":"Amount to increase the allowance by","spender":"Address authorized to spend tokens"},"returns":{"_0":"success Whether the allowance was increased"}},"name()":{"details":"Returns the name of the token."},"nonces(address)":{"details":"Returns the current nonce for `owner`. This value must be included whenever a signature is generated for {permit}. Every successful call to {permit} increases ``owner``'s nonce by one. This prevents a signature from being used multiple times."},"owner()":{"details":"Returns the address of the current owner."},"permit(address,address,uint256,uint256,uint8,bytes32,bytes32)":{"details":"Sets `value` as the allowance of `spender` over ``owner``'s tokens, given ``owner``'s signed approval. IMPORTANT: The same issues {IERC20-approve} has related to transaction ordering also apply here. Emits an {Approval} event. Requirements: - `spender` cannot be the zero address. - `deadline` must be a timestamp in the future. - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` over the EIP712-formatted function arguments. - the signature must use ``owner``'s current nonce (see {nonces}). For more information on the signature format, see the https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP section]. CAUTION: See Security Considerations above."},"renounceOwnership()":{"details":"Sets owner to address(0), making owner-only functions inaccessibleThis action is irreversible"},"symbol()":{"details":"Returns the symbol of the token, usually a shorter version of the name."},"totalSupply()":{"details":"See {IERC20-totalSupply}."},"transfer(address,uint256)":{"details":"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `value`."},"transferFrom(address,address,uint256)":{"details":"See {IERC20-transferFrom}. Skips emitting an {Approval} event indicating an allowance update. This is not required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve]. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `value`. - the caller must have allowance for ``from``'s tokens of at least `value`."},"transferOwnership(address)":{"details":"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."}},"stateVariables":{"_AERODROME_FACTORY":{"details":"Address of the Aerodrome factory contract"},"_ROUTER":{"details":"Address of the Aerodrome router contract"},"_WETH":{"details":"Address of the WETH contract on Base network"},"_deploymentBlock":{"details":"Block number when contract was deployed"},"_initialTax":{"details":"Initial tax percentage (1-100)"},"_initialTaxDuration":{"details":"Number of blocks before tax reduction begins"},"_taxRecipient":{"details":"Address that receives tax payments"},"_taxReductionComplete":{"details":"Whether tax reduction has completed"},"_taxReductionInterval":{"details":"Number of blocks between tax reductions"},"_taxReductionRate":{"details":"Percentage points to reduce tax by each interval"},"liquidityPool":{"details":"Address of the token's liquidity pool (zero if not created)"}},"title":"Dynamic Tax Token with Liquidity Management","version":1},"userdoc":{"events":{"LPTokensBurned(uint256)":{"notice":"Emitted when LP tokens are burned"},"TaxReductionCompleted()":{"notice":"Emitted when tax reduction reaches zero"}},"kind":"user","methods":{"approve(address,uint256)":{"notice":"Safely approves spender to spend tokens on behalf of msg.sender"},"claimPoolFees()":{"notice":"Claims accumulated fees from the liquidity pool"},"constructor":{"notice":"Initializes the contract with the specified parameters"},"createLiquidityPool(uint256,uint16)":{"notice":"Creates a liquidity pool for the token with WETH pair, adds initial liquidity, sends all LP tokens to the tax recipient"},"decreaseAllowance(address,uint256)":{"notice":"Safely decreases the allowance granted to spender by the caller"},"getCurrentTax()":{"notice":"Gets the current tax rate based on block number"},"increaseAllowance(address,uint256)":{"notice":"Safely increases the allowance granted to spender by the caller"},"renounceOwnership()":{"notice":"Renounces ownership of the contract"}},"notice":"Implementation of an ERC20 token with dynamic tax reduction and automated liquidity pool management","version":1}},"settings":{"compilationTarget":{"src/Contract.sol":"Contract"},"evmVersion":"shanghai","libraries":{},"metadata":{"bytecodeHash":"ipfs"},"optimizer":{"enabled":true,"runs":200},"remappings":[":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",":forge-std/=lib/forge-std/src/",":halmos-cheatcodes/=lib/openzeppelin-contracts/lib/halmos-cheatcodes/src/",":openzeppelin-contracts/contracts/=lib/openzeppelin-contracts/contracts/",":openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/"]},"sources":{"lib/openzeppelin-contracts/contracts/access/Ownable.sol":{"keccak256":"0xff6d0bb2e285473e5311d9d3caacb525ae3538a80758c10649a4d61029b017bb","license":"MIT","urls":["bzz-raw://8ed324d3920bb545059d66ab97d43e43ee85fd3bd52e03e401f020afb0b120f6","dweb:/ipfs/QmfEckWLmZkDDcoWrkEvMWhms66xwTLff9DDhegYpvHo1a"]},"lib/openzeppelin-contracts/contracts/interfaces/IERC1363.sol":{"keccak256":"0x9b6b3e7803bc5f2f8cd7ad57db8ac1def61a9930a5a3107df4882e028a9605d7","license":"MIT","urls":["bzz-raw://da62d6be1f5c6edf577f0cb45666a8aa9c2086a4bac87d95d65f02e2f4c36a4b","dweb:/ipfs/QmNkpvBpoCMvX8JwAFNSc5XxJ2q5BXJpL5L1txb4QkqVFF"]},"lib/openzeppelin-contracts/contracts/interfaces/IERC165.sol":{"keccak256":"0xde7e9fd9aee8d4f40772f96bb3b58836cbc6dfc0227014a061947f8821ea9724","license":"MIT","urls":["bzz-raw://11fea9f8bc98949ac6709f0c1699db7430d2948137aa94d5a9e95a91f61a710a","dweb:/ipfs/QmQdfRXxQjwP6yn3DVo1GHPpriKNcFghSPi94Z1oKEFUNS"]},"lib/openzeppelin-contracts/contracts/interfaces/IERC20.sol":{"keccak256":"0xce41876e78d1badc0512229b4d14e4daf83bc1003d7f83978d18e0e56f965b9c","license":"MIT","urls":["bzz-raw://a2608291cb038b388d80b79a06b6118a42f7894ff67b7da10ec0dbbf5b2973ba","dweb:/ipfs/QmWohqcBLbcxmA4eGPhZDXe5RYMMEEpFq22nfkaUMvTfw1"]},"lib/openzeppelin-contracts/contracts/interfaces/IERC5267.sol":{"keccak256":"0x92aa1df62dc3d33f1656d63bede0923e0df0b706ad4137c8b10b0a8fe549fd92","license":"MIT","urls":["bzz-raw://c5c0f29195ad64cbe556da8e257dac8f05f78c53f90323c0d2accf8e6922d33a","dweb:/ipfs/QmQ61TED8uaCZwcbh8KkgRSsCav7x7HbcGHwHts3U4DmUP"]},"lib/openzeppelin-contracts/contracts/interfaces/draft-IERC6093.sol":{"keccak256":"0x880da465c203cec76b10d72dbd87c80f387df4102274f23eea1f9c9b0918792b","license":"MIT","urls":["bzz-raw://399594cd8bb0143bc9e55e0f1d071d0d8c850a394fb7a319d50edd55d9ed822b","dweb:/ipfs/QmbPZzgtT6LEm9CMqWfagQFwETbV1ztpECBB1DtQHrKiRz"]},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{"keccak256":"0x6ef9389a2c07bc40d8a7ba48914724ab2c108fac391ce12314f01321813e6368","license":"MIT","urls":["bzz-raw://b7a5cb39b1e6df68f4dd9a5e76e853d745a74ffb3dfd7df4ae4d2ace6992a171","dweb:/ipfs/QmPbzKR19rdM8X3PLQjsmHRepUKhvoZnedSR63XyGtXZib"]},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"keccak256":"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7","license":"MIT","urls":["bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db","dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/ERC20Permit.sol":{"keccak256":"0xaa7f0646f49ebe2606eeca169f85c56451bbaeeeb06265fa076a03369a25d1d3","license":"MIT","urls":["bzz-raw://ee931d4e832385765967efe6366dcc6d00d6a2d794f9c66ee38283c03882de9c","dweb:/ipfs/QmR6SkuJGYxpQeLz38rBdghqaWqEPfzUsL9kBoXgEXKtbD"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"keccak256":"0x70f2f713b13b7ce4610bcd0ac9fec0f3cc43693b043abcb8dc40a42a726eb330","license":"MIT","urls":["bzz-raw://c13d13304ac79a83ab1c30168967d19e2203342ebbd6a9bbce4db7550522dcbf","dweb:/ipfs/QmeN5jKMN2vw5bhacr6tkg78afbTTZUeaacNHqjWt4Ew1r"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Permit.sol":{"keccak256":"0x27dbc90e5136ffe46c04f7596fc2dbcc3acebd8d504da3d93fdb8496e6de04f6","license":"MIT","urls":["bzz-raw://0ea8b92e4245d75a5579c10f22f118f7b4ba07c57341f181f0b2a85ff8663de3","dweb:/ipfs/Qme3Ss5ByjmkxxkMdLpyu7fQ1PCtjNFH1wEFszt2BZePiG"]},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{"keccak256":"0x6dd0cb67846da3fa1241c520faaa215d6bec8226e37beac6056c51e8af44d24e","license":"MIT","urls":["bzz-raw://650e533e62b30dcc6edea2b6c91358d5659da3bde42e56adf7316c493b916a15","dweb:/ipfs/QmYkmK2vPE6FjdAoQVpZSJxamTLGno9wzGS495TcMNFViV"]},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"keccak256":"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2","license":"MIT","urls":["bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12","dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF"]},"lib/openzeppelin-contracts/contracts/utils/Nonces.sol":{"keccak256":"0x0082767004fca261c332e9ad100868327a863a88ef724e844857128845ab350f","license":"MIT","urls":["bzz-raw://132dce9686a54e025eb5ba5d2e48208f847a1ec3e60a3e527766d7bf53fb7f9e","dweb:/ipfs/QmXn1a2nUZMpu2z6S88UoTfMVtY2YNh86iGrzJDYmMkKeZ"]},"lib/openzeppelin-contracts/contracts/utils/Panic.sol":{"keccak256":"0xf7fe324703a64fc51702311dc51562d5cb1497734f074e4f483bfb6717572d7a","license":"MIT","urls":["bzz-raw://c6a5ff4f9fd8649b7ee20800b7fa387d3465bd77cf20c2d1068cd5c98e1ed57a","dweb:/ipfs/QmVSaVJf9FXFhdYEYeCEfjMVHrxDh5qL4CGkxdMWpQCrqG"]},"lib/openzeppelin-contracts/contracts/utils/ReentrancyGuard.sol":{"keccak256":"0x11a5a79827df29e915a12740caf62fe21ebe27c08c9ae3e09abe9ee3ba3866d3","license":"MIT","urls":["bzz-raw://3cf0c69ab827e3251db9ee6a50647d62c90ba580a4d7bbff21f2bea39e7b2f4a","dweb:/ipfs/QmZiKwtKU1SBX4RGfQtY7PZfiapbbu6SZ9vizGQD9UHjRA"]},"lib/openzeppelin-contracts/contracts/utils/ShortStrings.sol":{"keccak256":"0xc9971dd236eaf8b0c13dc242392e30b5c998f39bbddbbe92da63c17079b07ac5","license":"MIT","urls":["bzz-raw://194404b86f076901a9ee785ae3b4818d2d9c2916641c6eb7ea39fde2874cbd81","dweb:/ipfs/QmWpxUw6ComUsoN8Q1ycWohE4qB8BCKWhLu5CAz3JmPL73"]},"lib/openzeppelin-contracts/contracts/utils/StorageSlot.sol":{"keccak256":"0xcf74f855663ce2ae00ed8352666b7935f6cddea2932fdf2c3ecd30a9b1cd0e97","license":"MIT","urls":["bzz-raw://9f660b1f351b757dfe01438e59888f31f33ded3afcf5cb5b0d9bf9aa6f320a8b","dweb:/ipfs/QmarDJ5hZEgBtCmmrVzEZWjub9769eD686jmzb2XpSU1cM"]},"lib/openzeppelin-contracts/contracts/utils/Strings.sol":{"keccak256":"0x967996585c54704fd501d06738b0dc2463207929f6f9d8e5193770ca88035130","license":"MIT","urls":["bzz-raw://c22d1c0daf76538514f93f524c1a6dca7bf5a97992537122ef3a7f8632fb3375","dweb:/ipfs/QmYpjvU5LV3HsQRvoCzy9CHzQMWxEro4mHYGvcgWkCPSPw"]},"lib/openzeppelin-contracts/contracts/utils/cryptography/ECDSA.sol":{"keccak256":"0x69f54c02b7d81d505910ec198c11ed4c6a728418a868b906b4a0cf29946fda84","license":"MIT","urls":["bzz-raw://8e25e4bdb7ae1f21d23bfee996e22736fc0ab44cfabedac82a757b1edc5623b9","dweb:/ipfs/QmQdWQvB6JCP9ZMbzi8EvQ1PTETqkcTWrbcVurS7DKpa5n"]},"lib/openzeppelin-contracts/contracts/utils/cryptography/EIP712.sol":{"keccak256":"0xc7d50d58b73e2ea513cb734e69e36df6ab9d6c9c3693b1b23ecef974bec09ed6","license":"MIT","urls":["bzz-raw://4d647fa61a035f70388a30eda39239477c49c89f3e6eca4494c2d4fce92cbc10","dweb:/ipfs/QmfTVm5cbShkjBrJX2zbxsUKB2my992PHcT81PVVWC5Pcu"]},"lib/openzeppelin-contracts/contracts/utils/cryptography/MessageHashUtils.sol":{"keccak256":"0x7ae21669569f436e69e064814c8b8986e1936972bdd9ad559b859f3abe7251ae","license":"MIT","urls":["bzz-raw://ad6d66b7acf76e9ad8703c2a04c1e62c0394cba2ad8f0fbd98cf06b3d9dbb403","dweb:/ipfs/QmSrJChs3MKqG6EFAi585MPJ1FyUvMxK66Bi7Pxm4e3qxU"]},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8","license":"MIT","urls":["bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621","dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL"]},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xf98bc4b1d01130679a1547b0f6b5b9f9a9190fe362d332fda43a5578c8af5bc4","license":"MIT","urls":["bzz-raw://78f3bf08130ae5bcd1006d435914c1b07dc8abc290e6a5b86e5794a6ec9ae917","dweb:/ipfs/QmReTCvi9s9DK97zFn7yJBrbKPoRm7e2txvoFE9kP3j3ws"]},"lib/openzeppelin-contracts/contracts/utils/math/SafeCast.sol":{"keccak256":"0x195533c86d0ef72bcc06456a4f66a9b941f38eb403739b00f21fd7c1abd1ae54","license":"MIT","urls":["bzz-raw://b1d578337048cad08c1c03041cca5978eff5428aa130c781b271ad9e5566e1f8","dweb:/ipfs/QmPFKL2r9CBsMwmUqqdcFPfHZB2qcs9g1HDrPxzWSxomvy"]},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb1970fac7b64e6c09611e6691791e848d5e3fe410fa5899e7df2e0afd77a99e3","license":"MIT","urls":["bzz-raw://db5fbb3dddd8b7047465b62575d96231ba8a2774d37fb4737fbf23340fabbb03","dweb:/ipfs/QmVUSvooZKEdEdap619tcJjTLcAuH6QBdZqAzWwnAXZAWJ"]},"src/Contract.sol":{"keccak256":"0x6f24873b0a6848a8224c98d0b0023fb8db3713ea66a8771e868b5bda41cbcd29","license":"MIT","urls":["bzz-raw://15fc49c3e4b905114b0e774b56907ab337042a5413c02375cf09f94745f35977","dweb:/ipfs/QmeMWsdRfyhTigLZeKFZr55m8Zi4gK1rNtNzno7k9Ujg9H"]}},"version":1},"storageLayout":{"types":{"t_bool":{"label":"bool","encoding":"inplace","numberOfBytes":"1"},"t_uint8":{"label":"uint8","encoding":"inplace","numberOfBytes":"1"},"t_address":{"label":"address","encoding":"inplace","numberOfBytes":"20"},"t_uint256":{"label":"uint256","encoding":"inplace","numberOfBytes":"32"},"t_string_storage":{"label":"string","encoding":"bytes","numberOfBytes":"32"},"t_mapping(t_address,t_uint256)":{"key":"t_address","label":"mapping(address => uint256)","value":"t_uint256","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_address,t_mapping(t_address,t_uint256))":{"key":"t_address","label":"mapping(address => mapping(address => uint256))","value":"t_mapping(t_address,t_uint256)","encoding":"mapping","numberOfBytes":"32"}},"storage":[{"slot":"0","type":"t_mapping(t_address,t_uint256)","astId":422,"label":"_balances","offset":0,"contract":"src/Contract.sol:Contract"},{"slot":"1","type":"t_mapping(t_address,t_mapping(t_address,t_uint256))","astId":428,"label":"_allowances","offset":0,"contract":"src/Contract.sol:Contract"},{"slot":"2","type":"t_uint256","astId":430,"label":"_totalSupply","offset":0,"contract":"src/Contract.sol:Contract"},{"slot":"3","type":"t_string_storage","astId":432,"label":"_name","offset":0,"contract":"src/Contract.sol:Contract"},{"slot":"4","type":"t_string_storage","astId":434,"label":"_symbol","offset":0,"contract":"src/Contract.sol:Contract"},{"slot":"5","type":"t_string_storage","astId":4019,"label":"_nameFallback","offset":0,"contract":"src/Contract.sol:Contract"},{"slot":"6","type":"t_string_storage","astId":4021,"label":"_versionFallback","offset":0,"contract":"src/Contract.sol:Contract"},{"slot":"7","type":"t_mapping(t_address,t_uint256)","astId":1716,"label":"_nonces","offset":0,"contract":"src/Contract.sol:Contract"},{"slot":"8","type":"t_address","astId":8,"label":"_owner","offset":0,"contract":"src/Contract.sol:Contract"},{"slot":"9","type":"t_uint256","astId":1833,"label":"_status","offset":0,"contract":"src/Contract.sol:Contract"},{"slot":"10","type":"t_string_storage","astId":8010,"label":"_name","offset":0,"contract":"src/Contract.sol:Contract"},{"slot":"11","type":"t_string_storage","astId":8012,"label":"_symbol","offset":0,"contract":"src/Contract.sol:Contract"},{"slot":"12","type":"t_uint8","astId":8014,"label":"_decimals","offset":0,"contract":"src/Contract.sol:Contract"},{"slot":"13","type":"t_uint256","astId":8016,"label":"_totalSupply","offset":0,"contract":"src/Contract.sol:Contract"},{"slot":"14","type":"t_address","astId":8028,"label":"liquidityPool","offset":0,"contract":"src/Contract.sol:Contract"},{"slot":"14","type":"t_bool","astId":8040,"label":"_taxReductionComplete","offset":20,"contract":"src/Contract.sol:Contract"}]},"transientStorageLayout":null,"userdoc":{"kind":"user","events":{"LPTokensBurned(uint256)":{"notice":"Emitted when LP tokens are burned"},"TaxReductionCompleted()":{"notice":"Emitted when tax reduction reaches zero"}},"notice":"Implementation of an ERC20 token with dynamic tax reduction and automated liquidity pool management","methods":{"constructor":{"notice":"Initializes the contract with the specified parameters"},"claimPoolFees()":{"notice":"Claims accumulated fees from the liquidity pool"},"getCurrentTax()":{"notice":"Gets the current tax rate based on block number"},"renounceOwnership()":{"notice":"Renounces ownership of the contract"},"approve(address,uint256)":{"notice":"Safely approves spender to spend tokens on behalf of msg.sender"},"decreaseAllowance(address,uint256)":{"notice":"Safely decreases the allowance granted to spender by the caller"},"increaseAllowance(address,uint256)":{"notice":"Safely increases the allowance granted to spender by the caller"},"createLiquidityPool(uint256,uint16)":{"notice":"Creates a liquidity pool for the token with WETH pair, adds initial liquidity, sends all LP tokens to the tax recipient"}},"version":1},"devdoc":{"kind":"dev","title":"Dynamic Tax Token with Liquidity Management","errors":{"ECDSAInvalidSignature()":[{"details":"The signature derives the `address(0)`."}],"ERC20InvalidSender(address)":[{"params":{"sender":"Address whose tokens are being transferred."},"details":"Indicates a failure with the token `sender`. Used in transfers."}],"ERC20InvalidSpender(address)":[{"params":{"spender":"Address that may be allowed to operate on tokens without being their owner."},"details":"Indicates a failure with the `spender` to be approved. Used in approvals."}],"OwnableInvalidOwner(address)":[{"details":"The owner is not a valid owner account. (eg. `address(0)`)"}],"ERC20InvalidApprover(address)":[{"params":{"approver":"Address initiating an approval operation."},"details":"Indicates a failure with the `approver` of a token to be approved. Used in approvals."}],"ERC20InvalidReceiver(address)":[{"params":{"receiver":"Address to which tokens are being transferred."},"details":"Indicates a failure with the token `receiver`. Used in transfers."}],"ReentrancyGuardReentrantCall()":[{"details":"Unauthorized reentrant call."}],"ECDSAInvalidSignatureS(bytes32)":[{"details":"The signature has an S value that is in the upper half order."}],"ERC2612ExpiredSignature(uint256)":[{"details":"Permit deadline has expired."}],"SafeERC20FailedOperation(address)":[{"details":"An operation with an ERC-20 token failed."}],"OwnableUnauthorizedAccount(address)":[{"details":"The caller account is not authorized to perform an operation."}],"ECDSAInvalidSignatureLength(uint256)":[{"details":"The signature has an invalid length."}],"InvalidAccountNonce(address,uint256)":[{"details":"The nonce used for an `account` is not the expected current nonce."}],"ERC2612InvalidSigner(address,address)":[{"details":"Mismatched signature."}],"ERC20InsufficientBalance(address,uint256,uint256)":[{"params":{"needed":"Minimum amount required to perform a transfer.","sender":"Address whose tokens are being transferred.","balance":"Current balance for the interacting account."},"details":"Indicates an error related to the current `balance` of a `sender`. Used in transfers."}],"ERC20InsufficientAllowance(address,uint256,uint256)":[{"params":{"needed":"Minimum amount required to perform a transfer.","spender":"Address that may be allowed to operate on tokens without being their owner.","allowance":"Amount of tokens a `spender` is allowed to operate with."},"details":"Indicates a failure with the `spender`’s `allowance`. Used in transfers."}]},"events":{"EIP712DomainChanged()":{"details":"MAY be emitted to signal that the domain could have changed."},"LPTokensBurned(uint256)":{"params":{"amount":"The amount of LP tokens burned"}},"Approval(address,address,uint256)":{"details":"Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance."},"Transfer(address,address,uint256)":{"details":"Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero."}},"details":"Token implements a tax system that reduces over time and includes liquidity pool creation/management features. The tax starts at an initial rate and reduces by a fixed percentage after an initial period. Tax reduction occurs in steps: after the initial period 2minutes at 2 seconds per block,  tax reduces by 1% every 30sec at 2 seconds per block until it reaches 0%.","methods":{"name()":{"details":"Returns the name of the token."},"owner()":{"details":"Returns the address of the current owner."},"symbol()":{"details":"Returns the symbol of the token, usually a shorter version of the name."},"decimals()":{"details":"Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). Tokens usually opt for a value of 18, imitating the relationship between Ether and Wei. This is the default value returned by this function, unless it's overridden. NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}."},"constructor":{"params":{"params":"Struct containing all initialization parameters"},"details":"All tokens are initially minted to the contract itself"},"totalSupply()":{"details":"See {IERC20-totalSupply}."},"eip712Domain()":{"details":"returns the fields and values that describe the domain separator used by this contract for EIP-712 signature."},"claimPoolFees()":{"details":"Only callable by owner, sends claimed fees to tax recipient"},"getCurrentTax()":{"details":"Tax remains at initial rate during initial period, then reduces by taxReductionRate every interval","returns":{"_0":"Current tax rate as a percentage (0-100)"}},"nonces(address)":{"details":"Returns the current nonce for `owner`. This value must be included whenever a signature is generated for {permit}. Every successful call to {permit} increases ``owner``'s nonce by one. This prevents a signature from being used multiple times."},"DOMAIN_SEPARATOR()":{"details":"Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}."},"balanceOf(address)":{"details":"See {IERC20-balanceOf}."},"renounceOwnership()":{"details":"Sets owner to address(0), making owner-only functions inaccessibleThis action is irreversible"},"approve(address,uint256)":{"params":{"amount":"Amount of tokens approved to spend","spender":"Address authorized to spend tokens"},"details":"Requires previous allowance to be 0 or new allowance to be 0 for safety","returns":{"_0":"success Whether the approval was successful"}},"transfer(address,uint256)":{"details":"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `value`."},"allowance(address,address)":{"details":"See {IERC20-allowance}."},"transferOwnership(address)":{"details":"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."},"decreaseAllowance(address,uint256)":{"params":{"spender":"Address authorized to spend tokens","subtractedValue":"Amount to decrease the allowance by"},"details":"Checks that decrease doesn't go below zero","returns":{"_0":"success Whether the allowance was decreased"}},"increaseAllowance(address,uint256)":{"params":{"spender":"Address authorized to spend tokens","addedValue":"Amount to increase the allowance by"},"details":"Checks for allowance overflow","returns":{"_0":"success Whether the allowance was increased"}},"createLiquidityPool(uint256,uint16)":{"params":{"ethAmount":"Amount of ETH to add as initial liquidity","maxSlippage":"Maximum allowed slippage in basis points (1 = 0.01%, max 1000 = 10%)"},"details":"Creates a volatile pool on Aerodrome"},"transferFrom(address,address,uint256)":{"details":"See {IERC20-transferFrom}. Skips emitting an {Approval} event indicating an allowance update. This is not required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve]. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `value`. - the caller must have allowance for ``from``'s tokens of at least `value`."},"permit(address,address,uint256,uint256,uint8,bytes32,bytes32)":{"details":"Sets `value` as the allowance of `spender` over ``owner``'s tokens, given ``owner``'s signed approval. IMPORTANT: The same issues {IERC20-approve} has related to transaction ordering also apply here. Emits an {Approval} event. Requirements: - `spender` cannot be the zero address. - `deadline` must be a timestamp in the future. - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` over the EIP712-formatted function arguments. - the signature must use ``owner``'s current nonce (see {nonces}). For more information on the signature format, see the https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP section]. CAUTION: See Security Considerations above."}},"version":1,"stateVariables":{"_WETH":{"details":"Address of the WETH contract on Base network"},"_ROUTER":{"details":"Address of the Aerodrome router contract"},"_initialTax":{"details":"Initial tax percentage (1-100)"},"_taxRecipient":{"details":"Address that receives tax payments"},"liquidityPool":{"details":"Address of the token's liquidity pool (zero if not created)"},"_deploymentBlock":{"details":"Block number when contract was deployed"},"_taxReductionRate":{"details":"Percentage points to reduce tax by each interval"},"_AERODROME_FACTORY":{"details":"Address of the Aerodrome factory contract"},"_initialTaxDuration":{"details":"Number of blocks before tax reduction begins"},"_taxReductionComplete":{"details":"Whether tax reduction has completed"},"_taxReductionInterval":{"details":"Number of blocks between tax reductions"}}},"sourceIds":{"src/Contract.sol":{"id":26},"lib/openzeppelin-contracts/contracts/utils/Panic.sol":{"id":14},"lib/openzeppelin-contracts/contracts/utils/Nonces.sol":{"id":13},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"id":12},"lib/openzeppelin-contracts/contracts/utils/Strings.sol":{"id":18},"lib/openzeppelin-contracts/contracts/access/Ownable.sol":{"id":0},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"id":23},"lib/openzeppelin-contracts/contracts/interfaces/IERC20.sol":{"id":3},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{"id":6},"lib/openzeppelin-contracts/contracts/utils/StorageSlot.sol":{"id":17},"lib/openzeppelin-contracts/contracts/interfaces/IERC165.sol":{"id":2},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"id":7},"lib/openzeppelin-contracts/contracts/utils/ShortStrings.sol":{"id":16},"lib/openzeppelin-contracts/contracts/interfaces/IERC1363.sol":{"id":1},"lib/openzeppelin-contracts/contracts/interfaces/IERC5267.sol":{"id":4},"lib/openzeppelin-contracts/contracts/utils/math/SafeCast.sol":{"id":24},"lib/openzeppelin-contracts/contracts/utils/ReentrancyGuard.sol":{"id":15},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"id":25},"lib/openzeppelin-contracts/contracts/utils/cryptography/ECDSA.sol":{"id":19},"lib/openzeppelin-contracts/contracts/interfaces/draft-IERC6093.sol":{"id":5},"lib/openzeppelin-contracts/contracts/utils/cryptography/EIP712.sol":{"id":20},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{"id":11},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{"id":22},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/ERC20Permit.sol":{"id":8},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Permit.sol":{"id":10},"lib/openzeppelin-contracts/contracts/utils/cryptography/MessageHashUtils.sol":{"id":21},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"id":9}},"additionalInput":null,"stdJsonInput":{"sources":{"src/Contract.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.19;\n\nimport \"@openzeppelin/contracts/token/ERC20/ERC20.sol\";\nimport \"@openzeppelin/contracts/token/ERC20/extensions/ERC20Permit.sol\";\nimport \"@openzeppelin/contracts/access/Ownable.sol\";\nimport \"@openzeppelin/contracts/utils/ReentrancyGuard.sol\";\nimport \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\n\n/// @title WETH Interface\n/// @notice Interface for interacting with Wrapped Ether (WETH) contract on Base network\n/// @dev Minimal interface for WETH9 functionality required by this contract\ninterface IWETH {\n    /// @notice Deposit ETH to receive WETH\n    function deposit() external payable;\n    /// @notice Transfer WETH to another address\n    /// @param to Recipient address\n    /// @param value Amount of WETH to transfer\n    /// @return success Whether the transfer was successful\n    function transfer(address to, uint256 value) external returns (bool);\n    /// @notice Withdraw ETH from WETH\n    /// @param amount Amount of WETH to withdraw\n    function withdraw(uint256 amount) external;\n    /// @notice Approve spender to transfer WETH\n    /// @param spender Address to approve\n    /// @param amount Amount to approve\n    /// @return success Whether the approval was successful\n    function approve(address spender, uint256 amount) external returns (bool);\n}\n\n/// @title Aerodrome Router Interface\n/// @notice Interface for Aerodrome DEX router functionality on Base network\n/// @dev Minimal interface required for liquidity pool operations\ninterface IAerodrome {\n    /// @notice Add liquidity to an Aerodrome pool\n    /// @param tokenA First token in the pair\n    /// @param tokenB Second token in the pair\n    /// @param stable Whether the pool is stable or volatile\n    /// @param amountADesired Desired amount of tokenA\n    /// @param amountBDesired Desired amount of tokenB\n    /// @param amountAMin Minimum amount of tokenA (slippage protection)\n    /// @param amountBMin Minimum amount of tokenB (slippage protection)\n    /// @param to Address that will receive LP tokens\n    /// @param deadline Timestamp after which the transaction will revert\n    /// @return amountA Amount of tokenA actually added\n    /// @return amountB Amount of tokenB actually added\n    /// @return liquidity Amount of LP tokens minted\n    function addLiquidity(\n        address tokenA,\n        address tokenB,\n        bool stable,\n        uint256 amountADesired,\n        uint256 amountBDesired,\n        uint256 amountAMin,\n        uint256 amountBMin,\n        address to,\n        uint256 deadline\n    ) external returns (uint256 amountA, uint256 amountB, uint256 liquidity);\n\n    /// @notice Swaps an exact amount of tokens for another token through the path provided\n    /// @param amountIn The amount of input tokens to send\n    /// @param amountOutMin The minimum amount of output tokens to receive\n    /// @param routes The array of routes to use for the swap\n    /// @param to The address to receive the output tokens\n    /// @param deadline The timestamp after which the transaction will revert\n    /// @return amounts The amounts of tokens swapped at each hop\n    function swapExactTokensForTokens(\n        uint256 amountIn,\n        uint256 amountOutMin,\n        Route[] calldata routes,\n        address to,\n        uint256 deadline\n    ) external returns (uint256[] memory amounts);\n\n    /// @notice Swaps an exact amount of ETH for tokens\n    /// @param amountOutMin The minimum amount of output tokens to receive\n    /// @param routes The array of routes to use for the swap\n    /// @param to The address to receive the output tokens\n    /// @param deadline The timestamp after which the transaction will revert\n    /// @return amounts The amounts of tokens swapped at each hop\n    function swapExactETHForTokens(\n        uint256 amountOutMin,\n        Route[] calldata routes,\n        address to,\n        uint256 deadline\n    ) external payable returns (uint256[] memory amounts);\n\n    /// @notice Represents a single swap route\n    /// @param from The address of the input token\n    /// @param to The address of the output token\n    /// @param stable Whether to use the stable or volatile pool\n    /// @param factory The factory address for the pool\n    struct Route {\n        address from;\n        address to;\n        bool stable;\n        address factory;\n    }\n\n    /// @notice Swaps exact eth or tokens supporting fee on transfer\n    /// @param amountOutMin The minimum amount of output tokens to receive\n    /// @param routes The array of routes to use for the swap\n    /// @param to The address to receive the output tokens\n    /// @param deadline The timestamp after which the transaction will revert\n    /// @return amounts The amounts of tokens swapped at each hop\n    function swapExactETHForTokensSupportingFeeOnTransfer(\n        uint256 amountOutMin,\n        Route[] calldata routes,\n        address to,\n        uint256 deadline\n    ) external payable returns (uint256[] memory amounts);\n}\n\n/// @title Aerodrome Factory Interface\n/// @notice Interface for creating and managing Aerodrome liquidity pools on Base network\n/// @dev Minimal interface required for pool creation and querying\ninterface IAerodromeFactory {\n    /// @notice Create a new liquidity pool\n    /// @param tokenA First token in the pair\n    /// @param tokenB Second token in the pair\n    /// @param stable Whether to create a stable or volatile pool\n    /// @return pair Address of the created pool\n    function createPool(address tokenA, address tokenB, bool stable) external returns (address pair);\n    /// @notice Get the address of an existing pool\n    /// @param tokenA First token in the pair\n    /// @param tokenB Second token in the pair\n    /// @param stable Whether the pool is stable or volatile\n    /// @return pool Address of the pool (zero address if it doesn't exist)\n    function getPool(address tokenA, address tokenB, bool stable) external view returns (address);\n}\n\n/// @title Dynamic Tax Token with Liquidity Management\n/// @notice Implementation of an ERC20 token with dynamic tax reduction and automated liquidity pool management\n/// @dev Token implements a tax system that reduces over time and includes liquidity pool creation/management features.\n/// The tax starts at an initial rate and reduces by a fixed percentage after an initial period.\n/// Tax reduction occurs in steps: after the initial period 2minutes at 2 seconds per block, \n/// tax reduces by 1% every 30sec at 2 seconds per block until it reaches 0%.\ncontract Contract is ERC20, ERC20Permit, Ownable, ReentrancyGuard {\n    using SafeERC20 for IERC20;\n\n    // Token metadata\n    string private _name;\n    string private _symbol;\n    uint8 private _decimals;\n    uint256 private _totalSupply;\n\n    // Protocol addresses\n    /// @dev Address of the WETH contract on Base network\n    address private immutable _WETH;\n    /// @dev Address of the Aerodrome router contract\n    address private immutable _ROUTER;\n    /// @dev Address of the Aerodrome factory contract\n    address private immutable _AERODROME_FACTORY;\n    /// @dev Address of the token's liquidity pool (zero if not created)\n    address public liquidityPool;\n\n    // Tax parameters\n    /// @dev Initial tax percentage (1-100)\n    uint8 private immutable _initialTax;\n    /// @dev Number of blocks between tax reductions\n    uint256 private immutable _taxReductionInterval;\n    /// @dev Number of blocks before tax reduction begins\n    uint256 private immutable _initialTaxDuration;\n    /// @dev Whether tax reduction has completed\n    bool private _taxReductionComplete;\n    /// @dev Address that receives tax payments\n    address private immutable _taxRecipient;\n    /// @dev Percentage points to reduce tax by each interval\n    uint8 private immutable _taxReductionRate;\n    /// @dev Block number when contract was deployed\n    uint256 private immutable _deploymentBlock;\n\n    // Custom events\n    /// @notice Emitted when tax reduction reaches zero\n    event TaxReductionCompleted();\n    /// @notice Emitted when LP tokens are burned\n    /// @param amount The amount of LP tokens burned\n    event LPTokensBurned(uint256 amount);\n\n    /// @notice Struct containing all parameters needed for contract initialization\n    /// @dev Used to avoid stack too deep errors in constructor\n    struct InitParams {\n        /// @notice Token name\n        string name;\n        /// @notice Token symbol\n        string symbol;\n        /// @notice Token decimals (typically 18)\n        uint8 decimals;\n        /// @notice Total supply of tokens\n        uint256 totalSupply;\n        /// @notice Initial tax percentage (1-100)\n        uint8 initialTax;\n        /// @notice Number of blocks between tax reductions\n        uint256 taxReductionInterval;\n        /// @notice Number of blocks before tax reduction begins\n        uint256 initialTaxDuration;\n        /// @notice Percentage points to reduce tax by each interval\n        uint8 taxReductionRate;\n        /// @notice Address that receives tax payments\n        address taxRecipient;\n        /// @notice WETH contract address\n        address weth;\n        /// @notice Aerodrome router address\n        address router;\n        /// @notice Aerodrome factory address\n        address factory;\n        /// @notice Initial owner of the contract\n        address owner;\n    }\n\n    /// @notice Initializes the contract with the specified parameters\n    /// @param params Struct containing all initialization parameters\n    /// @dev All tokens are initially minted to the contract itself\n    constructor(InitParams memory params) \n        ERC20(params.name, params.symbol) \n        ERC20Permit(params.name)\n        Ownable(params.owner) \n    {\n        require(params.initialTax <= 100, \"Tax cannot exceed 100%\");\n        require(params.taxRecipient != address(0), \"Tax recipient cannot be zero address\");\n        require(params.weth != address(0), \"WETH cannot be zero address\");\n        require(params.router != address(0), \"Router cannot be zero address\");\n        require(params.factory != address(0), \"Factory cannot be zero address\");\n        require(params.owner != address(0), \"Owner cannot be zero address\");\n\n        _initialTax = params.initialTax;\n        _taxReductionInterval = params.taxReductionInterval;\n        _initialTaxDuration = params.initialTaxDuration;\n        _taxReductionRate = params.taxReductionRate;\n        _taxRecipient = params.taxRecipient;\n        _deploymentBlock = block.number;\n\n        _WETH = params.weth;\n        _ROUTER = params.router;\n        _AERODROME_FACTORY = params.factory;\n\n        _mint(address(this), params.totalSupply);\n    }\n\n    /// @notice Creates a liquidity pool for the token with WETH pair, adds initial liquidity, sends all LP tokens to the tax recipient\n    /// @dev Creates a volatile pool on Aerodrome\n    /// @param ethAmount Amount of ETH to add as initial liquidity\n    /// @param maxSlippage Maximum allowed slippage in basis points (1 = 0.01%, max 1000 = 10%)\n    function createLiquidityPool(uint256 ethAmount, uint16 maxSlippage) external payable nonReentrant {\n        // Checks\n        require(msg.value == ethAmount, \"Incorrect ETH amount\");\n        require(liquidityPool == address(0), \"Liquidity pool already created\");\n        require(ethAmount > 0, \"ETH amount must be > 0\");\n        require(maxSlippage > 0 && maxSlippage <= 1000, \"Invalid slippage (1-1000)\");\n\n        // Use all available tokens\n        uint256 tokenAmount = balanceOf(address(this));\n        require(tokenAmount > 0, \"No tokens available\");\n\n        // Calculate minimum amounts based on slippage tolerance\n        uint256 minTokenAmount = tokenAmount * (10000 - maxSlippage) / 10000;\n        uint256 minEthAmount = ethAmount * (10000 - maxSlippage) / 10000;\n\n        // Effects - Pre-approve tokens before any external calls\n        _approve(address(this), _ROUTER, tokenAmount);\n\n        // Interactions - External calls after state changes\n        // Check if pool exists\n        address poolAddress = IAerodromeFactory(_AERODROME_FACTORY).getPool(address(this), _WETH, false);\n        if (poolAddress == address(0)) {\n            poolAddress = IAerodromeFactory(_AERODROME_FACTORY).createPool(address(this), _WETH, false);\n            require(poolAddress != address(0), \"Failed to create pool\");\n        }\n\n        // Update state\n        liquidityPool = poolAddress;\n\n        // Wrap ETH and approve WETH\n        IWETH(_WETH).deposit{ value: ethAmount }();\n        IWETH(_WETH).approve(_ROUTER, ethAmount);\n\n        // Add liquidity with slippage protection\n        (uint256 amountTokenUsed, uint256 amountETHUsed,) = IAerodrome(_ROUTER).addLiquidity(\n            address(this),\n            _WETH,\n            false, // not stable\n            tokenAmount,\n            ethAmount,\n            minTokenAmount,\n            minEthAmount,\n            address(this),\n            block.timestamp + 1 hours\n        );\n\n        require(amountTokenUsed >= minTokenAmount && amountETHUsed >= minEthAmount, \"Slippage exceeded\");\n\n        // Send all LP tokens to the tax recipient\n        uint256 lpBalance = IERC20(liquidityPool).balanceOf(address(this));\n        require(lpBalance > 0, \"No LP tokens to send\");\n        IERC20(liquidityPool).safeTransfer(_taxRecipient, lpBalance);\n        emit LPTokensBurned(lpBalance);\n\n    }\n\n    /// @notice Implementation of tax on transfers\n    /// @dev Calculates and applies tax on transfers when applicable\n    /// @dev No tax on mints, burns, or transfers involving the contract itself\n    /// @param from The sender address\n    /// @param to The recipient address\n    /// @param amount The amount being transferred\n    function _update(address from, address to, uint256 amount) internal virtual override {\n        if (from == address(0) || to == address(0)) {\n            super._update(from, to, amount);\n            return;\n        }\n\n        _updateTaxReductionStatus();\n        uint256 tax = getCurrentTax();\n\n        if (tax > 0 && from != address(this) && to != address(this)) {\n            uint256 taxAmount = (amount * tax) / 100;\n            uint256 transferAmount = amount - taxAmount;\n\n            super._update(from, _taxRecipient, taxAmount);\n            super._update(from, to, transferAmount);\n        } else {\n            super._update(from, to, amount);\n        }\n    }\n\n    /// @notice Safely approves spender to spend tokens on behalf of msg.sender\n    /// @dev Requires previous allowance to be 0 or new allowance to be 0 for safety\n    /// @param spender Address authorized to spend tokens\n    /// @param amount Amount of tokens approved to spend\n    /// @return success Whether the approval was successful\n    function approve(address spender, uint256 amount) public override returns (bool) {\n        require(amount == 0 || allowance(msg.sender, spender) == 0, \"Unsafe allowance change\");\n        return super.approve(spender, amount);\n    }\n\n    /// @notice Safely increases the allowance granted to spender by the caller\n    /// @dev Checks for allowance overflow\n    /// @param spender Address authorized to spend tokens\n    /// @param addedValue Amount to increase the allowance by\n    /// @return success Whether the allowance was increased\n    function increaseAllowance(address spender, uint256 addedValue) public returns (bool) {\n        uint256 currentAllowance = allowance(msg.sender, spender);\n        uint256 newAllowance = currentAllowance + addedValue;\n        require(newAllowance >= currentAllowance, \"Allowance overflow\");\n        _approve(msg.sender, spender, newAllowance);\n        return true;\n    }\n\n    /// @notice Safely decreases the allowance granted to spender by the caller\n    /// @dev Checks that decrease doesn't go below zero\n    /// @param spender Address authorized to spend tokens\n    /// @param subtractedValue Amount to decrease the allowance by\n    /// @return success Whether the allowance was decreased\n    function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) {\n        uint256 currentAllowance = allowance(msg.sender, spender);\n        require(subtractedValue <= currentAllowance, \"Decreased allowance below zero\");\n        _approve(msg.sender, spender, currentAllowance - subtractedValue);\n        return true;\n    }\n\n    /// @notice Updates the tax reduction status based on current block number\n    /// @dev Sets _taxReductionComplete to true if tax has been fully reduced\n    /// @dev Emits TaxReductionCompleted event when tax reaches zero\n    function _updateTaxReductionStatus() private {\n        if (!_taxReductionComplete && getCurrentTax() == 0) {\n            _taxReductionComplete = true;\n            emit TaxReductionCompleted();\n        }\n    }\n\n    /// @notice Gets the current tax rate based on block number\n    /// @dev Tax remains at initial rate during initial period, then reduces by taxReductionRate every interval\n    /// @return Current tax rate as a percentage (0-100)\n    function getCurrentTax() public view returns (uint8) {\n        if (_taxReductionComplete) {\n            return 0;\n        }\n\n        // During initial period, return initial tax\n        if (block.number < _deploymentBlock + _initialTaxDuration) {\n            return _initialTax;\n        }\n\n        // Calculate blocks since initial period ended\n        uint256 blocksSinceInitialDuration = block.number - (_deploymentBlock + _initialTaxDuration);\n        \n        // Calculate number of reductions that have occurred\n        uint256 reductions = blocksSinceInitialDuration / _taxReductionInterval;\n        \n        // Calculate current tax rate\n        uint256 taxReduction = reductions * _taxReductionRate;\n        if (taxReduction >= _initialTax) {\n            return 0;\n        }\n        \n        return uint8(_initialTax - taxReduction);\n    }\n\n    /// @notice Renounces ownership of the contract\n    /// @dev Sets owner to address(0), making owner-only functions inaccessible\n    /// @dev This action is irreversible\n    function renounceOwnership() public override onlyOwner {\n        super.renounceOwnership();\n    }\n\n    /// @notice Handles incoming ETH transfers\n    /// @dev Only accepts ETH from WETH contract\n    receive() external payable {\n        require(msg.sender == _WETH, \"Only accept ETH from WETH\");\n    }\n\n    /// @notice Fallback function to reject unexpected calls\n    /// @dev Reverts all unexpected function calls\n    fallback() external payable {\n        revert(\"Function not found\");\n    }\n\n    /// @notice Claims accumulated fees from the liquidity pool\n    /// @dev Only callable by owner, sends claimed fees to tax recipient\n    function claimPoolFees() external onlyOwner nonReentrant {\n        require(liquidityPool != address(0), \"Pool not created\");\n        \n        // Get LP token balance\n        uint256 lpBalance = IERC20(liquidityPool).balanceOf(address(this));\n        require(lpBalance > 0, \"No LP tokens held\");\n\n        // Interface for the pool\n        IAerodromePool pool = IAerodromePool(liquidityPool);\n        \n        // Claim fees\n        pool.claimFees();\n\n        // Transfer any WETH received to tax recipient\n        uint256 wethBalance = IERC20(_WETH).balanceOf(address(this));\n        if (wethBalance > 0) {\n            IERC20(_WETH).safeTransfer(_taxRecipient, wethBalance);\n        }\n\n        // Transfer any tokens received to tax recipient\n        uint256 tokenBalance = balanceOf(address(this));\n        if (tokenBalance > lpBalance) {\n            uint256 excessTokens = tokenBalance - lpBalance;\n            _transfer(address(this), _taxRecipient, excessTokens);\n        }\n    }\n}\n\n/// @title Aerodrome Pool Interface\n/// @notice Minimal interface for Aerodrome pool fee claiming\ninterface IAerodromePool {\n    /// @notice Claims accumulated fees from the pool\n    function claimFees() external returns (uint256, uint256);\n    /// @notice Returns the token0 address\n    function token0() external view returns (address);\n    /// @notice Returns the token1 address\n    function token1() external view returns (address);\n    /// @notice Returns the reserves of the pool\n    function getReserves() external view returns (uint256, uint256, uint256);\n    /// @notice Returns the stability of the pool\n    function stable() external view returns (bool);\n    /// @notice Returns the address of the factory\n}\n"},"lib/openzeppelin-contracts/contracts/utils/Panic.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/Panic.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Helper library for emitting standardized panic codes.\n *\n * ```solidity\n * contract Example {\n *      using Panic for uint256;\n *\n *      // Use any of the declared internal constants\n *      function foo() { Panic.GENERIC.panic(); }\n *\n *      // Alternatively\n *      function foo() { Panic.panic(Panic.GENERIC); }\n * }\n * ```\n *\n * Follows the list from https://github.com/ethereum/solidity/blob/v0.8.24/libsolutil/ErrorCodes.h[libsolutil].\n *\n * _Available since v5.1._\n */\n// slither-disable-next-line unused-state\nlibrary Panic {\n    /// @dev generic / unspecified error\n    uint256 internal constant GENERIC = 0x00;\n    /// @dev used by the assert() builtin\n    uint256 internal constant ASSERT = 0x01;\n    /// @dev arithmetic underflow or overflow\n    uint256 internal constant UNDER_OVERFLOW = 0x11;\n    /// @dev division or modulo by zero\n    uint256 internal constant DIVISION_BY_ZERO = 0x12;\n    /// @dev enum conversion error\n    uint256 internal constant ENUM_CONVERSION_ERROR = 0x21;\n    /// @dev invalid encoding in storage\n    uint256 internal constant STORAGE_ENCODING_ERROR = 0x22;\n    /// @dev empty array pop\n    uint256 internal constant EMPTY_ARRAY_POP = 0x31;\n    /// @dev array out of bounds access\n    uint256 internal constant ARRAY_OUT_OF_BOUNDS = 0x32;\n    /// @dev resource error (too large allocation or too large array)\n    uint256 internal constant RESOURCE_ERROR = 0x41;\n    /// @dev calling invalid internal function\n    uint256 internal constant INVALID_INTERNAL_FUNCTION = 0x51;\n\n    /// @dev Reverts with a panic code. Recommended to use with\n    /// the internal constants with predefined codes.\n    function panic(uint256 code) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0x00, 0x4e487b71)\n            mstore(0x20, code)\n            revert(0x1c, 0x24)\n        }\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/utils/Nonces.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/Nonces.sol)\npragma solidity ^0.8.20;\n\n/**\n * @dev Provides tracking nonces for addresses. Nonces will only increment.\n */\nabstract contract Nonces {\n    /**\n     * @dev The nonce used for an `account` is not the expected current nonce.\n     */\n    error InvalidAccountNonce(address account, uint256 currentNonce);\n\n    mapping(address account => uint256) private _nonces;\n\n    /**\n     * @dev Returns the next unused nonce for an address.\n     */\n    function nonces(address owner) public view virtual returns (uint256) {\n        return _nonces[owner];\n    }\n\n    /**\n     * @dev Consumes a nonce.\n     *\n     * Returns the current value and increments nonce.\n     */\n    function _useNonce(address owner) internal virtual returns (uint256) {\n        // For each account, the nonce has an initial value of 0, can only be incremented by one, and cannot be\n        // decremented or reset. This guarantees that the nonce never overflows.\n        unchecked {\n            // It is important to do x++ and not ++x here.\n            return _nonces[owner]++;\n        }\n    }\n\n    /**\n     * @dev Same as {_useNonce} but checking that `nonce` is the next valid for `owner`.\n     */\n    function _useCheckedNonce(address owner, uint256 nonce) internal virtual {\n        uint256 current = _useNonce(owner);\n        if (nonce != current) {\n            revert InvalidAccountNonce(owner, current);\n        }\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)\n\npragma solidity ^0.8.20;\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 Context {\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"},"lib/openzeppelin-contracts/contracts/utils/Strings.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.2.0) (utils/Strings.sol)\n\npragma solidity ^0.8.20;\n\nimport {Math} from \"./math/Math.sol\";\nimport {SafeCast} from \"./math/SafeCast.sol\";\nimport {SignedMath} from \"./math/SignedMath.sol\";\n\n/**\n * @dev String operations.\n */\nlibrary Strings {\n    using SafeCast for *;\n\n    bytes16 private constant HEX_DIGITS = \"0123456789abcdef\";\n    uint8 private constant ADDRESS_LENGTH = 20;\n    uint256 private constant SPECIAL_CHARS_LOOKUP =\n        (1 << 0x08) | // backspace\n            (1 << 0x09) | // tab\n            (1 << 0x0a) | // newline\n            (1 << 0x0c) | // form feed\n            (1 << 0x0d) | // carriage return\n            (1 << 0x22) | // double quote\n            (1 << 0x5c); // backslash\n\n    /**\n     * @dev The `value` string doesn't fit in the specified `length`.\n     */\n    error StringsInsufficientHexLength(uint256 value, uint256 length);\n\n    /**\n     * @dev The string being parsed contains characters that are not in scope of the given base.\n     */\n    error StringsInvalidChar();\n\n    /**\n     * @dev The string being parsed is not a properly formatted address.\n     */\n    error StringsInvalidAddressFormat();\n\n    /**\n     * @dev Converts a `uint256` to its ASCII `string` decimal representation.\n     */\n    function toString(uint256 value) internal pure returns (string memory) {\n        unchecked {\n            uint256 length = Math.log10(value) + 1;\n            string memory buffer = new string(length);\n            uint256 ptr;\n            assembly (\"memory-safe\") {\n                ptr := add(buffer, add(32, length))\n            }\n            while (true) {\n                ptr--;\n                assembly (\"memory-safe\") {\n                    mstore8(ptr, byte(mod(value, 10), HEX_DIGITS))\n                }\n                value /= 10;\n                if (value == 0) break;\n            }\n            return buffer;\n        }\n    }\n\n    /**\n     * @dev Converts a `int256` to its ASCII `string` decimal representation.\n     */\n    function toStringSigned(int256 value) internal pure returns (string memory) {\n        return string.concat(value < 0 ? \"-\" : \"\", toString(SignedMath.abs(value)));\n    }\n\n    /**\n     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.\n     */\n    function toHexString(uint256 value) internal pure returns (string memory) {\n        unchecked {\n            return toHexString(value, Math.log256(value) + 1);\n        }\n    }\n\n    /**\n     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.\n     */\n    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {\n        uint256 localValue = value;\n        bytes memory buffer = new bytes(2 * length + 2);\n        buffer[0] = \"0\";\n        buffer[1] = \"x\";\n        for (uint256 i = 2 * length + 1; i > 1; --i) {\n            buffer[i] = HEX_DIGITS[localValue & 0xf];\n            localValue >>= 4;\n        }\n        if (localValue != 0) {\n            revert StringsInsufficientHexLength(value, length);\n        }\n        return string(buffer);\n    }\n\n    /**\n     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal\n     * representation.\n     */\n    function toHexString(address addr) internal pure returns (string memory) {\n        return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH);\n    }\n\n    /**\n     * @dev Converts an `address` with fixed length of 20 bytes to its checksummed ASCII `string` hexadecimal\n     * representation, according to EIP-55.\n     */\n    function toChecksumHexString(address addr) internal pure returns (string memory) {\n        bytes memory buffer = bytes(toHexString(addr));\n\n        // hash the hex part of buffer (skip length + 2 bytes, length 40)\n        uint256 hashValue;\n        assembly (\"memory-safe\") {\n            hashValue := shr(96, keccak256(add(buffer, 0x22), 40))\n        }\n\n        for (uint256 i = 41; i > 1; --i) {\n            // possible values for buffer[i] are 48 (0) to 57 (9) and 97 (a) to 102 (f)\n            if (hashValue & 0xf > 7 && uint8(buffer[i]) > 96) {\n                // case shift by xoring with 0x20\n                buffer[i] ^= 0x20;\n            }\n            hashValue >>= 4;\n        }\n        return string(buffer);\n    }\n\n    /**\n     * @dev Returns true if the two strings are equal.\n     */\n    function equal(string memory a, string memory b) internal pure returns (bool) {\n        return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b));\n    }\n\n    /**\n     * @dev Parse a decimal string and returns the value as a `uint256`.\n     *\n     * Requirements:\n     * - The string must be formatted as `[0-9]*`\n     * - The result must fit into an `uint256` type\n     */\n    function parseUint(string memory input) internal pure returns (uint256) {\n        return parseUint(input, 0, bytes(input).length);\n    }\n\n    /**\n     * @dev Variant of {parseUint-string} that parses a substring of `input` located between position `begin` (included) and\n     * `end` (excluded).\n     *\n     * Requirements:\n     * - The substring must be formatted as `[0-9]*`\n     * - The result must fit into an `uint256` type\n     */\n    function parseUint(string memory input, uint256 begin, uint256 end) internal pure returns (uint256) {\n        (bool success, uint256 value) = tryParseUint(input, begin, end);\n        if (!success) revert StringsInvalidChar();\n        return value;\n    }\n\n    /**\n     * @dev Variant of {parseUint-string} that returns false if the parsing fails because of an invalid character.\n     *\n     * NOTE: This function will revert if the result does not fit in a `uint256`.\n     */\n    function tryParseUint(string memory input) internal pure returns (bool success, uint256 value) {\n        return _tryParseUintUncheckedBounds(input, 0, bytes(input).length);\n    }\n\n    /**\n     * @dev Variant of {parseUint-string-uint256-uint256} that returns false if the parsing fails because of an invalid\n     * character.\n     *\n     * NOTE: This function will revert if the result does not fit in a `uint256`.\n     */\n    function tryParseUint(\n        string memory input,\n        uint256 begin,\n        uint256 end\n    ) internal pure returns (bool success, uint256 value) {\n        if (end > bytes(input).length || begin > end) return (false, 0);\n        return _tryParseUintUncheckedBounds(input, begin, end);\n    }\n\n    /**\n     * @dev Implementation of {tryParseUint-string-uint256-uint256} that does not check bounds. Caller should make sure that\n     * `begin <= end <= input.length`. Other inputs would result in undefined behavior.\n     */\n    function _tryParseUintUncheckedBounds(\n        string memory input,\n        uint256 begin,\n        uint256 end\n    ) private pure returns (bool success, uint256 value) {\n        bytes memory buffer = bytes(input);\n\n        uint256 result = 0;\n        for (uint256 i = begin; i < end; ++i) {\n            uint8 chr = _tryParseChr(bytes1(_unsafeReadBytesOffset(buffer, i)));\n            if (chr > 9) return (false, 0);\n            result *= 10;\n            result += chr;\n        }\n        return (true, result);\n    }\n\n    /**\n     * @dev Parse a decimal string and returns the value as a `int256`.\n     *\n     * Requirements:\n     * - The string must be formatted as `[-+]?[0-9]*`\n     * - The result must fit in an `int256` type.\n     */\n    function parseInt(string memory input) internal pure returns (int256) {\n        return parseInt(input, 0, bytes(input).length);\n    }\n\n    /**\n     * @dev Variant of {parseInt-string} that parses a substring of `input` located between position `begin` (included) and\n     * `end` (excluded).\n     *\n     * Requirements:\n     * - The substring must be formatted as `[-+]?[0-9]*`\n     * - The result must fit in an `int256` type.\n     */\n    function parseInt(string memory input, uint256 begin, uint256 end) internal pure returns (int256) {\n        (bool success, int256 value) = tryParseInt(input, begin, end);\n        if (!success) revert StringsInvalidChar();\n        return value;\n    }\n\n    /**\n     * @dev Variant of {parseInt-string} that returns false if the parsing fails because of an invalid character or if\n     * the result does not fit in a `int256`.\n     *\n     * NOTE: This function will revert if the absolute value of the result does not fit in a `uint256`.\n     */\n    function tryParseInt(string memory input) internal pure returns (bool success, int256 value) {\n        return _tryParseIntUncheckedBounds(input, 0, bytes(input).length);\n    }\n\n    uint256 private constant ABS_MIN_INT256 = 2 ** 255;\n\n    /**\n     * @dev Variant of {parseInt-string-uint256-uint256} that returns false if the parsing fails because of an invalid\n     * character or if the result does not fit in a `int256`.\n     *\n     * NOTE: This function will revert if the absolute value of the result does not fit in a `uint256`.\n     */\n    function tryParseInt(\n        string memory input,\n        uint256 begin,\n        uint256 end\n    ) internal pure returns (bool success, int256 value) {\n        if (end > bytes(input).length || begin > end) return (false, 0);\n        return _tryParseIntUncheckedBounds(input, begin, end);\n    }\n\n    /**\n     * @dev Implementation of {tryParseInt-string-uint256-uint256} that does not check bounds. Caller should make sure that\n     * `begin <= end <= input.length`. Other inputs would result in undefined behavior.\n     */\n    function _tryParseIntUncheckedBounds(\n        string memory input,\n        uint256 begin,\n        uint256 end\n    ) private pure returns (bool success, int256 value) {\n        bytes memory buffer = bytes(input);\n\n        // Check presence of a negative sign.\n        bytes1 sign = begin == end ? bytes1(0) : bytes1(_unsafeReadBytesOffset(buffer, begin)); // don't do out-of-bound (possibly unsafe) read if sub-string is empty\n        bool positiveSign = sign == bytes1(\"+\");\n        bool negativeSign = sign == bytes1(\"-\");\n        uint256 offset = (positiveSign || negativeSign).toUint();\n\n        (bool absSuccess, uint256 absValue) = tryParseUint(input, begin + offset, end);\n\n        if (absSuccess && absValue < ABS_MIN_INT256) {\n            return (true, negativeSign ? -int256(absValue) : int256(absValue));\n        } else if (absSuccess && negativeSign && absValue == ABS_MIN_INT256) {\n            return (true, type(int256).min);\n        } else return (false, 0);\n    }\n\n    /**\n     * @dev Parse a hexadecimal string (with or without \"0x\" prefix), and returns the value as a `uint256`.\n     *\n     * Requirements:\n     * - The string must be formatted as `(0x)?[0-9a-fA-F]*`\n     * - The result must fit in an `uint256` type.\n     */\n    function parseHexUint(string memory input) internal pure returns (uint256) {\n        return parseHexUint(input, 0, bytes(input).length);\n    }\n\n    /**\n     * @dev Variant of {parseHexUint-string} that parses a substring of `input` located between position `begin` (included) and\n     * `end` (excluded).\n     *\n     * Requirements:\n     * - The substring must be formatted as `(0x)?[0-9a-fA-F]*`\n     * - The result must fit in an `uint256` type.\n     */\n    function parseHexUint(string memory input, uint256 begin, uint256 end) internal pure returns (uint256) {\n        (bool success, uint256 value) = tryParseHexUint(input, begin, end);\n        if (!success) revert StringsInvalidChar();\n        return value;\n    }\n\n    /**\n     * @dev Variant of {parseHexUint-string} that returns false if the parsing fails because of an invalid character.\n     *\n     * NOTE: This function will revert if the result does not fit in a `uint256`.\n     */\n    function tryParseHexUint(string memory input) internal pure returns (bool success, uint256 value) {\n        return _tryParseHexUintUncheckedBounds(input, 0, bytes(input).length);\n    }\n\n    /**\n     * @dev Variant of {parseHexUint-string-uint256-uint256} that returns false if the parsing fails because of an\n     * invalid character.\n     *\n     * NOTE: This function will revert if the result does not fit in a `uint256`.\n     */\n    function tryParseHexUint(\n        string memory input,\n        uint256 begin,\n        uint256 end\n    ) internal pure returns (bool success, uint256 value) {\n        if (end > bytes(input).length || begin > end) return (false, 0);\n        return _tryParseHexUintUncheckedBounds(input, begin, end);\n    }\n\n    /**\n     * @dev Implementation of {tryParseHexUint-string-uint256-uint256} that does not check bounds. Caller should make sure that\n     * `begin <= end <= input.length`. Other inputs would result in undefined behavior.\n     */\n    function _tryParseHexUintUncheckedBounds(\n        string memory input,\n        uint256 begin,\n        uint256 end\n    ) private pure returns (bool success, uint256 value) {\n        bytes memory buffer = bytes(input);\n\n        // skip 0x prefix if present\n        bool hasPrefix = (end > begin + 1) && bytes2(_unsafeReadBytesOffset(buffer, begin)) == bytes2(\"0x\"); // don't do out-of-bound (possibly unsafe) read if sub-string is empty\n        uint256 offset = hasPrefix.toUint() * 2;\n\n        uint256 result = 0;\n        for (uint256 i = begin + offset; i < end; ++i) {\n            uint8 chr = _tryParseChr(bytes1(_unsafeReadBytesOffset(buffer, i)));\n            if (chr > 15) return (false, 0);\n            result *= 16;\n            unchecked {\n                // Multiplying by 16 is equivalent to a shift of 4 bits (with additional overflow check).\n                // This guarantees that adding a value < 16 will not cause an overflow, hence the unchecked.\n                result += chr;\n            }\n        }\n        return (true, result);\n    }\n\n    /**\n     * @dev Parse a hexadecimal string (with or without \"0x\" prefix), and returns the value as an `address`.\n     *\n     * Requirements:\n     * - The string must be formatted as `(0x)?[0-9a-fA-F]{40}`\n     */\n    function parseAddress(string memory input) internal pure returns (address) {\n        return parseAddress(input, 0, bytes(input).length);\n    }\n\n    /**\n     * @dev Variant of {parseAddress-string} that parses a substring of `input` located between position `begin` (included) and\n     * `end` (excluded).\n     *\n     * Requirements:\n     * - The substring must be formatted as `(0x)?[0-9a-fA-F]{40}`\n     */\n    function parseAddress(string memory input, uint256 begin, uint256 end) internal pure returns (address) {\n        (bool success, address value) = tryParseAddress(input, begin, end);\n        if (!success) revert StringsInvalidAddressFormat();\n        return value;\n    }\n\n    /**\n     * @dev Variant of {parseAddress-string} that returns false if the parsing fails because the input is not a properly\n     * formatted address. See {parseAddress-string} requirements.\n     */\n    function tryParseAddress(string memory input) internal pure returns (bool success, address value) {\n        return tryParseAddress(input, 0, bytes(input).length);\n    }\n\n    /**\n     * @dev Variant of {parseAddress-string-uint256-uint256} that returns false if the parsing fails because input is not a properly\n     * formatted address. See {parseAddress-string-uint256-uint256} requirements.\n     */\n    function tryParseAddress(\n        string memory input,\n        uint256 begin,\n        uint256 end\n    ) internal pure returns (bool success, address value) {\n        if (end > bytes(input).length || begin > end) return (false, address(0));\n\n        bool hasPrefix = (end > begin + 1) && bytes2(_unsafeReadBytesOffset(bytes(input), begin)) == bytes2(\"0x\"); // don't do out-of-bound (possibly unsafe) read if sub-string is empty\n        uint256 expectedLength = 40 + hasPrefix.toUint() * 2;\n\n        // check that input is the correct length\n        if (end - begin == expectedLength) {\n            // length guarantees that this does not overflow, and value is at most type(uint160).max\n            (bool s, uint256 v) = _tryParseHexUintUncheckedBounds(input, begin, end);\n            return (s, address(uint160(v)));\n        } else {\n            return (false, address(0));\n        }\n    }\n\n    function _tryParseChr(bytes1 chr) private pure returns (uint8) {\n        uint8 value = uint8(chr);\n\n        // Try to parse `chr`:\n        // - Case 1: [0-9]\n        // - Case 2: [a-f]\n        // - Case 3: [A-F]\n        // - otherwise not supported\n        unchecked {\n            if (value > 47 && value < 58) value -= 48;\n            else if (value > 96 && value < 103) value -= 87;\n            else if (value > 64 && value < 71) value -= 55;\n            else return type(uint8).max;\n        }\n\n        return value;\n    }\n\n    /**\n     * @dev Escape special characters in JSON strings. This can be useful to prevent JSON injection in NFT metadata.\n     *\n     * WARNING: This function should only be used in double quoted JSON strings. Single quotes are not escaped.\n     */\n    function escapeJSON(string memory input) internal pure returns (string memory) {\n        bytes memory buffer = bytes(input);\n        bytes memory output = new bytes(2 * buffer.length); // worst case scenario\n        uint256 outputLength = 0;\n\n        for (uint256 i; i < buffer.length; ++i) {\n            bytes1 char = bytes1(_unsafeReadBytesOffset(buffer, i));\n            if (((SPECIAL_CHARS_LOOKUP & (1 << uint8(char))) != 0)) {\n                output[outputLength++] = \"\\\\\";\n                if (char == 0x08) output[outputLength++] = \"b\";\n                else if (char == 0x09) output[outputLength++] = \"t\";\n                else if (char == 0x0a) output[outputLength++] = \"n\";\n                else if (char == 0x0c) output[outputLength++] = \"f\";\n                else if (char == 0x0d) output[outputLength++] = \"r\";\n                else if (char == 0x5c) output[outputLength++] = \"\\\\\";\n                else if (char == 0x22) {\n                    // solhint-disable-next-line quotes\n                    output[outputLength++] = '\"';\n                }\n            } else {\n                output[outputLength++] = char;\n            }\n        }\n        // write the actual length and deallocate unused memory\n        assembly (\"memory-safe\") {\n            mstore(output, outputLength)\n            mstore(0x40, add(output, shl(5, shr(5, add(outputLength, 63)))))\n        }\n\n        return string(output);\n    }\n\n    /**\n     * @dev Reads a bytes32 from a bytes array without bounds checking.\n     *\n     * NOTE: making this function internal would mean it could be used with memory unsafe offset, and marking the\n     * assembly block as such would prevent some optimizations.\n     */\n    function _unsafeReadBytesOffset(bytes memory buffer, uint256 offset) private pure returns (bytes32 value) {\n        // This is not memory safe in the general case, but all calls to this private function are within bounds.\n        assembly (\"memory-safe\") {\n            value := mload(add(buffer, add(0x20, offset)))\n        }\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/access/Ownable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)\n\npragma solidity ^0.8.20;\n\nimport {Context} from \"../utils/Context.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 Ownable is Context {\n    address private _owner;\n\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"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/math/Math.sol)\n\npragma solidity ^0.8.20;\n\nimport {Panic} from \"../Panic.sol\";\nimport {SafeCast} from \"./SafeCast.sol\";\n\n/**\n * @dev Standard math utilities missing in the Solidity language.\n */\nlibrary Math {\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 Return the 512-bit addition of two uint256.\n     *\n     * The result is stored in two 256 variables such that sum = high * 2²⁵⁶ + low.\n     */\n    function add512(uint256 a, uint256 b) internal pure returns (uint256 high, uint256 low) {\n        assembly (\"memory-safe\") {\n            low := add(a, b)\n            high := lt(low, a)\n        }\n    }\n\n    /**\n     * @dev Return the 512-bit multiplication of two uint256.\n     *\n     * The result is stored in two 256 variables such that product = high * 2²⁵⁶ + low.\n     */\n    function mul512(uint256 a, uint256 b) internal pure returns (uint256 high, uint256 low) {\n        // 512-bit multiply [high low] = x * y. Compute the product mod 2²⁵⁶ and mod 2²⁵⁶ - 1, then use\n        // the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256\n        // variables such that product = high * 2²⁵⁶ + low.\n        assembly (\"memory-safe\") {\n            let mm := mulmod(a, b, not(0))\n            low := mul(a, b)\n            high := sub(sub(mm, low), lt(mm, low))\n        }\n    }\n\n    /**\n     * @dev Returns the addition of two unsigned integers, with an success flag (no overflow).\n     */\n    function tryAdd(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            uint256 c = a + b;\n            success = c >= a;\n            result = c * SafeCast.toUint(success);\n        }\n    }\n\n    /**\n     * @dev Returns the subtraction of two unsigned integers, with an success flag (no overflow).\n     */\n    function trySub(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            uint256 c = a - b;\n            success = c <= a;\n            result = c * SafeCast.toUint(success);\n        }\n    }\n\n    /**\n     * @dev Returns the multiplication of two unsigned integers, with an success flag (no overflow).\n     */\n    function tryMul(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            uint256 c = a * b;\n            assembly (\"memory-safe\") {\n                // Only true when the multiplication doesn't overflow\n                // (c / a == b) || (a == 0)\n                success := or(eq(div(c, a), b), iszero(a))\n            }\n            // equivalent to: success ? c : 0\n            result = c * SafeCast.toUint(success);\n        }\n    }\n\n    /**\n     * @dev Returns the division of two unsigned integers, with a success flag (no division by zero).\n     */\n    function tryDiv(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            success = b > 0;\n            assembly (\"memory-safe\") {\n                // The `DIV` opcode returns zero when the denominator is 0.\n                result := div(a, b)\n            }\n        }\n    }\n\n    /**\n     * @dev Returns the remainder of dividing two unsigned integers, with a success flag (no division by zero).\n     */\n    function tryMod(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            success = b > 0;\n            assembly (\"memory-safe\") {\n                // The `MOD` opcode returns zero when the denominator is 0.\n                result := mod(a, b)\n            }\n        }\n    }\n\n    /**\n     * @dev Unsigned saturating addition, bounds to `2²⁵⁶ - 1` instead of overflowing.\n     */\n    function saturatingAdd(uint256 a, uint256 b) internal pure returns (uint256) {\n        (bool success, uint256 result) = tryAdd(a, b);\n        return ternary(success, result, type(uint256).max);\n    }\n\n    /**\n     * @dev Unsigned saturating subtraction, bounds to zero instead of overflowing.\n     */\n    function saturatingSub(uint256 a, uint256 b) internal pure returns (uint256) {\n        (, uint256 result) = trySub(a, b);\n        return result;\n    }\n\n    /**\n     * @dev Unsigned saturating multiplication, bounds to `2²⁵⁶ - 1` instead of overflowing.\n     */\n    function saturatingMul(uint256 a, uint256 b) internal pure returns (uint256) {\n        (bool success, uint256 result) = tryMul(a, b);\n        return ternary(success, result, type(uint256).max);\n    }\n\n    /**\n     * @dev Branchless ternary evaluation for `a ? b : c`. Gas costs are constant.\n     *\n     * IMPORTANT: This function may reduce bytecode size and consume less gas when used standalone.\n     * However, the compiler may optimize Solidity ternary operations (i.e. `a ? b : c`) to only compute\n     * one branch when needed, making this function more expensive.\n     */\n    function ternary(bool condition, uint256 a, uint256 b) internal pure returns (uint256) {\n        unchecked {\n            // branchless ternary works because:\n            // b ^ (a ^ b) == a\n            // b ^ 0 == b\n            return b ^ ((a ^ b) * SafeCast.toUint(condition));\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 ternary(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 ternary(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            Panic.panic(Panic.DIVISION_BY_ZERO);\n        }\n\n        // The following calculation ensures accurate ceiling division without overflow.\n        // Since a is non-zero, (a - 1) / b will not overflow.\n        // The largest possible result occurs when (a - 1) / b is type(uint256).max,\n        // but the largest value we can obtain is type(uint256).max - 1, which happens\n        // when a = type(uint256).max and b = 1.\n        unchecked {\n            return SafeCast.toUint(a > 0) * ((a - 1) / b + 1);\n        }\n    }\n\n    /**\n     * @dev Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or\n     * denominator == 0.\n     *\n     * 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            (uint256 high, uint256 low) = mul512(x, y);\n\n            // Handle non-overflow cases, 256 by 256 division.\n            if (high == 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 low / denominator;\n            }\n\n            // Make sure the result is less than 2²⁵⁶. Also prevents denominator == 0.\n            if (denominator <= high) {\n                Panic.panic(ternary(denominator == 0, Panic.DIVISION_BY_ZERO, Panic.UNDER_OVERFLOW));\n            }\n\n            ///////////////////////////////////////////////\n            // 512 by 256 division.\n            ///////////////////////////////////////////////\n\n            // Make division exact by subtracting the remainder from [high low].\n            uint256 remainder;\n            assembly (\"memory-safe\") {\n                // Compute remainder using mulmod.\n                remainder := mulmod(x, y, denominator)\n\n                // Subtract 256 bit number from 512 bit number.\n                high := sub(high, gt(remainder, low))\n                low := sub(low, remainder)\n            }\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 (\"memory-safe\") {\n                // Divide denominator by twos.\n                denominator := div(denominator, twos)\n\n                // Divide [high low] by twos.\n                low := div(low, twos)\n\n                // Flip twos such that it is 2²⁵⁶ / 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 high into low.\n            low |= high * twos;\n\n            // Invert denominator mod 2²⁵⁶. Now that denominator is an odd number, it has an inverse modulo 2²⁵⁶ such\n            // that denominator * inv ≡ 1 mod 2²⁵⁶. Compute the inverse by starting with a seed that is correct for\n            // four bits. That is, denominator * inv ≡ 1 mod 2⁴.\n            uint256 inverse = (3 * denominator) ^ 2;\n\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⁸\n            inverse *= 2 - denominator * inverse; // inverse mod 2¹⁶\n            inverse *= 2 - denominator * inverse; // inverse mod 2³²\n            inverse *= 2 - denominator * inverse; // inverse mod 2⁶⁴\n            inverse *= 2 - denominator * inverse; // inverse mod 2¹²⁸\n            inverse *= 2 - denominator * inverse; // inverse mod 2²⁵⁶\n\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²⁵⁶. Since the preconditions guarantee that the outcome is\n            // less than 2²⁵⁶, this is the final result. We don't need to compute the high bits of the result and high\n            // is no longer required.\n            result = low * inverse;\n            return result;\n        }\n    }\n\n    /**\n     * @dev 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        return mulDiv(x, y, denominator) + SafeCast.toUint(unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0);\n    }\n\n    /**\n     * @dev Calculates floor(x * y >> n) with full precision. Throws if result overflows a uint256.\n     */\n    function mulShr(uint256 x, uint256 y, uint8 n) internal pure returns (uint256 result) {\n        unchecked {\n            (uint256 high, uint256 low) = mul512(x, y);\n            if (high >= 1 << n) {\n                Panic.panic(Panic.UNDER_OVERFLOW);\n            }\n            return (high << (256 - n)) | (low >> n);\n        }\n    }\n\n    /**\n     * @dev Calculates x * y >> n with full precision, following the selected rounding direction.\n     */\n    function mulShr(uint256 x, uint256 y, uint8 n, Rounding rounding) internal pure returns (uint256) {\n        return mulShr(x, y, n) + SafeCast.toUint(unsignedRoundsUp(rounding) && mulmod(x, y, 1 << n) > 0);\n    }\n\n    /**\n     * @dev Calculate the modular multiplicative inverse of a number in Z/nZ.\n     *\n     * If n is a prime, then Z/nZ is a field. In that case all elements are inversible, except 0.\n     * If n is not a prime, then Z/nZ is not a field, and some elements might not be inversible.\n     *\n     * If the input value is not inversible, 0 is returned.\n     *\n     * NOTE: If you know for sure that n is (big) a prime, it may be cheaper to use Fermat's little theorem and get the\n     * inverse using `Math.modExp(a, n - 2, n)`. See {invModPrime}.\n     */\n    function invMod(uint256 a, uint256 n) internal pure returns (uint256) {\n        unchecked {\n            if (n == 0) return 0;\n\n            // The inverse modulo is calculated using the Extended Euclidean Algorithm (iterative version)\n            // Used to compute integers x and y such that: ax + ny = gcd(a, n).\n            // When the gcd is 1, then the inverse of a modulo n exists and it's x.\n            // ax + ny = 1\n            // ax = 1 + (-y)n\n            // ax ≡ 1 (mod n) # x is the inverse of a modulo n\n\n            // If the remainder is 0 the gcd is n right away.\n            uint256 remainder = a % n;\n            uint256 gcd = n;\n\n            // Therefore the initial coefficients are:\n            // ax + ny = gcd(a, n) = n\n            // 0a + 1n = n\n            int256 x = 0;\n            int256 y = 1;\n\n            while (remainder != 0) {\n                uint256 quotient = gcd / remainder;\n\n                (gcd, remainder) = (\n                    // The old remainder is the next gcd to try.\n                    remainder,\n                    // Compute the next remainder.\n                    // Can't overflow given that (a % gcd) * (gcd // (a % gcd)) <= gcd\n                    // where gcd is at most n (capped to type(uint256).max)\n                    gcd - remainder * quotient\n                );\n\n                (x, y) = (\n                    // Increment the coefficient of a.\n                    y,\n                    // Decrement the coefficient of n.\n                    // Can overflow, but the result is casted to uint256 so that the\n                    // next value of y is \"wrapped around\" to a value between 0 and n - 1.\n                    x - y * int256(quotient)\n                );\n            }\n\n            if (gcd != 1) return 0; // No inverse exists.\n            return ternary(x < 0, n - uint256(-x), uint256(x)); // Wrap the result if it's negative.\n        }\n    }\n\n    /**\n     * @dev Variant of {invMod}. More efficient, but only works if `p` is known to be a prime greater than `2`.\n     *\n     * From https://en.wikipedia.org/wiki/Fermat%27s_little_theorem[Fermat's little theorem], we know that if p is\n     * prime, then `a**(p-1) ≡ 1 mod p`. As a consequence, we have `a * a**(p-2) ≡ 1 mod p`, which means that\n     * `a**(p-2)` is the modular multiplicative inverse of a in Fp.\n     *\n     * NOTE: this function does NOT check that `p` is a prime greater than `2`.\n     */\n    function invModPrime(uint256 a, uint256 p) internal view returns (uint256) {\n        unchecked {\n            return Math.modExp(a, p - 2, p);\n        }\n    }\n\n    /**\n     * @dev Returns the modular exponentiation of the specified base, exponent and modulus (b ** e % m)\n     *\n     * Requirements:\n     * - modulus can't be zero\n     * - underlying staticcall to precompile must succeed\n     *\n     * IMPORTANT: The result is only valid if the underlying call succeeds. When using this function, make\n     * sure the chain you're using it on supports the precompiled contract for modular exponentiation\n     * at address 0x05 as specified in https://eips.ethereum.org/EIPS/eip-198[EIP-198]. Otherwise,\n     * the underlying function will succeed given the lack of a revert, but the result may be incorrectly\n     * interpreted as 0.\n     */\n    function modExp(uint256 b, uint256 e, uint256 m) internal view returns (uint256) {\n        (bool success, uint256 result) = tryModExp(b, e, m);\n        if (!success) {\n            Panic.panic(Panic.DIVISION_BY_ZERO);\n        }\n        return result;\n    }\n\n    /**\n     * @dev Returns the modular exponentiation of the specified base, exponent and modulus (b ** e % m).\n     * It includes a success flag indicating if the operation succeeded. Operation will be marked as failed if trying\n     * to operate modulo 0 or if the underlying precompile reverted.\n     *\n     * IMPORTANT: The result is only valid if the success flag is true. When using this function, make sure the chain\n     * you're using it on supports the precompiled contract for modular exponentiation at address 0x05 as specified in\n     * https://eips.ethereum.org/EIPS/eip-198[EIP-198]. Otherwise, the underlying function will succeed given the lack\n     * of a revert, but the result may be incorrectly interpreted as 0.\n     */\n    function tryModExp(uint256 b, uint256 e, uint256 m) internal view returns (bool success, uint256 result) {\n        if (m == 0) return (false, 0);\n        assembly (\"memory-safe\") {\n            let ptr := mload(0x40)\n            // | Offset    | Content    | Content (Hex)                                                      |\n            // |-----------|------------|--------------------------------------------------------------------|\n            // | 0x00:0x1f | size of b  | 0x0000000000000000000000000000000000000000000000000000000000000020 |\n            // | 0x20:0x3f | size of e  | 0x0000000000000000000000000000000000000000000000000000000000000020 |\n            // | 0x40:0x5f | size of m  | 0x0000000000000000000000000000000000000000000000000000000000000020 |\n            // | 0x60:0x7f | value of b | 0x<.............................................................b> |\n            // | 0x80:0x9f | value of e | 0x<.............................................................e> |\n            // | 0xa0:0xbf | value of m | 0x<.............................................................m> |\n            mstore(ptr, 0x20)\n            mstore(add(ptr, 0x20), 0x20)\n            mstore(add(ptr, 0x40), 0x20)\n            mstore(add(ptr, 0x60), b)\n            mstore(add(ptr, 0x80), e)\n            mstore(add(ptr, 0xa0), m)\n\n            // Given the result < m, it's guaranteed to fit in 32 bytes,\n            // so we can use the memory scratch space located at offset 0.\n            success := staticcall(gas(), 0x05, ptr, 0xc0, 0x00, 0x20)\n            result := mload(0x00)\n        }\n    }\n\n    /**\n     * @dev Variant of {modExp} that supports inputs of arbitrary length.\n     */\n    function modExp(bytes memory b, bytes memory e, bytes memory m) internal view returns (bytes memory) {\n        (bool success, bytes memory result) = tryModExp(b, e, m);\n        if (!success) {\n            Panic.panic(Panic.DIVISION_BY_ZERO);\n        }\n        return result;\n    }\n\n    /**\n     * @dev Variant of {tryModExp} that supports inputs of arbitrary length.\n     */\n    function tryModExp(\n        bytes memory b,\n        bytes memory e,\n        bytes memory m\n    ) internal view returns (bool success, bytes memory result) {\n        if (_zeroBytes(m)) return (false, new bytes(0));\n\n        uint256 mLen = m.length;\n\n        // Encode call args in result and move the free memory pointer\n        result = abi.encodePacked(b.length, e.length, mLen, b, e, m);\n\n        assembly (\"memory-safe\") {\n            let dataPtr := add(result, 0x20)\n            // Write result on top of args to avoid allocating extra memory.\n            success := staticcall(gas(), 0x05, dataPtr, mload(result), dataPtr, mLen)\n            // Overwrite the length.\n            // result.length > returndatasize() is guaranteed because returndatasize() == m.length\n            mstore(result, mLen)\n            // Set the memory pointer after the returned data.\n            mstore(0x40, add(dataPtr, mLen))\n        }\n    }\n\n    /**\n     * @dev Returns whether the provided byte array is zero.\n     */\n    function _zeroBytes(bytes memory byteArray) private pure returns (bool) {\n        for (uint256 i = 0; i < byteArray.length; ++i) {\n            if (byteArray[i] != 0) {\n                return false;\n            }\n        }\n        return true;\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     * This method is based on Newton's method for computing square roots; the algorithm is restricted to only\n     * using integer operations.\n     */\n    function sqrt(uint256 a) internal pure returns (uint256) {\n        unchecked {\n            // Take care of easy edge cases when a == 0 or a == 1\n            if (a <= 1) {\n                return a;\n            }\n\n            // In this function, we use Newton's method to get a root of `f(x) := x² - a`. It involves building a\n            // sequence x_n that converges toward sqrt(a). For each iteration x_n, we also define the error between\n            // the current value as `ε_n = | x_n - sqrt(a) |`.\n            //\n            // For our first estimation, we consider `e` the smallest power of 2 which is bigger than the square root\n            // of the target. (i.e. `2**(e-1) ≤ sqrt(a) < 2**e`). We know that `e ≤ 128` because `(2¹²⁸)² = 2²⁵⁶` is\n            // bigger than any uint256.\n            //\n            // By noticing that\n            // `2**(e-1) ≤ sqrt(a) < 2**e → (2**(e-1))² ≤ a < (2**e)² → 2**(2*e-2) ≤ a < 2**(2*e)`\n            // we can deduce that `e - 1` is `log2(a) / 2`. We can thus compute `x_n = 2**(e-1)` using a method similar\n            // to the msb function.\n            uint256 aa = a;\n            uint256 xn = 1;\n\n            if (aa >= (1 << 128)) {\n                aa >>= 128;\n                xn <<= 64;\n            }\n            if (aa >= (1 << 64)) {\n                aa >>= 64;\n                xn <<= 32;\n            }\n            if (aa >= (1 << 32)) {\n                aa >>= 32;\n                xn <<= 16;\n            }\n            if (aa >= (1 << 16)) {\n                aa >>= 16;\n                xn <<= 8;\n            }\n            if (aa >= (1 << 8)) {\n                aa >>= 8;\n                xn <<= 4;\n            }\n            if (aa >= (1 << 4)) {\n                aa >>= 4;\n                xn <<= 2;\n            }\n            if (aa >= (1 << 2)) {\n                xn <<= 1;\n            }\n\n            // We now have x_n such that `x_n = 2**(e-1) ≤ sqrt(a) < 2**e = 2 * x_n`. This implies ε_n ≤ 2**(e-1).\n            //\n            // We can refine our estimation by noticing that the middle of that interval minimizes the error.\n            // If we move x_n to equal 2**(e-1) + 2**(e-2), then we reduce the error to ε_n ≤ 2**(e-2).\n            // This is going to be our x_0 (and ε_0)\n            xn = (3 * xn) >> 1; // ε_0 := | x_0 - sqrt(a) | ≤ 2**(e-2)\n\n            // From here, Newton's method give us:\n            // x_{n+1} = (x_n + a / x_n) / 2\n            //\n            // One should note that:\n            // x_{n+1}² - a = ((x_n + a / x_n) / 2)² - a\n            //              = ((x_n² + a) / (2 * x_n))² - a\n            //              = (x_n⁴ + 2 * a * x_n² + a²) / (4 * x_n²) - a\n            //              = (x_n⁴ + 2 * a * x_n² + a² - 4 * a * x_n²) / (4 * x_n²)\n            //              = (x_n⁴ - 2 * a * x_n² + a²) / (4 * x_n²)\n            //              = (x_n² - a)² / (2 * x_n)²\n            //              = ((x_n² - a) / (2 * x_n))²\n            //              ≥ 0\n            // Which proves that for all n ≥ 1, sqrt(a) ≤ x_n\n            //\n            // This gives us the proof of quadratic convergence of the sequence:\n            // ε_{n+1} = | x_{n+1} - sqrt(a) |\n            //         = | (x_n + a / x_n) / 2 - sqrt(a) |\n            //         = | (x_n² + a - 2*x_n*sqrt(a)) / (2 * x_n) |\n            //         = | (x_n - sqrt(a))² / (2 * x_n) |\n            //         = | ε_n² / (2 * x_n) |\n            //         = ε_n² / | (2 * x_n) |\n            //\n            // For the first iteration, we have a special case where x_0 is known:\n            // ε_1 = ε_0² / | (2 * x_0) |\n            //     ≤ (2**(e-2))² / (2 * (2**(e-1) + 2**(e-2)))\n            //     ≤ 2**(2*e-4) / (3 * 2**(e-1))\n            //     ≤ 2**(e-3) / 3\n            //     ≤ 2**(e-3-log2(3))\n            //     ≤ 2**(e-4.5)\n            //\n            // For the following iterations, we use the fact that, 2**(e-1) ≤ sqrt(a) ≤ x_n:\n            // ε_{n+1} = ε_n² / | (2 * x_n) |\n            //         ≤ (2**(e-k))² / (2 * 2**(e-1))\n            //         ≤ 2**(2*e-2*k) / 2**e\n            //         ≤ 2**(e-2*k)\n            xn = (xn + a / xn) >> 1; // ε_1 := | x_1 - sqrt(a) | ≤ 2**(e-4.5)  -- special case, see above\n            xn = (xn + a / xn) >> 1; // ε_2 := | x_2 - sqrt(a) | ≤ 2**(e-9)    -- general case with k = 4.5\n            xn = (xn + a / xn) >> 1; // ε_3 := | x_3 - sqrt(a) | ≤ 2**(e-18)   -- general case with k = 9\n            xn = (xn + a / xn) >> 1; // ε_4 := | x_4 - sqrt(a) | ≤ 2**(e-36)   -- general case with k = 18\n            xn = (xn + a / xn) >> 1; // ε_5 := | x_5 - sqrt(a) | ≤ 2**(e-72)   -- general case with k = 36\n            xn = (xn + a / xn) >> 1; // ε_6 := | x_6 - sqrt(a) | ≤ 2**(e-144)  -- general case with k = 72\n\n            // Because e ≤ 128 (as discussed during the first estimation phase), we know have reached a precision\n            // ε_6 ≤ 2**(e-144) < 1. Given we're operating on integers, then we can ensure that xn is now either\n            // sqrt(a) or sqrt(a) + 1.\n            return xn - SafeCast.toUint(xn > a / xn);\n        }\n    }\n\n    /**\n     * @dev 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 + SafeCast.toUint(unsignedRoundsUp(rounding) && result * result < a);\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 x) internal pure returns (uint256 r) {\n        // If value has upper 128 bits set, log2 result is at least 128\n        r = SafeCast.toUint(x > 0xffffffffffffffffffffffffffffffff) << 7;\n        // If upper 64 bits of 128-bit half set, add 64 to result\n        r |= SafeCast.toUint((x >> r) > 0xffffffffffffffff) << 6;\n        // If upper 32 bits of 64-bit half set, add 32 to result\n        r |= SafeCast.toUint((x >> r) > 0xffffffff) << 5;\n        // If upper 16 bits of 32-bit half set, add 16 to result\n        r |= SafeCast.toUint((x >> r) > 0xffff) << 4;\n        // If upper 8 bits of 16-bit half set, add 8 to result\n        r |= SafeCast.toUint((x >> r) > 0xff) << 3;\n        // If upper 4 bits of 8-bit half set, add 4 to result\n        r |= SafeCast.toUint((x >> r) > 0xf) << 2;\n\n        // Shifts value right by the current result and use it as an index into this lookup table:\n        //\n        // | x (4 bits) |  index  | table[index] = MSB position |\n        // |------------|---------|-----------------------------|\n        // |    0000    |    0    |        table[0] = 0         |\n        // |    0001    |    1    |        table[1] = 0         |\n        // |    0010    |    2    |        table[2] = 1         |\n        // |    0011    |    3    |        table[3] = 1         |\n        // |    0100    |    4    |        table[4] = 2         |\n        // |    0101    |    5    |        table[5] = 2         |\n        // |    0110    |    6    |        table[6] = 2         |\n        // |    0111    |    7    |        table[7] = 2         |\n        // |    1000    |    8    |        table[8] = 3         |\n        // |    1001    |    9    |        table[9] = 3         |\n        // |    1010    |   10    |        table[10] = 3        |\n        // |    1011    |   11    |        table[11] = 3        |\n        // |    1100    |   12    |        table[12] = 3        |\n        // |    1101    |   13    |        table[13] = 3        |\n        // |    1110    |   14    |        table[14] = 3        |\n        // |    1111    |   15    |        table[15] = 3        |\n        //\n        // The lookup table is represented as a 32-byte value with the MSB positions for 0-15 in the last 16 bytes.\n        assembly (\"memory-safe\") {\n            r := or(r, byte(shr(r, x), 0x0000010102020202030303030303030300000000000000000000000000000000))\n        }\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 + SafeCast.toUint(unsignedRoundsUp(rounding) && 1 << result < value);\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 + SafeCast.toUint(unsignedRoundsUp(rounding) && 10 ** result < value);\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 x) internal pure returns (uint256 r) {\n        // If value has upper 128 bits set, log2 result is at least 128\n        r = SafeCast.toUint(x > 0xffffffffffffffffffffffffffffffff) << 7;\n        // If upper 64 bits of 128-bit half set, add 64 to result\n        r |= SafeCast.toUint((x >> r) > 0xffffffffffffffff) << 6;\n        // If upper 32 bits of 64-bit half set, add 32 to result\n        r |= SafeCast.toUint((x >> r) > 0xffffffff) << 5;\n        // If upper 16 bits of 32-bit half set, add 16 to result\n        r |= SafeCast.toUint((x >> r) > 0xffff) << 4;\n        // Add 1 if upper 8 bits of 16-bit half set, and divide accumulated result by 8\n        return (r >> 3) | SafeCast.toUint((x >> r) > 0xff);\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 + SafeCast.toUint(unsignedRoundsUp(rounding) && 1 << (result << 3) < value);\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"},"lib/openzeppelin-contracts/contracts/interfaces/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC20.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"../token/ERC20/IERC20.sol\";\n"},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.2.0) (token/ERC20/ERC20.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"./IERC20.sol\";\nimport {IERC20Metadata} from \"./extensions/IERC20Metadata.sol\";\nimport {Context} from \"../../utils/Context.sol\";\nimport {IERC20Errors} from \"../../interfaces/draft-IERC6093.sol\";\n\n/**\n * @dev Implementation of the {IERC20} interface.\n *\n * This implementation is agnostic to the way tokens are created. This means\n * that a supply mechanism has to be added in a derived contract using {_mint}.\n *\n * TIP: For a detailed writeup see our guide\n * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How\n * to implement supply mechanisms].\n *\n * The default value of {decimals} is 18. To change this, you should override\n * this function so it returns a different value.\n *\n * We have followed general OpenZeppelin Contracts guidelines: functions revert\n * instead returning `false` on failure. This behavior is nonetheless\n * conventional and does not conflict with the expectations of ERC-20\n * applications.\n */\nabstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {\n    mapping(address account => uint256) private _balances;\n\n    mapping(address account => mapping(address spender => uint256)) private _allowances;\n\n    uint256 private _totalSupply;\n\n    string private _name;\n    string private _symbol;\n\n    /**\n     * @dev Sets the values for {name} and {symbol}.\n     *\n     * All two of these values are immutable: they can only be set once during\n     * construction.\n     */\n    constructor(string memory name_, string memory symbol_) {\n        _name = name_;\n        _symbol = symbol_;\n    }\n\n    /**\n     * @dev Returns the name of the token.\n     */\n    function name() public view virtual returns (string memory) {\n        return _name;\n    }\n\n    /**\n     * @dev Returns the symbol of the token, usually a shorter version of the\n     * name.\n     */\n    function symbol() public view virtual returns (string memory) {\n        return _symbol;\n    }\n\n    /**\n     * @dev Returns the number of decimals used to get its user representation.\n     * For example, if `decimals` equals `2`, a balance of `505` tokens should\n     * be displayed to a user as `5.05` (`505 / 10 ** 2`).\n     *\n     * Tokens usually opt for a value of 18, imitating the relationship between\n     * Ether and Wei. This is the default value returned by this function, unless\n     * it's overridden.\n     *\n     * NOTE: This information is only used for _display_ purposes: it in\n     * no way affects any of the arithmetic of the contract, including\n     * {IERC20-balanceOf} and {IERC20-transfer}.\n     */\n    function decimals() public view virtual returns (uint8) {\n        return 18;\n    }\n\n    /**\n     * @dev See {IERC20-totalSupply}.\n     */\n    function totalSupply() public view virtual returns (uint256) {\n        return _totalSupply;\n    }\n\n    /**\n     * @dev See {IERC20-balanceOf}.\n     */\n    function balanceOf(address account) public view virtual returns (uint256) {\n        return _balances[account];\n    }\n\n    /**\n     * @dev See {IERC20-transfer}.\n     *\n     * Requirements:\n     *\n     * - `to` cannot be the zero address.\n     * - the caller must have a balance of at least `value`.\n     */\n    function transfer(address to, uint256 value) public virtual returns (bool) {\n        address owner = _msgSender();\n        _transfer(owner, to, value);\n        return true;\n    }\n\n    /**\n     * @dev See {IERC20-allowance}.\n     */\n    function allowance(address owner, address spender) public view virtual returns (uint256) {\n        return _allowances[owner][spender];\n    }\n\n    /**\n     * @dev See {IERC20-approve}.\n     *\n     * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on\n     * `transferFrom`. This is semantically equivalent to an infinite approval.\n     *\n     * Requirements:\n     *\n     * - `spender` cannot be the zero address.\n     */\n    function approve(address spender, uint256 value) public virtual returns (bool) {\n        address owner = _msgSender();\n        _approve(owner, spender, value);\n        return true;\n    }\n\n    /**\n     * @dev See {IERC20-transferFrom}.\n     *\n     * Skips emitting an {Approval} event indicating an allowance update. This is not\n     * required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve].\n     *\n     * NOTE: Does not update the allowance if the current allowance\n     * is the maximum `uint256`.\n     *\n     * Requirements:\n     *\n     * - `from` and `to` cannot be the zero address.\n     * - `from` must have a balance of at least `value`.\n     * - the caller must have allowance for ``from``'s tokens of at least\n     * `value`.\n     */\n    function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {\n        address spender = _msgSender();\n        _spendAllowance(from, spender, value);\n        _transfer(from, to, value);\n        return true;\n    }\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to`.\n     *\n     * This internal function is equivalent to {transfer}, and can be used to\n     * e.g. implement automatic token fees, slashing mechanisms, etc.\n     *\n     * Emits a {Transfer} event.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead.\n     */\n    function _transfer(address from, address to, uint256 value) internal {\n        if (from == address(0)) {\n            revert ERC20InvalidSender(address(0));\n        }\n        if (to == address(0)) {\n            revert ERC20InvalidReceiver(address(0));\n        }\n        _update(from, to, value);\n    }\n\n    /**\n     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`\n     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding\n     * this function.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _update(address from, address to, uint256 value) internal virtual {\n        if (from == address(0)) {\n            // Overflow check required: The rest of the code assumes that totalSupply never overflows\n            _totalSupply += value;\n        } else {\n            uint256 fromBalance = _balances[from];\n            if (fromBalance < value) {\n                revert ERC20InsufficientBalance(from, fromBalance, value);\n            }\n            unchecked {\n                // Overflow not possible: value <= fromBalance <= totalSupply.\n                _balances[from] = fromBalance - value;\n            }\n        }\n\n        if (to == address(0)) {\n            unchecked {\n                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.\n                _totalSupply -= value;\n            }\n        } else {\n            unchecked {\n                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.\n                _balances[to] += value;\n            }\n        }\n\n        emit Transfer(from, to, value);\n    }\n\n    /**\n     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).\n     * Relies on the `_update` mechanism\n     *\n     * Emits a {Transfer} event with `from` set to the zero address.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead.\n     */\n    function _mint(address account, uint256 value) internal {\n        if (account == address(0)) {\n            revert ERC20InvalidReceiver(address(0));\n        }\n        _update(address(0), account, value);\n    }\n\n    /**\n     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.\n     * Relies on the `_update` mechanism.\n     *\n     * Emits a {Transfer} event with `to` set to the zero address.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead\n     */\n    function _burn(address account, uint256 value) internal {\n        if (account == address(0)) {\n            revert ERC20InvalidSender(address(0));\n        }\n        _update(account, address(0), value);\n    }\n\n    /**\n     * @dev Sets `value` as the allowance of `spender` over the `owner` s tokens.\n     *\n     * This internal function is equivalent to `approve`, and can be used to\n     * e.g. set automatic allowances for certain subsystems, etc.\n     *\n     * Emits an {Approval} event.\n     *\n     * Requirements:\n     *\n     * - `owner` cannot be the zero address.\n     * - `spender` cannot be the zero address.\n     *\n     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.\n     */\n    function _approve(address owner, address spender, uint256 value) internal {\n        _approve(owner, spender, value, true);\n    }\n\n    /**\n     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.\n     *\n     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by\n     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any\n     * `Approval` event during `transferFrom` operations.\n     *\n     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to\n     * true using the following override:\n     *\n     * ```solidity\n     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {\n     *     super._approve(owner, spender, value, true);\n     * }\n     * ```\n     *\n     * Requirements are the same as {_approve}.\n     */\n    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {\n        if (owner == address(0)) {\n            revert ERC20InvalidApprover(address(0));\n        }\n        if (spender == address(0)) {\n            revert ERC20InvalidSpender(address(0));\n        }\n        _allowances[owner][spender] = value;\n        if (emitEvent) {\n            emit Approval(owner, spender, value);\n        }\n    }\n\n    /**\n     * @dev Updates `owner` s allowance for `spender` based on spent `value`.\n     *\n     * Does not update the allowance value in case of infinite allowance.\n     * Revert if not enough allowance is available.\n     *\n     * Does not emit an {Approval} event.\n     */\n    function _spendAllowance(address owner, address spender, uint256 value) internal virtual {\n        uint256 currentAllowance = allowance(owner, spender);\n        if (currentAllowance < type(uint256).max) {\n            if (currentAllowance < value) {\n                revert ERC20InsufficientAllowance(spender, currentAllowance, value);\n            }\n            unchecked {\n                _approve(owner, spender, currentAllowance - value, false);\n            }\n        }\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/utils/StorageSlot.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/StorageSlot.sol)\n// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Library for reading and writing primitive types to specific storage slots.\n *\n * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.\n * This library helps with reading and writing to such slots without the need for inline assembly.\n *\n * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.\n *\n * Example usage to set ERC-1967 implementation slot:\n * ```solidity\n * contract ERC1967 {\n *     // Define the slot. Alternatively, use the SlotDerivation library to derive the slot.\n *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n *\n *     function _getImplementation() internal view returns (address) {\n *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\n *     }\n *\n *     function _setImplementation(address newImplementation) internal {\n *         require(newImplementation.code.length > 0);\n *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\n *     }\n * }\n * ```\n *\n * TIP: Consider using this library along with {SlotDerivation}.\n */\nlibrary StorageSlot {\n    struct AddressSlot {\n        address value;\n    }\n\n    struct BooleanSlot {\n        bool value;\n    }\n\n    struct Bytes32Slot {\n        bytes32 value;\n    }\n\n    struct Uint256Slot {\n        uint256 value;\n    }\n\n    struct Int256Slot {\n        int256 value;\n    }\n\n    struct StringSlot {\n        string value;\n    }\n\n    struct BytesSlot {\n        bytes value;\n    }\n\n    /**\n     * @dev Returns an `AddressSlot` with member `value` located at `slot`.\n     */\n    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `BooleanSlot` with member `value` located at `slot`.\n     */\n    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Bytes32Slot` with member `value` located at `slot`.\n     */\n    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Uint256Slot` with member `value` located at `slot`.\n     */\n    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Int256Slot` with member `value` located at `slot`.\n     */\n    function getInt256Slot(bytes32 slot) internal pure returns (Int256Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `StringSlot` with member `value` located at `slot`.\n     */\n    function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `StringSlot` representation of the string storage pointer `store`.\n     */\n    function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := store.slot\n        }\n    }\n\n    /**\n     * @dev Returns a `BytesSlot` with member `value` located at `slot`.\n     */\n    function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.\n     */\n    function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := store.slot\n        }\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/interfaces/IERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC165.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC165} from \"../utils/introspection/IERC165.sol\";\n"},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC-20 standard as defined in the ERC.\n */\ninterface IERC20 {\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    /**\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    /**\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    /**\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    /**\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    /**\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"},"lib/openzeppelin-contracts/contracts/utils/ShortStrings.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/ShortStrings.sol)\n\npragma solidity ^0.8.20;\n\nimport {StorageSlot} from \"./StorageSlot.sol\";\n\n// | string  | 0xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA   |\n// | length  | 0x                                                              BB |\ntype ShortString is bytes32;\n\n/**\n * @dev This library provides functions to convert short memory strings\n * into a `ShortString` type that can be used as an immutable variable.\n *\n * Strings of arbitrary length can be optimized using this library if\n * they are short enough (up to 31 bytes) by packing them with their\n * length (1 byte) in a single EVM word (32 bytes). Additionally, a\n * fallback mechanism can be used for every other case.\n *\n * Usage example:\n *\n * ```solidity\n * contract Named {\n *     using ShortStrings for *;\n *\n *     ShortString private immutable _name;\n *     string private _nameFallback;\n *\n *     constructor(string memory contractName) {\n *         _name = contractName.toShortStringWithFallback(_nameFallback);\n *     }\n *\n *     function name() external view returns (string memory) {\n *         return _name.toStringWithFallback(_nameFallback);\n *     }\n * }\n * ```\n */\nlibrary ShortStrings {\n    // Used as an identifier for strings longer than 31 bytes.\n    bytes32 private constant FALLBACK_SENTINEL = 0x00000000000000000000000000000000000000000000000000000000000000FF;\n\n    error StringTooLong(string str);\n    error InvalidShortString();\n\n    /**\n     * @dev Encode a string of at most 31 chars into a `ShortString`.\n     *\n     * This will trigger a `StringTooLong` error is the input string is too long.\n     */\n    function toShortString(string memory str) internal pure returns (ShortString) {\n        bytes memory bstr = bytes(str);\n        if (bstr.length > 31) {\n            revert StringTooLong(str);\n        }\n        return ShortString.wrap(bytes32(uint256(bytes32(bstr)) | bstr.length));\n    }\n\n    /**\n     * @dev Decode a `ShortString` back to a \"normal\" string.\n     */\n    function toString(ShortString sstr) internal pure returns (string memory) {\n        uint256 len = byteLength(sstr);\n        // using `new string(len)` would work locally but is not memory safe.\n        string memory str = new string(32);\n        assembly (\"memory-safe\") {\n            mstore(str, len)\n            mstore(add(str, 0x20), sstr)\n        }\n        return str;\n    }\n\n    /**\n     * @dev Return the length of a `ShortString`.\n     */\n    function byteLength(ShortString sstr) internal pure returns (uint256) {\n        uint256 result = uint256(ShortString.unwrap(sstr)) & 0xFF;\n        if (result > 31) {\n            revert InvalidShortString();\n        }\n        return result;\n    }\n\n    /**\n     * @dev Encode a string into a `ShortString`, or write it to storage if it is too long.\n     */\n    function toShortStringWithFallback(string memory value, string storage store) internal returns (ShortString) {\n        if (bytes(value).length < 32) {\n            return toShortString(value);\n        } else {\n            StorageSlot.getStringSlot(store).value = value;\n            return ShortString.wrap(FALLBACK_SENTINEL);\n        }\n    }\n\n    /**\n     * @dev Decode a string that was encoded to `ShortString` or written to storage using {toShortStringWithFallback}.\n     */\n    function toStringWithFallback(ShortString value, string storage store) internal pure returns (string memory) {\n        if (ShortString.unwrap(value) != FALLBACK_SENTINEL) {\n            return toString(value);\n        } else {\n            return store;\n        }\n    }\n\n    /**\n     * @dev Return the length of a string that was encoded to `ShortString` or written to storage using\n     * {toShortStringWithFallback}.\n     *\n     * WARNING: This will return the \"byte length\" of the string. This may not reflect the actual length in terms of\n     * actual characters as the UTF-8 encoding of a single character can span over multiple bytes.\n     */\n    function byteLengthWithFallback(ShortString value, string storage store) internal view returns (uint256) {\n        if (ShortString.unwrap(value) != FALLBACK_SENTINEL) {\n            return byteLength(value);\n        } else {\n            return bytes(store).length;\n        }\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/interfaces/IERC1363.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/IERC1363.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"./IERC20.sol\";\nimport {IERC165} from \"./IERC165.sol\";\n\n/**\n * @title IERC1363\n * @dev Interface of the ERC-1363 standard as defined in the https://eips.ethereum.org/EIPS/eip-1363[ERC-1363].\n *\n * Defines an extension interface for ERC-20 tokens that supports executing code on a recipient contract\n * after `transfer` or `transferFrom`, or code on a spender contract after `approve`, in a single transaction.\n */\ninterface IERC1363 is IERC20, IERC165 {\n    /*\n     * Note: the ERC-165 identifier for this interface is 0xb0202a11.\n     * 0xb0202a11 ===\n     *   bytes4(keccak256('transferAndCall(address,uint256)')) ^\n     *   bytes4(keccak256('transferAndCall(address,uint256,bytes)')) ^\n     *   bytes4(keccak256('transferFromAndCall(address,address,uint256)')) ^\n     *   bytes4(keccak256('transferFromAndCall(address,address,uint256,bytes)')) ^\n     *   bytes4(keccak256('approveAndCall(address,uint256)')) ^\n     *   bytes4(keccak256('approveAndCall(address,uint256,bytes)'))\n     */\n\n    /**\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferAndCall(address to, uint256 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @param data Additional data with no specified format, sent in call to `to`.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferAndCall(address to, uint256 value, bytes calldata data) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param from The address which you want to send tokens from.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferFromAndCall(address from, address to, uint256 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param from The address which you want to send tokens from.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @param data Additional data with no specified format, sent in call to `to`.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferFromAndCall(address from, address to, uint256 value, bytes calldata data) external returns (bool);\n\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.\n     * @param spender The address which will spend the funds.\n     * @param value The amount of tokens to be spent.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function approveAndCall(address spender, uint256 value) external returns (bool);\n\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.\n     * @param spender The address which will spend the funds.\n     * @param value The amount of tokens to be spent.\n     * @param data Additional data with no specified format, sent in call to `spender`.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function approveAndCall(address spender, uint256 value, bytes calldata data) external returns (bool);\n}\n"},"lib/openzeppelin-contracts/contracts/interfaces/IERC5267.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC5267.sol)\n\npragma solidity ^0.8.20;\n\ninterface IERC5267 {\n    /**\n     * @dev MAY be emitted to signal that the domain could have changed.\n     */\n    event EIP712DomainChanged();\n\n    /**\n     * @dev returns the fields and values that describe the domain separator used by this contract for EIP-712\n     * signature.\n     */\n    function eip712Domain()\n        external\n        view\n        returns (\n            bytes1 fields,\n            string memory name,\n            string memory version,\n            uint256 chainId,\n            address verifyingContract,\n            bytes32 salt,\n            uint256[] memory extensions\n        );\n}\n"},"lib/openzeppelin-contracts/contracts/utils/math/SafeCast.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/math/SafeCast.sol)\n// This file was procedurally generated from scripts/generate/templates/SafeCast.js.\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Wrappers over Solidity's uintXX/intXX/bool casting operators with added overflow\n * checks.\n *\n * Downcasting from uint256/int256 in Solidity does not revert on overflow. This can\n * easily result in undesired exploitation or bugs, since developers usually\n * assume that overflows raise errors. `SafeCast` restores this intuition by\n * reverting the transaction when such an operation overflows.\n *\n * Using this library instead of the unchecked operations eliminates an entire\n * class of bugs, so it's recommended to use it always.\n */\nlibrary SafeCast {\n    /**\n     * @dev Value doesn't fit in an uint of `bits` size.\n     */\n    error SafeCastOverflowedUintDowncast(uint8 bits, uint256 value);\n\n    /**\n     * @dev An int value doesn't fit in an uint of `bits` size.\n     */\n    error SafeCastOverflowedIntToUint(int256 value);\n\n    /**\n     * @dev Value doesn't fit in an int of `bits` size.\n     */\n    error SafeCastOverflowedIntDowncast(uint8 bits, int256 value);\n\n    /**\n     * @dev An uint value doesn't fit in an int of `bits` size.\n     */\n    error SafeCastOverflowedUintToInt(uint256 value);\n\n    /**\n     * @dev Returns the downcasted uint248 from uint256, reverting on\n     * overflow (when the input is greater than largest uint248).\n     *\n     * Counterpart to Solidity's `uint248` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 248 bits\n     */\n    function toUint248(uint256 value) internal pure returns (uint248) {\n        if (value > type(uint248).max) {\n            revert SafeCastOverflowedUintDowncast(248, value);\n        }\n        return uint248(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint240 from uint256, reverting on\n     * overflow (when the input is greater than largest uint240).\n     *\n     * Counterpart to Solidity's `uint240` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 240 bits\n     */\n    function toUint240(uint256 value) internal pure returns (uint240) {\n        if (value > type(uint240).max) {\n            revert SafeCastOverflowedUintDowncast(240, value);\n        }\n        return uint240(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint232 from uint256, reverting on\n     * overflow (when the input is greater than largest uint232).\n     *\n     * Counterpart to Solidity's `uint232` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 232 bits\n     */\n    function toUint232(uint256 value) internal pure returns (uint232) {\n        if (value > type(uint232).max) {\n            revert SafeCastOverflowedUintDowncast(232, value);\n        }\n        return uint232(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint224 from uint256, reverting on\n     * overflow (when the input is greater than largest uint224).\n     *\n     * Counterpart to Solidity's `uint224` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 224 bits\n     */\n    function toUint224(uint256 value) internal pure returns (uint224) {\n        if (value > type(uint224).max) {\n            revert SafeCastOverflowedUintDowncast(224, value);\n        }\n        return uint224(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint216 from uint256, reverting on\n     * overflow (when the input is greater than largest uint216).\n     *\n     * Counterpart to Solidity's `uint216` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 216 bits\n     */\n    function toUint216(uint256 value) internal pure returns (uint216) {\n        if (value > type(uint216).max) {\n            revert SafeCastOverflowedUintDowncast(216, value);\n        }\n        return uint216(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint208 from uint256, reverting on\n     * overflow (when the input is greater than largest uint208).\n     *\n     * Counterpart to Solidity's `uint208` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 208 bits\n     */\n    function toUint208(uint256 value) internal pure returns (uint208) {\n        if (value > type(uint208).max) {\n            revert SafeCastOverflowedUintDowncast(208, value);\n        }\n        return uint208(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint200 from uint256, reverting on\n     * overflow (when the input is greater than largest uint200).\n     *\n     * Counterpart to Solidity's `uint200` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 200 bits\n     */\n    function toUint200(uint256 value) internal pure returns (uint200) {\n        if (value > type(uint200).max) {\n            revert SafeCastOverflowedUintDowncast(200, value);\n        }\n        return uint200(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint192 from uint256, reverting on\n     * overflow (when the input is greater than largest uint192).\n     *\n     * Counterpart to Solidity's `uint192` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 192 bits\n     */\n    function toUint192(uint256 value) internal pure returns (uint192) {\n        if (value > type(uint192).max) {\n            revert SafeCastOverflowedUintDowncast(192, value);\n        }\n        return uint192(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint184 from uint256, reverting on\n     * overflow (when the input is greater than largest uint184).\n     *\n     * Counterpart to Solidity's `uint184` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 184 bits\n     */\n    function toUint184(uint256 value) internal pure returns (uint184) {\n        if (value > type(uint184).max) {\n            revert SafeCastOverflowedUintDowncast(184, value);\n        }\n        return uint184(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint176 from uint256, reverting on\n     * overflow (when the input is greater than largest uint176).\n     *\n     * Counterpart to Solidity's `uint176` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 176 bits\n     */\n    function toUint176(uint256 value) internal pure returns (uint176) {\n        if (value > type(uint176).max) {\n            revert SafeCastOverflowedUintDowncast(176, value);\n        }\n        return uint176(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint168 from uint256, reverting on\n     * overflow (when the input is greater than largest uint168).\n     *\n     * Counterpart to Solidity's `uint168` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 168 bits\n     */\n    function toUint168(uint256 value) internal pure returns (uint168) {\n        if (value > type(uint168).max) {\n            revert SafeCastOverflowedUintDowncast(168, value);\n        }\n        return uint168(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint160 from uint256, reverting on\n     * overflow (when the input is greater than largest uint160).\n     *\n     * Counterpart to Solidity's `uint160` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 160 bits\n     */\n    function toUint160(uint256 value) internal pure returns (uint160) {\n        if (value > type(uint160).max) {\n            revert SafeCastOverflowedUintDowncast(160, value);\n        }\n        return uint160(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint152 from uint256, reverting on\n     * overflow (when the input is greater than largest uint152).\n     *\n     * Counterpart to Solidity's `uint152` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 152 bits\n     */\n    function toUint152(uint256 value) internal pure returns (uint152) {\n        if (value > type(uint152).max) {\n            revert SafeCastOverflowedUintDowncast(152, value);\n        }\n        return uint152(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint144 from uint256, reverting on\n     * overflow (when the input is greater than largest uint144).\n     *\n     * Counterpart to Solidity's `uint144` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 144 bits\n     */\n    function toUint144(uint256 value) internal pure returns (uint144) {\n        if (value > type(uint144).max) {\n            revert SafeCastOverflowedUintDowncast(144, value);\n        }\n        return uint144(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint136 from uint256, reverting on\n     * overflow (when the input is greater than largest uint136).\n     *\n     * Counterpart to Solidity's `uint136` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 136 bits\n     */\n    function toUint136(uint256 value) internal pure returns (uint136) {\n        if (value > type(uint136).max) {\n            revert SafeCastOverflowedUintDowncast(136, value);\n        }\n        return uint136(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint128 from uint256, reverting on\n     * overflow (when the input is greater than largest uint128).\n     *\n     * Counterpart to Solidity's `uint128` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 128 bits\n     */\n    function toUint128(uint256 value) internal pure returns (uint128) {\n        if (value > type(uint128).max) {\n            revert SafeCastOverflowedUintDowncast(128, value);\n        }\n        return uint128(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint120 from uint256, reverting on\n     * overflow (when the input is greater than largest uint120).\n     *\n     * Counterpart to Solidity's `uint120` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 120 bits\n     */\n    function toUint120(uint256 value) internal pure returns (uint120) {\n        if (value > type(uint120).max) {\n            revert SafeCastOverflowedUintDowncast(120, value);\n        }\n        return uint120(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint112 from uint256, reverting on\n     * overflow (when the input is greater than largest uint112).\n     *\n     * Counterpart to Solidity's `uint112` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 112 bits\n     */\n    function toUint112(uint256 value) internal pure returns (uint112) {\n        if (value > type(uint112).max) {\n            revert SafeCastOverflowedUintDowncast(112, value);\n        }\n        return uint112(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint104 from uint256, reverting on\n     * overflow (when the input is greater than largest uint104).\n     *\n     * Counterpart to Solidity's `uint104` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 104 bits\n     */\n    function toUint104(uint256 value) internal pure returns (uint104) {\n        if (value > type(uint104).max) {\n            revert SafeCastOverflowedUintDowncast(104, value);\n        }\n        return uint104(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint96 from uint256, reverting on\n     * overflow (when the input is greater than largest uint96).\n     *\n     * Counterpart to Solidity's `uint96` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 96 bits\n     */\n    function toUint96(uint256 value) internal pure returns (uint96) {\n        if (value > type(uint96).max) {\n            revert SafeCastOverflowedUintDowncast(96, value);\n        }\n        return uint96(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint88 from uint256, reverting on\n     * overflow (when the input is greater than largest uint88).\n     *\n     * Counterpart to Solidity's `uint88` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 88 bits\n     */\n    function toUint88(uint256 value) internal pure returns (uint88) {\n        if (value > type(uint88).max) {\n            revert SafeCastOverflowedUintDowncast(88, value);\n        }\n        return uint88(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint80 from uint256, reverting on\n     * overflow (when the input is greater than largest uint80).\n     *\n     * Counterpart to Solidity's `uint80` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 80 bits\n     */\n    function toUint80(uint256 value) internal pure returns (uint80) {\n        if (value > type(uint80).max) {\n            revert SafeCastOverflowedUintDowncast(80, value);\n        }\n        return uint80(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint72 from uint256, reverting on\n     * overflow (when the input is greater than largest uint72).\n     *\n     * Counterpart to Solidity's `uint72` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 72 bits\n     */\n    function toUint72(uint256 value) internal pure returns (uint72) {\n        if (value > type(uint72).max) {\n            revert SafeCastOverflowedUintDowncast(72, value);\n        }\n        return uint72(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint64 from uint256, reverting on\n     * overflow (when the input is greater than largest uint64).\n     *\n     * Counterpart to Solidity's `uint64` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 64 bits\n     */\n    function toUint64(uint256 value) internal pure returns (uint64) {\n        if (value > type(uint64).max) {\n            revert SafeCastOverflowedUintDowncast(64, value);\n        }\n        return uint64(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint56 from uint256, reverting on\n     * overflow (when the input is greater than largest uint56).\n     *\n     * Counterpart to Solidity's `uint56` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 56 bits\n     */\n    function toUint56(uint256 value) internal pure returns (uint56) {\n        if (value > type(uint56).max) {\n            revert SafeCastOverflowedUintDowncast(56, value);\n        }\n        return uint56(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint48 from uint256, reverting on\n     * overflow (when the input is greater than largest uint48).\n     *\n     * Counterpart to Solidity's `uint48` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 48 bits\n     */\n    function toUint48(uint256 value) internal pure returns (uint48) {\n        if (value > type(uint48).max) {\n            revert SafeCastOverflowedUintDowncast(48, value);\n        }\n        return uint48(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint40 from uint256, reverting on\n     * overflow (when the input is greater than largest uint40).\n     *\n     * Counterpart to Solidity's `uint40` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 40 bits\n     */\n    function toUint40(uint256 value) internal pure returns (uint40) {\n        if (value > type(uint40).max) {\n            revert SafeCastOverflowedUintDowncast(40, value);\n        }\n        return uint40(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint32 from uint256, reverting on\n     * overflow (when the input is greater than largest uint32).\n     *\n     * Counterpart to Solidity's `uint32` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 32 bits\n     */\n    function toUint32(uint256 value) internal pure returns (uint32) {\n        if (value > type(uint32).max) {\n            revert SafeCastOverflowedUintDowncast(32, value);\n        }\n        return uint32(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint24 from uint256, reverting on\n     * overflow (when the input is greater than largest uint24).\n     *\n     * Counterpart to Solidity's `uint24` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 24 bits\n     */\n    function toUint24(uint256 value) internal pure returns (uint24) {\n        if (value > type(uint24).max) {\n            revert SafeCastOverflowedUintDowncast(24, value);\n        }\n        return uint24(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint16 from uint256, reverting on\n     * overflow (when the input is greater than largest uint16).\n     *\n     * Counterpart to Solidity's `uint16` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 16 bits\n     */\n    function toUint16(uint256 value) internal pure returns (uint16) {\n        if (value > type(uint16).max) {\n            revert SafeCastOverflowedUintDowncast(16, value);\n        }\n        return uint16(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint8 from uint256, reverting on\n     * overflow (when the input is greater than largest uint8).\n     *\n     * Counterpart to Solidity's `uint8` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 8 bits\n     */\n    function toUint8(uint256 value) internal pure returns (uint8) {\n        if (value > type(uint8).max) {\n            revert SafeCastOverflowedUintDowncast(8, value);\n        }\n        return uint8(value);\n    }\n\n    /**\n     * @dev Converts a signed int256 into an unsigned uint256.\n     *\n     * Requirements:\n     *\n     * - input must be greater than or equal to 0.\n     */\n    function toUint256(int256 value) internal pure returns (uint256) {\n        if (value < 0) {\n            revert SafeCastOverflowedIntToUint(value);\n        }\n        return uint256(value);\n    }\n\n    /**\n     * @dev Returns the downcasted int248 from int256, reverting on\n     * overflow (when the input is less than smallest int248 or\n     * greater than largest int248).\n     *\n     * Counterpart to Solidity's `int248` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 248 bits\n     */\n    function toInt248(int256 value) internal pure returns (int248 downcasted) {\n        downcasted = int248(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(248, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int240 from int256, reverting on\n     * overflow (when the input is less than smallest int240 or\n     * greater than largest int240).\n     *\n     * Counterpart to Solidity's `int240` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 240 bits\n     */\n    function toInt240(int256 value) internal pure returns (int240 downcasted) {\n        downcasted = int240(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(240, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int232 from int256, reverting on\n     * overflow (when the input is less than smallest int232 or\n     * greater than largest int232).\n     *\n     * Counterpart to Solidity's `int232` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 232 bits\n     */\n    function toInt232(int256 value) internal pure returns (int232 downcasted) {\n        downcasted = int232(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(232, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int224 from int256, reverting on\n     * overflow (when the input is less than smallest int224 or\n     * greater than largest int224).\n     *\n     * Counterpart to Solidity's `int224` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 224 bits\n     */\n    function toInt224(int256 value) internal pure returns (int224 downcasted) {\n        downcasted = int224(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(224, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int216 from int256, reverting on\n     * overflow (when the input is less than smallest int216 or\n     * greater than largest int216).\n     *\n     * Counterpart to Solidity's `int216` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 216 bits\n     */\n    function toInt216(int256 value) internal pure returns (int216 downcasted) {\n        downcasted = int216(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(216, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int208 from int256, reverting on\n     * overflow (when the input is less than smallest int208 or\n     * greater than largest int208).\n     *\n     * Counterpart to Solidity's `int208` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 208 bits\n     */\n    function toInt208(int256 value) internal pure returns (int208 downcasted) {\n        downcasted = int208(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(208, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int200 from int256, reverting on\n     * overflow (when the input is less than smallest int200 or\n     * greater than largest int200).\n     *\n     * Counterpart to Solidity's `int200` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 200 bits\n     */\n    function toInt200(int256 value) internal pure returns (int200 downcasted) {\n        downcasted = int200(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(200, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int192 from int256, reverting on\n     * overflow (when the input is less than smallest int192 or\n     * greater than largest int192).\n     *\n     * Counterpart to Solidity's `int192` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 192 bits\n     */\n    function toInt192(int256 value) internal pure returns (int192 downcasted) {\n        downcasted = int192(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(192, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int184 from int256, reverting on\n     * overflow (when the input is less than smallest int184 or\n     * greater than largest int184).\n     *\n     * Counterpart to Solidity's `int184` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 184 bits\n     */\n    function toInt184(int256 value) internal pure returns (int184 downcasted) {\n        downcasted = int184(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(184, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int176 from int256, reverting on\n     * overflow (when the input is less than smallest int176 or\n     * greater than largest int176).\n     *\n     * Counterpart to Solidity's `int176` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 176 bits\n     */\n    function toInt176(int256 value) internal pure returns (int176 downcasted) {\n        downcasted = int176(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(176, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int168 from int256, reverting on\n     * overflow (when the input is less than smallest int168 or\n     * greater than largest int168).\n     *\n     * Counterpart to Solidity's `int168` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 168 bits\n     */\n    function toInt168(int256 value) internal pure returns (int168 downcasted) {\n        downcasted = int168(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(168, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int160 from int256, reverting on\n     * overflow (when the input is less than smallest int160 or\n     * greater than largest int160).\n     *\n     * Counterpart to Solidity's `int160` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 160 bits\n     */\n    function toInt160(int256 value) internal pure returns (int160 downcasted) {\n        downcasted = int160(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(160, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int152 from int256, reverting on\n     * overflow (when the input is less than smallest int152 or\n     * greater than largest int152).\n     *\n     * Counterpart to Solidity's `int152` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 152 bits\n     */\n    function toInt152(int256 value) internal pure returns (int152 downcasted) {\n        downcasted = int152(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(152, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int144 from int256, reverting on\n     * overflow (when the input is less than smallest int144 or\n     * greater than largest int144).\n     *\n     * Counterpart to Solidity's `int144` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 144 bits\n     */\n    function toInt144(int256 value) internal pure returns (int144 downcasted) {\n        downcasted = int144(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(144, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int136 from int256, reverting on\n     * overflow (when the input is less than smallest int136 or\n     * greater than largest int136).\n     *\n     * Counterpart to Solidity's `int136` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 136 bits\n     */\n    function toInt136(int256 value) internal pure returns (int136 downcasted) {\n        downcasted = int136(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(136, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int128 from int256, reverting on\n     * overflow (when the input is less than smallest int128 or\n     * greater than largest int128).\n     *\n     * Counterpart to Solidity's `int128` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 128 bits\n     */\n    function toInt128(int256 value) internal pure returns (int128 downcasted) {\n        downcasted = int128(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(128, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int120 from int256, reverting on\n     * overflow (when the input is less than smallest int120 or\n     * greater than largest int120).\n     *\n     * Counterpart to Solidity's `int120` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 120 bits\n     */\n    function toInt120(int256 value) internal pure returns (int120 downcasted) {\n        downcasted = int120(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(120, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int112 from int256, reverting on\n     * overflow (when the input is less than smallest int112 or\n     * greater than largest int112).\n     *\n     * Counterpart to Solidity's `int112` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 112 bits\n     */\n    function toInt112(int256 value) internal pure returns (int112 downcasted) {\n        downcasted = int112(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(112, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int104 from int256, reverting on\n     * overflow (when the input is less than smallest int104 or\n     * greater than largest int104).\n     *\n     * Counterpart to Solidity's `int104` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 104 bits\n     */\n    function toInt104(int256 value) internal pure returns (int104 downcasted) {\n        downcasted = int104(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(104, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int96 from int256, reverting on\n     * overflow (when the input is less than smallest int96 or\n     * greater than largest int96).\n     *\n     * Counterpart to Solidity's `int96` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 96 bits\n     */\n    function toInt96(int256 value) internal pure returns (int96 downcasted) {\n        downcasted = int96(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(96, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int88 from int256, reverting on\n     * overflow (when the input is less than smallest int88 or\n     * greater than largest int88).\n     *\n     * Counterpart to Solidity's `int88` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 88 bits\n     */\n    function toInt88(int256 value) internal pure returns (int88 downcasted) {\n        downcasted = int88(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(88, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int80 from int256, reverting on\n     * overflow (when the input is less than smallest int80 or\n     * greater than largest int80).\n     *\n     * Counterpart to Solidity's `int80` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 80 bits\n     */\n    function toInt80(int256 value) internal pure returns (int80 downcasted) {\n        downcasted = int80(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(80, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int72 from int256, reverting on\n     * overflow (when the input is less than smallest int72 or\n     * greater than largest int72).\n     *\n     * Counterpart to Solidity's `int72` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 72 bits\n     */\n    function toInt72(int256 value) internal pure returns (int72 downcasted) {\n        downcasted = int72(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(72, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int64 from int256, reverting on\n     * overflow (when the input is less than smallest int64 or\n     * greater than largest int64).\n     *\n     * Counterpart to Solidity's `int64` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 64 bits\n     */\n    function toInt64(int256 value) internal pure returns (int64 downcasted) {\n        downcasted = int64(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(64, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int56 from int256, reverting on\n     * overflow (when the input is less than smallest int56 or\n     * greater than largest int56).\n     *\n     * Counterpart to Solidity's `int56` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 56 bits\n     */\n    function toInt56(int256 value) internal pure returns (int56 downcasted) {\n        downcasted = int56(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(56, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int48 from int256, reverting on\n     * overflow (when the input is less than smallest int48 or\n     * greater than largest int48).\n     *\n     * Counterpart to Solidity's `int48` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 48 bits\n     */\n    function toInt48(int256 value) internal pure returns (int48 downcasted) {\n        downcasted = int48(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(48, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int40 from int256, reverting on\n     * overflow (when the input is less than smallest int40 or\n     * greater than largest int40).\n     *\n     * Counterpart to Solidity's `int40` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 40 bits\n     */\n    function toInt40(int256 value) internal pure returns (int40 downcasted) {\n        downcasted = int40(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(40, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int32 from int256, reverting on\n     * overflow (when the input is less than smallest int32 or\n     * greater than largest int32).\n     *\n     * Counterpart to Solidity's `int32` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 32 bits\n     */\n    function toInt32(int256 value) internal pure returns (int32 downcasted) {\n        downcasted = int32(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(32, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int24 from int256, reverting on\n     * overflow (when the input is less than smallest int24 or\n     * greater than largest int24).\n     *\n     * Counterpart to Solidity's `int24` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 24 bits\n     */\n    function toInt24(int256 value) internal pure returns (int24 downcasted) {\n        downcasted = int24(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(24, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int16 from int256, reverting on\n     * overflow (when the input is less than smallest int16 or\n     * greater than largest int16).\n     *\n     * Counterpart to Solidity's `int16` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 16 bits\n     */\n    function toInt16(int256 value) internal pure returns (int16 downcasted) {\n        downcasted = int16(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(16, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int8 from int256, reverting on\n     * overflow (when the input is less than smallest int8 or\n     * greater than largest int8).\n     *\n     * Counterpart to Solidity's `int8` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 8 bits\n     */\n    function toInt8(int256 value) internal pure returns (int8 downcasted) {\n        downcasted = int8(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(8, value);\n        }\n    }\n\n    /**\n     * @dev Converts an unsigned uint256 into a signed int256.\n     *\n     * Requirements:\n     *\n     * - input must be less than or equal to maxInt256.\n     */\n    function toInt256(uint256 value) internal pure returns (int256) {\n        // Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive\n        if (value > uint256(type(int256).max)) {\n            revert SafeCastOverflowedUintToInt(value);\n        }\n        return int256(value);\n    }\n\n    /**\n     * @dev Cast a boolean (false or true) to a uint256 (0 or 1) with no jump.\n     */\n    function toUint(bool b) internal pure returns (uint256 u) {\n        assembly (\"memory-safe\") {\n            u := iszero(iszero(b))\n        }\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/utils/ReentrancyGuard.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/ReentrancyGuard.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Contract module that helps prevent reentrant calls to a function.\n *\n * Inheriting from `ReentrancyGuard` 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 EIP-1153 (transient storage) is available on the chain you're deploying at,\n * consider using {ReentrancyGuardTransient} instead.\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 ReentrancyGuard {\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\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    /**\n     * @dev Unauthorized reentrant call.\n     */\n    error ReentrancyGuardReentrantCall();\n\n    constructor() {\n        _status = NOT_ENTERED;\n    }\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"},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/math/SignedMath.sol)\n\npragma solidity ^0.8.20;\n\nimport {SafeCast} from \"./SafeCast.sol\";\n\n/**\n * @dev Standard signed math utilities missing in the Solidity language.\n */\nlibrary SignedMath {\n    /**\n     * @dev Branchless ternary evaluation for `a ? b : c`. Gas costs are constant.\n     *\n     * IMPORTANT: This function may reduce bytecode size and consume less gas when used standalone.\n     * However, the compiler may optimize Solidity ternary operations (i.e. `a ? b : c`) to only compute\n     * one branch when needed, making this function more expensive.\n     */\n    function ternary(bool condition, int256 a, int256 b) internal pure returns (int256) {\n        unchecked {\n            // branchless ternary works because:\n            // b ^ (a ^ b) == a\n            // b ^ 0 == b\n            return b ^ ((a ^ b) * int256(SafeCast.toUint(condition)));\n        }\n    }\n\n    /**\n     * @dev Returns the largest of two signed numbers.\n     */\n    function max(int256 a, int256 b) internal pure returns (int256) {\n        return ternary(a > b, a, b);\n    }\n\n    /**\n     * @dev Returns the smallest of two signed numbers.\n     */\n    function min(int256 a, int256 b) internal pure returns (int256) {\n        return ternary(a < b, a, b);\n    }\n\n    /**\n     * @dev Returns the average of two signed numbers without overflow.\n     * The result is rounded towards zero.\n     */\n    function average(int256 a, int256 b) internal pure returns (int256) {\n        // Formula from the book \"Hacker's Delight\"\n        int256 x = (a & b) + ((a ^ b) >> 1);\n        return x + (int256(uint256(x) >> 255) & (a ^ b));\n    }\n\n    /**\n     * @dev Returns the absolute unsigned value of a signed value.\n     */\n    function abs(int256 n) internal pure returns (uint256) {\n        unchecked {\n            // Formula from the \"Bit Twiddling Hacks\" by Sean Eron Anderson.\n            // Since `n` is a signed integer, the generated bytecode will use the SAR opcode to perform the right shift,\n            // taking advantage of the most significant (or \"sign\" bit) in two's complement representation.\n            // This opcode adds new most significant bits set to the value of the previous most significant bit. As a result,\n            // the mask will either be `bytes32(0)` (if n is positive) or `~bytes32(0)` (if n is negative).\n            int256 mask = n >> 255;\n\n            // A `bytes32(0)` mask leaves the input unchanged, while a `~bytes32(0)` mask complements it.\n            return uint256((n + mask) ^ mask);\n        }\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/utils/cryptography/ECDSA.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/cryptography/ECDSA.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.\n *\n * These functions can be used to verify that a message was signed by the holder\n * of the private keys of a given address.\n */\nlibrary ECDSA {\n    enum RecoverError {\n        NoError,\n        InvalidSignature,\n        InvalidSignatureLength,\n        InvalidSignatureS\n    }\n\n    /**\n     * @dev The signature derives the `address(0)`.\n     */\n    error ECDSAInvalidSignature();\n\n    /**\n     * @dev The signature has an invalid length.\n     */\n    error ECDSAInvalidSignatureLength(uint256 length);\n\n    /**\n     * @dev The signature has an S value that is in the upper half order.\n     */\n    error ECDSAInvalidSignatureS(bytes32 s);\n\n    /**\n     * @dev Returns the address that signed a hashed message (`hash`) with `signature` or an error. This will not\n     * return address(0) without also returning an error description. Errors are documented using an enum (error type)\n     * and a bytes32 providing additional information about the error.\n     *\n     * If no error is returned, then the address can be used for verification purposes.\n     *\n     * The `ecrecover` EVM precompile allows for malleable (non-unique) signatures:\n     * this function rejects them by requiring the `s` value to be in the lower\n     * half order, and the `v` value to be either 27 or 28.\n     *\n     * IMPORTANT: `hash` _must_ be the result of a hash operation for the\n     * verification to be secure: it is possible to craft signatures that\n     * recover to arbitrary addresses for non-hashed data. A safe way to ensure\n     * this is by receiving a hash of the original message (which may otherwise\n     * be too long), and then calling {MessageHashUtils-toEthSignedMessageHash} on it.\n     *\n     * Documentation for signature generation:\n     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]\n     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]\n     */\n    function tryRecover(\n        bytes32 hash,\n        bytes memory signature\n    ) internal pure returns (address recovered, RecoverError err, bytes32 errArg) {\n        if (signature.length == 65) {\n            bytes32 r;\n            bytes32 s;\n            uint8 v;\n            // ecrecover takes the signature parameters, and the only way to get them\n            // currently is to use assembly.\n            assembly (\"memory-safe\") {\n                r := mload(add(signature, 0x20))\n                s := mload(add(signature, 0x40))\n                v := byte(0, mload(add(signature, 0x60)))\n            }\n            return tryRecover(hash, v, r, s);\n        } else {\n            return (address(0), RecoverError.InvalidSignatureLength, bytes32(signature.length));\n        }\n    }\n\n    /**\n     * @dev Returns the address that signed a hashed message (`hash`) with\n     * `signature`. This address can then be used for verification purposes.\n     *\n     * The `ecrecover` EVM precompile allows for malleable (non-unique) signatures:\n     * this function rejects them by requiring the `s` value to be in the lower\n     * half order, and the `v` value to be either 27 or 28.\n     *\n     * IMPORTANT: `hash` _must_ be the result of a hash operation for the\n     * verification to be secure: it is possible to craft signatures that\n     * recover to arbitrary addresses for non-hashed data. A safe way to ensure\n     * this is by receiving a hash of the original message (which may otherwise\n     * be too long), and then calling {MessageHashUtils-toEthSignedMessageHash} on it.\n     */\n    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {\n        (address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, signature);\n        _throwError(error, errorArg);\n        return recovered;\n    }\n\n    /**\n     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.\n     *\n     * See https://eips.ethereum.org/EIPS/eip-2098[ERC-2098 short signatures]\n     */\n    function tryRecover(\n        bytes32 hash,\n        bytes32 r,\n        bytes32 vs\n    ) internal pure returns (address recovered, RecoverError err, bytes32 errArg) {\n        unchecked {\n            bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);\n            // We do not check for an overflow here since the shift operation results in 0 or 1.\n            uint8 v = uint8((uint256(vs) >> 255) + 27);\n            return tryRecover(hash, v, r, s);\n        }\n    }\n\n    /**\n     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.\n     */\n    function recover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address) {\n        (address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, r, vs);\n        _throwError(error, errorArg);\n        return recovered;\n    }\n\n    /**\n     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,\n     * `r` and `s` signature fields separately.\n     */\n    function tryRecover(\n        bytes32 hash,\n        uint8 v,\n        bytes32 r,\n        bytes32 s\n    ) internal pure returns (address recovered, RecoverError err, bytes32 errArg) {\n        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature\n        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines\n        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most\n        // signatures from current libraries generate a unique signature with an s-value in the lower half order.\n        //\n        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value\n        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or\n        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept\n        // these malleable signatures as well.\n        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {\n            return (address(0), RecoverError.InvalidSignatureS, s);\n        }\n\n        // If the signature is valid (and not malleable), return the signer address\n        address signer = ecrecover(hash, v, r, s);\n        if (signer == address(0)) {\n            return (address(0), RecoverError.InvalidSignature, bytes32(0));\n        }\n\n        return (signer, RecoverError.NoError, bytes32(0));\n    }\n\n    /**\n     * @dev Overload of {ECDSA-recover} that receives the `v`,\n     * `r` and `s` signature fields separately.\n     */\n    function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) {\n        (address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, v, r, s);\n        _throwError(error, errorArg);\n        return recovered;\n    }\n\n    /**\n     * @dev Optionally reverts with the corresponding custom error according to the `error` argument provided.\n     */\n    function _throwError(RecoverError error, bytes32 errorArg) private pure {\n        if (error == RecoverError.NoError) {\n            return; // no error: do nothing\n        } else if (error == RecoverError.InvalidSignature) {\n            revert ECDSAInvalidSignature();\n        } else if (error == RecoverError.InvalidSignatureLength) {\n            revert ECDSAInvalidSignatureLength(uint256(errorArg));\n        } else if (error == RecoverError.InvalidSignatureS) {\n            revert ECDSAInvalidSignatureS(errorArg);\n        }\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/interfaces/draft-IERC6093.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/draft-IERC6093.sol)\npragma solidity ^0.8.20;\n\n/**\n * @dev Standard ERC-20 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens.\n */\ninterface IERC20Errors {\n    /**\n     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param balance Current balance for the interacting account.\n     * @param needed Minimum amount required to perform a transfer.\n     */\n    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC20InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC20InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.\n     * @param spender Address that may be allowed to operate on tokens without being their owner.\n     * @param allowance Amount of tokens a `spender` is allowed to operate with.\n     * @param needed Minimum amount required to perform a transfer.\n     */\n    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC20InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.\n     * @param spender Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC20InvalidSpender(address spender);\n}\n\n/**\n * @dev Standard ERC-721 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens.\n */\ninterface IERC721Errors {\n    /**\n     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-20.\n     * Used in balance queries.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC721InvalidOwner(address owner);\n\n    /**\n     * @dev Indicates a `tokenId` whose `owner` is the zero address.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC721NonexistentToken(uint256 tokenId);\n\n    /**\n     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param tokenId Identifier number of a token.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC721InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC721InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC721InsufficientApproval(address operator, uint256 tokenId);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC721InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC721InvalidOperator(address operator);\n}\n\n/**\n * @dev Standard ERC-1155 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens.\n */\ninterface IERC1155Errors {\n    /**\n     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param balance Current balance for the interacting account.\n     * @param needed Minimum amount required to perform a transfer.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC1155InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC1155InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC1155MissingApprovalForAll(address operator, address owner);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC1155InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC1155InvalidOperator(address operator);\n\n    /**\n     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.\n     * Used in batch transfers.\n     * @param idsLength Length of the array of token identifiers\n     * @param valuesLength Length of the array of token amounts\n     */\n    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);\n}\n"},"lib/openzeppelin-contracts/contracts/utils/cryptography/EIP712.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/cryptography/EIP712.sol)\n\npragma solidity ^0.8.20;\n\nimport {MessageHashUtils} from \"./MessageHashUtils.sol\";\nimport {ShortStrings, ShortString} from \"../ShortStrings.sol\";\nimport {IERC5267} from \"../../interfaces/IERC5267.sol\";\n\n/**\n * @dev https://eips.ethereum.org/EIPS/eip-712[EIP-712] is a standard for hashing and signing of typed structured data.\n *\n * The encoding scheme specified in the EIP requires a domain separator and a hash of the typed structured data, whose\n * encoding is very generic and therefore its implementation in Solidity is not feasible, thus this contract\n * does not implement the encoding itself. Protocols need to implement the type-specific encoding they need in order to\n * produce the hash of their typed data using a combination of `abi.encode` and `keccak256`.\n *\n * This contract implements the EIP-712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding\n * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA\n * ({_hashTypedDataV4}).\n *\n * The implementation of the domain separator was designed to be as efficient as possible while still properly updating\n * the chain id to protect against replay attacks on an eventual fork of the chain.\n *\n * NOTE: This contract implements the version of the encoding known as \"v4\", as implemented by the JSON RPC method\n * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].\n *\n * NOTE: In the upgradeable version of this contract, the cached values will correspond to the address, and the domain\n * separator of the implementation contract. This will cause the {_domainSeparatorV4} function to always rebuild the\n * separator from the immutable values, which is cheaper than accessing a cached version in cold storage.\n *\n * @custom:oz-upgrades-unsafe-allow state-variable-immutable\n */\nabstract contract EIP712 is IERC5267 {\n    using ShortStrings for *;\n\n    bytes32 private constant TYPE_HASH =\n        keccak256(\"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\");\n\n    // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to\n    // invalidate the cached domain separator if the chain id changes.\n    bytes32 private immutable _cachedDomainSeparator;\n    uint256 private immutable _cachedChainId;\n    address private immutable _cachedThis;\n\n    bytes32 private immutable _hashedName;\n    bytes32 private immutable _hashedVersion;\n\n    ShortString private immutable _name;\n    ShortString private immutable _version;\n    // slither-disable-next-line constable-states\n    string private _nameFallback;\n    // slither-disable-next-line constable-states\n    string private _versionFallback;\n\n    /**\n     * @dev Initializes the domain separator and parameter caches.\n     *\n     * The meaning of `name` and `version` is specified in\n     * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP-712]:\n     *\n     * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.\n     * - `version`: the current major version of the signing domain.\n     *\n     * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart\n     * contract upgrade].\n     */\n    constructor(string memory name, string memory version) {\n        _name = name.toShortStringWithFallback(_nameFallback);\n        _version = version.toShortStringWithFallback(_versionFallback);\n        _hashedName = keccak256(bytes(name));\n        _hashedVersion = keccak256(bytes(version));\n\n        _cachedChainId = block.chainid;\n        _cachedDomainSeparator = _buildDomainSeparator();\n        _cachedThis = address(this);\n    }\n\n    /**\n     * @dev Returns the domain separator for the current chain.\n     */\n    function _domainSeparatorV4() internal view returns (bytes32) {\n        if (address(this) == _cachedThis && block.chainid == _cachedChainId) {\n            return _cachedDomainSeparator;\n        } else {\n            return _buildDomainSeparator();\n        }\n    }\n\n    function _buildDomainSeparator() private view returns (bytes32) {\n        return keccak256(abi.encode(TYPE_HASH, _hashedName, _hashedVersion, block.chainid, address(this)));\n    }\n\n    /**\n     * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this\n     * function returns the hash of the fully encoded EIP712 message for this domain.\n     *\n     * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:\n     *\n     * ```solidity\n     * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(\n     *     keccak256(\"Mail(address to,string contents)\"),\n     *     mailTo,\n     *     keccak256(bytes(mailContents))\n     * )));\n     * address signer = ECDSA.recover(digest, signature);\n     * ```\n     */\n    function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {\n        return MessageHashUtils.toTypedDataHash(_domainSeparatorV4(), structHash);\n    }\n\n    /**\n     * @inheritdoc IERC5267\n     */\n    function eip712Domain()\n        public\n        view\n        virtual\n        returns (\n            bytes1 fields,\n            string memory name,\n            string memory version,\n            uint256 chainId,\n            address verifyingContract,\n            bytes32 salt,\n            uint256[] memory extensions\n        )\n    {\n        return (\n            hex\"0f\", // 01111\n            _EIP712Name(),\n            _EIP712Version(),\n            block.chainid,\n            address(this),\n            bytes32(0),\n            new uint256[](0)\n        );\n    }\n\n    /**\n     * @dev The name parameter for the EIP712 domain.\n     *\n     * NOTE: By default this function reads _name which is an immutable value.\n     * It only reads from storage if necessary (in case the value is too large to fit in a ShortString).\n     */\n    // solhint-disable-next-line func-name-mixedcase\n    function _EIP712Name() internal view returns (string memory) {\n        return _name.toStringWithFallback(_nameFallback);\n    }\n\n    /**\n     * @dev The version parameter for the EIP712 domain.\n     *\n     * NOTE: By default this function reads _version which is an immutable value.\n     * It only reads from storage if necessary (in case the value is too large to fit in a ShortString).\n     */\n    // solhint-disable-next-line func-name-mixedcase\n    function _EIP712Version() internal view returns (string memory) {\n        return _version.toStringWithFallback(_versionFallback);\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.2.0) (token/ERC20/utils/SafeERC20.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"../IERC20.sol\";\nimport {IERC1363} from \"../../../interfaces/IERC1363.sol\";\n\n/**\n * @title SafeERC20\n * @dev Wrappers around ERC-20 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 SafeERC20 for IERC20;` statement to your contract,\n * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.\n */\nlibrary SafeERC20 {\n    /**\n     * @dev An operation with an ERC-20 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(IERC20 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(IERC20 token, address from, address to, uint256 value) internal {\n        _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value)));\n    }\n\n    /**\n     * @dev Variant of {safeTransfer} that returns a bool instead of reverting if the operation is not successful.\n     */\n    function trySafeTransfer(IERC20 token, address to, uint256 value) internal returns (bool) {\n        return _callOptionalReturnBool(token, abi.encodeCall(token.transfer, (to, value)));\n    }\n\n    /**\n     * @dev Variant of {safeTransferFrom} that returns a bool instead of reverting if the operation is not successful.\n     */\n    function trySafeTransferFrom(IERC20 token, address from, address to, uint256 value) internal returns (bool) {\n        return _callOptionalReturnBool(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     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the \"client\"\n     * smart contract uses ERC-7674 to set temporary allowances, then the \"client\" smart contract should avoid using\n     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract\n     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.\n     */\n    function safeIncreaseAllowance(IERC20 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     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the \"client\"\n     * smart contract uses ERC-7674 to set temporary allowances, then the \"client\" smart contract should avoid using\n     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract\n     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.\n     */\n    function safeDecreaseAllowance(IERC20 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     * NOTE: If the token implements ERC-7674, this function will not modify any temporary allowance. This function\n     * only sets the \"standard\" allowance. Any temporary allowance will remain active, in addition to the value being\n     * set here.\n     */\n    function forceApprove(IERC20 token, address spender, uint256 value) internal {\n        bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value));\n\n        if (!_callOptionalReturnBool(token, approvalCall)) {\n            _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0)));\n            _callOptionalReturn(token, approvalCall);\n        }\n    }\n\n    /**\n     * @dev Performs an {ERC1363} transferAndCall, with a fallback to the simple {ERC20} transfer if the target has no\n     * code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when\n     * targeting contracts.\n     *\n     * Reverts if the returned value is other than `true`.\n     */\n    function transferAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {\n        if (to.code.length == 0) {\n            safeTransfer(token, to, value);\n        } else if (!token.transferAndCall(to, value, data)) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Performs an {ERC1363} transferFromAndCall, with a fallback to the simple {ERC20} transferFrom if the target\n     * has no code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when\n     * targeting contracts.\n     *\n     * Reverts if the returned value is other than `true`.\n     */\n    function transferFromAndCallRelaxed(\n        IERC1363 token,\n        address from,\n        address to,\n        uint256 value,\n        bytes memory data\n    ) internal {\n        if (to.code.length == 0) {\n            safeTransferFrom(token, from, to, value);\n        } else if (!token.transferFromAndCall(from, to, value, data)) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Performs an {ERC1363} approveAndCall, with a fallback to the simple {ERC20} approve if the target has no\n     * code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when\n     * targeting contracts.\n     *\n     * NOTE: When the recipient address (`to`) has no code (i.e. is an EOA), this function behaves as {forceApprove}.\n     * Opposedly, when the recipient address (`to`) has code, this function only attempts to call {ERC1363-approveAndCall}\n     * once without retrying, and relies on the returned value to be true.\n     *\n     * Reverts if the returned value is other than `true`.\n     */\n    function approveAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {\n        if (to.code.length == 0) {\n            forceApprove(token, to, value);\n        } else if (!token.approveAndCall(to, value, data)) {\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 {_callOptionalReturnBool} that reverts if call fails to meet the requirements.\n     */\n    function _callOptionalReturn(IERC20 token, bytes memory data) private {\n        uint256 returnSize;\n        uint256 returnValue;\n        assembly (\"memory-safe\") {\n            let success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)\n            // bubble errors\n            if iszero(success) {\n                let ptr := mload(0x40)\n                returndatacopy(ptr, 0, returndatasize())\n                revert(ptr, returndatasize())\n            }\n            returnSize := returndatasize()\n            returnValue := mload(0)\n        }\n\n        if (returnSize == 0 ? address(token).code.length == 0 : returnValue != 1) {\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 silently catches all reverts and returns a bool instead.\n     */\n    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {\n        bool success;\n        uint256 returnSize;\n        uint256 returnValue;\n        assembly (\"memory-safe\") {\n            success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)\n            returnSize := returndatasize()\n            returnValue := mload(0)\n        }\n        return success && (returnSize == 0 ? address(token).code.length > 0 : returnValue == 1);\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC-165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[ERC].\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 IERC165 {\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[ERC 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"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/ERC20Permit.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/ERC20Permit.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20Permit} from \"./IERC20Permit.sol\";\nimport {ERC20} from \"../ERC20.sol\";\nimport {ECDSA} from \"../../../utils/cryptography/ECDSA.sol\";\nimport {EIP712} from \"../../../utils/cryptography/EIP712.sol\";\nimport {Nonces} from \"../../../utils/Nonces.sol\";\n\n/**\n * @dev Implementation of the ERC-20 Permit extension allowing approvals to be made via signatures, as defined in\n * https://eips.ethereum.org/EIPS/eip-2612[ERC-2612].\n *\n * Adds the {permit} method, which can be used to change an account's ERC-20 allowance (see {IERC20-allowance}) by\n * presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't\n * need to send a transaction, and thus is not required to hold Ether at all.\n */\nabstract contract ERC20Permit is ERC20, IERC20Permit, EIP712, Nonces {\n    bytes32 private constant PERMIT_TYPEHASH =\n        keccak256(\"Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)\");\n\n    /**\n     * @dev Permit deadline has expired.\n     */\n    error ERC2612ExpiredSignature(uint256 deadline);\n\n    /**\n     * @dev Mismatched signature.\n     */\n    error ERC2612InvalidSigner(address signer, address owner);\n\n    /**\n     * @dev Initializes the {EIP712} domain separator using the `name` parameter, and setting `version` to `\"1\"`.\n     *\n     * It's a good idea to use the same `name` that is defined as the ERC-20 token name.\n     */\n    constructor(string memory name) EIP712(name, \"1\") {}\n\n    /**\n     * @inheritdoc IERC20Permit\n     */\n    function permit(\n        address owner,\n        address spender,\n        uint256 value,\n        uint256 deadline,\n        uint8 v,\n        bytes32 r,\n        bytes32 s\n    ) public virtual {\n        if (block.timestamp > deadline) {\n            revert ERC2612ExpiredSignature(deadline);\n        }\n\n        bytes32 structHash = keccak256(abi.encode(PERMIT_TYPEHASH, owner, spender, value, _useNonce(owner), deadline));\n\n        bytes32 hash = _hashTypedDataV4(structHash);\n\n        address signer = ECDSA.recover(hash, v, r, s);\n        if (signer != owner) {\n            revert ERC2612InvalidSigner(signer, owner);\n        }\n\n        _approve(owner, spender, value);\n    }\n\n    /**\n     * @inheritdoc IERC20Permit\n     */\n    function nonces(address owner) public view virtual override(IERC20Permit, Nonces) returns (uint256) {\n        return super.nonces(owner);\n    }\n\n    /**\n     * @inheritdoc IERC20Permit\n     */\n    // solhint-disable-next-line func-name-mixedcase\n    function DOMAIN_SEPARATOR() external view virtual returns (bytes32) {\n        return _domainSeparatorV4();\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Permit.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/IERC20Permit.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC-20 Permit extension allowing approvals to be made via signatures, as defined in\n * https://eips.ethereum.org/EIPS/eip-2612[ERC-2612].\n *\n * Adds the {permit} method, which can be used to change an account's ERC-20 allowance (see {IERC20-allowance}) by\n * presenting a message signed by the account. By not relying on {IERC20-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 * {SafeERC20-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 IERC20Permit {\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 {IERC20-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(\n        address owner,\n        address spender,\n        uint256 value,\n        uint256 deadline,\n        uint8 v,\n        bytes32 r,\n        bytes32 s\n    ) external;\n\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    /**\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"},"lib/openzeppelin-contracts/contracts/utils/cryptography/MessageHashUtils.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/cryptography/MessageHashUtils.sol)\n\npragma solidity ^0.8.20;\n\nimport {Strings} from \"../Strings.sol\";\n\n/**\n * @dev Signature message hash utilities for producing digests to be consumed by {ECDSA} recovery or signing.\n *\n * The library provides methods for generating a hash of a message that conforms to the\n * https://eips.ethereum.org/EIPS/eip-191[ERC-191] and https://eips.ethereum.org/EIPS/eip-712[EIP 712]\n * specifications.\n */\nlibrary MessageHashUtils {\n    /**\n     * @dev Returns the keccak256 digest of an ERC-191 signed data with version\n     * `0x45` (`personal_sign` messages).\n     *\n     * The digest is calculated by prefixing a bytes32 `messageHash` with\n     * `\"\\x19Ethereum Signed Message:\\n32\"` and hashing the result. It corresponds with the\n     * hash signed when using the https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sign[`eth_sign`] JSON-RPC method.\n     *\n     * NOTE: The `messageHash` parameter is intended to be the result of hashing a raw message with\n     * keccak256, although any bytes32 value can be safely used because the final digest will\n     * be re-hashed.\n     *\n     * See {ECDSA-recover}.\n     */\n    function toEthSignedMessageHash(bytes32 messageHash) internal pure returns (bytes32 digest) {\n        assembly (\"memory-safe\") {\n            mstore(0x00, \"\\x19Ethereum Signed Message:\\n32\") // 32 is the bytes-length of messageHash\n            mstore(0x1c, messageHash) // 0x1c (28) is the length of the prefix\n            digest := keccak256(0x00, 0x3c) // 0x3c is the length of the prefix (0x1c) + messageHash (0x20)\n        }\n    }\n\n    /**\n     * @dev Returns the keccak256 digest of an ERC-191 signed data with version\n     * `0x45` (`personal_sign` messages).\n     *\n     * The digest is calculated by prefixing an arbitrary `message` with\n     * `\"\\x19Ethereum Signed Message:\\n\" + len(message)` and hashing the result. It corresponds with the\n     * hash signed when using the https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sign[`eth_sign`] JSON-RPC method.\n     *\n     * See {ECDSA-recover}.\n     */\n    function toEthSignedMessageHash(bytes memory message) internal pure returns (bytes32) {\n        return\n            keccak256(bytes.concat(\"\\x19Ethereum Signed Message:\\n\", bytes(Strings.toString(message.length)), message));\n    }\n\n    /**\n     * @dev Returns the keccak256 digest of an ERC-191 signed data with version\n     * `0x00` (data with intended validator).\n     *\n     * The digest is calculated by prefixing an arbitrary `data` with `\"\\x19\\x00\"` and the intended\n     * `validator` address. Then hashing the result.\n     *\n     * See {ECDSA-recover}.\n     */\n    function toDataWithIntendedValidatorHash(address validator, bytes memory data) internal pure returns (bytes32) {\n        return keccak256(abi.encodePacked(hex\"19_00\", validator, data));\n    }\n\n    /**\n     * @dev Variant of {toDataWithIntendedValidatorHash-address-bytes} optimized for cases where `data` is a bytes32.\n     */\n    function toDataWithIntendedValidatorHash(\n        address validator,\n        bytes32 messageHash\n    ) internal pure returns (bytes32 digest) {\n        assembly (\"memory-safe\") {\n            mstore(0x00, hex\"19_00\")\n            mstore(0x02, shl(96, validator))\n            mstore(0x16, messageHash)\n            digest := keccak256(0x00, 0x36)\n        }\n    }\n\n    /**\n     * @dev Returns the keccak256 digest of an EIP-712 typed data (ERC-191 version `0x01`).\n     *\n     * The digest is calculated from a `domainSeparator` and a `structHash`, by prefixing them with\n     * `\\x19\\x01` and hashing the result. It corresponds to the hash signed by the\n     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] JSON-RPC method as part of EIP-712.\n     *\n     * See {ECDSA-recover}.\n     */\n    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32 digest) {\n        assembly (\"memory-safe\") {\n            let ptr := mload(0x40)\n            mstore(ptr, hex\"19_01\")\n            mstore(add(ptr, 0x02), domainSeparator)\n            mstore(add(ptr, 0x22), structHash)\n            digest := keccak256(ptr, 0x42)\n        }\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/IERC20Metadata.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"../IERC20.sol\";\n\n/**\n * @dev Interface for the optional metadata functions from the ERC-20 standard.\n */\ninterface IERC20Metadata is IERC20 {\n    /**\n     * @dev Returns the name of the token.\n     */\n    function name() external view returns (string memory);\n\n    /**\n     * @dev Returns the symbol of the token.\n     */\n    function symbol() external view returns (string memory);\n\n    /**\n     * @dev Returns the decimals places of the token.\n     */\n    function decimals() external view returns (uint8);\n}\n"}},"language":"Solidity","settings":{"metadata":{"bytecodeHash":"ipfs"},"libraries":{},"optimizer":{"runs":200,"enabled":true},"evmVersion":"shanghai","remappings":[":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",":forge-std/=lib/forge-std/src/",":halmos-cheatcodes/=lib/openzeppelin-contracts/lib/halmos-cheatcodes/src/",":openzeppelin-contracts/contracts/=lib/openzeppelin-contracts/contracts/",":openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/"]}},"stdJsonOutput":{"sources":{"src/Contract.sol":{"id":26},"lib/openzeppelin-contracts/contracts/utils/Panic.sol":{"id":14},"lib/openzeppelin-contracts/contracts/utils/Nonces.sol":{"id":13},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"id":12},"lib/openzeppelin-contracts/contracts/utils/Strings.sol":{"id":18},"lib/openzeppelin-contracts/contracts/access/Ownable.sol":{"id":0},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"id":23},"lib/openzeppelin-contracts/contracts/interfaces/IERC20.sol":{"id":3},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{"id":6},"lib/openzeppelin-contracts/contracts/utils/StorageSlot.sol":{"id":17},"lib/openzeppelin-contracts/contracts/interfaces/IERC165.sol":{"id":2},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"id":7},"lib/openzeppelin-contracts/contracts/utils/ShortStrings.sol":{"id":16},"lib/openzeppelin-contracts/contracts/interfaces/IERC1363.sol":{"id":1},"lib/openzeppelin-contracts/contracts/interfaces/IERC5267.sol":{"id":4},"lib/openzeppelin-contracts/contracts/utils/math/SafeCast.sol":{"id":24},"lib/openzeppelin-contracts/contracts/utils/ReentrancyGuard.sol":{"id":15},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"id":25},"lib/openzeppelin-contracts/contracts/utils/cryptography/ECDSA.sol":{"id":19},"lib/openzeppelin-contracts/contracts/interfaces/draft-IERC6093.sol":{"id":5},"lib/openzeppelin-contracts/contracts/utils/cryptography/EIP712.sol":{"id":20},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{"id":11},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{"id":22},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/ERC20Permit.sol":{"id":8},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Permit.sol":{"id":10},"lib/openzeppelin-contracts/contracts/utils/cryptography/MessageHashUtils.sol":{"id":21},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"id":9}},"contracts":{"src/Contract.sol":{"Contract":{"abi":[{"type":"constructor","inputs":[{"name":"params","type":"tuple","components":[{"name":"name","type":"string","internalType":"string"},{"name":"symbol","type":"string","internalType":"string"},{"name":"decimals","type":"uint8","internalType":"uint8"},{"name":"totalSupply","type":"uint256","internalType":"uint256"},{"name":"initialTax","type":"uint8","internalType":"uint8"},{"name":"taxReductionInterval","type":"uint256","internalType":"uint256"},{"name":"initialTaxDuration","type":"uint256","internalType":"uint256"},{"name":"taxReductionRate","type":"uint8","internalType":"uint8"},{"name":"taxRecipient","type":"address","internalType":"address"},{"name":"weth","type":"address","internalType":"address"},{"name":"router","type":"address","internalType":"address"},{"name":"factory","type":"address","internalType":"address"},{"name":"owner","type":"address","internalType":"address"}],"internalType":"struct Contract.InitParams"}],"stateMutability":"nonpayable"},{"name":"ECDSAInvalidSignature","type":"error","inputs":[]},{"name":"ECDSAInvalidSignatureLength","type":"error","inputs":[{"name":"length","type":"uint256","internalType":"uint256"}]},{"name":"ECDSAInvalidSignatureS","type":"error","inputs":[{"name":"s","type":"bytes32","internalType":"bytes32"}]},{"name":"ERC20InsufficientAllowance","type":"error","inputs":[{"name":"spender","type":"address","internalType":"address"},{"name":"allowance","type":"uint256","internalType":"uint256"},{"name":"needed","type":"uint256","internalType":"uint256"}]},{"name":"ERC20InsufficientBalance","type":"error","inputs":[{"name":"sender","type":"address","internalType":"address"},{"name":"balance","type":"uint256","internalType":"uint256"},{"name":"needed","type":"uint256","internalType":"uint256"}]},{"name":"ERC20InvalidApprover","type":"error","inputs":[{"name":"approver","type":"address","internalType":"address"}]},{"name":"ERC20InvalidReceiver","type":"error","inputs":[{"name":"receiver","type":"address","internalType":"address"}]},{"name":"ERC20InvalidSender","type":"error","inputs":[{"name":"sender","type":"address","internalType":"address"}]},{"name":"ERC20InvalidSpender","type":"error","inputs":[{"name":"spender","type":"address","internalType":"address"}]},{"name":"ERC2612ExpiredSignature","type":"error","inputs":[{"name":"deadline","type":"uint256","internalType":"uint256"}]},{"name":"ERC2612InvalidSigner","type":"error","inputs":[{"name":"signer","type":"address","internalType":"address"},{"name":"owner","type":"address","internalType":"address"}]},{"name":"InvalidAccountNonce","type":"error","inputs":[{"name":"account","type":"address","internalType":"address"},{"name":"currentNonce","type":"uint256","internalType":"uint256"}]},{"name":"InvalidShortString","type":"error","inputs":[]},{"name":"OwnableInvalidOwner","type":"error","inputs":[{"name":"owner","type":"address","internalType":"address"}]},{"name":"OwnableUnauthorizedAccount","type":"error","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"name":"ReentrancyGuardReentrantCall","type":"error","inputs":[]},{"name":"SafeERC20FailedOperation","type":"error","inputs":[{"name":"token","type":"address","internalType":"address"}]},{"name":"StringTooLong","type":"error","inputs":[{"name":"str","type":"string","internalType":"string"}]},{"name":"Approval","type":"event","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"spender","type":"address","indexed":true,"internalType":"address"},{"name":"value","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"EIP712DomainChanged","type":"event","inputs":[],"anonymous":false},{"name":"LPTokensBurned","type":"event","inputs":[{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"}],"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":"TaxReductionCompleted","type":"event","inputs":[],"anonymous":false},{"name":"Transfer","type":"event","inputs":[{"name":"from","type":"address","indexed":true,"internalType":"address"},{"name":"to","type":"address","indexed":true,"internalType":"address"},{"name":"value","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"fallback","stateMutability":"payable"},{"name":"DOMAIN_SEPARATOR","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"allowance","type":"function","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"spender","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"approve","type":"function","inputs":[{"name":"spender","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"balanceOf","type":"function","inputs":[{"name":"account","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"claimPoolFees","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"createLiquidityPool","type":"function","inputs":[{"name":"ethAmount","type":"uint256","internalType":"uint256"},{"name":"maxSlippage","type":"uint16","internalType":"uint16"}],"outputs":[],"stateMutability":"payable"},{"name":"decimals","type":"function","inputs":[],"outputs":[{"name":"","type":"uint8","internalType":"uint8"}],"stateMutability":"view"},{"name":"decreaseAllowance","type":"function","inputs":[{"name":"spender","type":"address","internalType":"address"},{"name":"subtractedValue","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"eip712Domain","type":"function","inputs":[],"outputs":[{"name":"fields","type":"bytes1","internalType":"bytes1"},{"name":"name","type":"string","internalType":"string"},{"name":"version","type":"string","internalType":"string"},{"name":"chainId","type":"uint256","internalType":"uint256"},{"name":"verifyingContract","type":"address","internalType":"address"},{"name":"salt","type":"bytes32","internalType":"bytes32"},{"name":"extensions","type":"uint256[]","internalType":"uint256[]"}],"stateMutability":"view"},{"name":"getCurrentTax","type":"function","inputs":[],"outputs":[{"name":"","type":"uint8","internalType":"uint8"}],"stateMutability":"view"},{"name":"increaseAllowance","type":"function","inputs":[{"name":"spender","type":"address","internalType":"address"},{"name":"addedValue","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"liquidityPool","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"name","type":"function","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"nonces","type":"function","inputs":[{"name":"owner","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"owner","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"permit","type":"function","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"spender","type":"address","internalType":"address"},{"name":"value","type":"uint256","internalType":"uint256"},{"name":"deadline","type":"uint256","internalType":"uint256"},{"name":"v","type":"uint8","internalType":"uint8"},{"name":"r","type":"bytes32","internalType":"bytes32"},{"name":"s","type":"bytes32","internalType":"bytes32"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"renounceOwnership","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"symbol","type":"function","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"totalSupply","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"transfer","type":"function","inputs":[{"name":"to","type":"address","internalType":"address"},{"name":"value","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"transferFrom","type":"function","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"value","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"transferOwnership","type":"function","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"receive","stateMutability":"payable"}],"metadata":"{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"internalType\":\"uint8\",\"name\":\"decimals\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"totalSupply\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"initialTax\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"taxReductionInterval\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"initialTaxDuration\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"taxReductionRate\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"taxRecipient\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"weth\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"router\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"factory\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"internalType\":\"struct Contract.InitParams\",\"name\":\"params\",\"type\":\"tuple\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"ECDSAInvalidSignature\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"length\",\"type\":\"uint256\"}],\"name\":\"ECDSAInvalidSignatureLength\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"ECDSAInvalidSignatureS\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"allowance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientAllowance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"approver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidApprover\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidReceiver\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSpender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"ERC2612ExpiredSignature\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"ERC2612InvalidSigner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"currentNonce\",\"type\":\"uint256\"}],\"name\":\"InvalidAccountNonce\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidShortString\",\"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\":[],\"name\":\"ReentrancyGuardReentrantCall\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"SafeERC20FailedOperation\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"str\",\"type\":\"string\"}],\"name\":\"StringTooLong\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"EIP712DomainChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"LPTokensBurned\",\"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\":[],\"name\":\"TaxReductionCompleted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"claimPoolFees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"ethAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint16\",\"name\":\"maxSlippage\",\"type\":\"uint16\"}],\"name\":\"createLiquidityPool\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"eip712Domain\",\"outputs\":[{\"internalType\":\"bytes1\",\"name\":\"fields\",\"type\":\"bytes1\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"verifyingContract\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"uint256[]\",\"name\":\"extensions\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCurrentTax\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"liquidityPool\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"details\":\"Token implements a tax system that reduces over time and includes liquidity pool creation/management features. The tax starts at an initial rate and reduces by a fixed percentage after an initial period. Tax reduction occurs in steps: after the initial period 2minutes at 2 seconds per block,  tax reduces by 1% every 30sec at 2 seconds per block until it reaches 0%.\",\"errors\":{\"ECDSAInvalidSignature()\":[{\"details\":\"The signature derives the `address(0)`.\"}],\"ECDSAInvalidSignatureLength(uint256)\":[{\"details\":\"The signature has an invalid length.\"}],\"ECDSAInvalidSignatureS(bytes32)\":[{\"details\":\"The signature has an S value that is in the upper half order.\"}],\"ERC20InsufficientAllowance(address,uint256,uint256)\":[{\"details\":\"Indicates a failure with the `spender`’s `allowance`. Used in transfers.\",\"params\":{\"allowance\":\"Amount of tokens a `spender` is allowed to operate with.\",\"needed\":\"Minimum amount required to perform a transfer.\",\"spender\":\"Address that may be allowed to operate on tokens without being their owner.\"}}],\"ERC20InsufficientBalance(address,uint256,uint256)\":[{\"details\":\"Indicates an error related to the current `balance` of a `sender`. Used in transfers.\",\"params\":{\"balance\":\"Current balance for the interacting account.\",\"needed\":\"Minimum amount required to perform a transfer.\",\"sender\":\"Address whose tokens are being transferred.\"}}],\"ERC20InvalidApprover(address)\":[{\"details\":\"Indicates a failure with the `approver` of a token to be approved. Used in approvals.\",\"params\":{\"approver\":\"Address initiating an approval operation.\"}}],\"ERC20InvalidReceiver(address)\":[{\"details\":\"Indicates a failure with the token `receiver`. Used in transfers.\",\"params\":{\"receiver\":\"Address to which tokens are being transferred.\"}}],\"ERC20InvalidSender(address)\":[{\"details\":\"Indicates a failure with the token `sender`. Used in transfers.\",\"params\":{\"sender\":\"Address whose tokens are being transferred.\"}}],\"ERC20InvalidSpender(address)\":[{\"details\":\"Indicates a failure with the `spender` to be approved. Used in approvals.\",\"params\":{\"spender\":\"Address that may be allowed to operate on tokens without being their owner.\"}}],\"ERC2612ExpiredSignature(uint256)\":[{\"details\":\"Permit deadline has expired.\"}],\"ERC2612InvalidSigner(address,address)\":[{\"details\":\"Mismatched signature.\"}],\"InvalidAccountNonce(address,uint256)\":[{\"details\":\"The nonce used for an `account` is not the expected current nonce.\"}],\"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 ERC-20 token failed.\"}]},\"events\":{\"Approval(address,address,uint256)\":{\"details\":\"Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance.\"},\"EIP712DomainChanged()\":{\"details\":\"MAY be emitted to signal that the domain could have changed.\"},\"LPTokensBurned(uint256)\":{\"params\":{\"amount\":\"The amount of LP tokens burned\"}},\"Transfer(address,address,uint256)\":{\"details\":\"Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero.\"}},\"kind\":\"dev\",\"methods\":{\"DOMAIN_SEPARATOR()\":{\"details\":\"Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.\"},\"allowance(address,address)\":{\"details\":\"See {IERC20-allowance}.\"},\"approve(address,uint256)\":{\"details\":\"Requires previous allowance to be 0 or new allowance to be 0 for safety\",\"params\":{\"amount\":\"Amount of tokens approved to spend\",\"spender\":\"Address authorized to spend tokens\"},\"returns\":{\"_0\":\"success Whether the approval was successful\"}},\"balanceOf(address)\":{\"details\":\"See {IERC20-balanceOf}.\"},\"claimPoolFees()\":{\"details\":\"Only callable by owner, sends claimed fees to tax recipient\"},\"constructor\":{\"details\":\"All tokens are initially minted to the contract itself\",\"params\":{\"params\":\"Struct containing all initialization parameters\"}},\"createLiquidityPool(uint256,uint16)\":{\"details\":\"Creates a volatile pool on Aerodrome\",\"params\":{\"ethAmount\":\"Amount of ETH to add as initial liquidity\",\"maxSlippage\":\"Maximum allowed slippage in basis points (1 = 0.01%, max 1000 = 10%)\"}},\"decimals()\":{\"details\":\"Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). Tokens usually opt for a value of 18, imitating the relationship between Ether and Wei. This is the default value returned by this function, unless it's overridden. NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}.\"},\"decreaseAllowance(address,uint256)\":{\"details\":\"Checks that decrease doesn't go below zero\",\"params\":{\"spender\":\"Address authorized to spend tokens\",\"subtractedValue\":\"Amount to decrease the allowance by\"},\"returns\":{\"_0\":\"success Whether the allowance was decreased\"}},\"eip712Domain()\":{\"details\":\"returns the fields and values that describe the domain separator used by this contract for EIP-712 signature.\"},\"getCurrentTax()\":{\"details\":\"Tax remains at initial rate during initial period, then reduces by taxReductionRate every interval\",\"returns\":{\"_0\":\"Current tax rate as a percentage (0-100)\"}},\"increaseAllowance(address,uint256)\":{\"details\":\"Checks for allowance overflow\",\"params\":{\"addedValue\":\"Amount to increase the allowance by\",\"spender\":\"Address authorized to spend tokens\"},\"returns\":{\"_0\":\"success Whether the allowance was increased\"}},\"name()\":{\"details\":\"Returns the name of the token.\"},\"nonces(address)\":{\"details\":\"Returns the current nonce for `owner`. This value must be included whenever a signature is generated for {permit}. Every successful call to {permit} increases ``owner``'s nonce by one. This prevents a signature from being used multiple times.\"},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"permit(address,address,uint256,uint256,uint8,bytes32,bytes32)\":{\"details\":\"Sets `value` as the allowance of `spender` over ``owner``'s tokens, given ``owner``'s signed approval. IMPORTANT: The same issues {IERC20-approve} has related to transaction ordering also apply here. Emits an {Approval} event. Requirements: - `spender` cannot be the zero address. - `deadline` must be a timestamp in the future. - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` over the EIP712-formatted function arguments. - the signature must use ``owner``'s current nonce (see {nonces}). For more information on the signature format, see the https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP section]. CAUTION: See Security Considerations above.\"},\"renounceOwnership()\":{\"details\":\"Sets owner to address(0), making owner-only functions inaccessibleThis action is irreversible\"},\"symbol()\":{\"details\":\"Returns the symbol of the token, usually a shorter version of the name.\"},\"totalSupply()\":{\"details\":\"See {IERC20-totalSupply}.\"},\"transfer(address,uint256)\":{\"details\":\"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `value`.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"See {IERC20-transferFrom}. Skips emitting an {Approval} event indicating an allowance update. This is not required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve]. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `value`. - the caller must have allowance for ``from``'s tokens of at least `value`.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"stateVariables\":{\"_AERODROME_FACTORY\":{\"details\":\"Address of the Aerodrome factory contract\"},\"_ROUTER\":{\"details\":\"Address of the Aerodrome router contract\"},\"_WETH\":{\"details\":\"Address of the WETH contract on Base network\"},\"_deploymentBlock\":{\"details\":\"Block number when contract was deployed\"},\"_initialTax\":{\"details\":\"Initial tax percentage (1-100)\"},\"_initialTaxDuration\":{\"details\":\"Number of blocks before tax reduction begins\"},\"_taxRecipient\":{\"details\":\"Address that receives tax payments\"},\"_taxReductionComplete\":{\"details\":\"Whether tax reduction has completed\"},\"_taxReductionInterval\":{\"details\":\"Number of blocks between tax reductions\"},\"_taxReductionRate\":{\"details\":\"Percentage points to reduce tax by each interval\"},\"liquidityPool\":{\"details\":\"Address of the token's liquidity pool (zero if not created)\"}},\"title\":\"Dynamic Tax Token with Liquidity Management\",\"version\":1},\"userdoc\":{\"events\":{\"LPTokensBurned(uint256)\":{\"notice\":\"Emitted when LP tokens are burned\"},\"TaxReductionCompleted()\":{\"notice\":\"Emitted when tax reduction reaches zero\"}},\"kind\":\"user\",\"methods\":{\"approve(address,uint256)\":{\"notice\":\"Safely approves spender to spend tokens on behalf of msg.sender\"},\"claimPoolFees()\":{\"notice\":\"Claims accumulated fees from the liquidity pool\"},\"constructor\":{\"notice\":\"Initializes the contract with the specified parameters\"},\"createLiquidityPool(uint256,uint16)\":{\"notice\":\"Creates a liquidity pool for the token with WETH pair, adds initial liquidity, sends all LP tokens to the tax recipient\"},\"decreaseAllowance(address,uint256)\":{\"notice\":\"Safely decreases the allowance granted to spender by the caller\"},\"getCurrentTax()\":{\"notice\":\"Gets the current tax rate based on block number\"},\"increaseAllowance(address,uint256)\":{\"notice\":\"Safely increases the allowance granted to spender by the caller\"},\"renounceOwnership()\":{\"notice\":\"Renounces ownership of the contract\"}},\"notice\":\"Implementation of an ERC20 token with dynamic tax reduction and automated liquidity pool management\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/Contract.sol\":\"Contract\"},\"evmVersion\":\"shanghai\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/\",\":erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/\",\":forge-std/=lib/forge-std/src/\",\":halmos-cheatcodes/=lib/openzeppelin-contracts/lib/halmos-cheatcodes/src/\",\":openzeppelin-contracts/contracts/=lib/openzeppelin-contracts/contracts/\",\":openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/\"]},\"sources\":{\"lib/openzeppelin-contracts/contracts/access/Ownable.sol\":{\"keccak256\":\"0xff6d0bb2e285473e5311d9d3caacb525ae3538a80758c10649a4d61029b017bb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8ed324d3920bb545059d66ab97d43e43ee85fd3bd52e03e401f020afb0b120f6\",\"dweb:/ipfs/QmfEckWLmZkDDcoWrkEvMWhms66xwTLff9DDhegYpvHo1a\"]},\"lib/openzeppelin-contracts/contracts/interfaces/IERC1363.sol\":{\"keccak256\":\"0x9b6b3e7803bc5f2f8cd7ad57db8ac1def61a9930a5a3107df4882e028a9605d7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://da62d6be1f5c6edf577f0cb45666a8aa9c2086a4bac87d95d65f02e2f4c36a4b\",\"dweb:/ipfs/QmNkpvBpoCMvX8JwAFNSc5XxJ2q5BXJpL5L1txb4QkqVFF\"]},\"lib/openzeppelin-contracts/contracts/interfaces/IERC165.sol\":{\"keccak256\":\"0xde7e9fd9aee8d4f40772f96bb3b58836cbc6dfc0227014a061947f8821ea9724\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://11fea9f8bc98949ac6709f0c1699db7430d2948137aa94d5a9e95a91f61a710a\",\"dweb:/ipfs/QmQdfRXxQjwP6yn3DVo1GHPpriKNcFghSPi94Z1oKEFUNS\"]},\"lib/openzeppelin-contracts/contracts/interfaces/IERC20.sol\":{\"keccak256\":\"0xce41876e78d1badc0512229b4d14e4daf83bc1003d7f83978d18e0e56f965b9c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2608291cb038b388d80b79a06b6118a42f7894ff67b7da10ec0dbbf5b2973ba\",\"dweb:/ipfs/QmWohqcBLbcxmA4eGPhZDXe5RYMMEEpFq22nfkaUMvTfw1\"]},\"lib/openzeppelin-contracts/contracts/interfaces/IERC5267.sol\":{\"keccak256\":\"0x92aa1df62dc3d33f1656d63bede0923e0df0b706ad4137c8b10b0a8fe549fd92\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c5c0f29195ad64cbe556da8e257dac8f05f78c53f90323c0d2accf8e6922d33a\",\"dweb:/ipfs/QmQ61TED8uaCZwcbh8KkgRSsCav7x7HbcGHwHts3U4DmUP\"]},\"lib/openzeppelin-contracts/contracts/interfaces/draft-IERC6093.sol\":{\"keccak256\":\"0x880da465c203cec76b10d72dbd87c80f387df4102274f23eea1f9c9b0918792b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://399594cd8bb0143bc9e55e0f1d071d0d8c850a394fb7a319d50edd55d9ed822b\",\"dweb:/ipfs/QmbPZzgtT6LEm9CMqWfagQFwETbV1ztpECBB1DtQHrKiRz\"]},\"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol\":{\"keccak256\":\"0x6ef9389a2c07bc40d8a7ba48914724ab2c108fac391ce12314f01321813e6368\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b7a5cb39b1e6df68f4dd9a5e76e853d745a74ffb3dfd7df4ae4d2ace6992a171\",\"dweb:/ipfs/QmPbzKR19rdM8X3PLQjsmHRepUKhvoZnedSR63XyGtXZib\"]},\"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db\",\"dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9\"]},\"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/ERC20Permit.sol\":{\"keccak256\":\"0xaa7f0646f49ebe2606eeca169f85c56451bbaeeeb06265fa076a03369a25d1d3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ee931d4e832385765967efe6366dcc6d00d6a2d794f9c66ee38283c03882de9c\",\"dweb:/ipfs/QmR6SkuJGYxpQeLz38rBdghqaWqEPfzUsL9kBoXgEXKtbD\"]},\"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol\":{\"keccak256\":\"0x70f2f713b13b7ce4610bcd0ac9fec0f3cc43693b043abcb8dc40a42a726eb330\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c13d13304ac79a83ab1c30168967d19e2203342ebbd6a9bbce4db7550522dcbf\",\"dweb:/ipfs/QmeN5jKMN2vw5bhacr6tkg78afbTTZUeaacNHqjWt4Ew1r\"]},\"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Permit.sol\":{\"keccak256\":\"0x27dbc90e5136ffe46c04f7596fc2dbcc3acebd8d504da3d93fdb8496e6de04f6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0ea8b92e4245d75a5579c10f22f118f7b4ba07c57341f181f0b2a85ff8663de3\",\"dweb:/ipfs/Qme3Ss5ByjmkxxkMdLpyu7fQ1PCtjNFH1wEFszt2BZePiG\"]},\"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol\":{\"keccak256\":\"0x6dd0cb67846da3fa1241c520faaa215d6bec8226e37beac6056c51e8af44d24e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://650e533e62b30dcc6edea2b6c91358d5659da3bde42e56adf7316c493b916a15\",\"dweb:/ipfs/QmYkmK2vPE6FjdAoQVpZSJxamTLGno9wzGS495TcMNFViV\"]},\"lib/openzeppelin-contracts/contracts/utils/Context.sol\":{\"keccak256\":\"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12\",\"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF\"]},\"lib/openzeppelin-contracts/contracts/utils/Nonces.sol\":{\"keccak256\":\"0x0082767004fca261c332e9ad100868327a863a88ef724e844857128845ab350f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://132dce9686a54e025eb5ba5d2e48208f847a1ec3e60a3e527766d7bf53fb7f9e\",\"dweb:/ipfs/QmXn1a2nUZMpu2z6S88UoTfMVtY2YNh86iGrzJDYmMkKeZ\"]},\"lib/openzeppelin-contracts/contracts/utils/Panic.sol\":{\"keccak256\":\"0xf7fe324703a64fc51702311dc51562d5cb1497734f074e4f483bfb6717572d7a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c6a5ff4f9fd8649b7ee20800b7fa387d3465bd77cf20c2d1068cd5c98e1ed57a\",\"dweb:/ipfs/QmVSaVJf9FXFhdYEYeCEfjMVHrxDh5qL4CGkxdMWpQCrqG\"]},\"lib/openzeppelin-contracts/contracts/utils/ReentrancyGuard.sol\":{\"keccak256\":\"0x11a5a79827df29e915a12740caf62fe21ebe27c08c9ae3e09abe9ee3ba3866d3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3cf0c69ab827e3251db9ee6a50647d62c90ba580a4d7bbff21f2bea39e7b2f4a\",\"dweb:/ipfs/QmZiKwtKU1SBX4RGfQtY7PZfiapbbu6SZ9vizGQD9UHjRA\"]},\"lib/openzeppelin-contracts/contracts/utils/ShortStrings.sol\":{\"keccak256\":\"0xc9971dd236eaf8b0c13dc242392e30b5c998f39bbddbbe92da63c17079b07ac5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://194404b86f076901a9ee785ae3b4818d2d9c2916641c6eb7ea39fde2874cbd81\",\"dweb:/ipfs/QmWpxUw6ComUsoN8Q1ycWohE4qB8BCKWhLu5CAz3JmPL73\"]},\"lib/openzeppelin-contracts/contracts/utils/StorageSlot.sol\":{\"keccak256\":\"0xcf74f855663ce2ae00ed8352666b7935f6cddea2932fdf2c3ecd30a9b1cd0e97\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9f660b1f351b757dfe01438e59888f31f33ded3afcf5cb5b0d9bf9aa6f320a8b\",\"dweb:/ipfs/QmarDJ5hZEgBtCmmrVzEZWjub9769eD686jmzb2XpSU1cM\"]},\"lib/openzeppelin-contracts/contracts/utils/Strings.sol\":{\"keccak256\":\"0x967996585c54704fd501d06738b0dc2463207929f6f9d8e5193770ca88035130\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c22d1c0daf76538514f93f524c1a6dca7bf5a97992537122ef3a7f8632fb3375\",\"dweb:/ipfs/QmYpjvU5LV3HsQRvoCzy9CHzQMWxEro4mHYGvcgWkCPSPw\"]},\"lib/openzeppelin-contracts/contracts/utils/cryptography/ECDSA.sol\":{\"keccak256\":\"0x69f54c02b7d81d505910ec198c11ed4c6a728418a868b906b4a0cf29946fda84\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8e25e4bdb7ae1f21d23bfee996e22736fc0ab44cfabedac82a757b1edc5623b9\",\"dweb:/ipfs/QmQdWQvB6JCP9ZMbzi8EvQ1PTETqkcTWrbcVurS7DKpa5n\"]},\"lib/openzeppelin-contracts/contracts/utils/cryptography/EIP712.sol\":{\"keccak256\":\"0xc7d50d58b73e2ea513cb734e69e36df6ab9d6c9c3693b1b23ecef974bec09ed6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4d647fa61a035f70388a30eda39239477c49c89f3e6eca4494c2d4fce92cbc10\",\"dweb:/ipfs/QmfTVm5cbShkjBrJX2zbxsUKB2my992PHcT81PVVWC5Pcu\"]},\"lib/openzeppelin-contracts/contracts/utils/cryptography/MessageHashUtils.sol\":{\"keccak256\":\"0x7ae21669569f436e69e064814c8b8986e1936972bdd9ad559b859f3abe7251ae\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ad6d66b7acf76e9ad8703c2a04c1e62c0394cba2ad8f0fbd98cf06b3d9dbb403\",\"dweb:/ipfs/QmSrJChs3MKqG6EFAi585MPJ1FyUvMxK66Bi7Pxm4e3qxU\"]},\"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621\",\"dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL\"]},\"lib/openzeppelin-contracts/contracts/utils/math/Math.sol\":{\"keccak256\":\"0xf98bc4b1d01130679a1547b0f6b5b9f9a9190fe362d332fda43a5578c8af5bc4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://78f3bf08130ae5bcd1006d435914c1b07dc8abc290e6a5b86e5794a6ec9ae917\",\"dweb:/ipfs/QmReTCvi9s9DK97zFn7yJBrbKPoRm7e2txvoFE9kP3j3ws\"]},\"lib/openzeppelin-contracts/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0x195533c86d0ef72bcc06456a4f66a9b941f38eb403739b00f21fd7c1abd1ae54\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b1d578337048cad08c1c03041cca5978eff5428aa130c781b271ad9e5566e1f8\",\"dweb:/ipfs/QmPFKL2r9CBsMwmUqqdcFPfHZB2qcs9g1HDrPxzWSxomvy\"]},\"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol\":{\"keccak256\":\"0xb1970fac7b64e6c09611e6691791e848d5e3fe410fa5899e7df2e0afd77a99e3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://db5fbb3dddd8b7047465b62575d96231ba8a2774d37fb4737fbf23340fabbb03\",\"dweb:/ipfs/QmVUSvooZKEdEdap619tcJjTLcAuH6QBdZqAzWwnAXZAWJ\"]},\"src/Contract.sol\":{\"keccak256\":\"0x6f24873b0a6848a8224c98d0b0023fb8db3713ea66a8771e868b5bda41cbcd29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://15fc49c3e4b905114b0e774b56907ab337042a5413c02375cf09f94745f35977\",\"dweb:/ipfs/QmeMWsdRfyhTigLZeKFZr55m8Zi4gK1rNtNzno7k9Ujg9H\"]}},\"version\":1}","userdoc":{"kind":"user","events":{"LPTokensBurned(uint256)":{"notice":"Emitted when LP tokens are burned"},"TaxReductionCompleted()":{"notice":"Emitted when tax reduction reaches zero"}},"notice":"Implementation of an ERC20 token with dynamic tax reduction and automated liquidity pool management","methods":{"constructor":{"notice":"Initializes the contract with the specified parameters"},"claimPoolFees()":{"notice":"Claims accumulated fees from the liquidity pool"},"getCurrentTax()":{"notice":"Gets the current tax rate based on block number"},"renounceOwnership()":{"notice":"Renounces ownership of the contract"},"approve(address,uint256)":{"notice":"Safely approves spender to spend tokens on behalf of msg.sender"},"decreaseAllowance(address,uint256)":{"notice":"Safely decreases the allowance granted to spender by the caller"},"increaseAllowance(address,uint256)":{"notice":"Safely increases the allowance granted to spender by the caller"},"createLiquidityPool(uint256,uint16)":{"notice":"Creates a liquidity pool for the token with WETH pair, adds initial liquidity, sends all LP tokens to the tax recipient"}},"version":1},"devdoc":{"kind":"dev","title":"Dynamic Tax Token with Liquidity Management","errors":{"ECDSAInvalidSignature()":[{"details":"The signature derives the `address(0)`."}],"ERC20InvalidSender(address)":[{"params":{"sender":"Address whose tokens are being transferred."},"details":"Indicates a failure with the token `sender`. Used in transfers."}],"ERC20InvalidSpender(address)":[{"params":{"spender":"Address that may be allowed to operate on tokens without being their owner."},"details":"Indicates a failure with the `spender` to be approved. Used in approvals."}],"OwnableInvalidOwner(address)":[{"details":"The owner is not a valid owner account. (eg. `address(0)`)"}],"ERC20InvalidApprover(address)":[{"params":{"approver":"Address initiating an approval operation."},"details":"Indicates a failure with the `approver` of a token to be approved. Used in approvals."}],"ERC20InvalidReceiver(address)":[{"params":{"receiver":"Address to which tokens are being transferred."},"details":"Indicates a failure with the token `receiver`. Used in transfers."}],"ReentrancyGuardReentrantCall()":[{"details":"Unauthorized reentrant call."}],"ECDSAInvalidSignatureS(bytes32)":[{"details":"The signature has an S value that is in the upper half order."}],"ERC2612ExpiredSignature(uint256)":[{"details":"Permit deadline has expired."}],"SafeERC20FailedOperation(address)":[{"details":"An operation with an ERC-20 token failed."}],"OwnableUnauthorizedAccount(address)":[{"details":"The caller account is not authorized to perform an operation."}],"ECDSAInvalidSignatureLength(uint256)":[{"details":"The signature has an invalid length."}],"InvalidAccountNonce(address,uint256)":[{"details":"The nonce used for an `account` is not the expected current nonce."}],"ERC2612InvalidSigner(address,address)":[{"details":"Mismatched signature."}],"ERC20InsufficientBalance(address,uint256,uint256)":[{"params":{"needed":"Minimum amount required to perform a transfer.","sender":"Address whose tokens are being transferred.","balance":"Current balance for the interacting account."},"details":"Indicates an error related to the current `balance` of a `sender`. Used in transfers."}],"ERC20InsufficientAllowance(address,uint256,uint256)":[{"params":{"needed":"Minimum amount required to perform a transfer.","spender":"Address that may be allowed to operate on tokens without being their owner.","allowance":"Amount of tokens a `spender` is allowed to operate with."},"details":"Indicates a failure with the `spender`’s `allowance`. Used in transfers."}]},"events":{"EIP712DomainChanged()":{"details":"MAY be emitted to signal that the domain could have changed."},"LPTokensBurned(uint256)":{"params":{"amount":"The amount of LP tokens burned"}},"Approval(address,address,uint256)":{"details":"Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance."},"Transfer(address,address,uint256)":{"details":"Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero."}},"details":"Token implements a tax system that reduces over time and includes liquidity pool creation/management features. The tax starts at an initial rate and reduces by a fixed percentage after an initial period. Tax reduction occurs in steps: after the initial period 2minutes at 2 seconds per block,  tax reduces by 1% every 30sec at 2 seconds per block until it reaches 0%.","methods":{"name()":{"details":"Returns the name of the token."},"owner()":{"details":"Returns the address of the current owner."},"symbol()":{"details":"Returns the symbol of the token, usually a shorter version of the name."},"decimals()":{"details":"Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). Tokens usually opt for a value of 18, imitating the relationship between Ether and Wei. This is the default value returned by this function, unless it's overridden. NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}."},"constructor":{"params":{"params":"Struct containing all initialization parameters"},"details":"All tokens are initially minted to the contract itself"},"totalSupply()":{"details":"See {IERC20-totalSupply}."},"eip712Domain()":{"details":"returns the fields and values that describe the domain separator used by this contract for EIP-712 signature."},"claimPoolFees()":{"details":"Only callable by owner, sends claimed fees to tax recipient"},"getCurrentTax()":{"details":"Tax remains at initial rate during initial period, then reduces by taxReductionRate every interval","returns":{"_0":"Current tax rate as a percentage (0-100)"}},"nonces(address)":{"details":"Returns the current nonce for `owner`. This value must be included whenever a signature is generated for {permit}. Every successful call to {permit} increases ``owner``'s nonce by one. This prevents a signature from being used multiple times."},"DOMAIN_SEPARATOR()":{"details":"Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}."},"balanceOf(address)":{"details":"See {IERC20-balanceOf}."},"renounceOwnership()":{"details":"Sets owner to address(0), making owner-only functions inaccessibleThis action is irreversible"},"approve(address,uint256)":{"params":{"amount":"Amount of tokens approved to spend","spender":"Address authorized to spend tokens"},"details":"Requires previous allowance to be 0 or new allowance to be 0 for safety","returns":{"_0":"success Whether the approval was successful"}},"transfer(address,uint256)":{"details":"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `value`."},"allowance(address,address)":{"details":"See {IERC20-allowance}."},"transferOwnership(address)":{"details":"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."},"decreaseAllowance(address,uint256)":{"params":{"spender":"Address authorized to spend tokens","subtractedValue":"Amount to decrease the allowance by"},"details":"Checks that decrease doesn't go below zero","returns":{"_0":"success Whether the allowance was decreased"}},"increaseAllowance(address,uint256)":{"params":{"spender":"Address authorized to spend tokens","addedValue":"Amount to increase the allowance by"},"details":"Checks for allowance overflow","returns":{"_0":"success Whether the allowance was increased"}},"createLiquidityPool(uint256,uint16)":{"params":{"ethAmount":"Amount of ETH to add as initial liquidity","maxSlippage":"Maximum allowed slippage in basis points (1 = 0.01%, max 1000 = 10%)"},"details":"Creates a volatile pool on Aerodrome"},"transferFrom(address,address,uint256)":{"details":"See {IERC20-transferFrom}. Skips emitting an {Approval} event indicating an allowance update. This is not required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve]. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `value`. - the caller must have allowance for ``from``'s tokens of at least `value`."},"permit(address,address,uint256,uint256,uint8,bytes32,bytes32)":{"details":"Sets `value` as the allowance of `spender` over ``owner``'s tokens, given ``owner``'s signed approval. IMPORTANT: The same issues {IERC20-approve} has related to transaction ordering also apply here. Emits an {Approval} event. Requirements: - `spender` cannot be the zero address. - `deadline` must be a timestamp in the future. - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` over the EIP712-formatted function arguments. - the signature must use ``owner``'s current nonce (see {nonces}). For more information on the signature format, see the https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP section]. CAUTION: See Security Considerations above."}},"version":1,"stateVariables":{"_WETH":{"details":"Address of the WETH contract on Base network"},"_ROUTER":{"details":"Address of the Aerodrome router contract"},"_initialTax":{"details":"Initial tax percentage (1-100)"},"_taxRecipient":{"details":"Address that receives tax payments"},"liquidityPool":{"details":"Address of the token's liquidity pool (zero if not created)"},"_deploymentBlock":{"details":"Block number when contract was deployed"},"_taxReductionRate":{"details":"Percentage points to reduce tax by each interval"},"_AERODROME_FACTORY":{"details":"Address of the Aerodrome factory contract"},"_initialTaxDuration":{"details":"Number of blocks before tax reduction begins"},"_taxReductionComplete":{"details":"Whether tax reduction has completed"},"_taxReductionInterval":{"details":"Number of blocks between tax reductions"}}},"storageLayout":{"types":{"t_bool":{"label":"bool","encoding":"inplace","numberOfBytes":"1"},"t_uint8":{"label":"uint8","encoding":"inplace","numberOfBytes":"1"},"t_address":{"label":"address","encoding":"inplace","numberOfBytes":"20"},"t_uint256":{"label":"uint256","encoding":"inplace","numberOfBytes":"32"},"t_string_storage":{"label":"string","encoding":"bytes","numberOfBytes":"32"},"t_mapping(t_address,t_uint256)":{"key":"t_address","label":"mapping(address => uint256)","value":"t_uint256","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_address,t_mapping(t_address,t_uint256))":{"key":"t_address","label":"mapping(address => mapping(address => uint256))","value":"t_mapping(t_address,t_uint256)","encoding":"mapping","numberOfBytes":"32"}},"storage":[{"slot":"0","type":"t_mapping(t_address,t_uint256)","astId":422,"label":"_balances","offset":0,"contract":"src/Contract.sol:Contract"},{"slot":"1","type":"t_mapping(t_address,t_mapping(t_address,t_uint256))","astId":428,"label":"_allowances","offset":0,"contract":"src/Contract.sol:Contract"},{"slot":"2","type":"t_uint256","astId":430,"label":"_totalSupply","offset":0,"contract":"src/Contract.sol:Contract"},{"slot":"3","type":"t_string_storage","astId":432,"label":"_name","offset":0,"contract":"src/Contract.sol:Contract"},{"slot":"4","type":"t_string_storage","astId":434,"label":"_symbol","offset":0,"contract":"src/Contract.sol:Contract"},{"slot":"5","type":"t_string_storage","astId":4019,"label":"_nameFallback","offset":0,"contract":"src/Contract.sol:Contract"},{"slot":"6","type":"t_string_storage","astId":4021,"label":"_versionFallback","offset":0,"contract":"src/Contract.sol:Contract"},{"slot":"7","type":"t_mapping(t_address,t_uint256)","astId":1716,"label":"_nonces","offset":0,"contract":"src/Contract.sol:Contract"},{"slot":"8","type":"t_address","astId":8,"label":"_owner","offset":0,"contract":"src/Contract.sol:Contract"},{"slot":"9","type":"t_uint256","astId":1833,"label":"_status","offset":0,"contract":"src/Contract.sol:Contract"},{"slot":"10","type":"t_string_storage","astId":8010,"label":"_name","offset":0,"contract":"src/Contract.sol:Contract"},{"slot":"11","type":"t_string_storage","astId":8012,"label":"_symbol","offset":0,"contract":"src/Contract.sol:Contract"},{"slot":"12","type":"t_uint8","astId":8014,"label":"_decimals","offset":0,"contract":"src/Contract.sol:Contract"},{"slot":"13","type":"t_uint256","astId":8016,"label":"_totalSupply","offset":0,"contract":"src/Contract.sol:Contract"},{"slot":"14","type":"t_address","astId":8028,"label":"liquidityPool","offset":0,"contract":"src/Contract.sol:Contract"},{"slot":"14","type":"t_bool","astId":8040,"label":"_taxReductionComplete","offset":20,"contract":"src/Contract.sol:Contract"}]},"transientStorageLayout":null,"evm":{"bytecode":{"object":"61028060405234801562000011575f80fd5b5060405162003170380380620031708339810160408190526200003491620009a0565b806101800151815f015180604051806040016040528060018152602001603160f81b815250845f01518560200151816003908162000073919062000b86565b50600462000082828262000b86565b50620000949150839050600562000434565b61012052620000a581600662000434565b61014052815160208084019190912060e052815190820120610100524660a0526200013260e05161010051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a08201525f9060c00160405160208183030381529060405280519060200120905090565b60805250503060c052506001600160a01b0381166200016b57604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b62000176816200046c565b5060016009556080810151606460ff9091161115620001d85760405162461bcd60e51b815260206004820152601660248201527f5461782063616e6e6f7420657863656564203130302500000000000000000000604482015260640162000162565b6101008101516001600160a01b0316620002415760405162461bcd60e51b8152602060048201526024808201527f54617820726563697069656e742063616e6e6f74206265207a65726f206164646044820152637265737360e01b606482015260840162000162565b6101208101516001600160a01b03166200029e5760405162461bcd60e51b815260206004820152601b60248201527f574554482063616e6e6f74206265207a65726f20616464726573730000000000604482015260640162000162565b6101408101516001600160a01b0316620002fb5760405162461bcd60e51b815260206004820152601d60248201527f526f757465722063616e6e6f74206265207a65726f2061646472657373000000604482015260640162000162565b6101608101516001600160a01b0316620003585760405162461bcd60e51b815260206004820152601e60248201527f466163746f72792063616e6e6f74206265207a65726f20616464726573730000604482015260640162000162565b6101808101516001600160a01b0316620003b55760405162461bcd60e51b815260206004820152601c60248201527f4f776e65722063616e6e6f74206265207a65726f206164647265737300000000604482015260640162000162565b608081015160ff9081166101c05260a08201516101e05260c08201516102005260e082015116610240526101008101516001600160a01b039081166102205243610260526101208201518116610160908152610140830151821661018052820151166101a05260608101516200042d903090620004bd565b5062000d24565b5f60208351101562000453576200044b83620004f9565b905062000466565b8162000460848262000b86565b5060ff90505b92915050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038216620004e85760405163ec442f0560e01b81525f600482015260240162000162565b620004f55f83836200053b565b5050565b5f80829050601f8151111562000526578260405163305a27a960e01b815260040162000162919062000c52565b8051620005338262000c86565b179392505050565b6001600160a01b03831615806200055957506001600160a01b038216155b1562000571576200056c8383836200062a565b505050565b6200057b62000759565b5f62000586620007c2565b60ff1690505f81118015620005a457506001600160a01b0384163014155b8015620005ba57506001600160a01b0383163014155b1562000617575f6064620005cf838562000cbe565b620005db919062000cd8565b90505f620005ea828562000cf8565b9050620006028661022051846200062a60201b60201c565b6200060f8686836200062a565b505062000624565b620006248484846200062a565b50505050565b6001600160a01b03831662000658578060025f8282546200064c919062000d0e565b90915550620006ca9050565b6001600160a01b0383165f9081526020819052604090205481811015620006ac5760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640162000162565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216620006e85760028054829003905562000706565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200074c91815260200190565b60405180910390a3505050565b600e54600160a01b900460ff161580156200077e575062000779620007c2565b60ff16155b15620007c057600e805460ff60a01b1916600160a01b1790556040517f6112e881046eeed04237d499dbf611392304cd4a8f1c851834c8777aee228f5d905f90a15b565b600e545f90600160a01b900460ff1615620007dc57505f90565b6102005161026051620007f0919062000d0e565b4310156200080057506101c05190565b5f610200516102605162000815919062000d0e565b62000821904362000cf8565b90505f6101e0518262000835919062000cd8565b90505f6102405160ff16826200084c919062000cbe565b90506101c05160ff16811062000865575f935050505090565b806101c05160ff1662000879919062000cf8565b935050505090565b634e487b7160e01b5f52604160045260245ffd5b6040516101a081016001600160401b0381118282101715620008bb57620008bb62000881565b60405290565b5f5b83811015620008dd578181015183820152602001620008c3565b50505f910152565b5f82601f830112620008f5575f80fd5b81516001600160401b038082111562000912576200091262000881565b604051601f8301601f19908116603f011681019082821181831017156200093d576200093d62000881565b8160405283815286602085880101111562000956575f80fd5b62000969846020830160208901620008c1565b9695505050505050565b805160ff8116811462000984575f80fd5b919050565b80516001600160a01b038116811462000984575f80fd5b5f60208284031215620009b1575f80fd5b81516001600160401b0380821115620009c8575f80fd5b908301906101a08286031215620009dd575f80fd5b620009e762000895565b825182811115620009f6575f80fd5b62000a0487828601620008e5565b82525060208301518281111562000a19575f80fd5b62000a2787828601620008e5565b60208301525062000a3b6040840162000973565b60408201526060830151606082015262000a586080840162000973565b608082015260a083015160a082015260c083015160c082015262000a7f60e0840162000973565b60e0820152610100915062000a9682840162000989565b82820152610120915062000aac82840162000989565b82820152610140915062000ac282840162000989565b82820152610160915062000ad882840162000989565b82820152610180915062000aee82840162000989565b91810191909152949350505050565b600181811c9082168062000b1257607f821691505b60208210810362000b3157634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200056c57805f5260205f20601f840160051c8101602085101562000b5e5750805b601f840160051c820191505b8181101562000b7f575f815560010162000b6a565b5050505050565b81516001600160401b0381111562000ba25762000ba262000881565b62000bba8162000bb3845462000afd565b8462000b37565b602080601f83116001811462000bf0575f841562000bd85750858301515b5f19600386901b1c1916600185901b17855562000c4a565b5f85815260208120601f198616915b8281101562000c205788860151825594840194600190910190840162000bff565b508582101562000c3e57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b602081525f825180602084015262000c72816040850160208701620008c1565b601f01601f19169190910160400192915050565b8051602080830151919081101562000b31575f1960209190910360031b1b16919050565b634e487b7160e01b5f52601160045260245ffd5b808202811582820484141762000466576200046662000caa565b5f8262000cf357634e487b7160e01b5f52601260045260245ffd5b500490565b8181038181111562000466576200046662000caa565b8082018082111562000466576200046662000caa565b60805160a05160c05160e05161010051610120516101405161016051610180516101a0516101c0516101e0516102005161022051610240516102605161232962000e475f395f818161137501526113ec01525f61145101525f8181610da7015281816110c9015281816111180152611a5701525f818161135401526113cb01525f61142201525f81816113a30152818161147b01526114b401525f81816108be015261098401525f818161084b01528181610ae80152610b9201525f81816101480152818161088d0152818161095601528181610a6601528181610b1701528181610bba0152818161102101526110a701525f61181501525f6117e801525f6116ca01525f6116a201525f6115fd01525f61162701525f61165101526123295ff3fe608060405260043610610138575f3560e01c80637ecebe00116100aa578063a457c2d71161006e578063a457c2d714610400578063a9059cbb1461041f578063d505accf1461043e578063dd62ed3e1461045d578063f0fcce631461047c578063f2fde38b14610490576101bc565b80637ecebe001461037557806384b0196e146103945780638da5cb5b146103bb57806395d89b41146103d857806398e0ad11146103ec576101bc565b80633644e515116100fc5780633644e515146102b057806339509351146102c4578063499c695c146102e3578063665a11ca146102f657806370a082311461032d578063715018a614610361576101bc565b806306fdde03146101f9578063095ea7b31461022357806318160ddd1461025257806323b872dd14610270578063313ce5671461028f576101bc565b366101bc57336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146101ba5760405162461bcd60e51b815260206004820152601960248201527f4f6e6c7920616363657074204554482066726f6d20574554480000000000000060448201526064015b60405180910390fd5b005b60405162461bcd60e51b8152602060048201526012602482015271119d5b98dd1a5bdb881b9bdd08199bdd5b9960721b60448201526064016101b1565b348015610204575f80fd5b5061020d6104af565b60405161021a9190611f5f565b60405180910390f35b34801561022e575f80fd5b5061024261023d366004611f85565b61053f565b604051901515815260200161021a565b34801561025d575f80fd5b506002545b60405190815260200161021a565b34801561027b575f80fd5b5061024261028a366004611faf565b6105b3565b34801561029a575f80fd5b5060125b60405160ff909116815260200161021a565b3480156102bb575f80fd5b506102626105d6565b3480156102cf575f80fd5b506102426102de366004611f85565b6105e4565b6101ba6102f1366004611fed565b61064f565b348015610301575f80fd5b50600e54610315906001600160a01b031681565b6040516001600160a01b03909116815260200161021a565b348015610338575f80fd5b50610262610347366004612021565b6001600160a01b03165f9081526020819052604090205490565b34801561036c575f80fd5b506101ba610e14565b348015610380575f80fd5b5061026261038f366004612021565b610e26565b34801561039f575f80fd5b506103a8610e43565b60405161021a9796959493929190612043565b3480156103c6575f80fd5b506008546001600160a01b0316610315565b3480156103e3575f80fd5b5061020d610e85565b3480156103f7575f80fd5b506101ba610e94565b34801561040b575f80fd5b5061024261041a366004611f85565b61114d565b34801561042a575f80fd5b50610242610439366004611f85565b6111c9565b348015610449575f80fd5b506101ba6104583660046120da565b6111d6565b348015610468575f80fd5b5061026261047736600461214b565b61130c565b348015610487575f80fd5b5061029e611336565b34801561049b575f80fd5b506101ba6104aa366004612021565b6114e1565b6060600380546104be90612177565b80601f01602080910402602001604051908101604052809291908181526020018280546104ea90612177565b80156105355780601f1061050c57610100808354040283529160200191610535565b820191905f5260205f20905b81548152906001019060200180831161051857829003601f168201915b5050505050905090565b5f8115806105545750610552338461130c565b155b6105a05760405162461bcd60e51b815260206004820152601760248201527f556e7361666520616c6c6f77616e6365206368616e676500000000000000000060448201526064016101b1565b6105aa838361151e565b90505b92915050565b5f336105c085828561152b565b6105cb85858561158f565b506001949350505050565b5f6105df6115f1565b905090565b5f806105f0338561130c565b90505f6105fd84836121c3565b9050818110156106445760405162461bcd60e51b8152602060048201526012602482015271416c6c6f77616e6365206f766572666c6f7760701b60448201526064016101b1565b6105cb33868361171a565b610657611727565b81341461069d5760405162461bcd60e51b8152602060048201526014602482015273125b98dbdc9c9958dd0811551208185b5bdd5b9d60621b60448201526064016101b1565b600e546001600160a01b0316156106f65760405162461bcd60e51b815260206004820152601e60248201527f4c697175696469747920706f6f6c20616c72656164792063726561746564000060448201526064016101b1565b5f821161073e5760405162461bcd60e51b8152602060048201526016602482015275045544820616d6f756e74206d757374206265203e20360541b60448201526064016101b1565b5f8161ffff1611801561075757506103e88161ffff1611155b6107a35760405162461bcd60e51b815260206004820152601960248201527f496e76616c696420736c6970706167652028312d31303030290000000000000060448201526064016101b1565b305f90815260208190526040902054806107f55760405162461bcd60e51b81526020600482015260136024820152724e6f20746f6b656e7320617661696c61626c6560681b60448201526064016101b1565b5f61271061080384826121d6565b6108119061ffff16846121f8565b61081b919061220f565b90505f61271061082b85826121d6565b6108399061ffff16876121f8565b610843919061220f565b9050610870307f00000000000000000000000000000000000000000000000000000000000000008561171a565b6040516379bc57d560e01b81523060048201526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660248301525f60448301819052917f0000000000000000000000000000000000000000000000000000000000000000909116906379bc57d590606401602060405180830381865afa158015610905573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610929919061222e565b90506001600160a01b038116610a3e576040516301b5fcad60e51b81523060048201526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660248301525f60448301527f000000000000000000000000000000000000000000000000000000000000000016906336bf95a0906064016020604051808303815f875af11580156109ca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109ee919061222e565b90506001600160a01b038116610a3e5760405162461bcd60e51b815260206004820152601560248201527411985a5b1959081d1bc818dc99585d19481c1bdbdb605a1b60448201526064016101b1565b80600e5f6101000a8154816001600160a01b0302191690836001600160a01b031602179055507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0876040518263ffffffff1660e01b81526004015f604051808303818588803b158015610abd575f80fd5b505af1158015610acf573d5f803e3d5ffd5b505060405163095ea7b360e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081166004830152602482018b90527f000000000000000000000000000000000000000000000000000000000000000016935063095ea7b3925060440190506020604051808303815f875af1158015610b61573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b859190612249565b505f806001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016635a47ddc3307f0000000000000000000000000000000000000000000000000000000000000000848a8d8b8b86610beb42610e106121c3565b60405160e08b901b6001600160e01b03191681526001600160a01b03998a166004820152978916602489015295151560448801526064870194909452608486019290925260a485015260c484015290921660e4820152610104810191909152610124016060604051808303815f875af1158015610c6a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c8e9190612268565b5091509150848210158015610ca35750838110155b610ce35760405162461bcd60e51b815260206004820152601160248201527014db1a5c1c1859d948195e18d959591959607a1b60448201526064016101b1565b600e546040516370a0823160e01b81523060048201525f916001600160a01b0316906370a0823190602401602060405180830381865afa158015610d29573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4d9190612293565b90505f8111610d955760405162461bcd60e51b8152602060048201526014602482015273139bc81314081d1bdad95b9cc81d1bc81cd95b9960621b60448201526064016101b1565b600e54610dcc906001600160a01b03167f000000000000000000000000000000000000000000000000000000000000000083611751565b6040518181527f599e3c1445f5d3f97307a24763cc7d200c7c523b685562a5df07759410a411ec9060200160405180910390a150505050505050610e106001600955565b5050565b610e1c6117a3565b610e246117d0565b565b6001600160a01b0381165f908152600760205260408120546105ad565b5f6060805f805f6060610e546117e1565b610e5c61180e565b604080515f80825260208201909252600f60f81b9b939a50919850469750309650945092509050565b6060600480546104be90612177565b610e9c6117a3565b610ea4611727565b600e546001600160a01b0316610eef5760405162461bcd60e51b815260206004820152601060248201526f141bdbdb081b9bdd0818dc99585d195960821b60448201526064016101b1565b600e546040516370a0823160e01b81523060048201525f916001600160a01b0316906370a0823190602401602060405180830381865afa158015610f35573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f599190612293565b90505f8111610f9e5760405162461bcd60e51b8152602060048201526011602482015270139bc81314081d1bdad95b9cc81a195b19607a1b60448201526064016101b1565b600e546040805163d294f09360e01b815281516001600160a01b0390931692839263d294f093926004808201939182900301815f875af1158015610fe4573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061100891906122aa565b50506040516370a0823160e01b81523060048201525f907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa15801561106e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110929190612293565b905080156110ee576110ee6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f000000000000000000000000000000000000000000000000000000000000000083611751565b305f908152602081905260409020548381111561113f575f61111085836122cc565b905061113d307f00000000000000000000000000000000000000000000000000000000000000008361158f565b505b50505050610e246001600955565b5f80611159338561130c565b9050808311156111ab5760405162461bcd60e51b815260206004820152601e60248201527f44656372656173656420616c6c6f77616e63652062656c6f77207a65726f000060448201526064016101b1565b6111bf33856111ba86856122cc565b61171a565b5060019392505050565b5f336111bf81858561158f565b834211156111fa5760405163313c898160e11b8152600481018590526024016101b1565b5f7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886112458c6001600160a01b03165f90815260076020526040902080546001810190915590565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090505f61129f8261183b565b90505f6112ae82878787611867565b9050896001600160a01b0316816001600160a01b0316146112f5576040516325c0072360e11b81526001600160a01b0380831660048301528b1660248201526044016101b1565b6113008a8a8a61171a565b50505050505050505050565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b600e545f90600160a01b900460ff161561134f57505f90565b6113997f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006121c3565b4310156113c557507f000000000000000000000000000000000000000000000000000000000000000090565b5f6114107f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006121c3565b61141a90436122cc565b90505f6114477f00000000000000000000000000000000000000000000000000000000000000008361220f565b90505f61147760ff7f000000000000000000000000000000000000000000000000000000000000000016836121f8565b90507f000000000000000000000000000000000000000000000000000000000000000060ff1681106114ac575f935050505090565b6114d98160ff7f0000000000000000000000000000000000000000000000000000000000000000166122cc565b935050505090565b6114e96117a3565b6001600160a01b03811661151257604051631e4fbdf760e01b81525f60048201526024016101b1565b61151b81611893565b50565b5f336111bf81858561171a565b5f611536848461130c565b90505f19811015611589578181101561157b57604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016101b1565b61158984848484035f6118e4565b50505050565b6001600160a01b0383166115b857604051634b637e8f60e11b81525f60048201526024016101b1565b6001600160a01b0382166115e15760405163ec442f0560e01b81525f60048201526024016101b1565b6115ec8383836119b6565b505050565b5f306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561164957507f000000000000000000000000000000000000000000000000000000000000000046145b1561167357507f000000000000000000000000000000000000000000000000000000000000000090565b6105df604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a08201525f9060c00160405160208183030381529060405280519060200120905090565b6115ec83838360016118e4565b60026009540361174a57604051633ee5aeb560e01b815260040160405180910390fd5b6002600955565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526115ec908490611a99565b6008546001600160a01b03163314610e245760405163118cdaa760e01b81523360048201526024016101b1565b6117d86117a3565b610e245f611893565b60606105df7f00000000000000000000000000000000000000000000000000000000000000006005611b05565b60606105df7f00000000000000000000000000000000000000000000000000000000000000006006611b05565b5f6105ad6118476115f1565b8360405161190160f01b8152600281019290925260228201526042902090565b5f805f8061187788888888611bae565b9250925092506118878282611c76565b50909695505050505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b03841661190d5760405163e602df0560e01b81525f60048201526024016101b1565b6001600160a01b03831661193657604051634a1406b160e11b81525f60048201526024016101b1565b6001600160a01b038085165f908152600160209081526040808320938716835292905220829055801561158957826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516119a891815260200190565b60405180910390a350505050565b6001600160a01b03831615806119d357506001600160a01b038216155b156119e3576115ec838383611d2e565b6119eb611e54565b5f6119f4611336565b60ff1690505f81118015611a1157506001600160a01b0384163014155b8015611a2657506001600160a01b0383163014155b15611a8e575f6064611a3883856121f8565b611a42919061220f565b90505f611a4f82856122cc565b9050611a7c867f000000000000000000000000000000000000000000000000000000000000000084611d2e565b611a87868683611d2e565b5050611589565b611589848484611d2e565b5f8060205f8451602086015f885af180611ab8576040513d5f823e3d81fd5b50505f513d91508115611acf578060011415611adc565b6001600160a01b0384163b155b1561158957604051635274afe760e01b81526001600160a01b03851660048201526024016101b1565b606060ff8314611b1f57611b1883611eb8565b90506105ad565b818054611b2b90612177565b80601f0160208091040260200160405190810160405280929190818152602001828054611b5790612177565b8015611ba25780601f10611b7957610100808354040283529160200191611ba2565b820191905f5260205f20905b815481529060010190602001808311611b8557829003601f168201915b505050505090506105ad565b5f80807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0841115611be757505f91506003905082611c6c565b604080515f808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa158015611c38573d5f803e3d5ffd5b5050604051601f1901519150506001600160a01b038116611c6357505f925060019150829050611c6c565b92505f91508190505b9450945094915050565b5f826003811115611c8957611c896122df565b03611c92575050565b6001826003811115611ca657611ca66122df565b03611cc45760405163f645eedf60e01b815260040160405180910390fd5b6002826003811115611cd857611cd86122df565b03611cf95760405163fce698f760e01b8152600481018290526024016101b1565b6003826003811115611d0d57611d0d6122df565b03610e10576040516335e2f38360e21b8152600481018290526024016101b1565b6001600160a01b038316611d58578060025f828254611d4d91906121c3565b90915550611dc89050565b6001600160a01b0383165f9081526020819052604090205481811015611daa5760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016101b1565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216611de457600280548290039055611e02565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611e4791815260200190565b60405180910390a3505050565b600e54600160a01b900460ff16158015611e765750611e71611336565b60ff16155b15610e2457600e805460ff60a01b1916600160a01b1790556040517f6112e881046eeed04237d499dbf611392304cd4a8f1c851834c8777aee228f5d905f90a1565b60605f611ec483611ef5565b6040805160208082528183019092529192505f91906020820181803683375050509182525060208101929092525090565b5f60ff8216601f8111156105ad57604051632cd44ac360e21b815260040160405180910390fd5b5f81518084525f5b81811015611f4057602081850181015186830182015201611f24565b505f602082860101526020601f19601f83011685010191505092915050565b602081525f6105aa6020830184611f1c565b6001600160a01b038116811461151b575f80fd5b5f8060408385031215611f96575f80fd5b8235611fa181611f71565b946020939093013593505050565b5f805f60608486031215611fc1575f80fd5b8335611fcc81611f71565b92506020840135611fdc81611f71565b929592945050506040919091013590565b5f8060408385031215611ffe575f80fd5b82359150602083013561ffff81168114612016575f80fd5b809150509250929050565b5f60208284031215612031575f80fd5b813561203c81611f71565b9392505050565b60ff60f81b881681525f602060e0602084015261206360e084018a611f1c565b8381036040850152612075818a611f1c565b606085018990526001600160a01b038816608086015260a0850187905284810360c0860152855180825260208088019350909101905f5b818110156120c8578351835292840192918401916001016120ac565b50909c9b505050505050505050505050565b5f805f805f805f60e0888a0312156120f0575f80fd5b87356120fb81611f71565b9650602088013561210b81611f71565b95506040880135945060608801359350608088013560ff8116811461212e575f80fd5b9699959850939692959460a0840135945060c09093013592915050565b5f806040838503121561215c575f80fd5b823561216781611f71565b9150602083013561201681611f71565b600181811c9082168061218b57607f821691505b6020821081036121a957634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b808201808211156105ad576105ad6121af565b61ffff8281168282160390808211156121f1576121f16121af565b5092915050565b80820281158282048414176105ad576105ad6121af565b5f8261222957634e487b7160e01b5f52601260045260245ffd5b500490565b5f6020828403121561223e575f80fd5b815161203c81611f71565b5f60208284031215612259575f80fd5b8151801515811461203c575f80fd5b5f805f6060848603121561227a575f80fd5b8351925060208401519150604084015190509250925092565b5f602082840312156122a3575f80fd5b5051919050565b5f80604083850312156122bb575f80fd5b505080516020909101519092909150565b818103818111156105ad576105ad6121af565b634e487b7160e01b5f52602160045260245ffdfea2646970667358221220e8df4d55ae5ab7b020d2bcb05e3bb7ebef53f233e1684d93d7277ac3201c69a864736f6c63430008170033","sourceMap":"6493:13061:26:-:0;;;9519:1088;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;9650:6;:12;;;9621:6;:11;;;1616:4:8;3428:431:20;;;;;;;;;;;;;-1:-1:-1;;;3428:431:20;;;9572:6:26;:11;;;9585:6;:13;;;1675:5:6;1667;:13;;;;;;:::i;:::-;-1:-1:-1;1690:7:6;:17;1700:7;1690;:17;:::i;:::-;-1:-1:-1;3501:45:20;;-1:-1:-1;3501:4:20;;-1:-1:-1;3532:13:20;3501:30;:45::i;:::-;3493:53;;3567:51;:7;3601:16;3567:33;:51::i;:::-;3556:62;;3642:22;;;;;;;;;;3628:36;;3691:25;;;;;;3674:42;;3744:13;3727:30;;3792:23;4326:11;;4339:14;;4304:80;;;2079:95;4304:80;;;8579:25:27;8620:18;;;8613:34;;;;8663:18;;;8656:34;4355:13:20;8706:18:27;;;8699:34;4378:4:20;8749:19:27;;;8742:61;4268:7:20;;8551:19:27;;4304:80:20;;;;;;;;;;;;4294:91;;;;;;4287:98;;4213:179;;3792:23;3767:48;;-1:-1:-1;;3847:4:20;3825:27;;-1:-1:-1;;;;;;1273:26:0;;1269:95;;1322:31;;-1:-1:-1;;;1322:31:0;;1350:1;1322:31;;;6072:51:27;6045:18;;1322:31:0;;;;;;;;1269:95;1373:32;1392:12;1373:18;:32::i;:::-;-1:-1:-1;1857:1:15;2061:7;:21;9687:17:26::3;::::0;::::3;::::0;9708:3:::3;9687:24;::::0;;::::3;;;9679:59;;;::::0;-1:-1:-1;;;9679:59:26;;6336:2:27;9679:59:26::3;::::0;::::3;6318:21:27::0;6375:2;6355:18;;;6348:30;6414:24;6394:18;;;6387:52;6456:18;;9679:59:26::3;6134:346:27::0;9679:59:26::3;9756:19;::::0;::::3;::::0;-1:-1:-1;;;;;9756:33:26::3;9748:82;;;::::0;-1:-1:-1;;;9748:82:26;;6687:2:27;9748:82:26::3;::::0;::::3;6669:21:27::0;6726:2;6706:18;;;6699:30;6765:34;6745:18;;;6738:62;-1:-1:-1;;;6816:18:27;;;6809:34;6860:19;;9748:82:26::3;6485:400:27::0;9748:82:26::3;9848:11;::::0;::::3;::::0;-1:-1:-1;;;;;9848:25:26::3;9840:65;;;::::0;-1:-1:-1;;;9840:65:26;;7092:2:27;9840:65:26::3;::::0;::::3;7074:21:27::0;7131:2;7111:18;;;7104:30;7170:29;7150:18;;;7143:57;7217:18;;9840:65:26::3;6890:351:27::0;9840:65:26::3;9923:13;::::0;::::3;::::0;-1:-1:-1;;;;;9923:27:26::3;9915:69;;;::::0;-1:-1:-1;;;9915:69:26;;7448:2:27;9915:69:26::3;::::0;::::3;7430:21:27::0;7487:2;7467:18;;;7460:30;7526:31;7506:18;;;7499:59;7575:18;;9915:69:26::3;7246:353:27::0;9915:69:26::3;10002:14;::::0;::::3;::::0;-1:-1:-1;;;;;10002:28:26::3;9994:71;;;::::0;-1:-1:-1;;;9994:71:26;;7806:2:27;9994:71:26::3;::::0;::::3;7788:21:27::0;7845:2;7825:18;;;7818:30;7884:32;7864:18;;;7857:60;7934:18;;9994:71:26::3;7604:354:27::0;9994:71:26::3;10083:12;::::0;::::3;::::0;-1:-1:-1;;;;;10083:26:26::3;10075:67;;;::::0;-1:-1:-1;;;10075:67:26;;8165:2:27;10075:67:26::3;::::0;::::3;8147:21:27::0;8204:2;8184:18;;;8177:30;8243;8223:18;;;8216:58;8291:18;;10075:67:26::3;7963:352:27::0;10075:67:26::3;10167:17;::::0;::::3;::::0;10153:31:::3;::::0;;::::3;;::::0;10218:27:::3;::::0;::::3;::::0;10194:51:::3;::::0;10277:25:::3;::::0;::::3;::::0;10255:47:::3;::::0;10332:23:::3;::::0;::::3;::::0;10312:43:::3;;::::0;10381:19:::3;::::0;::::3;::::0;-1:-1:-1;;;;;10365:35:26;;::::3;;::::0;10429:12:::3;10410:31;::::0;10460:11:::3;::::0;::::3;::::0;10452:19;::::3;;::::0;;;10491:13:::3;::::0;::::3;::::0;10481:23;::::3;;::::0;10535:14;::::3;::::0;10514:35:::3;;::::0;-1:-1:-1;10581:18:26;::::3;::::0;10560:40:::3;::::0;10574:4:::3;::::0;10560:5:::3;:40::i;:::-;9519:1088:::0;6493:13061;;2887:340:16;2983:11;3032:2;3016:5;3010:19;:24;3006:215;;;3057:20;3071:5;3057:13;:20::i;:::-;3050:27;;;;3006:215;3134:5;3108:46;3149:5;3134;3108:46;:::i;:::-;-1:-1:-1;1390:66:16;;-1:-1:-1;3006:215:16;2887:340;;;;:::o;2912:187:0:-;3004:6;;;-1:-1:-1;;;;;3020:17:0;;;-1:-1:-1;;;;;;3020:17:0;;;;;;;3052:40;;3004:6;;;3020:17;3004:6;;3052:40;;2985:16;;3052:40;2975:124;2912:187;:::o;7458:208:6:-;-1:-1:-1;;;;;7528:21:6;;7524:91;;7572:32;;-1:-1:-1;;;7572:32:6;;7601:1;7572:32;;;6072:51:27;6045:18;;7572:32:6;5926:203:27;7524:91:6;7624:35;7640:1;7644:7;7653:5;7624:7;:35::i;:::-;7458:208;;:::o;1708:286:16:-;1773:11;1796:17;1822:3;1796:30;;1854:2;1840:4;:11;:16;1836:72;;;1893:3;1879:18;;-1:-1:-1;;;1879:18:16;;;;;;;;:::i;1836:72::-;1974:11;;1957:13;1974:4;1957:13;:::i;:::-;1949:36;;1708:286;-1:-1:-1;;;1708:286:16:o;13635:666:26:-;-1:-1:-1;;;;;13734:18:26;;;;:38;;-1:-1:-1;;;;;;13756:16:26;;;13734:38;13730:120;;;13788:31;13802:4;13808:2;13812:6;13788:13;:31::i;:::-;13635:666;;;:::o;13730:120::-;13860:27;:25;:27::i;:::-;13897:11;13911:15;:13;:15::i;:::-;13897:29;;;;13947:1;13941:3;:7;:32;;;;-1:-1:-1;;;;;;13952:21:26;;13968:4;13952:21;;13941:32;:55;;;;-1:-1:-1;;;;;;13977:19:26;;13991:4;13977:19;;13941:55;13937:358;;;14012:17;14049:3;14033:12;14042:3;14033:6;:12;:::i;:::-;14032:20;;;;:::i;:::-;14012:40;-1:-1:-1;14066:22:26;14091:18;14012:40;14091:6;:18;:::i;:::-;14066:43;;14124:45;14138:4;14144:13;;14159:9;14124:13;;;:45;;:::i;:::-;14183:39;14197:4;14203:2;14207:14;14183:13;:39::i;:::-;13998:235;;13937:358;;;14253:31;14267:4;14273:2;14277:6;14253:13;:31::i;:::-;13720:581;13635:666;;;:::o;6008:1107:6:-;-1:-1:-1;;;;;6097:18:6;;6093:540;;6249:5;6233:12;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;6093:540:6;;-1:-1:-1;6093:540:6;;-1:-1:-1;;;;;6307:15:6;;6285:19;6307:15;;;;;;;;;;;6340:19;;;6336:115;;;6386:50;;-1:-1:-1;;;6386:50:6;;-1:-1:-1;;;;;10527:32:27;;6386:50:6;;;10509:51:27;10576:18;;;10569:34;;;10619:18;;;10612:34;;;10482:18;;6386:50:6;10307:345:27;6336:115:6;-1:-1:-1;;;;;6571:15:6;;:9;:15;;;;;;;;;;6589:19;;;;6571:37;;6093:540;-1:-1:-1;;;;;6647:16:6;;6643:425;;6810:12;:21;;;;;;;6643:425;;;-1:-1:-1;;;;;7021:13:6;;:9;:13;;;;;;;;;;:22;;;;;;6643:425;7098:2;-1:-1:-1;;;;;7083:25:6;7092:4;-1:-1:-1;;;;;7083:25:6;;7102:5;7083:25;;;;10803::27;;10791:2;10776:18;;10657:177;7083:25:6;;;;;;;;6008:1107;;;:::o;16464:208:26:-;16524:21;;-1:-1:-1;;;16524:21:26;;;;16523:22;:46;;;;-1:-1:-1;16549:15:26;:13;:15::i;:::-;:20;;;16523:46;16519:147;;;16585:21;:28;;-1:-1:-1;;;;16585:28:26;-1:-1:-1;;;16585:28:26;;;16632:23;;;;16585:28;;16632:23;16519:147;16464:208::o;16911:847::-;16978:21;;16957:5;;-1:-1:-1;;;16978:21:26;;;;16974:60;;;-1:-1:-1;17022:1:26;;16911:847::o;16974:60::-;17135:19;;17116:16;;:38;;;;:::i;:::-;17101:12;:53;17097:102;;;-1:-1:-1;17177:11:26;;;16911:847::o;17097:102::-;17264:34;17336:19;;17317:16;;:38;;;;:::i;:::-;17301:55;;:12;:55;:::i;:::-;17264:92;;17436:18;17486:21;;17457:26;:50;;;;:::i;:::-;17436:71;;17564:20;17600:17;;17587:30;;:10;:30;;;;:::i;:::-;17564:53;;17647:11;;17631:27;;:12;:27;17627:66;;17681:1;17674:8;;;;;16911:847;:::o;17627:66::-;17738:12;17724:11;;:26;;;;;;:::i;:::-;17711:40;;;;;16911:847;:::o;14:127:27:-;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:250;213:2;207:9;255:6;243:19;;-1:-1:-1;;;;;277:34:27;;313:22;;;274:62;271:88;;;339:18;;:::i;:::-;375:2;368:22;146:250;:::o;401:::-;486:1;496:113;510:6;507:1;504:13;496:113;;;586:11;;;580:18;567:11;;;560:39;532:2;525:10;496:113;;;-1:-1:-1;;643:1:27;625:16;;618:27;401:250::o;656:699::-;710:5;763:3;756:4;748:6;744:17;740:27;730:55;;781:1;778;771:12;730:55;804:13;;-1:-1:-1;;;;;866:10:27;;;863:36;;;879:18;;:::i;:::-;954:2;948:9;922:2;1008:13;;-1:-1:-1;;1004:22:27;;;1028:2;1000:31;996:40;984:53;;;1052:18;;;1072:22;;;1049:46;1046:72;;;1098:18;;:::i;:::-;1138:10;1134:2;1127:22;1173:2;1165:6;1158:18;1219:3;1212:4;1207:2;1199:6;1195:15;1191:26;1188:35;1185:55;;;1236:1;1233;1226:12;1185:55;1249:76;1322:2;1315:4;1307:6;1303:17;1296:4;1288:6;1284:17;1249:76;:::i;:::-;1343:6;656:699;-1:-1:-1;;;;;;656:699:27:o;1360:160::-;1437:13;;1490:4;1479:16;;1469:27;;1459:55;;1510:1;1507;1500:12;1459:55;1360:160;;;:::o;1525:177::-;1604:13;;-1:-1:-1;;;;;1646:31:27;;1636:42;;1626:70;;1692:1;1689;1682:12;1707:1659;1805:6;1858:2;1846:9;1837:7;1833:23;1829:32;1826:52;;;1874:1;1871;1864:12;1826:52;1901:16;;-1:-1:-1;;;;;1966:14:27;;;1963:34;;;1993:1;1990;1983:12;1963:34;2016:22;;;;2072:6;2054:16;;;2050:29;2047:49;;;2092:1;2089;2082:12;2047:49;2118:17;;:::i;:::-;2166:2;2160:9;2194:2;2184:8;2181:16;2178:36;;;2210:1;2207;2200:12;2178:36;2237:56;2285:7;2274:8;2270:2;2266:17;2237:56;:::i;:::-;2230:5;2223:71;;2333:2;2329;2325:11;2319:18;2362:2;2352:8;2349:16;2346:36;;;2378:1;2375;2368:12;2346:36;2414:56;2462:7;2451:8;2447:2;2443:17;2414:56;:::i;:::-;2409:2;2402:5;2398:14;2391:80;;2503:40;2539:2;2535;2531:11;2503:40;:::i;:::-;2498:2;2491:5;2487:14;2480:64;2590:2;2586;2582:11;2576:18;2571:2;2564:5;2560:14;2553:42;2628:41;2664:3;2660:2;2656:12;2628:41;:::i;:::-;2622:3;2615:5;2611:15;2604:66;2717:3;2713:2;2709:12;2703:19;2697:3;2690:5;2686:15;2679:44;2770:3;2766:2;2762:12;2756:19;2750:3;2743:5;2739:15;2732:44;2809:41;2845:3;2841:2;2837:12;2809:41;:::i;:::-;2803:3;2796:5;2792:15;2785:66;2870:3;2860:13;;2905:42;2943:2;2939;2935:11;2905:42;:::i;:::-;2900:2;2893:5;2889:14;2882:66;2967:3;2957:13;;3002:42;3040:2;3036;3032:11;3002:42;:::i;:::-;2997:2;2990:5;2986:14;2979:66;3064:3;3054:13;;3099:42;3137:2;3133;3129:11;3099:42;:::i;:::-;3094:2;3087:5;3083:14;3076:66;3161:3;3151:13;;3196:42;3234:2;3230;3226:11;3196:42;:::i;:::-;3191:2;3184:5;3180:14;3173:66;3258:3;3248:13;;3293:42;3331:2;3327;3323:11;3293:42;:::i;:::-;3277:14;;;3270:66;;;;3281:5;1707:1659;-1:-1:-1;;;;1707:1659:27:o;3371:380::-;3450:1;3446:12;;;;3493;;;3514:61;;3568:4;3560:6;3556:17;3546:27;;3514:61;3621:2;3613:6;3610:14;3590:18;3587:38;3584:161;;3667:10;3662:3;3658:20;3655:1;3648:31;3702:4;3699:1;3692:15;3730:4;3727:1;3720:15;3584:161;;3371:380;;;:::o;3882:518::-;3984:2;3979:3;3976:11;3973:421;;;4020:5;4017:1;4010:16;4064:4;4061:1;4051:18;4134:2;4122:10;4118:19;4115:1;4111:27;4105:4;4101:38;4170:4;4158:10;4155:20;4152:47;;;-1:-1:-1;4193:4:27;4152:47;4248:2;4243:3;4239:12;4236:1;4232:20;4226:4;4222:31;4212:41;;4303:81;4321:2;4314:5;4311:13;4303:81;;;4380:1;4366:16;;4347:1;4336:13;4303:81;;;4307:3;;3882:518;;;:::o;4576:1345::-;4696:10;;-1:-1:-1;;;;;4718:30:27;;4715:56;;;4751:18;;:::i;:::-;4780:97;4870:6;4830:38;4862:4;4856:11;4830:38;:::i;:::-;4824:4;4780:97;:::i;:::-;4932:4;;4989:2;4978:14;;5006:1;5001:663;;;;5708:1;5725:6;5722:89;;;-1:-1:-1;5777:19:27;;;5771:26;5722:89;-1:-1:-1;;4533:1:27;4529:11;;;4525:24;4521:29;4511:40;4557:1;4553:11;;;4508:57;5824:81;;4971:944;;5001:663;3829:1;3822:14;;;3866:4;3853:18;;-1:-1:-1;;5037:20:27;;;5155:236;5169:7;5166:1;5163:14;5155:236;;;5258:19;;;5252:26;5237:42;;5350:27;;;;5318:1;5306:14;;;;5185:19;;5155:236;;;5159:3;5419:6;5410:7;5407:19;5404:201;;;5480:19;;;5474:26;-1:-1:-1;;5563:1:27;5559:14;;;5575:3;5555:24;5551:37;5547:42;5532:58;5517:74;;5404:201;;;5651:1;5642:6;5639:1;5635:14;5631:22;5625:4;5618:36;4971:944;;;;;4576:1345;;:::o;8814:396::-;8963:2;8952:9;8945:21;8926:4;8995:6;8989:13;9038:6;9033:2;9022:9;9018:18;9011:34;9054:79;9126:6;9121:2;9110:9;9106:18;9101:2;9093:6;9089:15;9054:79;:::i;:::-;9194:2;9173:15;-1:-1:-1;;9169:29:27;9154:45;;;;9201:2;9150:54;;8814:396;-1:-1:-1;;8814:396:27:o;9215:297::-;9333:12;;9380:4;9369:16;;;9363:23;;9333:12;9398:16;;9395:111;;;-1:-1:-1;;9472:4:27;9468:17;;;;9465:1;9461:25;9457:38;9446:50;;9215:297;-1:-1:-1;9215:297:27:o;9517:127::-;9578:10;9573:3;9569:20;9566:1;9559:31;9609:4;9606:1;9599:15;9633:4;9630:1;9623:15;9649:168;9722:9;;;9753;;9770:15;;;9764:22;;9750:37;9740:71;;9791:18;;:::i;9822:217::-;9862:1;9888;9878:132;;9932:10;9927:3;9923:20;9920:1;9913:31;9967:4;9964:1;9957:15;9995:4;9992:1;9985:15;9878:132;-1:-1:-1;10024:9:27;;9822:217::o;10044:128::-;10111:9;;;10132:11;;;10129:37;;;10146:18;;:::i;10177:125::-;10242:9;;;10263:10;;;10260:36;;;10276:18;;:::i;10657:177::-;6493:13061:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"608060405260043610610138575f3560e01c80637ecebe00116100aa578063a457c2d71161006e578063a457c2d714610400578063a9059cbb1461041f578063d505accf1461043e578063dd62ed3e1461045d578063f0fcce631461047c578063f2fde38b14610490576101bc565b80637ecebe001461037557806384b0196e146103945780638da5cb5b146103bb57806395d89b41146103d857806398e0ad11146103ec576101bc565b80633644e515116100fc5780633644e515146102b057806339509351146102c4578063499c695c146102e3578063665a11ca146102f657806370a082311461032d578063715018a614610361576101bc565b806306fdde03146101f9578063095ea7b31461022357806318160ddd1461025257806323b872dd14610270578063313ce5671461028f576101bc565b366101bc57336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146101ba5760405162461bcd60e51b815260206004820152601960248201527f4f6e6c7920616363657074204554482066726f6d20574554480000000000000060448201526064015b60405180910390fd5b005b60405162461bcd60e51b8152602060048201526012602482015271119d5b98dd1a5bdb881b9bdd08199bdd5b9960721b60448201526064016101b1565b348015610204575f80fd5b5061020d6104af565b60405161021a9190611f5f565b60405180910390f35b34801561022e575f80fd5b5061024261023d366004611f85565b61053f565b604051901515815260200161021a565b34801561025d575f80fd5b506002545b60405190815260200161021a565b34801561027b575f80fd5b5061024261028a366004611faf565b6105b3565b34801561029a575f80fd5b5060125b60405160ff909116815260200161021a565b3480156102bb575f80fd5b506102626105d6565b3480156102cf575f80fd5b506102426102de366004611f85565b6105e4565b6101ba6102f1366004611fed565b61064f565b348015610301575f80fd5b50600e54610315906001600160a01b031681565b6040516001600160a01b03909116815260200161021a565b348015610338575f80fd5b50610262610347366004612021565b6001600160a01b03165f9081526020819052604090205490565b34801561036c575f80fd5b506101ba610e14565b348015610380575f80fd5b5061026261038f366004612021565b610e26565b34801561039f575f80fd5b506103a8610e43565b60405161021a9796959493929190612043565b3480156103c6575f80fd5b506008546001600160a01b0316610315565b3480156103e3575f80fd5b5061020d610e85565b3480156103f7575f80fd5b506101ba610e94565b34801561040b575f80fd5b5061024261041a366004611f85565b61114d565b34801561042a575f80fd5b50610242610439366004611f85565b6111c9565b348015610449575f80fd5b506101ba6104583660046120da565b6111d6565b348015610468575f80fd5b5061026261047736600461214b565b61130c565b348015610487575f80fd5b5061029e611336565b34801561049b575f80fd5b506101ba6104aa366004612021565b6114e1565b6060600380546104be90612177565b80601f01602080910402602001604051908101604052809291908181526020018280546104ea90612177565b80156105355780601f1061050c57610100808354040283529160200191610535565b820191905f5260205f20905b81548152906001019060200180831161051857829003601f168201915b5050505050905090565b5f8115806105545750610552338461130c565b155b6105a05760405162461bcd60e51b815260206004820152601760248201527f556e7361666520616c6c6f77616e6365206368616e676500000000000000000060448201526064016101b1565b6105aa838361151e565b90505b92915050565b5f336105c085828561152b565b6105cb85858561158f565b506001949350505050565b5f6105df6115f1565b905090565b5f806105f0338561130c565b90505f6105fd84836121c3565b9050818110156106445760405162461bcd60e51b8152602060048201526012602482015271416c6c6f77616e6365206f766572666c6f7760701b60448201526064016101b1565b6105cb33868361171a565b610657611727565b81341461069d5760405162461bcd60e51b8152602060048201526014602482015273125b98dbdc9c9958dd0811551208185b5bdd5b9d60621b60448201526064016101b1565b600e546001600160a01b0316156106f65760405162461bcd60e51b815260206004820152601e60248201527f4c697175696469747920706f6f6c20616c72656164792063726561746564000060448201526064016101b1565b5f821161073e5760405162461bcd60e51b8152602060048201526016602482015275045544820616d6f756e74206d757374206265203e20360541b60448201526064016101b1565b5f8161ffff1611801561075757506103e88161ffff1611155b6107a35760405162461bcd60e51b815260206004820152601960248201527f496e76616c696420736c6970706167652028312d31303030290000000000000060448201526064016101b1565b305f90815260208190526040902054806107f55760405162461bcd60e51b81526020600482015260136024820152724e6f20746f6b656e7320617661696c61626c6560681b60448201526064016101b1565b5f61271061080384826121d6565b6108119061ffff16846121f8565b61081b919061220f565b90505f61271061082b85826121d6565b6108399061ffff16876121f8565b610843919061220f565b9050610870307f00000000000000000000000000000000000000000000000000000000000000008561171a565b6040516379bc57d560e01b81523060048201526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660248301525f60448301819052917f0000000000000000000000000000000000000000000000000000000000000000909116906379bc57d590606401602060405180830381865afa158015610905573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610929919061222e565b90506001600160a01b038116610a3e576040516301b5fcad60e51b81523060048201526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660248301525f60448301527f000000000000000000000000000000000000000000000000000000000000000016906336bf95a0906064016020604051808303815f875af11580156109ca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109ee919061222e565b90506001600160a01b038116610a3e5760405162461bcd60e51b815260206004820152601560248201527411985a5b1959081d1bc818dc99585d19481c1bdbdb605a1b60448201526064016101b1565b80600e5f6101000a8154816001600160a01b0302191690836001600160a01b031602179055507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0876040518263ffffffff1660e01b81526004015f604051808303818588803b158015610abd575f80fd5b505af1158015610acf573d5f803e3d5ffd5b505060405163095ea7b360e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081166004830152602482018b90527f000000000000000000000000000000000000000000000000000000000000000016935063095ea7b3925060440190506020604051808303815f875af1158015610b61573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b859190612249565b505f806001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016635a47ddc3307f0000000000000000000000000000000000000000000000000000000000000000848a8d8b8b86610beb42610e106121c3565b60405160e08b901b6001600160e01b03191681526001600160a01b03998a166004820152978916602489015295151560448801526064870194909452608486019290925260a485015260c484015290921660e4820152610104810191909152610124016060604051808303815f875af1158015610c6a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c8e9190612268565b5091509150848210158015610ca35750838110155b610ce35760405162461bcd60e51b815260206004820152601160248201527014db1a5c1c1859d948195e18d959591959607a1b60448201526064016101b1565b600e546040516370a0823160e01b81523060048201525f916001600160a01b0316906370a0823190602401602060405180830381865afa158015610d29573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4d9190612293565b90505f8111610d955760405162461bcd60e51b8152602060048201526014602482015273139bc81314081d1bdad95b9cc81d1bc81cd95b9960621b60448201526064016101b1565b600e54610dcc906001600160a01b03167f000000000000000000000000000000000000000000000000000000000000000083611751565b6040518181527f599e3c1445f5d3f97307a24763cc7d200c7c523b685562a5df07759410a411ec9060200160405180910390a150505050505050610e106001600955565b5050565b610e1c6117a3565b610e246117d0565b565b6001600160a01b0381165f908152600760205260408120546105ad565b5f6060805f805f6060610e546117e1565b610e5c61180e565b604080515f80825260208201909252600f60f81b9b939a50919850469750309650945092509050565b6060600480546104be90612177565b610e9c6117a3565b610ea4611727565b600e546001600160a01b0316610eef5760405162461bcd60e51b815260206004820152601060248201526f141bdbdb081b9bdd0818dc99585d195960821b60448201526064016101b1565b600e546040516370a0823160e01b81523060048201525f916001600160a01b0316906370a0823190602401602060405180830381865afa158015610f35573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f599190612293565b90505f8111610f9e5760405162461bcd60e51b8152602060048201526011602482015270139bc81314081d1bdad95b9cc81a195b19607a1b60448201526064016101b1565b600e546040805163d294f09360e01b815281516001600160a01b0390931692839263d294f093926004808201939182900301815f875af1158015610fe4573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061100891906122aa565b50506040516370a0823160e01b81523060048201525f907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa15801561106e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110929190612293565b905080156110ee576110ee6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f000000000000000000000000000000000000000000000000000000000000000083611751565b305f908152602081905260409020548381111561113f575f61111085836122cc565b905061113d307f00000000000000000000000000000000000000000000000000000000000000008361158f565b505b50505050610e246001600955565b5f80611159338561130c565b9050808311156111ab5760405162461bcd60e51b815260206004820152601e60248201527f44656372656173656420616c6c6f77616e63652062656c6f77207a65726f000060448201526064016101b1565b6111bf33856111ba86856122cc565b61171a565b5060019392505050565b5f336111bf81858561158f565b834211156111fa5760405163313c898160e11b8152600481018590526024016101b1565b5f7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886112458c6001600160a01b03165f90815260076020526040902080546001810190915590565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090505f61129f8261183b565b90505f6112ae82878787611867565b9050896001600160a01b0316816001600160a01b0316146112f5576040516325c0072360e11b81526001600160a01b0380831660048301528b1660248201526044016101b1565b6113008a8a8a61171a565b50505050505050505050565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b600e545f90600160a01b900460ff161561134f57505f90565b6113997f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006121c3565b4310156113c557507f000000000000000000000000000000000000000000000000000000000000000090565b5f6114107f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006121c3565b61141a90436122cc565b90505f6114477f00000000000000000000000000000000000000000000000000000000000000008361220f565b90505f61147760ff7f000000000000000000000000000000000000000000000000000000000000000016836121f8565b90507f000000000000000000000000000000000000000000000000000000000000000060ff1681106114ac575f935050505090565b6114d98160ff7f0000000000000000000000000000000000000000000000000000000000000000166122cc565b935050505090565b6114e96117a3565b6001600160a01b03811661151257604051631e4fbdf760e01b81525f60048201526024016101b1565b61151b81611893565b50565b5f336111bf81858561171a565b5f611536848461130c565b90505f19811015611589578181101561157b57604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016101b1565b61158984848484035f6118e4565b50505050565b6001600160a01b0383166115b857604051634b637e8f60e11b81525f60048201526024016101b1565b6001600160a01b0382166115e15760405163ec442f0560e01b81525f60048201526024016101b1565b6115ec8383836119b6565b505050565b5f306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561164957507f000000000000000000000000000000000000000000000000000000000000000046145b1561167357507f000000000000000000000000000000000000000000000000000000000000000090565b6105df604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a08201525f9060c00160405160208183030381529060405280519060200120905090565b6115ec83838360016118e4565b60026009540361174a57604051633ee5aeb560e01b815260040160405180910390fd5b6002600955565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526115ec908490611a99565b6008546001600160a01b03163314610e245760405163118cdaa760e01b81523360048201526024016101b1565b6117d86117a3565b610e245f611893565b60606105df7f00000000000000000000000000000000000000000000000000000000000000006005611b05565b60606105df7f00000000000000000000000000000000000000000000000000000000000000006006611b05565b5f6105ad6118476115f1565b8360405161190160f01b8152600281019290925260228201526042902090565b5f805f8061187788888888611bae565b9250925092506118878282611c76565b50909695505050505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b03841661190d5760405163e602df0560e01b81525f60048201526024016101b1565b6001600160a01b03831661193657604051634a1406b160e11b81525f60048201526024016101b1565b6001600160a01b038085165f908152600160209081526040808320938716835292905220829055801561158957826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516119a891815260200190565b60405180910390a350505050565b6001600160a01b03831615806119d357506001600160a01b038216155b156119e3576115ec838383611d2e565b6119eb611e54565b5f6119f4611336565b60ff1690505f81118015611a1157506001600160a01b0384163014155b8015611a2657506001600160a01b0383163014155b15611a8e575f6064611a3883856121f8565b611a42919061220f565b90505f611a4f82856122cc565b9050611a7c867f000000000000000000000000000000000000000000000000000000000000000084611d2e565b611a87868683611d2e565b5050611589565b611589848484611d2e565b5f8060205f8451602086015f885af180611ab8576040513d5f823e3d81fd5b50505f513d91508115611acf578060011415611adc565b6001600160a01b0384163b155b1561158957604051635274afe760e01b81526001600160a01b03851660048201526024016101b1565b606060ff8314611b1f57611b1883611eb8565b90506105ad565b818054611b2b90612177565b80601f0160208091040260200160405190810160405280929190818152602001828054611b5790612177565b8015611ba25780601f10611b7957610100808354040283529160200191611ba2565b820191905f5260205f20905b815481529060010190602001808311611b8557829003601f168201915b505050505090506105ad565b5f80807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0841115611be757505f91506003905082611c6c565b604080515f808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa158015611c38573d5f803e3d5ffd5b5050604051601f1901519150506001600160a01b038116611c6357505f925060019150829050611c6c565b92505f91508190505b9450945094915050565b5f826003811115611c8957611c896122df565b03611c92575050565b6001826003811115611ca657611ca66122df565b03611cc45760405163f645eedf60e01b815260040160405180910390fd5b6002826003811115611cd857611cd86122df565b03611cf95760405163fce698f760e01b8152600481018290526024016101b1565b6003826003811115611d0d57611d0d6122df565b03610e10576040516335e2f38360e21b8152600481018290526024016101b1565b6001600160a01b038316611d58578060025f828254611d4d91906121c3565b90915550611dc89050565b6001600160a01b0383165f9081526020819052604090205481811015611daa5760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016101b1565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216611de457600280548290039055611e02565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611e4791815260200190565b60405180910390a3505050565b600e54600160a01b900460ff16158015611e765750611e71611336565b60ff16155b15610e2457600e805460ff60a01b1916600160a01b1790556040517f6112e881046eeed04237d499dbf611392304cd4a8f1c851834c8777aee228f5d905f90a1565b60605f611ec483611ef5565b6040805160208082528183019092529192505f91906020820181803683375050509182525060208101929092525090565b5f60ff8216601f8111156105ad57604051632cd44ac360e21b815260040160405180910390fd5b5f81518084525f5b81811015611f4057602081850181015186830182015201611f24565b505f602082860101526020601f19601f83011685010191505092915050565b602081525f6105aa6020830184611f1c565b6001600160a01b038116811461151b575f80fd5b5f8060408385031215611f96575f80fd5b8235611fa181611f71565b946020939093013593505050565b5f805f60608486031215611fc1575f80fd5b8335611fcc81611f71565b92506020840135611fdc81611f71565b929592945050506040919091013590565b5f8060408385031215611ffe575f80fd5b82359150602083013561ffff81168114612016575f80fd5b809150509250929050565b5f60208284031215612031575f80fd5b813561203c81611f71565b9392505050565b60ff60f81b881681525f602060e0602084015261206360e084018a611f1c565b8381036040850152612075818a611f1c565b606085018990526001600160a01b038816608086015260a0850187905284810360c0860152855180825260208088019350909101905f5b818110156120c8578351835292840192918401916001016120ac565b50909c9b505050505050505050505050565b5f805f805f805f60e0888a0312156120f0575f80fd5b87356120fb81611f71565b9650602088013561210b81611f71565b95506040880135945060608801359350608088013560ff8116811461212e575f80fd5b9699959850939692959460a0840135945060c09093013592915050565b5f806040838503121561215c575f80fd5b823561216781611f71565b9150602083013561201681611f71565b600181811c9082168061218b57607f821691505b6020821081036121a957634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b808201808211156105ad576105ad6121af565b61ffff8281168282160390808211156121f1576121f16121af565b5092915050565b80820281158282048414176105ad576105ad6121af565b5f8261222957634e487b7160e01b5f52601260045260245ffd5b500490565b5f6020828403121561223e575f80fd5b815161203c81611f71565b5f60208284031215612259575f80fd5b8151801515811461203c575f80fd5b5f805f6060848603121561227a575f80fd5b8351925060208401519150604084015190509250925092565b5f602082840312156122a3575f80fd5b5051919050565b5f80604083850312156122bb575f80fd5b505080516020909101519092909150565b818103818111156105ad576105ad6121af565b634e487b7160e01b5f52602160045260245ffdfea2646970667358221220e8df4d55ae5ab7b020d2bcb05e3bb7ebef53f233e1684d93d7277ac3201c69a864736f6c63430008170033","sourceMap":"6493:13061:26:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18181:10;-1:-1:-1;;;;;18195:5:26;18181:19;;18173:57;;;;-1:-1:-1;;;18173:57:26;;216:2:27;18173:57:26;;;198:21:27;255:2;235:18;;;228:30;294:27;274:18;;;267:55;339:18;;18173:57:26;;;;;;;;;6493:13061;;18393:28;;-1:-1:-1;;;18393:28:26;;570:2:27;18393:28:26;;;552:21:27;609:2;589:18;;;582:30;-1:-1:-1;;;628:18:27;;;621:48;686:18;;18393:28:26;368:342:27;1779:89:6;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;14647:231:26;;;;;;;;;;-1:-1:-1;14647:231:26;;;;;:::i;:::-;;:::i;:::-;;;1989:14:27;;1982:22;1964:41;;1952:2;1937:18;14647:231:26;1824:187:27;2849:97:6;;;;;;;;;;-1:-1:-1;2927:12:6;;2849:97;;;2162:25:27;;;2150:2;2135:18;2849:97:6;2016:177:27;4776:244:6;;;;;;;;;;-1:-1:-1;4776:244:6;;;;;:::i;:::-;;:::i;2707:82::-;;;;;;;;;;-1:-1:-1;2780:2:6;2707:82;;;2831:4:27;2819:17;;;2801:36;;2789:2;2774:18;2707:82:6;2659:184:27;:112:8;;;;;;;;;;;;;:::i;15187:369:26:-;;;;;;;;;;-1:-1:-1;15187:369:26;;;;;:::i;:::-;;:::i;10962:2337::-;;;;;;:::i;:::-;;:::i;7130:28::-;;;;;;;;;;-1:-1:-1;7130:28:26;;;;-1:-1:-1;;;;;7130:28:26;;;;;;-1:-1:-1;;;;;3539:32:27;;;3521:51;;3509:2;3494:18;7130:28:26;3375:203:27;3004:116:6;;;;;;;;;;-1:-1:-1;3004:116:6;;;;;:::i;:::-;-1:-1:-1;;;;;3095:18:6;3069:7;3095:18;;;;;;;;;;;;3004:116;17937:97:26;;;;;;;;;;;;;:::i;2409:143:8:-;;;;;;;;;;-1:-1:-1;2409:143:8;;;;;:::i;:::-;;:::i;5243:557:20:-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;1638:85:0:-;;;;;;;;;;-1:-1:-1;1710:6:0;;-1:-1:-1;;;;;1710:6:0;1638:85;;1981:93:6;;;;;;;;;;;;;:::i;18571:981:26:-;;;;;;;;;;;;;:::i;15883:349::-;;;;;;;;;;-1:-1:-1;15883:349:26;;;;;:::i;:::-;;:::i;3315:178:6:-;;;;;;;;;;-1:-1:-1;3315:178:6;;;;;:::i;:::-;;:::i;1683:672:8:-;;;;;;;;;;-1:-1:-1;1683:672:8;;;;;:::i;:::-;;:::i;3551:140:6:-;;;;;;;;;;-1:-1:-1;3551:140:6;;;;;:::i;:::-;;:::i;16911:847:26:-;;;;;;;;;;;;;:::i;2543:215:0:-;;;;;;;;;;-1:-1:-1;2543:215:0;;;;;:::i;:::-;;:::i;1779:89:6:-;1824:13;1856:5;1849:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1779:89;:::o;14647:231:26:-;14722:4;14746:11;;;:50;;;14761:30;14771:10;14783:7;14761:9;:30::i;:::-;:35;14746:50;14738:86;;;;-1:-1:-1;;;14738:86:26;;6913:2:27;14738:86:26;;;6895:21:27;6952:2;6932:18;;;6925:30;6991:25;6971:18;;;6964:53;7034:18;;14738:86:26;6711:347:27;14738:86:26;14841:30;14855:7;14864:6;14841:13;:30::i;:::-;14834:37;;14647:231;;;;;:::o;4776:244:6:-;4863:4;735:10:12;4919:37:6;4935:4;735:10:12;4950:5:6;4919:15;:37::i;:::-;4966:26;4976:4;4982:2;4986:5;4966:9;:26::i;:::-;-1:-1:-1;5009:4:6;;4776:244;-1:-1:-1;;;;4776:244:6:o;2659:112:8:-;2718:7;2744:20;:18;:20::i;:::-;2737:27;;2659:112;:::o;15187:369:26:-;15267:4;15283:24;15310:30;15320:10;15332:7;15310:9;:30::i;:::-;15283:57;-1:-1:-1;15350:20:26;15373:29;15392:10;15283:57;15373:29;:::i;:::-;15350:52;;15436:16;15420:12;:32;;15412:63;;;;-1:-1:-1;;;15412:63:26;;7527:2:27;15412:63:26;;;7509:21:27;7566:2;7546:18;;;7539:30;-1:-1:-1;;;7585:18:27;;;7578:48;7643:18;;15412:63:26;7325:342:27;15412:63:26;15485:43;15494:10;15506:7;15515:12;15485:8;:43::i;10962:2337::-;2500:21:15;:19;:21::i;:::-;11109:9:26::1;11096;:22;11088:55;;;::::0;-1:-1:-1;;;11088:55:26;;7874:2:27;11088:55:26::1;::::0;::::1;7856:21:27::0;7913:2;7893:18;;;7886:30;-1:-1:-1;;;7932:18:27;;;7925:50;7992:18;;11088:55:26::1;7672:344:27::0;11088:55:26::1;11161:13;::::0;-1:-1:-1;;;;;11161:13:26::1;:27:::0;11153:70:::1;;;::::0;-1:-1:-1;;;11153:70:26;;8223:2:27;11153:70:26::1;::::0;::::1;8205:21:27::0;8262:2;8242:18;;;8235:30;8301:32;8281:18;;;8274:60;8351:18;;11153:70:26::1;8021:354:27::0;11153:70:26::1;11253:1;11241:9;:13;11233:48;;;::::0;-1:-1:-1;;;11233:48:26;;8582:2:27;11233:48:26::1;::::0;::::1;8564:21:27::0;8621:2;8601:18;;;8594:30;-1:-1:-1;;;8640:18:27;;;8633:52;8702:18;;11233:48:26::1;8380:346:27::0;11233:48:26::1;11313:1;11299:11;:15;;;:38;;;;;11333:4;11318:11;:19;;;;11299:38;11291:76;;;::::0;-1:-1:-1;;;11291:76:26;;8933:2:27;11291:76:26::1;::::0;::::1;8915:21:27::0;8972:2;8952:18;;;8945:30;9011:27;8991:18;;;8984:55;9056:18;;11291:76:26::1;8731:349:27::0;11291:76:26::1;11454:4;11414:19;3095:18:6::0;;;;;;;;;;;11478:15:26;11470:47:::1;;;::::0;-1:-1:-1;;;11470:47:26;;9287:2:27;11470:47:26::1;::::0;::::1;9269:21:27::0;9326:2;9306:18;;;9299:30;-1:-1:-1;;;9345:18:27;;;9338:49;9404:18;;11470:47:26::1;9085:343:27::0;11470:47:26::1;11593:22;11656:5;11633:19;11641:11:::0;11656:5;11633:19:::1;:::i;:::-;11618:35;::::0;::::1;;:11:::0;:35:::1;:::i;:::-;:43;;;;:::i;:::-;11593:68:::0;-1:-1:-1;11671:20:26::1;11730:5;11707:19;11715:11:::0;11730:5;11707:19:::1;:::i;:::-;11694:33;::::0;::::1;;:9:::0;:33:::1;:::i;:::-;:41;;;;:::i;:::-;11671:64;;11812:45;11829:4;11836:7;11845:11;11812:8;:45::i;:::-;11983:74;::::0;-1:-1:-1;;;11983:74:26;;12037:4:::1;11983:74;::::0;::::1;10238:34:27::0;-1:-1:-1;;;;;12044:5:26::1;10308:15:27::0;;10288:18;;;10281:43;-1:-1:-1;10340:18:27;;;10333:50;;;-1:-1:-1;12001:18:26::1;11983:45:::0;;::::1;::::0;::::1;::::0;10173:18:27;;11983:74:26::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;11961:96:::0;-1:-1:-1;;;;;;12071:25:26;::::1;12067:220;;12126:77;::::0;-1:-1:-1;;;12126:77:26;;12183:4:::1;12126:77;::::0;::::1;10238:34:27::0;-1:-1:-1;;;;;12190:5:26::1;10308:15:27::0;;10288:18;;;10281:43;-1:-1:-1;10340:18:27;;;10333:50;12144:18:26::1;12126:48;::::0;::::1;::::0;10173:18:27;;12126:77:26::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;12112:91:::0;-1:-1:-1;;;;;;12225:25:26;::::1;12217:59;;;::::0;-1:-1:-1;;;12217:59:26;;10852:2:27;12217:59:26::1;::::0;::::1;10834:21:27::0;10891:2;10871:18;;;10864:30;-1:-1:-1;;;10910:18:27;;;10903:51;10971:18;;12217:59:26::1;10650:345:27::0;12217:59:26::1;12337:11;12321:13;;:27;;;;;-1:-1:-1::0;;;;;12321:27:26::1;;;;;-1:-1:-1::0;;;;;12321:27:26::1;;;;;;12402:5;-1:-1:-1::0;;;;;12396:20:26::1;;12425:9;12396:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;12448:40:26::1;::::0;-1:-1:-1;;;12448:40:26;;-1:-1:-1;;;;;12469:7:26::1;11192:32:27::0;;12448:40:26::1;::::0;::::1;11174:51:27::0;11241:18;;;11234:34;;;12454:5:26::1;12448:20;::::0;-1:-1:-1;12448:20:26::1;::::0;-1:-1:-1;11147:18:27;;;-1:-1:-1;12448:40:26::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;12550:23:26::1;::::0;-1:-1:-1;;;;;12612:7:26::1;12601:32;;12655:4;12674:5;12550:23:::0;12726:11;12751:9;12774:14;12802:12;12655:4;12855:25:::1;:15;12873:7;12855:25;:::i;:::-;12601:289;::::0;::::1;::::0;;;-1:-1:-1;;;;;;12601:289:26;;;-1:-1:-1;;;;;11982:15:27;;;12601:289:26::1;::::0;::::1;11964:34:27::0;12034:15;;;12014:18;;;12007:43;12093:14;;12086:22;12066:18;;;12059:50;12125:18;;;12118:34;;;;12168:19;;;12161:35;;;;12212:19;;;12205:35;12256:19;;;12249:35;12321:15;;;12300:19;;;12293:44;12353:19;;;12346:35;;;;11898:19;;12601:289:26::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;12549:341;;;;;12928:14;12909:15;:33;;:66;;;;;12963:12;12946:13;:29;;12909:66;12901:96;;;::::0;-1:-1:-1;;;12901:96:26;;12905:2:27;12901:96:26::1;::::0;::::1;12887:21:27::0;12944:2;12924:18;;;12917:30;-1:-1:-1;;;12963:18:27;;;12956:47;13020:18;;12901:96:26::1;12703:341:27::0;12901:96:26::1;13086:13;::::0;13079:46:::1;::::0;-1:-1:-1;;;13079:46:26;;13119:4:::1;13079:46;::::0;::::1;3521:51:27::0;13059:17:26::1;::::0;-1:-1:-1;;;;;13086:13:26::1;::::0;13079:31:::1;::::0;3494:18:27;;13079:46:26::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;13059:66;;13155:1;13143:9;:13;13135:46;;;::::0;-1:-1:-1;;;13135:46:26;;13440:2:27;13135:46:26::1;::::0;::::1;13422:21:27::0;13479:2;13459:18;;;13452:30;-1:-1:-1;;;13498:18:27;;;13491:50;13558:18;;13135:46:26::1;13238:344:27::0;13135:46:26::1;13198:13;::::0;13191:60:::1;::::0;-1:-1:-1;;;;;13198:13:26::1;13226;13241:9:::0;13191:34:::1;:60::i;:::-;13266:25;::::0;2162::27;;;13266::26::1;::::0;2150:2:27;2135:18;13266:25:26::1;;;;;;;11060:2239;;;;;;;2542:20:15::0;1857:1;3068:7;:21;2888:208;2542:20;10962:2337:26;;:::o;17937:97::-;1531:13:0;:11;:13::i;:::-;18002:25:26::1;:23;:25::i;:::-;17937:97::o:0;2409:143:8:-;-1:-1:-1;;;;;624:14:13;;2500:7:8;624:14:13;;;:7;:14;;;;;;2526:19:8;538:107:13;5243:557:20;5341:13;5368:18;5400:21;5435:15;5464:25;5503:12;5529:27;5632:13;:11;:13::i;:::-;5659:16;:14;:16::i;:::-;5767;;;5751:1;5767:16;;;;;;;;;-1:-1:-1;;;5581:212:20;;;-1:-1:-1;5581:212:20;;-1:-1:-1;5689:13:20;;-1:-1:-1;5724:4:20;;-1:-1:-1;5751:1:20;-1:-1:-1;5767:16:20;-1:-1:-1;5581:212:20;-1:-1:-1;5243:557:20:o;1981:93:6:-;2028:13;2060:7;2053:14;;;;;:::i;18571:981:26:-;1531:13:0;:11;:13::i;:::-;2500:21:15::1;:19;:21::i;:::-;18646:13:26::2;::::0;-1:-1:-1;;;;;18646:13:26::2;18638:56;;;::::0;-1:-1:-1;;;18638:56:26;;13921:2:27;18638:56:26::2;::::0;::::2;13903:21:27::0;13960:2;13940:18;;;13933:30;-1:-1:-1;;;13979:18:27;;;13972:46;14035:18;;18638:56:26::2;13719:340:27::0;18638:56:26::2;18772:13;::::0;18765:46:::2;::::0;-1:-1:-1;;;18765:46:26;;18805:4:::2;18765:46;::::0;::::2;3521:51:27::0;18745:17:26::2;::::0;-1:-1:-1;;;;;18772:13:26::2;::::0;18765:31:::2;::::0;3494:18:27;;18765:46:26::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;18745:66;;18841:1;18829:9;:13;18821:43;;;::::0;-1:-1:-1;;;18821:43:26;;14266:2:27;18821:43:26::2;::::0;::::2;14248:21:27::0;14305:2;14285:18;;;14278:30;-1:-1:-1;;;14324:18:27;;;14317:47;14381:18;;18821:43:26::2;14064:341:27::0;18821:43:26::2;18946:13;::::0;19001:16:::2;::::0;;-1:-1:-1;;;19001:16:26;;;;-1:-1:-1;;;;;18946:13:26;;::::2;::::0;;;19001:14:::2;::::0;:16:::2;::::0;;::::2;::::0;;;;;;;18909:19:::2;18946:13:::0;19001:16:::2;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;19105:38:26::2;::::0;-1:-1:-1;;;19105:38:26;;19137:4:::2;19105:38;::::0;::::2;3521:51:27::0;19083:19:26::2;::::0;19112:5:::2;-1:-1:-1::0;;;;;19105:23:26::2;::::0;::::2;::::0;3494:18:27;;19105:38:26::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;19083:60:::0;-1:-1:-1;19157:15:26;;19153:100:::2;;19188:54;-1:-1:-1::0;;;;;19195:5:26::2;19188:26;19215:13;19230:11:::0;19188:26:::2;:54::i;:::-;19361:4;19320:20;3095:18:6::0;;;;;;;;;;;19381:24:26;;::::2;19377:169;;;19421:20;19444:24;19459:9:::0;19444:12;:24:::2;:::i;:::-;19421:47;;19482:53;19500:4;19507:13;19522:12;19482:9;:53::i;:::-;19407:139;19377:169;18628:924;;;;2542:20:15::1;1857:1:::0;3068:7;:21;2888:208;15883:349:26;15968:4;15984:24;16011:30;16021:10;16033:7;16011:9;:30::i;:::-;15984:57;;16078:16;16059:15;:35;;16051:78;;;;-1:-1:-1;;;16051:78:26;;14995:2:27;16051:78:26;;;14977:21:27;15034:2;15014:18;;;15007:30;15073:32;15053:18;;;15046:60;15123:18;;16051:78:26;14793:354:27;16051:78:26;16139:65;16148:10;16160:7;16169:34;16188:15;16169:16;:34;:::i;:::-;16139:8;:65::i;:::-;-1:-1:-1;16221:4:26;;15883:349;-1:-1:-1;;;15883:349:26:o;3315:178:6:-;3384:4;735:10:12;3438:27:6;735:10:12;3455:2:6;3459:5;3438:9;:27::i;1683:672:8:-;1904:8;1886:15;:26;1882:97;;;1935:33;;-1:-1:-1;;;1935:33:8;;;;;2162:25:27;;;2135:18;;1935:33:8;2016:177:27;1882:97:8;1989:18;1024:95;2048:5;2055:7;2064:5;2071:16;2081:5;-1:-1:-1;;;;;1121:14:13;819:7;1121:14;;;:7;:14;;;;;:16;;;;;;;;;759:395;2071:16:8;2020:78;;;;;;15439:25:27;;;;-1:-1:-1;;;;;15538:15:27;;;15518:18;;;15511:43;15590:15;;;;15570:18;;;15563:43;15622:18;;;15615:34;15665:19;;;15658:35;15709:19;;;15702:35;;;15411:19;;2020:78:8;;;;;;;;;;;;2010:89;;;;;;1989:110;;2110:12;2125:28;2142:10;2125:16;:28::i;:::-;2110:43;;2164:14;2181:28;2195:4;2201:1;2204;2207;2181:13;:28::i;:::-;2164:45;;2233:5;-1:-1:-1;;;;;2223:15:8;:6;-1:-1:-1;;;;;2223:15:8;;2219:88;;2261:35;;-1:-1:-1;;;2261:35:8;;-1:-1:-1;;;;;15978:15:27;;;2261:35:8;;;15960:34:27;16030:15;;16010:18;;;16003:43;15895:18;;2261:35:8;15748:304:27;2219:88:8;2317:31;2326:5;2333:7;2342:5;2317:8;:31::i;:::-;1872:483;;;1683:672;;;;;;;:::o;3551:140:6:-;-1:-1:-1;;;;;3657:18:6;;;3631:7;3657:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;3551:140::o;16911:847:26:-;16978:21;;16957:5;;-1:-1:-1;;;16978:21:26;;;;16974:60;;;-1:-1:-1;17022:1:26;;16911:847::o;16974:60::-;17116:38;17135:19;17116:16;:38;:::i;:::-;17101:12;:53;17097:102;;;-1:-1:-1;17177:11:26;;16911:847::o;17097:102::-;17264:34;17317:38;17336:19;17317:16;:38;:::i;:::-;17301:55;;:12;:55;:::i;:::-;17264:92;-1:-1:-1;17436:18:26;17457:50;17486:21;17264:92;17457:50;:::i;:::-;17436:71;-1:-1:-1;17564:20:26;17587:30;;17600:17;17587:30;17436:71;17587:30;:::i;:::-;17564:53;;17647:11;17631:27;;:12;:27;17627:66;;17681:1;17674:8;;;;;16911:847;:::o;17627:66::-;17724:26;17738:12;17724:26;:11;:26;;:::i;:::-;17711:40;;;;;16911:847;:::o;2543:215:0:-;1531:13;:11;:13::i;:::-;-1:-1:-1;;;;;2627:22:0;::::1;2623:91;;2672:31;::::0;-1:-1:-1;;;2672:31:0;;2700:1:::1;2672:31;::::0;::::1;3521:51:27::0;3494:18;;2672:31:0::1;3375:203:27::0;2623:91:0::1;2723:28;2742:8;2723:18;:28::i;:::-;2543:215:::0;:::o;3998:186:6:-;4071:4;735:10:12;4125:31:6;735:10:12;4141:7:6;4150:5;4125:8;:31::i;10415:476::-;10514:24;10541:25;10551:5;10558:7;10541:9;:25::i;:::-;10514:52;;-1:-1:-1;;10580:16:6;:36;10576:309;;;10655:5;10636:16;:24;10632:130;;;10687:60;;-1:-1:-1;;;10687:60:6;;-1:-1:-1;;;;;16277:32:27;;10687:60:6;;;16259:51:27;16326:18;;;16319:34;;;16369:18;;;16362:34;;;16232:18;;10687:60:6;16057:345:27;10632:130:6;10803:57;10812:5;10819:7;10847:5;10828:16;:24;10854:5;10803:8;:57::i;:::-;10504:387;10415:476;;;:::o;5393:300::-;-1:-1:-1;;;;;5476:18:6;;5472:86;;5517:30;;-1:-1:-1;;;5517:30:6;;5544:1;5517:30;;;3521:51:27;3494:18;;5517:30:6;3375:203:27;5472:86:6;-1:-1:-1;;;;;5571:16:6;;5567:86;;5610:32;;-1:-1:-1;;;5610:32:6;;5639:1;5610:32;;;3521:51:27;3494:18;;5610:32:6;3375:203:27;5567:86:6;5662:24;5670:4;5676:2;5680:5;5662:7;:24::i;:::-;5393:300;;;:::o;3945:262:20:-;3998:7;4029:4;-1:-1:-1;;;;;4038:11:20;4021:28;;:63;;;;;4070:14;4053:13;:31;4021:63;4017:184;;;-1:-1:-1;4107:22:20;;3945:262::o;4017:184::-;4167:23;4304:80;;;2079:95;4304:80;;;16666:25:27;4326:11:20;16707:18:27;;;16700:34;;;;4339:14:20;16750:18:27;;;16743:34;4355:13:20;16793:18:27;;;16786:34;4378:4:20;16836:19:27;;;16829:61;4268:7:20;;16638:19:27;;4304:80:20;;;;;;;;;;;;4294:91;;;;;;4287:98;;4213:179;;8726:128:6;8810:37;8819:5;8826:7;8835:5;8842:4;8810:8;:37::i;2575:307:15:-;1899:1;2702:7;;:18;2698:86;;2743:30;;-1:-1:-1;;;2743:30:15;;;;;;;;;;;2698:86;1899:1;2858:7;:17;2575:307::o;1219:160:11:-;1328:43;;;-1:-1:-1;;;;;11192:32:27;;1328:43:11;;;11174:51:27;11241:18;;;;11234:34;;;1328:43:11;;;;;;;;;;11147:18:27;;;;1328:43:11;;;;;;;;-1:-1:-1;;;;;1328:43:11;-1:-1:-1;;;1328:43:11;;;1301:71;;1321:5;;1301:19;:71::i;1796:162:0:-;1710:6;;-1:-1:-1;;;;;1710:6:0;735:10:12;1855:23:0;1851:101;;1901:40;;-1:-1:-1;;;1901:40:0;;735:10:12;1901:40:0;;;3521:51:27;3494:18;;1901:40:0;3375:203:27;2293:101:0;1531:13;:11;:13::i;:::-;2357:30:::1;2384:1;2357:18;:30::i;6120:126:20:-:0;6166:13;6198:41;:5;6225:13;6198:26;:41::i;6572:135::-;6621:13;6653:47;:8;6683:16;6653:29;:47::i;5017:176::-;5094:7;5120:66;5153:20;:18;:20::i;:::-;5175:10;4049:4:21;4043:11;-1:-1:-1;;;4067:23:21;;4119:4;4110:14;;4103:39;;;;4171:4;4162:14;;4155:34;4227:4;4212:20;;;3874:374;6887:260:19;6972:7;6992:17;7011:18;7031:16;7051:25;7062:4;7068:1;7071;7074;7051:10;:25::i;:::-;6991:85;;;;;;7086:28;7098:5;7105:8;7086:11;:28::i;:::-;-1:-1:-1;7131:9:19;;6887:260;-1:-1:-1;;;;;;6887:260:19:o;2912:187:0:-;3004:6;;;-1:-1:-1;;;;;3020:17:0;;;-1:-1:-1;;;;;;3020:17:0;;;;;;;3052:40;;3004:6;;;3020:17;3004:6;;3052:40;;2985:16;;3052:40;2975:124;2912:187;:::o;9701:432:6:-;-1:-1:-1;;;;;9813:19:6;;9809:89;;9855:32;;-1:-1:-1;;;9855:32:6;;9884:1;9855:32;;;3521:51:27;3494:18;;9855:32:6;3375:203:27;9809:89:6;-1:-1:-1;;;;;9911:21:6;;9907:90;;9955:31;;-1:-1:-1;;;9955:31:6;;9983:1;9955:31;;;3521:51:27;3494:18;;9955:31:6;3375:203:27;9907:90:6;-1:-1:-1;;;;;10006:18:6;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;:35;;;10051:76;;;;10101:7;-1:-1:-1;;;;;10085:31:6;10094:5;-1:-1:-1;;;;;10085:31:6;;10110:5;10085:31;;;;2162:25:27;;2150:2;2135:18;;2016:177;10085:31:6;;;;;;;;9701:432;;;;:::o;13635:666:26:-;-1:-1:-1;;;;;13734:18:26;;;;:38;;-1:-1:-1;;;;;;13756:16:26;;;13734:38;13730:120;;;13788:31;13802:4;13808:2;13812:6;13788:13;:31::i;13730:120::-;13860:27;:25;:27::i;:::-;13897:11;13911:15;:13;:15::i;:::-;13897:29;;;;13947:1;13941:3;:7;:32;;;;-1:-1:-1;;;;;;13952:21:26;;13968:4;13952:21;;13941:32;:55;;;;-1:-1:-1;;;;;;13977:19:26;;13991:4;13977:19;;13941:55;13937:358;;;14012:17;14049:3;14033:12;14042:3;14033:6;:12;:::i;:::-;14032:20;;;;:::i;:::-;14012:40;-1:-1:-1;14066:22:26;14091:18;14012:40;14091:6;:18;:::i;:::-;14066:43;;14124:45;14138:4;14144:13;14159:9;14124:13;:45::i;:::-;14183:39;14197:4;14203:2;14207:14;14183:13;:39::i;:::-;13998:235;;13937:358;;;14253:31;14267:4;14273:2;14277:6;14253:13;:31::i;8370:720:11:-;8450:18;8478:19;8616:4;8613:1;8606:4;8600:11;8593:4;8587;8583:15;8580:1;8573:5;8566;8561:60;8673:7;8663:176;;8717:4;8711:11;8762:16;8759:1;8754:3;8739:40;8808:16;8803:3;8796:29;8663:176;-1:-1:-1;;8916:1:11;8910:8;8866:16;;-1:-1:-1;8942:15:11;;:68;;8994:11;9009:1;8994:16;;8942:68;;;-1:-1:-1;;;;;8960:26:11;;;:31;8942:68;8938:146;;;9033:40;;-1:-1:-1;;;9033:40:11;;-1:-1:-1;;;;;3539:32:27;;9033:40:11;;;3521:51:27;3494:18;;9033:40:11;3375:203:27;3368:267:16;3462:13;1390:66;3491:46;;3487:142;;3560:15;3569:5;3560:8;:15::i;:::-;3553:22;;;;3487:142;3613:5;3606:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5203:1551:19;5329:17;;;6283:66;6270:79;;6266:164;;;-1:-1:-1;6381:1:19;;-1:-1:-1;6385:30:19;;-1:-1:-1;6417:1:19;6365:54;;6266:164;6541:24;;;6524:14;6541:24;;;;;;;;;17128:25:27;;;17201:4;17189:17;;17169:18;;;17162:45;;;;17223:18;;;17216:34;;;17266:18;;;17259:34;;;6541:24:19;;17100:19:27;;6541:24:19;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6541:24:19;;-1:-1:-1;;6541:24:19;;;-1:-1:-1;;;;;;;6579:20:19;;6575:113;;-1:-1:-1;6631:1:19;;-1:-1:-1;6635:29:19;;-1:-1:-1;6631:1:19;;-1:-1:-1;6615:62:19;;6575:113;6706:6;-1:-1:-1;6714:20:19;;-1:-1:-1;6714:20:19;;-1:-1:-1;5203:1551:19;;;;;;;;;:::o;7280:532::-;7375:20;7366:5;:29;;;;;;;;:::i;:::-;;7362:444;;7280:532;;:::o;7362:444::-;7471:29;7462:5;:38;;;;;;;;:::i;:::-;;7458:348;;7523:23;;-1:-1:-1;;;7523:23:19;;;;;;;;;;;7458:348;7576:35;7567:5;:44;;;;;;;;:::i;:::-;;7563:243;;7634:46;;-1:-1:-1;;;7634:46:19;;;;;2162:25:27;;;2135:18;;7634:46:19;2016:177:27;7563:243:19;7710:30;7701:5;:39;;;;;;;;:::i;:::-;;7697:109;;7763:32;;-1:-1:-1;;;7763:32:19;;;;;2162:25:27;;;2135:18;;7763:32:19;2016:177:27;6008:1107:6;-1:-1:-1;;;;;6097:18:6;;6093:540;;6249:5;6233:12;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;6093:540:6;;-1:-1:-1;6093:540:6;;-1:-1:-1;;;;;6307:15:6;;6285:19;6307:15;;;;;;;;;;;6340:19;;;6336:115;;;6386:50;;-1:-1:-1;;;6386:50:6;;-1:-1:-1;;;;;16277:32:27;;6386:50:6;;;16259:51:27;16326:18;;;16319:34;;;16369:18;;;16362:34;;;16232:18;;6386:50:6;16057:345:27;6336:115:6;-1:-1:-1;;;;;6571:15:6;;:9;:15;;;;;;;;;;6589:19;;;;6571:37;;6093:540;-1:-1:-1;;;;;6647:16:6;;6643:425;;6810:12;:21;;;;;;;6643:425;;;-1:-1:-1;;;;;7021:13:6;;:9;:13;;;;;;;;;;:22;;;;;;6643:425;7098:2;-1:-1:-1;;;;;7083:25:6;7092:4;-1:-1:-1;;;;;7083:25:6;;7102:5;7083:25;;;;2162::27;;2150:2;2135:18;;2016:177;7083:25:6;;;;;;;;6008:1107;;;:::o;16464:208:26:-;16524:21;;-1:-1:-1;;;16524:21:26;;;;16523:22;:46;;;;;16549:15;:13;:15::i;:::-;:20;;;16523:46;16519:147;;;16585:21;:28;;-1:-1:-1;;;;16585:28:26;-1:-1:-1;;;16585:28:26;;;16632:23;;;;16585:28;;16632:23;16464:208::o;2078:378:16:-;2137:13;2162:11;2176:16;2187:4;2176:10;:16::i;:::-;2300:14;;;2311:2;2300:14;;;;;;;;;2162:30;;-1:-1:-1;2280:17:16;;2300:14;;;;;;;;;-1:-1:-1;;;2363:16:16;;;-1:-1:-1;2408:4:16;2399:14;;2392:28;;;;-1:-1:-1;2363:16:16;2078:378::o;2528:245::-;2589:7;2661:4;2625:40;;2688:2;2679:11;;2675:69;;;2713:20;;-1:-1:-1;;;2713:20:16;;;;;;;;;;;715:423:27;757:3;795:5;789:12;822:6;817:3;810:19;847:1;857:162;871:6;868:1;865:13;857:162;;;933:4;989:13;;;985:22;;979:29;961:11;;;957:20;;950:59;886:12;857:162;;;861:3;1064:1;1057:4;1048:6;1043:3;1039:16;1035:27;1028:38;1127:4;1120:2;1116:7;1111:2;1103:6;1099:15;1095:29;1090:3;1086:39;1082:50;1075:57;;;715:423;;;;:::o;1143:220::-;1292:2;1281:9;1274:21;1255:4;1312:45;1353:2;1342:9;1338:18;1330:6;1312:45;:::i;1368:131::-;-1:-1:-1;;;;;1443:31:27;;1433:42;;1423:70;;1489:1;1486;1479:12;1504:315;1572:6;1580;1633:2;1621:9;1612:7;1608:23;1604:32;1601:52;;;1649:1;1646;1639:12;1601:52;1688:9;1675:23;1707:31;1732:5;1707:31;:::i;:::-;1757:5;1809:2;1794:18;;;;1781:32;;-1:-1:-1;;;1504:315:27:o;2198:456::-;2275:6;2283;2291;2344:2;2332:9;2323:7;2319:23;2315:32;2312:52;;;2360:1;2357;2350:12;2312:52;2399:9;2386:23;2418:31;2443:5;2418:31;:::i;:::-;2468:5;-1:-1:-1;2525:2:27;2510:18;;2497:32;2538:33;2497:32;2538:33;:::i;:::-;2198:456;;2590:7;;-1:-1:-1;;;2644:2:27;2629:18;;;;2616:32;;2198:456::o;3030:340::-;3097:6;3105;3158:2;3146:9;3137:7;3133:23;3129:32;3126:52;;;3174:1;3171;3164:12;3126:52;3210:9;3197:23;3187:33;;3270:2;3259:9;3255:18;3242:32;3314:6;3307:5;3303:18;3296:5;3293:29;3283:57;;3336:1;3333;3326:12;3283:57;3359:5;3349:15;;;3030:340;;;;;:::o;3583:247::-;3642:6;3695:2;3683:9;3674:7;3670:23;3666:32;3663:52;;;3711:1;3708;3701:12;3663:52;3750:9;3737:23;3769:31;3794:5;3769:31;:::i;:::-;3819:5;3583:247;-1:-1:-1;;;3583:247:27:o;3835:1259::-;4241:3;4236;4232:13;4224:6;4220:26;4209:9;4202:45;4183:4;4266:2;4304:3;4299:2;4288:9;4284:18;4277:31;4331:46;4372:3;4361:9;4357:19;4349:6;4331:46;:::i;:::-;4425:9;4417:6;4413:22;4408:2;4397:9;4393:18;4386:50;4459:33;4485:6;4477;4459:33;:::i;:::-;4523:2;4508:18;;4501:34;;;-1:-1:-1;;;;;4572:32:27;;4566:3;4551:19;;4544:61;4592:3;4621:19;;4614:35;;;4686:22;;;4680:3;4665:19;;4658:51;4758:13;;4780:22;;;4830:2;4856:15;;;;-1:-1:-1;4818:15:27;;;;-1:-1:-1;4899:169:27;4913:6;4910:1;4907:13;4899:169;;;4974:13;;4962:26;;5043:15;;;;5008:12;;;;4935:1;4928:9;4899:169;;;-1:-1:-1;5085:3:27;;3835:1259;-1:-1:-1;;;;;;;;;;;;3835:1259:27:o;5099:829::-;5210:6;5218;5226;5234;5242;5250;5258;5311:3;5299:9;5290:7;5286:23;5282:33;5279:53;;;5328:1;5325;5318:12;5279:53;5367:9;5354:23;5386:31;5411:5;5386:31;:::i;:::-;5436:5;-1:-1:-1;5493:2:27;5478:18;;5465:32;5506:33;5465:32;5506:33;:::i;:::-;5558:7;-1:-1:-1;5612:2:27;5597:18;;5584:32;;-1:-1:-1;5663:2:27;5648:18;;5635:32;;-1:-1:-1;5719:3:27;5704:19;;5691:33;5768:4;5755:18;;5743:31;;5733:59;;5788:1;5785;5778:12;5733:59;5099:829;;;;-1:-1:-1;5099:829:27;;;;5811:7;5865:3;5850:19;;5837:33;;-1:-1:-1;5917:3:27;5902:19;;;5889:33;;5099:829;-1:-1:-1;;5099:829:27:o;5933:388::-;6001:6;6009;6062:2;6050:9;6041:7;6037:23;6033:32;6030:52;;;6078:1;6075;6068:12;6030:52;6117:9;6104:23;6136:31;6161:5;6136:31;:::i;:::-;6186:5;-1:-1:-1;6243:2:27;6228:18;;6215:32;6256:33;6215:32;6256:33;:::i;6326:380::-;6405:1;6401:12;;;;6448;;;6469:61;;6523:4;6515:6;6511:17;6501:27;;6469:61;6576:2;6568:6;6565:14;6545:18;6542:38;6539:161;;6622:10;6617:3;6613:20;6610:1;6603:31;6657:4;6654:1;6647:15;6685:4;6682:1;6675:15;6539:161;;6326:380;;;:::o;7063:127::-;7124:10;7119:3;7115:20;7112:1;7105:31;7155:4;7152:1;7145:15;7179:4;7176:1;7169:15;7195:125;7260:9;;;7281:10;;;7278:36;;;7294:18;;:::i;9433:171::-;9501:6;9540:10;;;9528;;;9524:27;;9563:12;;;9560:38;;;9578:18;;:::i;:::-;9560:38;9433:171;;;;:::o;9609:168::-;9682:9;;;9713;;9730:15;;;9724:22;;9710:37;9700:71;;9751:18;;:::i;9782:217::-;9822:1;9848;9838:132;;9892:10;9887:3;9883:20;9880:1;9873:31;9927:4;9924:1;9917:15;9955:4;9952:1;9945:15;9838:132;-1:-1:-1;9984:9:27;;9782:217::o;10394:251::-;10464:6;10517:2;10505:9;10496:7;10492:23;10488:32;10485:52;;;10533:1;10530;10523:12;10485:52;10565:9;10559:16;10584:31;10609:5;10584:31;:::i;11279:277::-;11346:6;11399:2;11387:9;11378:7;11374:23;11370:32;11367:52;;;11415:1;11412;11405:12;11367:52;11447:9;11441:16;11500:5;11493:13;11486:21;11479:5;11476:32;11466:60;;11522:1;11519;11512:12;12392:306;12480:6;12488;12496;12549:2;12537:9;12528:7;12524:23;12520:32;12517:52;;;12565:1;12562;12555:12;12517:52;12594:9;12588:16;12578:26;;12644:2;12633:9;12629:18;12623:25;12613:35;;12688:2;12677:9;12673:18;12667:25;12657:35;;12392:306;;;;;:::o;13049:184::-;13119:6;13172:2;13160:9;13151:7;13147:23;13143:32;13140:52;;;13188:1;13185;13178:12;13140:52;-1:-1:-1;13211:16:27;;13049:184;-1:-1:-1;13049:184:27:o;14410:245::-;14489:6;14497;14550:2;14538:9;14529:7;14525:23;14521:32;14518:52;;;14566:1;14563;14556:12;14518:52;-1:-1:-1;;14589:16:27;;14645:2;14630:18;;;14624:25;14589:16;;14624:25;;-1:-1:-1;14410:245:27:o;14660:128::-;14727:9;;;14748:11;;;14745:37;;;14762:18;;:::i;17304:127::-;17365:10;17360:3;17356:20;17353:1;17346:31;17396:4;17393:1;17386:15;17420:4;17417:1;17410:15","linkReferences":{},"immutableReferences":{"4003":[{"start":5713,"length":32}],"4005":[{"start":5671,"length":32}],"4007":[{"start":5629,"length":32}],"4009":[{"start":5794,"length":32}],"4011":[{"start":5834,"length":32}],"4014":[{"start":6120,"length":32}],"4017":[{"start":6165,"length":32}],"8019":[{"start":328,"length":32},{"start":2189,"length":32},{"start":2390,"length":32},{"start":2662,"length":32},{"start":2839,"length":32},{"start":3002,"length":32},{"start":4129,"length":32},{"start":4263,"length":32}],"8022":[{"start":2123,"length":32},{"start":2792,"length":32},{"start":2962,"length":32}],"8025":[{"start":2238,"length":32},{"start":2436,"length":32}],"8031":[{"start":5027,"length":32},{"start":5243,"length":32},{"start":5300,"length":32}],"8034":[{"start":5154,"length":32}],"8037":[{"start":4948,"length":32},{"start":5067,"length":32}],"8043":[{"start":3495,"length":32},{"start":4297,"length":32},{"start":4376,"length":32},{"start":6743,"length":32}],"8046":[{"start":5201,"length":32}],"8049":[{"start":4981,"length":32},{"start":5100,"length":32}]}}}}}}},"signatures":{"function":[{"signature":"allowance(address,address)","signatureHash4":"0xdd62ed3e","signatureHash32":"0xdd62ed3e90e97b3d417db9c0c7522647811bafca5afc6694f143588d255fdfb4"},{"signature":"approve(address,uint256)","signatureHash4":"0x095ea7b3","signatureHash32":"0x095ea7b334ae44009aa867bfb386f5c3b4b443ac6f0ee573fa91c4608fbadfba"},{"signature":"balanceOf(address)","signatureHash4":"0x70a08231","signatureHash32":"0x70a08231b98ef4ca268c9cc3f6b4590e4bfec28280db06bb5d45e689f2a360be"},{"signature":"claimPoolFees()","signatureHash4":"0x98e0ad11","signatureHash32":"0x98e0ad11fd31a998bd51a282712972e2617bdcc70066d53765e581bf81955751"},{"signature":"createLiquidityPool(uint256,uint16)","signatureHash4":"0x499c695c","signatureHash32":"0x499c695c4696b3e8742bd12e225f6c50897ed759662b1cb9c623d35ddee51261"},{"signature":"decimals()","signatureHash4":"0x313ce567","signatureHash32":"0x313ce567add4d438edf58b94ff345d7d38c45b17dfc0f947988d7819dca364f9"},{"signature":"decreaseAllowance(address,uint256)","signatureHash4":"0xa457c2d7","signatureHash32":"0xa457c2d77307f80ff2f3ac810ec99eb18ae2cffee13b29c90c9324546e374be5"},{"signature":"DOMAIN_SEPARATOR()","signatureHash4":"0x3644e515","signatureHash32":"0x3644e5157256d68e3eeedd2ead302507a9c4ffaff665547d2c3623a1e9e7edf4"},{"signature":"eip712Domain()","signatureHash4":"0x84b0196e","signatureHash32":"0x84b0196e4b78e1918928c3b71e1f57a2bfc6d4a368fe07990ccc1367172719fb"},{"signature":"getCurrentTax()","signatureHash4":"0xf0fcce63","signatureHash32":"0xf0fcce63f1de704cad88f2b1781e9c63efa7023f54bbd42e78401fb405256b10"},{"signature":"increaseAllowance(address,uint256)","signatureHash4":"0x39509351","signatureHash32":"0x39509351d3325647dde3fdd3c8b249adfe89ef4f16d76d83768e6df7a5cd81d6"},{"signature":"liquidityPool()","signatureHash4":"0x665a11ca","signatureHash32":"0x665a11ca83e315f5918c5315db371cf03e4619c91ae6a9c699b579a1d0836583"},{"signature":"name()","signatureHash4":"0x06fdde03","signatureHash32":"0x06fdde0383f15d582d1a74511486c9ddf862a882fb7904b3d9fe9b8b8e58a796"},{"signature":"nonces(address)","signatureHash4":"0x7ecebe00","signatureHash32":"0x7ecebe00bc8d5df94a191da8e29b79e67a22b668e14b756a81ef2f5fa215cb0c"},{"signature":"owner()","signatureHash4":"0x8da5cb5b","signatureHash32":"0x8da5cb5b36e7f68c1d2e56001220cdbdd3ba2616072f718acfda4a06441a807d"},{"signature":"permit(address,address,uint256,uint256,uint8,bytes32,bytes32)","signatureHash4":"0xd505accf","signatureHash32":"0xd505accfee7b46ac3ce97322c21f328b64073d188137e16f7ef87f8de076b51c"},{"signature":"renounceOwnership()","signatureHash4":"0x715018a6","signatureHash32":"0x715018a616b5f2044428f6fadb7deef4ce9ca76ef60ea57978964ad137bbe7ae"},{"signature":"symbol()","signatureHash4":"0x95d89b41","signatureHash32":"0x95d89b41e2f5f391a79ec54e9d87c79d6e777c63e32c28da95b4e9e4a79250ec"},{"signature":"totalSupply()","signatureHash4":"0x18160ddd","signatureHash32":"0x18160ddd7f15c72528c2f94fd8dfe3c8d5aa26e2c50c7d81f4bc7bee8d4b7932"},{"signature":"transfer(address,uint256)","signatureHash4":"0xa9059cbb","signatureHash32":"0xa9059cbb2ab09eb219583f4a59a5d0623ade346d962bcd4e46b11da047c9049b"},{"signature":"transferFrom(address,address,uint256)","signatureHash4":"0x23b872dd","signatureHash32":"0x23b872dd7302113369cda2901243429419bec145408fa8b352b3dd92b66c680b"},{"signature":"transferOwnership(address)","signatureHash4":"0xf2fde38b","signatureHash32":"0xf2fde38b092330466c661fc723d5289b90272a3e580e3187d1d7ef788506c557"}],"event":[{"signature":"Approval(address,address,uint256)","signatureHash4":"0x8c5be1e5","signatureHash32":"0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925"},{"signature":"EIP712DomainChanged()","signatureHash4":"0x0a6387c9","signatureHash32":"0x0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31"},{"signature":"LPTokensBurned(uint256)","signatureHash4":"0x599e3c14","signatureHash32":"0x599e3c1445f5d3f97307a24763cc7d200c7c523b685562a5df07759410a411ec"},{"signature":"OwnershipTransferred(address,address)","signatureHash4":"0x8be0079c","signatureHash32":"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0"},{"signature":"TaxReductionCompleted()","signatureHash4":"0x6112e881","signatureHash32":"0x6112e881046eeed04237d499dbf611392304cd4a8f1c851834c8777aee228f5d"},{"signature":"Transfer(address,address,uint256)","signatureHash4":"0xddf252ad","signatureHash32":"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"}],"error":[{"signature":"ECDSAInvalidSignature()","signatureHash4":"0xf645eedf","signatureHash32":"0xf645eedf0193584640b6b90cb9477e4c95b98636c148a891d4c0a146dc46e75a"},{"signature":"ECDSAInvalidSignatureLength(uint256)","signatureHash4":"0xfce698f7","signatureHash32":"0xfce698f7e8e5342cd615f641317bc45fe7e1e4a8b0a14dd1383ff8dc9c41917f"},{"signature":"ECDSAInvalidSignatureS(bytes32)","signatureHash4":"0xd78bce0c","signatureHash32":"0xd78bce0cccb935155ed6428d1c13e50b7f3550fd2b66b9fe266006fea4a5e1eb"},{"signature":"ERC20InsufficientAllowance(address,uint256,uint256)","signatureHash4":"0xfb8f41b2","signatureHash32":"0xfb8f41b23e99d2101d86da76cdfa87dd51c82ed07d3cb62cbc473e469dbc75c3"},{"signature":"ERC20InsufficientBalance(address,uint256,uint256)","signatureHash4":"0xe450d38c","signatureHash32":"0xe450d38cd8d9f7d95077d567d60ed49c7254716e6ad08fc9872816c97e0ffec6"},{"signature":"ERC20InvalidApprover(address)","signatureHash4":"0xe602df05","signatureHash32":"0xe602df05cc75712490294c6c104ab7c17f4030363910a7a2626411c6d3118847"},{"signature":"ERC20InvalidReceiver(address)","signatureHash4":"0xec442f05","signatureHash32":"0xec442f055133b72f3b2f9f0bb351c406b178527de2040a7d1feb4e058771f613"},{"signature":"ERC20InvalidSender(address)","signatureHash4":"0x96c6fd1e","signatureHash32":"0x96c6fd1edd0cd6ef7ff0ecc0facdf53148dc0048b57fe58af65755250a7a96bd"},{"signature":"ERC20InvalidSpender(address)","signatureHash4":"0x94280d62","signatureHash32":"0x94280d62c347d8d9f4d59a76ea321452406db88df38e0c9da304f58b57b373a2"},{"signature":"ERC2612ExpiredSignature(uint256)","signatureHash4":"0x62791302","signatureHash32":"0x627913023c184eaad13735d5a3d2657ae76ec9a872a70e0fc57522ef1a114d58"},{"signature":"ERC2612InvalidSigner(address,address)","signatureHash4":"0x4b800e46","signatureHash32":"0x4b800e463b323b1d856edf9dec70329a639d13874a57f5c28219ff57128756db"},{"signature":"InvalidAccountNonce(address,uint256)","signatureHash4":"0x752d88c0","signatureHash32":"0x752d88c0de02638abf10e8e31861e4c68dc1f3a1e7d840e580683f2c282bfc7a"},{"signature":"InvalidShortString()","signatureHash4":"0xb3512b0c","signatureHash32":"0xb3512b0c6163e5f0bafab72bb631b9d58cd7a731b082f910338aa21c83d5c274"},{"signature":"OwnableInvalidOwner(address)","signatureHash4":"0x1e4fbdf7","signatureHash32":"0x1e4fbdf7f3ef8bcaa855599e3abf48b232380f183f08f6f813d9ffa5bd585188"},{"signature":"OwnableUnauthorizedAccount(address)","signatureHash4":"0x118cdaa7","signatureHash32":"0x118cdaa7a341953d1887a2245fd6665d741c67c8c50581daa59e1d03373fa188"},{"signature":"ReentrancyGuardReentrantCall()","signatureHash4":"0x3ee5aeb5","signatureHash32":"0x3ee5aeb571de7fc460830b4d0017439a1ca56fb0bc39062227ade4fe4a24c1ca"},{"signature":"SafeERC20FailedOperation(address)","signatureHash4":"0x5274afe7","signatureHash32":"0x5274afe73c98b4749fc91ffae6b7b574e7842cb2144a159e9377a5f20b32edf9"},{"signature":"StringTooLong(string)","signatureHash4":"0x305a27a9","signatureHash32":"0x305a27a93f8e33b7392df0a0f91d6fc63847395853c45991eec52dbf24d72381"}]},"proxyResolution":{"isProxy":false,"proxyType":null,"implementations":[]},"match":"exact_match","chainId":"8453","address":"0xc0634090F2Fe6c6d75e61Be2b949464aBB498973"}