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
|
|||||
---|---|---|---|---|---|---|---|---|---|
0x60a06040 | 11826969 | 1378 days ago | IN | 0 ETH | 0.2045132 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
PowerPokeStaking
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-02-10 */ /* https://powerpool.finance/ wrrrw r wrr ppwr rrr wppr0 prwwwrp prwwwrp wr0 rr 0rrrwrrprpwp0 pp pr prrrr0 pp 0r prrrr0 0rwrrr pp pr prrrr0 prrrr0 r0 rrp pr wr00rrp prwww0 pp wr pp w00r prwwwpr 0rw prwww0 pp wr pp wr r0 r0rprprwrrrp pr0 pp wr pr pp rwwr wr 0r pp wr pr wr pr r0 prwr wrr0wpwr 00 www0 0w0ww www0 0w 00 www0 www0 0www0 wrr ww0rrrr */ // SPDX-License-Identifier: GPL-3.0 // File: @openzeppelin/upgrades-core/contracts/Initializable.sol pragma solidity >=0.4.24 <0.7.0; /** * @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; } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: @openzeppelin/contracts/math/SafeMath.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // File: contracts/interfaces/IPowerPokeStaking.sol pragma solidity ^0.6.12; interface IPowerPokeStaking { enum UserStatus { UNAUTHORIZED, HDH, MEMBER } /*** User Interface ***/ function createDeposit(uint256 userId_, uint256 amount_) external; function executeDeposit(uint256 userId_) external; function createWithdrawal(uint256 userId_, uint256 amount_) external; function executeWithdrawal(uint256 userId_, address to_) external; function createUser( address adminKey_, address reporterKey_, uint256 depositAmount ) external; function updateUser( uint256 userId, address adminKey_, address reporterKey_ ) external; /*** Owner Interface ***/ function setSlasher(address slasher) external; function setSlashingPct(uint256 slasherRewardPct, uint256 reservoirRewardPct) external; function setTimeouts(uint256 depositTimeout_, uint256 withdrawalTimeout_) external; function pause() external; function unpause() external; /*** PowerOracle Contract Interface ***/ function slashHDH(uint256 slasherId_, uint256 times_) external; /*** Permissionless Interface ***/ function setHDH(uint256 candidateId_) external; /*** Viewers ***/ function getHDHID() external view returns (uint256); function getHighestDeposit() external view returns (uint256); function getDepositOf(uint256 userId) external view returns (uint256); function getPendingDepositOf(uint256 userId_) external view returns (uint256 balance, uint256 timeout); function getPendingWithdrawalOf(uint256 userId_) external view returns (uint256 balance, uint256 timeout); function getSlashAmount(uint256 slasheeId_, uint256 times_) external view returns ( uint256 slasherReward, uint256 reservoirReward, uint256 totalSlash ); function getUserStatus( uint256 userId_, address reporterKey_, uint256 minDeposit_ ) external view returns (UserStatus); function authorizeHDH(uint256 userId_, address reporterKey_) external view; function authorizeNonHDH( uint256 userId_, address pokerKey_, uint256 minDeposit_ ) external view; function authorizeMember( uint256 userId_, address reporterKey_, uint256 minDeposit_ ) external view; function requireValidAdminKey(uint256 userId_, address adminKey_) external view; function requireValidAdminOrPokerKey(uint256 userId_, address adminOrPokerKey_) external view; function getLastDepositChange(uint256 userId_) external view returns (uint256); } // File: contracts/utils/PowerOwnable.sol // A modified version of https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.2.0/contracts/access/Ownable.sol // with no GSN Context support and _transferOwnership internal method pragma solidity ^0.6.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ contract PowerOwnable { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() internal { _owner = msg.sender; emit OwnershipTransferred(address(0), msg.sender); } /** * @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 == msg.sender, "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), "NEW_OWNER_IS_NULL"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). */ function _transferOwnership(address newOwner) internal { require(newOwner != address(0), "NEW_OWNER_IS_NULL"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File: contracts/utils/PowerPausable.sol // A modified version of https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.2.0/contracts/utils/Pausable.sol // with no GSN Context support and no construct pragma solidity ^0.6.0; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ contract PowerPausable { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!_paused, "PAUSED"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(_paused, "NOT_PAUSED"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(msg.sender); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(msg.sender); } } // File: contracts/PowerPokeStakingStorageV1.sol pragma solidity ^0.6.12; contract PowerPokeStakingStorageV1 { struct User { address adminKey; address pokerKey; uint256 deposit; uint256 pendingDeposit; uint256 pendingDepositTimeout; uint256 pendingWithdrawal; uint256 pendingWithdrawalTimeout; } /// @notice The deposit timeout in seconds uint256 public depositTimeout; /// @notice The withdrawal timeout in seconds uint256 public withdrawalTimeout; /// @notice The reservoir which holds CVP tokens address public reservoir; /// @notice The slasher address (PowerPoke) address public slasher; /// @notice The total amount of all deposits uint256 public totalDeposit; /// @notice The share of a slasher in slashed deposit per one outdated asset (1 eth == 1%) uint256 public slasherSlashingRewardPct; /// @notice The share of the protocol(reservoir) in slashed deposit per one outdated asset (1 eth == 1%) uint256 public protocolSlashingRewardPct; /// @notice The incremented user ID counter. Is updated only within createUser function call uint256 public userIdCounter; /// @dev The highest deposit. Usually of the current reporterId. Is safe to be outdated. uint256 internal _highestDeposit; /// @dev The current highest deposit holder ID. uint256 internal _hdhId; /// @notice User details by it's ID mapping(uint256 => User) public users; /// @dev Last deposit change timestamp by user ID mapping(uint256 => uint256) internal _lastDepositChange; } // File: contracts/PowerPokeStaking.sol pragma solidity ^0.6.12; contract PowerPokeStaking is IPowerPokeStaking, PowerOwnable, Initializable, PowerPausable, PowerPokeStakingStorageV1 { using SafeMath for uint256; uint256 public constant HUNDRED_PCT = 100 ether; /// @notice The event emitted when a new user is created event CreateUser(uint256 indexed userId, address indexed adminKey, address indexed pokerKey, uint256 initialDeposit); /// @notice The event emitted when an existing user is updated event UpdateUser(uint256 indexed userId, address indexed adminKey, address indexed pokerKey); /// @notice The event emitted when the user creates pending deposit event CreateDeposit( uint256 indexed userId, address indexed depositor, uint256 pendingTimeout, uint256 amount, uint256 pendingDepositAfter ); /// @notice The event emitted when the user transfers his deposit from pending to the active event ExecuteDeposit(uint256 indexed userId, uint256 pendingTimeout, uint256 amount, uint256 depositAfter); /// @notice The event emitted when the user creates pending deposit event CreateWithdrawal( uint256 indexed userId, uint256 pendingTimeout, uint256 amount, uint256 pendingWithdrawalAfter, uint256 depositAfter ); /// @notice The event emitted when a valid admin key withdraws funds from event ExecuteWithdrawal(uint256 indexed userId, address indexed to, uint256 pendingTimeout, uint256 amount); /// @notice The event emitted when the owner sets new slashing percent values, where 1ether == 1% event SetSlashingPct(uint256 slasherSlashingRewardPct, uint256 protocolSlashingRewardPct); /// @notice The event emitted when the owner sets new deposit and withdrawal timeouts event SetTimeouts(uint256 depositTimeout, uint256 withdrawalTimeout); /// @notice The event emitted when the owner sets a new PowerOracle linked contract event SetSlasher(address powerOracle); /// @notice The event emitted when an arbitrary user fixes an outdated reporter userId record event SetReporter(uint256 indexed reporterId, address indexed msgSender); /// @notice The event emitted when the PowerOracle contract requests to slash a user with the given ID event Slash(uint256 indexed slasherId, uint256 indexed reporterId, uint256 slasherReward, uint256 reservoirReward); /// @notice The event emitted when the existing reporter is replaced with a new one due some reason event ReporterChange( uint256 indexed prevId, uint256 indexed nextId, uint256 highestDepositPrev, uint256 actualDepositPrev, uint256 actualDepositNext ); /// @notice CVP token address IERC20 public immutable CVP_TOKEN; constructor(address cvpToken_) public { require(cvpToken_ != address(0), "CVP_ADDR_IS_0"); CVP_TOKEN = IERC20(cvpToken_); } function initialize( address owner_, address reservoir_, address slasher_, uint256 slasherSlashingRewardPct_, uint256 reservoirSlashingRewardPct_, uint256 depositTimeout_, uint256 withdrawTimeout_ ) external initializer { require(depositTimeout_ > 0, "DEPOSIT_TIMEOUT_IS_0"); require(withdrawTimeout_ > 0, "WITHDRAW_TIMEOUT_IS_0"); _transferOwnership(owner_); reservoir = reservoir_; slasher = slasher_; slasherSlashingRewardPct = slasherSlashingRewardPct_; protocolSlashingRewardPct = reservoirSlashingRewardPct_; depositTimeout = depositTimeout_; withdrawalTimeout = withdrawTimeout_; } /*** User Interface ***/ /** * @notice An arbitrary user deposits CVP stake to the contract for the given user ID * @param userId_ The user ID to make deposit for * @param amount_ The amount in CVP tokens to deposit */ function createDeposit(uint256 userId_, uint256 amount_) external override whenNotPaused { require(amount_ > 0, "MISSING_AMOUNT"); User storage user = users[userId_]; require(user.adminKey != address(0), "INVALID_USER"); _createDeposit(userId_, amount_); } function _createDeposit(uint256 userId_, uint256 amount_) internal { User storage user = users[userId_]; uint256 pendingDepositAfter = user.pendingDeposit.add(amount_); uint256 timeout = block.timestamp.add(depositTimeout); user.pendingDeposit = pendingDepositAfter; user.pendingDepositTimeout = timeout; emit CreateDeposit(userId_, msg.sender, timeout, amount_, pendingDepositAfter); CVP_TOKEN.transferFrom(msg.sender, address(this), amount_); } function executeDeposit(uint256 userId_) external override { User storage user = users[userId_]; uint256 amount = user.pendingDeposit; uint256 pendingDepositTimeout = user.pendingDepositTimeout; // check require(user.adminKey == msg.sender, "ONLY_ADMIN_ALLOWED"); require(amount > 0, "NO_PENDING_DEPOSIT"); require(block.timestamp >= pendingDepositTimeout, "TIMEOUT_NOT_PASSED"); // increment deposit uint256 depositAfter = user.deposit.add(amount); user.deposit = depositAfter; totalDeposit = totalDeposit.add(amount); // reset pending deposit user.pendingDeposit = 0; user.pendingDepositTimeout = 0; _lastDepositChange[userId_] = block.timestamp; _trySetHighestDepositHolder(userId_, depositAfter); emit ExecuteDeposit(userId_, pendingDepositTimeout, amount, depositAfter); } function _trySetHighestDepositHolder(uint256 candidateId_, uint256 candidateDepositAfter_) internal { uint256 prevHdhID = _hdhId; uint256 prevDeposit = users[prevHdhID].deposit; if (candidateDepositAfter_ > prevDeposit && prevHdhID != candidateId_) { emit ReporterChange(prevHdhID, candidateId_, _highestDeposit, users[prevHdhID].deposit, candidateDepositAfter_); _highestDeposit = candidateDepositAfter_; _hdhId = candidateId_; } } /** * @notice A valid users admin key withdraws the deposited stake form the contract * @param userId_ The user ID to withdraw deposit from * @param amount_ The amount in CVP tokens to withdraw */ function createWithdrawal(uint256 userId_, uint256 amount_) external override { require(amount_ > 0, "MISSING_AMOUNT"); User storage user = users[userId_]; require(msg.sender == user.adminKey, "ONLY_ADMIN_ALLOWED"); // decrement deposit uint256 depositBefore = user.deposit; require(amount_ <= depositBefore, "AMOUNT_EXCEEDS_DEPOSIT"); uint256 depositAfter = depositBefore - amount_; user.deposit = depositAfter; totalDeposit = totalDeposit.sub(amount_); // increment pending withdrawal uint256 pendingWithdrawalAfter = user.pendingWithdrawal.add(amount_); uint256 timeout = block.timestamp.add(withdrawalTimeout); user.pendingWithdrawal = pendingWithdrawalAfter; user.pendingWithdrawalTimeout = timeout; _lastDepositChange[userId_] = block.timestamp; emit CreateWithdrawal(userId_, timeout, amount_, pendingWithdrawalAfter, depositAfter); } function executeWithdrawal(uint256 userId_, address to_) external override { require(to_ != address(0), "CANT_WITHDRAW_TO_0"); User storage user = users[userId_]; uint256 pendingWithdrawalTimeout = user.pendingWithdrawalTimeout; uint256 amount = user.pendingWithdrawal; require(msg.sender == user.adminKey, "ONLY_ADMIN_ALLOWED"); require(amount > 0, "NO_PENDING_WITHDRAWAL"); require(block.timestamp >= pendingWithdrawalTimeout, "TIMEOUT_NOT_PASSED"); user.pendingWithdrawal = 0; user.pendingWithdrawalTimeout = 0; emit ExecuteWithdrawal(userId_, to_, pendingWithdrawalTimeout, amount); CVP_TOKEN.transfer(to_, amount); } /** * @notice Creates a new user ID and stores the given keys * @param adminKey_ The admin key for the new user * @param pokerKey_ The poker key for the new user * @param initialDeposit_ The initial deposit to be transferred to this contract */ function createUser( address adminKey_, address pokerKey_, uint256 initialDeposit_ ) external override whenNotPaused { uint256 userId = ++userIdCounter; users[userId] = User(adminKey_, pokerKey_, 0, 0, 0, 0, 0); emit CreateUser(userId, adminKey_, pokerKey_, initialDeposit_); if (initialDeposit_ > 0) { _createDeposit(userId, initialDeposit_); } } /** * @notice Updates an existing user, only the current adminKey is eligible calling this method. * @param adminKey_ The new admin key for the user * @param pokerKey_ The new poker key for the user */ function updateUser( uint256 userId_, address adminKey_, address pokerKey_ ) external override { User storage user = users[userId_]; require(msg.sender == user.adminKey, "ONLY_ADMIN_ALLOWED"); if (adminKey_ != user.adminKey) { user.adminKey = adminKey_; } if (pokerKey_ != user.pokerKey) { user.pokerKey = pokerKey_; } emit UpdateUser(userId_, adminKey_, pokerKey_); } /*** SLASHER INTERFACE ***/ /** * @notice Slashes the current reporter if it did not make poke() call during the given report interval * @param slasherId_ The slasher ID * @param times_ The multiplier for a single slashing percent */ function slashHDH(uint256 slasherId_, uint256 times_) external virtual override { require(msg.sender == slasher, "ONLY_SLASHER_ALLOWED"); uint256 hdhId = _hdhId; uint256 hdhDeposit = users[hdhId].deposit; (uint256 slasherReward, uint256 reservoirReward, ) = getSlashAmount(hdhId, times_); uint256 amount = slasherReward.add(reservoirReward); require(hdhDeposit >= amount, "INSUFFICIENT_HDH_DEPOSIT"); // users[reporterId].deposit = reporterDeposit - slasherReward - reservoirReward; users[hdhId].deposit = hdhDeposit.sub(amount); // totalDeposit = totalDeposit - reservoirReward; (slasherReward is kept on the contract) totalDeposit = totalDeposit.sub(reservoirReward); if (slasherReward > 0) { // uint256 slasherDepositAfter = users[slasherId_].deposit + slasherReward uint256 slasherDepositAfter = users[slasherId_].deposit.add(slasherReward); users[slasherId_].deposit = slasherDepositAfter; _trySetHighestDepositHolder(slasherId_, slasherDepositAfter); } if (reservoirReward > 0) { CVP_TOKEN.transfer(reservoir, reservoirReward); } emit Slash(slasherId_, hdhId, slasherReward, reservoirReward); } /*** OWNER INTERFACE ***/ /** * @notice The owner sets a new slasher address * @param slasher_ The slasher address to set */ function setSlasher(address slasher_) external override onlyOwner { slasher = slasher_; emit SetSlasher(slasher_); } /** * @notice The owner sets the new slashing percent values * @param slasherSlashingRewardPct_ The slasher share will be accrued on the slasher's deposit * @param protocolSlashingRewardPct_ The protocol share will immediately be transferred to reservoir */ function setSlashingPct(uint256 slasherSlashingRewardPct_, uint256 protocolSlashingRewardPct_) external override onlyOwner { require(slasherSlashingRewardPct_.add(protocolSlashingRewardPct_) <= HUNDRED_PCT, "INVALID_SUM"); slasherSlashingRewardPct = slasherSlashingRewardPct_; protocolSlashingRewardPct = protocolSlashingRewardPct_; emit SetSlashingPct(slasherSlashingRewardPct_, protocolSlashingRewardPct_); } function setTimeouts(uint256 depositTimeout_, uint256 withdrawalTimeout_) external override onlyOwner { depositTimeout = depositTimeout_; withdrawalTimeout = withdrawalTimeout_; emit SetTimeouts(depositTimeout_, withdrawalTimeout_); } /** * @notice The owner pauses poke*-operations */ function pause() external override onlyOwner { _pause(); } /** * @notice The owner unpauses poke*-operations */ function unpause() external override onlyOwner { _unpause(); } /*** PERMISSIONLESS INTERFACE ***/ /** * @notice Set a given address as a reporter if his deposit is higher than the current highestDeposit * @param candidateId_ Te candidate address to try */ function setHDH(uint256 candidateId_) external override { uint256 candidateDeposit = users[candidateId_].deposit; uint256 prevHdhId = _hdhId; uint256 currentReporterDeposit = users[prevHdhId].deposit; require(candidateDeposit > currentReporterDeposit, "INSUFFICIENT_CANDIDATE_DEPOSIT"); emit ReporterChange(prevHdhId, candidateId_, _highestDeposit, currentReporterDeposit, candidateDeposit); emit SetReporter(candidateId_, msg.sender); _highestDeposit = candidateDeposit; _hdhId = candidateId_; } /*** VIEWERS ***/ function getHDHID() external view override returns (uint256) { return _hdhId; } function getHighestDeposit() external view override returns (uint256) { return _highestDeposit; } function getDepositOf(uint256 userId_) external view override returns (uint256) { return users[userId_].deposit; } function getPendingDepositOf(uint256 userId_) external view override returns (uint256 balance, uint256 timeout) { return (users[userId_].pendingDeposit, users[userId_].pendingDepositTimeout); } function getPendingWithdrawalOf(uint256 userId_) external view override returns (uint256 balance, uint256 timeout) { return (users[userId_].pendingWithdrawal, users[userId_].pendingWithdrawalTimeout); } function getSlashAmount(uint256 slasheeId_, uint256 times_) public view override returns ( uint256 slasherReward, uint256 reservoirReward, uint256 totalSlash ) { uint256 product = times_.mul(users[slasheeId_].deposit); // slasherReward = times_ * reporterDeposit * slasherRewardPct / HUNDRED_PCT; slasherReward = product.mul(slasherSlashingRewardPct) / HUNDRED_PCT; // reservoirReward = times_ * reporterDeposit * reservoirSlashingRewardPct / HUNDRED_PCT; reservoirReward = product.mul(protocolSlashingRewardPct) / HUNDRED_PCT; // totalSlash = slasherReward + reservoirReward totalSlash = slasherReward.add(reservoirReward); } function getUserStatus( uint256 userId_, address pokerKey_, uint256 minDeposit_ ) external view override returns (UserStatus) { if (userId_ == _hdhId && users[userId_].pokerKey == pokerKey_) { return UserStatus.HDH; } if (users[userId_].deposit >= minDeposit_ && users[userId_].pokerKey == pokerKey_) { return UserStatus.MEMBER; } return UserStatus.UNAUTHORIZED; } function authorizeHDH(uint256 userId_, address pokerKey_) external view override { require(userId_ == _hdhId, "NOT_HDH"); require(users[userId_].pokerKey == pokerKey_, "INVALID_POKER_KEY"); } function authorizeNonHDH( uint256 userId_, address pokerKey_, uint256 minDeposit_ ) external view override { require(userId_ != _hdhId, "IS_HDH"); authorizeMember(userId_, pokerKey_, minDeposit_); } function authorizeMember( uint256 userId_, address pokerKey_, uint256 minDeposit_ ) public view override { require(users[userId_].deposit >= minDeposit_, "INSUFFICIENT_DEPOSIT"); require(users[userId_].pokerKey == pokerKey_, "INVALID_POKER_KEY"); } function requireValidAdminKey(uint256 userId_, address adminKey_) external view override { require(users[userId_].adminKey == adminKey_, "INVALID_AMIN_KEY"); } function requireValidAdminOrPokerKey(uint256 userId_, address adminOrPokerKey_) external view override { require( users[userId_].adminKey == adminOrPokerKey_ || users[userId_].pokerKey == adminOrPokerKey_, "INVALID_AMIN_OR_POKER_KEY" ); } function getLastDepositChange(uint256 userId_) external view override returns (uint256) { return _lastDepositChange[userId_]; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"cvpToken_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"userId","type":"uint256"},{"indexed":true,"internalType":"address","name":"depositor","type":"address"},{"indexed":false,"internalType":"uint256","name":"pendingTimeout","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"pendingDepositAfter","type":"uint256"}],"name":"CreateDeposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"userId","type":"uint256"},{"indexed":true,"internalType":"address","name":"adminKey","type":"address"},{"indexed":true,"internalType":"address","name":"pokerKey","type":"address"},{"indexed":false,"internalType":"uint256","name":"initialDeposit","type":"uint256"}],"name":"CreateUser","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"userId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"pendingTimeout","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"pendingWithdrawalAfter","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"depositAfter","type":"uint256"}],"name":"CreateWithdrawal","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"userId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"pendingTimeout","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"depositAfter","type":"uint256"}],"name":"ExecuteDeposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"userId","type":"uint256"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"pendingTimeout","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ExecuteWithdrawal","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"prevId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"nextId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"highestDepositPrev","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"actualDepositPrev","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"actualDepositNext","type":"uint256"}],"name":"ReporterChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"reporterId","type":"uint256"},{"indexed":true,"internalType":"address","name":"msgSender","type":"address"}],"name":"SetReporter","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"powerOracle","type":"address"}],"name":"SetSlasher","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"slasherSlashingRewardPct","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"protocolSlashingRewardPct","type":"uint256"}],"name":"SetSlashingPct","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"depositTimeout","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"withdrawalTimeout","type":"uint256"}],"name":"SetTimeouts","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"slasherId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"reporterId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"slasherReward","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"reservoirReward","type":"uint256"}],"name":"Slash","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"userId","type":"uint256"},{"indexed":true,"internalType":"address","name":"adminKey","type":"address"},{"indexed":true,"internalType":"address","name":"pokerKey","type":"address"}],"name":"UpdateUser","type":"event"},{"inputs":[],"name":"CVP_TOKEN","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"HUNDRED_PCT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"userId_","type":"uint256"},{"internalType":"address","name":"pokerKey_","type":"address"}],"name":"authorizeHDH","outputs":[],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"userId_","type":"uint256"},{"internalType":"address","name":"pokerKey_","type":"address"},{"internalType":"uint256","name":"minDeposit_","type":"uint256"}],"name":"authorizeMember","outputs":[],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"userId_","type":"uint256"},{"internalType":"address","name":"pokerKey_","type":"address"},{"internalType":"uint256","name":"minDeposit_","type":"uint256"}],"name":"authorizeNonHDH","outputs":[],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"userId_","type":"uint256"},{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"createDeposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"adminKey_","type":"address"},{"internalType":"address","name":"pokerKey_","type":"address"},{"internalType":"uint256","name":"initialDeposit_","type":"uint256"}],"name":"createUser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"userId_","type":"uint256"},{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"createWithdrawal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"depositTimeout","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"userId_","type":"uint256"}],"name":"executeDeposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"userId_","type":"uint256"},{"internalType":"address","name":"to_","type":"address"}],"name":"executeWithdrawal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"userId_","type":"uint256"}],"name":"getDepositOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getHDHID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getHighestDeposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"userId_","type":"uint256"}],"name":"getLastDepositChange","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"userId_","type":"uint256"}],"name":"getPendingDepositOf","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"timeout","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"userId_","type":"uint256"}],"name":"getPendingWithdrawalOf","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"timeout","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"slasheeId_","type":"uint256"},{"internalType":"uint256","name":"times_","type":"uint256"}],"name":"getSlashAmount","outputs":[{"internalType":"uint256","name":"slasherReward","type":"uint256"},{"internalType":"uint256","name":"reservoirReward","type":"uint256"},{"internalType":"uint256","name":"totalSlash","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"userId_","type":"uint256"},{"internalType":"address","name":"pokerKey_","type":"address"},{"internalType":"uint256","name":"minDeposit_","type":"uint256"}],"name":"getUserStatus","outputs":[{"internalType":"enum IPowerPokeStaking.UserStatus","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner_","type":"address"},{"internalType":"address","name":"reservoir_","type":"address"},{"internalType":"address","name":"slasher_","type":"address"},{"internalType":"uint256","name":"slasherSlashingRewardPct_","type":"uint256"},{"internalType":"uint256","name":"reservoirSlashingRewardPct_","type":"uint256"},{"internalType":"uint256","name":"depositTimeout_","type":"uint256"},{"internalType":"uint256","name":"withdrawTimeout_","type":"uint256"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"protocolSlashingRewardPct","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"userId_","type":"uint256"},{"internalType":"address","name":"adminKey_","type":"address"}],"name":"requireValidAdminKey","outputs":[],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"userId_","type":"uint256"},{"internalType":"address","name":"adminOrPokerKey_","type":"address"}],"name":"requireValidAdminOrPokerKey","outputs":[],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reservoir","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"candidateId_","type":"uint256"}],"name":"setHDH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"slasher_","type":"address"}],"name":"setSlasher","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"slasherSlashingRewardPct_","type":"uint256"},{"internalType":"uint256","name":"protocolSlashingRewardPct_","type":"uint256"}],"name":"setSlashingPct","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"depositTimeout_","type":"uint256"},{"internalType":"uint256","name":"withdrawalTimeout_","type":"uint256"}],"name":"setTimeouts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"slasherId_","type":"uint256"},{"internalType":"uint256","name":"times_","type":"uint256"}],"name":"slashHDH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"slasher","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"slasherSlashingRewardPct","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalDeposit","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":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"userId_","type":"uint256"},{"internalType":"address","name":"adminKey_","type":"address"},{"internalType":"address","name":"pokerKey_","type":"address"}],"name":"updateUser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"userIdCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"users","outputs":[{"internalType":"address","name":"adminKey","type":"address"},{"internalType":"address","name":"pokerKey","type":"address"},{"internalType":"uint256","name":"deposit","type":"uint256"},{"internalType":"uint256","name":"pendingDeposit","type":"uint256"},{"internalType":"uint256","name":"pendingDepositTimeout","type":"uint256"},{"internalType":"uint256","name":"pendingWithdrawal","type":"uint256"},{"internalType":"uint256","name":"pendingWithdrawalTimeout","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawalTimeout","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60a060405234801561001057600080fd5b506040516124913803806124918339818101604052602081101561003357600080fd5b5051600080546001600160a01b0319163390811782556040519091907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a36001600160a01b0381166100bf576040805162461bcd60e51b815260206004820152600d60248201526c04356505f414444525f49535f3609c1b604482015290519081900360640190fd5b606081901b6001600160601b0319166080526001600160a01b031661239161010060003980610ef952806119495280611d26528061222d52506123916000f3fe608060405234801561001057600080fd5b506004361061025e5760003560e01c8063896fe49f11610146578063b2758f1f116100c3578063f2fde38b11610087578063f2fde38b14610716578063f6153ccd1461073c578063f6c8dbec14610744578063f7de3f7a1461074c578063fa12ac0e14610778578063ff7386c6146107955761025e565b8063b2758f1f14610692578063b6f8a424146106c6578063bf2fd8ae146106ce578063c1b5dcb6146106eb578063f2c97399146106f35761025e565b8063ab7e1b651161010a578063ab7e1b65146105fd578063b08e997d14610633578063b13442711461065f578063b18e71f214610667578063b1a8aa221461068a5761025e565b8063896fe49f146105535780638caf03fb146105895780638da5cb5b146105ac578063a558c195146105b4578063aabc2496146105d75761025e565b80634d5cc7e0116101df5780636bbe5b3f116101a35780636bbe5b3f146104c95780636d3e2d7e146104fb5780637026e9fd1461051e578063715018a61461053b5780637b101815146105435780638456cb591461054b5761025e565b80634d5cc7e01461040957806358a20052146104355780635c975abb14610452578063615318c71461046e5780636317bce5146104765761025e565b80632faba6ae116102265780632faba6ae1461035e578063365b98b2146103665780633f4ba83a146103c757806342651170146103cf57806347893dda146103d75761025e565b80631491cbee14610263578063151e6aa51461027d5780632b4656c8146102a15780632d1a069f146102f15780632dfc0a861461031d575b600080fd5b61026b6107b2565b60408051918252519081900360200190f35b6102856107b8565b604080516001600160a01b039092168252519081900360200190f35b6102ef600480360360e08110156102b757600080fd5b506001600160a01b03813581169160208101358216916040820135169060608101359060808101359060a08101359060c001356107c7565b005b6102ef6004803603604081101561030757600080fd5b50803590602001356001600160a01b031661096d565b6103406004803603604081101561033357600080fd5b50803590602001356109d2565b60408051938452602084019290925282820152519081900360600190f35b61026b610a5d565b6103836004803603602081101561037c57600080fd5b5035610a63565b604080516001600160a01b039889168152969097166020870152858701949094526060850192909252608084015260a083015260c082015290519081900360e00190f35b6102ef610aac565b61026b610b05565b6102ef600480360360608110156103ed57600080fd5b508035906001600160a01b036020820135169060400135610b0b565b6102ef6004803603604081101561041f57600080fd5b50803590602001356001600160a01b0316610b5b565b61026b6004803603602081101561044b57600080fd5b5035610c00565b61045a610c15565b604080519115158252519081900360200190f35b61026b610c1e565b6104a86004803603606081101561048c57600080fd5b508035906001600160a01b036020820135169060400135610c24565b604051808260028111156104b857fe5b815260200191505060405180910390f35b6102ef600480360360608110156104df57600080fd5b508035906001600160a01b036020820135169060400135610cb5565b6102ef6004803603604081101561051157600080fd5b5080359060200135610d77565b6102ef6004803603602081101561053457600080fd5b5035610fbb565b6102ef611159565b61026b6111f2565b6102ef6111f8565b6105706004803603602081101561056957600080fd5b503561124f565b6040805192835260208301919091528051918290030190f35b6102ef6004803603604081101561059f57600080fd5b508035906020013561126c565b610285611304565b6102ef600480360360408110156105ca57600080fd5b5080359060200135611313565b6102ef600480360360208110156105ed57600080fd5b50356001600160a01b03166114c7565b6102ef6004803603606081101561061357600080fd5b506001600160a01b0381358116916020810135909116906040013561156a565b6102ef6004803603604081101561064957600080fd5b50803590602001356001600160a01b03166116a8565b61028561173d565b6102ef6004803603604081101561067d57600080fd5b508035906020013561174c565b61026b611836565b6102ef600480360360608110156106a857600080fd5b508035906001600160a01b036020820135811691604001351661183c565b610285611947565b61026b600480360360208110156106e457600080fd5b503561196b565b61026b61197d565b6102ef6004803603604081101561070957600080fd5b508035906020013561198a565b6102ef6004803603602081101561072c57600080fd5b50356001600160a01b0316611a77565b61026b611b70565b61026b611b76565b6102ef6004803603604081101561076257600080fd5b50803590602001356001600160a01b0316611b7c565b6102ef6004803603602081101561078e57600080fd5b5035611dce565b610570600480360360208110156107ab57600080fd5b5035611ec0565b603a5481565b6036546001600160a01b031681565b600054600160a81b900460ff16806107e257506107e2611edd565b806107f75750600054600160a01b900460ff16155b6108325760405162461bcd60e51b815260040180806020018281038252602e81526020018061232e602e913960400191505060405180910390fd5b600054600160a81b900460ff16158015610869576000805460ff60a01b1960ff60a81b19909116600160a81b1716600160a01b1790555b600083116108b5576040805162461bcd60e51b815260206004820152601460248201527304445504f5349545f54494d454f55545f49535f360641b604482015290519081900360640190fd5b60008211610902576040805162461bcd60e51b8152602060048201526015602482015274057495448445241575f54494d454f55545f49535f3605c1b604482015290519081900360640190fd5b61090b88611ac6565b603680546001600160a01b03808a166001600160a01b03199283161790925560378054928916929091169190911790556039859055603a849055603483905560358290558015610963576000805460ff60a81b191690555b5050505050505050565b6000828152603e60205260409020546001600160a01b038281169116146109ce576040805162461bcd60e51b815260206004820152601060248201526f494e56414c49445f414d494e5f4b455960801b604482015290519081900360640190fd5b5050565b6000828152603e60205260408120600201548190819081906109f5908690611ee3565b905068056bc75e2d63100000610a1660395483611ee390919063ffffffff16565b81610a1d57fe5b04935068056bc75e2d63100000610a3f603a5483611ee390919063ffffffff16565b81610a4657fe5b049250610a538484611f45565b9150509250925092565b603b5481565b603e6020526000908152604090208054600182015460028301546003840154600485015460058601546006909601546001600160a01b0395861696959094169492939192909187565b6000546001600160a01b03163314610afb576040805162461bcd60e51b815260206004820152600d60248201526c2727aa2faa2422afa7aba722a960991b604482015290519081900360640190fd5b610b03611f9f565b565b60355481565b603d54831415610b4b576040805162461bcd60e51b8152602060048201526006602482015265092a6be9088960d31b604482015290519081900360640190fd5b610b56838383610cb5565b505050565b603d548214610b9b576040805162461bcd60e51b815260206004820152600760248201526609c9ea8be9088960cb1b604482015290519081900360640190fd5b6000828152603e60205260409020600101546001600160a01b038281169116146109ce576040805162461bcd60e51b8152602060048201526011602482015270494e56414c49445f504f4b45525f4b455960781b604482015290519081900360640190fd5b6000908152603e602052604090206002015490565b60335460ff1690565b60345481565b6000603d5484148015610c5357506000848152603e60205260409020600101546001600160a01b038481169116145b15610c6057506001610cae565b6000848152603e60205260409020600201548211801590610c9d57506000848152603e60205260409020600101546001600160a01b038481169116145b15610caa57506002610cae565b5060005b9392505050565b6000838152603e6020526040902060020154811115610d12576040805162461bcd60e51b8152602060048201526014602482015273125394d551919250d251539517d1115413d4d25560621b604482015290519081900360640190fd5b6000838152603e60205260409020600101546001600160a01b03838116911614610b56576040805162461bcd60e51b8152602060048201526011602482015270494e56414c49445f504f4b45525f4b455960781b604482015290519081900360640190fd5b6037546001600160a01b03163314610dcd576040805162461bcd60e51b815260206004820152601460248201527313d3931657d4d31054d2115497d0531313d5d15160621b604482015290519081900360640190fd5b603d546000818152603e60205260408120600201549080610dee84866109d2565b5090925090506000610e008383611f45565b905080841015610e57576040805162461bcd60e51b815260206004820152601860248201527f494e53554646494349454e545f4844485f4445504f5349540000000000000000604482015290519081900360640190fd5b610e618482612022565b6000868152603e6020526040902060020155603854610e809083612022565b6038558215610ec7576000878152603e6020526040812060020154610ea59085611f45565b6000898152603e602052604090206002018190559050610ec58882612064565b505b8115610f71576036546040805163a9059cbb60e01b81526001600160a01b0392831660048201526024810185905290517f00000000000000000000000000000000000000000000000000000000000000009092169163a9059cbb916044808201926020929091908290030181600087803b158015610f4457600080fd5b505af1158015610f58573d6000803e3d6000fd5b505050506040513d6020811015610f6e57600080fd5b50505b84877ff8a73b79bdf02a4c6b1c156bac911907bf72f7789ea67d9d6cdaac64113c56378585604051808381526020018281526020019250505060405180910390a350505050505050565b6000818152603e602052604090206003810154600482015482546001600160a01b03163314611026576040805162461bcd60e51b815260206004820152601260248201527113d3931657d05113525397d0531313d5d15160721b604482015290519081900360640190fd5b60008211611070576040805162461bcd60e51b81526020600482015260126024820152711393d7d4115391125391d7d1115413d4d25560721b604482015290519081900360640190fd5b804210156110ba576040805162461bcd60e51b81526020600482015260126024820152711512535153d55517d393d517d41054d4d15160721b604482015290519081900360640190fd5b60028301546000906110cc9084611f45565b600285018190556038549091506110e39084611f45565b60385560006003850181905560048501819055858152603f6020526040902042905561110f8582612064565b6040805183815260208101859052808201839052905186917f196e968ae5ee9e01848c13600808aa31447dda8c2d46349f45cb002f2ee3dd82919081900360600190a25050505050565b6000546001600160a01b031633146111a8576040805162461bcd60e51b815260206004820152600d60248201526c2727aa2faa2422afa7aba722a960991b604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b603d5490565b6000546001600160a01b03163314611247576040805162461bcd60e51b815260206004820152600d60248201526c2727aa2faa2422afa7aba722a960991b604482015290519081900360640190fd5b610b036120ee565b6000908152603e6020526040902060038101546004909101549091565b6000546001600160a01b031633146112bb576040805162461bcd60e51b815260206004820152600d60248201526c2727aa2faa2422afa7aba722a960991b604482015290519081900360640190fd5b60348290556035819055604080518381526020810183905281517f25cb5bf4475d4c7469764540dc55c5c6e16783584f17bbdd1df25b3d25ed21b9929181900390910190a15050565b6000546001600160a01b031690565b60008111611359576040805162461bcd60e51b815260206004820152600e60248201526d135254d4d25391d7d05353d5539560921b604482015290519081900360640190fd5b6000828152603e6020526040902080546001600160a01b031633146113ba576040805162461bcd60e51b815260206004820152601260248201527113d3931657d05113525397d0531313d5d15160721b604482015290519081900360640190fd5b60028101548083111561140d576040805162461bcd60e51b8152602060048201526016602482015275105353d5539517d15610d1515114d7d1115413d4d25560521b604482015290519081900360640190fd5b828103600283018190556038546114249085612022565b60385560058301546000906114399086611f45565b9050600061145260355442611f4590919063ffffffff16565b60058601839055600686018190556000888152603f6020908152604091829020429055815183815290810189905280820185905260608101869052905191925088917f56d06745f8f1527b5205df245d3834bf5f00e6ec39a17edd03a5dcef7bb7a30f9181900360800190a250505050505050565b6000546001600160a01b03163314611516576040805162461bcd60e51b815260206004820152600d60248201526c2727aa2faa2422afa7aba722a960991b604482015290519081900360640190fd5b603780546001600160a01b0383166001600160a01b0319909116811790915560408051918252517fe7e4c932e03abddfe20f83af42c33627e816115c7ec2b168441f65dc14bfc3ba9181900360200190a150565b60335460ff16156115ab576040805162461bcd60e51b815260206004820152600660248201526514105554d15160d21b604482015290519081900360640190fd5b603b80546001908101918290556040805160e0810182526001600160a01b0380881680835287821660208085018281526000868801818152606088018281526080890183815260a08a0184815260c08b018581528e8652603e8852948c90209a518b54908b166001600160a01b0319918216178c5595519c8b0180549d909a169c9095169b909b179097555160028801559451600387015596516004860155955160058501559151600690930192909255825186815292519093919285927fe0637516e3acd12149502c16cb61e889f392f491ff738a25a035f6d06d172cfb92918290030190a481156116a2576116a28183612171565b50505050565b6000828152603e60205260409020546001600160a01b03828116911614806116ec57506000828152603e60205260409020600101546001600160a01b038281169116145b6109ce576040805162461bcd60e51b815260206004820152601960248201527f494e56414c49445f414d494e5f4f525f504f4b45525f4b455900000000000000604482015290519081900360640190fd5b6037546001600160a01b031681565b60335460ff161561178d576040805162461bcd60e51b815260206004820152600660248201526514105554d15160d21b604482015290519081900360640190fd5b600081116117d3576040805162461bcd60e51b815260206004820152600e60248201526d135254d4d25391d7d05353d5539560921b604482015290519081900360640190fd5b6000828152603e6020526040902080546001600160a01b031661182c576040805162461bcd60e51b815260206004820152600c60248201526b24a72b20a624a22faaa9a2a960a11b604482015290519081900360640190fd5b610b568383612171565b603c5490565b6000838152603e6020526040902080546001600160a01b0316331461189d576040805162461bcd60e51b815260206004820152601260248201527113d3931657d05113525397d0531313d5d15160721b604482015290519081900360640190fd5b80546001600160a01b038481169116146118cb5780546001600160a01b0319166001600160a01b0384161781555b60018101546001600160a01b03838116911614611900576001810180546001600160a01b0319166001600160a01b0384161790555b816001600160a01b0316836001600160a01b0316857fa84cf2115ab29b3474b08974b1e247d1282d505f3db4f1a2e3e06110d0f1cdb960405160405180910390a450505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000908152603f602052604090205490565b68056bc75e2d6310000081565b6000546001600160a01b031633146119d9576040805162461bcd60e51b815260206004820152600d60248201526c2727aa2faa2422afa7aba722a960991b604482015290519081900360640190fd5b68056bc75e2d631000006119ed8383611f45565b1115611a2e576040805162461bcd60e51b815260206004820152600b60248201526a494e56414c49445f53554d60a81b604482015290519081900360640190fd5b6039829055603a819055604080518381526020810183905281517fe68df5bb904ff5759575427c152f79d574b2c17176259b80a634bd7a4cdb30a8929181900390910190a15050565b6000546001600160a01b03163314611ac6576040805162461bcd60e51b815260206004820152600d60248201526c2727aa2faa2422afa7aba722a960991b604482015290519081900360640190fd5b6001600160a01b038116611b15576040805162461bcd60e51b8152602060048201526011602482015270139155d7d3d5d3915497d254d7d3955313607a1b604482015290519081900360640190fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60385481565b60395481565b6001600160a01b038116611bcc576040805162461bcd60e51b8152602060048201526012602482015271043414e545f57495448445241575f544f5f360741b604482015290519081900360640190fd5b6000828152603e602052604090206006810154600582015482546001600160a01b03163314611c37576040805162461bcd60e51b815260206004820152601260248201527113d3931657d05113525397d0531313d5d15160721b604482015290519081900360640190fd5b60008111611c84576040805162461bcd60e51b81526020600482015260156024820152741393d7d4115391125391d7d5d2551211149055d053605a1b604482015290519081900360640190fd5b81421015611cce576040805162461bcd60e51b81526020600482015260126024820152711512535153d55517d393d517d41054d4d15160721b604482015290519081900360640190fd5b6000600584018190556006840155604080518381526020810183905281516001600160a01b0387169288927fb3382b18f1292240cf9f03afda7a2137f2d7cb235f1d5744d3d62a66d164c60e929081900390910190a37f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb85836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015611d9b57600080fd5b505af1158015611daf573d6000803e3d6000fd5b505050506040513d6020811015611dc557600080fd5b50505050505050565b6000818152603e6020526040808220600290810154603d54808552929093200154808311611e43576040805162461bcd60e51b815260206004820152601e60248201527f494e53554646494349454e545f43414e4449444154455f4445504f5349540000604482015290519081900360640190fd5b603c54604080519182526020820183905281810185905251859184917f4810087920449ed2ec57423ab56755ade768a579bb7c66388bf63fa81b53695c9181900360600190a3604051339085907f23b781a8036f5f5dd59a1605effb1ef964427bdc8a32bb6f700e95a95b779ab690600090a35050603c55603d55565b6000908152603e6020526040902060058101546006909101549091565b303b1590565b600082611ef257506000611f3f565b82820282848281611eff57fe5b0414611f3c5760405162461bcd60e51b815260040180806020018281038252602181526020018061230d6021913960400191505060405180910390fd5b90505b92915050565b600082820183811015611f3c576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60335460ff16611fe3576040805162461bcd60e51b815260206004820152600a6024820152691393d517d4105554d15160b21b604482015290519081900360640190fd5b6033805460ff191690556040805133815290517f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa9181900360200190a1565b6000611f3c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612275565b603d546000818152603e602052604090206002015480831180156120885750838214155b156116a257603c546000838152603e60209081526040918290206002015482519384529083015281810185905251859184917f4810087920449ed2ec57423ab56755ade768a579bb7c66388bf63fa81b53695c9181900360600190a35050603c55603d55565b60335460ff161561212f576040805162461bcd60e51b815260206004820152600660248201526514105554d15160d21b604482015290519081900360640190fd5b6033805460ff191660011790556040805133815290517f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2589181900360200190a1565b6000828152603e6020526040812060038101549091906121919084611f45565b905060006121aa60345442611f4590919063ffffffff16565b600384018390556004840181905560408051828152602081018790528082018590529051919250339187917fafec58f875b36384da14e4a55d348740d1e418296c9ff241fb1e9075b601d9fe919081900360600190a3604080516323b872dd60e01b81523360048201523060248201526044810186905290516001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916323b872dd9160648083019260209291908290030181600087803b158015611d9b57600080fd5b600081848411156123045760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156122c95781810151838201526020016122b1565b50505050905090810190601f1680156122f65780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50505090039056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a6564a26469706673582212201feb5d3d9ca8157d8e6ff1e9dc947481fb6ff8efd78b63c7c3d756ebab64ea7964736f6c634300060c003300000000000000000000000038e4adb44ef08f22f5b5b76a8f0c2d0dcbe7dca1
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061025e5760003560e01c8063896fe49f11610146578063b2758f1f116100c3578063f2fde38b11610087578063f2fde38b14610716578063f6153ccd1461073c578063f6c8dbec14610744578063f7de3f7a1461074c578063fa12ac0e14610778578063ff7386c6146107955761025e565b8063b2758f1f14610692578063b6f8a424146106c6578063bf2fd8ae146106ce578063c1b5dcb6146106eb578063f2c97399146106f35761025e565b8063ab7e1b651161010a578063ab7e1b65146105fd578063b08e997d14610633578063b13442711461065f578063b18e71f214610667578063b1a8aa221461068a5761025e565b8063896fe49f146105535780638caf03fb146105895780638da5cb5b146105ac578063a558c195146105b4578063aabc2496146105d75761025e565b80634d5cc7e0116101df5780636bbe5b3f116101a35780636bbe5b3f146104c95780636d3e2d7e146104fb5780637026e9fd1461051e578063715018a61461053b5780637b101815146105435780638456cb591461054b5761025e565b80634d5cc7e01461040957806358a20052146104355780635c975abb14610452578063615318c71461046e5780636317bce5146104765761025e565b80632faba6ae116102265780632faba6ae1461035e578063365b98b2146103665780633f4ba83a146103c757806342651170146103cf57806347893dda146103d75761025e565b80631491cbee14610263578063151e6aa51461027d5780632b4656c8146102a15780632d1a069f146102f15780632dfc0a861461031d575b600080fd5b61026b6107b2565b60408051918252519081900360200190f35b6102856107b8565b604080516001600160a01b039092168252519081900360200190f35b6102ef600480360360e08110156102b757600080fd5b506001600160a01b03813581169160208101358216916040820135169060608101359060808101359060a08101359060c001356107c7565b005b6102ef6004803603604081101561030757600080fd5b50803590602001356001600160a01b031661096d565b6103406004803603604081101561033357600080fd5b50803590602001356109d2565b60408051938452602084019290925282820152519081900360600190f35b61026b610a5d565b6103836004803603602081101561037c57600080fd5b5035610a63565b604080516001600160a01b039889168152969097166020870152858701949094526060850192909252608084015260a083015260c082015290519081900360e00190f35b6102ef610aac565b61026b610b05565b6102ef600480360360608110156103ed57600080fd5b508035906001600160a01b036020820135169060400135610b0b565b6102ef6004803603604081101561041f57600080fd5b50803590602001356001600160a01b0316610b5b565b61026b6004803603602081101561044b57600080fd5b5035610c00565b61045a610c15565b604080519115158252519081900360200190f35b61026b610c1e565b6104a86004803603606081101561048c57600080fd5b508035906001600160a01b036020820135169060400135610c24565b604051808260028111156104b857fe5b815260200191505060405180910390f35b6102ef600480360360608110156104df57600080fd5b508035906001600160a01b036020820135169060400135610cb5565b6102ef6004803603604081101561051157600080fd5b5080359060200135610d77565b6102ef6004803603602081101561053457600080fd5b5035610fbb565b6102ef611159565b61026b6111f2565b6102ef6111f8565b6105706004803603602081101561056957600080fd5b503561124f565b6040805192835260208301919091528051918290030190f35b6102ef6004803603604081101561059f57600080fd5b508035906020013561126c565b610285611304565b6102ef600480360360408110156105ca57600080fd5b5080359060200135611313565b6102ef600480360360208110156105ed57600080fd5b50356001600160a01b03166114c7565b6102ef6004803603606081101561061357600080fd5b506001600160a01b0381358116916020810135909116906040013561156a565b6102ef6004803603604081101561064957600080fd5b50803590602001356001600160a01b03166116a8565b61028561173d565b6102ef6004803603604081101561067d57600080fd5b508035906020013561174c565b61026b611836565b6102ef600480360360608110156106a857600080fd5b508035906001600160a01b036020820135811691604001351661183c565b610285611947565b61026b600480360360208110156106e457600080fd5b503561196b565b61026b61197d565b6102ef6004803603604081101561070957600080fd5b508035906020013561198a565b6102ef6004803603602081101561072c57600080fd5b50356001600160a01b0316611a77565b61026b611b70565b61026b611b76565b6102ef6004803603604081101561076257600080fd5b50803590602001356001600160a01b0316611b7c565b6102ef6004803603602081101561078e57600080fd5b5035611dce565b610570600480360360208110156107ab57600080fd5b5035611ec0565b603a5481565b6036546001600160a01b031681565b600054600160a81b900460ff16806107e257506107e2611edd565b806107f75750600054600160a01b900460ff16155b6108325760405162461bcd60e51b815260040180806020018281038252602e81526020018061232e602e913960400191505060405180910390fd5b600054600160a81b900460ff16158015610869576000805460ff60a01b1960ff60a81b19909116600160a81b1716600160a01b1790555b600083116108b5576040805162461bcd60e51b815260206004820152601460248201527304445504f5349545f54494d454f55545f49535f360641b604482015290519081900360640190fd5b60008211610902576040805162461bcd60e51b8152602060048201526015602482015274057495448445241575f54494d454f55545f49535f3605c1b604482015290519081900360640190fd5b61090b88611ac6565b603680546001600160a01b03808a166001600160a01b03199283161790925560378054928916929091169190911790556039859055603a849055603483905560358290558015610963576000805460ff60a81b191690555b5050505050505050565b6000828152603e60205260409020546001600160a01b038281169116146109ce576040805162461bcd60e51b815260206004820152601060248201526f494e56414c49445f414d494e5f4b455960801b604482015290519081900360640190fd5b5050565b6000828152603e60205260408120600201548190819081906109f5908690611ee3565b905068056bc75e2d63100000610a1660395483611ee390919063ffffffff16565b81610a1d57fe5b04935068056bc75e2d63100000610a3f603a5483611ee390919063ffffffff16565b81610a4657fe5b049250610a538484611f45565b9150509250925092565b603b5481565b603e6020526000908152604090208054600182015460028301546003840154600485015460058601546006909601546001600160a01b0395861696959094169492939192909187565b6000546001600160a01b03163314610afb576040805162461bcd60e51b815260206004820152600d60248201526c2727aa2faa2422afa7aba722a960991b604482015290519081900360640190fd5b610b03611f9f565b565b60355481565b603d54831415610b4b576040805162461bcd60e51b8152602060048201526006602482015265092a6be9088960d31b604482015290519081900360640190fd5b610b56838383610cb5565b505050565b603d548214610b9b576040805162461bcd60e51b815260206004820152600760248201526609c9ea8be9088960cb1b604482015290519081900360640190fd5b6000828152603e60205260409020600101546001600160a01b038281169116146109ce576040805162461bcd60e51b8152602060048201526011602482015270494e56414c49445f504f4b45525f4b455960781b604482015290519081900360640190fd5b6000908152603e602052604090206002015490565b60335460ff1690565b60345481565b6000603d5484148015610c5357506000848152603e60205260409020600101546001600160a01b038481169116145b15610c6057506001610cae565b6000848152603e60205260409020600201548211801590610c9d57506000848152603e60205260409020600101546001600160a01b038481169116145b15610caa57506002610cae565b5060005b9392505050565b6000838152603e6020526040902060020154811115610d12576040805162461bcd60e51b8152602060048201526014602482015273125394d551919250d251539517d1115413d4d25560621b604482015290519081900360640190fd5b6000838152603e60205260409020600101546001600160a01b03838116911614610b56576040805162461bcd60e51b8152602060048201526011602482015270494e56414c49445f504f4b45525f4b455960781b604482015290519081900360640190fd5b6037546001600160a01b03163314610dcd576040805162461bcd60e51b815260206004820152601460248201527313d3931657d4d31054d2115497d0531313d5d15160621b604482015290519081900360640190fd5b603d546000818152603e60205260408120600201549080610dee84866109d2565b5090925090506000610e008383611f45565b905080841015610e57576040805162461bcd60e51b815260206004820152601860248201527f494e53554646494349454e545f4844485f4445504f5349540000000000000000604482015290519081900360640190fd5b610e618482612022565b6000868152603e6020526040902060020155603854610e809083612022565b6038558215610ec7576000878152603e6020526040812060020154610ea59085611f45565b6000898152603e602052604090206002018190559050610ec58882612064565b505b8115610f71576036546040805163a9059cbb60e01b81526001600160a01b0392831660048201526024810185905290517f00000000000000000000000038e4adb44ef08f22f5b5b76a8f0c2d0dcbe7dca19092169163a9059cbb916044808201926020929091908290030181600087803b158015610f4457600080fd5b505af1158015610f58573d6000803e3d6000fd5b505050506040513d6020811015610f6e57600080fd5b50505b84877ff8a73b79bdf02a4c6b1c156bac911907bf72f7789ea67d9d6cdaac64113c56378585604051808381526020018281526020019250505060405180910390a350505050505050565b6000818152603e602052604090206003810154600482015482546001600160a01b03163314611026576040805162461bcd60e51b815260206004820152601260248201527113d3931657d05113525397d0531313d5d15160721b604482015290519081900360640190fd5b60008211611070576040805162461bcd60e51b81526020600482015260126024820152711393d7d4115391125391d7d1115413d4d25560721b604482015290519081900360640190fd5b804210156110ba576040805162461bcd60e51b81526020600482015260126024820152711512535153d55517d393d517d41054d4d15160721b604482015290519081900360640190fd5b60028301546000906110cc9084611f45565b600285018190556038549091506110e39084611f45565b60385560006003850181905560048501819055858152603f6020526040902042905561110f8582612064565b6040805183815260208101859052808201839052905186917f196e968ae5ee9e01848c13600808aa31447dda8c2d46349f45cb002f2ee3dd82919081900360600190a25050505050565b6000546001600160a01b031633146111a8576040805162461bcd60e51b815260206004820152600d60248201526c2727aa2faa2422afa7aba722a960991b604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b603d5490565b6000546001600160a01b03163314611247576040805162461bcd60e51b815260206004820152600d60248201526c2727aa2faa2422afa7aba722a960991b604482015290519081900360640190fd5b610b036120ee565b6000908152603e6020526040902060038101546004909101549091565b6000546001600160a01b031633146112bb576040805162461bcd60e51b815260206004820152600d60248201526c2727aa2faa2422afa7aba722a960991b604482015290519081900360640190fd5b60348290556035819055604080518381526020810183905281517f25cb5bf4475d4c7469764540dc55c5c6e16783584f17bbdd1df25b3d25ed21b9929181900390910190a15050565b6000546001600160a01b031690565b60008111611359576040805162461bcd60e51b815260206004820152600e60248201526d135254d4d25391d7d05353d5539560921b604482015290519081900360640190fd5b6000828152603e6020526040902080546001600160a01b031633146113ba576040805162461bcd60e51b815260206004820152601260248201527113d3931657d05113525397d0531313d5d15160721b604482015290519081900360640190fd5b60028101548083111561140d576040805162461bcd60e51b8152602060048201526016602482015275105353d5539517d15610d1515114d7d1115413d4d25560521b604482015290519081900360640190fd5b828103600283018190556038546114249085612022565b60385560058301546000906114399086611f45565b9050600061145260355442611f4590919063ffffffff16565b60058601839055600686018190556000888152603f6020908152604091829020429055815183815290810189905280820185905260608101869052905191925088917f56d06745f8f1527b5205df245d3834bf5f00e6ec39a17edd03a5dcef7bb7a30f9181900360800190a250505050505050565b6000546001600160a01b03163314611516576040805162461bcd60e51b815260206004820152600d60248201526c2727aa2faa2422afa7aba722a960991b604482015290519081900360640190fd5b603780546001600160a01b0383166001600160a01b0319909116811790915560408051918252517fe7e4c932e03abddfe20f83af42c33627e816115c7ec2b168441f65dc14bfc3ba9181900360200190a150565b60335460ff16156115ab576040805162461bcd60e51b815260206004820152600660248201526514105554d15160d21b604482015290519081900360640190fd5b603b80546001908101918290556040805160e0810182526001600160a01b0380881680835287821660208085018281526000868801818152606088018281526080890183815260a08a0184815260c08b018581528e8652603e8852948c90209a518b54908b166001600160a01b0319918216178c5595519c8b0180549d909a169c9095169b909b179097555160028801559451600387015596516004860155955160058501559151600690930192909255825186815292519093919285927fe0637516e3acd12149502c16cb61e889f392f491ff738a25a035f6d06d172cfb92918290030190a481156116a2576116a28183612171565b50505050565b6000828152603e60205260409020546001600160a01b03828116911614806116ec57506000828152603e60205260409020600101546001600160a01b038281169116145b6109ce576040805162461bcd60e51b815260206004820152601960248201527f494e56414c49445f414d494e5f4f525f504f4b45525f4b455900000000000000604482015290519081900360640190fd5b6037546001600160a01b031681565b60335460ff161561178d576040805162461bcd60e51b815260206004820152600660248201526514105554d15160d21b604482015290519081900360640190fd5b600081116117d3576040805162461bcd60e51b815260206004820152600e60248201526d135254d4d25391d7d05353d5539560921b604482015290519081900360640190fd5b6000828152603e6020526040902080546001600160a01b031661182c576040805162461bcd60e51b815260206004820152600c60248201526b24a72b20a624a22faaa9a2a960a11b604482015290519081900360640190fd5b610b568383612171565b603c5490565b6000838152603e6020526040902080546001600160a01b0316331461189d576040805162461bcd60e51b815260206004820152601260248201527113d3931657d05113525397d0531313d5d15160721b604482015290519081900360640190fd5b80546001600160a01b038481169116146118cb5780546001600160a01b0319166001600160a01b0384161781555b60018101546001600160a01b03838116911614611900576001810180546001600160a01b0319166001600160a01b0384161790555b816001600160a01b0316836001600160a01b0316857fa84cf2115ab29b3474b08974b1e247d1282d505f3db4f1a2e3e06110d0f1cdb960405160405180910390a450505050565b7f00000000000000000000000038e4adb44ef08f22f5b5b76a8f0c2d0dcbe7dca181565b6000908152603f602052604090205490565b68056bc75e2d6310000081565b6000546001600160a01b031633146119d9576040805162461bcd60e51b815260206004820152600d60248201526c2727aa2faa2422afa7aba722a960991b604482015290519081900360640190fd5b68056bc75e2d631000006119ed8383611f45565b1115611a2e576040805162461bcd60e51b815260206004820152600b60248201526a494e56414c49445f53554d60a81b604482015290519081900360640190fd5b6039829055603a819055604080518381526020810183905281517fe68df5bb904ff5759575427c152f79d574b2c17176259b80a634bd7a4cdb30a8929181900390910190a15050565b6000546001600160a01b03163314611ac6576040805162461bcd60e51b815260206004820152600d60248201526c2727aa2faa2422afa7aba722a960991b604482015290519081900360640190fd5b6001600160a01b038116611b15576040805162461bcd60e51b8152602060048201526011602482015270139155d7d3d5d3915497d254d7d3955313607a1b604482015290519081900360640190fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60385481565b60395481565b6001600160a01b038116611bcc576040805162461bcd60e51b8152602060048201526012602482015271043414e545f57495448445241575f544f5f360741b604482015290519081900360640190fd5b6000828152603e602052604090206006810154600582015482546001600160a01b03163314611c37576040805162461bcd60e51b815260206004820152601260248201527113d3931657d05113525397d0531313d5d15160721b604482015290519081900360640190fd5b60008111611c84576040805162461bcd60e51b81526020600482015260156024820152741393d7d4115391125391d7d5d2551211149055d053605a1b604482015290519081900360640190fd5b81421015611cce576040805162461bcd60e51b81526020600482015260126024820152711512535153d55517d393d517d41054d4d15160721b604482015290519081900360640190fd5b6000600584018190556006840155604080518381526020810183905281516001600160a01b0387169288927fb3382b18f1292240cf9f03afda7a2137f2d7cb235f1d5744d3d62a66d164c60e929081900390910190a37f00000000000000000000000038e4adb44ef08f22f5b5b76a8f0c2d0dcbe7dca16001600160a01b031663a9059cbb85836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015611d9b57600080fd5b505af1158015611daf573d6000803e3d6000fd5b505050506040513d6020811015611dc557600080fd5b50505050505050565b6000818152603e6020526040808220600290810154603d54808552929093200154808311611e43576040805162461bcd60e51b815260206004820152601e60248201527f494e53554646494349454e545f43414e4449444154455f4445504f5349540000604482015290519081900360640190fd5b603c54604080519182526020820183905281810185905251859184917f4810087920449ed2ec57423ab56755ade768a579bb7c66388bf63fa81b53695c9181900360600190a3604051339085907f23b781a8036f5f5dd59a1605effb1ef964427bdc8a32bb6f700e95a95b779ab690600090a35050603c55603d55565b6000908152603e6020526040902060058101546006909101549091565b303b1590565b600082611ef257506000611f3f565b82820282848281611eff57fe5b0414611f3c5760405162461bcd60e51b815260040180806020018281038252602181526020018061230d6021913960400191505060405180910390fd5b90505b92915050565b600082820183811015611f3c576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60335460ff16611fe3576040805162461bcd60e51b815260206004820152600a6024820152691393d517d4105554d15160b21b604482015290519081900360640190fd5b6033805460ff191690556040805133815290517f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa9181900360200190a1565b6000611f3c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612275565b603d546000818152603e602052604090206002015480831180156120885750838214155b156116a257603c546000838152603e60209081526040918290206002015482519384529083015281810185905251859184917f4810087920449ed2ec57423ab56755ade768a579bb7c66388bf63fa81b53695c9181900360600190a35050603c55603d55565b60335460ff161561212f576040805162461bcd60e51b815260206004820152600660248201526514105554d15160d21b604482015290519081900360640190fd5b6033805460ff191660011790556040805133815290517f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2589181900360200190a1565b6000828152603e6020526040812060038101549091906121919084611f45565b905060006121aa60345442611f4590919063ffffffff16565b600384018390556004840181905560408051828152602081018790528082018590529051919250339187917fafec58f875b36384da14e4a55d348740d1e418296c9ff241fb1e9075b601d9fe919081900360600190a3604080516323b872dd60e01b81523360048201523060248201526044810186905290516001600160a01b037f00000000000000000000000038e4adb44ef08f22f5b5b76a8f0c2d0dcbe7dca116916323b872dd9160648083019260209291908290030181600087803b158015611d9b57600080fd5b600081848411156123045760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156122c95781810151838201526020016122b1565b50505050905090810190601f1680156122f65780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50505090039056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a6564a26469706673582212201feb5d3d9ca8157d8e6ff1e9dc947481fb6ff8efd78b63c7c3d756ebab64ea7964736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000038e4adb44ef08f22f5b5b76a8f0c2d0dcbe7dca1
-----Decoded View---------------
Arg [0] : cvpToken_ (address): 0x38e4adB44ef08F22F5B5b76A8f0c2d0dCbE7DcA1
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000038e4adb44ef08f22f5b5b76a8f0c2d0dcbe7dca1
Deployed Bytecode Sourcemap
19944:16182:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19270:40;;;:::i;:::-;;;;;;;;;;;;;;;;18833:24;;;:::i;:::-;;;;-1:-1:-1;;;;;18833:24:0;;;;;;;;;;;;;;22799:676;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;22799:676:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;35544:167;;;;;;;;;;;;;;;;-1:-1:-1;35544:167:0;;;;;;-1:-1:-1;;;;;35544:167:0;;:::i;33665:713::-;;;;;;;;;;;;;;;;-1:-1:-1;33665:713:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;19413:28;;;:::i;19699:37::-;;;;;;;;;;;;;;;;-1:-1:-1;19699:37:0;;:::i;:::-;;;;-1:-1:-1;;;;;19699:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32047:70;;;:::i;18742:32::-;;;:::i;35024:229::-;;;;;;;;;;;;;;;;-1:-1:-1;35024:229:0;;;-1:-1:-1;;;;;35024:229:0;;;;;;;;;;:::i;34814:204::-;;;;;;;;;;;;;;;;-1:-1:-1;34814:204:0;;;;;;-1:-1:-1;;;;;34814:204:0;;:::i;33114:122::-;;;;;;;;;;;;;;;;-1:-1:-1;33114:122:0;;:::i;17221:72::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;18657:29;;;:::i;34384:424::-;;;;;;;;;;;;;;;;-1:-1:-1;34384:424:0;;;-1:-1:-1;;;;;34384:424:0;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;35259:279;;;;;;;;;;;;;;;;-1:-1:-1;35259:279:0;;;-1:-1:-1;;;;;35259:279:0;;;;;;;;;;:::i;29340:1229::-;;;;;;;;;;;;;;;;-1:-1:-1;29340:1229:0;;;;;;;:::i;24511:877::-;;;;;;;;;;;;;;;;-1:-1:-1;24511:877:0;;:::i;15373:138::-;;;:::i;32910:87::-;;;:::i;31911:66::-;;;:::i;33242:201::-;;;;;;;;;;;;;;;;-1:-1:-1;33242:201:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;31591:252;;;;;;;;;;;;;;;;-1:-1:-1;31591:252:0;;;;;;;:::i;14792:73::-;;;:::i;26096:936::-;;;;;;;;;;;;;;;;-1:-1:-1;26096:936:0;;;;;;;:::i;30720:129::-;;;;;;;;;;;;;;;;-1:-1:-1;30720:129:0;-1:-1:-1;;;;;30720:129:0;;:::i;28001:406::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;28001:406:0;;;;;;;;;;;;;;;;;:::i;35717:265::-;;;;;;;;;;;;;;;;-1:-1:-1;35717:265:0;;;;;;-1:-1:-1;;;;;35717:265:0;;:::i;18911:22::-;;;:::i;23724:285::-;;;;;;;;;;;;;;;;-1:-1:-1;23724:285:0;;;;;;;:::i;33003:105::-;;;:::i;28634:442::-;;;;;;;;;;;;;;;;-1:-1:-1;28634:442:0;;;-1:-1:-1;;;;;28634:442:0;;;;;;;;;;;;:::i;22615:33::-;;;:::i;35988:135::-;;;;;;;;;;;;;;;;-1:-1:-1;35988:135:0;;:::i;20100:47::-;;;:::i;31132:453::-;;;;;;;;;;;;;;;;-1:-1:-1;31132:453:0;;;;;;;:::i;15656:209::-;;;;;;;;;;;;;;;;-1:-1:-1;15656:209:0;-1:-1:-1;;;;;15656:209:0;;:::i;18988:27::-;;;:::i;19116:39::-;;;:::i;27038:689::-;;;;;;;;;;;;;;;;-1:-1:-1;27038:689:0;;;;;;-1:-1:-1;;;;;27038:689:0;;:::i;32336:545::-;;;;;;;;;;;;;;;;-1:-1:-1;32336:545:0;;:::i;33449:210::-;;;;;;;;;;;;;;;;-1:-1:-1;33449:210:0;;:::i;19270:40::-;;;;:::o;18833:24::-;;;-1:-1:-1;;;;;18833:24:0;;:::o;22799:676::-;1754:12;;-1:-1:-1;;;1754:12:0;;;;;:31;;;1770:15;:13;:15::i;:::-;1754:47;;;-1:-1:-1;1790:11:0;;-1:-1:-1;;;1790:11:0;;;;1789:12;1754:47;1746:106;;;;-1:-1:-1;;;1746:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1861:19;1884:12;-1:-1:-1;;;1884:12:0;;;;1883:13;1903:83;;;;1932:12;:19;;-1:-1:-1;;;;;;;;1932:19:0;;;-1:-1:-1;;;1932:19:0;1960:18;-1:-1:-1;;;1960:18:0;;;1903:83;23090:1:::1;23072:15;:19;23064:52;;;::::0;;-1:-1:-1;;;23064:52:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;23064:52:0;;;;;;;;;;;;;::::1;;23150:1;23131:16;:20;23123:54;;;::::0;;-1:-1:-1;;;23123:54:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;23123:54:0;;;;;;;;;;;;;::::1;;23186:26;23205:6;23186:18;:26::i;:::-;23219:9;:22:::0;;-1:-1:-1;;;;;23219:22:0;;::::1;-1:-1:-1::0;;;;;;23219:22:0;;::::1;;::::0;;;23248:7:::1;:18:::0;;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;23273:24:::1;:52:::0;;;23332:25:::1;:55:::0;;;23394:14:::1;:32:::0;;;23433:17:::1;:36:::0;;;2004:57;;;;2048:5;2033:20;;-1:-1:-1;;;;2033:20:0;;;2004:57;22799:676;;;;;;;;:::o;35544:167::-;35648:14;;;;:5;:14;;;;;:23;-1:-1:-1;;;;;35648:36:0;;;:23;;:36;35640:65;;;;;-1:-1:-1;;;35640:65:0;;;;;;;;;;;;-1:-1:-1;;;35640:65:0;;;;;;;;;;;;;;;35544:167;;:::o;33665:713::-;33783:21;33910:17;;;:5;:17;;;;;:25;;;33783:21;;;;;;33899:37;;:6;;:10;:37::i;:::-;33881:55;;20138:9;34042:37;34054:24;;34042:7;:11;;:37;;;;:::i;:::-;:51;;;;;;34026:67;;20138:9;34213:38;34225:25;;34213:7;:11;;:38;;;;:::i;:::-;:52;;;;;;;-1:-1:-1;34338:34:0;:13;34213:52;34338:17;:34::i;:::-;34325:47;;33665:713;;;;;;:::o;19413:28::-;;;;:::o;19699:37::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19699:37:0;;;;;;;;;;;;;;;;:::o;32047:70::-;14986:6;;-1:-1:-1;;;;;14986:6:0;14996:10;14986:20;14978:46;;;;;-1:-1:-1;;;14978:46:0;;;;;;;;;;;;-1:-1:-1;;;14978:46:0;;;;;;;;;;;;;;;32101:10:::1;:8;:10::i;:::-;32047:70::o:0;18742:32::-;;;;:::o;35024:229::-;35175:6;;35164:7;:17;;35156:36;;;;;-1:-1:-1;;;35156:36:0;;;;;;;;;;;;-1:-1:-1;;;35156:36:0;;;;;;;;;;;;;;;35199:48;35215:7;35224:9;35235:11;35199:15;:48::i;:::-;35024:229;;;:::o;34814:204::-;34921:6;;34910:7;:17;34902:37;;;;;-1:-1:-1;;;34902:37:0;;;;;;;;;;;;-1:-1:-1;;;34902:37:0;;;;;;;;;;;;;;;34954:14;;;;:5;:14;;;;;:23;;;-1:-1:-1;;;;;34954:36:0;;;:23;;:36;34946:66;;;;;-1:-1:-1;;;34946:66:0;;;;;;;;;;;;-1:-1:-1;;;34946:66:0;;;;;;;;;;;;;;33114:122;33185:7;33208:14;;;:5;:14;;;;;:22;;;;33114:122::o;17221:72::-;17280:7;;;;17221:72;:::o;18657:29::-;;;;:::o;34384:424::-;34516:10;34550:6;;34539:7;:17;:57;;;;-1:-1:-1;34560:14:0;;;;:5;:14;;;;;:23;;;-1:-1:-1;;;;;34560:36:0;;;:23;;:36;34539:57;34535:101;;;-1:-1:-1;34614:14:0;34607:21;;34535:101;34646:14;;;;:5;:14;;;;;:22;;;:37;-1:-1:-1;34646:37:0;;;:77;;-1:-1:-1;34687:14:0;;;;:5;:14;;;;;:23;;;-1:-1:-1;;;;;34687:36:0;;;:23;;:36;34646:77;34642:124;;;-1:-1:-1;34741:17:0;34734:24;;34642:124;-1:-1:-1;34779:23:0;34384:424;;;;;;:::o;35259:279::-;35397:14;;;;:5;:14;;;;;:22;;;:37;-1:-1:-1;35397:37:0;35389:70;;;;;-1:-1:-1;;;35389:70:0;;;;;;;;;;;;-1:-1:-1;;;35389:70:0;;;;;;;;;;;;;;;35474:14;;;;:5;:14;;;;;:23;;;-1:-1:-1;;;;;35474:36:0;;;:23;;:36;35466:66;;;;;-1:-1:-1;;;35466:66:0;;;;;;;;;;;;-1:-1:-1;;;35466:66:0;;;;;;;;;;;;;;29340:1229;29449:7;;-1:-1:-1;;;;;29449:7:0;29435:10;:21;29427:54;;;;;-1:-1:-1;;;29427:54:0;;;;;;;;;;;;-1:-1:-1;;;29427:54:0;;;;;;;;;;;;;;;29506:6;;29490:13;29540:12;;;:5;:12;;;;;:20;;;;29490:13;29622:29;29506:6;29644;29622:14;:29::i;:::-;-1:-1:-1;29569:82:0;;-1:-1:-1;29569:82:0;-1:-1:-1;29660:14:0;29677:34;29569:82;;29677:17;:34::i;:::-;29660:51;;29740:6;29726:10;:20;;29718:57;;;;;-1:-1:-1;;;29718:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;29894:22;:10;29909:6;29894:14;:22::i;:::-;29871:12;;;;:5;:12;;;;;:20;;:45;30035:12;;:33;;30052:15;30035:16;:33::i;:::-;30020:12;:48;30081:17;;30077:321;;30191:27;30221:17;;;:5;:17;;;;;:25;;;:44;;30251:13;30221:29;:44::i;:::-;30274:17;;;;:5;:17;;;;;:25;;:47;;;30191:74;-1:-1:-1;30330:60:0;30280:10;30191:74;30330:27;:60::i;:::-;30077:321;;30410:19;;30406:88;;30459:9;;30440:46;;;-1:-1:-1;;;30440:46:0;;-1:-1:-1;;;;;30459:9:0;;;30440:46;;;;;;;;;;;;:9;:18;;;;;;:46;;;;;;;;;;;;;;;-1:-1:-1;30440:18:0;:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;30406:88:0;30525:5;30513:10;30507:56;30532:13;30547:15;30507:56;;;;;;;;;;;;;;;;;;;;;;;;29340:1229;;;;;;;:::o;24511:877::-;24577:17;24597:14;;;:5;:14;;;;;24635:19;;;;24693:26;;;;24750:13;;-1:-1:-1;;;;;24750:13:0;24767:10;24750:27;24742:58;;;;;-1:-1:-1;;;24742:58:0;;;;;;;;;;;;-1:-1:-1;;;24742:58:0;;;;;;;;;;;;;;;24824:1;24815:6;:10;24807:41;;;;;-1:-1:-1;;;24807:41:0;;;;;;;;;;;;-1:-1:-1;;;24807:41:0;;;;;;;;;;;;;;;24882:21;24863:15;:40;;24855:71;;;;;-1:-1:-1;;;24855:71:0;;;;;;;;;;;;-1:-1:-1;;;24855:71:0;;;;;;;;;;;;;;;24984:12;;;;24961:20;;24984:24;;25001:6;24984:16;:24::i;:::-;25015:12;;;:27;;;25064:12;;24961:47;;-1:-1:-1;25064:24:0;;25081:6;25064:16;:24::i;:::-;25049:12;:39;25149:1;25127:19;;;:23;;;25157:26;;;:30;;;25196:27;;;:18;:27;;;;;25226:15;25196:45;;25250:50;25215:7;25287:12;25250:27;:50::i;:::-;25314:68;;;;;;;;;;;;;;;;;;;;25329:7;;25314:68;;;;;;;;;;24511:877;;;;;:::o;15373:138::-;14986:6;;-1:-1:-1;;;;;14986:6:0;14996:10;14986:20;14978:46;;;;;-1:-1:-1;;;14978:46:0;;;;;;;;;;;;-1:-1:-1;;;14978:46:0;;;;;;;;;;;;;;;15476:1:::1;15460:6:::0;;15439:40:::1;::::0;-1:-1:-1;;;;;15460:6:0;;::::1;::::0;15439:40:::1;::::0;15476:1;;15439:40:::1;15503:1;15486:19:::0;;-1:-1:-1;;;;;;15486:19:0::1;::::0;;15373:138::o;32910:87::-;32985:6;;32910:87;:::o;31911:66::-;14986:6;;-1:-1:-1;;;;;14986:6:0;14996:10;14986:20;14978:46;;;;;-1:-1:-1;;;14978:46:0;;;;;;;;;;;;-1:-1:-1;;;14978:46:0;;;;;;;;;;;;;;;31963:8:::1;:6;:8::i;33242:201::-:0;33320:15;33369:14;;;:5;:14;;;;;:29;;;;33400:36;;;;;33369:29;;33242:201::o;31591:252::-;14986:6;;-1:-1:-1;;;;;14986:6:0;14996:10;14986:20;14978:46;;;;;-1:-1:-1;;;14978:46:0;;;;;;;;;;;;-1:-1:-1;;;14978:46:0;;;;;;;;;;;;;;;31700:14:::1;:32:::0;;;31739:17:::1;:38:::0;;;31789:48:::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;;;;;;;;::::1;31591:252:::0;;:::o;14792:73::-;14830:7;14853:6;-1:-1:-1;;;;;14853:6:0;14792:73;:::o;26096:936::-;26199:1;26189:7;:11;26181:38;;;;;-1:-1:-1;;;26181:38:0;;;;;;;;;;;;-1:-1:-1;;;26181:38:0;;;;;;;;;;;;;;;26228:17;26248:14;;;:5;:14;;;;;26291:13;;-1:-1:-1;;;;;26291:13:0;26277:10;:27;26269:58;;;;;-1:-1:-1;;;26269:58:0;;;;;;;;;;;;-1:-1:-1;;;26269:58:0;;;;;;;;;;;;;;;26386:12;;;;26413:24;;;;26405:59;;;;;-1:-1:-1;;;26405:59:0;;;;;;;;;;;;-1:-1:-1;;;26405:59:0;;;;;;;;;;;;;;;26496:23;;;26526:12;;;:27;;;26575:12;;:25;;26512:7;26575:16;:25::i;:::-;26560:12;:40;26679:22;;;;26646:30;;26679:35;;26706:7;26679:26;:35::i;:::-;26646:68;;26721:15;26739:38;26759:17;;26739:15;:19;;:38;;;;:::i;:::-;26784:22;;;:47;;;26838:29;;;:39;;;-1:-1:-1;26886:27:0;;;:18;:27;;;;;;;;;26916:15;26886:45;;26945:81;;;;;;;;;;;;;;;;;;;;;;;;;26721:56;;-1:-1:-1;26905:7:0;;26945:81;;;;;;;;;26096:936;;;;;;;:::o;30720:129::-;14986:6;;-1:-1:-1;;;;;14986:6:0;14996:10;14986:20;14978:46;;;;;-1:-1:-1;;;14978:46:0;;;;;;;;;;;;-1:-1:-1;;;14978:46:0;;;;;;;;;;;;;;;30793:7:::1;:18:::0;;-1:-1:-1;;;;;30793:18:0;::::1;-1:-1:-1::0;;;;;;30793:18:0;;::::1;::::0;::::1;::::0;;;30823:20:::1;::::0;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;30720:129:::0;:::o;28001:406::-;17513:7;;;;17512:8;17504:27;;;;;-1:-1:-1;;;17504:27:0;;;;;;;;;;;;-1:-1:-1;;;17504:27:0;;;;;;;;;;;;;;;28162:13:::1;28160:15:::0;;::::1;::::0;;::::1;::::0;;;;28200:41:::1;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;28200:41:0;;::::1;::::0;;;;;::::1;;::::0;;::::1;::::0;;;28143:14:::1;28200:41:::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28184:13;;;:5:::1;:13:::0;;;;;;:57;;;;;;::::1;-1:-1:-1::0;;;;;;28184:57:0;;::::1;;::::0;;;;;;::::1;::::0;;;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;;::::1;::::0;;;;28255;;;;;;;28200:41;;;;28160:15;;28255:57:::1;::::0;;;;;;;::::1;28325:19:::0;;28321:81:::1;;28355:39;28370:6;28378:15;28355:14;:39::i;:::-;17538:1;28001:406:::0;;;:::o;35717:265::-;35843:14;;;;:5;:14;;;;;:23;-1:-1:-1;;;;;35843:43:0;;;:23;;:43;;:90;;-1:-1:-1;35890:14:0;;;;:5;:14;;;;;:23;;;-1:-1:-1;;;;;35890:43:0;;;:23;;:43;35843:90;35827:149;;;;;-1:-1:-1;;;35827:149:0;;;;;;;;;;;;;;;;;;;;;;;;;;;18911:22;;;-1:-1:-1;;;;;18911:22:0;;:::o;23724:285::-;17513:7;;;;17512:8;17504:27;;;;;-1:-1:-1;;;17504:27:0;;;;;;;;;;;;-1:-1:-1;;;17504:27:0;;;;;;;;;;;;;;;23838:1:::1;23828:7;:11;23820:38;;;::::0;;-1:-1:-1;;;23820:38:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;23820:38:0;;;;;;;;;;;;;::::1;;23867:17;23887:14:::0;;;:5:::1;:14;::::0;;;;23918:13;;-1:-1:-1;;;;;23918:13:0::1;23910:52;;;::::0;;-1:-1:-1;;;23910:52:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;23910:52:0;;;;;;;;;;;;;::::1;;23971:32;23986:7;23995;23971:14;:32::i;33003:105::-:0;33087:15;;33003:105;:::o;28634:442::-;28754:17;28774:14;;;:5;:14;;;;;28817:13;;-1:-1:-1;;;;;28817:13:0;28803:10;:27;28795:58;;;;;-1:-1:-1;;;28795:58:0;;;;;;;;;;;;-1:-1:-1;;;28795:58:0;;;;;;;;;;;;;;;28879:13;;-1:-1:-1;;;;;28866:26:0;;;28879:13;;28866:26;28862:74;;28903:25;;-1:-1:-1;;;;;;28903:25:0;-1:-1:-1;;;;;28903:25:0;;;;;28862:74;28959:13;;;;-1:-1:-1;;;;;28946:26:0;;;28959:13;;28946:26;28942:74;;28983:13;;;:25;;-1:-1:-1;;;;;;28983:25:0;-1:-1:-1;;;;;28983:25:0;;;;;28942:74;29060:9;-1:-1:-1;;;;;29029:41:0;29049:9;-1:-1:-1;;;;;29029:41:0;29040:7;29029:41;;;;;;;;;;28634:442;;;;:::o;22615:33::-;;;:::o;35988:135::-;36067:7;36090:27;;;:18;:27;;;;;;;35988:135::o;20100:47::-;20138:9;20100:47;:::o;31132:453::-;14986:6;;-1:-1:-1;;;;;14986:6:0;14996:10;14986:20;14978:46;;;;;-1:-1:-1;;;14978:46:0;;;;;;;;;;;;-1:-1:-1;;;14978:46:0;;;;;;;;;;;;;;;20138:9:::1;31288:57;:25:::0;31318:26;31288:29:::1;:57::i;:::-;:72;;31280:96;;;::::0;;-1:-1:-1;;;31280:96:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;31280:96:0;;;;;;;;;;;;;::::1;;31385:24;:52:::0;;;31444:25:::1;:54:::0;;;31510:69:::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;;;;;;;;::::1;31132:453:::0;;:::o;15656:209::-;14986:6;;-1:-1:-1;;;;;14986:6:0;14996:10;14986:20;14978:46;;;;;-1:-1:-1;;;14978:46:0;;;;;;;;;;;;-1:-1:-1;;;14978:46:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;15741:22:0;::::1;15733:52;;;::::0;;-1:-1:-1;;;15733:52:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;15733:52:0;;;;;;;;;;;;;::::1;;15818:6;::::0;;15797:38:::1;::::0;-1:-1:-1;;;;;15797:38:0;;::::1;::::0;15818:6;::::1;::::0;15797:38:::1;::::0;::::1;15842:6;:17:::0;;-1:-1:-1;;;;;;15842:17:0::1;-1:-1:-1::0;;;;;15842:17:0;;;::::1;::::0;;;::::1;::::0;;15656:209::o;18988:27::-;;;;:::o;19116:39::-;;;;:::o;27038:689::-;-1:-1:-1;;;;;27128:17:0;;27120:48;;;;;-1:-1:-1;;;27120:48:0;;;;;;;;;;;;-1:-1:-1;;;27120:48:0;;;;;;;;;;;;;;;27177:17;27197:14;;;:5;:14;;;;;27255:29;;;;27308:22;;;;27361:13;;-1:-1:-1;;;;;27361:13:0;27347:10;:27;27339:58;;;;;-1:-1:-1;;;27339:58:0;;;;;;;;;;;;-1:-1:-1;;;27339:58:0;;;;;;;;;;;;;;;27421:1;27412:6;:10;27404:44;;;;;-1:-1:-1;;;27404:44:0;;;;;;;;;;;;-1:-1:-1;;;27404:44:0;;;;;;;;;;;;;;;27482:24;27463:15;:43;;27455:74;;;;;-1:-1:-1;;;27455:74:0;;;;;;;;;;;;-1:-1:-1;;;27455:74:0;;;;;;;;;;;;;;;27563:1;27538:22;;;:26;;;27571:29;;;:33;27618:65;;;;;;;;;;;;;;-1:-1:-1;;;;;27618:65:0;;;27636:7;;27618:65;;;;;;;;;;;27690:9;-1:-1:-1;;;;;27690:18:0;;27709:3;27714:6;27690:31;;;;;;;;;;;;;-1:-1:-1;;;;;27690:31:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;27038:689:0:o;32336:545::-;32399:24;32426:19;;;:5;:19;;;;;;:27;;;;;32480:6;;32526:16;;;;;;;:24;;32567:41;;;32559:84;;;;;-1:-1:-1;;;32559:84:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;32697:15;;32657:98;;;;;;;;;;;;;;;;;;;32683:12;;32672:9;;32657:98;;;;;;;;;32767:37;;32793:10;;32779:12;;32767:37;;;;;-1:-1:-1;;32813:15:0;:34;32854:6;:21;32336:545::o;33449:210::-;33530:15;33579:14;;;:5;:14;;;;;:32;;;;33613:39;;;;;33579:32;;33449:210::o;2155:508::-;2572:4;2618:17;2650:7;2155:508;:::o;7868:471::-;7926:7;8171:6;8167:47;;-1:-1:-1;8201:1:0;8194:8;;8167:47;8238:5;;;8242:1;8238;:5;:1;8262:5;;;;;:10;8254:56;;;;-1:-1:-1;;;8254:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8330:1;-1:-1:-1;7868:471:0;;;;;:::o;6514:181::-;6572:7;6604:5;;;6628:6;;;;6620:46;;;;;-1:-1:-1;;;6620:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;18148:108;17753:7;;;;17745:30;;;;;-1:-1:-1;;;17745:30:0;;;;;;;;;;;;-1:-1:-1;;;17745:30:0;;;;;;;;;;;;;;;18203:7:::1;:15:::0;;-1:-1:-1;;18203:15:0::1;::::0;;18230:20:::1;::::0;;18239:10:::1;18230:20:::0;;;;::::1;::::0;;;;::::1;::::0;;::::1;18148:108::o:0;6978:136::-;7036:7;7063:43;7067:1;7070;7063:43;;;;;;;;;;;;;;;;;:3;:43::i;25394:480::-;25521:6;;25501:17;25556:16;;;:5;:16;;;;;:24;;;25593:36;;;:65;;;;;25646:12;25633:9;:25;;25593:65;25589:280;;;25714:15;;25731:16;;;;:5;:16;;;;;;;;;:24;;;25674:106;;;;;;;;;;;;;;;;25700:12;;25689:9;;25674:106;;;;;;;;;-1:-1:-1;;25791:15:0;:40;25840:6;:21;25394:480::o;17917:106::-;17513:7;;;;17512:8;17504:27;;;;;-1:-1:-1;;;17504:27:0;;;;;;;;;;;;-1:-1:-1;;;17504:27:0;;;;;;;;;;;;;;;17973:7:::1;:14:::0;;-1:-1:-1;;17973:14:0::1;17983:4;17973:14;::::0;;17999:18:::1;::::0;;18006:10:::1;17999:18:::0;;;;::::1;::::0;;;;::::1;::::0;;::::1;17917:106::o:0;24015:490::-;24089:17;24109:14;;;:5;:14;;;;;24162:19;;;;24109:14;;24089:17;24162:32;;24186:7;24162:23;:32::i;:::-;24132:62;;24201:15;24219:35;24239:14;;24219:15;:19;;:35;;;;:::i;:::-;24263:19;;;:41;;;24311:26;;;:36;;;24361:73;;;;;;;;;;;;;;;;;;;;24201:53;;-1:-1:-1;24384:10:0;;24375:7;;24361:73;;;;;;;;;;24441:58;;;-1:-1:-1;;;24441:58:0;;24464:10;24441:58;;;;24484:4;24441:58;;;;;;;;;;;;-1:-1:-1;;;;;24441:9:0;:22;;;;:58;;;;;;;;;;;;;;-1:-1:-1;24441:22:0;:58;;;;;;;;;;7417:192;7503:7;7539:12;7531:6;;;;7523:29;;;;-1:-1:-1;;;7523:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;7575:5:0;;;7417:192::o
Swarm Source
ipfs://1feb5d3d9ca8157d8e6ff1e9dc947481fb6ff8efd78b63c7c3d756ebab64ea79
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.