Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Multichain Info
No addresses found
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Advanced mode: Intended for advanced users or developers and will display all Internal Transactions including zero value transfers. Name tag integration is not available in advanced view.
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Method | Block |
From
|
To
|
||||
---|---|---|---|---|---|---|---|---|
Retrieve Bounty | 14679083 | 1085 days ago | 0 ETH | |||||
Mint | 14679083 | 1085 days ago | 0 ETH | |||||
Total Supply | 14679083 | 1085 days ago | 0 ETH | |||||
Distribute | 14679083 | 1085 days ago | 0 ETH | |||||
Retrieve Bounty | 14677004 | 1086 days ago | 0 ETH | |||||
Mint | 14677004 | 1086 days ago | 0 ETH | |||||
Total Supply | 14677004 | 1086 days ago | 0 ETH | |||||
Distribute | 14677004 | 1086 days ago | 0 ETH | |||||
Retrieve Bounty | 14674840 | 1086 days ago | 0 ETH | |||||
Mint | 14674840 | 1086 days ago | 0 ETH | |||||
Total Supply | 14674840 | 1086 days ago | 0 ETH | |||||
Distribute | 14674840 | 1086 days ago | 0 ETH | |||||
Retrieve Bounty | 14672773 | 1086 days ago | 0 ETH | |||||
Mint | 14672773 | 1086 days ago | 0 ETH | |||||
Total Supply | 14672773 | 1086 days ago | 0 ETH | |||||
Distribute | 14672773 | 1086 days ago | 0 ETH | |||||
Retrieve Bounty | 14670759 | 1087 days ago | 0 ETH | |||||
Mint | 14670759 | 1087 days ago | 0 ETH | |||||
Total Supply | 14670759 | 1087 days ago | 0 ETH | |||||
Distribute | 14670759 | 1087 days ago | 0 ETH | |||||
Retrieve Bounty | 14668619 | 1087 days ago | 0 ETH | |||||
Mint | 14668619 | 1087 days ago | 0 ETH | |||||
Total Supply | 14668619 | 1087 days ago | 0 ETH | |||||
Distribute | 14668619 | 1087 days ago | 0 ETH | |||||
Guardian | 14666814 | 1087 days ago | 0 ETH |
Loading...
Loading
Contract Name:
Distributor
Compiler Version
v0.7.5+commit.eb77ed08
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-12-14 */ // SPDX-License-Identifier: AGPL-3.0-or-later // File: interfaces/IOlympusAuthority.sol pragma solidity =0.7.5; interface IOlympusAuthority { /* ========== EVENTS ========== */ event GovernorPushed(address indexed from, address indexed to, bool _effectiveImmediately); event GuardianPushed(address indexed from, address indexed to, bool _effectiveImmediately); event PolicyPushed(address indexed from, address indexed to, bool _effectiveImmediately); event VaultPushed(address indexed from, address indexed to, bool _effectiveImmediately); event GovernorPulled(address indexed from, address indexed to); event GuardianPulled(address indexed from, address indexed to); event PolicyPulled(address indexed from, address indexed to); event VaultPulled(address indexed from, address indexed to); /* ========== VIEW ========== */ function governor() external view returns (address); function guardian() external view returns (address); function policy() external view returns (address); function vault() external view returns (address); } // File: types/OlympusAccessControlled.sol pragma solidity >=0.7.5; abstract contract OlympusAccessControlled { /* ========== EVENTS ========== */ event AuthorityUpdated(IOlympusAuthority indexed authority); string UNAUTHORIZED = "UNAUTHORIZED"; // save gas /* ========== STATE VARIABLES ========== */ IOlympusAuthority public authority; /* ========== Constructor ========== */ constructor(IOlympusAuthority _authority) { authority = _authority; emit AuthorityUpdated(_authority); } /* ========== MODIFIERS ========== */ modifier onlyGovernor() { require(msg.sender == authority.governor(), UNAUTHORIZED); _; } modifier onlyGuardian() { require(msg.sender == authority.guardian(), UNAUTHORIZED); _; } modifier onlyPolicy() { require(msg.sender == authority.policy(), UNAUTHORIZED); _; } modifier onlyVault() { require(msg.sender == authority.vault(), UNAUTHORIZED); _; } /* ========== GOV ONLY ========== */ function setAuthority(IOlympusAuthority _newAuthority) external onlyGovernor { authority = _newAuthority; emit AuthorityUpdated(_newAuthority); } } // File: interfaces/IDistributor.sol pragma solidity >=0.7.5; interface IDistributor { function distribute() external; function bounty() external view returns (uint256); function retrieveBounty() external returns (uint256); function nextRewardAt(uint256 _rate) external view returns (uint256); function nextRewardFor(address _recipient) external view returns (uint256); function setBounty(uint256 _bounty) external; function addRecipient(address _recipient, uint256 _rewardRate) external; function removeRecipient(uint256 _index) external; function setAdjustment( uint256 _index, bool _add, uint256 _rate, uint256 _target ) external; } // File: interfaces/ITreasury.sol pragma solidity >=0.7.5; interface ITreasury { function deposit( uint256 _amount, address _token, uint256 _profit ) external returns (uint256); function withdraw(uint256 _amount, address _token) external; function tokenValue(address _token, uint256 _amount) external view returns (uint256 value_); function mint(address _recipient, uint256 _amount) external; function manage(address _token, uint256 _amount) external; function incurDebt(uint256 amount_, address token_) external; function repayDebtWithReserve(uint256 amount_, address token_) external; function excessReserves() external view returns (uint256); function baseSupply() external view returns (uint256); } // File: libraries/SafeMath.sol pragma solidity ^0.7.5; // TODO(zx): Replace all instances of SafeMath with OZ implementation library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by 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; } // Only used in the BondingCalculator.sol function sqrrt(uint256 a) internal pure returns (uint c) { if (a > 3) { c = a; uint b = add( div( a, 2), 1 ); while (b < c) { c = b; b = div( add( div( a, b ), b), 2 ); } } else if (a != 0) { c = 1; } } } // File: interfaces/IERC20.sol pragma solidity >=0.7.5; interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: libraries/SafeERC20.sol pragma solidity >=0.7.5; /// @notice Safe IERC20 and ETH transfer library that safely handles missing return values. /// @author Modified from Uniswap (https://github.com/Uniswap/uniswap-v3-periphery/blob/main/contracts/libraries/TransferHelper.sol) /// Taken from Solmate library SafeERC20 { function safeTransferFrom( IERC20 token, address from, address to, uint256 amount ) internal { (bool success, bytes memory data) = address(token).call( abi.encodeWithSelector(IERC20.transferFrom.selector, from, to, amount) ); require(success && (data.length == 0 || abi.decode(data, (bool))), "TRANSFER_FROM_FAILED"); } function safeTransfer( IERC20 token, address to, uint256 amount ) internal { (bool success, bytes memory data) = address(token).call( abi.encodeWithSelector(IERC20.transfer.selector, to, amount) ); require(success && (data.length == 0 || abi.decode(data, (bool))), "TRANSFER_FAILED"); } function safeApprove( IERC20 token, address to, uint256 amount ) internal { (bool success, bytes memory data) = address(token).call( abi.encodeWithSelector(IERC20.approve.selector, to, amount) ); require(success && (data.length == 0 || abi.decode(data, (bool))), "APPROVE_FAILED"); } function safeTransferETH(address to, uint256 amount) internal { (bool success, ) = to.call{value: amount}(new bytes(0)); require(success, "ETH_TRANSFER_FAILED"); } } // File: StakingDistributor.sol pragma solidity ^0.7.5; contract Distributor is IDistributor, OlympusAccessControlled { /* ========== DEPENDENCIES ========== */ using SafeMath for uint256; using SafeERC20 for IERC20; /* ====== VARIABLES ====== */ IERC20 private immutable ohm; ITreasury private immutable treasury; address private immutable staking; mapping(uint256 => Adjust) public adjustments; uint256 public override bounty; uint256 private immutable rateDenominator = 1_000_000; /* ====== STRUCTS ====== */ struct Info { uint256 rate; // in ten-thousandths ( 5000 = 0.5% ) address recipient; } Info[] public info; struct Adjust { bool add; uint256 rate; uint256 target; } /* ====== CONSTRUCTOR ====== */ constructor( address _treasury, address _ohm, address _staking, address _authority ) OlympusAccessControlled(IOlympusAuthority(_authority)) { require(_treasury != address(0), "Zero address: Treasury"); treasury = ITreasury(_treasury); require(_ohm != address(0), "Zero address: OHM"); ohm = IERC20(_ohm); require(_staking != address(0), "Zero address: Staking"); staking = _staking; } /* ====== PUBLIC FUNCTIONS ====== */ /** @notice send epoch reward to staking contract */ function distribute() external override { require(msg.sender == staking, "Only staking"); // distribute rewards to each recipient for (uint256 i = 0; i < info.length; i++) { if (info[i].rate > 0) { treasury.mint(info[i].recipient, nextRewardAt(info[i].rate)); // mint and send tokens adjust(i); // check for adjustment } } } function retrieveBounty() external override returns (uint256) { require(msg.sender == staking, "Only staking"); // If the distributor bounty is > 0, mint it for the staking contract. if (bounty > 0) { treasury.mint(address(staking), bounty); } return bounty; } /* ====== INTERNAL FUNCTIONS ====== */ /** @notice increment reward rate for collector */ function adjust(uint256 _index) internal { Adjust memory adjustment = adjustments[_index]; if (adjustment.rate != 0) { if (adjustment.add) { // if rate should increase info[_index].rate = info[_index].rate.add(adjustment.rate); // raise rate if (info[_index].rate >= adjustment.target) { // if target met adjustments[_index].rate = 0; // turn off adjustment info[_index].rate = adjustment.target; // set to target } } else { // if rate should decrease if (info[_index].rate > adjustment.rate) { // protect from underflow info[_index].rate = info[_index].rate.sub(adjustment.rate); // lower rate } else { info[_index].rate = 0; } if (info[_index].rate <= adjustment.target) { // if target met adjustments[_index].rate = 0; // turn off adjustment info[_index].rate = adjustment.target; // set to target } } } } /* ====== VIEW FUNCTIONS ====== */ /** @notice view function for next reward at given rate @param _rate uint @return uint */ function nextRewardAt(uint256 _rate) public view override returns (uint256) { return ohm.totalSupply().mul(_rate).div(rateDenominator); } /** @notice view function for next reward for specified address @param _recipient address @return uint */ function nextRewardFor(address _recipient) public view override returns (uint256) { uint256 reward; for (uint256 i = 0; i < info.length; i++) { if (info[i].recipient == _recipient) { reward = reward.add(nextRewardAt(info[i].rate)); } } return reward; } /* ====== POLICY FUNCTIONS ====== */ /** * @notice set bounty to incentivize keepers * @param _bounty uint256 */ function setBounty(uint256 _bounty) external override onlyGovernor { require(_bounty <= 2e9, "Too much"); bounty = _bounty; } /** @notice adds recipient for distributions @param _recipient address @param _rewardRate uint */ function addRecipient(address _recipient, uint256 _rewardRate) external override onlyGovernor { require(_recipient != address(0), "Zero address: Recipient"); require(_rewardRate <= rateDenominator, "Rate cannot exceed denominator"); info.push(Info({recipient: _recipient, rate: _rewardRate})); } /** @notice removes recipient for distributions @param _index uint */ function removeRecipient(uint256 _index) external override { require( msg.sender == authority.governor() || msg.sender == authority.guardian(), "Caller is not governor or guardian" ); require(info[_index].recipient != address(0), "Recipient does not exist"); info[_index].recipient = address(0); info[_index].rate = 0; } /** @notice set adjustment info for a collector's reward rate @param _index uint @param _add bool @param _rate uint @param _target uint */ function setAdjustment( uint256 _index, bool _add, uint256 _rate, uint256 _target ) external override { require( msg.sender == authority.governor() || msg.sender == authority.guardian(), "Caller is not governor or guardian" ); require(info[_index].recipient != address(0), "Recipient does not exist"); if (msg.sender == authority.guardian()) { require(_rate <= info[_index].rate.mul(25).div(1000), "Limiter: cannot adjust by >2.5%"); } if (!_add) { require(_rate <= info[_index].rate, "Cannot decrease rate by more than it already is"); } adjustments[_index] = Adjust({add: _add, rate: _rate, target: _target}); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_treasury","type":"address"},{"internalType":"address","name":"_ohm","type":"address"},{"internalType":"address","name":"_staking","type":"address"},{"internalType":"address","name":"_authority","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract IOlympusAuthority","name":"authority","type":"address"}],"name":"AuthorityUpdated","type":"event"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_rewardRate","type":"uint256"}],"name":"addRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"adjustments","outputs":[{"internalType":"bool","name":"add","type":"bool"},{"internalType":"uint256","name":"rate","type":"uint256"},{"internalType":"uint256","name":"target","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"authority","outputs":[{"internalType":"contract IOlympusAuthority","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bounty","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"distribute","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"info","outputs":[{"internalType":"uint256","name":"rate","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rate","type":"uint256"}],"name":"nextRewardAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"}],"name":"nextRewardFor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_index","type":"uint256"}],"name":"removeRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"retrieveBounty","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_index","type":"uint256"},{"internalType":"bool","name":"_add","type":"bool"},{"internalType":"uint256","name":"_rate","type":"uint256"},{"internalType":"uint256","name":"_target","type":"uint256"}],"name":"setAdjustment","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IOlympusAuthority","name":"_newAuthority","type":"address"}],"name":"setAuthority","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_bounty","type":"uint256"}],"name":"setBounty","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6101006040526040518060400160405280600c81526020017f554e415554484f52495a454400000000000000000000000000000000000000008152506000908051906020019062000052929190620003e0565b50620f424060e0908152503480156200006a57600080fd5b50604051620025ce380380620025ce833981810160405260808110156200009057600080fd5b81019080805190602001909291908051906020019092919080519060200190929190805190602001909291905050508080600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad60405160405180910390a250600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415620001e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f5a65726f20616464726573733a2054726561737572790000000000000000000081525060200191505060405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b81525050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415620002c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f5a65726f20616464726573733a204f484d00000000000000000000000000000081525060200191505060405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b81525050600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200039f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f5a65726f20616464726573733a205374616b696e67000000000000000000000081525060200191505060405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff1660601b815250505050505062000496565b828054600181600116156101000203166002900490600052602060002090601f01602090048101928262000418576000855562000464565b82601f106200043357805160ff191683800117855562000464565b8280016001018555821562000464579182015b828111156200046357825182559160200191906001019062000446565b5b50905062000473919062000477565b5090565b5b808211156200049257600081600090555060010162000478565b5090565b60805160601c60a05160601c60c05160601c60e0516120e5620004e960003980611263528061194752508061134c528061156d5280611675525080611444528061163952508061128852506120e56000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c8063943dfef11161008c578063c9fa8b2a11610066578063c9fa8b2a1461031d578063e4fc6b6d1461035f578063e7187e8a14610369578063f798224314610387576100cf565b8063943dfef114610279578063bc3b2b1214610297578063bf7e214f146102e9576100cf565b80632e340599146100d457806336d33f44146101335780635d87d3631461018b5780635db854b0146101b95780637a9e5e4b146102075780638e69e2551461024b575b600080fd5b610100600480360360208110156100ea57600080fd5b81019080803590602001909291905050506103d5565b604051808381526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390f35b6101756004803603602081101561014957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610429565b6040518082815260200191505060405180910390f35b6101b7600480360360208110156101a157600080fd5b8101908080359060200190929190505050610501565b005b610205600480360360808110156101cf57600080fd5b8101908080359060200190929190803515159060200190929190803590602001909291908035906020019092919050505061071c565b005b6102496004803603602081101561021d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610c77565b005b6102776004803603602081101561026157600080fd5b8101908080359060200190929190505050610e95565b005b6102816111f9565b6040518082815260200191505060405180910390f35b6102c3600480360360208110156102ad57600080fd5b81019080803590602001909291905050506111ff565b604051808415158152602001838152602001828152602001935050505060405180910390f35b6102f1611236565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103496004803603602081101561033357600080fd5b810190808035906020019092919050505061125c565b6040518082815260200191505060405180910390f35b61036761134a565b005b610371611569565b6040518082815260200191505060405180910390f35b6103d36004803603604081101561039d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061170b565b005b600481815481106103e557600080fd5b90600052602060002090600202016000915090508060000154908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905082565b60008060005b6004805490508110156104f7578373ffffffffffffffffffffffffffffffffffffffff166004828154811061046057fe5b906000526020600020906002020160010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156104ea576104e76104d8600483815481106104c157fe5b90600052602060002090600202016000015461125c565b83611a8890919063ffffffff16565b91505b808060010191505061042f565b5080915050919050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630c340a246040518163ffffffff1660e01b815260040160206040518083038186803b15801561056957600080fd5b505afa15801561057d573d6000803e3d6000fd5b505050506040513d602081101561059357600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614600090610697576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252838181546001816001161561010002031660029004815260200191508054600181600116156101000203166002900480156106885780601f1061065d57610100808354040283529160200191610688565b820191906000526020600020905b81548152906001019060200180831161066b57829003601f168201915b50509250505060405180910390fd5b506377359400811115610712576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260088152602001807f546f6f206d75636800000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b8060038190555050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630c340a246040518163ffffffff1660e01b815260040160206040518083038186803b15801561078457600080fd5b505afa158015610798573d6000803e3d6000fd5b505050506040513d60208110156107ae57600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806108c55750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663452a93206040518163ffffffff1660e01b815260040160206040518083038186803b15801561085b57600080fd5b505afa15801561086f573d6000803e3d6000fd5b505050506040513d602081101561088557600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61091a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602281526020018061203e6022913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166004858154811061093f57fe5b906000526020600020906002020160010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156109fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f526563697069656e7420646f6573206e6f74206578697374000000000000000081525060200191505060405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663452a93206040518163ffffffff1660e01b815260040160206040518083038186803b158015610a6357600080fd5b505afa158015610a77573d6000803e3d6000fd5b505050506040513d6020811015610a8d57600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415610b8d57610b176103e8610b09601960048881548110610ae957fe5b906000526020600020906002020160000154611b1090919063ffffffff16565b611b9690919063ffffffff16565b821115610b8c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f4c696d697465723a2063616e6e6f742061646a757374206279203e322e35250081525060200191505060405180910390fd5b5b82610c0a5760048481548110610b9f57fe5b906000526020600020906002020160000154821115610c09576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180612081602f913960400191505060405180910390fd5b5b60405180606001604052808415158152602001838152602001828152506002600086815260200190815260200160002060008201518160000160006101000a81548160ff021916908315150217905550602082015181600101556040820151816002015590505050505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630c340a246040518163ffffffff1660e01b815260040160206040518083038186803b158015610cdf57600080fd5b505afa158015610cf3573d6000803e3d6000fd5b505050506040513d6020811015610d0957600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614600090610e0d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818154600181600116156101000203166002900481526020019150805460018160011615610100020316600290048015610dfe5780601f10610dd357610100808354040283529160200191610dfe565b820191906000526020600020905b815481529060010190602001808311610de157829003601f168201915b50509250505060405180910390fd5b5080600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad60405160405180910390a250565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630c340a246040518163ffffffff1660e01b815260040160206040518083038186803b158015610efd57600080fd5b505afa158015610f11573d6000803e3d6000fd5b505050506040513d6020811015610f2757600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061103e5750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663452a93206040518163ffffffff1660e01b815260040160206040518083038186803b158015610fd457600080fd5b505afa158015610fe8573d6000803e3d6000fd5b505050506040513d6020811015610ffe57600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611093576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602281526020018061203e6022913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600482815481106110b857fe5b906000526020600020906002020160010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611174576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f526563697069656e7420646f6573206e6f74206578697374000000000000000081525060200191505060405180910390fd5b60006004828154811061118357fe5b906000526020600020906002020160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600482815481106111e157fe5b90600052602060002090600202016000018190555050565b60035481565b60026020528060005260406000206000915090508060000160009054906101000a900460ff16908060010154908060020154905083565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006113437f0000000000000000000000000000000000000000000000000000000000000000611335847f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156112ec57600080fd5b505afa158015611300573d6000803e3d6000fd5b505050506040513d602081101561131657600080fd5b8101908080519060200190929190505050611b1090919063ffffffff16565b611b9690919063ffffffff16565b9050919050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461140b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f4f6e6c79207374616b696e67000000000000000000000000000000000000000081525060200191505060405180910390fd5b60005b6004805490508110156115665760006004828154811061142a57fe5b9060005260206000209060020201600001541115611559577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166340c10f196004838154811061148b57fe5b906000526020600020906002020160010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166114e4600485815481106114cd57fe5b90600052602060002090600202016000015461125c565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561153757600080fd5b505af115801561154b573d6000803e3d6000fd5b5050505061155881611be0565b5b808060010191505061140e565b50565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461162c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f4f6e6c79207374616b696e67000000000000000000000000000000000000000081525060200191505060405180910390fd5b60006003541115611703577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166340c10f197f00000000000000000000000000000000000000000000000000000000000000006003546040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b1580156116ea57600080fd5b505af11580156116fe573d6000803e3d6000fd5b505050505b600354905090565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630c340a246040518163ffffffff1660e01b815260040160206040518083038186803b15801561177357600080fd5b505afa158015611787573d6000803e3d6000fd5b505050506040513d602081101561179d57600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146000906118a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252838181546001816001161561010002031660029004815260200191508054600181600116156101000203166002900480156118925780601f1061186757610100808354040283529160200191611892565b820191906000526020600020905b81548152906001019060200180831161187557829003601f168201915b50509250505060405180910390fd5b50600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611945576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f5a65726f20616464726573733a20526563697069656e7400000000000000000081525060200191505060405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000008111156119db576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f526174652063616e6e6f74206578636565642064656e6f6d696e61746f72000081525060200191505060405180910390fd5b600460405180604001604052808381526020018473ffffffffffffffffffffffffffffffffffffffff1681525090806001815401808255809150506001900390600052602060002090600202016000909190919091506000820151816000015560208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050565b600080828401905083811015611b06576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600080831415611b235760009050611b90565b6000828402905082848281611b3457fe5b0414611b8b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806120606021913960400191505060405180910390fd5b809150505b92915050565b6000611bd883836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611e34565b905092915050565b611be861201a565b600260008381526020019081526020016000206040518060600160405290816000820160009054906101000a900460ff161515151581526020016001820154815260200160028201548152505090506000816020015114611e3057806000015115611d1657611c82816020015160048481548110611c6257fe5b906000526020600020906002020160000154611a8890919063ffffffff16565b60048381548110611c8f57fe5b906000526020600020906002020160000181905550806040015160048381548110611cb657fe5b90600052602060002090600202016000015410611d115760006002600084815260200190815260200160002060010181905550806040015160048381548110611cfb57fe5b9060005260206000209060020201600001819055505b611e2f565b806020015160048381548110611d2857fe5b9060005260206000209060020201600001541115611d9c57611d75816020015160048481548110611d5557fe5b906000526020600020906002020160000154611f1090919063ffffffff16565b60048381548110611d8257fe5b906000526020600020906002020160000181905550611dc1565b600060048381548110611dab57fe5b9060005260206000209060020201600001819055505b806040015160048381548110611dd357fe5b90600052602060002090600202016000015411611e2e5760006002600084815260200190815260200160002060010181905550806040015160048381548110611e1857fe5b9060005260206000209060020201600001819055505b5b5b5050565b60008083118290611ee0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611ea5578082015181840152602081019050611e8a565b50505050905090810190601f168015611ed25780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581611eec57fe5b049050838581611ef857fe5b06818502018514611f0557fe5b809150509392505050565b6000611f5283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611f5a565b905092915050565b6000838311158290612007576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611fcc578082015181840152602081019050611fb1565b50505050905090810190601f168015611ff95780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b60405180606001604052806000151581526020016000815260200160008152509056fe43616c6c6572206973206e6f7420676f7665726e6f72206f7220677561726469616e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7743616e6e6f742064656372656173652072617465206279206d6f7265207468616e20697420616c7265616479206973a26469706673582212205593114a4a48552bef83c70c0215c4efd40fe27fdd50567e03ca49a852b0990064736f6c634300070500330000000000000000000000009a315bdf513367c0377fb36545857d12e85813ef00000000000000000000000064aa3364f17a4d01c6f1751fd97c2bd3d7e7f1d5000000000000000000000000b63cac384247597756545b500253ff8e607a80200000000000000000000000001c21f8ea7e39e2ba00bc12d2968d63f4acb38b7a
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100cf5760003560e01c8063943dfef11161008c578063c9fa8b2a11610066578063c9fa8b2a1461031d578063e4fc6b6d1461035f578063e7187e8a14610369578063f798224314610387576100cf565b8063943dfef114610279578063bc3b2b1214610297578063bf7e214f146102e9576100cf565b80632e340599146100d457806336d33f44146101335780635d87d3631461018b5780635db854b0146101b95780637a9e5e4b146102075780638e69e2551461024b575b600080fd5b610100600480360360208110156100ea57600080fd5b81019080803590602001909291905050506103d5565b604051808381526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390f35b6101756004803603602081101561014957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610429565b6040518082815260200191505060405180910390f35b6101b7600480360360208110156101a157600080fd5b8101908080359060200190929190505050610501565b005b610205600480360360808110156101cf57600080fd5b8101908080359060200190929190803515159060200190929190803590602001909291908035906020019092919050505061071c565b005b6102496004803603602081101561021d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610c77565b005b6102776004803603602081101561026157600080fd5b8101908080359060200190929190505050610e95565b005b6102816111f9565b6040518082815260200191505060405180910390f35b6102c3600480360360208110156102ad57600080fd5b81019080803590602001909291905050506111ff565b604051808415158152602001838152602001828152602001935050505060405180910390f35b6102f1611236565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103496004803603602081101561033357600080fd5b810190808035906020019092919050505061125c565b6040518082815260200191505060405180910390f35b61036761134a565b005b610371611569565b6040518082815260200191505060405180910390f35b6103d36004803603604081101561039d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061170b565b005b600481815481106103e557600080fd5b90600052602060002090600202016000915090508060000154908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905082565b60008060005b6004805490508110156104f7578373ffffffffffffffffffffffffffffffffffffffff166004828154811061046057fe5b906000526020600020906002020160010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156104ea576104e76104d8600483815481106104c157fe5b90600052602060002090600202016000015461125c565b83611a8890919063ffffffff16565b91505b808060010191505061042f565b5080915050919050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630c340a246040518163ffffffff1660e01b815260040160206040518083038186803b15801561056957600080fd5b505afa15801561057d573d6000803e3d6000fd5b505050506040513d602081101561059357600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614600090610697576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252838181546001816001161561010002031660029004815260200191508054600181600116156101000203166002900480156106885780601f1061065d57610100808354040283529160200191610688565b820191906000526020600020905b81548152906001019060200180831161066b57829003601f168201915b50509250505060405180910390fd5b506377359400811115610712576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260088152602001807f546f6f206d75636800000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b8060038190555050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630c340a246040518163ffffffff1660e01b815260040160206040518083038186803b15801561078457600080fd5b505afa158015610798573d6000803e3d6000fd5b505050506040513d60208110156107ae57600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806108c55750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663452a93206040518163ffffffff1660e01b815260040160206040518083038186803b15801561085b57600080fd5b505afa15801561086f573d6000803e3d6000fd5b505050506040513d602081101561088557600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61091a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602281526020018061203e6022913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166004858154811061093f57fe5b906000526020600020906002020160010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156109fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f526563697069656e7420646f6573206e6f74206578697374000000000000000081525060200191505060405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663452a93206040518163ffffffff1660e01b815260040160206040518083038186803b158015610a6357600080fd5b505afa158015610a77573d6000803e3d6000fd5b505050506040513d6020811015610a8d57600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415610b8d57610b176103e8610b09601960048881548110610ae957fe5b906000526020600020906002020160000154611b1090919063ffffffff16565b611b9690919063ffffffff16565b821115610b8c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f4c696d697465723a2063616e6e6f742061646a757374206279203e322e35250081525060200191505060405180910390fd5b5b82610c0a5760048481548110610b9f57fe5b906000526020600020906002020160000154821115610c09576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180612081602f913960400191505060405180910390fd5b5b60405180606001604052808415158152602001838152602001828152506002600086815260200190815260200160002060008201518160000160006101000a81548160ff021916908315150217905550602082015181600101556040820151816002015590505050505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630c340a246040518163ffffffff1660e01b815260040160206040518083038186803b158015610cdf57600080fd5b505afa158015610cf3573d6000803e3d6000fd5b505050506040513d6020811015610d0957600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614600090610e0d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818154600181600116156101000203166002900481526020019150805460018160011615610100020316600290048015610dfe5780601f10610dd357610100808354040283529160200191610dfe565b820191906000526020600020905b815481529060010190602001808311610de157829003601f168201915b50509250505060405180910390fd5b5080600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad60405160405180910390a250565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630c340a246040518163ffffffff1660e01b815260040160206040518083038186803b158015610efd57600080fd5b505afa158015610f11573d6000803e3d6000fd5b505050506040513d6020811015610f2757600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061103e5750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663452a93206040518163ffffffff1660e01b815260040160206040518083038186803b158015610fd457600080fd5b505afa158015610fe8573d6000803e3d6000fd5b505050506040513d6020811015610ffe57600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611093576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602281526020018061203e6022913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600482815481106110b857fe5b906000526020600020906002020160010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611174576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f526563697069656e7420646f6573206e6f74206578697374000000000000000081525060200191505060405180910390fd5b60006004828154811061118357fe5b906000526020600020906002020160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600482815481106111e157fe5b90600052602060002090600202016000018190555050565b60035481565b60026020528060005260406000206000915090508060000160009054906101000a900460ff16908060010154908060020154905083565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006113437f00000000000000000000000000000000000000000000000000000000000f4240611335847f00000000000000000000000064aa3364f17a4d01c6f1751fd97c2bd3d7e7f1d573ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156112ec57600080fd5b505afa158015611300573d6000803e3d6000fd5b505050506040513d602081101561131657600080fd5b8101908080519060200190929190505050611b1090919063ffffffff16565b611b9690919063ffffffff16565b9050919050565b7f000000000000000000000000b63cac384247597756545b500253ff8e607a802073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461140b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f4f6e6c79207374616b696e67000000000000000000000000000000000000000081525060200191505060405180910390fd5b60005b6004805490508110156115665760006004828154811061142a57fe5b9060005260206000209060020201600001541115611559577f0000000000000000000000009a315bdf513367c0377fb36545857d12e85813ef73ffffffffffffffffffffffffffffffffffffffff166340c10f196004838154811061148b57fe5b906000526020600020906002020160010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166114e4600485815481106114cd57fe5b90600052602060002090600202016000015461125c565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561153757600080fd5b505af115801561154b573d6000803e3d6000fd5b5050505061155881611be0565b5b808060010191505061140e565b50565b60007f000000000000000000000000b63cac384247597756545b500253ff8e607a802073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461162c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f4f6e6c79207374616b696e67000000000000000000000000000000000000000081525060200191505060405180910390fd5b60006003541115611703577f0000000000000000000000009a315bdf513367c0377fb36545857d12e85813ef73ffffffffffffffffffffffffffffffffffffffff166340c10f197f000000000000000000000000b63cac384247597756545b500253ff8e607a80206003546040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b1580156116ea57600080fd5b505af11580156116fe573d6000803e3d6000fd5b505050505b600354905090565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630c340a246040518163ffffffff1660e01b815260040160206040518083038186803b15801561177357600080fd5b505afa158015611787573d6000803e3d6000fd5b505050506040513d602081101561179d57600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146000906118a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252838181546001816001161561010002031660029004815260200191508054600181600116156101000203166002900480156118925780601f1061186757610100808354040283529160200191611892565b820191906000526020600020905b81548152906001019060200180831161187557829003601f168201915b50509250505060405180910390fd5b50600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611945576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f5a65726f20616464726573733a20526563697069656e7400000000000000000081525060200191505060405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000f42408111156119db576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f526174652063616e6e6f74206578636565642064656e6f6d696e61746f72000081525060200191505060405180910390fd5b600460405180604001604052808381526020018473ffffffffffffffffffffffffffffffffffffffff1681525090806001815401808255809150506001900390600052602060002090600202016000909190919091506000820151816000015560208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050565b600080828401905083811015611b06576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600080831415611b235760009050611b90565b6000828402905082848281611b3457fe5b0414611b8b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806120606021913960400191505060405180910390fd5b809150505b92915050565b6000611bd883836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611e34565b905092915050565b611be861201a565b600260008381526020019081526020016000206040518060600160405290816000820160009054906101000a900460ff161515151581526020016001820154815260200160028201548152505090506000816020015114611e3057806000015115611d1657611c82816020015160048481548110611c6257fe5b906000526020600020906002020160000154611a8890919063ffffffff16565b60048381548110611c8f57fe5b906000526020600020906002020160000181905550806040015160048381548110611cb657fe5b90600052602060002090600202016000015410611d115760006002600084815260200190815260200160002060010181905550806040015160048381548110611cfb57fe5b9060005260206000209060020201600001819055505b611e2f565b806020015160048381548110611d2857fe5b9060005260206000209060020201600001541115611d9c57611d75816020015160048481548110611d5557fe5b906000526020600020906002020160000154611f1090919063ffffffff16565b60048381548110611d8257fe5b906000526020600020906002020160000181905550611dc1565b600060048381548110611dab57fe5b9060005260206000209060020201600001819055505b806040015160048381548110611dd357fe5b90600052602060002090600202016000015411611e2e5760006002600084815260200190815260200160002060010181905550806040015160048381548110611e1857fe5b9060005260206000209060020201600001819055505b5b5b5050565b60008083118290611ee0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611ea5578082015181840152602081019050611e8a565b50505050905090810190601f168015611ed25780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581611eec57fe5b049050838581611ef857fe5b06818502018514611f0557fe5b809150509392505050565b6000611f5283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611f5a565b905092915050565b6000838311158290612007576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611fcc578082015181840152602081019050611fb1565b50505050905090810190601f168015611ff95780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b60405180606001604052806000151581526020016000815260200160008152509056fe43616c6c6572206973206e6f7420676f7665726e6f72206f7220677561726469616e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7743616e6e6f742064656372656173652072617465206279206d6f7265207468616e20697420616c7265616479206973a26469706673582212205593114a4a48552bef83c70c0215c4efd40fe27fdd50567e03ca49a852b0990064736f6c63430007050033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000009a315bdf513367c0377fb36545857d12e85813ef00000000000000000000000064aa3364f17a4d01c6f1751fd97c2bd3d7e7f1d5000000000000000000000000b63cac384247597756545b500253ff8e607a80200000000000000000000000001c21f8ea7e39e2ba00bc12d2968d63f4acb38b7a
-----Decoded View---------------
Arg [0] : _treasury (address): 0x9A315BdF513367C0377FB36545857d12e85813Ef
Arg [1] : _ohm (address): 0x64aa3364F17a4D01c6f1751Fd97C2BD3D7e7f1D5
Arg [2] : _staking (address): 0xB63cac384247597756545b500253ff8E607a8020
Arg [3] : _authority (address): 0x1c21F8EA7e39E2BA00BC12d2968D63F4acb38b7A
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000009a315bdf513367c0377fb36545857d12e85813ef
Arg [1] : 00000000000000000000000064aa3364f17a4d01c6f1751fd97c2bd3d7e7f1d5
Arg [2] : 000000000000000000000000b63cac384247597756545b500253ff8e607a8020
Arg [3] : 0000000000000000000000001c21f8ea7e39e2ba00bc12d2968d63f4acb38b7a
Deployed Bytecode Sourcemap
10153:6625:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10798:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;14174:336;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;14661:148;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;15986:789;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;2303:168;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;15387:396;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;10547:30;;;:::i;:::-;;;;;;;;;;;;;;;;;;;10495:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1491:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;13871:151;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;11570:425;;;:::i;:::-;;12003:325;;;:::i;:::-;;;;;;;;;;;;;;;;;;;14953:327;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;10798:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;14174:336::-;14247:7;14267:14;14297:9;14292:187;14316:4;:11;;;;14312:1;:15;14292:187;;;14374:10;14353:31;;:4;14358:1;14353:7;;;;;;;;;;;;;;;;;;:17;;;;;;;;;;;;:31;;;14349:119;;;14414:38;14425:26;14438:4;14443:1;14438:7;;;;;;;;;;;;;;;;;;:12;;;14425;:26::i;:::-;14414:6;:10;;:38;;;;:::i;:::-;14405:47;;14349:119;14329:3;;;;;;;14292:187;;;;14496:6;14489:13;;;14174:336;;;:::o;14661:148::-;1830:9;;;;;;;;;;;:18;;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1816:34;;:10;:34;;;1852:12;1808:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14758:3:::1;14747:7;:14;;14739:35;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;14794:7;14785:6;:16;;;;14661:148:::0;:::o;15986:789::-;16176:9;;;;;;;;;;;:18;;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16162:34;;:10;:34;;;:72;;;;16214:9;;;;;;;;;;;:18;;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16200:34;;:10;:34;;;16162:72;16140:156;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16349:1;16315:36;;:4;16320:6;16315:12;;;;;;;;;;;;;;;;;;:22;;;;;;;;;;;;:36;;;;16307:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16411:9;;;;;;;;;;;:18;;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16397:34;;:10;:34;;;16393:155;;;16465:35;16495:4;16465:25;16487:2;16465:4;16470:6;16465:12;;;;;;;;;;;;;;;;;;:17;;;:21;;:25;;;;:::i;:::-;:29;;:35;;;;:::i;:::-;16456:5;:44;;16448:88;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16393:155;16565:4;16560:124;;16603:4;16608:6;16603:12;;;;;;;;;;;;;;;;;;:17;;;16594:5;:26;;16586:86;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16560:124;16718:49;;;;;;;;16731:4;16718:49;;;;;;16743:5;16718:49;;;;16758:7;16718:49;;;16696:11;:19;16708:6;16696:19;;;;;;;;;;;:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15986:789;;;;:::o;2303:168::-;1830:9;;;;;;;;;;;:18;;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1816:34;;:10;:34;;;1852:12;1808:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2403:13:::1;2391:9;;:25;;;;;;;;;;;;;;;;;;2449:13;2432:31;;;;;;;;;;;;2303:168:::0;:::o;15387:396::-;15493:9;;;;;;;;;;;:18;;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15479:34;;:10;:34;;;:72;;;;15531:9;;;;;;;;;;;:18;;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15517:34;;:10;:34;;;15479:72;15457:156;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15666:1;15632:36;;:4;15637:6;15632:12;;;;;;;;;;;;;;;;;;:22;;;;;;;;;;;;:36;;;;15624:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15741:1;15708:4;15713:6;15708:12;;;;;;;;;;;;;;;;;;:22;;;:35;;;;;;;;;;;;;;;;;;15774:1;15754:4;15759:6;15754:12;;;;;;;;;;;;;;;;;;:17;;:21;;;;15387:396;:::o;10547:30::-;;;;:::o;10495:45::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1491:34::-;;;;;;;;;;;;;:::o;13871:151::-;13938:7;13965:49;13998:15;13965:28;13987:5;13965:3;:15;;;:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:21;;:28;;;;:::i;:::-;:32;;:49;;;;:::i;:::-;13958:56;;13871:151;;;:::o;11570:425::-;11643:7;11629:21;;:10;:21;;;11621:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11732:9;11727:261;11751:4;:11;;;;11747:1;:15;11727:261;;;11803:1;11788:4;11793:1;11788:7;;;;;;;;;;;;;;;;;;:12;;;:16;11784:193;;;11825:8;:13;;;11839:4;11844:1;11839:7;;;;;;;;;;;;;;;;;;:17;;;;;;;;;;;;11858:26;11871:4;11876:1;11871:7;;;;;;;;;;;;;;;;;;:12;;;11858;:26::i;:::-;11825:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11928:9;11935:1;11928:6;:9::i;:::-;11784:193;11764:3;;;;;;;11727:261;;;;11570:425::o;12003:325::-;12056:7;12098;12084:21;;:10;:21;;;12076:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12226:1;12217:6;;:10;12213:82;;;12244:8;:13;;;12266:7;12276:6;;12244:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12213:82;12314:6;;12307:13;;12003:325;:::o;14953:327::-;1830:9;;;;;;;;;;;:18;;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1816:34;;:10;:34;;;1852:12;1808:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15088:1:::1;15066:24;;:10;:24;;;;15058:60;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;15152:15;15137:11;:30;;15129:73;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;15213:4;15223:48;;;;;;;;15258:11;15223:48;;;;15240:10;15223:48;;;;::::0;15213:59:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14953:327:::0;;:::o;4199:181::-;4257:7;4277:9;4293:1;4289;:5;4277:17;;4318:1;4313;:6;;4305:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4371:1;4364:8;;;4199:181;;;;:::o;4732:250::-;4790:7;4819:1;4814;:6;4810:47;;;4844:1;4837:8;;;;4810:47;4869:9;4885:1;4881;:5;4869:17;;4914:1;4909;4905;:5;;;;;;:10;4897:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4973:1;4966:8;;;4732:250;;;;;:::o;4990:132::-;5048:7;5075:39;5079:1;5082;5075:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;5068:46;;4990:132;;;;:::o;12453:1240::-;12505:24;;:::i;:::-;12532:11;:19;12544:6;12532:19;;;;;;;;;;;12505:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12585:1;12566:10;:15;;;:20;12562:1124;;12607:10;:14;;;12603:1072;;;12706:38;12728:10;:15;;;12706:4;12711:6;12706:12;;;;;;;;;;;;;;;;;;:17;;;:21;;:38;;;;:::i;:::-;12686:4;12691:6;12686:12;;;;;;;;;;;;;;;;;;:17;;:58;;;;12802:10;:17;;;12781:4;12786:6;12781:12;;;;;;;;;;;;;;;;;;:17;;;:38;12777:253;;12909:1;12882:11;:19;12894:6;12882:19;;;;;;;;;;;:24;;:28;;;;12976:10;:17;;;12956:4;12961:6;12956:12;;;;;;;;;;;;;;;;;;:17;;:37;;;;12777:253;12603:1072;;;13138:10;:15;;;13118:4;13123:6;13118:12;;;;;;;;;;;;;;;;;;:17;;;:35;13114:273;;;13245:38;13267:10;:15;;;13245:4;13250:6;13245:12;;;;;;;;;;;;;;;;;;:17;;;:21;;:38;;;;:::i;:::-;13225:4;13230:6;13225:12;;;;;;;;;;;;;;;;;;:17;;:58;;;;13114:273;;;13366:1;13346:4;13351:6;13346:12;;;;;;;;;;;;;;;;;;:17;;:21;;;;13114:273;13432:10;:17;;;13411:4;13416:6;13411:12;;;;;;;;;;;;;;;;;;:17;;;:38;13407:253;;13539:1;13512:11;:19;13524:6;13512:19;;;;;;;;;;;:24;;:28;;;;13606:10;:17;;;13586:4;13591:6;13586:12;;;;;;;;;;;;;;;;;;:17;;:37;;;;13407:253;12603:1072;12562:1124;12453:1240;;:::o;5130:275::-;5216:7;5248:1;5244;:5;5251:12;5236:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5275:9;5291:1;5287;:5;;;;;;5275:17;;5327:1;5323;:5;;;;;;5319:1;5315;:5;:13;5310:1;:18;5303:26;;;;5396:1;5389:8;;;5130:275;;;;;:::o;4388:136::-;4446:7;4473:43;4477:1;4480;4473:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;4466:50;;4388:136;;;;:::o;4532:192::-;4618:7;4651:1;4646;:6;;4654:12;4638:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4678:9;4694:1;4690;:5;4678:17;;4715:1;4708:8;;;4532:192;;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;:::o
Swarm Source
ipfs://5593114a4a48552bef83c70c0215c4efd40fe27fdd50567e03ca49a852b09900
Loading...
Loading
Loading...
Loading
Loading...
Loading
Loading...
Loading
Loading...
Loading
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.