Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 313 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Unstake | 20458577 | 16 days ago | IN | 0 ETH | 0.00012033 | ||||
Unstake | 20458574 | 16 days ago | IN | 0 ETH | 0.0001451 | ||||
Unstake | 20444310 | 18 days ago | IN | 0 ETH | 0.00023264 | ||||
Unstake | 20429939 | 20 days ago | IN | 0 ETH | 0.00040145 | ||||
Unstake | 20428789 | 20 days ago | IN | 0 ETH | 0.00117923 | ||||
Redeem Reward | 20419118 | 21 days ago | IN | 0 ETH | 0.00068757 | ||||
Redeem Reward | 19932137 | 89 days ago | IN | 0 ETH | 0.00094537 | ||||
Unstake | 19927888 | 90 days ago | IN | 0 ETH | 0.00170071 | ||||
Unstake | 19897329 | 94 days ago | IN | 0 ETH | 0.00030875 | ||||
Redeem Reward | 19897311 | 94 days ago | IN | 0 ETH | 0.00027222 | ||||
Unstake | 19874618 | 97 days ago | IN | 0 ETH | 0.00052172 | ||||
Redeem Reward | 19874604 | 97 days ago | IN | 0 ETH | 0.00045763 | ||||
Unstake | 19818816 | 105 days ago | IN | 0 ETH | 0.00068033 | ||||
Redeem Reward | 19818792 | 105 days ago | IN | 0 ETH | 0.00084782 | ||||
Redeem Reward | 19805648 | 107 days ago | IN | 0 ETH | 0.00052341 | ||||
Unstake | 19805644 | 107 days ago | IN | 0 ETH | 0.00081285 | ||||
Unstake | 19724516 | 118 days ago | IN | 0 ETH | 0.00100632 | ||||
Redeem Reward | 19724512 | 118 days ago | IN | 0 ETH | 0.00116962 | ||||
Unstake | 19702933 | 121 days ago | IN | 0 ETH | 0.00056068 | ||||
Redeem Reward | 19702928 | 121 days ago | IN | 0 ETH | 0.0005986 | ||||
Unstake | 19672066 | 125 days ago | IN | 0 ETH | 0.00096481 | ||||
Redeem Reward | 19672066 | 125 days ago | IN | 0 ETH | 0.00112633 | ||||
Redeem Reward | 19662394 | 127 days ago | IN | 0 ETH | 0.00119221 | ||||
Unstake | 19662389 | 127 days ago | IN | 0 ETH | 0.00197471 | ||||
Redeem Reward | 19645339 | 129 days ago | IN | 0 ETH | 0.00065879 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
DEFXStakingPool
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-07-15 */ /** *Submitted for verification at Etherscan.io on 2021-06-10 */ // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.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; } } pragma solidity >=0.6.2 <0.8.0; /** * @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 on 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"); 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); } /** * @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); } 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); } } } } pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } pragma solidity >=0.6.0 <0.8.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. */ abstract 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; } } pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); } pragma solidity >=0.6.2; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } pragma solidity 0.6.12; library DEFXConstants { string private constant _name = "DeFinity"; string private constant _symbol = "DEFX"; uint8 private constant _decimals = 18; address private constant _tokenOwner = 0x5ca46B14691d9Ea4ce2D8e66e3550DE268cA6E2E; function getName() internal pure returns (string memory) { return _name; } function getSymbol() internal pure returns (string memory) { return _symbol; } function getDecimals() internal pure returns (uint8) { return _decimals; } function getTokenOwner() internal pure returns (address) { return _tokenOwner; } } contract DEFX is Context, IERC20, Ownable { using SafeMath for uint256; using Address for address; uint256 _totalSupply = 171516755 * 10**18; mapping (address => uint256) _balances; mapping (address => mapping (address => uint256)) _allowances; IUniswapV2Router02 public uniRouter; IUniswapV2Factory public uniFactory; address public launchPool; uint256 private _tradingTime; uint256 private _restrictionLiftTime; uint256 private _restrictionGas = 487000000000; uint256 private _maxRestrictionAmount = 40000 * 10**18; mapping (address => bool) private _isWhitelisted; mapping (address => bool) private _openSender; mapping (address => uint256) private _lastTx; constructor () public { _balances[owner()] = _totalSupply; emit Transfer(address(0), DEFXConstants.getTokenOwner(), _totalSupply); } function name() public view returns (string memory) { return DEFXConstants.getName(); } function symbol() public view returns (string memory) { return DEFXConstants.getSymbol(); } function decimals() public view returns (uint8) { return DEFXConstants.getDecimals(); } function totalSupply() public view override returns (uint256) { return _totalSupply; } function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } function transfer(address recipient, uint256 amount) public override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function allowance(address owner, address spender) public view override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "DEFX: transfer amount exceeds allowance")); return true; } function increaseAllowance(address spender, uint256 addedValue) public returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "DEFX: decreased allowance below zero")); return true; } function _transfer(address sender, address recipient, uint256 amount) private launchRestrict(sender, recipient, amount) { require(sender != address(0), "DEFX: transfer from the zero address"); require(recipient != address(0), "DEFX: transfer to the zero address"); _balances[sender] = _balances[sender].sub(amount, "DEFX: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } function _approve(address owner, address spender, uint256 amount) private { require(owner != address(0), "DEFX: approve from the zero address"); require(spender != address(0), "DEFX: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } function setRestrictionAmount(uint256 amount) external onlyOwner() { _maxRestrictionAmount = amount; } function setRestrictionGas(uint256 price) external onlyOwner() { _restrictionGas = price; } function whitelistAccount(address account) external onlyOwner() { _isWhitelisted[account] = true; } function addSender(address account) external onlyOwner() { _openSender[account] = true; } modifier launchRestrict(address sender, address recipient, uint256 amount) { _; } } contract DEFXStakingPool is Ownable { using SafeMath for uint; struct StakedBalance { uint time; uint amount; } DEFX public defxToken; uint public rewardTimeSpan; uint public annualInterestRate; address[] private stakers; mapping (address => StakedBalance[]) private stakedBalances; mapping (address => uint) private totalStakedBalances; uint public totalStakedAmount; mapping (address => uint) private earnedRewards; constructor(address _tokenContractAddress, uint _annualInterestRate, uint _rewardTimeSpan) public { defxToken = DEFX(_tokenContractAddress); annualInterestRate = _annualInterestRate; rewardTimeSpan = _rewardTimeSpan; stakers = new address[](0); } //////////////////////////////////////////////////////////////////////////////////////////////////// // Owner configuration //////////////////////////////////////////////////////////////////////////////////////////////////// /** * @notice Allows contract owner to change annual interest rate. Reward earned up to that moment is calculated * using previous interest rate. */ function setAnnualInterestRate(uint _interestRate) external onlyOwner { collectRewardForAllStakers(); annualInterestRate = _interestRate; } /** * @notice Allows contract owner to change reward time span. Reward earned up to that moment is calculated using * previous timespan. */ function setRewardTimeSpan(uint _timeSpan) external onlyOwner { collectRewardForAllStakers(); rewardTimeSpan = _timeSpan; } /** * @notice Allows contract owner to withdraw any DEFX balance from the contract which exceeds minimum needed DEFX * balance. Minimum DEFX balance is calculated as a sum of all staked DEFX and reward that would be earned in the * next year with the current annual interest rate. */ function withdrawUnusedBalance(uint _amount) external onlyOwner { require(defxToken.balanceOf(address(this)) - _amount >= getMinContractBalance(), "Max withdrawal amount exceeded."); require(defxToken.transfer(owner(), _amount), "Transfer failed"); } //////////////////////////////////////////////////////////////////////////////////////////////////// // Staking //////////////////////////////////////////////////////////////////////////////////////////////////// /** * @notice Allows any DEFX holder to stake certain amount of DEFX and earn reward. Reward is calculated based on * the annual interest rate specified by annualInterestRate attribute and paid on basis specified by rewardTimeSpan * attribute (daily, weekly, etc.). There is no automatic transfer of the reward, but stakers should redeem reward * instead. * Pre-condition for staking of DEFX is that the staker should approve address of this smart contract to spend * their DEFX. */ function stake(uint _amount) external { totalStakedAmount = totalStakedAmount.add(_amount); require(defxToken.balanceOf(address(this)) + _amount >= getMinContractBalance(), "Pool's balance too low for covering annual reward"); if(totalStakedBalances[_msgSender()] == 0) stakers.push(_msgSender()); stakedBalances[_msgSender()].push(StakedBalance(block.timestamp, _amount)); totalStakedBalances[_msgSender()] = totalStakedBalances[_msgSender()].add(_amount); require(defxToken.transferFrom(_msgSender(), address(this), _amount), "Transfer failed"); } /** * @notice Allows any DEFX holder who has previously staked DEFX to unstake it, up to the amount specified by input * parameter. All reward earned up to that moment is calculated and needs to be redeemed sperately from unstaking. * It can be done any time before or any time after unstaking. */ function unstake(uint _amount) external { require(_amount <= totalStakedBalances[_msgSender()], "Maximum staked amount is exceeded."); collectReward(_msgSender()); uint amountToUnstake = _amount; for(uint i = stakedBalances[_msgSender()].length; i > 0; i--) { uint amount = stakedBalances[_msgSender()][i-1].amount; if (amountToUnstake >= amount) { amountToUnstake = amountToUnstake.sub(amount); delete stakedBalances[_msgSender()][i-1]; } else { stakedBalances[_msgSender()][i-1].amount = amount.sub(amountToUnstake); amountToUnstake = 0; } if (amountToUnstake == 0) break; } totalStakedBalances[_msgSender()] = totalStakedBalances[_msgSender()].sub(_amount); totalStakedAmount = totalStakedAmount.sub(_amount); require(defxToken.transfer(_msgSender(), _amount), "Transfer failed"); } //////////////////////////////////////////////////////////////////////////////////////////////////// // Redeeming reward //////////////////////////////////////////////////////////////////////////////////////////////////// /** * @notice Allows token owner to transfer earned reward to the staker. */ function redeemRewardToStaker(address _staker, uint _amount) external onlyOwner { redeemReward(_staker, _amount); } /** * @notice Allows staker to transfer earned reward to themselves. */ function redeemReward(uint _amount) external { redeemReward(_msgSender(), _amount); } function redeemReward(address _staker, uint _amount) private { collectReward(_staker); require(_amount <= earnedRewards[_staker], "Maximum redeemable reward is exceeded."); earnedRewards[_staker] = earnedRewards[_staker].sub(_amount); require(defxToken.transfer(_staker, _amount), "Transfer failed."); } function collectReward(address _staker) private { for (uint i = 0; i < stakedBalances[_staker].length; i++) { uint time = stakedBalances[_staker][i].time; uint amount = stakedBalances[_staker][i].amount; uint reward = calculateReward(time, amount); earnedRewards[_staker] = earnedRewards[_staker].add(reward); stakedBalances[_staker][i].time = getNewTime(time); } } function collectRewardForAllStakers() private { for (uint i = 0; i < stakers.length; i++) { if (totalStakedBalances[stakers[i]] > 0) { collectReward(stakers[i]); } } } //////////////////////////////////////////////////////////////////////////////////////////////////// // Reading functions //////////////////////////////////////////////////////////////////////////////////////////////////// /** * @return Earned reward for the staker up to that moment for specified staker's address */ function getEarnedReward(address _staker) external view returns (uint) { uint totalAmount = earnedRewards[_staker]; for (uint i = 0; i < stakedBalances[_staker].length; i++) { uint time = stakedBalances[_staker][i].time; uint amount = stakedBalances[_staker][i].amount; totalAmount = totalAmount.add(calculateReward(time, amount)); } return totalAmount; } /** * @return Staked amount of DEFX for specified staker's address */ function getStakedAmount(address _staker) external view returns (uint) { return totalStakedBalances[_staker]; } //////////////////////////////////////////////////////////////////////////////////////////////////// // Helper functions //////////////////////////////////////////////////////////////////////////////////////////////////// /** * @dev Calculates reward based on the DEFX amount that is staked and the moment in time when it is staked. * It first calculates number of periods (i.e weeks) passed between now and time when DEFX amount is staked * (timeSpanUnits). Then, it calculates interest rate for that period (i.e. weekly interest rate) as * unitInterestRate. Finally reward is equal to period interest rate x staked amount x number of periods. */ function calculateReward(uint _time, uint _amount) private view returns (uint) { uint timeSpanUnits = (block.timestamp.sub(_time)).div(rewardTimeSpan); uint unitInterestRate = annualInterestRate.mul(rewardTimeSpan).div(365 days); return timeSpanUnits.mul(unitInterestRate).mul(_amount).div(10**18); } function getMinContractBalance() private view returns(uint) { uint expectedAnnualRewards = totalStakedAmount.div(10**18).mul(annualInterestRate); return totalStakedAmount + expectedAnnualRewards; } /** * @dev Calculates beginning of the current period for which reward is still not calculated. */ function getNewTime(uint _time) private view returns (uint) { uint timeSpanUnits = (block.timestamp.sub(_time)).div(rewardTimeSpan); return _time.add(timeSpanUnits.mul(rewardTimeSpan)); } //////////////////////////////////////////////////////////////////////////////////////////////////// // Miscellaneous //////////////////////////////////////////////////////////////////////////////////////////////////// /** * @notice Enable recovery of ether sent by mistake to this contract's address. */ function drainStrayEther(uint _amount) external onlyOwner returns (bool) { payable(owner()).transfer(_amount); return true; } /** * @notice Enable recovery of any ERC20 compatible token sent by mistake to this contract's address. * The only token that cannot be drained is DEFX. */ function drainStrayTokens(IERC20 _token, uint _amount) external onlyOwner returns (bool) { require(address(_token) != address(defxToken), "DEFX cannot be drained"); return _token.transfer(owner(), _amount); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_tokenContractAddress","type":"address"},{"internalType":"uint256","name":"_annualInterestRate","type":"uint256"},{"internalType":"uint256","name":"_rewardTimeSpan","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"annualInterestRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"defxToken","outputs":[{"internalType":"contract DEFX","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"drainStrayEther","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"drainStrayTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_staker","type":"address"}],"name":"getEarnedReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_staker","type":"address"}],"name":"getStakedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"redeemReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_staker","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"redeemRewardToStaker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardTimeSpan","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_interestRate","type":"uint256"}],"name":"setAnnualInterestRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_timeSpan","type":"uint256"}],"name":"setRewardTimeSpan","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalStakedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"unstake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawUnusedBalance","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162002af138038062002af1833981810160405260608110156200003757600080fd5b8101908080519060200190929190805190602001909291908051906020019092919050505060006200006e620001c660201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35082600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160038190555080600281905550600067ffffffffffffffff811180156200017457600080fd5b50604051908082528060200260200182016040528015620001a45781602001602082028036833780820191505090505b5060049080519060200190620001bc929190620001ce565b505050506200029a565b600033905090565b8280548282559060005260206000209081019282156200024a579160200282015b82811115620002495782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190620001ef565b5b5090506200025991906200025d565b5090565b5b808211156200029657600081816101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055506001016200025e565b5090565b61284780620002aa6000396000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c8063567e98f9116100a25780638da5cb5b116100715780638da5cb5b146103c3578063a694fc3a146103f7578063de1670f514610425578063e2210f4714610453578063f2fde38b146104a157610116565b8063567e98f914610325578063715018a6146103435780637c7bd7a31461034d578063846a4b581461036b57610116565b80632e17de78116100e95780632e17de78146101ff5780633582c4c81461022d57806342bf41ae1461025b5780634da6a5561461029f57806351a71b17146102f757610116565b8063029d74cb1461011b578063050b8c661461014957806309d0cc00146101ad5780631a9703da146101e1575b600080fd5b6101476004803603602081101561013157600080fd5b81019080803590602001909291905050506104e5565b005b6101956004803603604081101561015f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610839565b60405180821515815260200191505060405180910390f35b6101b5610a82565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6101e9610aa8565b6040518082815260200191505060405180910390f35b61022b6004803603602081101561021557600080fd5b8101908080359060200190929190505050610aae565b005b6102596004803603602081101561024357600080fd5b8101908080359060200190929190505050610f63565b005b6102876004803603602081101561027157600080fd5b810190808035906020019092919050505061103d565b60405180821515815260200191505060405180910390f35b6102e1600480360360208110156102b557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061115e565b6040518082815260200191505060405180910390f35b6103236004803603602081101561030d57600080fd5b81019080803590602001909291905050506111a7565b005b61032d6111bb565b6040518082815260200191505060405180910390f35b61034b6111c1565b005b610355611347565b6040518082815260200191505060405180910390f35b6103ad6004803603602081101561038157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061134d565b6040518082815260200191505060405180910390f35b6103cb6114d6565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104236004803603602081101561040d57600080fd5b81019080803590602001909291905050506114ff565b005b6104516004803603602081101561043b57600080fd5b810190808035906020019092919050505061199e565b005b61049f6004803603604081101561046957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611a78565b005b6104e3600480360360208110156104b757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611b4e565b005b6104ed611d59565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146105ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6105b5611d61565b81600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561063f57600080fd5b505afa158015610653573d6000803e3d6000fd5b505050506040513d602081101561066957600080fd5b81019080805190602001909291905050500310156106ef576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f4d6178207769746864726177616c20616d6f756e742065786365656465642e0081525060200191505060405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6107356114d6565b836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561078957600080fd5b505af115801561079d573d6000803e3d6000fd5b505050506040513d60208110156107b357600080fd5b8101908080519060200190929190505050610836576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f5472616e73666572206661696c6564000000000000000000000000000000000081525060200191505060405180910390fd5b50565b6000610843611d59565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610903576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f444546582063616e6e6f7420626520647261696e65640000000000000000000081525060200191505060405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6109eb6114d6565b846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015610a3f57600080fd5b505af1158015610a53573d6000803e3d6000fd5b505050506040513d6020811015610a6957600080fd5b8101908080519060200190929190505050905092915050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60035481565b60066000610aba611d59565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054811115610b4d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806127a96022913960400191505060405180910390fd5b610b5d610b58611d59565b611da2565b6000819050600060056000610b70611d59565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905090505b6000811115610d5957600060056000610bc8611d59565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001830381548110610c1057fe5b9060005260206000209060020201600101549050808310610cba57610c3e8184611fce90919063ffffffff16565b925060056000610c4c611d59565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001830381548110610c9457fe5b906000526020600020906002020160008082016000905560018201600090555050610d3b565b610ccd8382611fce90919063ffffffff16565b60056000610cd9611d59565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001840381548110610d2157fe5b906000526020600020906002020160010181905550600092505b6000831415610d4a5750610d59565b50808060019003915050610bb1565b50610db38260066000610d6a611d59565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611fce90919063ffffffff16565b60066000610dbf611d59565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610e1282600754611fce90919063ffffffff16565b600781905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb610e5e611d59565b846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015610eb257600080fd5b505af1158015610ec6573d6000803e3d6000fd5b505050506040513d6020811015610edc57600080fd5b8101908080519060200190929190505050610f5f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f5472616e73666572206661696c6564000000000000000000000000000000000081525060200191505060405180910390fd5b5050565b610f6b611d59565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461102b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b611033612018565b8060038190555050565b6000611047611d59565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611107576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b61110f6114d6565b73ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015611154573d6000803e3d6000fd5b5060019050919050565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6111b86111b2611d59565b826120f8565b50565b60075481565b6111c9611d59565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611289576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60025481565b600080600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060005b600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490508110156114cc576000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020828154811061142b57fe5b90600052602060002090600202016000015490506000600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020838154811061148b57fe5b90600052602060002090600202016001015490506114bb6114ac8383612372565b8561241890919063ffffffff16565b935050508080600101915050611395565b5080915050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6115148160075461241890919063ffffffff16565b600781905550611522611d61565b81600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156115ac57600080fd5b505afa1580156115c0573d6000803e3d6000fd5b505050506040513d60208110156115d657600080fd5b810190808051906020019092919050505001101561163f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260318152602001806127786031913960400191505060405180910390fd5b60006006600061164d611d59565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414156116f9576004611698611d59565b9080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b60056000611705611d59565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405280428152602001838152509080600181540180825580915050600190039060005260206000209060020201600090919091909150600082015181600001556020820151816001015550506117ec81600660006117a3611d59565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461241890919063ffffffff16565b600660006117f8611d59565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd61187c611d59565b30846040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b1580156118ee57600080fd5b505af1158015611902573d6000803e3d6000fd5b505050506040513d602081101561191857600080fd5b810190808051906020019092919050505061199b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f5472616e73666572206661696c6564000000000000000000000000000000000081525060200191505060405180910390fd5b50565b6119a6611d59565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611a66576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b611a6e612018565b8060028190555050565b611a80611d59565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611b40576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b611b4a82826120f8565b5050565b611b56611d59565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611c16576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c9c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806127526026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b600080611d95600354611d87670de0b6b3a76400006007546124a090919063ffffffff16565b6124ea90919063ffffffff16565b9050806007540191505090565b60005b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050811015611fca576000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208281548110611e3b57fe5b90600052602060002090600202016000015490506000600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208381548110611e9b57fe5b90600052602060002090600202016001015490506000611ebb8383612372565b9050611f0f81600860008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461241890919063ffffffff16565b600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611f5b83612570565b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208581548110611fa557fe5b9060005260206000209060020201600001819055505050508080600101915050611da5565b5050565b600061201083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506125cb565b905092915050565b60005b6004805490508110156120f5576000600660006004848154811061203b57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411156120e8576120e7600482815481106120b757fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611da2565b5b808060010191505061201b565b50565b61210182611da2565b600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054811115612199576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806127cb6026913960400191505060405180910390fd5b6121eb81600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611fce90919063ffffffff16565b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156122c157600080fd5b505af11580156122d5573d6000803e3d6000fd5b505050506040513d60208110156122eb57600080fd5b810190808051906020019092919050505061236e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5472616e73666572206661696c65642e0000000000000000000000000000000081525060200191505060405180910390fd5b5050565b60008061239c60025461238e8642611fce90919063ffffffff16565b6124a090919063ffffffff16565b905060006123cd6301e133806123bf6002546003546124ea90919063ffffffff16565b6124a090919063ffffffff16565b905061240e670de0b6b3a7640000612400866123f285876124ea90919063ffffffff16565b6124ea90919063ffffffff16565b6124a090919063ffffffff16565b9250505092915050565b600080828401905083811015612496576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b60006124e283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061268b565b905092915050565b6000808314156124fd576000905061256a565b600082840290508284828161250e57fe5b0414612565576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806127f16021913960400191505060405180910390fd5b809150505b92915050565b60008061259a60025461258c8542611fce90919063ffffffff16565b6124a090919063ffffffff16565b90506125c36125b4600254836124ea90919063ffffffff16565b8461241890919063ffffffff16565b915050919050565b6000838311158290612678576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561263d578082015181840152602081019050612622565b50505050905090810190601f16801561266a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b60008083118290612737576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156126fc5780820151818401526020810190506126e1565b50505050905090810190601f1680156127295780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161274357fe5b04905080915050939250505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373506f6f6c27732062616c616e636520746f6f206c6f7720666f7220636f766572696e6720616e6e75616c207265776172644d6178696d756d207374616b656420616d6f756e742069732065786365656465642e4d6178696d756d2072656465656d61626c65207265776172642069732065786365656465642e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a2646970667358221220611b75db7780a5e5ff828159f5e1fdc2dc96a32190992d5e9d15b3bef51d7c7064736f6c634300060c00330000000000000000000000005f474906637bdcda05f29c74653f6962bb0f8eda00000000000000000000000000000000000000000000000001aa535d3d0c00000000000000000000000000000000000000000000000000000000000000093a80
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101165760003560e01c8063567e98f9116100a25780638da5cb5b116100715780638da5cb5b146103c3578063a694fc3a146103f7578063de1670f514610425578063e2210f4714610453578063f2fde38b146104a157610116565b8063567e98f914610325578063715018a6146103435780637c7bd7a31461034d578063846a4b581461036b57610116565b80632e17de78116100e95780632e17de78146101ff5780633582c4c81461022d57806342bf41ae1461025b5780634da6a5561461029f57806351a71b17146102f757610116565b8063029d74cb1461011b578063050b8c661461014957806309d0cc00146101ad5780631a9703da146101e1575b600080fd5b6101476004803603602081101561013157600080fd5b81019080803590602001909291905050506104e5565b005b6101956004803603604081101561015f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610839565b60405180821515815260200191505060405180910390f35b6101b5610a82565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6101e9610aa8565b6040518082815260200191505060405180910390f35b61022b6004803603602081101561021557600080fd5b8101908080359060200190929190505050610aae565b005b6102596004803603602081101561024357600080fd5b8101908080359060200190929190505050610f63565b005b6102876004803603602081101561027157600080fd5b810190808035906020019092919050505061103d565b60405180821515815260200191505060405180910390f35b6102e1600480360360208110156102b557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061115e565b6040518082815260200191505060405180910390f35b6103236004803603602081101561030d57600080fd5b81019080803590602001909291905050506111a7565b005b61032d6111bb565b6040518082815260200191505060405180910390f35b61034b6111c1565b005b610355611347565b6040518082815260200191505060405180910390f35b6103ad6004803603602081101561038157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061134d565b6040518082815260200191505060405180910390f35b6103cb6114d6565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104236004803603602081101561040d57600080fd5b81019080803590602001909291905050506114ff565b005b6104516004803603602081101561043b57600080fd5b810190808035906020019092919050505061199e565b005b61049f6004803603604081101561046957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611a78565b005b6104e3600480360360208110156104b757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611b4e565b005b6104ed611d59565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146105ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6105b5611d61565b81600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561063f57600080fd5b505afa158015610653573d6000803e3d6000fd5b505050506040513d602081101561066957600080fd5b81019080805190602001909291905050500310156106ef576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f4d6178207769746864726177616c20616d6f756e742065786365656465642e0081525060200191505060405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6107356114d6565b836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561078957600080fd5b505af115801561079d573d6000803e3d6000fd5b505050506040513d60208110156107b357600080fd5b8101908080519060200190929190505050610836576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f5472616e73666572206661696c6564000000000000000000000000000000000081525060200191505060405180910390fd5b50565b6000610843611d59565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610903576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f444546582063616e6e6f7420626520647261696e65640000000000000000000081525060200191505060405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6109eb6114d6565b846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015610a3f57600080fd5b505af1158015610a53573d6000803e3d6000fd5b505050506040513d6020811015610a6957600080fd5b8101908080519060200190929190505050905092915050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60035481565b60066000610aba611d59565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054811115610b4d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806127a96022913960400191505060405180910390fd5b610b5d610b58611d59565b611da2565b6000819050600060056000610b70611d59565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905090505b6000811115610d5957600060056000610bc8611d59565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001830381548110610c1057fe5b9060005260206000209060020201600101549050808310610cba57610c3e8184611fce90919063ffffffff16565b925060056000610c4c611d59565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001830381548110610c9457fe5b906000526020600020906002020160008082016000905560018201600090555050610d3b565b610ccd8382611fce90919063ffffffff16565b60056000610cd9611d59565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001840381548110610d2157fe5b906000526020600020906002020160010181905550600092505b6000831415610d4a5750610d59565b50808060019003915050610bb1565b50610db38260066000610d6a611d59565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611fce90919063ffffffff16565b60066000610dbf611d59565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610e1282600754611fce90919063ffffffff16565b600781905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb610e5e611d59565b846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015610eb257600080fd5b505af1158015610ec6573d6000803e3d6000fd5b505050506040513d6020811015610edc57600080fd5b8101908080519060200190929190505050610f5f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f5472616e73666572206661696c6564000000000000000000000000000000000081525060200191505060405180910390fd5b5050565b610f6b611d59565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461102b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b611033612018565b8060038190555050565b6000611047611d59565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611107576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b61110f6114d6565b73ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015611154573d6000803e3d6000fd5b5060019050919050565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6111b86111b2611d59565b826120f8565b50565b60075481565b6111c9611d59565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611289576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60025481565b600080600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060005b600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490508110156114cc576000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020828154811061142b57fe5b90600052602060002090600202016000015490506000600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020838154811061148b57fe5b90600052602060002090600202016001015490506114bb6114ac8383612372565b8561241890919063ffffffff16565b935050508080600101915050611395565b5080915050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6115148160075461241890919063ffffffff16565b600781905550611522611d61565b81600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156115ac57600080fd5b505afa1580156115c0573d6000803e3d6000fd5b505050506040513d60208110156115d657600080fd5b810190808051906020019092919050505001101561163f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260318152602001806127786031913960400191505060405180910390fd5b60006006600061164d611d59565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414156116f9576004611698611d59565b9080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b60056000611705611d59565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405280428152602001838152509080600181540180825580915050600190039060005260206000209060020201600090919091909150600082015181600001556020820151816001015550506117ec81600660006117a3611d59565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461241890919063ffffffff16565b600660006117f8611d59565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd61187c611d59565b30846040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b1580156118ee57600080fd5b505af1158015611902573d6000803e3d6000fd5b505050506040513d602081101561191857600080fd5b810190808051906020019092919050505061199b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f5472616e73666572206661696c6564000000000000000000000000000000000081525060200191505060405180910390fd5b50565b6119a6611d59565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611a66576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b611a6e612018565b8060028190555050565b611a80611d59565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611b40576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b611b4a82826120f8565b5050565b611b56611d59565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611c16576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c9c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806127526026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b600080611d95600354611d87670de0b6b3a76400006007546124a090919063ffffffff16565b6124ea90919063ffffffff16565b9050806007540191505090565b60005b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050811015611fca576000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208281548110611e3b57fe5b90600052602060002090600202016000015490506000600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208381548110611e9b57fe5b90600052602060002090600202016001015490506000611ebb8383612372565b9050611f0f81600860008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461241890919063ffffffff16565b600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611f5b83612570565b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208581548110611fa557fe5b9060005260206000209060020201600001819055505050508080600101915050611da5565b5050565b600061201083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506125cb565b905092915050565b60005b6004805490508110156120f5576000600660006004848154811061203b57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411156120e8576120e7600482815481106120b757fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611da2565b5b808060010191505061201b565b50565b61210182611da2565b600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054811115612199576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806127cb6026913960400191505060405180910390fd5b6121eb81600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611fce90919063ffffffff16565b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156122c157600080fd5b505af11580156122d5573d6000803e3d6000fd5b505050506040513d60208110156122eb57600080fd5b810190808051906020019092919050505061236e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5472616e73666572206661696c65642e0000000000000000000000000000000081525060200191505060405180910390fd5b5050565b60008061239c60025461238e8642611fce90919063ffffffff16565b6124a090919063ffffffff16565b905060006123cd6301e133806123bf6002546003546124ea90919063ffffffff16565b6124a090919063ffffffff16565b905061240e670de0b6b3a7640000612400866123f285876124ea90919063ffffffff16565b6124ea90919063ffffffff16565b6124a090919063ffffffff16565b9250505092915050565b600080828401905083811015612496576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b60006124e283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061268b565b905092915050565b6000808314156124fd576000905061256a565b600082840290508284828161250e57fe5b0414612565576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806127f16021913960400191505060405180910390fd5b809150505b92915050565b60008061259a60025461258c8542611fce90919063ffffffff16565b6124a090919063ffffffff16565b90506125c36125b4600254836124ea90919063ffffffff16565b8461241890919063ffffffff16565b915050919050565b6000838311158290612678576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561263d578082015181840152602081019050612622565b50505050905090810190601f16801561266a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b60008083118290612737576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156126fc5780820151818401526020810190506126e1565b50505050905090810190601f1680156127295780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161274357fe5b04905080915050939250505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373506f6f6c27732062616c616e636520746f6f206c6f7720666f7220636f766572696e6720616e6e75616c207265776172644d6178696d756d207374616b656420616d6f756e742069732065786365656465642e4d6178696d756d2072656465656d61626c65207265776172642069732065786365656465642e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a2646970667358221220611b75db7780a5e5ff828159f5e1fdc2dc96a32190992d5e9d15b3bef51d7c7064736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000005f474906637bdcda05f29c74653f6962bb0f8eda00000000000000000000000000000000000000000000000001aa535d3d0c00000000000000000000000000000000000000000000000000000000000000093a80
-----Decoded View---------------
Arg [0] : _tokenContractAddress (address): 0x5F474906637bdCDA05f29C74653F6962bb0f8eDa
Arg [1] : _annualInterestRate (uint256): 120000000000000000
Arg [2] : _rewardTimeSpan (uint256): 604800
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000005f474906637bdcda05f29c74653f6962bb0f8eda
Arg [1] : 00000000000000000000000000000000000000000000000001aa535d3d0c0000
Arg [2] : 0000000000000000000000000000000000000000000000000000000000093a80
Deployed Bytecode Sourcemap
28841:10780:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30895:296;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;39355:263;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;28970:21;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;29031:30;;;:::i;:::-;;;;;;;;;;;;;;;;;;;32936:1065;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;30049:185;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;38988:180;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;36782:157;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;34591:113;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;29232:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;17782:148;;;:::i;:::-;;28998:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;36204:483;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;17140:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;31959:642;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;30405:169;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;34342:152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;18085:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;30895:296;17362:12;:10;:12::i;:::-;17352:22;;:6;;;;;;;;;;:22;;;17344:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31049:23:::1;:21;:23::i;:::-;31038:7;31001:9;;;;;;;;;;;:19;;;31029:4;31001:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;:44;:71;;30993:115;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;31127:9;;;;;;;;;;;:18;;;31146:7;:5;:7::i;:::-;31155;31127:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;31119:64;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;30895:296:::0;:::o;39355:263::-;39465:4;17362:12;:10;:12::i;:::-;17352:22;;:6;;;;;;;;;;:22;;;17344:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39522:9:::1;;;;;;;;;;;39495:37;;39503:6;39495:37;;;;39487:72;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;39577:6;:15;;;39593:7;:5;:7::i;:::-;39602;39577:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;39570:40;;39355:263:::0;;;;:::o;28970:21::-;;;;;;;;;;;;;:::o;29031:30::-;;;;:::o;32936:1065::-;33021:19;:33;33041:12;:10;:12::i;:::-;33021:33;;;;;;;;;;;;;;;;33010:7;:44;;33002:91;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33104:27;33118:12;:10;:12::i;:::-;33104:13;:27::i;:::-;33142:20;33165:7;33142:30;;33189:6;33198:14;:28;33213:12;:10;:12::i;:::-;33198:28;;;;;;;;;;;;;;;:35;;;;33189:44;;33185:573;33239:1;33235;:5;33185:573;;;33272:11;33286:14;:28;33301:12;:10;:12::i;:::-;33286:28;;;;;;;;;;;;;;;33317:1;33315;:3;33286:33;;;;;;;;;;;;;;;;;;:40;;;33272:54;;33366:6;33347:15;:25;33343:337;;33411:27;33431:6;33411:15;:19;;:27;;;;:::i;:::-;33393:45;;33464:14;:28;33479:12;:10;:12::i;:::-;33464:28;;;;;;;;;;;;;;;33495:1;33493;:3;33464:33;;;;;;;;;;;;;;;;;;;33457:40;;;;;;;;;;;;;;33343:337;;;33595:27;33606:15;33595:6;:10;;:27;;;;:::i;:::-;33552:14;:28;33567:12;:10;:12::i;:::-;33552:28;;;;;;;;;;;;;;;33583:1;33581;:3;33552:33;;;;;;;;;;;;;;;;;;:40;;:70;;;;33659:1;33641:19;;33343:337;33719:1;33700:15;:20;33696:48;;;33739:5;;;33696:48;33185:573;33242:3;;;;;;;;33185:573;;;;33806:46;33844:7;33806:19;:33;33826:12;:10;:12::i;:::-;33806:33;;;;;;;;;;;;;;;;:37;;:46;;;;:::i;:::-;33770:19;:33;33790:12;:10;:12::i;:::-;33770:33;;;;;;;;;;;;;;;:82;;;;33883:30;33905:7;33883:17;;:21;;:30;;;;:::i;:::-;33863:17;:50;;;;33932:9;;;;;;;;;;;:18;;;33951:12;:10;:12::i;:::-;33965:7;33932:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33924:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32936:1065;;:::o;30049:185::-;17362:12;:10;:12::i;:::-;17352:22;;:6;;;;;;;;;;:22;;;17344:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30153:28:::1;:26;:28::i;:::-;30213:13;30192:18;:34;;;;30049:185:::0;:::o;38988:180::-;39082:4;17362:12;:10;:12::i;:::-;17352:22;;:6;;;;;;;;;;:22;;;17344:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39112:7:::1;:5;:7::i;:::-;39104:25;;:34;39130:7;39104:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;39156:4;39149:11;;38988:180:::0;;;:::o;36782:157::-;36874:4;36903:19;:28;36923:7;36903:28;;;;;;;;;;;;;;;;36896:35;;36782:157;;;:::o;34591:113::-;34661:35;34674:12;:10;:12::i;:::-;34688:7;34661:12;:35::i;:::-;34591:113;:::o;29232:29::-;;;;:::o;17782:148::-;17362:12;:10;:12::i;:::-;17352:22;;:6;;;;;;;;;;:22;;;17344:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17889:1:::1;17852:40;;17873:6;::::0;::::1;;;;;;;;17852:40;;;;;;;;;;;;17920:1;17903:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;17782:148::o:0;28998:26::-;;;;:::o;36204:483::-;36296:4;36318:16;36337:13;:22;36351:7;36337:22;;;;;;;;;;;;;;;;36318:41;;36377:6;36372:277;36393:14;:23;36408:7;36393:23;;;;;;;;;;;;;;;:30;;;;36389:1;:34;36372:277;;;36455:9;36467:14;:23;36482:7;36467:23;;;;;;;;;;;;;;;36491:1;36467:26;;;;;;;;;;;;;;;;;;:31;;;36455:43;;36513:11;36527:14;:23;36542:7;36527:23;;;;;;;;;;;;;;;36551:1;36527:26;;;;;;;;;;;;;;;;;;:33;;;36513:47;;36591:46;36607:29;36623:4;36629:6;36607:15;:29::i;:::-;36591:11;:15;;:46;;;;:::i;:::-;36577:60;;36372:277;;36425:3;;;;;;;36372:277;;;;36668:11;36661:18;;;36204:483;;;:::o;17140:79::-;17178:7;17205:6;;;;;;;;;;;17198:13;;17140:79;:::o;31959:642::-;32043:30;32065:7;32043:17;;:21;;:30;;;;:::i;:::-;32023:17;:50;;;;32140:23;:21;:23::i;:::-;32129:7;32092:9;;;;;;;;;;;:19;;;32120:4;32092:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:44;:71;;32084:133;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32270:1;32233:19;:33;32253:12;:10;:12::i;:::-;32233:33;;;;;;;;;;;;;;;;:38;32230:82;;;32286:7;32299:12;:10;:12::i;:::-;32286:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32230:82;32323:14;:28;32338:12;:10;:12::i;:::-;32323:28;;;;;;;;;;;;;;;32357:39;;;;;;;;32371:15;32357:39;;;;32388:7;32357:39;;;32323:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32446:46;32484:7;32446:19;:33;32466:12;:10;:12::i;:::-;32446:33;;;;;;;;;;;;;;;;:37;;:46;;;;:::i;:::-;32410:19;:33;32430:12;:10;:12::i;:::-;32410:33;;;;;;;;;;;;;;;:82;;;;32513:9;;;;;;;;;;;:22;;;32536:12;:10;:12::i;:::-;32558:4;32565:7;32513:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32505:88;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31959:642;:::o;30405:169::-;17362:12;:10;:12::i;:::-;17352:22;;:6;;;;;;;;;;:22;;;17344:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30501:28:::1;:26;:28::i;:::-;30557:9;30540:14;:26;;;;30405:169:::0;:::o;34342:152::-;17362:12;:10;:12::i;:::-;17352:22;;:6;;;;;;;;;;:22;;;17344:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34456:30:::1;34469:7;34478;34456:12;:30::i;:::-;34342:152:::0;;:::o;18085:244::-;17362:12;:10;:12::i;:::-;17352:22;;:6;;;;;;;;;;:22;;;17344:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18194:1:::1;18174:22;;:8;:22;;;;18166:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18284:8;18255:38;;18276:6;::::0;::::1;;;;;;;;18255:38;;;;;;;;;;;;18313:8;18304:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;18085:244:::0;:::o;682:106::-;735:15;770:10;763:17;;682:106;:::o;38022:253::-;38104:4;38126:26;38155:53;38189:18;;38155:29;38177:6;38155:17;;:21;;:29;;;;:::i;:::-;:33;;:53;;;;:::i;:::-;38126:82;;38246:21;38226:17;;:41;38219:48;;;38022:253;:::o;35081:482::-;35160:6;35155:401;35176:14;:23;35191:7;35176:23;;;;;;;;;;;;;;;:30;;;;35172:1;:34;35155:401;;;35238:9;35250:14;:23;35265:7;35250:23;;;;;;;;;;;;;;;35274:1;35250:26;;;;;;;;;;;;;;;;;;:31;;;35238:43;;35296:11;35310:14;:23;35325:7;35310:23;;;;;;;;;;;;;;;35334:1;35310:26;;;;;;;;;;;;;;;;;;:33;;;35296:47;;35360:11;35374:29;35390:4;35396:6;35374:15;:29::i;:::-;35360:43;;35443:34;35470:6;35443:13;:22;35457:7;35443:22;;;;;;;;;;;;;;;;:26;;:34;;;;:::i;:::-;35418:13;:22;35432:7;35418:22;;;;;;;;;;;;;;;:59;;;;35528:16;35539:4;35528:10;:16::i;:::-;35494:14;:23;35509:7;35494:23;;;;;;;;;;;;;;;35518:1;35494:26;;;;;;;;;;;;;;;;;;:31;;:50;;;;35155:401;;;35208:3;;;;;;;35155:401;;;;35081:482;:::o;9346:136::-;9404:7;9431:43;9435:1;9438;9431:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;9424:50;;9346:136;;;;:::o;35571:273::-;35649:6;35644:193;35665:7;:14;;;;35661:1;:18;35644:193;;;35749:1;35715:19;:31;35735:7;35743:1;35735:10;;;;;;;;;;;;;;;;;;;;;;;;;35715:31;;;;;;;;;;;;;;;;:35;35711:115;;;35785:25;35799:7;35807:1;35799:10;;;;;;;;;;;;;;;;;;;;;;;;;35785:13;:25::i;:::-;35711:115;35681:3;;;;;;;35644:193;;;;35571:273::o;34712:361::-;34799:22;34813:7;34799:13;:22::i;:::-;34851:13;:22;34865:7;34851:22;;;;;;;;;;;;;;;;34840:7;:33;;34832:84;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34954:35;34981:7;34954:13;:22;34968:7;34954:22;;;;;;;;;;;;;;;;:26;;:35;;;;:::i;:::-;34929:13;:22;34943:7;34929:22;;;;;;;;;;;;;;;:60;;;;35008:9;;;;;;;;;;;:18;;;35027:7;35036;35008:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35000:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34712:361;;:::o;37649:365::-;37750:4;37772:18;37793:48;37826:14;;37794:26;37814:5;37794:15;:19;;:26;;;;:::i;:::-;37793:32;;:48;;;;:::i;:::-;37772:69;;37852:21;37876:52;37919:8;37876:38;37899:14;;37876:18;;:22;;:38;;;;:::i;:::-;:42;;:52;;;;:::i;:::-;37852:76;;37946:60;37999:6;37946:48;37986:7;37946:35;37964:16;37946:13;:17;;:35;;;;:::i;:::-;:39;;:48;;;;:::i;:::-;:52;;:60;;;;:::i;:::-;37939:67;;;;37649:365;;;;:::o;8882:181::-;8940:7;8960:9;8976:1;8972;:5;8960:17;;9001:1;8996;:6;;8988:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9054:1;9047:8;;;8882:181;;;;:::o;11183:132::-;11241:7;11268:39;11272:1;11275;11268:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;11261:46;;11183:132;;;;:::o;10236:471::-;10294:7;10544:1;10539;:6;10535:47;;;10569:1;10562:8;;;;10535:47;10594:9;10610:1;10606;:5;10594:17;;10639:1;10634;10630;:5;;;;;;:10;10622:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10698:1;10691:8;;;10236:471;;;;;:::o;38399:242::-;38480:4;38502:18;38523:48;38556:14;;38524:26;38544:5;38524:15;:19;;:26;;;;:::i;:::-;38523:32;;:48;;;;:::i;:::-;38502:69;;38589:44;38599:33;38617:14;;38599:13;:17;;:33;;;;:::i;:::-;38589:5;:9;;:44;;;;:::i;:::-;38582:51;;;38399:242;;;:::o;9785:192::-;9871:7;9904:1;9899;:6;;9907:12;9891:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9931:9;9947:1;9943;:5;9931:17;;9968:1;9961:8;;;9785:192;;;;;:::o;11811:278::-;11897:7;11929:1;11925;:5;11932:12;11917:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11956:9;11972:1;11968;:5;;;;;;11956:17;;12080:1;12073:8;;;11811:278;;;;;:::o
Swarm Source
ipfs://611b75db7780a5e5ff828159f5e1fdc2dc96a32190992d5e9d15b3bef51d7c70
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $0.052825 | 950,034.8605 | $50,185.59 |
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.