Source Code
Latest 25 from a total of 3,218 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Withdraw | 9028099 | 437 days ago | IN | 0 MOVR | 0.00063758 | ||||
| Withdraw | 6544047 | 651 days ago | IN | 0 MOVR | 0.00041292 | ||||
| Withdraw | 5453374 | 814 days ago | IN | 0 MOVR | 0.00035063 | ||||
| Emergency Withdr... | 4646908 | 929 days ago | IN | 0 MOVR | 0.00021918 | ||||
| Withdraw | 3467814 | 1097 days ago | IN | 0 MOVR | 0.00030337 | ||||
| Withdraw | 3436520 | 1102 days ago | IN | 0 MOVR | 0.00018741 | ||||
| Withdraw | 3429684 | 1103 days ago | IN | 0 MOVR | 0.00023013 | ||||
| Withdraw | 3291483 | 1122 days ago | IN | 0 MOVR | 0.00026059 | ||||
| Withdraw | 3042231 | 1159 days ago | IN | 0 MOVR | 0.00023013 | ||||
| Withdraw | 2776782 | 1198 days ago | IN | 0 MOVR | 0.00014111 | ||||
| Withdraw | 2619115 | 1220 days ago | IN | 0 MOVR | 0.00023392 | ||||
| Withdraw | 2581040 | 1226 days ago | IN | 0 MOVR | 0.00023395 | ||||
| Withdraw | 2448501 | 1247 days ago | IN | 0 MOVR | 0.00019412 | ||||
| Withdraw | 2392136 | 1257 days ago | IN | 0 MOVR | 0.00014106 | ||||
| Withdraw | 2392135 | 1257 days ago | IN | 0 MOVR | 0.0002339 | ||||
| Withdraw | 2371098 | 1260 days ago | IN | 0 MOVR | 0.0002339 | ||||
| Withdraw | 2218584 | 1287 days ago | IN | 0 MOVR | 0.00023387 | ||||
| Withdraw | 2182350 | 1293 days ago | IN | 0 MOVR | 0.00019412 | ||||
| Withdraw | 2130298 | 1302 days ago | IN | 0 MOVR | 0.00023392 | ||||
| Withdraw | 2052244 | 1315 days ago | IN | 0 MOVR | 0.00023392 | ||||
| Withdraw | 2052208 | 1315 days ago | IN | 0 MOVR | 0.00023392 | ||||
| Withdraw | 2043691 | 1316 days ago | IN | 0 MOVR | 0.00023392 | ||||
| Withdraw | 2026921 | 1319 days ago | IN | 0 MOVR | 0.00023392 | ||||
| Withdraw | 2025589 | 1319 days ago | IN | 0 MOVR | 0.0001941 | ||||
| Withdraw | 2016915 | 1321 days ago | IN | 0 MOVR | 0.00023392 |
View more zero value Internal Transactions in Advanced View mode
Cross-Chain Transactions
Loading...
Loading
Contract Name:
TokenFarm
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
contract TokenFarm is Ownable, ReentrancyGuard {
using SafeERC20 for IERC20;
// Info of each user for each farm.
struct UserInfo {
uint256 amount; // How many Staking tokens the user has provided.
uint256 rewardDebt; // Reward debt. See explanation below.
}
// Info of each reward distribution campaign.
struct CampaignInfo {
IERC20 stakingToken; // Address of Staking token contract.
IERC20 rewardToken; // Address of Reward token contract
uint256 startBlock; // start block of the campaign
uint256 lastRewardBlock; // Last block number that Reward Token distribution occurs.
uint256 accRewardPerShare; // Accumulated Reward Token per share, times 1e12. See below.
uint256 totalStaked; // total staked amount each campaign's stake token, typically, each campaign has the same stake token, so need to track it separatedly
uint256 totalRewards;
}
// Reward info
struct RewardInfo {
uint256 endBlock;
uint256 rewardPerBlock;
}
// @dev this is mostly used for extending reward period
// @notice Reward info is a set of {endBlock, rewardPerBlock}
// indexed by campaigh ID
mapping(uint256 => RewardInfo[]) public campaignRewardInfo;
// @notice Info of each campaign. mapped from campaigh ID
CampaignInfo[] public campaignInfo;
// Info of each user that stakes Staking tokens.
mapping(uint256 => mapping(address => UserInfo)) public userInfo;
// @notice limit length of reward info
// how many phases are allowed
uint256 public rewardInfoLimit;
// @dev reward holder account
address public rewardHolder;
event Deposit(address indexed user, uint256 amount, uint256 campaign);
event Withdraw(address indexed user, uint256 amount, uint256 campaign);
event EmergencyWithdraw(
address indexed user,
uint256 amount,
uint256 campaign
);
event AddCampaignInfo(
uint256 indexed campaignID,
IERC20 stakingToken,
IERC20 rewardToken,
uint256 startBlock
);
event AddRewardInfo(
uint256 indexed campaignID,
uint256 indexed phase,
uint256 endBlock,
uint256 rewardPerBlock
);
event SetRewardInfoLimit(uint256 rewardInfoLimit);
event SetRewardHolder(address rewardHolder);
// constructor
constructor(address _rewardHolder) {
rewardInfoLimit = 52; // 52 weeks, 1 year
rewardHolder = _rewardHolder;
}
// @notice function for setting a reward holder who is responsible for adding a reward info
function setRewardHolder(address _rewardHolder) external onlyOwner {
rewardHolder = _rewardHolder;
emit SetRewardHolder(_rewardHolder);
}
// @notice set new reward info limit
function setRewardInfoLimit(uint256 _updatedRewardInfoLimit)
external
onlyOwner
{
rewardInfoLimit = _updatedRewardInfoLimit;
emit SetRewardInfoLimit(rewardInfoLimit);
}
// @notice reward campaign, one campaign represents a pair of staking and reward token, last reward Block and acc reward Per Share
function addCampaignInfo(
IERC20 _stakingToken,
IERC20 _rewardToken,
uint256 _startBlock
) external onlyOwner {
campaignInfo.push(
CampaignInfo({
stakingToken: _stakingToken,
rewardToken: _rewardToken,
startBlock: _startBlock,
lastRewardBlock: _startBlock,
accRewardPerShare: 0,
totalStaked: 0,
totalRewards: 0
})
);
emit AddCampaignInfo(
campaignInfo.length - 1,
_stakingToken,
_rewardToken,
_startBlock
);
}
// @notice if the new reward info is added, the reward & its end block will be extended by the newly pushed reward info.
function addRewardInfo(
uint256 _campaignID,
uint256 _endBlock,
uint256 _rewardPerBlock
) external onlyOwner {
RewardInfo[] storage rewardInfo = campaignRewardInfo[_campaignID];
CampaignInfo storage campaign = campaignInfo[_campaignID];
require(
rewardInfo.length < rewardInfoLimit,
"addRewardInfo::reward info length exceeds the limit"
);
require(
rewardInfo.length == 0 ||
rewardInfo[rewardInfo.length - 1].endBlock >= block.number,
"addRewardInfo::reward period ended"
);
require(
rewardInfo.length == 0 ||
rewardInfo[rewardInfo.length - 1].endBlock < _endBlock,
"addRewardInfo::bad new endblock"
);
uint256 startBlock = rewardInfo.length == 0
? campaign.startBlock
: rewardInfo[rewardInfo.length - 1].endBlock;
uint256 blockRange = _endBlock - startBlock;
uint256 totalRewards = _rewardPerBlock * blockRange;
campaign.rewardToken.safeTransferFrom(
rewardHolder,
address(this),
totalRewards
);
campaign.totalRewards = campaign.totalRewards + totalRewards;
rewardInfo.push(
RewardInfo({endBlock: _endBlock, rewardPerBlock: _rewardPerBlock})
);
emit AddRewardInfo(
_campaignID,
rewardInfo.length - 1,
_endBlock,
_rewardPerBlock
);
}
function rewardInfoLen(uint256 _campaignID)
external
view
returns (uint256)
{
return campaignRewardInfo[_campaignID].length;
}
function campaignInfoLen() external view returns (uint256) {
return campaignInfo.length;
}
// @notice this will return end block based on the current block number.
function currentEndBlock(uint256 _campaignID)
external
view
returns (uint256)
{
return _endBlockOf(_campaignID, block.number);
}
function _endBlockOf(uint256 _campaignID, uint256 _blockNumber)
internal
view
returns (uint256)
{
RewardInfo[] memory rewardInfo = campaignRewardInfo[_campaignID];
uint256 len = rewardInfo.length;
if (len == 0) {
return 0;
}
for (uint256 i = 0; i < len; ++i) {
if (_blockNumber <= rewardInfo[i].endBlock)
return rewardInfo[i].endBlock;
}
// @dev when couldn't find any reward info, it means that _blockNumber exceed endblock
// so return the latest reward info.
return rewardInfo[len - 1].endBlock;
}
// @notice this will return reward per block based on the current block number.
function currentRewardPerBlock(uint256 _campaignID)
external
view
returns (uint256)
{
return _rewardPerBlockOf(_campaignID, block.number);
}
function _rewardPerBlockOf(uint256 _campaignID, uint256 _blockNumber)
internal
view
returns (uint256)
{
RewardInfo[] memory rewardInfo = campaignRewardInfo[_campaignID];
uint256 len = rewardInfo.length;
if (len == 0) {
return 0;
}
for (uint256 i = 0; i < len; ++i) {
if (_blockNumber <= rewardInfo[i].endBlock)
return rewardInfo[i].rewardPerBlock;
}
// @dev when couldn't find any reward info, it means that timestamp exceed endblock
// so return 0
return 0;
}
// @notice Return reward multiplier over the given _from to _to block.
function getMultiplier(
uint256 _from,
uint256 _to,
uint256 _endBlock
) public pure returns (uint256) {
if ((_from >= _endBlock) || (_from > _to)) {
return 0;
}
if (_to <= _endBlock) {
return _to - _from;
}
return _endBlock - _from;
}
// @notice View function to see pending Reward on frontend.
function pendingReward(uint256 _campaignID, address _user)
external
view
returns (uint256)
{
return
_pendingReward(
_campaignID,
userInfo[_campaignID][_user].amount,
userInfo[_campaignID][_user].rewardDebt
);
}
function _pendingReward(
uint256 _campaignID,
uint256 _amount,
uint256 _rewardDebt
) internal view returns (uint256) {
CampaignInfo memory campaign = campaignInfo[_campaignID];
RewardInfo[] memory rewardInfo = campaignRewardInfo[_campaignID];
uint256 accRewardPerShare = campaign.accRewardPerShare;
if (
block.number > campaign.lastRewardBlock && campaign.totalStaked != 0
) {
uint256 cursor = campaign.lastRewardBlock;
for (uint256 i = 0; i < rewardInfo.length; ++i) {
uint256 multiplier = getMultiplier(
cursor,
block.number,
rewardInfo[i].endBlock
);
if (multiplier == 0) continue;
cursor = rewardInfo[i].endBlock;
accRewardPerShare += (((multiplier *
rewardInfo[i].rewardPerBlock) * 1e12) /
campaign.totalStaked);
}
}
return ((_amount * accRewardPerShare) / 1e12) - _rewardDebt;
}
function updateCampaign(uint256 _campaignID) external nonReentrant {
_updateCampaign(_campaignID);
}
// @notice Update reward variables of the given campaign to be up-to-date.
function _updateCampaign(uint256 _campaignID) internal {
CampaignInfo storage campaign = campaignInfo[_campaignID];
RewardInfo[] memory rewardInfo = campaignRewardInfo[_campaignID];
if (block.number <= campaign.lastRewardBlock) {
return;
}
if (campaign.totalStaked == 0) {
// if there is no total supply, return and use the campaign's start block as the last reward block
// so that ALL reward will be distributed.
// however, if the first deposit is out of reward period, last reward block will be its block number
// in order to keep the multiplier = 0
if (block.number > _endBlockOf(_campaignID, block.number)) {
campaign.lastRewardBlock = block.number;
}
return;
}
// @dev for each reward info
for (uint256 i = 0; i < rewardInfo.length; ++i) {
// @dev get multiplier based on current Block and rewardInfo's end block
// multiplier will be a range of either (current block - campaign.lastRewardBlock)
// or (reward info's endblock - campaign.lastRewardBlock) or 0
uint256 multiplier = getMultiplier(
campaign.lastRewardBlock,
block.number,
rewardInfo[i].endBlock
);
if (multiplier == 0) continue;
// @dev if currentBlock exceed end block, use end block as the last reward block
// so that for the next iteration, previous endBlock will be used as the last reward block
if (block.number > rewardInfo[i].endBlock) {
campaign.lastRewardBlock = rewardInfo[i].endBlock;
} else {
campaign.lastRewardBlock = block.number;
}
campaign.accRewardPerShare +=
((multiplier * rewardInfo[i].rewardPerBlock) * 1e12) /
campaign.totalStaked;
}
}
// @notice Update reward variables for all campaigns. gas spending is HIGH in this method call, BE CAREFUL
function massUpdateCampaigns() external nonReentrant {
uint256 length = campaignInfo.length;
for (uint256 pid = 0; pid < length; ++pid) {
_updateCampaign(pid);
}
}
// @notice Stake Staking tokens to PetFarm
function deposit(uint256 _campaignID, uint256 _amount)
external
nonReentrant
{
CampaignInfo storage campaign = campaignInfo[_campaignID];
UserInfo storage user = userInfo[_campaignID][msg.sender];
_updateCampaign(_campaignID);
if (user.amount > 0) {
uint256 pending = ((user.amount * campaign.accRewardPerShare) /
1e12) - user.rewardDebt;
if (pending > 0) {
campaign.rewardToken.safeTransfer(address(msg.sender), pending);
}
}
if (_amount > 0) {
campaign.stakingToken.safeTransferFrom(
address(msg.sender),
address(this),
_amount
);
user.amount += _amount;
campaign.totalStaked += _amount;
}
user.rewardDebt = (user.amount * campaign.accRewardPerShare) / 1e12;
emit Deposit(msg.sender, _amount, _campaignID);
}
// @notice Withdraw Staking tokens from STAKING.
function withdraw(uint256 _campaignID, uint256 _amount)
external
nonReentrant
{
_withdraw(_campaignID, _amount);
}
// @notice internal method for withdraw (withdraw and harvest method depend on this method)
function _withdraw(uint256 _campaignID, uint256 _amount) internal {
CampaignInfo storage campaign = campaignInfo[_campaignID];
UserInfo storage user = userInfo[_campaignID][msg.sender];
require(user.amount >= _amount, "withdraw::bad withdraw amount");
_updateCampaign(_campaignID);
uint256 pending = ((user.amount * campaign.accRewardPerShare) / 1e12) -
user.rewardDebt;
if (pending > 0) {
campaign.rewardToken.safeTransfer(address(msg.sender), pending);
}
if (_amount > 0) {
user.amount -= _amount;
campaign.stakingToken.safeTransfer(address(msg.sender), _amount);
campaign.totalStaked -= _amount;
}
user.rewardDebt = (user.amount * campaign.accRewardPerShare) / 1e12;
emit Withdraw(msg.sender, _amount, _campaignID);
}
// @notice method for harvest campaigns (used when the user want to claim their reward token based on specified campaigns)
function harvest(uint256[] calldata _campaignIDs) external nonReentrant {
for (uint256 i = 0; i < _campaignIDs.length; ++i) {
_withdraw(_campaignIDs[i], 0);
}
}
// @notice Withdraw without caring about rewards. EMERGENCY ONLY.
function emergencyWithdraw(uint256 _campaignID) external nonReentrant {
CampaignInfo storage campaign = campaignInfo[_campaignID];
UserInfo storage user = userInfo[_campaignID][msg.sender];
uint256 _amount = user.amount;
campaign.totalStaked -= _amount;
user.amount = 0;
user.rewardDebt = 0;
campaign.stakingToken.safeTransfer(address(msg.sender), _amount);
emit EmergencyWithdraw(msg.sender, _amount, _campaignID);
}
// @notice Withdraw reward. EMERGENCY ONLY.
function emergencyRewardWithdraw(
uint256 _campaignID,
uint256 _amount,
address _beneficiary
) external onlyOwner nonReentrant {
CampaignInfo storage campaign = campaignInfo[_campaignID];
uint256 currentStakingPendingReward = _pendingReward(
_campaignID,
campaign.totalStaked,
0
);
require(
currentStakingPendingReward + _amount <= campaign.totalRewards,
"emergencyRewardWithdraw::not enough reward token"
);
campaign.totalRewards -= _amount;
campaign.rewardToken.safeTransfer(_beneficiary, _amount);
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_setOwner(_msgSender());
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual 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 {
_setOwner(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");
_setOwner(newOwner);
}
function _setOwner(address newOwner) private {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../IERC20.sol";
import "../../../utils/Address.sol";
/**
* @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 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'
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) + value;
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
function safeDecreaseAllowance(
IERC20 token,
address spender,
uint256 value
) internal {
unchecked {
uint256 oldAllowance = token.allowance(address(this), spender);
require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
uint256 newAllowance = oldAllowance - value;
_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
require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
}
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `recipient`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address recipient, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `sender` to `recipient` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address sender,
address recipient,
uint256 amount
) external returns (bool);
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @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].
*/
abstract 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() {
_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;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with 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) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize, which returns 0 for contracts in
// construction, since the code is only stored at the end of the
// constructor execution.
uint256 size;
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");
(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");
(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");
(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.4._
*/
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.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal 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
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}{
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"abi"
]
}
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_rewardHolder","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"campaignID","type":"uint256"},{"indexed":false,"internalType":"contract IERC20","name":"stakingToken","type":"address"},{"indexed":false,"internalType":"contract IERC20","name":"rewardToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"startBlock","type":"uint256"}],"name":"AddCampaignInfo","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"campaignID","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"phase","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"endBlock","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"rewardPerBlock","type":"uint256"}],"name":"AddRewardInfo","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"campaign","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"campaign","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"rewardHolder","type":"address"}],"name":"SetRewardHolder","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"rewardInfoLimit","type":"uint256"}],"name":"SetRewardInfoLimit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"campaign","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"contract IERC20","name":"_stakingToken","type":"address"},{"internalType":"contract IERC20","name":"_rewardToken","type":"address"},{"internalType":"uint256","name":"_startBlock","type":"uint256"}],"name":"addCampaignInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_campaignID","type":"uint256"},{"internalType":"uint256","name":"_endBlock","type":"uint256"},{"internalType":"uint256","name":"_rewardPerBlock","type":"uint256"}],"name":"addRewardInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"campaignInfo","outputs":[{"internalType":"contract IERC20","name":"stakingToken","type":"address"},{"internalType":"contract IERC20","name":"rewardToken","type":"address"},{"internalType":"uint256","name":"startBlock","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accRewardPerShare","type":"uint256"},{"internalType":"uint256","name":"totalStaked","type":"uint256"},{"internalType":"uint256","name":"totalRewards","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"campaignInfoLen","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"campaignRewardInfo","outputs":[{"internalType":"uint256","name":"endBlock","type":"uint256"},{"internalType":"uint256","name":"rewardPerBlock","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_campaignID","type":"uint256"}],"name":"currentEndBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_campaignID","type":"uint256"}],"name":"currentRewardPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_campaignID","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_campaignID","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_beneficiary","type":"address"}],"name":"emergencyRewardWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_campaignID","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"},{"internalType":"uint256","name":"_endBlock","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_campaignIDs","type":"uint256[]"}],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"massUpdateCampaigns","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_campaignID","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardHolder","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_campaignID","type":"uint256"}],"name":"rewardInfoLen","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardInfoLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_rewardHolder","type":"address"}],"name":"setRewardHolder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_updatedRewardInfoLimit","type":"uint256"}],"name":"setRewardInfoLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_campaignID","type":"uint256"}],"name":"updateCampaign","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_campaignID","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60806040523480156200001157600080fd5b50604051620036b4380380620036b4833981810160405281019062000037919062000191565b620000576200004b620000ae60201b60201c565b620000b660201b60201c565b60018081905550603460058190555080600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505062000216565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000815190506200018b81620001fc565b92915050565b600060208284031215620001aa57620001a9620001f7565b5b6000620001ba848285016200017a565b91505092915050565b6000620001d082620001d7565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600080fd5b6200020781620001c3565b81146200021357600080fd5b50565b61348e80620002266000396000f3fe608060405234801561001057600080fd5b50600436106101725760003560e01c80636806cc93116100de57806398969e8211610097578063cef7042d11610071578063cef7042d14610461578063e2bbb1581461047d578063eebdced514610499578063f2fde38b146104a357610172565b806398969e82146103cb5780639a63bc16146103fb578063bb2238ec1461042b57610172565b80636806cc93146102f6578063715018a6146103125780637bafb0291461031c5780638d48aff01461034c5780638da5cb5b1461037c57806393f1a40b1461039a57610172565b8063441a3e7011610130578063441a3e70146102365780634ad7ce80146102525780634ae56bae146102705780635312ea8e146102a0578063569c93d2146102bc5780635d14b06f146102da57610172565b8062d748501461017757806310f7a6af146101955780631d123131146101c65780632ea807c5146101e257806333824b87146101fe578063409e00fc1461021a575b600080fd5b61017f6104bf565b60405161018c9190612e07565b60405180910390f35b6101af60048036038101906101aa919061284f565b6104c5565b6040516101bd929190612e22565b60405180910390f35b6101e060048036038101906101db919061288f565b610506565b005b6101fc60048036038101906101f791906128e2565b6106d4565b005b610218600480360381019061021391906127e2565b610a84565b005b610234600480360381019061022f919061278f565b610b43565b005b610250600480360381019061024b919061284f565b610d60565b005b61025a610dc3565b6040516102679190612e07565b60405180910390f35b61028a600480360381019061028591906127e2565b610dd0565b6040516102979190612e07565b60405180910390f35b6102ba60048036038101906102b591906127e2565b610df0565b005b6102c4610f9c565b6040516102d19190612b64565b60405180910390f35b6102f460048036038101906102ef9190612715565b610fc2565b005b610310600480360381019061030b91906126e8565b61105f565b005b61031a611156565b005b610336600480360381019061033191906128e2565b6111de565b6040516103439190612e07565b60405180910390f35b610366600480360381019061036191906127e2565b61122c565b6040516103739190612e07565b60405180910390f35b61038461123f565b6040516103919190612b64565b60405180910390f35b6103b460048036038101906103af919061280f565b611268565b6040516103c2929190612e22565b60405180910390f35b6103e560048036038101906103e0919061280f565b611299565b6040516103f29190612e07565b60405180910390f35b610415600480360381019061041091906127e2565b611354565b6040516104229190612e07565b60405180910390f35b610445600480360381019061044091906127e2565b611367565b6040516104589796959493929190612c16565b60405180910390f35b61047b600480360381019061047691906127e2565b6113f9565b005b6104976004803603810190610492919061284f565b61145a565b005b6104a16116e4565b005b6104bd60048036038101906104b891906126e8565b61176c565b005b60055481565b600260205281600052604060002081815481106104e157600080fd5b9060005260206000209060020201600091509150508060000154908060010154905082565b61050e611864565b73ffffffffffffffffffffffffffffffffffffffff1661052c61123f565b73ffffffffffffffffffffffffffffffffffffffff1614610582576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161057990612d27565b60405180910390fd5b600260015414156105c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105bf90612dc7565b60405180910390fd5b60026001819055506000600384815481106105e6576105e56130fc565b5b906000526020600020906007020190506000610608858360050154600061186c565b90508160060154848261061b9190612e7d565b111561065c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161065390612d07565b60405180910390fd5b838260060160008282546106709190612f5e565b925050819055506106c683858460010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611b349092919063ffffffff16565b505060018081905550505050565b6106dc611864565b73ffffffffffffffffffffffffffffffffffffffff166106fa61123f565b73ffffffffffffffffffffffffffffffffffffffff1614610750576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161074790612d27565b60405180910390fd5b600060026000858152602001908152602001600020905060006003858154811061077d5761077c6130fc565b5b906000526020600020906007020190506005548280549050106107d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107cc90612de7565b60405180910390fd5b60008280549050148061081c57504382600184805490506107f69190612f5e565b81548110610807576108066130fc565b5b90600052602060002090600202016000015410155b61085b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085290612da7565b60405180910390fd5b6000828054905014806108a1575083826001848054905061087c9190612f5e565b8154811061088d5761088c6130fc565b5b906000526020600020906002020160000154105b6108e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d790612ca7565b60405180910390fd5b6000808380549050146109275782600184805490506108ff9190612f5e565b815481106109105761090f6130fc565b5b90600052602060002090600202016000015461092d565b81600201545b90506000818661093d9190612f5e565b90506000818661094d9190612f04565b90506109c2600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1630838760010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611bba909392919063ffffffff16565b8084600601546109d29190612e7d565b84600601819055508460405180604001604052808981526020018881525090806001815401808255809150506001900390600052602060002090600202016000909190919091506000820151816000015560208201518160010155505060018580549050610a409190612f5e565b887fad90731bd0d97445f5af66088f3adebf343c520c20e033cc42f93b124258cdc28989604051610a72929190612e22565b60405180910390a35050505050505050565b610a8c611864565b73ffffffffffffffffffffffffffffffffffffffff16610aaa61123f565b73ffffffffffffffffffffffffffffffffffffffff1614610b00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af790612d27565b60405180910390fd5b806005819055507fb64f58843e750a8bea7135ef396cf0a7790bfc9a8f43f11ac0e0aacc1b5787ba600554604051610b389190612e07565b60405180910390a150565b610b4b611864565b73ffffffffffffffffffffffffffffffffffffffff16610b6961123f565b73ffffffffffffffffffffffffffffffffffffffff1614610bbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb690612d27565b60405180910390fd5b60036040518060e001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff16815260200183815260200183815260200160008152602001600081526020016000815250908060018154018082558091505060019003906000526020600020906007020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160020155606082015181600301556080820151816004015560a0820151816005015560c0820151816006015550506001600380549050610d209190612f5e565b7f9b2f18f9a188a5aec4a95ee3164fe234dfbb6117628b2ad1a581939e61c69f4e848484604051610d5393929190612bdf565b60405180910390a2505050565b60026001541415610da6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9d90612dc7565b60405180910390fd5b6002600181905550610db88282611c43565b600180819055505050565b6000600380549050905090565b600060026000838152602001908152602001600020805490509050919050565b60026001541415610e36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2d90612dc7565b60405180910390fd5b6002600181905550600060038281548110610e5457610e536130fc565b5b9060005260206000209060070201905060006004600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008160000154905080836005016000828254610ed59190612f5e565b925050819055506000826000018190555060008260010181905550610f3f33828560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611b349092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05958286604051610f87929190612e22565b60405180910390a25050506001808190555050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60026001541415611008576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fff90612dc7565b60405180910390fd5b600260018190555060005b8282905081101561105357611042838383818110611034576110336130fc565b5b905060200201356000611c43565b8061104c90613055565b9050611013565b50600180819055505050565b611067611864565b73ffffffffffffffffffffffffffffffffffffffff1661108561123f565b73ffffffffffffffffffffffffffffffffffffffff16146110db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d290612d27565b60405180910390fd5b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f860da714d66641e1bb8025e657aa279ec5bbe56385e52a9ee03a12718e5600cb8160405161114b9190612b64565b60405180910390a150565b61115e611864565b73ffffffffffffffffffffffffffffffffffffffff1661117c61123f565b73ffffffffffffffffffffffffffffffffffffffff16146111d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c990612d27565b60405180910390fd5b6111dc6000611eaf565b565b600081841015806111ee57508284115b156111fc5760009050611225565b81831161121657838361120f9190612f5e565b9050611225565b83826112229190612f5e565b90505b9392505050565b60006112388243611f73565b9050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6004602052816000526040600020602052806000526040600020600091509150508060000154908060010154905082565b600061134c836004600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001546004600087815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001015461186c565b905092915050565b60006113608243612087565b9050919050565b6003818154811061137757600080fd5b90600052602060002090600702016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060020154908060030154908060040154908060050154908060060154905087565b6002600154141561143f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143690612dc7565b60405180910390fd5b6002600181905550611450816121c4565b6001808190555050565b600260015414156114a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149790612dc7565b60405180910390fd5b60026001819055506000600383815481106114be576114bd6130fc565b5b9060005260206000209060070201905060006004600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905061152b846121c4565b6000816000015411156115ca576000816001015464e8d4a51000846004015484600001546115599190612f04565b6115639190612ed3565b61156d9190612f5e565b905060008111156115c8576115c733828560010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611b349092919063ffffffff16565b5b505b600083111561165b576116243330858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611bba909392919063ffffffff16565b828160000160008282546116389190612e7d565b92505081905550828260050160008282546116539190612e7d565b925050819055505b64e8d4a51000826004015482600001546116759190612f04565b61167f9190612ed3565b81600101819055503373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a1584866040516116cf929190612e22565b60405180910390a25050600180819055505050565b6002600154141561172a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172190612dc7565b60405180910390fd5b60026001819055506000600380549050905060005b8181101561176157611750816121c4565b8061175a90613055565b905061173f565b505060018081905550565b611774611864565b73ffffffffffffffffffffffffffffffffffffffff1661179261123f565b73ffffffffffffffffffffffffffffffffffffffff16146117e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117df90612d27565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611858576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184f90612cc7565b60405180910390fd5b61186181611eaf565b50565b600033905090565b60008060038581548110611883576118826130fc565b5b90600052602060002090600702016040518060e00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600282015481526020016003820154815260200160048201548152602001600582015481526020016006820154815250509050600060026000878152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b828210156119f7578382906000526020600020906002020160405180604001604052908160008201548152602001600182015481525050815260200190600101906119b1565b505050509050600082608001519050826060015143118015611a1e575060008360a0015114155b15611b015760008360600151905060005b8351811015611afe576000611a638343878581518110611a5257611a516130fc565b5b6020026020010151600001516111de565b90506000811415611a745750611aed565b848281518110611a8757611a866130fc565b5b60200260200101516000015192508560a0015164e8d4a51000868481518110611ab357611ab26130fc565b5b60200260200101516020015183611aca9190612f04565b611ad49190612f04565b611ade9190612ed3565b84611ae99190612e7d565b9350505b80611af790613055565b9050611a2f565b50505b8464e8d4a510008288611b149190612f04565b611b1e9190612ed3565b611b289190612f5e565b93505050509392505050565b611bb58363a9059cbb60e01b8484604051602401611b53929190612bb6565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506123d1565b505050565b611c3d846323b872dd60e01b858585604051602401611bdb93929190612b7f565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506123d1565b50505050565b600060038381548110611c5957611c586130fc565b5b9060005260206000209060070201905060006004600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508281600001541015611d04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfb90612d47565b60405180910390fd5b611d0d846121c4565b6000816001015464e8d4a5100084600401548460000154611d2e9190612f04565b611d389190612ed3565b611d429190612f5e565b90506000811115611d9d57611d9c33828560010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611b349092919063ffffffff16565b5b6000841115611e2c5783826000016000828254611dba9190612f5e565b92505081905550611e1033858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611b349092919063ffffffff16565b83836005016000828254611e249190612f5e565b925050819055505b64e8d4a5100083600401548360000154611e469190612f04565b611e509190612ed3565b82600101819055503373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5688587604051611ea0929190612e22565b60405180910390a25050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008060026000858152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b82821015611fef57838290600052602060002090600202016040518060400160405290816000820154815260200160018201548152505081526020019060010190611fa9565b505050509050600081519050600081141561200f57600092505050612081565b60005b818110156120795782818151811061202d5761202c6130fc565b5b602002602001015160000151851161206857828181518110612052576120516130fc565b5b6020026020010151602001519350505050612081565b8061207290613055565b9050612012565b506000925050505b92915050565b60008060026000858152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b82821015612103578382906000526020600020906002020160405180604001604052908160008201548152602001600182015481525050815260200190600101906120bd565b5050505090506000815190506000811415612123576000925050506121be565b60005b8181101561218d57828181518110612141576121406130fc565b5b602002602001015160000151851161217c57828181518110612166576121656130fc565b5b60200260200101516000015193505050506121be565b8061218690613055565b9050612126565b508160018261219c9190612f5e565b815181106121ad576121ac6130fc565b5b602002602001015160000151925050505b92915050565b6000600382815481106121da576121d96130fc565b5b90600052602060002090600702019050600060026000848152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b828210156122655783829060005260206000209060020201604051806040016040529081600082015481526020016001820154815250508152602001906001019061221f565b5050505090508160030154431161227d5750506123ce565b6000826005015414156122ac576122948343612087565b4311156122a5574382600301819055505b50506123ce565b60005b81518110156123ca5760006122e78460030154438585815181106122d6576122d56130fc565b5b6020026020010151600001516111de565b905060008114156122f857506123b9565b82828151811061230b5761230a6130fc565b5b60200260200101516000015143111561234a57828281518110612331576123306130fc565b5b6020026020010151600001518460030181905550612354565b4384600301819055505b836005015464e8d4a51000848481518110612372576123716130fc565b5b602002602001015160200151836123899190612f04565b6123939190612f04565b61239d9190612ed3565b8460040160008282546123b09190612e7d565b92505081905550505b806123c390613055565b90506122af565b5050505b50565b6000612433826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166124989092919063ffffffff16565b905060008151111561249357808060200190518101906124539190612762565b612492576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248990612d87565b60405180910390fd5b5b505050565b60606124a784846000856124b0565b90509392505050565b6060824710156124f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ec90612ce7565b60405180910390fd5b6124fe856125c4565b61253d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253490612d67565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516125669190612b4d565b60006040518083038185875af1925050503d80600081146125a3576040519150601f19603f3d011682016040523d82523d6000602084013e6125a8565b606091505b50915091506125b88282866125d7565b92505050949350505050565b600080823b905060008111915050919050565b606083156125e757829050612637565b6000835111156125fa5782518084602001fd5b816040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262e9190612c85565b60405180910390fd5b9392505050565b60008135905061264d816133fc565b92915050565b60008083601f84011261266957612668613130565b5b8235905067ffffffffffffffff8111156126865761268561312b565b5b6020830191508360208202830111156126a2576126a1613135565b5b9250929050565b6000815190506126b881613413565b92915050565b6000813590506126cd8161342a565b92915050565b6000813590506126e281613441565b92915050565b6000602082840312156126fe576126fd61313f565b5b600061270c8482850161263e565b91505092915050565b6000806020838503121561272c5761272b61313f565b5b600083013567ffffffffffffffff81111561274a5761274961313a565b5b61275685828601612653565b92509250509250929050565b6000602082840312156127785761277761313f565b5b6000612786848285016126a9565b91505092915050565b6000806000606084860312156127a8576127a761313f565b5b60006127b6868287016126be565b93505060206127c7868287016126be565b92505060406127d8868287016126d3565b9150509250925092565b6000602082840312156127f8576127f761313f565b5b6000612806848285016126d3565b91505092915050565b600080604083850312156128265761282561313f565b5b6000612834858286016126d3565b92505060206128458582860161263e565b9150509250929050565b600080604083850312156128665761286561313f565b5b6000612874858286016126d3565b9250506020612885858286016126d3565b9150509250929050565b6000806000606084860312156128a8576128a761313f565b5b60006128b6868287016126d3565b93505060206128c7868287016126d3565b92505060406128d88682870161263e565b9150509250925092565b6000806000606084860312156128fb576128fa61313f565b5b6000612909868287016126d3565b935050602061291a868287016126d3565b925050604061292b868287016126d3565b9150509250925092565b61293e81612f92565b82525050565b600061294f82612e4b565b6129598185612e61565b9350612969818560208601613022565b80840191505092915050565b61297e81612fec565b82525050565b600061298f82612e56565b6129998185612e6c565b93506129a9818560208601613022565b6129b281613144565b840191505092915050565b60006129ca601f83612e6c565b91506129d582613155565b602082019050919050565b60006129ed602683612e6c565b91506129f88261317e565b604082019050919050565b6000612a10602683612e6c565b9150612a1b826131cd565b604082019050919050565b6000612a33603083612e6c565b9150612a3e8261321c565b604082019050919050565b6000612a56602083612e6c565b9150612a618261326b565b602082019050919050565b6000612a79601d83612e6c565b9150612a8482613294565b602082019050919050565b6000612a9c601d83612e6c565b9150612aa7826132bd565b602082019050919050565b6000612abf602a83612e6c565b9150612aca826132e6565b604082019050919050565b6000612ae2602283612e6c565b9150612aed82613335565b604082019050919050565b6000612b05601f83612e6c565b9150612b1082613384565b602082019050919050565b6000612b28603383612e6c565b9150612b33826133ad565b604082019050919050565b612b4781612fe2565b82525050565b6000612b598284612944565b915081905092915050565b6000602082019050612b796000830184612935565b92915050565b6000606082019050612b946000830186612935565b612ba16020830185612935565b612bae6040830184612b3e565b949350505050565b6000604082019050612bcb6000830185612935565b612bd86020830184612b3e565b9392505050565b6000606082019050612bf46000830186612975565b612c016020830185612975565b612c0e6040830184612b3e565b949350505050565b600060e082019050612c2b600083018a612975565b612c386020830189612975565b612c456040830188612b3e565b612c526060830187612b3e565b612c5f6080830186612b3e565b612c6c60a0830185612b3e565b612c7960c0830184612b3e565b98975050505050505050565b60006020820190508181036000830152612c9f8184612984565b905092915050565b60006020820190508181036000830152612cc0816129bd565b9050919050565b60006020820190508181036000830152612ce0816129e0565b9050919050565b60006020820190508181036000830152612d0081612a03565b9050919050565b60006020820190508181036000830152612d2081612a26565b9050919050565b60006020820190508181036000830152612d4081612a49565b9050919050565b60006020820190508181036000830152612d6081612a6c565b9050919050565b60006020820190508181036000830152612d8081612a8f565b9050919050565b60006020820190508181036000830152612da081612ab2565b9050919050565b60006020820190508181036000830152612dc081612ad5565b9050919050565b60006020820190508181036000830152612de081612af8565b9050919050565b60006020820190508181036000830152612e0081612b1b565b9050919050565b6000602082019050612e1c6000830184612b3e565b92915050565b6000604082019050612e376000830185612b3e565b612e446020830184612b3e565b9392505050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b6000612e8882612fe2565b9150612e9383612fe2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612ec857612ec761309e565b5b828201905092915050565b6000612ede82612fe2565b9150612ee983612fe2565b925082612ef957612ef86130cd565b5b828204905092915050565b6000612f0f82612fe2565b9150612f1a83612fe2565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612f5357612f5261309e565b5b828202905092915050565b6000612f6982612fe2565b9150612f7483612fe2565b925082821015612f8757612f8661309e565b5b828203905092915050565b6000612f9d82612fc2565b9050919050565b60008115159050919050565b6000612fbb82612f92565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000612ff782612ffe565b9050919050565b600061300982613010565b9050919050565b600061301b82612fc2565b9050919050565b60005b83811015613040578082015181840152602081019050613025565b8381111561304f576000848401525b50505050565b600061306082612fe2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156130935761309261309e565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f616464526577617264496e666f3a3a626164206e657720656e64626c6f636b00600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f656d657267656e637952657761726457697468647261773a3a6e6f7420656e6f60008201527f7567682072657761726420746f6b656e00000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f77697468647261773a3a62616420776974686472617720616d6f756e74000000600082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f616464526577617264496e666f3a3a72657761726420706572696f6420656e6460008201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f616464526577617264496e666f3a3a72657761726420696e666f206c656e677460008201527f68206578636565647320746865206c696d697400000000000000000000000000602082015250565b61340581612f92565b811461341057600080fd5b50565b61341c81612fa4565b811461342757600080fd5b50565b61343381612fb0565b811461343e57600080fd5b50565b61344a81612fe2565b811461345557600080fd5b5056fea264697066735822122071a25baf0a6c6b0f29d88e07f24e77dc8d100f21e2637f0600d9a98d230efb2564736f6c63430008070033000000000000000000000000a63f9b7ab24b81348af61139090f55916a323cd6
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101725760003560e01c80636806cc93116100de57806398969e8211610097578063cef7042d11610071578063cef7042d14610461578063e2bbb1581461047d578063eebdced514610499578063f2fde38b146104a357610172565b806398969e82146103cb5780639a63bc16146103fb578063bb2238ec1461042b57610172565b80636806cc93146102f6578063715018a6146103125780637bafb0291461031c5780638d48aff01461034c5780638da5cb5b1461037c57806393f1a40b1461039a57610172565b8063441a3e7011610130578063441a3e70146102365780634ad7ce80146102525780634ae56bae146102705780635312ea8e146102a0578063569c93d2146102bc5780635d14b06f146102da57610172565b8062d748501461017757806310f7a6af146101955780631d123131146101c65780632ea807c5146101e257806333824b87146101fe578063409e00fc1461021a575b600080fd5b61017f6104bf565b60405161018c9190612e07565b60405180910390f35b6101af60048036038101906101aa919061284f565b6104c5565b6040516101bd929190612e22565b60405180910390f35b6101e060048036038101906101db919061288f565b610506565b005b6101fc60048036038101906101f791906128e2565b6106d4565b005b610218600480360381019061021391906127e2565b610a84565b005b610234600480360381019061022f919061278f565b610b43565b005b610250600480360381019061024b919061284f565b610d60565b005b61025a610dc3565b6040516102679190612e07565b60405180910390f35b61028a600480360381019061028591906127e2565b610dd0565b6040516102979190612e07565b60405180910390f35b6102ba60048036038101906102b591906127e2565b610df0565b005b6102c4610f9c565b6040516102d19190612b64565b60405180910390f35b6102f460048036038101906102ef9190612715565b610fc2565b005b610310600480360381019061030b91906126e8565b61105f565b005b61031a611156565b005b610336600480360381019061033191906128e2565b6111de565b6040516103439190612e07565b60405180910390f35b610366600480360381019061036191906127e2565b61122c565b6040516103739190612e07565b60405180910390f35b61038461123f565b6040516103919190612b64565b60405180910390f35b6103b460048036038101906103af919061280f565b611268565b6040516103c2929190612e22565b60405180910390f35b6103e560048036038101906103e0919061280f565b611299565b6040516103f29190612e07565b60405180910390f35b610415600480360381019061041091906127e2565b611354565b6040516104229190612e07565b60405180910390f35b610445600480360381019061044091906127e2565b611367565b6040516104589796959493929190612c16565b60405180910390f35b61047b600480360381019061047691906127e2565b6113f9565b005b6104976004803603810190610492919061284f565b61145a565b005b6104a16116e4565b005b6104bd60048036038101906104b891906126e8565b61176c565b005b60055481565b600260205281600052604060002081815481106104e157600080fd5b9060005260206000209060020201600091509150508060000154908060010154905082565b61050e611864565b73ffffffffffffffffffffffffffffffffffffffff1661052c61123f565b73ffffffffffffffffffffffffffffffffffffffff1614610582576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161057990612d27565b60405180910390fd5b600260015414156105c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105bf90612dc7565b60405180910390fd5b60026001819055506000600384815481106105e6576105e56130fc565b5b906000526020600020906007020190506000610608858360050154600061186c565b90508160060154848261061b9190612e7d565b111561065c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161065390612d07565b60405180910390fd5b838260060160008282546106709190612f5e565b925050819055506106c683858460010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611b349092919063ffffffff16565b505060018081905550505050565b6106dc611864565b73ffffffffffffffffffffffffffffffffffffffff166106fa61123f565b73ffffffffffffffffffffffffffffffffffffffff1614610750576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161074790612d27565b60405180910390fd5b600060026000858152602001908152602001600020905060006003858154811061077d5761077c6130fc565b5b906000526020600020906007020190506005548280549050106107d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107cc90612de7565b60405180910390fd5b60008280549050148061081c57504382600184805490506107f69190612f5e565b81548110610807576108066130fc565b5b90600052602060002090600202016000015410155b61085b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085290612da7565b60405180910390fd5b6000828054905014806108a1575083826001848054905061087c9190612f5e565b8154811061088d5761088c6130fc565b5b906000526020600020906002020160000154105b6108e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d790612ca7565b60405180910390fd5b6000808380549050146109275782600184805490506108ff9190612f5e565b815481106109105761090f6130fc565b5b90600052602060002090600202016000015461092d565b81600201545b90506000818661093d9190612f5e565b90506000818661094d9190612f04565b90506109c2600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1630838760010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611bba909392919063ffffffff16565b8084600601546109d29190612e7d565b84600601819055508460405180604001604052808981526020018881525090806001815401808255809150506001900390600052602060002090600202016000909190919091506000820151816000015560208201518160010155505060018580549050610a409190612f5e565b887fad90731bd0d97445f5af66088f3adebf343c520c20e033cc42f93b124258cdc28989604051610a72929190612e22565b60405180910390a35050505050505050565b610a8c611864565b73ffffffffffffffffffffffffffffffffffffffff16610aaa61123f565b73ffffffffffffffffffffffffffffffffffffffff1614610b00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af790612d27565b60405180910390fd5b806005819055507fb64f58843e750a8bea7135ef396cf0a7790bfc9a8f43f11ac0e0aacc1b5787ba600554604051610b389190612e07565b60405180910390a150565b610b4b611864565b73ffffffffffffffffffffffffffffffffffffffff16610b6961123f565b73ffffffffffffffffffffffffffffffffffffffff1614610bbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb690612d27565b60405180910390fd5b60036040518060e001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff16815260200183815260200183815260200160008152602001600081526020016000815250908060018154018082558091505060019003906000526020600020906007020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160020155606082015181600301556080820151816004015560a0820151816005015560c0820151816006015550506001600380549050610d209190612f5e565b7f9b2f18f9a188a5aec4a95ee3164fe234dfbb6117628b2ad1a581939e61c69f4e848484604051610d5393929190612bdf565b60405180910390a2505050565b60026001541415610da6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9d90612dc7565b60405180910390fd5b6002600181905550610db88282611c43565b600180819055505050565b6000600380549050905090565b600060026000838152602001908152602001600020805490509050919050565b60026001541415610e36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2d90612dc7565b60405180910390fd5b6002600181905550600060038281548110610e5457610e536130fc565b5b9060005260206000209060070201905060006004600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008160000154905080836005016000828254610ed59190612f5e565b925050819055506000826000018190555060008260010181905550610f3f33828560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611b349092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05958286604051610f87929190612e22565b60405180910390a25050506001808190555050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60026001541415611008576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fff90612dc7565b60405180910390fd5b600260018190555060005b8282905081101561105357611042838383818110611034576110336130fc565b5b905060200201356000611c43565b8061104c90613055565b9050611013565b50600180819055505050565b611067611864565b73ffffffffffffffffffffffffffffffffffffffff1661108561123f565b73ffffffffffffffffffffffffffffffffffffffff16146110db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d290612d27565b60405180910390fd5b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f860da714d66641e1bb8025e657aa279ec5bbe56385e52a9ee03a12718e5600cb8160405161114b9190612b64565b60405180910390a150565b61115e611864565b73ffffffffffffffffffffffffffffffffffffffff1661117c61123f565b73ffffffffffffffffffffffffffffffffffffffff16146111d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c990612d27565b60405180910390fd5b6111dc6000611eaf565b565b600081841015806111ee57508284115b156111fc5760009050611225565b81831161121657838361120f9190612f5e565b9050611225565b83826112229190612f5e565b90505b9392505050565b60006112388243611f73565b9050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6004602052816000526040600020602052806000526040600020600091509150508060000154908060010154905082565b600061134c836004600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001546004600087815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001015461186c565b905092915050565b60006113608243612087565b9050919050565b6003818154811061137757600080fd5b90600052602060002090600702016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060020154908060030154908060040154908060050154908060060154905087565b6002600154141561143f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143690612dc7565b60405180910390fd5b6002600181905550611450816121c4565b6001808190555050565b600260015414156114a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149790612dc7565b60405180910390fd5b60026001819055506000600383815481106114be576114bd6130fc565b5b9060005260206000209060070201905060006004600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905061152b846121c4565b6000816000015411156115ca576000816001015464e8d4a51000846004015484600001546115599190612f04565b6115639190612ed3565b61156d9190612f5e565b905060008111156115c8576115c733828560010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611b349092919063ffffffff16565b5b505b600083111561165b576116243330858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611bba909392919063ffffffff16565b828160000160008282546116389190612e7d565b92505081905550828260050160008282546116539190612e7d565b925050819055505b64e8d4a51000826004015482600001546116759190612f04565b61167f9190612ed3565b81600101819055503373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a1584866040516116cf929190612e22565b60405180910390a25050600180819055505050565b6002600154141561172a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172190612dc7565b60405180910390fd5b60026001819055506000600380549050905060005b8181101561176157611750816121c4565b8061175a90613055565b905061173f565b505060018081905550565b611774611864565b73ffffffffffffffffffffffffffffffffffffffff1661179261123f565b73ffffffffffffffffffffffffffffffffffffffff16146117e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117df90612d27565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611858576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184f90612cc7565b60405180910390fd5b61186181611eaf565b50565b600033905090565b60008060038581548110611883576118826130fc565b5b90600052602060002090600702016040518060e00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600282015481526020016003820154815260200160048201548152602001600582015481526020016006820154815250509050600060026000878152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b828210156119f7578382906000526020600020906002020160405180604001604052908160008201548152602001600182015481525050815260200190600101906119b1565b505050509050600082608001519050826060015143118015611a1e575060008360a0015114155b15611b015760008360600151905060005b8351811015611afe576000611a638343878581518110611a5257611a516130fc565b5b6020026020010151600001516111de565b90506000811415611a745750611aed565b848281518110611a8757611a866130fc565b5b60200260200101516000015192508560a0015164e8d4a51000868481518110611ab357611ab26130fc565b5b60200260200101516020015183611aca9190612f04565b611ad49190612f04565b611ade9190612ed3565b84611ae99190612e7d565b9350505b80611af790613055565b9050611a2f565b50505b8464e8d4a510008288611b149190612f04565b611b1e9190612ed3565b611b289190612f5e565b93505050509392505050565b611bb58363a9059cbb60e01b8484604051602401611b53929190612bb6565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506123d1565b505050565b611c3d846323b872dd60e01b858585604051602401611bdb93929190612b7f565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506123d1565b50505050565b600060038381548110611c5957611c586130fc565b5b9060005260206000209060070201905060006004600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508281600001541015611d04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfb90612d47565b60405180910390fd5b611d0d846121c4565b6000816001015464e8d4a5100084600401548460000154611d2e9190612f04565b611d389190612ed3565b611d429190612f5e565b90506000811115611d9d57611d9c33828560010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611b349092919063ffffffff16565b5b6000841115611e2c5783826000016000828254611dba9190612f5e565b92505081905550611e1033858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611b349092919063ffffffff16565b83836005016000828254611e249190612f5e565b925050819055505b64e8d4a5100083600401548360000154611e469190612f04565b611e509190612ed3565b82600101819055503373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5688587604051611ea0929190612e22565b60405180910390a25050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008060026000858152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b82821015611fef57838290600052602060002090600202016040518060400160405290816000820154815260200160018201548152505081526020019060010190611fa9565b505050509050600081519050600081141561200f57600092505050612081565b60005b818110156120795782818151811061202d5761202c6130fc565b5b602002602001015160000151851161206857828181518110612052576120516130fc565b5b6020026020010151602001519350505050612081565b8061207290613055565b9050612012565b506000925050505b92915050565b60008060026000858152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b82821015612103578382906000526020600020906002020160405180604001604052908160008201548152602001600182015481525050815260200190600101906120bd565b5050505090506000815190506000811415612123576000925050506121be565b60005b8181101561218d57828181518110612141576121406130fc565b5b602002602001015160000151851161217c57828181518110612166576121656130fc565b5b60200260200101516000015193505050506121be565b8061218690613055565b9050612126565b508160018261219c9190612f5e565b815181106121ad576121ac6130fc565b5b602002602001015160000151925050505b92915050565b6000600382815481106121da576121d96130fc565b5b90600052602060002090600702019050600060026000848152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b828210156122655783829060005260206000209060020201604051806040016040529081600082015481526020016001820154815250508152602001906001019061221f565b5050505090508160030154431161227d5750506123ce565b6000826005015414156122ac576122948343612087565b4311156122a5574382600301819055505b50506123ce565b60005b81518110156123ca5760006122e78460030154438585815181106122d6576122d56130fc565b5b6020026020010151600001516111de565b905060008114156122f857506123b9565b82828151811061230b5761230a6130fc565b5b60200260200101516000015143111561234a57828281518110612331576123306130fc565b5b6020026020010151600001518460030181905550612354565b4384600301819055505b836005015464e8d4a51000848481518110612372576123716130fc565b5b602002602001015160200151836123899190612f04565b6123939190612f04565b61239d9190612ed3565b8460040160008282546123b09190612e7d565b92505081905550505b806123c390613055565b90506122af565b5050505b50565b6000612433826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166124989092919063ffffffff16565b905060008151111561249357808060200190518101906124539190612762565b612492576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248990612d87565b60405180910390fd5b5b505050565b60606124a784846000856124b0565b90509392505050565b6060824710156124f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ec90612ce7565b60405180910390fd5b6124fe856125c4565b61253d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253490612d67565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516125669190612b4d565b60006040518083038185875af1925050503d80600081146125a3576040519150601f19603f3d011682016040523d82523d6000602084013e6125a8565b606091505b50915091506125b88282866125d7565b92505050949350505050565b600080823b905060008111915050919050565b606083156125e757829050612637565b6000835111156125fa5782518084602001fd5b816040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262e9190612c85565b60405180910390fd5b9392505050565b60008135905061264d816133fc565b92915050565b60008083601f84011261266957612668613130565b5b8235905067ffffffffffffffff8111156126865761268561312b565b5b6020830191508360208202830111156126a2576126a1613135565b5b9250929050565b6000815190506126b881613413565b92915050565b6000813590506126cd8161342a565b92915050565b6000813590506126e281613441565b92915050565b6000602082840312156126fe576126fd61313f565b5b600061270c8482850161263e565b91505092915050565b6000806020838503121561272c5761272b61313f565b5b600083013567ffffffffffffffff81111561274a5761274961313a565b5b61275685828601612653565b92509250509250929050565b6000602082840312156127785761277761313f565b5b6000612786848285016126a9565b91505092915050565b6000806000606084860312156127a8576127a761313f565b5b60006127b6868287016126be565b93505060206127c7868287016126be565b92505060406127d8868287016126d3565b9150509250925092565b6000602082840312156127f8576127f761313f565b5b6000612806848285016126d3565b91505092915050565b600080604083850312156128265761282561313f565b5b6000612834858286016126d3565b92505060206128458582860161263e565b9150509250929050565b600080604083850312156128665761286561313f565b5b6000612874858286016126d3565b9250506020612885858286016126d3565b9150509250929050565b6000806000606084860312156128a8576128a761313f565b5b60006128b6868287016126d3565b93505060206128c7868287016126d3565b92505060406128d88682870161263e565b9150509250925092565b6000806000606084860312156128fb576128fa61313f565b5b6000612909868287016126d3565b935050602061291a868287016126d3565b925050604061292b868287016126d3565b9150509250925092565b61293e81612f92565b82525050565b600061294f82612e4b565b6129598185612e61565b9350612969818560208601613022565b80840191505092915050565b61297e81612fec565b82525050565b600061298f82612e56565b6129998185612e6c565b93506129a9818560208601613022565b6129b281613144565b840191505092915050565b60006129ca601f83612e6c565b91506129d582613155565b602082019050919050565b60006129ed602683612e6c565b91506129f88261317e565b604082019050919050565b6000612a10602683612e6c565b9150612a1b826131cd565b604082019050919050565b6000612a33603083612e6c565b9150612a3e8261321c565b604082019050919050565b6000612a56602083612e6c565b9150612a618261326b565b602082019050919050565b6000612a79601d83612e6c565b9150612a8482613294565b602082019050919050565b6000612a9c601d83612e6c565b9150612aa7826132bd565b602082019050919050565b6000612abf602a83612e6c565b9150612aca826132e6565b604082019050919050565b6000612ae2602283612e6c565b9150612aed82613335565b604082019050919050565b6000612b05601f83612e6c565b9150612b1082613384565b602082019050919050565b6000612b28603383612e6c565b9150612b33826133ad565b604082019050919050565b612b4781612fe2565b82525050565b6000612b598284612944565b915081905092915050565b6000602082019050612b796000830184612935565b92915050565b6000606082019050612b946000830186612935565b612ba16020830185612935565b612bae6040830184612b3e565b949350505050565b6000604082019050612bcb6000830185612935565b612bd86020830184612b3e565b9392505050565b6000606082019050612bf46000830186612975565b612c016020830185612975565b612c0e6040830184612b3e565b949350505050565b600060e082019050612c2b600083018a612975565b612c386020830189612975565b612c456040830188612b3e565b612c526060830187612b3e565b612c5f6080830186612b3e565b612c6c60a0830185612b3e565b612c7960c0830184612b3e565b98975050505050505050565b60006020820190508181036000830152612c9f8184612984565b905092915050565b60006020820190508181036000830152612cc0816129bd565b9050919050565b60006020820190508181036000830152612ce0816129e0565b9050919050565b60006020820190508181036000830152612d0081612a03565b9050919050565b60006020820190508181036000830152612d2081612a26565b9050919050565b60006020820190508181036000830152612d4081612a49565b9050919050565b60006020820190508181036000830152612d6081612a6c565b9050919050565b60006020820190508181036000830152612d8081612a8f565b9050919050565b60006020820190508181036000830152612da081612ab2565b9050919050565b60006020820190508181036000830152612dc081612ad5565b9050919050565b60006020820190508181036000830152612de081612af8565b9050919050565b60006020820190508181036000830152612e0081612b1b565b9050919050565b6000602082019050612e1c6000830184612b3e565b92915050565b6000604082019050612e376000830185612b3e565b612e446020830184612b3e565b9392505050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b6000612e8882612fe2565b9150612e9383612fe2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612ec857612ec761309e565b5b828201905092915050565b6000612ede82612fe2565b9150612ee983612fe2565b925082612ef957612ef86130cd565b5b828204905092915050565b6000612f0f82612fe2565b9150612f1a83612fe2565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612f5357612f5261309e565b5b828202905092915050565b6000612f6982612fe2565b9150612f7483612fe2565b925082821015612f8757612f8661309e565b5b828203905092915050565b6000612f9d82612fc2565b9050919050565b60008115159050919050565b6000612fbb82612f92565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000612ff782612ffe565b9050919050565b600061300982613010565b9050919050565b600061301b82612fc2565b9050919050565b60005b83811015613040578082015181840152602081019050613025565b8381111561304f576000848401525b50505050565b600061306082612fe2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156130935761309261309e565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f616464526577617264496e666f3a3a626164206e657720656e64626c6f636b00600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f656d657267656e637952657761726457697468647261773a3a6e6f7420656e6f60008201527f7567682072657761726420746f6b656e00000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f77697468647261773a3a62616420776974686472617720616d6f756e74000000600082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f616464526577617264496e666f3a3a72657761726420706572696f6420656e6460008201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f616464526577617264496e666f3a3a72657761726420696e666f206c656e677460008201527f68206578636565647320746865206c696d697400000000000000000000000000602082015250565b61340581612f92565b811461341057600080fd5b50565b61341c81612fa4565b811461342757600080fd5b50565b61343381612fb0565b811461343e57600080fd5b50565b61344a81612fe2565b811461345557600080fd5b5056fea264697066735822122071a25baf0a6c6b0f29d88e07f24e77dc8d100f21e2637f0600d9a98d230efb2564736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a63f9b7ab24b81348af61139090f55916a323cd6
-----Decoded View---------------
Arg [0] : _rewardHolder (address): 0xa63f9B7ab24b81348af61139090f55916a323CD6
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000a63f9b7ab24b81348af61139090f55916a323cd6
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$23.81
Net Worth in MOVR
Token Allocations
SPDR
100.00%
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| MOVR | 100.00% | $0.000037 | 645,437.2 | $23.81 |
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.