Overview
ETH Balance
0 ETH
Eth Value
$0.00Token Holdings
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 9,426 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
Claim Stake | 20221851 | 5 hrs ago | IN | 0 ETH | 0.00039555 | ||||
Claim Stake | 20221513 | 6 hrs ago | IN | 0 ETH | 0.00024821 | ||||
Claim Stake | 20218648 | 16 hrs ago | IN | 0 ETH | 0.00019909 | ||||
Claim Stake | 20217125 | 21 hrs ago | IN | 0 ETH | 0.00015177 | ||||
Claim Stake | 20216069 | 25 hrs ago | IN | 0 ETH | 0.00011017 | ||||
Claim Stake | 20214599 | 30 hrs ago | IN | 0 ETH | 0.00016235 | ||||
Claim Stake | 20213753 | 32 hrs ago | IN | 0 ETH | 0.00073245 | ||||
Claim Stake | 20213618 | 33 hrs ago | IN | 0 ETH | 0.00057655 | ||||
Claim Stake | 20213510 | 33 hrs ago | IN | 0 ETH | 0.0005665 | ||||
Claim Stake | 20212807 | 36 hrs ago | IN | 0 ETH | 0.00039151 | ||||
Claim Stake | 20212641 | 36 hrs ago | IN | 0 ETH | 0.00088082 | ||||
Claim Stake | 20212430 | 37 hrs ago | IN | 0 ETH | 0.00057776 | ||||
Claim Stake | 20212327 | 37 hrs ago | IN | 0 ETH | 0.00046558 | ||||
Claim Stake | 20211382 | 40 hrs ago | IN | 0 ETH | 0.00024135 | ||||
Claim Stake | 20211349 | 41 hrs ago | IN | 0 ETH | 0.00025372 | ||||
Claim Stake | 20211309 | 41 hrs ago | IN | 0 ETH | 0.00027463 | ||||
Claim Stake | 20211262 | 41 hrs ago | IN | 0 ETH | 0.00021508 | ||||
Claim Stake | 20211090 | 41 hrs ago | IN | 0 ETH | 0.0001564 | ||||
Claim Stake | 20211090 | 41 hrs ago | IN | 0 ETH | 0.00020918 | ||||
Claim Stake | 20209041 | 2 days ago | IN | 0 ETH | 0.00021023 | ||||
Claim Stake | 20208789 | 2 days ago | IN | 0 ETH | 0.00015816 | ||||
Claim Stake | 20208281 | 2 days ago | IN | 0 ETH | 0.00011612 | ||||
Claim Stake | 20207441 | 2 days ago | IN | 0 ETH | 0.00012028 | ||||
Claim Stake | 20207427 | 2 days ago | IN | 0 ETH | 0.00012511 | ||||
Claim Stake | 20207264 | 2 days ago | IN | 0 ETH | 0.00021255 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
TokenStake
Compiler Version
v0.6.2+commit.bacdbe57
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-02-11 */ // File: node_modules\@openzeppelin\contracts\GSN\Context.sol // SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: node_modules\@openzeppelin\contracts\token\ERC20\IERC20.sol // SPDX-License-Identifier: MIT pragma solidity ^0.6.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: node_modules\@openzeppelin\contracts\math\SafeMath.sol // SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // File: node_modules\@openzeppelin\contracts\utils\Address.sol // SPDX-License-Identifier: MIT pragma solidity ^0.6.2; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies in extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return _functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin\contracts\token\ERC20\ERC20.sol // SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { using SafeMath for uint256; using Address for address; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name, string memory symbol) public { _name = name; _symbol = symbol; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}; * * Requirements: * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } } // File: @openzeppelin\contracts\math\SafeMath.sol // SPDX-License-Identifier: MIT pragma solidity ^0.6.0; // File: @openzeppelin\contracts\access\Ownable.sol // SPDX-License-Identifier: MIT 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 Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File: contracts\TokenStake.sol pragma solidity ^0.6.0; contract TokenStake is Ownable{ using SafeMath for uint256; ERC20 public token; // Address of token contract address public tokenOperator; // Address to manage the Stake uint256 public maxMigrationBlocks; // Block numbers to complete the migration mapping (address => uint256) public balances; // Useer Token balance in the contract uint256 public currentStakeMapIndex; // Current Stake Index to avoid math calc in all methods struct StakeInfo { bool exist; uint256 pendingForApprovalAmount; uint256 approvedAmount; uint256 rewardComputeIndex; mapping (uint256 => uint256) claimableAmount; } // Staking period timestamp (Debatable on timestamp vs blocknumber - went with timestamp) struct StakePeriod { uint256 startPeriod; uint256 submissionEndPeriod; uint256 approvalEndPeriod; uint256 requestWithdrawStartPeriod; uint256 endPeriod; uint256 minStake; bool openForExternal; uint256 windowRewardAmount; } mapping (uint256 => StakePeriod) public stakeMap; // List of Stake Holders address[] stakeHolders; // All Stake Holders //mapping(address => mapping(uint256 => StakeInfo)) stakeHolderInfo; mapping(address => StakeInfo) stakeHolderInfo; // To store the total stake in a window uint256 public windowTotalStake; // Events event NewOperator(address tokenOperator); event WithdrawToken(address indexed tokenOperator, uint256 amount); event OpenForStake(uint256 indexed stakeIndex, address indexed tokenOperator, uint256 startPeriod, uint256 endPeriod, uint256 approvalEndPeriod, uint256 rewardAmount); event SubmitStake(uint256 indexed stakeIndex, address indexed staker, uint256 stakeAmount); event RequestForClaim(uint256 indexed stakeIndex, address indexed staker, bool autoRenewal); event ClaimStake(uint256 indexed stakeIndex, address indexed staker, uint256 totalAmount); event RejectStake(uint256 indexed stakeIndex, address indexed staker, address indexed tokenOperator, uint256 returnAmount); event AddReward(address indexed staker, uint256 indexed stakeIndex, address tokenOperator, uint256 totalStakeAmount, uint256 rewardAmount, uint256 windowTotalStake); event WithdrawStake(uint256 indexed stakeIndex, address indexed staker, uint256 stakeAmount); // Modifiers modifier onlyOperator() { require( msg.sender == tokenOperator, "Only operator can call this function." ); _; } // Token Operator should be able to do auto renewal modifier allowSubmission() { require( now >= stakeMap[currentStakeMapIndex].startPeriod && now <= stakeMap[currentStakeMapIndex].submissionEndPeriod && stakeMap[currentStakeMapIndex].openForExternal == true, "Staking at this point not allowed" ); _; } modifier validStakeLimit(address staker, uint256 stakeAmount) { uint256 stakerTotalStake; stakerTotalStake = stakeAmount.add(stakeHolderInfo[staker].pendingForApprovalAmount); stakerTotalStake = stakerTotalStake.add(stakeHolderInfo[staker].approvedAmount); // Check for Min Stake require( stakeAmount > 0 && stakerTotalStake >= stakeMap[currentStakeMapIndex].minStake, "Need to have min stake" ); _; } // Check for auto renewal flag update modifier canRequestForClaim(uint256 stakeMapIndex) { require( (stakeHolderInfo[msg.sender].approvedAmount > 0 || stakeHolderInfo[msg.sender].claimableAmount[stakeMapIndex] > 0) && now >= stakeMap[stakeMapIndex].requestWithdrawStartPeriod && now <= stakeMap[stakeMapIndex].endPeriod, "Update to auto renewal at this point not allowed" ); _; } // Check for claim - after the end period when opted out OR after grace period when no more stake windows modifier allowClaimStake(uint256 stakeMapIndex) { uint256 graceTime; graceTime = stakeMap[stakeMapIndex].endPeriod.sub(stakeMap[stakeMapIndex].requestWithdrawStartPeriod); require( (now > stakeMap[stakeMapIndex].endPeriod && stakeHolderInfo[msg.sender].claimableAmount[stakeMapIndex] > 0) || (now > stakeMap[stakeMapIndex].endPeriod.add(graceTime) && stakeHolderInfo[msg.sender].approvedAmount > 0), "Invalid claim request" ); _; } constructor(address _token, uint256 _maxMigrationBlocks) public { token = ERC20(_token); tokenOperator = msg.sender; currentStakeMapIndex = 0; windowTotalStake = 0; maxMigrationBlocks = _maxMigrationBlocks.add(block.number); } function updateOperator(address newOperator) public onlyOwner { require(newOperator != address(0), "Invalid operator address"); tokenOperator = newOperator; emit NewOperator(newOperator); } function withdrawToken(uint256 value) public onlyOperator { // Check if contract is having required balance require(token.balanceOf(address(this)) >= value, "Not enough balance in the contract"); require(token.transfer(msg.sender, value), "Unable to transfer token to the operator account"); emit WithdrawToken(tokenOperator, value); } function openForStake(uint256 _startPeriod, uint256 _submissionEndPeriod, uint256 _approvalEndPeriod, uint256 _requestWithdrawStartPeriod, uint256 _endPeriod, uint256 _windowRewardAmount, uint256 _minStake, bool _openForExternal) public onlyOperator { // Check Input Parameters require(_startPeriod >= now && _startPeriod < _submissionEndPeriod && _submissionEndPeriod < _approvalEndPeriod && _approvalEndPeriod < _requestWithdrawStartPeriod && _requestWithdrawStartPeriod < _endPeriod, "Invalid stake period"); require(_windowRewardAmount > 0 && _minStake > 0, "Invalid inputs" ); // Check Stake in Progress require(currentStakeMapIndex == 0 || (now > stakeMap[currentStakeMapIndex].approvalEndPeriod && _startPeriod >= stakeMap[currentStakeMapIndex].requestWithdrawStartPeriod), "Cannot have more than one stake request at a time"); // Move the staking period to next one currentStakeMapIndex = currentStakeMapIndex + 1; StakePeriod memory stakePeriod; // Set Staking attributes stakePeriod.startPeriod = _startPeriod; stakePeriod.submissionEndPeriod = _submissionEndPeriod; stakePeriod.approvalEndPeriod = _approvalEndPeriod; stakePeriod.requestWithdrawStartPeriod = _requestWithdrawStartPeriod; stakePeriod.endPeriod = _endPeriod; stakePeriod.windowRewardAmount = _windowRewardAmount; stakePeriod.minStake = _minStake; stakePeriod.openForExternal = _openForExternal; stakeMap[currentStakeMapIndex] = stakePeriod; // Add the current window reward to the window total stake windowTotalStake = windowTotalStake.add(_windowRewardAmount); emit OpenForStake(currentStakeMapIndex, msg.sender, _startPeriod, _endPeriod, _approvalEndPeriod, _windowRewardAmount); } // To add the Stake Holder function _createStake(address staker, uint256 stakeAmount) internal returns(bool) { StakeInfo storage stakeInfo = stakeHolderInfo[staker]; // Check if the user already staked in the past if(stakeInfo.exist) { stakeInfo.pendingForApprovalAmount = stakeInfo.pendingForApprovalAmount.add(stakeAmount); } else { StakeInfo memory req; // Create a new stake request req.exist = true; req.pendingForApprovalAmount = stakeAmount; req.approvedAmount = 0; req.rewardComputeIndex = 0; // Add to the Stake Holders List stakeHolderInfo[staker] = req; // Add to the Stake Holders List stakeHolders.push(staker); } return true; } // To submit a new stake for the current window function submitStake(uint256 stakeAmount) public allowSubmission validStakeLimit(msg.sender, stakeAmount) { // Transfer the Tokens to Contract require(token.transferFrom(msg.sender, address(this), stakeAmount), "Unable to transfer token to the contract"); _createStake(msg.sender, stakeAmount); // Update the User balance balances[msg.sender] = balances[msg.sender].add(stakeAmount); // Update current stake period total stake - For Auto Approvals windowTotalStake = windowTotalStake.add(stakeAmount); emit SubmitStake(currentStakeMapIndex, msg.sender, stakeAmount); } // To withdraw stake during submission phase function withdrawStake(uint256 stakeMapIndex, uint256 stakeAmount) public { require( (now >= stakeMap[stakeMapIndex].startPeriod && now <= stakeMap[stakeMapIndex].submissionEndPeriod), "Stake withdraw at this point is not allowed" ); StakeInfo storage stakeInfo = stakeHolderInfo[msg.sender]; // Validate the input Stake Amount require(stakeAmount > 0 && stakeInfo.pendingForApprovalAmount >= stakeAmount, "Cannot withdraw beyond stake amount"); // Allow withdaw not less than minStake or Full Amount require( stakeInfo.pendingForApprovalAmount.sub(stakeAmount) >= stakeMap[stakeMapIndex].minStake || stakeInfo.pendingForApprovalAmount == stakeAmount, "Can withdraw full amount or partial amount maintaining min stake" ); // Update the staker balance in the staking window stakeInfo.pendingForApprovalAmount = stakeInfo.pendingForApprovalAmount.sub(stakeAmount); // Update the User balance balances[msg.sender] = balances[msg.sender].sub(stakeAmount); // Update current stake period total stake - For Auto Approvals windowTotalStake = windowTotalStake.sub(stakeAmount); // Return to User Wallet require(token.transfer(msg.sender, stakeAmount), "Unable to transfer token to the account"); emit WithdrawStake(stakeMapIndex, msg.sender, stakeAmount); } // Reject the stake in the Current Window function rejectStake(uint256 stakeMapIndex, address staker) public onlyOperator { // Allow for rejection after approval period as well require(now > stakeMap[stakeMapIndex].submissionEndPeriod && currentStakeMapIndex == stakeMapIndex, "Rejection at this point is not allowed"); StakeInfo storage stakeInfo = stakeHolderInfo[staker]; // In case of if there are auto renewals reject should not be allowed require(stakeInfo.pendingForApprovalAmount > 0, "No staking request found"); uint256 returnAmount; returnAmount = stakeInfo.pendingForApprovalAmount; // transfer back the stake to user account require(token.transfer(staker, stakeInfo.pendingForApprovalAmount), "Unable to transfer token back to the account"); // Update the User Balance balances[staker] = balances[staker].sub(stakeInfo.pendingForApprovalAmount); // Update current stake period total stake - For Auto Approvals windowTotalStake = windowTotalStake.sub(stakeInfo.pendingForApprovalAmount); // Update the Pending Amount stakeInfo.pendingForApprovalAmount = 0; emit RejectStake(stakeMapIndex, staker, msg.sender, returnAmount); } // To update the Auto Renewal - OptIn or OptOut for next stake window function requestForClaim(uint256 stakeMapIndex, bool autoRenewal) public canRequestForClaim(stakeMapIndex) { StakeInfo storage stakeInfo = stakeHolderInfo[msg.sender]; // Check for the claim amount require((autoRenewal == true && stakeInfo.claimableAmount[stakeMapIndex] > 0) || (autoRenewal == false && stakeInfo.approvedAmount > 0), "Invalid auto renew request"); if(autoRenewal) { // Update current stake period total stake - For Auto Approvals windowTotalStake = windowTotalStake.add(stakeInfo.claimableAmount[stakeMapIndex]); stakeInfo.approvedAmount = stakeInfo.claimableAmount[stakeMapIndex]; stakeInfo.claimableAmount[stakeMapIndex] = 0; } else { // Update current stake period total stake - For Auto Approvals windowTotalStake = windowTotalStake.sub(stakeInfo.approvedAmount); stakeInfo.claimableAmount[stakeMapIndex] = stakeInfo.approvedAmount; stakeInfo.approvedAmount = 0; } emit RequestForClaim(stakeMapIndex, msg.sender, autoRenewal); } function _calculateRewardAmount(uint256 stakeMapIndex, uint256 stakeAmount) internal view returns(uint256) { uint256 calcRewardAmount; calcRewardAmount = stakeAmount.mul(stakeMap[stakeMapIndex].windowRewardAmount).div(windowTotalStake.sub(stakeMap[stakeMapIndex].windowRewardAmount)); return calcRewardAmount; } // Update reward for staker in the respective stake window function computeAndAddReward(uint256 stakeMapIndex, address staker) public onlyOperator returns(bool) { // Check for the Incubation Period require( now > stakeMap[stakeMapIndex].approvalEndPeriod && now < stakeMap[stakeMapIndex].requestWithdrawStartPeriod, "Reward cannot be added now" ); StakeInfo storage stakeInfo = stakeHolderInfo[staker]; // Check if reward already computed require((stakeInfo.approvedAmount > 0 || stakeInfo.pendingForApprovalAmount > 0 ) && stakeInfo.rewardComputeIndex != stakeMapIndex, "Invalid reward request"); // Calculate the totalAmount uint256 totalAmount; uint256 rewardAmount; // Calculate the reward amount for the current window - Need to consider pendingForApprovalAmount for Auto Approvals totalAmount = stakeInfo.approvedAmount.add(stakeInfo.pendingForApprovalAmount); rewardAmount = _calculateRewardAmount(stakeMapIndex, totalAmount); totalAmount = totalAmount.add(rewardAmount); // Add the reward amount and update pendingForApprovalAmount stakeInfo.approvedAmount = totalAmount; stakeInfo.pendingForApprovalAmount = 0; // Update the reward compute index to avoid mulitple addition stakeInfo.rewardComputeIndex = stakeMapIndex; // Update the User Balance balances[staker] = balances[staker].add(rewardAmount); emit AddReward(staker, stakeMapIndex, tokenOperator, totalAmount, rewardAmount, windowTotalStake); return true; } function updateRewards(uint256 stakeMapIndex, address[] calldata staker) external onlyOperator { for(uint256 indx = 0; indx < staker.length; indx++) { require(computeAndAddReward(stakeMapIndex, staker[indx])); } } // To claim from the stake window function claimStake(uint256 stakeMapIndex) public allowClaimStake(stakeMapIndex) { StakeInfo storage stakeInfo = stakeHolderInfo[msg.sender]; uint256 stakeAmount; // General claim if(stakeInfo.claimableAmount[stakeMapIndex] > 0) { stakeAmount = stakeInfo.claimableAmount[stakeMapIndex]; stakeInfo.claimableAmount[stakeMapIndex] = 0; } else { // No more stake windows & beyond grace period stakeAmount = stakeInfo.approvedAmount; stakeInfo.approvedAmount = 0; // Update current stake period total stake windowTotalStake = windowTotalStake.sub(stakeAmount); } // Check for balance in the contract require(token.balanceOf(address(this)) >= stakeAmount, "Not enough balance in the contract"); // Update the User Balance balances[msg.sender] = balances[msg.sender].sub(stakeAmount); // Call the transfer function require(token.transfer(msg.sender, stakeAmount), "Unable to transfer token back to the account"); emit ClaimStake(stakeMapIndex, msg.sender, stakeAmount); } // Migration - Load existing Stake Windows & Stakers function migrateStakeWindow(uint256 _startPeriod, uint256 _submissionEndPeriod, uint256 _approvalEndPeriod, uint256 _requestWithdrawStartPeriod, uint256 _endPeriod, uint256 _windowRewardAmount, uint256 _minStake, bool _openForExternal) public onlyOperator { // Add check for Block Number to restrict migration after certain block number require(block.number < maxMigrationBlocks, "Exceeds migration phase"); // Check Input Parameters for past stake windows require(now > _startPeriod && _startPeriod < _submissionEndPeriod && _submissionEndPeriod < _approvalEndPeriod && _approvalEndPeriod < _requestWithdrawStartPeriod && _requestWithdrawStartPeriod < _endPeriod, "Invalid stake period"); require(_windowRewardAmount > 0 && _minStake > 0, "Invalid inputs" ); // Move the staking period to next one currentStakeMapIndex = currentStakeMapIndex + 1; StakePeriod memory stakePeriod; // Set Staking attributes stakePeriod.startPeriod = _startPeriod; stakePeriod.submissionEndPeriod = _submissionEndPeriod; stakePeriod.approvalEndPeriod = _approvalEndPeriod; stakePeriod.requestWithdrawStartPeriod = _requestWithdrawStartPeriod; stakePeriod.endPeriod = _endPeriod; stakePeriod.windowRewardAmount = _windowRewardAmount; stakePeriod.minStake = _minStake; stakePeriod.openForExternal = _openForExternal; stakeMap[currentStakeMapIndex] = stakePeriod; } // Migration - Load existing stakes along with computed reward function migrateStakes(uint256 stakeMapIndex, address[] calldata staker, uint256[] calldata stakeAmount) external onlyOperator { // Add check for Block Number to restrict migration after certain block number require(block.number < maxMigrationBlocks, "Exceeds migration phase"); // Check Input Parameters require(staker.length == stakeAmount.length, "Invalid Input Arrays"); // Stakers should be for current window require(currentStakeMapIndex == stakeMapIndex, "Invalid Stake Window Index"); for(uint256 indx = 0; indx < staker.length; indx++) { StakeInfo memory req; // Create a stake request with approvedAmount req.exist = true; req.pendingForApprovalAmount = 0; req.approvedAmount = stakeAmount[indx]; req.rewardComputeIndex = stakeMapIndex; // Add to the Stake Holders List stakeHolderInfo[staker[indx]] = req; // Add to the Stake Holders List stakeHolders.push(staker[indx]); // Update the User balance balances[staker[indx]] = stakeAmount[indx]; // Update current stake period total stake - Along with Reward windowTotalStake = windowTotalStake.add(stakeAmount[indx]); } } // Getter Functions function getStakeHolders() public view returns(address[] memory) { return stakeHolders; } function getStakeInfo(uint256 stakeMapIndex, address staker) public view returns (bool found, uint256 approvedAmount, uint256 pendingForApprovalAmount, uint256 rewardComputeIndex, uint256 claimableAmount) { StakeInfo storage stakeInfo = stakeHolderInfo[staker]; found = false; if(stakeInfo.exist) { found = true; } pendingForApprovalAmount = stakeInfo.pendingForApprovalAmount; approvedAmount = stakeInfo.approvedAmount; rewardComputeIndex = stakeInfo.rewardComputeIndex; claimableAmount = stakeInfo.claimableAmount[stakeMapIndex]; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_maxMigrationBlocks","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"staker","type":"address"},{"indexed":true,"internalType":"uint256","name":"stakeIndex","type":"uint256"},{"indexed":false,"internalType":"address","name":"tokenOperator","type":"address"},{"indexed":false,"internalType":"uint256","name":"totalStakeAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"rewardAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"windowTotalStake","type":"uint256"}],"name":"AddReward","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"stakeIndex","type":"uint256"},{"indexed":true,"internalType":"address","name":"staker","type":"address"},{"indexed":false,"internalType":"uint256","name":"totalAmount","type":"uint256"}],"name":"ClaimStake","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"tokenOperator","type":"address"}],"name":"NewOperator","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"stakeIndex","type":"uint256"},{"indexed":true,"internalType":"address","name":"tokenOperator","type":"address"},{"indexed":false,"internalType":"uint256","name":"startPeriod","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"endPeriod","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"approvalEndPeriod","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"rewardAmount","type":"uint256"}],"name":"OpenForStake","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"stakeIndex","type":"uint256"},{"indexed":true,"internalType":"address","name":"staker","type":"address"},{"indexed":true,"internalType":"address","name":"tokenOperator","type":"address"},{"indexed":false,"internalType":"uint256","name":"returnAmount","type":"uint256"}],"name":"RejectStake","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"stakeIndex","type":"uint256"},{"indexed":true,"internalType":"address","name":"staker","type":"address"},{"indexed":false,"internalType":"bool","name":"autoRenewal","type":"bool"}],"name":"RequestForClaim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"stakeIndex","type":"uint256"},{"indexed":true,"internalType":"address","name":"staker","type":"address"},{"indexed":false,"internalType":"uint256","name":"stakeAmount","type":"uint256"}],"name":"SubmitStake","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"stakeIndex","type":"uint256"},{"indexed":true,"internalType":"address","name":"staker","type":"address"},{"indexed":false,"internalType":"uint256","name":"stakeAmount","type":"uint256"}],"name":"WithdrawStake","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"tokenOperator","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WithdrawToken","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"stakeMapIndex","type":"uint256"}],"name":"claimStake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"stakeMapIndex","type":"uint256"},{"internalType":"address","name":"staker","type":"address"}],"name":"computeAndAddReward","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentStakeMapIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getStakeHolders","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"stakeMapIndex","type":"uint256"},{"internalType":"address","name":"staker","type":"address"}],"name":"getStakeInfo","outputs":[{"internalType":"bool","name":"found","type":"bool"},{"internalType":"uint256","name":"approvedAmount","type":"uint256"},{"internalType":"uint256","name":"pendingForApprovalAmount","type":"uint256"},{"internalType":"uint256","name":"rewardComputeIndex","type":"uint256"},{"internalType":"uint256","name":"claimableAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMigrationBlocks","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startPeriod","type":"uint256"},{"internalType":"uint256","name":"_submissionEndPeriod","type":"uint256"},{"internalType":"uint256","name":"_approvalEndPeriod","type":"uint256"},{"internalType":"uint256","name":"_requestWithdrawStartPeriod","type":"uint256"},{"internalType":"uint256","name":"_endPeriod","type":"uint256"},{"internalType":"uint256","name":"_windowRewardAmount","type":"uint256"},{"internalType":"uint256","name":"_minStake","type":"uint256"},{"internalType":"bool","name":"_openForExternal","type":"bool"}],"name":"migrateStakeWindow","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"stakeMapIndex","type":"uint256"},{"internalType":"address[]","name":"staker","type":"address[]"},{"internalType":"uint256[]","name":"stakeAmount","type":"uint256[]"}],"name":"migrateStakes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startPeriod","type":"uint256"},{"internalType":"uint256","name":"_submissionEndPeriod","type":"uint256"},{"internalType":"uint256","name":"_approvalEndPeriod","type":"uint256"},{"internalType":"uint256","name":"_requestWithdrawStartPeriod","type":"uint256"},{"internalType":"uint256","name":"_endPeriod","type":"uint256"},{"internalType":"uint256","name":"_windowRewardAmount","type":"uint256"},{"internalType":"uint256","name":"_minStake","type":"uint256"},{"internalType":"bool","name":"_openForExternal","type":"bool"}],"name":"openForStake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"stakeMapIndex","type":"uint256"},{"internalType":"address","name":"staker","type":"address"}],"name":"rejectStake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"stakeMapIndex","type":"uint256"},{"internalType":"bool","name":"autoRenewal","type":"bool"}],"name":"requestForClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"stakeMap","outputs":[{"internalType":"uint256","name":"startPeriod","type":"uint256"},{"internalType":"uint256","name":"submissionEndPeriod","type":"uint256"},{"internalType":"uint256","name":"approvalEndPeriod","type":"uint256"},{"internalType":"uint256","name":"requestWithdrawStartPeriod","type":"uint256"},{"internalType":"uint256","name":"endPeriod","type":"uint256"},{"internalType":"uint256","name":"minStake","type":"uint256"},{"internalType":"bool","name":"openForExternal","type":"bool"},{"internalType":"uint256","name":"windowRewardAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"stakeAmount","type":"uint256"}],"name":"submitStake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract ERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenOperator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOperator","type":"address"}],"name":"updateOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"stakeMapIndex","type":"uint256"},{"internalType":"address[]","name":"staker","type":"address[]"}],"name":"updateRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"windowTotalStake","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"stakeMapIndex","type":"uint256"},{"internalType":"uint256","name":"stakeAmount","type":"uint256"}],"name":"withdrawStake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162002ba638038062002ba6833981810160405260408110156200003757600080fd5b5080516020909101516000620000556001600160e01b03620000f816565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180546001600160a01b03199081166001600160a01b038516179091556002805433921691909117905560006005819055600955620000ec8143620000fc602090811b620023e517901c565b600355506200015e9050565b3390565b60008282018381101562000157576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b612a38806200016e6000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c80638bd85c44116100c3578063e370d96b1161007c578063e370d96b14610551578063e737b86e14610576578063f1fdf4691461057e578063f2fde38b146105a1578063f7fecc27146105c7578063fc0c546a1461061f57610158565b80638bd85c44146104ae5780638da5cb5b146104b6578063ac7475ed146104da578063bbb91a1714610500578063bec3aa7514610508578063d5a38c981461052557610158565b8063642d605d11610115578063642d605d146102a9578063648b5780146102f3578063715018a61461033357806379fdca5c1461033b5780638444acd81461040457806388a0c9291461044e57610158565b806327e235e31461015d57806344c7d6ef146101955780634600543c146101b457806350baa6221461022b5780635a8a1734146102485780635cb7d00b14610250575b600080fd5b6101836004803603602081101561017357600080fd5b50356001600160a01b0316610627565b60408051918252519081900360200190f35b6101b2600480360360208110156101ab57600080fd5b5035610639565b005b6101b2600480360360408110156101ca57600080fd5b813591908101906040810160208201356401000000008111156101ec57600080fd5b8201836020820111156101fe57600080fd5b8035906020019184602083028401116401000000008311171561022057600080fd5b509092509050610979565b6101b26004803603602081101561024157600080fd5b5035610a09565b610183610c05565b61027c6004803603604081101561026657600080fd5b50803590602001356001600160a01b0316610c0b565b60408051951515865260208601949094528484019290925260608401526080830152519081900360a00190f35b6101b260048036036101008110156102c057600080fd5b5080359060208101359060408101359060608101359060808101359060a08101359060c08101359060e001351515610c6b565b61031f6004803603604081101561030957600080fd5b50803590602001356001600160a01b0316610e70565b604080519115158252519081900360200190f35b6101b26110c1565b6101b26004803603606081101561035157600080fd5b8135919081019060408101602082013564010000000081111561037357600080fd5b82018360208201111561038557600080fd5b803590602001918460208302840111640100000000831117156103a757600080fd5b9193909290916020810190356401000000008111156103c557600080fd5b8201836020820111156103d757600080fd5b803590602001918460208302840111640100000000831117156103f957600080fd5b509092509050611175565b6101b2600480360361010081101561041b57600080fd5b5080359060208101359060408101359060608101359060808101359060a08101359060c08101359060e00135151561142b565b61046b6004803603602081101561046457600080fd5b50356116c5565b604080519889526020890197909752878701959095526060870193909352608086019190915260a0850152151560c084015260e083015251908190036101000190f35b610183611710565b6104be611716565b604080516001600160a01b039092168252519081900360200190f35b6101b2600480360360208110156104f057600080fd5b50356001600160a01b0316611725565b61018361183e565b6101b26004803603602081101561051e57600080fd5b5035611844565b6101b26004803603604081101561053b57600080fd5b50803590602001356001600160a01b0316611af2565b6101b26004803603604081101561056757600080fd5b50803590602001351515611d77565b6104be611f82565b6101b26004803603604081101561059457600080fd5b5080359060200135611f91565b6101b2600480360360208110156105b757600080fd5b50356001600160a01b0316612221565b6105cf61232b565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561060b5781810151838201526020016105f3565b505050509050019250505060405180910390f35b6104be61238d565b60046020526000908152604090205481565b60008181526006602052604081206003810154600490910154839291610665919063ffffffff61239c16565b600083815260066020526040902060040154909150421180156106a4575033600090815260086020908152604080832085845260040190915290205415155b806106eb57506000828152600660205260409020600401546106cc908263ffffffff6123e516565b421180156106eb57503360009081526008602052604090206002015415155b610734576040805162461bcd60e51b8152602060048201526015602482015274125b9d985b1a590818db185a5b481c995c5d595cdd605a1b604482015290519081900360640190fd5b33600090815260086020908152604080832086845260048101909252822054909190156107765750600084815260048201602052604081208054919055610799565b506002810180546000909155600954610795908263ffffffff61239c16565b6009555b600154604080516370a0823160e01b8152306004820152905183926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156107e357600080fd5b505afa1580156107f7573d6000803e3d6000fd5b505050506040513d602081101561080d57600080fd5b5051101561084c5760405162461bcd60e51b815260040180806020018281038252602281526020018061294c6022913960400191505060405180910390fd5b3360009081526004602052604090205461086c908263ffffffff61239c16565b33600081815260046020818152604080842095909555600154855163a9059cbb60e01b8152928301949094526024820186905293516001600160a01b039093169363a9059cbb9360448084019492939192918390030190829087803b1580156108d457600080fd5b505af11580156108e8573d6000803e3d6000fd5b505050506040513d60208110156108fe57600080fd5b505161093b5760405162461bcd60e51b815260040180806020018281038252602c8152602001806127bc602c913960400191505060405180910390fd5b604080518281529051339187917f130a767201a559d9635c6afdc77cf5e05d56b3c77c8a28d17612339811fbdd079181900360200190a35050505050565b6002546001600160a01b031633146109c25760405162461bcd60e51b81526004018080602001828103825260258152602001806129ae6025913960400191505060405180910390fd5b60005b81811015610a03576109f2848484848181106109dd57fe5b905060200201356001600160a01b0316610e70565b6109fb57600080fd5b6001016109c5565b50505050565b6002546001600160a01b03163314610a525760405162461bcd60e51b81526004018080602001828103825260258152602001806129ae6025913960400191505060405180910390fd5b600154604080516370a0823160e01b8152306004820152905183926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610a9c57600080fd5b505afa158015610ab0573d6000803e3d6000fd5b505050506040513d6020811015610ac657600080fd5b50511015610b055760405162461bcd60e51b815260040180806020018281038252602281526020018061294c6022913960400191505060405180910390fd5b6001546040805163a9059cbb60e01b81523360048201526024810184905290516001600160a01b039092169163a9059cbb916044808201926020929091908290030181600087803b158015610b5957600080fd5b505af1158015610b6d573d6000803e3d6000fd5b505050506040513d6020811015610b8357600080fd5b5051610bc05760405162461bcd60e51b81526004018080602001828103825260308152602001806129d36030913960400191505060405180910390fd5b6002546040805183815290516001600160a01b03909216917f992ee874049a42cae0757a765cd7f641b6028cc35c3478bde8330bf417c3a7a99181900360200190a250565b60055481565b6001600160a01b03811660009081526008602052604081208054829182918291829160ff1615610c3a57600195505b60018101546002820154600383015460009a8b52600490930160205260409099205496999097509095945092505050565b6002546001600160a01b03163314610cb45760405162461bcd60e51b81526004018080602001828103825260258152602001806129ae6025913960400191505060405180910390fd5b6003544310610d04576040805162461bcd60e51b815260206004820152601760248201527645786365656473206d6967726174696f6e20706861736560481b604482015290519081900360640190fd5b8742118015610d1257508688105b8015610d1d57508587105b8015610d2857508486105b8015610d3357508385105b610d7b576040805162461bcd60e51b8152602060048201526014602482015273125b9d985b1a59081cdd185ad9481c195c9a5bd960621b604482015290519081900360640190fd5b600083118015610d8b5750600082115b610dcd576040805162461bcd60e51b815260206004820152600e60248201526d496e76616c696420696e7075747360901b604482015290519081900360640190fd5b600580546001019055610dde612722565b97885260208089019788526040808a0197885260608a0196875260808a0195865260e08a0194855260a08a0193845291151560c08a019081526005805460009081526006938490529390932099518a55975160018a01559551600289015593516003880155915160048701559051918501919091559151908301805460ff191691151591909117905551600790910155565b6002546000906001600160a01b03163314610ebc5760405162461bcd60e51b81526004018080602001828103825260258152602001806129ae6025913960400191505060405180910390fd5b60008381526006602052604090206002015442118015610eec575060008381526006602052604090206003015442105b610f3d576040805162461bcd60e51b815260206004820152601a60248201527f5265776172642063616e6e6f74206265206164646564206e6f77000000000000604482015290519081900360640190fd5b6001600160a01b03821660009081526008602052604090206002810154151580610f6b575060008160010154115b8015610f7b575083816003015414155b610fc5576040805162461bcd60e51b8152602060048201526016602482015275125b9d985b1a59081c995dd85c99081c995c5d595cdd60521b604482015290519081900360640190fd5b600080610fe3836001015484600201546123e590919063ffffffff16565b9150610fef868361243f565b9050611001828263ffffffff6123e516565b60028401819055600060018501819055600385018890556001600160a01b038716815260046020526040902054909250611041908263ffffffff6123e516565b6001600160a01b038087166000818152600460209081526040918290209490945560025460095482519190941681529384018690528381018590526060840192909252905188927f45e1ba9e71ec24a10adf9d3f8cf6c41c4452fcb51b8aa6850861243fb23f76f3919081900360800190a3600193505050505b92915050565b6110c96124a0565b6000546001600160a01b0390811691161461112b576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6002546001600160a01b031633146111be5760405162461bcd60e51b81526004018080602001828103825260258152602001806129ae6025913960400191505060405180910390fd5b600354431061120e576040805162461bcd60e51b815260206004820152601760248201527645786365656473206d6967726174696f6e20706861736560481b604482015290519081900360640190fd5b828114611259576040805162461bcd60e51b8152602060048201526014602482015273496e76616c696420496e7075742041727261797360601b604482015290519081900360640190fd5b84600554146112af576040805162461bcd60e51b815260206004820152601a60248201527f496e76616c6964205374616b652057696e646f7720496e646578000000000000604482015290519081900360640190fd5b60005b83811015611423576112c2612769565b60018152600060208201528383838181106112d957fe5b60200291909101356040830152506060810187905280600860008888868181106112ff57fe5b602090810292909201356001600160a01b03168352508181019290925260409081016000208351815460ff19169015151781559183015160018301558201516002820155606090910151600390910155600786868481811061135d57fe5b835460018101855560009485526020948590200180546001600160a01b0319166001600160a01b0395909202939093013593909316929092179055508383838181106113a557fe5b90506020020135600460008888868181106113bc57fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b03168152602001908152602001600020819055506114178484848181106113ff57fe5b905060200201356009546123e590919063ffffffff16565b600955506001016112b2565b505050505050565b6002546001600160a01b031633146114745760405162461bcd60e51b81526004018080602001828103825260258152602001806129ae6025913960400191505060405180910390fd5b42881015801561148357508688105b801561148e57508587105b801561149957508486105b80156114a457508385105b6114ec576040805162461bcd60e51b8152602060048201526014602482015273125b9d985b1a59081cdd185ad9481c195c9a5bd960621b604482015290519081900360640190fd5b6000831180156114fc5750600082115b61153e576040805162461bcd60e51b815260206004820152600e60248201526d496e76616c696420696e7075747360901b604482015290519081900360640190fd5b600554158061157f57506005546000908152600660205260409020600201544211801561157f57506005546000908152600660205260409020600301548810155b6115ba5760405162461bcd60e51b81526004018080602001828103825260318152602001806128646031913960400191505060405180910390fd5b6005805460010190556115cb612722565b888152602080820189815260408084018a8152606085018a8152608086018a815260e087018a815260a088018a815289151560c08a0190815260058054600090815260069a8b9052979097208a5181559751600189015594516002880155925160038701559051600486015590519284019290925551928201805460ff191693151593909317909255905160079091015560095461166990856123e5565b600955600554604080518b8152602081018890528082018a90526060810187905290513392917f3cb7acee6ab801e31828e4f68daeb2e43fbd717326fb7fd217cf4667db469248919081900360800190a3505050505050505050565b60066020819052600091825260409091208054600182015460028301546003840154600485015460058601549686015460079096015494969395929491939092909160ff9091169088565b60095481565b6000546001600160a01b031690565b61172d6124a0565b6000546001600160a01b0390811691161461178f576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166117ea576040805162461bcd60e51b815260206004820152601860248201527f496e76616c6964206f70657261746f7220616464726573730000000000000000604482015290519081900360640190fd5b600280546001600160a01b0383166001600160a01b0319909116811790915560408051918252517fda12ee837e6978172aaf54b16145ffe08414fd8710092ef033c71b8eb6ec189a9181900360200190a150565b60035481565b600554600090815260066020526040902054421080159061187957506005546000908152600660205260409020600101544211155b801561189f57506005546000908152600660208190526040909120015460ff1615156001145b6118da5760405162461bcd60e51b815260040180806020018281038252602181526020018061292b6021913960400191505060405180910390fd5b3360008181526008602052604081206001015483919061190190839063ffffffff6123e516565b6001600160a01b03841660009081526008602052604090206002015490915061193190829063ffffffff6123e516565b9050600082118015611956575060058054600090815260066020526040902001548110155b6119a0576040805162461bcd60e51b81526020600482015260166024820152754e65656420746f2068617665206d696e207374616b6560501b604482015290519081900360640190fd5b600154604080516323b872dd60e01b81523360048201523060248201526044810187905290516001600160a01b03909216916323b872dd916064808201926020929091908290030181600087803b1580156119fa57600080fd5b505af1158015611a0e573d6000803e3d6000fd5b505050506040513d6020811015611a2457600080fd5b5051611a615760405162461bcd60e51b81526004018080602001828103825260288152602001806127946028913960400191505060405180910390fd5b611a6b33856124a4565b5033600090815260046020526040902054611a8c908563ffffffff6123e516565b33600090815260046020526040902055600954611aaf908563ffffffff6123e516565b6009556005546040805186815290513392917f157efccb244e0e1ae7a36a1c28a1f45b62e1250e06e57d9cb44cc1cdc2d95d92919081900360200190a350505050565b6002546001600160a01b03163314611b3b5760405162461bcd60e51b81526004018080602001828103825260258152602001806129ae6025913960400191505060405180910390fd5b60008281526006602052604090206001015442118015611b5c575081600554145b611b975760405162461bcd60e51b815260040180806020018281038252602681526020018061280e6026913960400191505060405180910390fd5b6001600160a01b03811660009081526008602052604090206001810154611c05576040805162461bcd60e51b815260206004820152601860248201527f4e6f207374616b696e67207265717565737420666f756e640000000000000000604482015290519081900360640190fd5b60018082015490546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015611c6057600080fd5b505af1158015611c74573d6000803e3d6000fd5b505050506040513d6020811015611c8a57600080fd5b5051611cc75760405162461bcd60e51b815260040180806020018281038252602c8152602001806127bc602c913960400191505060405180910390fd5b60018201546001600160a01b038416600090815260046020526040902054611cf49163ffffffff61239c16565b6001600160a01b0384166000908152600460205260409020556001820154600954611d249163ffffffff61239c16565b6009556000600183015560408051828152905133916001600160a01b0386169187917f59092d10fe8f9042482068413b6317974629719525544c31ca42e628a8f8a6b3919081900360200190a450505050565b336000908152600860205260409020600201548290151580611db5575033600090815260086020908152604080832084845260040190915290205415155b8015611dd257506000818152600660205260409020600301544210155b8015611def57506000818152600660205260409020600401544211155b611e2a5760405162461bcd60e51b81526004018080602001828103825260308152602001806128346030913960400191505060405180910390fd5b3360009081526008602052604090206001831515148015611e5a5750600084815260048201602052604090205415155b80611e72575082158015611e72575060008160020154115b611ec3576040805162461bcd60e51b815260206004820152601a60248201527f496e76616c6964206175746f2072656e65772072657175657374000000000000604482015290519081900360640190fd5b8215611f0c576000848152600482016020526040902054600954611eec9163ffffffff6123e516565b600955600084815260048201602052604081208054600284015555611f43565b6002810154600954611f239163ffffffff61239c16565b600955600281018054600086815260048401602052604081209190915590555b6040805184151581529051339186917fbf008b7793d9cf02deebfa7b5ddd88fd06dedd91a3ff0d223be738b27dc74d7f9181900360200190a350505050565b6002546001600160a01b031681565b6000828152600660205260409020544210801590611fc057506000828152600660205260409020600101544211155b611ffb5760405162461bcd60e51b815260040180806020018281038252602b8152602001806128df602b913960400191505060405180910390fd5b336000908152600860205260409020811580159061201d575081816001015410155b6120585760405162461bcd60e51b81526004018080602001828103825260238152602001806128956023913960400191505060405180910390fd5b600083815260066020526040902060050154600182015461207f908463ffffffff61239c16565b10158061208f5750818160010154145b6120ca5760405162461bcd60e51b815260040180806020018281038252604081526020018061296e6040913960400191505060405180910390fd5b60018101546120df908363ffffffff61239c16565b600182015533600090815260046020526040902054612104908363ffffffff61239c16565b33600090815260046020526040902055600954612127908363ffffffff61239c16565b6009556001546040805163a9059cbb60e01b81523360048201526024810185905290516001600160a01b039092169163a9059cbb916044808201926020929091908290030181600087803b15801561217e57600080fd5b505af1158015612192573d6000803e3d6000fd5b505050506040513d60208110156121a857600080fd5b50516121e55760405162461bcd60e51b81526004018080602001828103825260278152602001806128b86027913960400191505060405180910390fd5b604080518381529051339185917f39b6a17fb76d0a81d196f43cf9767b8f8457f5ff1cf9f6a44a45df9cf2ee30029181900360200190a3505050565b6122296124a0565b6000546001600160a01b0390811691161461228b576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166122d05760405162461bcd60e51b81526004018080602001828103825260268152602001806127e86026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6060600780548060200260200160405190810160405280929190818152602001828054801561238357602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311612365575b5050505050905090565b6001546001600160a01b031681565b60006123de83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612590565b9392505050565b6000828201838110156123de576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000828152600660205260408120600701546009548291612498916124699163ffffffff61239c16565b60008681526006602052604090206007015461248c90869063ffffffff61262716565b9063ffffffff61268016565b949350505050565b3390565b6001600160a01b0382166000908152600860205260408120805460ff16156124e55760018101546124db908463ffffffff6123e516565b6001820155612586565b6124ed612769565b6001808252602080830186815260006040808601828152606087018381526001600160a01b038c1680855260089096529183209651875460ff19169015151787559251868601559151600286015590516003909401939093556007805492830181559092527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6880180546001600160a01b03191690911790555b5060019392505050565b6000818484111561261f5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156125e45781810151838201526020016125cc565b50505050905090810190601f1680156126115780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082612636575060006110bb565b8282028284828161264357fe5b04146123de5760405162461bcd60e51b815260040180806020018281038252602181526020018061290a6021913960400191505060405180910390fd5b60006123de83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506000818361270c5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156125e45781810151838201526020016125cc565b50600083858161271857fe5b0495945050505050565b604051806101000160405280600081526020016000815260200160008152602001600081526020016000815260200160008152602001600015158152602001600081525090565b6040518060800160405280600015158152602001600081526020016000815260200160008152509056fe556e61626c6520746f207472616e7366657220746f6b656e20746f2074686520636f6e7472616374556e61626c6520746f207472616e7366657220746f6b656e206261636b20746f20746865206163636f756e744f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737352656a656374696f6e206174207468697320706f696e74206973206e6f7420616c6c6f77656455706461746520746f206175746f2072656e6577616c206174207468697320706f696e74206e6f7420616c6c6f77656443616e6e6f742068617665206d6f7265207468616e206f6e65207374616b65207265717565737420617420612074696d6543616e6e6f74207769746864726177206265796f6e64207374616b6520616d6f756e74556e61626c6520746f207472616e7366657220746f6b656e20746f20746865206163636f756e745374616b65207769746864726177206174207468697320706f696e74206973206e6f7420616c6c6f776564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775374616b696e67206174207468697320706f696e74206e6f7420616c6c6f7765644e6f7420656e6f7567682062616c616e636520696e2074686520636f6e747261637443616e2077697468647261772066756c6c20616d6f756e74206f72207061727469616c20616d6f756e74206d61696e7461696e696e67206d696e207374616b654f6e6c79206f70657261746f722063616e2063616c6c20746869732066756e6374696f6e2e556e61626c6520746f207472616e7366657220746f6b656e20746f20746865206f70657261746f72206163636f756e74a2646970667358221220e7a96e8dd6fa51c75d6161b67d1a1ac549336ef8103e36d02c1caeb2f6b133e364736f6c634300060200330000000000000000000000005b7533812759b45c2b44c19e320ba2cd2681b542000000000000000000000000000000000000000000000000000000000002a300
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101585760003560e01c80638bd85c44116100c3578063e370d96b1161007c578063e370d96b14610551578063e737b86e14610576578063f1fdf4691461057e578063f2fde38b146105a1578063f7fecc27146105c7578063fc0c546a1461061f57610158565b80638bd85c44146104ae5780638da5cb5b146104b6578063ac7475ed146104da578063bbb91a1714610500578063bec3aa7514610508578063d5a38c981461052557610158565b8063642d605d11610115578063642d605d146102a9578063648b5780146102f3578063715018a61461033357806379fdca5c1461033b5780638444acd81461040457806388a0c9291461044e57610158565b806327e235e31461015d57806344c7d6ef146101955780634600543c146101b457806350baa6221461022b5780635a8a1734146102485780635cb7d00b14610250575b600080fd5b6101836004803603602081101561017357600080fd5b50356001600160a01b0316610627565b60408051918252519081900360200190f35b6101b2600480360360208110156101ab57600080fd5b5035610639565b005b6101b2600480360360408110156101ca57600080fd5b813591908101906040810160208201356401000000008111156101ec57600080fd5b8201836020820111156101fe57600080fd5b8035906020019184602083028401116401000000008311171561022057600080fd5b509092509050610979565b6101b26004803603602081101561024157600080fd5b5035610a09565b610183610c05565b61027c6004803603604081101561026657600080fd5b50803590602001356001600160a01b0316610c0b565b60408051951515865260208601949094528484019290925260608401526080830152519081900360a00190f35b6101b260048036036101008110156102c057600080fd5b5080359060208101359060408101359060608101359060808101359060a08101359060c08101359060e001351515610c6b565b61031f6004803603604081101561030957600080fd5b50803590602001356001600160a01b0316610e70565b604080519115158252519081900360200190f35b6101b26110c1565b6101b26004803603606081101561035157600080fd5b8135919081019060408101602082013564010000000081111561037357600080fd5b82018360208201111561038557600080fd5b803590602001918460208302840111640100000000831117156103a757600080fd5b9193909290916020810190356401000000008111156103c557600080fd5b8201836020820111156103d757600080fd5b803590602001918460208302840111640100000000831117156103f957600080fd5b509092509050611175565b6101b2600480360361010081101561041b57600080fd5b5080359060208101359060408101359060608101359060808101359060a08101359060c08101359060e00135151561142b565b61046b6004803603602081101561046457600080fd5b50356116c5565b604080519889526020890197909752878701959095526060870193909352608086019190915260a0850152151560c084015260e083015251908190036101000190f35b610183611710565b6104be611716565b604080516001600160a01b039092168252519081900360200190f35b6101b2600480360360208110156104f057600080fd5b50356001600160a01b0316611725565b61018361183e565b6101b26004803603602081101561051e57600080fd5b5035611844565b6101b26004803603604081101561053b57600080fd5b50803590602001356001600160a01b0316611af2565b6101b26004803603604081101561056757600080fd5b50803590602001351515611d77565b6104be611f82565b6101b26004803603604081101561059457600080fd5b5080359060200135611f91565b6101b2600480360360208110156105b757600080fd5b50356001600160a01b0316612221565b6105cf61232b565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561060b5781810151838201526020016105f3565b505050509050019250505060405180910390f35b6104be61238d565b60046020526000908152604090205481565b60008181526006602052604081206003810154600490910154839291610665919063ffffffff61239c16565b600083815260066020526040902060040154909150421180156106a4575033600090815260086020908152604080832085845260040190915290205415155b806106eb57506000828152600660205260409020600401546106cc908263ffffffff6123e516565b421180156106eb57503360009081526008602052604090206002015415155b610734576040805162461bcd60e51b8152602060048201526015602482015274125b9d985b1a590818db185a5b481c995c5d595cdd605a1b604482015290519081900360640190fd5b33600090815260086020908152604080832086845260048101909252822054909190156107765750600084815260048201602052604081208054919055610799565b506002810180546000909155600954610795908263ffffffff61239c16565b6009555b600154604080516370a0823160e01b8152306004820152905183926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156107e357600080fd5b505afa1580156107f7573d6000803e3d6000fd5b505050506040513d602081101561080d57600080fd5b5051101561084c5760405162461bcd60e51b815260040180806020018281038252602281526020018061294c6022913960400191505060405180910390fd5b3360009081526004602052604090205461086c908263ffffffff61239c16565b33600081815260046020818152604080842095909555600154855163a9059cbb60e01b8152928301949094526024820186905293516001600160a01b039093169363a9059cbb9360448084019492939192918390030190829087803b1580156108d457600080fd5b505af11580156108e8573d6000803e3d6000fd5b505050506040513d60208110156108fe57600080fd5b505161093b5760405162461bcd60e51b815260040180806020018281038252602c8152602001806127bc602c913960400191505060405180910390fd5b604080518281529051339187917f130a767201a559d9635c6afdc77cf5e05d56b3c77c8a28d17612339811fbdd079181900360200190a35050505050565b6002546001600160a01b031633146109c25760405162461bcd60e51b81526004018080602001828103825260258152602001806129ae6025913960400191505060405180910390fd5b60005b81811015610a03576109f2848484848181106109dd57fe5b905060200201356001600160a01b0316610e70565b6109fb57600080fd5b6001016109c5565b50505050565b6002546001600160a01b03163314610a525760405162461bcd60e51b81526004018080602001828103825260258152602001806129ae6025913960400191505060405180910390fd5b600154604080516370a0823160e01b8152306004820152905183926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610a9c57600080fd5b505afa158015610ab0573d6000803e3d6000fd5b505050506040513d6020811015610ac657600080fd5b50511015610b055760405162461bcd60e51b815260040180806020018281038252602281526020018061294c6022913960400191505060405180910390fd5b6001546040805163a9059cbb60e01b81523360048201526024810184905290516001600160a01b039092169163a9059cbb916044808201926020929091908290030181600087803b158015610b5957600080fd5b505af1158015610b6d573d6000803e3d6000fd5b505050506040513d6020811015610b8357600080fd5b5051610bc05760405162461bcd60e51b81526004018080602001828103825260308152602001806129d36030913960400191505060405180910390fd5b6002546040805183815290516001600160a01b03909216917f992ee874049a42cae0757a765cd7f641b6028cc35c3478bde8330bf417c3a7a99181900360200190a250565b60055481565b6001600160a01b03811660009081526008602052604081208054829182918291829160ff1615610c3a57600195505b60018101546002820154600383015460009a8b52600490930160205260409099205496999097509095945092505050565b6002546001600160a01b03163314610cb45760405162461bcd60e51b81526004018080602001828103825260258152602001806129ae6025913960400191505060405180910390fd5b6003544310610d04576040805162461bcd60e51b815260206004820152601760248201527645786365656473206d6967726174696f6e20706861736560481b604482015290519081900360640190fd5b8742118015610d1257508688105b8015610d1d57508587105b8015610d2857508486105b8015610d3357508385105b610d7b576040805162461bcd60e51b8152602060048201526014602482015273125b9d985b1a59081cdd185ad9481c195c9a5bd960621b604482015290519081900360640190fd5b600083118015610d8b5750600082115b610dcd576040805162461bcd60e51b815260206004820152600e60248201526d496e76616c696420696e7075747360901b604482015290519081900360640190fd5b600580546001019055610dde612722565b97885260208089019788526040808a0197885260608a0196875260808a0195865260e08a0194855260a08a0193845291151560c08a019081526005805460009081526006938490529390932099518a55975160018a01559551600289015593516003880155915160048701559051918501919091559151908301805460ff191691151591909117905551600790910155565b6002546000906001600160a01b03163314610ebc5760405162461bcd60e51b81526004018080602001828103825260258152602001806129ae6025913960400191505060405180910390fd5b60008381526006602052604090206002015442118015610eec575060008381526006602052604090206003015442105b610f3d576040805162461bcd60e51b815260206004820152601a60248201527f5265776172642063616e6e6f74206265206164646564206e6f77000000000000604482015290519081900360640190fd5b6001600160a01b03821660009081526008602052604090206002810154151580610f6b575060008160010154115b8015610f7b575083816003015414155b610fc5576040805162461bcd60e51b8152602060048201526016602482015275125b9d985b1a59081c995dd85c99081c995c5d595cdd60521b604482015290519081900360640190fd5b600080610fe3836001015484600201546123e590919063ffffffff16565b9150610fef868361243f565b9050611001828263ffffffff6123e516565b60028401819055600060018501819055600385018890556001600160a01b038716815260046020526040902054909250611041908263ffffffff6123e516565b6001600160a01b038087166000818152600460209081526040918290209490945560025460095482519190941681529384018690528381018590526060840192909252905188927f45e1ba9e71ec24a10adf9d3f8cf6c41c4452fcb51b8aa6850861243fb23f76f3919081900360800190a3600193505050505b92915050565b6110c96124a0565b6000546001600160a01b0390811691161461112b576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6002546001600160a01b031633146111be5760405162461bcd60e51b81526004018080602001828103825260258152602001806129ae6025913960400191505060405180910390fd5b600354431061120e576040805162461bcd60e51b815260206004820152601760248201527645786365656473206d6967726174696f6e20706861736560481b604482015290519081900360640190fd5b828114611259576040805162461bcd60e51b8152602060048201526014602482015273496e76616c696420496e7075742041727261797360601b604482015290519081900360640190fd5b84600554146112af576040805162461bcd60e51b815260206004820152601a60248201527f496e76616c6964205374616b652057696e646f7720496e646578000000000000604482015290519081900360640190fd5b60005b83811015611423576112c2612769565b60018152600060208201528383838181106112d957fe5b60200291909101356040830152506060810187905280600860008888868181106112ff57fe5b602090810292909201356001600160a01b03168352508181019290925260409081016000208351815460ff19169015151781559183015160018301558201516002820155606090910151600390910155600786868481811061135d57fe5b835460018101855560009485526020948590200180546001600160a01b0319166001600160a01b0395909202939093013593909316929092179055508383838181106113a557fe5b90506020020135600460008888868181106113bc57fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b03168152602001908152602001600020819055506114178484848181106113ff57fe5b905060200201356009546123e590919063ffffffff16565b600955506001016112b2565b505050505050565b6002546001600160a01b031633146114745760405162461bcd60e51b81526004018080602001828103825260258152602001806129ae6025913960400191505060405180910390fd5b42881015801561148357508688105b801561148e57508587105b801561149957508486105b80156114a457508385105b6114ec576040805162461bcd60e51b8152602060048201526014602482015273125b9d985b1a59081cdd185ad9481c195c9a5bd960621b604482015290519081900360640190fd5b6000831180156114fc5750600082115b61153e576040805162461bcd60e51b815260206004820152600e60248201526d496e76616c696420696e7075747360901b604482015290519081900360640190fd5b600554158061157f57506005546000908152600660205260409020600201544211801561157f57506005546000908152600660205260409020600301548810155b6115ba5760405162461bcd60e51b81526004018080602001828103825260318152602001806128646031913960400191505060405180910390fd5b6005805460010190556115cb612722565b888152602080820189815260408084018a8152606085018a8152608086018a815260e087018a815260a088018a815289151560c08a0190815260058054600090815260069a8b9052979097208a5181559751600189015594516002880155925160038701559051600486015590519284019290925551928201805460ff191693151593909317909255905160079091015560095461166990856123e5565b600955600554604080518b8152602081018890528082018a90526060810187905290513392917f3cb7acee6ab801e31828e4f68daeb2e43fbd717326fb7fd217cf4667db469248919081900360800190a3505050505050505050565b60066020819052600091825260409091208054600182015460028301546003840154600485015460058601549686015460079096015494969395929491939092909160ff9091169088565b60095481565b6000546001600160a01b031690565b61172d6124a0565b6000546001600160a01b0390811691161461178f576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166117ea576040805162461bcd60e51b815260206004820152601860248201527f496e76616c6964206f70657261746f7220616464726573730000000000000000604482015290519081900360640190fd5b600280546001600160a01b0383166001600160a01b0319909116811790915560408051918252517fda12ee837e6978172aaf54b16145ffe08414fd8710092ef033c71b8eb6ec189a9181900360200190a150565b60035481565b600554600090815260066020526040902054421080159061187957506005546000908152600660205260409020600101544211155b801561189f57506005546000908152600660208190526040909120015460ff1615156001145b6118da5760405162461bcd60e51b815260040180806020018281038252602181526020018061292b6021913960400191505060405180910390fd5b3360008181526008602052604081206001015483919061190190839063ffffffff6123e516565b6001600160a01b03841660009081526008602052604090206002015490915061193190829063ffffffff6123e516565b9050600082118015611956575060058054600090815260066020526040902001548110155b6119a0576040805162461bcd60e51b81526020600482015260166024820152754e65656420746f2068617665206d696e207374616b6560501b604482015290519081900360640190fd5b600154604080516323b872dd60e01b81523360048201523060248201526044810187905290516001600160a01b03909216916323b872dd916064808201926020929091908290030181600087803b1580156119fa57600080fd5b505af1158015611a0e573d6000803e3d6000fd5b505050506040513d6020811015611a2457600080fd5b5051611a615760405162461bcd60e51b81526004018080602001828103825260288152602001806127946028913960400191505060405180910390fd5b611a6b33856124a4565b5033600090815260046020526040902054611a8c908563ffffffff6123e516565b33600090815260046020526040902055600954611aaf908563ffffffff6123e516565b6009556005546040805186815290513392917f157efccb244e0e1ae7a36a1c28a1f45b62e1250e06e57d9cb44cc1cdc2d95d92919081900360200190a350505050565b6002546001600160a01b03163314611b3b5760405162461bcd60e51b81526004018080602001828103825260258152602001806129ae6025913960400191505060405180910390fd5b60008281526006602052604090206001015442118015611b5c575081600554145b611b975760405162461bcd60e51b815260040180806020018281038252602681526020018061280e6026913960400191505060405180910390fd5b6001600160a01b03811660009081526008602052604090206001810154611c05576040805162461bcd60e51b815260206004820152601860248201527f4e6f207374616b696e67207265717565737420666f756e640000000000000000604482015290519081900360640190fd5b60018082015490546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015611c6057600080fd5b505af1158015611c74573d6000803e3d6000fd5b505050506040513d6020811015611c8a57600080fd5b5051611cc75760405162461bcd60e51b815260040180806020018281038252602c8152602001806127bc602c913960400191505060405180910390fd5b60018201546001600160a01b038416600090815260046020526040902054611cf49163ffffffff61239c16565b6001600160a01b0384166000908152600460205260409020556001820154600954611d249163ffffffff61239c16565b6009556000600183015560408051828152905133916001600160a01b0386169187917f59092d10fe8f9042482068413b6317974629719525544c31ca42e628a8f8a6b3919081900360200190a450505050565b336000908152600860205260409020600201548290151580611db5575033600090815260086020908152604080832084845260040190915290205415155b8015611dd257506000818152600660205260409020600301544210155b8015611def57506000818152600660205260409020600401544211155b611e2a5760405162461bcd60e51b81526004018080602001828103825260308152602001806128346030913960400191505060405180910390fd5b3360009081526008602052604090206001831515148015611e5a5750600084815260048201602052604090205415155b80611e72575082158015611e72575060008160020154115b611ec3576040805162461bcd60e51b815260206004820152601a60248201527f496e76616c6964206175746f2072656e65772072657175657374000000000000604482015290519081900360640190fd5b8215611f0c576000848152600482016020526040902054600954611eec9163ffffffff6123e516565b600955600084815260048201602052604081208054600284015555611f43565b6002810154600954611f239163ffffffff61239c16565b600955600281018054600086815260048401602052604081209190915590555b6040805184151581529051339186917fbf008b7793d9cf02deebfa7b5ddd88fd06dedd91a3ff0d223be738b27dc74d7f9181900360200190a350505050565b6002546001600160a01b031681565b6000828152600660205260409020544210801590611fc057506000828152600660205260409020600101544211155b611ffb5760405162461bcd60e51b815260040180806020018281038252602b8152602001806128df602b913960400191505060405180910390fd5b336000908152600860205260409020811580159061201d575081816001015410155b6120585760405162461bcd60e51b81526004018080602001828103825260238152602001806128956023913960400191505060405180910390fd5b600083815260066020526040902060050154600182015461207f908463ffffffff61239c16565b10158061208f5750818160010154145b6120ca5760405162461bcd60e51b815260040180806020018281038252604081526020018061296e6040913960400191505060405180910390fd5b60018101546120df908363ffffffff61239c16565b600182015533600090815260046020526040902054612104908363ffffffff61239c16565b33600090815260046020526040902055600954612127908363ffffffff61239c16565b6009556001546040805163a9059cbb60e01b81523360048201526024810185905290516001600160a01b039092169163a9059cbb916044808201926020929091908290030181600087803b15801561217e57600080fd5b505af1158015612192573d6000803e3d6000fd5b505050506040513d60208110156121a857600080fd5b50516121e55760405162461bcd60e51b81526004018080602001828103825260278152602001806128b86027913960400191505060405180910390fd5b604080518381529051339185917f39b6a17fb76d0a81d196f43cf9767b8f8457f5ff1cf9f6a44a45df9cf2ee30029181900360200190a3505050565b6122296124a0565b6000546001600160a01b0390811691161461228b576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166122d05760405162461bcd60e51b81526004018080602001828103825260268152602001806127e86026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6060600780548060200260200160405190810160405280929190818152602001828054801561238357602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311612365575b5050505050905090565b6001546001600160a01b031681565b60006123de83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612590565b9392505050565b6000828201838110156123de576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000828152600660205260408120600701546009548291612498916124699163ffffffff61239c16565b60008681526006602052604090206007015461248c90869063ffffffff61262716565b9063ffffffff61268016565b949350505050565b3390565b6001600160a01b0382166000908152600860205260408120805460ff16156124e55760018101546124db908463ffffffff6123e516565b6001820155612586565b6124ed612769565b6001808252602080830186815260006040808601828152606087018381526001600160a01b038c1680855260089096529183209651875460ff19169015151787559251868601559151600286015590516003909401939093556007805492830181559092527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6880180546001600160a01b03191690911790555b5060019392505050565b6000818484111561261f5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156125e45781810151838201526020016125cc565b50505050905090810190601f1680156126115780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082612636575060006110bb565b8282028284828161264357fe5b04146123de5760405162461bcd60e51b815260040180806020018281038252602181526020018061290a6021913960400191505060405180910390fd5b60006123de83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506000818361270c5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156125e45781810151838201526020016125cc565b50600083858161271857fe5b0495945050505050565b604051806101000160405280600081526020016000815260200160008152602001600081526020016000815260200160008152602001600015158152602001600081525090565b6040518060800160405280600015158152602001600081526020016000815260200160008152509056fe556e61626c6520746f207472616e7366657220746f6b656e20746f2074686520636f6e7472616374556e61626c6520746f207472616e7366657220746f6b656e206261636b20746f20746865206163636f756e744f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737352656a656374696f6e206174207468697320706f696e74206973206e6f7420616c6c6f77656455706461746520746f206175746f2072656e6577616c206174207468697320706f696e74206e6f7420616c6c6f77656443616e6e6f742068617665206d6f7265207468616e206f6e65207374616b65207265717565737420617420612074696d6543616e6e6f74207769746864726177206265796f6e64207374616b6520616d6f756e74556e61626c6520746f207472616e7366657220746f6b656e20746f20746865206163636f756e745374616b65207769746864726177206174207468697320706f696e74206973206e6f7420616c6c6f776564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775374616b696e67206174207468697320706f696e74206e6f7420616c6c6f7765644e6f7420656e6f7567682062616c616e636520696e2074686520636f6e747261637443616e2077697468647261772066756c6c20616d6f756e74206f72207061727469616c20616d6f756e74206d61696e7461696e696e67206d696e207374616b654f6e6c79206f70657261746f722063616e2063616c6c20746869732066756e6374696f6e2e556e61626c6520746f207472616e7366657220746f6b656e20746f20746865206f70657261746f72206163636f756e74a2646970667358221220e7a96e8dd6fa51c75d6161b67d1a1ac549336ef8103e36d02c1caeb2f6b133e364736f6c63430006020033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000005b7533812759b45c2b44c19e320ba2cd2681b542000000000000000000000000000000000000000000000000000000000002a300
-----Decoded View---------------
Arg [0] : _token (address): 0x5B7533812759B45C2B44C19e320ba2cD2681b542
Arg [1] : _maxMigrationBlocks (uint256): 172800
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000005b7533812759b45c2b44c19e320ba2cd2681b542
Arg [1] : 000000000000000000000000000000000000000000000000000000000002a300
Deployed Bytecode Sourcemap
28934:20767:0:-:0;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;28934:20767:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29216:44;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;29216:44:0;-1:-1:-1;;;;;29216:44:0;;:::i;:::-;;;;;;;;;;;;;;;;44607:1233;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;44607:1233:0;;:::i;:::-;;44294:266;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;44294:266:0;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;44294:266:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;44294:266:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;-1:-1;44294:266:0;;-1:-1:-1;44294:266:0;-1:-1:-1;44294:266:0;:::i;34202:396::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;34202:396:0;;:::i;29308:35::-;;;:::i;49032:662::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;49032:662:0;;;;;;-1:-1:-1;;;;;49032:662:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45908:1533;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;45908:1533:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;42634:1652::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;42634:1652:0;;;;;;-1:-1:-1;;;;;42634:1652:0;;:::i;:::-;;;;;;;;;;;;;;;;;;28310:148;;;:::i;47519:1363::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;47519:1363:0;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;47519:1363:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;47519:1363:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;47519:1363:0;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;47519:1363:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;47519:1363:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;-1:-1;47519:1363:0;;-1:-1:-1;47519:1363:0;-1:-1:-1;47519:1363:0;:::i;34606:1879::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;34606:1879:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;30051:48::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;30051:48:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30369:31;;;:::i;27668:79::-;;;:::i;:::-;;;;-1:-1:-1;;;;;27668:79:0;;;;;;;;;;;;;;33955:235;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;33955:235:0;-1:-1:-1;;;;;33955:235:0;;:::i;29131:33::-;;;:::i;37426:665::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;37426:665:0;;:::i;39714:1264::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;39714:1264:0;;;;;;-1:-1:-1;;;;;39714:1264:0;;:::i;41061:1144::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;41061:1144:0;;;;;;;;;:::i;29062:28::-;;;:::i;38149:1510::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;38149:1510:0;;;;;;;:::i;28613:244::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;28613:244:0;-1:-1:-1;;;;;28613:244:0;;:::i;48921:103::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;48921:103:0;;;;;;;;;;;;;;;;;29008:18;;;:::i;29216:44::-;;;;;;;;;;;;;:::o;44607:1233::-;33200:17;33278:23;;;:8;:23;;;;;:50;;;;33240:33;;;;;44673:13;;33200:17;33240:89;;:33;:89;:37;:89;:::i;:::-;33371:23;;;;:8;:23;;;;;:33;;;33228:101;;-1:-1:-1;33365:3:0;:39;:105;;;;-1:-1:-1;33424:10:0;33469:1;33408:27;;;:15;:27;;;;;;;;:58;;;:43;;:58;;;;;;:62;;33365:105;33364:230;;;-1:-1:-1;33495:23:0;;;;:8;:23;;;;;:33;;;:48;;33533:9;33495:48;:37;:48;:::i;:::-;33489:3;:54;:104;;;;-1:-1:-1;33563:10:0;33592:1;33547:27;;;:15;:27;;;;;:42;;;:46;;33489:104;33342:288;;;;;-1:-1:-1;;;33342:288:0;;;;;;;;;;;;-1:-1:-1;;;33342:288:0;;;;;;;;;;;;;;;44747:10:::1;44701:27;44731::::0;;;:15:::1;:27;::::0;;;;;;;44840:40;;;:25:::1;::::0;::::1;:40:::0;;;;;;44731:27;;44701;44840:44;44837:518:::1;;-1:-1:-1::0;44929:40:0::1;::::0;;;:25:::1;::::0;::::1;:40;::::0;;;;;;44984:44;;;44837:518:::1;;;-1:-1:-1::0;45151:24:0::1;::::0;::::1;::::0;;45217:1:::1;45190:28:::0;;;45310:16:::1;::::0;:33:::1;::::0;45151:24;45310:33:::1;:20;:33;:::i;:::-;45291:16;:52:::0;44837:518:::1;45421:5;::::0;:30:::1;::::0;;-1:-1:-1;;;45421:30:0;;45445:4:::1;45421:30;::::0;::::1;::::0;;;45455:11;;-1:-1:-1;;;;;45421:5:0::1;::::0;:15:::1;::::0;:30;;;;;::::1;::::0;;;;;;;;:5;:30;::::1;;5:2:-1::0;::::1;;;30:1;27::::0;20:12:::1;5:2;45421:30:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;45421:30:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26::::0;19:12:::1;2:2;-1:-1:::0;45421:30:0;:45:::1;;45413:92;;;;-1:-1:-1::0;;;45413:92:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45586:10;45577:20;::::0;;;:8:::1;:20;::::0;;;;;:37:::1;::::0;45602:11;45577:37:::1;:24;:37;:::i;:::-;45563:10;45554:20;::::0;;;:8:::1;:20;::::0;;;;;;;:60;;;;45674:5:::1;::::0;:39;;-1:-1:-1;;;45674:39:0;;;;::::1;::::0;;;;;;;;;;;;-1:-1:-1;;;;;45674:5:0;;::::1;::::0;:14:::1;::::0;:39;;;;;45554:20;;45674:39;;;;;;;;;;:5;:39;::::1;;5:2:-1::0;::::1;;;30:1;27::::0;20:12:::1;5:2;45674:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;45674:39:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26::::0;19:12:::1;2:2;-1:-1:::0;45674:39:0;45666:96:::1;;;;-1:-1:-1::0;;;45666:96:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45780:50;::::0;;;;;;;45806:10:::1;::::0;45791:13;;45780:50:::1;::::0;;;;::::1;::::0;;::::1;33641:1;;44607:1233:::0;;;:::o;44294:266::-;31509:13;;-1:-1:-1;;;;;31509:13:0;31495:10;:27;31473:114;;;;-1:-1:-1;;;31473:114:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44421:12:::1;44417:136;44439:20:::0;;::::1;44417:136;;;44492:48;44512:13;44527:6;;44534:4;44527:12;;;;;;;;;;;;;-1:-1:-1::0;;;;;44527:12:0::1;44492:19;:48::i;:::-;44484:57;;;::::0;::::1;;44461:6;;44417:136;;;;44294:266:::0;;;:::o;34202:396::-;31509:13;;-1:-1:-1;;;;;31509:13:0;31495:10;:27;31473:114;;;;-1:-1:-1;;;31473:114:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34344:5:::1;::::0;:30:::1;::::0;;-1:-1:-1;;;34344:30:0;;34368:4:::1;34344:30;::::0;::::1;::::0;;;34378:5;;-1:-1:-1;;;;;34344:5:0::1;::::0;:15:::1;::::0;:30;;;;;::::1;::::0;;;;;;;;:5;:30;::::1;;5:2:-1::0;::::1;;;30:1;27::::0;20:12:::1;5:2;34344:30:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;34344:30:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26::::0;19:12:::1;2:2;-1:-1:::0;34344:30:0;:39:::1;;34336:86;;;;-1:-1:-1::0;;;34336:86:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34441:5;::::0;:33:::1;::::0;;-1:-1:-1;;;34441:33:0;;34456:10:::1;34441:33;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;;;;;34441:5:0;;::::1;::::0;:14:::1;::::0;:33;;;;;::::1;::::0;;;;;;;;;:5:::1;::::0;:33;::::1;;5:2:-1::0;::::1;;;30:1;27::::0;20:12:::1;5:2;34441:33:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;34441:33:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26::::0;19:12:::1;2:2;-1:-1:::0;34441:33:0;34433:94:::1;;;;-1:-1:-1::0;;;34433:94:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34559:13;::::0;34545:35:::1;::::0;;;;;;;-1:-1:-1;;;;;34559:13:0;;::::1;::::0;34545:35:::1;::::0;;;;::::1;::::0;;::::1;34202:396:::0;:::o;29308:35::-;;;;:::o;49032:662::-;-1:-1:-1;;;;;49303:23:0;;49131:10;49303:23;;;:15;:23;;;;;49374:15;;49131:10;;;;;;;;49374:15;;49371:59;;;49414:4;49406:12;;49371:59;49469:34;;;;49531:24;;;;49587:28;;;;49644:40;;;;:25;;;;:40;;;;;;;49032:662;;49469:34;;-1:-1:-1;49587:28:0;;49644:40;-1:-1:-1;49032:662:0;-1:-1:-1;;;49032:662:0:o;45908:1533::-;31509:13;;-1:-1:-1;;;;;31509:13:0;31495:10;:27;31473:114;;;;-1:-1:-1;;;31473:114:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46289:18:::1;;46274:12;:33;46266:69;;;::::0;;-1:-1:-1;;;46266:69:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;46266:69:0;;;;;;;;;;;;;::::1;;46420:12;46414:3;:18;:57;;;;;46451:20;46436:12;:35;46414:57;:102;;;;;46498:18;46475:20;:41;46414:102;:154;;;;;46541:27;46520:18;:48;46414:154;:198;;;;;46602:10;46572:27;:40;46414:198;46406:231;;;::::0;;-1:-1:-1;;;46406:231:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;46406:231:0;;;;;;;;;;;;;::::1;;46678:1;46656:19;:23;:40;;;;;46695:1;46683:9;:13;46656:40;46648:68;;;::::0;;-1:-1:-1;;;46648:68:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;46648:68:0;;;;;;;;;;;;;::::1;;46800:20;::::0;;46823:1:::1;46800:24;46777:47:::0;;46835:30:::1;;:::i;:::-;46913:38:::0;;;46962:31:::1;::::0;;::::1;:54:::0;;;47027:29:::1;::::0;;::::1;:50:::0;;;47088:38:::1;::::0;::::1;:68:::0;;;47167:21:::1;::::0;::::1;:34:::0;;;47212:30:::1;::::0;::::1;:52:::0;;;47275:20:::1;::::0;::::1;:32:::0;;;47326:46;::::1;;:27;::::0;::::1;:46:::0;;;47394:20:::1;::::0;;-1:-1:-1;47385:30:0;;;:8:::1;:30:::0;;;;;;;;:44;;;;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;;;;;;;::::1;::::0;;-1:-1:-1;;47385:44:0::1;::::0;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;::::0;45908:1533::o;42634:1652::-;31509:13;;42747:4;;-1:-1:-1;;;;;31509:13:0;31495:10;:27;31473:114;;;;-1:-1:-1;;;31473:114:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42843:23:::1;::::0;;;:8:::1;:23;::::0;;;;:41:::1;;::::0;42837:3:::1;:47;:121:::0;::::1;;;-1:-1:-1::0;42908:23:0::1;::::0;;;:8:::1;:23;::::0;;;;:50:::1;;::::0;42902:3:::1;:56;42837:121;42815:198;;;::::0;;-1:-1:-1;;;42815:198:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;43056:23:0;::::1;43026:27;43056:23:::0;;;:15:::1;:23;::::0;;;;43146:24:::1;::::0;::::1;::::0;:28;;;:70:::1;;;43215:1;43178:9;:34;;;:38;43146:70;43145:122;;;;;43254:13;43222:9;:28;;;:45;;43145:122;43137:157;;;::::0;;-1:-1:-1;;;43137:157:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;43137:157:0;;;;;;;;;;;;;::::1;;43347:19;43377:20:::0;43550:64:::1;43579:9;:34;;;43550:9;:24;;;:28;;:64;;;;:::i;:::-;43536:78;;43640:50;43663:13;43678:11;43640:22;:50::i;:::-;43625:65:::0;-1:-1:-1;43715:29:0::1;:11:::0;43625:65;43715:29:::1;:15;:29;:::i;:::-;43827:24;::::0;::::1;:38:::0;;;43913:1:::1;43876:34;::::0;::::1;:38:::0;;;43998:28:::1;::::0;::::1;:44:::0;;;-1:-1:-1;;;;;44110:16:0;::::1;::::0;;:8:::1;:16;::::0;;;;;43701:43;;-1:-1:-1;44110:34:0::1;::::0;44131:12;44110:34:::1;:20;:34;:::i;:::-;-1:-1:-1::0;;;;;44091:16:0;;::::1;;::::0;;;:8:::1;:16;::::0;;;;;;;;:53;;;;44195:13:::1;::::0;44237:16:::1;::::0;44162:92;;44195:13;;;::::1;44162:92:::0;;;;::::1;::::0;;;;;;;;;;;;;;;;;;44180:13;;44162:92:::1;::::0;;;;;;;;::::1;44274:4;44267:11;;;;;31598:1;42634:1652:::0;;;;:::o;28310:148::-;27890:12;:10;:12::i;:::-;27880:6;;-1:-1:-1;;;;;27880:6:0;;;:22;;;27872:67;;;;;-1:-1:-1;;;27872:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28417:1:::1;28401:6:::0;;28380:40:::1;::::0;-1:-1:-1;;;;;28401:6:0;;::::1;::::0;28380:40:::1;::::0;28417:1;;28380:40:::1;28448:1;28431:19:::0;;-1:-1:-1;;;;;;28431:19:0::1;::::0;;28310:148::o;47519:1363::-;31509:13;;-1:-1:-1;;;;;31509:13:0;31495:10;:27;31473:114;;;;-1:-1:-1;;;31473:114:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47770:18:::1;;47755:12;:33;47747:69;;;::::0;;-1:-1:-1;;;47747:69:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;47747:69:0;;;;;;;;;;;;;::::1;;47872:35:::0;;::::1;47864:68;;;::::0;;-1:-1:-1;;;47864:68:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;47864:68:0;;;;;;;;;;;;;::::1;;48026:13;48002:20;;:37;47994:76;;;::::0;;-1:-1:-1;;;47994:76:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;48087:12;48083:790;48105:20:::0;;::::1;48083:790;;;48152:20;;:::i;:::-;48260:4;48248:16:::0;;:9:::1;48279:28;::::0;::::1;:32:::0;48347:11;;48359:4;48347:17;;::::1;;;;;;;::::0;;;::::1;;48326:18;::::0;::::1;:38:::0;-1:-1:-1;48379:22:0::1;::::0;::::1;:38:::0;;;48326:3;48480:15:::1;-1:-1:-1::0;48496:6:0;;48503:4;48496:12;;::::1;;;;;;::::0;;::::1;::::0;;;::::1;;-1:-1:-1::0;;;;;48496:12:0::1;48480:29:::0;;-1:-1:-1;48480:29:0;;::::1;::::0;;;;;;;;-1:-1:-1;48480:29:0;:35;;;;-1:-1:-1;;48480:35:0::1;::::0;::::1;;;::::0;;;;::::1;::::0;-1:-1:-1;48480:35:0;::::1;::::0;;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;48578:12:::1;48596:6:::0;;48603:4;48596:12;;::::1;;;;;27:10:-1::0;;39:1:::1;23:18:::0;::::1;45:23:::0;;-1:-1;48578:31:0;;;48596:12:::1;48578:31:::0;;;;::::1;::::0;;-1:-1:-1;;;;;;48578:31:0::1;-1:-1:-1::0;;;;;48596:12:0;;;::::1;::::0;;;::::1;;::::0;;;::::1;48578:31:::0;;;::::1;::::0;;-1:-1:-1;48691:11:0;;48703:4;48691:17;;::::1;;;;;;;;;;;48666:8;:22;48675:6;;48682:4;48675:12;;;;;;;;;;;;;-1:-1:-1::0;;;;;48675:12:0::1;-1:-1:-1::0;;;;;48666:22:0::1;-1:-1:-1::0;;;;;48666:22:0::1;;;;;;;;;;;;:42;;;;48820:39;48841:11;;48853:4;48841:17;;;;;;;;;;;;;48820:16;;:20;;:39;;;;:::i;:::-;48801:16;:58:::0;-1:-1:-1;48127:6:0::1;;48083:790;;;;47519:1363:::0;;;;;:::o;34606:1879::-;31509:13;;-1:-1:-1;;;;;31509:13:0;31495:10;:27;31473:114;;;;-1:-1:-1;;;31473:114:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34929:3:::1;34913:12;:19;;:58;;;;;34951:20;34936:12;:35;34913:58;:103;;;;;34998:18;34975:20;:41;34913:103;:155;;;;;35041:27;35020:18;:48;34913:155;:199;;;;;35102:10;35072:27;:40;34913:199;34905:232;;;::::0;;-1:-1:-1;;;34905:232:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;34905:232:0;;;;;;;;;;;;;::::1;;35178:1;35156:19;:23;:40;;;;;35195:1;35183:9;:13;35156:40;35148:68;;;::::0;;-1:-1:-1;;;35148:68:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;35148:68:0;;;;;;;;;;;;;::::1;;35273:20;::::0;:25;;:162:::1;;-1:-1:-1::0;35318:20:0::1;::::0;35309:30:::1;::::0;;;:8:::1;:30;::::0;;;;:48:::1;;::::0;35303:3:::1;:54;:131:::0;::::1;;;-1:-1:-1::0;35386:20:0::1;::::0;35377:30:::1;::::0;;;:8:::1;:30;::::0;;;;:57:::1;;::::0;35361:73;::::1;;35303:131;35265:224;;;;-1:-1:-1::0;;;35265:224:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35573:20;::::0;;35596:1:::1;35573:24;35550:47:::0;;35608:30:::1;;:::i;:::-;35686:38:::0;;;35735:31:::1;::::0;;::::1;:54:::0;;;35800:29:::1;::::0;;::::1;:50:::0;;;35861:38:::1;::::0;::::1;:68:::0;;;35940:21:::1;::::0;::::1;:34:::0;;;35985:30:::1;::::0;::::1;:52:::0;;;36048:20:::1;::::0;::::1;:32:::0;;;36099:46;::::1;;:27;::::0;::::1;:46:::0;;;36167:20:::1;::::0;;-1:-1:-1;36158:30:0;;;:8:::1;:30:::0;;;;;;;;:44;;;;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;;;;;;::::1;::::0;;-1:-1:-1;;36158:44:0::1;::::0;::::1;;::::0;;;::::1;::::0;;;;;::::1;::::0;;::::1;::::0;36303:16:::1;::::0;:41:::1;::::0;35985:52;36303:20:::1;:41::i;:::-;36284:16;:60:::0;36375:20:::1;::::0;36362:113:::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;;;;;;;;;;;;;36397:10:::1;::::0;36375:20;36362:113:::1;::::0;;;;;;;;::::1;31598:1;34606:1879:::0;;;;;;;;:::o;30051:48::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;30369:31::-;;;;:::o;27668:79::-;27706:7;27733:6;-1:-1:-1;;;;;27733:6:0;27668:79;:::o;33955:235::-;27890:12;:10;:12::i;:::-;27880:6;;-1:-1:-1;;;;;27880:6:0;;;:22;;;27872:67;;;;;-1:-1:-1;;;27872:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34038:25:0;::::1;34030:62;;;::::0;;-1:-1:-1;;;34030:62:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;34113:13;:27:::0;;-1:-1:-1;;;;;34113:27:0;::::1;-1:-1:-1::0;;;;;;34113:27:0;;::::1;::::0;::::1;::::0;;;34158:24:::1;::::0;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;33955:235:::0;:::o;29131:33::-;;;;:::o;37426:665::-;31756:20;;31747:30;;;;:8;:30;;;;;:42;31740:3;:49;;;;:124;;-1:-1:-1;31823:20:0;;31814:30;;;;:8;:30;;;;;:50;;;31807:3;:57;;31740:124;:196;;;;-1:-1:-1;31891:20:0;;31882:30;;;;:8;:30;;;;;;;;:46;;;;:54;;:46;:54;31740:196;31718:280;;;;-1:-1:-1;;;31718:280:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37507:10:::1;32101:24;32171:23:::0;;;:15:::1;:23;::::0;;;;:48:::1;;::::0;37519:11;;32101:24;32155:65:::1;::::0;37519:11;;32155:65:::1;:15;:65;:::i;:::-;-1:-1:-1::0;;;;;32271:23:0;::::1;;::::0;;;:15:::1;:23;::::0;;;;:38:::1;;::::0;32136:84;;-1:-1:-1;32250:60:0::1;::::0;32136:84;;32250:60:::1;:20;:60;:::i;:::-;32231:79;;32391:1;32377:11;:15;:92;;;;-1:-1:-1::0;32439:20:0::1;::::0;;32430:30:::1;::::0;;;:8:::1;:30;::::0;;;;:39:::1;::::0;32410:59;::::1;;32377:92;32355:164;;;::::0;;-1:-1:-1;;;32355:164:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;32355:164:0;;;;;;;;;;;;;::::1;;37597:5:::2;::::0;:58:::2;::::0;;-1:-1:-1;;;37597:58:0;;37616:10:::2;37597:58;::::0;::::2;::::0;37636:4:::2;37597:58:::0;;;;;;;;;;;;-1:-1:-1;;;;;37597:5:0;;::::2;::::0;:18:::2;::::0;:58;;;;;::::2;::::0;;;;;;;;;:5:::2;::::0;:58;::::2;;5:2:-1::0;::::2;;;30:1;27::::0;20:12:::2;5:2;37597:58:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::2;77:16;74:1;67:27;5:2;37597:58:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26::::0;19:12:::2;2:2;-1:-1:::0;37597:58:0;37589:111:::2;;;;-1:-1:-1::0;;;37589:111:0::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37713:37;37726:10;37738:11;37713:12;:37::i;:::-;-1:-1:-1::0;37831:10:0::2;37822:20;::::0;;;:8:::2;:20;::::0;;;;;:37:::2;::::0;37847:11;37822:37:::2;:24;:37;:::i;:::-;37808:10;37799:20;::::0;;;:8:::2;:20;::::0;;;;:60;37964:16:::2;::::0;:33:::2;::::0;37985:11;37964:33:::2;:20;:33;:::i;:::-;37945:16;:52:::0;38035:20:::2;::::0;38023:58:::2;::::0;;;;;;;38057:10:::2;::::0;38035:20;38023:58:::2;::::0;;;;;::::2;::::0;;::::2;32009:1:::1;;;37426:665:::0;:::o;39714:1264::-;31509:13;;-1:-1:-1;;;;;31509:13:0;31495:10;:27;31473:114;;;;-1:-1:-1;;;31473:114:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39883:23:::1;::::0;;;:8:::1;:23;::::0;;;;:43:::1;;::::0;39877:3:::1;:49;:90:::0;::::1;;;;39954:13;39930:20;;:37;39877:90;39869:141;;;;-1:-1:-1::0;;;39869:141:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;40053:23:0;::::1;40023:27;40053:23:::0;;;:15:::1;:23;::::0;;;;40176:34:::1;::::0;::::1;::::0;40168:75:::1;;;::::0;;-1:-1:-1;;;40168:75:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;40302:34;::::0;;::::1;::::0;40409:5;;:58:::1;::::0;;-1:-1:-1;;;40409:58:0;;-1:-1:-1;;;;;40409:58:0;;::::1;;::::0;::::1;::::0;;;;;;;;;:5;;;::::1;::::0;:14:::1;::::0;:58;;;;;::::1;::::0;;;;;;;;40256:20:::1;40409:5:::0;:58;::::1;;5:2:-1::0;::::1;;;30:1;27::::0;20:12:::1;5:2;40409:58:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;40409:58:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26::::0;19:12:::1;2:2;-1:-1:::0;40409:58:0;40401:115:::1;;;;-1:-1:-1::0;;;40401:115:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40605:34;::::0;::::1;::::0;-1:-1:-1;;;;;40584:16:0;::::1;;::::0;;;:8:::1;:16;::::0;;;;;:56:::1;::::0;::::1;:20;:56;:::i;:::-;-1:-1:-1::0;;;;;40565:16:0;::::1;;::::0;;;:8:::1;:16;::::0;;;;:75;40766:34:::1;::::0;::::1;::::0;40745:16:::1;::::0;:56:::1;::::0;::::1;:20;:56;:::i;:::-;40726:16;:75:::0;40889:1:::1;40852:34;::::0;::::1;:38:::0;40908:60:::1;::::0;;;;;;;40943:10:::1;::::0;-1:-1:-1;;;;;40908:60:0;::::1;::::0;40920:13;;40908:60:::1;::::0;;;;;::::1;::::0;;::::1;31598:1;;39714:1264:::0;;:::o;41061:1144::-;32693:10;32722:1;32677:27;;;:15;:27;;;;;:42;;;41153:13;;32677:46;;;:112;;-1:-1:-1;32743:10:0;32788:1;32727:27;;;:15;:27;;;;;;;;:58;;;:43;;:58;;;;;;:62;;32677:112;32676:190;;;;-1:-1:-1;32816:23:0;;;;:8;:23;;;;;:50;;;32809:3;:57;;32676:190;:247;;;;-1:-1:-1;32890:23:0;;;;:8;:23;;;;;:33;;;32883:3;:40;;32676:247;32654:346;;;;-1:-1:-1;;;32654:346:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41227:10:::1;41181:27;41211::::0;;;:15:::1;:27;::::0;;;;41314:4:::1;41299:19:::0;::::1;;;:67:::0;::::1;;;-1:-1:-1::0;41365:1:0::1;41322:40:::0;;;:25:::1;::::0;::::1;:40;::::0;;;;;:44;;41299:67:::1;41298:127;;;-1:-1:-1::0;41372:20:0;::::1;::::0;::::1;:52;;;41423:1;41396:9;:24;;;:28;41372:52;41290:166;;;::::0;;-1:-1:-1;;;41290:166:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;41472:11;41469:654;;;41619:40;::::0;;;:25:::1;::::0;::::1;:40;::::0;;;;;41598:16:::1;::::0;:62:::1;::::0;::::1;:20;:62;:::i;:::-;41579:16;:81:::0;41704:40:::1;::::0;;;:25:::1;::::0;::::1;:40;::::0;;;;;;41677:24:::1;::::0;::::1;:67:::0;41759:44;41469:654:::1;;;41957:24;::::0;::::1;::::0;41936:16:::1;::::0;:46:::1;::::0;::::1;:20;:46;:::i;:::-;41917:16;:65:::0;42042:24:::1;::::0;::::1;::::0;;41999:40:::1;::::0;;;:25:::1;::::0;::::1;:40;::::0;;;;:67;;;;42081:28;;41469:654:::1;42140:55;::::0;;;::::1;;::::0;;;;42171:10:::1;::::0;42156:13;;42140:55:::1;::::0;;;;::::1;::::0;;::::1;33011:1;41061:1144:::0;;;:::o;29062:28::-;;;-1:-1:-1;;;;;29062:28:0;;:::o;38149:1510::-;38266:23;;;;:8;:23;;;;;:35;38259:3;:42;;;;:96;;-1:-1:-1;38312:23:0;;;;:8;:23;;;;;:43;;;38305:3;:50;;38259:96;38236:191;;;;-1:-1:-1;;;38236:191:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38486:10;38440:27;38470;;;:15;:27;;;;;38562:15;;;;;:77;;;38628:11;38590:9;:34;;;:49;;38562:77;38554:134;;;;-1:-1:-1;;;38554:134:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38842:23;;;;:8;:23;;;;;:32;;;38787:34;;;;:51;;38826:11;38787:51;:38;:51;:::i;:::-;:87;;:154;;;;38930:11;38892:9;:34;;;:49;38787:154;38765:268;;;;-1:-1:-1;;;38765:268:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39143:34;;;;:51;;39182:11;39143:51;:38;:51;:::i;:::-;39106:34;;;:88;39275:10;39266:20;;;;:8;:20;;;;;;:37;;39291:11;39266:37;:24;:37;:::i;:::-;39252:10;39243:20;;;;:8;:20;;;;;:60;39408:16;;:33;;39429:11;39408:33;:20;:33;:::i;:::-;39389:16;:52;39497:5;;:39;;;-1:-1:-1;;;39497:39:0;;39512:10;39497:39;;;;;;;;;;;;-1:-1:-1;;;;;39497:5:0;;;;:14;;:39;;;;;;;;;;;;;;;:5;;:39;;;5:2:-1;;;;30:1;27;20:12;5:2;39497:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;39497:39:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;39497:39:0;39489:91;;;;-1:-1:-1;;;39489:91:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39598:53;;;;;;;;39627:10;;39612:13;;39598:53;;;;;;;;;38149:1510;;;:::o;28613:244::-;27890:12;:10;:12::i;:::-;27880:6;;-1:-1:-1;;;;;27880:6:0;;;:22;;;27872:67;;;;;-1:-1:-1;;;27872:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;28702:22:0;::::1;28694:73;;;;-1:-1:-1::0;;;28694:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28804:6;::::0;;28783:38:::1;::::0;-1:-1:-1;;;;;28783:38:0;;::::1;::::0;28804:6;::::1;::::0;28783:38:::1;::::0;::::1;28832:6;:17:::0;;-1:-1:-1;;;;;;28832:17:0::1;-1:-1:-1::0;;;;;28832:17:0;;;::::1;::::0;;;::::1;::::0;;28613:244::o;48921:103::-;48968:16;49004:12;48997:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;48997:19:0;;;;;;;;;;;;;;;;;;;;;;;48921:103;:::o;29008:18::-;;;-1:-1:-1;;;;;29008:18:0;;:::o;5304:136::-;5362:7;5389:43;5393:1;5396;5389:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;5382:50;5304:136;-1:-1:-1;;;5304:136:0:o;4840:181::-;4898:7;4930:5;;;4954:6;;;;4946:46;;;;;-1:-1:-1;;;4946:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;42215:345;42313:7;42474:23;;;:8;:23;;;;;:42;;;42453:16;;42313:7;;42389:129;;42453:64;;;:20;:64;:::i;:::-;42405:23;;;;:8;:23;;;;;:42;;;42389:59;;:11;;:59;:15;:59;:::i;:::-;:63;:129;:63;:129;:::i;:::-;42370:148;42215:345;-1:-1:-1;;;;42215:345:0:o;670:106::-;758:10;670:106;:::o;36525:838::-;-1:-1:-1;;;;;36650:23:0;;36601:4;36650:23;;;:15;:23;;;;;36746:15;;;;36743:587;;;36817:34;;;;:51;;36856:11;36817:51;:38;:51;:::i;:::-;36780:34;;;:88;36743:587;;;36905:20;;:::i;:::-;36997:4;36985:16;;;37016:28;;;;:42;;;-1:-1:-1;37073:18:0;;;;:22;;;37110;;;:26;;;-1:-1:-1;;;;;37199:23:0;;;;;:15;:23;;;;;;:29;;;;-1:-1:-1;;37199:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37291:12;27:10:-1;;23:18;;;45:23;;37291:25:0;;;;;;;-1:-1:-1;;;;;;37291:25:0;;;;;;36743:587;-1:-1:-1;37349:4:0;;36525:838;-1:-1:-1;;;36525:838:0:o;5743:192::-;5829:7;5865:12;5857:6;;;;5849:29;;;;-1:-1:-1;;;5849:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;5849:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5901:5:0;;;5743:192::o;6194:471::-;6252:7;6497:6;6493:47;;-1:-1:-1;6527:1:0;6520:8;;6493:47;6564:5;;;6568:1;6564;:5;:1;6588:5;;;;;:10;6580:56;;;;-1:-1:-1;;;6580:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7141:132;7199:7;7226:39;7230:1;7233;7226:39;;;;;;;;;;;;;;;;;7855:7;7890:12;7883:5;7875:28;;;;-1:-1:-1;;;7875:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;7875:28:0;;7914:9;7930:1;7926;:5;;;;;;;7769:278;-1:-1:-1;;;;;7769:278:0:o;28934:20767::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o
Swarm Source
ipfs://e7a96e8dd6fa51c75d6161b67d1a1ac549336ef8103e36d02c1caeb2f6b133e3
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $0.557468 | 31,655,310.3947 | $17,646,822.58 |
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.