More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 1,971 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw | 37579473 | 749 days ago | IN | 0 POL | 0.0092276 | ||||
Deposit | 37579439 | 749 days ago | IN | 0 POL | 0.00649192 | ||||
Deposit | 37579410 | 749 days ago | IN | 0 POL | 0.01269148 | ||||
Withdraw | 18858777 | 1231 days ago | IN | 0 POL | 0.00582755 | ||||
Withdraw | 18709634 | 1235 days ago | IN | 0 POL | 0.00291377 | ||||
Withdraw | 18709579 | 1235 days ago | IN | 0 POL | 0.00032112 | ||||
Withdraw | 18560155 | 1239 days ago | IN | 0 POL | 0.00291377 | ||||
Withdraw | 18494184 | 1241 days ago | IN | 0 POL | 0.00291377 | ||||
Withdraw | 18456187 | 1242 days ago | IN | 0 POL | 0.0116551 | ||||
Withdraw | 18456106 | 1242 days ago | IN | 0 POL | 0.00233102 | ||||
Withdraw | 18425872 | 1243 days ago | IN | 0 POL | 0.00174826 | ||||
Withdraw | 18409675 | 1244 days ago | IN | 0 POL | 0.00291377 | ||||
Emergency Withdr... | 18394377 | 1244 days ago | IN | 0 POL | 0.00132142 | ||||
Emergency Withdr... | 18394344 | 1244 days ago | IN | 0 POL | 0.00088648 | ||||
Emergency Withdr... | 18394337 | 1244 days ago | IN | 0 POL | 0.00132142 | ||||
Emergency Withdr... | 18394332 | 1244 days ago | IN | 0 POL | 0.00088648 | ||||
Emergency Withdr... | 18394326 | 1244 days ago | IN | 0 POL | 0.00088648 | ||||
Emergency Withdr... | 18394321 | 1244 days ago | IN | 0 POL | 0.00132142 | ||||
Emergency Withdr... | 18394317 | 1244 days ago | IN | 0 POL | 0.00132142 | ||||
Emergency Withdr... | 18394313 | 1244 days ago | IN | 0 POL | 0.00124792 | ||||
Withdraw | 18393926 | 1244 days ago | IN | 0 POL | 0.00174826 | ||||
Withdraw | 18390883 | 1244 days ago | IN | 0 POL | 0.00291377 | ||||
Withdraw | 18390787 | 1244 days ago | IN | 0 POL | 0.00291377 | ||||
Withdraw | 18390703 | 1244 days ago | IN | 0 POL | 0.00291377 | ||||
Withdraw | 18390635 | 1244 days ago | IN | 0 POL | 0.00291377 |
Loading...
Loading
Contract Name:
MasterChef
Compiler Version
v0.7.4+commit.3f05b770
Contract Source Code (Solidity)
/** *Submitted for verification at polygonscan.com on 2021-08-20 */ // File: @openzeppelin/contracts/utils/Context.sol pragma solidity >=0.6.0 <0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ 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: @openzeppelin/contracts/math/SafeMath.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { 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) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { 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, reverting 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) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * 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); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a % b; } } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name_, string memory symbol_) public { _name = name_; _symbol = symbol_; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal virtual { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } } // File: @openzeppelin/contracts/access/Ownable.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } contract Cheetah is ERC20, Ownable { using SafeMath for uint256; address public constant BURN_ADDRESS = 0x000000000000000000000000000000000000dEaD; address private _operator; // Max transfer amount rate in basis points. (default is 0.5% of total supply) uint16 public maxTransferAmountRate = 50; mapping(address => bool) private _excludedFromAntiWhale; event OperatorTransferred(address indexed previousOperator, address indexed newOperator); event MaxTransferAmountRateUpdated(address indexed operator, uint256 previousRate, uint256 newRate); modifier antiWhale(address sender, address recipient, uint256 amount) { if (maxTransferAmount() > 0) { if (_excludedFromAntiWhale[sender] == false && _excludedFromAntiWhale[recipient] == false) { require(amount <= maxTransferAmount(), "Cheetah::antiWhale: Transfer amount exceeds the maxTransferAmount"); } } _; } modifier onlyOperator() { require(_operator == msg.sender, "operator: caller is not the operator"); _; } function maxTransferAmount() public view returns (uint256) { return totalSupply().mul(maxTransferAmountRate).div(10000); } constructor() ERC20("Cheetah Token", "CHEETAH") { _operator = _msgSender(); emit OperatorTransferred(address(0), _operator); _excludedFromAntiWhale[msg.sender] = true; _excludedFromAntiWhale[address(0)] = true; _excludedFromAntiWhale[address(this)] = true; _excludedFromAntiWhale[BURN_ADDRESS] = true; } function isExcludedFromAntiWhale(address _account) public view returns (bool) { return _excludedFromAntiWhale[_account]; } function mint(address _to, uint256 _amount) public onlyOwner { _mint(_to, _amount); } function _transfer(address sender, address recipient, uint256 amount) internal virtual override antiWhale(sender, recipient, amount) { super._transfer(sender, recipient, amount); } /** * @dev Exclude or include an address from antiWhale. * Can only be called by the current operator. */ function setExcludedFromAntiWhale(address _account, bool _excluded) public onlyOperator { _excludedFromAntiWhale[_account] = _excluded; } /** * @dev Transfers operator of the contract to a new account (`newOperator`). * Can only be called by the current operator. */ function transferOperator(address newOperator) public onlyOperator { require(newOperator != address(0), "Cheetah::transferOperator: new operator is the zero address"); emit OperatorTransferred(_operator, newOperator); _operator = newOperator; } /** * @dev Update the max transfer amount rate. * Can only be called by the current operator. */ function updateMaxTransferAmountRate(uint16 _maxTransferAmountRate) public onlyOperator { require(_maxTransferAmountRate <= 10000, "Cheetah::updateMaxTransferAmountRate: Max transfer amount rate must not exceed the maximum rate."); emit MaxTransferAmountRateUpdated(msg.sender, maxTransferAmountRate, _maxTransferAmountRate); maxTransferAmountRate = _maxTransferAmountRate; } } pragma solidity 0.7.4; // MasterChef is the master of Token. He can make Token and he is a fair guy. // // Note that it's ownable and the owner wields tremendous power. The ownership // will be transferred to a governance smart contract once TOKEN is sufficiently // distributed and the community can show to govern itself. // // Have fun reading it. Hopefully it's bug-free. God bless. contract MasterChef is Ownable { using SafeMath for uint256; //using SafeERC20 for IERC20; // Info of each user. struct UserInfo { uint256 amount; // How many LP tokens the user has provided. uint256 rewardDebt; // Reward debt. See explanation below. // // We do some fancy math here. Basically, any point in time, the amount of TOKENs // entitled to a user but is pending to be distributed is: // // pending reward = (user.amount * pool.accTokenPerShare) - user.rewardDebt // // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens: // 1. The pool's `accTokenPerShare` (and `lastRewardBlock`) gets updated. // 2. User receives the pending reward sent to his/her address. // 3. User's `amount` gets updated. // 4. User's `rewardDebt` gets updated. } // Info of each pool. struct PoolInfo { IERC20 lpToken; // Address of LP token contract. uint256 allocPoint; // How many allocation points assigned to this pool. TOKENs to distribute per block. uint256 lastRewardBlock; // Last block number that TOKENs distribution occurs. uint256 accTokenPerShare; // Accumulated TOKENs per share, times 1e12. See below. uint16 depositFeeBP; // Deposit fee in basis points } // The TOKEN! Cheetah public token; // Dev address. address public devaddr; // TOKEN created per block. uint256 public tokenPerBlock; // Bonus muliplier for early token makers. uint256 public constant BONUS_MULTIPLIER = 1; // Deposit Fee address address public feeAddress; address public constant BURN_ADDRESS = 0x000000000000000000000000000000000000dEaD; uint16 public burnPerc = 7; // Info of each pool. PoolInfo[] public poolInfo; // Info of each user that stakes LP tokens. mapping(uint256 => mapping(address => UserInfo)) public userInfo; // Total allocation points. Must be the sum of all allocation points in all pools. uint256 public totalAllocPoint = 0; // The block number when TOKEN mining starts. uint256 public startBlock; event Deposit(address indexed user, uint256 indexed pid, uint256 amount); event Withdraw(address indexed user, uint256 indexed pid, uint256 amount); event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount); event SetFeeAddress(address indexed user, address indexed newAddress); event SetDevAddress(address indexed user, address indexed newAddress); event UpdateEmissionRate(address indexed user, uint256 tokenPerBlock); constructor( Cheetah _token, address _devaddr, address _feeAddress, uint256 _tokenPerBlock, uint256 _startBlock ) public { token = _token; devaddr = _devaddr; feeAddress = _feeAddress; tokenPerBlock = _tokenPerBlock; startBlock = _startBlock; } function poolLength() external view returns (uint256) { return poolInfo.length; } function allowanceAmount() public view returns (uint256) { return token.allowance(msg.sender, address(this)); } mapping(IERC20 => bool) public poolExistence; modifier nonDuplicated(IERC20 _lpToken) { require(poolExistence[_lpToken] == false, "nonDuplicated: duplicated"); _; } // Add a new lp to the pool. Can only be called by the owner. function add(uint256 _allocPoint, IERC20 _lpToken, uint16 _depositFeeBP, bool _withUpdate) public nonDuplicated(_lpToken) { require(_depositFeeBP <= 5, "add: invalid deposit fee basis points"); if (_withUpdate) { massUpdatePools(); } uint256 lastRewardBlock = block.number > startBlock ? block.number : startBlock; totalAllocPoint = totalAllocPoint.add(_allocPoint); poolExistence[_lpToken] = true; poolInfo.push( PoolInfo({ lpToken: _lpToken, allocPoint: _allocPoint, lastRewardBlock: lastRewardBlock, accTokenPerShare: 0, depositFeeBP: _depositFeeBP }) ); } // Update the given pool's TOKEN allocation point and deposit fee. Can only be called by the owner. function set(uint256 _pid, uint256 _allocPoint, uint16 _depositFeeBP, bool _withUpdate) public onlyOwner { require(_depositFeeBP <= 5, "set: invalid deposit fee basis points"); if (_withUpdate) { massUpdatePools(); } totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(_allocPoint); poolInfo[_pid].allocPoint = _allocPoint; poolInfo[_pid].depositFeeBP = _depositFeeBP; } // Return reward multiplier over the given _from to _to block. function getMultiplier(uint256 _from, uint256 _to) public pure returns (uint256) { return _to.sub(_from).mul(BONUS_MULTIPLIER); } // View function to see pending TOKENs on frontend. function pendingToken(uint256 _pid, address _user) external view returns (uint256, uint256) { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_user]; uint256 accTokenPerShare = pool.accTokenPerShare; uint256 lpSupply = pool.lpToken.balanceOf(address(this)); if (block.number > pool.lastRewardBlock && lpSupply != 0) { uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number); uint256 tokenReward = multiplier.mul(tokenPerBlock).mul(pool.allocPoint).div(totalAllocPoint); accTokenPerShare = accTokenPerShare.add(tokenReward.mul(1e12).div(lpSupply)); } return ( user.amount, user.amount.mul(accTokenPerShare).div(1e12).sub(user.rewardDebt) ); } // Update reward variables for all pools. Be careful of gas spending! function massUpdatePools() public { uint256 length = poolInfo.length; for (uint256 pid = 0; pid < length; ++pid) { updatePool(pid); } } function getPoolInfo(uint256 _pid) public view returns (uint256, uint256, uint256, uint256) { PoolInfo storage pool = poolInfo[_pid]; uint256 lpSupply = pool.lpToken.balanceOf(address(this)); return ( pool.allocPoint, pool.lastRewardBlock, pool.accTokenPerShare, lpSupply ); } // Update reward variables of the given pool to be up-to-date. function updatePool(uint256 _pid) public { PoolInfo storage pool = poolInfo[_pid]; if (block.number <= pool.lastRewardBlock) { return; } uint256 lpSupply = pool.lpToken.balanceOf(address(this)); if (lpSupply == 0 || pool.allocPoint == 0) { pool.lastRewardBlock = block.number; return; } uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number); uint256 tokenReward = multiplier.mul(tokenPerBlock).mul(pool.allocPoint).div(totalAllocPoint); token.mint(devaddr, tokenReward.div(10)); token.mint(address(this), tokenReward); pool.accTokenPerShare = pool.accTokenPerShare.add(tokenReward.mul(1e12).div(lpSupply)); pool.lastRewardBlock = block.number; } // Deposit LP tokens to MasterChef for TOKEN allocation. function deposit(uint256 _pid, uint256 _amount) public { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; updatePool(_pid); if (user.amount > 0) { uint256 pending = user.amount.mul(pool.accTokenPerShare).div(1e12).sub(user.rewardDebt); if (pending > 0) { safeTokenTransfer(msg.sender, pending); } } if (_amount > 0) { pool.lpToken.transferFrom(address(msg.sender), address(this), _amount); if (pool.depositFeeBP > 0) { uint256 depositFee = _amount.mul(pool.depositFeeBP).div(100); pool.lpToken.transfer(feeAddress, depositFee); user.amount = user.amount.add(_amount).sub(depositFee); } else { user.amount = user.amount.add(_amount); } } user.rewardDebt = user.amount.mul(pool.accTokenPerShare).div(1e12); emit Deposit(msg.sender, _pid, _amount); } // Withdraw LP tokens from MasterChef. function withdraw(uint256 _pid, uint256 _amount) public { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; require(user.amount >= _amount, "withdraw: not good"); updatePool(_pid); uint256 pending = user.amount.mul(pool.accTokenPerShare).div(1e12).sub(user.rewardDebt); if (pending > 0) { safeTokenTransfer(msg.sender, pending); } if (_amount > 0) { user.amount = user.amount.sub(_amount); pool.lpToken.transfer(address(msg.sender), _amount); } user.rewardDebt = user.amount.mul(pool.accTokenPerShare).div(1e12); emit Withdraw(msg.sender, _pid, _amount); } // Withdraw without caring about rewards. EMERGENCY ONLY. function emergencyWithdraw(uint256 _pid) public { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; uint256 amount = user.amount; user.amount = 0; user.rewardDebt = 0; pool.lpToken.transfer(address(msg.sender), amount); emit EmergencyWithdraw(msg.sender, _pid, amount); } // Safe token transfer function, just in case if rounding error causes pool to not have enough TOKENs. function safeTokenTransfer(address _to, uint256 _amount) internal { uint256 burnAmount = _amount.mul(burnPerc).div(100); uint256 sendAmount = _amount.sub(burnAmount); uint256 tokenBal = token.balanceOf(address(this)); bool transferSuccess = false; if (sendAmount > tokenBal) { transferSuccess = token.transfer(_to, tokenBal); tokenBal = 0; } else { transferSuccess = token.transfer(_to, sendAmount); tokenBal = tokenBal.sub(sendAmount); } if (burnAmount > tokenBal) { token.transfer(BURN_ADDRESS, tokenBal); } else { token.transfer(BURN_ADDRESS, burnAmount); } require(transferSuccess, "safeTokenTransfer: transfer failed"); } // Update dev address by the previous dev. function dev(address _devaddr) public { require(msg.sender == devaddr, "dev: wut?"); devaddr = _devaddr; emit SetDevAddress(msg.sender, _devaddr); } function setFeeAddress(address _feeAddress) public { require(msg.sender == feeAddress, "setFeeAddress: FORBIDDEN"); feeAddress = _feeAddress; emit SetFeeAddress(msg.sender, _feeAddress); } //Update emission rate of pools. function updateEmissionRate(uint256 tokenPerBlock) public onlyOwner { massUpdatePools(); tokenPerBlock = tokenPerBlock; emit UpdateEmissionRate(msg.sender, tokenPerBlock); } //Only update before start of farm function updateStartBlock(uint256 _startBlock) public onlyOwner { startBlock = _startBlock; } // Update burning percentage function updateBurnPerc(uint16 _burnPerc) public onlyOwner { burnPerc = _burnPerc; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract Cheetah","name":"_token","type":"address"},{"internalType":"address","name":"_devaddr","type":"address"},{"internalType":"address","name":"_feeAddress","type":"address"},{"internalType":"uint256","name":"_tokenPerBlock","type":"uint256"},{"internalType":"uint256","name":"_startBlock","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newAddress","type":"address"}],"name":"SetDevAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newAddress","type":"address"}],"name":"SetFeeAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenPerBlock","type":"uint256"}],"name":"UpdateEmissionRate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"BONUS_MULTIPLIER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BURN_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_lpToken","type":"address"},{"internalType":"uint16","name":"_depositFeeBP","type":"uint16"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"allowanceAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnPerc","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devaddr","type":"address"}],"name":"dev","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devaddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"getPoolInfo","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"name":"poolExistence","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accTokenPerShare","type":"uint256"},{"internalType":"uint16","name":"depositFeeBP","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"uint16","name":"_depositFeeBP","type":"uint16"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeAddress","type":"address"}],"name":"setFeeAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract Cheetah","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_burnPerc","type":"uint16"}],"name":"updateBurnPerc","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenPerBlock","type":"uint256"}],"name":"updateEmissionRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startBlock","type":"uint256"}],"name":"updateStartBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526004805461ffff60a01b1916600760a01b179055600060075534801561002957600080fd5b50604051611fcf380380611fcf833981810160405260a081101561004c57600080fd5b50805160208201516040830151606084015160809094015192939192909190600061007561010b565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180546001600160a01b03199081166001600160a01b03978816179091556002805482169587169590951790945560048054909416929094169190911790915560035560085561010f565b3390565b611eb18061011e6000396000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c806373d6ce9d1161010f578063cbd258b5116100a2578063f2fde38b11610071578063f2fde38b14610580578063fac2b9ba146105a6578063fc0c546a146105c3578063fccc2813146105cb576101f0565b8063cbd258b5146104e6578063d49e77cd14610520578063d963842214610528578063e2bbb1581461055d576101f0565b80638d88a90e116100de5780638d88a90e146104695780638da5cb5b1461048f5780638dbb1e3a1461049757806393f1a40b146104ba576101f0565b806373d6ce9d146103de57806384e82a33146103fd5780638705fcd41461043b5780638aa2855014610461576101f0565b8063441a3e70116101875780635312ea8e116101565780635312ea8e14610390578063630b5ba1146103ad57806368907ee4146103b5578063715018a6146103d6576101f0565b8063441a3e701461030357806348cd4cb11461032657806348e43af41461032e57806351eb05a614610373576101f0565b80632f380b35116101c35780632f380b351461028c578063375d69df146102cf57806341275358146102d75780634198709a146102fb576101f0565b8063081e3eda146101f55780630ba84cd21461020f5780631526fe271461022e57806317caf6f114610284575b600080fd5b6101fd6105d3565b60408051918252519081900360200190f35b61022c6004803603602081101561022557600080fd5b50356105d9565b005b61024b6004803603602081101561024457600080fd5b503561067c565b604080516001600160a01b039096168652602086019490945284840192909252606084015261ffff166080830152519081900360a00190f35b6101fd6106cb565b6102a9600480360360208110156102a257600080fd5b50356106d1565b604080519485526020850193909352838301919091526060830152519081900360800190f35b6101fd61078b565b6102df61080d565b604080516001600160a01b039092168252519081900360200190f35b6101fd61081c565b61022c6004803603604081101561031957600080fd5b5080359060200135610822565b6101fd6109eb565b61035a6004803603604081101561034457600080fd5b50803590602001356001600160a01b03166109f1565b6040805192835260208301919091528051918290030190f35b61022c6004803603602081101561038957600080fd5b5035610b51565b61022c600480360360208110156103a657600080fd5b5035610d81565b61022c610e85565b61022c600480360360208110156103cb57600080fd5b503561ffff16610ea8565b61022c610f2c565b6103e6610fd8565b6040805161ffff9092168252519081900360200190f35b61022c6004803603608081101561041357600080fd5b508035906001600160a01b036020820135169061ffff60408201351690606001351515610fe9565b61022c6004803603602081101561045157600080fd5b50356001600160a01b0316611220565b6101fd6112cb565b61022c6004803603602081101561047f57600080fd5b50356001600160a01b03166112d0565b6102df611367565b6101fd600480360360408110156104ad57600080fd5b5080359060200135611376565b61035a600480360360408110156104d057600080fd5b50803590602001356001600160a01b0316611390565b61050c600480360360208110156104fc57600080fd5b50356001600160a01b03166113b4565b604080519115158252519081900360200190f35b6102df6113c9565b61022c6004803603608081101561053e57600080fd5b5080359060208101359061ffff604082013516906060013515156113d8565b61022c6004803603604081101561057357600080fd5b5080359060200135611531565b61022c6004803603602081101561059657600080fd5b50356001600160a01b0316611780565b61022c600480360360208110156105bc57600080fd5b5035611882565b6102df6118e9565b6102df6118f8565b60055490565b6105e16118fe565b6001600160a01b03166105f2611367565b6001600160a01b03161461063b576040805162461bcd60e51b81526020600482018190526024820152600080516020611e5c833981519152604482015290519081900360640190fd5b610643610e85565b60408051828152905133917fe2492e003bbe8afa53088b406f0c1cb5d9e280370fc72a74cf116ffd343c4053919081900360200190a250565b6005818154811061068c57600080fd5b6000918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b0390931694509092909161ffff1685565b60075481565b6000806000806000600586815481106106e657fe5b6000918252602080832060059092029091018054604080516370a0823160e01b815230600482015290519295506001600160a01b03909116926370a0823192602480840193829003018186803b15801561073f57600080fd5b505afa158015610753573d6000803e3d6000fd5b505050506040513d602081101561076957600080fd5b5051600183015460028401546003909401549099939850965094509092505050565b60015460408051636eb1769f60e11b815233600482015230602482015290516000926001600160a01b03169163dd62ed3e916044808301926020929190829003018186803b1580156107dc57600080fd5b505afa1580156107f0573d6000803e3d6000fd5b505050506040513d602081101561080657600080fd5b5051905090565b6004546001600160a01b031681565b60035481565b60006005838154811061083157fe5b6000918252602080832086845260068252604080852033865290925292208054600590920290920192508311156108a4576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b6108ad84610b51565b60006108e782600101546108e164e8d4a510006108db8760030154876000015461190290919063ffffffff16565b9061195b565b906119c2565b905080156108f9576108f93382611a1f565b831561098d57815461090b90856119c2565b825582546040805163a9059cbb60e01b81523360048201526024810187905290516001600160a01b039092169163a9059cbb916044808201926020929091908290030181600087803b15801561096057600080fd5b505af1158015610974573d6000803e3d6000fd5b505050506040513d602081101561098a57600080fd5b50505b600383015482546109a89164e8d4a51000916108db91611902565b6001830155604080518581529051869133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a35050505050565b60085481565b600080600060058581548110610a0357fe5b600091825260208083208884526006825260408085206001600160a01b038a811687529084528186206005959095029092016003810154815483516370a0823160e01b815230600482015293519298509596909590949316926370a082319260248082019391829003018186803b158015610a7d57600080fd5b505afa158015610a91573d6000803e3d6000fd5b505050506040513d6020811015610aa757600080fd5b5051600285015490915043118015610abe57508015155b15610b24576000610ad3856002015443611376565b90506000610b006007546108db8860010154610afa6003548761190290919063ffffffff16565b90611902565b9050610b1f610b18846108db8464e8d4a51000611902565b8590611d4e565b935050505b82546001840154610b42906108e164e8d4a510006108db8588611902565b95509550505050509250929050565b600060058281548110610b6057fe5b9060005260206000209060050201905080600201544311610b815750610d7e565b8054604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610bcb57600080fd5b505afa158015610bdf573d6000803e3d6000fd5b505050506040513d6020811015610bf557600080fd5b50519050801580610c0857506001820154155b15610c1a575043600290910155610d7e565b6000610c2a836002015443611376565b90506000610c516007546108db8660010154610afa6003548761190290919063ffffffff16565b6001546002549192506001600160a01b03908116916340c10f199116610c7884600a61195b565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015610cbe57600080fd5b505af1158015610cd2573d6000803e3d6000fd5b5050600154604080516340c10f1960e01b81523060048201526024810186905290516001600160a01b0390921693506340c10f19925060448082019260009290919082900301818387803b158015610d2957600080fd5b505af1158015610d3d573d6000803e3d6000fd5b50505050610d6b610d60846108db64e8d4a510008561190290919063ffffffff16565b600386015490611d4e565b6003850155505043600290920191909155505b50565b600060058281548110610d9057fe5b600091825260208083208584526006825260408085203380875290845281862080548782556001820188905560059096029093018054835163a9059cbb60e01b8152600481019390935260248301879052925190975092956001600160a01b03929092169363a9059cbb9360448084019492939192918390030190829087803b158015610e1c57600080fd5b505af1158015610e30573d6000803e3d6000fd5b505050506040513d6020811015610e4657600080fd5b5050604080518281529051859133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a350505050565b60055460005b81811015610ea457610e9c81610b51565b600101610e8b565b5050565b610eb06118fe565b6001600160a01b0316610ec1611367565b6001600160a01b031614610f0a576040805162461bcd60e51b81526020600482018190526024820152600080516020611e5c833981519152604482015290519081900360640190fd5b6004805461ffff909216600160a01b0261ffff60a01b19909216919091179055565b610f346118fe565b6001600160a01b0316610f45611367565b6001600160a01b031614610f8e576040805162461bcd60e51b81526020600482018190526024820152600080516020611e5c833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600454600160a01b900461ffff1681565b6001600160a01b038316600090815260096020526040902054839060ff1615611059576040805162461bcd60e51b815260206004820152601960248201527f6e6f6e4475706c6963617465643a206475706c69636174656400000000000000604482015290519081900360640190fd5b60058361ffff16111561109d5760405162461bcd60e51b8152600401808060200182810382526025815260200180611da96025913960400191505060405180910390fd5b81156110ab576110ab610e85565b600060085443116110be576008546110c0565b435b6007549091506110d09087611d4e565b6007556001600160a01b0394851660008181526009602090815260408083208054600160ff199091168117909155815160a081018352948552918401998a5283019384526060830182815261ffff978816608085019081526005805493840181559384905293517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db09290930291820180546001600160a01b031916939099169290921790975596517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db187015590517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db286015594517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db3850155505091517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db4909101805461ffff191691909216179055565b6004546001600160a01b0316331461127f576040805162461bcd60e51b815260206004820152601860248201527f736574466565416464726573733a20464f5242494444454e0000000000000000604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b03831690811790915560405133907fd44190acf9d04bdb5d3a1aafff7e6dee8b40b93dfb8c5d3f0eea4b9f4539c3f790600090a350565b600181565b6002546001600160a01b0316331461131b576040805162461bcd60e51b81526020600482015260096024820152686465763a207775743f60b81b604482015290519081900360640190fd5b600280546001600160a01b0319166001600160a01b03831690811790915560405133907f618c54559e94f1499a808aad71ee8729f8e74e8c48e979616328ce493a1a52e790600090a350565b6000546001600160a01b031690565b60006113876001610afa84866119c2565b90505b92915050565b60066020908152600092835260408084209091529082529020805460019091015482565b60096020526000908152604090205460ff1681565b6002546001600160a01b031681565b6113e06118fe565b6001600160a01b03166113f1611367565b6001600160a01b03161461143a576040805162461bcd60e51b81526020600482018190526024820152600080516020611e5c833981519152604482015290519081900360640190fd5b60058261ffff16111561147e5760405162461bcd60e51b8152600401808060200182810382526025815260200180611e376025913960400191505060405180910390fd5b801561148c5761148c610e85565b6114c9836114c3600587815481106114a057fe5b9060005260206000209060050201600101546007546119c290919063ffffffff16565b90611d4e565b60078190555082600585815481106114dd57fe5b906000526020600020906005020160010181905550816005858154811061150057fe5b906000526020600020906005020160040160006101000a81548161ffff021916908361ffff16021790555050505050565b60006005838154811061154057fe5b6000918252602080832086845260068252604080852033865290925292206005909102909101915061157184610b51565b8054156115ba5760006115a682600101546108e164e8d4a510006108db8760030154876000015461190290919063ffffffff16565b905080156115b8576115b83382611a1f565b505b8215611723578154604080516323b872dd60e01b81523360048201523060248201526044810186905290516001600160a01b03909216916323b872dd916064808201926020929091908290030181600087803b15801561161957600080fd5b505af115801561162d573d6000803e3d6000fd5b505050506040513d602081101561164357600080fd5b5050600482015461ffff1615611714576004820154600090611671906064906108db90879061ffff16611902565b8354600480546040805163a9059cbb60e01b81526001600160a01b039283169381019390935260248301859052519394509091169163a9059cbb916044808201926020929091908290030181600087803b1580156116ce57600080fd5b505af11580156116e2573d6000803e3d6000fd5b505050506040513d60208110156116f857600080fd5b5050815461170c9082906108e19087611d4e565b825550611723565b80546117209084611d4e565b81555b6003820154815461173e9164e8d4a51000916108db91611902565b6001820155604080518481529051859133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a350505050565b6117886118fe565b6001600160a01b0316611799611367565b6001600160a01b0316146117e2576040805162461bcd60e51b81526020600482018190526024820152600080516020611e5c833981519152604482015290519081900360640190fd5b6001600160a01b0381166118275760405162461bcd60e51b8152600401808060200182810382526026815260200180611dce6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b61188a6118fe565b6001600160a01b031661189b611367565b6001600160a01b0316146118e4576040805162461bcd60e51b81526020600482018190526024820152600080516020611e5c833981519152604482015290519081900360640190fd5b600855565b6001546001600160a01b031681565b61dead81565b3390565b6000826119115750600061138a565b8282028284828161191e57fe5b04146113875760405162461bcd60e51b8152600401808060200182810382526021815260200180611e166021913960400191505060405180910390fd5b60008082116119b1576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816119ba57fe5b049392505050565b600082821115611a19576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600454600090611a42906064906108db908590600160a01b900461ffff16611902565b90506000611a5083836119c2565b600154604080516370a0823160e01b815230600482015290519293506000926001600160a01b03909216916370a0823191602480820192602092909190829003018186803b158015611aa157600080fd5b505afa158015611ab5573d6000803e3d6000fd5b505050506040513d6020811015611acb57600080fd5b50519050600081831115611b66576001546040805163a9059cbb60e01b81526001600160a01b038981166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015611b2f57600080fd5b505af1158015611b43573d6000803e3d6000fd5b505050506040513d6020811015611b5957600080fd5b5051600092509050611bf7565b6001546040805163a9059cbb60e01b81526001600160a01b038981166004830152602482018790529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015611bbc57600080fd5b505af1158015611bd0573d6000803e3d6000fd5b505050506040513d6020811015611be657600080fd5b50519050611bf482846119c2565b91505b81841115611c87576001546040805163a9059cbb60e01b815261dead60048201526024810185905290516001600160a01b039092169163a9059cbb916044808201926020929091908290030181600087803b158015611c5557600080fd5b505af1158015611c69573d6000803e3d6000fd5b505050506040513d6020811015611c7f57600080fd5b50611d0a9050565b6001546040805163a9059cbb60e01b815261dead60048201526024810187905290516001600160a01b039092169163a9059cbb916044808201926020929091908290030181600087803b158015611cdd57600080fd5b505af1158015611cf1573d6000803e3d6000fd5b505050506040513d6020811015611d0757600080fd5b50505b80611d465760405162461bcd60e51b8152600401808060200182810382526022815260200180611df46022913960400191505060405180910390fd5b505050505050565b600082820183811015611387576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fdfe6164643a20696e76616c6964206465706f7369742066656520626173697320706f696e74734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737373616665546f6b656e5472616e736665723a207472616e73666572206661696c6564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f777365743a20696e76616c6964206465706f7369742066656520626173697320706f696e74734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220ddabd0bb771f3eea62171387793d16d1ca9484b7750502490ee5e5a7e303678864736f6c63430007040033000000000000000000000000c0af9cc9826e541489d02c0d2fa6eca0fe517e200000000000000000000000008ae43dc8762deebd62e92e76c88b0b613ee202130000000000000000000000004b3d0ac3bd84de7753cdf0c095cece3dd61146460000000000000000000000000000000000000000000000008ac7230489e80000000000000000000000000000000000000000000000000000000000000117fbb9
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101f05760003560e01c806373d6ce9d1161010f578063cbd258b5116100a2578063f2fde38b11610071578063f2fde38b14610580578063fac2b9ba146105a6578063fc0c546a146105c3578063fccc2813146105cb576101f0565b8063cbd258b5146104e6578063d49e77cd14610520578063d963842214610528578063e2bbb1581461055d576101f0565b80638d88a90e116100de5780638d88a90e146104695780638da5cb5b1461048f5780638dbb1e3a1461049757806393f1a40b146104ba576101f0565b806373d6ce9d146103de57806384e82a33146103fd5780638705fcd41461043b5780638aa2855014610461576101f0565b8063441a3e70116101875780635312ea8e116101565780635312ea8e14610390578063630b5ba1146103ad57806368907ee4146103b5578063715018a6146103d6576101f0565b8063441a3e701461030357806348cd4cb11461032657806348e43af41461032e57806351eb05a614610373576101f0565b80632f380b35116101c35780632f380b351461028c578063375d69df146102cf57806341275358146102d75780634198709a146102fb576101f0565b8063081e3eda146101f55780630ba84cd21461020f5780631526fe271461022e57806317caf6f114610284575b600080fd5b6101fd6105d3565b60408051918252519081900360200190f35b61022c6004803603602081101561022557600080fd5b50356105d9565b005b61024b6004803603602081101561024457600080fd5b503561067c565b604080516001600160a01b039096168652602086019490945284840192909252606084015261ffff166080830152519081900360a00190f35b6101fd6106cb565b6102a9600480360360208110156102a257600080fd5b50356106d1565b604080519485526020850193909352838301919091526060830152519081900360800190f35b6101fd61078b565b6102df61080d565b604080516001600160a01b039092168252519081900360200190f35b6101fd61081c565b61022c6004803603604081101561031957600080fd5b5080359060200135610822565b6101fd6109eb565b61035a6004803603604081101561034457600080fd5b50803590602001356001600160a01b03166109f1565b6040805192835260208301919091528051918290030190f35b61022c6004803603602081101561038957600080fd5b5035610b51565b61022c600480360360208110156103a657600080fd5b5035610d81565b61022c610e85565b61022c600480360360208110156103cb57600080fd5b503561ffff16610ea8565b61022c610f2c565b6103e6610fd8565b6040805161ffff9092168252519081900360200190f35b61022c6004803603608081101561041357600080fd5b508035906001600160a01b036020820135169061ffff60408201351690606001351515610fe9565b61022c6004803603602081101561045157600080fd5b50356001600160a01b0316611220565b6101fd6112cb565b61022c6004803603602081101561047f57600080fd5b50356001600160a01b03166112d0565b6102df611367565b6101fd600480360360408110156104ad57600080fd5b5080359060200135611376565b61035a600480360360408110156104d057600080fd5b50803590602001356001600160a01b0316611390565b61050c600480360360208110156104fc57600080fd5b50356001600160a01b03166113b4565b604080519115158252519081900360200190f35b6102df6113c9565b61022c6004803603608081101561053e57600080fd5b5080359060208101359061ffff604082013516906060013515156113d8565b61022c6004803603604081101561057357600080fd5b5080359060200135611531565b61022c6004803603602081101561059657600080fd5b50356001600160a01b0316611780565b61022c600480360360208110156105bc57600080fd5b5035611882565b6102df6118e9565b6102df6118f8565b60055490565b6105e16118fe565b6001600160a01b03166105f2611367565b6001600160a01b03161461063b576040805162461bcd60e51b81526020600482018190526024820152600080516020611e5c833981519152604482015290519081900360640190fd5b610643610e85565b60408051828152905133917fe2492e003bbe8afa53088b406f0c1cb5d9e280370fc72a74cf116ffd343c4053919081900360200190a250565b6005818154811061068c57600080fd5b6000918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b0390931694509092909161ffff1685565b60075481565b6000806000806000600586815481106106e657fe5b6000918252602080832060059092029091018054604080516370a0823160e01b815230600482015290519295506001600160a01b03909116926370a0823192602480840193829003018186803b15801561073f57600080fd5b505afa158015610753573d6000803e3d6000fd5b505050506040513d602081101561076957600080fd5b5051600183015460028401546003909401549099939850965094509092505050565b60015460408051636eb1769f60e11b815233600482015230602482015290516000926001600160a01b03169163dd62ed3e916044808301926020929190829003018186803b1580156107dc57600080fd5b505afa1580156107f0573d6000803e3d6000fd5b505050506040513d602081101561080657600080fd5b5051905090565b6004546001600160a01b031681565b60035481565b60006005838154811061083157fe5b6000918252602080832086845260068252604080852033865290925292208054600590920290920192508311156108a4576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b6108ad84610b51565b60006108e782600101546108e164e8d4a510006108db8760030154876000015461190290919063ffffffff16565b9061195b565b906119c2565b905080156108f9576108f93382611a1f565b831561098d57815461090b90856119c2565b825582546040805163a9059cbb60e01b81523360048201526024810187905290516001600160a01b039092169163a9059cbb916044808201926020929091908290030181600087803b15801561096057600080fd5b505af1158015610974573d6000803e3d6000fd5b505050506040513d602081101561098a57600080fd5b50505b600383015482546109a89164e8d4a51000916108db91611902565b6001830155604080518581529051869133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a35050505050565b60085481565b600080600060058581548110610a0357fe5b600091825260208083208884526006825260408085206001600160a01b038a811687529084528186206005959095029092016003810154815483516370a0823160e01b815230600482015293519298509596909590949316926370a082319260248082019391829003018186803b158015610a7d57600080fd5b505afa158015610a91573d6000803e3d6000fd5b505050506040513d6020811015610aa757600080fd5b5051600285015490915043118015610abe57508015155b15610b24576000610ad3856002015443611376565b90506000610b006007546108db8860010154610afa6003548761190290919063ffffffff16565b90611902565b9050610b1f610b18846108db8464e8d4a51000611902565b8590611d4e565b935050505b82546001840154610b42906108e164e8d4a510006108db8588611902565b95509550505050509250929050565b600060058281548110610b6057fe5b9060005260206000209060050201905080600201544311610b815750610d7e565b8054604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610bcb57600080fd5b505afa158015610bdf573d6000803e3d6000fd5b505050506040513d6020811015610bf557600080fd5b50519050801580610c0857506001820154155b15610c1a575043600290910155610d7e565b6000610c2a836002015443611376565b90506000610c516007546108db8660010154610afa6003548761190290919063ffffffff16565b6001546002549192506001600160a01b03908116916340c10f199116610c7884600a61195b565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015610cbe57600080fd5b505af1158015610cd2573d6000803e3d6000fd5b5050600154604080516340c10f1960e01b81523060048201526024810186905290516001600160a01b0390921693506340c10f19925060448082019260009290919082900301818387803b158015610d2957600080fd5b505af1158015610d3d573d6000803e3d6000fd5b50505050610d6b610d60846108db64e8d4a510008561190290919063ffffffff16565b600386015490611d4e565b6003850155505043600290920191909155505b50565b600060058281548110610d9057fe5b600091825260208083208584526006825260408085203380875290845281862080548782556001820188905560059096029093018054835163a9059cbb60e01b8152600481019390935260248301879052925190975092956001600160a01b03929092169363a9059cbb9360448084019492939192918390030190829087803b158015610e1c57600080fd5b505af1158015610e30573d6000803e3d6000fd5b505050506040513d6020811015610e4657600080fd5b5050604080518281529051859133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a350505050565b60055460005b81811015610ea457610e9c81610b51565b600101610e8b565b5050565b610eb06118fe565b6001600160a01b0316610ec1611367565b6001600160a01b031614610f0a576040805162461bcd60e51b81526020600482018190526024820152600080516020611e5c833981519152604482015290519081900360640190fd5b6004805461ffff909216600160a01b0261ffff60a01b19909216919091179055565b610f346118fe565b6001600160a01b0316610f45611367565b6001600160a01b031614610f8e576040805162461bcd60e51b81526020600482018190526024820152600080516020611e5c833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600454600160a01b900461ffff1681565b6001600160a01b038316600090815260096020526040902054839060ff1615611059576040805162461bcd60e51b815260206004820152601960248201527f6e6f6e4475706c6963617465643a206475706c69636174656400000000000000604482015290519081900360640190fd5b60058361ffff16111561109d5760405162461bcd60e51b8152600401808060200182810382526025815260200180611da96025913960400191505060405180910390fd5b81156110ab576110ab610e85565b600060085443116110be576008546110c0565b435b6007549091506110d09087611d4e565b6007556001600160a01b0394851660008181526009602090815260408083208054600160ff199091168117909155815160a081018352948552918401998a5283019384526060830182815261ffff978816608085019081526005805493840181559384905293517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db09290930291820180546001600160a01b031916939099169290921790975596517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db187015590517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db286015594517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db3850155505091517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db4909101805461ffff191691909216179055565b6004546001600160a01b0316331461127f576040805162461bcd60e51b815260206004820152601860248201527f736574466565416464726573733a20464f5242494444454e0000000000000000604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b03831690811790915560405133907fd44190acf9d04bdb5d3a1aafff7e6dee8b40b93dfb8c5d3f0eea4b9f4539c3f790600090a350565b600181565b6002546001600160a01b0316331461131b576040805162461bcd60e51b81526020600482015260096024820152686465763a207775743f60b81b604482015290519081900360640190fd5b600280546001600160a01b0319166001600160a01b03831690811790915560405133907f618c54559e94f1499a808aad71ee8729f8e74e8c48e979616328ce493a1a52e790600090a350565b6000546001600160a01b031690565b60006113876001610afa84866119c2565b90505b92915050565b60066020908152600092835260408084209091529082529020805460019091015482565b60096020526000908152604090205460ff1681565b6002546001600160a01b031681565b6113e06118fe565b6001600160a01b03166113f1611367565b6001600160a01b03161461143a576040805162461bcd60e51b81526020600482018190526024820152600080516020611e5c833981519152604482015290519081900360640190fd5b60058261ffff16111561147e5760405162461bcd60e51b8152600401808060200182810382526025815260200180611e376025913960400191505060405180910390fd5b801561148c5761148c610e85565b6114c9836114c3600587815481106114a057fe5b9060005260206000209060050201600101546007546119c290919063ffffffff16565b90611d4e565b60078190555082600585815481106114dd57fe5b906000526020600020906005020160010181905550816005858154811061150057fe5b906000526020600020906005020160040160006101000a81548161ffff021916908361ffff16021790555050505050565b60006005838154811061154057fe5b6000918252602080832086845260068252604080852033865290925292206005909102909101915061157184610b51565b8054156115ba5760006115a682600101546108e164e8d4a510006108db8760030154876000015461190290919063ffffffff16565b905080156115b8576115b83382611a1f565b505b8215611723578154604080516323b872dd60e01b81523360048201523060248201526044810186905290516001600160a01b03909216916323b872dd916064808201926020929091908290030181600087803b15801561161957600080fd5b505af115801561162d573d6000803e3d6000fd5b505050506040513d602081101561164357600080fd5b5050600482015461ffff1615611714576004820154600090611671906064906108db90879061ffff16611902565b8354600480546040805163a9059cbb60e01b81526001600160a01b039283169381019390935260248301859052519394509091169163a9059cbb916044808201926020929091908290030181600087803b1580156116ce57600080fd5b505af11580156116e2573d6000803e3d6000fd5b505050506040513d60208110156116f857600080fd5b5050815461170c9082906108e19087611d4e565b825550611723565b80546117209084611d4e565b81555b6003820154815461173e9164e8d4a51000916108db91611902565b6001820155604080518481529051859133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a350505050565b6117886118fe565b6001600160a01b0316611799611367565b6001600160a01b0316146117e2576040805162461bcd60e51b81526020600482018190526024820152600080516020611e5c833981519152604482015290519081900360640190fd5b6001600160a01b0381166118275760405162461bcd60e51b8152600401808060200182810382526026815260200180611dce6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b61188a6118fe565b6001600160a01b031661189b611367565b6001600160a01b0316146118e4576040805162461bcd60e51b81526020600482018190526024820152600080516020611e5c833981519152604482015290519081900360640190fd5b600855565b6001546001600160a01b031681565b61dead81565b3390565b6000826119115750600061138a565b8282028284828161191e57fe5b04146113875760405162461bcd60e51b8152600401808060200182810382526021815260200180611e166021913960400191505060405180910390fd5b60008082116119b1576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816119ba57fe5b049392505050565b600082821115611a19576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600454600090611a42906064906108db908590600160a01b900461ffff16611902565b90506000611a5083836119c2565b600154604080516370a0823160e01b815230600482015290519293506000926001600160a01b03909216916370a0823191602480820192602092909190829003018186803b158015611aa157600080fd5b505afa158015611ab5573d6000803e3d6000fd5b505050506040513d6020811015611acb57600080fd5b50519050600081831115611b66576001546040805163a9059cbb60e01b81526001600160a01b038981166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015611b2f57600080fd5b505af1158015611b43573d6000803e3d6000fd5b505050506040513d6020811015611b5957600080fd5b5051600092509050611bf7565b6001546040805163a9059cbb60e01b81526001600160a01b038981166004830152602482018790529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015611bbc57600080fd5b505af1158015611bd0573d6000803e3d6000fd5b505050506040513d6020811015611be657600080fd5b50519050611bf482846119c2565b91505b81841115611c87576001546040805163a9059cbb60e01b815261dead60048201526024810185905290516001600160a01b039092169163a9059cbb916044808201926020929091908290030181600087803b158015611c5557600080fd5b505af1158015611c69573d6000803e3d6000fd5b505050506040513d6020811015611c7f57600080fd5b50611d0a9050565b6001546040805163a9059cbb60e01b815261dead60048201526024810187905290516001600160a01b039092169163a9059cbb916044808201926020929091908290030181600087803b158015611cdd57600080fd5b505af1158015611cf1573d6000803e3d6000fd5b505050506040513d6020811015611d0757600080fd5b50505b80611d465760405162461bcd60e51b8152600401808060200182810382526022815260200180611df46022913960400191505060405180910390fd5b505050505050565b600082820183811015611387576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fdfe6164643a20696e76616c6964206465706f7369742066656520626173697320706f696e74734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737373616665546f6b656e5472616e736665723a207472616e73666572206661696c6564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f777365743a20696e76616c6964206465706f7369742066656520626173697320706f696e74734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220ddabd0bb771f3eea62171387793d16d1ca9484b7750502490ee5e5a7e303678864736f6c63430007040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000c0af9cc9826e541489d02c0d2fa6eca0fe517e200000000000000000000000008ae43dc8762deebd62e92e76c88b0b613ee202130000000000000000000000004b3d0ac3bd84de7753cdf0c095cece3dd61146460000000000000000000000000000000000000000000000008ac7230489e80000000000000000000000000000000000000000000000000000000000000117fbb9
-----Decoded View---------------
Arg [0] : _token (address): 0xC0AF9Cc9826E541489d02c0D2fa6EcA0fe517e20
Arg [1] : _devaddr (address): 0x8ae43Dc8762DEEbD62e92e76C88b0b613eE20213
Arg [2] : _feeAddress (address): 0x4B3d0aC3bD84De7753cDF0c095ceCE3dd6114646
Arg [3] : _tokenPerBlock (uint256): 10000000000000000000
Arg [4] : _startBlock (uint256): 18348985
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000c0af9cc9826e541489d02c0d2fa6eca0fe517e20
Arg [1] : 0000000000000000000000008ae43dc8762deebd62e92e76c88b0b613ee20213
Arg [2] : 0000000000000000000000004b3d0ac3bd84de7753cdf0c095cece3dd6114646
Arg [3] : 0000000000000000000000000000000000000000000000008ac7230489e80000
Arg [4] : 000000000000000000000000000000000000000000000000000000000117fbb9
Deployed Bytecode Sourcemap
28376:11986:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31492:95;;;:::i;:::-;;;;;;;;;;;;;;;;39855:209;;;;;;;;;;;;;;;;-1:-1:-1;39855:209:0;;:::i;:::-;;30295:26;;;;;;;;;;;;;;;;-1:-1:-1;30295:26:0;;:::i;:::-;;;;-1:-1:-1;;;;;30295:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30536:34;;;:::i;34731:373::-;;;;;;;;;;;;;;;;-1:-1:-1;34731:373:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31595:125;;;:::i;30111:25::-;;;:::i;:::-;;;;-1:-1:-1;;;;;30111:25:0;;;;;;;;;;;;;;29949:28;;;:::i;37192:756::-;;;;;;;;;;;;;;;;-1:-1:-1;37192:756:0;;;;;;;:::i;30628:25::-;;;:::i;33627:833::-;;;;;;;;;;;;;;;;-1:-1:-1;33627:833:0;;;;;;-1:-1:-1;;;;;33627:833:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;35180:826;;;;;;;;;;;;;;;;-1:-1:-1;35180:826:0;;:::i;38019:388::-;;;;;;;;;;;;;;;;-1:-1:-1;38019:388:0;;:::i;34543:180::-;;;:::i;40261:98::-;;;;;;;;;;;;;;;;-1:-1:-1;40261:98:0;;;;:::i;24068:148::-;;;:::i;30233:26::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;31997:770;;;;;;;;;;;;;;;;-1:-1:-1;31997:770:0;;;-1:-1:-1;;;;;31997:770:0;;;;;;;;;;;;;;;;;;;:::i;39585:224::-;;;;;;;;;;;;;;;;-1:-1:-1;39585:224:0;-1:-1:-1;;;;;39585:224:0;;:::i;30032:44::-;;;:::i;39393:184::-;;;;;;;;;;;;;;;;-1:-1:-1;39393:184:0;-1:-1:-1;;;;;39393:184:0;;:::i;23417:87::-;;;:::i;33419:143::-;;;;;;;;;;;;;;;;-1:-1:-1;33419:143:0;;;;;;;:::i;30377:64::-;;;;;;;;;;;;;;;;-1:-1:-1;30377:64:0;;;;;;-1:-1:-1;;;;;30377:64:0;;:::i;31728:44::-;;;;;;;;;;;;;;;;-1:-1:-1;31728:44:0;-1:-1:-1;;;;;31728:44:0;;:::i;:::-;;;;;;;;;;;;;;;;;;29887:22;;;:::i;32880:463::-;;;;;;;;;;;;;;;;-1:-1:-1;32880:463:0;;;;;;;;;;;;;;;;;;;;;:::i;36076:1064::-;;;;;;;;;;;;;;;;-1:-1:-1;36076:1064:0;;;;;;;:::i;24371:244::-;;;;;;;;;;;;;;;;-1:-1:-1;24371:244:0;-1:-1:-1;;;;;24371:244:0;;:::i;40112:107::-;;;;;;;;;;;;;;;;-1:-1:-1;40112:107:0;;:::i;29839:20::-;;;:::i;30145:81::-;;;:::i;31492:95::-;31564:8;:15;31492:95;:::o;39855:209::-;23648:12;:10;:12::i;:::-;-1:-1:-1;;;;;23637:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;23637:23:0;;23629:68;;;;;-1:-1:-1;;;23629:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23629:68:0;;;;;;;;;;;;;;;39934:17:::1;:15;:17::i;:::-;40011:45;::::0;;;;;;;40030:10:::1;::::0;40011:45:::1;::::0;;;;;::::1;::::0;;::::1;39855:209:::0;:::o;30295:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;30295:26:0;;;;-1:-1:-1;30295:26:0;;;;;;;:::o;30536:34::-;;;;:::o;34731:373::-;34787:7;34796;34805;34814;34834:21;34858:8;34867:4;34858:14;;;;;;;;;;;;;;;;;;;;;;;34904:12;;:37;;;-1:-1:-1;;;34904:37:0;;34935:4;34904:37;;;;;;34858:14;;-1:-1:-1;;;;;;34904:12:0;;;;:22;;:37;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34904:37:0;34976:15;;;;35006:20;;;;35041:21;;;;;34976:15;;35006:20;;-1:-1:-1;35041:21:0;-1:-1:-1;34904:37:0;-1:-1:-1;34731:373:0;;-1:-1:-1;;;34731:373:0:o;31595:125::-;31670:5;;:42;;;-1:-1:-1;;;31670:42:0;;31686:10;31670:42;;;;31706:4;31670:42;;;;;;31643:7;;-1:-1:-1;;;;;31670:5:0;;:15;;:42;;;;;;;;;;;;;;:5;:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31670:42:0;;-1:-1:-1;31595:125:0;:::o;30111:25::-;;;-1:-1:-1;;;;;30111:25:0;;:::o;29949:28::-;;;;:::o;37192:756::-;37260:21;37284:8;37293:4;37284:14;;;;;;;;;;;;;;;;37333;;;:8;:14;;;;;;37348:10;37333:26;;;;;;;37380:11;;37284:14;;;;;;;;-1:-1:-1;37380:22:0;-1:-1:-1;37380:22:0;37372:53;;;;;-1:-1:-1;;;37372:53:0;;;;;;;;;;;;-1:-1:-1;;;37372:53:0;;;;;;;;;;;;;;;37438:16;37449:4;37438:10;:16::i;:::-;37467:15;37485:69;37538:4;:15;;;37485:48;37528:4;37485:38;37501:4;:21;;;37485:4;:11;;;:15;;:38;;;;:::i;:::-;:42;;:48::i;:::-;:52;;:69::i;:::-;37467:87;-1:-1:-1;37571:11:0;;37567:82;;37599:38;37617:10;37629:7;37599:17;:38::i;:::-;37665:11;;37661:148;;37707:11;;:24;;37723:7;37707:15;:24::i;:::-;37693:38;;37746:12;;:51;;;-1:-1:-1;;;37746:51:0;;37776:10;37746:51;;;;;;;;;;;;-1:-1:-1;;;;;37746:12:0;;;;:21;;:51;;;;;;;;;;;;;;;37693:11;37746:12;:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;37661:148:0;37855:21;;;;37839:11;;:48;;37882:4;;37839:38;;:15;:38::i;:48::-;37821:15;;;:66;37905:35;;;;;;;;37926:4;;37914:10;;37905:35;;;;;;;;;37192:756;;;;;:::o;30628:25::-;;;;:::o;33627:833::-;33701:7;33710;33730:21;33754:8;33763:4;33754:14;;;;;;;;;;;;;;;;33803;;;:8;:14;;;;;;-1:-1:-1;;;;;33803:21:0;;;;;;;;;;;33754:14;;;;;;;;33864:21;;;;33915:12;;:37;;-1:-1:-1;;;33915:37:0;;33946:4;33915:37;;;;;;33754:14;;-1:-1:-1;33803:21:0;;33864;;33754:14;;33915:12;;;:22;;:37;;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33915:37:0;33984:20;;;;33915:37;;-1:-1:-1;33969:12:0;:35;:52;;;;-1:-1:-1;34008:13:0;;;33969:52;33965:354;;;34038:18;34059:49;34073:4;:20;;;34095:12;34059:13;:49::i;:::-;34038:70;;34123:19;34145:71;34200:15;;34145:50;34179:4;:15;;;34145:29;34160:13;;34145:10;:14;;:29;;;;:::i;:::-;:33;;:50::i;:71::-;34123:93;-1:-1:-1;34250:57:0;34271:35;34297:8;34271:21;34123:93;34287:4;34271:15;:21::i;:35::-;34250:16;;:20;:57::i;:::-;34231:76;;33965:354;;;34351:11;;34425:15;;;;34377:64;;:43;34415:4;34377:33;34351:11;34393:16;34377:15;:33::i;:64::-;34329:123;;;;;;;;33627:833;;;;;:::o;35180:826::-;35232:21;35256:8;35265:4;35256:14;;;;;;;;;;;;;;;;;;35232:38;;35303:4;:20;;;35287:12;:36;35283:75;;35340:7;;;35283:75;35389:12;;:37;;;-1:-1:-1;;;35389:37:0;;35420:4;35389:37;;;;;;35370:16;;-1:-1:-1;;;;;35389:12:0;;:22;;:37;;;;;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35389:37:0;;-1:-1:-1;35443:13:0;;;:37;;-1:-1:-1;35460:15:0;;;;:20;35443:37;35439:126;;;-1:-1:-1;35520:12:0;35497:20;;;;:35;35547:7;;35439:126;35577:18;35598:49;35612:4;:20;;;35634:12;35598:13;:49::i;:::-;35577:70;;35658:19;35680:71;35735:15;;35680:50;35714:4;:15;;;35680:29;35695:13;;35680:10;:14;;:29;;;;:::i;:71::-;35764:5;;35775:7;;35658:93;;-1:-1:-1;;;;;;35764:5:0;;;;:10;;35775:7;35784:19;35658:93;35800:2;35784:15;:19::i;:::-;35764:40;;;;;;;;;;;;;-1:-1:-1;;;;;35764:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;35815:5:0;;:38;;;-1:-1:-1;;;35815:38:0;;35834:4;35815:38;;;;;;;;;;;;-1:-1:-1;;;;;35815:5:0;;;;-1:-1:-1;35815:10:0;;-1:-1:-1;35815:38:0;;;;;:5;;:38;;;;;;;;:5;;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35890:62;35916:35;35942:8;35916:21;35932:4;35916:11;:15;;:21;;;;:::i;:35::-;35890:21;;;;;:25;:62::i;:::-;35866:21;;;:86;-1:-1:-1;;35986:12:0;35963:20;;;;:35;;;;-1:-1:-1;35180:826:0;;:::o;38019:388::-;38079:21;38103:8;38112:4;38103:14;;;;;;;;;;;;;;;;38152;;;:8;:14;;;;;;38167:10;38152:26;;;;;;;;;38208:11;;38232:15;;;-1:-1:-1;38258:15:0;;:19;;;38103:14;;;;;;;38288:12;;:50;;-1:-1:-1;;;38288:50:0;;;;;;;;;;;;;;;;;38103:14;;-1:-1:-1;38152:26:0;;-1:-1:-1;;;;;38288:12:0;;;;;:21;;:50;;;;;38103:14;;38288:50;;;;;;;;;;:12;:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;38356:43:0;;;;;;;;38386:4;;38374:10;;38356:43;;;;;38288:50;38356:43;;;38019:388;;;;:::o;34543:180::-;34605:8;:15;34588:14;34631:85;34659:6;34653:3;:12;34631:85;;;34689:15;34700:3;34689:10;:15::i;:::-;34667:5;;34631:85;;;;34543:180;:::o;40261:98::-;23648:12;:10;:12::i;:::-;-1:-1:-1;;;;;23637:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;23637:23:0;;23629:68;;;;;-1:-1:-1;;;23629:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23629:68:0;;;;;;;;;;;;;;;40331:8:::1;:20:::0;;::::1;::::0;;::::1;-1:-1:-1::0;;;40331:20:0::1;-1:-1:-1::0;;;;40331:20:0;;::::1;::::0;;;::::1;::::0;;40261:98::o;24068:148::-;23648:12;:10;:12::i;:::-;-1:-1:-1;;;;;23637:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;23637:23:0;;23629:68;;;;;-1:-1:-1;;;23629:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23629:68:0;;;;;;;;;;;;;;;24175:1:::1;24159:6:::0;;24138:40:::1;::::0;-1:-1:-1;;;;;24159:6:0;;::::1;::::0;24138:40:::1;::::0;24175:1;;24138:40:::1;24206:1;24189:19:::0;;-1:-1:-1;;;;;;24189:19:0::1;::::0;;24068:148::o;30233:26::-;;;-1:-1:-1;;;30233:26:0;;;;;:::o;31997:770::-;-1:-1:-1;;;;;31840:23:0;;;;;;:13;:23;;;;;;32109:8;;31840:23;;:32;31832:70;;;;;-1:-1:-1;;;31832:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;32155:1:::1;32138:13;:18;;;;32130:68;;;;-1:-1:-1::0;;;32130:68:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32215:11;32211:61;;;32243:17;:15;:17::i;:::-;32284:23;32325:10;;32310:12;:25;:53;;32353:10;;32310:53;;;32338:12;32310:53;32394:15;::::0;32284:79;;-1:-1:-1;32394:32:0::1;::::0;32414:11;32394:19:::1;:32::i;:::-;32376:15;:50:::0;-1:-1:-1;;;;;32439:23:0;;::::1;;::::0;;;:13:::1;:23;::::0;;;;;;;:30;;32465:4:::1;-1:-1:-1::0;;32439:30:0;;::::1;::::0;::::1;::::0;;;32510:238;;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;;;;;;;;;;;;;;::::1;::::0;;::::1;::::0;;;;;;32482:8:::1;:277:::0;;;;::::1;::::0;;;;;;;;;;;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;;;;;32482:277:0::1;::::0;;;::::1;::::0;;;::::1;::::0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;32482:277:0;;;;;;;;-1:-1:-1;;32482:277:0::1;::::0;;;::::1;;::::0;;31997:770::o;39585:224::-;39669:10;;-1:-1:-1;;;;;39669:10:0;39655;:24;39647:61;;;;;-1:-1:-1;;;39647:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;39721:10;:24;;-1:-1:-1;;;;;;39721:24:0;-1:-1:-1;;;;;39721:24:0;;;;;;;;39763:38;;39777:10;;39763:38;;-1:-1:-1;;39763:38:0;39585:224;:::o;30032:44::-;30075:1;30032:44;:::o;39393:184::-;39464:7;;-1:-1:-1;;;;;39464:7:0;39450:10;:21;39442:43;;;;;-1:-1:-1;;;39442:43:0;;;;;;;;;;;;-1:-1:-1;;;39442:43:0;;;;;;;;;;;;;;;39498:7;:18;;-1:-1:-1;;;;;;39498:18:0;-1:-1:-1;;;;;39498:18:0;;;;;;;;39534:35;;39548:10;;39534:35;;-1:-1:-1;;39534:35:0;39393:184;:::o;23417:87::-;23463:7;23490:6;-1:-1:-1;;;;;23490:6:0;23417:87;:::o;33419:143::-;33491:7;33518:36;30075:1;33518:14;:3;33526:5;33518:7;:14::i;:36::-;33511:43;;33419:143;;;;;:::o;30377:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;31728:44::-;;;;;;;;;;;;;;;:::o;29887:22::-;;;-1:-1:-1;;;;;29887:22:0;;:::o;32880:463::-;23648:12;:10;:12::i;:::-;-1:-1:-1;;;;;23637:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;23637:23:0;;23629:68;;;;;-1:-1:-1;;;23629:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23629:68:0;;;;;;;;;;;;;;;33021:1:::1;33004:13;:18;;;;32996:68;;;;-1:-1:-1::0;;;32996:68:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33081:11;33077:61;;;33109:17;:15;:17::i;:::-;33168:63;33219:11;33168:46;33188:8;33197:4;33188:14;;;;;;;;;;;;;;;;;;:25;;;33168:15;;:19;;:46;;;;:::i;:::-;:50:::0;::::1;:63::i;:::-;33150:15;:81;;;;33270:11;33242:8;33251:4;33242:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;33322:13;33292:8;33301:4;33292:14;;;;;;;;;;;;;;;;;;:27;;;:43;;;;;;;;;;;;;;;;;;32880:463:::0;;;;:::o;36076:1064::-;36142:21;36166:8;36175:4;36166:14;;;;;;;;;;;;;;;;36215;;;:8;:14;;;;;;36230:10;36215:26;;;;;;;36166:14;;;;;;;;-1:-1:-1;36254:16:0;36224:4;36254:10;:16::i;:::-;36287:11;;:15;36283:241;;36319:15;36337:69;36390:4;:15;;;36337:48;36380:4;36337:38;36353:4;:21;;;36337:4;:11;;;:15;;:38;;;;:::i;:69::-;36319:87;-1:-1:-1;36427:11:0;;36423:90;;36459:38;36477:10;36489:7;36459:17;:38::i;:::-;36283:241;;36538:11;;36534:470;;36566:12;;:70;;;-1:-1:-1;;;36566:70:0;;36600:10;36566:70;;;;36621:4;36566:70;;;;;;;;;;;;-1:-1:-1;;;;;36566:12:0;;;;:25;;:70;;;;;;;;;;;;;;;:12;;:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;36657:17:0;;;;;;:21;36653:340;;36732:17;;;;36699:18;;36720:39;;36755:3;;36720:30;;:7;;36732:17;;36720:11;:30::i;:39::-;36780:12;;36802:10;;;36780:45;;;-1:-1:-1;;;36780:45:0;;-1:-1:-1;;;;;36802:10:0;;;36780:45;;;;;;;;;;;;;;36699:60;;-1:-1:-1;36780:12:0;;;;:21;;:45;;;;;;;;;;;;;;;:12;;:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;36858:11:0;;:40;;36887:10;;36858:24;;36874:7;36858:15;:24::i;:40::-;36844:54;;-1:-1:-1;36653:340:0;;;36953:11;;:24;;36969:7;36953:15;:24::i;:::-;36939:38;;36653:340;37048:21;;;;37032:11;;:48;;37075:4;;37032:38;;:15;:38::i;:48::-;37014:15;;;:66;37098:34;;;;;;;;37118:4;;37106:10;;37098:34;;;;;;;;;36076:1064;;;;:::o;24371:244::-;23648:12;:10;:12::i;:::-;-1:-1:-1;;;;;23637:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;23637:23:0;;23629:68;;;;;-1:-1:-1;;;23629:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23629:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;24460:22:0;::::1;24452:73;;;;-1:-1:-1::0;;;24452:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24562:6;::::0;;24541:38:::1;::::0;-1:-1:-1;;;;;24541:38:0;;::::1;::::0;24562:6;::::1;::::0;24541:38:::1;::::0;::::1;24590:6;:17:::0;;-1:-1:-1;;;;;;24590:17:0::1;-1:-1:-1::0;;;;;24590:17:0;;;::::1;::::0;;;::::1;::::0;;24371:244::o;40112:107::-;23648:12;:10;:12::i;:::-;-1:-1:-1;;;;;23637:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;23637:23:0;;23629:68;;;;;-1:-1:-1;;;23629:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23629:68:0;;;;;;;;;;;;;;;40187:10:::1;:24:::0;40112:107::o;29839:20::-;;;-1:-1:-1;;;;;29839:20:0;;:::o;30145:81::-;30184:42;30145:81;:::o;636:106::-;724:10;636:106;:::o;7477:220::-;7535:7;7559:6;7555:20;;-1:-1:-1;7574:1:0;7567:8;;7555:20;7598:5;;;7602:1;7598;:5;:1;7622:5;;;;;:10;7614:56;;;;-1:-1:-1;;;7614:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8175:153;8233:7;8265:1;8261;:5;8253:44;;;;;-1:-1:-1;;;8253:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;8319:1;8315;:5;;;;;;;8175:153;-1:-1:-1;;;8175:153:0:o;7060:158::-;7118:7;7151:1;7146;:6;;7138:49;;;;;-1:-1:-1;;;7138:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7205:5:0;;;7060:158::o;38523:814::-;38633:8;;38600:18;;38621:30;;38647:3;;38621:21;;:7;;-1:-1:-1;;;38633:8:0;;;;38621:11;:21::i;:30::-;38600:51;-1:-1:-1;38662:18:0;38683:23;:7;38600:51;38683:11;:23::i;:::-;38736:5;;:30;;;-1:-1:-1;;;38736:30:0;;38760:4;38736:30;;;;;;38662:44;;-1:-1:-1;38717:16:0;;-1:-1:-1;;;;;38736:5:0;;;;:15;;:30;;;;;;;;;;;;;;;:5;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38736:30:0;;-1:-1:-1;38777:20:0;38822:21;;;38818:260;;;38878:5;;:29;;;-1:-1:-1;;;38878:29:0;;-1:-1:-1;;;;;38878:29:0;;;;;;;;;;;;;;;:5;;;;;:14;;:29;;;;;;;;;;;;;;:5;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38878:29:0;38933:1;;-1:-1:-1;38878:29:0;-1:-1:-1;38818:260:0;;;38985:5;;:31;;;-1:-1:-1;;;38985:31:0;;-1:-1:-1;;;;;38985:31:0;;;;;;;;;;;;;;;:5;;;;;:14;;:31;;;;;;;;;;;;;;:5;;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38985:31:0;;-1:-1:-1;39042:24:0;:8;39055:10;39042:12;:24::i;:::-;39031:35;;38818:260;39107:8;39094:10;:21;39090:165;;;39132:5;;:38;;;-1:-1:-1;;;39132:38:0;;30184:42;39132:38;;;;;;;;;;;;-1:-1:-1;;;;;39132:5:0;;;;:14;;:38;;;;;;;;;;;;;;;:5;;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39090:165:0;;-1:-1:-1;39090:165:0;;39203:5;;:40;;;-1:-1:-1;;;39203:40:0;;30184:42;39203:40;;;;;;;;;;;;-1:-1:-1;;;;;39203:5:0;;;;:14;;:40;;;;;;;;;;;;;;;:5;;:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;39090:165:0;39275:15;39267:62;;;;-1:-1:-1;;;39267:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38523:814;;;;;;:::o;6598:179::-;6656:7;6688:5;;;6712:6;;;;6704:46;;;;;-1:-1:-1;;;6704:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;
Swarm Source
ipfs://ddabd0bb771f3eea62171387793d16d1ca9484b7750502490ee5e5a7e3036788
Loading...
Loading
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.