842 txs
802 calls
constructor
constructor(address _swapRouter, address _weth, address _ethx)
functions
ethx
viewfunction ethx() view returns (address)
poolFee
viewfunction poolFee() view returns (uint24)
swapRouter
viewfunction swapRouter() view returns (address)
weth
viewfunction weth() view returns (address)
zap
payablefunction zap(address stremeCoin, uint256 amountIn, uint256 amountOutMin, address stakingContract) payable returns (uint256 amountOut)
zapETHx
payablefunction zapETHx(address stremeCoin, uint256 amountIn, uint256 amountOutMin, address stakingContract) payable returns (uint256 amountOut)
events
No events.
errors
No errors.
creation bytecode
0x60a08060405234610111576060816107f7803803809161001f828561012a565b8339810103126101115780516001600160a01b0381168082036101115760446020928461005b60406100548760009901610163565b9201610163565b60809290925285546001600160a01b039182166001600160a01b031991821617875560018054929093169116811790915560405163095ea7b360e01b8152600481019390935284196024840152919384928391905af1801561011e576100e1575b60405161067f9081610178823960805181818160ac015281816101de01526104570152f35b6020813d602011610116575b816100fa6020938361012a565b8101031261011157518015150361011157386100bc565b600080fd5b3d91506100ed565b6040513d6000823e3d90fd5b601f909101601f19168101906001600160401b0382119082101761014d57604052565b634e487b7160e01b600052604160045260246000fd5b51906001600160a01b03821682036101115756fe608080604052600436101561001357600080fd5b600090813560e01c908163089fe6aa146104c05750806335d88456146103a35780633fc8cef31461037d578063b60347a3146100d0578063c31c9c071461008c5763df9467c31461006357600080fd5b3461008957806003193601126100895760206001600160a01b0360015416604051908152f35b80fd5b503461008957806003193601126100895760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b506101d16100dd366104dc565b906100e983341461051a565b60206001600160a01b0383169485151592836000146103765730955b6001600160a01b0380808c54169460405195610120876105a5565b8652169788868601526127106040860152166060840152608083015260a08201528760c0820152604051809781927f04e45aaf0000000000000000000000000000000000000000000000000000000083526004830191909160c06001600160a01b038160e084019582815116855282602082015116602086015262ffffff60408201511660408601528260608201511660608601526080810151608086015260a081015160a0860152015116910152565b0381346001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000165af194851561036b578695610332575b5061021f575b602084604051908152f35b6040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b0391909116600482015260248101849052906020908290604490829088905af18015610327576102fa575b50803b156102f6576040517fadc9772e000000000000000000000000000000000000000000000000000000008152336004820152602481018390529083908290604490829084905af180156102eb576102d2575b8080610214565b6102dd8380926105f0565b6102e757816102cb565b5080fd5b6040513d85823e3d90fd5b8280fd5b61031b9060203d602011610320575b61031381836105f0565b810190610631565b610277565b503d610309565b6040513d86823e3d90fd5b9094506020813d602011610363575b8161034e602093836105f0565b8101031261035e5751933861020e565b600080fd5b3d9150610341565b6040513d88823e3d90fd5b3395610105565b50346100895780600319360112610089576001600160a01b036020915416604051908152f35b506103ad366104dc565b6103bc8392959493341461051a565b6001600160a01b0360015416803b156104bc5784600491604051928380927fcf81464b00000000000000000000000000000000000000000000000000000000825234905af180156104b15761049d575b5061044a939460206001600160a01b0383169485151592836000146104965730955b6001600160a01b038080600154169460405195610120876105a5565b0381896001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000165af194851561036b578695610332575061021f57602084604051908152f35b339561042e565b936104ab8161044a966105f0565b9361040c565b6040513d87823e3d90fd5b8480fd5b9050346102e757816003193601126102e7578061271060209252f35b600319608091011261035e576004356001600160a01b038116810361035e579060243590604435906064356001600160a01b038116810361035e5790565b1561052157565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f6d73672e76616c7565206d75737420626520657175616c20746f20616d6f756e60448201527f74496e00000000000000000000000000000000000000000000000000000000006064820152fd5b60e0810190811067ffffffffffffffff8211176105c157604052565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff8211176105c157604052565b9081602091031261035e5751801515810361035e579056fea2646970667358221220a064023354e7e44f12758070f3f58b57238ce0981389389563a73a02be206ed364736f6c634300081a00330000000000000000000000002626664c2603336e57b271c5c0b26f421741e481000000000000000000000000420000000000000000000000000000000000000600000000000000000000000046fd5cfb4c12d87acd3a13e92baa53240c661d93