More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 70,499 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Unstake | 60669100 | 2 days ago | IN | 0 AVAX | 0.00021959 | ||||
Unstake | 60667207 | 2 days ago | IN | 0 AVAX | 0.00022168 | ||||
Unstake | 60601398 | 3 days ago | IN | 0 AVAX | 0.00022171 | ||||
Unstake | 59185156 | 29 days ago | IN | 0 AVAX | 0.00034221 | ||||
Claim | 58917795 | 35 days ago | IN | 0 AVAX | 0.00004213 | ||||
Toggle Deposit L... | 58917766 | 35 days ago | IN | 0 AVAX | 0.00005741 | ||||
Unstake | 58001412 | 54 days ago | IN | 0 AVAX | 0.00034221 | ||||
Unstake | 57996493 | 54 days ago | IN | 0 AVAX | 0.00034221 | ||||
Unstake | 57688507 | 60 days ago | IN | 0 AVAX | 0.00034221 | ||||
Unstake | 57688485 | 60 days ago | IN | 0 AVAX | 0.00029946 | ||||
Unstake | 57688435 | 60 days ago | IN | 0 AVAX | 0.00030413 | ||||
Unstake | 57688417 | 60 days ago | IN | 0 AVAX | 0.00030306 | ||||
Unstake | 57688386 | 60 days ago | IN | 0 AVAX | 0.00034221 | ||||
Unstake | 57110624 | 72 days ago | IN | 0 AVAX | 0.00035794 | ||||
Unstake | 57026094 | 73 days ago | IN | 0 AVAX | 0.00034221 | ||||
Unstake | 56873722 | 77 days ago | IN | 0 AVAX | 0.00036148 | ||||
Unstake | 56727313 | 79 days ago | IN | 0 AVAX | 0.0001711 | ||||
Unstake | 56551915 | 83 days ago | IN | 0 AVAX | 0.00034221 | ||||
Unstake | 56403888 | 86 days ago | IN | 0 AVAX | 0.00034221 | ||||
Unstake | 56306399 | 88 days ago | IN | 0 AVAX | 0.00034221 | ||||
Unstake | 55724780 | 100 days ago | IN | 0 AVAX | 0.00034221 | ||||
Unstake | 55310935 | 109 days ago | IN | 0 AVAX | 0.00029949 | ||||
Claim | 55310899 | 109 days ago | IN | 0 AVAX | 0.00008179 | ||||
Unstake | 55253252 | 110 days ago | IN | 0 AVAX | 0.00034221 | ||||
Unstake | 55095629 | 113 days ago | IN | 0 AVAX | 0.00024501 |
Loading...
Loading
Contract Name:
TimeStaking
Compiler Version
v0.7.5+commit.eb77ed08
Contract Source Code (Solidity)
/** *Submitted for verification at snowscan.xyz on 2021-11-05 */ // SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity 0.7.5; 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; } function add32(uint32 a, uint32 b) internal pure returns (uint32) { uint32 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; } } interface IERC20 { function decimals() external view returns (uint8); /** * @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); } 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} */ 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). * * * 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"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, 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); } } } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.3._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.3._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) private pure returns(bytes memory) { 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); } } } function addressToString(address _address) internal pure returns(string memory) { bytes32 _bytes = bytes32(uint256(_address)); bytes memory HEX = "0123456789abcdef"; bytes memory _addr = new bytes(42); _addr[0] = '0'; _addr[1] = 'x'; for(uint256 i = 0; i < 20; i++) { _addr[2+i*2] = HEX[uint8(_bytes[i + 12] >> 4)]; _addr[3+i*2] = HEX[uint8(_bytes[i + 12] & 0x0f)]; } return string(_addr); } } library SafeERC20 { using SafeMath for uint256; using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require((value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).add(value); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) .sub(value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } interface IOwnable { function manager() external view returns (address); function renounceManagement() external; function pushManagement( address newOwner_ ) external; function pullManagement() external; } contract Ownable is IOwnable { address internal _owner; address internal _newOwner; event OwnershipPushed(address indexed previousOwner, address indexed newOwner); event OwnershipPulled(address indexed previousOwner, address indexed newOwner); constructor () { _owner = msg.sender; emit OwnershipPushed( address(0), _owner ); } function manager() public view override returns (address) { return _owner; } modifier onlyManager() { require( _owner == msg.sender, "Ownable: caller is not the owner" ); _; } function renounceManagement() public virtual override onlyManager() { emit OwnershipPushed( _owner, address(0) ); _owner = address(0); } function pushManagement( address newOwner_ ) public virtual override onlyManager() { require( newOwner_ != address(0), "Ownable: new owner is the zero address"); emit OwnershipPushed( _owner, newOwner_ ); _newOwner = newOwner_; } function pullManagement() public virtual override { require( msg.sender == _newOwner, "Ownable: must be new owner to pull"); emit OwnershipPulled( _owner, _newOwner ); _owner = _newOwner; } } interface IMemo { function rebase( uint256 ohmProfit_, uint epoch_) external returns (uint256); function circulatingSupply() external view returns (uint256); function balanceOf(address who) external view returns (uint256); function gonsForBalance( uint amount ) external view returns ( uint ); function balanceForGons( uint gons ) external view returns ( uint ); function index() external view returns ( uint ); } interface IWarmup { function retrieve( address staker_, uint amount_ ) external; } interface IDistributor { function distribute() external returns ( bool ); } contract TimeStaking is Ownable { using SafeMath for uint256; using SafeMath for uint32; using SafeERC20 for IERC20; address public immutable Time; address public immutable Memories; struct Epoch { uint number; uint distribute; uint32 length; uint32 endTime; } Epoch public epoch; address public distributor; address public locker; uint public totalBonus; address public warmupContract; uint public warmupPeriod; constructor ( address _Time, address _Memories, uint32 _epochLength, uint _firstEpochNumber, uint32 _firstEpochTime ) { require( _Time != address(0) ); Time = _Time; require( _Memories != address(0) ); Memories = _Memories; epoch = Epoch({ length: _epochLength, number: _firstEpochNumber, endTime: _firstEpochTime, distribute: 0 }); } struct Claim { uint deposit; uint gons; uint expiry; bool lock; // prevents malicious delays } mapping( address => Claim ) public warmupInfo; /** @notice stake OHM to enter warmup @param _amount uint @return bool */ function stake( uint _amount, address _recipient ) external returns ( bool ) { rebase(); IERC20( Time ).safeTransferFrom( msg.sender, address(this), _amount ); Claim memory info = warmupInfo[ _recipient ]; require( !info.lock, "Deposits for account are locked" ); warmupInfo[ _recipient ] = Claim ({ deposit: info.deposit.add( _amount ), gons: info.gons.add( IMemo( Memories ).gonsForBalance( _amount ) ), expiry: epoch.number.add( warmupPeriod ), lock: false }); IERC20( Memories ).safeTransfer( warmupContract, _amount ); return true; } /** @notice retrieve sOHM from warmup @param _recipient address */ function claim ( address _recipient ) public { Claim memory info = warmupInfo[ _recipient ]; if ( epoch.number >= info.expiry && info.expiry != 0 ) { delete warmupInfo[ _recipient ]; IWarmup( warmupContract ).retrieve( _recipient, IMemo( Memories ).balanceForGons( info.gons ) ); } } /** @notice forfeit sOHM in warmup and retrieve OHM */ function forfeit() external { Claim memory info = warmupInfo[ msg.sender ]; delete warmupInfo[ msg.sender ]; IWarmup( warmupContract ).retrieve( address(this), IMemo( Memories ).balanceForGons( info.gons ) ); IERC20( Time ).safeTransfer( msg.sender, info.deposit ); } /** @notice prevent new deposits to address (protection from malicious activity) */ function toggleDepositLock() external { warmupInfo[ msg.sender ].lock = !warmupInfo[ msg.sender ].lock; } /** @notice redeem sOHM for OHM @param _amount uint @param _trigger bool */ function unstake( uint _amount, bool _trigger ) external { if ( _trigger ) { rebase(); } IERC20( Memories ).safeTransferFrom( msg.sender, address(this), _amount ); IERC20( Time ).safeTransfer( msg.sender, _amount ); } /** @notice returns the sOHM index, which tracks rebase growth @return uint */ function index() public view returns ( uint ) { return IMemo( Memories ).index(); } /** @notice trigger rebase if epoch over */ function rebase() public { if( epoch.endTime <= uint32(block.timestamp) ) { IMemo( Memories ).rebase( epoch.distribute, epoch.number ); epoch.endTime = epoch.endTime.add32( epoch.length ); epoch.number++; if ( distributor != address(0) ) { IDistributor( distributor ).distribute(); } uint balance = contractBalance(); uint staked = IMemo( Memories ).circulatingSupply(); if( balance <= staked ) { epoch.distribute = 0; } else { epoch.distribute = balance.sub( staked ); } } } /** @notice returns contract OHM holdings, including bonuses provided @return uint */ function contractBalance() public view returns ( uint ) { return IERC20( Time ).balanceOf( address(this) ).add( totalBonus ); } /** @notice provide bonus to locked staking contract @param _amount uint */ function giveLockBonus( uint _amount ) external { require( msg.sender == locker ); totalBonus = totalBonus.add( _amount ); IERC20( Memories ).safeTransfer( locker, _amount ); } /** @notice reclaim bonus from locked staking contract @param _amount uint */ function returnLockBonus( uint _amount ) external { require( msg.sender == locker ); totalBonus = totalBonus.sub( _amount ); IERC20( Memories ).safeTransferFrom( locker, address(this), _amount ); } enum CONTRACTS { DISTRIBUTOR, WARMUP, LOCKER } /** @notice sets the contract address for LP staking @param _contract address */ function setContract( CONTRACTS _contract, address _address ) external onlyManager() { if( _contract == CONTRACTS.DISTRIBUTOR ) { // 0 distributor = _address; } else if ( _contract == CONTRACTS.WARMUP ) { // 1 require( warmupContract == address( 0 ), "Warmup cannot be set more than once" ); warmupContract = _address; } else if ( _contract == CONTRACTS.LOCKER ) { // 2 require( locker == address(0), "Locker cannot be set more than once" ); locker = _address; } } /** * @notice set warmup period in epoch's numbers for new stakers * @param _warmupPeriod uint */ function setWarmup( uint _warmupPeriod ) external onlyManager() { warmupPeriod = _warmupPeriod; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_Time","type":"address"},{"internalType":"address","name":"_Memories","type":"address"},{"internalType":"uint32","name":"_epochLength","type":"uint32"},{"internalType":"uint256","name":"_firstEpochNumber","type":"uint256"},{"internalType":"uint32","name":"_firstEpochTime","type":"uint32"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipPulled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipPushed","type":"event"},{"inputs":[],"name":"Memories","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Time","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"distributor","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"epoch","outputs":[{"internalType":"uint256","name":"number","type":"uint256"},{"internalType":"uint256","name":"distribute","type":"uint256"},{"internalType":"uint32","name":"length","type":"uint32"},{"internalType":"uint32","name":"endTime","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"forfeit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"giveLockBonus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"index","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"locker","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"manager","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pullManagement","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner_","type":"address"}],"name":"pushManagement","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rebase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceManagement","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"returnLockBonus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum TimeStaking.CONTRACTS","name":"_contract","type":"uint8"},{"internalType":"address","name":"_address","type":"address"}],"name":"setContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_warmupPeriod","type":"uint256"}],"name":"setWarmup","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_recipient","type":"address"}],"name":"stake","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleDepositLock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalBonus","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bool","name":"_trigger","type":"bool"}],"name":"unstake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"warmupContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"warmupInfo","outputs":[{"internalType":"uint256","name":"deposit","type":"uint256"},{"internalType":"uint256","name":"gons","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"bool","name":"lock","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"warmupPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60c060405234801561001057600080fd5b50604051612bf5380380612bf5833981810160405260a081101561003357600080fd5b810190808051906020019092919080519060200190929190805190602001909291908051906020019092919080519060200190929190505050336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fea8258f2d9ddb679928cf34b78cf645b7feda9acc828e4dd82d014eaae270eba60405160405180910390a3600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141561016157600080fd5b8473ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b81525050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156101d257600080fd5b8373ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b815250506040518060800160405280838152602001600081526020018463ffffffff1681526020018263ffffffff168152506002600082015181600001556020820151816001015560408201518160020160006101000a81548163ffffffff021916908363ffffffff16021790555060608201518160020160046101000a81548163ffffffff021916908363ffffffff160217905550905050505050505060805160601c60a05160601c6128e3610312600039806106a752806109cc5280610aee5280610b94528061114f52806112e0528061184c528061190f5280611b535280611eac52806120b6525080610fd9528061167852806118985280611fd0528061210052506128e36000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c80638f077b83116100de578063c9f464ff11610097578063ed4acaa811610071578063ed4acaa814610569578063f3d86e4a1461059d578063f62ae76a146105a7578063f8e157ea146105d557610173565b8063c9f464ff146104e9578063d7b96d4e14610517578063deac361a1461054b57610173565b80638f077b831461040a578063900cf0cf146104145780639ebea88c14610453578063a8dd07dc1461048d578063af14052c146104ab578063bfe10928146104b557610173565b8063481c6a7511610130578063481c6a751461028a5780635a96ac0a146102be5780636746f4c2146102c85780637acb775714610337578063865e6fd31461039b5780638b7afe2e146103ec57610173565b806303c2367014610178578063089208d8146101a65780631e83409a146101b05780632986c0e5146101f4578063367efb621461021257806346f68ee914610246575b600080fd5b6101a46004803603602081101561018e57600080fd5b8101908080359060200190929190505050610609565b005b6101ae6106ee565b005b6101f2600480360360208110156101c657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061086d565b005b6101fc610aea565b6040518082815260200191505060405180910390f35b61021a610b92565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6102886004803603602081101561025c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610bb6565b005b610292610dbb565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6102c6610de4565b005b61030a600480360360208110156102de57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610f8a565b60405180858152602001848152602001838152602001821515815260200194505050505060405180910390f35b6103836004803603604081101561034d57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610fc7565b60405180821515815260200191505060405180910390f35b6103ea600480360360408110156103b157600080fd5b81019080803560ff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061132f565b005b6103f461166e565b6040518082815260200191505060405180910390f35b61041261174b565b005b61041c6117f7565b604051808581526020018481526020018363ffffffff1681526020018263ffffffff16815260200194505050505060405180910390f35b61048b6004803603604081101561046957600080fd5b8101908080359060200190929190803515159060200190929190505050611835565b005b6104956118e0565b6040518082815260200191505060405180910390f35b6104b36118e6565b005b6104bd611c2d565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610515600480360360208110156104ff57600080fd5b8101908080359060200190929190505050611c53565b005b61051f611d1e565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610553611d44565b6040518082815260200191505060405180910390f35b610571611d4a565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105a5611d70565b005b6105d3600480360360208110156105bd57600080fd5b8101908080359060200190929190505050612017565b005b6105dd6120fe565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461066357600080fd5b6106788160075461212290919063ffffffff16565b6007819055506106eb600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16827f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166121aa9092919063ffffffff16565b50565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146107af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fea8258f2d9ddb679928cf34b78cf645b7feda9acc828e4dd82d014eaae270eba60405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6108756127cb565b600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060800160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900460ff161515151581525050905080604001516002600001541015801561091857506000816040015114155b15610ae657600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600080820160009055600182016000905560028201600090556003820160006101000a81549060ff02191690555050600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c3a2a665837f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16637965d56d85602001516040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015610a3f57600080fd5b505afa158015610a53573d6000803e3d6000fd5b505050506040513d6020811015610a6957600080fd5b81019080805190602001909291905050506040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015610acd57600080fd5b505af1158015610ae1573d6000803e3d6000fd5b505050505b5050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16632986c0e56040518163ffffffff1660e01b815260040160206040518083038186803b158015610b5257600080fd5b505afa158015610b66573d6000803e3d6000fd5b505050506040513d6020811015610b7c57600080fd5b8101908080519060200190929190505050905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c77576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610cfd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806128196026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fea8258f2d9ddb679928cf34b78cf645b7feda9acc828e4dd82d014eaae270eba60405160405180910390a380600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610e8a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806128626022913960400191505060405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167faa151555690c956fc3ea32f106bb9f119b5237a061eaa8557cff3e51e3792c8d60405160405180910390a3600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600a6020528060005260406000206000915090508060000154908060010154908060020154908060030160009054906101000a900460ff16905084565b6000610fd16118e6565b61101e3330857f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1661224c909392919063ffffffff16565b6110266127cb565b600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060800160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900460ff1615151515815250509050806060015115611123576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f4465706f7369747320666f72206163636f756e7420617265206c6f636b65640081525060200191505060405180910390fd5b604051806080016040528061114586846000015161212290919063ffffffff16565b815260200161120c7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16631bd39674886040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b1580156111be57600080fd5b505afa1580156111d2573d6000803e3d6000fd5b505050506040513d60208110156111e857600080fd5b8101908080519060200190929190505050846020015161212290919063ffffffff16565b815260200161122b60095460026000015461212290919063ffffffff16565b815260200160001515815250600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548160ff021916908315150217905550905050611324600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16857f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166121aa9092919063ffffffff16565b600191505092915050565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146113f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600060028111156113fd57fe5b82600281111561140957fe5b14156114555780600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061166a565b6001600281111561146257fe5b82600281111561146e57fe5b141561156157600073ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461151b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602381526020018061283f6023913960400191505060405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611669565b60028081111561156d57fe5b82600281111561157957fe5b141561166857600073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611626576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806127f66023913960400191505060405180910390fd5b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b5b5b5050565b60006117466007547f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156116fd57600080fd5b505afa158015611711573d6000803e3d6000fd5b505050506040513d602081101561172757600080fd5b810190808051906020019092919050505061212290919063ffffffff16565b905090565b600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060030160009054906101000a900460ff1615600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060030160006101000a81548160ff021916908315150217905550565b60028060000154908060010154908060020160009054906101000a900463ffffffff16908060020160049054906101000a900463ffffffff16905084565b8015611844576118436118e6565b5b6118913330847f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1661224c909392919063ffffffff16565b6118dc33837f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166121aa9092919063ffffffff16565b5050565b60075481565b4263ffffffff166002800160049054906101000a900463ffffffff1663ffffffff1611611c2b577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663058ecdb46002600101546002600001546040518363ffffffff1660e01b81526004018083815260200182815260200192505050602060405180830381600087803b15801561199257600080fd5b505af11580156119a6573d6000803e3d6000fd5b505050506040513d60208110156119bc57600080fd5b810190808051906020019092919050505050611a0f6002800160009054906101000a900463ffffffff166002800160049054906101000a900463ffffffff1663ffffffff1661230d90919063ffffffff16565b6002800160046101000a81548163ffffffff021916908363ffffffff160217905550600260000160008154809291906001019190505550600073ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611b4357600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e4fc6b6d6040518163ffffffff1660e01b8152600401602060405180830381600087803b158015611b0657600080fd5b505af1158015611b1a573d6000803e3d6000fd5b505050506040513d6020811015611b3057600080fd5b8101908080519060200190929190505050505b6000611b4d61166e565b905060007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16639358928b6040518163ffffffff1660e01b815260040160206040518083038186803b158015611bb757600080fd5b505afa158015611bcb573d6000803e3d6000fd5b505050506040513d6020811015611be157600080fd5b81019080805190602001909291905050509050808211611c0b576000600260010181905550611c28565b611c1e81836123a190919063ffffffff16565b6002600101819055505b50505b565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611d14576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8060098190555050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60095481565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611d786127cb565b600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060800160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900460ff1615151515815250509050600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600080820160009055600182016000905560028201600090556003820160006101000a81549060ff02191690555050600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c3a2a665307f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16637965d56d85602001516040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015611f1f57600080fd5b505afa158015611f33573d6000803e3d6000fd5b505050506040513d6020811015611f4957600080fd5b81019080805190602001909291905050506040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015611fad57600080fd5b505af1158015611fc1573d6000803e3d6000fd5b505050506120143382600001517f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166121aa9092919063ffffffff16565b50565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461207157600080fd5b612086816007546123a190919063ffffffff16565b6007819055506120fb600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1630837f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1661224c909392919063ffffffff16565b50565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000808284019050838110156121a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6122478363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506123eb565b505050565b612307846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506123eb565b50505050565b60008082840190508363ffffffff168163ffffffff161015612397576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b60006123e383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506124da565b905092915050565b606061244d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661259a9092919063ffffffff16565b90506000815111156124d55780806020019051602081101561246e57600080fd5b81019080805190602001909291905050506124d4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612884602a913960400191505060405180910390fd5b5b505050565b6000838311158290612587576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561254c578082015181840152602081019050612531565b50505050905090810190601f1680156125795780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b60606125a984846000856125b2565b90509392505050565b60606125bd856127b8565b61262f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b6020831061267f578051825260208201915060208101905060208303925061265c565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146126e1576040519150601f19603f3d011682016040523d82523d6000602084013e6126e6565b606091505b509150915081156126fb5780925050506127b0565b60008151111561270e5780518082602001fd5b836040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561277557808201518184015260208101905061275a565b50505050905090810190601f1680156127a25780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b949350505050565b600080823b905060008111915050919050565b6040518060800160405280600081526020016000815260200160008152602001600015158152509056fe4c6f636b65722063616e6e6f7420626520736574206d6f7265207468616e206f6e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735761726d75702063616e6e6f7420626520736574206d6f7265207468616e206f6e63654f776e61626c653a206d757374206265206e6577206f776e657220746f2070756c6c5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220b7dee3e63cd8a1efb68151a4c0221947ce4abf8da715a4be0bbcf3183fd951f364736f6c634300070500330000000000000000000000007d1232b90d3f809a54eeaeebc639c62df8a8942f000000000000000000000000e9eb40d52ce4744322204d4a29af63c30f0260a4000000000000000000000000000000000000000000000000000000000000708000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000061864410
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101735760003560e01c80638f077b83116100de578063c9f464ff11610097578063ed4acaa811610071578063ed4acaa814610569578063f3d86e4a1461059d578063f62ae76a146105a7578063f8e157ea146105d557610173565b8063c9f464ff146104e9578063d7b96d4e14610517578063deac361a1461054b57610173565b80638f077b831461040a578063900cf0cf146104145780639ebea88c14610453578063a8dd07dc1461048d578063af14052c146104ab578063bfe10928146104b557610173565b8063481c6a7511610130578063481c6a751461028a5780635a96ac0a146102be5780636746f4c2146102c85780637acb775714610337578063865e6fd31461039b5780638b7afe2e146103ec57610173565b806303c2367014610178578063089208d8146101a65780631e83409a146101b05780632986c0e5146101f4578063367efb621461021257806346f68ee914610246575b600080fd5b6101a46004803603602081101561018e57600080fd5b8101908080359060200190929190505050610609565b005b6101ae6106ee565b005b6101f2600480360360208110156101c657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061086d565b005b6101fc610aea565b6040518082815260200191505060405180910390f35b61021a610b92565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6102886004803603602081101561025c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610bb6565b005b610292610dbb565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6102c6610de4565b005b61030a600480360360208110156102de57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610f8a565b60405180858152602001848152602001838152602001821515815260200194505050505060405180910390f35b6103836004803603604081101561034d57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610fc7565b60405180821515815260200191505060405180910390f35b6103ea600480360360408110156103b157600080fd5b81019080803560ff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061132f565b005b6103f461166e565b6040518082815260200191505060405180910390f35b61041261174b565b005b61041c6117f7565b604051808581526020018481526020018363ffffffff1681526020018263ffffffff16815260200194505050505060405180910390f35b61048b6004803603604081101561046957600080fd5b8101908080359060200190929190803515159060200190929190505050611835565b005b6104956118e0565b6040518082815260200191505060405180910390f35b6104b36118e6565b005b6104bd611c2d565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610515600480360360208110156104ff57600080fd5b8101908080359060200190929190505050611c53565b005b61051f611d1e565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610553611d44565b6040518082815260200191505060405180910390f35b610571611d4a565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105a5611d70565b005b6105d3600480360360208110156105bd57600080fd5b8101908080359060200190929190505050612017565b005b6105dd6120fe565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461066357600080fd5b6106788160075461212290919063ffffffff16565b6007819055506106eb600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16827f000000000000000000000000e9eb40d52ce4744322204d4a29af63c30f0260a473ffffffffffffffffffffffffffffffffffffffff166121aa9092919063ffffffff16565b50565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146107af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fea8258f2d9ddb679928cf34b78cf645b7feda9acc828e4dd82d014eaae270eba60405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6108756127cb565b600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060800160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900460ff161515151581525050905080604001516002600001541015801561091857506000816040015114155b15610ae657600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600080820160009055600182016000905560028201600090556003820160006101000a81549060ff02191690555050600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c3a2a665837f000000000000000000000000e9eb40d52ce4744322204d4a29af63c30f0260a473ffffffffffffffffffffffffffffffffffffffff16637965d56d85602001516040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015610a3f57600080fd5b505afa158015610a53573d6000803e3d6000fd5b505050506040513d6020811015610a6957600080fd5b81019080805190602001909291905050506040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015610acd57600080fd5b505af1158015610ae1573d6000803e3d6000fd5b505050505b5050565b60007f000000000000000000000000e9eb40d52ce4744322204d4a29af63c30f0260a473ffffffffffffffffffffffffffffffffffffffff16632986c0e56040518163ffffffff1660e01b815260040160206040518083038186803b158015610b5257600080fd5b505afa158015610b66573d6000803e3d6000fd5b505050506040513d6020811015610b7c57600080fd5b8101908080519060200190929190505050905090565b7f000000000000000000000000e9eb40d52ce4744322204d4a29af63c30f0260a481565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c77576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610cfd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806128196026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fea8258f2d9ddb679928cf34b78cf645b7feda9acc828e4dd82d014eaae270eba60405160405180910390a380600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610e8a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806128626022913960400191505060405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167faa151555690c956fc3ea32f106bb9f119b5237a061eaa8557cff3e51e3792c8d60405160405180910390a3600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600a6020528060005260406000206000915090508060000154908060010154908060020154908060030160009054906101000a900460ff16905084565b6000610fd16118e6565b61101e3330857f0000000000000000000000007d1232b90d3f809a54eeaeebc639c62df8a8942f73ffffffffffffffffffffffffffffffffffffffff1661224c909392919063ffffffff16565b6110266127cb565b600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060800160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900460ff1615151515815250509050806060015115611123576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f4465706f7369747320666f72206163636f756e7420617265206c6f636b65640081525060200191505060405180910390fd5b604051806080016040528061114586846000015161212290919063ffffffff16565b815260200161120c7f000000000000000000000000e9eb40d52ce4744322204d4a29af63c30f0260a473ffffffffffffffffffffffffffffffffffffffff16631bd39674886040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b1580156111be57600080fd5b505afa1580156111d2573d6000803e3d6000fd5b505050506040513d60208110156111e857600080fd5b8101908080519060200190929190505050846020015161212290919063ffffffff16565b815260200161122b60095460026000015461212290919063ffffffff16565b815260200160001515815250600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548160ff021916908315150217905550905050611324600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16857f000000000000000000000000e9eb40d52ce4744322204d4a29af63c30f0260a473ffffffffffffffffffffffffffffffffffffffff166121aa9092919063ffffffff16565b600191505092915050565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146113f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600060028111156113fd57fe5b82600281111561140957fe5b14156114555780600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061166a565b6001600281111561146257fe5b82600281111561146e57fe5b141561156157600073ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461151b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602381526020018061283f6023913960400191505060405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611669565b60028081111561156d57fe5b82600281111561157957fe5b141561166857600073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611626576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806127f66023913960400191505060405180910390fd5b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b5b5b5050565b60006117466007547f0000000000000000000000007d1232b90d3f809a54eeaeebc639c62df8a8942f73ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156116fd57600080fd5b505afa158015611711573d6000803e3d6000fd5b505050506040513d602081101561172757600080fd5b810190808051906020019092919050505061212290919063ffffffff16565b905090565b600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060030160009054906101000a900460ff1615600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060030160006101000a81548160ff021916908315150217905550565b60028060000154908060010154908060020160009054906101000a900463ffffffff16908060020160049054906101000a900463ffffffff16905084565b8015611844576118436118e6565b5b6118913330847f000000000000000000000000e9eb40d52ce4744322204d4a29af63c30f0260a473ffffffffffffffffffffffffffffffffffffffff1661224c909392919063ffffffff16565b6118dc33837f0000000000000000000000007d1232b90d3f809a54eeaeebc639c62df8a8942f73ffffffffffffffffffffffffffffffffffffffff166121aa9092919063ffffffff16565b5050565b60075481565b4263ffffffff166002800160049054906101000a900463ffffffff1663ffffffff1611611c2b577f000000000000000000000000e9eb40d52ce4744322204d4a29af63c30f0260a473ffffffffffffffffffffffffffffffffffffffff1663058ecdb46002600101546002600001546040518363ffffffff1660e01b81526004018083815260200182815260200192505050602060405180830381600087803b15801561199257600080fd5b505af11580156119a6573d6000803e3d6000fd5b505050506040513d60208110156119bc57600080fd5b810190808051906020019092919050505050611a0f6002800160009054906101000a900463ffffffff166002800160049054906101000a900463ffffffff1663ffffffff1661230d90919063ffffffff16565b6002800160046101000a81548163ffffffff021916908363ffffffff160217905550600260000160008154809291906001019190505550600073ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611b4357600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e4fc6b6d6040518163ffffffff1660e01b8152600401602060405180830381600087803b158015611b0657600080fd5b505af1158015611b1a573d6000803e3d6000fd5b505050506040513d6020811015611b3057600080fd5b8101908080519060200190929190505050505b6000611b4d61166e565b905060007f000000000000000000000000e9eb40d52ce4744322204d4a29af63c30f0260a473ffffffffffffffffffffffffffffffffffffffff16639358928b6040518163ffffffff1660e01b815260040160206040518083038186803b158015611bb757600080fd5b505afa158015611bcb573d6000803e3d6000fd5b505050506040513d6020811015611be157600080fd5b81019080805190602001909291905050509050808211611c0b576000600260010181905550611c28565b611c1e81836123a190919063ffffffff16565b6002600101819055505b50505b565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611d14576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8060098190555050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60095481565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611d786127cb565b600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060800160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900460ff1615151515815250509050600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600080820160009055600182016000905560028201600090556003820160006101000a81549060ff02191690555050600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c3a2a665307f000000000000000000000000e9eb40d52ce4744322204d4a29af63c30f0260a473ffffffffffffffffffffffffffffffffffffffff16637965d56d85602001516040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015611f1f57600080fd5b505afa158015611f33573d6000803e3d6000fd5b505050506040513d6020811015611f4957600080fd5b81019080805190602001909291905050506040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015611fad57600080fd5b505af1158015611fc1573d6000803e3d6000fd5b505050506120143382600001517f0000000000000000000000007d1232b90d3f809a54eeaeebc639c62df8a8942f73ffffffffffffffffffffffffffffffffffffffff166121aa9092919063ffffffff16565b50565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461207157600080fd5b612086816007546123a190919063ffffffff16565b6007819055506120fb600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1630837f000000000000000000000000e9eb40d52ce4744322204d4a29af63c30f0260a473ffffffffffffffffffffffffffffffffffffffff1661224c909392919063ffffffff16565b50565b7f0000000000000000000000007d1232b90d3f809a54eeaeebc639c62df8a8942f81565b6000808284019050838110156121a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6122478363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506123eb565b505050565b612307846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506123eb565b50505050565b60008082840190508363ffffffff168163ffffffff161015612397576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b60006123e383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506124da565b905092915050565b606061244d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661259a9092919063ffffffff16565b90506000815111156124d55780806020019051602081101561246e57600080fd5b81019080805190602001909291905050506124d4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612884602a913960400191505060405180910390fd5b5b505050565b6000838311158290612587576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561254c578082015181840152602081019050612531565b50505050905090810190601f1680156125795780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b60606125a984846000856125b2565b90509392505050565b60606125bd856127b8565b61262f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b6020831061267f578051825260208201915060208101905060208303925061265c565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146126e1576040519150601f19603f3d011682016040523d82523d6000602084013e6126e6565b606091505b509150915081156126fb5780925050506127b0565b60008151111561270e5780518082602001fd5b836040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561277557808201518184015260208101905061275a565b50505050905090810190601f1680156127a25780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b949350505050565b600080823b905060008111915050919050565b6040518060800160405280600081526020016000815260200160008152602001600015158152509056fe4c6f636b65722063616e6e6f7420626520736574206d6f7265207468616e206f6e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735761726d75702063616e6e6f7420626520736574206d6f7265207468616e206f6e63654f776e61626c653a206d757374206265206e6577206f776e657220746f2070756c6c5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220b7dee3e63cd8a1efb68151a4c0221947ce4abf8da715a4be0bbcf3183fd951f364736f6c63430007050033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007d1232b90d3f809a54eeaeebc639c62df8a8942f000000000000000000000000e9eb40d52ce4744322204d4a29af63c30f0260a4000000000000000000000000000000000000000000000000000000000000708000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000061864410
-----Decoded View---------------
Arg [0] : _Time (address): 0x7d1232B90D3F809A54eeaeeBC639C62dF8a8942f
Arg [1] : _Memories (address): 0xE9Eb40d52CE4744322204d4a29Af63C30f0260a4
Arg [2] : _epochLength (uint32): 28800
Arg [3] : _firstEpochNumber (uint256): 0
Arg [4] : _firstEpochTime (uint32): 1636189200
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000007d1232b90d3f809a54eeaeebc639c62df8a8942f
Arg [1] : 000000000000000000000000e9eb40d52ce4744322204d4a29af63c30f0260a4
Arg [2] : 0000000000000000000000000000000000000000000000000000000000007080
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000061864410
Deployed Bytecode Sourcemap
20867:6425:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25751:208;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;19560:159;;;:::i;:::-;;23030:341;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;24504:97;;;:::i;:::-;;;;;;;;;;;;;;;;;;;21044:33;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;19727:261;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;19333:90;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;20000:221;;;:::i;:::-;;22069:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22235:691;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;26475:570;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;25497:141;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23876:119;;;:::i;:::-;;21210:18;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24117:271;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;21304:22;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24673:701;;;:::i;:::-;;21237:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;27178:111;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;21276:21;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;21375:24;;;:::i;:::-;;;;;;;;;;;;;;;;;;;21339:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;23454:310;;;:::i;:::-;;26074:229;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;21008:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;25751:208;25833:6;;;;;;;;;;;25819:20;;:10;:20;;;25810:31;;;;;;25865:25;25881:7;25865:10;;:14;;:25;;;;:::i;:::-;25852:10;:38;;;;25901:50;25934:6;;;;;;;;;;;25942:7;25909:8;25901:31;;;;:50;;;;;:::i;:::-;25751:208;:::o;19560:159::-;19484:10;19474:20;;:6;;;;;;;;;;:20;;;19465:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19677:1:::1;19644:37;;19661:6;::::0;::::1;;;;;;;;19644:37;;;;;;;;;;;;19709:1;19692:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;19560:159::o:0;23030:341::-;23086:17;;:::i;:::-;23106:10;:24;23118:10;23106:24;;;;;;;;;;;;;;;23086:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23162:4;:11;;;23146:5;:12;;;:27;;:47;;;;;23192:1;23177:4;:11;;;:16;;23146:47;23141:223;;;23218:10;:24;23230:10;23218:24;;;;;;;;;;;;;;;;23211:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23266:14;;;;;;;;;;;23257:34;;;23293:10;23312:8;23305:32;;;23339:4;:9;;;23305:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23257:95;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23141:223;23030:341;;:::o;24504:97::-;24543:4;24575:8;24568:23;;;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24561:32;;24504:97;:::o;21044:33::-;;;:::o;19727:261::-;19484:10;19474:20;;:6;;;;;;;;;;:20;;;19465:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19851:1:::1;19830:23;;:9;:23;;;;19821:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19937:9;19912:36;;19929:6;::::0;::::1;;;;;;;;19912:36;;;;;;;;;;;;19971:9;19959;;:21;;;;;;;;;;;;;;;;;;19727:261:::0;:::o;19333:90::-;19382:7;19409:6;;;;;;;;;;;19402:13;;19333:90;:::o;20000:221::-;20084:9;;;;;;;;;;;20070:23;;:10;:23;;;20061:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20173:9;;;;;;;;;;;20148:36;;20165:6;;;;;;;;;;20148:36;;;;;;;;;;;;20204:9;;;;;;;;;;;20195:6;;:18;;;;;;;;;;;;;;;;;;20000:221::o;22069:45::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;22235:691::-;22305:4;22323:8;:6;:8::i;:::-;22352:69;22385:10;22405:4;22412:7;22360:4;22352:31;;;;:69;;;;;;:::i;:::-;22434:17;;:::i;:::-;22454:10;:24;22466:10;22454:24;;;;;;;;;;;;;;;22434:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22499:4;:9;;;22498:10;22489:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22585:232;;;;;;;;22616:27;22634:7;22616:4;:12;;;:16;;:27;;;;:::i;:::-;22585:232;;;;22664:60;22686:8;22679:32;;;22713:7;22679:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22664:4;:9;;;:13;;:60;;;;:::i;:::-;22585:232;;;;22747:32;22765:12;;22747:5;:12;;;:16;;:32;;;;:::i;:::-;22585:232;;;;22800:5;22585:232;;;;;22558:10;:24;22570:10;22558:24;;;;;;;;;;;;;;;:259;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22838:58;22871:14;;;;;;;;;;;22887:7;22846:8;22838:31;;;;:58;;;;;:::i;:::-;22914:4;22907:11;;;22235:691;;;;:::o;26475:570::-;19484:10;19474:20;;:6;;;;;;;;;;:20;;;19465:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26588:21:::1;26575:34;;;;;;;;:9;:34;;;;;;;;;26571:467;;;26646:8;26632:11;;:22;;;;;;;;;;;;;;;;;;26571:467;;;26690:16;26677:29;;;;;;;;:9;:29;;;;;;;;;26672:366;;;26765:1;26738:30;;:14;;;;;;;;;;;:30;;;26729:80;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26841:8;26824:14;;:25;;;;;;;;;;;;;;;;;;26672:366;;;26885:16;26872:29:::0;::::1;;;;;;;:9;:29;;;;;;;;;26867:171;;;26951:1;26933:20;;:6;;;;;;;;;;;:20;;;26924:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27018:8;27009:6;;:17;;;;;;;;;;;;;;;;;;26867:171;26672:366;26571:467;26475:570:::0;;:::o;25497:141::-;25546:4;25571:59;25618:10;;25579:4;25571:24;;;25605:4;25571:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:45;;:59;;;;:::i;:::-;25564:66;;25497:141;:::o;23876:119::-;23958:10;:24;23970:10;23958:24;;;;;;;;;;;;;;;:29;;;;;;;;;;;;23957:30;23925:10;:24;23937:10;23925:24;;;;;;;;;;;;;;;:29;;;:62;;;;;;;;;;;;;;;;;;23876:119::o;21210:18::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;24117:271::-;24190:8;24185:51;;;24216:8;:6;:8::i;:::-;24185:51;24246:73;24283:10;24303:4;24310:7;24254:8;24246:35;;;;:73;;;;;;:::i;:::-;24330:50;24359:10;24371:7;24338:4;24330:27;;;;:50;;;;;:::i;:::-;24117:271;;:::o;21304:22::-;;;;:::o;24673:701::-;24737:15;24713:40;;:5;:13;;;;;;;;;;;;:40;;;24709:658;;24780:8;24773:24;;;24799:5;:16;;;24817:5;:12;;;24773:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24864:35;24885:5;:12;;;;;;;;;;;;24864:5;:13;;;;;;;;;;;;:19;;;;:35;;;;:::i;:::-;24848:5;:13;;;:51;;;;;;;;;;;;;;;;;;24914:5;:12;;;:14;;;;;;;;;;;;;24985:1;24962:25;;:11;;;;;;;;;;;:25;;;24957:108;;25023:11;;;;;;;;;;;25009:38;;;:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24957:108;25081:12;25096:17;:15;:17::i;:::-;25081:32;;25128:11;25149:8;25142:35;;;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25128:51;;25211:6;25200:7;:17;25196:160;;25258:1;25239:5;:16;;:20;;;;25196:160;;;25319:21;25332:6;25319:7;:11;;:21;;;;:::i;:::-;25300:5;:16;;:40;;;;25196:160;24709:658;;;24673:701::o;21237:26::-;;;;;;;;;;;;;:::o;27178:111::-;19484:10;19474:20;;:6;;;;;;;;;;:20;;;19465:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27268:13:::1;27253:12;:28;;;;27178:111:::0;:::o;21276:21::-;;;;;;;;;;;;;:::o;21375:24::-;;;;:::o;21339:29::-;;;;;;;;;;;;;:::o;23454:310::-;23493:17;;:::i;:::-;23513:10;:24;23525:10;23513:24;;;;;;;;;;;;;;;23493:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23555:10;:24;23567:10;23555:24;;;;;;;;;;;;;;;;23548:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23601:14;;;;;;;;;;;23592:34;;;23636:4;23650:8;23643:32;;;23677:4;:9;;;23643:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23592:98;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23701:55;23730:10;23742:4;:12;;;23709:4;23701:27;;;;:55;;;;;:::i;:::-;23454:310;:::o;26074:229::-;26158:6;;;;;;;;;;;26144:20;;:10;:20;;;26135:31;;;;;;26190:25;26206:7;26190:10;;:14;;:25;;;;:::i;:::-;26177:10;:38;;;;26226:69;26263:6;;;;;;;;;;;26279:4;26286:7;26234:8;26226:35;;;;:69;;;;;;:::i;:::-;26074:229;:::o;21008:29::-;;;:::o;336:181::-;394:7;414:9;430:1;426;:5;414:17;;455:1;450;:6;;442:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;508:1;501:8;;;336:181;;;;:::o;15589:177::-;15672:86;15692:5;15722:23;;;15747:2;15751:5;15699:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15672:19;:86::i;:::-;15589:177;;;:::o;15774:205::-;15875:96;15895:5;15925:27;;;15954:4;15960:2;15964:5;15902:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15875:19;:96::i;:::-;15774:205;;;;:::o;523:179::-;581:6;600:8;615:1;611;:5;600:16;;640:1;635:6;;:1;:6;;;;627:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;693:1;686:8;;;523:179;;;;:::o;985:136::-;1043:7;1070:43;1074:1;1077;1070:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;1063:50;;985:136;;;;:::o;17944:761::-;18368:23;18394:69;18422:4;18394:69;;;;;;;;;;;;;;;;;18402:5;18394:27;;;;:69;;;;;:::i;:::-;18368:95;;18498:1;18478:10;:17;:21;18474:224;;;18620:10;18609:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18601:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18474:224;17944:761;;;:::o;1424:192::-;1510:7;1543:1;1538;:6;;1546:12;1530:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1570:9;1586:1;1582;:5;1570:17;;1607:1;1600:8;;;1424:192;;;;;:::o;9426:230::-;9563:12;9595:53;9618:6;9626:4;9632:1;9635:12;9595:22;:53::i;:::-;9588:60;;9426:230;;;;;:::o;11097:1025::-;11273:12;11306:18;11317:6;11306:10;:18::i;:::-;11298:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11432:12;11446:23;11473:6;:11;;11493:8;11504:4;11473:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11431:78;;;;11524:7;11520:595;;;11555:10;11548:17;;;;;;11520:595;11689:1;11669:10;:17;:21;11665:439;;;11932:10;11926:17;11993:15;11980:10;11976:2;11972:19;11965:44;11880:148;12075:12;12068:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11097:1025;;;;;;;:::o;6915:422::-;6975:4;7183:12;7294:7;7282:20;7274:28;;7328:1;7321:4;:8;7314:15;;;6915:422;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o
Swarm Source
ipfs://b7dee3e63cd8a1efb68151a4c0221947ce4abf8da715a4be0bbcf3183fd951f3
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.