0 txs
0 calls
constructor
constructor(address _buyer, address _seller, address _vestingContract, uint256 _weth_amount, uint256 _degen_amount, address _wethAddress, address _degenAddress)
functions
BUYER
viewfunction BUYER() view returns (address)
DEGEN_AMOUNT
viewfunction DEGEN_AMOUNT() view returns (uint256)
DEGEN
viewfunction DEGEN() view returns (address)
hasRun
viewfunction hasRun() view returns (bool)
owner
viewfunction owner() view returns (address)
SELLER
viewfunction SELLER() view returns (address)
VESTING_CONTRACT
viewfunction VESTING_CONTRACT() view returns (address)
WETH_AMOUNT
viewfunction WETH_AMOUNT() view returns (uint256)
WETH
viewfunction WETH() view returns (address)
recoverWeth
nonpayablefunction recoverWeth()
renounceOwnership
nonpayablefunction renounceOwnership()
revoke
nonpayablefunction revoke()
swap
nonpayablefunction swap()
transferOwnership
nonpayablefunction transferOwnership(address newOwner)
events
OwnershipTransferred
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
VestingDeployed
event VestingDeployed(address indexed vesting)
errors
AddressEmptyCode
error AddressEmptyCode(address target)
AddressInsufficientBalance
error AddressInsufficientBalance(address account)
FailedInnerCall
error FailedInnerCall()
InsufficientDegen
error InsufficientDegen()
OwnableInvalidOwner
error OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount
error OwnableUnauthorizedAccount(address account)
SafeERC20FailedOperation
error SafeERC20FailedOperation(address token)
SwapAlreadyExecuted
error SwapAlreadyExecuted()
creation bytecode
0x6101606040523480156200001257600080fd5b506040516200102138038062001021833981016040819052620000359162000117565b33806200005c57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6200006781620000aa565b506001600160a01b0396871660c05294861660e05292851661010052610120919091526101405282166080521660a0526000805460ff60a01b191690556200019a565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146200011257600080fd5b919050565b600080600080600080600060e0888a0312156200013357600080fd5b6200013e88620000fa565b96506200014e60208901620000fa565b95506200015e60408901620000fa565b945060608801519350608088015192506200017c60a08901620000fa565b91506200018c60c08901620000fa565b905092959891949750929550565b60805160a05160c05160e051610100516101205161014051610daf620002726000396000818160f40152818161039e01526105570152600081816101b3015281816104d601526105d801526000818161012e015281816105360152610616015260008181610256015281816105b70152610875015260008181610200015281816104b4015261075601526000818161017a015281816103d501528181610514015281816107b7015261085301526000818161022701528181610492015281816105950152818161069801526107340152610daf6000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c806393f519f11161008c578063b6549f7511610066578063b6549f7514610249578063bca93eba14610251578063e94c161414610278578063f2fde38b146102ad57600080fd5b806393f519f1146101f3578063a8fa2987146101fb578063ad5c46481461022257600080fd5b8063715018a6116100c8578063715018a61461019c5780638119c065146101a657806383464e22146101ae5780638da5cb5b146101d557600080fd5b806314df5c1d146100ef5780631d255df1146101295780636c639e7514610175575b600080fd5b6101167f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020015b60405180910390f35b6101507f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610120565b6101507f000000000000000000000000000000000000000000000000000000000000000081565b6101a46102c0565b005b6101a46102d4565b6101167f000000000000000000000000000000000000000000000000000000000000000081565b60005473ffffffffffffffffffffffffffffffffffffffff16610150565b6101a461065f565b6101507f000000000000000000000000000000000000000000000000000000000000000081565b6101507f000000000000000000000000000000000000000000000000000000000000000081565b6101a461077e565b6101507f000000000000000000000000000000000000000000000000000000000000000081565b60005461029d9074010000000000000000000000000000000000000000900460ff1681565b6040519015158152602001610120565b6101a46102bb366004610cd9565b61089a565b6102c8610900565b6102d26000610953565b565b6102dc610900565b60005474010000000000000000000000000000000000000000900460ff1615610331576040517fb1137c4c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000001790556040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201527f00000000000000000000000000000000000000000000000000000000000000009073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016906370a0823190602401602060405180830381865afa15801561041c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104409190610d0f565b1015610478576040517fc7a7eb9c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6104fa73ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000167f0000000000000000000000000000000000000000000000000000000000000000307f00000000000000000000000000000000000000000000000000000000000000006109c8565b61057b73ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000167f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000610a57565b6105fc73ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000167f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000610a57565b60405173ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016907fdabc5c96afbe4ae171d0e702a6fe2867f8cd78392c4a5863a07e2b786c38d4d690600090a2565b610667610900565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa1580156106f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107189190610d0f565b905061077b73ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000167f000000000000000000000000000000000000000000000000000000000000000083610a57565b50565b610786610900565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa158015610813573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108379190610d0f565b905061077b73ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000167f000000000000000000000000000000000000000000000000000000000000000083610a57565b6108a2610900565b73ffffffffffffffffffffffffffffffffffffffff81166108f7576040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600060048201526024015b60405180910390fd5b61077b81610953565b60005473ffffffffffffffffffffffffffffffffffffffff1633146102d2576040517f118cdaa70000000000000000000000000000000000000000000000000000000081523360048201526024016108ee565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60405173ffffffffffffffffffffffffffffffffffffffff8481166024830152838116604483015260648201839052610a519186918216906323b872dd906084015b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610a9a565b50505050565b60405173ffffffffffffffffffffffffffffffffffffffff838116602483015260448201839052610a9591859182169063a9059cbb90606401610a0a565b505050565b6000610abc73ffffffffffffffffffffffffffffffffffffffff841683610b30565b90508051600014158015610ae1575080806020019051810190610adf9190610d28565b155b15610a95576040517f5274afe700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff841660048201526024016108ee565b6060610b3e83836000610b45565b9392505050565b606081471015610b83576040517fcd7860590000000000000000000000000000000000000000000000000000000081523060048201526024016108ee565b6000808573ffffffffffffffffffffffffffffffffffffffff168486604051610bac9190610d4a565b60006040518083038185875af1925050503d8060008114610be9576040519150601f19603f3d011682016040523d82523d6000602084013e610bee565b606091505b5091509150610bfe868383610c08565b9695505050505050565b606082610c1d57610c1882610c97565b610b3e565b8151158015610c41575073ffffffffffffffffffffffffffffffffffffffff84163b155b15610c90576040517f9996b31500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff851660048201526024016108ee565b5080610b3e565b805115610ca75780518082602001fd5b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060208284031215610ceb57600080fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610b3e57600080fd5b600060208284031215610d2157600080fd5b5051919050565b600060208284031215610d3a57600080fd5b81518015158114610b3e57600080fd5b6000825160005b81811015610d6b5760208186018101518583015201610d51565b50600092019182525091905056fea2646970667358221220d61907232a64661822d836f523b17adccc11f73a0b532bca76925a58c51821ce64736f6c63430008140033000000000000000000000000d049b3064990869c9f73bd7896271d83325d2067000000000000000000000000704ec5c12ca20a293c2c0b72b22619a4231f3c0d0000000000000000000000007d00d30269fc62ab5fab54418feedbdc71fdb25f00000000000000000000000000000000000000000000001794d673456eec0000000000000000000000000000000000000000000005f8e0123081c42f6ab8000000000000000000000000000042000000000000000000000000000000000000060000000000000000000000004ed4e862860bed51a9570b96d89af5e1b0efefed