Forkchoice Ethereum Mainnet

Address Contract Partially Verified

Address 0xc38764fD24f980369097F68bf4442Ca925e8554f
Balance 0 ETH
Nonce 1
Code Size 14836 bytes
Indexed Transactions 0 (1 on-chain, 1.3% indexed)
External Etherscan · Sourcify

Contract Bytecode

14836 bytes
0x6080604052600436106103fd5760003560e01c8063780850b91161020d578063b6585dc611610128578063e85455d7116100bb578063f2fde38b1161008a578063f85aff941161006f578063f85aff9414610cdc578063fe4522b014610cf2578063fe6a0bbf14610d1257600080fd5b8063f2fde38b14610c88578063f444324b14610ca857600080fd5b8063e85455d714610c0d578063ea8b242414610c3d578063eb95ca7014610c5d578063eeae0f9714610c7357600080fd5b8063c4590d3f116100f7578063c4590d3f14610b72578063dd604f1e14610b92578063dd62ed3e14610ba7578063e3ab3b1414610bed57600080fd5b8063b6585dc614610ad6578063b923061114610ae9578063bb88603c14610b1d578063be841baa14610b3e57600080fd5b8063a0aaf248116101a0578063ad5f5d801161016f578063ad5f5d8014610a56578063b0d7509714610a76578063b2c5c9eb14610a8c578063b2e9cb3814610aa257600080fd5b8063a0aaf248146109bc578063a35b4cef146109f0578063a45cae0214610a20578063a9059cbb14610a3657600080fd5b806393bf5705116101dc57806393bf57051461094057806394e1cf961461095357806395d89b41146109875780639808751d1461099c57600080fd5b8063780850b9146108cc57806379cc6790146108ec5780638c8043211461090c5780638da5cb5b1461092257600080fd5b8063374a4a70116103185780635b8e7979116102ab5780636edb9a911161027a578063715018a61161025f578063715018a61461086c57806373bd699a1461088157806375220b9f1461089857600080fd5b80636edb9a911461082057806370a082311461083657600080fd5b80635b8e79791461078d5780635bc789d9146107c157806360f47d5f146107f5578063638545651461080b57600080fd5b806342966c68116102e757806342966c6814610715578063469132ce1461073757806349bd5a5e1461074d5780635b4f638d1461076d57600080fd5b8063374a4a7014610677578063390a168f146106985780633b22fc03146106cc5780633e4e9e5d1461070057600080fd5b806318f490cf1161039057806329c6b3481161035f57806329c6b3481461061a578063313ce5671461062f578063320589991461064b57806336520ace1461066157600080fd5b806318f490cf1461055e5780631b5e609b1461059257806323b872dd146105c657806325100bd4146105e657600080fd5b806310b828c9116103cc57806310b828c9146104cf5780631694505e146104e557806316c2be6b1461051957806318160ddd1461054957600080fd5b8063038272b61461040957806306fdde0314610431578063095ea7b3146104535780630e03f4141461048357600080fd5b3661040457005b600080fd5b34801561041557600080fd5b5061041e610d27565b6040519081526020015b60405180910390f35b34801561043d57600080fd5b50610446610d43565b604051610428919061350a565b34801561045f57600080fd5b5061047361046e36600461356e565b610dd5565b6040519015158152602001610428565b34801561048f57600080fd5b506104b77f000000000000000000000000de3ff2a50bd1ba1bd6a608ea0138946dddf595bc81565b6040516001600160a01b039091168152602001610428565b3480156104db57600080fd5b5061041e60085481565b3480156104f157600080fd5b506104b77f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b34801561052557600080fd5b5061047361053436600461359a565b60186020526000908152604090205460ff1681565b34801561055557600080fd5b5060025461041e565b34801561056a57600080fd5b5061041e7f000000000000000000000000000000000000000000000000000000000000000081565b34801561059e57600080fd5b5061041e7f85f1dedebd9eae7ad8620a85bcdff2f8bf783b94aab500b941dc4f9969452c8681565b3480156105d257600080fd5b506104736105e13660046135b7565b610def565b3480156105f257600080fd5b5061041e7f000000000000000000000000000000000000000000000000000000000000000081565b34801561062657600080fd5b50610473610e15565b34801561063b57600080fd5b5060405160128152602001610428565b34801561065757600080fd5b5061041e60105481565b34801561066d57600080fd5b5061041e600d5481565b34801561068357600080fd5b5060065461047390600160a01b900460ff1681565b3480156106a457600080fd5b5061041e7f000000000000000000000000000000000000000000000000000000000000000081565b3480156106d857600080fd5b5061041e7f000000000000000000000000000000000000000000000000000000000000000081565b34801561070c57600080fd5b5061041e610e88565b34801561072157600080fd5b506107356107303660046135f8565b610e9a565b005b34801561074357600080fd5b5061041e600e5481565b34801561075957600080fd5b506006546104b7906001600160a01b031681565b34801561077957600080fd5b5061073561078836600461361f565b610ea7565b34801561079957600080fd5b506104b77f000000000000000000000000000000000000000000000000000000000000000081565b3480156107cd57600080fd5b506104b77f000000000000000000000000afb979d9afad1ad27c5eff4e27226e3ab9e5dcc981565b34801561080157600080fd5b5061041e60095481565b34801561081757600080fd5b5061041e610f13565b34801561082c57600080fd5b5061041e60135481565b34801561084257600080fd5b5061041e61085136600461359a565b6001600160a01b031660009081526020819052604090205490565b34801561087857600080fd5b50610735610f2f565b34801561088d57600080fd5b506008541515610473565b3480156108a457600080fd5b5061041e7f00000000000000000000000000000000000000000000000000000000bbf81e0081565b3480156108d857600080fd5b506107356108e736600461361f565b610f43565b3480156108f857600080fd5b5061073561090736600461356e565b610fa7565b34801561091857600080fd5b5061041e600c5481565b34801561092e57600080fd5b506005546001600160a01b03166104b7565b61073561094e366004613658565b610fc0565b34801561095f57600080fd5b506104b77f000000000000000000000000864b84f5549fafa345942d0c9e7e41adb100acac81565b34801561099357600080fd5b50610446611051565b3480156109a857600080fd5b506107356109b736600461359a565b611060565b3480156109c857600080fd5b5061041e7f000000000000000000000000000000000000000000000000000000000000000081565b3480156109fc57600080fd5b50610473610a0b36600461359a565b60176020526000908152604090205460ff1681565b348015610a2c57600080fd5b5061041e600a5481565b348015610a4257600080fd5b50610473610a5136600461356e565b6110ca565b348015610a6257600080fd5b50610735610a7136600461361f565b6110d8565b348015610a8257600080fd5b5061041e60125481565b348015610a9857600080fd5b5061041e600b5481565b348015610aae57600080fd5b5061041e7f000000000000000000000000000000000000000000000000000000000000000081565b610735610ae4366004613691565b61117c565b348015610af557600080fd5b5061041e7f000000000000000000000000000000000000000000000000000000000000000081565b348015610b2957600080fd5b5060065461047390600160a81b900460ff1681565b348015610b4a57600080fd5b5061041e7f000000000000000000000000000000000000000000000000000000000000000081565b348015610b7e57600080fd5b50610735610b8d3660046136b6565b611195565b348015610b9e57600080fd5b50610735611331565b348015610bb357600080fd5b5061041e610bc23660046136d8565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610bf957600080fd5b50610735610c083660046135f8565b611499565b348015610c1957600080fd5b50610473610c2836600461359a565b60166020526000908152604090205460ff1681565b348015610c4957600080fd5b506011546104b7906001600160a01b031681565b348015610c6957600080fd5b5061041e60075481565b348015610c7f57600080fd5b5061041e61151c565b348015610c9457600080fd5b50610735610ca336600461359a565b611533565b348015610cb457600080fd5b506104b77f000000000000000000000000cf63a6a789ccd2a416491830d6a4e3964b3b8b5181565b348015610ce857600080fd5b5061041e600f5481565b348015610cfe57600080fd5b50610735610d0d3660046136b6565b61158c565b348015610d1e57600080fd5b5061041e6117ee565b6000610d316117ee565b600b54610d3e919061371c565b905090565b606060038054610d529061372f565b80601f0160208091040260200160405190810160405280929190818152602001828054610d7e9061372f565b8015610dcb5780601f10610da057610100808354040283529160200191610dcb565b820191906000526020600020905b815481529060010190602001808311610dae57829003601f168201915b5050505050905090565b600033610de381858561180a565b60019150505b92915050565b600033610dfd858285611817565b610e088585856118ae565b60019150505b9392505050565b600080610e2a6005546001600160a01b031690565b6001600160a01b0316148015610e6c57507f00000000000000000000000000000000000000000000000000000000bbf81e00600854610e69919061371c565b42115b80610e775750600854155b15610e825750600090565b50600190565b6000601354601254610d3e919061371c565b610ea43382611926565b50565b610eaf611963565b6001600160a01b038216600081815260186020908152604091829020805460ff19168515159081179091558251938452908301527f306dcbe443e8f026f074a7e1e96de23ceb598ba75c3de88d8b087b84ce328bfc91015b60405180910390a15050565b6000610f1d6119a9565b15610f285750600090565b50600c5490565b610f37611963565b610f4160006119ec565b565b610f4b611963565b6001600160a01b038216600081815260176020908152604091829020805460ff19168515159081179091558251938452908301527f08cb8fbd3f235844cb0931281a83bc6772ccdf59629c8920d782e44b90cd36a09101610f07565b610fb2823383611817565b610fbc8282611926565b5050565b336001600160a01b037f000000000000000000000000864b84f5549fafa345942d0c9e7e41adb100acac16146110095760405163079abfc960e01b815260040160405180910390fd5b34600003611043576040517f796017ae00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61104c34611a4b565b505050565b606060048054610d529061372f565b611068611963565b6011805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0383169081179091556040519081527fa4eea51cd2f21eac6612ba054a363ae2fd59698fc258ab414313cd73f69f2b85906020015b60405180910390a150565b600033610de38185856118ae565b6110e0611963565b6001600160a01b038216611120576040517fb47cdee500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038216600081815260166020908152604091829020805460ff19168515159081179091558251938452908301527f014ddeafe46f4124c4af768b48de643f90eab06bb0cbb87a5d7ce35f91c66dea9101610f07565b60405163079abfc960e01b815260040160405180910390fd5b61119d611963565b600f541580156111ac57508115155b156111ca5760405163c827c15f60e01b815260040160405180910390fd5b600e541580156111d957508015155b156111f75760405163c827c15f60e01b815260040160405180910390fd5b81158015906112075750600f5482105b1561122557604051635fffe54760e01b815260040160405180910390fd5b80158015906112355750600e5481105b1561125357604051635fffe54760e01b815260040160405180910390fd5b600019821480611264575060001981145b1561129b576040517f8404f62600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600f5482146112e657600f5460408051918252602082018490527f4378b25ac563a9cfb725b694a8178c787794b33b21d51fc2437d11599ca36eb2910160405180910390a1600f8290555b600e548114610fbc57600e5460408051918252602082018390527f3c28c7b8d78a063d97428fb0828d666b45766c68f1f6703a16d1af5ed43f786f910160405180910390a1600e5550565b600654600160a01b900460ff1661146757600680547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16600160a01b1790556040516000906001600160a01b037f000000000000000000000000de3ff2a50bd1ba1bd6a608ea0138946dddf595bc16907f0000000000000000000000000000000000000000000000000000000000000000908381818185875af1925050503d80600081146113fb576040519150601f19603f3d011682016040523d82523d6000602084013e611400565b606091505b505090508061143b576040517f90b8ec1800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517f398e4c9450dda484d0641a82d59daaea35f17ee8ea3f6a2a2c3bc1461b5fc2cb90600090a150565b6040517fb615d53500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6114a1611963565b600160105410156114de576040517f18821ab800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601080549082905560408051828152602081018490527f70bb2dea47325890ad4c56e9cea510be76761453061ad71ac5525167228d04999101610f07565b6000611526610f13565b600a54610d3e919061371c565b61153b611963565b6001600160a01b038116611583576040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600060048201526024015b60405180910390fd5b610ea4816119ec565b611594611963565b600a54600b54818411156115bb57604051637924ff4760e11b815260040160405180910390fd5b808311156115dc57604051637924ff4760e11b815260040160405180910390fd5b600a849055600b839055600c54600d5460008690036115ff576000600c55611693565b600061271061162e7f000000000000000000000000000000000000000000000000000000000000000089613769565b6116389190613780565b90507f000000000000000000000000000000000000000000000000000000000000000081101561168b577f0000000000000000000000000000000000000000000000000000000000000000600c55611691565b600c8190555b505b846000036116a5576000600d55611739565b60006127106116d47f000000000000000000000000000000000000000000000000000000000000000088613769565b6116de9190613780565b90507f0000000000000000000000000000000000000000000000000000000000000000811015611731577f0000000000000000000000000000000000000000000000000000000000000000600d55611737565b600d8190555b505b600c548214158061174c5750600d548114155b1561179e57600c54600d54604080518581526020810193909352820183905260608201527fc62aec06e6c0bd9801f57464e310b42dd2d884cbfaf006c84a761b622aea4f089060800160405180910390a15b6040805185815260208101889052908101849052606081018690527f8da1f77a22734510b762a9625e69e737d7c0cc48984e810e5802fb341eb80a3e9060800160405180910390a1505050505050565b60006117f86119a9565b156118035750600090565b50600d5490565b61104c8383836001611f08565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146118a85781811015611899576040517ffb8f41b20000000000000000000000000000000000000000000000000000000081526001600160a01b0384166004820152602481018290526044810183905260640161157a565b6118a884848484036000611f08565b50505050565b6001600160a01b0383166118d857604051634b637e8f60e11b81526000600482015260240161157a565b6001600160a01b03821661191b576040517fec442f050000000000000000000000000000000000000000000000000000000081526000600482015260240161157a565b61104c83838361200f565b61deac196001600160a01b0383160161195657604051634b637e8f60e11b815261dead600482015260240161157a565b610fbc8261dead8361200f565b6005546001600160a01b03163314610f41576040517f118cdaa700000000000000000000000000000000000000000000000000000000815233600482015260240161157a565b60006119d87f000000000000000000000000000000000000000000000000000000000000000062015180613769565b6008546119e5919061371c565b4211905090565b600580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60085415611a85576040517fb1f3376700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b4260085543600955611aba307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d60001961180a565b60008060007f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663f305d7198530611b0f306001600160a01b031660009081526020819052604090205490565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b1681526001600160a01b039092166004830152602482015260006044820181905260648201523060848201524260a482015260c40160606040518083038185885af1158015611b8b573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611bb091906137a2565b9250925092507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c14573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c3891906137d0565b6001600160a01b031663e6a43905307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ca5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cc991906137d0565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa158015611d2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d5091906137d0565b6006805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392831690811782556000908152601760209081526040808320805460ff199081166001908117909255945490951683526016909152902080549091169091179055611de1307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d60001961180a565b60408051848152602081018490529081018290527fbf59dda00152e02f20e18cab7307c8afe0714e7f69cf24a1377cbbddcb40f9bb9060600160405180910390a16006546040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015611e83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ea791906137ed565b8114611edf576040517fe150afc000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600654600160a81b900460ff1615611eff57611efa8161211d565b6118a8565b6118a8816121c4565b6001600160a01b038416611f4b576040517fe602df050000000000000000000000000000000000000000000000000000000081526000600482015260240161157a565b6001600160a01b038316611f8e576040517f94280d620000000000000000000000000000000000000000000000000000000081526000600482015260240161157a565b6001600160a01b03808516600090815260016020908152604080832093871683529290522082905580156118a857826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161200191815260200190565b60405180910390a350505050565b8061201b600854151590565b61208c57612027612335565b6001600160a01b0316836001600160a01b031614801561205057506001600160a01b0384163014155b15612087576040517f365c2d1400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612112565b612097848484612539565b6120a18484612626565b6120aa8461270d565b60006120b78486856127b0565b905080156120d6576120c98183613806565b91506120d68530836129ee565b60006120e3868686612b31565b90508015612104576120f58184613806565b92506121048661dead836129ee565b61210f868685612ccc565b50505b6118a88484836129ee565b60065460405163a9059cbb60e01b815260006004820152602481018390526001600160a01b039091169063a9059cbb906044016020604051808303816000875af115801561216f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121939190613819565b506040518181527f781a9d251db551fc7922f7facbbe49bc3fd61d3e236a8dafa34afd0539ebfa72906020016110bf565b6006546040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b037f000000000000000000000000afb979d9afad1ad27c5eff4e27226e3ab9e5dcc981166004830152602482018490529091169063095ea7b3906044016020604051808303816000875af1158015612250573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122749190613819565b506006546007546000916122e4917f000000000000000000000000cf63a6a789ccd2a416491830d6a4e3964b3b8b51916001600160a01b0316907f000000000000000000000000afb979d9afad1ad27c5eff4e27226e3ab9e5dcc99086906122df9062015180613769565b612d95565b90507fc5ee8f43592edc71599ac13d277d2800a8c3a613a7ea15e3f8566057e1922b9e82600754620151806123199190613769565b6040805192835260208301919091528101839052606001610f07565b6000807f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612396573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123ba91906137d0565b90506000806001600160a01b03831630106123d65782306123d9565b30835b915091507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561243b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061245f91906137d0565b6040516bffffffffffffffffffffffff19606085811b8216602084015284901b166034820152604801604051602081830303815290604052805190602001206040516020016125189291907fff00000000000000000000000000000000000000000000000000000000000000815260609290921b6bffffffffffffffffffffffff1916600183015260158201527f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f603582015260550190565b6040516020818303038152906040528051906020012060001c935050505090565b612541610e15565b801561254e5750600f5415155b80156125dd57506001600160a01b03831660009081526016602052604090205460ff16801561259657506001600160a01b03821660009081526017602052604090205460ff16155b806125dd57506001600160a01b03821660009081526016602052604090205460ff1680156125dd57506001600160a01b03831660009081526017602052604090205460ff16155b1561104c576125ed600f54612ef6565b81111561104c576040517f7f4b310900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000015610fbc576000612656610e88565b90506000819050600061271060105461266e60025490565b6126789190613769565b6126829190613780565b905061269085858484612f07565b15612706576006805460ff60b01b1916600160b01b1790554360009081526014602052604081208054600192906126c890849061371c565b909155506126d99050601482613769565b8211156126ee576126eb601482613769565b91505b6126f88284612fe8565b6006805460ff60b01b191690555b5050505050565b6001600160a01b03811660009081526016602052604090205460ff1615610ea457326000908152601560209081526040808320438452909152902054600111612782576040517f01ae70bf00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b32600090815260156020908152604080832043845290915281208054916127a883613836565b919050555050565b60007f000000000000000000000000000000000000000000000000000000000000000080156127e95750600654600160b01b900460ff16155b15610e0e576001600160a01b03841660009081526016602052604090205460ff16801561281d5750600061281b610d27565b115b801561284257506001600160a01b03831660009081526018602052604090205460ff16155b156128ed57600b5415612894576000612710600b54846128629190613769565b61286c9190613780565b90508060126000828254612880919061371c565b909155506128909050818361371c565b9150505b600061289e6117ee565b905080156128e75760006127106128b58386613769565b6128bf9190613780565b905080601360008282546128d3919061371c565b909155506128e39050818461371c565b9250505b50610e0e565b6001600160a01b03831660009081526016602052604090205460ff16801561291c5750600061291a61151c565b115b801561294157506001600160a01b03841660009081526018602052604090205460ff16155b15610e0e57600a5415612993576000612710600a54846129619190613769565b61296b9190613780565b9050806012600082825461297f919061371c565b9091555061298f9050818361371c565b9150505b600061299d610f13565b905080156129e65760006127106129b48386613769565b6129be9190613780565b905080601360008282546129d2919061371c565b909155506129e29050818461371c565b9250505b509392505050565b6001600160a01b038316612a19578060026000828254612a0e919061371c565b90915550612aa49050565b6001600160a01b03831660009081526020819052604090205481811015612a85576040517fe450d38c0000000000000000000000000000000000000000000000000000000081526001600160a01b0385166004820152602481018290526044810183905260640161157a565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216612ac057600280548290039055612adf565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051612b2491815260200190565b60405180910390a3505050565b60007f000000000000000000000000000000000000000000000000000000000000000015801590612b8157507f000000000000000000000000000000000000000000000000000000000000000015155b8015612b975750600654600160b01b900460ff16155b8015612bbb57506001600160a01b03841660009081526016602052604090205460ff165b8015612be057506001600160a01b03831660009081526018602052604090205460ff16155b15610e0e57600060095443612bf59190613806565b90507f00000000000000000000000000000000000000000000000000000000000000008110156129e6576000612c4b827f0000000000000000000000000000000000000000000000000000000000000000613806565b90506000612c997f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000613780565b90506000612ca78284613769565b9050612710612cb68288613769565b612cc09190613780565b98975050505050505050565b612cd4610e15565b8015612ce15750600e5415155b8015612d0657506001600160a01b03821660009081526017602052604090205460ff16155b8015612d2a57506001600160a01b03831660009081526016602052604090205460ff165b1561104c57612d3a600e54612ef6565b6001600160a01b038316600090815260208190526040902054612d5d908361371c565b111561104c576040517f7602d4da00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000612df9604080516101008101825260008082526020808301829052828401829052606083018290526080830182905260a083018290528351808501855282815280820183905260c084015283518085019094528184528301529060e082015290565b3381526001600160a01b0387811660208301526fffffffffffffffffffffffffffffffff8516604080840191909152908716606083015260006080830152805180820190915280612e4b60018661384f565b64ffffffffff9081168252851660209091015260c08201526040517fab167ccc0000000000000000000000000000000000000000000000000000000081526001600160a01b0386169063ab167ccc90612ea8908490600401613874565b6020604051808303816000875af1158015612ec7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612eeb91906137ed565b979650505050505050565b6000610de964174876e8008361371c565b6000818310158015612f235750600654600160b01b900460ff16155b8015612f4857506001600160a01b03851660009081526016602052604090205460ff16155b8015612f8657507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316856001600160a01b031614155b8015612fc457507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316846001600160a01b031614155b8015612fdf5750436000908152601460205260409020546001115b95945050505050565b60408051600280825260608201835247926000929190602083019080368337019050509050308160008151811061302157613021613935565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561309f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130c391906137d0565b816001815181106130d6576130d6613935565b6001600160a01b0392831660209182029290920101527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d1663791ac94785600084306131244261025861371c565b6040518663ffffffff1660e01b815260040161314495949392919061394b565b600060405180830381600087803b15801561315e57600080fd5b505af192505050801561316f575060015b6131ac57604051600581527f60dc41faad9fe4f70f304dcef26d96d71e98ec8e21e4a340921d94dfe46307dc9060200160405180910390a16118a8565b4760006131b98483613806565b9050600085601254836131cc9190613769565b6131d69190613780565b9050600086601354846131e99190613769565b6131f39190613780565b905086881015613259576000878960125461320e9190613769565b6132189190613780565b9050806012600082825461322c9190613806565b9091555061323c9050818a613806565b6013600082825461324d9190613806565b90915550613264915050565b600060138190556012555b811561328257601154613282906001600160a01b03168360006132be565b80156132b4576132b47f00000000000000000000000000000000000000000000000000000000000000008260016132be565b5050505050505050565b60007f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561331e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061334291906137d0565b905060005a61c350116133575761c350613359565b5a5b90506000856001600160a01b0316858390604051600060405180830381858888f193505050503d80600081146133ab576040519150601f19603f3d011682016040523d82523d6000602084013e6133b0565b606091505b505090508061350257826001600160a01b031663d0e30db0866040518263ffffffff1660e01b81526004016000604051808303818588803b1580156133f457600080fd5b505af193505050508015613406575060015b613455577f60dc41faad9fe4f70f304dcef26d96d71e98ec8e21e4a340921d94dfe46307dc8461343757600261343a565b60045b60405160ff90911681526020015b60405180910390a1613502565b60405163a9059cbb60e01b81526001600160a01b0387811660048301526024820187905284169063a9059cbb906044016020604051808303816000875af19250505080156134c0575060408051601f3d908101601f191682019092526134bd91810190613819565b60015b613500577f60dc41faad9fe4f70f304dcef26d96d71e98ec8e21e4a340921d94dfe46307dc846134f157600161343a565b60405160038152602001613448565b505b505050505050565b60006020808352835180602085015260005b818110156135385785810183015185820160400152820161351c565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610ea457600080fd5b6000806040838503121561358157600080fd5b823561358c81613559565b946020939093013593505050565b6000602082840312156135ac57600080fd5b8135610e0e81613559565b6000806000606084860312156135cc57600080fd5b83356135d781613559565b925060208401356135e781613559565b929592945050506040919091013590565b60006020828403121561360a57600080fd5b5035919050565b8015158114610ea457600080fd5b6000806040838503121561363257600080fd5b823561363d81613559565b9150602083013561364d81613611565b809150509250929050565b60008060006060848603121561366d57600080fd5b8335925060208401359150604084013561368681613611565b809150509250925092565b600080604083850312156136a457600080fd5b82359150602083013561364d81613611565b600080604083850312156136c957600080fd5b50508035926020909101359150565b600080604083850312156136eb57600080fd5b82356136f681613559565b9150602083013561364d81613559565b634e487b7160e01b600052601160045260246000fd5b80820180821115610de957610de9613706565b600181811c9082168061374357607f821691505b60208210810361376357634e487b7160e01b600052602260045260246000fd5b50919050565b8082028115828204841417610de957610de9613706565b60008261379d57634e487b7160e01b600052601260045260246000fd5b500490565b6000806000606084860312156137b757600080fd5b8351925060208401519150604084015190509250925092565b6000602082840312156137e257600080fd5b8151610e0e81613559565b6000602082840312156137ff57600080fd5b5051919050565b81810381811115610de957610de9613706565b60006020828403121561382b57600080fd5b8151610e0e81613611565b60006001820161384857613848613706565b5060010190565b64ffffffffff82811682821603908082111561386d5761386d613706565b5092915050565b6000610140820190506001600160a01b038084511683528060208501511660208401526fffffffffffffffffffffffffffffffff60408501511660408401528060608501511660608401525060808301516138d3608084018215159052565b5060a08301516138e760a084018215159052565b5060c083015161390e60c0840182805164ffffffffff908116835260209182015116910152565b5060e083015180516001600160a01b0316610100840152602081015161012084015261386d565b634e487b7160e01b600052603260045260246000fd5b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b8181101561399d5784516001600160a01b031683529383019391830191600101613978565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212203fa5c3443c0c57ea53b9b11946eb76d478a1be0dc72d782ae8ea9428ca3e347864736f6c63430008180033

Verified Source Code Partial Match

Compiler: v0.8.24+commit.e11b9ed9 EVM: paris Optimization: Yes (1000 runs)
MetadropERC20FairLaunchAdapter.sol 2810 lines
//
//          Telegram (not verified): https://t.me/YotsubaKoiwai404
//          Twitter  (verified)    : https://twitter.com/Yotsuba404Erc
//          Website  (not verified): https://www.4chan.org
//
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@                                                                                                @@
// @@   This token was launched using software provided by Metadrop. To learn more or to launch      @@
// @@   your own token, visit: https://metadrop.com. See legal info at the end of this file.         @@
// @@                                                                                                @@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//
// SPDX-License-Identifier: BUSL-1.1
// Metadrop Contracts (v2.1.0)
//
// Sources flattened with hardhat v2.20.1 https://hardhat.org

// File @openzeppelin/contracts/utils/[email protected]

// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

// File @openzeppelin/contracts/access/[email protected]

// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * The initial owner is set to the address provided by the deployer. This can
 * later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev 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.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// File @openzeppelin/contracts/interfaces/[email protected]

// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;

/**
 * @dev Standard ERC20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.
 */
interface IERC20Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC20InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC20InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     * @param allowance Amount of tokens a `spender` is allowed to operate with.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC20InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC20InvalidSpender(address spender);
}

/**
 * @dev Standard ERC721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.
     * Used in balance queries.
     * @param owner Address of the current owner of a token.
     */
    error ERC721InvalidOwner(address owner);

    /**
     * @dev Indicates a `tokenId` whose `owner` is the zero address.
     * @param tokenId Identifier number of a token.
     */
    error ERC721NonexistentToken(uint256 tokenId);

    /**
     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param tokenId Identifier number of a token.
     * @param owner Address of the current owner of a token.
     */
    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC721InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC721InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param tokenId Identifier number of a token.
     */
    error ERC721InsufficientApproval(address operator, uint256 tokenId);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC721InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC721InvalidOperator(address operator);
}

/**
 * @dev Standard ERC1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.
 */
interface IERC1155Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     * @param tokenId Identifier number of a token.
     */
    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC1155InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC1155InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param owner Address of the current owner of a token.
     */
    error ERC1155MissingApprovalForAll(address operator, address owner);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC1155InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC1155InvalidOperator(address operator);

    /**
     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
     * Used in batch transfers.
     * @param idsLength Length of the array of token identifiers
     * @param valuesLength Length of the array of token amounts
     */
    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}

// File @openzeppelin/contracts/token/ERC20/[email protected]

// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the value of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves a `value` amount of tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 value) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the
     * caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the
     * allowance mechanism. `value` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 value) external returns (bool);
}

// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]

// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

// File @openzeppelin/contracts/token/ERC20/[email protected]

// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.20;

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 */
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
    mapping(address account => uint256) private _balances;

    mapping(address account => mapping(address spender => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the default value returned by this function, unless
     * it's overridden.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `value`.
     */
    function transfer(address to, uint256 value) public virtual returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, value);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 value) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, value);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `value`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `value`.
     */
    function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, value);
        _transfer(from, to, value);
        return true;
    }

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _transfer(address from, address to, uint256 value) internal {
        if (from == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        if (to == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(from, to, value);
    }

    /**
     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
     * this function.
     *
     * Emits a {Transfer} event.
     */
    function _update(address from, address to, uint256 value) internal virtual {
        if (from == address(0)) {
            // Overflow check required: The rest of the code assumes that totalSupply never overflows
            _totalSupply += value;
        } else {
            uint256 fromBalance = _balances[from];
            if (fromBalance < value) {
                revert ERC20InsufficientBalance(from, fromBalance, value);
            }
            unchecked {
                // Overflow not possible: value <= fromBalance <= totalSupply.
                _balances[from] = fromBalance - value;
            }
        }

        if (to == address(0)) {
            unchecked {
                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
                _totalSupply -= value;
            }
        } else {
            unchecked {
                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
                _balances[to] += value;
            }
        }

        emit Transfer(from, to, value);
    }

    /**
     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
     * Relies on the `_update` mechanism
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _mint(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(address(0), account, value);
    }

    /**
     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
     * Relies on the `_update` mechanism.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead
     */
    function _burn(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        _update(account, address(0), value);
    }

    /**
     * @dev Sets `value` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     *
     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
     */
    function _approve(address owner, address spender, uint256 value) internal {
        _approve(owner, spender, value, true);
    }

    /**
     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
     *
     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
     * `Approval` event during `transferFrom` operations.
     *
     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
     * true using the following override:
     * ```
     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
     *     super._approve(owner, spender, value, true);
     * }
     * ```
     *
     * Requirements are the same as {_approve}.
     */
    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
        if (owner == address(0)) {
            revert ERC20InvalidApprover(address(0));
        }
        if (spender == address(0)) {
            revert ERC20InvalidSpender(address(0));
        }
        _allowances[owner][spender] = value;
        if (emitEvent) {
            emit Approval(owner, spender, value);
        }
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `value`.
     *
     * Does not update the allowance value in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Does not emit an {Approval} event.
     */
    function _spendAllowance(address owner, address spender, uint256 value) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            if (currentAllowance < value) {
                revert ERC20InsufficientAllowance(spender, currentAllowance, value);
            }
            unchecked {
                _approve(owner, spender, currentAllowance - value, false);
            }
        }
    }
}

// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]

// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Permit.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 *
 * ==== Security Considerations
 *
 * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature
 * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be
 * considered as an intention to spend the allowance in any specific way. The second is that because permits have
 * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should
 * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be
 * generally recommended is:
 *
 * ```solidity
 * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {
 *     try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}
 *     doThing(..., value);
 * }
 *
 * function doThing(..., uint256 value) public {
 *     token.safeTransferFrom(msg.sender, address(this), value);
 *     ...
 * }
 * ```
 *
 * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of
 * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also
 * {SafeERC20-safeTransferFrom}).
 *
 * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so
 * contracts should have entry points that don't rely on permit.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     *
     * CAUTION: See Security Considerations above.
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

// File @openzeppelin/contracts/utils/[email protected]

// OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol)

pragma solidity ^0.8.20;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev The ETH balance of the account is not enough to perform the operation.
     */
    error AddressInsufficientBalance(address account);

    /**
     * @dev There's no code at `target` (it is not a contract).
     */
    error AddressEmptyCode(address target);

    /**
     * @dev A call to an address target failed. The target may have reverted.
     */
    error FailedInnerCall();

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        if (address(this).balance < amount) {
            revert AddressInsufficientBalance(address(this));
        }

        (bool success, ) = recipient.call{value: amount}("");
        if (!success) {
            revert FailedInnerCall();
        }
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason or custom error, it is bubbled
     * up by this function (like regular Solidity function calls). However, if
     * the call reverted with no returned reason, this function reverts with a
     * {FailedInnerCall} error.
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        if (address(this).balance < value) {
            revert AddressInsufficientBalance(address(this));
        }
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target
     * was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an
     * unsuccessful call.
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata
    ) internal view returns (bytes memory) {
        if (!success) {
            _revert(returndata);
        } else {
            // only check if target is a contract if the call was successful and the return data is empty
            // otherwise we already know that it was a contract
            if (returndata.length == 0 && target.code.length == 0) {
                revert AddressEmptyCode(target);
            }
            return returndata;
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the
     * revert reason or with a default {FailedInnerCall} error.
     */
    function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {
        if (!success) {
            _revert(returndata);
        } else {
            return returndata;
        }
    }

    /**
     * @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}.
     */
    function _revert(bytes memory returndata) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert FailedInnerCall();
        }
    }
}

// File @openzeppelin/contracts/token/ERC20/utils/[email protected]

// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.20;

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    /**
     * @dev An operation with an ERC20 token failed.
     */
    error SafeERC20FailedOperation(address token);

    /**
     * @dev Indicates a failed `decreaseAllowance` request.
     */
    error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);

    /**
     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value)));
    }

    /**
     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
     */
    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value)));
    }

    /**
     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 oldAllowance = token.allowance(address(this), spender);
        forceApprove(token, spender, oldAllowance + value);
    }

    /**
     * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no
     * value, non-reverting calls are assumed to be successful.
     */
    function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {
        unchecked {
            uint256 currentAllowance = token.allowance(address(this), spender);
            if (currentAllowance < requestedDecrease) {
                revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);
            }
            forceApprove(token, spender, currentAllowance - requestedDecrease);
        }
    }

    /**
     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval
     * to be set to zero before setting it to a non-zero value, such as USDT.
     */
    function forceApprove(IERC20 token, address spender, uint256 value) internal {
        bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value));

        if (!_callOptionalReturnBool(token, approvalCall)) {
            _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0)));
            _callOptionalReturn(token, approvalCall);
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data);
        if (returndata.length != 0 && !abi.decode(returndata, (bool))) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     *
     * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.
     */
    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false
        // and not revert is the subcall reverts.

        (bool success, bytes memory returndata) = address(token).call(data);
        return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && address(token).code.length > 0;
    }
}

// File @uniswap/v2-periphery/contracts/interfaces/[email protected]

pragma solidity >=0.6.2;

interface IUniswapV2Router01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

// File @uniswap/v2-periphery/contracts/interfaces/[email protected]

pragma solidity >=0.6.2;

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

// File contracts/erc20/deploy/v1/IMetadropERC20.sol

pragma solidity 0.8.24;

interface IMetadropERC20 is IERC20, IERC20Metadata {
  error LimitCannotBeChanged();
  error LimitMustBeHigherOrUnchanged();
  error LimitTooHigh();
  error InitialLiquidityNotYetAdded();
  error TransferFailed();
  error MaxTokensPerWalletExceeded();
  error IncorrectETHValueProvided();
  error DeductionsOnBuyExceedOrEqualOneHundredPercent();
  error AutoswapThresholdTooLow();
  error TotalSupplyNotMinted();
  error RecipientsAndAmountsMismatch();
  error CannotPerformDuringAutoswap();
  error NoETHForLiquidityPair();
  error InitialLiquidityAlreadyAdded();
  error InsufficientLockupPeriod();
  error InsufficientTokensForInitialLiquidity();
  error LPTokensBalanceMismatch();
  error LiquidityPoolCannotBeAddressZero();
  error CanOnlyReduce();
  error MaxBuysPerBlockExceeded();
  error MaxTokensPerTransactionExceeded();
  error CannotWithdrawThisToken();
  error AmountExceedsAvailable();
  error PlatformFeeAlreadyDistributed();

  event AutoswapThresholdUpdated(uint256 oldThreshold, uint256 newThreshold);
  event ExternalCallError(uint256 identifier);
  event InitialLiquidityAdded(uint256 tokenA, uint256 tokenB, uint256 lpToken);

  event MaxTokensPerWalletLimitUpdated(uint256 previousLimit, uint256 newLimit);
  event MaxTokensPerTransactionLimitUpdated(
    uint256 previousLimit,
    uint256 newLimit
  );
  event LiquidityLocked(
    uint256 lpTokens,
    uint256 lpLockupInDays,
    uint256 streamId
  );
  event LiquidityBurned(uint256 lpTokens);
  event LiquidityPoolCreated(address addedPool);
  event LiquidityPoolAddressUpdated(address account, bool isLiquidityPool);
  event TaxExemptAddressUpdated(address account, bool isTaxExempt);
  event MetadropTaxBasisPointsChanged(
    uint256 oldBuyBasisPoints,
    uint256 newBuyBasisPoints,
    uint256 oldSellBasisPoints,
    uint256 newSellBasisPoints
  );
  event ProjectTaxBasisPointsChanged(
    uint256 oldBuyBasisPoints,
    uint256 newBuyBasisPoints,
    uint256 oldSellBasisPoints,
    uint256 newSellBasisPoints
  );
  event ProjectTaxRecipientUpdated(address treasury);
  event UnlimitedAddressUpdated(address account, bool isUnlimited);
  event PlatformFeeDistributed();

  struct ERC20BaseParams {
    string name;
    string symbol;
    address metadropTreasury;
    address initialOwner;
    address uniswapV2Router;
    address tokenVault;
    uint256 totalSupply;
    uint256 deploymentFee;
    address[] supplyRecipients;
    uint256[] supplyAmounts;
  }

  struct ERC20LiquidityParams {
    address lpOwner;
  }

  struct ERC20AutoburnParams {
    uint256 autoBurnDurationInBlocks;
    uint256 autoBurnBasisPoints;
  }

  struct ERC20LaunchPoolParams {
    address launchPoolFactory;
    uint256 launchPoolSupply;
  }

  struct ERC20LimitParams {
    uint256 limitProtectionDurationInSeconds;
    uint256 maxTokensPerTransaction;
    uint256 maxTokensPerWallet;
  }

  struct ERC20TaxParams {
    uint256 projectBuyTaxBasisPoints;
    uint256 projectSellTaxBasisPoints;
    uint256 autoswapThresholdBasisPoints;
    uint256 metadropBuyTaxBasisPoints;
    uint256 metadropSellTaxBasisPoints;
    uint2...

// [truncated — 100789 bytes total]

Read Contract

allowance 0xdd62ed3e → uint256
autoBurnBasisPoints 0x390a168f → uint256
autoBurnDurationInBlocks 0x18f490cf → uint256
autoswapThresholdBasisPoints 0x32058999 → uint256
balanceOf 0x70a08231 → uint256
burnLPTokens 0xbb88603c → bool
decimals 0x313ce567 → uint8
fairLaunch 0x94e1cf96 → address
fundedBlock 0x60f47d5f → uint256
fundedDate 0x10b828c9 → uint256
getMetadropBuyTaxBasisPoints 0x63854565 → uint256
getMetadropSellTaxBasisPoints 0xfe6a0bbf → uint256
initialLiquidityAdded 0x73bd699a → bool
isLiquidityPool 0xe85455d7 → bool
isTaxExempt 0x16c2be6b → bool
isUnlimited 0xa35b4cef → bool
limitProtectionDurationInSeconds 0x75220b9f → uint256
limitsEnforced 0x29c6b348 → bool
lpLockupInDays 0xeb95ca70 → uint256
lpOwner 0xf444324b → address
lpSupply 0x3b22fc03 → uint256
maxTokensPerTransaction 0xf85aff94 → uint256
maxTokensPerWallet 0x469132ce → uint256
metadropBuyTaxBasisPoints 0x8c804321 → uint256
metadropBuyTaxProportionBasisPoints 0xa0aaf248 → uint256
metadropMinBuyTaxBasisPoints 0xbe841baa → uint256
metadropMinSellTaxBasisPoints 0xb9230611 → uint256
metadropSellTaxBasisPoints 0x36520ace → uint256
metadropSellTaxProportionBasisPoints 0x25100bd4 → uint256
metadropTaxPendingSwap 0x6edb9a91 → uint256
metadropTaxPeriodInDays 0xb2e9cb38 → uint256
metadropTaxRecipient 0x5b8e7979 → address
metadropTreasury 0x0e03f414 → address
name 0x06fdde03 → string
owner 0x8da5cb5b → address
platformFeeDistributed 0x374a4a70 → bool
projectBuyTaxBasisPoints 0xa45cae02 → uint256
projectSellTaxBasisPoints 0xb2c5c9eb → uint256
projectTaxPendingSwap 0xb0d75097 → uint256
projectTaxRecipient 0xea8b2424 → address
symbol 0x95d89b41 → string
tokenVault 0x5bc789d9 → address
totalBuyTaxBasisPoints 0xeeae0f97 → uint256
totalSellTaxBasisPoints 0x038272b6 → uint256
totalSupply 0x18160ddd → uint256
totalTaxPendingSwap 0x3e4e9e5d → uint256
uniswapV2Pair 0x49bd5a5e → address
uniswapV2Router 0x1694505e → address
x_META_ID_HASH 0x1b5e609b → bytes32

Write Contract 17 functions

These functions modify contract state and require a wallet transaction to execute.

addInitialLiquidity 0x93bf5705
uint256
uint256
bool
addInitialLiquidity 0xb6585dc6
uint256
bool
approve 0x095ea7b3
address spender
uint256 value
returns: bool
burn 0x42966c68
uint256 amount_
burnFrom 0x79cc6790
address from_
uint256 amount_
distributePlatformFee 0xdd604f1e
No parameters
renounceOwnership 0x715018a6
No parameters
setAutoswapThresholdBasisPoints 0xe3ab3b14
uint256 autoswapThresholdBasisPoints_
setIsLiquidityPool 0xad5f5d80
address address_
bool isLiquidityPool_
setIsTaxExempt 0x5b4f638d
address address_
bool isTaxExempt_
setIsUnlimited 0x780850b9
address address_
bool isUnlimited_
setLimits 0xc4590d3f
uint256 newMaxTokensPerTransaction_
uint256 newMaxTokensPerWallet_
setProjectTaxRates 0xfe4522b0
uint256 newProjectBuyTaxBasisPoints_
uint256 newProjectSellTaxBasisPoints_
setProjectTaxRecipient 0x9808751d
address projectTaxRecipient_
transfer 0xa9059cbb
address to
uint256 value
returns: bool
transferFrom 0x23b872dd
address from
address to
uint256 value
returns: bool
transferOwnership 0xf2fde38b
address newOwner

Recent Transactions

This address has 1 on-chain transactions, but only 1.3% of the chain is indexed. Transactions will appear as indexing progresses. View on Etherscan →