More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 775 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw | 11633252 | 1499 days ago | IN | 0 ETH | 0.00637385 | ||||
Withdraw | 11632874 | 1499 days ago | IN | 0 ETH | 0.00626203 | ||||
Withdraw | 11632844 | 1499 days ago | IN | 0 ETH | 0.00801294 | ||||
Withdraw | 11581385 | 1507 days ago | IN | 0 ETH | 0.00246008 | ||||
Get Reward | 11579031 | 1508 days ago | IN | 0 ETH | 0.0031881 | ||||
Withdraw | 11560131 | 1511 days ago | IN | 0 ETH | 0.02228917 | ||||
Stake | 11560113 | 1511 days ago | IN | 0 ETH | 0.00957868 | ||||
Stake | 11560096 | 1511 days ago | IN | 0 ETH | 0.00957868 | ||||
Stake | 11560091 | 1511 days ago | IN | 0 ETH | 0.00840983 | ||||
Stake | 11560091 | 1511 days ago | IN | 0 ETH | 0.00943782 | ||||
Stake | 11560083 | 1511 days ago | IN | 0 ETH | 0.01162535 | ||||
Stake | 11560083 | 1511 days ago | IN | 0 ETH | 0.01376228 | ||||
Stake | 11557981 | 1511 days ago | IN | 0 ETH | 0.00774746 | ||||
Stake | 11557458 | 1511 days ago | IN | 0 ETH | 0.01592492 | ||||
Withdraw NFT | 11557273 | 1511 days ago | IN | 0 ETH | 0.01168281 | ||||
Withdraw NFT | 11557266 | 1511 days ago | IN | 0 ETH | 0.01313907 | ||||
Withdraw NFT | 11557246 | 1511 days ago | IN | 0 ETH | 0.01634184 | ||||
Withdraw | 11556607 | 1511 days ago | IN | 0 ETH | 0.02418041 | ||||
Stake | 11556500 | 1511 days ago | IN | 0 ETH | 0.01449525 | ||||
Stake | 11556203 | 1511 days ago | IN | 0 ETH | 0.01730079 | ||||
Stake | 11556194 | 1511 days ago | IN | 0 ETH | 0.01745665 | ||||
Stake | 11556133 | 1511 days ago | IN | 0 ETH | 0.02654154 | ||||
Withdraw NFT | 11551361 | 1512 days ago | IN | 0 ETH | 0.00411131 | ||||
Withdraw NFT | 11550850 | 1512 days ago | IN | 0 ETH | 0.0048786 | ||||
Withdraw NFT | 11550850 | 1512 days ago | IN | 0 ETH | 0.00478506 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
NFTStaking
Compiler Version
v0.6.2+commit.bacdbe57
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-11-24 */ /** *Submitted for verification at Etherscan.io on 2020-11-02 */ // SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } /** * @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); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.3._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.3._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } /* * @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; } } /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor () internal { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor () internal { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!_paused, "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(_paused, "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } } /** * @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); } /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using SafeMath for uint256; using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require((value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).add(value); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } pragma solidity ^0.6.0; /// @title HeroStaking Contract interface IERC1155 { function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes calldata data) external; } interface INodeRunnersNFT { function getFighter(uint256 tokenId) external view returns (uint256, uint256, uint256, uint256, uint256, uint256); } contract NFTStaking is ReentrancyGuard, Pausable, Ownable { using SafeMath for uint256; using SafeERC20 for IERC20; /* ========== STATE VARIABLES ========== */ IERC20 public NDR; IERC1155 public NFT; uint256 public periodFinish = 0; uint256 public rewardRate = 0; uint256 public rewardsDuration = 182 days; uint256 public lastUpdateTime; uint256 public rewardPerTokenStored; uint256 public _totalStrength; uint256 private _totalSupply; mapping(address => uint256) public userRewardPerTokenPaid; mapping(address => uint256) public strengthWeight; mapping(address => uint256) public rewards; mapping(address => uint256) private _balances; mapping(address => uint256[]) public staked; /* ========== CONSTRUCTOR ========== */ constructor(address _NFT, address _NDR) public { NDR = IERC20(_NDR); NFT = IERC1155(_NFT); } /* ========== VIEWS ========== */ /** * @dev Total staked cards in total */ function totalSupply() external view returns (uint256) { return _totalSupply; } /** * @dev Total staked cards by user */ function balanceOf(address account) external view returns (uint256) { return _balances[account]; } function lastTimeRewardApplicable() public view returns (uint256) { return min(block.timestamp, periodFinish); } function rewardPerToken() public view returns (uint256) { if (_totalStrength == 0) { return rewardPerTokenStored; } return rewardPerTokenStored.add( lastTimeRewardApplicable() .sub(lastUpdateTime) .mul(rewardRate) .mul(1e18) .div(_totalStrength) ); } /** * @dev Get claimable NDR amount */ function earned(address account) public view returns (uint256) { return strengthWeight[account] .mul(rewardPerToken().sub(userRewardPerTokenPaid[account])) .div(1e18) .add(rewards[account]); } function getRewardForDuration() external view returns (uint256) { return rewardRate.mul(rewardsDuration); } function min(uint256 a, uint256 b) public pure returns (uint256) { return a < b ? a : b; } /* ========== MUTATIVE FUNCTIONS ========== */ /** * @dev Change contract addresses of ERC-20, ERC-1155 tokens */ function changeAddresses(address _NDR, address _NFT) public onlyOwner { NDR = IERC20(_NDR); NFT = IERC1155(_NFT); } /** * @dev Return all ctaked cards */ function stakedOf(address who) external view returns (uint256[] memory) { return staked[who]; } /** * @dev Stake ERC-1155 */ function stake(uint256 tokenId) external nonReentrant whenNotPaused updateReward(msg.sender) { (,,,,,uint256 series) = INodeRunnersNFT(address(NFT)).getFighter(tokenId); require(series == 1 || series == 2, "wrong id"); require(_balances[msg.sender].add(1) <= 4, "4 NFT max"); (uint256 strength,,,,,) = INodeRunnersNFT(address(NFT)).getFighter(tokenId); strengthWeight[msg.sender] = strengthWeight[msg.sender].add(strength); _totalStrength = _totalStrength.add(strength); _totalSupply++; _balances[msg.sender] = _balances[msg.sender].add(1); staked[msg.sender].push(tokenId); NFT.safeTransferFrom(msg.sender, address(this), tokenId, 1, "0x0"); emit Staked(msg.sender, tokenId); } /** * @dev Used by `withdrawNFT` function */ function withdrawSingle(uint256 tokenId) internal { uint256[] memory token = staked[msg.sender]; for (uint8 index = 0; index < token.length; index++) { if (token[index] == tokenId) { staked[msg.sender][index] = staked[msg.sender][token.length - 1]; staked[msg.sender].pop(); return; } } } /** * @dev Withdraw ERC-1155 */ function withdrawNFT(uint256 tokenId) public updateReward(msg.sender) { (uint256 strength,,,,,) = INodeRunnersNFT(address(NFT)).getFighter(tokenId); strengthWeight[msg.sender] = strengthWeight[msg.sender].sub(strength); _totalStrength = _totalStrength.sub(strength); _totalSupply--; _balances[msg.sender] = _balances[msg.sender].sub(1); withdrawSingle(tokenId); NFT.safeTransferFrom(address(this), msg.sender, tokenId, 1, "0x0"); emit Withdrawn(msg.sender, tokenId); } /** * @dev Withdraw all cards */ function withdraw() public updateReward(msg.sender) { uint256[] memory token = staked[msg.sender]; for (uint8 index = 0; index < token.length; index++) { withdrawNFT(token[index]); } } /** * @dev Get all rewards */ function getReward() public nonReentrant updateReward(msg.sender) { uint256 reward = rewards[msg.sender]; if (reward > 0) { rewards[msg.sender] = 0; NDR.safeTransfer(msg.sender, reward); emit RewardPaid(msg.sender, reward); } } /** * @dev Unstake all cards and get all rewards */ function exit() external { withdraw(); getReward(); } /* ========== RESTRICTED FUNCTIONS ========== */ function onERC1155Received(address, address, uint256, uint256, bytes memory) public pure virtual returns (bytes4) { return this.onERC1155Received.selector; } function notifyRewardAmount(uint256 reward) external onlyOwner updateReward(address(0)) { if (block.timestamp >= periodFinish) { rewardRate = reward.div(rewardsDuration); } else { uint256 remaining = periodFinish.sub(block.timestamp); uint256 leftover = remaining.mul(rewardRate); rewardRate = reward.add(leftover).div(rewardsDuration); } // Ensure the provided reward amount is not more than the balance in the contract. // This keeps the reward rate in the right range, preventing overflows due to // very high values of rewardRate in the earned and rewardsPerToken functions; // Reward + leftover must be less than 2^256 / 10^18 to avoid overflow. uint256 balance = NDR.balanceOf(address(this)); require( rewardRate <= balance.div(rewardsDuration), "Provided reward too high" ); lastUpdateTime = block.timestamp; periodFinish = block.timestamp.add(rewardsDuration); emit RewardAdded(reward); } // Added to support recovering LP Rewards from other systems such as BAL to be distributed to holders function recoverERC20(address tokenAddress, uint256 tokenAmount) external onlyOwner { // Cannot recover the staking token or the rewards token require( tokenAddress != address(NFT) && tokenAddress != address(NDR), "Cannot withdraw the staking or rewards tokens" ); IERC20(tokenAddress).safeTransfer(this.owner(), tokenAmount); emit Recovered(tokenAddress, tokenAmount); } function setRewardsDuration(uint256 _rewardsDuration) external onlyOwner { require( block.timestamp > periodFinish, "Previous rewards period must be complete before changing the duration for the new period" ); rewardsDuration = _rewardsDuration; emit RewardsDurationUpdated(rewardsDuration); } /* ========== MODIFIERS ========== */ modifier updateReward(address account) { rewardPerTokenStored = rewardPerToken(); lastUpdateTime = lastTimeRewardApplicable(); if (account != address(0)) { rewards[account] = earned(account); userRewardPerTokenPaid[account] = rewardPerTokenStored; } _; } /* ========== EVENTS ========== */ event RewardAdded(uint256 reward); event Staked(address indexed user, uint256 tokenId); event Withdrawn(address indexed user, uint256 tokenId); event RewardPaid(address indexed user, uint256 reward); event RewardsDurationUpdated(uint256 newDuration); event Recovered(address token, uint256 amount); }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_NFT","type":"address"},{"internalType":"address","name":"_NDR","type":"address"}],"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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Recovered","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newDuration","type":"uint256"}],"name":"RewardsDurationUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[],"name":"NDR","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NFT","outputs":[{"internalType":"contract IERC1155","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_totalStrength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_NDR","type":"address"},{"internalType":"address","name":"_NFT","type":"address"}],"name":"changeAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"exit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getRewardForDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastTimeRewardApplicable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"a","type":"uint256"},{"internalType":"uint256","name":"b","type":"uint256"}],"name":"min","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"reward","type":"uint256"}],"name":"notifyRewardAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC1155Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"periodFinish","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"recoverERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerTokenStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardsDuration","type":"uint256"}],"name":"setRewardsDuration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"staked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"who","type":"address"}],"name":"stakedOf","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"strengthWeight","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","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":"address","name":"","type":"address"}],"name":"userRewardPerTokenPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"withdrawNFT","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600455600060055562eff1006006553480156200002257600080fd5b50604051620039bc380380620039bc833981810160405260408110156200004857600080fd5b81019080805190602001909291908051906020019092919050505060016000819055506000600160006101000a81548160ff021916908315150217905550600062000098620001c060201b60201c565b9050806001806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35080600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050620001c8565b600033905090565b6137e480620001d86000396000f3fe608060405234801561001057600080fd5b50600436106102045760003560e01c80637c0b8de21161011a578063c8f33c91116100ad578063e98009ce1161007c578063e98009ce14610854578063e9fad8ee1461089e578063ebe2b12b146108a8578063f23a6e61146108c6578063f2fde38b14610a2757610204565b8063c8f33c91146107cc578063cc1a378f146107ea578063cd3daf9d14610818578063df136d651461083657610204565b80638da5cb5b116100e95780638da5cb5b146106595780638f169816146106a3578063a694fc3a14610705578063af500ba31461073357610204565b80637c0b8de21461054b57806380faa57d146105955780638980f11f146105b35780638b8763471461060157610204565b8063386a95251161019d5780635c975abb1161016c5780635c975abb1461045d57806370a082311461047f578063715018a6146104d75780637ae2b5c7146104e15780637b0a47ee1461052d57610204565b8063386a9525146103fd5780633c6b16ab1461041b5780633ccfd60b146104495780633d18b9121461045357610204565b806318160ddd116101d957806318160ddd146103055780631c1f78eb146103235780632514acc314610341578063352eacb4146103a557610204565b80626beea9146102095780628cc26214610227578063023245d71461027f5780630700037d146102ad575b600080fd5b610211610a6b565b6040518082815260200191505060405180910390f35b6102696004803603602081101561023d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610a71565b6040518082815260200191505060405180910390f35b6102ab6004803603602081101561029557600080fd5b8101908080359060200190929190505050610b8f565b005b6102ef600480360360208110156102c357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611048565b6040518082815260200191505060405180910390f35b61030d611060565b6040518082815260200191505060405180910390f35b61032b61106a565b6040518082815260200191505060405180910390f35b6103a36004803603604081101561035757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611088565b005b6103e7600480360360208110156103bb57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506111d7565b6040518082815260200191505060405180910390f35b6104056111ef565b6040518082815260200191505060405180910390f35b6104476004803603602081101561043157600080fd5b81019080803590602001909291905050506111f5565b005b6104516115f6565b005b61045b6117af565b005b610465611a4e565b604051808215151515815260200191505060405180910390f35b6104c16004803603602081101561049557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611a65565b6040518082815260200191505060405180910390f35b6104df611aae565b005b610517600480360360408110156104f757600080fd5b810190808035906020019092919080359060200190929190505050611c36565b6040518082815260200191505060405180910390f35b610535611c4f565b6040518082815260200191505060405180910390f35b610553611c55565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61059d611c7b565b6040518082815260200191505060405180910390f35b6105ff600480360360408110156105c957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611c8e565b005b6106436004803603602081101561061757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611f72565b6040518082815260200191505060405180910390f35b610661611f8a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106ef600480360360408110156106b957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611fb3565b6040518082815260200191505060405180910390f35b6107316004803603602081101561071b57600080fd5b8101908080359060200190929190505050611fe1565b005b6107756004803603602081101561074957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612836565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b838110156107b857808201518184015260208101905061079d565b505050509050019250505060405180910390f35b6107d46128cd565b6040518082815260200191505060405180910390f35b6108166004803603602081101561080057600080fd5b81019080803590602001909291905050506128d3565b005b610820612a39565b6040518082815260200191505060405180910390f35b61083e612ac7565b6040518082815260200191505060405180910390f35b61085c612acd565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6108a6612af3565b005b6108b0612b05565b6040518082815260200191505060405180910390f35b6109d3600480360360a08110156108dc57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001909291908035906020019064010000000081111561094d57600080fd5b82018360208201111561095f57600080fd5b8035906020019184600183028401116401000000008311171561098157600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050612b0b565b60405180827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200191505060405180910390f35b610a6960048036036020811015610a3d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612b20565b005b60095481565b6000610b88600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610b7a670de0b6b3a7640000610b6c610b1e600b60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610b10612a39565b612d2d90919063ffffffff16565b600c60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612d7790919063ffffffff16565b612dfd90919063ffffffff16565b612e4790919063ffffffff16565b9050919050565b33610b98612a39565b600881905550610ba6611c7b565b600781905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c7357610be981610a71565b600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600854600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663889fa1dc846040518263ffffffff1660e01b81526004018082815260200191505060c06040518083038186803b158015610ce857600080fd5b505afa158015610cfc573d6000803e3d6000fd5b505050506040513d60c0811015610d1257600080fd5b8101908080519060200190929190805190602001909291908051906020019092919080519060200190929190805190602001909291908051906020019092919050505050505050509050610dae81600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612d2d90919063ffffffff16565b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610e0681600954612d2d90919063ffffffff16565b600981905550600a6000815480929190600190039190505550610e726001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612d2d90919063ffffffff16565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610ebe83612ecf565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f242432a30338660016040518563ffffffff1660e01b8152600401808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200183815260200182815260200180602001828103825260038152602001807f307830000000000000000000000000000000000000000000000000000000000081525060200195505050505050600060405180830381600087803b158015610fdd57600080fd5b505af1158015610ff1573d6000803e3d6000fd5b505050503373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5846040518082815260200191505060405180910390a2505050565b600d6020528060005260406000206000915090505481565b6000600a54905090565b6000611083600654600554612d7790919063ffffffff16565b905090565b6110906130bd565b73ffffffffffffffffffffffffffffffffffffffff166001809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611151576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b81600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b600c6020528060005260406000206000915090505481565b60065481565b6111fd6130bd565b73ffffffffffffffffffffffffffffffffffffffff166001809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146112be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60006112c8612a39565b6008819055506112d6611c7b565b600781905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146113a35761131981610a71565b600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600854600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60045442106113cc576113c160065483612dfd90919063ffffffff16565b60058190555061142e565b60006113e342600454612d2d90919063ffffffff16565b905060006113fc60055483612d7790919063ffffffff16565b90506114256006546114178387612e4790919063ffffffff16565b612dfd90919063ffffffff16565b60058190555050505b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156114cf57600080fd5b505afa1580156114e3573d6000803e3d6000fd5b505050506040513d60208110156114f957600080fd5b8101908080519060200190929190505050905061152160065482612dfd90919063ffffffff16565b6005541115611598576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f50726f76696465642072657761726420746f6f2068696768000000000000000081525060200191505060405180910390fd5b426007819055506115b460065442612e4790919063ffffffff16565b6004819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d836040518082815260200191505060405180910390a1505050565b336115ff612a39565b60088190555061160d611c7b565b600781905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146116da5761165081610a71565b600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600854600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6060600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080548060200260200160405190810160405280929190818152602001828054801561176557602002820191906000526020600020905b815481526020019060010190808311611751575b5050505050905060008090505b81518160ff1610156117aa5761179d828260ff168151811061179057fe5b6020026020010151610b8f565b8080600101915050611772565b505050565b60026000541415611828576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600260008190555033611839612a39565b600881905550611847611c7b565b600781905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146119145761188a81610a71565b600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600854600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000811115611a42576000600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506119f33382600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166130c59092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040518082815260200191505060405180910390a25b50506001600081905550565b6000600160009054906101000a900460ff16905090565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611ab66130bd565b73ffffffffffffffffffffffffffffffffffffffff166001809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611b77576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166001809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360006001806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000818310611c455781611c47565b825b905092915050565b60055481565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000611c8942600454611c36565b905090565b611c966130bd565b73ffffffffffffffffffffffffffffffffffffffff166001809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611d57576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614158015611e035750600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b611e58576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602d815260200180613758602d913960400191505060405180910390fd5b611f033073ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015611ea157600080fd5b505afa158015611eb5573d6000803e3d6000fd5b505050506040513d6020811015611ecb57600080fd5b8101908080519060200190929190505050828473ffffffffffffffffffffffffffffffffffffffff166130c59092919063ffffffff16565b7f8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa288282604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a15050565b600b6020528060005260406000206000915090505481565b60006001809054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600f6020528160005260406000208181548110611fcc57fe5b90600052602060002001600091509150505481565b6002600054141561205a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600081905550600160009054906101000a900460ff16156120e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b336120ee612a39565b6008819055506120fc611c7b565b600781905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146121c95761213f81610a71565b600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600854600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663889fa1dc846040518263ffffffff1660e01b81526004018082815260200191505060c06040518083038186803b15801561223e57600080fd5b505afa158015612252573d6000803e3d6000fd5b505050506040513d60c081101561226857600080fd5b810190808051906020019092919080519060200190929190805190602001909291908051906020019092919080519060200190929190805190602001909291905050509550505050505060018114806122c15750600281145b612333576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260088152602001807f77726f6e6720696400000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b60046123886001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612e4790919063ffffffff16565b11156123fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f34204e4654206d6178000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663889fa1dc856040518263ffffffff1660e01b81526004018082815260200191505060c06040518083038186803b15801561247157600080fd5b505afa158015612485573d6000803e3d6000fd5b505050506040513d60c081101561249b57600080fd5b810190808051906020019092919080519060200190929190805190602001909291908051906020019092919080519060200190929190805190602001909291905050505050505050905061253781600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612e4790919063ffffffff16565b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061258f81600954612e4790919063ffffffff16565b600981905550600a600081548092919060010191905055506125fa6001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612e4790919063ffffffff16565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020849080600181540180825580915050600190039060005260206000200160009091909190915055600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f242432a33308760016040518563ffffffff1660e01b8152600401808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200183815260200182815260200180602001828103825260038152602001807f307830000000000000000000000000000000000000000000000000000000000081525060200195505050505050600060405180830381600087803b1580156127c257600080fd5b505af11580156127d6573d6000803e3d6000fd5b505050503373ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d856040518082815260200191505060405180910390a2505050600160008190555050565b6060600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054806020026020016040519081016040528092919081815260200182805480156128c157602002820191906000526020600020905b8154815260200190600101908083116128ad575b50505050509050919050565b60075481565b6128db6130bd565b73ffffffffffffffffffffffffffffffffffffffff166001809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461299c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60045442116129f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260588152602001806136936058913960600191505060405180910390fd5b806006819055507ffb46ca5a5e06d4540d6387b930a7c978bce0db5f449ec6b3f5d07c6e1d44f2d36006546040518082815260200191505060405180910390a150565b6000806009541415612a4f576008549050612ac4565b612ac1612ab0600954612aa2670de0b6b3a7640000612a94600554612a86600754612a78611c7b565b612d2d90919063ffffffff16565b612d7790919063ffffffff16565b612d7790919063ffffffff16565b612dfd90919063ffffffff16565b600854612e4790919063ffffffff16565b90505b90565b60085481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b612afb6115f6565b612b036117af565b565b60045481565b600063f23a6e6160e01b905095945050505050565b612b286130bd565b73ffffffffffffffffffffffffffffffffffffffff166001809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612be9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612c6f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806136eb6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166001809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806001806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000612d6f83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061317d565b905092915050565b600080831415612d8a5760009050612df7565b6000828402905082848281612d9b57fe5b0414612df2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806137376021913960400191505060405180910390fd5b809150505b92915050565b6000612e3f83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061323d565b905092915050565b600080828401905083811015612ec5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6060600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480602002602001604051908101604052809291908181526020018280548015612f5a57602002820191906000526020600020905b815481526020019060010190808311612f46575b5050505050905060008090505b81518160ff1610156130b75782828260ff1681518110612f8357fe5b602002602001015114156130aa57600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600183510381548110612fdf57fe5b9060005260206000200154600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208260ff168154811061303757fe5b9060005260206000200181905550600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080548061308d57fe5b6001900381819060005260206000200160009055905550506130ba565b8080600101915050612f67565b50505b50565b600033905090565b6131788363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613303565b505050565b600083831115829061322a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156131ef5780820151818401526020810190506131d4565b50505050905090810190601f16801561321c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b600080831182906132e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156132ae578082015181840152602081019050613293565b50505050905090810190601f1680156132db5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816132f557fe5b049050809150509392505050565b6060613365826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166133f29092919063ffffffff16565b90506000815111156133ed5780806020019051602081101561338657600080fd5b81019080805190602001909291905050506133ec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180613785602a913960400191505060405180910390fd5b5b505050565b6060613401848460008561340a565b90509392505050565b606082471015613465576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806137116026913960400191505060405180910390fd5b61346e856135b3565b6134e0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310613530578051825260208201915060208101905060208303925061350d565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613592576040519150601f19603f3d011682016040523d82523d6000602084013e613597565b606091505b50915091506135a78282866135c6565b92505050949350505050565b600080823b905060008111915050919050565b606083156135d65782905061368b565b6000835111156135e95782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613650578082015181840152602081019050613635565b50505050905090810190601f16801561367d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe50726576696f7573207265776172647320706572696f64206d75737420626520636f6d706c657465206265666f7265206368616e67696e6720746865206475726174696f6e20666f7220746865206e657720706572696f644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7743616e6e6f7420776974686472617720746865207374616b696e67206f72207265776172647320746f6b656e735361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220e85c4d9ad07ddf24afe4fffeef7fcab89809d308ea52b0cfe07462dd1d67c03f64736f6c6343000602003300000000000000000000000089ee76cc25fcbf1714ed575faa6a10202b71c26a000000000000000000000000739763a258640919981f9ba610ae65492455be53
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102045760003560e01c80637c0b8de21161011a578063c8f33c91116100ad578063e98009ce1161007c578063e98009ce14610854578063e9fad8ee1461089e578063ebe2b12b146108a8578063f23a6e61146108c6578063f2fde38b14610a2757610204565b8063c8f33c91146107cc578063cc1a378f146107ea578063cd3daf9d14610818578063df136d651461083657610204565b80638da5cb5b116100e95780638da5cb5b146106595780638f169816146106a3578063a694fc3a14610705578063af500ba31461073357610204565b80637c0b8de21461054b57806380faa57d146105955780638980f11f146105b35780638b8763471461060157610204565b8063386a95251161019d5780635c975abb1161016c5780635c975abb1461045d57806370a082311461047f578063715018a6146104d75780637ae2b5c7146104e15780637b0a47ee1461052d57610204565b8063386a9525146103fd5780633c6b16ab1461041b5780633ccfd60b146104495780633d18b9121461045357610204565b806318160ddd116101d957806318160ddd146103055780631c1f78eb146103235780632514acc314610341578063352eacb4146103a557610204565b80626beea9146102095780628cc26214610227578063023245d71461027f5780630700037d146102ad575b600080fd5b610211610a6b565b6040518082815260200191505060405180910390f35b6102696004803603602081101561023d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610a71565b6040518082815260200191505060405180910390f35b6102ab6004803603602081101561029557600080fd5b8101908080359060200190929190505050610b8f565b005b6102ef600480360360208110156102c357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611048565b6040518082815260200191505060405180910390f35b61030d611060565b6040518082815260200191505060405180910390f35b61032b61106a565b6040518082815260200191505060405180910390f35b6103a36004803603604081101561035757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611088565b005b6103e7600480360360208110156103bb57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506111d7565b6040518082815260200191505060405180910390f35b6104056111ef565b6040518082815260200191505060405180910390f35b6104476004803603602081101561043157600080fd5b81019080803590602001909291905050506111f5565b005b6104516115f6565b005b61045b6117af565b005b610465611a4e565b604051808215151515815260200191505060405180910390f35b6104c16004803603602081101561049557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611a65565b6040518082815260200191505060405180910390f35b6104df611aae565b005b610517600480360360408110156104f757600080fd5b810190808035906020019092919080359060200190929190505050611c36565b6040518082815260200191505060405180910390f35b610535611c4f565b6040518082815260200191505060405180910390f35b610553611c55565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61059d611c7b565b6040518082815260200191505060405180910390f35b6105ff600480360360408110156105c957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611c8e565b005b6106436004803603602081101561061757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611f72565b6040518082815260200191505060405180910390f35b610661611f8a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106ef600480360360408110156106b957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611fb3565b6040518082815260200191505060405180910390f35b6107316004803603602081101561071b57600080fd5b8101908080359060200190929190505050611fe1565b005b6107756004803603602081101561074957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612836565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b838110156107b857808201518184015260208101905061079d565b505050509050019250505060405180910390f35b6107d46128cd565b6040518082815260200191505060405180910390f35b6108166004803603602081101561080057600080fd5b81019080803590602001909291905050506128d3565b005b610820612a39565b6040518082815260200191505060405180910390f35b61083e612ac7565b6040518082815260200191505060405180910390f35b61085c612acd565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6108a6612af3565b005b6108b0612b05565b6040518082815260200191505060405180910390f35b6109d3600480360360a08110156108dc57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001909291908035906020019064010000000081111561094d57600080fd5b82018360208201111561095f57600080fd5b8035906020019184600183028401116401000000008311171561098157600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050612b0b565b60405180827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200191505060405180910390f35b610a6960048036036020811015610a3d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612b20565b005b60095481565b6000610b88600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610b7a670de0b6b3a7640000610b6c610b1e600b60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610b10612a39565b612d2d90919063ffffffff16565b600c60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612d7790919063ffffffff16565b612dfd90919063ffffffff16565b612e4790919063ffffffff16565b9050919050565b33610b98612a39565b600881905550610ba6611c7b565b600781905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c7357610be981610a71565b600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600854600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663889fa1dc846040518263ffffffff1660e01b81526004018082815260200191505060c06040518083038186803b158015610ce857600080fd5b505afa158015610cfc573d6000803e3d6000fd5b505050506040513d60c0811015610d1257600080fd5b8101908080519060200190929190805190602001909291908051906020019092919080519060200190929190805190602001909291908051906020019092919050505050505050509050610dae81600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612d2d90919063ffffffff16565b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610e0681600954612d2d90919063ffffffff16565b600981905550600a6000815480929190600190039190505550610e726001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612d2d90919063ffffffff16565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610ebe83612ecf565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f242432a30338660016040518563ffffffff1660e01b8152600401808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200183815260200182815260200180602001828103825260038152602001807f307830000000000000000000000000000000000000000000000000000000000081525060200195505050505050600060405180830381600087803b158015610fdd57600080fd5b505af1158015610ff1573d6000803e3d6000fd5b505050503373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5846040518082815260200191505060405180910390a2505050565b600d6020528060005260406000206000915090505481565b6000600a54905090565b6000611083600654600554612d7790919063ffffffff16565b905090565b6110906130bd565b73ffffffffffffffffffffffffffffffffffffffff166001809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611151576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b81600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b600c6020528060005260406000206000915090505481565b60065481565b6111fd6130bd565b73ffffffffffffffffffffffffffffffffffffffff166001809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146112be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60006112c8612a39565b6008819055506112d6611c7b565b600781905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146113a35761131981610a71565b600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600854600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60045442106113cc576113c160065483612dfd90919063ffffffff16565b60058190555061142e565b60006113e342600454612d2d90919063ffffffff16565b905060006113fc60055483612d7790919063ffffffff16565b90506114256006546114178387612e4790919063ffffffff16565b612dfd90919063ffffffff16565b60058190555050505b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156114cf57600080fd5b505afa1580156114e3573d6000803e3d6000fd5b505050506040513d60208110156114f957600080fd5b8101908080519060200190929190505050905061152160065482612dfd90919063ffffffff16565b6005541115611598576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f50726f76696465642072657761726420746f6f2068696768000000000000000081525060200191505060405180910390fd5b426007819055506115b460065442612e4790919063ffffffff16565b6004819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d836040518082815260200191505060405180910390a1505050565b336115ff612a39565b60088190555061160d611c7b565b600781905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146116da5761165081610a71565b600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600854600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6060600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080548060200260200160405190810160405280929190818152602001828054801561176557602002820191906000526020600020905b815481526020019060010190808311611751575b5050505050905060008090505b81518160ff1610156117aa5761179d828260ff168151811061179057fe5b6020026020010151610b8f565b8080600101915050611772565b505050565b60026000541415611828576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600260008190555033611839612a39565b600881905550611847611c7b565b600781905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146119145761188a81610a71565b600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600854600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000811115611a42576000600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506119f33382600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166130c59092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040518082815260200191505060405180910390a25b50506001600081905550565b6000600160009054906101000a900460ff16905090565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611ab66130bd565b73ffffffffffffffffffffffffffffffffffffffff166001809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611b77576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166001809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360006001806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000818310611c455781611c47565b825b905092915050565b60055481565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000611c8942600454611c36565b905090565b611c966130bd565b73ffffffffffffffffffffffffffffffffffffffff166001809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611d57576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614158015611e035750600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b611e58576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602d815260200180613758602d913960400191505060405180910390fd5b611f033073ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015611ea157600080fd5b505afa158015611eb5573d6000803e3d6000fd5b505050506040513d6020811015611ecb57600080fd5b8101908080519060200190929190505050828473ffffffffffffffffffffffffffffffffffffffff166130c59092919063ffffffff16565b7f8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa288282604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a15050565b600b6020528060005260406000206000915090505481565b60006001809054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600f6020528160005260406000208181548110611fcc57fe5b90600052602060002001600091509150505481565b6002600054141561205a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600081905550600160009054906101000a900460ff16156120e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b336120ee612a39565b6008819055506120fc611c7b565b600781905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146121c95761213f81610a71565b600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600854600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663889fa1dc846040518263ffffffff1660e01b81526004018082815260200191505060c06040518083038186803b15801561223e57600080fd5b505afa158015612252573d6000803e3d6000fd5b505050506040513d60c081101561226857600080fd5b810190808051906020019092919080519060200190929190805190602001909291908051906020019092919080519060200190929190805190602001909291905050509550505050505060018114806122c15750600281145b612333576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260088152602001807f77726f6e6720696400000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b60046123886001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612e4790919063ffffffff16565b11156123fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f34204e4654206d6178000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663889fa1dc856040518263ffffffff1660e01b81526004018082815260200191505060c06040518083038186803b15801561247157600080fd5b505afa158015612485573d6000803e3d6000fd5b505050506040513d60c081101561249b57600080fd5b810190808051906020019092919080519060200190929190805190602001909291908051906020019092919080519060200190929190805190602001909291905050505050505050905061253781600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612e4790919063ffffffff16565b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061258f81600954612e4790919063ffffffff16565b600981905550600a600081548092919060010191905055506125fa6001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612e4790919063ffffffff16565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020849080600181540180825580915050600190039060005260206000200160009091909190915055600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f242432a33308760016040518563ffffffff1660e01b8152600401808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200183815260200182815260200180602001828103825260038152602001807f307830000000000000000000000000000000000000000000000000000000000081525060200195505050505050600060405180830381600087803b1580156127c257600080fd5b505af11580156127d6573d6000803e3d6000fd5b505050503373ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d856040518082815260200191505060405180910390a2505050600160008190555050565b6060600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054806020026020016040519081016040528092919081815260200182805480156128c157602002820191906000526020600020905b8154815260200190600101908083116128ad575b50505050509050919050565b60075481565b6128db6130bd565b73ffffffffffffffffffffffffffffffffffffffff166001809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461299c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60045442116129f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260588152602001806136936058913960600191505060405180910390fd5b806006819055507ffb46ca5a5e06d4540d6387b930a7c978bce0db5f449ec6b3f5d07c6e1d44f2d36006546040518082815260200191505060405180910390a150565b6000806009541415612a4f576008549050612ac4565b612ac1612ab0600954612aa2670de0b6b3a7640000612a94600554612a86600754612a78611c7b565b612d2d90919063ffffffff16565b612d7790919063ffffffff16565b612d7790919063ffffffff16565b612dfd90919063ffffffff16565b600854612e4790919063ffffffff16565b90505b90565b60085481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b612afb6115f6565b612b036117af565b565b60045481565b600063f23a6e6160e01b905095945050505050565b612b286130bd565b73ffffffffffffffffffffffffffffffffffffffff166001809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612be9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612c6f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806136eb6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166001809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806001806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000612d6f83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061317d565b905092915050565b600080831415612d8a5760009050612df7565b6000828402905082848281612d9b57fe5b0414612df2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806137376021913960400191505060405180910390fd5b809150505b92915050565b6000612e3f83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061323d565b905092915050565b600080828401905083811015612ec5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6060600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480602002602001604051908101604052809291908181526020018280548015612f5a57602002820191906000526020600020905b815481526020019060010190808311612f46575b5050505050905060008090505b81518160ff1610156130b75782828260ff1681518110612f8357fe5b602002602001015114156130aa57600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600183510381548110612fdf57fe5b9060005260206000200154600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208260ff168154811061303757fe5b9060005260206000200181905550600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080548061308d57fe5b6001900381819060005260206000200160009055905550506130ba565b8080600101915050612f67565b50505b50565b600033905090565b6131788363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613303565b505050565b600083831115829061322a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156131ef5780820151818401526020810190506131d4565b50505050905090810190601f16801561321c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b600080831182906132e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156132ae578082015181840152602081019050613293565b50505050905090810190601f1680156132db5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816132f557fe5b049050809150509392505050565b6060613365826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166133f29092919063ffffffff16565b90506000815111156133ed5780806020019051602081101561338657600080fd5b81019080805190602001909291905050506133ec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180613785602a913960400191505060405180910390fd5b5b505050565b6060613401848460008561340a565b90509392505050565b606082471015613465576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806137116026913960400191505060405180910390fd5b61346e856135b3565b6134e0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310613530578051825260208201915060208101905060208303925061350d565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613592576040519150601f19603f3d011682016040523d82523d6000602084013e613597565b606091505b50915091506135a78282866135c6565b92505050949350505050565b600080823b905060008111915050919050565b606083156135d65782905061368b565b6000835111156135e95782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613650578082015181840152602081019050613635565b50505050905090810190601f16801561367d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe50726576696f7573207265776172647320706572696f64206d75737420626520636f6d706c657465206265666f7265206368616e67696e6720746865206475726174696f6e20666f7220746865206e657720706572696f644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7743616e6e6f7420776974686472617720746865207374616b696e67206f72207265776172647320746f6b656e735361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220e85c4d9ad07ddf24afe4fffeef7fcab89809d308ea52b0cfe07462dd1d67c03f64736f6c63430006020033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000089ee76cc25fcbf1714ed575faa6a10202b71c26a000000000000000000000000739763a258640919981f9ba610ae65492455be53
-----Decoded View---------------
Arg [0] : _NFT (address): 0x89eE76cC25Fcbf1714ed575FAa6A10202B71c26A
Arg [1] : _NDR (address): 0x739763a258640919981F9bA610AE65492455bE53
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000089ee76cc25fcbf1714ed575faa6a10202b71c26a
Arg [1] : 000000000000000000000000739763a258640919981f9ba610ae65492455be53
Deployed Bytecode Sourcemap
27947:8718:0:-:0;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;27947:8718:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28383:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;29898:270;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;29898:270:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;32225:545;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;32225:545:0;;;;;;;;;;;;;;;;;:::i;:::-;;28576:42;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;28576:42:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;28999:93;;;:::i;:::-;;;;;;;;;;;;;;;;;;;30176:121;;;:::i;:::-;;;;;;;;;;;;;;;;;;;30555:138;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;30555:138:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;28520:49;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;28520:49:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;28257:41;;;:::i;:::-;;;;;;;;;;;;;;;;;;;33806:1130;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;33806:1130:0;;;;;;;;;;;;;;;;;:::i;:::-;;32828:229;;;:::i;:::-;;33112:298;;;:::i;:::-;;20065:78;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;29158:112;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;29158:112:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;15926:148;;;:::i;:::-;;30305:104;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;30305:104:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;28221:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;28155:19;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;29278:126;;;:::i;:::-;;;;;;;;;;;;;;;;;;;35051:487;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;35051:487:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;28456:57;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;28456:57:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;15284:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;28677:43;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;28677:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;30919:782;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;30919:782:0;;;;;;;;;;;;;;;;;:::i;:::-;;30756:109;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;30756:109:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;30756:109:0;;;;;;;;;;;;;;;;;28305:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;35546:360;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;35546:360:0;;;;;;;;;;;;;;;;;:::i;:::-;;29412:422;;;:::i;:::-;;;;;;;;;;;;;;;;;;;28341:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;28131:17;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;33487:76;;;:::i;:::-;;28183:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;33627:171;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;33627:171:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;33627:171:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;33627:171:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;33627:171:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;33627:171:0;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;16229:244;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;16229:244:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;28383:29;;;;:::o;29898:270::-;29952:7;29992:168;30143:7;:16;30151:7;30143:16;;;;;;;;;;;;;;;;29992:128;30115:4;29992:100;30038:53;30059:22;:31;30082:7;30059:31;;;;;;;;;;;;;;;;30038:16;:14;:16::i;:::-;:20;;:53;;;;:::i;:::-;29992:14;:23;30007:7;29992:23;;;;;;;;;;;;;;;;:45;;:100;;;;:::i;:::-;:122;;:128;;;;:::i;:::-;:150;;:168;;;;:::i;:::-;29972:188;;29898:270;;;:::o;32225:545::-;32283:10;36032:16;:14;:16::i;:::-;36009:20;:39;;;;36076:26;:24;:26::i;:::-;36059:14;:43;;;;36136:1;36117:21;;:7;:21;;;36113:157;;36174:15;36181:7;36174:6;:15::i;:::-;36155:7;:16;36163:7;36155:16;;;;;;;;;;;;;;;:34;;;;36238:20;;36204:22;:31;36227:7;36204:31;;;;;;;;;;;;;;;:54;;;;36113:157;32307:16:::1;32356:3;;;;;;;;;;;32332:40;;;32373:7;32332:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27::::0;20:12:::1;5:2;32332:49:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;32332:49:0;;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27::::0;20:12:::1;2:2;32332:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32306:75;;;;;;;32421:40;32452:8;32421:14;:26;32436:10;32421:26;;;;;;;;;;;;;;;;:30;;:40;;;;:::i;:::-;32392:14;:26;32407:10;32392:26;;;;;;;;;;;;;;;:69;;;;32489:28;32508:8;32489:14;;:18;;:28;;;;:::i;:::-;32472:14;:45;;;;32528:12;;:14;;;;;;;;;;;;;;32577:28;32603:1;32577:9;:21;32587:10;32577:21;;;;;;;;;;;;;;;;:25;;:28;;;;:::i;:::-;32553:9;:21;32563:10;32553:21;;;;;;;;;;;;;;;:52;;;;32616:23;32631:7;32616:14;:23::i;:::-;32650:3;;;;;;;;;;;:20;;;32679:4;32686:10;32698:7;32707:1;32650:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27::::0;20:12:::1;5:2;32650:66:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;32650:66:0;;;;32742:10;32732:30;;;32754:7;32732:30;;;;;;;;;;;;;;;;;;36280:1;32225:545:::0;;:::o;28576:42::-;;;;;;;;;;;;;;;;;:::o;28999:93::-;29045:7;29072:12;;29065:19;;28999:93;:::o;30176:121::-;30231:7;30258:31;30273:15;;30258:10;;:14;;:31;;;;:::i;:::-;30251:38;;30176:121;:::o;30555:138::-;15506:12;:10;:12::i;:::-;15496:22;;:6;;;;;;;;;;;:22;;;15488:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30649:4:::1;30636:3;;:18;;;;;;;;;;;;;;;;;;30680:4;30665:3;;:20;;;;;;;;;;;;;;;;;;30555:138:::0;;:::o;28520:49::-;;;;;;;;;;;;;;;;;:::o;28257:41::-;;;;:::o;33806:1130::-;15506:12;:10;:12::i;:::-;15496:22;;:6;;;;;;;;;;;:22;;;15488:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33917:1:::1;36032:16;:14;:16::i;:::-;36009:20;:39;;;;36076:26;:24;:26::i;:::-;36059:14;:43;;;;36136:1;36117:21;;:7;:21;;;36113:157;;36174:15;36181:7;36174:6;:15::i;:::-;36155:7;:16;36163:7;36155:16;;;;;;;;;;;;;;;:34;;;;36238:20;;36204:22;:31;36227:7;36204:31;;;;;;;;;;;;;;;:54;;;;36113:157;33960:12:::2;;33941:15;:31;33937:318;;34002:27;34013:15;;34002:6;:10;;:27;;;;:::i;:::-;33989:10;:40;;;;33937:318;;;34062:17;34082:33;34099:15;34082:12;;:16;;:33;;;;:::i;:::-;34062:53;;34130:16;34149:25;34163:10;;34149:9;:13;;:25;;;;:::i;:::-;34130:44;;34202:41;34227:15;;34202:20;34213:8;34202:6;:10;;:20;;;;:::i;:::-;:24;;:41;;;;:::i;:::-;34189:10;:54;;;;33937:318;;;34615:15;34633:3;;;;;;;;;;;:13;;;34655:4;34633:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27::::0;20:12:::2;5:2;34633:28:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::2;77:16;74:1;67:27;5:2;34633:28:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26::::0;19:12:::2;2:2;34633:28:0;;;;;;;;;;;;;;;;34615:46;;34708:28;34720:15;;34708:7;:11;;:28;;;;:::i;:::-;34694:10;;:42;;34672:116;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;34816:15;34799:14;:32;;;;34857:36;34877:15;;34857;:19;;:36;;;;:::i;:::-;34842:12;:51;;;;34909:19;34921:6;34909:19;;;;;;;;;;;;;;;;;;36280:1;15566::::1;33806:1130:::0;:::o;32828:229::-;32868:10;36032:16;:14;:16::i;:::-;36009:20;:39;;;;36076:26;:24;:26::i;:::-;36059:14;:43;;;;36136:1;36117:21;;:7;:21;;;36113:157;;36174:15;36181:7;36174:6;:15::i;:::-;36155:7;:16;36163:7;36155:16;;;;;;;;;;;;;;;:34;;;;36238:20;;36204:22;:31;36227:7;36204:31;;;;;;;;;;;;;;;:54;;;;36113:157;32891:22:::1;32916:6;:18;32923:10;32916:18;;;;;;;;;;;;;;;32891:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32950:11;32964:1:::0;32950:15:::1;;32945:105;32975:5;:12;32967:5;:20;;;32945:105;;;33013:25;33025:5;33031;33025:12;;;;;;;;;;;;;;;;33013:11;:25::i;:::-;32989:7;;;;;;;32945:105;;;;36280:1;32828:229:::0;:::o;33112:298::-;18126:1;18732:7;;:19;;18724:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18126:1;18865:7;:18;;;;33166:10:::1;36032:16;:14;:16::i;:::-;36009:20;:39;;;;36076:26;:24;:26::i;:::-;36059:14;:43;;;;36136:1;36117:21;;:7;:21;;;36113:157;;36174:15;36181:7;36174:6;:15::i;:::-;36155:7;:16;36163:7;36155:16;;;;;;;;;;;;;;;:34;;;;36238:20;;36204:22;:31;36227:7;36204:31;;;;;;;;;;;;;;;:54;;;;36113:157;33189:14:::2;33206:7;:19;33214:10;33206:19;;;;;;;;;;;;;;;;33189:36;;33249:1;33240:6;:10;33236:167;;;33289:1;33267:7;:19;33275:10;33267:19;;;;;;;;;;;;;;;:23;;;;33305:36;33322:10;33334:6;33305:3;;;;;;;;;;;:16;;;;:36;;;;;:::i;:::-;33372:10;33361:30;;;33384:6;33361:30;;;;;;;;;;;;;;;;;;33236:167;36280:1;18896::::1;18082::::0;19044:7;:22;;;;33112:298::o;20065:78::-;20104:4;20128:7;;;;;;;;;;;20121:14;;20065:78;:::o;29158:112::-;29217:7;29244:9;:18;29254:7;29244:18;;;;;;;;;;;;;;;;29237:25;;29158:112;;;:::o;15926:148::-;15506:12;:10;:12::i;:::-;15496:22;;:6;;;;;;;;;;;:22;;;15488:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16033:1:::1;15996:40;;16017:6;::::0;::::1;;;;;;;;;15996:40;;;;;;;;;;;;16064:1;16047:6;::::0;:19:::1;;;;;;;;;;;;;;;;;;15926:148::o:0;30305:104::-;30361:7;30392:1;30388;:5;:13;;30400:1;30388:13;;;30396:1;30388:13;30381:20;;30305:104;;;;:::o;28221:29::-;;;;:::o;28155:19::-;;;;;;;;;;;;;:::o;29278:126::-;29335:7;29362:34;29366:15;29383:12;;29362:3;:34::i;:::-;29355:41;;29278:126;:::o;35051:487::-;15506:12;:10;:12::i;:::-;15496:22;;:6;;;;;;;;;;;:22;;;15488:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35281:3:::1;;;;;;;;;;;35257:28;;:12;:28;;;;:77;;;;;35330:3;;;;;;;;;;;35306:28;;:12;:28;;;;35257:77;35235:172;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35418:60;35452:4;:10;;;:12;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27::::0;20:12:::1;5:2;35452:12:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;35452:12:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26::::0;19:12:::1;2:2;35452:12:0;;;;;;;;;;;;;;;;35466:11;35425:12;35418:33;;;;:60;;;;;:::i;:::-;35494:36;35504:12;35518:11;35494:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;35051:487:::0;;:::o;28456:57::-;;;;;;;;;;;;;;;;;:::o;15284:79::-;15322:7;15349:6;;;;;;;;;;;15342:13;;15284:79;:::o;28677:43::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;30919:782::-;18126:1;18732:7;;:19;;18724:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18126:1;18865:7;:18;;;;20383:7:::1;;;;;;;;;;;20382:8;20374:37;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;31000:10:::2;36032:16;:14;:16::i;:::-;36009:20;:39;;;;36076:26;:24;:26::i;:::-;36059:14;:43;;;;36136:1;36117:21;;:7;:21;;;36113:157;;36174:15;36181:7;36174:6;:15::i;:::-;36155:7;:16;36163:7;36155:16;;;;;;;;;;;;;;;:34;;;;36238:20;;36204:22;:31;36227:7;36204:31;;;;;;;;;;;;;;;:54;;;;36113:157;31029:14:::3;31071:3;;;;;;;;;;;31047:40;;;31088:7;31047:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27::::0;20:12:::3;5:2;31047:49:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::3;77:16;74:1;67:27;5:2;31047:49:0;;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27::::0;20:12:::3;2:2;31047:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31023:73;;;;;;;31125:1;31115:6;:11;:26;;;;31140:1;31130:6;:11;31115:26;31107:47;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;31205:1;31173:28;31199:1;31173:9;:21;31183:10;31173:21;;;;;;;;;;;;;;;;:25;;:28;;;;:::i;:::-;:33;;31165:55;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;31232:16;31281:3;;;;;;;;;;;31257:40;;;31298:7;31257:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27::::0;20:12:::3;5:2;31257:49:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::3;77:16;74:1;67:27;5:2;31257:49:0;;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27::::0;20:12:::3;2:2;31257:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31231:75;;;;;;;31346:40;31377:8;31346:14;:26;31361:10;31346:26;;;;;;;;;;;;;;;;:30;;:40;;;;:::i;:::-;31317:14;:26;31332:10;31317:26;;;;;;;;;;;;;;;:69;;;;31414:28;31433:8;31414:14;;:18;;:28;;;;:::i;:::-;31397:14;:45;;;;31453:12;;:14;;;;;;;;;;;;;31502:28;31528:1;31502:9;:21;31512:10;31502:21;;;;;;;;;;;;;;;;:25;;:28;;;;:::i;:::-;31478:9;:21;31488:10;31478:21;;;;;;;;;;;;;;;:52;;;;31541:6;:18;31548:10;31541:18;;;;;;;;;;;;;;;31565:7;31541:32;;39:1:-1;33:3;27:10;23:18;57:10;52:3;45:23;79:10;72:17;;0:93;31541:32:0;;;;;;;;;;;;;;;;;;;31584:3;;;;;;;;;;;:20;;;31605:10;31625:4;31632:7;31641:1;31584:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27::::0;20:12:::3;5:2;31584:66:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::3;77:16;74:1;67:27;5:2;31584:66:0;;;;31673:10;31666:27;;;31685:7;31666:27;;;;;;;;;;;;;;;;;;36280:1;;20422::::2;18082::::0;19044:7;:22;;;;30919:782;:::o;30756:109::-;30810:16;30846:6;:11;30853:3;30846:11;;;;;;;;;;;;;;;30839:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30756:109;;;:::o;28305:29::-;;;;:::o;35546:360::-;15506:12;:10;:12::i;:::-;15496:22;;:6;;;;;;;;;;;:22;;;15488:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35670:12:::1;;35652:15;:30;35630:168;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35827:16;35809:15;:34;;;;35859:39;35882:15;;35859:39;;;;;;;;;;;;;;;;;;35546:360:::0;:::o;29412:422::-;29459:7;29501:1;29483:14;;:19;29479:79;;;29526:20;;29519:27;;;;29479:79;29588:238;29631:180;29796:14;;29631:138;29764:4;29631:106;29726:10;;29631:68;29684:14;;29631:26;:24;:26::i;:::-;:52;;:68;;;;:::i;:::-;:94;;:106;;;;:::i;:::-;:132;;:138;;;;:::i;:::-;:164;;:180;;;;:::i;:::-;29588:20;;:24;;:238;;;;:::i;:::-;29568:258;;29412:422;;:::o;28341:35::-;;;;:::o;28131:17::-;;;;;;;;;;;;;:::o;33487:76::-;33523:10;:8;:10::i;:::-;33544:11;:9;:11::i;:::-;33487:76::o;28183:31::-;;;;:::o;33627:171::-;33733:6;33759:31;;;33752:38;;33627:171;;;;;;;:::o;16229:244::-;15506:12;:10;:12::i;:::-;15496:22;;:6;;;;;;;;;;;:22;;;15488:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16338:1:::1;16318:22;;:8;:22;;;;16310:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16428:8;16399:38;;16420:6;::::0;::::1;;;;;;;;;16399:38;;;;;;;;;;;;16457:8;16448:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;16229:244:::0;:::o;1437:136::-;1495:7;1522:43;1526:1;1529;1522:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;1515:50;;1437:136;;;;:::o;2327:471::-;2385:7;2635:1;2630;:6;2626:47;;;2660:1;2653:8;;;;2626:47;2685:9;2701:1;2697;:5;2685:17;;2730:1;2725;2721;:5;;;;;;:10;2713:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2789:1;2782:8;;;2327:471;;;;;:::o;3274:132::-;3332:7;3359:39;3363:1;3366;3359:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;3352:46;;3274:132;;;;:::o;973:181::-;1031:7;1051:9;1067:1;1063;:5;1051:17;;1092:1;1087;:6;;1079:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1145:1;1138:8;;;973:181;;;;:::o;31771:397::-;31832:22;31857:6;:18;31864:10;31857:18;;;;;;;;;;;;;;;31832:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31891:11;31905:1;31891:15;;31886:275;31916:5;:12;31908:5;:20;;;31886:275;;;31974:7;31958:5;31964;31958:12;;;;;;;;;;;;;;;;:23;31954:196;;;32030:6;:18;32037:10;32030:18;;;;;;;;;;;;;;;32064:1;32049:5;:12;:16;32030:36;;;;;;;;;;;;;;;;32002:6;:18;32009:10;32002:18;;;;;;;;;;;;;;;32021:5;32002:25;;;;;;;;;;;;;;;;;:64;;;;32085:6;:18;32092:10;32085:18;;;;;;;;;;;;;;;:24;;;;;;;;;;;;;;;;;;;;;;;;32128:7;;;;31954:196;31930:7;;;;;;;31886:275;;;;31771:397;;;:::o;13920:106::-;13973:15;14008:10;14001:17;;13920:106;:::o;24515:177::-;24598:86;24618:5;24648:23;;;24673:2;24677:5;24625:58;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;24625:58:0;;;;;;;38:4:-1;29:7;25:18;67:10;61:17;96:58;199:8;192:4;186;182:15;179:29;167:10;160:49;0:215;;;24625:58:0;24598:19;:86::i;:::-;24515:177;;;:::o;1876:192::-;1962:7;1995:1;1990;:6;;1998:12;1982:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;1982:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2022:9;2038:1;2034;:5;2022:17;;2059:1;2052:8;;;1876:192;;;;;:::o;3902:278::-;3988:7;4020:1;4016;:5;4023:12;4008:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;4008:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4047:9;4063:1;4059;:5;;;;;;4047:17;;4171:1;4164:8;;;3902:278;;;;;:::o;26820:761::-;27244:23;27270:69;27298:4;27270:69;;;;;;;;;;;;;;;;;27278:5;27270:27;;;;:69;;;;;:::i;:::-;27244:95;;27374:1;27354:10;:17;:21;27350:224;;;27496:10;27485:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;27485:30:0;;;;;;;;;;;;;;;;27477:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27350:224;26820:761;;;:::o;9034:195::-;9137:12;9169:52;9191:6;9199:4;9205:1;9208:12;9169:21;:52::i;:::-;9162:59;;9034:195;;;;;:::o;10086:530::-;10213:12;10271:5;10246:21;:30;;10238:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10338:18;10349:6;10338:10;:18::i;:::-;10330:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10464:12;10478:23;10505:6;:11;;10525:5;10533:4;10505:33;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;10505:33:0;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;19;14:27;;;;67:4;61:11;56:16;;134:4;130:9;123:4;105:16;101:27;97:43;94:1;90:51;84:4;77:65;157:16;154:1;147:27;211:16;208:1;201:4;198:1;194:12;179:49;5:228;;14:27;32:4;27:9;;5:228;;10463:75:0;;;;10556:52;10574:7;10583:10;10595:12;10556:17;:52::i;:::-;10549:59;;;;10086:530;;;;;;:::o;6116:422::-;6176:4;6384:12;6495:7;6483:20;6475:28;;6529:1;6522:4;:8;6515:15;;;6116:422;;;:::o;12626:742::-;12741:12;12770:7;12766:595;;;12801:10;12794:17;;;;12766:595;12935:1;12915:10;:17;:21;12911:439;;;13178:10;13172:17;13239:15;13226:10;13222:2;13218:19;13211:44;13126:148;13321:12;13314:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;13314:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12626:742;;;;;;:::o
Swarm Source
ipfs://e85c4d9ad07ddf24afe4fffeef7fcab89809d308ea52b0cfe07462dd1d67c03f
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.