Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
Latest 15 from a total of 15 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw | 17125903 | 635 days ago | IN | 0 ETH | 0.00102285 | ||||
Buy Honey Stash | 17054245 | 645 days ago | IN | 0.03 ETH | 0.00110546 | ||||
Buy Honey Stash | 17054242 | 645 days ago | IN | 0.03 ETH | 0.0011733 | ||||
Buy Honey Stash | 17054240 | 645 days ago | IN | 0.03 ETH | 0.00107833 | ||||
Buy Honey Stash | 17054234 | 645 days ago | IN | 0.03 ETH | 0.00110933 | ||||
Buy Honey Stash | 17054231 | 645 days ago | IN | 0.03 ETH | 0.00118612 | ||||
Buy Honey Stash | 17054228 | 645 days ago | IN | 0.03 ETH | 0.00109705 | ||||
Buy Honey Stash | 17054214 | 645 days ago | IN | 0.03 ETH | 0.00116495 | ||||
Buy Honey Stash | 17054212 | 645 days ago | IN | 0.03 ETH | 0.00112353 | ||||
Buy Honey Stash | 17054210 | 645 days ago | IN | 0.03 ETH | 0.00155994 | ||||
Buy Honey Jar | 16841660 | 675 days ago | IN | 0.015 ETH | 0.00181658 | ||||
Buy Honey Pot | 16799891 | 681 days ago | IN | 0.0075 ETH | 0.00147503 | ||||
Buy Honey Stash | 16799426 | 681 days ago | IN | 0.03 ETH | 0.00165073 | ||||
Buy Honey Stash | 16799128 | 681 days ago | IN | 0.03 ETH | 0.00324398 | ||||
Buy Honey Jar | 16799044 | 681 days ago | IN | 0.015 ETH | 0.00251506 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
17125903 | 635 days ago | 0.3675 ETH |
Loading...
Loading
Contract Name:
HoneyExchange
Compiler Version
v0.8.18+commit.87f61d96
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; interface IERC20 { function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint256 amount) external returns (bool); } contract HoneyExchange { using SafeMath for uint256; // Declare HoneyToken contract variable IERC20 private honeyToken; // Declare exchange rates for each option in wei uint256 public honeyPotPrice = 7500000000000000; uint256 public honeyJarPrice = 15000000000000000; uint256 public honeyStashPrice = 30000000000000000; // Declare exchange rate for HNY tokens in wei uint256 public exchangeRate = 6666666; // Set owner address address private owner; // Modifier to check that caller is owner modifier onlyOwner { require(msg.sender == owner, "Only the contract owner can call this function"); _; } // Constructor function constructor(address honeyTokenAddress) { honeyToken = IERC20(honeyTokenAddress); owner = msg.sender; } // Buy Honey Pot option function buyHoneyPot() payable public { require(msg.value == honeyPotPrice, "Incorrect amount of ether sent"); uint256 tokenAmount = honeyPotPrice.mul(exchangeRate); require(tokenAmount <= honeyToken.balanceOf(address(this)), "Contract does not have enough tokens"); honeyToken.transfer(msg.sender, tokenAmount); } // Buy Honey Jar option function buyHoneyJar() payable public { require(msg.value == honeyJarPrice, "Incorrect amount of ether sent"); uint256 tokenAmountBefore = honeyJarPrice.mul(exchangeRate); uint256 bonusTokens = tokenAmountBefore.mul(10).div(100); // Calculate 10% bonus uint256 tokenAmount = tokenAmountBefore.add(bonusTokens); // Add bonus tokens require(tokenAmount <= honeyToken.balanceOf(address(this)), "Contract does not have enough tokens"); honeyToken.transfer(msg.sender, tokenAmount); } // Buy Honey Stash option function buyHoneyStash() payable public { require(msg.value == honeyStashPrice, "Incorrect amount of ether sent"); uint256 tokenAmountBefore = honeyStashPrice.mul(exchangeRate); uint256 bonusTokens = tokenAmountBefore.mul(20).div(100); // Calculate 20% bonus uint256 tokenAmount = tokenAmountBefore.add(bonusTokens); // Add bonus tokens require(tokenAmount <= honeyToken.balanceOf(address(this)), "Contract does not have enough tokens"); honeyToken.transfer(msg.sender, tokenAmount); } // Owner-only function to update exchange rate function setExchangeRate(uint256 newRate) public onlyOwner { exchangeRate = newRate; } // Owner-only function to update Honey Pot price function setHoneyPotPrice(uint256 newPrice) public onlyOwner { honeyPotPrice = newPrice; } // Owner-only function to update Honey Jar price function setHoneyJarPrice(uint256 newPrice) public onlyOwner { honeyJarPrice = newPrice; } // Owner-only function to update Honey Stash price function setHoneyStashPrice(uint256 newPrice) public onlyOwner { honeyStashPrice = newPrice; } // Owner-only function to withdraw ether from contract function withdraw() public onlyOwner { uint256 balance = address(this).balance; payable(msg.sender).transfer(balance); } // Owner-only function to withdraw HNY tokens from contract function withdrawHny() public onlyOwner { uint256 balance = honeyToken.balanceOf(address(this)); require(balance > 0, "Contract does not have any tokens to withdraw"); honeyToken.transfer(owner, balance); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"honeyTokenAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"buyHoneyJar","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"buyHoneyPot","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"buyHoneyStash","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"exchangeRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"honeyJarPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"honeyPotPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"honeyStashPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newRate","type":"uint256"}],"name":"setExchangeRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setHoneyJarPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setHoneyPotPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setHoneyStashPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawHny","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052661aa535d3d0c00060015566354a6ba7a18000600255666a94d74f4300006003556265b9aa6004553480156200003957600080fd5b50604051620015183803806200151883398181016040528101906200005f919062000151565b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555033600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505062000183565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200011982620000ec565b9050919050565b6200012b816200010c565b81146200013757600080fd5b50565b6000815190506200014b8162000120565b92915050565b6000602082840312156200016a5762000169620000e7565b5b60006200017a848285016200013a565b91505092915050565b61138580620001936000396000f3fe6080604052600436106100c25760003560e01c8063513561731161007f578063b2d12a9411610059578063b2d12a94146101fd578063db068e0e14610207578063dd44e1a714610230578063f5c416be14610259576100c2565b806351356173146101b35780635bdd4a28146101ca57806395d342bb146101f3576100c2565b806301f2abbf146100c757806302e59331146100f057806336550e0d1461011b5780633ba0b9a9146101465780633ccfd60b14610171578063489216e014610188575b600080fd5b3480156100d357600080fd5b506100ee60048036038101906100e99190610e94565b610263565b005b3480156100fc57600080fd5b506101056102fd565b6040516101129190610ed0565b60405180910390f35b34801561012757600080fd5b50610130610303565b60405161013d9190610ed0565b60405180910390f35b34801561015257600080fd5b5061015b610309565b6040516101689190610ed0565b60405180910390f35b34801561017d57600080fd5b5061018661030f565b005b34801561019457600080fd5b5061019d6103ee565b6040516101aa9190610ed0565b60405180910390f35b3480156101bf57600080fd5b506101c86103f4565b005b3480156101d657600080fd5b506101f160048036038101906101ec9190610e94565b61062a565b005b6101fb6106c4565b005b6102056108e5565b005b34801561021357600080fd5b5061022e60048036038101906102299190610e94565b610ac2565b005b34801561023c57600080fd5b5061025760048036038101906102529190610e94565b610b5c565b005b610261610bf6565b005b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146102f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102ea90610f6e565b60405180910390fd5b8060028190555050565b60015481565b60025481565b60045481565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461039f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161039690610f6e565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156103ea573d6000803e3d6000fd5b5050565b60035481565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610484576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161047b90610f6e565b60405180910390fd5b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016104e09190610fcf565b602060405180830381865afa1580156104fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105219190610fff565b905060008111610566576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161055d9061109e565b60405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b81526004016105e39291906110be565b6020604051808303816000875af1158015610602573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610626919061111f565b5050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146106ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106b190610f6e565b60405180910390fd5b8060038190555050565b6003543414610708576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ff90611198565b60405180910390fd5b6000610721600454600354610e1790919063ffffffff16565b9050600061074c606461073e601485610e1790919063ffffffff16565b610e2d90919063ffffffff16565b905060006107638284610e4390919063ffffffff16565b905060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016107be9190610fcf565b602060405180830381865afa1580156107db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ff9190610fff565b811115610841576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108389061122a565b60405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b815260040161089c9291906110be565b6020604051808303816000875af11580156108bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108df919061111f565b50505050565b6001543414610929576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092090611198565b60405180910390fd5b6000610942600454600154610e1790919063ffffffff16565b905060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161099d9190610fcf565b602060405180830381865afa1580156109ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109de9190610fff565b811115610a20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a179061122a565b60405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401610a7b9291906110be565b6020604051808303816000875af1158015610a9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610abe919061111f565b5050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4990610f6e565b60405180910390fd5b8060048190555050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610bec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be390610f6e565b60405180910390fd5b8060018190555050565b6002543414610c3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3190611198565b60405180910390fd5b6000610c53600454600254610e1790919063ffffffff16565b90506000610c7e6064610c70600a85610e1790919063ffffffff16565b610e2d90919063ffffffff16565b90506000610c958284610e4390919063ffffffff16565b905060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610cf09190610fcf565b602060405180830381865afa158015610d0d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d319190610fff565b811115610d73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6a9061122a565b60405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401610dce9291906110be565b6020604051808303816000875af1158015610ded573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e11919061111f565b50505050565b60008183610e259190611279565b905092915050565b60008183610e3b91906112ea565b905092915050565b60008183610e51919061131b565b905092915050565b600080fd5b6000819050919050565b610e7181610e5e565b8114610e7c57600080fd5b50565b600081359050610e8e81610e68565b92915050565b600060208284031215610eaa57610ea9610e59565b5b6000610eb884828501610e7f565b91505092915050565b610eca81610e5e565b82525050565b6000602082019050610ee56000830184610ec1565b92915050565b600082825260208201905092915050565b7f4f6e6c792074686520636f6e7472616374206f776e65722063616e2063616c6c60008201527f20746869732066756e6374696f6e000000000000000000000000000000000000602082015250565b6000610f58602e83610eeb565b9150610f6382610efc565b604082019050919050565b60006020820190508181036000830152610f8781610f4b565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610fb982610f8e565b9050919050565b610fc981610fae565b82525050565b6000602082019050610fe46000830184610fc0565b92915050565b600081519050610ff981610e68565b92915050565b60006020828403121561101557611014610e59565b5b600061102384828501610fea565b91505092915050565b7f436f6e747261637420646f6573206e6f74206861766520616e7920746f6b656e60008201527f7320746f20776974686472617700000000000000000000000000000000000000602082015250565b6000611088602d83610eeb565b91506110938261102c565b604082019050919050565b600060208201905081810360008301526110b78161107b565b9050919050565b60006040820190506110d36000830185610fc0565b6110e06020830184610ec1565b9392505050565b60008115159050919050565b6110fc816110e7565b811461110757600080fd5b50565b600081519050611119816110f3565b92915050565b60006020828403121561113557611134610e59565b5b60006111438482850161110a565b91505092915050565b7f496e636f727265637420616d6f756e74206f662065746865722073656e740000600082015250565b6000611182601e83610eeb565b915061118d8261114c565b602082019050919050565b600060208201905081810360008301526111b181611175565b9050919050565b7f436f6e747261637420646f6573206e6f74206861766520656e6f75676820746f60008201527f6b656e7300000000000000000000000000000000000000000000000000000000602082015250565b6000611214602483610eeb565b915061121f826111b8565b604082019050919050565b6000602082019050818103600083015261124381611207565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061128482610e5e565b915061128f83610e5e565b925082820261129d81610e5e565b915082820484148315176112b4576112b361124a565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006112f582610e5e565b915061130083610e5e565b9250826113105761130f6112bb565b5b828204905092915050565b600061132682610e5e565b915061133183610e5e565b92508282019050808211156113495761134861124a565b5b9291505056fea264697066735822122015365f4019cae70592c8a8d786986dc6323b4605c02990f6e159ce7c24c61a9764736f6c634300081200330000000000000000000000006ca0269dca415313256cfecd818f32c5aff0a518
Deployed Bytecode
0x6080604052600436106100c25760003560e01c8063513561731161007f578063b2d12a9411610059578063b2d12a94146101fd578063db068e0e14610207578063dd44e1a714610230578063f5c416be14610259576100c2565b806351356173146101b35780635bdd4a28146101ca57806395d342bb146101f3576100c2565b806301f2abbf146100c757806302e59331146100f057806336550e0d1461011b5780633ba0b9a9146101465780633ccfd60b14610171578063489216e014610188575b600080fd5b3480156100d357600080fd5b506100ee60048036038101906100e99190610e94565b610263565b005b3480156100fc57600080fd5b506101056102fd565b6040516101129190610ed0565b60405180910390f35b34801561012757600080fd5b50610130610303565b60405161013d9190610ed0565b60405180910390f35b34801561015257600080fd5b5061015b610309565b6040516101689190610ed0565b60405180910390f35b34801561017d57600080fd5b5061018661030f565b005b34801561019457600080fd5b5061019d6103ee565b6040516101aa9190610ed0565b60405180910390f35b3480156101bf57600080fd5b506101c86103f4565b005b3480156101d657600080fd5b506101f160048036038101906101ec9190610e94565b61062a565b005b6101fb6106c4565b005b6102056108e5565b005b34801561021357600080fd5b5061022e60048036038101906102299190610e94565b610ac2565b005b34801561023c57600080fd5b5061025760048036038101906102529190610e94565b610b5c565b005b610261610bf6565b005b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146102f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102ea90610f6e565b60405180910390fd5b8060028190555050565b60015481565b60025481565b60045481565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461039f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161039690610f6e565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156103ea573d6000803e3d6000fd5b5050565b60035481565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610484576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161047b90610f6e565b60405180910390fd5b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016104e09190610fcf565b602060405180830381865afa1580156104fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105219190610fff565b905060008111610566576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161055d9061109e565b60405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b81526004016105e39291906110be565b6020604051808303816000875af1158015610602573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610626919061111f565b5050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146106ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106b190610f6e565b60405180910390fd5b8060038190555050565b6003543414610708576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ff90611198565b60405180910390fd5b6000610721600454600354610e1790919063ffffffff16565b9050600061074c606461073e601485610e1790919063ffffffff16565b610e2d90919063ffffffff16565b905060006107638284610e4390919063ffffffff16565b905060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016107be9190610fcf565b602060405180830381865afa1580156107db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ff9190610fff565b811115610841576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108389061122a565b60405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b815260040161089c9291906110be565b6020604051808303816000875af11580156108bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108df919061111f565b50505050565b6001543414610929576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092090611198565b60405180910390fd5b6000610942600454600154610e1790919063ffffffff16565b905060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161099d9190610fcf565b602060405180830381865afa1580156109ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109de9190610fff565b811115610a20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a179061122a565b60405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401610a7b9291906110be565b6020604051808303816000875af1158015610a9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610abe919061111f565b5050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4990610f6e565b60405180910390fd5b8060048190555050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610bec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be390610f6e565b60405180910390fd5b8060018190555050565b6002543414610c3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3190611198565b60405180910390fd5b6000610c53600454600254610e1790919063ffffffff16565b90506000610c7e6064610c70600a85610e1790919063ffffffff16565b610e2d90919063ffffffff16565b90506000610c958284610e4390919063ffffffff16565b905060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610cf09190610fcf565b602060405180830381865afa158015610d0d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d319190610fff565b811115610d73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6a9061122a565b60405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401610dce9291906110be565b6020604051808303816000875af1158015610ded573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e11919061111f565b50505050565b60008183610e259190611279565b905092915050565b60008183610e3b91906112ea565b905092915050565b60008183610e51919061131b565b905092915050565b600080fd5b6000819050919050565b610e7181610e5e565b8114610e7c57600080fd5b50565b600081359050610e8e81610e68565b92915050565b600060208284031215610eaa57610ea9610e59565b5b6000610eb884828501610e7f565b91505092915050565b610eca81610e5e565b82525050565b6000602082019050610ee56000830184610ec1565b92915050565b600082825260208201905092915050565b7f4f6e6c792074686520636f6e7472616374206f776e65722063616e2063616c6c60008201527f20746869732066756e6374696f6e000000000000000000000000000000000000602082015250565b6000610f58602e83610eeb565b9150610f6382610efc565b604082019050919050565b60006020820190508181036000830152610f8781610f4b565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610fb982610f8e565b9050919050565b610fc981610fae565b82525050565b6000602082019050610fe46000830184610fc0565b92915050565b600081519050610ff981610e68565b92915050565b60006020828403121561101557611014610e59565b5b600061102384828501610fea565b91505092915050565b7f436f6e747261637420646f6573206e6f74206861766520616e7920746f6b656e60008201527f7320746f20776974686472617700000000000000000000000000000000000000602082015250565b6000611088602d83610eeb565b91506110938261102c565b604082019050919050565b600060208201905081810360008301526110b78161107b565b9050919050565b60006040820190506110d36000830185610fc0565b6110e06020830184610ec1565b9392505050565b60008115159050919050565b6110fc816110e7565b811461110757600080fd5b50565b600081519050611119816110f3565b92915050565b60006020828403121561113557611134610e59565b5b60006111438482850161110a565b91505092915050565b7f496e636f727265637420616d6f756e74206f662065746865722073656e740000600082015250565b6000611182601e83610eeb565b915061118d8261114c565b602082019050919050565b600060208201905081810360008301526111b181611175565b9050919050565b7f436f6e747261637420646f6573206e6f74206861766520656e6f75676820746f60008201527f6b656e7300000000000000000000000000000000000000000000000000000000602082015250565b6000611214602483610eeb565b915061121f826111b8565b604082019050919050565b6000602082019050818103600083015261124381611207565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061128482610e5e565b915061128f83610e5e565b925082820261129d81610e5e565b915082820484148315176112b4576112b361124a565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006112f582610e5e565b915061130083610e5e565b9250826113105761130f6112bb565b5b828204905092915050565b600061132682610e5e565b915061133183610e5e565b92508282019050808211156113495761134861124a565b5b9291505056fea264697066735822122015365f4019cae70592c8a8d786986dc6323b4605c02990f6e159ce7c24c61a9764736f6c63430008120033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000006ca0269dca415313256cfecd818f32c5aff0a518
-----Decoded View---------------
Arg [0] : honeyTokenAddress (address): 0x6ca0269dca415313256cfecD818F32c5AfF0A518
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000006ca0269dca415313256cfecd818f32c5aff0a518
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.