Feature Tip: Add private address tag to any address under My Name Tag !
TokenBot token contract has migrated to a new address.
ERC-20
Overview
Max Total Supply
283,665.475442430748371047 TKB
Holders
19 (0.00%)
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
262.250376937661258098 TKBValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Token
Compiler Version
v0.6.0+commit.26b70077
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-10-08 */ /** *Submitted for verification at Etherscan.io on 2020-09-28 */ // SPDX-License-Identifier: MIT pragma solidity 0.6.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, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } /* * @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; } } /** * @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. */ 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 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; } } /** * @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); } /** * @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}. */ abstract 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, uint8 decimals) public { _name = name; _symbol = symbol; _decimals = decimals; } /** * @dev Returns the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view 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 returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view 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 { _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 { } } interface IUniswapV2Factory { function getPair(address tokenA, address tokenB) external view returns (address pair); } contract Token is Ownable, ERC20 { using SafeMath for uint256; event Staked( address lpToken, address user, uint256 amount ); event Unstaked( address user, address lpToken, uint256 amount ); event RewardWithdrawn( address user, uint256 amount ); uint256 private constant rewardMultiplier = 1e17; struct Stake { mapping(address => uint256) lpToStakeAmount; // lp token address to token amount uint256 totalStakedAmountByUser; // sum of all lp tokens uint256 lastInteractionBlockNumber; // block number at last withdraw address[] lpTokens; // list of all lps } mapping(address => Stake) public userToStakes; // user to stake uint256 public totalStakedAmount; // sum of stakes by all of the users across all lp IUniswapV2Factory public uniswapFactory = IUniswapV2Factory(0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f); struct TokenStake { uint256 amount; uint256 lastInteractionTimestamp; uint256 stakingPeriodEndTime; uint256 rate; } mapping(address => TokenStake) public userToTokenStakes; // user to test token stake struct Lockup { uint256 duration; // duration in seconds uint256 rate; // reward rate } Lockup[8] public lockupPeriods; IERC20 public swapToken = IERC20(0xEEd2B7756E295A9300e53dD049AeB0751899BAe3); uint256 public swapTokenDecimals = 18; address public swapTreasury = 0x4eFfA0933a1099b8F95E34964c36Dfd9b7B1A49a; uint256 public totalTokensStakedAmount; uint256 public blockMiningTime = 15; uint256 public constant MAX_SUPPLY = 6000000 * 10 ** 18; constructor() public ERC20("TokenBot", "TKB", 18) { // _mint(_msgSender(), 1000 * 10 ** 18); // for testing // lockupPeriods[0] = Lockup(200, 1e15); for testing lockupPeriods[0] = Lockup(604800, 1e15); lockupPeriods[1] = Lockup(2592000, 4e15); lockupPeriods[2] = Lockup(5184000, 8e15); lockupPeriods[3] = Lockup(7776000, 12e15); lockupPeriods[4] = Lockup(15552000, 24e15); lockupPeriods[5] = Lockup(31104000, 48e15); lockupPeriods[6] = Lockup(63113904, 96e15); lockupPeriods[7] = Lockup(126227808, 192e15); } function changeBlockMiningTime(uint256 newTime) external onlyOwner { require( newTime != 0, "new time cannot be zero" ); blockMiningTime = newTime; } function swapAndStakeDOG( uint256 swapTokenAmount ) external { require( swapTokenAmount != 0, "swapTokenAmount should be greater than 0" ); require( swapToken.transferFrom(_msgSender(), swapTreasury, swapTokenAmount), "#transferFrom failed" ); uint256 tokensReceived = swapTokenAmount.mul(10 ** uint256(decimals())) .div(250 * 10 ** swapTokenDecimals); _mint(_msgSender(), tokensReceived); stakeTKB(tokensReceived, 0); } function stakeTKB( uint256 stakeAmount, uint256 lockUpPeriodIdx // 0 - 7 - is represented by index of `lockupPeriods` array. ) public { require( stakeAmount != 0, "stakeAmount should be greater than 0" ); require( lockUpPeriodIdx <= 7, "lock lockUpPeriodIdx should be between 0 and 7" ); TokenStake storage currentStake = userToTokenStakes[_msgSender()]; require( currentStake.amount == 0, "address has already staked" ); currentStake.amount = stakeAmount; currentStake.stakingPeriodEndTime = block.timestamp.add( lockupPeriods[lockUpPeriodIdx].duration ); currentStake.rate = lockupPeriods[lockUpPeriodIdx].rate; currentStake.lastInteractionTimestamp = block.timestamp; totalTokensStakedAmount = totalTokensStakedAmount.add(stakeAmount); _transfer(_msgSender(), address(this), stakeAmount); emit Staked( address(this), msg.sender, stakeAmount ); } function unstakeTKB() external { uint256 amountToUnstake = userToTokenStakes[_msgSender()].amount; bool executeUnstaking; if (amountToUnstake != 0) { if (userToTokenStakes[_msgSender()].stakingPeriodEndTime <= block.timestamp) { executeUnstaking = true; } if (totalSupply() == MAX_SUPPLY) { executeUnstaking = true; } } require( executeUnstaking, "cannot unstake" ); _withdrawRewardTKB(_msgSender()); totalTokensStakedAmount = totalTokensStakedAmount.sub(amountToUnstake); delete userToTokenStakes[_msgSender()]; _transfer(address(this), _msgSender(), amountToUnstake); emit Unstaked(address(this), _msgSender(), amountToUnstake); } function withdrawRewardTKB() external { _withdrawRewardTKB(_msgSender()); } function getTKBRewardByAddress(address user) public view returns(uint256) { TokenStake storage currentStake = userToTokenStakes[user]; uint256 secondsElapsed; if (block.timestamp > currentStake.stakingPeriodEndTime) { if (currentStake.stakingPeriodEndTime < currentStake.lastInteractionTimestamp) { return 0; } secondsElapsed = currentStake.stakingPeriodEndTime .sub(currentStake.lastInteractionTimestamp); } else { secondsElapsed = block.timestamp .sub(currentStake.lastInteractionTimestamp); } uint256 stakeAmount = currentStake.amount; uint256 blockCountElapsed = secondsElapsed.div(blockMiningTime); if (blockCountElapsed == 0 || stakeAmount == 0) { return 0; } return currentStake.rate .mul(blockCountElapsed) .mul(stakeAmount) .div(totalTokensStakedAmount); } function _withdrawRewardTKB(address user) internal { uint256 rewardAmount = getTKBRewardByAddress(user); if (rewardAmount != 0) { _mint(_msgSender(), rewardAmount); emit RewardWithdrawn(user, rewardAmount); } userToTokenStakes[_msgSender()].lastInteractionTimestamp = block.timestamp; } function stakeLP( uint256 stakeAmount ) external { require( stakeAmount != 0, "stakeAmount should be greater than 0" ); // only for testing, should be removed. // address lpToken = tokenA; address lpToken = uniswapFactory.getPair( address(this), 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 ); _withdrawRewardLP(_msgSender()); totalStakedAmount = totalStakedAmount.add(stakeAmount); // add stake amount to sum of all stakes across al lps Stake storage currentStake = userToStakes[_msgSender()]; uint256 oldStakeAmountByLP = currentStake.lpToStakeAmount[lpToken]; if (oldStakeAmountByLP == 0) { currentStake.lpTokens.push(lpToken); } currentStake.lpToStakeAmount[lpToken] = oldStakeAmountByLP // add stake amount by lp .add(stakeAmount); currentStake.totalStakedAmountByUser = currentStake.totalStakedAmountByUser // add stake amount to sum of all stakes by user .add(stakeAmount); require( IERC20(lpToken).transferFrom(_msgSender(), address(this), stakeAmount), // get the tokens from user to the contract "#transferFrom failed" ); emit Staked( lpToken, msg.sender, stakeAmount ); } function unstakeLP( address[] calldata lpTokens ) external { _withdrawRewardLP(_msgSender()); Stake storage currentStake = userToStakes[_msgSender()]; address[] storage tokens = currentStake.lpTokens; uint256 stakeAmountToDeduct; // unstake user for lp tokens provided in the array for (uint256 i; i < lpTokens.length; i++) { uint256 stakeAmount = currentStake.lpToStakeAmount[ lpTokens[i] ]; if (stakeAmount == 0) { revert("unstaking an invalid LP token"); } delete currentStake.lpToStakeAmount[ lpTokens[i] ]; currentStake.totalStakedAmountByUser = currentStake.totalStakedAmountByUser .sub(stakeAmount); stakeAmountToDeduct = stakeAmountToDeduct.add(stakeAmount); for (uint256 p; p < tokens.length; p++) { if (lpTokens[i] == tokens[p]) { tokens[p] = tokens[tokens.length - 1]; tokens.pop(); } } require( IERC20(lpTokens[i]).transfer(_msgSender(), stakeAmount), // transfer staked tokens back to the user "#transfer failed" ); emit Unstaked(lpTokens[i], _msgSender(), stakeAmount); } totalStakedAmount = totalStakedAmount.sub(stakeAmountToDeduct); // subtract unstaked amount from total staked amount } function withdrawRewardLP() external { _withdrawRewardLP(_msgSender()); } function getBlockCountSinceLastIntreraction(address user) public view returns(uint256) { uint256 lastInteractionBlockNum = userToStakes[user].lastInteractionBlockNumber; if (lastInteractionBlockNum == 0) { return 0; } return block.number.sub(lastInteractionBlockNum); } function getTotalStakeAmountByUser(address user) public view returns(uint256) { return userToStakes[user].totalStakedAmountByUser; } function getAllLPsByUser(address user) public view returns(address[] memory) { return userToStakes[user].lpTokens; } function getStakeAmountByUserByLP( address lp, address user ) public view returns(uint256) { return userToStakes[user].lpToStakeAmount[lp]; } function getLPRewardByAddress( address user ) public view returns(uint256) { if (totalStakedAmount == 0) { return 0; } Stake storage currentStake = userToStakes[user]; uint256 blockCount = block.number .sub(currentStake.lastInteractionBlockNumber); uint256 totalReward = blockCount.mul(rewardMultiplier); return totalReward .mul(currentStake.totalStakedAmountByUser) .div(totalStakedAmount); } function _withdrawRewardLP(address user) internal { uint256 rewardAmount = getLPRewardByAddress(user); if (rewardAmount != 0) { _mint(user, rewardAmount); // mint reward Tokens for the user emit RewardWithdrawn(user, rewardAmount); } userToStakes[user].lastInteractionBlockNumber = block.number; } function _mint(address account, uint256 amount) internal override { require( totalSupply().add(amount) <= MAX_SUPPLY, "total supply exceeds max supply" ); super._mint(account, amount); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","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":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RewardWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"lpToken","type":"address"},{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"address","name":"lpToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Unstaked","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blockMiningTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newTime","type":"uint256"}],"name":"changeBlockMiningTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getAllLPsByUser","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getBlockCountSinceLastIntreraction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getLPRewardByAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"lp","type":"address"},{"internalType":"address","name":"user","type":"address"}],"name":"getStakeAmountByUserByLP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getTKBRewardByAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getTotalStakeAmountByUser","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"lockupPeriods","outputs":[{"internalType":"uint256","name":"duration","type":"uint256"},{"internalType":"uint256","name":"rate","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"stakeAmount","type":"uint256"}],"name":"stakeLP","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"stakeAmount","type":"uint256"},{"internalType":"uint256","name":"lockUpPeriodIdx","type":"uint256"}],"name":"stakeTKB","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"swapTokenAmount","type":"uint256"}],"name":"swapAndStakeDOG","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokenDecimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTreasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalStakedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalTokensStakedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapFactory","outputs":[{"internalType":"contract IUniswapV2Factory","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"lpTokens","type":"address[]"}],"name":"unstakeLP","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unstakeTKB","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userToStakes","outputs":[{"internalType":"uint256","name":"totalStakedAmountByUser","type":"uint256"},{"internalType":"uint256","name":"lastInteractionBlockNumber","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userToTokenStakes","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"lastInteractionTimestamp","type":"uint256"},{"internalType":"uint256","name":"stakingPeriodEndTime","type":"uint256"},{"internalType":"uint256","name":"rate","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawRewardLP","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawRewardTKB","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052600980546001600160a01b0319908116735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f17909155601b8054821673eed2b7756e295a9300e53dd049aeb0751899bae31790556012601c55601d8054909116734effa0933a1099b8f95e34964c36dfd9b7b1a49a179055600f601f553480156200008157600080fd5b5060405180604001604052806008815260200167151bdad95b909bdd60c21b815250604051806040016040528060038152602001622a25a160e91b81525060126000620000d36200028360201b60201c565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35082516200013290600490602086019062000288565b5081516200014890600590602085019062000288565b506006805460ff191660ff92909216919091179055505060408051808201825262093a8080825266038d7ea4c680006020928301819052600b91909155600c558151808301835262278d00808252660e35fa931a0000918301829052600d55600e5581518083018352624f1a00808252661c6bf526340000918301829052600f55601055815180830183526276a700808252662aa1efb94e00009183018290526011556012558151808301835262ed4e00808252665543df729c0000918301829052601355601455815180830183526301da9c0080825266aa87bee5380000918301829052601555601655815180830183526303c30ab08082526701550f7dca700000918301829052601755601855815180830190925263078615608083526702aa1efb94e0000092909101829052601955601a556200032a565b335b90565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620002cb57805160ff1916838001178555620002fb565b82800160010185558215620002fb579182015b82811115620002fb578251825591602001919060010190620002de565b50620003099291506200030d565b5090565b6200028591905b8082111562000309576000815560010162000314565b6124f6806200033a6000396000f3fe608060405234801561001057600080fd5b506004361061023d5760003560e01c80636e409fb81161013b578063abdb2ac0116100b8578063e5da2cb21161007c578063e5da2cb2146106ba578063f233567a146106d7578063f2fde38b14610723578063f63c898714610749578063ff86bd23146107bf5761023d565b8063abdb2ac01461061b578063be7768e914610638578063d39c1fef1461065e578063dc73e49c14610684578063dd62ed3e1461068c5761023d565b80638bdb2afa116100ff5780638bdb2afa146105ab5780638da5cb5b146105b357806395d89b41146105bb578063a457c2d7146105c3578063a9059cbb146105ef5761023d565b80636e409fb81461052457806370a0823114610552578063715018a61461057857806379d7a1da146105805780637b005177146105885761023d565b806332e10093116101c9578063492723ff1161018d578063492723ff1461049d5780634a6a354a146104d35780635495ec27146104f0578063567e98f9146104f8578063569d6739146105005761023d565b806332e10093146103f757806334086c95146103ff5780633950935114610425578063399aa1a71461045157806347c7c0e6146104775761023d565b806318160ddd1161021057806318160ddd1461037957806323b872dd146103935780632580ff3c146103c9578063313ce567146103d157806332cb6b0c146103ef5761023d565b80630514f6471461024257806306fdde03146102b4578063095ea7b3146103315780630ec88d5514610371575b600080fd5b6102b26004803603602081101561025857600080fd5b81019060208101813564010000000081111561027357600080fd5b82018360208201111561028557600080fd5b803590602001918460208302840111640100000000831117156102a757600080fd5b5090925090506107c7565b005b6102bc610b9c565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102f65781810151838201526020016102de565b50505050905090810190601f1680156103235780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61035d6004803603604081101561034757600080fd5b506001600160a01b038135169060200135610c32565b604080519115158252519081900360200190f35b6102b2610c50565b610381610dea565b60408051918252519081900360200190f35b61035d600480360360608110156103a957600080fd5b506001600160a01b03813581169160208101359091169060400135610df0565b610381610e7d565b6103d9610e83565b6040805160ff9092168252519081900360200190f35b610381610e8c565b6102b2610e9b565b6103816004803603602081101561041557600080fd5b50356001600160a01b0316610ea8565b61035d6004803603604081101561043b57600080fd5b506001600160a01b038135169060200135610eec565b6103816004803603602081101561046757600080fd5b50356001600160a01b0316610f40565b6103816004803603602081101561048d57600080fd5b50356001600160a01b0316611035565b6104ba600480360360208110156104b357600080fd5b50356110bf565b6040805192835260208301919091528051918290030190f35b6102b2600480360360208110156104e957600080fd5b50356110de565b6102b261124f565b61038161125a565b610508611260565b604080516001600160a01b039092168252519081900360200190f35b6103816004803603604081101561053a57600080fd5b506001600160a01b038135811691602001351661126f565b6103816004803603602081101561056857600080fd5b50356001600160a01b031661129b565b6102b26112b6565b61038161136a565b6102b26004803603604081101561059e57600080fd5b5080359060200135611370565b61050861151b565b61050861152a565b6102bc611539565b61035d600480360360408110156105d957600080fd5b506001600160a01b03813516906020013561159a565b61035d6004803603604081101561060557600080fd5b506001600160a01b038135169060200135611608565b6102b26004803603602081101561063157600080fd5b503561161c565b6103816004803603602081101561064e57600080fd5b50356001600160a01b03166116dd565b6104ba6004803603602081101561067457600080fd5b50356001600160a01b03166116fb565b610508611717565b610381600480360360408110156106a257600080fd5b506001600160a01b0381358116916020013516611726565b6102b2600480360360208110156106d057600080fd5b5035611751565b6106fd600480360360208110156106ed57600080fd5b50356001600160a01b0316611a23565b604080519485526020850193909352838301919091526060830152519081900360800190f35b6102b26004803603602081101561073957600080fd5b50356001600160a01b0316611a4a565b61076f6004803603602081101561075f57600080fd5b50356001600160a01b0316611b54565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156107ab578181015183820152602001610793565b505050509050019250505060405180910390f35b610381611bcd565b6107d76107d2611bd3565b611bd7565b6000600760006107e5611bd3565b6001600160a01b031681526020810191909152604001600090812091506003820190805b84811015610b7e576000848188888581811061082157fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b0316815260200190815260200160002054905080600014156108aa576040805162461bcd60e51b815260206004820152601d60248201527f756e7374616b696e6720616e20696e76616c6964204c5020746f6b656e000000604482015290519081900360640190fd5b8460008888858181106108b957fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b0316815260200190815260200160002060009055610904818660010154611c5a90919063ffffffff16565b6001860155610919838263ffffffff611ca316565b925060005b8454811015610a125784818154811061093357fe5b6000918252602090912001546001600160a01b031688888581811061095457fe5b905060200201356001600160a01b03166001600160a01b03161415610a0a5784548590600019810190811061098557fe5b9060005260206000200160009054906101000a90046001600160a01b03168582815481106109af57fe5b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550848054806109e757fe5b600082815260209020810160001990810180546001600160a01b03191690550190555b60010161091e565b50868683818110610a1f57fe5b905060200201356001600160a01b03166001600160a01b031663a9059cbb610a45611bd3565b836040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015610a9557600080fd5b505af1158015610aa9573d6000803e3d6000fd5b505050506040513d6020811015610abf57600080fd5b5051610b05576040805162461bcd60e51b815260206004820152601060248201526f08dd1c985b9cd9995c8819985a5b195960821b604482015290519081900360640190fd5b7fd8654fcc8cf5b36d30b3f5e4688fc78118e6d68de60b9994e09902268b57c3e3878784818110610b3257fe5b905060200201356001600160a01b0316610b4a611bd3565b604080516001600160a01b03938416815291909216602082015280820184905290519081900360600190a150600101610809565b50600854610b92908263ffffffff611c5a16565b6008555050505050565b60048054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610c285780601f10610bfd57610100808354040283529160200191610c28565b820191906000526020600020905b815481529060010190602001808311610c0b57829003601f168201915b5050505050905090565b6000610c46610c3f611bd3565b8484611cfd565b5060015b92915050565b6000600a6000610c5e611bd3565b6001600160a01b03168152602081019190915260400160009081205491508115610cda5742600a6000610c8f611bd3565b6001600160a01b03166001600160a01b031681526020019081526020016000206002015411610cbc575060015b6a04f68ca6d8cd91c6000000610cd0610dea565b1415610cda575060015b80610d1d576040805162461bcd60e51b815260206004820152600e60248201526d63616e6e6f7420756e7374616b6560901b604482015290519081900360640190fd5b610d2d610d28611bd3565b611de9565b601e54610d40908363ffffffff611c5a16565b601e55600a6000610d4f611bd3565b6001600160a01b0316815260208101919091526040016000908120818155600181018290556002810182905560030155610d9130610d8b611bd3565b84611e7a565b7fd8654fcc8cf5b36d30b3f5e4688fc78118e6d68de60b9994e09902268b57c3e330610dbb611bd3565b604080516001600160a01b03938416815291909216602082015280820185905290519081900360600190a15050565b60035490565b6000610dfd848484611e7a565b610e7384610e09611bd3565b610e6e856040518060600160405280602881526020016123df602891396001600160a01b038a16600090815260026020526040812090610e47611bd3565b6001600160a01b03168152602081019190915260400160002054919063ffffffff611fe316565b611cfd565b5060019392505050565b601e5481565b60065460ff1690565b6a04f68ca6d8cd91c600000081565b610ea6610d28611bd3565b565b6001600160a01b03811660009081526007602052604081206002015480610ed3576000915050610ee7565b610ee3438263ffffffff611c5a16565b9150505b919050565b6000610c46610ef9611bd3565b84610e6e8560026000610f0a611bd3565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff611ca316565b6001600160a01b0381166000908152600a6020526040812060028101548290421115610fa157816001015482600201541015610f8157600092505050610ee7565b60018201546002830154610f9a9163ffffffff611c5a16565b9050610fba565b6001820154610fb790429063ffffffff611c5a16565b90505b8154601f54600090610fd390849063ffffffff61207a16565b9050801580610fe0575081155b15610ff2576000945050505050610ee7565b61102b601e5461101f846110138589600301546120bc90919063ffffffff16565b9063ffffffff6120bc16565b9063ffffffff61207a16565b9695505050505050565b60006008546000141561104a57506000610ee7565b6001600160a01b0382166000908152600760205260408120600281015490919061107b90439063ffffffff611c5a16565b905060006110978267016345785d8a000063ffffffff6120bc16565b90506110b660085461101f8560010154846120bc90919063ffffffff16565b95945050505050565b600b81600881106110cc57fe5b60020201805460019091015490915082565b8061111a5760405162461bcd60e51b815260040180806020018281038252602881526020018061242c6028913960400191505060405180910390fd5b601b546001600160a01b03166323b872dd611133611bd3565b601d54604080516001600160e01b031960e086901b1681526001600160a01b039384166004820152929091166024830152604482018590525160648083019260209291908290030181600087803b15801561118d57600080fd5b505af11580156111a1573d6000803e3d6000fd5b505050506040513d60208110156111b757600080fd5b5051611201576040805162461bcd60e51b815260206004820152601460248201527308dd1c985b9cd9995c919c9bdb4819985a5b195960621b604482015290519081900360640190fd5b600061122d601c54600a0a60fa0261101f61121a610e83565b859060ff16600a0a63ffffffff6120bc16565b905061124061123a611bd3565b82612115565b61124b816000611370565b5050565b610ea66107d2611bd3565b60085481565b601d546001600160a01b031681565b6001600160a01b0380821660009081526007602090815260408083209386168352929052205492915050565b6001600160a01b031660009081526001602052604090205490565b6112be611bd3565b6000546001600160a01b03908116911614611320576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b601c5481565b816113ac5760405162461bcd60e51b81526004018080602001828103825260248152602001806124546024913960400191505060405180910390fd5b60078111156113ec5760405162461bcd60e51b815260040180806020018281038252602e81526020018061236a602e913960400191505060405180910390fd5b6000600a60006113fa611bd3565b6001600160a01b03168152602081019190915260400160002080549091501561146a576040805162461bcd60e51b815260206004820152601a60248201527f616464726573732068617320616c7265616479207374616b6564000000000000604482015290519081900360640190fd5b82815561148f600b836008811061147d57fe5b6002020154429063ffffffff611ca316565b6002820155600b82600881106114a157fe5b6002020160019081015460038301554290820155601e546114c29084611ca3565b601e556114d76114d0611bd3565b3085611e7a565b6040805130815233602082015280820185905290517f5dac0c1b1112564a045ba943c9d50270893e8e826c49be8e7073adc713ab7bd79181900360600190a1505050565b6009546001600160a01b031681565b6000546001600160a01b031690565b60058054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610c285780601f10610bfd57610100808354040283529160200191610c28565b6000610c466115a7611bd3565b84610e6e8560405180606001604052806025815260200161249c60259139600260006115d1611bd3565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff611fe316565b6000610c46611615611bd3565b8484611e7a565b611624611bd3565b6000546001600160a01b03908116911614611686576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b806116d8576040805162461bcd60e51b815260206004820152601760248201527f6e65772074696d652063616e6e6f74206265207a65726f000000000000000000604482015290519081900360640190fd5b601f55565b6001600160a01b031660009081526007602052604090206001015490565b6007602052600090815260409020600181015460029091015482565b601b546001600160a01b031681565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b8061178d5760405162461bcd60e51b81526004018080602001828103825260248152602001806124546024913960400191505060405180910390fd5b6009546040805163e6a4390560e01b815230600482015273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2602482015290516000926001600160a01b03169163e6a43905916044808301926020929190829003018186803b1580156117f257600080fd5b505afa158015611806573d6000803e3d6000fd5b505050506040513d602081101561181c57600080fd5b5051905061182b6107d2611bd3565b60085461183e908363ffffffff611ca316565b600855600060078161184e611bd3565b6001600160a01b03908116825260208083019390935260409182016000908120918616815292819052912054909150806118b357600382018054600181018255600091825260209091200180546001600160a01b0319166001600160a01b0385161790555b6118c3818563ffffffff611ca316565b6001600160a01b03841660009081526020849052604090205560018201546118f1908563ffffffff611ca316565b60018301556001600160a01b0383166323b872dd61190d611bd3565b604080516001600160e01b031960e085901b1681526001600160a01b039092166004830152306024830152604482018890525160648083019260209291908290030181600087803b15801561196157600080fd5b505af1158015611975573d6000803e3d6000fd5b505050506040513d602081101561198b57600080fd5b50516119d5576040805162461bcd60e51b815260206004820152601460248201527308dd1c985b9cd9995c919c9bdb4819985a5b195960621b604482015290519081900360640190fd5b604080516001600160a01b038516815233602082015280820186905290517f5dac0c1b1112564a045ba943c9d50270893e8e826c49be8e7073adc713ab7bd79181900360600190a150505050565b600a6020526000908152604090208054600182015460028301546003909301549192909184565b611a52611bd3565b6000546001600160a01b03908116911614611ab4576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116611af95760405162461bcd60e51b81526004018080602001828103825260268152602001806123226026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038116600090815260076020908152604091829020600301805483518184028101840190945280845260609392830182828015611bc157602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611ba3575b50505050509050919050565b601f5481565b3390565b6000611be282611035565b90508015611c3957611bf48282612115565b604080516001600160a01b03841681526020810183905281517f1d3eee4ca001cff39eec6ec7615aacf2f2bd61791273830728ba00ccbd6e1337929181900390910190a15b506001600160a01b0316600090815260076020526040902043600290910155565b6000611c9c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611fe3565b9392505050565b600082820183811015611c9c576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b038316611d425760405162461bcd60e51b81526004018080602001828103825260248152602001806124786024913960400191505060405180910390fd5b6001600160a01b038216611d875760405162461bcd60e51b81526004018080602001828103825260228152602001806123486022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6000611df482610f40565b90508015611e4c57611e0761123a611bd3565b604080516001600160a01b03841681526020810183905281517f1d3eee4ca001cff39eec6ec7615aacf2f2bd61791273830728ba00ccbd6e1337929181900390910190a15b42600a6000611e59611bd3565b6001600160a01b031681526020810191909152604001600020600101555050565b6001600160a01b038316611ebf5760405162461bcd60e51b81526004018080602001828103825260258152602001806124076025913960400191505060405180910390fd5b6001600160a01b038216611f045760405162461bcd60e51b81526004018080602001828103825260238152602001806122ff6023913960400191505060405180910390fd5b611f0f838383612196565b611f5281604051806060016040528060268152602001612398602691396001600160a01b038616600090815260016020526040902054919063ffffffff611fe316565b6001600160a01b038085166000908152600160205260408082209390935590841681522054611f87908263ffffffff611ca316565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156120725760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561203757818101518382015260200161201f565b50505050905090810190601f1680156120645780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000611c9c83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061219b565b6000826120cb57506000610c4a565b828202828482816120d857fe5b0414611c9c5760405162461bcd60e51b81526004018080602001828103825260218152602001806123be6021913960400191505060405180910390fd5b6a04f68ca6d8cd91c60000006121398261212d610dea565b9063ffffffff611ca316565b111561218c576040805162461bcd60e51b815260206004820152601f60248201527f746f74616c20737570706c792065786365656473206d617820737570706c7900604482015290519081900360640190fd5b61124b8282612200565b505050565b600081836121ea5760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561203757818101518382015260200161201f565b5060008385816121f657fe5b0495945050505050565b6001600160a01b03821661225b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61226760008383612196565b60035461227a908263ffffffff611ca316565b6003556001600160a01b0382166000908152600160205260409020546122a6908263ffffffff611ca316565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3505056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f20616464726573736c6f636b206c6f636b5570506572696f644964782073686f756c64206265206265747765656e203020616e64203745524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737373776170546f6b656e416d6f756e742073686f756c642062652067726561746572207468616e20307374616b65416d6f756e742073686f756c642062652067726561746572207468616e203045524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220e28165104c36a3b985f87ce3b0766110117a8c2446d224f6d37567dba53aad2564736f6c63430006000033
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061023d5760003560e01c80636e409fb81161013b578063abdb2ac0116100b8578063e5da2cb21161007c578063e5da2cb2146106ba578063f233567a146106d7578063f2fde38b14610723578063f63c898714610749578063ff86bd23146107bf5761023d565b8063abdb2ac01461061b578063be7768e914610638578063d39c1fef1461065e578063dc73e49c14610684578063dd62ed3e1461068c5761023d565b80638bdb2afa116100ff5780638bdb2afa146105ab5780638da5cb5b146105b357806395d89b41146105bb578063a457c2d7146105c3578063a9059cbb146105ef5761023d565b80636e409fb81461052457806370a0823114610552578063715018a61461057857806379d7a1da146105805780637b005177146105885761023d565b806332e10093116101c9578063492723ff1161018d578063492723ff1461049d5780634a6a354a146104d35780635495ec27146104f0578063567e98f9146104f8578063569d6739146105005761023d565b806332e10093146103f757806334086c95146103ff5780633950935114610425578063399aa1a71461045157806347c7c0e6146104775761023d565b806318160ddd1161021057806318160ddd1461037957806323b872dd146103935780632580ff3c146103c9578063313ce567146103d157806332cb6b0c146103ef5761023d565b80630514f6471461024257806306fdde03146102b4578063095ea7b3146103315780630ec88d5514610371575b600080fd5b6102b26004803603602081101561025857600080fd5b81019060208101813564010000000081111561027357600080fd5b82018360208201111561028557600080fd5b803590602001918460208302840111640100000000831117156102a757600080fd5b5090925090506107c7565b005b6102bc610b9c565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102f65781810151838201526020016102de565b50505050905090810190601f1680156103235780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61035d6004803603604081101561034757600080fd5b506001600160a01b038135169060200135610c32565b604080519115158252519081900360200190f35b6102b2610c50565b610381610dea565b60408051918252519081900360200190f35b61035d600480360360608110156103a957600080fd5b506001600160a01b03813581169160208101359091169060400135610df0565b610381610e7d565b6103d9610e83565b6040805160ff9092168252519081900360200190f35b610381610e8c565b6102b2610e9b565b6103816004803603602081101561041557600080fd5b50356001600160a01b0316610ea8565b61035d6004803603604081101561043b57600080fd5b506001600160a01b038135169060200135610eec565b6103816004803603602081101561046757600080fd5b50356001600160a01b0316610f40565b6103816004803603602081101561048d57600080fd5b50356001600160a01b0316611035565b6104ba600480360360208110156104b357600080fd5b50356110bf565b6040805192835260208301919091528051918290030190f35b6102b2600480360360208110156104e957600080fd5b50356110de565b6102b261124f565b61038161125a565b610508611260565b604080516001600160a01b039092168252519081900360200190f35b6103816004803603604081101561053a57600080fd5b506001600160a01b038135811691602001351661126f565b6103816004803603602081101561056857600080fd5b50356001600160a01b031661129b565b6102b26112b6565b61038161136a565b6102b26004803603604081101561059e57600080fd5b5080359060200135611370565b61050861151b565b61050861152a565b6102bc611539565b61035d600480360360408110156105d957600080fd5b506001600160a01b03813516906020013561159a565b61035d6004803603604081101561060557600080fd5b506001600160a01b038135169060200135611608565b6102b26004803603602081101561063157600080fd5b503561161c565b6103816004803603602081101561064e57600080fd5b50356001600160a01b03166116dd565b6104ba6004803603602081101561067457600080fd5b50356001600160a01b03166116fb565b610508611717565b610381600480360360408110156106a257600080fd5b506001600160a01b0381358116916020013516611726565b6102b2600480360360208110156106d057600080fd5b5035611751565b6106fd600480360360208110156106ed57600080fd5b50356001600160a01b0316611a23565b604080519485526020850193909352838301919091526060830152519081900360800190f35b6102b26004803603602081101561073957600080fd5b50356001600160a01b0316611a4a565b61076f6004803603602081101561075f57600080fd5b50356001600160a01b0316611b54565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156107ab578181015183820152602001610793565b505050509050019250505060405180910390f35b610381611bcd565b6107d76107d2611bd3565b611bd7565b6000600760006107e5611bd3565b6001600160a01b031681526020810191909152604001600090812091506003820190805b84811015610b7e576000848188888581811061082157fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b0316815260200190815260200160002054905080600014156108aa576040805162461bcd60e51b815260206004820152601d60248201527f756e7374616b696e6720616e20696e76616c6964204c5020746f6b656e000000604482015290519081900360640190fd5b8460008888858181106108b957fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b0316815260200190815260200160002060009055610904818660010154611c5a90919063ffffffff16565b6001860155610919838263ffffffff611ca316565b925060005b8454811015610a125784818154811061093357fe5b6000918252602090912001546001600160a01b031688888581811061095457fe5b905060200201356001600160a01b03166001600160a01b03161415610a0a5784548590600019810190811061098557fe5b9060005260206000200160009054906101000a90046001600160a01b03168582815481106109af57fe5b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550848054806109e757fe5b600082815260209020810160001990810180546001600160a01b03191690550190555b60010161091e565b50868683818110610a1f57fe5b905060200201356001600160a01b03166001600160a01b031663a9059cbb610a45611bd3565b836040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015610a9557600080fd5b505af1158015610aa9573d6000803e3d6000fd5b505050506040513d6020811015610abf57600080fd5b5051610b05576040805162461bcd60e51b815260206004820152601060248201526f08dd1c985b9cd9995c8819985a5b195960821b604482015290519081900360640190fd5b7fd8654fcc8cf5b36d30b3f5e4688fc78118e6d68de60b9994e09902268b57c3e3878784818110610b3257fe5b905060200201356001600160a01b0316610b4a611bd3565b604080516001600160a01b03938416815291909216602082015280820184905290519081900360600190a150600101610809565b50600854610b92908263ffffffff611c5a16565b6008555050505050565b60048054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610c285780601f10610bfd57610100808354040283529160200191610c28565b820191906000526020600020905b815481529060010190602001808311610c0b57829003601f168201915b5050505050905090565b6000610c46610c3f611bd3565b8484611cfd565b5060015b92915050565b6000600a6000610c5e611bd3565b6001600160a01b03168152602081019190915260400160009081205491508115610cda5742600a6000610c8f611bd3565b6001600160a01b03166001600160a01b031681526020019081526020016000206002015411610cbc575060015b6a04f68ca6d8cd91c6000000610cd0610dea565b1415610cda575060015b80610d1d576040805162461bcd60e51b815260206004820152600e60248201526d63616e6e6f7420756e7374616b6560901b604482015290519081900360640190fd5b610d2d610d28611bd3565b611de9565b601e54610d40908363ffffffff611c5a16565b601e55600a6000610d4f611bd3565b6001600160a01b0316815260208101919091526040016000908120818155600181018290556002810182905560030155610d9130610d8b611bd3565b84611e7a565b7fd8654fcc8cf5b36d30b3f5e4688fc78118e6d68de60b9994e09902268b57c3e330610dbb611bd3565b604080516001600160a01b03938416815291909216602082015280820185905290519081900360600190a15050565b60035490565b6000610dfd848484611e7a565b610e7384610e09611bd3565b610e6e856040518060600160405280602881526020016123df602891396001600160a01b038a16600090815260026020526040812090610e47611bd3565b6001600160a01b03168152602081019190915260400160002054919063ffffffff611fe316565b611cfd565b5060019392505050565b601e5481565b60065460ff1690565b6a04f68ca6d8cd91c600000081565b610ea6610d28611bd3565b565b6001600160a01b03811660009081526007602052604081206002015480610ed3576000915050610ee7565b610ee3438263ffffffff611c5a16565b9150505b919050565b6000610c46610ef9611bd3565b84610e6e8560026000610f0a611bd3565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff611ca316565b6001600160a01b0381166000908152600a6020526040812060028101548290421115610fa157816001015482600201541015610f8157600092505050610ee7565b60018201546002830154610f9a9163ffffffff611c5a16565b9050610fba565b6001820154610fb790429063ffffffff611c5a16565b90505b8154601f54600090610fd390849063ffffffff61207a16565b9050801580610fe0575081155b15610ff2576000945050505050610ee7565b61102b601e5461101f846110138589600301546120bc90919063ffffffff16565b9063ffffffff6120bc16565b9063ffffffff61207a16565b9695505050505050565b60006008546000141561104a57506000610ee7565b6001600160a01b0382166000908152600760205260408120600281015490919061107b90439063ffffffff611c5a16565b905060006110978267016345785d8a000063ffffffff6120bc16565b90506110b660085461101f8560010154846120bc90919063ffffffff16565b95945050505050565b600b81600881106110cc57fe5b60020201805460019091015490915082565b8061111a5760405162461bcd60e51b815260040180806020018281038252602881526020018061242c6028913960400191505060405180910390fd5b601b546001600160a01b03166323b872dd611133611bd3565b601d54604080516001600160e01b031960e086901b1681526001600160a01b039384166004820152929091166024830152604482018590525160648083019260209291908290030181600087803b15801561118d57600080fd5b505af11580156111a1573d6000803e3d6000fd5b505050506040513d60208110156111b757600080fd5b5051611201576040805162461bcd60e51b815260206004820152601460248201527308dd1c985b9cd9995c919c9bdb4819985a5b195960621b604482015290519081900360640190fd5b600061122d601c54600a0a60fa0261101f61121a610e83565b859060ff16600a0a63ffffffff6120bc16565b905061124061123a611bd3565b82612115565b61124b816000611370565b5050565b610ea66107d2611bd3565b60085481565b601d546001600160a01b031681565b6001600160a01b0380821660009081526007602090815260408083209386168352929052205492915050565b6001600160a01b031660009081526001602052604090205490565b6112be611bd3565b6000546001600160a01b03908116911614611320576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b601c5481565b816113ac5760405162461bcd60e51b81526004018080602001828103825260248152602001806124546024913960400191505060405180910390fd5b60078111156113ec5760405162461bcd60e51b815260040180806020018281038252602e81526020018061236a602e913960400191505060405180910390fd5b6000600a60006113fa611bd3565b6001600160a01b03168152602081019190915260400160002080549091501561146a576040805162461bcd60e51b815260206004820152601a60248201527f616464726573732068617320616c7265616479207374616b6564000000000000604482015290519081900360640190fd5b82815561148f600b836008811061147d57fe5b6002020154429063ffffffff611ca316565b6002820155600b82600881106114a157fe5b6002020160019081015460038301554290820155601e546114c29084611ca3565b601e556114d76114d0611bd3565b3085611e7a565b6040805130815233602082015280820185905290517f5dac0c1b1112564a045ba943c9d50270893e8e826c49be8e7073adc713ab7bd79181900360600190a1505050565b6009546001600160a01b031681565b6000546001600160a01b031690565b60058054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610c285780601f10610bfd57610100808354040283529160200191610c28565b6000610c466115a7611bd3565b84610e6e8560405180606001604052806025815260200161249c60259139600260006115d1611bd3565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff611fe316565b6000610c46611615611bd3565b8484611e7a565b611624611bd3565b6000546001600160a01b03908116911614611686576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b806116d8576040805162461bcd60e51b815260206004820152601760248201527f6e65772074696d652063616e6e6f74206265207a65726f000000000000000000604482015290519081900360640190fd5b601f55565b6001600160a01b031660009081526007602052604090206001015490565b6007602052600090815260409020600181015460029091015482565b601b546001600160a01b031681565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b8061178d5760405162461bcd60e51b81526004018080602001828103825260248152602001806124546024913960400191505060405180910390fd5b6009546040805163e6a4390560e01b815230600482015273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2602482015290516000926001600160a01b03169163e6a43905916044808301926020929190829003018186803b1580156117f257600080fd5b505afa158015611806573d6000803e3d6000fd5b505050506040513d602081101561181c57600080fd5b5051905061182b6107d2611bd3565b60085461183e908363ffffffff611ca316565b600855600060078161184e611bd3565b6001600160a01b03908116825260208083019390935260409182016000908120918616815292819052912054909150806118b357600382018054600181018255600091825260209091200180546001600160a01b0319166001600160a01b0385161790555b6118c3818563ffffffff611ca316565b6001600160a01b03841660009081526020849052604090205560018201546118f1908563ffffffff611ca316565b60018301556001600160a01b0383166323b872dd61190d611bd3565b604080516001600160e01b031960e085901b1681526001600160a01b039092166004830152306024830152604482018890525160648083019260209291908290030181600087803b15801561196157600080fd5b505af1158015611975573d6000803e3d6000fd5b505050506040513d602081101561198b57600080fd5b50516119d5576040805162461bcd60e51b815260206004820152601460248201527308dd1c985b9cd9995c919c9bdb4819985a5b195960621b604482015290519081900360640190fd5b604080516001600160a01b038516815233602082015280820186905290517f5dac0c1b1112564a045ba943c9d50270893e8e826c49be8e7073adc713ab7bd79181900360600190a150505050565b600a6020526000908152604090208054600182015460028301546003909301549192909184565b611a52611bd3565b6000546001600160a01b03908116911614611ab4576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116611af95760405162461bcd60e51b81526004018080602001828103825260268152602001806123226026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038116600090815260076020908152604091829020600301805483518184028101840190945280845260609392830182828015611bc157602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611ba3575b50505050509050919050565b601f5481565b3390565b6000611be282611035565b90508015611c3957611bf48282612115565b604080516001600160a01b03841681526020810183905281517f1d3eee4ca001cff39eec6ec7615aacf2f2bd61791273830728ba00ccbd6e1337929181900390910190a15b506001600160a01b0316600090815260076020526040902043600290910155565b6000611c9c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611fe3565b9392505050565b600082820183811015611c9c576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b038316611d425760405162461bcd60e51b81526004018080602001828103825260248152602001806124786024913960400191505060405180910390fd5b6001600160a01b038216611d875760405162461bcd60e51b81526004018080602001828103825260228152602001806123486022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6000611df482610f40565b90508015611e4c57611e0761123a611bd3565b604080516001600160a01b03841681526020810183905281517f1d3eee4ca001cff39eec6ec7615aacf2f2bd61791273830728ba00ccbd6e1337929181900390910190a15b42600a6000611e59611bd3565b6001600160a01b031681526020810191909152604001600020600101555050565b6001600160a01b038316611ebf5760405162461bcd60e51b81526004018080602001828103825260258152602001806124076025913960400191505060405180910390fd5b6001600160a01b038216611f045760405162461bcd60e51b81526004018080602001828103825260238152602001806122ff6023913960400191505060405180910390fd5b611f0f838383612196565b611f5281604051806060016040528060268152602001612398602691396001600160a01b038616600090815260016020526040902054919063ffffffff611fe316565b6001600160a01b038085166000908152600160205260408082209390935590841681522054611f87908263ffffffff611ca316565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156120725760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561203757818101518382015260200161201f565b50505050905090810190601f1680156120645780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000611c9c83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061219b565b6000826120cb57506000610c4a565b828202828482816120d857fe5b0414611c9c5760405162461bcd60e51b81526004018080602001828103825260218152602001806123be6021913960400191505060405180910390fd5b6a04f68ca6d8cd91c60000006121398261212d610dea565b9063ffffffff611ca316565b111561218c576040805162461bcd60e51b815260206004820152601f60248201527f746f74616c20737570706c792065786365656473206d617820737570706c7900604482015290519081900360640190fd5b61124b8282612200565b505050565b600081836121ea5760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561203757818101518382015260200161201f565b5060008385816121f657fe5b0495945050505050565b6001600160a01b03821661225b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61226760008383612196565b60035461227a908263ffffffff611ca316565b6003556001600160a01b0382166000908152600160205260409020546122a6908263ffffffff611ca316565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3505056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f20616464726573736c6f636b206c6f636b5570506572696f644964782073686f756c64206265206265747765656e203020616e64203745524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737373776170546f6b656e416d6f756e742073686f756c642062652067726561746572207468616e20307374616b65416d6f756e742073686f756c642062652067726561746572207468616e203045524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220e28165104c36a3b985f87ce3b0766110117a8c2446d224f6d37567dba53aad2564736f6c63430006000033
Deployed Bytecode Sourcemap
22279:12285:0:-:0;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22279:12285:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30744:1665;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;30744:1665:0;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;30744:1665:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;30744:1665:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;-1:-1;30744:1665:0;;-1:-1:-1;30744:1665:0;-1:-1:-1;30744:1665:0;:::i;:::-;;13336:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;13336:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15442:169;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;15442:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;26793:874;;;:::i;14411:100::-;;;:::i;:::-;;;;;;;;;;;;;;;;16085:321;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;16085:321:0;;;;;;;;;;;;;;;;;:::i;23947:38::-;;;:::i;14263:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24040:55;;;:::i;27687:89::-;;;:::i;32520:333::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;32520:333:0;-1:-1:-1;;;;;32520:333:0;;:::i;16815:218::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;16815:218:0;;;;;;;;:::i;27788:1058::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;27788:1058:0;-1:-1:-1;;;;;27788:1058:0;;:::i;33355:558::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;33355:558:0;-1:-1:-1;;;;;33355:558:0;;:::i;23692:30::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23692:30:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;24942:597;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;24942:597:0;;:::i;32421:87::-;;;:::i;23106:32::-;;;:::i;23862:72::-;;;:::i;:::-;;;;-1:-1:-1;;;;;23862:72:0;;;;;;;;;;;;;;33165:178;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;33165:178:0;;;;;;;;;;:::i;14574:119::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;14574:119:0;-1:-1:-1;;;;;14574:119:0;;:::i;7977:148::-;;;:::i;23818:37::-;;;:::i;25551:1230::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25551:1230:0;;;;;;;:::i;23196:103::-;;;:::i;7335:79::-;;;:::i;13538:87::-;;;:::i;17536:269::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;17536:269:0;;;;;;;;:::i;14906:175::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;14906:175:0;;;;;;;;:::i;24723:207::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;24723:207:0;;:::i;32865:146::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;32865:146:0;-1:-1:-1;;;;;32865:146:0;;:::i;23037:45::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23037:45:0;-1:-1:-1;;;;;23037:45:0;;:::i;23735:76::-;;;:::i;15144:151::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;15144:151:0;;;;;;;;;;:::i;29223:1509::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;29223:1509:0;;:::i;23480:55::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23480:55:0;-1:-1:-1;;;;;23480:55:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8280:244;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;8280:244:0;-1:-1:-1;;;;;8280:244:0;;:::i;33023:130::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;33023:130:0;-1:-1:-1;;;;;33023:130:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;33023:130:0;;;;;;;;;;;;;;;;;23998:35;;;:::i;30744:1665::-;30832:31;30850:12;:10;:12::i;:::-;30832:17;:31::i;:::-;30874:26;30903:12;:26;30916:12;:10;:12::i;:::-;-1:-1:-1;;;;;30903:26:0;;;;;;;;;;;;-1:-1:-1;30903:26:0;;;;-1:-1:-1;30967:21:0;;;;-1:-1:-1;31109:1157:0;31125:19;;;31109:1157;;;31166:19;31188:12;31166:19;31235:8;;31244:1;31235:11;;;;;;;;;;;;;-1:-1:-1;;;;;31235:11:0;-1:-1:-1;;;;;31188:73:0;-1:-1:-1;;;;;31188:73:0;;;;;;;;;;;;;31166:95;;31294:11;31309:1;31294:16;31290:96;;;31331:39;;;-1:-1:-1;;;31331:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;31290:96;31421:12;:28;31468:8;;31477:1;31468:11;;;;;;;;;;;;;-1:-1:-1;;;;;31468:11:0;-1:-1:-1;;;;;31421:73:0;-1:-1:-1;;;;;31421:73:0;;;;;;;;;;;;31414:80;;;31562:71;31621:11;31562:12;:36;;;:58;;:71;;;;:::i;:::-;31523:36;;;:110;31684:36;:19;31708:11;31684:36;:23;:36;:::i;:::-;31662:58;;31754:9;31749:219;31769:13;;31765:17;;31749:219;;;31827:6;31834:1;31827:9;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;31827:9:0;31812:8;;31821:1;31812:11;;;;;;;;;;;;;-1:-1:-1;;;;;31812:11:0;-1:-1:-1;;;;;31812:24:0;;31808:145;;;31880:13;;31873:6;;-1:-1:-1;;31880:17:0;;;31873:25;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;31873:25:0;31861:6;31868:1;31861:9;;;;;;;;;;;;;;;;:37;;;;;-1:-1:-1;;;;;31861:37:0;;;;;-1:-1:-1;;;;;31861:37:0;;;;;;31921:6;:12;;;;;;;;;;;;;;;;-1:-1:-1;;31921:12:0;;;;;-1:-1:-1;;;;;;31921:12:0;;;;;;31808:145;31784:3;;31749:219;;;;32029:8;;32038:1;32029:11;;;;;;;;;;;;;-1:-1:-1;;;;;32029:11:0;-1:-1:-1;;;;;32022:28:0;;32051:12;:10;:12::i;:::-;32065:11;32022:55;;;;;;;;;;;;;-1:-1:-1;;;;;32022:55:0;-1:-1:-1;;;;;32022:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;32022:55:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;32022:55:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;32022:55:0;31996:176;;;;;-1:-1:-1;;;31996:176:0;;;;;;;;;;;;-1:-1:-1;;;31996:176:0;;;;;;;;;;;;;;;32206:48;32215:8;;32224:1;32215:11;;;;;;;;;;;;;-1:-1:-1;;;;;32215:11:0;32228:12;:10;:12::i;:::-;32206:48;;;-1:-1:-1;;;;;32206:48:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31146:3:0;;31109:1157;;;-1:-1:-1;32306:17:0;;:42;;32328:19;32306:42;:21;:42;:::i;:::-;32286:17;:62;-1:-1:-1;;;;;30744:1665:0:o;13336:83::-;13406:5;13399:12;;;;;;;;-1:-1:-1;;13399:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13373:13;;13399:12;;13406:5;;13399:12;;13406:5;13399:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13336:83;:::o;15442:169::-;15525:4;15542:39;15551:12;:10;:12::i;:::-;15565:7;15574:6;15542:8;:39::i;:::-;-1:-1:-1;15599:4:0;15442:169;;;;;:::o;26793:874::-;26835:23;26861:17;:31;26879:12;:10;:12::i;:::-;-1:-1:-1;;;;;26861:31:0;;;;;;;;;;;;-1:-1:-1;26861:31:0;;;:38;;-1:-1:-1;26956:20:0;;26952:306;;27053:15;26997:17;:31;27015:12;:10;:12::i;:::-;-1:-1:-1;;;;;26997:31:0;-1:-1:-1;;;;;26997:31:0;;;;;;;;;;;;:52;;;:71;26993:135;;-1:-1:-1;27108:4:0;26993:135;24077:18;27160:13;:11;:13::i;:::-;:27;27156:91;;;-1:-1:-1;27227:4:0;27156:91;27290:16;27268:80;;;;;-1:-1:-1;;;27268:80:0;;;;;;;;;;;;-1:-1:-1;;;27268:80:0;;;;;;;;;;;;;;;27359:32;27378:12;:10;:12::i;:::-;27359:18;:32::i;:::-;27428:23;;:44;;27456:15;27428:44;:27;:44;:::i;:::-;27402:23;:70;27490:17;:31;27508:12;:10;:12::i;:::-;-1:-1:-1;;;;;27490:31:0;;;;;;;;;;;;-1:-1:-1;27490:31:0;;;27483:38;;;;;;;;;;;;;;;;;;27532:55;27550:4;27557:12;:10;:12::i;:::-;27571:15;27532:9;:55::i;:::-;27605:54;27622:4;27629:12;:10;:12::i;:::-;27605:54;;;-1:-1:-1;;;;;27605:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26793:874;;:::o;14411:100::-;14491:12;;14411:100;:::o;16085:321::-;16191:4;16208:36;16218:6;16226:9;16237:6;16208:9;:36::i;:::-;16255:121;16264:6;16272:12;:10;:12::i;:::-;16286:89;16324:6;16286:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16286:19:0;;;;;;:11;:19;;;;;;16306:12;:10;:12::i;:::-;-1:-1:-1;;;;;16286:33:0;;;;;;;;;;;;-1:-1:-1;16286:33:0;;;:89;;:37;:89;:::i;:::-;16255:8;:121::i;:::-;-1:-1:-1;16394:4:0;16085:321;;;;;:::o;23947:38::-;;;;:::o;14263:83::-;14329:9;;;;14263:83;:::o;24040:55::-;24077:18;24040:55;:::o;27687:89::-;27736:32;27755:12;:10;:12::i;27736:32::-;27687:89::o;32520:333::-;-1:-1:-1;;;;;32652:18:0;;32598:7;32652:18;;;:12;:18;;;;;:45;;;32712:28;32708:69;;32764:1;32757:8;;;;;32708:69;32804:41;:12;32821:23;32804:41;:16;:41;:::i;:::-;32797:48;;;32520:333;;;;:::o;16815:218::-;16903:4;16920:83;16929:12;:10;:12::i;:::-;16943:7;16952:50;16991:10;16952:11;:25;16964:12;:10;:12::i;:::-;-1:-1:-1;;;;;16952:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;16952:25:0;;;:34;;;;;;;;;;;:50;:38;:50;:::i;27788:1058::-;-1:-1:-1;;;;;27907:23:0;;27853:7;27907:23;;;:17;:23;;;;;28006:33;;;;27853:7;;27988:15;:51;27984:460;;;28096:12;:37;;;28060:12;:33;;;:73;28056:122;;;28161:1;28154:8;;;;;;28056:122;28265:37;;;;28209:33;;;;:94;;;:55;:94;:::i;:::-;28192:111;;27984:460;;;28391:37;;;;28353:76;;:15;;:76;:37;:76;:::i;:::-;28336:93;;27984:460;28486:19;;28563:15;;28464:19;;28544:35;;:14;;:35;:18;:35;:::i;:::-;28516:63;-1:-1:-1;28604:22:0;;;:42;;-1:-1:-1;28630:16:0;;28604:42;28600:83;;;28670:1;28663:8;;;;;;;;28600:83;28710:128;28814:23;;28710:85;28783:11;28710:54;28746:17;28710:12;:17;;;:35;;:54;;;;:::i;:::-;:72;:85;:72;:85;:::i;:::-;:103;:128;:103;:128;:::i;:::-;28703:135;27788:1058;-1:-1:-1;;;;;;27788:1058:0:o;33355:558::-;33435:7;33459:17;;33480:1;33459:22;33455:63;;;-1:-1:-1;33505:1:0;33498:8;;33455:63;-1:-1:-1;;;;;33567:18:0;;33538:26;33567:18;;;:12;:18;;;;;33658:39;;;;33567:18;;33538:26;33627:71;;:12;;:71;:30;:71;:::i;:::-;33606:92;-1:-1:-1;33719:19:0;33741:32;33606:92;22705:4;33741:32;:14;:32;:::i;:::-;33719:54;;33801:104;33887:17;;33801:67;33831:12;:36;;;33801:11;:29;;:67;;;;:::i;:104::-;33794:111;33355:558;-1:-1:-1;;;;;33355:558:0:o;23692:30::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;23692:30:0;:::o;24942:597::-;25050:20;25028:110;;;;-1:-1:-1;;;25028:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25181:9;;-1:-1:-1;;;;;25181:9:0;:22;25204:12;:10;:12::i;:::-;25218;;25181:67;;;-1:-1:-1;;;;;;25181:67:0;;;;;;;-1:-1:-1;;;;;25181:67:0;;;;;;;25218:12;;;;25181:67;;;;;;;;;;;;;;;;;;;;;;;;;25218:12;25181:67;;;;5:2:-1;;;;30:1;27;20:12;5:2;25181:67:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;25181:67:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25181:67:0;25159:137;;;;;-1:-1:-1;;;25159:137:0;;;;;;;;;;;;-1:-1:-1;;;25159:137:0;;;;;;;;;;;;;;;25317:22;25342:95;25419:17;;25413:2;:23;25407:3;:29;25342:46;25376:10;:8;:10::i;:::-;25342:15;;25368:19;;25362:2;:25;25342:46;:19;:46;:::i;:95::-;25317:120;;25448:35;25454:12;:10;:12::i;:::-;25468:14;25448:5;:35::i;:::-;25504:27;25513:14;25529:1;25504:8;:27::i;:::-;24942:597;;:::o;32421:87::-;32469:31;32487:12;:10;:12::i;23106:32::-;;;;:::o;23862:72::-;;;-1:-1:-1;;;;;23862:72:0;;:::o;33165:178::-;-1:-1:-1;;;;;33297:18:0;;;33270:7;33297:18;;;:12;:18;;;;;;;;:38;;;;;;;;;;33165:178;;;;:::o;14574:119::-;-1:-1:-1;;;;;14667:18:0;14640:7;14667:18;;;:9;:18;;;;;;;14574:119::o;7977:148::-;7557:12;:10;:12::i;:::-;7547:6;;-1:-1:-1;;;;;7547:6:0;;;:22;;;7539:67;;;;;-1:-1:-1;;;7539:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8084:1:::1;8068:6:::0;;8047:40:::1;::::0;-1:-1:-1;;;;;8068:6:0;;::::1;::::0;8047:40:::1;::::0;8084:1;;8047:40:::1;8115:1;8098:19:::0;;-1:-1:-1;;;;;;8098:19:0::1;::::0;;7977:148::o;23818:37::-;;;;:::o;25551:1230::-;25741:16;25719:102;;;;-1:-1:-1;;;25719:102:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25883:1;25864:15;:20;;25842:116;;;;-1:-1:-1;;;25842:116:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25979:31;26013:17;:31;26031:12;:10;:12::i;:::-;-1:-1:-1;;;;;26013:31:0;;;;;;;;;;;;-1:-1:-1;26013:31:0;26077:19;;26013:31;;-1:-1:-1;26077:24:0;26055:100;;;;;-1:-1:-1;;;26055:100:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;26176:33;;;26266:84;26300:13;26314:15;26300:30;;;;;;;;;;:39;26266:15;;:84;:19;:84;:::i;:::-;26230:33;;;:120;26391:13;26405:15;26391:30;;;;;;;;;;:35;;;;;26371:17;;;:55;26487:15;26447:37;;;:55;26539:23;;:40;;26567:11;26539:27;:40::i;:::-;26513:23;:66;26600:51;26610:12;:10;:12::i;:::-;26632:4;26639:11;26600:9;:51::i;:::-;26677:96;;;26706:4;26677:96;;26726:10;26677:96;;;;;;;;;;;;;;;;;;;;;25551:1230;;;:::o;23196:103::-;;;-1:-1:-1;;;;;23196:103:0;;:::o;7335:79::-;7373:7;7400:6;-1:-1:-1;;;;;7400:6:0;7335:79;:::o;13538:87::-;13610:7;13603:14;;;;;;;;-1:-1:-1;;13603:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13577:13;;13603:14;;13610:7;;13603:14;;13610:7;13603:14;;;;;;;;;;;;;;;;;;;;;;;;17536:269;17629:4;17646:129;17655:12;:10;:12::i;:::-;17669:7;17678:96;17717:15;17678:96;;;;;;;;;;;;;;;;;:11;:25;17690:12;:10;:12::i;:::-;-1:-1:-1;;;;;17678:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;17678:25:0;;;:34;;;;;;;;;;;:96;;:38;:96;:::i;14906:175::-;14992:4;15009:42;15019:12;:10;:12::i;:::-;15033:9;15044:6;15009:9;:42::i;24723:207::-;7557:12;:10;:12::i;:::-;7547:6;;-1:-1:-1;;;;;7547:6:0;;;:22;;;7539:67;;;;;-1:-1:-1;;;7539:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24823:12;24801:85:::1;;;::::0;;-1:-1:-1;;;24801:85:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;24897:15;:25:::0;24723:207::o;32865:146::-;-1:-1:-1;;;;;32961:18:0;32934:7;32961:18;;;:12;:18;;;;;:42;;;;32865:146::o;23037:45::-;;;;;;;;;;;;;;;;;;;;;:::o;23735:76::-;;;-1:-1:-1;;;;;23735:76:0;;:::o;15144:151::-;-1:-1:-1;;;;;15260:18:0;;;15233:7;15260:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;15144:151::o;29223:1509::-;29319:16;29297:102;;;;-1:-1:-1;;;29297:102:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29527:14;;:118;;;-1:-1:-1;;;29527:118:0;;29572:4;29527:118;;;;29592:42;29527:118;;;;;;29509:15;;-1:-1:-1;;;;;29527:14:0;;:22;;:118;;;;;;;;;;;;;;:14;:118;;;5:2:-1;;;;30:1;27;20:12;5:2;29527:118:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;29527:118:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;29527:118:0;;-1:-1:-1;29666:31:0;29684:12;:10;:12::i;29666:31::-;29738:17;;:34;;29760:11;29738:34;:21;:34;:::i;:::-;29718:17;:54;29848:26;29877:12;29848:26;29890:12;:10;:12::i;:::-;-1:-1:-1;;;;;29877:26:0;;;;;;;;;;;;;;;;;-1:-1:-1;29877:26:0;;;29943:37;;;;;;;;;;;;29877:26;;-1:-1:-1;30005:23:0;30001:91;;30045:21;;;27:10:-1;;39:1;23:18;;45:23;;-1:-1;30045:35:0;;;;;;;;;;-1:-1:-1;;;;;;30045:35:0;-1:-1:-1;;;;;30045:35:0;;;;;30001:91;30152:75;:18;30215:11;30152:75;:62;:75;:::i;:::-;-1:-1:-1;;;;;30112:37:0;;:28;:37;;;;;;;;;;:115;30287:36;;;;:116;;30391:11;30287:116;:103;:116;:::i;:::-;30248:36;;;:155;-1:-1:-1;;;;;30446:28:0;;;30475:12;:10;:12::i;:::-;30446:70;;;-1:-1:-1;;;;;;30446:70:0;;;;;;;-1:-1:-1;;;;;30446:70:0;;;;;;;30497:4;30446:70;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30446:70:0;;;;5:2:-1;;;;30:1;27;20:12;5:2;30446:70:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;30446:70:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;30446:70:0;30424:184;;;;;-1:-1:-1;;;30424:184:0;;;;;;;;;;;;-1:-1:-1;;;30424:184:0;;;;;;;;;;;;;;;30634:90;;;-1:-1:-1;;;;;30634:90:0;;;;30677:10;30634:90;;;;;;;;;;;;;;;;;;;;;29223:1509;;;;:::o;23480:55::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;8280:244::-;7557:12;:10;:12::i;:::-;7547:6;;-1:-1:-1;;;;;7547:6:0;;;:22;;;7539:67;;;;;-1:-1:-1;;;7539:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;8369:22:0;::::1;8361:73;;;;-1:-1:-1::0;;;8361:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8471:6;::::0;;8450:38:::1;::::0;-1:-1:-1;;;;;8450:38:0;;::::1;::::0;8471:6;::::1;::::0;8450:38:::1;::::0;::::1;8499:6;:17:::0;;-1:-1:-1;;;;;;8499:17:0::1;-1:-1:-1::0;;;;;8499:17:0;;;::::1;::::0;;;::::1;::::0;;8280:244::o;33023:130::-;-1:-1:-1;;;;;33118:18:0;;;;;;:12;:18;;;;;;;;;:27;;33111:34;;;;;;;;;;;;;;;;;33082:16;;33111:34;;;33118:27;33111:34;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;33111:34:0;;;;;;;;;;;;;;;;;;;;;;;33023:130;;;:::o;23998:35::-;;;;:::o;5973:106::-;6061:10;5973:106;:::o;33925:384::-;33986:20;34009:26;34030:4;34009:20;:26::i;:::-;33986:49;-1:-1:-1;34060:17:0;;34056:165;;34094:25;34100:4;34106:12;34094:5;:25::i;:::-;34174:35;;;-1:-1:-1;;;;;34174:35:0;;;;;;;;;;;;;;;;;;;;;;;34056:165;-1:-1:-1;;;;;;34241:18:0;;;;;:12;:18;;;;;34289:12;34241:45;;;;:60;33925:384::o;1434:136::-;1492:7;1519:43;1523:1;1526;1519:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;1512:50;1434:136;-1:-1:-1;;;1434:136:0:o;970:181::-;1028:7;1060:5;;;1084:6;;;;1076:46;;;;;-1:-1:-1;;;1076:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;20681:346;-1:-1:-1;;;;;20783:19:0;;20775:68;;;;-1:-1:-1;;;20775:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20862:21:0;;20854:68;;;;-1:-1:-1;;;20854:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20935:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;20987:32;;;;;;;;;;;;;;;;;20681:346;;;:::o;28858:353::-;28920:20;28943:27;28965:4;28943:21;:27::i;:::-;28920:50;-1:-1:-1;28985:17:0;;28981:138;;29019:33;29025:12;:10;:12::i;29019:33::-;29072:35;;;-1:-1:-1;;;;;29072:35:0;;;;;;;;;;;;;;;;;;;;;;;28981:138;29188:15;29129:17;:31;29147:12;:10;:12::i;:::-;-1:-1:-1;;;;;29129:31:0;;;;;;;;;;;;-1:-1:-1;29129:31:0;:56;;:74;-1:-1:-1;;28858:353:0:o;18295:539::-;-1:-1:-1;;;;;18401:20:0;;18393:70;;;;-1:-1:-1;;;18393:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18482:23:0;;18474:71;;;;-1:-1:-1;;;18474:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18558:47;18579:6;18587:9;18598:6;18558:20;:47::i;:::-;18638:71;18660:6;18638:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18638:17:0;;;;;;:9;:17;;;;;;;:71;;:21;:71;:::i;:::-;-1:-1:-1;;;;;18618:17:0;;;;;;;:9;:17;;;;;;:91;;;;18743:20;;;;;;;:32;;18768:6;18743:32;:24;:32;:::i;:::-;-1:-1:-1;;;;;18720:20:0;;;;;;;:9;:20;;;;;;;;;:55;;;;18791:35;;;;;;;18720:20;;18791:35;;;;;;;;;;;;;18295:539;;;:::o;1873:192::-;1959:7;1995:12;1987:6;;;;1979:29;;;;-1:-1:-1;;;1979:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;1979:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2031:5:0;;;1873:192::o;3271:132::-;3329:7;3356:39;3360:1;3363;3356:39;;;;;;;;;;;;;;;;;:3;:39::i;2324:471::-;2382:7;2627:6;2623:47;;-1:-1:-1;2657:1:0;2650:8;;2623:47;2694:5;;;2698:1;2694;:5;:1;2718:5;;;;;:10;2710:56;;;;-1:-1:-1;;;2710:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34317:244;24077:18;34416:25;34434:6;34416:13;:11;:13::i;:::-;:17;:25;:17;:25;:::i;:::-;:39;;34394:120;;;;;-1:-1:-1;;;34394:120:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;34525:28;34537:7;34546:6;34525:11;:28::i;22052:92::-;;;;:::o;3899:278::-;3985:7;4020:12;4013:5;4005:28;;;;-1:-1:-1;;;4005:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;4005:28:0;;4044:9;4060:1;4056;:5;;;;;;;3899:278;-1:-1:-1;;;;;3899:278:0:o;19115:378::-;-1:-1:-1;;;;;19199:21:0;;19191:65;;;;;-1:-1:-1;;;19191:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;19269:49;19298:1;19302:7;19311:6;19269:20;:49::i;:::-;19346:12;;:24;;19363:6;19346:24;:16;:24;:::i;:::-;19331:12;:39;-1:-1:-1;;;;;19402:18:0;;;;;;:9;:18;;;;;;:30;;19425:6;19402:30;:22;:30;:::i;:::-;-1:-1:-1;;;;;19381:18:0;;;;;;:9;:18;;;;;;;;:51;;;;19448:37;;;;;;;19381:18;;;;19448:37;;;;;;;;;;19115:378;;:::o
Swarm Source
ipfs://e28165104c36a3b985f87ce3b0766110117a8c2446d224f6d37567dba53aad25
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.