0 txs
0 calls
constructor
constructor(address _factory, address _swapRouter)
functions
factory
viewfunction factory() view returns (address)
supportsInterface
purefunction supportsInterface(bytes4 interfaceId) pure returns (bool)
afterCoinDeploy
payablefunction afterCoinDeploy(address sender, address coin, bytes hookData) payable returns (bytes)
events
No events.
errors
AddressZero
error AddressZero()
CoinBalanceNot0
error CoinBalanceNot0(uint256 balance)
Erc20NotReceived
error Erc20NotReceived()
HookNotImplemented
error HookNotImplemented()
InvalidSwapRouterCall
error InvalidSwapRouterCall()
NotFactory
error NotFactory()
SwapReverted
error SwapReverted(bytes error)
creation bytecode
0x60c0346100a957601f6107df38819003918201601f19168301916001600160401b038311848410176100ad5780849260409485528339810103126100a95780516001600160a01b038116918282036100a957602001516001600160a01b03811692908390036100a9571561009a5760805260a05260405161071d90816100c2823960805181818160940152610188015260a051816103ea0152f35b639fabe1c160e01b5f5260045ffd5b5f80fd5b634e487b7160e01b5f52604160045260245ffdfe60806040526004361015610011575f80fd5b5f3560e01c806301ffc9a714610044578063c45a01551461003f5763cdefd1241461003a575f80fd5b6100fe565b61007f565b3461007b57602036600319011261007b5760043563ffffffff60e01b811680910361007b5763337bf44960e21b1460805260206080f35b5f80fd5b3461007b575f36600319011261007b576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b6001600160a01b0381160361007b57565b602060409281835280519182918282860152018484015e5f828201840152601f01601f1916010190565b606036600319011261007b57600435610116816100c3565b60243590610123826100c3565b6044359067ffffffffffffffff821161007b573660238301121561007b5781600401359067ffffffffffffffff821161007b57366024838501011161007b5761017f936024610173940191610183565b604051918291826100d4565b0390f35b5091907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036102cd5760405163e5a6b10f60e01b8152916020836004816001600160a01b0388165afa9283156102c8575f93610297575b5081019060408183031261007b578035906101fe826100c3565b60208101359067ffffffffffffffff821161007b570182601f8201121561007b5780359261022b84610337565b9061023960405192836102f0565b8482526020858401011161007b57610294945f6020866102779782610266970183870137840101526103d0565b9384916001600160a01b03166104f3565b6040805160208101949094528381019190915282526060826102f0565b90565b6102ba91935060203d6020116102c1575b6102b281836102f0565b810190610317565b915f6101e4565b503d6102a8565b61032c565b631966391b60e11b5f5260045ffd5b634e487b7160e01b5f52604160045260245ffd5b90601f8019910116810190811067ffffffffffffffff82111761031257604052565b6102dc565b9081602091031261007b5751610294816100c3565b6040513d5f823e3d90fd5b67ffffffffffffffff811161031257601f01601f191660200190565b3d1561037d573d9061036482610337565b9161037260405193846102f0565b82523d5f602084013e565b606090565b1561038a5750565b604051630735f63760e51b81529081906103a790600483016100d4565b0390fd5b9081602091031261007b575190565b156103c157565b636ff4dde960e01b5f5260045ffd5b91905f80610435926103e18161069f565b805190602001347f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af161042661041f610353565b8092610382565b602080825183010191016103ab565b6040516370a0823160e01b81523060048201529092602090829060249082906001600160a01b03165afa9081156102c85761047a9184915f9161047c575b50146103ba565b565b61049e915060203d6020116104a4575b61049681836102f0565b8101906103ab565b5f610473565b503d61048c565b9081602091031261007b5751801515810361007b5790565b919082604091031261007b576020825192015190565b156104e15750565b63555bbe1d60e11b5f5260045260245ffd5b60405163e5a6b10f60e01b81526001600160a01b039092169392602083600481885afa9283156102c8575f9361067e575b5060405163095ea7b360e01b81526001600160a01b038681166004830152602482018390529093602091859160449183915f91165af19182156102c8576105b293604093610651575b50825163c957180f60e01b81526001600160a01b03909116600482015260248101919091525f60448201819052606482018190526084820152918290819060a4820190565b03815f875af19081156102c8575f91610620575b506040516370a0823160e01b81523060048201529092602090829060249082905afa80156102c85761047a915f91610601575b5080156104d9565b61061a915060203d6020116104a45761049681836102f0565b5f6105f9565b610642915060403d60401161064a575b61063a81836102f0565b8101906104c3565b90505f6105c6565b503d610630565b6106729060203d602011610677575b61066a81836102f0565b8101906104ab565b61056d565b503d610660565b61069891935060203d6020116102c1576102b281836102f0565b915f610524565b602001516001600160e01b03191663b858183f60e01b81149081156106d6575b50156106c757565b63502208f960e11b5f5260045ffd5b6304e45aaf60e01b1490505f6106bf56fea2646970667358221220b4e98621b35ca9dc605fd8089828241de51dc25944de21eccd8b083499bce37d64736f6c634300081c0033000000000000000000000000777777751622c0d3258f214f9df38e35bf45baf30000000000000000000000002626664c2603336e57b271c5c0b26f421741e481