{"matchId":"59674395","creationMatch":"exact_match","runtimeMatch":"exact_match","verifiedAt":"2026-11-21T18:16:57Z","creationBytecode":{"onchainBytecode":"0x60e060405234801561001057600080fd5b506040516125c43803806125c483398101604081905261002f916101c4565b806001600160a01b03811661005f57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b61006881610158565b50600180556001600160a01b0384166100ab5760405162461bcd60e51b815260206004820152600560248201526406e66743d360dc1b6044820152606401610056565b6001600160a01b0383166100e95760405162461bcd60e51b815260206004820152600560248201526406465763d360dc1b6044820152606401610056565b6001600160a01b03821661012b5760405162461bcd60e51b815260206004820152600960248201526806c705661756c743d360bc1b6044820152606401610056565b506001600160a01b0392831660805290821660a0521660c0526a2a003c79bac63447000000600855610218565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146101bf57600080fd5b919050565b600080600080608085870312156101da57600080fd5b6101e3856101a8565b93506101f1602086016101a8565b92506101ff604086016101a8565b915061020d606086016101a8565b905092959194509250565b60805160a05160c05161231b6102a9600039600081816103690152818161097401528181610a4101528181610ead01528181610f7201528181611f7f015261204f015260008181610528015281816119960152611a410152600081816104040152818161121d0152818161129e01528181611325015281816116c80152818161174901526117d0015261231b6000f3fe6080604052600436106102465760003560e01c80637ec103fe11610139578063bec82e69116100b6578063d85b3dca1161007a578063d85b3dca14610668578063da16cb4c1461067e578063e80eda3e14610694578063ef9b6ebc146106af578063f2fde38b146106c5578063fc0c546a146106e557600080fd5b8063bec82e69146105f4578063c569b5e91461060a578063c9e53c0514610621578063ce482d0214610637578063d3a64dad1461065257600080fd5b8063b2b0e320116100fd578063b2b0e32014610573578063b35a720014610589578063b83af1f4146105a3578063bbfaaa32146105c3578063bd1735ed146105de57600080fd5b80637ec103fe146104e35780638da5cb5b146104f85780638ea5220f14610516578063a30ad5f91461054a578063a32f89a61461055d57600080fd5b806340624824116101c757806352cb81011161018b57806352cb810114610459578063598678891461047957806370d53ef014610499578063715018a6146104af5780637ae7a775146104c457600080fd5b806340624824146103a3578063444cc556146103d457806347ccca02146103f257806349ff8e3a146104265780634c05abeb1461044457600080fd5b806319f546491161020e57806319f54649146102e75780631d544f33146103035780632e4eca78146103225780632e5e9e9f146103385780632f8673671461035757600080fd5b8063038fc0431461024b578063047e2a201461027357806309c1683b1461028a5780630a533b6f146102a8578063144fa6d7146102c7575b600080fd5b34801561025757600080fd5b50610260610705565b6040519081526020015b60405180910390f35b34801561027f57600080fd5b5061028861071c565b005b34801561029657600080fd5b50610260690ba58e545582d460000081565b3480156102b457600080fd5b506102606a027b46536c66c8e300000081565b3480156102d357600080fd5b506102886102e23660046121c8565b610bfd565b3480156102f357600080fd5b506102606716345785d8a0000081565b34801561030f57600080fd5b506102606a0eb436e4125b928600000081565b34801561032e57600080fd5b50610260600b5481565b34801561034457600080fd5b506102606a1b4c0595a86aa1c100000081565b34801561036357600080fd5b5061038b7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161026a565b3480156103af57600080fd5b506002546103c490600160a01b900460ff1681565b604051901515815260200161026a565b3480156103e057600080fd5b5061026069065a4da25d3016c0000081565b3480156103fe57600080fd5b5061038b7f000000000000000000000000000000000000000000000000000000000000000081565b34801561043257600080fd5b5061026069163c0fb846284fa0000081565b34801561045057600080fd5b50610260600b81565b34801561046557600080fd5b506102886104743660046121f8565b610ce3565b34801561048557600080fd5b50610260610494366004612211565b61106e565b3480156104a557600080fd5b506102606103e881565b3480156104bb57600080fd5b5061028861157d565b3480156104d057600080fd5b506102606a069e10de76676d0800000081565b3480156104ef57600080fd5b50610260609681565b34801561050457600080fd5b506000546001600160a01b031661038b565b34801561052257600080fd5b5061038b7f000000000000000000000000000000000000000000000000000000000000000081565b610260610558366004612211565b61158f565b34801561056957600080fd5b50610260600a5481565b34801561057f57600080fd5b506102606108ae81565b34801561059557600080fd5b506005546103c49060ff1681565b3480156105af57600080fd5b506102886105be3660046121f8565b611b22565b3480156105cf57600080fd5b506102606605af3107a4000081565b3480156105ea57600080fd5b5061026060075481565b34801561060057600080fd5b5061026061045781565b34801561061657600080fd5b50610260624c4b4081565b34801561062d57600080fd5b5061026060045481565b34801561064357600080fd5b5061026066071afd498d000081565b34801561065e57600080fd5b5061026060035481565b34801561067457600080fd5b5061026060095481565b34801561068a57600080fd5b5061026060065481565b3480156106a057600080fd5b5061026066016bcc41e9000081565b3480156106bb57600080fd5b5061026060085481565b3480156106d157600080fd5b506102886106e03660046121c8565b611be6565b3480156106f157600080fd5b5060025461038b906001600160a01b031681565b60006004546003546107179190612249565b905090565b610724611c21565b61072c611c4e565b60055460ff16156107785760405162461bcd60e51b815260206004820152601160248201527033b0ba329030b63932b0b23c9037b832b760791b60448201526064015b60405180910390fd5b6006546000036107c35760405162461bcd60e51b815260206004820152601660248201527519985b1b189858dac81b9bdd081cd8da19591d5b195960521b604482015260640161076f565b6006544210156108155760405162461bcd60e51b815260206004820152601a60248201527f66616c6c6261636b206e6f742079657420617661696c61626c65000000000000604482015260640161076f565b6000600754116108565760405162461bcd60e51b815260206004820152600c60248201526b6275636b657420656d70747960a01b604482015260640161076f565b6007546000610868624c4b408361225c565b90506008548111156108b35760405162461bcd60e51b81526020600482015260146024820152731c995cd95c9d99481a5b9cdd59999a58da595b9d60621b604482015260640161076f565b6a0eb436e4125b9286000000816009546108cd9190612249565b11156109165760405162461bcd60e51b81526020600482015260186024820152771b1c081d1bdad95b88189d5919d95d08195e18d95959195960421b604482015260640161076f565b6005805460ff19166001179055600060078190556008805483929061093c908490612273565b9250508190555080600960008282546109559190612249565b909155505060025460405163a9059cbb60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081166004830152602482018490529091169063a9059cbb906044016020604051808303816000875af11580156109cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109f19190612286565b610a3d5760405162461bcd60e51b815260206004820152601a60248201527f66616c6c6261636b20746f6b656e2073656564206661696c6564000000000000604482015260640161076f565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168360405160006040518083038185875af1925050503d8060008114610aaa576040519150601f19603f3d011682016040523d82523d6000602084013e610aaf565b606091505b5050905080610b005760405162461bcd60e51b815260206004820152601860248201527f66616c6c6261636b20626e622073656564206661696c65640000000000000000604482015260640161076f565b600260009054906101000a90046001600160a01b03166001600160a01b031663deb36e326040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610b5057600080fd5b505af1158015610b64573d6000803e3d6000fd5b5050600354604080519182526020820187905281018590527f6599f3adedf8367d8c67547e92866bfc9f4d79268382c3d70ffb134386265aa29250606001905060405180910390a1600354604080519182526020820185905281018390527f1f8c084d52ab5d8d9672342c2a70800589918deaeba55086a5ba12655064409c9060600160405180910390a1505050610bfb60018055565b565b610c05611c21565b600254600160a01b900460ff1615610c535760405162461bcd60e51b81526020600482015260116024820152701d1bdad95b88185b1c9958591e481cd95d607a1b604482015260640161076f565b6001600160a01b038116610c935760405162461bcd60e51b81526020600482015260076024820152660746f6b656e3d360cc1b604482015260640161076f565b600280546001600160a81b0319166001600160a01b038316908117600160a01b179091556040517fa07c91c183e42229e705a9795a1c06d76528b673788b849597364528c96eefb790600090a250565b610ceb611c21565b610cf3611c4e565b60055460ff16610d355760405162461bcd60e51b815260206004820152600d60248201526c33b0ba32903737ba1037b832b760991b604482015260640161076f565b60008111610d705760405162461bcd60e51b81526020600482015260086024820152670616d6f756e743d360c41b604482015260640161076f565b6a0eb436e4125b928600000081600954610d8a9190612249565b1115610dd35760405162461bcd60e51b81526020600482015260186024820152771b1c081d1bdad95b88189d5919d95d08195e18d95959195960421b604482015260640161076f565b600854811115610e1c5760405162461bcd60e51b81526020600482015260146024820152731c995cd95c9d99481a5b9cdd59999a58da595b9d60621b604482015260640161076f565b60075480610e5b5760405162461bcd60e51b815260206004820152600c60248201526b6275636b657420656d70747960a01b604482015260640161076f565b60006007819055508160086000828254610e759190612273565b925050819055508160096000828254610e8e9190612249565b909155505060025460405163a9059cbb60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081166004830152602482018590529091169063a9059cbb906044016020604051808303816000875af1158015610f06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2a9190612286565b610f6e5760405162461bcd60e51b81526020600482015260156024820152741d1bdad95b881d1c985b9cd9995c8819985a5b1959605a1b604482015260640161076f565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168260405160006040518083038185875af1925050503d8060008114610fdb576040519150601f19603f3d011682016040523d82523d6000602084013e610fe0565b606091505b50509050806110275760405162461bcd60e51b8152602060048201526013602482015272189b98881d1c985b9cd9995c8819985a5b1959606a1b604482015260640161076f565b60408051838152602081018590527f6f28fe44644d9cce2edee70ae29bed08bc6f03e2e28ee493daafe1a33d238faa910160405180910390a1505061106b60018055565b50565b6000611078611c4e565b600254600160a01b900460ff166110c15760405162461bcd60e51b815260206004820152600d60248201526c1d1bdad95b881b9bdd081cd95d609a1b604482015260640161076f565b8183036110fd5760405162461bcd60e51b815260206004820152600a60248201526939b0b6b2903a37b5b2b760b11b604482015260640161076f565b610457600454106111425760405162461bcd60e51b815260206004820152600f60248201526e067656e3220667573696f6e2063617608c1b604482015260640161076f565b6002546040516323b872dd60e01b815233600482015230602482015269065a4da25d3016c0000060448201526001600160a01b03909116906323b872dd906064016020604051808303816000875af11580156111a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111c69190612286565b6112065760405162461bcd60e51b81526020600482015260116024820152701d1bdad95b881c1d5b1b0819985a5b1959607a1b604482015260640161076f565b604051633b339cf560e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063766739ea9061125790339087906001906004016122a8565b600060405180830381600087803b15801561127157600080fd5b505af1158015611285573d6000803e3d6000fd5b5050604051633b339cf560e11b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016925063766739ea91506112da90339086906001906004016122a8565b600060405180830381600087803b1580156112f457600080fd5b505af1158015611308573d6000803e3d6000fd5b505060405162043ccb60e41b8152336004820152600260248201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031692506243ccb091506044016020604051808303816000875af1158015611377573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139b91906122cc565b600254604051630852cd8d60e31b815269065a4da25d3016c0000060048201529192506001600160a01b0316906342966c6890602401600060405180830381600087803b1580156113eb57600080fd5b505af11580156113ff573d6000803e3d6000fd5b505050506001600460008282546114169190612249565b909155505060025460405163a9059cbb60e01b815233600482015269163c0fb846284fa0000060248201526001600160a01b039091169063a9059cbb906044016020604051808303816000875af1158015611475573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114999190612286565b6114de5760405162461bcd60e51b81526020600482015260166024820152751c995dd85c99081d1c985b9cd9995c8819985a5b195960521b604482015260640161076f565b6040805169163c0fb846284fa0000081526002602082015233917ff381583145e90b82cc5e529bf4fc4d0e44397174cdf145c4251ac33ef195a424910160405180910390a2604080518481526020810184905290810182905233907f435fb3b33afac30fc438a0900a260c0277e6c51d974f3c60e20cacdb635945549060600160405180910390a261156e611c78565b61157760018055565b92915050565b611585611c21565b610bfb6000611df1565b6000611599611c4e565b600254600160a01b900460ff166115e25760405162461bcd60e51b815260206004820152600d60248201526c1d1bdad95b881b9bdd081cd95d609a1b604482015260640161076f565b66071afd498d000034146116305760405162461bcd60e51b81526020600482015260156024820152743332b29036bab9ba1031329018171818191021272160591b604482015260640161076f565b81830361166c5760405162461bcd60e51b815260206004820152600a60248201526939b0b6b2903a37b5b2b760b11b604482015260640161076f565b6108ae600354106116b15760405162461bcd60e51b815260206004820152600f60248201526e067656e3120667573696f6e2063617608c1b604482015260640161076f565b604051633b339cf560e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063766739ea9061170290339087906000906004016122a8565b600060405180830381600087803b15801561171c57600080fd5b505af1158015611730573d6000803e3d6000fd5b5050604051633b339cf560e11b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016925063766739ea915061178590339086906000906004016122a8565b600060405180830381600087803b15801561179f57600080fd5b505af11580156117b3573d6000803e3d6000fd5b505060405162043ccb60e41b8152336004820152600160248201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031692506243ccb091506044016020604051808303816000875af1158015611822573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061184691906122cc565b905060016003600082825461185b9190612249565b909155505060025460405163a9059cbb60e01b8152336004820152690ba58e545582d460000060248201526001600160a01b039091169063a9059cbb906044016020604051808303816000875af11580156118ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118de9190612286565b6119235760405162461bcd60e51b81526020600482015260166024820152751c995dd85c99081d1c985b9cd9995c8819985a5b195960521b604482015260640161076f565b60408051690ba58e545582d460000081526001602082015233917ff381583145e90b82cc5e529bf4fc4d0e44397174cdf145c4251ac33ef195a424910160405180910390a26605af3107a40000600760008282546119819190612249565b90915550506040516000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169066016bcc41e90000908381818185875af1925050503d80600081146119f8576040519150601f19603f3d011682016040523d82523d6000602084013e6119fd565b606091505b5050905080611a3f5760405162461bcd60e51b815260206004820152600e60248201526d19195d881999594819985a5b195960921b604482015260640161076f565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03167f57f7aa0e3afd334225fad63af931d9d34a4168aa22f4a329b6e71f6bd95baf0b66016bcc41e90000604051611aa191815260200190565b60405180910390a2604080518581526020810185905290810183905233907ff91e93c886fcd7138a6a800e2e8612b706d8d6346313f65ef7089198b74766099060600160405180910390a2611af4611c78565b60055460ff16158015611b0b57506103e860035410155b15611b1857611b18611e41565b5061157760018055565b611b2a611c21565b60065415611b715760405162461bcd60e51b815260206004820152601460248201527319985b1b189858dac8185b1c9958591e481cd95d60621b604482015260640161076f565b80600003611baa5760405162461bcd60e51b8152602060048201526006602482015265074696d653d360d41b604482015260640161076f565b60068190556040518181527fcd9bdbe81f6c85749e2191f281a58c3c05de2b6a3dd249ebf5edfa21d689284c906020015b60405180910390a150565b611bee611c21565b6001600160a01b038116611c1857604051631e4fbdf760e01b81526000600482015260240161076f565b61106b81611df1565b6000546001600160a01b03163314610bfb5760405163118cdaa760e01b815233600482015260240161076f565b600260015403611c7157604051633ee5aeb560e01b815260040160405180910390fd5b6002600155565b6000600454600354611c8a9190612249565b90505b600b8054108015611caa57506a1b4c0595a86aa1c1000000600a54105b8015611cd057506096600b546001611cc29190612249565b611ccc919061225c565b8110155b1561106b576001600b6000828254611ce89190612249565b925050819055506a027b46536c66c8e3000000600a6000828254611d0c9190612249565b925050819055506a027b46536c66c8e300000060086000828254611d309190612273565b9091555050600254604051630852cd8d60e31b81526a027b46536c66c8e300000060048201526001600160a01b03909116906342966c6890602401600060405180830381600087803b158015611d8557600080fd5b505af1158015611d99573d6000803e3d6000fd5b5050600b54600a54604080519283526a027b46536c66c8e300000060208401528201527f2948de8d6683b5bbf7333a4e2272b27cda25cfeee5ea821e3a1daa2953592cda9250606001905060405180910390a1611c8d565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6005805460ff191660011790556007546716345785d8a000001115611ea15760405162461bcd60e51b8152602060048201526016602482015275189d58dad95d0818995b1bddc819d85d19481cd9595960521b604482015260640161076f565b6a069e10de76676d080000006008541015611efe5760405162461bcd60e51b815260206004820152601760248201527f726573657276652062656c6f7720676174652073656564000000000000000000604482015260640161076f565b6716345785d8a0000060076000828254611f189190612273565b925050819055506a069e10de76676d0800000060086000828254611f3c9190612273565b925050819055506a069e10de76676d0800000060096000828254611f609190612249565b909155505060025460405163a9059cbb60e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301526a069e10de76676d0800000060248301529091169063a9059cbb906044016020604051808303816000875af1158015611fe2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120069190612286565b61204b5760405162461bcd60e51b815260206004820152601660248201527519d85d19481d1bdad95b881cd959590819985a5b195960521b604482015260640161076f565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166716345785d8a0000060405160006040518083038185875af1925050503d80600081146120c0576040519150601f19603f3d011682016040523d82523d6000602084013e6120c5565b606091505b505090508061210d5760405162461bcd60e51b815260206004820152601460248201527319d85d1948189b98881cd959590819985a5b195960621b604482015260640161076f565b600260009054906101000a90046001600160a01b03166001600160a01b031663deb36e326040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561215d57600080fd5b505af1158015612171573d6000803e3d6000fd5b5050600354604080519182526716345785d8a0000060208301526a069e10de76676d08000000908201527f6599f3adedf8367d8c67547e92866bfc9f4d79268382c3d70ffb134386265aa292506060019050611bdb565b6000602082840312156121da57600080fd5b81356001600160a01b03811681146121f157600080fd5b9392505050565b60006020828403121561220a57600080fd5b5035919050565b6000806040838503121561222457600080fd5b50508035926020909101359150565b634e487b7160e01b600052601160045260246000fd5b8082018082111561157757611577612233565b808202811582820484141761157757611577612233565b8181038181111561157757611577612233565b60006020828403121561229857600080fd5b815180151581146121f157600080fd5b6001600160a01b03939093168352602083019190915260ff16604082015260600190565b6000602082840312156122de57600080fd5b505191905056fea264697066735822122014dd2ec1ee1240f7c46e9061f05a4e1ad37cea6b28ff2427f3575ed95b58479764736f6c634300081a0033000000000000000000000000dc3b32abd7c618d33fd57a1ab95ecdd70065e78500000000000000000000000072b9050747bc33d6fef0d76d49b0c7840da47e3b00000000000000000000000068bc72e819d0e3058c35f1f78169f91906d3d5fa00000000000000000000000072b9050747bc33d6fef0d76d49b0c7840da47e3b","recompiledBytecode":"0x60e060405234801561001057600080fd5b506040516125c43803806125c483398101604081905261002f916101c4565b806001600160a01b03811661005f57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b61006881610158565b50600180556001600160a01b0384166100ab5760405162461bcd60e51b815260206004820152600560248201526406e66743d360dc1b6044820152606401610056565b6001600160a01b0383166100e95760405162461bcd60e51b815260206004820152600560248201526406465763d360dc1b6044820152606401610056565b6001600160a01b03821661012b5760405162461bcd60e51b815260206004820152600960248201526806c705661756c743d360bc1b6044820152606401610056565b506001600160a01b0392831660805290821660a0521660c0526a2a003c79bac63447000000600855610218565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146101bf57600080fd5b919050565b600080600080608085870312156101da57600080fd5b6101e3856101a8565b93506101f1602086016101a8565b92506101ff604086016101a8565b915061020d606086016101a8565b905092959194509250565b60805160a05160c05161231b6102a9600039600081816103690152818161097401528181610a4101528181610ead01528181610f7201528181611f7f015261204f015260008181610528015281816119960152611a410152600081816104040152818161121d0152818161129e01528181611325015281816116c80152818161174901526117d0015261231b6000f3fe6080604052600436106102465760003560e01c80637ec103fe11610139578063bec82e69116100b6578063d85b3dca1161007a578063d85b3dca14610668578063da16cb4c1461067e578063e80eda3e14610694578063ef9b6ebc146106af578063f2fde38b146106c5578063fc0c546a146106e557600080fd5b8063bec82e69146105f4578063c569b5e91461060a578063c9e53c0514610621578063ce482d0214610637578063d3a64dad1461065257600080fd5b8063b2b0e320116100fd578063b2b0e32014610573578063b35a720014610589578063b83af1f4146105a3578063bbfaaa32146105c3578063bd1735ed146105de57600080fd5b80637ec103fe146104e35780638da5cb5b146104f85780638ea5220f14610516578063a30ad5f91461054a578063a32f89a61461055d57600080fd5b806340624824116101c757806352cb81011161018b57806352cb810114610459578063598678891461047957806370d53ef014610499578063715018a6146104af5780637ae7a775146104c457600080fd5b806340624824146103a3578063444cc556146103d457806347ccca02146103f257806349ff8e3a146104265780634c05abeb1461044457600080fd5b806319f546491161020e57806319f54649146102e75780631d544f33146103035780632e4eca78146103225780632e5e9e9f146103385780632f8673671461035757600080fd5b8063038fc0431461024b578063047e2a201461027357806309c1683b1461028a5780630a533b6f146102a8578063144fa6d7146102c7575b600080fd5b34801561025757600080fd5b50610260610705565b6040519081526020015b60405180910390f35b34801561027f57600080fd5b5061028861071c565b005b34801561029657600080fd5b50610260690ba58e545582d460000081565b3480156102b457600080fd5b506102606a027b46536c66c8e300000081565b3480156102d357600080fd5b506102886102e23660046121c8565b610bfd565b3480156102f357600080fd5b506102606716345785d8a0000081565b34801561030f57600080fd5b506102606a0eb436e4125b928600000081565b34801561032e57600080fd5b50610260600b5481565b34801561034457600080fd5b506102606a1b4c0595a86aa1c100000081565b34801561036357600080fd5b5061038b7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161026a565b3480156103af57600080fd5b506002546103c490600160a01b900460ff1681565b604051901515815260200161026a565b3480156103e057600080fd5b5061026069065a4da25d3016c0000081565b3480156103fe57600080fd5b5061038b7f000000000000000000000000000000000000000000000000000000000000000081565b34801561043257600080fd5b5061026069163c0fb846284fa0000081565b34801561045057600080fd5b50610260600b81565b34801561046557600080fd5b506102886104743660046121f8565b610ce3565b34801561048557600080fd5b50610260610494366004612211565b61106e565b3480156104a557600080fd5b506102606103e881565b3480156104bb57600080fd5b5061028861157d565b3480156104d057600080fd5b506102606a069e10de76676d0800000081565b3480156104ef57600080fd5b50610260609681565b34801561050457600080fd5b506000546001600160a01b031661038b565b34801561052257600080fd5b5061038b7f000000000000000000000000000000000000000000000000000000000000000081565b610260610558366004612211565b61158f565b34801561056957600080fd5b50610260600a5481565b34801561057f57600080fd5b506102606108ae81565b34801561059557600080fd5b506005546103c49060ff1681565b3480156105af57600080fd5b506102886105be3660046121f8565b611b22565b3480156105cf57600080fd5b506102606605af3107a4000081565b3480156105ea57600080fd5b5061026060075481565b34801561060057600080fd5b5061026061045781565b34801561061657600080fd5b50610260624c4b4081565b34801561062d57600080fd5b5061026060045481565b34801561064357600080fd5b5061026066071afd498d000081565b34801561065e57600080fd5b5061026060035481565b34801561067457600080fd5b5061026060095481565b34801561068a57600080fd5b5061026060065481565b3480156106a057600080fd5b5061026066016bcc41e9000081565b3480156106bb57600080fd5b5061026060085481565b3480156106d157600080fd5b506102886106e03660046121c8565b611be6565b3480156106f157600080fd5b5060025461038b906001600160a01b031681565b60006004546003546107179190612249565b905090565b610724611c21565b61072c611c4e565b60055460ff16156107785760405162461bcd60e51b815260206004820152601160248201527033b0ba329030b63932b0b23c9037b832b760791b60448201526064015b60405180910390fd5b6006546000036107c35760405162461bcd60e51b815260206004820152601660248201527519985b1b189858dac81b9bdd081cd8da19591d5b195960521b604482015260640161076f565b6006544210156108155760405162461bcd60e51b815260206004820152601a60248201527f66616c6c6261636b206e6f742079657420617661696c61626c65000000000000604482015260640161076f565b6000600754116108565760405162461bcd60e51b815260206004820152600c60248201526b6275636b657420656d70747960a01b604482015260640161076f565b6007546000610868624c4b408361225c565b90506008548111156108b35760405162461bcd60e51b81526020600482015260146024820152731c995cd95c9d99481a5b9cdd59999a58da595b9d60621b604482015260640161076f565b6a0eb436e4125b9286000000816009546108cd9190612249565b11156109165760405162461bcd60e51b81526020600482015260186024820152771b1c081d1bdad95b88189d5919d95d08195e18d95959195960421b604482015260640161076f565b6005805460ff19166001179055600060078190556008805483929061093c908490612273565b9250508190555080600960008282546109559190612249565b909155505060025460405163a9059cbb60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081166004830152602482018490529091169063a9059cbb906044016020604051808303816000875af11580156109cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109f19190612286565b610a3d5760405162461bcd60e51b815260206004820152601a60248201527f66616c6c6261636b20746f6b656e2073656564206661696c6564000000000000604482015260640161076f565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168360405160006040518083038185875af1925050503d8060008114610aaa576040519150601f19603f3d011682016040523d82523d6000602084013e610aaf565b606091505b5050905080610b005760405162461bcd60e51b815260206004820152601860248201527f66616c6c6261636b20626e622073656564206661696c65640000000000000000604482015260640161076f565b600260009054906101000a90046001600160a01b03166001600160a01b031663deb36e326040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610b5057600080fd5b505af1158015610b64573d6000803e3d6000fd5b5050600354604080519182526020820187905281018590527f6599f3adedf8367d8c67547e92866bfc9f4d79268382c3d70ffb134386265aa29250606001905060405180910390a1600354604080519182526020820185905281018390527f1f8c084d52ab5d8d9672342c2a70800589918deaeba55086a5ba12655064409c9060600160405180910390a1505050610bfb60018055565b565b610c05611c21565b600254600160a01b900460ff1615610c535760405162461bcd60e51b81526020600482015260116024820152701d1bdad95b88185b1c9958591e481cd95d607a1b604482015260640161076f565b6001600160a01b038116610c935760405162461bcd60e51b81526020600482015260076024820152660746f6b656e3d360cc1b604482015260640161076f565b600280546001600160a81b0319166001600160a01b038316908117600160a01b179091556040517fa07c91c183e42229e705a9795a1c06d76528b673788b849597364528c96eefb790600090a250565b610ceb611c21565b610cf3611c4e565b60055460ff16610d355760405162461bcd60e51b815260206004820152600d60248201526c33b0ba32903737ba1037b832b760991b604482015260640161076f565b60008111610d705760405162461bcd60e51b81526020600482015260086024820152670616d6f756e743d360c41b604482015260640161076f565b6a0eb436e4125b928600000081600954610d8a9190612249565b1115610dd35760405162461bcd60e51b81526020600482015260186024820152771b1c081d1bdad95b88189d5919d95d08195e18d95959195960421b604482015260640161076f565b600854811115610e1c5760405162461bcd60e51b81526020600482015260146024820152731c995cd95c9d99481a5b9cdd59999a58da595b9d60621b604482015260640161076f565b60075480610e5b5760405162461bcd60e51b815260206004820152600c60248201526b6275636b657420656d70747960a01b604482015260640161076f565b60006007819055508160086000828254610e759190612273565b925050819055508160096000828254610e8e9190612249565b909155505060025460405163a9059cbb60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081166004830152602482018590529091169063a9059cbb906044016020604051808303816000875af1158015610f06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2a9190612286565b610f6e5760405162461bcd60e51b81526020600482015260156024820152741d1bdad95b881d1c985b9cd9995c8819985a5b1959605a1b604482015260640161076f565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168260405160006040518083038185875af1925050503d8060008114610fdb576040519150601f19603f3d011682016040523d82523d6000602084013e610fe0565b606091505b50509050806110275760405162461bcd60e51b8152602060048201526013602482015272189b98881d1c985b9cd9995c8819985a5b1959606a1b604482015260640161076f565b60408051838152602081018590527f6f28fe44644d9cce2edee70ae29bed08bc6f03e2e28ee493daafe1a33d238faa910160405180910390a1505061106b60018055565b50565b6000611078611c4e565b600254600160a01b900460ff166110c15760405162461bcd60e51b815260206004820152600d60248201526c1d1bdad95b881b9bdd081cd95d609a1b604482015260640161076f565b8183036110fd5760405162461bcd60e51b815260206004820152600a60248201526939b0b6b2903a37b5b2b760b11b604482015260640161076f565b610457600454106111425760405162461bcd60e51b815260206004820152600f60248201526e067656e3220667573696f6e2063617608c1b604482015260640161076f565b6002546040516323b872dd60e01b815233600482015230602482015269065a4da25d3016c0000060448201526001600160a01b03909116906323b872dd906064016020604051808303816000875af11580156111a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111c69190612286565b6112065760405162461bcd60e51b81526020600482015260116024820152701d1bdad95b881c1d5b1b0819985a5b1959607a1b604482015260640161076f565b604051633b339cf560e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063766739ea9061125790339087906001906004016122a8565b600060405180830381600087803b15801561127157600080fd5b505af1158015611285573d6000803e3d6000fd5b5050604051633b339cf560e11b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016925063766739ea91506112da90339086906001906004016122a8565b600060405180830381600087803b1580156112f457600080fd5b505af1158015611308573d6000803e3d6000fd5b505060405162043ccb60e41b8152336004820152600260248201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031692506243ccb091506044016020604051808303816000875af1158015611377573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139b91906122cc565b600254604051630852cd8d60e31b815269065a4da25d3016c0000060048201529192506001600160a01b0316906342966c6890602401600060405180830381600087803b1580156113eb57600080fd5b505af11580156113ff573d6000803e3d6000fd5b505050506001600460008282546114169190612249565b909155505060025460405163a9059cbb60e01b815233600482015269163c0fb846284fa0000060248201526001600160a01b039091169063a9059cbb906044016020604051808303816000875af1158015611475573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114999190612286565b6114de5760405162461bcd60e51b81526020600482015260166024820152751c995dd85c99081d1c985b9cd9995c8819985a5b195960521b604482015260640161076f565b6040805169163c0fb846284fa0000081526002602082015233917ff381583145e90b82cc5e529bf4fc4d0e44397174cdf145c4251ac33ef195a424910160405180910390a2604080518481526020810184905290810182905233907f435fb3b33afac30fc438a0900a260c0277e6c51d974f3c60e20cacdb635945549060600160405180910390a261156e611c78565b61157760018055565b92915050565b611585611c21565b610bfb6000611df1565b6000611599611c4e565b600254600160a01b900460ff166115e25760405162461bcd60e51b815260206004820152600d60248201526c1d1bdad95b881b9bdd081cd95d609a1b604482015260640161076f565b66071afd498d000034146116305760405162461bcd60e51b81526020600482015260156024820152743332b29036bab9ba1031329018171818191021272160591b604482015260640161076f565b81830361166c5760405162461bcd60e51b815260206004820152600a60248201526939b0b6b2903a37b5b2b760b11b604482015260640161076f565b6108ae600354106116b15760405162461bcd60e51b815260206004820152600f60248201526e067656e3120667573696f6e2063617608c1b604482015260640161076f565b604051633b339cf560e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063766739ea9061170290339087906000906004016122a8565b600060405180830381600087803b15801561171c57600080fd5b505af1158015611730573d6000803e3d6000fd5b5050604051633b339cf560e11b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016925063766739ea915061178590339086906000906004016122a8565b600060405180830381600087803b15801561179f57600080fd5b505af11580156117b3573d6000803e3d6000fd5b505060405162043ccb60e41b8152336004820152600160248201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031692506243ccb091506044016020604051808303816000875af1158015611822573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061184691906122cc565b905060016003600082825461185b9190612249565b909155505060025460405163a9059cbb60e01b8152336004820152690ba58e545582d460000060248201526001600160a01b039091169063a9059cbb906044016020604051808303816000875af11580156118ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118de9190612286565b6119235760405162461bcd60e51b81526020600482015260166024820152751c995dd85c99081d1c985b9cd9995c8819985a5b195960521b604482015260640161076f565b60408051690ba58e545582d460000081526001602082015233917ff381583145e90b82cc5e529bf4fc4d0e44397174cdf145c4251ac33ef195a424910160405180910390a26605af3107a40000600760008282546119819190612249565b90915550506040516000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169066016bcc41e90000908381818185875af1925050503d80600081146119f8576040519150601f19603f3d011682016040523d82523d6000602084013e6119fd565b606091505b5050905080611a3f5760405162461bcd60e51b815260206004820152600e60248201526d19195d881999594819985a5b195960921b604482015260640161076f565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03167f57f7aa0e3afd334225fad63af931d9d34a4168aa22f4a329b6e71f6bd95baf0b66016bcc41e90000604051611aa191815260200190565b60405180910390a2604080518581526020810185905290810183905233907ff91e93c886fcd7138a6a800e2e8612b706d8d6346313f65ef7089198b74766099060600160405180910390a2611af4611c78565b60055460ff16158015611b0b57506103e860035410155b15611b1857611b18611e41565b5061157760018055565b611b2a611c21565b60065415611b715760405162461bcd60e51b815260206004820152601460248201527319985b1b189858dac8185b1c9958591e481cd95d60621b604482015260640161076f565b80600003611baa5760405162461bcd60e51b8152602060048201526006602482015265074696d653d360d41b604482015260640161076f565b60068190556040518181527fcd9bdbe81f6c85749e2191f281a58c3c05de2b6a3dd249ebf5edfa21d689284c906020015b60405180910390a150565b611bee611c21565b6001600160a01b038116611c1857604051631e4fbdf760e01b81526000600482015260240161076f565b61106b81611df1565b6000546001600160a01b03163314610bfb5760405163118cdaa760e01b815233600482015260240161076f565b600260015403611c7157604051633ee5aeb560e01b815260040160405180910390fd5b6002600155565b6000600454600354611c8a9190612249565b90505b600b8054108015611caa57506a1b4c0595a86aa1c1000000600a54105b8015611cd057506096600b546001611cc29190612249565b611ccc919061225c565b8110155b1561106b576001600b6000828254611ce89190612249565b925050819055506a027b46536c66c8e3000000600a6000828254611d0c9190612249565b925050819055506a027b46536c66c8e300000060086000828254611d309190612273565b9091555050600254604051630852cd8d60e31b81526a027b46536c66c8e300000060048201526001600160a01b03909116906342966c6890602401600060405180830381600087803b158015611d8557600080fd5b505af1158015611d99573d6000803e3d6000fd5b5050600b54600a54604080519283526a027b46536c66c8e300000060208401528201527f2948de8d6683b5bbf7333a4e2272b27cda25cfeee5ea821e3a1daa2953592cda9250606001905060405180910390a1611c8d565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6005805460ff191660011790556007546716345785d8a000001115611ea15760405162461bcd60e51b8152602060048201526016602482015275189d58dad95d0818995b1bddc819d85d19481cd9595960521b604482015260640161076f565b6a069e10de76676d080000006008541015611efe5760405162461bcd60e51b815260206004820152601760248201527f726573657276652062656c6f7720676174652073656564000000000000000000604482015260640161076f565b6716345785d8a0000060076000828254611f189190612273565b925050819055506a069e10de76676d0800000060086000828254611f3c9190612273565b925050819055506a069e10de76676d0800000060096000828254611f609190612249565b909155505060025460405163a9059cbb60e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301526a069e10de76676d0800000060248301529091169063a9059cbb906044016020604051808303816000875af1158015611fe2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120069190612286565b61204b5760405162461bcd60e51b815260206004820152601660248201527519d85d19481d1bdad95b881cd959590819985a5b195960521b604482015260640161076f565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166716345785d8a0000060405160006040518083038185875af1925050503d80600081146120c0576040519150601f19603f3d011682016040523d82523d6000602084013e6120c5565b606091505b505090508061210d5760405162461bcd60e51b815260206004820152601460248201527319d85d1948189b98881cd959590819985a5b195960621b604482015260640161076f565b600260009054906101000a90046001600160a01b03166001600160a01b031663deb36e326040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561215d57600080fd5b505af1158015612171573d6000803e3d6000fd5b5050600354604080519182526716345785d8a0000060208301526a069e10de76676d08000000908201527f6599f3adedf8367d8c67547e92866bfc9f4d79268382c3d70ffb134386265aa292506060019050611bdb565b6000602082840312156121da57600080fd5b81356001600160a01b03811681146121f157600080fd5b9392505050565b60006020828403121561220a57600080fd5b5035919050565b6000806040838503121561222457600080fd5b50508035926020909101359150565b634e487b7160e01b600052601160045260246000fd5b8082018082111561157757611577612233565b808202811582820484141761157757611577612233565b8181038181111561157757611577612233565b60006020828403121561229857600080fd5b815180151581146121f157600080fd5b6001600160a01b03939093168352602083019190915260ff16604082015260600190565b6000602082840312156122de57600080fd5b505191905056fea264697066735822122014dd2ec1ee1240f7c46e9061f05a4e1ad37cea6b28ff2427f3575ed95b58479764736f6c634300081a0033","sourceMap":"2927:11427:22:-:0;;;6143:451;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6231:6;-1:-1:-1;;;;;1273:26:0;;1269:95;;1322:31;;-1:-1:-1;;;1322:31:0;;1350:1;1322:31;;;811:51:27;784:18;;1322:31:0;;;;;;;;1269:95;1373:32;1392:12;1373:18;:32::i;:::-;-1:-1:-1;1857:1:15;2061:21;;-1:-1:-1;;;;;6257:18:22;::::1;6249:36;;;::::0;-1:-1:-1;;;6249:36:22;;1075:2:27;6249:36:22::1;::::0;::::1;1057:21:27::0;1114:1;1094:18;;;1087:29;-1:-1:-1;;;1132:18:27;;;1125:35;1177:18;;6249:36:22::1;873:328:27::0;6249:36:22::1;-1:-1:-1::0;;;;;6303:24:22;::::1;6295:42;;;::::0;-1:-1:-1;;;6295:42:22;;1408:2:27;6295:42:22::1;::::0;::::1;1390:21:27::0;1447:1;1427:18;;;1420:29;-1:-1:-1;;;1465:18:27;;;1458:35;1510:18;;6295:42:22::1;1206:328:27::0;6295:42:22::1;-1:-1:-1::0;;;;;6355:22:22;::::1;6347:44;;;::::0;-1:-1:-1;;;6347:44:22;;1741:2:27;6347:44:22::1;::::0;::::1;1723:21:27::0;1780:1;1760:18;;;1753:29;-1:-1:-1;;;1798:18:27;;;1791:39;1847:18;;6347:44:22::1;1539:332:27::0;6347:44:22::1;-1:-1:-1::0;;;;;;6401:27:22;;::::1;;::::0;6438:22;;::::1;;::::0;6470:18:::1;;::::0;6519:16:::1;6498:18;:37:::0;2927:11427;;2912:187:0;2985:16;3004:6;;-1:-1:-1;;;;;3020:17:0;;;-1:-1:-1;;;;;;3020:17:0;;;;;;3052:40;;3004:6;;;;;;;3052:40;;2985:16;3052:40;2975:124;2912:187;:::o;14:177:27:-;93:13;;-1:-1:-1;;;;;135:31:27;;125:42;;115:70;;181:1;178;171:12;115:70;14:177;;;:::o;196:464::-;293:6;301;309;317;370:3;358:9;349:7;345:23;341:33;338:53;;;387:1;384;377:12;338:53;410:40;440:9;410:40;:::i;:::-;400:50;;469:49;514:2;503:9;499:18;469:49;:::i;:::-;459:59;;537:49;582:2;571:9;567:18;537:49;:::i;:::-;527:59;;605:49;650:2;639:9;635:18;605:49;:::i;:::-;595:59;;196:464;;;;;;;:::o;1539:332::-;2927:11427:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","linkReferences":{},"cborAuxdata":{"1":{"value":"0xa264697066735822122014dd2ec1ee1240f7c46e9061f05a4e1ad37cea6b28ff2427f3575ed95b58479764736f6c634300081a0033","offset":9615}},"transformations":[{"type":"insert","offset":9668,"reason":"constructorArguments"}],"transformationValues":{"constructorArguments":"0x000000000000000000000000dc3b32abd7c618d33fd57a1ab95ecdd70065e78500000000000000000000000072b9050747bc33d6fef0d76d49b0c7840da47e3b00000000000000000000000068bc72e819d0e3058c35f1f78169f91906d3d5fa00000000000000000000000072b9050747bc33d6fef0d76d49b0c7840da47e3b"}},"runtimeBytecode":{"onchainBytecode":"0x6080604052600436106102465760003560e01c80637ec103fe11610139578063bec82e69116100b6578063d85b3dca1161007a578063d85b3dca14610668578063da16cb4c1461067e578063e80eda3e14610694578063ef9b6ebc146106af578063f2fde38b146106c5578063fc0c546a146106e557600080fd5b8063bec82e69146105f4578063c569b5e91461060a578063c9e53c0514610621578063ce482d0214610637578063d3a64dad1461065257600080fd5b8063b2b0e320116100fd578063b2b0e32014610573578063b35a720014610589578063b83af1f4146105a3578063bbfaaa32146105c3578063bd1735ed146105de57600080fd5b80637ec103fe146104e35780638da5cb5b146104f85780638ea5220f14610516578063a30ad5f91461054a578063a32f89a61461055d57600080fd5b806340624824116101c757806352cb81011161018b57806352cb810114610459578063598678891461047957806370d53ef014610499578063715018a6146104af5780637ae7a775146104c457600080fd5b806340624824146103a3578063444cc556146103d457806347ccca02146103f257806349ff8e3a146104265780634c05abeb1461044457600080fd5b806319f546491161020e57806319f54649146102e75780631d544f33146103035780632e4eca78146103225780632e5e9e9f146103385780632f8673671461035757600080fd5b8063038fc0431461024b578063047e2a201461027357806309c1683b1461028a5780630a533b6f146102a8578063144fa6d7146102c7575b600080fd5b34801561025757600080fd5b50610260610705565b6040519081526020015b60405180910390f35b34801561027f57600080fd5b5061028861071c565b005b34801561029657600080fd5b50610260690ba58e545582d460000081565b3480156102b457600080fd5b506102606a027b46536c66c8e300000081565b3480156102d357600080fd5b506102886102e23660046121c8565b610bfd565b3480156102f357600080fd5b506102606716345785d8a0000081565b34801561030f57600080fd5b506102606a0eb436e4125b928600000081565b34801561032e57600080fd5b50610260600b5481565b34801561034457600080fd5b506102606a1b4c0595a86aa1c100000081565b34801561036357600080fd5b5061038b7f00000000000000000000000068bc72e819d0e3058c35f1f78169f91906d3d5fa81565b6040516001600160a01b03909116815260200161026a565b3480156103af57600080fd5b506002546103c490600160a01b900460ff1681565b604051901515815260200161026a565b3480156103e057600080fd5b5061026069065a4da25d3016c0000081565b3480156103fe57600080fd5b5061038b7f000000000000000000000000dc3b32abd7c618d33fd57a1ab95ecdd70065e78581565b34801561043257600080fd5b5061026069163c0fb846284fa0000081565b34801561045057600080fd5b50610260600b81565b34801561046557600080fd5b506102886104743660046121f8565b610ce3565b34801561048557600080fd5b50610260610494366004612211565b61106e565b3480156104a557600080fd5b506102606103e881565b3480156104bb57600080fd5b5061028861157d565b3480156104d057600080fd5b506102606a069e10de76676d0800000081565b3480156104ef57600080fd5b50610260609681565b34801561050457600080fd5b506000546001600160a01b031661038b565b34801561052257600080fd5b5061038b7f00000000000000000000000072b9050747bc33d6fef0d76d49b0c7840da47e3b81565b610260610558366004612211565b61158f565b34801561056957600080fd5b50610260600a5481565b34801561057f57600080fd5b506102606108ae81565b34801561059557600080fd5b506005546103c49060ff1681565b3480156105af57600080fd5b506102886105be3660046121f8565b611b22565b3480156105cf57600080fd5b506102606605af3107a4000081565b3480156105ea57600080fd5b5061026060075481565b34801561060057600080fd5b5061026061045781565b34801561061657600080fd5b50610260624c4b4081565b34801561062d57600080fd5b5061026060045481565b34801561064357600080fd5b5061026066071afd498d000081565b34801561065e57600080fd5b5061026060035481565b34801561067457600080fd5b5061026060095481565b34801561068a57600080fd5b5061026060065481565b3480156106a057600080fd5b5061026066016bcc41e9000081565b3480156106bb57600080fd5b5061026060085481565b3480156106d157600080fd5b506102886106e03660046121c8565b611be6565b3480156106f157600080fd5b5060025461038b906001600160a01b031681565b60006004546003546107179190612249565b905090565b610724611c21565b61072c611c4e565b60055460ff16156107785760405162461bcd60e51b815260206004820152601160248201527033b0ba329030b63932b0b23c9037b832b760791b60448201526064015b60405180910390fd5b6006546000036107c35760405162461bcd60e51b815260206004820152601660248201527519985b1b189858dac81b9bdd081cd8da19591d5b195960521b604482015260640161076f565b6006544210156108155760405162461bcd60e51b815260206004820152601a60248201527f66616c6c6261636b206e6f742079657420617661696c61626c65000000000000604482015260640161076f565b6000600754116108565760405162461bcd60e51b815260206004820152600c60248201526b6275636b657420656d70747960a01b604482015260640161076f565b6007546000610868624c4b408361225c565b90506008548111156108b35760405162461bcd60e51b81526020600482015260146024820152731c995cd95c9d99481a5b9cdd59999a58da595b9d60621b604482015260640161076f565b6a0eb436e4125b9286000000816009546108cd9190612249565b11156109165760405162461bcd60e51b81526020600482015260186024820152771b1c081d1bdad95b88189d5919d95d08195e18d95959195960421b604482015260640161076f565b6005805460ff19166001179055600060078190556008805483929061093c908490612273565b9250508190555080600960008282546109559190612249565b909155505060025460405163a9059cbb60e01b81526001600160a01b037f00000000000000000000000068bc72e819d0e3058c35f1f78169f91906d3d5fa81166004830152602482018490529091169063a9059cbb906044016020604051808303816000875af11580156109cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109f19190612286565b610a3d5760405162461bcd60e51b815260206004820152601a60248201527f66616c6c6261636b20746f6b656e2073656564206661696c6564000000000000604482015260640161076f565b60007f00000000000000000000000068bc72e819d0e3058c35f1f78169f91906d3d5fa6001600160a01b03168360405160006040518083038185875af1925050503d8060008114610aaa576040519150601f19603f3d011682016040523d82523d6000602084013e610aaf565b606091505b5050905080610b005760405162461bcd60e51b815260206004820152601860248201527f66616c6c6261636b20626e622073656564206661696c65640000000000000000604482015260640161076f565b600260009054906101000a90046001600160a01b03166001600160a01b031663deb36e326040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610b5057600080fd5b505af1158015610b64573d6000803e3d6000fd5b5050600354604080519182526020820187905281018590527f6599f3adedf8367d8c67547e92866bfc9f4d79268382c3d70ffb134386265aa29250606001905060405180910390a1600354604080519182526020820185905281018390527f1f8c084d52ab5d8d9672342c2a70800589918deaeba55086a5ba12655064409c9060600160405180910390a1505050610bfb60018055565b565b610c05611c21565b600254600160a01b900460ff1615610c535760405162461bcd60e51b81526020600482015260116024820152701d1bdad95b88185b1c9958591e481cd95d607a1b604482015260640161076f565b6001600160a01b038116610c935760405162461bcd60e51b81526020600482015260076024820152660746f6b656e3d360cc1b604482015260640161076f565b600280546001600160a81b0319166001600160a01b038316908117600160a01b179091556040517fa07c91c183e42229e705a9795a1c06d76528b673788b849597364528c96eefb790600090a250565b610ceb611c21565b610cf3611c4e565b60055460ff16610d355760405162461bcd60e51b815260206004820152600d60248201526c33b0ba32903737ba1037b832b760991b604482015260640161076f565b60008111610d705760405162461bcd60e51b81526020600482015260086024820152670616d6f756e743d360c41b604482015260640161076f565b6a0eb436e4125b928600000081600954610d8a9190612249565b1115610dd35760405162461bcd60e51b81526020600482015260186024820152771b1c081d1bdad95b88189d5919d95d08195e18d95959195960421b604482015260640161076f565b600854811115610e1c5760405162461bcd60e51b81526020600482015260146024820152731c995cd95c9d99481a5b9cdd59999a58da595b9d60621b604482015260640161076f565b60075480610e5b5760405162461bcd60e51b815260206004820152600c60248201526b6275636b657420656d70747960a01b604482015260640161076f565b60006007819055508160086000828254610e759190612273565b925050819055508160096000828254610e8e9190612249565b909155505060025460405163a9059cbb60e01b81526001600160a01b037f00000000000000000000000068bc72e819d0e3058c35f1f78169f91906d3d5fa81166004830152602482018590529091169063a9059cbb906044016020604051808303816000875af1158015610f06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2a9190612286565b610f6e5760405162461bcd60e51b81526020600482015260156024820152741d1bdad95b881d1c985b9cd9995c8819985a5b1959605a1b604482015260640161076f565b60007f00000000000000000000000068bc72e819d0e3058c35f1f78169f91906d3d5fa6001600160a01b03168260405160006040518083038185875af1925050503d8060008114610fdb576040519150601f19603f3d011682016040523d82523d6000602084013e610fe0565b606091505b50509050806110275760405162461bcd60e51b8152602060048201526013602482015272189b98881d1c985b9cd9995c8819985a5b1959606a1b604482015260640161076f565b60408051838152602081018590527f6f28fe44644d9cce2edee70ae29bed08bc6f03e2e28ee493daafe1a33d238faa910160405180910390a1505061106b60018055565b50565b6000611078611c4e565b600254600160a01b900460ff166110c15760405162461bcd60e51b815260206004820152600d60248201526c1d1bdad95b881b9bdd081cd95d609a1b604482015260640161076f565b8183036110fd5760405162461bcd60e51b815260206004820152600a60248201526939b0b6b2903a37b5b2b760b11b604482015260640161076f565b610457600454106111425760405162461bcd60e51b815260206004820152600f60248201526e067656e3220667573696f6e2063617608c1b604482015260640161076f565b6002546040516323b872dd60e01b815233600482015230602482015269065a4da25d3016c0000060448201526001600160a01b03909116906323b872dd906064016020604051808303816000875af11580156111a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111c69190612286565b6112065760405162461bcd60e51b81526020600482015260116024820152701d1bdad95b881c1d5b1b0819985a5b1959607a1b604482015260640161076f565b604051633b339cf560e11b81526001600160a01b037f000000000000000000000000dc3b32abd7c618d33fd57a1ab95ecdd70065e785169063766739ea9061125790339087906001906004016122a8565b600060405180830381600087803b15801561127157600080fd5b505af1158015611285573d6000803e3d6000fd5b5050604051633b339cf560e11b81526001600160a01b037f000000000000000000000000dc3b32abd7c618d33fd57a1ab95ecdd70065e78516925063766739ea91506112da90339086906001906004016122a8565b600060405180830381600087803b1580156112f457600080fd5b505af1158015611308573d6000803e3d6000fd5b505060405162043ccb60e41b8152336004820152600260248201527f000000000000000000000000dc3b32abd7c618d33fd57a1ab95ecdd70065e7856001600160a01b031692506243ccb091506044016020604051808303816000875af1158015611377573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139b91906122cc565b600254604051630852cd8d60e31b815269065a4da25d3016c0000060048201529192506001600160a01b0316906342966c6890602401600060405180830381600087803b1580156113eb57600080fd5b505af11580156113ff573d6000803e3d6000fd5b505050506001600460008282546114169190612249565b909155505060025460405163a9059cbb60e01b815233600482015269163c0fb846284fa0000060248201526001600160a01b039091169063a9059cbb906044016020604051808303816000875af1158015611475573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114999190612286565b6114de5760405162461bcd60e51b81526020600482015260166024820152751c995dd85c99081d1c985b9cd9995c8819985a5b195960521b604482015260640161076f565b6040805169163c0fb846284fa0000081526002602082015233917ff381583145e90b82cc5e529bf4fc4d0e44397174cdf145c4251ac33ef195a424910160405180910390a2604080518481526020810184905290810182905233907f435fb3b33afac30fc438a0900a260c0277e6c51d974f3c60e20cacdb635945549060600160405180910390a261156e611c78565b61157760018055565b92915050565b611585611c21565b610bfb6000611df1565b6000611599611c4e565b600254600160a01b900460ff166115e25760405162461bcd60e51b815260206004820152600d60248201526c1d1bdad95b881b9bdd081cd95d609a1b604482015260640161076f565b66071afd498d000034146116305760405162461bcd60e51b81526020600482015260156024820152743332b29036bab9ba1031329018171818191021272160591b604482015260640161076f565b81830361166c5760405162461bcd60e51b815260206004820152600a60248201526939b0b6b2903a37b5b2b760b11b604482015260640161076f565b6108ae600354106116b15760405162461bcd60e51b815260206004820152600f60248201526e067656e3120667573696f6e2063617608c1b604482015260640161076f565b604051633b339cf560e11b81526001600160a01b037f000000000000000000000000dc3b32abd7c618d33fd57a1ab95ecdd70065e785169063766739ea9061170290339087906000906004016122a8565b600060405180830381600087803b15801561171c57600080fd5b505af1158015611730573d6000803e3d6000fd5b5050604051633b339cf560e11b81526001600160a01b037f000000000000000000000000dc3b32abd7c618d33fd57a1ab95ecdd70065e78516925063766739ea915061178590339086906000906004016122a8565b600060405180830381600087803b15801561179f57600080fd5b505af11580156117b3573d6000803e3d6000fd5b505060405162043ccb60e41b8152336004820152600160248201527f000000000000000000000000dc3b32abd7c618d33fd57a1ab95ecdd70065e7856001600160a01b031692506243ccb091506044016020604051808303816000875af1158015611822573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061184691906122cc565b905060016003600082825461185b9190612249565b909155505060025460405163a9059cbb60e01b8152336004820152690ba58e545582d460000060248201526001600160a01b039091169063a9059cbb906044016020604051808303816000875af11580156118ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118de9190612286565b6119235760405162461bcd60e51b81526020600482015260166024820152751c995dd85c99081d1c985b9cd9995c8819985a5b195960521b604482015260640161076f565b60408051690ba58e545582d460000081526001602082015233917ff381583145e90b82cc5e529bf4fc4d0e44397174cdf145c4251ac33ef195a424910160405180910390a26605af3107a40000600760008282546119819190612249565b90915550506040516000906001600160a01b037f00000000000000000000000072b9050747bc33d6fef0d76d49b0c7840da47e3b169066016bcc41e90000908381818185875af1925050503d80600081146119f8576040519150601f19603f3d011682016040523d82523d6000602084013e6119fd565b606091505b5050905080611a3f5760405162461bcd60e51b815260206004820152600e60248201526d19195d881999594819985a5b195960921b604482015260640161076f565b7f00000000000000000000000072b9050747bc33d6fef0d76d49b0c7840da47e3b6001600160a01b03167f57f7aa0e3afd334225fad63af931d9d34a4168aa22f4a329b6e71f6bd95baf0b66016bcc41e90000604051611aa191815260200190565b60405180910390a2604080518581526020810185905290810183905233907ff91e93c886fcd7138a6a800e2e8612b706d8d6346313f65ef7089198b74766099060600160405180910390a2611af4611c78565b60055460ff16158015611b0b57506103e860035410155b15611b1857611b18611e41565b5061157760018055565b611b2a611c21565b60065415611b715760405162461bcd60e51b815260206004820152601460248201527319985b1b189858dac8185b1c9958591e481cd95d60621b604482015260640161076f565b80600003611baa5760405162461bcd60e51b8152602060048201526006602482015265074696d653d360d41b604482015260640161076f565b60068190556040518181527fcd9bdbe81f6c85749e2191f281a58c3c05de2b6a3dd249ebf5edfa21d689284c906020015b60405180910390a150565b611bee611c21565b6001600160a01b038116611c1857604051631e4fbdf760e01b81526000600482015260240161076f565b61106b81611df1565b6000546001600160a01b03163314610bfb5760405163118cdaa760e01b815233600482015260240161076f565b600260015403611c7157604051633ee5aeb560e01b815260040160405180910390fd5b6002600155565b6000600454600354611c8a9190612249565b90505b600b8054108015611caa57506a1b4c0595a86aa1c1000000600a54105b8015611cd057506096600b546001611cc29190612249565b611ccc919061225c565b8110155b1561106b576001600b6000828254611ce89190612249565b925050819055506a027b46536c66c8e3000000600a6000828254611d0c9190612249565b925050819055506a027b46536c66c8e300000060086000828254611d309190612273565b9091555050600254604051630852cd8d60e31b81526a027b46536c66c8e300000060048201526001600160a01b03909116906342966c6890602401600060405180830381600087803b158015611d8557600080fd5b505af1158015611d99573d6000803e3d6000fd5b5050600b54600a54604080519283526a027b46536c66c8e300000060208401528201527f2948de8d6683b5bbf7333a4e2272b27cda25cfeee5ea821e3a1daa2953592cda9250606001905060405180910390a1611c8d565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6005805460ff191660011790556007546716345785d8a000001115611ea15760405162461bcd60e51b8152602060048201526016602482015275189d58dad95d0818995b1bddc819d85d19481cd9595960521b604482015260640161076f565b6a069e10de76676d080000006008541015611efe5760405162461bcd60e51b815260206004820152601760248201527f726573657276652062656c6f7720676174652073656564000000000000000000604482015260640161076f565b6716345785d8a0000060076000828254611f189190612273565b925050819055506a069e10de76676d0800000060086000828254611f3c9190612273565b925050819055506a069e10de76676d0800000060096000828254611f609190612249565b909155505060025460405163a9059cbb60e01b81526001600160a01b037f00000000000000000000000068bc72e819d0e3058c35f1f78169f91906d3d5fa811660048301526a069e10de76676d0800000060248301529091169063a9059cbb906044016020604051808303816000875af1158015611fe2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120069190612286565b61204b5760405162461bcd60e51b815260206004820152601660248201527519d85d19481d1bdad95b881cd959590819985a5b195960521b604482015260640161076f565b60007f00000000000000000000000068bc72e819d0e3058c35f1f78169f91906d3d5fa6001600160a01b03166716345785d8a0000060405160006040518083038185875af1925050503d80600081146120c0576040519150601f19603f3d011682016040523d82523d6000602084013e6120c5565b606091505b505090508061210d5760405162461bcd60e51b815260206004820152601460248201527319d85d1948189b98881cd959590819985a5b195960621b604482015260640161076f565b600260009054906101000a90046001600160a01b03166001600160a01b031663deb36e326040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561215d57600080fd5b505af1158015612171573d6000803e3d6000fd5b5050600354604080519182526716345785d8a0000060208301526a069e10de76676d08000000908201527f6599f3adedf8367d8c67547e92866bfc9f4d79268382c3d70ffb134386265aa292506060019050611bdb565b6000602082840312156121da57600080fd5b81356001600160a01b03811681146121f157600080fd5b9392505050565b60006020828403121561220a57600080fd5b5035919050565b6000806040838503121561222457600080fd5b50508035926020909101359150565b634e487b7160e01b600052601160045260246000fd5b8082018082111561157757611577612233565b808202811582820484141761157757611577612233565b8181038181111561157757611577612233565b60006020828403121561229857600080fd5b815180151581146121f157600080fd5b6001600160a01b03939093168352602083019190915260ff16604082015260600190565b6000602082840312156122de57600080fd5b505191905056fea264697066735822122014dd2ec1ee1240f7c46e9061f05a4e1ad37cea6b28ff2427f3575ed95b58479764736f6c634300081a0033","recompiledBytecode":"0x6080604052600436106102465760003560e01c80637ec103fe11610139578063bec82e69116100b6578063d85b3dca1161007a578063d85b3dca14610668578063da16cb4c1461067e578063e80eda3e14610694578063ef9b6ebc146106af578063f2fde38b146106c5578063fc0c546a146106e557600080fd5b8063bec82e69146105f4578063c569b5e91461060a578063c9e53c0514610621578063ce482d0214610637578063d3a64dad1461065257600080fd5b8063b2b0e320116100fd578063b2b0e32014610573578063b35a720014610589578063b83af1f4146105a3578063bbfaaa32146105c3578063bd1735ed146105de57600080fd5b80637ec103fe146104e35780638da5cb5b146104f85780638ea5220f14610516578063a30ad5f91461054a578063a32f89a61461055d57600080fd5b806340624824116101c757806352cb81011161018b57806352cb810114610459578063598678891461047957806370d53ef014610499578063715018a6146104af5780637ae7a775146104c457600080fd5b806340624824146103a3578063444cc556146103d457806347ccca02146103f257806349ff8e3a146104265780634c05abeb1461044457600080fd5b806319f546491161020e57806319f54649146102e75780631d544f33146103035780632e4eca78146103225780632e5e9e9f146103385780632f8673671461035757600080fd5b8063038fc0431461024b578063047e2a201461027357806309c1683b1461028a5780630a533b6f146102a8578063144fa6d7146102c7575b600080fd5b34801561025757600080fd5b50610260610705565b6040519081526020015b60405180910390f35b34801561027f57600080fd5b5061028861071c565b005b34801561029657600080fd5b50610260690ba58e545582d460000081565b3480156102b457600080fd5b506102606a027b46536c66c8e300000081565b3480156102d357600080fd5b506102886102e23660046121c8565b610bfd565b3480156102f357600080fd5b506102606716345785d8a0000081565b34801561030f57600080fd5b506102606a0eb436e4125b928600000081565b34801561032e57600080fd5b50610260600b5481565b34801561034457600080fd5b506102606a1b4c0595a86aa1c100000081565b34801561036357600080fd5b5061038b7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161026a565b3480156103af57600080fd5b506002546103c490600160a01b900460ff1681565b604051901515815260200161026a565b3480156103e057600080fd5b5061026069065a4da25d3016c0000081565b3480156103fe57600080fd5b5061038b7f000000000000000000000000000000000000000000000000000000000000000081565b34801561043257600080fd5b5061026069163c0fb846284fa0000081565b34801561045057600080fd5b50610260600b81565b34801561046557600080fd5b506102886104743660046121f8565b610ce3565b34801561048557600080fd5b50610260610494366004612211565b61106e565b3480156104a557600080fd5b506102606103e881565b3480156104bb57600080fd5b5061028861157d565b3480156104d057600080fd5b506102606a069e10de76676d0800000081565b3480156104ef57600080fd5b50610260609681565b34801561050457600080fd5b506000546001600160a01b031661038b565b34801561052257600080fd5b5061038b7f000000000000000000000000000000000000000000000000000000000000000081565b610260610558366004612211565b61158f565b34801561056957600080fd5b50610260600a5481565b34801561057f57600080fd5b506102606108ae81565b34801561059557600080fd5b506005546103c49060ff1681565b3480156105af57600080fd5b506102886105be3660046121f8565b611b22565b3480156105cf57600080fd5b506102606605af3107a4000081565b3480156105ea57600080fd5b5061026060075481565b34801561060057600080fd5b5061026061045781565b34801561061657600080fd5b50610260624c4b4081565b34801561062d57600080fd5b5061026060045481565b34801561064357600080fd5b5061026066071afd498d000081565b34801561065e57600080fd5b5061026060035481565b34801561067457600080fd5b5061026060095481565b34801561068a57600080fd5b5061026060065481565b3480156106a057600080fd5b5061026066016bcc41e9000081565b3480156106bb57600080fd5b5061026060085481565b3480156106d157600080fd5b506102886106e03660046121c8565b611be6565b3480156106f157600080fd5b5060025461038b906001600160a01b031681565b60006004546003546107179190612249565b905090565b610724611c21565b61072c611c4e565b60055460ff16156107785760405162461bcd60e51b815260206004820152601160248201527033b0ba329030b63932b0b23c9037b832b760791b60448201526064015b60405180910390fd5b6006546000036107c35760405162461bcd60e51b815260206004820152601660248201527519985b1b189858dac81b9bdd081cd8da19591d5b195960521b604482015260640161076f565b6006544210156108155760405162461bcd60e51b815260206004820152601a60248201527f66616c6c6261636b206e6f742079657420617661696c61626c65000000000000604482015260640161076f565b6000600754116108565760405162461bcd60e51b815260206004820152600c60248201526b6275636b657420656d70747960a01b604482015260640161076f565b6007546000610868624c4b408361225c565b90506008548111156108b35760405162461bcd60e51b81526020600482015260146024820152731c995cd95c9d99481a5b9cdd59999a58da595b9d60621b604482015260640161076f565b6a0eb436e4125b9286000000816009546108cd9190612249565b11156109165760405162461bcd60e51b81526020600482015260186024820152771b1c081d1bdad95b88189d5919d95d08195e18d95959195960421b604482015260640161076f565b6005805460ff19166001179055600060078190556008805483929061093c908490612273565b9250508190555080600960008282546109559190612249565b909155505060025460405163a9059cbb60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081166004830152602482018490529091169063a9059cbb906044016020604051808303816000875af11580156109cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109f19190612286565b610a3d5760405162461bcd60e51b815260206004820152601a60248201527f66616c6c6261636b20746f6b656e2073656564206661696c6564000000000000604482015260640161076f565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168360405160006040518083038185875af1925050503d8060008114610aaa576040519150601f19603f3d011682016040523d82523d6000602084013e610aaf565b606091505b5050905080610b005760405162461bcd60e51b815260206004820152601860248201527f66616c6c6261636b20626e622073656564206661696c65640000000000000000604482015260640161076f565b600260009054906101000a90046001600160a01b03166001600160a01b031663deb36e326040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610b5057600080fd5b505af1158015610b64573d6000803e3d6000fd5b5050600354604080519182526020820187905281018590527f6599f3adedf8367d8c67547e92866bfc9f4d79268382c3d70ffb134386265aa29250606001905060405180910390a1600354604080519182526020820185905281018390527f1f8c084d52ab5d8d9672342c2a70800589918deaeba55086a5ba12655064409c9060600160405180910390a1505050610bfb60018055565b565b610c05611c21565b600254600160a01b900460ff1615610c535760405162461bcd60e51b81526020600482015260116024820152701d1bdad95b88185b1c9958591e481cd95d607a1b604482015260640161076f565b6001600160a01b038116610c935760405162461bcd60e51b81526020600482015260076024820152660746f6b656e3d360cc1b604482015260640161076f565b600280546001600160a81b0319166001600160a01b038316908117600160a01b179091556040517fa07c91c183e42229e705a9795a1c06d76528b673788b849597364528c96eefb790600090a250565b610ceb611c21565b610cf3611c4e565b60055460ff16610d355760405162461bcd60e51b815260206004820152600d60248201526c33b0ba32903737ba1037b832b760991b604482015260640161076f565b60008111610d705760405162461bcd60e51b81526020600482015260086024820152670616d6f756e743d360c41b604482015260640161076f565b6a0eb436e4125b928600000081600954610d8a9190612249565b1115610dd35760405162461bcd60e51b81526020600482015260186024820152771b1c081d1bdad95b88189d5919d95d08195e18d95959195960421b604482015260640161076f565b600854811115610e1c5760405162461bcd60e51b81526020600482015260146024820152731c995cd95c9d99481a5b9cdd59999a58da595b9d60621b604482015260640161076f565b60075480610e5b5760405162461bcd60e51b815260206004820152600c60248201526b6275636b657420656d70747960a01b604482015260640161076f565b60006007819055508160086000828254610e759190612273565b925050819055508160096000828254610e8e9190612249565b909155505060025460405163a9059cbb60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081166004830152602482018590529091169063a9059cbb906044016020604051808303816000875af1158015610f06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2a9190612286565b610f6e5760405162461bcd60e51b81526020600482015260156024820152741d1bdad95b881d1c985b9cd9995c8819985a5b1959605a1b604482015260640161076f565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168260405160006040518083038185875af1925050503d8060008114610fdb576040519150601f19603f3d011682016040523d82523d6000602084013e610fe0565b606091505b50509050806110275760405162461bcd60e51b8152602060048201526013602482015272189b98881d1c985b9cd9995c8819985a5b1959606a1b604482015260640161076f565b60408051838152602081018590527f6f28fe44644d9cce2edee70ae29bed08bc6f03e2e28ee493daafe1a33d238faa910160405180910390a1505061106b60018055565b50565b6000611078611c4e565b600254600160a01b900460ff166110c15760405162461bcd60e51b815260206004820152600d60248201526c1d1bdad95b881b9bdd081cd95d609a1b604482015260640161076f565b8183036110fd5760405162461bcd60e51b815260206004820152600a60248201526939b0b6b2903a37b5b2b760b11b604482015260640161076f565b610457600454106111425760405162461bcd60e51b815260206004820152600f60248201526e067656e3220667573696f6e2063617608c1b604482015260640161076f565b6002546040516323b872dd60e01b815233600482015230602482015269065a4da25d3016c0000060448201526001600160a01b03909116906323b872dd906064016020604051808303816000875af11580156111a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111c69190612286565b6112065760405162461bcd60e51b81526020600482015260116024820152701d1bdad95b881c1d5b1b0819985a5b1959607a1b604482015260640161076f565b604051633b339cf560e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063766739ea9061125790339087906001906004016122a8565b600060405180830381600087803b15801561127157600080fd5b505af1158015611285573d6000803e3d6000fd5b5050604051633b339cf560e11b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016925063766739ea91506112da90339086906001906004016122a8565b600060405180830381600087803b1580156112f457600080fd5b505af1158015611308573d6000803e3d6000fd5b505060405162043ccb60e41b8152336004820152600260248201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031692506243ccb091506044016020604051808303816000875af1158015611377573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139b91906122cc565b600254604051630852cd8d60e31b815269065a4da25d3016c0000060048201529192506001600160a01b0316906342966c6890602401600060405180830381600087803b1580156113eb57600080fd5b505af11580156113ff573d6000803e3d6000fd5b505050506001600460008282546114169190612249565b909155505060025460405163a9059cbb60e01b815233600482015269163c0fb846284fa0000060248201526001600160a01b039091169063a9059cbb906044016020604051808303816000875af1158015611475573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114999190612286565b6114de5760405162461bcd60e51b81526020600482015260166024820152751c995dd85c99081d1c985b9cd9995c8819985a5b195960521b604482015260640161076f565b6040805169163c0fb846284fa0000081526002602082015233917ff381583145e90b82cc5e529bf4fc4d0e44397174cdf145c4251ac33ef195a424910160405180910390a2604080518481526020810184905290810182905233907f435fb3b33afac30fc438a0900a260c0277e6c51d974f3c60e20cacdb635945549060600160405180910390a261156e611c78565b61157760018055565b92915050565b611585611c21565b610bfb6000611df1565b6000611599611c4e565b600254600160a01b900460ff166115e25760405162461bcd60e51b815260206004820152600d60248201526c1d1bdad95b881b9bdd081cd95d609a1b604482015260640161076f565b66071afd498d000034146116305760405162461bcd60e51b81526020600482015260156024820152743332b29036bab9ba1031329018171818191021272160591b604482015260640161076f565b81830361166c5760405162461bcd60e51b815260206004820152600a60248201526939b0b6b2903a37b5b2b760b11b604482015260640161076f565b6108ae600354106116b15760405162461bcd60e51b815260206004820152600f60248201526e067656e3120667573696f6e2063617608c1b604482015260640161076f565b604051633b339cf560e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063766739ea9061170290339087906000906004016122a8565b600060405180830381600087803b15801561171c57600080fd5b505af1158015611730573d6000803e3d6000fd5b5050604051633b339cf560e11b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016925063766739ea915061178590339086906000906004016122a8565b600060405180830381600087803b15801561179f57600080fd5b505af11580156117b3573d6000803e3d6000fd5b505060405162043ccb60e41b8152336004820152600160248201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031692506243ccb091506044016020604051808303816000875af1158015611822573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061184691906122cc565b905060016003600082825461185b9190612249565b909155505060025460405163a9059cbb60e01b8152336004820152690ba58e545582d460000060248201526001600160a01b039091169063a9059cbb906044016020604051808303816000875af11580156118ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118de9190612286565b6119235760405162461bcd60e51b81526020600482015260166024820152751c995dd85c99081d1c985b9cd9995c8819985a5b195960521b604482015260640161076f565b60408051690ba58e545582d460000081526001602082015233917ff381583145e90b82cc5e529bf4fc4d0e44397174cdf145c4251ac33ef195a424910160405180910390a26605af3107a40000600760008282546119819190612249565b90915550506040516000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169066016bcc41e90000908381818185875af1925050503d80600081146119f8576040519150601f19603f3d011682016040523d82523d6000602084013e6119fd565b606091505b5050905080611a3f5760405162461bcd60e51b815260206004820152600e60248201526d19195d881999594819985a5b195960921b604482015260640161076f565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03167f57f7aa0e3afd334225fad63af931d9d34a4168aa22f4a329b6e71f6bd95baf0b66016bcc41e90000604051611aa191815260200190565b60405180910390a2604080518581526020810185905290810183905233907ff91e93c886fcd7138a6a800e2e8612b706d8d6346313f65ef7089198b74766099060600160405180910390a2611af4611c78565b60055460ff16158015611b0b57506103e860035410155b15611b1857611b18611e41565b5061157760018055565b611b2a611c21565b60065415611b715760405162461bcd60e51b815260206004820152601460248201527319985b1b189858dac8185b1c9958591e481cd95d60621b604482015260640161076f565b80600003611baa5760405162461bcd60e51b8152602060048201526006602482015265074696d653d360d41b604482015260640161076f565b60068190556040518181527fcd9bdbe81f6c85749e2191f281a58c3c05de2b6a3dd249ebf5edfa21d689284c906020015b60405180910390a150565b611bee611c21565b6001600160a01b038116611c1857604051631e4fbdf760e01b81526000600482015260240161076f565b61106b81611df1565b6000546001600160a01b03163314610bfb5760405163118cdaa760e01b815233600482015260240161076f565b600260015403611c7157604051633ee5aeb560e01b815260040160405180910390fd5b6002600155565b6000600454600354611c8a9190612249565b90505b600b8054108015611caa57506a1b4c0595a86aa1c1000000600a54105b8015611cd057506096600b546001611cc29190612249565b611ccc919061225c565b8110155b1561106b576001600b6000828254611ce89190612249565b925050819055506a027b46536c66c8e3000000600a6000828254611d0c9190612249565b925050819055506a027b46536c66c8e300000060086000828254611d309190612273565b9091555050600254604051630852cd8d60e31b81526a027b46536c66c8e300000060048201526001600160a01b03909116906342966c6890602401600060405180830381600087803b158015611d8557600080fd5b505af1158015611d99573d6000803e3d6000fd5b5050600b54600a54604080519283526a027b46536c66c8e300000060208401528201527f2948de8d6683b5bbf7333a4e2272b27cda25cfeee5ea821e3a1daa2953592cda9250606001905060405180910390a1611c8d565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6005805460ff191660011790556007546716345785d8a000001115611ea15760405162461bcd60e51b8152602060048201526016602482015275189d58dad95d0818995b1bddc819d85d19481cd9595960521b604482015260640161076f565b6a069e10de76676d080000006008541015611efe5760405162461bcd60e51b815260206004820152601760248201527f726573657276652062656c6f7720676174652073656564000000000000000000604482015260640161076f565b6716345785d8a0000060076000828254611f189190612273565b925050819055506a069e10de76676d0800000060086000828254611f3c9190612273565b925050819055506a069e10de76676d0800000060096000828254611f609190612249565b909155505060025460405163a9059cbb60e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301526a069e10de76676d0800000060248301529091169063a9059cbb906044016020604051808303816000875af1158015611fe2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120069190612286565b61204b5760405162461bcd60e51b815260206004820152601660248201527519d85d19481d1bdad95b881cd959590819985a5b195960521b604482015260640161076f565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166716345785d8a0000060405160006040518083038185875af1925050503d80600081146120c0576040519150601f19603f3d011682016040523d82523d6000602084013e6120c5565b606091505b505090508061210d5760405162461bcd60e51b815260206004820152601460248201527319d85d1948189b98881cd959590819985a5b195960621b604482015260640161076f565b600260009054906101000a90046001600160a01b03166001600160a01b031663deb36e326040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561215d57600080fd5b505af1158015612171573d6000803e3d6000fd5b5050600354604080519182526716345785d8a0000060208301526a069e10de76676d08000000908201527f6599f3adedf8367d8c67547e92866bfc9f4d79268382c3d70ffb134386265aa292506060019050611bdb565b6000602082840312156121da57600080fd5b81356001600160a01b03811681146121f157600080fd5b9392505050565b60006020828403121561220a57600080fd5b5035919050565b6000806040838503121561222457600080fd5b50508035926020909101359150565b634e487b7160e01b600052601160045260246000fd5b8082018082111561157757611577612233565b808202811582820484141761157757611577612233565b8181038181111561157757611577612233565b60006020828403121561229857600080fd5b815180151581146121f157600080fd5b6001600160a01b03939093168352602083019190915260ff16604082015260600190565b6000602082840312156122de57600080fd5b505191905056fea264697066735822122014dd2ec1ee1240f7c46e9061f05a4e1ad37cea6b28ff2427f3575ed95b58479764736f6c634300081a0033","sourceMap":"2927:11427:22:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14234:118;;;;;;;;;;;;;:::i;:::-;;;160:25:27;;;148:2;133:18;14234:118:22;;;;;;;;11751:1086;;;;;;;;;;;;;:::i;:::-;;3367:50;;;;;;;;;;;;3405:12;3367:50;;4149:60;;;;;;;;;;;;4194:15;4149:60;;6652:260;;;;;;;;;;-1:-1:-1;6652:260:22;;;;;:::i;:::-;;:::i;3689:47::-;;;;;;;;;;;;3727:9;3689:47;;4085:58;;;;;;;;;;;;4127:16;4085:58;;5378:30;;;;;;;;;;;;;;;;4316:59;;;;;;;;;;;;4359:16;4316:59;;4616:32;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;651:32:27;;;633:51;;621:2;606:18;4616:32:22;487:203:27;4683:20:22;;;;;;;;;;-1:-1:-1;4683:20:22;;;;-1:-1:-1;;;4683:20:22;;;;;;;;;860:14:27;;853:22;835:41;;823:2;808:18;4683:20:22;695:187:27;3423:48:22;;;;;;;;;;;;3459:12;3423:48;;4382:36;;;;;;;;;;;;;;;3477:51;;;;;;;;;;;;3515:13;3477:51;;4267:43;;;;;;;;;;;;4308:2;4267:43;;10404:771;;;;;;;;;;-1:-1:-1;10404:771:22;;;;;:::i;:::-;;:::i;8912:1142::-;;;;;;;;;;-1:-1:-1;8912:1142:22;;;;;:::i;:::-;;:::i;3640:43::-;;;;;;;;;;;;3679:4;3640:43;;2293:101:0;;;;;;;;;;;;;:::i;3742:56:22:-;;;;;;;;;;;;3783:15;3742:56;;4215:46;;;;;;;;;;;;4258:3;4215:46;;1638:85:0;;;;;;;;;;-1:-1:-1;1684:7:0;1710:6;-1:-1:-1;;;;;1710:6:0;1638:85;;4424:34:22;;;;;;;;;;;;;;;7563:1176;;;;;;:::i;:::-;;:::i;5339:33::-;;;;;;;;;;;;;;;;3534:47;;;;;;;;;;;;3577:4;3534:47;;4784:20;;;;;;;;;;-1:-1:-1;4784:20:22;;;;;;;;7135:256;;;;;;;;;;-1:-1:-1;7135:256:22;;;;;:::i;:::-;;:::i;3254:50::-;;;;;;;;;;;;3292:12;3254:50;;5125:23;;;;;;;;;;;;;;;;3587:47;;;;;;;;;;;;3630:4;3587:47;;4020:59;;;;;;;;;;;;4070:9;4020:59;;4747:31;;;;;;;;;;;;;;;;3202:46;;;;;;;;;;;;3237:11;3202:46;;4710:31;;;;;;;;;;;;;;;;5261:27;;;;;;;;;;;;;;;;5025:30;;;;;;;;;;;;;;;;3310:51;;;;;;;;;;;;3349:12;3310:51;;5222:33;;;;;;;;;;;;;;;;2543:215:0;;;;;;;;;;-1:-1:-1;2543:215:0;;;;;:::i;:::-;;:::i;4654:23:22:-;;;;;;;;;;-1:-1:-1;4654:23:22;;;;-1:-1:-1;;;;;4654:23:22;;;14234:118;14284:7;14329:16;;14310;;:35;;;;:::i;:::-;14303:42;;14234:118;:::o;11751:1086::-;1531:13:0;:11;:13::i;:::-;2500:21:15::1;:19;:21::i;:::-;11830:8:22::2;::::0;::::2;;11829:9;11821:39;;;::::0;-1:-1:-1;;;11821:39:22;;2400:2:27;11821:39:22::2;::::0;::::2;2382:21:27::0;2439:2;2419:18;;;2412:30;-1:-1:-1;;;2458:18:27;;;2451:47;2515:18;;11821:39:22::2;;;;;;;;;11878:15;;11897:1;11878:20:::0;11870:55:::2;;;::::0;-1:-1:-1;;;11870:55:22;;2746:2:27;11870:55:22::2;::::0;::::2;2728:21:27::0;2785:2;2765:18;;;2758:30;-1:-1:-1;;;2804:18:27;;;2797:52;2866:18;;11870:55:22::2;2544:346:27::0;11870:55:22::2;11962:15;;11943;:34;;11935:73;;;::::0;-1:-1:-1;;;11935:73:22;;3097:2:27;11935:73:22::2;::::0;::::2;3079:21:27::0;3136:2;3116:18;;;3109:30;3175:28;3155:18;;;3148:56;3221:18;;11935:73:22::2;2895:350:27::0;11935:73:22::2;12037:1;12026:8;;:12;12018:37;;;::::0;-1:-1:-1;;;12018:37:22;;3452:2:27;12018:37:22::2;::::0;::::2;3434:21:27::0;3491:2;3471:18;;;3464:30;-1:-1:-1;;;3510:18:27;;;3503:42;3562:18;;12018:37:22::2;3250:336:27::0;12018:37:22::2;12086:8;::::0;12066:17:::2;12126:35;4070:9;12086:8:::0;12126:35:::2;:::i;:::-;12104:57;;12194:18;;12179:11;:33;;12171:66;;;::::0;-1:-1:-1;;;12171:66:22;;3966:2:27;12171:66:22::2;::::0;::::2;3948:21:27::0;4005:2;3985:18;;;3978:30;-1:-1:-1;;;4024:18:27;;;4017:50;4084:18;;12171:66:22::2;3764:344:27::0;12171:66:22::2;4127:16;12270:11;12255:12;;:26;;;;:::i;:::-;:45;;12247:82;;;::::0;-1:-1:-1;;;12247:82:22;;4315:2:27;12247:82:22::2;::::0;::::2;4297:21:27::0;4354:2;4334:18;;;4327:30;-1:-1:-1;;;4373:18:27;;;4366:54;4437:18;;12247:82:22::2;4113:348:27::0;12247:82:22::2;12340:8;:15:::0;;-1:-1:-1;;12340:15:22::2;12351:4;12340:15;::::0;;:8:::2;12365;:12:::0;;;12387:18:::2;:33:::0;;12409:11;;12340:8;12387:33:::2;::::0;12409:11;;12387:33:::2;:::i;:::-;;;;;;;;12446:11;12430:12;;:27;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;12475:5:22::2;::::0;:36:::2;::::0;-1:-1:-1;;;12475:36:22;;-1:-1:-1;;;;;12490:7:22::2;4791:32:27::0;;12475:36:22::2;::::0;::::2;4773:51:27::0;4840:18;;;4833:34;;;12475:5:22;;::::2;::::0;:14:::2;::::0;4746:18:27;;12475:36:22::2;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;12467:75;;;::::0;-1:-1:-1;;;12467:75:22;;5362:2:27;12467:75:22::2;::::0;::::2;5344:21:27::0;5401:2;5381:18;;;5374:30;5440:28;5420:18;;;5413:56;5486:18;;12467:75:22::2;5160:350:27::0;12467:75:22::2;12553:7;12574;-1:-1:-1::0;;;;;12566:21:22::2;12595:9;12566:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12552:57;;;12627:2;12619:39;;;::::0;-1:-1:-1;;;12619:39:22;;5927:2:27;12619:39:22::2;::::0;::::2;5909:21:27::0;5966:2;5946:18;;;5939:30;6005:26;5985:18;;;5978:54;6049:18;;12619:39:22::2;5725:348:27::0;12619:39:22::2;12668:5;;;;;;;;;-1:-1:-1::0;;;;;12668:5:22::2;-1:-1:-1::0;;;;;12668:18:22::2;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;-1:-1:-1::0;;12714:16:22::2;::::0;12703:52:::2;::::0;;6280:25:27;;;6336:2;6321:18;;6314:34;;;6364:18;;6357:34;;;12703:52:22::2;::::0;-1:-1:-1;6268:2:27;6253:18;;-1:-1:-1;12703:52:22::2;;;;;;;12789:16;::::0;12770:60:::2;::::0;;6280:25:27;;;6336:2;6321:18;;6314:34;;;6364:18;;6357:34;;;12770:60:22::2;::::0;6268:2:27;6253:18;12770:60:22::2;;;;;;;11811:1026;;;2542:20:15::1;1857:1:::0;3068:21;;2888:208;2542:20:::1;11751:1086:22:o:0;6652:260::-;1531:13:0;:11;:13::i;:::-;6724:8:22::1;::::0;-1:-1:-1;;;6724:8:22;::::1;;;6723:9;6715:39;;;::::0;-1:-1:-1;;;6715:39:22;;6604:2:27;6715:39:22::1;::::0;::::1;6586:21:27::0;6643:2;6623:18;;;6616:30;-1:-1:-1;;;6662:18:27;;;6655:47;6719:18;;6715:39:22::1;6402:341:27::0;6715:39:22::1;-1:-1:-1::0;;;;;6772:20:22;::::1;6764:40;;;::::0;-1:-1:-1;;;6764:40:22;;6950:2:27;6764:40:22::1;::::0;::::1;6932:21:27::0;6989:1;6969:18;;;6962:29;-1:-1:-1;;;7007:18:27;;;7000:37;7054:18;;6764:40:22::1;6748:330:27::0;6764:40:22::1;6814:5;:35:::0;;-1:-1:-1;;;;;;6859:15:22;-1:-1:-1;;;;;6814:35:22;::::1;6859:15:::0;;;-1:-1:-1;;;6859:15:22::1;::::0;;;6889:16:::1;::::0;::::1;::::0;6814:5:::1;::::0;6889:16:::1;6652:260:::0;:::o;10404:771::-;1531:13:0;:11;:13::i;:::-;2500:21:15::1;:19;:21::i;:::-;10502:8:22::2;::::0;::::2;;10494:34;;;::::0;-1:-1:-1;;;10494:34:22;;7285:2:27;10494:34:22::2;::::0;::::2;7267:21:27::0;7324:2;7304:18;;;7297:30;-1:-1:-1;;;7343:18:27;;;7336:43;7396:18;;10494:34:22::2;7083:337:27::0;10494:34:22::2;10560:1;10546:11;:15;10538:36;;;::::0;-1:-1:-1;;;10538:36:22;;7627:2:27;10538:36:22::2;::::0;::::2;7609:21:27::0;7666:1;7646:18;;;7639:29;-1:-1:-1;;;7684:18:27;;;7677:38;7732:18;;10538:36:22::2;7425:331:27::0;10538:36:22::2;4127:16;10607:11;10592:12;;:26;;;;:::i;:::-;:45;;10584:82;;;::::0;-1:-1:-1;;;10584:82:22;;4315:2:27;10584:82:22::2;::::0;::::2;4297:21:27::0;4354:2;4334:18;;;4327:30;-1:-1:-1;;;4373:18:27;;;4366:54;4437:18;;10584:82:22::2;4113:348:27::0;10584:82:22::2;10699:18;;10684:11;:33;;10676:66;;;::::0;-1:-1:-1;;;10676:66:22;;3966:2:27;10676:66:22::2;::::0;::::2;3948:21:27::0;4005:2;3985:18;;;3978:30;-1:-1:-1;;;4024:18:27;;;4017:50;4084:18;;10676:66:22::2;3764:344:27::0;10676:66:22::2;10772:8;::::0;10798:13;10790:38:::2;;;::::0;-1:-1:-1;;;10790:38:22;;3452:2:27;10790:38:22::2;::::0;::::2;3434:21:27::0;3491:2;3471:18;;;3464:30;-1:-1:-1;;;3510:18:27;;;3503:42;3562:18;;10790:38:22::2;3250:336:27::0;10790:38:22::2;10849:1;10838:8;:12;;;;10882:11;10860:18;;:33;;;;;;;:::i;:::-;;;;;;;;10919:11;10903:12;;:27;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;10948:5:22::2;::::0;:36:::2;::::0;-1:-1:-1;;;10948:36:22;;-1:-1:-1;;;;;10963:7:22::2;4791:32:27::0;;10948:36:22::2;::::0;::::2;4773:51:27::0;4840:18;;;4833:34;;;10948:5:22;;::::2;::::0;:14:::2;::::0;4746:18:27;;10948:36:22::2;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;10940:70;;;::::0;-1:-1:-1;;;10940:70:22;;7963:2:27;10940:70:22::2;::::0;::::2;7945:21:27::0;8002:2;7982:18;;;7975:30;-1:-1:-1;;;8021:18:27;;;8014:51;8082:18;;10940:70:22::2;7761:345:27::0;10940:70:22::2;11021:7;11042;-1:-1:-1::0;;;;;11034:21:22::2;11063:9;11034:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11020:57;;;11095:2;11087:34;;;::::0;-1:-1:-1;;;11087:34:22;;8313:2:27;11087:34:22::2;::::0;::::2;8295:21:27::0;8352:2;8332:18;;;8325:30;-1:-1:-1;;;8371:18:27;;;8364:49;8430:18;;11087:34:22::2;8111:343:27::0;11087:34:22::2;11136:32;::::0;;8633:25:27;;;8689:2;8674:18;;8667:34;;;11136:32:22::2;::::0;8606:18:27;11136:32:22::2;;;;;;;10484:691;;2542:20:15::1;1857:1:::0;3068:21;;2888:208;2542:20:::1;10404:771:22::0;:::o;8912:1142::-;8997:18;2500:21:15;:19;:21::i;:::-;9035:8:22::1;::::0;-1:-1:-1;;;9035:8:22;::::1;;;9027:34;;;::::0;-1:-1:-1;;;9027:34:22;;8914:2:27;9027:34:22::1;::::0;::::1;8896:21:27::0;8953:2;8933:18;;;8926:30;-1:-1:-1;;;8972:18:27;;;8965:43;9025:18;;9027:34:22::1;8712:337:27::0;9027:34:22::1;9091:8;9079;:20:::0;9071:43:::1;;;::::0;-1:-1:-1;;;9071:43:22;;9256:2:27;9071:43:22::1;::::0;::::1;9238:21:27::0;9295:2;9275:18;;;9268:30;-1:-1:-1;;;9314:18:27;;;9307:40;9364:18;;9071:43:22::1;9054:334:27::0;9071:43:22::1;3630:4;9132:16;;:35;9124:63;;;::::0;-1:-1:-1;;;9124:63:22;;9595:2:27;9124:63:22::1;::::0;::::1;9577:21:27::0;9634:2;9614:18;;;9607:30;-1:-1:-1;;;9653:18:27;;;9646:45;9708:18;;9124:63:22::1;9393:339:27::0;9124:63:22::1;9350:5;::::0;:56:::1;::::0;-1:-1:-1;;;9350:56:22;;9369:10:::1;9350:56;::::0;::::1;9939:51:27::0;9389:4:22::1;10006:18:27::0;;;9999:60;3459:12:22::1;10075:18:27::0;;;10068:34;-1:-1:-1;;;;;9350:5:22;;::::1;::::0;:18:::1;::::0;9912::27;;9350:56:22::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;9342:86;;;::::0;-1:-1:-1;;;9342:86:22;;10315:2:27;9342:86:22::1;::::0;::::1;10297:21:27::0;10354:2;10334:18;;;10327:30;-1:-1:-1;;;10373:18:27;;;10366:47;10430:18;;9342:86:22::1;10113:341:27::0;9342:86:22::1;9514:50;::::0;-1:-1:-1;;;9514:50:22;;-1:-1:-1;;;;;9514:3:22::1;:15;::::0;::::1;::::0;:50:::1;::::0;9530:10:::1;::::0;9542:8;;3148:1:::1;::::0;9514:50:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;9574:50:22::1;::::0;-1:-1:-1;;;9574:50:22;;-1:-1:-1;;;;;9574:3:22::1;:15;::::0;-1:-1:-1;9574:15:22::1;::::0;-1:-1:-1;9574:50:22::1;::::0;9590:10:::1;::::0;9602:8;;3148:1:::1;::::0;9574:50:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;9647:41:22::1;::::0;-1:-1:-1;;;9647:41:22;;9663:10:::1;9647:41;::::0;::::1;10986:51:27::0;3194:1:22::1;11053:18:27::0;;;11046:45;9647:3:22::1;-1:-1:-1::0;;;;;9647:15:22::1;::::0;-1:-1:-1;9647:15:22::1;::::0;-1:-1:-1;10959:18:27;;9647:41:22::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;9699:5;::::0;:21:::1;::::0;-1:-1:-1;;;9699:21:22;;3459:12:::1;9699:21;::::0;::::1;160:25:27::0;9634:54:22;;-1:-1:-1;;;;;;9699:5:22::1;::::0;:10:::1;::::0;133:18:27;;9699:21:22::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;9805:1;9785:16;;:21;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;9824:5:22::1;::::0;:39:::1;::::0;-1:-1:-1;;;9824:39:22;;9839:10:::1;9824:39;::::0;::::1;4773:51:27::0;3515:13:22::1;4840:18:27::0;;;4833:34;-1:-1:-1;;;;;9824:5:22;;::::1;::::0;:14:::1;::::0;4746:18:27;;9824:39:22::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;9816:74;;;::::0;-1:-1:-1;;;9816:74:22;;11493:2:27;9816:74:22::1;::::0;::::1;11475:21:27::0;11532:2;11512:18;;;11505:30;-1:-1:-1;;;11551:18:27;;;11544:52;11613:18;;9816:74:22::1;11291:346:27::0;9816:74:22::1;9905:49;::::0;;3515:13:::1;11812:25:27::0;;3194:1:22::1;11868:2:27::0;11853:18;;11846:45;9916:10:22::1;::::0;9905:49:::1;::::0;11785:18:27;9905:49:22::1;;;;;;;9969:53;::::0;;6280:25:27;;;6336:2;6321:18;;6314:34;;;6364:18;;;6357:34;;;9979:10:22::1;::::0;9969:53:::1;::::0;6268:2:27;6253:18;9969:53:22::1;;;;;;;10033:14;:12;:14::i;:::-;2542:20:15::0;1857:1;3068:21;;2888:208;2542:20;8912:1142:22;;;;:::o;2293:101:0:-;1531:13;:11;:13::i;:::-;2357:30:::1;2384:1;2357:18;:30::i;7563:1176:22:-:0;7656:17;2500:21:15;:19;:21::i;:::-;7693:8:22::1;::::0;-1:-1:-1;;;7693:8:22;::::1;;;7685:34;;;::::0;-1:-1:-1;;;7685:34:22;;8914:2:27;7685:34:22::1;::::0;::::1;8896:21:27::0;8953:2;8933:18;;;8926:30;-1:-1:-1;;;8972:18:27;;;8965:43;9025:18;;7685:34:22::1;8712:337:27::0;7685:34:22::1;3237:11;7737:9;:21;7729:55;;;::::0;-1:-1:-1;;;7729:55:22;;12104:2:27;7729:55:22::1;::::0;::::1;12086:21:27::0;12143:2;12123:18;;;12116:30;-1:-1:-1;;;12162:18:27;;;12155:51;12223:18;;7729:55:22::1;11902:345:27::0;7729:55:22::1;7814:8;7802;:20:::0;7794:43:::1;;;::::0;-1:-1:-1;;;7794:43:22;;9256:2:27;7794:43:22::1;::::0;::::1;9238:21:27::0;9295:2;9275:18;;;9268:30;-1:-1:-1;;;9314:18:27;;;9307:40;9364:18;;7794:43:22::1;9054:334:27::0;7794:43:22::1;3577:4;7855:16;;:35;7847:63;;;::::0;-1:-1:-1;;;7847:63:22;;12454:2:27;7847:63:22::1;::::0;::::1;12436:21:27::0;12493:2;12473:18;;;12466:30;-1:-1:-1;;;12512:18:27;;;12505:45;12567:18;;7847:63:22::1;12252:339:27::0;7847:63:22::1;7998:50;::::0;-1:-1:-1;;;7998:50:22;;-1:-1:-1;;;;;7998:3:22::1;:15;::::0;::::1;::::0;:50:::1;::::0;8014:10:::1;::::0;8026:8;;3103:1:::1;::::0;7998:50:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;8058:50:22::1;::::0;-1:-1:-1;;;8058:50:22;;-1:-1:-1;;;;;8058:3:22::1;:15;::::0;-1:-1:-1;8058:15:22::1;::::0;-1:-1:-1;8058:50:22::1;::::0;8074:10:::1;::::0;8086:8;;3103:1:::1;::::0;8058:50:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;8130:40:22::1;::::0;-1:-1:-1;;;8130:40:22;;8146:10:::1;8130:40;::::0;::::1;10986:51:27::0;3148:1:22::1;11053:18:27::0;;;11046:45;8130:3:22::1;-1:-1:-1::0;;;;;8130:15:22::1;::::0;-1:-1:-1;8130:15:22::1;::::0;-1:-1:-1;10959:18:27;;8130:40:22::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;8118:52;;8201:1;8181:16;;:21;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;8220:5:22::1;::::0;:39:::1;::::0;-1:-1:-1;;;8220:39:22;;8235:10:::1;8220:39;::::0;::::1;4773:51:27::0;3405:12:22::1;4840:18:27::0;;;4833:34;-1:-1:-1;;;;;8220:5:22;;::::1;::::0;:14:::1;::::0;4746:18:27;;8220:39:22::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;8212:74;;;::::0;-1:-1:-1;;;8212:74:22;;11493:2:27;8212:74:22::1;::::0;::::1;11475:21:27::0;11532:2;11512:18;;;11505:30;-1:-1:-1;;;11551:18:27;;;11544:52;11613:18;;8212:74:22::1;11291:346:27::0;8212:74:22::1;8301:48;::::0;;3405:12:::1;11812:25:27::0;;3148:1:22::1;11868:2:27::0;11853:18;;11846:45;8312:10:22::1;::::0;8301:48:::1;::::0;11785:18:27;8301:48:22::1;;;;;;;3292:12;8359:8;;:23;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;8407:48:22::1;::::0;8394:7:::1;::::0;-1:-1:-1;;;;;8415:9:22::1;8407:23;::::0;3349:12:::1;::::0;8394:7;8407:48;8394:7;8407:48;3349:12;8407:23;:48:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8393:62;;;8473:2;8465:29;;;::::0;-1:-1:-1;;;8465:29:22;;12798:2:27;8465:29:22::1;::::0;::::1;12780:21:27::0;12837:2;12817:18;;;12810:30;-1:-1:-1;;;12856:18:27;;;12849:44;12910:18;;8465:29:22::1;12596:338:27::0;8465:29:22::1;8520:9;-1:-1:-1::0;;;;;8509:35:22::1;;3349:12;8509:35;;;;160:25:27::0;;148:2;133:18;;14:177;8509:35:22::1;;;;;;;;8559:52;::::0;;6280:25:27;;;6336:2;6321:18;;6314:34;;;6364:18;;;6357:34;;;8569:10:22::1;::::0;8559:52:::1;::::0;6268:2:27;6253:18;8559:52:22::1;;;;;;;8622:14;:12;:14::i;:::-;8651:8;::::0;::::1;;8650:9;:45:::0;::::1;;;;3679:4;8663:16;;:32;;8650:45;8646:87;;;8711:11;:9;:11::i;:::-;7675:1064;2542:20:15::0;1857:1;3068:21;;2888:208;7135:256:22;1531:13:0;:11;:13::i;:::-;7218:15:22::1;::::0;:20;7210:53:::1;;;::::0;-1:-1:-1;;;7210:53:22;;13141:2:27;7210:53:22::1;::::0;::::1;13123:21:27::0;13180:2;13160:18;;;13153:30;-1:-1:-1;;;13199:18:27;;;13192:50;13259:18;;7210:53:22::1;12939:344:27::0;7210:53:22::1;7281:8;7293:1;7281:13:::0;7273:32:::1;;;::::0;-1:-1:-1;;;7273:32:22;;13490:2:27;7273:32:22::1;::::0;::::1;13472:21:27::0;13529:1;13509:18;;;13502:29;-1:-1:-1;;;13547:18:27;;;13540:36;13593:18;;7273:32:22::1;13288:329:27::0;7273:32:22::1;7315:15;:26:::0;;;7356:28:::1;::::0;160:25:27;;;7356:28:22::1;::::0;148:2:27;133:18;7356:28:22::1;;;;;;;;7135:256:::0;:::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;633:51:27::0;606:18;;2672:31:0::1;487:203:27::0;2623:91:0::1;2723:28;2742:8;2723:18;:28::i;1796:162::-:0;1684:7;1710:6;-1:-1:-1;;;;;1710:6:0;735:10:13;1855:23:0;1851:101;;1901:40;;-1:-1:-1;;;1901:40:0;;735:10:13;1901:40:0;;;633:51:27;606:18;;1901:40:0;487:203:27;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;13008:583:22:-;13051:16;13089;;13070;;:35;;;;:::i;:::-;13051:54;;13115:470;4308:2;13135:15;;:32;:85;;;;;4359:16;13183:18;;:37;13135:85;:153;;;;;4258:3;13249:15;;13267:1;13249:19;;;;:::i;:::-;13248:40;;;;:::i;:::-;13236:8;:52;;13135:153;13115:470;;;13332:1;13313:15;;:20;;;;;;;:::i;:::-;;;;;;;;4194:15;13347:18;;:40;;;;;;;:::i;:::-;;;;;;;;4194:15;13401:18;;:40;;;;;;;:::i;:::-;;;;-1:-1:-1;;13455:5:22;;:30;;-1:-1:-1;;;13455:30:22;;4194:15;13455:30;;;160:25:27;-1:-1:-1;;;;;13455:5:22;;;;:10;;133:18:27;;13455:30:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;13518:15:22;;13555:18;;13504:70;;;6280:25:27;;;4194:15:22;6336:2:27;6321:18;;6314:34;6364:18;;6357:34;13504:70:22;;-1:-1:-1;6268:2:27;6253:18;;-1:-1:-1;13504:70:22;;;;;;;13115:470;;2912:187:0;2985:16;3004:6;;-1:-1:-1;;;;;3020:17:0;;;-1:-1:-1;;;;;;3020:17:0;;;;;;3052:40;;3004:6;;;;;;;3052:40;;2985:16;3052:40;2975:124;2912:187;:::o;13597:631:22:-;13637:8;:15;;-1:-1:-1;;13637:15:22;13648:4;13637:15;;;13670:8;;3727:9;-1:-1:-1;13670:23:22;13662:58;;;;-1:-1:-1;;;13662:58:22;;13824:2:27;13662:58:22;;;13806:21:27;13863:2;13843:18;;;13836:30;-1:-1:-1;;;13882:18:27;;;13875:52;13944:18;;13662:58:22;13622:346:27;13662:58:22;3783:15;13738:18;;:36;;13730:72;;;;-1:-1:-1;;;13730:72:22;;14175:2:27;13730:72:22;;;14157:21:27;14214:2;14194:18;;;14187:30;14253:25;14233:18;;;14226:53;14296:18;;13730:72:22;13973:347:27;13730:72:22;3727:9;13812:8;;:23;;;;;;;:::i;:::-;;;;;;;;3783:15;13845:18;;:36;;;;;;;:::i;:::-;;;;;;;;3783:15;13891:12;;:30;;;;;;;:::i;:::-;;;;-1:-1:-1;;13939:5:22;;:39;;-1:-1:-1;;;13939:39:22;;-1:-1:-1;;;;;13954:7:22;4791:32:27;;13939:39:22;;;4773:51:27;3783:15:22;4840:18:27;;;4833:34;13939:5:22;;;;:14;;4746:18:27;;13939:39:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;13931:74;;;;-1:-1:-1;;;13931:74:22;;14527:2:27;13931:74:22;;;14509:21:27;14566:2;14546:18;;;14539:30;-1:-1:-1;;;14585:18:27;;;14578:52;14647:18;;13931:74:22;14325:346:27;13931:74:22;14016:7;14037;-1:-1:-1;;;;;14029:21:22;3727:9;14029:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14015:59;;;14092:2;14084:35;;;;-1:-1:-1;;;14084:35:22;;14878:2:27;14084:35:22;;;14860:21:27;14917:2;14897:18;;;14890:30;-1:-1:-1;;;14936:18:27;;;14929:50;14996:18;;14084:35:22;14676:344:27;14084:35:22;14129:5;;;;;;;;;-1:-1:-1;;;;;14129:5:22;-1:-1:-1;;;;;14129:18:22;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;14175:16:22;;14164:57;;;6280:25:27;;;3727:9:22;6336:2:27;6321:18;;6314:34;3783:15:22;6364:18:27;;;6357:34;14164:57:22;;-1:-1:-1;6268:2:27;6253:18;;-1:-1:-1;14164:57:22;6078:319:27;196:286;255:6;308:2;296:9;287:7;283:23;279:32;276:52;;;324:1;321;314:12;276:52;350:23;;-1:-1:-1;;;;;402:31:27;;392:42;;382:70;;448:1;445;438:12;382:70;471:5;196:286;-1:-1:-1;;;196:286:27:o;1119:226::-;1178:6;1231:2;1219:9;1210:7;1206:23;1202:32;1199:52;;;1247:1;1244;1237:12;1199:52;-1:-1:-1;1292:23:27;;1119:226;-1:-1:-1;1119:226:27:o;1350:346::-;1418:6;1426;1479:2;1467:9;1458:7;1454:23;1450:32;1447:52;;;1495:1;1492;1485:12;1447:52;-1:-1:-1;;1540:23:27;;;1660:2;1645:18;;;1632:32;;-1:-1:-1;1350:346:27:o;1936:127::-;1997:10;1992:3;1988:20;1985:1;1978:31;2028:4;2025:1;2018:15;2052:4;2049:1;2042:15;2068:125;2133:9;;;2154:10;;;2151:36;;;2167:18;;:::i;3591:168::-;3664:9;;;3695;;3712:15;;;3706:22;;3692:37;3682:71;;3733:18;;:::i;4466:128::-;4533:9;;;4554:11;;;4551:37;;;4568:18;;:::i;4878:277::-;4945:6;4998:2;4986:9;4977:7;4973:23;4969:32;4966:52;;;5014:1;5011;5004:12;4966:52;5046:9;5040:16;5099:5;5092:13;5085:21;5078:5;5075:32;5065:60;;5121:1;5118;5111:12;10459:352;-1:-1:-1;;;;;10675:32:27;;;;10657:51;;10739:2;10724:18;;10717:34;;;;10799:4;10787:17;10782:2;10767:18;;10760:45;10645:2;10630:18;;10459:352::o;11102:184::-;11172:6;11225:2;11213:9;11204:7;11200:23;11196:32;11193:52;;;11241:1;11238;11231:12;11193:52;-1:-1:-1;11264:16:27;;11102:184;-1:-1:-1;11102:184:27:o","linkReferences":{},"cborAuxdata":{"1":{"value":"0xa264697066735822122014dd2ec1ee1240f7c46e9061f05a4e1ad37cea6b28ff2427f3575ed95b58479764736f6c634300081a0033","offset":8934}},"immutableReferences":{"6530":[{"start":1028,"length":32},{"start":4637,"length":32},{"start":4766,"length":32},{"start":4901,"length":32},{"start":5832,"length":32},{"start":5961,"length":32},{"start":6096,"length":32}],"6532":[{"start":1320,"length":32},{"start":6550,"length":32},{"start":6721,"length":32}],"6535":[{"start":873,"length":32},{"start":2420,"length":32},{"start":2625,"length":32},{"start":3757,"length":32},{"start":3954,"length":32},{"start":8063,"length":32},{"start":8271,"length":32}]},"transformations":[{"id":"6535","type":"replace","offset":873,"reason":"immutable"},{"id":"6530","type":"replace","offset":1028,"reason":"immutable"},{"id":"6532","type":"replace","offset":1320,"reason":"immutable"},{"id":"6535","type":"replace","offset":2420,"reason":"immutable"},{"id":"6535","type":"replace","offset":2625,"reason":"immutable"},{"id":"6535","type":"replace","offset":3757,"reason":"immutable"},{"id":"6535","type":"replace","offset":3954,"reason":"immutable"},{"id":"6530","type":"replace","offset":4637,"reason":"immutable"},{"id":"6530","type":"replace","offset":4766,"reason":"immutable"},{"id":"6530","type":"replace","offset":4901,"reason":"immutable"},{"id":"6530","type":"replace","offset":5832,"reason":"immutable"},{"id":"6530","type":"replace","offset":5961,"reason":"immutable"},{"id":"6530","type":"replace","offset":6096,"reason":"immutable"},{"id":"6532","type":"replace","offset":6550,"reason":"immutable"},{"id":"6532","type":"replace","offset":6721,"reason":"immutable"},{"id":"6535","type":"replace","offset":8063,"reason":"immutable"},{"id":"6535","type":"replace","offset":8271,"reason":"immutable"}],"transformationValues":{"immutables":{"6530":"0x000000000000000000000000dc3b32abd7c618d33fd57a1ab95ecdd70065e785","6532":"0x00000000000000000000000072b9050747bc33d6fef0d76d49b0c7840da47e3b","6535":"0x00000000000000000000000068bc72e819d0e3058c35f1f78169f91906d3d5fa"}}},"deployment":{"transactionHash":"0xd337be86ed9884544ace0c5a40d8857b2dcde0fd52d3bb92ee140fd91f3421cc","blockNumber":"134887116","transactionIndex":"108","deployer":"0x72B9050747bC33D6fEF0D76d49b0c7840da47E3b"},"sources":{"@openzeppelin/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"},"@openzeppelin/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"},"@openzeppelin/contracts/interfaces/IERC2981.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/IERC2981.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC165} from \"../utils/introspection/IERC165.sol\";\n\n/**\n * @dev Interface for the NFT Royalty Standard.\n *\n * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal\n * support for royalty payments across all NFT marketplaces and ecosystem participants.\n */\ninterface IERC2981 is IERC165 {\n    /**\n     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of\n     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.\n     *\n     * NOTE: ERC-2981 allows setting the royalty to 100% of the price. In that case all the price would be sent to the\n     * royalty receiver and 0 tokens to the seller. Contracts dealing with royalty should consider empty transfers.\n     */\n    function royaltyInfo(\n        uint256 tokenId,\n        uint256 salePrice\n    ) external view returns (address receiver, uint256 royaltyAmount);\n}\n"},"@openzeppelin/contracts/token/common/ERC2981.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/common/ERC2981.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC2981} from \"../../interfaces/IERC2981.sol\";\nimport {IERC165, ERC165} from \"../../utils/introspection/ERC165.sol\";\n\n/**\n * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.\n *\n * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for\n * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.\n *\n * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the\n * fee is specified in basis points by default.\n *\n * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See\n * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the ERC. Marketplaces are expected to\n * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.\n */\nabstract contract ERC2981 is IERC2981, ERC165 {\n    struct RoyaltyInfo {\n        address receiver;\n        uint96 royaltyFraction;\n    }\n\n    RoyaltyInfo private _defaultRoyaltyInfo;\n    mapping(uint256 tokenId => RoyaltyInfo) private _tokenRoyaltyInfo;\n\n    /**\n     * @dev The default royalty set is invalid (eg. (numerator / denominator) >= 1).\n     */\n    error ERC2981InvalidDefaultRoyalty(uint256 numerator, uint256 denominator);\n\n    /**\n     * @dev The default royalty receiver is invalid.\n     */\n    error ERC2981InvalidDefaultRoyaltyReceiver(address receiver);\n\n    /**\n     * @dev The royalty set for an specific `tokenId` is invalid (eg. (numerator / denominator) >= 1).\n     */\n    error ERC2981InvalidTokenRoyalty(uint256 tokenId, uint256 numerator, uint256 denominator);\n\n    /**\n     * @dev The royalty receiver for `tokenId` is invalid.\n     */\n    error ERC2981InvalidTokenRoyaltyReceiver(uint256 tokenId, address receiver);\n\n    /**\n     * @dev See {IERC165-supportsInterface}.\n     */\n    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) {\n        return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId);\n    }\n\n    /**\n     * @inheritdoc IERC2981\n     */\n    function royaltyInfo(\n        uint256 tokenId,\n        uint256 salePrice\n    ) public view virtual returns (address receiver, uint256 amount) {\n        RoyaltyInfo storage _royaltyInfo = _tokenRoyaltyInfo[tokenId];\n        address royaltyReceiver = _royaltyInfo.receiver;\n        uint96 royaltyFraction = _royaltyInfo.royaltyFraction;\n\n        if (royaltyReceiver == address(0)) {\n            royaltyReceiver = _defaultRoyaltyInfo.receiver;\n            royaltyFraction = _defaultRoyaltyInfo.royaltyFraction;\n        }\n\n        uint256 royaltyAmount = (salePrice * royaltyFraction) / _feeDenominator();\n\n        return (royaltyReceiver, royaltyAmount);\n    }\n\n    /**\n     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a\n     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an\n     * override.\n     */\n    function _feeDenominator() internal pure virtual returns (uint96) {\n        return 10000;\n    }\n\n    /**\n     * @dev Sets the royalty information that all ids in this contract will default to.\n     *\n     * Requirements:\n     *\n     * - `receiver` cannot be the zero address.\n     * - `feeNumerator` cannot be greater than the fee denominator.\n     */\n    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {\n        uint256 denominator = _feeDenominator();\n        if (feeNumerator > denominator) {\n            // Royalty fee will exceed the sale price\n            revert ERC2981InvalidDefaultRoyalty(feeNumerator, denominator);\n        }\n        if (receiver == address(0)) {\n            revert ERC2981InvalidDefaultRoyaltyReceiver(address(0));\n        }\n\n        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);\n    }\n\n    /**\n     * @dev Removes default royalty information.\n     */\n    function _deleteDefaultRoyalty() internal virtual {\n        delete _defaultRoyaltyInfo;\n    }\n\n    /**\n     * @dev Sets the royalty information for a specific token id, overriding the global default.\n     *\n     * Requirements:\n     *\n     * - `receiver` cannot be the zero address.\n     * - `feeNumerator` cannot be greater than the fee denominator.\n     */\n    function _setTokenRoyalty(uint256 tokenId, address receiver, uint96 feeNumerator) internal virtual {\n        uint256 denominator = _feeDenominator();\n        if (feeNumerator > denominator) {\n            // Royalty fee will exceed the sale price\n            revert ERC2981InvalidTokenRoyalty(tokenId, feeNumerator, denominator);\n        }\n        if (receiver == address(0)) {\n            revert ERC2981InvalidTokenRoyaltyReceiver(tokenId, address(0));\n        }\n\n        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);\n    }\n\n    /**\n     * @dev Resets royalty information for the token id back to the global default.\n     */\n    function _resetTokenRoyalty(uint256 tokenId) internal virtual {\n        delete _tokenRoyaltyInfo[tokenId];\n    }\n}\n"},"@openzeppelin/contracts/token/ERC20/ERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.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"},"@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Burnable.sol)\n\npragma solidity ^0.8.20;\n\nimport {ERC20} from \"../ERC20.sol\";\nimport {Context} from \"../../../utils/Context.sol\";\n\n/**\n * @dev Extension of {ERC20} that allows token holders to destroy both their own\n * tokens and those that they have an allowance for, in a way that can be\n * recognized off-chain (via event analysis).\n */\nabstract contract ERC20Burnable is Context, ERC20 {\n    /**\n     * @dev Destroys a `value` amount of tokens from the caller.\n     *\n     * See {ERC20-_burn}.\n     */\n    function burn(uint256 value) public virtual {\n        _burn(_msgSender(), value);\n    }\n\n    /**\n     * @dev Destroys a `value` amount of tokens from `account`, deducting from\n     * the caller's allowance.\n     *\n     * See {ERC20-_burn} and {ERC20-allowance}.\n     *\n     * Requirements:\n     *\n     * - the caller must have allowance for ``accounts``'s tokens of at least\n     * `value`.\n     */\n    function burnFrom(address account, uint256 value) public virtual {\n        _spendAllowance(account, _msgSender(), value);\n        _burn(account, value);\n    }\n}\n"},"@openzeppelin/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"},"@openzeppelin/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"},"@openzeppelin/contracts/token/ERC721/ERC721.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC721/ERC721.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC721} from \"./IERC721.sol\";\nimport {IERC721Metadata} from \"./extensions/IERC721Metadata.sol\";\nimport {ERC721Utils} from \"./utils/ERC721Utils.sol\";\nimport {Context} from \"../../utils/Context.sol\";\nimport {Strings} from \"../../utils/Strings.sol\";\nimport {IERC165, ERC165} from \"../../utils/introspection/ERC165.sol\";\nimport {IERC721Errors} from \"../../interfaces/draft-IERC6093.sol\";\n\n/**\n * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC-721] Non-Fungible Token Standard, including\n * the Metadata extension, but not including the Enumerable extension, which is available separately as\n * {ERC721Enumerable}.\n */\nabstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Errors {\n    using Strings for uint256;\n\n    // Token name\n    string private _name;\n\n    // Token symbol\n    string private _symbol;\n\n    mapping(uint256 tokenId => address) private _owners;\n\n    mapping(address owner => uint256) private _balances;\n\n    mapping(uint256 tokenId => address) private _tokenApprovals;\n\n    mapping(address owner => mapping(address operator => bool)) private _operatorApprovals;\n\n    /**\n     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.\n     */\n    constructor(string memory name_, string memory symbol_) {\n        _name = name_;\n        _symbol = symbol_;\n    }\n\n    /**\n     * @dev See {IERC165-supportsInterface}.\n     */\n    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {\n        return\n            interfaceId == type(IERC721).interfaceId ||\n            interfaceId == type(IERC721Metadata).interfaceId ||\n            super.supportsInterface(interfaceId);\n    }\n\n    /**\n     * @dev See {IERC721-balanceOf}.\n     */\n    function balanceOf(address owner) public view virtual returns (uint256) {\n        if (owner == address(0)) {\n            revert ERC721InvalidOwner(address(0));\n        }\n        return _balances[owner];\n    }\n\n    /**\n     * @dev See {IERC721-ownerOf}.\n     */\n    function ownerOf(uint256 tokenId) public view virtual returns (address) {\n        return _requireOwned(tokenId);\n    }\n\n    /**\n     * @dev See {IERC721Metadata-name}.\n     */\n    function name() public view virtual returns (string memory) {\n        return _name;\n    }\n\n    /**\n     * @dev See {IERC721Metadata-symbol}.\n     */\n    function symbol() public view virtual returns (string memory) {\n        return _symbol;\n    }\n\n    /**\n     * @dev See {IERC721Metadata-tokenURI}.\n     */\n    function tokenURI(uint256 tokenId) public view virtual returns (string memory) {\n        _requireOwned(tokenId);\n\n        string memory baseURI = _baseURI();\n        return bytes(baseURI).length > 0 ? string.concat(baseURI, tokenId.toString()) : \"\";\n    }\n\n    /**\n     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each\n     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty\n     * by default, can be overridden in child contracts.\n     */\n    function _baseURI() internal view virtual returns (string memory) {\n        return \"\";\n    }\n\n    /**\n     * @dev See {IERC721-approve}.\n     */\n    function approve(address to, uint256 tokenId) public virtual {\n        _approve(to, tokenId, _msgSender());\n    }\n\n    /**\n     * @dev See {IERC721-getApproved}.\n     */\n    function getApproved(uint256 tokenId) public view virtual returns (address) {\n        _requireOwned(tokenId);\n\n        return _getApproved(tokenId);\n    }\n\n    /**\n     * @dev See {IERC721-setApprovalForAll}.\n     */\n    function setApprovalForAll(address operator, bool approved) public virtual {\n        _setApprovalForAll(_msgSender(), operator, approved);\n    }\n\n    /**\n     * @dev See {IERC721-isApprovedForAll}.\n     */\n    function isApprovedForAll(address owner, address operator) public view virtual returns (bool) {\n        return _operatorApprovals[owner][operator];\n    }\n\n    /**\n     * @dev See {IERC721-transferFrom}.\n     */\n    function transferFrom(address from, address to, uint256 tokenId) public virtual {\n        if (to == address(0)) {\n            revert ERC721InvalidReceiver(address(0));\n        }\n        // Setting an \"auth\" arguments enables the `_isAuthorized` check which verifies that the token exists\n        // (from != 0). Therefore, it is not needed to verify that the return value is not 0 here.\n        address previousOwner = _update(to, tokenId, _msgSender());\n        if (previousOwner != from) {\n            revert ERC721IncorrectOwner(from, tokenId, previousOwner);\n        }\n    }\n\n    /**\n     * @dev See {IERC721-safeTransferFrom}.\n     */\n    function safeTransferFrom(address from, address to, uint256 tokenId) public {\n        safeTransferFrom(from, to, tokenId, \"\");\n    }\n\n    /**\n     * @dev See {IERC721-safeTransferFrom}.\n     */\n    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public virtual {\n        transferFrom(from, to, tokenId);\n        ERC721Utils.checkOnERC721Received(_msgSender(), from, to, tokenId, data);\n    }\n\n    /**\n     * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist\n     *\n     * IMPORTANT: Any overrides to this function that add ownership of tokens not tracked by the\n     * core ERC-721 logic MUST be matched with the use of {_increaseBalance} to keep balances\n     * consistent with ownership. The invariant to preserve is that for any address `a` the value returned by\n     * `balanceOf(a)` must be equal to the number of tokens such that `_ownerOf(tokenId)` is `a`.\n     */\n    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {\n        return _owners[tokenId];\n    }\n\n    /**\n     * @dev Returns the approved address for `tokenId`. Returns 0 if `tokenId` is not minted.\n     */\n    function _getApproved(uint256 tokenId) internal view virtual returns (address) {\n        return _tokenApprovals[tokenId];\n    }\n\n    /**\n     * @dev Returns whether `spender` is allowed to manage `owner`'s tokens, or `tokenId` in\n     * particular (ignoring whether it is owned by `owner`).\n     *\n     * WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this\n     * assumption.\n     */\n    function _isAuthorized(address owner, address spender, uint256 tokenId) internal view virtual returns (bool) {\n        return\n            spender != address(0) &&\n            (owner == spender || isApprovedForAll(owner, spender) || _getApproved(tokenId) == spender);\n    }\n\n    /**\n     * @dev Checks if `spender` can operate on `tokenId`, assuming the provided `owner` is the actual owner.\n     * Reverts if:\n     * - `spender` does not have approval from `owner` for `tokenId`.\n     * - `spender` does not have approval to manage all of `owner`'s assets.\n     *\n     * WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this\n     * assumption.\n     */\n    function _checkAuthorized(address owner, address spender, uint256 tokenId) internal view virtual {\n        if (!_isAuthorized(owner, spender, tokenId)) {\n            if (owner == address(0)) {\n                revert ERC721NonexistentToken(tokenId);\n            } else {\n                revert ERC721InsufficientApproval(spender, tokenId);\n            }\n        }\n    }\n\n    /**\n     * @dev Unsafe write access to the balances, used by extensions that \"mint\" tokens using an {ownerOf} override.\n     *\n     * NOTE: the value is limited to type(uint128).max. This protect against _balance overflow. It is unrealistic that\n     * a uint256 would ever overflow from increments when these increments are bounded to uint128 values.\n     *\n     * WARNING: Increasing an account's balance using this function tends to be paired with an override of the\n     * {_ownerOf} function to resolve the ownership of the corresponding tokens so that balances and ownership\n     * remain consistent with one another.\n     */\n    function _increaseBalance(address account, uint128 value) internal virtual {\n        unchecked {\n            _balances[account] += value;\n        }\n    }\n\n    /**\n     * @dev Transfers `tokenId` from its current owner to `to`, or alternatively mints (or burns) if the current owner\n     * (or `to`) is the zero address. Returns the owner of the `tokenId` before the update.\n     *\n     * The `auth` argument is optional. If the value passed is non 0, then this function will check that\n     * `auth` is either the owner of the token, or approved to operate on the token (by the owner).\n     *\n     * Emits a {Transfer} event.\n     *\n     * NOTE: If overriding this function in a way that tracks balances, see also {_increaseBalance}.\n     */\n    function _update(address to, uint256 tokenId, address auth) internal virtual returns (address) {\n        address from = _ownerOf(tokenId);\n\n        // Perform (optional) operator check\n        if (auth != address(0)) {\n            _checkAuthorized(from, auth, tokenId);\n        }\n\n        // Execute the update\n        if (from != address(0)) {\n            // Clear approval. No need to re-authorize or emit the Approval event\n            _approve(address(0), tokenId, address(0), false);\n\n            unchecked {\n                _balances[from] -= 1;\n            }\n        }\n\n        if (to != address(0)) {\n            unchecked {\n                _balances[to] += 1;\n            }\n        }\n\n        _owners[tokenId] = to;\n\n        emit Transfer(from, to, tokenId);\n\n        return from;\n    }\n\n    /**\n     * @dev Mints `tokenId` and transfers it to `to`.\n     *\n     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n     *\n     * Requirements:\n     *\n     * - `tokenId` must not exist.\n     * - `to` cannot be the zero address.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _mint(address to, uint256 tokenId) internal {\n        if (to == address(0)) {\n            revert ERC721InvalidReceiver(address(0));\n        }\n        address previousOwner = _update(to, tokenId, address(0));\n        if (previousOwner != address(0)) {\n            revert ERC721InvalidSender(address(0));\n        }\n    }\n\n    /**\n     * @dev Mints `tokenId`, transfers it to `to` and checks for `to` acceptance.\n     *\n     * Requirements:\n     *\n     * - `tokenId` must not exist.\n     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _safeMint(address to, uint256 tokenId) internal {\n        _safeMint(to, tokenId, \"\");\n    }\n\n    /**\n     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.\n     */\n    function _safeMint(address to, uint256 tokenId, bytes memory data) internal virtual {\n        _mint(to, tokenId);\n        ERC721Utils.checkOnERC721Received(_msgSender(), address(0), to, tokenId, data);\n    }\n\n    /**\n     * @dev Destroys `tokenId`.\n     * The approval is cleared when the token is burned.\n     * This is an internal function that does not check if the sender is authorized to operate on the token.\n     *\n     * Requirements:\n     *\n     * - `tokenId` must exist.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _burn(uint256 tokenId) internal {\n        address previousOwner = _update(address(0), tokenId, address(0));\n        if (previousOwner == address(0)) {\n            revert ERC721NonexistentToken(tokenId);\n        }\n    }\n\n    /**\n     * @dev Transfers `tokenId` from `from` to `to`.\n     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n     *\n     * Requirements:\n     *\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must be owned by `from`.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _transfer(address from, address to, uint256 tokenId) internal {\n        if (to == address(0)) {\n            revert ERC721InvalidReceiver(address(0));\n        }\n        address previousOwner = _update(to, tokenId, address(0));\n        if (previousOwner == address(0)) {\n            revert ERC721NonexistentToken(tokenId);\n        } else if (previousOwner != from) {\n            revert ERC721IncorrectOwner(from, tokenId, previousOwner);\n        }\n    }\n\n    /**\n     * @dev Safely transfers `tokenId` token from `from` to `to`, checking that contract recipients\n     * are aware of the ERC-721 standard to prevent tokens from being forever locked.\n     *\n     * `data` is additional data, it has no specified format and it is sent in call to `to`.\n     *\n     * This internal function is like {safeTransferFrom} in the sense that it invokes\n     * {IERC721Receiver-onERC721Received} on the receiver, and can be used to e.g.\n     * implement alternative mechanisms to perform token transfer, such as signature-based.\n     *\n     * Requirements:\n     *\n     * - `tokenId` token must exist and be owned by `from`.\n     * - `to` cannot be the zero address.\n     * - `from` cannot be the zero address.\n     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _safeTransfer(address from, address to, uint256 tokenId) internal {\n        _safeTransfer(from, to, tokenId, \"\");\n    }\n\n    /**\n     * @dev Same as {xref-ERC721-_safeTransfer-address-address-uint256-}[`_safeTransfer`], with an additional `data` parameter which is\n     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.\n     */\n    function _safeTransfer(address from, address to, uint256 tokenId, bytes memory data) internal virtual {\n        _transfer(from, to, tokenId);\n        ERC721Utils.checkOnERC721Received(_msgSender(), from, to, tokenId, data);\n    }\n\n    /**\n     * @dev Approve `to` to operate on `tokenId`\n     *\n     * The `auth` argument is optional. If the value passed is non 0, then this function will check that `auth` is\n     * either the owner of the token, or approved to operate on all tokens held by this owner.\n     *\n     * Emits an {Approval} event.\n     *\n     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.\n     */\n    function _approve(address to, uint256 tokenId, address auth) internal {\n        _approve(to, tokenId, auth, true);\n    }\n\n    /**\n     * @dev Variant of `_approve` with an optional flag to enable or disable the {Approval} event. The event is not\n     * emitted in the context of transfers.\n     */\n    function _approve(address to, uint256 tokenId, address auth, bool emitEvent) internal virtual {\n        // Avoid reading the owner unless necessary\n        if (emitEvent || auth != address(0)) {\n            address owner = _requireOwned(tokenId);\n\n            // We do not use _isAuthorized because single-token approvals should not be able to call approve\n            if (auth != address(0) && owner != auth && !isApprovedForAll(owner, auth)) {\n                revert ERC721InvalidApprover(auth);\n            }\n\n            if (emitEvent) {\n                emit Approval(owner, to, tokenId);\n            }\n        }\n\n        _tokenApprovals[tokenId] = to;\n    }\n\n    /**\n     * @dev Approve `operator` to operate on all of `owner` tokens\n     *\n     * Requirements:\n     * - operator can't be the address zero.\n     *\n     * Emits an {ApprovalForAll} event.\n     */\n    function _setApprovalForAll(address owner, address operator, bool approved) internal virtual {\n        if (operator == address(0)) {\n            revert ERC721InvalidOperator(operator);\n        }\n        _operatorApprovals[owner][operator] = approved;\n        emit ApprovalForAll(owner, operator, approved);\n    }\n\n    /**\n     * @dev Reverts if the `tokenId` doesn't have a current owner (it hasn't been minted, or it has been burned).\n     * Returns the owner.\n     *\n     * Overrides to ownership logic should be done to {_ownerOf}.\n     */\n    function _requireOwned(uint256 tokenId) internal view returns (address) {\n        address owner = _ownerOf(tokenId);\n        if (owner == address(0)) {\n            revert ERC721NonexistentToken(tokenId);\n        }\n        return owner;\n    }\n}\n"},"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/IERC721Metadata.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC721} from \"../IERC721.sol\";\n\n/**\n * @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n * @dev See https://eips.ethereum.org/EIPS/eip-721\n */\ninterface IERC721Metadata is IERC721 {\n    /**\n     * @dev Returns the token collection name.\n     */\n    function name() external view returns (string memory);\n\n    /**\n     * @dev Returns the token collection symbol.\n     */\n    function symbol() external view returns (string memory);\n\n    /**\n     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.\n     */\n    function tokenURI(uint256 tokenId) external view returns (string memory);\n}\n"},"@openzeppelin/contracts/token/ERC721/IERC721.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC721/IERC721.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC165} from \"../../utils/introspection/IERC165.sol\";\n\n/**\n * @dev Required interface of an ERC-721 compliant contract.\n */\ninterface IERC721 is IERC165 {\n    /**\n     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\n     */\n    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\n\n    /**\n     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\n     */\n    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\n\n    /**\n     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\n     */\n    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\n\n    /**\n     * @dev Returns the number of tokens in ``owner``'s account.\n     */\n    function balanceOf(address owner) external view returns (uint256 balance);\n\n    /**\n     * @dev Returns the owner of the `tokenId` token.\n     *\n     * Requirements:\n     *\n     * - `tokenId` must exist.\n     */\n    function ownerOf(uint256 tokenId) external view returns (address owner);\n\n    /**\n     * @dev Safely transfers `tokenId` token from `from` to `to`.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must exist and be owned by `from`.\n     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon\n     *   a safe transfer.\n     *\n     * Emits a {Transfer} event.\n     */\n    function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;\n\n    /**\n     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n     * are aware of the ERC-721 protocol to prevent tokens from being forever locked.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must exist and be owned by `from`.\n     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or\n     *   {setApprovalForAll}.\n     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon\n     *   a safe transfer.\n     *\n     * Emits a {Transfer} event.\n     */\n    function safeTransferFrom(address from, address to, uint256 tokenId) external;\n\n    /**\n     * @dev Transfers `tokenId` token from `from` to `to`.\n     *\n     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC-721\n     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must\n     * understand this adds an external call which potentially creates a reentrancy vulnerability.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must be owned by `from`.\n     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transferFrom(address from, address to, uint256 tokenId) external;\n\n    /**\n     * @dev Gives permission to `to` to transfer `tokenId` token to another account.\n     * The approval is cleared when the token is transferred.\n     *\n     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n     *\n     * Requirements:\n     *\n     * - The caller must own the token or be an approved operator.\n     * - `tokenId` must exist.\n     *\n     * Emits an {Approval} event.\n     */\n    function approve(address to, uint256 tokenId) external;\n\n    /**\n     * @dev Approve or remove `operator` as an operator for the caller.\n     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n     *\n     * Requirements:\n     *\n     * - The `operator` cannot be the address zero.\n     *\n     * Emits an {ApprovalForAll} event.\n     */\n    function setApprovalForAll(address operator, bool approved) external;\n\n    /**\n     * @dev Returns the account approved for `tokenId` token.\n     *\n     * Requirements:\n     *\n     * - `tokenId` must exist.\n     */\n    function getApproved(uint256 tokenId) external view returns (address operator);\n\n    /**\n     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n     *\n     * See {setApprovalForAll}\n     */\n    function isApprovedForAll(address owner, address operator) external view returns (bool);\n}\n"},"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC721/IERC721Receiver.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @title ERC-721 token receiver interface\n * @dev Interface for any contract that wants to support safeTransfers\n * from ERC-721 asset contracts.\n */\ninterface IERC721Receiver {\n    /**\n     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n     * by `operator` from `from`, this function is called.\n     *\n     * It must return its Solidity selector to confirm the token transfer.\n     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be\n     * reverted.\n     *\n     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.\n     */\n    function onERC721Received(\n        address operator,\n        address from,\n        uint256 tokenId,\n        bytes calldata data\n    ) external returns (bytes4);\n}\n"},"@openzeppelin/contracts/token/ERC721/utils/ERC721Utils.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC721/utils/ERC721Utils.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC721Receiver} from \"../IERC721Receiver.sol\";\nimport {IERC721Errors} from \"../../../interfaces/draft-IERC6093.sol\";\n\n/**\n * @dev Library that provide common ERC-721 utility functions.\n *\n * See https://eips.ethereum.org/EIPS/eip-721[ERC-721].\n *\n * _Available since v5.1._\n */\nlibrary ERC721Utils {\n    /**\n     * @dev Performs an acceptance check for the provided `operator` by calling {IERC721-onERC721Received}\n     * on the `to` address. The `operator` is generally the address that initiated the token transfer (i.e. `msg.sender`).\n     *\n     * The acceptance call is not executed and treated as a no-op if the target address doesn't contain code (i.e. an EOA).\n     * Otherwise, the recipient must implement {IERC721Receiver-onERC721Received} and return the acceptance magic value to accept\n     * the transfer.\n     */\n    function checkOnERC721Received(\n        address operator,\n        address from,\n        address to,\n        uint256 tokenId,\n        bytes memory data\n    ) internal {\n        if (to.code.length > 0) {\n            try IERC721Receiver(to).onERC721Received(operator, from, tokenId, data) returns (bytes4 retval) {\n                if (retval != IERC721Receiver.onERC721Received.selector) {\n                    // Token rejected\n                    revert IERC721Errors.ERC721InvalidReceiver(to);\n                }\n            } catch (bytes memory reason) {\n                if (reason.length == 0) {\n                    // non-IERC721Receiver implementer\n                    revert IERC721Errors.ERC721InvalidReceiver(to);\n                } else {\n                    assembly (\"memory-safe\") {\n                        revert(add(32, reason), mload(reason))\n                    }\n                }\n            }\n        }\n    }\n}\n"},"@openzeppelin/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"},"@openzeppelin/contracts/utils/introspection/ERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/ERC165.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC165} from \"./IERC165.sol\";\n\n/**\n * @dev Implementation of the {IERC165} interface.\n *\n * Contracts that want to implement ERC-165 should inherit from this contract and override {supportsInterface} to check\n * for the additional interface id that will be supported. For example:\n *\n * ```solidity\n * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);\n * }\n * ```\n */\nabstract contract ERC165 is IERC165 {\n    /**\n     * @dev See {IERC165-supportsInterface}.\n     */\n    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {\n        return interfaceId == type(IERC165).interfaceId;\n    }\n}\n"},"@openzeppelin/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"},"@openzeppelin/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 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            if (c < a) return (false, 0);\n            return (true, c);\n        }\n    }\n\n    /**\n     * @dev Returns the subtraction of two unsigned integers, with an success flag (no overflow).\n     */\n    function trySub(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            if (b > a) return (false, 0);\n            return (true, a - b);\n        }\n    }\n\n    /**\n     * @dev Returns the multiplication of two unsigned integers, with an success flag (no overflow).\n     */\n    function tryMul(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\n            // benefit is lost if 'b' is also tested.\n            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\n            if (a == 0) return (true, 0);\n            uint256 c = a * b;\n            if (c / a != b) return (false, 0);\n            return (true, c);\n        }\n    }\n\n    /**\n     * @dev Returns the division of two unsigned integers, with a success flag (no division by zero).\n     */\n    function tryDiv(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            if (b == 0) return (false, 0);\n            return (true, a / b);\n        }\n    }\n\n    /**\n     * @dev Returns the remainder of dividing two unsigned integers, with a success flag (no division by zero).\n     */\n    function tryMod(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            if (b == 0) return (false, 0);\n            return (true, a % b);\n        }\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            // 512-bit multiply [prod1 prod0] = 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 = prod1 * 2²⁵⁶ + prod0.\n            uint256 prod0 = x * y; // Least significant 256 bits of the product\n            uint256 prod1; // Most significant 256 bits of the product\n            assembly {\n                let mm := mulmod(x, y, not(0))\n                prod1 := sub(sub(mm, prod0), lt(mm, prod0))\n            }\n\n            // Handle non-overflow cases, 256 by 256 division.\n            if (prod1 == 0) {\n                // Solidity will revert if denominator == 0, unlike the div opcode on its own.\n                // The surrounding unchecked block does not change this fact.\n                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.\n                return prod0 / denominator;\n            }\n\n            // Make sure the result is less than 2²⁵⁶. Also prevents denominator == 0.\n            if (denominator <= prod1) {\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 [prod1 prod0].\n            uint256 remainder;\n            assembly {\n                // Compute remainder using mulmod.\n                remainder := mulmod(x, y, denominator)\n\n                // Subtract 256 bit number from 512 bit number.\n                prod1 := sub(prod1, gt(remainder, prod0))\n                prod0 := sub(prod0, remainder)\n            }\n\n            // Factor powers of two out of denominator and compute largest power of two divisor of denominator.\n            // Always >= 1. See https://cs.stackexchange.com/q/138556/92363.\n\n            uint256 twos = denominator & (0 - denominator);\n            assembly {\n                // Divide denominator by twos.\n                denominator := div(denominator, twos)\n\n                // Divide [prod1 prod0] by twos.\n                prod0 := div(prod0, twos)\n\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 prod1 into prod0.\n            prod0 |= prod1 * 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 prod1\n            // is no longer required.\n            result = prod0 * 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 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 value) internal pure returns (uint256) {\n        uint256 result = 0;\n        uint256 exp;\n        unchecked {\n            exp = 128 * SafeCast.toUint(value > (1 << 128) - 1);\n            value >>= exp;\n            result += exp;\n\n            exp = 64 * SafeCast.toUint(value > (1 << 64) - 1);\n            value >>= exp;\n            result += exp;\n\n            exp = 32 * SafeCast.toUint(value > (1 << 32) - 1);\n            value >>= exp;\n            result += exp;\n\n            exp = 16 * SafeCast.toUint(value > (1 << 16) - 1);\n            value >>= exp;\n            result += exp;\n\n            exp = 8 * SafeCast.toUint(value > (1 << 8) - 1);\n            value >>= exp;\n            result += exp;\n\n            exp = 4 * SafeCast.toUint(value > (1 << 4) - 1);\n            value >>= exp;\n            result += exp;\n\n            exp = 2 * SafeCast.toUint(value > (1 << 2) - 1);\n            value >>= exp;\n            result += exp;\n\n            result += SafeCast.toUint(value > 1);\n        }\n        return result;\n    }\n\n    /**\n     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log2(value);\n            return result + 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 value) internal pure returns (uint256) {\n        uint256 result = 0;\n        uint256 isGt;\n        unchecked {\n            isGt = SafeCast.toUint(value > (1 << 128) - 1);\n            value >>= isGt * 128;\n            result += isGt * 16;\n\n            isGt = SafeCast.toUint(value > (1 << 64) - 1);\n            value >>= isGt * 64;\n            result += isGt * 8;\n\n            isGt = SafeCast.toUint(value > (1 << 32) - 1);\n            value >>= isGt * 32;\n            result += isGt * 4;\n\n            isGt = SafeCast.toUint(value > (1 << 16) - 1);\n            value >>= isGt * 16;\n            result += isGt * 2;\n\n            result += SafeCast.toUint(value > (1 << 8) - 1);\n        }\n        return result;\n    }\n\n    /**\n     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log256(value);\n            return result + 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"},"@openzeppelin/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"},"@openzeppelin/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"},"@openzeppelin/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"},"@openzeppelin/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"},"@openzeppelin/contracts/utils/Strings.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/Strings.sol)\n\npragma solidity ^0.8.20;\n\nimport {Math} from \"./math/Math.sol\";\nimport {SignedMath} from \"./math/SignedMath.sol\";\n\n/**\n * @dev String operations.\n */\nlibrary Strings {\n    bytes16 private constant HEX_DIGITS = \"0123456789abcdef\";\n    uint8 private constant ADDRESS_LENGTH = 20;\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 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"},"src/FusionChamber.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nimport \"@openzeppelin/contracts/access/Ownable.sol\";\nimport \"@openzeppelin/contracts/utils/ReentrancyGuard.sol\";\nimport \"./SynthGenesisNFT.sol\";\nimport \"./SynthToken.sol\";\n\n/// @title FusionChamber — the only place EVOLVED and ASCENDED are born.\n///\n/// Reaction I (GENESIS -> EVOLVED), open from day one:\n///   burn 2 GENESIS + 0.002 BNB fee -> 1 EVOLVED + 55,000 SYNTH paid\n///   straight to the fuser's wallet in the same transaction.\n///   Fee split: 0.0016 BNB to the LP bucket, 0.0004 BNB to dev (instant).\n///   Max 2,222 fusions. The 1,000th Gen-1 fusion opens the Gate.\n///\n/// The Gate (1,000 Gen-1 fusions, Gen-1 fusions only count):\n///   the SYNTH listing moment — seeds the LP with 1.6 BNB from the bucket\n///   + 8,000,000 SYNTH from the reserve (sent to the LP vault) and starts\n///   the dev vesting schedule in SynthToken. Rewards were never locked,\n///   so the Gate unlocks nothing; it opens trading on PancakeSwap.\n///\n/// Fallback gate (owner-scheduled, set once at wiring time):\n///   if the fusion count has not opened the Gate by `fallbackOpensAt`,\n///   the owner may open it with whatever the bucket holds at that\n///   moment: the entire bucket is paired with reserve SYNTH at the\n///   opening ratio (0.0000002 BNB per SYNTH = 5,000,000 SYNTH per BNB)\n///   and sent to the LP vault, and dev vesting starts — the same end\n///   state as the fusion-count Gate, at a smaller seed. Entirely at the\n///   owner's discretion: nothing fires automatically at the timestamp,\n///   and once either path has opened the Gate the other is closed.\n///\n/// Reaction II (EVOLVED -> ASCENDED), open from day one:\n///   burn 2 EVOLVED + burn 30,000 SYNTH -> 1 ASCENDED + 105,000 SYNTH paid\n///   straight to the fuser's wallet (net +75,000). No BNB fee. Max 1,111\n///   fusions. The 30,000 is pulled from the caller's wallet\n///   (transferFrom — the caller approves the chamber once) and burned.\n///\n/// REWARD MODEL (owner correction 2026-11-21 18:29 WIB): fusion rewards\n/// are NEVER locked and never claimed — they land in the fusing wallet in\n/// the same transaction. An earlier locked-balance draft was replaced\n/// before deployment; nothing on mainnet ever used it.\n///\n/// Reserve burn program: every 150 COMBINED fusions burn 3,000,000 SYNTH\n/// from the LP reserve, 11 milestones, stopping permanently at 33,000,000.\n/// Runs pre-gate too. Post-gate, the owner can pair the accumulated fee-BNB\n/// bucket with reserve tokens into the LP vault (`pairAccumulatedLP`);\n/// cumulative LP tokens (gate seed + pairings) are capped at 17,776,000,\n/// exactly the brief's LP token budget, so the reserve ends at zero.\n///\n/// Solvency (brief final accounting): gross rewards max 238,865,000\n/// (2,222 x 55,000 + 1,111 x 105,000) against a prize fund of 239,224,000\n/// held by this chamber — always solvent, 359,000 spare at full program.\ncontract FusionChamber is Ownable, ReentrancyGuard {\n    // Generation ids — must match SynthGenesisNFT (GENESIS/EVOLVED/ASCENDED).\n    uint8 internal constant GEN_GENESIS = 0;\n    uint8 internal constant GEN_EVOLVED = 1;\n    uint8 internal constant GEN_ASCENDED = 2;\n\n    uint256 public constant GEN1_FEE = 0.002 ether;\n    uint256 public constant GEN1_FEE_LP = 0.0016 ether;\n    uint256 public constant GEN1_FEE_DEV = 0.0004 ether;\n    uint256 public constant GEN1_REWARD = 55_000 ether;\n    uint256 public constant GEN2_COST = 30_000 ether;\n    uint256 public constant GEN2_REWARD = 105_000 ether;\n    uint256 public constant MAX_GEN1_FUSIONS = 2222;\n    uint256 public constant MAX_GEN2_FUSIONS = 1111;\n    uint256 public constant GATE_FUSIONS = 1000;\n    uint256 public constant GATE_LP_BNB = 1.6 ether;\n    uint256 public constant GATE_LP_TOKENS = 8_000_000 ether;\n    /// @notice Fallback-gate pairing ratio: reserve SYNTH per 1 BNB of\n    /// bucket, at the opening price (SynthToken.OPENING_PRICE_BNB is\n    /// 2e11 wei of BNB per SYNTH, so 1e18 / 2e11 = 5,000,000 SYNTH/BNB).\n    uint256 public constant FALLBACK_TOKENS_PER_BNB = 5_000_000;\n    uint256 public constant LP_TOKEN_BUDGET = 17_776_000 ether;\n    uint256 public constant BURN_PER_MILESTONE = 3_000_000 ether;\n    uint256 public constant BURN_FUSION_STEP = 150;\n    uint256 public constant MAX_MILESTONES = 11;\n    uint256 public constant MAX_RESERVE_BURN = 33_000_000 ether;\n\n    SynthGenesisNFT public immutable nft;\n    address public immutable devWallet;\n    /// @notice Receives LP seed/pairing funds (production: the pair/locker\n    /// flow controlled by the owner; the brief does not specify a router).\n    address public immutable lpVault;\n    SynthToken public token;\n    bool public tokenSet;\n\n    uint256 public totalGen1Fusions;\n    uint256 public totalGen2Fusions;\n    bool public gateOpen;\n\n    /// @notice Fallback-gate schedule: unix time from which the owner may\n    /// open the Gate with the accumulated bucket (see openGateFallback).\n    /// 0 = not scheduled. Set once by the owner at wiring time.\n    uint256 public fallbackOpensAt;\n\n    /// @notice Unpaired fee BNB accumulated in the LP bucket.\n    uint256 public lpBucket;\n    /// @notice LP-reserve SYNTH still held (starts at 50,776,000).\n    uint256 public lpReserveRemaining;\n    uint256 public lpTokensSent; // cumulative, incl. the 4,000,000 gate seed\n    uint256 public reserveBurnedTotal;\n    uint256 public milestonesFired;\n\n    event TokenSet(address indexed token);\n    event FusedGen1(address indexed fuser, uint256 tokenIdA, uint256 tokenIdB, uint256 evolvedId);\n    event FusedGen2(address indexed fuser, uint256 tokenIdA, uint256 tokenIdB, uint256 ascendedId);\n    event GateOpened(uint256 gen1Fusions, uint256 lpBnb, uint256 lpTokens);\n    event FallbackOpensAtSet(uint256 opensAt);\n    event GateFallbackOpened(uint256 gen1Fusions, uint256 lpBnb, uint256 lpTokens);\n    event RewardPaid(address indexed user, uint256 amount, uint8 generation);\n    event ReserveBurned(uint256 milestone, uint256 amount, uint256 totalBurned);\n    event LPPaired(uint256 bnbAmount, uint256 tokenAmount);\n    event DevFeePaid(address indexed dev, uint256 amount);\n\n    constructor(address nft_, address devWallet_, address lpVault_, address owner_) Ownable(owner_) {\n        require(nft_ != address(0), \"nft=0\");\n        require(devWallet_ != address(0), \"dev=0\");\n        require(lpVault_ != address(0), \"lpVault=0\");\n        nft = SynthGenesisNFT(nft_);\n        devWallet = devWallet_;\n        lpVault = lpVault_;\n        lpReserveRemaining = 50_776_000 ether; // == SynthToken.LP_RESERVE, minted to this chamber\n    }\n\n    /// @notice One-time wiring of the SYNTH token.\n    function setToken(address token_) external onlyOwner {\n        require(!tokenSet, \"token already set\");\n        require(token_ != address(0), \"token=0\");\n        token = SynthToken(payable(token_));\n        tokenSet = true;\n        emit TokenSet(token_);\n    }\n\n    /// @notice One-time wiring of the fallback-gate schedule (unix time).\n    /// From that moment the owner MAY open the Gate with the accumulated\n    /// bucket via openGateFallback; nothing happens automatically.\n    function setFallbackOpensAt(uint256 opensAt_) external onlyOwner {\n        require(fallbackOpensAt == 0, \"fallback already set\");\n        require(opensAt_ != 0, \"time=0\");\n        fallbackOpensAt = opensAt_;\n        emit FallbackOpensAtSet(opensAt_);\n    }\n\n    // ------------------------------------------------------------------\n    // Reaction I\n    // ------------------------------------------------------------------\n    function fuseGen1(uint256 tokenIdA, uint256 tokenIdB) external payable nonReentrant returns (uint256 evolvedId) {\n        require(tokenSet, \"token not set\");\n        require(msg.value == GEN1_FEE, \"fee must be 0.002 BNB\");\n        require(tokenIdA != tokenIdB, \"same token\");\n        require(totalGen1Fusions < MAX_GEN1_FUSIONS, \"gen1 fusion cap\");\n\n        // Verified burns first: the chamber can only mint after these pass.\n        nft.chamberBurn(msg.sender, tokenIdA, GEN_GENESIS);\n        nft.chamberBurn(msg.sender, tokenIdB, GEN_GENESIS);\n        evolvedId = nft.chamberMint(msg.sender, GEN_EVOLVED);\n\n        totalGen1Fusions += 1;\n        require(token.transfer(msg.sender, GEN1_REWARD), \"reward transfer failed\");\n        emit RewardPaid(msg.sender, GEN1_REWARD, GEN_EVOLVED);\n        lpBucket += GEN1_FEE_LP;\n\n        (bool ok, ) = payable(devWallet).call{value: GEN1_FEE_DEV}(\"\");\n        require(ok, \"dev fee failed\");\n        emit DevFeePaid(devWallet, GEN1_FEE_DEV);\n        emit FusedGen1(msg.sender, tokenIdA, tokenIdB, evolvedId);\n\n        _afterFusion();\n        if (!gateOpen && totalGen1Fusions >= GATE_FUSIONS) {\n            _openGate();\n        }\n    }\n\n    // ------------------------------------------------------------------\n    // Reaction II\n    // ------------------------------------------------------------------\n    function fuseGen2(uint256 tokenIdA, uint256 tokenIdB) external nonReentrant returns (uint256 ascendedId) {\n        require(tokenSet, \"token not set\");\n        require(tokenIdA != tokenIdB, \"same token\");\n        require(totalGen2Fusions < MAX_GEN2_FUSIONS, \"gen2 fusion cap\");\n\n        // Pay the 30,000 SYNTH cost from the caller's wallet (one-time\n        // approve); it is burned below, out of this chamber's balance.\n        require(token.transferFrom(msg.sender, address(this), GEN2_COST), \"token pull failed\");\n\n        // Verified burns, then the only ASCENDED mint path in the system.\n        nft.chamberBurn(msg.sender, tokenIdA, GEN_EVOLVED);\n        nft.chamberBurn(msg.sender, tokenIdB, GEN_EVOLVED);\n        ascendedId = nft.chamberMint(msg.sender, GEN_ASCENDED);\n\n        token.burn(GEN2_COST); // burns the pulled 30,000 from this chamber's balance\n        totalGen2Fusions += 1;\n        require(token.transfer(msg.sender, GEN2_REWARD), \"reward transfer failed\");\n        emit RewardPaid(msg.sender, GEN2_REWARD, GEN_ASCENDED);\n        emit FusedGen2(msg.sender, tokenIdA, tokenIdB, ascendedId);\n\n        _afterFusion();\n    }\n\n    // ------------------------------------------------------------------\n    // Post-gate LP pairing of the accumulated fee bucket.\n    // The owner supplies the reserve-token amount matching the market\n    // ratio; the contract moves ALL unpaired bucket BNB with it.\n    // ------------------------------------------------------------------\n    function pairAccumulatedLP(uint256 tokenAmount) external onlyOwner nonReentrant {\n        require(gateOpen, \"gate not open\");\n        require(tokenAmount > 0, \"amount=0\");\n        require(lpTokensSent + tokenAmount <= LP_TOKEN_BUDGET, \"lp token budget exceeded\");\n        require(tokenAmount <= lpReserveRemaining, \"reserve insufficient\");\n        uint256 bnbAmount = lpBucket;\n        require(bnbAmount > 0, \"bucket empty\");\n        lpBucket = 0;\n        lpReserveRemaining -= tokenAmount;\n        lpTokensSent += tokenAmount;\n        require(token.transfer(lpVault, tokenAmount), \"token transfer failed\");\n        (bool ok, ) = payable(lpVault).call{value: bnbAmount}(\"\");\n        require(ok, \"bnb transfer failed\");\n        emit LPPaired(bnbAmount, tokenAmount);\n    }\n\n    // ------------------------------------------------------------------\n    // Fallback gate. If the fusion-count Gate has not opened by the\n    // scheduled time, the owner may open it with whatever the bucket\n    // holds: the ENTIRE bucket is paired with reserve SYNTH at the\n    // opening ratio and sent to the LP vault, and dev vesting starts —\n    // the same end state as _openGate, at a smaller seed. The reserve\n    // and LP-budget caps are the same ones the normal path respects.\n    // ------------------------------------------------------------------\n    function openGateFallback() external onlyOwner nonReentrant {\n        require(!gateOpen, \"gate already open\");\n        require(fallbackOpensAt != 0, \"fallback not scheduled\");\n        require(block.timestamp >= fallbackOpensAt, \"fallback not yet available\");\n        require(lpBucket > 0, \"bucket empty\");\n\n        uint256 bnbAmount = lpBucket;\n        uint256 tokenAmount = bnbAmount * FALLBACK_TOKENS_PER_BNB;\n        require(tokenAmount <= lpReserveRemaining, \"reserve insufficient\");\n        require(lpTokensSent + tokenAmount <= LP_TOKEN_BUDGET, \"lp token budget exceeded\");\n\n        gateOpen = true;\n        lpBucket = 0;\n        lpReserveRemaining -= tokenAmount;\n        lpTokensSent += tokenAmount;\n        require(token.transfer(lpVault, tokenAmount), \"fallback token seed failed\");\n        (bool ok, ) = payable(lpVault).call{value: bnbAmount}(\"\");\n        require(ok, \"fallback bnb seed failed\");\n        token.startVesting();\n        emit GateOpened(totalGen1Fusions, bnbAmount, tokenAmount);\n        emit GateFallbackOpened(totalGen1Fusions, bnbAmount, tokenAmount);\n    }\n\n    // ------------------------------------------------------------------\n    // Internals\n    // ------------------------------------------------------------------\n    function _afterFusion() internal {\n        uint256 combined = totalGen1Fusions + totalGen2Fusions;\n        while (\n            milestonesFired < MAX_MILESTONES &&\n            reserveBurnedTotal < MAX_RESERVE_BURN &&\n            combined >= (milestonesFired + 1) * BURN_FUSION_STEP\n        ) {\n            milestonesFired += 1;\n            reserveBurnedTotal += BURN_PER_MILESTONE;\n            lpReserveRemaining -= BURN_PER_MILESTONE;\n            token.burn(BURN_PER_MILESTONE);\n            emit ReserveBurned(milestonesFired, BURN_PER_MILESTONE, reserveBurnedTotal);\n        }\n    }\n\n    function _openGate() internal {\n        gateOpen = true;\n        require(lpBucket >= GATE_LP_BNB, \"bucket below gate seed\");\n        require(lpReserveRemaining >= GATE_LP_TOKENS, \"reserve below gate seed\");\n        lpBucket -= GATE_LP_BNB;\n        lpReserveRemaining -= GATE_LP_TOKENS;\n        lpTokensSent += GATE_LP_TOKENS;\n        require(token.transfer(lpVault, GATE_LP_TOKENS), \"gate token seed failed\");\n        (bool ok, ) = payable(lpVault).call{value: GATE_LP_BNB}(\"\");\n        require(ok, \"gate bnb seed failed\");\n        token.startVesting();\n        emit GateOpened(totalGen1Fusions, GATE_LP_BNB, GATE_LP_TOKENS);\n    }\n\n    function combinedFusions() external view returns (uint256) {\n        return totalGen1Fusions + totalGen2Fusions;\n    }\n}\n"},"src/interfaces/IAgentIDRegistry.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\n/// @notice Agent ID gate interface — same pattern as the owner's earlier BSC\n/// collections (Gloop, EnigmaAgent, Pixelbyte, PawGang): the public mint\n/// requires holding a SPACE ID Agent ID NFT, checked via balanceOf().\n/// Production registry: 0x60B9262456dE011F7d15a54CdD8c48bAaa8B022F (BSC).\ninterface IAgentIDRegistry {\n    function balanceOf(address owner) external view returns (uint256);\n}\n"},"src/interfaces/IPancakeRouter.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\n/// @notice Minimal PancakeSwap V2 router surface used by the SYNTH tax\n/// auto-swap: quote + fee-on-transfer sell into BNB.\ninterface IPancakeRouter {\n    function getAmountsOut(uint256 amountIn, address[] calldata path)\n        external\n        view\n        returns (uint256[] memory amounts);\n\n    function swapExactTokensForETHSupportingFeeOnTransferTokens(\n        uint256 amountIn,\n        uint256 amountOutMin,\n        address[] calldata path,\n        address to,\n        uint256 deadline\n    ) external;\n\n    function addLiquidityETH(\n        address token,\n        uint256 amountTokenDesired,\n        uint256 amountTokenMin,\n        uint256 amountETHMin,\n        address to,\n        uint256 deadline\n    ) external payable returns (uint256 amountToken, uint256 amountETH, uint256 liquidity);\n}\n"},"src/SynthGenesisNFT.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nimport \"@openzeppelin/contracts/token/ERC721/ERC721.sol\";\nimport \"@openzeppelin/contracts/token/common/ERC2981.sol\";\nimport \"@openzeppelin/contracts/access/Ownable.sol\";\nimport \"@openzeppelin/contracts/utils/Strings.sol\";\nimport \"./interfaces/IAgentIDRegistry.sol\";\n\n/// @title SYNTHGENESIS — Synth NFT: GENESIS (Gen 0) / EVOLVED (Gen 1) / ASCENDED (Gen 2)\n///\n/// MINT SECURITY (locked by the owner, brief 2026-11-21):\n/// 1. The ONLY public mint is `mint()` and it can only ever create GENESIS.\n/// 2. EVOLVED and ASCENDED have NO public or owner mint path. They can only\n///    be created by `chamberMint`, which is callable exclusively by the\n///    FusionChamber contract (after it has verifiably burned the inputs).\n///    The owner cannot call it — the chamber address is set once and locked.\n/// 3. GENESIS is max 1 per wallet, enforced on-contract via `hasMinted`.\n/// 4. GENESIS hard cap `totalMinted <= 4444` is checked inside `mint()`.\n/// 5. GENESIS mint is plain (no proof-of-work) and gated by Agent ID:\n///    the caller must hold a SPACE ID Agent ID (registry balanceOf > 0).\n/// 6. LAUNCH SCHEDULE (owner order 2026-11-21): `mint()` reverts until\n///    chain time reaches `mintOpensAt`, set by the owner at wiring time.\n///    The chain itself opens the mint at the announced moment — no\n///    launch-night tap or transaction is needed, and knowing the contract\n///    address early gains a bot nothing. `mintHalted` is an owner\n///    emergency brake on top of the schedule.\n///\n/// Token id layout: GENESIS 1..4444, EVOLVED 10001..12222, ASCENDED 20001..21111.\ncontract SynthGenesisNFT is ERC721, ERC2981, Ownable {\n    uint256 public constant GENESIS_SUPPLY = 4444;\n    uint256 public constant EVOLVED_CAP = 2222;\n    uint256 public constant ASCENDED_CAP = 1111;\n    uint96 public constant ROYALTY_BPS = 300; // 3% (mirrors the market royalty in the brief)\n\n    uint256 public constant EVOLVED_ID_BASE = 10000;\n    uint256 public constant ASCENDED_ID_BASE = 20000;\n\n    uint8 public constant GEN_GENESIS = 0;\n    uint8 public constant GEN_EVOLVED = 1;\n    uint8 public constant GEN_ASCENDED = 2;\n\n    IAgentIDRegistry public immutable agentRegistry;\n\n    /// @notice The FusionChamber — the only address allowed to mint Gen 1/2\n    /// and to burn tokens for fusion. Set once by the owner, then locked.\n    address public fusionChamber;\n    bool public chamberLocked;\n\n    uint256 public totalMinted; // GENESIS only\n    uint256 public evolvedMinted;\n    uint256 public ascendedMinted;\n    mapping(address => bool) public hasMinted;\n    mapping(uint256 => uint8) public generationOf;\n\n    /// @notice Launch schedule: unix time when the GENESIS mint opens.\n    /// 0 = not scheduled yet. Set by the owner at wiring time; the chain\n    /// opens the mint by itself when block time reaches it.\n    uint256 public mintOpensAt;\n    /// @notice Emergency brake: while true, mint() reverts even after open.\n    bool public mintHalted;\n\n    string private _baseTokenURI;\n    bool public baseURILocked;\n\n    event GenesisMinted(address indexed minter, uint256 tokenId);\n    event MintOpensAtSet(uint256 opensAt);\n    event MintHaltedSet(bool halted);\n    event ChamberMinted(address indexed to, uint256 tokenId, uint8 generation);\n    event ChamberBurned(address indexed from, uint256 tokenId, uint8 generation);\n    event FusionChamberSet(address indexed chamber);\n    event ChamberLocked();\n    event BaseURISet(string uri);\n    event BaseURILocked();\n\n    constructor(\n        address agentRegistry_,\n        address creator_,\n        address owner_,\n        string memory baseURI_\n    ) ERC721(\"Synth\", \"SYNTH\") Ownable(owner_) {\n        require(agentRegistry_ != address(0), \"registry=0\");\n        require(creator_ != address(0), \"creator=0\");\n        agentRegistry = IAgentIDRegistry(agentRegistry_);\n        _baseTokenURI = baseURI_;\n        _setDefaultRoyalty(creator_, ROYALTY_BPS);\n    }\n\n    modifier onlyChamber() {\n        require(msg.sender == fusionChamber && fusionChamber != address(0), \"not chamber\");\n        _;\n    }\n\n    // ------------------------------------------------------------------\n    // GENESIS public mint — the only public mint in the whole system.\n    // ------------------------------------------------------------------\n    function mint() external {\n        require(mintOpensAt != 0 && block.timestamp >= mintOpensAt, \"mint closed\");\n        require(!mintHalted, \"mint halted\");\n        require(agentRegistry.balanceOf(msg.sender) > 0, \"Agent ID required\");\n        require(!hasMinted[msg.sender], \"already minted\");\n        require(totalMinted < GENESIS_SUPPLY, \"sold out\");\n        hasMinted[msg.sender] = true;\n        totalMinted += 1;\n        uint256 tokenId = totalMinted;\n        generationOf[tokenId] = GEN_GENESIS;\n        _safeMint(msg.sender, tokenId);\n        emit GenesisMinted(msg.sender, tokenId);\n    }\n\n    // ------------------------------------------------------------------\n    // Chamber-only creation of EVOLVED / ASCENDED. There is deliberately\n    // no other function in this contract that can create Gen 1/2 tokens,\n    // and the owner has no way to call this one.\n    // ------------------------------------------------------------------\n    function chamberMint(address to, uint8 generation) external onlyChamber returns (uint256 tokenId) {\n        require(to != address(0), \"to=0\");\n        if (generation == GEN_EVOLVED) {\n            require(evolvedMinted < EVOLVED_CAP, \"evolved cap\");\n            evolvedMinted += 1;\n            tokenId = EVOLVED_ID_BASE + evolvedMinted;\n        } else if (generation == GEN_ASCENDED) {\n            require(ascendedMinted < ASCENDED_CAP, \"ascended cap\");\n            ascendedMinted += 1;\n            tokenId = ASCENDED_ID_BASE + ascendedMinted;\n        } else {\n            revert(\"gen must be 1 or 2\");\n        }\n        generationOf[tokenId] = generation;\n        _safeMint(to, tokenId);\n        emit ChamberMinted(to, tokenId, generation);\n    }\n\n    /// @notice Chamber-only burn used by fusion. Verifies the token really\n    /// belongs to `from` and really is of the expected generation, so a\n    /// fusion can never burn the wrong class of token.\n    function chamberBurn(address from, uint256 tokenId, uint8 expectedGeneration) external onlyChamber {\n        require(ownerOf(tokenId) == from, \"not token owner\");\n        require(generationOf[tokenId] == expectedGeneration, \"wrong generation\");\n        _burn(tokenId);\n        emit ChamberBurned(from, tokenId, expectedGeneration);\n    }\n\n    // ------------------------------------------------------------------\n    // Wiring / admin\n    // ------------------------------------------------------------------\n    /// @notice Schedule the GENESIS mint open (unix timestamp). The mint\n    /// opens by itself when chain time reaches it — no tap is needed at\n    /// launch. The owner can reschedule at any time.\n    function setMintOpensAt(uint256 opensAt_) external onlyOwner {\n        mintOpensAt = opensAt_;\n        emit MintOpensAtSet(opensAt_);\n    }\n\n    /// @notice Emergency brake for the public mint. Fusion paths never\n    /// call mint(), so halting cannot strand EVOLVED/ASCENDED creation.\n    function setMintHalted(bool halted_) external onlyOwner {\n        mintHalted = halted_;\n        emit MintHaltedSet(halted_);\n    }\n\n    /// @notice Effective mint state, for the website and monitors.\n    function mintOpen() public view returns (bool) {\n        return mintOpensAt != 0 && block.timestamp >= mintOpensAt && !mintHalted;\n    }\n\n    /// @notice One-time wiring: once locked, the chamber can never be\n    /// swapped, so Gen 1/2 minting rights can never be reassigned.\n    function setFusionChamber(address chamber_) external onlyOwner {\n        require(!chamberLocked, \"chamber locked\");\n        require(chamber_ != address(0), \"chamber=0\");\n        fusionChamber = chamber_;\n        chamberLocked = true;\n        emit FusionChamberSet(chamber_);\n        emit ChamberLocked();\n    }\n\n    function setBaseURI(string calldata uri) external onlyOwner {\n        require(!baseURILocked, \"baseURI locked\");\n        _baseTokenURI = uri;\n        emit BaseURISet(uri);\n    }\n\n    function lockBaseURI() external onlyOwner {\n        baseURILocked = true;\n        emit BaseURILocked();\n    }\n\n    function tokenURI(uint256 tokenId) public view override returns (string memory) {\n        _requireOwned(tokenId);\n        return string(abi.encodePacked(_baseTokenURI, Strings.toString(tokenId), \".json\"));\n    }\n\n    function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC2981) returns (bool) {\n        return super.supportsInterface(interfaceId);\n    }\n}\n"},"src/SynthToken.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nimport \"@openzeppelin/contracts/token/ERC20/ERC20.sol\";\nimport \"@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol\";\nimport \"@openzeppelin/contracts/access/Ownable.sol\";\nimport \"./interfaces/IPancakeRouter.sol\";\n\n/// @title SYNTH — the SYNTHGENESIS token. Fixed supply 300,000,000, minted\n/// once in the constructor; no mint function exists after that.\n///\n/// Allocation (brief final accounting, 2026-11-21):\n/// - Prize pool:  239,224,000 → FusionChamber. This is the brief's 235,000,000\n///   prize pool PLUS the 4,224,000 moved out of the LP reserve for Gen 2\n///   rewards, exactly as the brief's solvency section books it.\n/// - LP reserve:   50,776,000 → FusionChamber. The brief's headline reserve\n///   is 55,000,000, of which 4,224,000 is re-booked to the prize pool above;\n///   the effective reserve held for burns + LP is 50,776,000\n///   (= 33,000,000 burn program + 17,776,000 total LP tokens). Reserve ends\n///   at exactly zero when the full program runs — \"teralokasi penuh\".\n/// - Dev:          10,000,000 → held by this contract under the vesting\n///   schedule below.\n///\n/// Dev vesting (starts when the FusionChamber opens the 1,000-fusion Gate):\n/// 2,500,000 liquid immediately at listing, then 1,500,000 per week x 5\n/// (10,000,000 total by week 5). Dev policy per the owner: dev tokens are\n/// not sold; if they ever are sold, the proceeds are bought back to burn.\n/// That is a policy commitment by the owner, recorded here as a comment —\n/// the contract enforces only the vesting schedule, not trading behaviour.\ncontract SynthToken is ERC20, ERC20Burnable, Ownable {\n    uint256 public constant TOTAL_SUPPLY = 300_000_000 ether;\n    uint256 public constant PRIZE_POOL = 239_224_000 ether;\n    uint256 public constant LP_RESERVE = 50_776_000 ether;\n    uint256 public constant DEV_ALLOCATION = 10_000_000 ether;\n\n    uint256 public constant DEV_INITIAL_UNLOCK = 2_500_000 ether;\n    uint256 public constant DEV_WEEKLY_UNLOCK = 1_500_000 ether;\n    uint256 public constant DEV_VESTING_WEEKS = 5;\n\n    /// @notice Reference opening price from the brief: 0.0000002 BNB.\n    /// Informational only — pricing lives in the LP pair, not the token.\n    uint256 public constant OPENING_PRICE_BNB = 200_000_000_000; // wei of BNB per SYNTH (2e11)\n\n    address public immutable chamber;\n    address public immutable devWallet;\n\n    bool public vestingStarted;\n    uint256 public vestingStartTime;\n    uint256 public devClaimed;\n\n    event VestingStarted(uint256 startTime);\n    event DevClaimed(address indexed to, uint256 amount);\n\n    // --- Trade tax (locked by the owner 2026-11-21, pre-deploy) -----------\n    // Buy 1% / sell 3% on PancakeSwap pair trades only. The rates are\n    // CONSTANTS: no function can change them after deployment.\n    // Wallet-to-wallet transfers are never taxed. The pair does not exist\n    // until the Gate opens, so no tax can apply before listing; the owner\n    // registers the pair once it is created.\n    //\n    // The tax is a survival engine, NOT dev income (owner's design): 100%\n    // of it is recycled into permanent liquidity. It accrues in SYNTH\n    // inside this contract (taxPot); from the first trade onward, whenever\n    // the pot reaches SWAP_THRESHOLD the next transfer deploys up to\n    // SWAP_CHUNK of it — half swapped to BNB, half paired with that BNB —\n    // and the LP tokens are sent to the burn address, locked forever.\n    // Together with the fusion fees flowing into LP from the chamber,\n    // the pool deepens from two independent streams for as long as the\n    // market moves. Chunks are small next to the pool (10,000 SYNTH vs an\n    // 8,000,000 SYNTH seed reserve) so the swaps do not show on the chart.\n    // A failed deployment never blocks a user transfer (try/catch).\n    //\n    // Exempt from birth: the chamber (reward unlocks, LP seeding and burns\n    // must move in full), this contract (vesting claims, tax recycling),\n    // the dev wallet and the owner (LP seeding / removal by the owner).\n    uint256 public constant BUY_TAX_BPS = 100; // 1%\n    uint256 public constant SELL_TAX_BPS = 300; // 3%\n\n    uint256 public constant SWAP_THRESHOLD = 5_000 ether;\n    uint256 public constant SWAP_CHUNK = 10_000 ether;\n    uint256 public constant SWAP_COOLDOWN = 30 seconds;\n    address public constant LP_BURN_ADDRESS = 0x000000000000000000000000000000000000dEaD;\n\n    /// @notice PancakeSwap V2 router + WBNB on BNB Chain (fixed addresses).\n    address public constant PANCAKE_ROUTER = 0x10ED43C718714eb63d5aA57B78B54704E256024E;\n    address public constant WBNB = 0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c;\n\n    address public pair;\n    address public swapRouter = PANCAKE_ROUTER;\n    mapping(address => bool) public taxExempt;\n\n    uint256 public taxPot;\n    uint256 public lastSwapTime;\n    bool private _inSwap;\n\n    event PairSet(address indexed pair);\n    event TaxExemptSet(address indexed account, bool exempt);\n    event TradeTaxed(address indexed from, address indexed to, uint256 taxAmount);\n    event TaxLiquidityAdded(uint256 synthUsed, uint256 bnbUsed, uint256 liquidityBurned);\n\n    constructor(address chamber_, address devWallet_, address owner_)\n        ERC20(\"Synth\", \"SYNTH\")\n        Ownable(owner_)\n    {\n        require(chamber_ != address(0), \"chamber=0\");\n        require(devWallet_ != address(0), \"dev=0\");\n        chamber = chamber_;\n        devWallet = devWallet_;\n        taxExempt[chamber_] = true;\n        taxExempt[address(this)] = true;\n        taxExempt[devWallet_] = true;\n        taxExempt[owner_] = true;\n        _mint(chamber_, PRIZE_POOL + LP_RESERVE);\n        _mint(address(this), DEV_ALLOCATION);\n    }\n\n    /// @notice Register the PancakeSwap pair once it exists (at the Gate).\n    /// Before this is set, no transfer is taxed. Also grants the router\n    /// the allowance it needs for the automatic tax swaps.\n    function setPair(address pair_) external onlyOwner {\n        require(pair_ != address(0), \"pair=0\");\n        pair = pair_;\n        _approve(address(this), swapRouter, type(uint256).max);\n        emit PairSet(pair_);\n    }\n\n    /// @notice Testnet/mock override for the swap router. The default is\n    /// the real PancakeSwap V2 router; mainnet operations never call this.\n    function setSwapRouter(address router_) external onlyOwner {\n        require(router_ != address(0), \"router=0\");\n        swapRouter = router_;\n        if (pair != address(0)) {\n            _approve(address(this), router_, type(uint256).max);\n        }\n    }\n\n    function setTaxExempt(address account, bool exempt) external onlyOwner {\n        taxExempt[account] = exempt;\n        emit TaxExemptSet(account, exempt);\n    }\n\n    /// @dev Applies the trade tax on pair trades only. Mints, burns,\n    /// exempt parties and plain wallet-to-wallet transfers pass through\n    /// untouched. The tax accrues in SYNTH in this contract (taxPot) and\n    /// is recycled into permanent liquidity in small chunks.\n    function _update(address from, address to, uint256 value) internal override {\n        address p = pair;\n        if (\n            p != address(0) && from != address(0) && to != address(0)\n                && !taxExempt[from] && !taxExempt[to]\n        ) {\n            uint256 tax;\n            if (from == p) {\n                tax = (value * BUY_TAX_BPS) / 10_000;\n            } else if (to == p) {\n                tax = (value * SELL_TAX_BPS) / 10_000;\n            }\n            if (tax > 0) {\n                super._update(from, address(this), tax);\n                taxPot += tax;\n                emit TradeTaxed(from, to, tax);\n                value -= tax;\n            }\n        }\n        super._update(from, to, value);\n        _maybeSwapTax();\n    }\n\n    /// @dev Triggers one capped tax-to-LP deployment when the pot is\n    /// ripe. Never reverts the surrounding user transfer: any failure is\n    /// swallowed and the pot simply waits for the next transfer.\n    function _maybeSwapTax() internal {\n        if (_inSwap || pair == address(0)) return;\n        if (taxPot < SWAP_THRESHOLD) return;\n        if (block.timestamp < lastSwapTime + SWAP_COOLDOWN) return;\n        _inSwap = true;\n        lastSwapTime = block.timestamp;\n        try this.executeTaxLiquidity() {} catch {}\n        _inSwap = false;\n    }\n\n    /// @notice Deploys one chunk of the tax pot as permanent liquidity:\n    /// half the SYNTH is swapped to BNB, the other half is paired with\n    /// that BNB (plus any BNB dust left in the contract), and the LP\n    /// tokens go to the burn address. Only callable by this contract\n    /// itself (from _maybeSwapTax). Any SYNTH the pairing does not\n    /// consume is credited back to the pot; leftover BNB stays in the\n    /// contract and joins the next deployment.\n    function executeTaxLiquidity() external {\n        require(msg.sender == address(this), \"self only\");\n        uint256 amount = taxPot < SWAP_CHUNK ? taxPot : SWAP_CHUNK;\n        if (amount == 0) return;\n        uint256 half = amount / 2;\n        uint256 swapHalf = amount - half;\n        taxPot -= amount;\n\n        address[] memory path = new address[](2);\n        path[0] = address(this);\n        path[1] = WBNB;\n        uint256[] memory quote = IPancakeRouter(swapRouter).getAmountsOut(swapHalf, path);\n        uint256 minOut = (quote[quote.length - 1] * 90) / 100;\n        IPancakeRouter(swapRouter).swapExactTokensForETHSupportingFeeOnTransferTokens(\n            swapHalf, minOut, path, address(this), block.timestamp\n        );\n\n        uint256 bnbBudget = address(this).balance;\n        (uint256 usedToken, uint256 usedBnb, uint256 liquidity) = IPancakeRouter(swapRouter)\n            .addLiquidityETH{value: bnbBudget}(\n            address(this), half, 0, 0, LP_BURN_ADDRESS, block.timestamp\n        );\n        if (usedToken < half) {\n            taxPot += half - usedToken; // unconsumed SYNTH returns to the pot\n        }\n        emit TaxLiquidityAdded(swapHalf + usedToken, usedBnb, liquidity);\n    }\n\n    /// @notice Safety valve: BNB that ever lands in this contract (it is\n    /// not part of any flow) can be swept to the dev wallet by the owner.\n    function rescueBNB() external onlyOwner {\n        uint256 bal = address(this).balance;\n        require(bal > 0, \"no bnb\");\n        (bool ok,) = payable(devWallet).call{value: bal}(\"\");\n        require(ok, \"sweep failed\");\n    }\n\n    receive() external payable {}\n\n    /// @notice Called by the FusionChamber exactly when the Gate opens.\n    function startVesting() external {\n        require(msg.sender == chamber, \"not chamber\");\n        require(!vestingStarted, \"already started\");\n        vestingStarted = true;\n        vestingStartTime = block.timestamp;\n        emit VestingStarted(block.timestamp);\n    }\n\n    function devClaimable() public view returns (uint256) {\n        if (!vestingStarted) return 0;\n        uint256 weeksElapsed = (block.timestamp - vestingStartTime) / 1 weeks;\n        if (weeksElapsed > DEV_VESTING_WEEKS) weeksElapsed = DEV_VESTING_WEEKS;\n        uint256 unlocked = DEV_INITIAL_UNLOCK + (DEV_WEEKLY_UNLOCK * weeksElapsed);\n        if (unlocked > DEV_ALLOCATION) unlocked = DEV_ALLOCATION;\n        return unlocked - devClaimed;\n    }\n\n    /// @notice Only the dev wallet can claim, and funds can only go to it.\n    function claimDev() external {\n        require(msg.sender == devWallet, \"not dev wallet\");\n        uint256 amount = devClaimable();\n        require(amount > 0, \"nothing claimable\");\n        devClaimed += amount;\n        _transfer(address(this), devWallet, amount);\n        emit DevClaimed(devWallet, amount);\n    }\n}\n"}},"compilation":{"language":"Solidity","compiler":"solc","compilerVersion":"0.8.26+commit.8a97fa7a","compilerSettings":{"optimizer":{"runs":200,"enabled":true},"evmVersion":"paris"},"name":"FusionChamber","fullyQualifiedName":"src/FusionChamber.sol:FusionChamber"},"abi":[{"type":"constructor","inputs":[{"name":"nft_","type":"address","internalType":"address"},{"name":"devWallet_","type":"address","internalType":"address"},{"name":"lpVault_","type":"address","internalType":"address"},{"name":"owner_","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"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":"DevFeePaid","type":"event","inputs":[{"name":"dev","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"FallbackOpensAtSet","type":"event","inputs":[{"name":"opensAt","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"FusedGen1","type":"event","inputs":[{"name":"fuser","type":"address","indexed":true,"internalType":"address"},{"name":"tokenIdA","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"tokenIdB","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"evolvedId","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"FusedGen2","type":"event","inputs":[{"name":"fuser","type":"address","indexed":true,"internalType":"address"},{"name":"tokenIdA","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"tokenIdB","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"ascendedId","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"GateFallbackOpened","type":"event","inputs":[{"name":"gen1Fusions","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"lpBnb","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"lpTokens","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"GateOpened","type":"event","inputs":[{"name":"gen1Fusions","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"lpBnb","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"lpTokens","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"LPPaired","type":"event","inputs":[{"name":"bnbAmount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"tokenAmount","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":"ReserveBurned","type":"event","inputs":[{"name":"milestone","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"totalBurned","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"RewardPaid","type":"event","inputs":[{"name":"user","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"generation","type":"uint8","indexed":false,"internalType":"uint8"}],"anonymous":false},{"name":"TokenSet","type":"event","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"BURN_FUSION_STEP","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"BURN_PER_MILESTONE","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"FALLBACK_TOKENS_PER_BNB","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"GATE_FUSIONS","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"GATE_LP_BNB","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"GATE_LP_TOKENS","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"GEN1_FEE","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"GEN1_FEE_DEV","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"GEN1_FEE_LP","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"GEN1_REWARD","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"GEN2_COST","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"GEN2_REWARD","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"LP_TOKEN_BUDGET","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"MAX_GEN1_FUSIONS","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"MAX_GEN2_FUSIONS","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"MAX_MILESTONES","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"MAX_RESERVE_BURN","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"combinedFusions","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"devWallet","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"fallbackOpensAt","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"fuseGen1","type":"function","inputs":[{"name":"tokenIdA","type":"uint256","internalType":"uint256"},{"name":"tokenIdB","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"evolvedId","type":"uint256","internalType":"uint256"}],"stateMutability":"payable"},{"name":"fuseGen2","type":"function","inputs":[{"name":"tokenIdA","type":"uint256","internalType":"uint256"},{"name":"tokenIdB","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"ascendedId","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"gateOpen","type":"function","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"lpBucket","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"lpReserveRemaining","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"lpTokensSent","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"lpVault","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"milestonesFired","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"nft","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract SynthGenesisNFT"}],"stateMutability":"view"},{"name":"openGateFallback","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"owner","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"pairAccumulatedLP","type":"function","inputs":[{"name":"tokenAmount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"renounceOwnership","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"reserveBurnedTotal","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"setFallbackOpensAt","type":"function","inputs":[{"name":"opensAt_","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setToken","type":"function","inputs":[{"name":"token_","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"token","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract SynthToken"}],"stateMutability":"view"},{"name":"tokenSet","type":"function","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"totalGen1Fusions","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"totalGen2Fusions","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"transferOwnership","type":"function","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"}],"metadata":{"compiler":{"version":"0.8.26+commit.8a97fa7a"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"nft_","type":"address"},{"internalType":"address","name":"devWallet_","type":"address"},{"internalType":"address","name":"lpVault_","type":"address"},{"internalType":"address","name":"owner_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"dev","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"DevFeePaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"opensAt","type":"uint256"}],"name":"FallbackOpensAtSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"fuser","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenIdA","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenIdB","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"evolvedId","type":"uint256"}],"name":"FusedGen1","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"fuser","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenIdA","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenIdB","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ascendedId","type":"uint256"}],"name":"FusedGen2","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"gen1Fusions","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lpBnb","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lpTokens","type":"uint256"}],"name":"GateFallbackOpened","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"gen1Fusions","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lpBnb","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lpTokens","type":"uint256"}],"name":"GateOpened","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"bnbAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"LPPaired","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"milestone","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalBurned","type":"uint256"}],"name":"ReserveBurned","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint8","name":"generation","type":"uint8"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"}],"name":"TokenSet","type":"event"},{"inputs":[],"name":"BURN_FUSION_STEP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BURN_PER_MILESTONE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FALLBACK_TOKENS_PER_BNB","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GATE_FUSIONS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GATE_LP_BNB","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GATE_LP_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GEN1_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GEN1_FEE_DEV","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GEN1_FEE_LP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GEN1_REWARD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GEN2_COST","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GEN2_REWARD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LP_TOKEN_BUDGET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_GEN1_FUSIONS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_GEN2_FUSIONS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MILESTONES","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_RESERVE_BURN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"combinedFusions","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fallbackOpensAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenIdA","type":"uint256"},{"internalType":"uint256","name":"tokenIdB","type":"uint256"}],"name":"fuseGen1","outputs":[{"internalType":"uint256","name":"evolvedId","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenIdA","type":"uint256"},{"internalType":"uint256","name":"tokenIdB","type":"uint256"}],"name":"fuseGen2","outputs":[{"internalType":"uint256","name":"ascendedId","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"gateOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpBucket","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpReserveRemaining","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpTokensSent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpVault","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"milestonesFired","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nft","outputs":[{"internalType":"contract SynthGenesisNFT","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openGateFallback","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"pairAccumulatedLP","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveBurnedTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"opensAt_","type":"uint256"}],"name":"setFallbackOpensAt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token_","type":"address"}],"name":"setToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract SynthToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenSet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalGen1Fusions","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalGen2Fusions","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}],"devdoc":{"errors":{"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."}]},"kind":"dev","methods":{"owner()":{"details":"Returns the address of the current owner."},"renounceOwnership()":{"details":"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner."},"transferOwnership(address)":{"details":"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."}},"title":"FusionChamber — the only place EVOLVED and ASCENDED are born. Reaction I (GENESIS -> EVOLVED), open from day one:   burn 2 GENESIS + 0.002 BNB fee -> 1 EVOLVED + 55,000 SYNTH paid   straight to the fuser's wallet in the same transaction.   Fee split: 0.0016 BNB to the LP bucket, 0.0004 BNB to dev (instant).   Max 2,222 fusions. The 1,000th Gen-1 fusion opens the Gate. The Gate (1,000 Gen-1 fusions, Gen-1 fusions only count):   the SYNTH listing moment — seeds the LP with 1.6 BNB from the bucket   + 8,000,000 SYNTH from the reserve (sent to the LP vault) and starts   the dev vesting schedule in SynthToken. Rewards were never locked,   so the Gate unlocks nothing; it opens trading on PancakeSwap. Fallback gate (owner-scheduled, set once at wiring time):   if the fusion count has not opened the Gate by `fallbackOpensAt`,   the owner may open it with whatever the bucket holds at that   moment: the entire bucket is paired with reserve SYNTH at the   opening ratio (0.0000002 BNB per SYNTH = 5,000,000 SYNTH per BNB)   and sent to the LP vault, and dev vesting starts — the same end   state as the fusion-count Gate, at a smaller seed. Entirely at the   owner's discretion: nothing fires automatically at the timestamp,   and once either path has opened the Gate the other is closed. Reaction II (EVOLVED -> ASCENDED), open from day one:   burn 2 EVOLVED + burn 30,000 SYNTH -> 1 ASCENDED + 105,000 SYNTH paid   straight to the fuser's wallet (net +75,000). No BNB fee. Max 1,111   fusions. The 30,000 is pulled from the caller's wallet   (transferFrom — the caller approves the chamber once) and burned. REWARD MODEL (owner correction 2026-11-21 18:29 WIB): fusion rewards are NEVER locked and never claimed — they land in the fusing wallet in the same transaction. An earlier locked-balance draft was replaced before deployment; nothing on mainnet ever used it. Reserve burn program: every 150 COMBINED fusions burn 3,000,000 SYNTH from the LP reserve, 11 milestones, stopping permanently at 33,000,000. Runs pre-gate too. Post-gate, the owner can pair the accumulated fee-BNB bucket with reserve tokens into the LP vault (`pairAccumulatedLP`); cumulative LP tokens (gate seed + pairings) are capped at 17,776,000, exactly the brief's LP token budget, so the reserve ends at zero. Solvency (brief final accounting): gross rewards max 238,865,000 (2,222 x 55,000 + 1,111 x 105,000) against a prize fund of 239,224,000 held by this chamber — always solvent, 359,000 spare at full program.","version":1},"userdoc":{"kind":"user","methods":{"FALLBACK_TOKENS_PER_BNB()":{"notice":"Fallback-gate pairing ratio: reserve SYNTH per 1 BNB of bucket, at the opening price (SynthToken.OPENING_PRICE_BNB is 2e11 wei of BNB per SYNTH, so 1e18 / 2e11 = 5,000,000 SYNTH/BNB)."},"fallbackOpensAt()":{"notice":"Fallback-gate schedule: unix time from which the owner may open the Gate with the accumulated bucket (see openGateFallback). 0 = not scheduled. Set once by the owner at wiring time."},"lpBucket()":{"notice":"Unpaired fee BNB accumulated in the LP bucket."},"lpReserveRemaining()":{"notice":"LP-reserve SYNTH still held (starts at 50,776,000)."},"lpVault()":{"notice":"Receives LP seed/pairing funds (production: the pair/locker flow controlled by the owner; the brief does not specify a router)."},"setFallbackOpensAt(uint256)":{"notice":"One-time wiring of the fallback-gate schedule (unix time). From that moment the owner MAY open the Gate with the accumulated bucket via openGateFallback; nothing happens automatically."},"setToken(address)":{"notice":"One-time wiring of the SYNTH token."}},"version":1}},"settings":{"compilationTarget":{"src/FusionChamber.sol":"FusionChamber"},"evmVersion":"paris","libraries":{},"metadata":{"bytecodeHash":"ipfs"},"optimizer":{"enabled":true,"runs":200},"remappings":[]},"sources":{"@openzeppelin/contracts/access/Ownable.sol":{"keccak256":"0xff6d0bb2e285473e5311d9d3caacb525ae3538a80758c10649a4d61029b017bb","license":"MIT","urls":["bzz-raw://8ed324d3920bb545059d66ab97d43e43ee85fd3bd52e03e401f020afb0b120f6","dweb:/ipfs/QmfEckWLmZkDDcoWrkEvMWhms66xwTLff9DDhegYpvHo1a"]},"@openzeppelin/contracts/interfaces/IERC2981.sol":{"keccak256":"0x3b017a19c1730050d0fdff8dfa9255741634699aa4217442724746ca49e13292","license":"MIT","urls":["bzz-raw://05530a2959e8be01cd88993970924cd6081c3462395f6fc0e73c034519259b05","dweb:/ipfs/QmXAG8dF9fiYE8iVWJYWxmbEMNL6RvBAxzRGq2nyLanB2M"]},"@openzeppelin/contracts/interfaces/draft-IERC6093.sol":{"keccak256":"0x880da465c203cec76b10d72dbd87c80f387df4102274f23eea1f9c9b0918792b","license":"MIT","urls":["bzz-raw://399594cd8bb0143bc9e55e0f1d071d0d8c850a394fb7a319d50edd55d9ed822b","dweb:/ipfs/QmbPZzgtT6LEm9CMqWfagQFwETbV1ztpECBB1DtQHrKiRz"]},"@openzeppelin/contracts/token/ERC20/ERC20.sol":{"keccak256":"0xbf61ab2ae1d575a17ea58fbb99ca232baddcc4e0eeea180e84cbc74b0c348b31","license":"MIT","urls":["bzz-raw://4e0968705bad99747a8e5288aa008678c2be2f471f919dce3925a3cc4f1dee09","dweb:/ipfs/QmbAFnCQfo4tw6ssfQSjhA5LzwHWNNryXN8bX7ty8jiqqn"]},"@openzeppelin/contracts/token/ERC20/IERC20.sol":{"keccak256":"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7","license":"MIT","urls":["bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db","dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9"]},"@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol":{"keccak256":"0x2659248df25e34000ed214b3dc8da2160bc39874c992b477d9e2b1b3283dc073","license":"MIT","urls":["bzz-raw://c345af1b0e7ea28d1216d6a04ab28f5534a5229b9edf9ca3cd0e84950ae58d26","dweb:/ipfs/QmY63jtSrYpLRe8Gj1ep2vMDCKxGNNG3hnNVKBVnrs2nmA"]},"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"keccak256":"0x70f2f713b13b7ce4610bcd0ac9fec0f3cc43693b043abcb8dc40a42a726eb330","license":"MIT","urls":["bzz-raw://c13d13304ac79a83ab1c30168967d19e2203342ebbd6a9bbce4db7550522dcbf","dweb:/ipfs/QmeN5jKMN2vw5bhacr6tkg78afbTTZUeaacNHqjWt4Ew1r"]},"@openzeppelin/contracts/token/ERC721/ERC721.sol":{"keccak256":"0x39ed367e54765186281efcfe83e47cf0ad62cc879f10e191360712507125f29a","license":"MIT","urls":["bzz-raw://2c5ae6d85bd48cca8d6d2fcec8c63efd86f56f8a5832577a47e403ce0e65cb09","dweb:/ipfs/QmUtcS8AbRSWhuc61puYet58os8FvSqm329ChoW8wwZXZk"]},"@openzeppelin/contracts/token/ERC721/IERC721.sol":{"keccak256":"0x5dc63d1c6a12fe1b17793e1745877b2fcbe1964c3edfd0a482fac21ca8f18261","license":"MIT","urls":["bzz-raw://6b7f97c5960a50fd1822cb298551ffc908e37b7893a68d6d08bce18a11cb0f11","dweb:/ipfs/QmQQvxBytoY1eBt3pRQDmvH2hZ2yjhs12YqVfzGm7KSURq"]},"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol":{"keccak256":"0xb5afb8e8eebc4d1c6404df2f5e1e6d2c3d24fd01e5dfc855314951ecfaae462d","license":"MIT","urls":["bzz-raw://78586466c424f076c6a2a551d848cfbe3f7c49e723830807598484a1047b3b34","dweb:/ipfs/Qmb717ovcFxm7qgNKEShiV6M9SPR3v1qnNpAGH84D6w29p"]},"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol":{"keccak256":"0x37d1aaaa5a2908a09e9dcf56a26ddf762ecf295afb5964695937344fc6802ce1","license":"MIT","urls":["bzz-raw://ed0bfc1b92153c5000e50f4021367b931bbe96372ac6facec3c4961b72053d02","dweb:/ipfs/Qmbwp8VDerjS5SV1quwHH1oMXxPQ93fzfLVqJ2RCqbowGE"]},"@openzeppelin/contracts/token/ERC721/utils/ERC721Utils.sol":{"keccak256":"0x40399695922383778f9f540a620bec475a2f8e0f08d41f0005682842e28a9855","license":"MIT","urls":["bzz-raw://746d295e403931aeb9d6065fd5a0871f43ab5459814a60623611e4b6641a09fd","dweb:/ipfs/QmWrgT8YJrQ9FfD1o3YYArwo57e7MGdpFKuM74qJ4qE34E"]},"@openzeppelin/contracts/token/common/ERC2981.sol":{"keccak256":"0x01818908219f73eecfbbe8999ac583ee3fcbfe8e39e8e0a823199737d0ed8052","license":"MIT","urls":["bzz-raw://674bafb0a373297befe1b5fe4f5a02cc18a305d8f9a4577deddc2030a611433e","dweb:/ipfs/QmPq5sBp1upRbBVdU5kd1VyG4tHAbv9z6V1NSPuPs8vAtd"]},"@openzeppelin/contracts/utils/Context.sol":{"keccak256":"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2","license":"MIT","urls":["bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12","dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF"]},"@openzeppelin/contracts/utils/Panic.sol":{"keccak256":"0xf7fe324703a64fc51702311dc51562d5cb1497734f074e4f483bfb6717572d7a","license":"MIT","urls":["bzz-raw://c6a5ff4f9fd8649b7ee20800b7fa387d3465bd77cf20c2d1068cd5c98e1ed57a","dweb:/ipfs/QmVSaVJf9FXFhdYEYeCEfjMVHrxDh5qL4CGkxdMWpQCrqG"]},"@openzeppelin/contracts/utils/ReentrancyGuard.sol":{"keccak256":"0x11a5a79827df29e915a12740caf62fe21ebe27c08c9ae3e09abe9ee3ba3866d3","license":"MIT","urls":["bzz-raw://3cf0c69ab827e3251db9ee6a50647d62c90ba580a4d7bbff21f2bea39e7b2f4a","dweb:/ipfs/QmZiKwtKU1SBX4RGfQtY7PZfiapbbu6SZ9vizGQD9UHjRA"]},"@openzeppelin/contracts/utils/Strings.sol":{"keccak256":"0x725209b582291bb83058e3078624b53d15a133f7401c30295e7f3704181d2aed","license":"MIT","urls":["bzz-raw://0564ddb19c6d870e27b789d8f985283d815267ad7224883c2d5243c8bacc7dc0","dweb:/ipfs/QmeC953H4sj88ZRFdJNFdmpf7J9SksP1wK4jyMHLo66z49"]},"@openzeppelin/contracts/utils/introspection/ERC165.sol":{"keccak256":"0xddce8e17e3d3f9ed818b4f4c4478a8262aab8b11ed322f1bf5ed705bb4bd97fa","license":"MIT","urls":["bzz-raw://8084aa71a4cc7d2980972412a88fe4f114869faea3fefa5436431644eb5c0287","dweb:/ipfs/Qmbqfs5dRdPvHVKY8kTaeyc65NdqXRQwRK7h9s5UJEhD1p"]},"@openzeppelin/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8","license":"MIT","urls":["bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621","dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL"]},"@openzeppelin/contracts/utils/math/Math.sol":{"keccak256":"0xa00be322d7db5786750ce0ac7e2f5b633ac30a5ed5fa1ced1e74acfc19acecea","license":"MIT","urls":["bzz-raw://6c84e822f87cbdc4082533b626667b6928715bb2b1e8e7eb96954cebb9e38c8d","dweb:/ipfs/QmZmy9dgxLTerBAQDuuHqbL6EpgRxddqgv5KmwpXYVbKz1"]},"@openzeppelin/contracts/utils/math/SafeCast.sol":{"keccak256":"0x195533c86d0ef72bcc06456a4f66a9b941f38eb403739b00f21fd7c1abd1ae54","license":"MIT","urls":["bzz-raw://b1d578337048cad08c1c03041cca5978eff5428aa130c781b271ad9e5566e1f8","dweb:/ipfs/QmPFKL2r9CBsMwmUqqdcFPfHZB2qcs9g1HDrPxzWSxomvy"]},"@openzeppelin/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb1970fac7b64e6c09611e6691791e848d5e3fe410fa5899e7df2e0afd77a99e3","license":"MIT","urls":["bzz-raw://db5fbb3dddd8b7047465b62575d96231ba8a2774d37fb4737fbf23340fabbb03","dweb:/ipfs/QmVUSvooZKEdEdap619tcJjTLcAuH6QBdZqAzWwnAXZAWJ"]},"src/FusionChamber.sol":{"keccak256":"0xffa445cfb38bbd6e48609dded7e36032c30bdad572be5ba62514bf7c484d83b4","license":"MIT","urls":["bzz-raw://134ad3af63a470ec8b7c803b0d7cc2d9dbb4df6f03cfc66554f78d20c45a992e","dweb:/ipfs/QmeJ6xnzNjq3FvNQqo6oRZcmbcRKsigHpouquUJ5CGw8ZE"]},"src/SynthGenesisNFT.sol":{"keccak256":"0xd19147d727ba06e34904ae979ed031278c5b4cb56b199592575c99fc533bac13","license":"MIT","urls":["bzz-raw://c0fc99c030e6974e1fc34387449041e6e73e7f8e55df8cfeb31867305669f0ac","dweb:/ipfs/QmYB1SByrtHrpEvsueg6ZfgFmBjpkzHAUaG6347aJ2uKAT"]},"src/SynthToken.sol":{"keccak256":"0x83d60c1983b593d142bc56db58afc308376192921670bef8ec0bafb4a48072a9","license":"MIT","urls":["bzz-raw://1adbe6a3fd5d6835b22de2942a4159ad5f8fa10c8eaf32495aa0e116a22257b7","dweb:/ipfs/QmbhYcZSmTs6VsiVP68qEtLgspt2E2fwZJ72NfZJemXRs2"]},"src/interfaces/IAgentIDRegistry.sol":{"keccak256":"0x802f4933b2efbea34b7973cd56bd2366d9ca33e0199dbb4c58021c8dacb691c6","license":"MIT","urls":["bzz-raw://5f4e07d2a0e93e41c0c9d70adc8f7af45fdeea9d702a03bb9906c25572d9b028","dweb:/ipfs/Qmeiz8f8R8QkrPimDMmhcqMqRk98u1JtkSfstmPxRm6X6y"]},"src/interfaces/IPancakeRouter.sol":{"keccak256":"0xe085f145422ee0b524e4ea107b8ceac64b6879db506bbf55d4d99db8d0958e1b","license":"MIT","urls":["bzz-raw://c456086f654b4b106c3cbe711c9a3484c8fe7dd2cbb4e22cc51afb2cec2aa393","dweb:/ipfs/QmcxUzULj5E5wwuDLdpPSbTwKYtMgioxJEuFSdmwwVYkqo"]}},"version":1},"storageLayout":{"types":{"t_bool":{"label":"bool","encoding":"inplace","numberOfBytes":"1"},"t_address":{"label":"address","encoding":"inplace","numberOfBytes":"20"},"t_uint256":{"label":"uint256","encoding":"inplace","numberOfBytes":"32"},"t_contract(SynthToken)8751":{"label":"contract SynthToken","encoding":"inplace","numberOfBytes":"20"}},"storage":[{"slot":"0","type":"t_address","astId":8,"label":"_owner","offset":0,"contract":"src/FusionChamber.sol:FusionChamber"},{"slot":"1","type":"t_uint256","astId":2526,"label":"_status","offset":0,"contract":"src/FusionChamber.sol:FusionChamber"},{"slot":"2","type":"t_contract(SynthToken)8751","astId":6538,"label":"token","offset":0,"contract":"src/FusionChamber.sol:FusionChamber"},{"slot":"2","type":"t_bool","astId":6540,"label":"tokenSet","offset":20,"contract":"src/FusionChamber.sol:FusionChamber"},{"slot":"3","type":"t_uint256","astId":6542,"label":"totalGen1Fusions","offset":0,"contract":"src/FusionChamber.sol:FusionChamber"},{"slot":"4","type":"t_uint256","astId":6544,"label":"totalGen2Fusions","offset":0,"contract":"src/FusionChamber.sol:FusionChamber"},{"slot":"5","type":"t_bool","astId":6546,"label":"gateOpen","offset":0,"contract":"src/FusionChamber.sol:FusionChamber"},{"slot":"6","type":"t_uint256","astId":6549,"label":"fallbackOpensAt","offset":0,"contract":"src/FusionChamber.sol:FusionChamber"},{"slot":"7","type":"t_uint256","astId":6552,"label":"lpBucket","offset":0,"contract":"src/FusionChamber.sol:FusionChamber"},{"slot":"8","type":"t_uint256","astId":6555,"label":"lpReserveRemaining","offset":0,"contract":"src/FusionChamber.sol:FusionChamber"},{"slot":"9","type":"t_uint256","astId":6557,"label":"lpTokensSent","offset":0,"contract":"src/FusionChamber.sol:FusionChamber"},{"slot":"10","type":"t_uint256","astId":6559,"label":"reserveBurnedTotal","offset":0,"contract":"src/FusionChamber.sol:FusionChamber"},{"slot":"11","type":"t_uint256","astId":6561,"label":"milestonesFired","offset":0,"contract":"src/FusionChamber.sol:FusionChamber"}]},"transientStorageLayout":null,"userdoc":{"kind":"user","methods":{"lpVault()":{"notice":"Receives LP seed/pairing funds (production: the pair/locker flow controlled by the owner; the brief does not specify a router)."},"lpBucket()":{"notice":"Unpaired fee BNB accumulated in the LP bucket."},"fallbackOpensAt()":{"notice":"Fallback-gate schedule: unix time from which the owner may open the Gate with the accumulated bucket (see openGateFallback). 0 = not scheduled. Set once by the owner at wiring time."},"setToken(address)":{"notice":"One-time wiring of the SYNTH token."},"lpReserveRemaining()":{"notice":"LP-reserve SYNTH still held (starts at 50,776,000)."},"FALLBACK_TOKENS_PER_BNB()":{"notice":"Fallback-gate pairing ratio: reserve SYNTH per 1 BNB of bucket, at the opening price (SynthToken.OPENING_PRICE_BNB is 2e11 wei of BNB per SYNTH, so 1e18 / 2e11 = 5,000,000 SYNTH/BNB)."},"setFallbackOpensAt(uint256)":{"notice":"One-time wiring of the fallback-gate schedule (unix time). From that moment the owner MAY open the Gate with the accumulated bucket via openGateFallback; nothing happens automatically."}},"version":1},"devdoc":{"kind":"dev","title":"FusionChamber — the only place EVOLVED and ASCENDED are born. Reaction I (GENESIS -> EVOLVED), open from day one:   burn 2 GENESIS + 0.002 BNB fee -> 1 EVOLVED + 55,000 SYNTH paid   straight to the fuser's wallet in the same transaction.   Fee split: 0.0016 BNB to the LP bucket, 0.0004 BNB to dev (instant).   Max 2,222 fusions. The 1,000th Gen-1 fusion opens the Gate. The Gate (1,000 Gen-1 fusions, Gen-1 fusions only count):   the SYNTH listing moment — seeds the LP with 1.6 BNB from the bucket   + 8,000,000 SYNTH from the reserve (sent to the LP vault) and starts   the dev vesting schedule in SynthToken. Rewards were never locked,   so the Gate unlocks nothing; it opens trading on PancakeSwap. Fallback gate (owner-scheduled, set once at wiring time):   if the fusion count has not opened the Gate by `fallbackOpensAt`,   the owner may open it with whatever the bucket holds at that   moment: the entire bucket is paired with reserve SYNTH at the   opening ratio (0.0000002 BNB per SYNTH = 5,000,000 SYNTH per BNB)   and sent to the LP vault, and dev vesting starts — the same end   state as the fusion-count Gate, at a smaller seed. Entirely at the   owner's discretion: nothing fires automatically at the timestamp,   and once either path has opened the Gate the other is closed. Reaction II (EVOLVED -> ASCENDED), open from day one:   burn 2 EVOLVED + burn 30,000 SYNTH -> 1 ASCENDED + 105,000 SYNTH paid   straight to the fuser's wallet (net +75,000). No BNB fee. Max 1,111   fusions. The 30,000 is pulled from the caller's wallet   (transferFrom — the caller approves the chamber once) and burned. REWARD MODEL (owner correction 2026-11-21 18:29 WIB): fusion rewards are NEVER locked and never claimed — they land in the fusing wallet in the same transaction. An earlier locked-balance draft was replaced before deployment; nothing on mainnet ever used it. Reserve burn program: every 150 COMBINED fusions burn 3,000,000 SYNTH from the LP reserve, 11 milestones, stopping permanently at 33,000,000. Runs pre-gate too. Post-gate, the owner can pair the accumulated fee-BNB bucket with reserve tokens into the LP vault (`pairAccumulatedLP`); cumulative LP tokens (gate seed + pairings) are capped at 17,776,000, exactly the brief's LP token budget, so the reserve ends at zero. Solvency (brief final accounting): gross rewards max 238,865,000 (2,222 x 55,000 + 1,111 x 105,000) against a prize fund of 239,224,000 held by this chamber — always solvent, 359,000 spare at full program.","errors":{"OwnableInvalidOwner(address)":[{"details":"The owner is not a valid owner account. (eg. `address(0)`)"}],"ReentrancyGuardReentrantCall()":[{"details":"Unauthorized reentrant call."}],"OwnableUnauthorizedAccount(address)":[{"details":"The caller account is not authorized to perform an operation."}]},"methods":{"owner()":{"details":"Returns the address of the current owner."},"renounceOwnership()":{"details":"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner."},"transferOwnership(address)":{"details":"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."}},"version":1},"sourceIds":{"src/SynthToken.sol":{"id":24},"src/FusionChamber.sol":{"id":22},"src/SynthGenesisNFT.sol":{"id":23},"src/interfaces/IPancakeRouter.sol":{"id":26},"src/interfaces/IAgentIDRegistry.sol":{"id":25},"@openzeppelin/contracts/utils/Panic.sol":{"id":14},"@openzeppelin/contracts/utils/Context.sol":{"id":13},"@openzeppelin/contracts/utils/Strings.sol":{"id":16},"@openzeppelin/contracts/access/Ownable.sol":{"id":0},"@openzeppelin/contracts/utils/math/Math.sol":{"id":19},"@openzeppelin/contracts/token/ERC20/ERC20.sol":{"id":3},"@openzeppelin/contracts/token/ERC20/IERC20.sol":{"id":4},"@openzeppelin/contracts/interfaces/IERC2981.sol":{"id":1},"@openzeppelin/contracts/token/ERC721/ERC721.sol":{"id":7},"@openzeppelin/contracts/utils/math/SafeCast.sol":{"id":20},"@openzeppelin/contracts/token/ERC721/IERC721.sol":{"id":8},"@openzeppelin/contracts/token/common/ERC2981.sol":{"id":12},"@openzeppelin/contracts/utils/ReentrancyGuard.sol":{"id":15},"@openzeppelin/contracts/utils/math/SignedMath.sol":{"id":21},"@openzeppelin/contracts/interfaces/draft-IERC6093.sol":{"id":2},"@openzeppelin/contracts/utils/introspection/ERC165.sol":{"id":17},"@openzeppelin/contracts/utils/introspection/IERC165.sol":{"id":18},"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol":{"id":9},"@openzeppelin/contracts/token/ERC721/utils/ERC721Utils.sol":{"id":11},"@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol":{"id":5},"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"id":6},"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol":{"id":10}},"additionalInput":null,"stdJsonInput":{"sources":{"src/SynthToken.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nimport \"@openzeppelin/contracts/token/ERC20/ERC20.sol\";\nimport \"@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol\";\nimport \"@openzeppelin/contracts/access/Ownable.sol\";\nimport \"./interfaces/IPancakeRouter.sol\";\n\n/// @title SYNTH — the SYNTHGENESIS token. Fixed supply 300,000,000, minted\n/// once in the constructor; no mint function exists after that.\n///\n/// Allocation (brief final accounting, 2026-11-21):\n/// - Prize pool:  239,224,000 → FusionChamber. This is the brief's 235,000,000\n///   prize pool PLUS the 4,224,000 moved out of the LP reserve for Gen 2\n///   rewards, exactly as the brief's solvency section books it.\n/// - LP reserve:   50,776,000 → FusionChamber. The brief's headline reserve\n///   is 55,000,000, of which 4,224,000 is re-booked to the prize pool above;\n///   the effective reserve held for burns + LP is 50,776,000\n///   (= 33,000,000 burn program + 17,776,000 total LP tokens). Reserve ends\n///   at exactly zero when the full program runs — \"teralokasi penuh\".\n/// - Dev:          10,000,000 → held by this contract under the vesting\n///   schedule below.\n///\n/// Dev vesting (starts when the FusionChamber opens the 1,000-fusion Gate):\n/// 2,500,000 liquid immediately at listing, then 1,500,000 per week x 5\n/// (10,000,000 total by week 5). Dev policy per the owner: dev tokens are\n/// not sold; if they ever are sold, the proceeds are bought back to burn.\n/// That is a policy commitment by the owner, recorded here as a comment —\n/// the contract enforces only the vesting schedule, not trading behaviour.\ncontract SynthToken is ERC20, ERC20Burnable, Ownable {\n    uint256 public constant TOTAL_SUPPLY = 300_000_000 ether;\n    uint256 public constant PRIZE_POOL = 239_224_000 ether;\n    uint256 public constant LP_RESERVE = 50_776_000 ether;\n    uint256 public constant DEV_ALLOCATION = 10_000_000 ether;\n\n    uint256 public constant DEV_INITIAL_UNLOCK = 2_500_000 ether;\n    uint256 public constant DEV_WEEKLY_UNLOCK = 1_500_000 ether;\n    uint256 public constant DEV_VESTING_WEEKS = 5;\n\n    /// @notice Reference opening price from the brief: 0.0000002 BNB.\n    /// Informational only — pricing lives in the LP pair, not the token.\n    uint256 public constant OPENING_PRICE_BNB = 200_000_000_000; // wei of BNB per SYNTH (2e11)\n\n    address public immutable chamber;\n    address public immutable devWallet;\n\n    bool public vestingStarted;\n    uint256 public vestingStartTime;\n    uint256 public devClaimed;\n\n    event VestingStarted(uint256 startTime);\n    event DevClaimed(address indexed to, uint256 amount);\n\n    // --- Trade tax (locked by the owner 2026-11-21, pre-deploy) -----------\n    // Buy 1% / sell 3% on PancakeSwap pair trades only. The rates are\n    // CONSTANTS: no function can change them after deployment.\n    // Wallet-to-wallet transfers are never taxed. The pair does not exist\n    // until the Gate opens, so no tax can apply before listing; the owner\n    // registers the pair once it is created.\n    //\n    // The tax is a survival engine, NOT dev income (owner's design): 100%\n    // of it is recycled into permanent liquidity. It accrues in SYNTH\n    // inside this contract (taxPot); from the first trade onward, whenever\n    // the pot reaches SWAP_THRESHOLD the next transfer deploys up to\n    // SWAP_CHUNK of it — half swapped to BNB, half paired with that BNB —\n    // and the LP tokens are sent to the burn address, locked forever.\n    // Together with the fusion fees flowing into LP from the chamber,\n    // the pool deepens from two independent streams for as long as the\n    // market moves. Chunks are small next to the pool (10,000 SYNTH vs an\n    // 8,000,000 SYNTH seed reserve) so the swaps do not show on the chart.\n    // A failed deployment never blocks a user transfer (try/catch).\n    //\n    // Exempt from birth: the chamber (reward unlocks, LP seeding and burns\n    // must move in full), this contract (vesting claims, tax recycling),\n    // the dev wallet and the owner (LP seeding / removal by the owner).\n    uint256 public constant BUY_TAX_BPS = 100; // 1%\n    uint256 public constant SELL_TAX_BPS = 300; // 3%\n\n    uint256 public constant SWAP_THRESHOLD = 5_000 ether;\n    uint256 public constant SWAP_CHUNK = 10_000 ether;\n    uint256 public constant SWAP_COOLDOWN = 30 seconds;\n    address public constant LP_BURN_ADDRESS = 0x000000000000000000000000000000000000dEaD;\n\n    /// @notice PancakeSwap V2 router + WBNB on BNB Chain (fixed addresses).\n    address public constant PANCAKE_ROUTER = 0x10ED43C718714eb63d5aA57B78B54704E256024E;\n    address public constant WBNB = 0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c;\n\n    address public pair;\n    address public swapRouter = PANCAKE_ROUTER;\n    mapping(address => bool) public taxExempt;\n\n    uint256 public taxPot;\n    uint256 public lastSwapTime;\n    bool private _inSwap;\n\n    event PairSet(address indexed pair);\n    event TaxExemptSet(address indexed account, bool exempt);\n    event TradeTaxed(address indexed from, address indexed to, uint256 taxAmount);\n    event TaxLiquidityAdded(uint256 synthUsed, uint256 bnbUsed, uint256 liquidityBurned);\n\n    constructor(address chamber_, address devWallet_, address owner_)\n        ERC20(\"Synth\", \"SYNTH\")\n        Ownable(owner_)\n    {\n        require(chamber_ != address(0), \"chamber=0\");\n        require(devWallet_ != address(0), \"dev=0\");\n        chamber = chamber_;\n        devWallet = devWallet_;\n        taxExempt[chamber_] = true;\n        taxExempt[address(this)] = true;\n        taxExempt[devWallet_] = true;\n        taxExempt[owner_] = true;\n        _mint(chamber_, PRIZE_POOL + LP_RESERVE);\n        _mint(address(this), DEV_ALLOCATION);\n    }\n\n    /// @notice Register the PancakeSwap pair once it exists (at the Gate).\n    /// Before this is set, no transfer is taxed. Also grants the router\n    /// the allowance it needs for the automatic tax swaps.\n    function setPair(address pair_) external onlyOwner {\n        require(pair_ != address(0), \"pair=0\");\n        pair = pair_;\n        _approve(address(this), swapRouter, type(uint256).max);\n        emit PairSet(pair_);\n    }\n\n    /// @notice Testnet/mock override for the swap router. The default is\n    /// the real PancakeSwap V2 router; mainnet operations never call this.\n    function setSwapRouter(address router_) external onlyOwner {\n        require(router_ != address(0), \"router=0\");\n        swapRouter = router_;\n        if (pair != address(0)) {\n            _approve(address(this), router_, type(uint256).max);\n        }\n    }\n\n    function setTaxExempt(address account, bool exempt) external onlyOwner {\n        taxExempt[account] = exempt;\n        emit TaxExemptSet(account, exempt);\n    }\n\n    /// @dev Applies the trade tax on pair trades only. Mints, burns,\n    /// exempt parties and plain wallet-to-wallet transfers pass through\n    /// untouched. The tax accrues in SYNTH in this contract (taxPot) and\n    /// is recycled into permanent liquidity in small chunks.\n    function _update(address from, address to, uint256 value) internal override {\n        address p = pair;\n        if (\n            p != address(0) && from != address(0) && to != address(0)\n                && !taxExempt[from] && !taxExempt[to]\n        ) {\n            uint256 tax;\n            if (from == p) {\n                tax = (value * BUY_TAX_BPS) / 10_000;\n            } else if (to == p) {\n                tax = (value * SELL_TAX_BPS) / 10_000;\n            }\n            if (tax > 0) {\n                super._update(from, address(this), tax);\n                taxPot += tax;\n                emit TradeTaxed(from, to, tax);\n                value -= tax;\n            }\n        }\n        super._update(from, to, value);\n        _maybeSwapTax();\n    }\n\n    /// @dev Triggers one capped tax-to-LP deployment when the pot is\n    /// ripe. Never reverts the surrounding user transfer: any failure is\n    /// swallowed and the pot simply waits for the next transfer.\n    function _maybeSwapTax() internal {\n        if (_inSwap || pair == address(0)) return;\n        if (taxPot < SWAP_THRESHOLD) return;\n        if (block.timestamp < lastSwapTime + SWAP_COOLDOWN) return;\n        _inSwap = true;\n        lastSwapTime = block.timestamp;\n        try this.executeTaxLiquidity() {} catch {}\n        _inSwap = false;\n    }\n\n    /// @notice Deploys one chunk of the tax pot as permanent liquidity:\n    /// half the SYNTH is swapped to BNB, the other half is paired with\n    /// that BNB (plus any BNB dust left in the contract), and the LP\n    /// tokens go to the burn address. Only callable by this contract\n    /// itself (from _maybeSwapTax). Any SYNTH the pairing does not\n    /// consume is credited back to the pot; leftover BNB stays in the\n    /// contract and joins the next deployment.\n    function executeTaxLiquidity() external {\n        require(msg.sender == address(this), \"self only\");\n        uint256 amount = taxPot < SWAP_CHUNK ? taxPot : SWAP_CHUNK;\n        if (amount == 0) return;\n        uint256 half = amount / 2;\n        uint256 swapHalf = amount - half;\n        taxPot -= amount;\n\n        address[] memory path = new address[](2);\n        path[0] = address(this);\n        path[1] = WBNB;\n        uint256[] memory quote = IPancakeRouter(swapRouter).getAmountsOut(swapHalf, path);\n        uint256 minOut = (quote[quote.length - 1] * 90) / 100;\n        IPancakeRouter(swapRouter).swapExactTokensForETHSupportingFeeOnTransferTokens(\n            swapHalf, minOut, path, address(this), block.timestamp\n        );\n\n        uint256 bnbBudget = address(this).balance;\n        (uint256 usedToken, uint256 usedBnb, uint256 liquidity) = IPancakeRouter(swapRouter)\n            .addLiquidityETH{value: bnbBudget}(\n            address(this), half, 0, 0, LP_BURN_ADDRESS, block.timestamp\n        );\n        if (usedToken < half) {\n            taxPot += half - usedToken; // unconsumed SYNTH returns to the pot\n        }\n        emit TaxLiquidityAdded(swapHalf + usedToken, usedBnb, liquidity);\n    }\n\n    /// @notice Safety valve: BNB that ever lands in this contract (it is\n    /// not part of any flow) can be swept to the dev wallet by the owner.\n    function rescueBNB() external onlyOwner {\n        uint256 bal = address(this).balance;\n        require(bal > 0, \"no bnb\");\n        (bool ok,) = payable(devWallet).call{value: bal}(\"\");\n        require(ok, \"sweep failed\");\n    }\n\n    receive() external payable {}\n\n    /// @notice Called by the FusionChamber exactly when the Gate opens.\n    function startVesting() external {\n        require(msg.sender == chamber, \"not chamber\");\n        require(!vestingStarted, \"already started\");\n        vestingStarted = true;\n        vestingStartTime = block.timestamp;\n        emit VestingStarted(block.timestamp);\n    }\n\n    function devClaimable() public view returns (uint256) {\n        if (!vestingStarted) return 0;\n        uint256 weeksElapsed = (block.timestamp - vestingStartTime) / 1 weeks;\n        if (weeksElapsed > DEV_VESTING_WEEKS) weeksElapsed = DEV_VESTING_WEEKS;\n        uint256 unlocked = DEV_INITIAL_UNLOCK + (DEV_WEEKLY_UNLOCK * weeksElapsed);\n        if (unlocked > DEV_ALLOCATION) unlocked = DEV_ALLOCATION;\n        return unlocked - devClaimed;\n    }\n\n    /// @notice Only the dev wallet can claim, and funds can only go to it.\n    function claimDev() external {\n        require(msg.sender == devWallet, \"not dev wallet\");\n        uint256 amount = devClaimable();\n        require(amount > 0, \"nothing claimable\");\n        devClaimed += amount;\n        _transfer(address(this), devWallet, amount);\n        emit DevClaimed(devWallet, amount);\n    }\n}\n"},"src/FusionChamber.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nimport \"@openzeppelin/contracts/access/Ownable.sol\";\nimport \"@openzeppelin/contracts/utils/ReentrancyGuard.sol\";\nimport \"./SynthGenesisNFT.sol\";\nimport \"./SynthToken.sol\";\n\n/// @title FusionChamber — the only place EVOLVED and ASCENDED are born.\n///\n/// Reaction I (GENESIS -> EVOLVED), open from day one:\n///   burn 2 GENESIS + 0.002 BNB fee -> 1 EVOLVED + 55,000 SYNTH paid\n///   straight to the fuser's wallet in the same transaction.\n///   Fee split: 0.0016 BNB to the LP bucket, 0.0004 BNB to dev (instant).\n///   Max 2,222 fusions. The 1,000th Gen-1 fusion opens the Gate.\n///\n/// The Gate (1,000 Gen-1 fusions, Gen-1 fusions only count):\n///   the SYNTH listing moment — seeds the LP with 1.6 BNB from the bucket\n///   + 8,000,000 SYNTH from the reserve (sent to the LP vault) and starts\n///   the dev vesting schedule in SynthToken. Rewards were never locked,\n///   so the Gate unlocks nothing; it opens trading on PancakeSwap.\n///\n/// Fallback gate (owner-scheduled, set once at wiring time):\n///   if the fusion count has not opened the Gate by `fallbackOpensAt`,\n///   the owner may open it with whatever the bucket holds at that\n///   moment: the entire bucket is paired with reserve SYNTH at the\n///   opening ratio (0.0000002 BNB per SYNTH = 5,000,000 SYNTH per BNB)\n///   and sent to the LP vault, and dev vesting starts — the same end\n///   state as the fusion-count Gate, at a smaller seed. Entirely at the\n///   owner's discretion: nothing fires automatically at the timestamp,\n///   and once either path has opened the Gate the other is closed.\n///\n/// Reaction II (EVOLVED -> ASCENDED), open from day one:\n///   burn 2 EVOLVED + burn 30,000 SYNTH -> 1 ASCENDED + 105,000 SYNTH paid\n///   straight to the fuser's wallet (net +75,000). No BNB fee. Max 1,111\n///   fusions. The 30,000 is pulled from the caller's wallet\n///   (transferFrom — the caller approves the chamber once) and burned.\n///\n/// REWARD MODEL (owner correction 2026-11-21 18:29 WIB): fusion rewards\n/// are NEVER locked and never claimed — they land in the fusing wallet in\n/// the same transaction. An earlier locked-balance draft was replaced\n/// before deployment; nothing on mainnet ever used it.\n///\n/// Reserve burn program: every 150 COMBINED fusions burn 3,000,000 SYNTH\n/// from the LP reserve, 11 milestones, stopping permanently at 33,000,000.\n/// Runs pre-gate too. Post-gate, the owner can pair the accumulated fee-BNB\n/// bucket with reserve tokens into the LP vault (`pairAccumulatedLP`);\n/// cumulative LP tokens (gate seed + pairings) are capped at 17,776,000,\n/// exactly the brief's LP token budget, so the reserve ends at zero.\n///\n/// Solvency (brief final accounting): gross rewards max 238,865,000\n/// (2,222 x 55,000 + 1,111 x 105,000) against a prize fund of 239,224,000\n/// held by this chamber — always solvent, 359,000 spare at full program.\ncontract FusionChamber is Ownable, ReentrancyGuard {\n    // Generation ids — must match SynthGenesisNFT (GENESIS/EVOLVED/ASCENDED).\n    uint8 internal constant GEN_GENESIS = 0;\n    uint8 internal constant GEN_EVOLVED = 1;\n    uint8 internal constant GEN_ASCENDED = 2;\n\n    uint256 public constant GEN1_FEE = 0.002 ether;\n    uint256 public constant GEN1_FEE_LP = 0.0016 ether;\n    uint256 public constant GEN1_FEE_DEV = 0.0004 ether;\n    uint256 public constant GEN1_REWARD = 55_000 ether;\n    uint256 public constant GEN2_COST = 30_000 ether;\n    uint256 public constant GEN2_REWARD = 105_000 ether;\n    uint256 public constant MAX_GEN1_FUSIONS = 2222;\n    uint256 public constant MAX_GEN2_FUSIONS = 1111;\n    uint256 public constant GATE_FUSIONS = 1000;\n    uint256 public constant GATE_LP_BNB = 1.6 ether;\n    uint256 public constant GATE_LP_TOKENS = 8_000_000 ether;\n    /// @notice Fallback-gate pairing ratio: reserve SYNTH per 1 BNB of\n    /// bucket, at the opening price (SynthToken.OPENING_PRICE_BNB is\n    /// 2e11 wei of BNB per SYNTH, so 1e18 / 2e11 = 5,000,000 SYNTH/BNB).\n    uint256 public constant FALLBACK_TOKENS_PER_BNB = 5_000_000;\n    uint256 public constant LP_TOKEN_BUDGET = 17_776_000 ether;\n    uint256 public constant BURN_PER_MILESTONE = 3_000_000 ether;\n    uint256 public constant BURN_FUSION_STEP = 150;\n    uint256 public constant MAX_MILESTONES = 11;\n    uint256 public constant MAX_RESERVE_BURN = 33_000_000 ether;\n\n    SynthGenesisNFT public immutable nft;\n    address public immutable devWallet;\n    /// @notice Receives LP seed/pairing funds (production: the pair/locker\n    /// flow controlled by the owner; the brief does not specify a router).\n    address public immutable lpVault;\n    SynthToken public token;\n    bool public tokenSet;\n\n    uint256 public totalGen1Fusions;\n    uint256 public totalGen2Fusions;\n    bool public gateOpen;\n\n    /// @notice Fallback-gate schedule: unix time from which the owner may\n    /// open the Gate with the accumulated bucket (see openGateFallback).\n    /// 0 = not scheduled. Set once by the owner at wiring time.\n    uint256 public fallbackOpensAt;\n\n    /// @notice Unpaired fee BNB accumulated in the LP bucket.\n    uint256 public lpBucket;\n    /// @notice LP-reserve SYNTH still held (starts at 50,776,000).\n    uint256 public lpReserveRemaining;\n    uint256 public lpTokensSent; // cumulative, incl. the 4,000,000 gate seed\n    uint256 public reserveBurnedTotal;\n    uint256 public milestonesFired;\n\n    event TokenSet(address indexed token);\n    event FusedGen1(address indexed fuser, uint256 tokenIdA, uint256 tokenIdB, uint256 evolvedId);\n    event FusedGen2(address indexed fuser, uint256 tokenIdA, uint256 tokenIdB, uint256 ascendedId);\n    event GateOpened(uint256 gen1Fusions, uint256 lpBnb, uint256 lpTokens);\n    event FallbackOpensAtSet(uint256 opensAt);\n    event GateFallbackOpened(uint256 gen1Fusions, uint256 lpBnb, uint256 lpTokens);\n    event RewardPaid(address indexed user, uint256 amount, uint8 generation);\n    event ReserveBurned(uint256 milestone, uint256 amount, uint256 totalBurned);\n    event LPPaired(uint256 bnbAmount, uint256 tokenAmount);\n    event DevFeePaid(address indexed dev, uint256 amount);\n\n    constructor(address nft_, address devWallet_, address lpVault_, address owner_) Ownable(owner_) {\n        require(nft_ != address(0), \"nft=0\");\n        require(devWallet_ != address(0), \"dev=0\");\n        require(lpVault_ != address(0), \"lpVault=0\");\n        nft = SynthGenesisNFT(nft_);\n        devWallet = devWallet_;\n        lpVault = lpVault_;\n        lpReserveRemaining = 50_776_000 ether; // == SynthToken.LP_RESERVE, minted to this chamber\n    }\n\n    /// @notice One-time wiring of the SYNTH token.\n    function setToken(address token_) external onlyOwner {\n        require(!tokenSet, \"token already set\");\n        require(token_ != address(0), \"token=0\");\n        token = SynthToken(payable(token_));\n        tokenSet = true;\n        emit TokenSet(token_);\n    }\n\n    /// @notice One-time wiring of the fallback-gate schedule (unix time).\n    /// From that moment the owner MAY open the Gate with the accumulated\n    /// bucket via openGateFallback; nothing happens automatically.\n    function setFallbackOpensAt(uint256 opensAt_) external onlyOwner {\n        require(fallbackOpensAt == 0, \"fallback already set\");\n        require(opensAt_ != 0, \"time=0\");\n        fallbackOpensAt = opensAt_;\n        emit FallbackOpensAtSet(opensAt_);\n    }\n\n    // ------------------------------------------------------------------\n    // Reaction I\n    // ------------------------------------------------------------------\n    function fuseGen1(uint256 tokenIdA, uint256 tokenIdB) external payable nonReentrant returns (uint256 evolvedId) {\n        require(tokenSet, \"token not set\");\n        require(msg.value == GEN1_FEE, \"fee must be 0.002 BNB\");\n        require(tokenIdA != tokenIdB, \"same token\");\n        require(totalGen1Fusions < MAX_GEN1_FUSIONS, \"gen1 fusion cap\");\n\n        // Verified burns first: the chamber can only mint after these pass.\n        nft.chamberBurn(msg.sender, tokenIdA, GEN_GENESIS);\n        nft.chamberBurn(msg.sender, tokenIdB, GEN_GENESIS);\n        evolvedId = nft.chamberMint(msg.sender, GEN_EVOLVED);\n\n        totalGen1Fusions += 1;\n        require(token.transfer(msg.sender, GEN1_REWARD), \"reward transfer failed\");\n        emit RewardPaid(msg.sender, GEN1_REWARD, GEN_EVOLVED);\n        lpBucket += GEN1_FEE_LP;\n\n        (bool ok, ) = payable(devWallet).call{value: GEN1_FEE_DEV}(\"\");\n        require(ok, \"dev fee failed\");\n        emit DevFeePaid(devWallet, GEN1_FEE_DEV);\n        emit FusedGen1(msg.sender, tokenIdA, tokenIdB, evolvedId);\n\n        _afterFusion();\n        if (!gateOpen && totalGen1Fusions >= GATE_FUSIONS) {\n            _openGate();\n        }\n    }\n\n    // ------------------------------------------------------------------\n    // Reaction II\n    // ------------------------------------------------------------------\n    function fuseGen2(uint256 tokenIdA, uint256 tokenIdB) external nonReentrant returns (uint256 ascendedId) {\n        require(tokenSet, \"token not set\");\n        require(tokenIdA != tokenIdB, \"same token\");\n        require(totalGen2Fusions < MAX_GEN2_FUSIONS, \"gen2 fusion cap\");\n\n        // Pay the 30,000 SYNTH cost from the caller's wallet (one-time\n        // approve); it is burned below, out of this chamber's balance.\n        require(token.transferFrom(msg.sender, address(this), GEN2_COST), \"token pull failed\");\n\n        // Verified burns, then the only ASCENDED mint path in the system.\n        nft.chamberBurn(msg.sender, tokenIdA, GEN_EVOLVED);\n        nft.chamberBurn(msg.sender, tokenIdB, GEN_EVOLVED);\n        ascendedId = nft.chamberMint(msg.sender, GEN_ASCENDED);\n\n        token.burn(GEN2_COST); // burns the pulled 30,000 from this chamber's balance\n        totalGen2Fusions += 1;\n        require(token.transfer(msg.sender, GEN2_REWARD), \"reward transfer failed\");\n        emit RewardPaid(msg.sender, GEN2_REWARD, GEN_ASCENDED);\n        emit FusedGen2(msg.sender, tokenIdA, tokenIdB, ascendedId);\n\n        _afterFusion();\n    }\n\n    // ------------------------------------------------------------------\n    // Post-gate LP pairing of the accumulated fee bucket.\n    // The owner supplies the reserve-token amount matching the market\n    // ratio; the contract moves ALL unpaired bucket BNB with it.\n    // ------------------------------------------------------------------\n    function pairAccumulatedLP(uint256 tokenAmount) external onlyOwner nonReentrant {\n        require(gateOpen, \"gate not open\");\n        require(tokenAmount > 0, \"amount=0\");\n        require(lpTokensSent + tokenAmount <= LP_TOKEN_BUDGET, \"lp token budget exceeded\");\n        require(tokenAmount <= lpReserveRemaining, \"reserve insufficient\");\n        uint256 bnbAmount = lpBucket;\n        require(bnbAmount > 0, \"bucket empty\");\n        lpBucket = 0;\n        lpReserveRemaining -= tokenAmount;\n        lpTokensSent += tokenAmount;\n        require(token.transfer(lpVault, tokenAmount), \"token transfer failed\");\n        (bool ok, ) = payable(lpVault).call{value: bnbAmount}(\"\");\n        require(ok, \"bnb transfer failed\");\n        emit LPPaired(bnbAmount, tokenAmount);\n    }\n\n    // ------------------------------------------------------------------\n    // Fallback gate. If the fusion-count Gate has not opened by the\n    // scheduled time, the owner may open it with whatever the bucket\n    // holds: the ENTIRE bucket is paired with reserve SYNTH at the\n    // opening ratio and sent to the LP vault, and dev vesting starts —\n    // the same end state as _openGate, at a smaller seed. The reserve\n    // and LP-budget caps are the same ones the normal path respects.\n    // ------------------------------------------------------------------\n    function openGateFallback() external onlyOwner nonReentrant {\n        require(!gateOpen, \"gate already open\");\n        require(fallbackOpensAt != 0, \"fallback not scheduled\");\n        require(block.timestamp >= fallbackOpensAt, \"fallback not yet available\");\n        require(lpBucket > 0, \"bucket empty\");\n\n        uint256 bnbAmount = lpBucket;\n        uint256 tokenAmount = bnbAmount * FALLBACK_TOKENS_PER_BNB;\n        require(tokenAmount <= lpReserveRemaining, \"reserve insufficient\");\n        require(lpTokensSent + tokenAmount <= LP_TOKEN_BUDGET, \"lp token budget exceeded\");\n\n        gateOpen = true;\n        lpBucket = 0;\n        lpReserveRemaining -= tokenAmount;\n        lpTokensSent += tokenAmount;\n        require(token.transfer(lpVault, tokenAmount), \"fallback token seed failed\");\n        (bool ok, ) = payable(lpVault).call{value: bnbAmount}(\"\");\n        require(ok, \"fallback bnb seed failed\");\n        token.startVesting();\n        emit GateOpened(totalGen1Fusions, bnbAmount, tokenAmount);\n        emit GateFallbackOpened(totalGen1Fusions, bnbAmount, tokenAmount);\n    }\n\n    // ------------------------------------------------------------------\n    // Internals\n    // ------------------------------------------------------------------\n    function _afterFusion() internal {\n        uint256 combined = totalGen1Fusions + totalGen2Fusions;\n        while (\n            milestonesFired < MAX_MILESTONES &&\n            reserveBurnedTotal < MAX_RESERVE_BURN &&\n            combined >= (milestonesFired + 1) * BURN_FUSION_STEP\n        ) {\n            milestonesFired += 1;\n            reserveBurnedTotal += BURN_PER_MILESTONE;\n            lpReserveRemaining -= BURN_PER_MILESTONE;\n            token.burn(BURN_PER_MILESTONE);\n            emit ReserveBurned(milestonesFired, BURN_PER_MILESTONE, reserveBurnedTotal);\n        }\n    }\n\n    function _openGate() internal {\n        gateOpen = true;\n        require(lpBucket >= GATE_LP_BNB, \"bucket below gate seed\");\n        require(lpReserveRemaining >= GATE_LP_TOKENS, \"reserve below gate seed\");\n        lpBucket -= GATE_LP_BNB;\n        lpReserveRemaining -= GATE_LP_TOKENS;\n        lpTokensSent += GATE_LP_TOKENS;\n        require(token.transfer(lpVault, GATE_LP_TOKENS), \"gate token seed failed\");\n        (bool ok, ) = payable(lpVault).call{value: GATE_LP_BNB}(\"\");\n        require(ok, \"gate bnb seed failed\");\n        token.startVesting();\n        emit GateOpened(totalGen1Fusions, GATE_LP_BNB, GATE_LP_TOKENS);\n    }\n\n    function combinedFusions() external view returns (uint256) {\n        return totalGen1Fusions + totalGen2Fusions;\n    }\n}\n"},"src/SynthGenesisNFT.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nimport \"@openzeppelin/contracts/token/ERC721/ERC721.sol\";\nimport \"@openzeppelin/contracts/token/common/ERC2981.sol\";\nimport \"@openzeppelin/contracts/access/Ownable.sol\";\nimport \"@openzeppelin/contracts/utils/Strings.sol\";\nimport \"./interfaces/IAgentIDRegistry.sol\";\n\n/// @title SYNTHGENESIS — Synth NFT: GENESIS (Gen 0) / EVOLVED (Gen 1) / ASCENDED (Gen 2)\n///\n/// MINT SECURITY (locked by the owner, brief 2026-11-21):\n/// 1. The ONLY public mint is `mint()` and it can only ever create GENESIS.\n/// 2. EVOLVED and ASCENDED have NO public or owner mint path. They can only\n///    be created by `chamberMint`, which is callable exclusively by the\n///    FusionChamber contract (after it has verifiably burned the inputs).\n///    The owner cannot call it — the chamber address is set once and locked.\n/// 3. GENESIS is max 1 per wallet, enforced on-contract via `hasMinted`.\n/// 4. GENESIS hard cap `totalMinted <= 4444` is checked inside `mint()`.\n/// 5. GENESIS mint is plain (no proof-of-work) and gated by Agent ID:\n///    the caller must hold a SPACE ID Agent ID (registry balanceOf > 0).\n/// 6. LAUNCH SCHEDULE (owner order 2026-11-21): `mint()` reverts until\n///    chain time reaches `mintOpensAt`, set by the owner at wiring time.\n///    The chain itself opens the mint at the announced moment — no\n///    launch-night tap or transaction is needed, and knowing the contract\n///    address early gains a bot nothing. `mintHalted` is an owner\n///    emergency brake on top of the schedule.\n///\n/// Token id layout: GENESIS 1..4444, EVOLVED 10001..12222, ASCENDED 20001..21111.\ncontract SynthGenesisNFT is ERC721, ERC2981, Ownable {\n    uint256 public constant GENESIS_SUPPLY = 4444;\n    uint256 public constant EVOLVED_CAP = 2222;\n    uint256 public constant ASCENDED_CAP = 1111;\n    uint96 public constant ROYALTY_BPS = 300; // 3% (mirrors the market royalty in the brief)\n\n    uint256 public constant EVOLVED_ID_BASE = 10000;\n    uint256 public constant ASCENDED_ID_BASE = 20000;\n\n    uint8 public constant GEN_GENESIS = 0;\n    uint8 public constant GEN_EVOLVED = 1;\n    uint8 public constant GEN_ASCENDED = 2;\n\n    IAgentIDRegistry public immutable agentRegistry;\n\n    /// @notice The FusionChamber — the only address allowed to mint Gen 1/2\n    /// and to burn tokens for fusion. Set once by the owner, then locked.\n    address public fusionChamber;\n    bool public chamberLocked;\n\n    uint256 public totalMinted; // GENESIS only\n    uint256 public evolvedMinted;\n    uint256 public ascendedMinted;\n    mapping(address => bool) public hasMinted;\n    mapping(uint256 => uint8) public generationOf;\n\n    /// @notice Launch schedule: unix time when the GENESIS mint opens.\n    /// 0 = not scheduled yet. Set by the owner at wiring time; the chain\n    /// opens the mint by itself when block time reaches it.\n    uint256 public mintOpensAt;\n    /// @notice Emergency brake: while true, mint() reverts even after open.\n    bool public mintHalted;\n\n    string private _baseTokenURI;\n    bool public baseURILocked;\n\n    event GenesisMinted(address indexed minter, uint256 tokenId);\n    event MintOpensAtSet(uint256 opensAt);\n    event MintHaltedSet(bool halted);\n    event ChamberMinted(address indexed to, uint256 tokenId, uint8 generation);\n    event ChamberBurned(address indexed from, uint256 tokenId, uint8 generation);\n    event FusionChamberSet(address indexed chamber);\n    event ChamberLocked();\n    event BaseURISet(string uri);\n    event BaseURILocked();\n\n    constructor(\n        address agentRegistry_,\n        address creator_,\n        address owner_,\n        string memory baseURI_\n    ) ERC721(\"Synth\", \"SYNTH\") Ownable(owner_) {\n        require(agentRegistry_ != address(0), \"registry=0\");\n        require(creator_ != address(0), \"creator=0\");\n        agentRegistry = IAgentIDRegistry(agentRegistry_);\n        _baseTokenURI = baseURI_;\n        _setDefaultRoyalty(creator_, ROYALTY_BPS);\n    }\n\n    modifier onlyChamber() {\n        require(msg.sender == fusionChamber && fusionChamber != address(0), \"not chamber\");\n        _;\n    }\n\n    // ------------------------------------------------------------------\n    // GENESIS public mint — the only public mint in the whole system.\n    // ------------------------------------------------------------------\n    function mint() external {\n        require(mintOpensAt != 0 && block.timestamp >= mintOpensAt, \"mint closed\");\n        require(!mintHalted, \"mint halted\");\n        require(agentRegistry.balanceOf(msg.sender) > 0, \"Agent ID required\");\n        require(!hasMinted[msg.sender], \"already minted\");\n        require(totalMinted < GENESIS_SUPPLY, \"sold out\");\n        hasMinted[msg.sender] = true;\n        totalMinted += 1;\n        uint256 tokenId = totalMinted;\n        generationOf[tokenId] = GEN_GENESIS;\n        _safeMint(msg.sender, tokenId);\n        emit GenesisMinted(msg.sender, tokenId);\n    }\n\n    // ------------------------------------------------------------------\n    // Chamber-only creation of EVOLVED / ASCENDED. There is deliberately\n    // no other function in this contract that can create Gen 1/2 tokens,\n    // and the owner has no way to call this one.\n    // ------------------------------------------------------------------\n    function chamberMint(address to, uint8 generation) external onlyChamber returns (uint256 tokenId) {\n        require(to != address(0), \"to=0\");\n        if (generation == GEN_EVOLVED) {\n            require(evolvedMinted < EVOLVED_CAP, \"evolved cap\");\n            evolvedMinted += 1;\n            tokenId = EVOLVED_ID_BASE + evolvedMinted;\n        } else if (generation == GEN_ASCENDED) {\n            require(ascendedMinted < ASCENDED_CAP, \"ascended cap\");\n            ascendedMinted += 1;\n            tokenId = ASCENDED_ID_BASE + ascendedMinted;\n        } else {\n            revert(\"gen must be 1 or 2\");\n        }\n        generationOf[tokenId] = generation;\n        _safeMint(to, tokenId);\n        emit ChamberMinted(to, tokenId, generation);\n    }\n\n    /// @notice Chamber-only burn used by fusion. Verifies the token really\n    /// belongs to `from` and really is of the expected generation, so a\n    /// fusion can never burn the wrong class of token.\n    function chamberBurn(address from, uint256 tokenId, uint8 expectedGeneration) external onlyChamber {\n        require(ownerOf(tokenId) == from, \"not token owner\");\n        require(generationOf[tokenId] == expectedGeneration, \"wrong generation\");\n        _burn(tokenId);\n        emit ChamberBurned(from, tokenId, expectedGeneration);\n    }\n\n    // ------------------------------------------------------------------\n    // Wiring / admin\n    // ------------------------------------------------------------------\n    /// @notice Schedule the GENESIS mint open (unix timestamp). The mint\n    /// opens by itself when chain time reaches it — no tap is needed at\n    /// launch. The owner can reschedule at any time.\n    function setMintOpensAt(uint256 opensAt_) external onlyOwner {\n        mintOpensAt = opensAt_;\n        emit MintOpensAtSet(opensAt_);\n    }\n\n    /// @notice Emergency brake for the public mint. Fusion paths never\n    /// call mint(), so halting cannot strand EVOLVED/ASCENDED creation.\n    function setMintHalted(bool halted_) external onlyOwner {\n        mintHalted = halted_;\n        emit MintHaltedSet(halted_);\n    }\n\n    /// @notice Effective mint state, for the website and monitors.\n    function mintOpen() public view returns (bool) {\n        return mintOpensAt != 0 && block.timestamp >= mintOpensAt && !mintHalted;\n    }\n\n    /// @notice One-time wiring: once locked, the chamber can never be\n    /// swapped, so Gen 1/2 minting rights can never be reassigned.\n    function setFusionChamber(address chamber_) external onlyOwner {\n        require(!chamberLocked, \"chamber locked\");\n        require(chamber_ != address(0), \"chamber=0\");\n        fusionChamber = chamber_;\n        chamberLocked = true;\n        emit FusionChamberSet(chamber_);\n        emit ChamberLocked();\n    }\n\n    function setBaseURI(string calldata uri) external onlyOwner {\n        require(!baseURILocked, \"baseURI locked\");\n        _baseTokenURI = uri;\n        emit BaseURISet(uri);\n    }\n\n    function lockBaseURI() external onlyOwner {\n        baseURILocked = true;\n        emit BaseURILocked();\n    }\n\n    function tokenURI(uint256 tokenId) public view override returns (string memory) {\n        _requireOwned(tokenId);\n        return string(abi.encodePacked(_baseTokenURI, Strings.toString(tokenId), \".json\"));\n    }\n\n    function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC2981) returns (bool) {\n        return super.supportsInterface(interfaceId);\n    }\n}\n"},"src/interfaces/IPancakeRouter.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\n/// @notice Minimal PancakeSwap V2 router surface used by the SYNTH tax\n/// auto-swap: quote + fee-on-transfer sell into BNB.\ninterface IPancakeRouter {\n    function getAmountsOut(uint256 amountIn, address[] calldata path)\n        external\n        view\n        returns (uint256[] memory amounts);\n\n    function swapExactTokensForETHSupportingFeeOnTransferTokens(\n        uint256 amountIn,\n        uint256 amountOutMin,\n        address[] calldata path,\n        address to,\n        uint256 deadline\n    ) external;\n\n    function addLiquidityETH(\n        address token,\n        uint256 amountTokenDesired,\n        uint256 amountTokenMin,\n        uint256 amountETHMin,\n        address to,\n        uint256 deadline\n    ) external payable returns (uint256 amountToken, uint256 amountETH, uint256 liquidity);\n}\n"},"src/interfaces/IAgentIDRegistry.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\n/// @notice Agent ID gate interface — same pattern as the owner's earlier BSC\n/// collections (Gloop, EnigmaAgent, Pixelbyte, PawGang): the public mint\n/// requires holding a SPACE ID Agent ID NFT, checked via balanceOf().\n/// Production registry: 0x60B9262456dE011F7d15a54CdD8c48bAaa8B022F (BSC).\ninterface IAgentIDRegistry {\n    function balanceOf(address owner) external view returns (uint256);\n}\n"},"@openzeppelin/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"},"@openzeppelin/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"},"@openzeppelin/contracts/utils/Strings.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/Strings.sol)\n\npragma solidity ^0.8.20;\n\nimport {Math} from \"./math/Math.sol\";\nimport {SignedMath} from \"./math/SignedMath.sol\";\n\n/**\n * @dev String operations.\n */\nlibrary Strings {\n    bytes16 private constant HEX_DIGITS = \"0123456789abcdef\";\n    uint8 private constant ADDRESS_LENGTH = 20;\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 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"},"@openzeppelin/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"},"@openzeppelin/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 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            if (c < a) return (false, 0);\n            return (true, c);\n        }\n    }\n\n    /**\n     * @dev Returns the subtraction of two unsigned integers, with an success flag (no overflow).\n     */\n    function trySub(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            if (b > a) return (false, 0);\n            return (true, a - b);\n        }\n    }\n\n    /**\n     * @dev Returns the multiplication of two unsigned integers, with an success flag (no overflow).\n     */\n    function tryMul(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\n            // benefit is lost if 'b' is also tested.\n            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\n            if (a == 0) return (true, 0);\n            uint256 c = a * b;\n            if (c / a != b) return (false, 0);\n            return (true, c);\n        }\n    }\n\n    /**\n     * @dev Returns the division of two unsigned integers, with a success flag (no division by zero).\n     */\n    function tryDiv(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            if (b == 0) return (false, 0);\n            return (true, a / b);\n        }\n    }\n\n    /**\n     * @dev Returns the remainder of dividing two unsigned integers, with a success flag (no division by zero).\n     */\n    function tryMod(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            if (b == 0) return (false, 0);\n            return (true, a % b);\n        }\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            // 512-bit multiply [prod1 prod0] = 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 = prod1 * 2²⁵⁶ + prod0.\n            uint256 prod0 = x * y; // Least significant 256 bits of the product\n            uint256 prod1; // Most significant 256 bits of the product\n            assembly {\n                let mm := mulmod(x, y, not(0))\n                prod1 := sub(sub(mm, prod0), lt(mm, prod0))\n            }\n\n            // Handle non-overflow cases, 256 by 256 division.\n            if (prod1 == 0) {\n                // Solidity will revert if denominator == 0, unlike the div opcode on its own.\n                // The surrounding unchecked block does not change this fact.\n                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.\n                return prod0 / denominator;\n            }\n\n            // Make sure the result is less than 2²⁵⁶. Also prevents denominator == 0.\n            if (denominator <= prod1) {\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 [prod1 prod0].\n            uint256 remainder;\n            assembly {\n                // Compute remainder using mulmod.\n                remainder := mulmod(x, y, denominator)\n\n                // Subtract 256 bit number from 512 bit number.\n                prod1 := sub(prod1, gt(remainder, prod0))\n                prod0 := sub(prod0, remainder)\n            }\n\n            // Factor powers of two out of denominator and compute largest power of two divisor of denominator.\n            // Always >= 1. See https://cs.stackexchange.com/q/138556/92363.\n\n            uint256 twos = denominator & (0 - denominator);\n            assembly {\n                // Divide denominator by twos.\n                denominator := div(denominator, twos)\n\n                // Divide [prod1 prod0] by twos.\n                prod0 := div(prod0, twos)\n\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 prod1 into prod0.\n            prod0 |= prod1 * 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 prod1\n            // is no longer required.\n            result = prod0 * 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 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 value) internal pure returns (uint256) {\n        uint256 result = 0;\n        uint256 exp;\n        unchecked {\n            exp = 128 * SafeCast.toUint(value > (1 << 128) - 1);\n            value >>= exp;\n            result += exp;\n\n            exp = 64 * SafeCast.toUint(value > (1 << 64) - 1);\n            value >>= exp;\n            result += exp;\n\n            exp = 32 * SafeCast.toUint(value > (1 << 32) - 1);\n            value >>= exp;\n            result += exp;\n\n            exp = 16 * SafeCast.toUint(value > (1 << 16) - 1);\n            value >>= exp;\n            result += exp;\n\n            exp = 8 * SafeCast.toUint(value > (1 << 8) - 1);\n            value >>= exp;\n            result += exp;\n\n            exp = 4 * SafeCast.toUint(value > (1 << 4) - 1);\n            value >>= exp;\n            result += exp;\n\n            exp = 2 * SafeCast.toUint(value > (1 << 2) - 1);\n            value >>= exp;\n            result += exp;\n\n            result += SafeCast.toUint(value > 1);\n        }\n        return result;\n    }\n\n    /**\n     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log2(value);\n            return result + 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 value) internal pure returns (uint256) {\n        uint256 result = 0;\n        uint256 isGt;\n        unchecked {\n            isGt = SafeCast.toUint(value > (1 << 128) - 1);\n            value >>= isGt * 128;\n            result += isGt * 16;\n\n            isGt = SafeCast.toUint(value > (1 << 64) - 1);\n            value >>= isGt * 64;\n            result += isGt * 8;\n\n            isGt = SafeCast.toUint(value > (1 << 32) - 1);\n            value >>= isGt * 32;\n            result += isGt * 4;\n\n            isGt = SafeCast.toUint(value > (1 << 16) - 1);\n            value >>= isGt * 16;\n            result += isGt * 2;\n\n            result += SafeCast.toUint(value > (1 << 8) - 1);\n        }\n        return result;\n    }\n\n    /**\n     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log256(value);\n            return result + 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"},"@openzeppelin/contracts/token/ERC20/ERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.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"},"@openzeppelin/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"},"@openzeppelin/contracts/interfaces/IERC2981.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/IERC2981.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC165} from \"../utils/introspection/IERC165.sol\";\n\n/**\n * @dev Interface for the NFT Royalty Standard.\n *\n * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal\n * support for royalty payments across all NFT marketplaces and ecosystem participants.\n */\ninterface IERC2981 is IERC165 {\n    /**\n     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of\n     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.\n     *\n     * NOTE: ERC-2981 allows setting the royalty to 100% of the price. In that case all the price would be sent to the\n     * royalty receiver and 0 tokens to the seller. Contracts dealing with royalty should consider empty transfers.\n     */\n    function royaltyInfo(\n        uint256 tokenId,\n        uint256 salePrice\n    ) external view returns (address receiver, uint256 royaltyAmount);\n}\n"},"@openzeppelin/contracts/token/ERC721/ERC721.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC721/ERC721.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC721} from \"./IERC721.sol\";\nimport {IERC721Metadata} from \"./extensions/IERC721Metadata.sol\";\nimport {ERC721Utils} from \"./utils/ERC721Utils.sol\";\nimport {Context} from \"../../utils/Context.sol\";\nimport {Strings} from \"../../utils/Strings.sol\";\nimport {IERC165, ERC165} from \"../../utils/introspection/ERC165.sol\";\nimport {IERC721Errors} from \"../../interfaces/draft-IERC6093.sol\";\n\n/**\n * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC-721] Non-Fungible Token Standard, including\n * the Metadata extension, but not including the Enumerable extension, which is available separately as\n * {ERC721Enumerable}.\n */\nabstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Errors {\n    using Strings for uint256;\n\n    // Token name\n    string private _name;\n\n    // Token symbol\n    string private _symbol;\n\n    mapping(uint256 tokenId => address) private _owners;\n\n    mapping(address owner => uint256) private _balances;\n\n    mapping(uint256 tokenId => address) private _tokenApprovals;\n\n    mapping(address owner => mapping(address operator => bool)) private _operatorApprovals;\n\n    /**\n     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.\n     */\n    constructor(string memory name_, string memory symbol_) {\n        _name = name_;\n        _symbol = symbol_;\n    }\n\n    /**\n     * @dev See {IERC165-supportsInterface}.\n     */\n    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {\n        return\n            interfaceId == type(IERC721).interfaceId ||\n            interfaceId == type(IERC721Metadata).interfaceId ||\n            super.supportsInterface(interfaceId);\n    }\n\n    /**\n     * @dev See {IERC721-balanceOf}.\n     */\n    function balanceOf(address owner) public view virtual returns (uint256) {\n        if (owner == address(0)) {\n            revert ERC721InvalidOwner(address(0));\n        }\n        return _balances[owner];\n    }\n\n    /**\n     * @dev See {IERC721-ownerOf}.\n     */\n    function ownerOf(uint256 tokenId) public view virtual returns (address) {\n        return _requireOwned(tokenId);\n    }\n\n    /**\n     * @dev See {IERC721Metadata-name}.\n     */\n    function name() public view virtual returns (string memory) {\n        return _name;\n    }\n\n    /**\n     * @dev See {IERC721Metadata-symbol}.\n     */\n    function symbol() public view virtual returns (string memory) {\n        return _symbol;\n    }\n\n    /**\n     * @dev See {IERC721Metadata-tokenURI}.\n     */\n    function tokenURI(uint256 tokenId) public view virtual returns (string memory) {\n        _requireOwned(tokenId);\n\n        string memory baseURI = _baseURI();\n        return bytes(baseURI).length > 0 ? string.concat(baseURI, tokenId.toString()) : \"\";\n    }\n\n    /**\n     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each\n     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty\n     * by default, can be overridden in child contracts.\n     */\n    function _baseURI() internal view virtual returns (string memory) {\n        return \"\";\n    }\n\n    /**\n     * @dev See {IERC721-approve}.\n     */\n    function approve(address to, uint256 tokenId) public virtual {\n        _approve(to, tokenId, _msgSender());\n    }\n\n    /**\n     * @dev See {IERC721-getApproved}.\n     */\n    function getApproved(uint256 tokenId) public view virtual returns (address) {\n        _requireOwned(tokenId);\n\n        return _getApproved(tokenId);\n    }\n\n    /**\n     * @dev See {IERC721-setApprovalForAll}.\n     */\n    function setApprovalForAll(address operator, bool approved) public virtual {\n        _setApprovalForAll(_msgSender(), operator, approved);\n    }\n\n    /**\n     * @dev See {IERC721-isApprovedForAll}.\n     */\n    function isApprovedForAll(address owner, address operator) public view virtual returns (bool) {\n        return _operatorApprovals[owner][operator];\n    }\n\n    /**\n     * @dev See {IERC721-transferFrom}.\n     */\n    function transferFrom(address from, address to, uint256 tokenId) public virtual {\n        if (to == address(0)) {\n            revert ERC721InvalidReceiver(address(0));\n        }\n        // Setting an \"auth\" arguments enables the `_isAuthorized` check which verifies that the token exists\n        // (from != 0). Therefore, it is not needed to verify that the return value is not 0 here.\n        address previousOwner = _update(to, tokenId, _msgSender());\n        if (previousOwner != from) {\n            revert ERC721IncorrectOwner(from, tokenId, previousOwner);\n        }\n    }\n\n    /**\n     * @dev See {IERC721-safeTransferFrom}.\n     */\n    function safeTransferFrom(address from, address to, uint256 tokenId) public {\n        safeTransferFrom(from, to, tokenId, \"\");\n    }\n\n    /**\n     * @dev See {IERC721-safeTransferFrom}.\n     */\n    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public virtual {\n        transferFrom(from, to, tokenId);\n        ERC721Utils.checkOnERC721Received(_msgSender(), from, to, tokenId, data);\n    }\n\n    /**\n     * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist\n     *\n     * IMPORTANT: Any overrides to this function that add ownership of tokens not tracked by the\n     * core ERC-721 logic MUST be matched with the use of {_increaseBalance} to keep balances\n     * consistent with ownership. The invariant to preserve is that for any address `a` the value returned by\n     * `balanceOf(a)` must be equal to the number of tokens such that `_ownerOf(tokenId)` is `a`.\n     */\n    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {\n        return _owners[tokenId];\n    }\n\n    /**\n     * @dev Returns the approved address for `tokenId`. Returns 0 if `tokenId` is not minted.\n     */\n    function _getApproved(uint256 tokenId) internal view virtual returns (address) {\n        return _tokenApprovals[tokenId];\n    }\n\n    /**\n     * @dev Returns whether `spender` is allowed to manage `owner`'s tokens, or `tokenId` in\n     * particular (ignoring whether it is owned by `owner`).\n     *\n     * WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this\n     * assumption.\n     */\n    function _isAuthorized(address owner, address spender, uint256 tokenId) internal view virtual returns (bool) {\n        return\n            spender != address(0) &&\n            (owner == spender || isApprovedForAll(owner, spender) || _getApproved(tokenId) == spender);\n    }\n\n    /**\n     * @dev Checks if `spender` can operate on `tokenId`, assuming the provided `owner` is the actual owner.\n     * Reverts if:\n     * - `spender` does not have approval from `owner` for `tokenId`.\n     * - `spender` does not have approval to manage all of `owner`'s assets.\n     *\n     * WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this\n     * assumption.\n     */\n    function _checkAuthorized(address owner, address spender, uint256 tokenId) internal view virtual {\n        if (!_isAuthorized(owner, spender, tokenId)) {\n            if (owner == address(0)) {\n                revert ERC721NonexistentToken(tokenId);\n            } else {\n                revert ERC721InsufficientApproval(spender, tokenId);\n            }\n        }\n    }\n\n    /**\n     * @dev Unsafe write access to the balances, used by extensions that \"mint\" tokens using an {ownerOf} override.\n     *\n     * NOTE: the value is limited to type(uint128).max. This protect against _balance overflow. It is unrealistic that\n     * a uint256 would ever overflow from increments when these increments are bounded to uint128 values.\n     *\n     * WARNING: Increasing an account's balance using this function tends to be paired with an override of the\n     * {_ownerOf} function to resolve the ownership of the corresponding tokens so that balances and ownership\n     * remain consistent with one another.\n     */\n    function _increaseBalance(address account, uint128 value) internal virtual {\n        unchecked {\n            _balances[account] += value;\n        }\n    }\n\n    /**\n     * @dev Transfers `tokenId` from its current owner to `to`, or alternatively mints (or burns) if the current owner\n     * (or `to`) is the zero address. Returns the owner of the `tokenId` before the update.\n     *\n     * The `auth` argument is optional. If the value passed is non 0, then this function will check that\n     * `auth` is either the owner of the token, or approved to operate on the token (by the owner).\n     *\n     * Emits a {Transfer} event.\n     *\n     * NOTE: If overriding this function in a way that tracks balances, see also {_increaseBalance}.\n     */\n    function _update(address to, uint256 tokenId, address auth) internal virtual returns (address) {\n        address from = _ownerOf(tokenId);\n\n        // Perform (optional) operator check\n        if (auth != address(0)) {\n            _checkAuthorized(from, auth, tokenId);\n        }\n\n        // Execute the update\n        if (from != address(0)) {\n            // Clear approval. No need to re-authorize or emit the Approval event\n            _approve(address(0), tokenId, address(0), false);\n\n            unchecked {\n                _balances[from] -= 1;\n            }\n        }\n\n        if (to != address(0)) {\n            unchecked {\n                _balances[to] += 1;\n            }\n        }\n\n        _owners[tokenId] = to;\n\n        emit Transfer(from, to, tokenId);\n\n        return from;\n    }\n\n    /**\n     * @dev Mints `tokenId` and transfers it to `to`.\n     *\n     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n     *\n     * Requirements:\n     *\n     * - `tokenId` must not exist.\n     * - `to` cannot be the zero address.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _mint(address to, uint256 tokenId) internal {\n        if (to == address(0)) {\n            revert ERC721InvalidReceiver(address(0));\n        }\n        address previousOwner = _update(to, tokenId, address(0));\n        if (previousOwner != address(0)) {\n            revert ERC721InvalidSender(address(0));\n        }\n    }\n\n    /**\n     * @dev Mints `tokenId`, transfers it to `to` and checks for `to` acceptance.\n     *\n     * Requirements:\n     *\n     * - `tokenId` must not exist.\n     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _safeMint(address to, uint256 tokenId) internal {\n        _safeMint(to, tokenId, \"\");\n    }\n\n    /**\n     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.\n     */\n    function _safeMint(address to, uint256 tokenId, bytes memory data) internal virtual {\n        _mint(to, tokenId);\n        ERC721Utils.checkOnERC721Received(_msgSender(), address(0), to, tokenId, data);\n    }\n\n    /**\n     * @dev Destroys `tokenId`.\n     * The approval is cleared when the token is burned.\n     * This is an internal function that does not check if the sender is authorized to operate on the token.\n     *\n     * Requirements:\n     *\n     * - `tokenId` must exist.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _burn(uint256 tokenId) internal {\n        address previousOwner = _update(address(0), tokenId, address(0));\n        if (previousOwner == address(0)) {\n            revert ERC721NonexistentToken(tokenId);\n        }\n    }\n\n    /**\n     * @dev Transfers `tokenId` from `from` to `to`.\n     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n     *\n     * Requirements:\n     *\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must be owned by `from`.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _transfer(address from, address to, uint256 tokenId) internal {\n        if (to == address(0)) {\n            revert ERC721InvalidReceiver(address(0));\n        }\n        address previousOwner = _update(to, tokenId, address(0));\n        if (previousOwner == address(0)) {\n            revert ERC721NonexistentToken(tokenId);\n        } else if (previousOwner != from) {\n            revert ERC721IncorrectOwner(from, tokenId, previousOwner);\n        }\n    }\n\n    /**\n     * @dev Safely transfers `tokenId` token from `from` to `to`, checking that contract recipients\n     * are aware of the ERC-721 standard to prevent tokens from being forever locked.\n     *\n     * `data` is additional data, it has no specified format and it is sent in call to `to`.\n     *\n     * This internal function is like {safeTransferFrom} in the sense that it invokes\n     * {IERC721Receiver-onERC721Received} on the receiver, and can be used to e.g.\n     * implement alternative mechanisms to perform token transfer, such as signature-based.\n     *\n     * Requirements:\n     *\n     * - `tokenId` token must exist and be owned by `from`.\n     * - `to` cannot be the zero address.\n     * - `from` cannot be the zero address.\n     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _safeTransfer(address from, address to, uint256 tokenId) internal {\n        _safeTransfer(from, to, tokenId, \"\");\n    }\n\n    /**\n     * @dev Same as {xref-ERC721-_safeTransfer-address-address-uint256-}[`_safeTransfer`], with an additional `data` parameter which is\n     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.\n     */\n    function _safeTransfer(address from, address to, uint256 tokenId, bytes memory data) internal virtual {\n        _transfer(from, to, tokenId);\n        ERC721Utils.checkOnERC721Received(_msgSender(), from, to, tokenId, data);\n    }\n\n    /**\n     * @dev Approve `to` to operate on `tokenId`\n     *\n     * The `auth` argument is optional. If the value passed is non 0, then this function will check that `auth` is\n     * either the owner of the token, or approved to operate on all tokens held by this owner.\n     *\n     * Emits an {Approval} event.\n     *\n     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.\n     */\n    function _approve(address to, uint256 tokenId, address auth) internal {\n        _approve(to, tokenId, auth, true);\n    }\n\n    /**\n     * @dev Variant of `_approve` with an optional flag to enable or disable the {Approval} event. The event is not\n     * emitted in the context of transfers.\n     */\n    function _approve(address to, uint256 tokenId, address auth, bool emitEvent) internal virtual {\n        // Avoid reading the owner unless necessary\n        if (emitEvent || auth != address(0)) {\n            address owner = _requireOwned(tokenId);\n\n            // We do not use _isAuthorized because single-token approvals should not be able to call approve\n            if (auth != address(0) && owner != auth && !isApprovedForAll(owner, auth)) {\n                revert ERC721InvalidApprover(auth);\n            }\n\n            if (emitEvent) {\n                emit Approval(owner, to, tokenId);\n            }\n        }\n\n        _tokenApprovals[tokenId] = to;\n    }\n\n    /**\n     * @dev Approve `operator` to operate on all of `owner` tokens\n     *\n     * Requirements:\n     * - operator can't be the address zero.\n     *\n     * Emits an {ApprovalForAll} event.\n     */\n    function _setApprovalForAll(address owner, address operator, bool approved) internal virtual {\n        if (operator == address(0)) {\n            revert ERC721InvalidOperator(operator);\n        }\n        _operatorApprovals[owner][operator] = approved;\n        emit ApprovalForAll(owner, operator, approved);\n    }\n\n    /**\n     * @dev Reverts if the `tokenId` doesn't have a current owner (it hasn't been minted, or it has been burned).\n     * Returns the owner.\n     *\n     * Overrides to ownership logic should be done to {_ownerOf}.\n     */\n    function _requireOwned(uint256 tokenId) internal view returns (address) {\n        address owner = _ownerOf(tokenId);\n        if (owner == address(0)) {\n            revert ERC721NonexistentToken(tokenId);\n        }\n        return owner;\n    }\n}\n"},"@openzeppelin/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"},"@openzeppelin/contracts/token/ERC721/IERC721.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC721/IERC721.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC165} from \"../../utils/introspection/IERC165.sol\";\n\n/**\n * @dev Required interface of an ERC-721 compliant contract.\n */\ninterface IERC721 is IERC165 {\n    /**\n     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\n     */\n    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\n\n    /**\n     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\n     */\n    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\n\n    /**\n     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\n     */\n    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\n\n    /**\n     * @dev Returns the number of tokens in ``owner``'s account.\n     */\n    function balanceOf(address owner) external view returns (uint256 balance);\n\n    /**\n     * @dev Returns the owner of the `tokenId` token.\n     *\n     * Requirements:\n     *\n     * - `tokenId` must exist.\n     */\n    function ownerOf(uint256 tokenId) external view returns (address owner);\n\n    /**\n     * @dev Safely transfers `tokenId` token from `from` to `to`.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must exist and be owned by `from`.\n     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon\n     *   a safe transfer.\n     *\n     * Emits a {Transfer} event.\n     */\n    function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;\n\n    /**\n     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n     * are aware of the ERC-721 protocol to prevent tokens from being forever locked.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must exist and be owned by `from`.\n     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or\n     *   {setApprovalForAll}.\n     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon\n     *   a safe transfer.\n     *\n     * Emits a {Transfer} event.\n     */\n    function safeTransferFrom(address from, address to, uint256 tokenId) external;\n\n    /**\n     * @dev Transfers `tokenId` token from `from` to `to`.\n     *\n     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC-721\n     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must\n     * understand this adds an external call which potentially creates a reentrancy vulnerability.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must be owned by `from`.\n     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transferFrom(address from, address to, uint256 tokenId) external;\n\n    /**\n     * @dev Gives permission to `to` to transfer `tokenId` token to another account.\n     * The approval is cleared when the token is transferred.\n     *\n     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n     *\n     * Requirements:\n     *\n     * - The caller must own the token or be an approved operator.\n     * - `tokenId` must exist.\n     *\n     * Emits an {Approval} event.\n     */\n    function approve(address to, uint256 tokenId) external;\n\n    /**\n     * @dev Approve or remove `operator` as an operator for the caller.\n     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n     *\n     * Requirements:\n     *\n     * - The `operator` cannot be the address zero.\n     *\n     * Emits an {ApprovalForAll} event.\n     */\n    function setApprovalForAll(address operator, bool approved) external;\n\n    /**\n     * @dev Returns the account approved for `tokenId` token.\n     *\n     * Requirements:\n     *\n     * - `tokenId` must exist.\n     */\n    function getApproved(uint256 tokenId) external view returns (address operator);\n\n    /**\n     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n     *\n     * See {setApprovalForAll}\n     */\n    function isApprovedForAll(address owner, address operator) external view returns (bool);\n}\n"},"@openzeppelin/contracts/token/common/ERC2981.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/common/ERC2981.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC2981} from \"../../interfaces/IERC2981.sol\";\nimport {IERC165, ERC165} from \"../../utils/introspection/ERC165.sol\";\n\n/**\n * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.\n *\n * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for\n * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.\n *\n * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the\n * fee is specified in basis points by default.\n *\n * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See\n * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the ERC. Marketplaces are expected to\n * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.\n */\nabstract contract ERC2981 is IERC2981, ERC165 {\n    struct RoyaltyInfo {\n        address receiver;\n        uint96 royaltyFraction;\n    }\n\n    RoyaltyInfo private _defaultRoyaltyInfo;\n    mapping(uint256 tokenId => RoyaltyInfo) private _tokenRoyaltyInfo;\n\n    /**\n     * @dev The default royalty set is invalid (eg. (numerator / denominator) >= 1).\n     */\n    error ERC2981InvalidDefaultRoyalty(uint256 numerator, uint256 denominator);\n\n    /**\n     * @dev The default royalty receiver is invalid.\n     */\n    error ERC2981InvalidDefaultRoyaltyReceiver(address receiver);\n\n    /**\n     * @dev The royalty set for an specific `tokenId` is invalid (eg. (numerator / denominator) >= 1).\n     */\n    error ERC2981InvalidTokenRoyalty(uint256 tokenId, uint256 numerator, uint256 denominator);\n\n    /**\n     * @dev The royalty receiver for `tokenId` is invalid.\n     */\n    error ERC2981InvalidTokenRoyaltyReceiver(uint256 tokenId, address receiver);\n\n    /**\n     * @dev See {IERC165-supportsInterface}.\n     */\n    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) {\n        return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId);\n    }\n\n    /**\n     * @inheritdoc IERC2981\n     */\n    function royaltyInfo(\n        uint256 tokenId,\n        uint256 salePrice\n    ) public view virtual returns (address receiver, uint256 amount) {\n        RoyaltyInfo storage _royaltyInfo = _tokenRoyaltyInfo[tokenId];\n        address royaltyReceiver = _royaltyInfo.receiver;\n        uint96 royaltyFraction = _royaltyInfo.royaltyFraction;\n\n        if (royaltyReceiver == address(0)) {\n            royaltyReceiver = _defaultRoyaltyInfo.receiver;\n            royaltyFraction = _defaultRoyaltyInfo.royaltyFraction;\n        }\n\n        uint256 royaltyAmount = (salePrice * royaltyFraction) / _feeDenominator();\n\n        return (royaltyReceiver, royaltyAmount);\n    }\n\n    /**\n     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a\n     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an\n     * override.\n     */\n    function _feeDenominator() internal pure virtual returns (uint96) {\n        return 10000;\n    }\n\n    /**\n     * @dev Sets the royalty information that all ids in this contract will default to.\n     *\n     * Requirements:\n     *\n     * - `receiver` cannot be the zero address.\n     * - `feeNumerator` cannot be greater than the fee denominator.\n     */\n    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {\n        uint256 denominator = _feeDenominator();\n        if (feeNumerator > denominator) {\n            // Royalty fee will exceed the sale price\n            revert ERC2981InvalidDefaultRoyalty(feeNumerator, denominator);\n        }\n        if (receiver == address(0)) {\n            revert ERC2981InvalidDefaultRoyaltyReceiver(address(0));\n        }\n\n        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);\n    }\n\n    /**\n     * @dev Removes default royalty information.\n     */\n    function _deleteDefaultRoyalty() internal virtual {\n        delete _defaultRoyaltyInfo;\n    }\n\n    /**\n     * @dev Sets the royalty information for a specific token id, overriding the global default.\n     *\n     * Requirements:\n     *\n     * - `receiver` cannot be the zero address.\n     * - `feeNumerator` cannot be greater than the fee denominator.\n     */\n    function _setTokenRoyalty(uint256 tokenId, address receiver, uint96 feeNumerator) internal virtual {\n        uint256 denominator = _feeDenominator();\n        if (feeNumerator > denominator) {\n            // Royalty fee will exceed the sale price\n            revert ERC2981InvalidTokenRoyalty(tokenId, feeNumerator, denominator);\n        }\n        if (receiver == address(0)) {\n            revert ERC2981InvalidTokenRoyaltyReceiver(tokenId, address(0));\n        }\n\n        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);\n    }\n\n    /**\n     * @dev Resets royalty information for the token id back to the global default.\n     */\n    function _resetTokenRoyalty(uint256 tokenId) internal virtual {\n        delete _tokenRoyaltyInfo[tokenId];\n    }\n}\n"},"@openzeppelin/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"},"@openzeppelin/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"},"@openzeppelin/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"},"@openzeppelin/contracts/utils/introspection/ERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/ERC165.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC165} from \"./IERC165.sol\";\n\n/**\n * @dev Implementation of the {IERC165} interface.\n *\n * Contracts that want to implement ERC-165 should inherit from this contract and override {supportsInterface} to check\n * for the additional interface id that will be supported. For example:\n *\n * ```solidity\n * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);\n * }\n * ```\n */\nabstract contract ERC165 is IERC165 {\n    /**\n     * @dev See {IERC165-supportsInterface}.\n     */\n    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {\n        return interfaceId == type(IERC165).interfaceId;\n    }\n}\n"},"@openzeppelin/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"},"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC721/IERC721Receiver.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @title ERC-721 token receiver interface\n * @dev Interface for any contract that wants to support safeTransfers\n * from ERC-721 asset contracts.\n */\ninterface IERC721Receiver {\n    /**\n     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n     * by `operator` from `from`, this function is called.\n     *\n     * It must return its Solidity selector to confirm the token transfer.\n     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be\n     * reverted.\n     *\n     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.\n     */\n    function onERC721Received(\n        address operator,\n        address from,\n        uint256 tokenId,\n        bytes calldata data\n    ) external returns (bytes4);\n}\n"},"@openzeppelin/contracts/token/ERC721/utils/ERC721Utils.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC721/utils/ERC721Utils.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC721Receiver} from \"../IERC721Receiver.sol\";\nimport {IERC721Errors} from \"../../../interfaces/draft-IERC6093.sol\";\n\n/**\n * @dev Library that provide common ERC-721 utility functions.\n *\n * See https://eips.ethereum.org/EIPS/eip-721[ERC-721].\n *\n * _Available since v5.1._\n */\nlibrary ERC721Utils {\n    /**\n     * @dev Performs an acceptance check for the provided `operator` by calling {IERC721-onERC721Received}\n     * on the `to` address. The `operator` is generally the address that initiated the token transfer (i.e. `msg.sender`).\n     *\n     * The acceptance call is not executed and treated as a no-op if the target address doesn't contain code (i.e. an EOA).\n     * Otherwise, the recipient must implement {IERC721Receiver-onERC721Received} and return the acceptance magic value to accept\n     * the transfer.\n     */\n    function checkOnERC721Received(\n        address operator,\n        address from,\n        address to,\n        uint256 tokenId,\n        bytes memory data\n    ) internal {\n        if (to.code.length > 0) {\n            try IERC721Receiver(to).onERC721Received(operator, from, tokenId, data) returns (bytes4 retval) {\n                if (retval != IERC721Receiver.onERC721Received.selector) {\n                    // Token rejected\n                    revert IERC721Errors.ERC721InvalidReceiver(to);\n                }\n            } catch (bytes memory reason) {\n                if (reason.length == 0) {\n                    // non-IERC721Receiver implementer\n                    revert IERC721Errors.ERC721InvalidReceiver(to);\n                } else {\n                    assembly (\"memory-safe\") {\n                        revert(add(32, reason), mload(reason))\n                    }\n                }\n            }\n        }\n    }\n}\n"},"@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Burnable.sol)\n\npragma solidity ^0.8.20;\n\nimport {ERC20} from \"../ERC20.sol\";\nimport {Context} from \"../../../utils/Context.sol\";\n\n/**\n * @dev Extension of {ERC20} that allows token holders to destroy both their own\n * tokens and those that they have an allowance for, in a way that can be\n * recognized off-chain (via event analysis).\n */\nabstract contract ERC20Burnable is Context, ERC20 {\n    /**\n     * @dev Destroys a `value` amount of tokens from the caller.\n     *\n     * See {ERC20-_burn}.\n     */\n    function burn(uint256 value) public virtual {\n        _burn(_msgSender(), value);\n    }\n\n    /**\n     * @dev Destroys a `value` amount of tokens from `account`, deducting from\n     * the caller's allowance.\n     *\n     * See {ERC20-_burn} and {ERC20-allowance}.\n     *\n     * Requirements:\n     *\n     * - the caller must have allowance for ``accounts``'s tokens of at least\n     * `value`.\n     */\n    function burnFrom(address account, uint256 value) public virtual {\n        _spendAllowance(account, _msgSender(), value);\n        _burn(account, value);\n    }\n}\n"},"@openzeppelin/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"},"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/IERC721Metadata.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC721} from \"../IERC721.sol\";\n\n/**\n * @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n * @dev See https://eips.ethereum.org/EIPS/eip-721\n */\ninterface IERC721Metadata is IERC721 {\n    /**\n     * @dev Returns the token collection name.\n     */\n    function name() external view returns (string memory);\n\n    /**\n     * @dev Returns the token collection symbol.\n     */\n    function symbol() external view returns (string memory);\n\n    /**\n     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.\n     */\n    function tokenURI(uint256 tokenId) external view returns (string memory);\n}\n"}},"language":"Solidity","settings":{"optimizer":{"runs":200,"enabled":true},"evmVersion":"paris"}},"stdJsonOutput":{"sources":{"src/SynthToken.sol":{"id":24},"src/FusionChamber.sol":{"id":22},"src/SynthGenesisNFT.sol":{"id":23},"src/interfaces/IPancakeRouter.sol":{"id":26},"src/interfaces/IAgentIDRegistry.sol":{"id":25},"@openzeppelin/contracts/utils/Panic.sol":{"id":14},"@openzeppelin/contracts/utils/Context.sol":{"id":13},"@openzeppelin/contracts/utils/Strings.sol":{"id":16},"@openzeppelin/contracts/access/Ownable.sol":{"id":0},"@openzeppelin/contracts/utils/math/Math.sol":{"id":19},"@openzeppelin/contracts/token/ERC20/ERC20.sol":{"id":3},"@openzeppelin/contracts/token/ERC20/IERC20.sol":{"id":4},"@openzeppelin/contracts/interfaces/IERC2981.sol":{"id":1},"@openzeppelin/contracts/token/ERC721/ERC721.sol":{"id":7},"@openzeppelin/contracts/utils/math/SafeCast.sol":{"id":20},"@openzeppelin/contracts/token/ERC721/IERC721.sol":{"id":8},"@openzeppelin/contracts/token/common/ERC2981.sol":{"id":12},"@openzeppelin/contracts/utils/ReentrancyGuard.sol":{"id":15},"@openzeppelin/contracts/utils/math/SignedMath.sol":{"id":21},"@openzeppelin/contracts/interfaces/draft-IERC6093.sol":{"id":2},"@openzeppelin/contracts/utils/introspection/ERC165.sol":{"id":17},"@openzeppelin/contracts/utils/introspection/IERC165.sol":{"id":18},"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol":{"id":9},"@openzeppelin/contracts/token/ERC721/utils/ERC721Utils.sol":{"id":11},"@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol":{"id":5},"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"id":6},"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol":{"id":10}},"contracts":{"src/FusionChamber.sol":{"FusionChamber":{"abi":[{"type":"constructor","inputs":[{"name":"nft_","type":"address","internalType":"address"},{"name":"devWallet_","type":"address","internalType":"address"},{"name":"lpVault_","type":"address","internalType":"address"},{"name":"owner_","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"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":"DevFeePaid","type":"event","inputs":[{"name":"dev","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"FallbackOpensAtSet","type":"event","inputs":[{"name":"opensAt","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"FusedGen1","type":"event","inputs":[{"name":"fuser","type":"address","indexed":true,"internalType":"address"},{"name":"tokenIdA","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"tokenIdB","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"evolvedId","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"FusedGen2","type":"event","inputs":[{"name":"fuser","type":"address","indexed":true,"internalType":"address"},{"name":"tokenIdA","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"tokenIdB","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"ascendedId","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"GateFallbackOpened","type":"event","inputs":[{"name":"gen1Fusions","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"lpBnb","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"lpTokens","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"GateOpened","type":"event","inputs":[{"name":"gen1Fusions","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"lpBnb","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"lpTokens","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"LPPaired","type":"event","inputs":[{"name":"bnbAmount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"tokenAmount","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":"ReserveBurned","type":"event","inputs":[{"name":"milestone","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"totalBurned","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"RewardPaid","type":"event","inputs":[{"name":"user","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"generation","type":"uint8","indexed":false,"internalType":"uint8"}],"anonymous":false},{"name":"TokenSet","type":"event","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"BURN_FUSION_STEP","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"BURN_PER_MILESTONE","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"FALLBACK_TOKENS_PER_BNB","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"GATE_FUSIONS","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"GATE_LP_BNB","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"GATE_LP_TOKENS","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"GEN1_FEE","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"GEN1_FEE_DEV","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"GEN1_FEE_LP","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"GEN1_REWARD","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"GEN2_COST","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"GEN2_REWARD","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"LP_TOKEN_BUDGET","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"MAX_GEN1_FUSIONS","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"MAX_GEN2_FUSIONS","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"MAX_MILESTONES","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"MAX_RESERVE_BURN","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"combinedFusions","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"devWallet","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"fallbackOpensAt","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"fuseGen1","type":"function","inputs":[{"name":"tokenIdA","type":"uint256","internalType":"uint256"},{"name":"tokenIdB","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"evolvedId","type":"uint256","internalType":"uint256"}],"stateMutability":"payable"},{"name":"fuseGen2","type":"function","inputs":[{"name":"tokenIdA","type":"uint256","internalType":"uint256"},{"name":"tokenIdB","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"ascendedId","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"gateOpen","type":"function","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"lpBucket","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"lpReserveRemaining","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"lpTokensSent","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"lpVault","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"milestonesFired","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"nft","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract SynthGenesisNFT"}],"stateMutability":"view"},{"name":"openGateFallback","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"owner","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"pairAccumulatedLP","type":"function","inputs":[{"name":"tokenAmount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"renounceOwnership","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"reserveBurnedTotal","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"setFallbackOpensAt","type":"function","inputs":[{"name":"opensAt_","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setToken","type":"function","inputs":[{"name":"token_","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"token","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract SynthToken"}],"stateMutability":"view"},{"name":"tokenSet","type":"function","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"totalGen1Fusions","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"totalGen2Fusions","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"transferOwnership","type":"function","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"}],"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"nft_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"devWallet_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"lpVault_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner_\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"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\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"dev\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"DevFeePaid\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"opensAt\",\"type\":\"uint256\"}],\"name\":\"FallbackOpensAtSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"fuser\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenIdA\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenIdB\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"evolvedId\",\"type\":\"uint256\"}],\"name\":\"FusedGen1\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"fuser\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenIdA\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenIdB\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"ascendedId\",\"type\":\"uint256\"}],\"name\":\"FusedGen2\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"gen1Fusions\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lpBnb\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lpTokens\",\"type\":\"uint256\"}],\"name\":\"GateFallbackOpened\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"gen1Fusions\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lpBnb\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lpTokens\",\"type\":\"uint256\"}],\"name\":\"GateOpened\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"bnbAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenAmount\",\"type\":\"uint256\"}],\"name\":\"LPPaired\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"milestone\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalBurned\",\"type\":\"uint256\"}],\"name\":\"ReserveBurned\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"generation\",\"type\":\"uint8\"}],\"name\":\"RewardPaid\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"TokenSet\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"BURN_FUSION_STEP\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"BURN_PER_MILESTONE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"FALLBACK_TOKENS_PER_BNB\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"GATE_FUSIONS\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"GATE_LP_BNB\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"GATE_LP_TOKENS\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"GEN1_FEE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"GEN1_FEE_DEV\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"GEN1_FEE_LP\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"GEN1_REWARD\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"GEN2_COST\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"GEN2_REWARD\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"LP_TOKEN_BUDGET\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_GEN1_FUSIONS\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_GEN2_FUSIONS\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_MILESTONES\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_RESERVE_BURN\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"combinedFusions\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"devWallet\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fallbackOpensAt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenIdA\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tokenIdB\",\"type\":\"uint256\"}],\"name\":\"fuseGen1\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"evolvedId\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenIdA\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tokenIdB\",\"type\":\"uint256\"}],\"name\":\"fuseGen2\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"ascendedId\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"gateOpen\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lpBucket\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lpReserveRemaining\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lpTokensSent\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lpVault\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"milestonesFired\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nft\",\"outputs\":[{\"internalType\":\"contract SynthGenesisNFT\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"openGateFallback\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenAmount\",\"type\":\"uint256\"}],\"name\":\"pairAccumulatedLP\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"reserveBurnedTotal\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"opensAt_\",\"type\":\"uint256\"}],\"name\":\"setFallbackOpensAt\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token_\",\"type\":\"address\"}],\"name\":\"setToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token\",\"outputs\":[{\"internalType\":\"contract SynthToken\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tokenSet\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalGen1Fusions\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalGen2Fusions\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"errors\":{\"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.\"}]},\"kind\":\"dev\",\"methods\":{\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"title\":\"FusionChamber — the only place EVOLVED and ASCENDED are born. Reaction I (GENESIS -> EVOLVED), open from day one:   burn 2 GENESIS + 0.002 BNB fee -> 1 EVOLVED + 55,000 SYNTH paid   straight to the fuser's wallet in the same transaction.   Fee split: 0.0016 BNB to the LP bucket, 0.0004 BNB to dev (instant).   Max 2,222 fusions. The 1,000th Gen-1 fusion opens the Gate. The Gate (1,000 Gen-1 fusions, Gen-1 fusions only count):   the SYNTH listing moment — seeds the LP with 1.6 BNB from the bucket   + 8,000,000 SYNTH from the reserve (sent to the LP vault) and starts   the dev vesting schedule in SynthToken. Rewards were never locked,   so the Gate unlocks nothing; it opens trading on PancakeSwap. Fallback gate (owner-scheduled, set once at wiring time):   if the fusion count has not opened the Gate by `fallbackOpensAt`,   the owner may open it with whatever the bucket holds at that   moment: the entire bucket is paired with reserve SYNTH at the   opening ratio (0.0000002 BNB per SYNTH = 5,000,000 SYNTH per BNB)   and sent to the LP vault, and dev vesting starts — the same end   state as the fusion-count Gate, at a smaller seed. Entirely at the   owner's discretion: nothing fires automatically at the timestamp,   and once either path has opened the Gate the other is closed. Reaction II (EVOLVED -> ASCENDED), open from day one:   burn 2 EVOLVED + burn 30,000 SYNTH -> 1 ASCENDED + 105,000 SYNTH paid   straight to the fuser's wallet (net +75,000). No BNB fee. Max 1,111   fusions. The 30,000 is pulled from the caller's wallet   (transferFrom — the caller approves the chamber once) and burned. REWARD MODEL (owner correction 2026-11-21 18:29 WIB): fusion rewards are NEVER locked and never claimed — they land in the fusing wallet in the same transaction. An earlier locked-balance draft was replaced before deployment; nothing on mainnet ever used it. Reserve burn program: every 150 COMBINED fusions burn 3,000,000 SYNTH from the LP reserve, 11 milestones, stopping permanently at 33,000,000. Runs pre-gate too. Post-gate, the owner can pair the accumulated fee-BNB bucket with reserve tokens into the LP vault (`pairAccumulatedLP`); cumulative LP tokens (gate seed + pairings) are capped at 17,776,000, exactly the brief's LP token budget, so the reserve ends at zero. Solvency (brief final accounting): gross rewards max 238,865,000 (2,222 x 55,000 + 1,111 x 105,000) against a prize fund of 239,224,000 held by this chamber — always solvent, 359,000 spare at full program.\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"FALLBACK_TOKENS_PER_BNB()\":{\"notice\":\"Fallback-gate pairing ratio: reserve SYNTH per 1 BNB of bucket, at the opening price (SynthToken.OPENING_PRICE_BNB is 2e11 wei of BNB per SYNTH, so 1e18 / 2e11 = 5,000,000 SYNTH/BNB).\"},\"fallbackOpensAt()\":{\"notice\":\"Fallback-gate schedule: unix time from which the owner may open the Gate with the accumulated bucket (see openGateFallback). 0 = not scheduled. Set once by the owner at wiring time.\"},\"lpBucket()\":{\"notice\":\"Unpaired fee BNB accumulated in the LP bucket.\"},\"lpReserveRemaining()\":{\"notice\":\"LP-reserve SYNTH still held (starts at 50,776,000).\"},\"lpVault()\":{\"notice\":\"Receives LP seed/pairing funds (production: the pair/locker flow controlled by the owner; the brief does not specify a router).\"},\"setFallbackOpensAt(uint256)\":{\"notice\":\"One-time wiring of the fallback-gate schedule (unix time). From that moment the owner MAY open the Gate with the accumulated bucket via openGateFallback; nothing happens automatically.\"},\"setToken(address)\":{\"notice\":\"One-time wiring of the SYNTH token.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/FusionChamber.sol\":\"FusionChamber\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0xff6d0bb2e285473e5311d9d3caacb525ae3538a80758c10649a4d61029b017bb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8ed324d3920bb545059d66ab97d43e43ee85fd3bd52e03e401f020afb0b120f6\",\"dweb:/ipfs/QmfEckWLmZkDDcoWrkEvMWhms66xwTLff9DDhegYpvHo1a\"]},\"@openzeppelin/contracts/interfaces/IERC2981.sol\":{\"keccak256\":\"0x3b017a19c1730050d0fdff8dfa9255741634699aa4217442724746ca49e13292\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://05530a2959e8be01cd88993970924cd6081c3462395f6fc0e73c034519259b05\",\"dweb:/ipfs/QmXAG8dF9fiYE8iVWJYWxmbEMNL6RvBAxzRGq2nyLanB2M\"]},\"@openzeppelin/contracts/interfaces/draft-IERC6093.sol\":{\"keccak256\":\"0x880da465c203cec76b10d72dbd87c80f387df4102274f23eea1f9c9b0918792b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://399594cd8bb0143bc9e55e0f1d071d0d8c850a394fb7a319d50edd55d9ed822b\",\"dweb:/ipfs/QmbPZzgtT6LEm9CMqWfagQFwETbV1ztpECBB1DtQHrKiRz\"]},\"@openzeppelin/contracts/token/ERC20/ERC20.sol\":{\"keccak256\":\"0xbf61ab2ae1d575a17ea58fbb99ca232baddcc4e0eeea180e84cbc74b0c348b31\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4e0968705bad99747a8e5288aa008678c2be2f471f919dce3925a3cc4f1dee09\",\"dweb:/ipfs/QmbAFnCQfo4tw6ssfQSjhA5LzwHWNNryXN8bX7ty8jiqqn\"]},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db\",\"dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9\"]},\"@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol\":{\"keccak256\":\"0x2659248df25e34000ed214b3dc8da2160bc39874c992b477d9e2b1b3283dc073\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c345af1b0e7ea28d1216d6a04ab28f5534a5229b9edf9ca3cd0e84950ae58d26\",\"dweb:/ipfs/QmY63jtSrYpLRe8Gj1ep2vMDCKxGNNG3hnNVKBVnrs2nmA\"]},\"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\":{\"keccak256\":\"0x70f2f713b13b7ce4610bcd0ac9fec0f3cc43693b043abcb8dc40a42a726eb330\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c13d13304ac79a83ab1c30168967d19e2203342ebbd6a9bbce4db7550522dcbf\",\"dweb:/ipfs/QmeN5jKMN2vw5bhacr6tkg78afbTTZUeaacNHqjWt4Ew1r\"]},\"@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0x39ed367e54765186281efcfe83e47cf0ad62cc879f10e191360712507125f29a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2c5ae6d85bd48cca8d6d2fcec8c63efd86f56f8a5832577a47e403ce0e65cb09\",\"dweb:/ipfs/QmUtcS8AbRSWhuc61puYet58os8FvSqm329ChoW8wwZXZk\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x5dc63d1c6a12fe1b17793e1745877b2fcbe1964c3edfd0a482fac21ca8f18261\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6b7f97c5960a50fd1822cb298551ffc908e37b7893a68d6d08bce18a11cb0f11\",\"dweb:/ipfs/QmQQvxBytoY1eBt3pRQDmvH2hZ2yjhs12YqVfzGm7KSURq\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0xb5afb8e8eebc4d1c6404df2f5e1e6d2c3d24fd01e5dfc855314951ecfaae462d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://78586466c424f076c6a2a551d848cfbe3f7c49e723830807598484a1047b3b34\",\"dweb:/ipfs/Qmb717ovcFxm7qgNKEShiV6M9SPR3v1qnNpAGH84D6w29p\"]},\"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol\":{\"keccak256\":\"0x37d1aaaa5a2908a09e9dcf56a26ddf762ecf295afb5964695937344fc6802ce1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ed0bfc1b92153c5000e50f4021367b931bbe96372ac6facec3c4961b72053d02\",\"dweb:/ipfs/Qmbwp8VDerjS5SV1quwHH1oMXxPQ93fzfLVqJ2RCqbowGE\"]},\"@openzeppelin/contracts/token/ERC721/utils/ERC721Utils.sol\":{\"keccak256\":\"0x40399695922383778f9f540a620bec475a2f8e0f08d41f0005682842e28a9855\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://746d295e403931aeb9d6065fd5a0871f43ab5459814a60623611e4b6641a09fd\",\"dweb:/ipfs/QmWrgT8YJrQ9FfD1o3YYArwo57e7MGdpFKuM74qJ4qE34E\"]},\"@openzeppelin/contracts/token/common/ERC2981.sol\":{\"keccak256\":\"0x01818908219f73eecfbbe8999ac583ee3fcbfe8e39e8e0a823199737d0ed8052\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://674bafb0a373297befe1b5fe4f5a02cc18a305d8f9a4577deddc2030a611433e\",\"dweb:/ipfs/QmPq5sBp1upRbBVdU5kd1VyG4tHAbv9z6V1NSPuPs8vAtd\"]},\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12\",\"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF\"]},\"@openzeppelin/contracts/utils/Panic.sol\":{\"keccak256\":\"0xf7fe324703a64fc51702311dc51562d5cb1497734f074e4f483bfb6717572d7a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c6a5ff4f9fd8649b7ee20800b7fa387d3465bd77cf20c2d1068cd5c98e1ed57a\",\"dweb:/ipfs/QmVSaVJf9FXFhdYEYeCEfjMVHrxDh5qL4CGkxdMWpQCrqG\"]},\"@openzeppelin/contracts/utils/ReentrancyGuard.sol\":{\"keccak256\":\"0x11a5a79827df29e915a12740caf62fe21ebe27c08c9ae3e09abe9ee3ba3866d3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3cf0c69ab827e3251db9ee6a50647d62c90ba580a4d7bbff21f2bea39e7b2f4a\",\"dweb:/ipfs/QmZiKwtKU1SBX4RGfQtY7PZfiapbbu6SZ9vizGQD9UHjRA\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x725209b582291bb83058e3078624b53d15a133f7401c30295e7f3704181d2aed\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0564ddb19c6d870e27b789d8f985283d815267ad7224883c2d5243c8bacc7dc0\",\"dweb:/ipfs/QmeC953H4sj88ZRFdJNFdmpf7J9SksP1wK4jyMHLo66z49\"]},\"@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xddce8e17e3d3f9ed818b4f4c4478a8262aab8b11ed322f1bf5ed705bb4bd97fa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8084aa71a4cc7d2980972412a88fe4f114869faea3fefa5436431644eb5c0287\",\"dweb:/ipfs/Qmbqfs5dRdPvHVKY8kTaeyc65NdqXRQwRK7h9s5UJEhD1p\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621\",\"dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL\"]},\"@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0xa00be322d7db5786750ce0ac7e2f5b633ac30a5ed5fa1ced1e74acfc19acecea\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6c84e822f87cbdc4082533b626667b6928715bb2b1e8e7eb96954cebb9e38c8d\",\"dweb:/ipfs/QmZmy9dgxLTerBAQDuuHqbL6EpgRxddqgv5KmwpXYVbKz1\"]},\"@openzeppelin/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0x195533c86d0ef72bcc06456a4f66a9b941f38eb403739b00f21fd7c1abd1ae54\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b1d578337048cad08c1c03041cca5978eff5428aa130c781b271ad9e5566e1f8\",\"dweb:/ipfs/QmPFKL2r9CBsMwmUqqdcFPfHZB2qcs9g1HDrPxzWSxomvy\"]},\"@openzeppelin/contracts/utils/math/SignedMath.sol\":{\"keccak256\":\"0xb1970fac7b64e6c09611e6691791e848d5e3fe410fa5899e7df2e0afd77a99e3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://db5fbb3dddd8b7047465b62575d96231ba8a2774d37fb4737fbf23340fabbb03\",\"dweb:/ipfs/QmVUSvooZKEdEdap619tcJjTLcAuH6QBdZqAzWwnAXZAWJ\"]},\"src/FusionChamber.sol\":{\"keccak256\":\"0xffa445cfb38bbd6e48609dded7e36032c30bdad572be5ba62514bf7c484d83b4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://134ad3af63a470ec8b7c803b0d7cc2d9dbb4df6f03cfc66554f78d20c45a992e\",\"dweb:/ipfs/QmeJ6xnzNjq3FvNQqo6oRZcmbcRKsigHpouquUJ5CGw8ZE\"]},\"src/SynthGenesisNFT.sol\":{\"keccak256\":\"0xd19147d727ba06e34904ae979ed031278c5b4cb56b199592575c99fc533bac13\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c0fc99c030e6974e1fc34387449041e6e73e7f8e55df8cfeb31867305669f0ac\",\"dweb:/ipfs/QmYB1SByrtHrpEvsueg6ZfgFmBjpkzHAUaG6347aJ2uKAT\"]},\"src/SynthToken.sol\":{\"keccak256\":\"0x83d60c1983b593d142bc56db58afc308376192921670bef8ec0bafb4a48072a9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1adbe6a3fd5d6835b22de2942a4159ad5f8fa10c8eaf32495aa0e116a22257b7\",\"dweb:/ipfs/QmbhYcZSmTs6VsiVP68qEtLgspt2E2fwZJ72NfZJemXRs2\"]},\"src/interfaces/IAgentIDRegistry.sol\":{\"keccak256\":\"0x802f4933b2efbea34b7973cd56bd2366d9ca33e0199dbb4c58021c8dacb691c6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5f4e07d2a0e93e41c0c9d70adc8f7af45fdeea9d702a03bb9906c25572d9b028\",\"dweb:/ipfs/Qmeiz8f8R8QkrPimDMmhcqMqRk98u1JtkSfstmPxRm6X6y\"]},\"src/interfaces/IPancakeRouter.sol\":{\"keccak256\":\"0xe085f145422ee0b524e4ea107b8ceac64b6879db506bbf55d4d99db8d0958e1b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c456086f654b4b106c3cbe711c9a3484c8fe7dd2cbb4e22cc51afb2cec2aa393\",\"dweb:/ipfs/QmcxUzULj5E5wwuDLdpPSbTwKYtMgioxJEuFSdmwwVYkqo\"]}},\"version\":1}","userdoc":{"kind":"user","methods":{"lpVault()":{"notice":"Receives LP seed/pairing funds (production: the pair/locker flow controlled by the owner; the brief does not specify a router)."},"lpBucket()":{"notice":"Unpaired fee BNB accumulated in the LP bucket."},"fallbackOpensAt()":{"notice":"Fallback-gate schedule: unix time from which the owner may open the Gate with the accumulated bucket (see openGateFallback). 0 = not scheduled. Set once by the owner at wiring time."},"setToken(address)":{"notice":"One-time wiring of the SYNTH token."},"lpReserveRemaining()":{"notice":"LP-reserve SYNTH still held (starts at 50,776,000)."},"FALLBACK_TOKENS_PER_BNB()":{"notice":"Fallback-gate pairing ratio: reserve SYNTH per 1 BNB of bucket, at the opening price (SynthToken.OPENING_PRICE_BNB is 2e11 wei of BNB per SYNTH, so 1e18 / 2e11 = 5,000,000 SYNTH/BNB)."},"setFallbackOpensAt(uint256)":{"notice":"One-time wiring of the fallback-gate schedule (unix time). From that moment the owner MAY open the Gate with the accumulated bucket via openGateFallback; nothing happens automatically."}},"version":1},"devdoc":{"kind":"dev","title":"FusionChamber — the only place EVOLVED and ASCENDED are born. Reaction I (GENESIS -> EVOLVED), open from day one:   burn 2 GENESIS + 0.002 BNB fee -> 1 EVOLVED + 55,000 SYNTH paid   straight to the fuser's wallet in the same transaction.   Fee split: 0.0016 BNB to the LP bucket, 0.0004 BNB to dev (instant).   Max 2,222 fusions. The 1,000th Gen-1 fusion opens the Gate. The Gate (1,000 Gen-1 fusions, Gen-1 fusions only count):   the SYNTH listing moment — seeds the LP with 1.6 BNB from the bucket   + 8,000,000 SYNTH from the reserve (sent to the LP vault) and starts   the dev vesting schedule in SynthToken. Rewards were never locked,   so the Gate unlocks nothing; it opens trading on PancakeSwap. Fallback gate (owner-scheduled, set once at wiring time):   if the fusion count has not opened the Gate by `fallbackOpensAt`,   the owner may open it with whatever the bucket holds at that   moment: the entire bucket is paired with reserve SYNTH at the   opening ratio (0.0000002 BNB per SYNTH = 5,000,000 SYNTH per BNB)   and sent to the LP vault, and dev vesting starts — the same end   state as the fusion-count Gate, at a smaller seed. Entirely at the   owner's discretion: nothing fires automatically at the timestamp,   and once either path has opened the Gate the other is closed. Reaction II (EVOLVED -> ASCENDED), open from day one:   burn 2 EVOLVED + burn 30,000 SYNTH -> 1 ASCENDED + 105,000 SYNTH paid   straight to the fuser's wallet (net +75,000). No BNB fee. Max 1,111   fusions. The 30,000 is pulled from the caller's wallet   (transferFrom — the caller approves the chamber once) and burned. REWARD MODEL (owner correction 2026-11-21 18:29 WIB): fusion rewards are NEVER locked and never claimed — they land in the fusing wallet in the same transaction. An earlier locked-balance draft was replaced before deployment; nothing on mainnet ever used it. Reserve burn program: every 150 COMBINED fusions burn 3,000,000 SYNTH from the LP reserve, 11 milestones, stopping permanently at 33,000,000. Runs pre-gate too. Post-gate, the owner can pair the accumulated fee-BNB bucket with reserve tokens into the LP vault (`pairAccumulatedLP`); cumulative LP tokens (gate seed + pairings) are capped at 17,776,000, exactly the brief's LP token budget, so the reserve ends at zero. Solvency (brief final accounting): gross rewards max 238,865,000 (2,222 x 55,000 + 1,111 x 105,000) against a prize fund of 239,224,000 held by this chamber — always solvent, 359,000 spare at full program.","errors":{"OwnableInvalidOwner(address)":[{"details":"The owner is not a valid owner account. (eg. `address(0)`)"}],"ReentrancyGuardReentrantCall()":[{"details":"Unauthorized reentrant call."}],"OwnableUnauthorizedAccount(address)":[{"details":"The caller account is not authorized to perform an operation."}]},"methods":{"owner()":{"details":"Returns the address of the current owner."},"renounceOwnership()":{"details":"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner."},"transferOwnership(address)":{"details":"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."}},"version":1},"storageLayout":{"types":{"t_bool":{"label":"bool","encoding":"inplace","numberOfBytes":"1"},"t_address":{"label":"address","encoding":"inplace","numberOfBytes":"20"},"t_uint256":{"label":"uint256","encoding":"inplace","numberOfBytes":"32"},"t_contract(SynthToken)8751":{"label":"contract SynthToken","encoding":"inplace","numberOfBytes":"20"}},"storage":[{"slot":"0","type":"t_address","astId":8,"label":"_owner","offset":0,"contract":"src/FusionChamber.sol:FusionChamber"},{"slot":"1","type":"t_uint256","astId":2526,"label":"_status","offset":0,"contract":"src/FusionChamber.sol:FusionChamber"},{"slot":"2","type":"t_contract(SynthToken)8751","astId":6538,"label":"token","offset":0,"contract":"src/FusionChamber.sol:FusionChamber"},{"slot":"2","type":"t_bool","astId":6540,"label":"tokenSet","offset":20,"contract":"src/FusionChamber.sol:FusionChamber"},{"slot":"3","type":"t_uint256","astId":6542,"label":"totalGen1Fusions","offset":0,"contract":"src/FusionChamber.sol:FusionChamber"},{"slot":"4","type":"t_uint256","astId":6544,"label":"totalGen2Fusions","offset":0,"contract":"src/FusionChamber.sol:FusionChamber"},{"slot":"5","type":"t_bool","astId":6546,"label":"gateOpen","offset":0,"contract":"src/FusionChamber.sol:FusionChamber"},{"slot":"6","type":"t_uint256","astId":6549,"label":"fallbackOpensAt","offset":0,"contract":"src/FusionChamber.sol:FusionChamber"},{"slot":"7","type":"t_uint256","astId":6552,"label":"lpBucket","offset":0,"contract":"src/FusionChamber.sol:FusionChamber"},{"slot":"8","type":"t_uint256","astId":6555,"label":"lpReserveRemaining","offset":0,"contract":"src/FusionChamber.sol:FusionChamber"},{"slot":"9","type":"t_uint256","astId":6557,"label":"lpTokensSent","offset":0,"contract":"src/FusionChamber.sol:FusionChamber"},{"slot":"10","type":"t_uint256","astId":6559,"label":"reserveBurnedTotal","offset":0,"contract":"src/FusionChamber.sol:FusionChamber"},{"slot":"11","type":"t_uint256","astId":6561,"label":"milestonesFired","offset":0,"contract":"src/FusionChamber.sol:FusionChamber"}]},"transientStorageLayout":null,"evm":{"bytecode":{"object":"60e060405234801561001057600080fd5b506040516125c43803806125c483398101604081905261002f916101c4565b806001600160a01b03811661005f57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b61006881610158565b50600180556001600160a01b0384166100ab5760405162461bcd60e51b815260206004820152600560248201526406e66743d360dc1b6044820152606401610056565b6001600160a01b0383166100e95760405162461bcd60e51b815260206004820152600560248201526406465763d360dc1b6044820152606401610056565b6001600160a01b03821661012b5760405162461bcd60e51b815260206004820152600960248201526806c705661756c743d360bc1b6044820152606401610056565b506001600160a01b0392831660805290821660a0521660c0526a2a003c79bac63447000000600855610218565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146101bf57600080fd5b919050565b600080600080608085870312156101da57600080fd5b6101e3856101a8565b93506101f1602086016101a8565b92506101ff604086016101a8565b915061020d606086016101a8565b905092959194509250565b60805160a05160c05161231b6102a9600039600081816103690152818161097401528181610a4101528181610ead01528181610f7201528181611f7f015261204f015260008181610528015281816119960152611a410152600081816104040152818161121d0152818161129e01528181611325015281816116c80152818161174901526117d0015261231b6000f3fe6080604052600436106102465760003560e01c80637ec103fe11610139578063bec82e69116100b6578063d85b3dca1161007a578063d85b3dca14610668578063da16cb4c1461067e578063e80eda3e14610694578063ef9b6ebc146106af578063f2fde38b146106c5578063fc0c546a146106e557600080fd5b8063bec82e69146105f4578063c569b5e91461060a578063c9e53c0514610621578063ce482d0214610637578063d3a64dad1461065257600080fd5b8063b2b0e320116100fd578063b2b0e32014610573578063b35a720014610589578063b83af1f4146105a3578063bbfaaa32146105c3578063bd1735ed146105de57600080fd5b80637ec103fe146104e35780638da5cb5b146104f85780638ea5220f14610516578063a30ad5f91461054a578063a32f89a61461055d57600080fd5b806340624824116101c757806352cb81011161018b57806352cb810114610459578063598678891461047957806370d53ef014610499578063715018a6146104af5780637ae7a775146104c457600080fd5b806340624824146103a3578063444cc556146103d457806347ccca02146103f257806349ff8e3a146104265780634c05abeb1461044457600080fd5b806319f546491161020e57806319f54649146102e75780631d544f33146103035780632e4eca78146103225780632e5e9e9f146103385780632f8673671461035757600080fd5b8063038fc0431461024b578063047e2a201461027357806309c1683b1461028a5780630a533b6f146102a8578063144fa6d7146102c7575b600080fd5b34801561025757600080fd5b50610260610705565b6040519081526020015b60405180910390f35b34801561027f57600080fd5b5061028861071c565b005b34801561029657600080fd5b50610260690ba58e545582d460000081565b3480156102b457600080fd5b506102606a027b46536c66c8e300000081565b3480156102d357600080fd5b506102886102e23660046121c8565b610bfd565b3480156102f357600080fd5b506102606716345785d8a0000081565b34801561030f57600080fd5b506102606a0eb436e4125b928600000081565b34801561032e57600080fd5b50610260600b5481565b34801561034457600080fd5b506102606a1b4c0595a86aa1c100000081565b34801561036357600080fd5b5061038b7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161026a565b3480156103af57600080fd5b506002546103c490600160a01b900460ff1681565b604051901515815260200161026a565b3480156103e057600080fd5b5061026069065a4da25d3016c0000081565b3480156103fe57600080fd5b5061038b7f000000000000000000000000000000000000000000000000000000000000000081565b34801561043257600080fd5b5061026069163c0fb846284fa0000081565b34801561045057600080fd5b50610260600b81565b34801561046557600080fd5b506102886104743660046121f8565b610ce3565b34801561048557600080fd5b50610260610494366004612211565b61106e565b3480156104a557600080fd5b506102606103e881565b3480156104bb57600080fd5b5061028861157d565b3480156104d057600080fd5b506102606a069e10de76676d0800000081565b3480156104ef57600080fd5b50610260609681565b34801561050457600080fd5b506000546001600160a01b031661038b565b34801561052257600080fd5b5061038b7f000000000000000000000000000000000000000000000000000000000000000081565b610260610558366004612211565b61158f565b34801561056957600080fd5b50610260600a5481565b34801561057f57600080fd5b506102606108ae81565b34801561059557600080fd5b506005546103c49060ff1681565b3480156105af57600080fd5b506102886105be3660046121f8565b611b22565b3480156105cf57600080fd5b506102606605af3107a4000081565b3480156105ea57600080fd5b5061026060075481565b34801561060057600080fd5b5061026061045781565b34801561061657600080fd5b50610260624c4b4081565b34801561062d57600080fd5b5061026060045481565b34801561064357600080fd5b5061026066071afd498d000081565b34801561065e57600080fd5b5061026060035481565b34801561067457600080fd5b5061026060095481565b34801561068a57600080fd5b5061026060065481565b3480156106a057600080fd5b5061026066016bcc41e9000081565b3480156106bb57600080fd5b5061026060085481565b3480156106d157600080fd5b506102886106e03660046121c8565b611be6565b3480156106f157600080fd5b5060025461038b906001600160a01b031681565b60006004546003546107179190612249565b905090565b610724611c21565b61072c611c4e565b60055460ff16156107785760405162461bcd60e51b815260206004820152601160248201527033b0ba329030b63932b0b23c9037b832b760791b60448201526064015b60405180910390fd5b6006546000036107c35760405162461bcd60e51b815260206004820152601660248201527519985b1b189858dac81b9bdd081cd8da19591d5b195960521b604482015260640161076f565b6006544210156108155760405162461bcd60e51b815260206004820152601a60248201527f66616c6c6261636b206e6f742079657420617661696c61626c65000000000000604482015260640161076f565b6000600754116108565760405162461bcd60e51b815260206004820152600c60248201526b6275636b657420656d70747960a01b604482015260640161076f565b6007546000610868624c4b408361225c565b90506008548111156108b35760405162461bcd60e51b81526020600482015260146024820152731c995cd95c9d99481a5b9cdd59999a58da595b9d60621b604482015260640161076f565b6a0eb436e4125b9286000000816009546108cd9190612249565b11156109165760405162461bcd60e51b81526020600482015260186024820152771b1c081d1bdad95b88189d5919d95d08195e18d95959195960421b604482015260640161076f565b6005805460ff19166001179055600060078190556008805483929061093c908490612273565b9250508190555080600960008282546109559190612249565b909155505060025460405163a9059cbb60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081166004830152602482018490529091169063a9059cbb906044016020604051808303816000875af11580156109cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109f19190612286565b610a3d5760405162461bcd60e51b815260206004820152601a60248201527f66616c6c6261636b20746f6b656e2073656564206661696c6564000000000000604482015260640161076f565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168360405160006040518083038185875af1925050503d8060008114610aaa576040519150601f19603f3d011682016040523d82523d6000602084013e610aaf565b606091505b5050905080610b005760405162461bcd60e51b815260206004820152601860248201527f66616c6c6261636b20626e622073656564206661696c65640000000000000000604482015260640161076f565b600260009054906101000a90046001600160a01b03166001600160a01b031663deb36e326040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610b5057600080fd5b505af1158015610b64573d6000803e3d6000fd5b5050600354604080519182526020820187905281018590527f6599f3adedf8367d8c67547e92866bfc9f4d79268382c3d70ffb134386265aa29250606001905060405180910390a1600354604080519182526020820185905281018390527f1f8c084d52ab5d8d9672342c2a70800589918deaeba55086a5ba12655064409c9060600160405180910390a1505050610bfb60018055565b565b610c05611c21565b600254600160a01b900460ff1615610c535760405162461bcd60e51b81526020600482015260116024820152701d1bdad95b88185b1c9958591e481cd95d607a1b604482015260640161076f565b6001600160a01b038116610c935760405162461bcd60e51b81526020600482015260076024820152660746f6b656e3d360cc1b604482015260640161076f565b600280546001600160a81b0319166001600160a01b038316908117600160a01b179091556040517fa07c91c183e42229e705a9795a1c06d76528b673788b849597364528c96eefb790600090a250565b610ceb611c21565b610cf3611c4e565b60055460ff16610d355760405162461bcd60e51b815260206004820152600d60248201526c33b0ba32903737ba1037b832b760991b604482015260640161076f565b60008111610d705760405162461bcd60e51b81526020600482015260086024820152670616d6f756e743d360c41b604482015260640161076f565b6a0eb436e4125b928600000081600954610d8a9190612249565b1115610dd35760405162461bcd60e51b81526020600482015260186024820152771b1c081d1bdad95b88189d5919d95d08195e18d95959195960421b604482015260640161076f565b600854811115610e1c5760405162461bcd60e51b81526020600482015260146024820152731c995cd95c9d99481a5b9cdd59999a58da595b9d60621b604482015260640161076f565b60075480610e5b5760405162461bcd60e51b815260206004820152600c60248201526b6275636b657420656d70747960a01b604482015260640161076f565b60006007819055508160086000828254610e759190612273565b925050819055508160096000828254610e8e9190612249565b909155505060025460405163a9059cbb60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081166004830152602482018590529091169063a9059cbb906044016020604051808303816000875af1158015610f06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2a9190612286565b610f6e5760405162461bcd60e51b81526020600482015260156024820152741d1bdad95b881d1c985b9cd9995c8819985a5b1959605a1b604482015260640161076f565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168260405160006040518083038185875af1925050503d8060008114610fdb576040519150601f19603f3d011682016040523d82523d6000602084013e610fe0565b606091505b50509050806110275760405162461bcd60e51b8152602060048201526013602482015272189b98881d1c985b9cd9995c8819985a5b1959606a1b604482015260640161076f565b60408051838152602081018590527f6f28fe44644d9cce2edee70ae29bed08bc6f03e2e28ee493daafe1a33d238faa910160405180910390a1505061106b60018055565b50565b6000611078611c4e565b600254600160a01b900460ff166110c15760405162461bcd60e51b815260206004820152600d60248201526c1d1bdad95b881b9bdd081cd95d609a1b604482015260640161076f565b8183036110fd5760405162461bcd60e51b815260206004820152600a60248201526939b0b6b2903a37b5b2b760b11b604482015260640161076f565b610457600454106111425760405162461bcd60e51b815260206004820152600f60248201526e067656e3220667573696f6e2063617608c1b604482015260640161076f565b6002546040516323b872dd60e01b815233600482015230602482015269065a4da25d3016c0000060448201526001600160a01b03909116906323b872dd906064016020604051808303816000875af11580156111a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111c69190612286565b6112065760405162461bcd60e51b81526020600482015260116024820152701d1bdad95b881c1d5b1b0819985a5b1959607a1b604482015260640161076f565b604051633b339cf560e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063766739ea9061125790339087906001906004016122a8565b600060405180830381600087803b15801561127157600080fd5b505af1158015611285573d6000803e3d6000fd5b5050604051633b339cf560e11b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016925063766739ea91506112da90339086906001906004016122a8565b600060405180830381600087803b1580156112f457600080fd5b505af1158015611308573d6000803e3d6000fd5b505060405162043ccb60e41b8152336004820152600260248201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031692506243ccb091506044016020604051808303816000875af1158015611377573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139b91906122cc565b600254604051630852cd8d60e31b815269065a4da25d3016c0000060048201529192506001600160a01b0316906342966c6890602401600060405180830381600087803b1580156113eb57600080fd5b505af11580156113ff573d6000803e3d6000fd5b505050506001600460008282546114169190612249565b909155505060025460405163a9059cbb60e01b815233600482015269163c0fb846284fa0000060248201526001600160a01b039091169063a9059cbb906044016020604051808303816000875af1158015611475573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114999190612286565b6114de5760405162461bcd60e51b81526020600482015260166024820152751c995dd85c99081d1c985b9cd9995c8819985a5b195960521b604482015260640161076f565b6040805169163c0fb846284fa0000081526002602082015233917ff381583145e90b82cc5e529bf4fc4d0e44397174cdf145c4251ac33ef195a424910160405180910390a2604080518481526020810184905290810182905233907f435fb3b33afac30fc438a0900a260c0277e6c51d974f3c60e20cacdb635945549060600160405180910390a261156e611c78565b61157760018055565b92915050565b611585611c21565b610bfb6000611df1565b6000611599611c4e565b600254600160a01b900460ff166115e25760405162461bcd60e51b815260206004820152600d60248201526c1d1bdad95b881b9bdd081cd95d609a1b604482015260640161076f565b66071afd498d000034146116305760405162461bcd60e51b81526020600482015260156024820152743332b29036bab9ba1031329018171818191021272160591b604482015260640161076f565b81830361166c5760405162461bcd60e51b815260206004820152600a60248201526939b0b6b2903a37b5b2b760b11b604482015260640161076f565b6108ae600354106116b15760405162461bcd60e51b815260206004820152600f60248201526e067656e3120667573696f6e2063617608c1b604482015260640161076f565b604051633b339cf560e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063766739ea9061170290339087906000906004016122a8565b600060405180830381600087803b15801561171c57600080fd5b505af1158015611730573d6000803e3d6000fd5b5050604051633b339cf560e11b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016925063766739ea915061178590339086906000906004016122a8565b600060405180830381600087803b15801561179f57600080fd5b505af11580156117b3573d6000803e3d6000fd5b505060405162043ccb60e41b8152336004820152600160248201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031692506243ccb091506044016020604051808303816000875af1158015611822573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061184691906122cc565b905060016003600082825461185b9190612249565b909155505060025460405163a9059cbb60e01b8152336004820152690ba58e545582d460000060248201526001600160a01b039091169063a9059cbb906044016020604051808303816000875af11580156118ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118de9190612286565b6119235760405162461bcd60e51b81526020600482015260166024820152751c995dd85c99081d1c985b9cd9995c8819985a5b195960521b604482015260640161076f565b60408051690ba58e545582d460000081526001602082015233917ff381583145e90b82cc5e529bf4fc4d0e44397174cdf145c4251ac33ef195a424910160405180910390a26605af3107a40000600760008282546119819190612249565b90915550506040516000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169066016bcc41e90000908381818185875af1925050503d80600081146119f8576040519150601f19603f3d011682016040523d82523d6000602084013e6119fd565b606091505b5050905080611a3f5760405162461bcd60e51b815260206004820152600e60248201526d19195d881999594819985a5b195960921b604482015260640161076f565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03167f57f7aa0e3afd334225fad63af931d9d34a4168aa22f4a329b6e71f6bd95baf0b66016bcc41e90000604051611aa191815260200190565b60405180910390a2604080518581526020810185905290810183905233907ff91e93c886fcd7138a6a800e2e8612b706d8d6346313f65ef7089198b74766099060600160405180910390a2611af4611c78565b60055460ff16158015611b0b57506103e860035410155b15611b1857611b18611e41565b5061157760018055565b611b2a611c21565b60065415611b715760405162461bcd60e51b815260206004820152601460248201527319985b1b189858dac8185b1c9958591e481cd95d60621b604482015260640161076f565b80600003611baa5760405162461bcd60e51b8152602060048201526006602482015265074696d653d360d41b604482015260640161076f565b60068190556040518181527fcd9bdbe81f6c85749e2191f281a58c3c05de2b6a3dd249ebf5edfa21d689284c906020015b60405180910390a150565b611bee611c21565b6001600160a01b038116611c1857604051631e4fbdf760e01b81526000600482015260240161076f565b61106b81611df1565b6000546001600160a01b03163314610bfb5760405163118cdaa760e01b815233600482015260240161076f565b600260015403611c7157604051633ee5aeb560e01b815260040160405180910390fd5b6002600155565b6000600454600354611c8a9190612249565b90505b600b8054108015611caa57506a1b4c0595a86aa1c1000000600a54105b8015611cd057506096600b546001611cc29190612249565b611ccc919061225c565b8110155b1561106b576001600b6000828254611ce89190612249565b925050819055506a027b46536c66c8e3000000600a6000828254611d0c9190612249565b925050819055506a027b46536c66c8e300000060086000828254611d309190612273565b9091555050600254604051630852cd8d60e31b81526a027b46536c66c8e300000060048201526001600160a01b03909116906342966c6890602401600060405180830381600087803b158015611d8557600080fd5b505af1158015611d99573d6000803e3d6000fd5b5050600b54600a54604080519283526a027b46536c66c8e300000060208401528201527f2948de8d6683b5bbf7333a4e2272b27cda25cfeee5ea821e3a1daa2953592cda9250606001905060405180910390a1611c8d565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6005805460ff191660011790556007546716345785d8a000001115611ea15760405162461bcd60e51b8152602060048201526016602482015275189d58dad95d0818995b1bddc819d85d19481cd9595960521b604482015260640161076f565b6a069e10de76676d080000006008541015611efe5760405162461bcd60e51b815260206004820152601760248201527f726573657276652062656c6f7720676174652073656564000000000000000000604482015260640161076f565b6716345785d8a0000060076000828254611f189190612273565b925050819055506a069e10de76676d0800000060086000828254611f3c9190612273565b925050819055506a069e10de76676d0800000060096000828254611f609190612249565b909155505060025460405163a9059cbb60e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301526a069e10de76676d0800000060248301529091169063a9059cbb906044016020604051808303816000875af1158015611fe2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120069190612286565b61204b5760405162461bcd60e51b815260206004820152601660248201527519d85d19481d1bdad95b881cd959590819985a5b195960521b604482015260640161076f565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166716345785d8a0000060405160006040518083038185875af1925050503d80600081146120c0576040519150601f19603f3d011682016040523d82523d6000602084013e6120c5565b606091505b505090508061210d5760405162461bcd60e51b815260206004820152601460248201527319d85d1948189b98881cd959590819985a5b195960621b604482015260640161076f565b600260009054906101000a90046001600160a01b03166001600160a01b031663deb36e326040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561215d57600080fd5b505af1158015612171573d6000803e3d6000fd5b5050600354604080519182526716345785d8a0000060208301526a069e10de76676d08000000908201527f6599f3adedf8367d8c67547e92866bfc9f4d79268382c3d70ffb134386265aa292506060019050611bdb565b6000602082840312156121da57600080fd5b81356001600160a01b03811681146121f157600080fd5b9392505050565b60006020828403121561220a57600080fd5b5035919050565b6000806040838503121561222457600080fd5b50508035926020909101359150565b634e487b7160e01b600052601160045260246000fd5b8082018082111561157757611577612233565b808202811582820484141761157757611577612233565b8181038181111561157757611577612233565b60006020828403121561229857600080fd5b815180151581146121f157600080fd5b6001600160a01b03939093168352602083019190915260ff16604082015260600190565b6000602082840312156122de57600080fd5b505191905056fea264697066735822122014dd2ec1ee1240f7c46e9061f05a4e1ad37cea6b28ff2427f3575ed95b58479764736f6c634300081a0033","sourceMap":"2927:11427:22:-:0;;;6143:451;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6231:6;-1:-1:-1;;;;;1273:26:0;;1269:95;;1322:31;;-1:-1:-1;;;1322:31:0;;1350:1;1322:31;;;811:51:27;784:18;;1322:31:0;;;;;;;;1269:95;1373:32;1392:12;1373:18;:32::i;:::-;-1:-1:-1;1857:1:15;2061:21;;-1:-1:-1;;;;;6257:18:22;::::1;6249:36;;;::::0;-1:-1:-1;;;6249:36:22;;1075:2:27;6249:36:22::1;::::0;::::1;1057:21:27::0;1114:1;1094:18;;;1087:29;-1:-1:-1;;;1132:18:27;;;1125:35;1177:18;;6249:36:22::1;873:328:27::0;6249:36:22::1;-1:-1:-1::0;;;;;6303:24:22;::::1;6295:42;;;::::0;-1:-1:-1;;;6295:42:22;;1408:2:27;6295:42:22::1;::::0;::::1;1390:21:27::0;1447:1;1427:18;;;1420:29;-1:-1:-1;;;1465:18:27;;;1458:35;1510:18;;6295:42:22::1;1206:328:27::0;6295:42:22::1;-1:-1:-1::0;;;;;6355:22:22;::::1;6347:44;;;::::0;-1:-1:-1;;;6347:44:22;;1741:2:27;6347:44:22::1;::::0;::::1;1723:21:27::0;1780:1;1760:18;;;1753:29;-1:-1:-1;;;1798:18:27;;;1791:39;1847:18;;6347:44:22::1;1539:332:27::0;6347:44:22::1;-1:-1:-1::0;;;;;;6401:27:22;;::::1;;::::0;6438:22;;::::1;;::::0;6470:18:::1;;::::0;6519:16:::1;6498:18;:37:::0;2927:11427;;2912:187:0;2985:16;3004:6;;-1:-1:-1;;;;;3020:17:0;;;-1:-1:-1;;;;;;3020:17:0;;;;;;3052:40;;3004:6;;;;;;;3052:40;;2985:16;3052:40;2975:124;2912:187;:::o;14:177:27:-;93:13;;-1:-1:-1;;;;;135:31:27;;125:42;;115:70;;181:1;178;171:12;115:70;14:177;;;:::o;196:464::-;293:6;301;309;317;370:3;358:9;349:7;345:23;341:33;338:53;;;387:1;384;377:12;338:53;410:40;440:9;410:40;:::i;:::-;400:50;;469:49;514:2;503:9;499:18;469:49;:::i;:::-;459:59;;537:49;582:2;571:9;567:18;537:49;:::i;:::-;527:59;;605:49;650:2;639:9;635:18;605:49;:::i;:::-;595:59;;196:464;;;;;;;:::o;1539:332::-;2927:11427:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"6080604052600436106102465760003560e01c80637ec103fe11610139578063bec82e69116100b6578063d85b3dca1161007a578063d85b3dca14610668578063da16cb4c1461067e578063e80eda3e14610694578063ef9b6ebc146106af578063f2fde38b146106c5578063fc0c546a146106e557600080fd5b8063bec82e69146105f4578063c569b5e91461060a578063c9e53c0514610621578063ce482d0214610637578063d3a64dad1461065257600080fd5b8063b2b0e320116100fd578063b2b0e32014610573578063b35a720014610589578063b83af1f4146105a3578063bbfaaa32146105c3578063bd1735ed146105de57600080fd5b80637ec103fe146104e35780638da5cb5b146104f85780638ea5220f14610516578063a30ad5f91461054a578063a32f89a61461055d57600080fd5b806340624824116101c757806352cb81011161018b57806352cb810114610459578063598678891461047957806370d53ef014610499578063715018a6146104af5780637ae7a775146104c457600080fd5b806340624824146103a3578063444cc556146103d457806347ccca02146103f257806349ff8e3a146104265780634c05abeb1461044457600080fd5b806319f546491161020e57806319f54649146102e75780631d544f33146103035780632e4eca78146103225780632e5e9e9f146103385780632f8673671461035757600080fd5b8063038fc0431461024b578063047e2a201461027357806309c1683b1461028a5780630a533b6f146102a8578063144fa6d7146102c7575b600080fd5b34801561025757600080fd5b50610260610705565b6040519081526020015b60405180910390f35b34801561027f57600080fd5b5061028861071c565b005b34801561029657600080fd5b50610260690ba58e545582d460000081565b3480156102b457600080fd5b506102606a027b46536c66c8e300000081565b3480156102d357600080fd5b506102886102e23660046121c8565b610bfd565b3480156102f357600080fd5b506102606716345785d8a0000081565b34801561030f57600080fd5b506102606a0eb436e4125b928600000081565b34801561032e57600080fd5b50610260600b5481565b34801561034457600080fd5b506102606a1b4c0595a86aa1c100000081565b34801561036357600080fd5b5061038b7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161026a565b3480156103af57600080fd5b506002546103c490600160a01b900460ff1681565b604051901515815260200161026a565b3480156103e057600080fd5b5061026069065a4da25d3016c0000081565b3480156103fe57600080fd5b5061038b7f000000000000000000000000000000000000000000000000000000000000000081565b34801561043257600080fd5b5061026069163c0fb846284fa0000081565b34801561045057600080fd5b50610260600b81565b34801561046557600080fd5b506102886104743660046121f8565b610ce3565b34801561048557600080fd5b50610260610494366004612211565b61106e565b3480156104a557600080fd5b506102606103e881565b3480156104bb57600080fd5b5061028861157d565b3480156104d057600080fd5b506102606a069e10de76676d0800000081565b3480156104ef57600080fd5b50610260609681565b34801561050457600080fd5b506000546001600160a01b031661038b565b34801561052257600080fd5b5061038b7f000000000000000000000000000000000000000000000000000000000000000081565b610260610558366004612211565b61158f565b34801561056957600080fd5b50610260600a5481565b34801561057f57600080fd5b506102606108ae81565b34801561059557600080fd5b506005546103c49060ff1681565b3480156105af57600080fd5b506102886105be3660046121f8565b611b22565b3480156105cf57600080fd5b506102606605af3107a4000081565b3480156105ea57600080fd5b5061026060075481565b34801561060057600080fd5b5061026061045781565b34801561061657600080fd5b50610260624c4b4081565b34801561062d57600080fd5b5061026060045481565b34801561064357600080fd5b5061026066071afd498d000081565b34801561065e57600080fd5b5061026060035481565b34801561067457600080fd5b5061026060095481565b34801561068a57600080fd5b5061026060065481565b3480156106a057600080fd5b5061026066016bcc41e9000081565b3480156106bb57600080fd5b5061026060085481565b3480156106d157600080fd5b506102886106e03660046121c8565b611be6565b3480156106f157600080fd5b5060025461038b906001600160a01b031681565b60006004546003546107179190612249565b905090565b610724611c21565b61072c611c4e565b60055460ff16156107785760405162461bcd60e51b815260206004820152601160248201527033b0ba329030b63932b0b23c9037b832b760791b60448201526064015b60405180910390fd5b6006546000036107c35760405162461bcd60e51b815260206004820152601660248201527519985b1b189858dac81b9bdd081cd8da19591d5b195960521b604482015260640161076f565b6006544210156108155760405162461bcd60e51b815260206004820152601a60248201527f66616c6c6261636b206e6f742079657420617661696c61626c65000000000000604482015260640161076f565b6000600754116108565760405162461bcd60e51b815260206004820152600c60248201526b6275636b657420656d70747960a01b604482015260640161076f565b6007546000610868624c4b408361225c565b90506008548111156108b35760405162461bcd60e51b81526020600482015260146024820152731c995cd95c9d99481a5b9cdd59999a58da595b9d60621b604482015260640161076f565b6a0eb436e4125b9286000000816009546108cd9190612249565b11156109165760405162461bcd60e51b81526020600482015260186024820152771b1c081d1bdad95b88189d5919d95d08195e18d95959195960421b604482015260640161076f565b6005805460ff19166001179055600060078190556008805483929061093c908490612273565b9250508190555080600960008282546109559190612249565b909155505060025460405163a9059cbb60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081166004830152602482018490529091169063a9059cbb906044016020604051808303816000875af11580156109cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109f19190612286565b610a3d5760405162461bcd60e51b815260206004820152601a60248201527f66616c6c6261636b20746f6b656e2073656564206661696c6564000000000000604482015260640161076f565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168360405160006040518083038185875af1925050503d8060008114610aaa576040519150601f19603f3d011682016040523d82523d6000602084013e610aaf565b606091505b5050905080610b005760405162461bcd60e51b815260206004820152601860248201527f66616c6c6261636b20626e622073656564206661696c65640000000000000000604482015260640161076f565b600260009054906101000a90046001600160a01b03166001600160a01b031663deb36e326040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610b5057600080fd5b505af1158015610b64573d6000803e3d6000fd5b5050600354604080519182526020820187905281018590527f6599f3adedf8367d8c67547e92866bfc9f4d79268382c3d70ffb134386265aa29250606001905060405180910390a1600354604080519182526020820185905281018390527f1f8c084d52ab5d8d9672342c2a70800589918deaeba55086a5ba12655064409c9060600160405180910390a1505050610bfb60018055565b565b610c05611c21565b600254600160a01b900460ff1615610c535760405162461bcd60e51b81526020600482015260116024820152701d1bdad95b88185b1c9958591e481cd95d607a1b604482015260640161076f565b6001600160a01b038116610c935760405162461bcd60e51b81526020600482015260076024820152660746f6b656e3d360cc1b604482015260640161076f565b600280546001600160a81b0319166001600160a01b038316908117600160a01b179091556040517fa07c91c183e42229e705a9795a1c06d76528b673788b849597364528c96eefb790600090a250565b610ceb611c21565b610cf3611c4e565b60055460ff16610d355760405162461bcd60e51b815260206004820152600d60248201526c33b0ba32903737ba1037b832b760991b604482015260640161076f565b60008111610d705760405162461bcd60e51b81526020600482015260086024820152670616d6f756e743d360c41b604482015260640161076f565b6a0eb436e4125b928600000081600954610d8a9190612249565b1115610dd35760405162461bcd60e51b81526020600482015260186024820152771b1c081d1bdad95b88189d5919d95d08195e18d95959195960421b604482015260640161076f565b600854811115610e1c5760405162461bcd60e51b81526020600482015260146024820152731c995cd95c9d99481a5b9cdd59999a58da595b9d60621b604482015260640161076f565b60075480610e5b5760405162461bcd60e51b815260206004820152600c60248201526b6275636b657420656d70747960a01b604482015260640161076f565b60006007819055508160086000828254610e759190612273565b925050819055508160096000828254610e8e9190612249565b909155505060025460405163a9059cbb60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081166004830152602482018590529091169063a9059cbb906044016020604051808303816000875af1158015610f06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2a9190612286565b610f6e5760405162461bcd60e51b81526020600482015260156024820152741d1bdad95b881d1c985b9cd9995c8819985a5b1959605a1b604482015260640161076f565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168260405160006040518083038185875af1925050503d8060008114610fdb576040519150601f19603f3d011682016040523d82523d6000602084013e610fe0565b606091505b50509050806110275760405162461bcd60e51b8152602060048201526013602482015272189b98881d1c985b9cd9995c8819985a5b1959606a1b604482015260640161076f565b60408051838152602081018590527f6f28fe44644d9cce2edee70ae29bed08bc6f03e2e28ee493daafe1a33d238faa910160405180910390a1505061106b60018055565b50565b6000611078611c4e565b600254600160a01b900460ff166110c15760405162461bcd60e51b815260206004820152600d60248201526c1d1bdad95b881b9bdd081cd95d609a1b604482015260640161076f565b8183036110fd5760405162461bcd60e51b815260206004820152600a60248201526939b0b6b2903a37b5b2b760b11b604482015260640161076f565b610457600454106111425760405162461bcd60e51b815260206004820152600f60248201526e067656e3220667573696f6e2063617608c1b604482015260640161076f565b6002546040516323b872dd60e01b815233600482015230602482015269065a4da25d3016c0000060448201526001600160a01b03909116906323b872dd906064016020604051808303816000875af11580156111a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111c69190612286565b6112065760405162461bcd60e51b81526020600482015260116024820152701d1bdad95b881c1d5b1b0819985a5b1959607a1b604482015260640161076f565b604051633b339cf560e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063766739ea9061125790339087906001906004016122a8565b600060405180830381600087803b15801561127157600080fd5b505af1158015611285573d6000803e3d6000fd5b5050604051633b339cf560e11b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016925063766739ea91506112da90339086906001906004016122a8565b600060405180830381600087803b1580156112f457600080fd5b505af1158015611308573d6000803e3d6000fd5b505060405162043ccb60e41b8152336004820152600260248201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031692506243ccb091506044016020604051808303816000875af1158015611377573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139b91906122cc565b600254604051630852cd8d60e31b815269065a4da25d3016c0000060048201529192506001600160a01b0316906342966c6890602401600060405180830381600087803b1580156113eb57600080fd5b505af11580156113ff573d6000803e3d6000fd5b505050506001600460008282546114169190612249565b909155505060025460405163a9059cbb60e01b815233600482015269163c0fb846284fa0000060248201526001600160a01b039091169063a9059cbb906044016020604051808303816000875af1158015611475573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114999190612286565b6114de5760405162461bcd60e51b81526020600482015260166024820152751c995dd85c99081d1c985b9cd9995c8819985a5b195960521b604482015260640161076f565b6040805169163c0fb846284fa0000081526002602082015233917ff381583145e90b82cc5e529bf4fc4d0e44397174cdf145c4251ac33ef195a424910160405180910390a2604080518481526020810184905290810182905233907f435fb3b33afac30fc438a0900a260c0277e6c51d974f3c60e20cacdb635945549060600160405180910390a261156e611c78565b61157760018055565b92915050565b611585611c21565b610bfb6000611df1565b6000611599611c4e565b600254600160a01b900460ff166115e25760405162461bcd60e51b815260206004820152600d60248201526c1d1bdad95b881b9bdd081cd95d609a1b604482015260640161076f565b66071afd498d000034146116305760405162461bcd60e51b81526020600482015260156024820152743332b29036bab9ba1031329018171818191021272160591b604482015260640161076f565b81830361166c5760405162461bcd60e51b815260206004820152600a60248201526939b0b6b2903a37b5b2b760b11b604482015260640161076f565b6108ae600354106116b15760405162461bcd60e51b815260206004820152600f60248201526e067656e3120667573696f6e2063617608c1b604482015260640161076f565b604051633b339cf560e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063766739ea9061170290339087906000906004016122a8565b600060405180830381600087803b15801561171c57600080fd5b505af1158015611730573d6000803e3d6000fd5b5050604051633b339cf560e11b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016925063766739ea915061178590339086906000906004016122a8565b600060405180830381600087803b15801561179f57600080fd5b505af11580156117b3573d6000803e3d6000fd5b505060405162043ccb60e41b8152336004820152600160248201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031692506243ccb091506044016020604051808303816000875af1158015611822573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061184691906122cc565b905060016003600082825461185b9190612249565b909155505060025460405163a9059cbb60e01b8152336004820152690ba58e545582d460000060248201526001600160a01b039091169063a9059cbb906044016020604051808303816000875af11580156118ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118de9190612286565b6119235760405162461bcd60e51b81526020600482015260166024820152751c995dd85c99081d1c985b9cd9995c8819985a5b195960521b604482015260640161076f565b60408051690ba58e545582d460000081526001602082015233917ff381583145e90b82cc5e529bf4fc4d0e44397174cdf145c4251ac33ef195a424910160405180910390a26605af3107a40000600760008282546119819190612249565b90915550506040516000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169066016bcc41e90000908381818185875af1925050503d80600081146119f8576040519150601f19603f3d011682016040523d82523d6000602084013e6119fd565b606091505b5050905080611a3f5760405162461bcd60e51b815260206004820152600e60248201526d19195d881999594819985a5b195960921b604482015260640161076f565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03167f57f7aa0e3afd334225fad63af931d9d34a4168aa22f4a329b6e71f6bd95baf0b66016bcc41e90000604051611aa191815260200190565b60405180910390a2604080518581526020810185905290810183905233907ff91e93c886fcd7138a6a800e2e8612b706d8d6346313f65ef7089198b74766099060600160405180910390a2611af4611c78565b60055460ff16158015611b0b57506103e860035410155b15611b1857611b18611e41565b5061157760018055565b611b2a611c21565b60065415611b715760405162461bcd60e51b815260206004820152601460248201527319985b1b189858dac8185b1c9958591e481cd95d60621b604482015260640161076f565b80600003611baa5760405162461bcd60e51b8152602060048201526006602482015265074696d653d360d41b604482015260640161076f565b60068190556040518181527fcd9bdbe81f6c85749e2191f281a58c3c05de2b6a3dd249ebf5edfa21d689284c906020015b60405180910390a150565b611bee611c21565b6001600160a01b038116611c1857604051631e4fbdf760e01b81526000600482015260240161076f565b61106b81611df1565b6000546001600160a01b03163314610bfb5760405163118cdaa760e01b815233600482015260240161076f565b600260015403611c7157604051633ee5aeb560e01b815260040160405180910390fd5b6002600155565b6000600454600354611c8a9190612249565b90505b600b8054108015611caa57506a1b4c0595a86aa1c1000000600a54105b8015611cd057506096600b546001611cc29190612249565b611ccc919061225c565b8110155b1561106b576001600b6000828254611ce89190612249565b925050819055506a027b46536c66c8e3000000600a6000828254611d0c9190612249565b925050819055506a027b46536c66c8e300000060086000828254611d309190612273565b9091555050600254604051630852cd8d60e31b81526a027b46536c66c8e300000060048201526001600160a01b03909116906342966c6890602401600060405180830381600087803b158015611d8557600080fd5b505af1158015611d99573d6000803e3d6000fd5b5050600b54600a54604080519283526a027b46536c66c8e300000060208401528201527f2948de8d6683b5bbf7333a4e2272b27cda25cfeee5ea821e3a1daa2953592cda9250606001905060405180910390a1611c8d565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6005805460ff191660011790556007546716345785d8a000001115611ea15760405162461bcd60e51b8152602060048201526016602482015275189d58dad95d0818995b1bddc819d85d19481cd9595960521b604482015260640161076f565b6a069e10de76676d080000006008541015611efe5760405162461bcd60e51b815260206004820152601760248201527f726573657276652062656c6f7720676174652073656564000000000000000000604482015260640161076f565b6716345785d8a0000060076000828254611f189190612273565b925050819055506a069e10de76676d0800000060086000828254611f3c9190612273565b925050819055506a069e10de76676d0800000060096000828254611f609190612249565b909155505060025460405163a9059cbb60e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301526a069e10de76676d0800000060248301529091169063a9059cbb906044016020604051808303816000875af1158015611fe2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120069190612286565b61204b5760405162461bcd60e51b815260206004820152601660248201527519d85d19481d1bdad95b881cd959590819985a5b195960521b604482015260640161076f565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166716345785d8a0000060405160006040518083038185875af1925050503d80600081146120c0576040519150601f19603f3d011682016040523d82523d6000602084013e6120c5565b606091505b505090508061210d5760405162461bcd60e51b815260206004820152601460248201527319d85d1948189b98881cd959590819985a5b195960621b604482015260640161076f565b600260009054906101000a90046001600160a01b03166001600160a01b031663deb36e326040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561215d57600080fd5b505af1158015612171573d6000803e3d6000fd5b5050600354604080519182526716345785d8a0000060208301526a069e10de76676d08000000908201527f6599f3adedf8367d8c67547e92866bfc9f4d79268382c3d70ffb134386265aa292506060019050611bdb565b6000602082840312156121da57600080fd5b81356001600160a01b03811681146121f157600080fd5b9392505050565b60006020828403121561220a57600080fd5b5035919050565b6000806040838503121561222457600080fd5b50508035926020909101359150565b634e487b7160e01b600052601160045260246000fd5b8082018082111561157757611577612233565b808202811582820484141761157757611577612233565b8181038181111561157757611577612233565b60006020828403121561229857600080fd5b815180151581146121f157600080fd5b6001600160a01b03939093168352602083019190915260ff16604082015260600190565b6000602082840312156122de57600080fd5b505191905056fea264697066735822122014dd2ec1ee1240f7c46e9061f05a4e1ad37cea6b28ff2427f3575ed95b58479764736f6c634300081a0033","sourceMap":"2927:11427:22:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14234:118;;;;;;;;;;;;;:::i;:::-;;;160:25:27;;;148:2;133:18;14234:118:22;;;;;;;;11751:1086;;;;;;;;;;;;;:::i;:::-;;3367:50;;;;;;;;;;;;3405:12;3367:50;;4149:60;;;;;;;;;;;;4194:15;4149:60;;6652:260;;;;;;;;;;-1:-1:-1;6652:260:22;;;;;:::i;:::-;;:::i;3689:47::-;;;;;;;;;;;;3727:9;3689:47;;4085:58;;;;;;;;;;;;4127:16;4085:58;;5378:30;;;;;;;;;;;;;;;;4316:59;;;;;;;;;;;;4359:16;4316:59;;4616:32;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;651:32:27;;;633:51;;621:2;606:18;4616:32:22;487:203:27;4683:20:22;;;;;;;;;;-1:-1:-1;4683:20:22;;;;-1:-1:-1;;;4683:20:22;;;;;;;;;860:14:27;;853:22;835:41;;823:2;808:18;4683:20:22;695:187:27;3423:48:22;;;;;;;;;;;;3459:12;3423:48;;4382:36;;;;;;;;;;;;;;;3477:51;;;;;;;;;;;;3515:13;3477:51;;4267:43;;;;;;;;;;;;4308:2;4267:43;;10404:771;;;;;;;;;;-1:-1:-1;10404:771:22;;;;;:::i;:::-;;:::i;8912:1142::-;;;;;;;;;;-1:-1:-1;8912:1142:22;;;;;:::i;:::-;;:::i;3640:43::-;;;;;;;;;;;;3679:4;3640:43;;2293:101:0;;;;;;;;;;;;;:::i;3742:56:22:-;;;;;;;;;;;;3783:15;3742:56;;4215:46;;;;;;;;;;;;4258:3;4215:46;;1638:85:0;;;;;;;;;;-1:-1:-1;1684:7:0;1710:6;-1:-1:-1;;;;;1710:6:0;1638:85;;4424:34:22;;;;;;;;;;;;;;;7563:1176;;;;;;:::i;:::-;;:::i;5339:33::-;;;;;;;;;;;;;;;;3534:47;;;;;;;;;;;;3577:4;3534:47;;4784:20;;;;;;;;;;-1:-1:-1;4784:20:22;;;;;;;;7135:256;;;;;;;;;;-1:-1:-1;7135:256:22;;;;;:::i;:::-;;:::i;3254:50::-;;;;;;;;;;;;3292:12;3254:50;;5125:23;;;;;;;;;;;;;;;;3587:47;;;;;;;;;;;;3630:4;3587:47;;4020:59;;;;;;;;;;;;4070:9;4020:59;;4747:31;;;;;;;;;;;;;;;;3202:46;;;;;;;;;;;;3237:11;3202:46;;4710:31;;;;;;;;;;;;;;;;5261:27;;;;;;;;;;;;;;;;5025:30;;;;;;;;;;;;;;;;3310:51;;;;;;;;;;;;3349:12;3310:51;;5222:33;;;;;;;;;;;;;;;;2543:215:0;;;;;;;;;;-1:-1:-1;2543:215:0;;;;;:::i;:::-;;:::i;4654:23:22:-;;;;;;;;;;-1:-1:-1;4654:23:22;;;;-1:-1:-1;;;;;4654:23:22;;;14234:118;14284:7;14329:16;;14310;;:35;;;;:::i;:::-;14303:42;;14234:118;:::o;11751:1086::-;1531:13:0;:11;:13::i;:::-;2500:21:15::1;:19;:21::i;:::-;11830:8:22::2;::::0;::::2;;11829:9;11821:39;;;::::0;-1:-1:-1;;;11821:39:22;;2400:2:27;11821:39:22::2;::::0;::::2;2382:21:27::0;2439:2;2419:18;;;2412:30;-1:-1:-1;;;2458:18:27;;;2451:47;2515:18;;11821:39:22::2;;;;;;;;;11878:15;;11897:1;11878:20:::0;11870:55:::2;;;::::0;-1:-1:-1;;;11870:55:22;;2746:2:27;11870:55:22::2;::::0;::::2;2728:21:27::0;2785:2;2765:18;;;2758:30;-1:-1:-1;;;2804:18:27;;;2797:52;2866:18;;11870:55:22::2;2544:346:27::0;11870:55:22::2;11962:15;;11943;:34;;11935:73;;;::::0;-1:-1:-1;;;11935:73:22;;3097:2:27;11935:73:22::2;::::0;::::2;3079:21:27::0;3136:2;3116:18;;;3109:30;3175:28;3155:18;;;3148:56;3221:18;;11935:73:22::2;2895:350:27::0;11935:73:22::2;12037:1;12026:8;;:12;12018:37;;;::::0;-1:-1:-1;;;12018:37:22;;3452:2:27;12018:37:22::2;::::0;::::2;3434:21:27::0;3491:2;3471:18;;;3464:30;-1:-1:-1;;;3510:18:27;;;3503:42;3562:18;;12018:37:22::2;3250:336:27::0;12018:37:22::2;12086:8;::::0;12066:17:::2;12126:35;4070:9;12086:8:::0;12126:35:::2;:::i;:::-;12104:57;;12194:18;;12179:11;:33;;12171:66;;;::::0;-1:-1:-1;;;12171:66:22;;3966:2:27;12171:66:22::2;::::0;::::2;3948:21:27::0;4005:2;3985:18;;;3978:30;-1:-1:-1;;;4024:18:27;;;4017:50;4084:18;;12171:66:22::2;3764:344:27::0;12171:66:22::2;4127:16;12270:11;12255:12;;:26;;;;:::i;:::-;:45;;12247:82;;;::::0;-1:-1:-1;;;12247:82:22;;4315:2:27;12247:82:22::2;::::0;::::2;4297:21:27::0;4354:2;4334:18;;;4327:30;-1:-1:-1;;;4373:18:27;;;4366:54;4437:18;;12247:82:22::2;4113:348:27::0;12247:82:22::2;12340:8;:15:::0;;-1:-1:-1;;12340:15:22::2;12351:4;12340:15;::::0;;:8:::2;12365;:12:::0;;;12387:18:::2;:33:::0;;12409:11;;12340:8;12387:33:::2;::::0;12409:11;;12387:33:::2;:::i;:::-;;;;;;;;12446:11;12430:12;;:27;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;12475:5:22::2;::::0;:36:::2;::::0;-1:-1:-1;;;12475:36:22;;-1:-1:-1;;;;;12490:7:22::2;4791:32:27::0;;12475:36:22::2;::::0;::::2;4773:51:27::0;4840:18;;;4833:34;;;12475:5:22;;::::2;::::0;:14:::2;::::0;4746:18:27;;12475:36:22::2;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;12467:75;;;::::0;-1:-1:-1;;;12467:75:22;;5362:2:27;12467:75:22::2;::::0;::::2;5344:21:27::0;5401:2;5381:18;;;5374:30;5440:28;5420:18;;;5413:56;5486:18;;12467:75:22::2;5160:350:27::0;12467:75:22::2;12553:7;12574;-1:-1:-1::0;;;;;12566:21:22::2;12595:9;12566:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12552:57;;;12627:2;12619:39;;;::::0;-1:-1:-1;;;12619:39:22;;5927:2:27;12619:39:22::2;::::0;::::2;5909:21:27::0;5966:2;5946:18;;;5939:30;6005:26;5985:18;;;5978:54;6049:18;;12619:39:22::2;5725:348:27::0;12619:39:22::2;12668:5;;;;;;;;;-1:-1:-1::0;;;;;12668:5:22::2;-1:-1:-1::0;;;;;12668:18:22::2;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;-1:-1:-1::0;;12714:16:22::2;::::0;12703:52:::2;::::0;;6280:25:27;;;6336:2;6321:18;;6314:34;;;6364:18;;6357:34;;;12703:52:22::2;::::0;-1:-1:-1;6268:2:27;6253:18;;-1:-1:-1;12703:52:22::2;;;;;;;12789:16;::::0;12770:60:::2;::::0;;6280:25:27;;;6336:2;6321:18;;6314:34;;;6364:18;;6357:34;;;12770:60:22::2;::::0;6268:2:27;6253:18;12770:60:22::2;;;;;;;11811:1026;;;2542:20:15::1;1857:1:::0;3068:21;;2888:208;2542:20:::1;11751:1086:22:o:0;6652:260::-;1531:13:0;:11;:13::i;:::-;6724:8:22::1;::::0;-1:-1:-1;;;6724:8:22;::::1;;;6723:9;6715:39;;;::::0;-1:-1:-1;;;6715:39:22;;6604:2:27;6715:39:22::1;::::0;::::1;6586:21:27::0;6643:2;6623:18;;;6616:30;-1:-1:-1;;;6662:18:27;;;6655:47;6719:18;;6715:39:22::1;6402:341:27::0;6715:39:22::1;-1:-1:-1::0;;;;;6772:20:22;::::1;6764:40;;;::::0;-1:-1:-1;;;6764:40:22;;6950:2:27;6764:40:22::1;::::0;::::1;6932:21:27::0;6989:1;6969:18;;;6962:29;-1:-1:-1;;;7007:18:27;;;7000:37;7054:18;;6764:40:22::1;6748:330:27::0;6764:40:22::1;6814:5;:35:::0;;-1:-1:-1;;;;;;6859:15:22;-1:-1:-1;;;;;6814:35:22;::::1;6859:15:::0;;;-1:-1:-1;;;6859:15:22::1;::::0;;;6889:16:::1;::::0;::::1;::::0;6814:5:::1;::::0;6889:16:::1;6652:260:::0;:::o;10404:771::-;1531:13:0;:11;:13::i;:::-;2500:21:15::1;:19;:21::i;:::-;10502:8:22::2;::::0;::::2;;10494:34;;;::::0;-1:-1:-1;;;10494:34:22;;7285:2:27;10494:34:22::2;::::0;::::2;7267:21:27::0;7324:2;7304:18;;;7297:30;-1:-1:-1;;;7343:18:27;;;7336:43;7396:18;;10494:34:22::2;7083:337:27::0;10494:34:22::2;10560:1;10546:11;:15;10538:36;;;::::0;-1:-1:-1;;;10538:36:22;;7627:2:27;10538:36:22::2;::::0;::::2;7609:21:27::0;7666:1;7646:18;;;7639:29;-1:-1:-1;;;7684:18:27;;;7677:38;7732:18;;10538:36:22::2;7425:331:27::0;10538:36:22::2;4127:16;10607:11;10592:12;;:26;;;;:::i;:::-;:45;;10584:82;;;::::0;-1:-1:-1;;;10584:82:22;;4315:2:27;10584:82:22::2;::::0;::::2;4297:21:27::0;4354:2;4334:18;;;4327:30;-1:-1:-1;;;4373:18:27;;;4366:54;4437:18;;10584:82:22::2;4113:348:27::0;10584:82:22::2;10699:18;;10684:11;:33;;10676:66;;;::::0;-1:-1:-1;;;10676:66:22;;3966:2:27;10676:66:22::2;::::0;::::2;3948:21:27::0;4005:2;3985:18;;;3978:30;-1:-1:-1;;;4024:18:27;;;4017:50;4084:18;;10676:66:22::2;3764:344:27::0;10676:66:22::2;10772:8;::::0;10798:13;10790:38:::2;;;::::0;-1:-1:-1;;;10790:38:22;;3452:2:27;10790:38:22::2;::::0;::::2;3434:21:27::0;3491:2;3471:18;;;3464:30;-1:-1:-1;;;3510:18:27;;;3503:42;3562:18;;10790:38:22::2;3250:336:27::0;10790:38:22::2;10849:1;10838:8;:12;;;;10882:11;10860:18;;:33;;;;;;;:::i;:::-;;;;;;;;10919:11;10903:12;;:27;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;10948:5:22::2;::::0;:36:::2;::::0;-1:-1:-1;;;10948:36:22;;-1:-1:-1;;;;;10963:7:22::2;4791:32:27::0;;10948:36:22::2;::::0;::::2;4773:51:27::0;4840:18;;;4833:34;;;10948:5:22;;::::2;::::0;:14:::2;::::0;4746:18:27;;10948:36:22::2;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;10940:70;;;::::0;-1:-1:-1;;;10940:70:22;;7963:2:27;10940:70:22::2;::::0;::::2;7945:21:27::0;8002:2;7982:18;;;7975:30;-1:-1:-1;;;8021:18:27;;;8014:51;8082:18;;10940:70:22::2;7761:345:27::0;10940:70:22::2;11021:7;11042;-1:-1:-1::0;;;;;11034:21:22::2;11063:9;11034:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11020:57;;;11095:2;11087:34;;;::::0;-1:-1:-1;;;11087:34:22;;8313:2:27;11087:34:22::2;::::0;::::2;8295:21:27::0;8352:2;8332:18;;;8325:30;-1:-1:-1;;;8371:18:27;;;8364:49;8430:18;;11087:34:22::2;8111:343:27::0;11087:34:22::2;11136:32;::::0;;8633:25:27;;;8689:2;8674:18;;8667:34;;;11136:32:22::2;::::0;8606:18:27;11136:32:22::2;;;;;;;10484:691;;2542:20:15::1;1857:1:::0;3068:21;;2888:208;2542:20:::1;10404:771:22::0;:::o;8912:1142::-;8997:18;2500:21:15;:19;:21::i;:::-;9035:8:22::1;::::0;-1:-1:-1;;;9035:8:22;::::1;;;9027:34;;;::::0;-1:-1:-1;;;9027:34:22;;8914:2:27;9027:34:22::1;::::0;::::1;8896:21:27::0;8953:2;8933:18;;;8926:30;-1:-1:-1;;;8972:18:27;;;8965:43;9025:18;;9027:34:22::1;8712:337:27::0;9027:34:22::1;9091:8;9079;:20:::0;9071:43:::1;;;::::0;-1:-1:-1;;;9071:43:22;;9256:2:27;9071:43:22::1;::::0;::::1;9238:21:27::0;9295:2;9275:18;;;9268:30;-1:-1:-1;;;9314:18:27;;;9307:40;9364:18;;9071:43:22::1;9054:334:27::0;9071:43:22::1;3630:4;9132:16;;:35;9124:63;;;::::0;-1:-1:-1;;;9124:63:22;;9595:2:27;9124:63:22::1;::::0;::::1;9577:21:27::0;9634:2;9614:18;;;9607:30;-1:-1:-1;;;9653:18:27;;;9646:45;9708:18;;9124:63:22::1;9393:339:27::0;9124:63:22::1;9350:5;::::0;:56:::1;::::0;-1:-1:-1;;;9350:56:22;;9369:10:::1;9350:56;::::0;::::1;9939:51:27::0;9389:4:22::1;10006:18:27::0;;;9999:60;3459:12:22::1;10075:18:27::0;;;10068:34;-1:-1:-1;;;;;9350:5:22;;::::1;::::0;:18:::1;::::0;9912::27;;9350:56:22::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;9342:86;;;::::0;-1:-1:-1;;;9342:86:22;;10315:2:27;9342:86:22::1;::::0;::::1;10297:21:27::0;10354:2;10334:18;;;10327:30;-1:-1:-1;;;10373:18:27;;;10366:47;10430:18;;9342:86:22::1;10113:341:27::0;9342:86:22::1;9514:50;::::0;-1:-1:-1;;;9514:50:22;;-1:-1:-1;;;;;9514:3:22::1;:15;::::0;::::1;::::0;:50:::1;::::0;9530:10:::1;::::0;9542:8;;3148:1:::1;::::0;9514:50:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;9574:50:22::1;::::0;-1:-1:-1;;;9574:50:22;;-1:-1:-1;;;;;9574:3:22::1;:15;::::0;-1:-1:-1;9574:15:22::1;::::0;-1:-1:-1;9574:50:22::1;::::0;9590:10:::1;::::0;9602:8;;3148:1:::1;::::0;9574:50:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;9647:41:22::1;::::0;-1:-1:-1;;;9647:41:22;;9663:10:::1;9647:41;::::0;::::1;10986:51:27::0;3194:1:22::1;11053:18:27::0;;;11046:45;9647:3:22::1;-1:-1:-1::0;;;;;9647:15:22::1;::::0;-1:-1:-1;9647:15:22::1;::::0;-1:-1:-1;10959:18:27;;9647:41:22::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;9699:5;::::0;:21:::1;::::0;-1:-1:-1;;;9699:21:22;;3459:12:::1;9699:21;::::0;::::1;160:25:27::0;9634:54:22;;-1:-1:-1;;;;;;9699:5:22::1;::::0;:10:::1;::::0;133:18:27;;9699:21:22::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;9805:1;9785:16;;:21;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;9824:5:22::1;::::0;:39:::1;::::0;-1:-1:-1;;;9824:39:22;;9839:10:::1;9824:39;::::0;::::1;4773:51:27::0;3515:13:22::1;4840:18:27::0;;;4833:34;-1:-1:-1;;;;;9824:5:22;;::::1;::::0;:14:::1;::::0;4746:18:27;;9824:39:22::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;9816:74;;;::::0;-1:-1:-1;;;9816:74:22;;11493:2:27;9816:74:22::1;::::0;::::1;11475:21:27::0;11532:2;11512:18;;;11505:30;-1:-1:-1;;;11551:18:27;;;11544:52;11613:18;;9816:74:22::1;11291:346:27::0;9816:74:22::1;9905:49;::::0;;3515:13:::1;11812:25:27::0;;3194:1:22::1;11868:2:27::0;11853:18;;11846:45;9916:10:22::1;::::0;9905:49:::1;::::0;11785:18:27;9905:49:22::1;;;;;;;9969:53;::::0;;6280:25:27;;;6336:2;6321:18;;6314:34;;;6364:18;;;6357:34;;;9979:10:22::1;::::0;9969:53:::1;::::0;6268:2:27;6253:18;9969:53:22::1;;;;;;;10033:14;:12;:14::i;:::-;2542:20:15::0;1857:1;3068:21;;2888:208;2542:20;8912:1142:22;;;;:::o;2293:101:0:-;1531:13;:11;:13::i;:::-;2357:30:::1;2384:1;2357:18;:30::i;7563:1176:22:-:0;7656:17;2500:21:15;:19;:21::i;:::-;7693:8:22::1;::::0;-1:-1:-1;;;7693:8:22;::::1;;;7685:34;;;::::0;-1:-1:-1;;;7685:34:22;;8914:2:27;7685:34:22::1;::::0;::::1;8896:21:27::0;8953:2;8933:18;;;8926:30;-1:-1:-1;;;8972:18:27;;;8965:43;9025:18;;7685:34:22::1;8712:337:27::0;7685:34:22::1;3237:11;7737:9;:21;7729:55;;;::::0;-1:-1:-1;;;7729:55:22;;12104:2:27;7729:55:22::1;::::0;::::1;12086:21:27::0;12143:2;12123:18;;;12116:30;-1:-1:-1;;;12162:18:27;;;12155:51;12223:18;;7729:55:22::1;11902:345:27::0;7729:55:22::1;7814:8;7802;:20:::0;7794:43:::1;;;::::0;-1:-1:-1;;;7794:43:22;;9256:2:27;7794:43:22::1;::::0;::::1;9238:21:27::0;9295:2;9275:18;;;9268:30;-1:-1:-1;;;9314:18:27;;;9307:40;9364:18;;7794:43:22::1;9054:334:27::0;7794:43:22::1;3577:4;7855:16;;:35;7847:63;;;::::0;-1:-1:-1;;;7847:63:22;;12454:2:27;7847:63:22::1;::::0;::::1;12436:21:27::0;12493:2;12473:18;;;12466:30;-1:-1:-1;;;12512:18:27;;;12505:45;12567:18;;7847:63:22::1;12252:339:27::0;7847:63:22::1;7998:50;::::0;-1:-1:-1;;;7998:50:22;;-1:-1:-1;;;;;7998:3:22::1;:15;::::0;::::1;::::0;:50:::1;::::0;8014:10:::1;::::0;8026:8;;3103:1:::1;::::0;7998:50:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;8058:50:22::1;::::0;-1:-1:-1;;;8058:50:22;;-1:-1:-1;;;;;8058:3:22::1;:15;::::0;-1:-1:-1;8058:15:22::1;::::0;-1:-1:-1;8058:50:22::1;::::0;8074:10:::1;::::0;8086:8;;3103:1:::1;::::0;8058:50:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;8130:40:22::1;::::0;-1:-1:-1;;;8130:40:22;;8146:10:::1;8130:40;::::0;::::1;10986:51:27::0;3148:1:22::1;11053:18:27::0;;;11046:45;8130:3:22::1;-1:-1:-1::0;;;;;8130:15:22::1;::::0;-1:-1:-1;8130:15:22::1;::::0;-1:-1:-1;10959:18:27;;8130:40:22::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;8118:52;;8201:1;8181:16;;:21;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;8220:5:22::1;::::0;:39:::1;::::0;-1:-1:-1;;;8220:39:22;;8235:10:::1;8220:39;::::0;::::1;4773:51:27::0;3405:12:22::1;4840:18:27::0;;;4833:34;-1:-1:-1;;;;;8220:5:22;;::::1;::::0;:14:::1;::::0;4746:18:27;;8220:39:22::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;8212:74;;;::::0;-1:-1:-1;;;8212:74:22;;11493:2:27;8212:74:22::1;::::0;::::1;11475:21:27::0;11532:2;11512:18;;;11505:30;-1:-1:-1;;;11551:18:27;;;11544:52;11613:18;;8212:74:22::1;11291:346:27::0;8212:74:22::1;8301:48;::::0;;3405:12:::1;11812:25:27::0;;3148:1:22::1;11868:2:27::0;11853:18;;11846:45;8312:10:22::1;::::0;8301:48:::1;::::0;11785:18:27;8301:48:22::1;;;;;;;3292:12;8359:8;;:23;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;8407:48:22::1;::::0;8394:7:::1;::::0;-1:-1:-1;;;;;8415:9:22::1;8407:23;::::0;3349:12:::1;::::0;8394:7;8407:48;8394:7;8407:48;3349:12;8407:23;:48:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8393:62;;;8473:2;8465:29;;;::::0;-1:-1:-1;;;8465:29:22;;12798:2:27;8465:29:22::1;::::0;::::1;12780:21:27::0;12837:2;12817:18;;;12810:30;-1:-1:-1;;;12856:18:27;;;12849:44;12910:18;;8465:29:22::1;12596:338:27::0;8465:29:22::1;8520:9;-1:-1:-1::0;;;;;8509:35:22::1;;3349:12;8509:35;;;;160:25:27::0;;148:2;133:18;;14:177;8509:35:22::1;;;;;;;;8559:52;::::0;;6280:25:27;;;6336:2;6321:18;;6314:34;;;6364:18;;;6357:34;;;8569:10:22::1;::::0;8559:52:::1;::::0;6268:2:27;6253:18;8559:52:22::1;;;;;;;8622:14;:12;:14::i;:::-;8651:8;::::0;::::1;;8650:9;:45:::0;::::1;;;;3679:4;8663:16;;:32;;8650:45;8646:87;;;8711:11;:9;:11::i;:::-;7675:1064;2542:20:15::0;1857:1;3068:21;;2888:208;7135:256:22;1531:13:0;:11;:13::i;:::-;7218:15:22::1;::::0;:20;7210:53:::1;;;::::0;-1:-1:-1;;;7210:53:22;;13141:2:27;7210:53:22::1;::::0;::::1;13123:21:27::0;13180:2;13160:18;;;13153:30;-1:-1:-1;;;13199:18:27;;;13192:50;13259:18;;7210:53:22::1;12939:344:27::0;7210:53:22::1;7281:8;7293:1;7281:13:::0;7273:32:::1;;;::::0;-1:-1:-1;;;7273:32:22;;13490:2:27;7273:32:22::1;::::0;::::1;13472:21:27::0;13529:1;13509:18;;;13502:29;-1:-1:-1;;;13547:18:27;;;13540:36;13593:18;;7273:32:22::1;13288:329:27::0;7273:32:22::1;7315:15;:26:::0;;;7356:28:::1;::::0;160:25:27;;;7356:28:22::1;::::0;148:2:27;133:18;7356:28:22::1;;;;;;;;7135:256:::0;:::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;633:51:27::0;606:18;;2672:31:0::1;487:203:27::0;2623:91:0::1;2723:28;2742:8;2723:18;:28::i;1796:162::-:0;1684:7;1710:6;-1:-1:-1;;;;;1710:6:0;735:10:13;1855:23:0;1851:101;;1901:40;;-1:-1:-1;;;1901:40:0;;735:10:13;1901:40:0;;;633:51:27;606:18;;1901:40:0;487:203:27;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;13008:583:22:-;13051:16;13089;;13070;;:35;;;;:::i;:::-;13051:54;;13115:470;4308:2;13135:15;;:32;:85;;;;;4359:16;13183:18;;:37;13135:85;:153;;;;;4258:3;13249:15;;13267:1;13249:19;;;;:::i;:::-;13248:40;;;;:::i;:::-;13236:8;:52;;13135:153;13115:470;;;13332:1;13313:15;;:20;;;;;;;:::i;:::-;;;;;;;;4194:15;13347:18;;:40;;;;;;;:::i;:::-;;;;;;;;4194:15;13401:18;;:40;;;;;;;:::i;:::-;;;;-1:-1:-1;;13455:5:22;;:30;;-1:-1:-1;;;13455:30:22;;4194:15;13455:30;;;160:25:27;-1:-1:-1;;;;;13455:5:22;;;;:10;;133:18:27;;13455:30:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;13518:15:22;;13555:18;;13504:70;;;6280:25:27;;;4194:15:22;6336:2:27;6321:18;;6314:34;6364:18;;6357:34;13504:70:22;;-1:-1:-1;6268:2:27;6253:18;;-1:-1:-1;13504:70:22;;;;;;;13115:470;;2912:187:0;2985:16;3004:6;;-1:-1:-1;;;;;3020:17:0;;;-1:-1:-1;;;;;;3020:17:0;;;;;;3052:40;;3004:6;;;;;;;3052:40;;2985:16;3052:40;2975:124;2912:187;:::o;13597:631:22:-;13637:8;:15;;-1:-1:-1;;13637:15:22;13648:4;13637:15;;;13670:8;;3727:9;-1:-1:-1;13670:23:22;13662:58;;;;-1:-1:-1;;;13662:58:22;;13824:2:27;13662:58:22;;;13806:21:27;13863:2;13843:18;;;13836:30;-1:-1:-1;;;13882:18:27;;;13875:52;13944:18;;13662:58:22;13622:346:27;13662:58:22;3783:15;13738:18;;:36;;13730:72;;;;-1:-1:-1;;;13730:72:22;;14175:2:27;13730:72:22;;;14157:21:27;14214:2;14194:18;;;14187:30;14253:25;14233:18;;;14226:53;14296:18;;13730:72:22;13973:347:27;13730:72:22;3727:9;13812:8;;:23;;;;;;;:::i;:::-;;;;;;;;3783:15;13845:18;;:36;;;;;;;:::i;:::-;;;;;;;;3783:15;13891:12;;:30;;;;;;;:::i;:::-;;;;-1:-1:-1;;13939:5:22;;:39;;-1:-1:-1;;;13939:39:22;;-1:-1:-1;;;;;13954:7:22;4791:32:27;;13939:39:22;;;4773:51:27;3783:15:22;4840:18:27;;;4833:34;13939:5:22;;;;:14;;4746:18:27;;13939:39:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;13931:74;;;;-1:-1:-1;;;13931:74:22;;14527:2:27;13931:74:22;;;14509:21:27;14566:2;14546:18;;;14539:30;-1:-1:-1;;;14585:18:27;;;14578:52;14647:18;;13931:74:22;14325:346:27;13931:74:22;14016:7;14037;-1:-1:-1;;;;;14029:21:22;3727:9;14029:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14015:59;;;14092:2;14084:35;;;;-1:-1:-1;;;14084:35:22;;14878:2:27;14084:35:22;;;14860:21:27;14917:2;14897:18;;;14890:30;-1:-1:-1;;;14936:18:27;;;14929:50;14996:18;;14084:35:22;14676:344:27;14084:35:22;14129:5;;;;;;;;;-1:-1:-1;;;;;14129:5:22;-1:-1:-1;;;;;14129:18:22;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;14175:16:22;;14164:57;;;6280:25:27;;;3727:9:22;6336:2:27;6321:18;;6314:34;3783:15:22;6364:18:27;;;6357:34;14164:57:22;;-1:-1:-1;6268:2:27;6253:18;;-1:-1:-1;14164:57:22;6078:319:27;196:286;255:6;308:2;296:9;287:7;283:23;279:32;276:52;;;324:1;321;314:12;276:52;350:23;;-1:-1:-1;;;;;402:31:27;;392:42;;382:70;;448:1;445;438:12;382:70;471:5;196:286;-1:-1:-1;;;196:286:27:o;1119:226::-;1178:6;1231:2;1219:9;1210:7;1206:23;1202:32;1199:52;;;1247:1;1244;1237:12;1199:52;-1:-1:-1;1292:23:27;;1119:226;-1:-1:-1;1119:226:27:o;1350:346::-;1418:6;1426;1479:2;1467:9;1458:7;1454:23;1450:32;1447:52;;;1495:1;1492;1485:12;1447:52;-1:-1:-1;;1540:23:27;;;1660:2;1645:18;;;1632:32;;-1:-1:-1;1350:346:27:o;1936:127::-;1997:10;1992:3;1988:20;1985:1;1978:31;2028:4;2025:1;2018:15;2052:4;2049:1;2042:15;2068:125;2133:9;;;2154:10;;;2151:36;;;2167:18;;:::i;3591:168::-;3664:9;;;3695;;3712:15;;;3706:22;;3692:37;3682:71;;3733:18;;:::i;4466:128::-;4533:9;;;4554:11;;;4551:37;;;4568:18;;:::i;4878:277::-;4945:6;4998:2;4986:9;4977:7;4973:23;4969:32;4966:52;;;5014:1;5011;5004:12;4966:52;5046:9;5040:16;5099:5;5092:13;5085:21;5078:5;5075:32;5065:60;;5121:1;5118;5111:12;10459:352;-1:-1:-1;;;;;10675:32:27;;;;10657:51;;10739:2;10724:18;;10717:34;;;;10799:4;10787:17;10782:2;10767:18;;10760:45;10645:2;10630:18;;10459:352::o;11102:184::-;11172:6;11225:2;11213:9;11204:7;11200:23;11196:32;11193:52;;;11241:1;11238;11231:12;11193:52;-1:-1:-1;11264:16:27;;11102:184;-1:-1:-1;11102:184:27:o","linkReferences":{},"immutableReferences":{"6530":[{"start":1028,"length":32},{"start":4637,"length":32},{"start":4766,"length":32},{"start":4901,"length":32},{"start":5832,"length":32},{"start":5961,"length":32},{"start":6096,"length":32}],"6532":[{"start":1320,"length":32},{"start":6550,"length":32},{"start":6721,"length":32}],"6535":[{"start":873,"length":32},{"start":2420,"length":32},{"start":2625,"length":32},{"start":3757,"length":32},{"start":3954,"length":32},{"start":8063,"length":32},{"start":8271,"length":32}]}}}}}}},"signatures":{"function":[{"signature":"BURN_FUSION_STEP()","signatureHash4":"0x7ec103fe","signatureHash32":"0x7ec103fee80668ae4b74f76999f18f099c1a17e6ab4cd54e62ac849fb7400fbf"},{"signature":"BURN_PER_MILESTONE()","signatureHash4":"0x0a533b6f","signatureHash32":"0x0a533b6fbf1463833a8f84a047627515162206409deef6f1a4265b5e8e0da4fe"},{"signature":"combinedFusions()","signatureHash4":"0x038fc043","signatureHash32":"0x038fc04377058391d25e1ac6c9a36f7b7b14e585ae5249063a20b705a93712e9"},{"signature":"devWallet()","signatureHash4":"0x8ea5220f","signatureHash32":"0x8ea5220f777d6f00e922a0e62f88cd8badb6944e5d64af96ccd77b1f02b17af0"},{"signature":"fallbackOpensAt()","signatureHash4":"0xda16cb4c","signatureHash32":"0xda16cb4c8f8d6dc8e59db20ab7c167715b3401987394f3dff08a0318af850183"},{"signature":"FALLBACK_TOKENS_PER_BNB()","signatureHash4":"0xc569b5e9","signatureHash32":"0xc569b5e92be38d49a476be62d71021c0159e40f7e223670622c9ca4844105c4a"},{"signature":"fuseGen1(uint256,uint256)","signatureHash4":"0xa30ad5f9","signatureHash32":"0xa30ad5f9f818a8bec9fed7deefa239c10e82c0605774307e6b743c7a0d954304"},{"signature":"fuseGen2(uint256,uint256)","signatureHash4":"0x59867889","signatureHash32":"0x5986788918981f154ea93819f422047725f20581905e57685961b68d6f048883"},{"signature":"GATE_FUSIONS()","signatureHash4":"0x70d53ef0","signatureHash32":"0x70d53ef095a2619bb10bcc58b5de68f5177f68445d3172506bbab657f15f8a80"},{"signature":"GATE_LP_BNB()","signatureHash4":"0x19f54649","signatureHash32":"0x19f546492a4518bb963da8c1790288f58f30d8346d0dc4c2b5760c6d1871bd4e"},{"signature":"GATE_LP_TOKENS()","signatureHash4":"0x7ae7a775","signatureHash32":"0x7ae7a775b5d5972dde89dba46f267d4f841e815b8048cb575eccc877ddb99ed3"},{"signature":"gateOpen()","signatureHash4":"0xb35a7200","signatureHash32":"0xb35a7200f433716c720b181d5d4b29652ae87e8c76d681dd661240aed8f7bbad"},{"signature":"GEN1_FEE()","signatureHash4":"0xce482d02","signatureHash32":"0xce482d0223b09c3584191a7c98947c6e83db2f71bd6a521854eee10f40e0a334"},{"signature":"GEN1_FEE_DEV()","signatureHash4":"0xe80eda3e","signatureHash32":"0xe80eda3ed8431c6275fef4fe962a47eab955c47e22961b4cbce67da8f5cbb379"},{"signature":"GEN1_FEE_LP()","signatureHash4":"0xbbfaaa32","signatureHash32":"0xbbfaaa326be06651eefe400372bb80f465e2a3a225eb6b4e30594d4f483d772b"},{"signature":"GEN1_REWARD()","signatureHash4":"0x09c1683b","signatureHash32":"0x09c1683b74eebf61cd448d1979366d244339ee8d4d6273a5f46da0701f940344"},{"signature":"GEN2_COST()","signatureHash4":"0x444cc556","signatureHash32":"0x444cc556206f0aea1272d76ea4452817a19de26f8f65f281e47b7ab31498050f"},{"signature":"GEN2_REWARD()","signatureHash4":"0x49ff8e3a","signatureHash32":"0x49ff8e3a357d4ff6192697038368d9a71f118552a4fe4e0142fd6d25867b535d"},{"signature":"lpBucket()","signatureHash4":"0xbd1735ed","signatureHash32":"0xbd1735ed65a78763118309e5f952dcad6b4d9533e5ac498b38a83d0cbe17fae6"},{"signature":"lpReserveRemaining()","signatureHash4":"0xef9b6ebc","signatureHash32":"0xef9b6ebc595084c37367b1130c07ee5b7f1cbb85b46323940b428b47c018a592"},{"signature":"LP_TOKEN_BUDGET()","signatureHash4":"0x1d544f33","signatureHash32":"0x1d544f33f06a4e563dcd7718f389c5fc962fc6b2968f0547c742538b84975e83"},{"signature":"lpTokensSent()","signatureHash4":"0xd85b3dca","signatureHash32":"0xd85b3dca26edb293d02469a8965e3110aa721c80dbdd7e9557ae0ef299edf718"},{"signature":"lpVault()","signatureHash4":"0x2f867367","signatureHash32":"0x2f8673675271bf20e7c40351c7be426e699b054735dbae1f156171c6f1f662c3"},{"signature":"MAX_GEN1_FUSIONS()","signatureHash4":"0xb2b0e320","signatureHash32":"0xb2b0e3205b1e9a8b515f80cd19b9dd788253f75b4cabbd45e450ef21b268e896"},{"signature":"MAX_GEN2_FUSIONS()","signatureHash4":"0xbec82e69","signatureHash32":"0xbec82e699e929d3a153f7f43f606403ac45126e1aa2d2be9d0b77f9dbc80e991"},{"signature":"MAX_MILESTONES()","signatureHash4":"0x4c05abeb","signatureHash32":"0x4c05abebef447da6b0c047d6573152b398a992bc26018226081c75b9d0b0ea22"},{"signature":"MAX_RESERVE_BURN()","signatureHash4":"0x2e5e9e9f","signatureHash32":"0x2e5e9e9f883ca35954b6a53fc032fde49e2f48f56ed22e9471366b8620997c55"},{"signature":"milestonesFired()","signatureHash4":"0x2e4eca78","signatureHash32":"0x2e4eca78acb50d08d3b19fc695d31bea02ce36092d05b3bbe80c625d339e798f"},{"signature":"nft()","signatureHash4":"0x47ccca02","signatureHash32":"0x47ccca0201ed22f779508456c61f73397d88b6577f89f05d9bdd674c21209b55"},{"signature":"openGateFallback()","signatureHash4":"0x047e2a20","signatureHash32":"0x047e2a20b3b2ee1ca28c02f62bb348661799c61e09dc2bd272210259aeab90d9"},{"signature":"owner()","signatureHash4":"0x8da5cb5b","signatureHash32":"0x8da5cb5b36e7f68c1d2e56001220cdbdd3ba2616072f718acfda4a06441a807d"},{"signature":"pairAccumulatedLP(uint256)","signatureHash4":"0x52cb8101","signatureHash32":"0x52cb8101044dfe8b923ef319cbc21f3160fca10fe0bdf2fd888e2ddeb95c651c"},{"signature":"renounceOwnership()","signatureHash4":"0x715018a6","signatureHash32":"0x715018a616b5f2044428f6fadb7deef4ce9ca76ef60ea57978964ad137bbe7ae"},{"signature":"reserveBurnedTotal()","signatureHash4":"0xa32f89a6","signatureHash32":"0xa32f89a6f4cf4164a3ec73f4054262062500015d6944a8b44865abcc495780ac"},{"signature":"setFallbackOpensAt(uint256)","signatureHash4":"0xb83af1f4","signatureHash32":"0xb83af1f415a1531f58530ce0b414c88ebba88d23067b4a8a4143718efd2652f4"},{"signature":"setToken(address)","signatureHash4":"0x144fa6d7","signatureHash32":"0x144fa6d7f374f07750ac69fe5e8b4f8a614ab02482bcb9f0fa3f2c98943860c6"},{"signature":"token()","signatureHash4":"0xfc0c546a","signatureHash32":"0xfc0c546a8dce9d6e9b97c086302918c9106d97a17809f6bcacfe02124763cb39"},{"signature":"tokenSet()","signatureHash4":"0x40624824","signatureHash32":"0x40624824b58403b5ea18441fd2747f7360dd6c299dcfb44b1eacd0dd7e2ed2e2"},{"signature":"totalGen1Fusions()","signatureHash4":"0xd3a64dad","signatureHash32":"0xd3a64dad50aafdad49ff08423ba2ab889ac39c95a448a6cb98fad3391020cd3f"},{"signature":"totalGen2Fusions()","signatureHash4":"0xc9e53c05","signatureHash32":"0xc9e53c05b64c2e296dcca29dc567b99d098900926a573ca9faa95c7f3fec3268"},{"signature":"transferOwnership(address)","signatureHash4":"0xf2fde38b","signatureHash32":"0xf2fde38b092330466c661fc723d5289b90272a3e580e3187d1d7ef788506c557"}],"event":[{"signature":"DevFeePaid(address,uint256)","signatureHash4":"0x57f7aa0e","signatureHash32":"0x57f7aa0e3afd334225fad63af931d9d34a4168aa22f4a329b6e71f6bd95baf0b"},{"signature":"FallbackOpensAtSet(uint256)","signatureHash4":"0xcd9bdbe8","signatureHash32":"0xcd9bdbe81f6c85749e2191f281a58c3c05de2b6a3dd249ebf5edfa21d689284c"},{"signature":"FusedGen1(address,uint256,uint256,uint256)","signatureHash4":"0xf91e93c8","signatureHash32":"0xf91e93c886fcd7138a6a800e2e8612b706d8d6346313f65ef7089198b7476609"},{"signature":"FusedGen2(address,uint256,uint256,uint256)","signatureHash4":"0x435fb3b3","signatureHash32":"0x435fb3b33afac30fc438a0900a260c0277e6c51d974f3c60e20cacdb63594554"},{"signature":"GateFallbackOpened(uint256,uint256,uint256)","signatureHash4":"0x1f8c084d","signatureHash32":"0x1f8c084d52ab5d8d9672342c2a70800589918deaeba55086a5ba12655064409c"},{"signature":"GateOpened(uint256,uint256,uint256)","signatureHash4":"0x6599f3ad","signatureHash32":"0x6599f3adedf8367d8c67547e92866bfc9f4d79268382c3d70ffb134386265aa2"},{"signature":"LPPaired(uint256,uint256)","signatureHash4":"0x6f28fe44","signatureHash32":"0x6f28fe44644d9cce2edee70ae29bed08bc6f03e2e28ee493daafe1a33d238faa"},{"signature":"OwnershipTransferred(address,address)","signatureHash4":"0x8be0079c","signatureHash32":"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0"},{"signature":"ReserveBurned(uint256,uint256,uint256)","signatureHash4":"0x2948de8d","signatureHash32":"0x2948de8d6683b5bbf7333a4e2272b27cda25cfeee5ea821e3a1daa2953592cda"},{"signature":"RewardPaid(address,uint256,uint8)","signatureHash4":"0xf3815831","signatureHash32":"0xf381583145e90b82cc5e529bf4fc4d0e44397174cdf145c4251ac33ef195a424"},{"signature":"TokenSet(address)","signatureHash4":"0xa07c91c1","signatureHash32":"0xa07c91c183e42229e705a9795a1c06d76528b673788b849597364528c96eefb7"}],"error":[{"signature":"OwnableInvalidOwner(address)","signatureHash4":"0x1e4fbdf7","signatureHash32":"0x1e4fbdf7f3ef8bcaa855599e3abf48b232380f183f08f6f813d9ffa5bd585188"},{"signature":"OwnableUnauthorizedAccount(address)","signatureHash4":"0x118cdaa7","signatureHash32":"0x118cdaa7a341953d1887a2245fd6665d741c67c8c50581daa59e1d03373fa188"},{"signature":"ReentrancyGuardReentrantCall()","signatureHash4":"0x3ee5aeb5","signatureHash32":"0x3ee5aeb571de7fc460830b4d0017439a1ca56fb0bc39062227ade4fe4a24c1ca"}]},"proxyResolution":{"isProxy":false,"proxyType":null,"implementations":[]},"match":"exact_match","chainId":"56","address":"0xaef802C5Caf9c1bF6BD692BF54D60c0Cb6EbE2E7"}