More Info
Private Name Tags
ContractCreator
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
BuildRewardReceiver
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-10-30 */ library SafeMath { /** * @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) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @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 sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @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) { // 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 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts 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) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts 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) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts 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 mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } contract Ownable { address public owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor() internal { owner = msg.sender; emit OwnershipTransferred(address(0), owner); } modifier onlyOwner() { require(isOwner(), "Ownable: caller is not the owner"); _; } function isOwner() public view returns (bool) { return msg.sender == owner; } function renounceOwnership() public onlyOwner { emit OwnershipTransferred(owner, address(0)); owner = address(0); } function transferOwnership(address newOwner) public onlyOwner { _transferOwnership(newOwner); } function _transferOwnership(address newOwner) internal { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(owner, newOwner); owner = newOwner; } } interface IERC20 { function totalSupply() external view returns (uint); function balanceOf(address account) external view returns (uint); function transfer(address recipient, uint amount) external returns (bool); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint amount) external returns (bool); function transferFrom(address sender, address recipient, uint amount) external returns (bool); event Transfer(address indexed from, address indexed to, uint value); event Approval(address indexed owner, address indexed spender, uint value); } interface IUniswapV2Router { function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactTokensForETHSupportingFeeOnTransferTokens( 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 addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); 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 removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); } interface IStakingRewards { function notifyRewardAmount(uint _reward) external; } contract BuildRewardReceiver is Ownable { using SafeMath for uint; IUniswapV2Router public uniswap = IUniswapV2Router(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); IERC20 hype; IERC20 build; IStakingRewards stakingRewards; address public treasury; uint public minReward = 1e14; uint public hypeTreasuryBps = 5000; uint public buildTreasuryBps = 5000; constructor(IERC20 _hype, IERC20 _build, address _treasury) public { hype = _hype; build = _build; treasury = _treasury; } function pushRewards() public { require(address(stakingRewards) != address(0), "stakingRewards not set"); uint hypeReceiverBalance = hype.balanceOf(address(this)); if (hypeReceiverBalance > minReward) { // send 50% of Hype to the treasury for further farms uint hypeTreasuryAmount = hypeReceiverBalance.mul(hypeTreasuryBps).div(10000); hype.transfer(treasury, hypeTreasuryAmount); // swap 50% of Hype to BUILD uint swapAmount = hype.balanceOf(address(this)); address[] memory path = new address[](2); path[0] = address(hype); path[1] = address(build); uint initialBuildBalance = build.balanceOf(address(this)); hype.approve(address(uniswap), uint(-1)); uniswap.swapExactTokensForTokensSupportingFeeOnTransferTokens( swapAmount, 0, path, address(this), block.timestamp.add(1000) ); uint buildBalanceDiff = build.balanceOf(address(this)).sub(initialBuildBalance); // send 50% of BUILD to treasury uint buildTreasuryAmount = buildBalanceDiff.mul(buildTreasuryBps).div(10000); build.transfer(treasury, buildTreasuryAmount); // add 50% of BUILD for staking uint remainingBuild = buildBalanceDiff.sub(buildTreasuryAmount); build.transfer(address(stakingRewards), remainingBuild); stakingRewards.notifyRewardAmount(remainingBuild); } } function setFees(uint _buildTreasuryBps, uint _hypeTreasuryBps) public onlyOwner { buildTreasuryBps = _buildTreasuryBps; hypeTreasuryBps = _hypeTreasuryBps; } function setStakingRewards(IStakingRewards _stakingRewards) public onlyOwner { stakingRewards = _stakingRewards; } function setMinReward(uint _minReward) public onlyOwner { minReward = _minReward; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract IERC20","name":"_hype","type":"address"},{"internalType":"contract IERC20","name":"_build","type":"address"},{"internalType":"address","name":"_treasury","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"buildTreasuryBps","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hypeTreasuryBps","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pushRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buildTreasuryBps","type":"uint256"},{"internalType":"uint256","name":"_hypeTreasuryBps","type":"uint256"}],"name":"setFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minReward","type":"uint256"}],"name":"setMinReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IStakingRewards","name":"_stakingRewards","type":"address"}],"name":"setStakingRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswap","outputs":[{"internalType":"contract IUniswapV2Router","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
6080604052600180546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d179055655af3107a4000600655611388600781905560085534801561004b57600080fd5b50604051610f23380380610f238339818101604052606081101561006e57600080fd5b5080516020820151604092830151600080546001600160a01b031916331780825594519394929391926001600160a01b0316917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3600280546001600160a01b039485166001600160a01b031991821617909155600380549385169382169390931790925560058054919093169116179055610e11806101126000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c80638da5cb5b1161008c578063b6a1cb2b11610066578063b6a1cb2b14610199578063ba16d600146101b6578063d4153ea1146101be578063f2fde38b146101c6576100cf565b80638da5cb5b1461015b5780638f32d59b14610163578063a2ed10131461017f576100cf565b80630b78f9c0146100d45780632681f7e4146100f95780632a167eb81461011d57806361d027b3146101255780636fb83a571461012d578063715018a614610153575b600080fd5b6100f7600480360360408110156100ea57600080fd5b50803590602001356101ec565b005b61010161023e565b604080516001600160a01b039092168252519081900360200190f35b6100f761024d565b6101016108c1565b6100f76004803603602081101561014357600080fd5b50356001600160a01b03166108d0565b6100f7610939565b6101016109ca565b61016b6109d9565b604080519115158252519081900360200190f35b6101876109ea565b60408051918252519081900360200190f35b6100f7600480360360208110156101af57600080fd5b50356109f0565b610187610a3c565b610187610a42565b6100f7600480360360208110156101dc57600080fd5b50356001600160a01b0316610a48565b6101f46109d9565b610233576040805162461bcd60e51b81526020600482018190526024820152600080516020610dbc833981519152604482015290519081900360640190fd5b600891909155600755565b6001546001600160a01b031681565b6004546001600160a01b03166102a3576040805162461bcd60e51b81526020600482015260166024820152751cdd185ada5b99d4995dd85c991cc81b9bdd081cd95d60521b604482015290519081900360640190fd5b600254604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156102ee57600080fd5b505afa158015610302573d6000803e3d6000fd5b505050506040513d602081101561031857600080fd5b50516006549091508111156108be57600061034a61271061034460075485610a9890919063ffffffff16565b90610afa565b6002546005546040805163a9059cbb60e01b81526001600160a01b03928316600482015260248101859052905193945091169163a9059cbb916044808201926020929091908290030181600087803b1580156103a557600080fd5b505af11580156103b9573d6000803e3d6000fd5b505050506040513d60208110156103cf57600080fd5b5050600254604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561041c57600080fd5b505afa158015610430573d6000803e3d6000fd5b505050506040513d602081101561044657600080fd5b5051604080516002808252606080830184529394509091602083019080368337505060025482519293506001600160a01b03169183915060009061048657fe5b6001600160a01b0392831660209182029290920101526003548251911690829060019081106104b157fe5b6001600160a01b03928316602091820292909201810191909152600354604080516370a0823160e01b8152306004820152905160009492909216926370a0823192602480840193829003018186803b15801561050c57600080fd5b505afa158015610520573d6000803e3d6000fd5b505050506040513d602081101561053657600080fd5b50516002546001546040805163095ea7b360e01b81526001600160a01b0392831660048201526000196024820152905193945091169163095ea7b3916044808201926020929091908290030181600087803b15801561059457600080fd5b505af11580156105a8573d6000803e3d6000fd5b505050506040513d60208110156105be57600080fd5b50506001546001600160a01b0316635c11d79584600085306105e2426103e8610b3c565b6040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b03168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b8381101561065257818101518382015260200161063a565b505050509050019650505050505050600060405180830381600087803b15801561067b57600080fd5b505af115801561068f573d6000803e3d6000fd5b5050600354604080516370a0823160e01b8152306004820152905160009450610716935085926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156106e457600080fd5b505afa1580156106f8573d6000803e3d6000fd5b505050506040513d602081101561070e57600080fd5b505190610b96565b9050600061073561271061034460085485610a9890919063ffffffff16565b6003546005546040805163a9059cbb60e01b81526001600160a01b03928316600482015260248101859052905193945091169163a9059cbb916044808201926020929091908290030181600087803b15801561079057600080fd5b505af11580156107a4573d6000803e3d6000fd5b505050506040513d60208110156107ba57600080fd5b50600090506107c98383610b96565b600354600480546040805163a9059cbb60e01b81526001600160a01b039283169381019390935260248301859052519394509091169163a9059cbb916044808201926020929091908290030181600087803b15801561082757600080fd5b505af115801561083b573d6000803e3d6000fd5b505050506040513d602081101561085157600080fd5b50506004805460408051633c6b16ab60e01b8152928301849052516001600160a01b0390911691633c6b16ab91602480830192600092919082900301818387803b15801561089e57600080fd5b505af11580156108b2573d6000803e3d6000fd5b50505050505050505050505b50565b6005546001600160a01b031681565b6108d86109d9565b610917576040805162461bcd60e51b81526020600482018190526024820152600080516020610dbc833981519152604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6109416109d9565b610980576040805162461bcd60e51b81526020600482018190526024820152600080516020610dbc833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031681565b6000546001600160a01b0316331490565b60085481565b6109f86109d9565b610a37576040805162461bcd60e51b81526020600482018190526024820152600080516020610dbc833981519152604482015290519081900360640190fd5b600655565b60065481565b60075481565b610a506109d9565b610a8f576040805162461bcd60e51b81526020600482018190526024820152600080516020610dbc833981519152604482015290519081900360640190fd5b6108be81610bd8565b600082610aa757506000610af4565b82820282848281610ab457fe5b0414610af15760405162461bcd60e51b8152600401808060200182810382526021815260200180610d9b6021913960400191505060405180910390fd5b90505b92915050565b6000610af183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610c78565b600082820183811015610af1576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000610af183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610d1a565b6001600160a01b038116610c1d5760405162461bcd60e51b8152600401808060200182810382526026815260200180610d756026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60008183610d045760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610cc9578181015183820152602001610cb1565b50505050905090810190601f168015610cf65780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581610d1057fe5b0495945050505050565b60008184841115610d6c5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610cc9578181015183820152602001610cb1565b50505090039056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a264697066735822122035d32fb1629d273e6045918cb41b1a7adb3a222c7d16aabb203413b0cff1e49364736f6c634300060c0033000000000000000000000000e1212f852c0ca3491ca6b96081ac3cf40e9890940000000000000000000000006e36556b3ee5aa28def2a8ec3dae30ec2b208739000000000000000000000000df9a17a73308416f555783239573913afb77fa8a
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100cf5760003560e01c80638da5cb5b1161008c578063b6a1cb2b11610066578063b6a1cb2b14610199578063ba16d600146101b6578063d4153ea1146101be578063f2fde38b146101c6576100cf565b80638da5cb5b1461015b5780638f32d59b14610163578063a2ed10131461017f576100cf565b80630b78f9c0146100d45780632681f7e4146100f95780632a167eb81461011d57806361d027b3146101255780636fb83a571461012d578063715018a614610153575b600080fd5b6100f7600480360360408110156100ea57600080fd5b50803590602001356101ec565b005b61010161023e565b604080516001600160a01b039092168252519081900360200190f35b6100f761024d565b6101016108c1565b6100f76004803603602081101561014357600080fd5b50356001600160a01b03166108d0565b6100f7610939565b6101016109ca565b61016b6109d9565b604080519115158252519081900360200190f35b6101876109ea565b60408051918252519081900360200190f35b6100f7600480360360208110156101af57600080fd5b50356109f0565b610187610a3c565b610187610a42565b6100f7600480360360208110156101dc57600080fd5b50356001600160a01b0316610a48565b6101f46109d9565b610233576040805162461bcd60e51b81526020600482018190526024820152600080516020610dbc833981519152604482015290519081900360640190fd5b600891909155600755565b6001546001600160a01b031681565b6004546001600160a01b03166102a3576040805162461bcd60e51b81526020600482015260166024820152751cdd185ada5b99d4995dd85c991cc81b9bdd081cd95d60521b604482015290519081900360640190fd5b600254604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156102ee57600080fd5b505afa158015610302573d6000803e3d6000fd5b505050506040513d602081101561031857600080fd5b50516006549091508111156108be57600061034a61271061034460075485610a9890919063ffffffff16565b90610afa565b6002546005546040805163a9059cbb60e01b81526001600160a01b03928316600482015260248101859052905193945091169163a9059cbb916044808201926020929091908290030181600087803b1580156103a557600080fd5b505af11580156103b9573d6000803e3d6000fd5b505050506040513d60208110156103cf57600080fd5b5050600254604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561041c57600080fd5b505afa158015610430573d6000803e3d6000fd5b505050506040513d602081101561044657600080fd5b5051604080516002808252606080830184529394509091602083019080368337505060025482519293506001600160a01b03169183915060009061048657fe5b6001600160a01b0392831660209182029290920101526003548251911690829060019081106104b157fe5b6001600160a01b03928316602091820292909201810191909152600354604080516370a0823160e01b8152306004820152905160009492909216926370a0823192602480840193829003018186803b15801561050c57600080fd5b505afa158015610520573d6000803e3d6000fd5b505050506040513d602081101561053657600080fd5b50516002546001546040805163095ea7b360e01b81526001600160a01b0392831660048201526000196024820152905193945091169163095ea7b3916044808201926020929091908290030181600087803b15801561059457600080fd5b505af11580156105a8573d6000803e3d6000fd5b505050506040513d60208110156105be57600080fd5b50506001546001600160a01b0316635c11d79584600085306105e2426103e8610b3c565b6040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b03168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b8381101561065257818101518382015260200161063a565b505050509050019650505050505050600060405180830381600087803b15801561067b57600080fd5b505af115801561068f573d6000803e3d6000fd5b5050600354604080516370a0823160e01b8152306004820152905160009450610716935085926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156106e457600080fd5b505afa1580156106f8573d6000803e3d6000fd5b505050506040513d602081101561070e57600080fd5b505190610b96565b9050600061073561271061034460085485610a9890919063ffffffff16565b6003546005546040805163a9059cbb60e01b81526001600160a01b03928316600482015260248101859052905193945091169163a9059cbb916044808201926020929091908290030181600087803b15801561079057600080fd5b505af11580156107a4573d6000803e3d6000fd5b505050506040513d60208110156107ba57600080fd5b50600090506107c98383610b96565b600354600480546040805163a9059cbb60e01b81526001600160a01b039283169381019390935260248301859052519394509091169163a9059cbb916044808201926020929091908290030181600087803b15801561082757600080fd5b505af115801561083b573d6000803e3d6000fd5b505050506040513d602081101561085157600080fd5b50506004805460408051633c6b16ab60e01b8152928301849052516001600160a01b0390911691633c6b16ab91602480830192600092919082900301818387803b15801561089e57600080fd5b505af11580156108b2573d6000803e3d6000fd5b50505050505050505050505b50565b6005546001600160a01b031681565b6108d86109d9565b610917576040805162461bcd60e51b81526020600482018190526024820152600080516020610dbc833981519152604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6109416109d9565b610980576040805162461bcd60e51b81526020600482018190526024820152600080516020610dbc833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031681565b6000546001600160a01b0316331490565b60085481565b6109f86109d9565b610a37576040805162461bcd60e51b81526020600482018190526024820152600080516020610dbc833981519152604482015290519081900360640190fd5b600655565b60065481565b60075481565b610a506109d9565b610a8f576040805162461bcd60e51b81526020600482018190526024820152600080516020610dbc833981519152604482015290519081900360640190fd5b6108be81610bd8565b600082610aa757506000610af4565b82820282848281610ab457fe5b0414610af15760405162461bcd60e51b8152600401808060200182810382526021815260200180610d9b6021913960400191505060405180910390fd5b90505b92915050565b6000610af183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610c78565b600082820183811015610af1576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000610af183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610d1a565b6001600160a01b038116610c1d5760405162461bcd60e51b8152600401808060200182810382526026815260200180610d756026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60008183610d045760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610cc9578181015183820152602001610cb1565b50505050905090810190601f168015610cf65780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581610d1057fe5b0495945050505050565b60008184841115610d6c5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610cc9578181015183820152602001610cb1565b50505090039056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a264697066735822122035d32fb1629d273e6045918cb41b1a7adb3a222c7d16aabb203413b0cff1e49364736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000e1212f852c0ca3491ca6b96081ac3cf40e9890940000000000000000000000006e36556b3ee5aa28def2a8ec3dae30ec2b208739000000000000000000000000df9a17a73308416f555783239573913afb77fa8a
-----Decoded View---------------
Arg [0] : _hype (address): 0xe1212f852c0ca3491CA6b96081Ac3Cf40e989094
Arg [1] : _build (address): 0x6e36556B3ee5Aa28Def2a8EC3DAe30eC2B208739
Arg [2] : _treasury (address): 0xDf9A17a73308416f555783239573913AFb77fA8a
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000e1212f852c0ca3491ca6b96081ac3cf40e989094
Arg [1] : 0000000000000000000000006e36556b3ee5aa28def2a8ec3dae30ec2b208739
Arg [2] : 000000000000000000000000df9a17a73308416f555783239573913afb77fa8a
Deployed Bytecode Sourcemap
7715:2401:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9717:171;;;;;;;;;;;;;;;;-1:-1:-1;9717:171:0;;;;;;;:::i;:::-;;7792:94;;;:::i;:::-;;;;-1:-1:-1;;;;;7792:94:0;;;;;;;;;;;;;;8251:1460;;;:::i;7961:23::-;;;:::i;9894:122::-;;;;;;;;;;;;;;;;-1:-1:-1;9894:122:0;-1:-1:-1;;;;;9894:122:0;;:::i;5168:128::-;;;:::i;4747:20::-;;;:::i;5077:85::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;8063:35;;;:::i;:::-;;;;;;;;;;;;;;;;10022:91;;;;;;;;;;;;;;;;-1:-1:-1;10022:91:0;;:::i;7991:28::-;;;:::i;8024:34::-;;;:::i;5302:103::-;;;;;;;;;;;;;;;;-1:-1:-1;5302:103:0;-1:-1:-1;;;;;5302:103:0;;:::i;9717:171::-;5011:9;:7;:9::i;:::-;5003:54;;;;;-1:-1:-1;;;5003:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;5003:54:0;;;;;;;;;;;;;;;9805:16:::1;:36:::0;;;;9848:15:::1;:34:::0;9717:171::o;7792:94::-;;;-1:-1:-1;;;;;7792:94:0;;:::o;8251:1460::-;8306:14;;-1:-1:-1;;;;;8306:14:0;8290:72;;;;;-1:-1:-1;;;8290:72:0;;;;;;;;;;;;-1:-1:-1;;;8290:72:0;;;;;;;;;;;;;;;8398:4;;:29;;;-1:-1:-1;;;8398:29:0;;8421:4;8398:29;;;;;;8371:24;;-1:-1:-1;;;;;8398:4:0;;:14;;:29;;;;;;;;;;;;;;:4;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8398:29:0;8462:9;;8398:29;;-1:-1:-1;8440:31:0;;8436:1270;;;8545:23;8571:51;8616:5;8571:40;8595:15;;8571:19;:23;;:40;;;;:::i;:::-;:44;;:51::i;:::-;8631:4;;8645:8;;8631:43;;;-1:-1:-1;;;8631:43:0;;-1:-1:-1;;;;;8645:8:0;;;8631:43;;;;;;;;;;;;8545:77;;-1:-1:-1;8631:4:0;;;:13;;:43;;;;;;;;;;;;;;;:4;;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;8739:4:0;;:29;;;-1:-1:-1;;;8739:29:0;;8762:4;8739:29;;;;;;8721:15;;-1:-1:-1;;;;;8739:4:0;;:14;;:29;;;;;8631:43;;8739:29;;;;;;;:4;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8739:29:0;8803:16;;;8817:1;8803:16;;;8779:21;8803:16;;;;;8739:29;;-1:-1:-1;8803:16:0;;;;;;;;;;-1:-1:-1;;8846:4:0;;8828:7;;;;-1:-1:-1;;;;;;8846:4:0;;8828:7;;-1:-1:-1;8846:4:0;;8828:7;;;;-1:-1:-1;;;;;8828:23:0;;;:7;;;;;;;;;:23;8878:5;;8860:7;;8878:5;;;8860:4;;8878:5;;8860:7;;;;;;-1:-1:-1;;;;;8860:24:0;;;:7;;;;;;;;;;:24;;;;8922:5;;:30;;;-1:-1:-1;;;8922:30:0;;8946:4;8922:30;;;;;;8895:24;;8922:5;;;;;:15;;:30;;;;;;;;;;:5;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8922:30:0;8963:4;;;8984:7;8963:40;;;-1:-1:-1;;;8963:40:0;;-1:-1:-1;;;;;8984:7:0;;;8963:40;;;;-1:-1:-1;;8963:40:0;;;;;;8922:30;;-1:-1:-1;8963:4:0;;;:12;;:40;;;;;8922:30;;8963:40;;;;;;;;:4;;:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;9014:7:0;;-1:-1:-1;;;;;9014:7:0;:61;9086:10;9014:7;9119:4;9142;9158:25;:15;9178:4;9158:19;:25::i;:::-;9014:178;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;9014:178:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;9227:5:0;;:30;;;-1:-1:-1;;;9227:30:0;;9251:4;9227:30;;;;;;9203:21;;-1:-1:-1;9227:55:0;;-1:-1:-1;9262:19:0;;-1:-1:-1;;;;;9227:5:0;;:15;;:30;;;;;;;;;;;;;;:5;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9227:30:0;;:34;:55::i;:::-;9203:79;;9333:24;9360:49;9403:5;9360:38;9381:16;;9360;:20;;:38;;;;:::i;:49::-;9418:5;;9433:8;;9418:45;;;-1:-1:-1;;;9418:45:0;;-1:-1:-1;;;;;9433:8:0;;;9418:45;;;;;;;;;;;;9333:76;;-1:-1:-1;9418:5:0;;;:14;;:45;;;;;;;;;;;;;;;:5;;:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9513:19:0;;-1:-1:-1;9535:41:0;:16;9556:19;9535:20;:41::i;:::-;9585:5;;9608:14;;;9585:55;;;-1:-1:-1;;;9585:55:0;;-1:-1:-1;;;;;9608:14:0;;;9585:55;;;;;;;;;;;;;;9513:63;;-1:-1:-1;9585:5:0;;;;:14;;:55;;;;;;;;;;;;;;;:5;;:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;9649:14:0;;;:49;;;-1:-1:-1;;;9649:49:0;;;;;;;;;-1:-1:-1;;;;;9649:14:0;;;;:33;;:49;;;;;:14;;:49;;;;;;;:14;;:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8436:1270;;;;;;;;8251:1460;:::o;7961:23::-;;;-1:-1:-1;;;;;7961:23:0;;:::o;9894:122::-;5011:9;:7;:9::i;:::-;5003:54;;;;;-1:-1:-1;;;5003:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;5003:54:0;;;;;;;;;;;;;;;9978:14:::1;:32:::0;;-1:-1:-1;;;;;;9978:32:0::1;-1:-1:-1::0;;;;;9978:32:0;;;::::1;::::0;;;::::1;::::0;;9894:122::o;5168:128::-;5011:9;:7;:9::i;:::-;5003:54;;;;;-1:-1:-1;;;5003:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;5003:54:0;;;;;;;;;;;;;;;5262:1:::1;5247:5:::0;;5226:39:::1;::::0;-1:-1:-1;;;;;5247:5:0;;::::1;::::0;5226:39:::1;::::0;5262:1;;5226:39:::1;5288:1;5272:18:::0;;-1:-1:-1;;;;;;5272:18:0::1;::::0;;5168:128::o;4747:20::-;;;-1:-1:-1;;;;;4747:20:0;;:::o;5077:85::-;5117:4;5151:5;-1:-1:-1;;;;;5151:5:0;5137:10;:19;;5077:85::o;8063:35::-;;;;:::o;10022:91::-;5011:9;:7;:9::i;:::-;5003:54;;;;;-1:-1:-1;;;5003:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;5003:54:0;;;;;;;;;;;;;;;10085:9:::1;:22:::0;10022:91::o;7991:28::-;;;;:::o;8024:34::-;;;;:::o;5302:103::-;5011:9;:7;:9::i;:::-;5003:54;;;;;-1:-1:-1;;;5003:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;5003:54:0;;;;;;;;;;;;;;;5371:28:::1;5390:8;5371:18;:28::i;1617:471::-:0;1675:7;1920:6;1916:47;;-1:-1:-1;1950:1:0;1943:8;;1916:47;1987:5;;;1991:1;1987;:5;:1;2011:5;;;;;:10;2003:56;;;;-1:-1:-1;;;2003:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2079:1;-1:-1:-1;1617:471:0;;;;;:::o;2564:132::-;2622:7;2649:39;2653:1;2656;2649:39;;;;;;;;;;;;;;;;;:3;:39::i;263:181::-;321:7;353:5;;;377:6;;;;369:46;;;;;-1:-1:-1;;;369:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;727:136;785:7;812:43;816:1;819;812:43;;;;;;;;;;;;;;;;;:3;:43::i;5411:213::-;-1:-1:-1;;;;;5481:22:0;;5473:73;;;;-1:-1:-1;;;5473:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5579:5;;;5558:37;;-1:-1:-1;;;;;5558:37:0;;;;5579:5;;;5558:37;;;5602:5;:16;;-1:-1:-1;;;;;;5602:16:0;-1:-1:-1;;;;;5602:16:0;;;;;;;;;;5411:213::o;3192:278::-;3278:7;3313:12;3306:5;3298:28;;;;-1:-1:-1;;;3298:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3337:9;3353:1;3349;:5;;;;;;;3192:278;-1:-1:-1;;;;;3192:278:0:o;1166:192::-;1252:7;1288:12;1280:6;;;;1272:29;;;;-1:-1:-1;;;1272:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1324:5:0;;;1166:192::o
Swarm Source
ipfs://35d32fb1629d273e6045918cb41b1a7adb3a222c7d16aabb203413b0cff1e493
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ 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.