Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
0x60806040 | 11274030 | 1395 days ago | IN | 0 ETH | 0.09297348 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
EncoreVault
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-11-17 */ /** *Submitted for verification at Etherscan.io on 2020-10-27 */ pragma solidity 0.6.12; /** * @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 Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.0.0, only sets of type `address` (`AddressSet`) and `uint256` * (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping (bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { require(set._values.length > index, "EnumerableSet: index out of bounds"); return set._values[index]; } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(value))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(value))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(value))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint256(_at(set._inner, index))); } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } } /** * @title Initializable * * @dev Helper contract to support initializer functions. To use it, replace * the constructor with a function that has the `initializer` modifier. * WARNING: Unlike constructors, initializer functions must be manually * invoked. This applies both to deploying an Initializable contract, as well * as extending an Initializable contract via inheritance. * WARNING: When used with inheritance, manual care must be taken to not invoke * a parent initializer twice, or ensure that all initializers are idempotent, * because this is not dealt with automatically as with constructors. */ contract Initializable { /** * @dev Indicates that the contract has been initialized. */ bool private initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private initializing; /** * @dev Modifier to use in the initializer function of a contract. */ modifier initializer() { require(initializing || isConstructor() || !initialized, "Contract instance has already been initialized"); bool isTopLevelCall = !initializing; if (isTopLevelCall) { initializing = true; initialized = true; } _; if (isTopLevelCall) { initializing = false; } } /// @dev Returns true if and only if the function is running in the constructor function isConstructor() private view returns (bool) { // extcodesize checks the size of the code stored in an address, and // address returns the current address. Since the code is still not // deployed when running a constructor, any checks on its code size will // yield zero, making it an effective way to detect if a contract is // under construction or not. address self = address(this); uint256 cs; assembly { cs := extcodesize(self) } return cs == 0; } // Reserved storage space to allow for layout changes in the future. uint256[50] private ______gap; } /* * @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. */ contract ContextUpgradeSafe is Initializable { // Empty internal constructor, to prevent people from mistakenly deploying // an instance of this contract, which should be used via inheritance. function __Context_init() internal initializer { __Context_init_unchained(); } function __Context_init_unchained() internal initializer { } 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; } uint256[50] private __gap; } /** * @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 OwnableUpgradeSafe is Initializable, ContextUpgradeSafe { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ function __Ownable_init() internal initializer { __Context_init_unchained(); __Ownable_init_unchained(); } function __Ownable_init_unchained() internal initializer { 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; } uint256[49] private __gap; } // SPDX-License-Identifier: GPL-3.0-only /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface INBUNIERC20 { /** * @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); event Log(string log); } library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // Encore Vault distributes fees equally amongst staked pools // Have fun reading it. Hopefully it's bug-free. God bless. contract EncoreVault is OwnableUpgradeSafe { using SafeMath for uint256; using SafeMath for uint; // Info of each user. struct UserInfo { uint256 amount; // How many tokens the user has provided. uint256 rewardDebt; // Reward debt. See explanation below. // // We do some fancy math here. Basically, any point in time, the amount of ENCOREs // entitled to a user but is pending to be distributed is: // // pending reward = (user.amount * pool.accEncorePerShare) - user.rewardDebt // // Whenever a user deposits or withdraws tokens to a pool. Here's what happens: // 1. The pool's `accEncorePerShare` (and `lastRewardBlock`) gets updated. // 2. User receives the pending reward sent to his/her address. // 3. User's `amount` gets updated. // 4. User's `rewardDebt` gets updated. } // Info of each pool. struct PoolInfo { IERC20 token; // Address of token contract. uint256 allocPoint; // How many allocation points assigned to this pool. ENCOREs to distribute per block. uint256 accEncorePerShare; // Accumulated ENCOREs per share, times 1e12. See below. bool withdrawable; // Is this pool withdrawable? bool depositable; // Is this pool depositable? mapping(address => mapping(address => uint256)) allowance; } // The ENCORE TOKEN! INBUNIERC20 public encore; // Dev address. address public devaddr; // Info of each pool. PoolInfo[] public poolInfo; // Info of each user that stakes tokens. mapping(uint256 => mapping(address => UserInfo)) public userInfo; // Total allocation poitns. Must be the sum of all allocation points in all pools. uint256 public totalAllocPoint; //// pending rewards awaiting anyone to massUpdate uint256 public pendingRewards; uint256 public contractStartBlock; uint256 public epochCalculationStartBlock; uint256 public cumulativeRewardsSinceStart; uint256 public rewardsInThisEpoch; uint public epoch; address public ENCOREETHLPBurnAddress; mapping(address=>bool) public voidWithdrawList; // Returns fees generated since start of this contract function averageFeesPerBlockSinceStart() external view returns (uint averagePerBlock) { averagePerBlock = cumulativeRewardsSinceStart.add(rewardsInThisEpoch).div(block.number.sub(contractStartBlock)); } // Returns averge fees in this epoch function averageFeesPerBlockEpoch() external view returns (uint256 averagePerBlock) { averagePerBlock = rewardsInThisEpoch.div(block.number.sub(epochCalculationStartBlock)); } // For easy graphing historical epoch rewards mapping(uint => uint256) public epochRewards; //Starts a new calculation epoch // Because averge since start will not be accurate function startNewEpoch() public { require(epochCalculationStartBlock + 50000 < block.number, "New epoch not ready yet"); // About a week epochRewards[epoch] = rewardsInThisEpoch; cumulativeRewardsSinceStart = cumulativeRewardsSinceStart.add(rewardsInThisEpoch); rewardsInThisEpoch = 0; epochCalculationStartBlock = block.number; ++epoch; } event Deposit(address indexed user, uint256 indexed pid, uint256 amount); event Withdraw(address indexed user, uint256 indexed pid, uint256 amount); event EmergencyWithdraw( address indexed user, uint256 indexed pid, uint256 amount ); event Approval(address indexed owner, address indexed spender, uint256 _pid, uint256 value); function initialize( INBUNIERC20 _encore, address _devaddr, address superAdmin ) public initializer { OwnableUpgradeSafe.__Ownable_init(); DEV_FEE = 1666; encore = _encore; devaddr = _devaddr; contractStartBlock = block.number; _superAdmin = superAdmin; } function poolLength() external view returns (uint256) { return poolInfo.length; } // Add a new token pool. Can only be called by the owner. // Note contract owner is meant to be a governance contract allowing ENCORE governance consensus function add( uint256 _allocPoint, IERC20 _token, bool _withUpdate, bool _withdrawable, bool _depositable ) public onlyOwner { if (_withUpdate) { massUpdatePools(); } revert("ENCORE is depricated. cVault.finance/migrations"); uint256 length = poolInfo.length; for (uint256 pid = 0; pid < length; ++pid) { require(poolInfo[pid].token != _token,"Error pool already added"); } totalAllocPoint = totalAllocPoint.add(_allocPoint); poolInfo.push( PoolInfo({ token: _token, allocPoint: _allocPoint, accEncorePerShare: 0, withdrawable : _withdrawable, depositable : _depositable }) ); } // Update the given pool's ENCOREs allocation point. Can only be called by the owner. // Note contract owner is meant to be a governance contract allowing ENCORE governance consensus function set( uint256 _pid, uint256 _allocPoint, bool _withUpdate ) public onlyOwner { if (_withUpdate) { massUpdatePools(); } revert("ENCORE is depricated. cVault.finance/migrations"); totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add( _allocPoint ); poolInfo[_pid].allocPoint = _allocPoint; } // Update the given pool's ability to withdraw tokens // Note contract owner is meant to be a governance contract allowing ENCORE governance consensus function setPoolWithdrawable( uint256 _pid, bool _withdrawable ) public onlyOwner { poolInfo[_pid].withdrawable = _withdrawable; } function setPoolDepositable( uint256 _pid, bool _depositable ) public onlyOwner { poolInfo[_pid].depositable = _depositable; } // Note contract owner is meant to be a governance contract allowing ENCORE governance consensus uint16 public DEV_FEE; function setDevFee(uint16 _DEV_FEE) public onlyOwner { require(_DEV_FEE <= 2000, 'Dev fee clamped at 20%'); DEV_FEE = _DEV_FEE; } uint256 pending_DEV_rewards; // Update reward vairables for all pools. Be careful of gas spending! function massUpdatePools() public { revert("ENCORE is depricated. cVault.finance/migrations"); uint256 length = poolInfo.length; uint allRewards; for (uint256 pid = 0; pid < length; ++pid) { allRewards = allRewards.add(updatePool(pid)); } pendingRewards = pendingRewards.sub(allRewards); } function editVoidWithdrawList(address _user, bool _voidfee) public onlyOwner { voidWithdrawList[_user] = _voidfee; } // ---- // Function that adds pending rewards, called by the ENCORE token. // ---- uint256 private encoreBalance; function addPendingRewards(uint256 _) public { revert("ENCORE is depricated. cVault.finance/migrations"); uint256 newRewards = encore.balanceOf(address(this)).sub(encoreBalance); if(newRewards > 0) { encoreBalance = encore.balanceOf(address(this)); // If there is no change the balance didn't change pendingRewards = pendingRewards.add(newRewards); rewardsInThisEpoch = rewardsInThisEpoch.add(newRewards); } } // Update reward variables of the given pool to be up-to-date. function updatePool(uint256 _pid) public returns (uint256 encoreRewardWhole) { revert("ENCORE is depricated. cVault.finance/migrations"); PoolInfo storage pool = poolInfo[_pid]; uint256 tokenSupply = pool.token.balanceOf(address(this)); if (tokenSupply == 0) { // avoids division by 0 errors return 0; } encoreRewardWhole = pendingRewards // Multiplies pending rewards by allocation point of this pool and then total allocation .mul(pool.allocPoint) // getting the percent of total pending rewards this pool should get .div(totalAllocPoint); // we can do this because pools are only mass updated uint256 encoreRewardFee = encoreRewardWhole.mul(DEV_FEE).div(10000); uint256 encoreRewardToDistribute = encoreRewardWhole.sub(encoreRewardFee); pending_DEV_rewards = pending_DEV_rewards.add(encoreRewardFee); pool.accEncorePerShare = pool.accEncorePerShare.add( encoreRewardToDistribute.mul(1e12).div(tokenSupply) ); } function safeFixUnits(uint256 _pid) public { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; user.rewardDebt = user.amount.mul(pool.accEncorePerShare).div(1e12); } // Deposit tokens to EncoreVault for ENCORE allocation. function deposit(uint256 _pid, uint256 _amount) public { revert("ENCORE is depricated. cVault.finance/migrations"); PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; require(pool.depositable == true, "Depositing into this pool is disabled"); massUpdatePools(); // Transfer pending tokens // to user updateAndPayOutPending(_pid, msg.sender); //Transfer in the amounts from user // save gas if(_amount > 0) { pool.token.transferFrom(address(msg.sender), address(this), _amount); user.amount = user.amount.add(_amount); } user.rewardDebt = user.amount.mul(pool.accEncorePerShare).div(1e12); emit Deposit(msg.sender, _pid, _amount); } // Test coverage // [x] Does user get the deposited amounts? // [x] Does user that its deposited for update correcty? // [x] Does the depositor get their tokens decreased function depositFor(address depositFor, uint256 _pid, uint256 _amount) public { revert("ENCORE is depricated. cVault.finance/migrations"); // requires no allowances PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][depositFor]; massUpdatePools(); require(pool.depositable == true, "Depositing into this pool is disabled"); // Transfer pending tokens // to user updateAndPayOutPending(_pid, depositFor); // Update the balances of person that amount is being deposited for if(_amount > 0) { pool.token.transferFrom(address(msg.sender), address(this), _amount); user.amount = user.amount.add(_amount); // This is depositedFor address } user.rewardDebt = user.amount.mul(pool.accEncorePerShare).div(1e12); /// This is deposited for address emit Deposit(depositFor, _pid, _amount); } // Test coverage // [x] Does allowance update correctly? function setAllowanceForPoolToken(address spender, uint256 _pid, uint256 value) public { revert("ENCORE is depricated. cVault.finance/migrations"); PoolInfo storage pool = poolInfo[_pid]; pool.allowance[msg.sender][spender] = value; emit Approval(msg.sender, spender, _pid, value); } function setENCOREETHLPBurnAddress(address _burn) public onlyOwner { ENCOREETHLPBurnAddress = _burn; } // Test coverage // [x] Does allowance decrease? // [x] Do oyu need allowance // [x] Withdraws to correct address function withdrawFrom(address owner, uint256 _pid, uint256 _amount) public{ PoolInfo storage pool = poolInfo[_pid]; require(pool.allowance[owner][msg.sender] >= _amount, "withdraw: insufficient allowance"); pool.allowance[owner][msg.sender] = pool.allowance[owner][msg.sender].sub(_amount); _withdraw(_pid, _amount, owner, msg.sender); } // Withdraw tokens from EncoreVault. function withdraw(uint256 _pid, uint256 _amount) public { _withdraw(_pid, _amount, msg.sender, msg.sender); } function claim(uint256 _pid) public { _withdraw(_pid, 0, msg.sender,msg.sender); } // Low level withdraw function function _withdraw(uint256 _pid, uint256 _amount, address from, address to) internal { revert("ENCORE is depricated. cVault.finance/migrations"); PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][from]; massUpdatePools(); updateAndPayOutPending(_pid, from); // Update balances of from this is not withdrawal but claiming ENCORE farmed if(_amount > 0) { require(pool.withdrawable, "Withdrawing from this pool is disabled"); user.amount = user.amount.sub(_amount, "Insufficient balance"); if(_pid == 0) { if(voidWithdrawList[to] || ENCOREETHLPBurnAddress == address(0)) { pool.token.transfer(address(to), _amount); } else { pool.token.transfer(address(to), _amount.mul(95).div(100)); pool.token.transfer(address(ENCOREETHLPBurnAddress), _amount.mul(5).div(100)); } } else { pool.token.transfer(address(to), _amount); } } user.rewardDebt = user.amount.mul(pool.accEncorePerShare).div(1e12); emit Withdraw(to, _pid, _amount); } bool public fixUnits = true; function setFixUnits(bool _bool) public onlyOwner { fixUnits = _bool; } function updateAndPayOutPending(uint256 _pid, address from) internal { if(fixUnits == true) {safeFixUnits(0);} uint256 pending = pendingENCORE(_pid, from); if(pending > 0) { safeEncoreTransfer(from, pending); } } function pendingENCORE(uint256 _pid, address _user) public view returns (uint256) { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_user]; uint256 accEncorePerShare = pool.accEncorePerShare; return user.amount.mul(accEncorePerShare).div(1e12).sub(user.rewardDebt); } // function that lets owner/governance contract // approve allowance for any token inside this contract // This means all future UNI like airdrops are covered // And at the same time allows us to give allowance to strategy contracts. // Upcoming cYFI etc vaults strategy contracts will se this function to manage and farm yield on value locked function setStrategyContractOrDistributionContractAllowance(address tokenAddress, uint256 _amount, address contractAddress) public onlySuperAdmin { require(isContract(contractAddress), "Recipent is not a smart contract, BAD"); require(block.number > contractStartBlock.add(95_000), "Governance setup grace period not over"); // about 2weeks IERC20(tokenAddress).approve(contractAddress, _amount); } function isContract(address addr) public returns (bool) { uint size; assembly { size := extcodesize(addr) } return size > 0; } // Withdraw without caring about rewards. EMERGENCY ONLY. // !Caution this will remove all your pending rewards! function emergencyWithdraw(uint256 _pid) public { revert("ENCORE is depricated. cVault.finance/migrations"); PoolInfo storage pool = poolInfo[_pid]; require(pool.withdrawable, "Withdrawing from this pool is disabled"); UserInfo storage user = userInfo[_pid][msg.sender]; pool.token.transfer(address(msg.sender), user.amount); emit EmergencyWithdraw(msg.sender, _pid, user.amount); user.amount = 0; user.rewardDebt = 0; // No mass update dont update pending rewards } // Safe encore transfer function, just in case if rounding error causes pool to not have enough ENCOREs. function safeEncoreTransfer(address _to, uint256 _amount) internal { if(_amount == 0) return; uint256 encoreBal = encore.balanceOf(address(this)); encore.transfer(_to, _amount); encoreBalance = encore.balanceOf(address(this)); if(pending_DEV_rewards > 0) { uint256 devSend = pending_DEV_rewards; // Avoid recursive loop pending_DEV_rewards = 0; safeEncoreTransfer(devaddr, devSend); } } function stakedTokens(uint256 _pid, address _user) public view returns (uint256) { UserInfo storage user = userInfo[_pid][_user]; return user.amount; } // Update dev address by the previous dev. function setDevFeeReciever(address _devaddr) public onlyOwner { devaddr = _devaddr; } address private _superAdmin; event SuperAdminTransfered(address indexed previousOwner, address indexed newOwner); /** * @dev Returns the address of the current super admin */ function superAdmin() public view returns (address) { return _superAdmin; } /** * @dev Throws if called by any account other than the superAdmin */ modifier onlySuperAdmin() { require(_superAdmin == _msgSender(), "Super admin : caller is not super admin."); _; } // Assisns super admint to address 0, making it unreachable forever function burnSuperAdmin() public virtual onlySuperAdmin { emit SuperAdminTransfered(_superAdmin, address(0)); _superAdmin = address(0); } // Super admin can transfer its powers to another address function newSuperAdmin(address newOwner) public virtual onlySuperAdmin { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit SuperAdminTransfered(_superAdmin, newOwner); _superAdmin = newOwner; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"_pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"SuperAdminTransfered","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"DEV_FEE","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ENCOREETHLPBurnAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"bool","name":"_withUpdate","type":"bool"},{"internalType":"bool","name":"_withdrawable","type":"bool"},{"internalType":"bool","name":"_depositable","type":"bool"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_","type":"uint256"}],"name":"addPendingRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"averageFeesPerBlockEpoch","outputs":[{"internalType":"uint256","name":"averagePerBlock","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"averageFeesPerBlockSinceStart","outputs":[{"internalType":"uint256","name":"averagePerBlock","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnSuperAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractStartBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cumulativeRewardsSinceStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"depositFor","type":"address"},{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"depositFor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devaddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"bool","name":"_voidfee","type":"bool"}],"name":"editVoidWithdrawList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"encore","outputs":[{"internalType":"contract INBUNIERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"epoch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"epochCalculationStartBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"epochRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fixUnits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract INBUNIERC20","name":"_encore","type":"address"},{"internalType":"address","name":"_devaddr","type":"address"},{"internalType":"address","name":"superAdmin","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"isContract","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"newSuperAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingENCORE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"accEncorePerShare","type":"uint256"},{"internalType":"bool","name":"withdrawable","type":"bool"},{"internalType":"bool","name":"depositable","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardsInThisEpoch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"safeFixUnits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setAllowanceForPoolToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_DEV_FEE","type":"uint16"}],"name":"setDevFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devaddr","type":"address"}],"name":"setDevFeeReciever","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_burn","type":"address"}],"name":"setENCOREETHLPBurnAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_bool","type":"bool"}],"name":"setFixUnits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"bool","name":"_depositable","type":"bool"}],"name":"setPoolDepositable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"bool","name":"_withdrawable","type":"bool"}],"name":"setPoolWithdrawable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"contractAddress","type":"address"}],"name":"setStrategyContractOrDistributionContractAllowance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"stakedTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startNewEpoch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"superAdmin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[{"internalType":"uint256","name":"encoreRewardWhole","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"voidWithdrawList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawFrom","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405260a8805460ff1916600117905534801561001d57600080fd5b506121538061002d6000396000f3fe608060405234801561001057600080fd5b50600436106102f15760003560e01c806356eeafd91161019d578063a676860a116100e9578063d49e77cd116100a2578063e18cb4fe1161007c578063e18cb4fe1461082e578063e2bbb1581461084f578063eded3fda14610872578063f2fde38b1461087a576102f1565b8063d49e77cd1461081e578063d8eb8cec14610826578063dbe0901f146105b9576102f1565b8063a676860a14610754578063ab39495c1461077a578063b8dc113c146107a0578063c0c53b8b146107a8578063c4014588146107e0578063c8ffb87314610816576102f1565b8063715018a611610156578063900cf0cf11610130578063900cf0cf146106f7578063934eaa50146106ff57806393f1a40b146107075780639dbc2d901461074c576102f1565b8063715018a6146106df57806371560855146106e75780638da5cb5b146106ef576102f1565b806356eeafd91461064a5780635d577c1814610676578063608c8d3a1461067e578063630b5ba11461068657806364482f791461068e5780636b4e25d4146106b9576102f1565b8063379607f51161025c57806348569696116102155780634dc47d34116101ef5780634dc47d34146105eb57806351eb05a6146106085780635207cc0d146106255780635312ea8e1461050e576102f1565b8063485696961461056d57806349c5468d146105b15780634cf5fbf5146105b9576102f1565b8063379607f5146104b75780633a0967cd146104d45780633aab0a6214610506578063423d6fa01461050e578063436a88c11461052b578063441a3e701461054a576102f1565b806316279055116102ae57806316279055146103ef57806317caf6f11461042957806323a06fae1461043157806329575f6a1461044e5780632d6754e514610472578063329617d914610498576102f1565b806303dec009146102f65780630694704714610310578063081e3eda146103405780630e959f6c14610348578063133a7a481461036d5780631526fe2714610399575b600080fd5b6102fe6108a0565b60408051918252519081900360200190f35b61033e6004803603604081101561032657600080fd5b506001600160a01b03813516906020013515156108c8565b005b6102fe61094b565b61033e6004803603604081101561035e57600080fd5b50803590602001351515610951565b6102fe6004803603604081101561038357600080fd5b50803590602001356001600160a01b03166109e3565b6103b6600480360360208110156103af57600080fd5b5035610a66565b604080516001600160a01b0390961686526020860194909452848401929092521515606084015215156080830152519081900360a00190f35b6104156004803603602081101561040557600080fd5b50356001600160a01b0316610ab3565b604080519115158252519081900360200190f35b6102fe610ab9565b61033e6004803603602081101561044757600080fd5b5035610abf565b610456610b1e565b604080516001600160a01b039092168252519081900360200190f35b61033e6004803603602081101561048857600080fd5b50356001600160a01b0316610b32565b61033e600480360360208110156104ae57600080fd5b50351515610bac565b61033e600480360360208110156104cd57600080fd5b5035610c17565b61033e600480360360608110156104ea57600080fd5b506001600160a01b038135169060208101359060400135610c27565b61033e610d2e565b61033e6004803603602081101561052457600080fd5b5035610dc2565b610533610dfd565b6040805161ffff9092168252519081900360200190f35b61033e6004803603604081101561056057600080fd5b5080359060200135610e07565b61033e600480360360a081101561058357600080fd5b508035906001600160a01b036020820135169060408101351515906060810135151590608001351515610e13565b6102fe61103f565b61033e600480360360608110156105cf57600080fd5b506001600160a01b038135169060208101359060400135610dc2565b6102fe6004803603602081101561060157600080fd5b5035611045565b6102fe6004803603602081101561061e57600080fd5b5035611057565b61033e6004803603604081101561063b57600080fd5b50803590602001351515611090565b6102fe6004803603604081101561066057600080fd5b50803590602001356001600160a01b031661111c565b6102fe611144565b6102fe61114a565b61033e610dc2565b61033e600480360360608110156106a457600080fd5b5080359060208101359060400135151561118a565b610415600480360360208110156106cf57600080fd5b50356001600160a01b03166111f0565b61033e611205565b6104566112a7565b6104566112b6565b6102fe6112c5565b61033e6112cb565b6107336004803603604081101561071d57600080fd5b50803590602001356001600160a01b0316611374565b6040805192835260208301919091528051918290030190f35b6102fe611398565b61033e6004803603602081101561076a57600080fd5b50356001600160a01b03166113c1565b61033e6004803603602081101561079057600080fd5b50356001600160a01b03166114c6565b610415611540565b61033e600480360360608110156107be57600080fd5b506001600160a01b038135811691602081013582169160409091013516611549565b61033e600480360360608110156107f657600080fd5b506001600160a01b03813581169160208101359160409091013516611654565b6102fe6117c6565b6104566117cc565b6104566117db565b61033e6004803603602081101561084457600080fd5b503561ffff166117ea565b61033e6004803603604081101561086557600080fd5b5080359060200135610dc2565b6102fe6118ae565b61033e6004803603602081101561089057600080fd5b50356001600160a01b03166118b4565b60006108c36108ba609e54436119ad90919063ffffffff16565b60a054906119f6565b905090565b6108d0611a38565b6065546001600160a01b03908116911614610920576040805162461bcd60e51b815260206004820181905260248201526000805160206120aa833981519152604482015290519081900360640190fd5b6001600160a01b0391909116600090815260a360205260409020805460ff1916911515919091179055565b60995490565b610959611a38565b6065546001600160a01b039081169116146109a9576040805162461bcd60e51b815260206004820181905260248201526000805160206120aa833981519152604482015290519081900360640190fd5b80609983815481106109b757fe5b906000526020600020906005020160030160016101000a81548160ff0219169083151502179055505050565b600080609984815481106109f357fe5b60009182526020808320878452609a825260408085206001600160a01b038916865290925292206002600590920290920190810154600183015483549294509091610a5a9190610a549064e8d4a5100090610a4e9086611a3c565b906119f6565b906119ad565b93505050505b92915050565b60998181548110610a7357fe5b600091825260209091206005909102018054600182015460028301546003909301546001600160a01b039092169350919060ff8082169161010090041685565b3b151590565b609b5481565b600060998281548110610ace57fe5b60009182526020808320858452609a82526040808520338652909252922060026005909202909201908101548254919350610b149164e8d4a5100091610a4e9190611a3c565b6001909101555050565b60a85461010090046001600160a01b031690565b610b3a611a38565b6065546001600160a01b03908116911614610b8a576040805162461bcd60e51b815260206004820181905260248201526000805160206120aa833981519152604482015290519081900360640190fd5b609880546001600160a01b0319166001600160a01b0392909216919091179055565b610bb4611a38565b6065546001600160a01b03908116911614610c04576040805162461bcd60e51b815260206004820181905260248201526000805160206120aa833981519152604482015290519081900360640190fd5b60a8805460ff1916911515919091179055565b610c248160003333610dc2565b50565b600060998381548110610c3657fe5b600091825260208083206001600160a01b038816845260046005909302019182018152604080842033855290915290912054909150821115610cbf576040805162461bcd60e51b815260206004820181905260248201527f77697468647261773a20696e73756666696369656e7420616c6c6f77616e6365604482015290519081900360640190fd5b6001600160a01b03841660009081526004820160209081526040808320338452909152902054610cef90836119ad565b6001600160a01b0385166000908152600483016020908152604080832033808552925290912091909155610d2890849084908790610dc2565b50505050565b43609e5461c3500110610d88576040805162461bcd60e51b815260206004820152601760248201527f4e65772065706f6368206e6f7420726561647920796574000000000000000000604482015290519081900360640190fd5b60a05460a154600090815260a460205260409020819055609f54610dab91611a95565b609f55600060a05543609e5560a180546001019055565b60405162461bcd60e51b815260040180806020018281038252602f815260200180611fe7602f913960400191505060405180910390fd5b5050565b60a55461ffff1681565b610df982823333610dc2565b610e1b611a38565b6065546001600160a01b03908116911614610e6b576040805162461bcd60e51b815260206004820181905260248201526000805160206120aa833981519152604482015290519081900360640190fd5b8215610dc257610dc2610dc2565b81811015610f0d57856001600160a01b031660998281548110610e9857fe5b60009182526020909120600590910201546001600160a01b03161415610f05576040805162461bcd60e51b815260206004820152601860248201527f4572726f7220706f6f6c20616c72656164792061646465640000000000000000604482015290519081900360640190fd5b600101610e79565b50609b54610f1b9087611a95565b609b55506040805160a0810182526001600160a01b039586168152602081019687526000918101828152931515606082019081529215156080820190815260998054600181018255935290517f72a152ddfb8e864297c917af52ea6c1c68aead0fee1a62673fcc7e0c94979d00600590930292830180546001600160a01b031916919097161790955594517f72a152ddfb8e864297c917af52ea6c1c68aead0fee1a62673fcc7e0c94979d0186015590517f72a152ddfb8e864297c917af52ea6c1c68aead0fee1a62673fcc7e0c94979d02850155517f72a152ddfb8e864297c917af52ea6c1c68aead0fee1a62673fcc7e0c94979d039093018054925160ff199093169315159390931761ff001916610100921515929092029190911790915550565b609d5481565b60a46020526000908152604090205481565b600060405162461bcd60e51b815260040180806020018281038252602f815260200180611fe7602f913960400191505060405180910390fd5b611098611a38565b6065546001600160a01b039081169116146110e8576040805162461bcd60e51b815260206004820181905260248201526000805160206120aa833981519152604482015290519081900360640190fd5b80609983815481106110f657fe5b60009182526020909120600590910201600301805460ff19169115159190911790555050565b6000918252609a602090815260408084206001600160a01b0393909316845291905290205490565b609e5481565b60a05481565b828110156111755761116b61116482611057565b8390611a95565b9150600101611150565b50609c5461118390826119ad565b609c555050565b611192611a38565b6065546001600160a01b039081169116146111e2576040805162461bcd60e51b815260206004820181905260248201526000805160206120aa833981519152604482015290519081900360640190fd5b8015610dc257610dc2610dc2565b60a36020526000908152604090205460ff1681565b61120d611a38565b6065546001600160a01b0390811691161461125d576040805162461bcd60e51b815260206004820181905260248201526000805160206120aa833981519152604482015290519081900360640190fd5b6065546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3606580546001600160a01b0319169055565b6097546001600160a01b031681565b6065546001600160a01b031690565b60a15481565b6112d3611a38565b60a85461010090046001600160a01b039081169116146113245760405162461bcd60e51b81526004018080602001828103825260288152602001806120616028913960400191505060405180910390fd5b60a85460405160009161010090046001600160a01b0316907ff564c40f4f45e62a2c1e6c22e8bfb46501f0f71fa1c72e5358903fa1115a4b64908390a360a88054610100600160a81b0319169055565b609a6020908152600092835260408084209091529082529020805460019091015482565b60006108c36113b2609d54436119ad90919063ffffffff16565b60a054609f54610a4e91611a95565b6113c9611a38565b60a85461010090046001600160a01b0390811691161461141a5760405162461bcd60e51b81526004018080602001828103825260288152602001806120616028913960400191505060405180910390fd5b6001600160a01b03811661145f5760405162461bcd60e51b81526004018080602001828103825260268152602001806120166026913960400191505060405180910390fd5b60a8546040516001600160a01b0380841692610100900416907ff564c40f4f45e62a2c1e6c22e8bfb46501f0f71fa1c72e5358903fa1115a4b6490600090a360a880546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6114ce611a38565b6065546001600160a01b0390811691161461151e576040805162461bcd60e51b815260206004820181905260248201526000805160206120aa833981519152604482015290519081900360640190fd5b60a280546001600160a01b0319166001600160a01b0392909216919091179055565b60a85460ff1681565b600054610100900460ff16806115625750611562611af4565b80611570575060005460ff16155b6115ab5760405162461bcd60e51b815260040180806020018281038252602e8152602001806120ca602e913960400191505060405180910390fd5b600054610100900460ff161580156115d6576000805460ff1961ff0019909116610100171660011790555b6115de611afa565b60a5805461ffff1916610682179055609780546001600160a01b038087166001600160a01b03199283161790925560988054868416921691909117905543609d5560a8805491841661010002610100600160a81b03199092169190911790558015610d28576000805461ff001916905550505050565b61165c611a38565b60a85461010090046001600160a01b039081169116146116ad5760405162461bcd60e51b81526004018080602001828103825260288152602001806120616028913960400191505060405180910390fd5b6116b681610ab3565b6116f15760405162461bcd60e51b815260040180806020018281038252602581526020018061203c6025913960400191505060405180910390fd5b609d546117019062017318611a95565b431161173e5760405162461bcd60e51b81526004018080602001828103825260268152602001806120f86026913960400191505060405180910390fd5b826001600160a01b031663095ea7b382846040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561179557600080fd5b505af11580156117a9573d6000803e3d6000fd5b505050506040513d60208110156117bf57600080fd5b5050505050565b609f5481565b6098546001600160a01b031681565b60a2546001600160a01b031681565b6117f2611a38565b6065546001600160a01b03908116911614611842576040805162461bcd60e51b815260206004820181905260248201526000805160206120aa833981519152604482015290519081900360640190fd5b6107d08161ffff161115611896576040805162461bcd60e51b81526020600482015260166024820152754465762066656520636c616d7065642061742032302560501b604482015290519081900360640190fd5b60a5805461ffff191661ffff92909216919091179055565b609c5481565b6118bc611a38565b6065546001600160a01b0390811691161461190c576040805162461bcd60e51b815260206004820181905260248201526000805160206120aa833981519152604482015290519081900360640190fd5b6001600160a01b0381166119515760405162461bcd60e51b81526004018080602001828103825260268152602001806120166026913960400191505060405180910390fd5b6065546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3606580546001600160a01b0319166001600160a01b0392909216919091179055565b60006119ef83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611bab565b9392505050565b60006119ef83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611c42565b3390565b600082611a4b57506000610a60565b82820282848281611a5857fe5b04146119ef5760405162461bcd60e51b81526004018080602001828103825260218152602001806120896021913960400191505060405180910390fd5b6000828201838110156119ef576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b505050565b303b1590565b600054610100900460ff1680611b135750611b13611af4565b80611b21575060005460ff16155b611b5c5760405162461bcd60e51b815260040180806020018281038252602e8152602001806120ca602e913960400191505060405180910390fd5b600054610100900460ff16158015611b87576000805460ff1961ff0019909116610100171660011790555b611b8f611e4d565b611b97611eed565b8015610c24576000805461ff001916905550565b60008184841115611c3a5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611bff578181015183820152602001611be7565b50505050905090810190601f168015611c2c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008183611c915760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611bff578181015183820152602001611be7565b506000838581611c9d57fe5b0495945050505050565b80611cb157610df9565b609754604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015611cfc57600080fd5b505afa158015611d10573d6000803e3d6000fd5b505050506040513d6020811015611d2657600080fd5b50516097546040805163a9059cbb60e01b81526001600160a01b03878116600483015260248201879052915193945091169163a9059cbb916044808201926020929091908290030181600087803b158015611d8057600080fd5b505af1158015611d94573d6000803e3d6000fd5b505050506040513d6020811015611daa57600080fd5b5050609754604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b158015611df757600080fd5b505afa158015611e0b573d6000803e3d6000fd5b505050506040513d6020811015611e2157600080fd5b505160a75560a65415611aef5760a680546000909155609854610d28906001600160a01b031682611ca7565b600054610100900460ff1680611e665750611e66611af4565b80611e74575060005460ff16155b611eaf5760405162461bcd60e51b815260040180806020018281038252602e8152602001806120ca602e913960400191505060405180910390fd5b600054610100900460ff16158015611b97576000805460ff1961ff0019909116610100171660011790558015610c24576000805461ff001916905550565b600054610100900460ff1680611f065750611f06611af4565b80611f14575060005460ff16155b611f4f5760405162461bcd60e51b815260040180806020018281038252602e8152602001806120ca602e913960400191505060405180910390fd5b600054610100900460ff16158015611f7a576000805460ff1961ff0019909116610100171660011790555b6000611f84611a38565b606580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508015610c24576000805461ff00191690555056fe454e434f524520697320646570726963617465642e20635661756c742e66696e616e63652f6d6967726174696f6e734f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735265636970656e74206973206e6f74206120736d61727420636f6e74726163742c2042414453757065722061646d696e203a2063616c6c6572206973206e6f742073757065722061646d696e2e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a6564476f7665726e616e636520736574757020677261636520706572696f64206e6f74206f766572a2646970667358221220110cdd409694d1fe1bc4978822453dff43718938f72cde028a316d471b3075c764736f6c634300060c0033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102f15760003560e01c806356eeafd91161019d578063a676860a116100e9578063d49e77cd116100a2578063e18cb4fe1161007c578063e18cb4fe1461082e578063e2bbb1581461084f578063eded3fda14610872578063f2fde38b1461087a576102f1565b8063d49e77cd1461081e578063d8eb8cec14610826578063dbe0901f146105b9576102f1565b8063a676860a14610754578063ab39495c1461077a578063b8dc113c146107a0578063c0c53b8b146107a8578063c4014588146107e0578063c8ffb87314610816576102f1565b8063715018a611610156578063900cf0cf11610130578063900cf0cf146106f7578063934eaa50146106ff57806393f1a40b146107075780639dbc2d901461074c576102f1565b8063715018a6146106df57806371560855146106e75780638da5cb5b146106ef576102f1565b806356eeafd91461064a5780635d577c1814610676578063608c8d3a1461067e578063630b5ba11461068657806364482f791461068e5780636b4e25d4146106b9576102f1565b8063379607f51161025c57806348569696116102155780634dc47d34116101ef5780634dc47d34146105eb57806351eb05a6146106085780635207cc0d146106255780635312ea8e1461050e576102f1565b8063485696961461056d57806349c5468d146105b15780634cf5fbf5146105b9576102f1565b8063379607f5146104b75780633a0967cd146104d45780633aab0a6214610506578063423d6fa01461050e578063436a88c11461052b578063441a3e701461054a576102f1565b806316279055116102ae57806316279055146103ef57806317caf6f11461042957806323a06fae1461043157806329575f6a1461044e5780632d6754e514610472578063329617d914610498576102f1565b806303dec009146102f65780630694704714610310578063081e3eda146103405780630e959f6c14610348578063133a7a481461036d5780631526fe2714610399575b600080fd5b6102fe6108a0565b60408051918252519081900360200190f35b61033e6004803603604081101561032657600080fd5b506001600160a01b03813516906020013515156108c8565b005b6102fe61094b565b61033e6004803603604081101561035e57600080fd5b50803590602001351515610951565b6102fe6004803603604081101561038357600080fd5b50803590602001356001600160a01b03166109e3565b6103b6600480360360208110156103af57600080fd5b5035610a66565b604080516001600160a01b0390961686526020860194909452848401929092521515606084015215156080830152519081900360a00190f35b6104156004803603602081101561040557600080fd5b50356001600160a01b0316610ab3565b604080519115158252519081900360200190f35b6102fe610ab9565b61033e6004803603602081101561044757600080fd5b5035610abf565b610456610b1e565b604080516001600160a01b039092168252519081900360200190f35b61033e6004803603602081101561048857600080fd5b50356001600160a01b0316610b32565b61033e600480360360208110156104ae57600080fd5b50351515610bac565b61033e600480360360208110156104cd57600080fd5b5035610c17565b61033e600480360360608110156104ea57600080fd5b506001600160a01b038135169060208101359060400135610c27565b61033e610d2e565b61033e6004803603602081101561052457600080fd5b5035610dc2565b610533610dfd565b6040805161ffff9092168252519081900360200190f35b61033e6004803603604081101561056057600080fd5b5080359060200135610e07565b61033e600480360360a081101561058357600080fd5b508035906001600160a01b036020820135169060408101351515906060810135151590608001351515610e13565b6102fe61103f565b61033e600480360360608110156105cf57600080fd5b506001600160a01b038135169060208101359060400135610dc2565b6102fe6004803603602081101561060157600080fd5b5035611045565b6102fe6004803603602081101561061e57600080fd5b5035611057565b61033e6004803603604081101561063b57600080fd5b50803590602001351515611090565b6102fe6004803603604081101561066057600080fd5b50803590602001356001600160a01b031661111c565b6102fe611144565b6102fe61114a565b61033e610dc2565b61033e600480360360608110156106a457600080fd5b5080359060208101359060400135151561118a565b610415600480360360208110156106cf57600080fd5b50356001600160a01b03166111f0565b61033e611205565b6104566112a7565b6104566112b6565b6102fe6112c5565b61033e6112cb565b6107336004803603604081101561071d57600080fd5b50803590602001356001600160a01b0316611374565b6040805192835260208301919091528051918290030190f35b6102fe611398565b61033e6004803603602081101561076a57600080fd5b50356001600160a01b03166113c1565b61033e6004803603602081101561079057600080fd5b50356001600160a01b03166114c6565b610415611540565b61033e600480360360608110156107be57600080fd5b506001600160a01b038135811691602081013582169160409091013516611549565b61033e600480360360608110156107f657600080fd5b506001600160a01b03813581169160208101359160409091013516611654565b6102fe6117c6565b6104566117cc565b6104566117db565b61033e6004803603602081101561084457600080fd5b503561ffff166117ea565b61033e6004803603604081101561086557600080fd5b5080359060200135610dc2565b6102fe6118ae565b61033e6004803603602081101561089057600080fd5b50356001600160a01b03166118b4565b60006108c36108ba609e54436119ad90919063ffffffff16565b60a054906119f6565b905090565b6108d0611a38565b6065546001600160a01b03908116911614610920576040805162461bcd60e51b815260206004820181905260248201526000805160206120aa833981519152604482015290519081900360640190fd5b6001600160a01b0391909116600090815260a360205260409020805460ff1916911515919091179055565b60995490565b610959611a38565b6065546001600160a01b039081169116146109a9576040805162461bcd60e51b815260206004820181905260248201526000805160206120aa833981519152604482015290519081900360640190fd5b80609983815481106109b757fe5b906000526020600020906005020160030160016101000a81548160ff0219169083151502179055505050565b600080609984815481106109f357fe5b60009182526020808320878452609a825260408085206001600160a01b038916865290925292206002600590920290920190810154600183015483549294509091610a5a9190610a549064e8d4a5100090610a4e9086611a3c565b906119f6565b906119ad565b93505050505b92915050565b60998181548110610a7357fe5b600091825260209091206005909102018054600182015460028301546003909301546001600160a01b039092169350919060ff8082169161010090041685565b3b151590565b609b5481565b600060998281548110610ace57fe5b60009182526020808320858452609a82526040808520338652909252922060026005909202909201908101548254919350610b149164e8d4a5100091610a4e9190611a3c565b6001909101555050565b60a85461010090046001600160a01b031690565b610b3a611a38565b6065546001600160a01b03908116911614610b8a576040805162461bcd60e51b815260206004820181905260248201526000805160206120aa833981519152604482015290519081900360640190fd5b609880546001600160a01b0319166001600160a01b0392909216919091179055565b610bb4611a38565b6065546001600160a01b03908116911614610c04576040805162461bcd60e51b815260206004820181905260248201526000805160206120aa833981519152604482015290519081900360640190fd5b60a8805460ff1916911515919091179055565b610c248160003333610dc2565b50565b600060998381548110610c3657fe5b600091825260208083206001600160a01b038816845260046005909302019182018152604080842033855290915290912054909150821115610cbf576040805162461bcd60e51b815260206004820181905260248201527f77697468647261773a20696e73756666696369656e7420616c6c6f77616e6365604482015290519081900360640190fd5b6001600160a01b03841660009081526004820160209081526040808320338452909152902054610cef90836119ad565b6001600160a01b0385166000908152600483016020908152604080832033808552925290912091909155610d2890849084908790610dc2565b50505050565b43609e5461c3500110610d88576040805162461bcd60e51b815260206004820152601760248201527f4e65772065706f6368206e6f7420726561647920796574000000000000000000604482015290519081900360640190fd5b60a05460a154600090815260a460205260409020819055609f54610dab91611a95565b609f55600060a05543609e5560a180546001019055565b60405162461bcd60e51b815260040180806020018281038252602f815260200180611fe7602f913960400191505060405180910390fd5b5050565b60a55461ffff1681565b610df982823333610dc2565b610e1b611a38565b6065546001600160a01b03908116911614610e6b576040805162461bcd60e51b815260206004820181905260248201526000805160206120aa833981519152604482015290519081900360640190fd5b8215610dc257610dc2610dc2565b81811015610f0d57856001600160a01b031660998281548110610e9857fe5b60009182526020909120600590910201546001600160a01b03161415610f05576040805162461bcd60e51b815260206004820152601860248201527f4572726f7220706f6f6c20616c72656164792061646465640000000000000000604482015290519081900360640190fd5b600101610e79565b50609b54610f1b9087611a95565b609b55506040805160a0810182526001600160a01b039586168152602081019687526000918101828152931515606082019081529215156080820190815260998054600181018255935290517f72a152ddfb8e864297c917af52ea6c1c68aead0fee1a62673fcc7e0c94979d00600590930292830180546001600160a01b031916919097161790955594517f72a152ddfb8e864297c917af52ea6c1c68aead0fee1a62673fcc7e0c94979d0186015590517f72a152ddfb8e864297c917af52ea6c1c68aead0fee1a62673fcc7e0c94979d02850155517f72a152ddfb8e864297c917af52ea6c1c68aead0fee1a62673fcc7e0c94979d039093018054925160ff199093169315159390931761ff001916610100921515929092029190911790915550565b609d5481565b60a46020526000908152604090205481565b600060405162461bcd60e51b815260040180806020018281038252602f815260200180611fe7602f913960400191505060405180910390fd5b611098611a38565b6065546001600160a01b039081169116146110e8576040805162461bcd60e51b815260206004820181905260248201526000805160206120aa833981519152604482015290519081900360640190fd5b80609983815481106110f657fe5b60009182526020909120600590910201600301805460ff19169115159190911790555050565b6000918252609a602090815260408084206001600160a01b0393909316845291905290205490565b609e5481565b60a05481565b828110156111755761116b61116482611057565b8390611a95565b9150600101611150565b50609c5461118390826119ad565b609c555050565b611192611a38565b6065546001600160a01b039081169116146111e2576040805162461bcd60e51b815260206004820181905260248201526000805160206120aa833981519152604482015290519081900360640190fd5b8015610dc257610dc2610dc2565b60a36020526000908152604090205460ff1681565b61120d611a38565b6065546001600160a01b0390811691161461125d576040805162461bcd60e51b815260206004820181905260248201526000805160206120aa833981519152604482015290519081900360640190fd5b6065546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3606580546001600160a01b0319169055565b6097546001600160a01b031681565b6065546001600160a01b031690565b60a15481565b6112d3611a38565b60a85461010090046001600160a01b039081169116146113245760405162461bcd60e51b81526004018080602001828103825260288152602001806120616028913960400191505060405180910390fd5b60a85460405160009161010090046001600160a01b0316907ff564c40f4f45e62a2c1e6c22e8bfb46501f0f71fa1c72e5358903fa1115a4b64908390a360a88054610100600160a81b0319169055565b609a6020908152600092835260408084209091529082529020805460019091015482565b60006108c36113b2609d54436119ad90919063ffffffff16565b60a054609f54610a4e91611a95565b6113c9611a38565b60a85461010090046001600160a01b0390811691161461141a5760405162461bcd60e51b81526004018080602001828103825260288152602001806120616028913960400191505060405180910390fd5b6001600160a01b03811661145f5760405162461bcd60e51b81526004018080602001828103825260268152602001806120166026913960400191505060405180910390fd5b60a8546040516001600160a01b0380841692610100900416907ff564c40f4f45e62a2c1e6c22e8bfb46501f0f71fa1c72e5358903fa1115a4b6490600090a360a880546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6114ce611a38565b6065546001600160a01b0390811691161461151e576040805162461bcd60e51b815260206004820181905260248201526000805160206120aa833981519152604482015290519081900360640190fd5b60a280546001600160a01b0319166001600160a01b0392909216919091179055565b60a85460ff1681565b600054610100900460ff16806115625750611562611af4565b80611570575060005460ff16155b6115ab5760405162461bcd60e51b815260040180806020018281038252602e8152602001806120ca602e913960400191505060405180910390fd5b600054610100900460ff161580156115d6576000805460ff1961ff0019909116610100171660011790555b6115de611afa565b60a5805461ffff1916610682179055609780546001600160a01b038087166001600160a01b03199283161790925560988054868416921691909117905543609d5560a8805491841661010002610100600160a81b03199092169190911790558015610d28576000805461ff001916905550505050565b61165c611a38565b60a85461010090046001600160a01b039081169116146116ad5760405162461bcd60e51b81526004018080602001828103825260288152602001806120616028913960400191505060405180910390fd5b6116b681610ab3565b6116f15760405162461bcd60e51b815260040180806020018281038252602581526020018061203c6025913960400191505060405180910390fd5b609d546117019062017318611a95565b431161173e5760405162461bcd60e51b81526004018080602001828103825260268152602001806120f86026913960400191505060405180910390fd5b826001600160a01b031663095ea7b382846040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561179557600080fd5b505af11580156117a9573d6000803e3d6000fd5b505050506040513d60208110156117bf57600080fd5b5050505050565b609f5481565b6098546001600160a01b031681565b60a2546001600160a01b031681565b6117f2611a38565b6065546001600160a01b03908116911614611842576040805162461bcd60e51b815260206004820181905260248201526000805160206120aa833981519152604482015290519081900360640190fd5b6107d08161ffff161115611896576040805162461bcd60e51b81526020600482015260166024820152754465762066656520636c616d7065642061742032302560501b604482015290519081900360640190fd5b60a5805461ffff191661ffff92909216919091179055565b609c5481565b6118bc611a38565b6065546001600160a01b0390811691161461190c576040805162461bcd60e51b815260206004820181905260248201526000805160206120aa833981519152604482015290519081900360640190fd5b6001600160a01b0381166119515760405162461bcd60e51b81526004018080602001828103825260268152602001806120166026913960400191505060405180910390fd5b6065546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3606580546001600160a01b0319166001600160a01b0392909216919091179055565b60006119ef83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611bab565b9392505050565b60006119ef83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611c42565b3390565b600082611a4b57506000610a60565b82820282848281611a5857fe5b04146119ef5760405162461bcd60e51b81526004018080602001828103825260218152602001806120896021913960400191505060405180910390fd5b6000828201838110156119ef576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b505050565b303b1590565b600054610100900460ff1680611b135750611b13611af4565b80611b21575060005460ff16155b611b5c5760405162461bcd60e51b815260040180806020018281038252602e8152602001806120ca602e913960400191505060405180910390fd5b600054610100900460ff16158015611b87576000805460ff1961ff0019909116610100171660011790555b611b8f611e4d565b611b97611eed565b8015610c24576000805461ff001916905550565b60008184841115611c3a5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611bff578181015183820152602001611be7565b50505050905090810190601f168015611c2c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008183611c915760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611bff578181015183820152602001611be7565b506000838581611c9d57fe5b0495945050505050565b80611cb157610df9565b609754604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015611cfc57600080fd5b505afa158015611d10573d6000803e3d6000fd5b505050506040513d6020811015611d2657600080fd5b50516097546040805163a9059cbb60e01b81526001600160a01b03878116600483015260248201879052915193945091169163a9059cbb916044808201926020929091908290030181600087803b158015611d8057600080fd5b505af1158015611d94573d6000803e3d6000fd5b505050506040513d6020811015611daa57600080fd5b5050609754604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b158015611df757600080fd5b505afa158015611e0b573d6000803e3d6000fd5b505050506040513d6020811015611e2157600080fd5b505160a75560a65415611aef5760a680546000909155609854610d28906001600160a01b031682611ca7565b600054610100900460ff1680611e665750611e66611af4565b80611e74575060005460ff16155b611eaf5760405162461bcd60e51b815260040180806020018281038252602e8152602001806120ca602e913960400191505060405180910390fd5b600054610100900460ff16158015611b97576000805460ff1961ff0019909116610100171660011790558015610c24576000805461ff001916905550565b600054610100900460ff1680611f065750611f06611af4565b80611f14575060005460ff16155b611f4f5760405162461bcd60e51b815260040180806020018281038252602e8152602001806120ca602e913960400191505060405180910390fd5b600054610100900460ff16158015611f7a576000805460ff1961ff0019909116610100171660011790555b6000611f84611a38565b606580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508015610c24576000805461ff00191690555056fe454e434f524520697320646570726963617465642e20635661756c742e66696e616e63652f6d6967726174696f6e734f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735265636970656e74206973206e6f74206120736d61727420636f6e74726163742c2042414453757065722061646d696e203a2063616c6c6572206973206e6f742073757065722061646d696e2e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a6564476f7665726e616e636520736574757020677261636520706572696f64206e6f74206f766572a2646970667358221220110cdd409694d1fe1bc4978822453dff43718938f72cde028a316d471b3075c764736f6c634300060c0033
Deployed Bytecode Sourcemap
21022:18541:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23605:189;;;:::i;:::-;;;;;;;;;;;;;;;;28203:130;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;28203:130:0;;;;;;;;;;:::i;:::-;;25144:95;;;:::i;27258:163::-;;;;;;;;;;;;;;;;-1:-1:-1;27258:163:0;;;;;;;;;:::i;35501:341::-;;;;;;;;;;;;;;;;-1:-1:-1;35501:341:0;;;;;;-1:-1:-1;;;;;35501:341:0;;:::i;22607:26::-;;;;;;;;;;;;;;;;-1:-1:-1;22607:26:0;;:::i;:::-;;;;-1:-1:-1;;;;;22607:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36660:158;;;;;;;;;;;;;;;;-1:-1:-1;36660:158:0;-1:-1:-1;;;;;36660:158:0;;:::i;:::-;;;;;;;;;;;;;;;;;;22846:30;;;:::i;30144:239::-;;;;;;;;;;;;;;;;-1:-1:-1;30144:239:0;;:::i;38670:89::-;;;:::i;:::-;;;;-1:-1:-1;;;;;38670:89:0;;;;;;;;;;;;;;38349:99;;;;;;;;;;;;;;;;-1:-1:-1;38349:99:0;-1:-1:-1;;;;;38349:99:0;;:::i;35130:85::-;;;;;;;;;;;;;;;;-1:-1:-1;35130:85:0;;;;:::i;33699:96::-;;;;;;;;;;;;;;;;-1:-1:-1;33699:96:0;;:::i;33129:382::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;33129:382:0;;;;;;;;;;;;;:::i;24000:398::-;;;:::i;28475:493::-;;;;;;;;;;;;;;;;-1:-1:-1;28475:493:0;;:::i;27533:21::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;33564:127;;;;;;;;;;;;;;;;-1:-1:-1;33564:127:0;;;;;;;:::i;25416:859::-;;;;;;;;;;;;;;;;-1:-1:-1;25416:859:0;;;-1:-1:-1;;;;;25416:859:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;22979:33::-;;;:::i;31494:967::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;31494:967:0;;;;;;;;;;;;;:::i;23853:44::-;;;;;;;;;;;;;;;;-1:-1:-1;23853:44:0;;:::i;29044:1092::-;;;;;;;;;;;;;;;;-1:-1:-1;29044:1092:0;;:::i;27083:167::-;;;;;;;;;;;;;;;;-1:-1:-1;27083:167:0;;;;;;;;;:::i;38119:174::-;;;;;;;;;;;;;;;;-1:-1:-1;38119:174:0;;;;;;-1:-1:-1;;;;;38119:174:0;;:::i;23019:41::-;;;:::i;23116:33::-;;;:::i;27830:365::-;;;:::i;26482:432::-;;;;;;;;;;;;;;;;-1:-1:-1;26482:432:0;;;;;;;;;;;;;;:::i;23224:46::-;;;;;;;;;;;;;;;;-1:-1:-1;23224:46:0;-1:-1:-1;;;;;23224:46:0;;:::i;15978:148::-;;;:::i;22496:25::-;;;:::i;15336:79::-;;;:::i;23156:17::-;;;:::i;39074:160::-;;;:::i;22687:64::-;;;;;;;;;;;;;;;;-1:-1:-1;22687:64:0;;;;;;-1:-1:-1;;;;;22687:64:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;23339:216;;;:::i;39305:255::-;;;;;;;;;;;;;;;;-1:-1:-1;39305:255:0;-1:-1:-1;;;;;39305:255:0;;:::i;32871:116::-;;;;;;;;;;;;;;;;-1:-1:-1;32871:116:0;-1:-1:-1;;;;;32871:116:0;;:::i;35090:27::-;;;:::i;24790:346::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;24790:346:0;;;;;;;;;;;;;;;;;;;:::i;36222:430::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;36222:430:0;;;;;;;;;;;;;;;;;:::i;23067:42::-;;;:::i;22549:22::-;;;:::i;23180:37::-;;;:::i;27561:152::-;;;;;;;;;;;;;;;;-1:-1:-1;27561:152:0;;;;:::i;30453:842::-;;;;;;;;;;;;;;;;-1:-1:-1;30453:842:0;;;;;;;:::i;22941:29::-;;;:::i;16281:244::-;;;;;;;;;;;;;;;;-1:-1:-1;16281:244:0;-1:-1:-1;;;;;16281:244:0;;:::i;23605:189::-;23664:23;23718:68;23741:44;23758:26;;23741:12;:16;;:44;;;;:::i;:::-;23718:18;;;:22;:68::i;:::-;23700:86;;23605:189;:::o;28203:130::-;15558:12;:10;:12::i;:::-;15548:6;;-1:-1:-1;;;;;15548:6:0;;;:22;;;15540:67;;;;;-1:-1:-1;;;15540:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;15540:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;28291:23:0;;;::::1;;::::0;;;:16:::1;:23;::::0;;;;:34;;-1:-1:-1;;28291:34:0::1;::::0;::::1;;::::0;;;::::1;::::0;;28203:130::o;25144:95::-;25216:8;:15;25144:95;:::o;27258:163::-;15558:12;:10;:12::i;:::-;15548:6;;-1:-1:-1;;;;;15548:6:0;;;:22;;;15540:67;;;;;-1:-1:-1;;;15540:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;15540:67:0;;;;;;;;;;;;;;;27401:12:::1;27372:8;27381:4;27372:14;;;;;;;;;;;;;;;;;;:26;;;:41;;;;;;;;;;;;;;;;;;27258:163:::0;;:::o;35501:341::-;35574:7;35594:21;35618:8;35627:4;35618:14;;;;;;;;;;;;;;;;35667;;;:8;:14;;;;;;-1:-1:-1;;;;;35667:21:0;;;;;;;;;35727:22;35618:14;;;;;;;35727:22;;;;35818:15;;;;35769:11;;35618:14;;-1:-1:-1;35727:22:0;;35769:65;;35818:15;35769:44;;35808:4;;35769:34;;35727:22;35769:15;:34::i;:::-;:38;;:44::i;:::-;:48;;:65::i;:::-;35762:72;;;;;35501:341;;;;;:::o;22607:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22607:26:0;;;;-1:-1:-1;22607:26:0;;;;;;;;;;;;:::o;36660:158::-;36766:17;36802:8;;;36660:158::o;22846:30::-;;;;:::o;30144:239::-;30198:21;30222:8;30231:4;30222:14;;;;;;;;;;;;;;;;30271;;;:8;:14;;;;;;30286:10;30271:26;;;;;;;30342:22;30222:14;;;;;;;30342:22;;;;30326:11;;30222:14;;-1:-1:-1;30326:49:0;;30370:4;;30326:39;;:11;:15;:39::i;:49::-;30308:15;;;;:67;-1:-1:-1;;30144:239:0:o;38670:89::-;38740:11;;;;;-1:-1:-1;;;;;38740:11:0;;38670:89::o;38349:99::-;15558:12;:10;:12::i;:::-;15548:6;;-1:-1:-1;;;;;15548:6:0;;;:22;;;15540:67;;;;;-1:-1:-1;;;15540:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;15540:67:0;;;;;;;;;;;;;;;38422:7:::1;:18:::0;;-1:-1:-1;;;;;;38422:18:0::1;-1:-1:-1::0;;;;;38422:18:0;;;::::1;::::0;;;::::1;::::0;;38349:99::o;35130:85::-;15558:12;:10;:12::i;:::-;15548:6;;-1:-1:-1;;;;;15548:6:0;;;:22;;;15540:67;;;;;-1:-1:-1;;;15540:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;15540:67:0;;;;;;;;;;;;;;;35191:8:::1;:16:::0;;-1:-1:-1;;35191:16:0::1;::::0;::::1;;::::0;;;::::1;::::0;;35130:85::o;33699:96::-;33746:41;33756:4;33762:1;33765:10;33776;33746:9;:41::i;:::-;33699:96;:::o;33129:382::-;33216:21;33240:8;33249:4;33240:14;;;;;;;;;;;;;;;;-1:-1:-1;;;;;33273:21:0;;;;:14;33240;;;;;33273;;;:21;;;;;;33295:10;33273:33;;;;;;;;;33240:14;;-1:-1:-1;33273:44:0;-1:-1:-1;33273:44:0;33265:89;;;;;-1:-1:-1;;;33265:89:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;33401:21:0;;;;;;:14;;;:21;;;;;;;;33423:10;33401:33;;;;;;;;:46;;33439:7;33401:37;:46::i;:::-;-1:-1:-1;;;;;33365:21:0;;;;;;:14;;;:21;;;;;;;;33387:10;33365:33;;;;;;;;:82;;;;33458:43;;33468:4;;33474:7;;33380:5;;33458:9;:43::i;:::-;33129:382;;;;:::o;24000:398::-;24088:12;24051:26;;24080:5;24051:34;:49;24043:85;;;;;-1:-1:-1;;;24043:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;24177:18;;24168:5;;24155:19;;;;:12;:19;;;;;:40;;;24236:27;;:51;;:31;:51::i;:::-;24206:27;:81;24319:1;24298:18;:22;24360:12;24331:26;:41;24385:5;24383:7;;-1:-1:-1;24383:7:0;;;24000:398::o;28475:493::-;28531:57;;-1:-1:-1;;;28531:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28685:276;28475:493;;:::o;27533:21::-;;;;;;:::o;33564:127::-;33633:48;33643:4;33649:7;33658:10;33670;33633:9;:48::i;25416:859::-;15558:12;:10;:12::i;:::-;15548:6;;-1:-1:-1;;;;;15548:6:0;;;:22;;;15540:67;;;;;-1:-1:-1;;;15540:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;15540:67:0;;;;;;;;;;;;;;;25606:11:::1;25602:61;;;25634:17;:15;:17::i;25786:135::-;25814:6;25808:3;:12;25786:135;;;25875:6;-1:-1:-1::0;;;;;25852:29:0::1;:8;25861:3;25852:13;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;:19:::0;-1:-1:-1;;;;;25852:19:0::1;:29;;25844:65;;;::::0;;-1:-1:-1;;;25844:65:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;25822:5;;25786:135;;;-1:-1:-1::0;25951:15:0::1;::::0;:32:::1;::::0;25971:11;25951:19:::1;:32::i;:::-;25933:15;:50:::0;-1:-1:-1;26026:230:0::1;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;26026:230:0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;-1:-1:-1;26026:230:0;;;;;;;::::1;;::::0;;;;;;;::::1;;::::0;;;;;;25998:8:::1;:269:::0;;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;;;;;25998:269:0::1;::::0;;;::::1;;::::0;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;25998:269:0;;::::1;::::0;::::1;;::::0;;;::::1;-1:-1:-1::0;;25998:269:0::1;;::::0;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;;-1:-1:-1;25416:859:0:o;22979:33::-;;;;:::o;23853:44::-;;;;;;;;;;;;;:::o;29044:1092::-;29094:25;29132:57;;-1:-1:-1;;;29132:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27083:167;15558:12;:10;:12::i;:::-;15548:6;;-1:-1:-1;;;;;15548:6:0;;;:22;;;15540:67;;;;;-1:-1:-1;;;15540:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;15540:67:0;;;;;;;;;;;;;;;27229:13:::1;27199:8;27208:4;27199:14;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;:27;;:43:::0;;-1:-1:-1;;27199:43:0::1;::::0;::::1;;::::0;;;::::1;::::0;;-1:-1:-1;;27083:167:0:o;38119:174::-;38191:7;38235:14;;;:8;:14;;;;;;;;-1:-1:-1;;;;;38235:21:0;;;;;;;;;;;38274:11;;38119:174::o;23019:41::-;;;;:::o;23116:33::-;;;;:::o;28014:114::-;28042:6;28036:3;:12;28014:114;;;28085:31;28100:15;28111:3;28100:10;:15::i;:::-;28085:10;;:14;:31::i;:::-;28072:44;-1:-1:-1;28050:5:0;;28014:114;;;-1:-1:-1;28157:14:0;;:30;;28176:10;28157:18;:30::i;:::-;28140:14;:47;-1:-1:-1;;27830:365:0:o;26482:432::-;15558:12;:10;:12::i;:::-;15548:6;;-1:-1:-1;;;;;15548:6:0;;;:22;;;15540:67;;;;;-1:-1:-1;;;15540:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;15540:67:0;;;;;;;;;;;;;;;26614:11:::1;26610:61;;;26642:17;:15;:17::i;23224:46::-:0;;;;;;;;;;;;;;;:::o;15978:148::-;15558:12;:10;:12::i;:::-;15548:6;;-1:-1:-1;;;;;15548:6:0;;;:22;;;15540:67;;;;;-1:-1:-1;;;15540:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;15540:67:0;;;;;;;;;;;;;;;16069:6:::1;::::0;16048:40:::1;::::0;16085:1:::1;::::0;-1:-1:-1;;;;;16069:6:0::1;::::0;16048:40:::1;::::0;16085:1;;16048:40:::1;16099:6;:19:::0;;-1:-1:-1;;;;;;16099:19:0::1;::::0;;15978:148::o;22496:25::-;;;-1:-1:-1;;;;;22496:25:0;;:::o;15336:79::-;15401:6;;-1:-1:-1;;;;;15401:6:0;15336:79;:::o;23156:17::-;;;;:::o;39074:160::-;38916:12;:10;:12::i;:::-;38901:11;;;;;-1:-1:-1;;;;;38901:11:0;;;:27;;;38893:80;;;;-1:-1:-1;;;38893:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39167:11:::1;::::0;39146:45:::1;::::0;39188:1:::1;::::0;39167:11:::1;::::0;::::1;-1:-1:-1::0;;;;;39167:11:0::1;::::0;39146:45:::1;::::0;39188:1;;39146:45:::1;39202:11;:24:::0;;-1:-1:-1;;;;;;39202:24:0::1;::::0;;39074:160::o;22687:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;23339:216::-;23403:20;23454:93;23510:36;23527:18;;23510:12;:16;;:36;;;;:::i;:::-;23486:18;;23454:27;;:51;;:31;:51::i;39305:255::-;38916:12;:10;:12::i;:::-;38901:11;;;;;-1:-1:-1;;;;;38901:11:0;;;:27;;;38893:80;;;;-1:-1:-1;;;38893:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;39395:22:0;::::1;39387:73;;;;-1:-1:-1::0;;;39387:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39497:11;::::0;39476:43:::1;::::0;-1:-1:-1;;;;;39476:43:0;;::::1;::::0;39497:11:::1;::::0;::::1;;::::0;39476:43:::1;::::0;;;::::1;39530:11;:22:::0;;-1:-1:-1;;;;;39530:22:0;;::::1;;;-1:-1:-1::0;;;;;;39530:22:0;;::::1;::::0;;;::::1;::::0;;39305:255::o;32871:116::-;15558:12;:10;:12::i;:::-;15548:6;;-1:-1:-1;;;;;15548:6:0;;;:22;;;15540:67;;;;;-1:-1:-1;;;15540:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;15540:67:0;;;;;;;;;;;;;;;32949:22:::1;:30:::0;;-1:-1:-1;;;;;;32949:30:0::1;-1:-1:-1::0;;;;;32949:30:0;;;::::1;::::0;;;::::1;::::0;;32871:116::o;35090:27::-;;;;;;:::o;24790:346::-;11800:12;;;;;;;;:31;;;11816:15;:13;:15::i;:::-;11800:47;;;-1:-1:-1;11836:11:0;;;;11835:12;11800:47;11792:106;;;;-1:-1:-1;;;11792:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11907:19;11930:12;;;;;;11929:13;11949:83;;;;11978:12;:19;;-1:-1:-1;;;;11978:19:0;;;;;12006:18;11993:4;12006:18;;;11949:83;24933:35:::1;:33;:35::i;:::-;24979:7;:14:::0;;-1:-1:-1;;24979:14:0::1;24989:4;24979:14;::::0;;25004:6:::1;:16:::0;;-1:-1:-1;;;;;25004:16:0;;::::1;-1:-1:-1::0;;;;;;25004:16:0;;::::1;;::::0;;;25031:7:::1;:18:::0;;;;::::1;::::0;::::1;::::0;;;::::1;::::0;;25081:12:::1;25060:18;:33:::0;25104:11:::1;:24:::0;;;;::::1;24979:14;25104:24;-1:-1:-1::0;;;;;;25104:24:0;;::::1;::::0;;;::::1;::::0;;12050:57;;;;12094:5;12079:20;;-1:-1:-1;;12079:20:0;;;24790:346;;;;:::o;36222:430::-;38916:12;:10;:12::i;:::-;38901:11;;;;;-1:-1:-1;;;;;38901:11:0;;;:27;;;38893:80;;;;-1:-1:-1;;;38893:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36387:27:::1;36398:15;36387:10;:27::i;:::-;36379:77;;;;-1:-1:-1::0;;;36379:77:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36490:18;::::0;:30:::1;::::0;36513:6:::1;36490:22;:30::i;:::-;36475:12;:45;36467:96;;;;-1:-1:-1::0;;;36467:96:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36597:12;-1:-1:-1::0;;;;;36590:28:0::1;;36619:15;36636:7;36590:54;;;;;;;;;;;;;-1:-1:-1::0;;;;;36590:54:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;;;;;36222:430:0:o;23067:42::-;;;;:::o;22549:22::-;;;-1:-1:-1;;;;;22549:22:0;;:::o;23180:37::-;;;-1:-1:-1;;;;;23180:37:0;;:::o;27561:152::-;15558:12;:10;:12::i;:::-;15548:6;;-1:-1:-1;;;;;15548:6:0;;;:22;;;15540:67;;;;;-1:-1:-1;;;15540:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;15540:67:0;;;;;;;;;;;;;;;27645:4:::1;27633:8;:16;;;;27625:51;;;::::0;;-1:-1:-1;;;27625:51:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;27625:51:0;;;;;;;;;;;;;::::1;;27687:7;:18:::0;;-1:-1:-1;;27687:18:0::1;;::::0;;;::::1;::::0;;;::::1;::::0;;27561:152::o;22941:29::-;;;;:::o;16281:244::-;15558:12;:10;:12::i;:::-;15548:6;;-1:-1:-1;;;;;15548:6:0;;;:22;;;15540:67;;;;;-1:-1:-1;;;15540:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;15540:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;16370:22:0;::::1;16362:73;;;;-1:-1:-1::0;;;16362:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16472:6;::::0;16451:38:::1;::::0;-1:-1:-1;;;;;16451:38:0;;::::1;::::0;16472:6:::1;::::0;16451:38:::1;::::0;16472:6:::1;::::0;16451:38:::1;16500:6;:17:::0;;-1:-1:-1;;;;;;16500:17:0::1;-1:-1:-1::0;;;;;16500:17:0;;;::::1;::::0;;;::::1;::::0;;16281:244::o;19571:136::-;19629:7;19656:43;19660:1;19663;19656:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;19649:50;19571:136;-1:-1:-1;;;19571:136:0:o;20167:132::-;20225:7;20252:39;20256:1;20259;20252:39;;;;;;;;;;;;;;;;;:3;:39::i;13723:106::-;13811:10;13723:106;:::o;19911:250::-;19969:7;19993:6;19989:47;;-1:-1:-1;20023:1:0;20016:8;;19989:47;20060:5;;;20064:1;20060;:5;:1;20084:5;;;;;:10;20076:56;;;;-1:-1:-1;;;20076:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19384:181;19442:7;19474:5;;;19498:6;;;;19490:46;;;;;-1:-1:-1;;;19490:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;35439:33;35221:272;;;:::o;12201:508::-;12618:4;12664:17;12696:7;12201:508;:::o;14914:129::-;11800:12;;;;;;;;:31;;;11816:15;:13;:15::i;:::-;11800:47;;;-1:-1:-1;11836:11:0;;;;11835:12;11800:47;11792:106;;;;-1:-1:-1;;;11792:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11907:19;11930:12;;;;;;11929:13;11949:83;;;;11978:12;:19;;-1:-1:-1;;;;11978:19:0;;;;;12006:18;11993:4;12006:18;;;11949:83;14972:26:::1;:24;:26::i;:::-;15009;:24;:26::i;:::-;12054:14:::0;12050:57;;;12094:5;12079:20;;-1:-1:-1;;12079:20:0;;;14914:129;:::o;19713:192::-;19799:7;19835:12;19827:6;;;;19819:29;;;;-1:-1:-1;;;19819:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;19871:5:0;;;19713:192::o;20305:278::-;20391:7;20426:12;20419:5;20411:28;;;;-1:-1:-1;;;20411:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20450:9;20466:1;20462;:5;;;;;;;20305:278;-1:-1:-1;;;;;20305:278:0:o;37621:490::-;37702:12;37699:24;;37716:7;;37699:24;37755:6;;:31;;;-1:-1:-1;;;37755:31:0;;37780:4;37755:31;;;;;;37735:17;;-1:-1:-1;;;;;37755:6:0;;:16;;:31;;;;;;;;;;;;;;:6;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37755:31:0;37797:6;;:29;;;-1:-1:-1;;;37797:29:0;;-1:-1:-1;;;;;37797:29:0;;;;;;;;;;;;;;;37755:31;;-1:-1:-1;37797:6:0;;;:15;;:29;;;;;37755:31;;37797:29;;;;;;;;:6;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;37853:6:0;;:31;;;-1:-1:-1;;;37853:31:0;;37878:4;37853:31;;;;;;-1:-1:-1;;;;;37853:6:0;;;;:16;;:31;;;;;37797:29;;37853:31;;;;;;;;:6;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37853:31:0;37837:13;:47;37900:19;;:23;37897:205;;37958:19;;;37940:15;38016:23;;;38073:7;;38054:36;;-1:-1:-1;;;;;38073:7:0;37958:19;38054:18;:36::i;13644:69::-;11800:12;;;;;;;;:31;;;11816:15;:13;:15::i;:::-;11800:47;;;-1:-1:-1;11836:11:0;;;;11835:12;11800:47;11792:106;;;;-1:-1:-1;;;11792:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11907:19;11930:12;;;;;;11929:13;11949:83;;;;11978:12;:19;;-1:-1:-1;;;;11978:19:0;;;;;12006:18;11993:4;12006:18;;;12054:14;12050:57;;;12094:5;12079:20;;-1:-1:-1;;12079:20:0;;;13644:69;:::o;15051:202::-;11800:12;;;;;;;;:31;;;11816:15;:13;:15::i;:::-;11800:47;;;-1:-1:-1;11836:11:0;;;;11835:12;11800:47;11792:106;;;;-1:-1:-1;;;11792:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11907:19;11930:12;;;;;;11929:13;11949:83;;;;11978:12;:19;;-1:-1:-1;;;;11978:19:0;;;;;12006:18;11993:4;12006:18;;;11949:83;15123:17:::1;15143:12;:10;:12::i;:::-;15166:6;:18:::0;;-1:-1:-1;;;;;;15166:18:0::1;-1:-1:-1::0;;;;;15166:18:0;::::1;::::0;;::::1;::::0;;;15200:43:::1;::::0;15166:18;;-1:-1:-1;15166:18:0;-1:-1:-1;;15200:43:0::1;::::0;-1:-1:-1;;15200:43:0::1;12040:1;12054:14:::0;12050:57;;;12094:5;12079:20;;-1:-1:-1;;12079:20:0;;;15051:202;:::o
Swarm Source
ipfs://110cdd409694d1fe1bc4978822453dff43718938f72cde028a316d471b3075c7
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.