Source Code
Latest 25 from a total of 69 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Claim | 21230877 | 479 days ago | IN | 0 ETH | 0.00135874 | ||||
| Stake | 21113547 | 496 days ago | IN | 0 ETH | 0.00039805 | ||||
| Claim | 21110439 | 496 days ago | IN | 0 ETH | 0.00054588 | ||||
| Withdraw | 21110420 | 496 days ago | IN | 0 ETH | 0.00058228 | ||||
| Claim | 21086420 | 500 days ago | IN | 0 ETH | 0.00157477 | ||||
| Claim | 21085688 | 500 days ago | IN | 0 ETH | 0.00092546 | ||||
| Claim | 21077523 | 501 days ago | IN | 0 ETH | 0.00070632 | ||||
| Stake | 21073979 | 501 days ago | IN | 0 ETH | 0.00139954 | ||||
| Claim | 21073965 | 501 days ago | IN | 0 ETH | 0.00098569 | ||||
| Claim | 21066348 | 502 days ago | IN | 0 ETH | 0.00099836 | ||||
| Stake | 21065487 | 503 days ago | IN | 0 ETH | 0.00210869 | ||||
| Claim | 21065015 | 503 days ago | IN | 0 ETH | 0.00150753 | ||||
| Stake | 21055417 | 504 days ago | IN | 0 ETH | 0.00057791 | ||||
| Claim | 21055414 | 504 days ago | IN | 0 ETH | 0.00036396 | ||||
| Stake | 21052227 | 504 days ago | IN | 0 ETH | 0.00054789 | ||||
| Claim | 21052222 | 504 days ago | IN | 0 ETH | 0.0003865 | ||||
| Claim | 21051498 | 504 days ago | IN | 0 ETH | 0.00048319 | ||||
| Stake | 21041433 | 506 days ago | IN | 0 ETH | 0.00088668 | ||||
| Claim | 21041426 | 506 days ago | IN | 0 ETH | 0.00058047 | ||||
| Stake | 21041405 | 506 days ago | IN | 0 ETH | 0.00121061 | ||||
| Claim | 21041395 | 506 days ago | IN | 0 ETH | 0.0006031 | ||||
| Stake | 21024275 | 508 days ago | IN | 0 ETH | 0.00066317 | ||||
| Claim | 21024268 | 508 days ago | IN | 0 ETH | 0.00044576 | ||||
| Stake | 21019865 | 509 days ago | IN | 0 ETH | 0.00136441 | ||||
| Claim | 21019856 | 509 days ago | IN | 0 ETH | 0.00085818 |
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 21230877 | 479 days ago | 0.15301259 ETH | ||||
| Transfer | 21230877 | 479 days ago | 0.15301259 ETH | ||||
| Transfer | 21110439 | 496 days ago | 0.02481489 ETH | ||||
| Transfer | 21110439 | 496 days ago | 0.02481489 ETH | ||||
| Transfer | 21086420 | 500 days ago | 0.01101359 ETH | ||||
| Transfer | 21086420 | 500 days ago | 0.01101359 ETH | ||||
| Transfer | 21085688 | 500 days ago | 0.02755726 ETH | ||||
| Transfer | 21085688 | 500 days ago | 0.02755726 ETH | ||||
| Transfer | 21077523 | 501 days ago | 0.00288676 ETH | ||||
| Transfer | 21077523 | 501 days ago | 0.00288676 ETH | ||||
| Transfer | 21073965 | 501 days ago | 0.05458426 ETH | ||||
| Transfer | 21073965 | 501 days ago | 0.05458426 ETH | ||||
| Transfer | 21066348 | 502 days ago | 0.00475677 ETH | ||||
| Transfer | 21066348 | 502 days ago | 0.00475677 ETH | ||||
| Transfer | 21065015 | 503 days ago | 0.07658183 ETH | ||||
| Transfer | 21065015 | 503 days ago | 0.07658183 ETH | ||||
| Transfer | 21055414 | 504 days ago | 0.29809672 ETH | ||||
| Transfer | 21055414 | 504 days ago | 0.29809672 ETH | ||||
| Transfer | 21052222 | 504 days ago | 0.00415641 ETH | ||||
| Transfer | 21052222 | 504 days ago | 0.00415641 ETH | ||||
| Transfer | 21051498 | 504 days ago | 0.01570492 ETH | ||||
| Transfer | 21051498 | 504 days ago | 0.01570492 ETH | ||||
| Transfer | 21041426 | 506 days ago | 0.03110167 ETH | ||||
| Transfer | 21041426 | 506 days ago | 0.03110167 ETH | ||||
| Transfer | 21041395 | 506 days ago | 0.071823 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
MeanderEthRewardPool
Compiler Version
v0.8.24+commit.e11b9ed9
Optimization Enabled:
No with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity =0.8.24;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "./security/Pausable.sol";
import "./interfaces/IWETH.sol";
contract MeanderEthRewardPool is ReentrancyGuard, Pausable {
using Address for address payable;
using SafeMath for uint;
using SafeERC20 for IERC20;
// STATE VARIABLES
IWETH public WETH = IWETH(0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2);
IERC20 public stakingToken = IERC20(0xFAF1d318ea071f07ac974D6083f26f99182554b6);
uint public periodFinish = 0;
uint public rewardRate = 0;
uint public rewardsDuration = 30 * 86400; // 1 month
uint public lastUpdateTime;
uint public rewardPerTokenStored;
mapping(address => uint) public userRewardPerTokenPaid;
mapping(address => uint) public rewards;
uint private _totalSupply;
mapping(address => uint) private _balances;
// CONSTRUCTOR
constructor () {}
// VIEWS
function totalSupply() external view returns (uint) {
return _totalSupply;
}
function balanceOf(address account) external view returns (uint) {
return _balances[account];
}
function lastTimeRewardApplicable() public view returns (uint) {
return min(block.timestamp, periodFinish);
}
function rewardPerToken() public view returns (uint) {
if (_totalSupply == 0) {
return rewardPerTokenStored;
}
return
rewardPerTokenStored.add(
lastTimeRewardApplicable()
.sub(lastUpdateTime)
.mul(rewardRate)
.mul(1e18)
.div(_totalSupply)
);
}
function earned(address account) public view returns (uint) {
return
_balances[account]
.mul(rewardPerToken().sub(userRewardPerTokenPaid[account]))
.div(1e18)
.add(rewards[account]);
}
function getRewardForDuration() external view returns (uint) {
return rewardRate.mul(rewardsDuration);
}
function min(uint a, uint b) public pure returns (uint) {
return a < b ? a : b;
}
// PUBLIC FUNCTIONS
function stake(uint amount)
external
nonReentrant
notPaused
updateReward(_msgSender())
{
require(amount > 0, "Cannot stake 0");
uint balBefore = stakingToken.balanceOf(address(this));
stakingToken.safeTransferFrom(_msgSender(), address(this), amount);
uint balAfter = stakingToken.balanceOf(address(this));
uint actualReceived = balAfter.sub(balBefore);
_totalSupply = _totalSupply.add(actualReceived);
_balances[_msgSender()] = _balances[_msgSender()].add(actualReceived);
emit Staked(_msgSender(), actualReceived);
}
function withdraw(uint amount)
public
nonReentrant
updateReward(_msgSender())
{
require(amount > 0, "Cannot withdraw 0");
_totalSupply = _totalSupply.sub(amount);
_balances[_msgSender()] = _balances[_msgSender()].sub(amount);
stakingToken.safeTransfer(_msgSender(), amount);
emit Withdrawn(_msgSender(), amount);
}
function claim() public nonReentrant updateReward(_msgSender()) {
uint reward = rewards[_msgSender()];
if (reward > 0) {
rewards[_msgSender()] = 0;
WETH.withdraw(reward);
Address.sendValue(payable(_msgSender()), reward);
emit RewardPaid(_msgSender(), reward);
}
}
function exit() external {
withdraw(_balances[_msgSender()]);
claim();
}
// RESTRICTED FUNCTIONS
function notifyRewardAmount(uint reward)
external
onlyOwner
updateReward(address(0))
{
uint oldBalance = WETH.balanceOf(address(this));
IERC20(address(WETH)).safeTransferFrom(_msgSender(), address(this), reward);
uint newBalance = WETH.balanceOf(address(this));
uint actualReceived = newBalance - oldBalance;
require(
actualReceived == reward,
"Actual received reward does not match the expected reward"
);
if (block.timestamp >= periodFinish) {
rewardRate = reward.div(rewardsDuration);
} else {
uint remaining = periodFinish.sub(block.timestamp);
uint leftover = remaining.mul(rewardRate);
rewardRate = reward.add(leftover).div(rewardsDuration);
}
uint balance = WETH.balanceOf(address(this));
require(
rewardRate <= balance.div(rewardsDuration),
"Provided reward too high"
);
lastUpdateTime = block.timestamp;
periodFinish = block.timestamp.add(rewardsDuration);
emit RewardAdded(reward);
}
function recoverERC20(address tokenAddress, uint tokenAmount)
external
onlyOwner
{
// Cannot recover the staking token
require(
tokenAddress != address(stakingToken),
"Cannot withdraw the staking token"
);
IERC20(tokenAddress).safeTransfer(owner(), tokenAmount);
emit Recovered(tokenAddress, tokenAmount);
}
function recoverEth()
external
onlyOwner
{
Address.sendValue(payable(owner()), address(this).balance);
}
function setRewardsDuration(uint _rewardsDuration)
external
onlyOwner
{
require(
block.timestamp > periodFinish,
"Previous rewards period must be complete before changing the duration for the new period"
);
rewardsDuration = _rewardsDuration;
emit RewardsDurationUpdated(rewardsDuration);
}
// *** MODIFIERS ***
modifier updateReward(address account) {
rewardPerTokenStored = rewardPerToken();
lastUpdateTime = lastTimeRewardApplicable();
if (account != address(0)) {
rewards[account] = earned(account);
userRewardPerTokenPaid[account] = rewardPerTokenStored;
}
_;
}
receive() external payable {}
// EVENTS
event RewardAdded(uint reward);
event Staked(address indexed user, uint amount);
event Withdrawn(address indexed user, uint amount);
event RewardPaid(address indexed user, uint reward);
event RewardsDurationUpdated(uint newDuration);
event Recovered(address token, uint amount);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)
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() {
_transferOwnership(_msgSender());
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby disabling any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(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");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)
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 making it call a
* `private` function that does the actual work.
*/
modifier nonReentrant() {
_nonReentrantBefore();
_;
_nonReentrantAfter();
}
function _nonReentrantBefore() private {
// On the first call to nonReentrant, _status will be _NOT_ENTERED
require(_status != _ENTERED, "ReentrancyGuard: reentrant call");
// Any calls to nonReentrant after this point will fail
_status = _ENTERED;
}
function _nonReentrantAfter() private {
// By storing the original value once again, a refund is triggered (see
// https://eips.ethereum.org/EIPS/eip-2200)
_status = _NOT_ENTERED;
}
/**
* @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
* `nonReentrant` function in the call stack.
*/
function _reentrancyGuardEntered() internal view returns (bool) {
return _status == _ENTERED;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.4) (token/ERC20/extensions/IERC20Permit.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
* https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
*
* Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
* presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
* need to send a transaction, and thus is not required to hold Ether at all.
*
* ==== Security Considerations
*
* There are two important considerations concerning the use of `permit`. The first is that a valid permit signature
* expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be
* considered as an intention to spend the allowance in any specific way. The second is that because permits have
* built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should
* take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be
* generally recommended is:
*
* ```solidity
* function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {
* try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}
* doThing(..., value);
* }
*
* function doThing(..., uint256 value) public {
* token.safeTransferFrom(msg.sender, address(this), value);
* ...
* }
* ```
*
* Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of
* `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also
* {SafeERC20-safeTransferFrom}).
*
* Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so
* contracts should have entry points that don't rely on permit.
*/
interface IERC20Permit {
/**
* @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
* given ``owner``'s signed approval.
*
* IMPORTANT: The same issues {IERC20-approve} has related to transaction
* ordering also apply here.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `deadline` must be a timestamp in the future.
* - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
* over the EIP712-formatted function arguments.
* - the signature must use ``owner``'s current nonce (see {nonces}).
*
* For more information on the signature format, see the
* https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
* section].
*
* CAUTION: See Security Considerations above.
*/
function permit(
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) external;
/**
* @dev Returns the current nonce for `owner`. This value must be
* included whenever a signature is generated for {permit}.
*
* Every successful call to {permit} increases ``owner``'s nonce by one. This
* prevents a signature from being used multiple times.
*/
function nonces(address owner) external view returns (uint256);
/**
* @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
*/
// solhint-disable-next-line func-name-mixedcase
function DOMAIN_SEPARATOR() external view returns (bytes32);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @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);
/**
* @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 `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, 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 `from` to `to` 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 from, address to, uint256 amount) external returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.3) (token/ERC20/utils/SafeERC20.sol)
pragma solidity ^0.8.0;
import "../IERC20.sol";
import "../extensions/IERC20Permit.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;
/**
* @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
* non-reverting calls are assumed to be successful.
*/
function safeTransfer(IERC20 token, address to, uint256 value) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
}
/**
* @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
* calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
*/
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));
}
/**
* @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
* non-reverting calls are assumed to be successful.
*/
function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
uint256 oldAllowance = token.allowance(address(this), spender);
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value));
}
/**
* @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
* non-reverting calls are assumed to be successful.
*/
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");
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value));
}
}
/**
* @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
* non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval
* to be set to zero before setting it to a non-zero value, such as USDT.
*/
function forceApprove(IERC20 token, address spender, uint256 value) internal {
bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value);
if (!_callOptionalReturnBool(token, approvalCall)) {
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0));
_callOptionalReturn(token, approvalCall);
}
}
/**
* @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`.
* Revert on invalid signature.
*/
function safePermit(
IERC20Permit token,
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) internal {
uint256 nonceBefore = token.nonces(owner);
token.permit(owner, spender, value, deadline, v, r, s);
uint256 nonceAfter = token.nonces(owner);
require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
}
/**
* @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");
require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
}
/**
* @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).
*
* This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.
*/
function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
// 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 cannot use {Address-functionCall} here since this should return false
// and not revert is the subcall reverts.
(bool success, bytes memory returndata) = address(token).call(data);
return
success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token));
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)
pragma solidity ^0.8.1;
/**
* @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
*
* Furthermore, `isContract` will also return true if the target contract within
* the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
* which only has an effect at the end of a transaction.
* ====
*
* [IMPORTANT]
* ====
* You shouldn't rely on `isContract` to protect against flash loan attacks!
*
* Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
* constructor.
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize/address.code.length, which returns 0
// for contracts in construction, since the code is only stored at the end
// of the constructor execution.
return account.code.length > 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://consensys.net/diligence/blog/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.8.0/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 functionCallWithValue(target, data, 0, "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");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResultFromTarget(target, 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) {
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResultFromTarget(target, 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) {
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
* the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
*
* _Available since v4.8._
*/
function verifyCallResultFromTarget(
address target,
bool success,
bytes memory returndata,
string memory errorMessage
) internal view returns (bytes memory) {
if (success) {
if (returndata.length == 0) {
// only check isContract if the call was successful and the return data is empty
// otherwise we already know that it was a contract
require(isContract(target), "Address: call to non-contract");
}
return returndata;
} else {
_revert(returndata, errorMessage);
}
}
/**
* @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason or 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 {
_revert(returndata, errorMessage);
}
}
function _revert(bytes memory returndata, string memory errorMessage) private pure {
// 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
/// @solidity memory-safe-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.4) (utils/Context.sol)
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;
}
function _contextSuffixLength() internal view virtual returns (uint256) {
return 0;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/SafeMath.sol)
pragma solidity ^0.8.0;
// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.
/**
* @dev Wrappers over Solidity's arithmetic operations.
*
* NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
* now has built in overflow checking.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
uint256 c = a + b;
if (c < a) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the subtraction of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b > a) return (false, 0);
return (true, a - b);
}
}
/**
* @dev Returns the multiplication of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) return (true, 0);
uint256 c = a * b;
if (c / a != b) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the division of two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a / b);
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a % b);
}
}
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
*
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
return a + b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return a - b;
}
/**
* @dev Returns the multiplication of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `*` operator.
*
* Requirements:
*
* - Multiplication cannot overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
return a * b;
}
/**
* @dev Returns the integer division of two unsigned integers, reverting on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator.
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return a / b;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return a % b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {trySub}.
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
unchecked {
require(b <= a, errorMessage);
return a - b;
}
}
/**
* @dev Returns the integer division of two unsigned integers, reverting with custom message on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a / b;
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting with custom message when dividing by zero.
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {tryMod}.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a % b;
}
}
}// SPDX-License-Identifier: MIT
pragma solidity >=0.5.0;
interface IWETH {
function balanceOf(address account) external view returns (uint);
function deposit() external payable;
function transfer(address to, uint value) external returns (bool);
function withdraw(uint) external;
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
abstract contract Pausable is Ownable {
uint256 public lastPauseTime;
bool public paused;
constructor() {
// This contract is abstract, and thus cannot be instantiated directly
require(owner() != address(0), "Owner must be set");
// Paused will be false, and lastPauseTime will be 0 upon initialisation
}
/**
* @notice Change the paused state of the contract
* @dev Only the contract owner may call this.
*/
function setPaused(bool _paused) external onlyOwner {
// Ensure we're actually changing the state before we do anything
if (_paused == paused) {
return;
}
// Set our paused state.
paused = _paused;
// If applicable, set the last pause time.
if (paused) {
lastPauseTime = block.timestamp;
}
// Let everyone know that our pause state has changed.
emit PauseChanged(paused);
}
event PauseChanged(bool isPaused);
modifier notPaused {
require(
!paused,
"This action cannot be performed while the contract is paused"
);
_;
}
}{
"evmVersion": "paris",
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"isPaused","type":"bool"}],"name":"PauseChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Recovered","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newDuration","type":"uint256"}],"name":"RewardsDurationUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"contract IWETH","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"exit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getRewardForDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastPauseTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastTimeRewardApplicable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"a","type":"uint256"},{"internalType":"uint256","name":"b","type":"uint256"}],"name":"min","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"reward","type":"uint256"}],"name":"notifyRewardAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"periodFinish","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"recoverERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"recoverEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerTokenStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_paused","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardsDuration","type":"uint256"}],"name":"setRewardsDuration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userRewardPerTokenPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]Contract Creation Code
608060405273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2600360016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073faf1d318ea071f07ac974d6083f26f99182554b6600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600555600060065562278d00600755348015620000cc57600080fd5b506001600081905550620000f5620000e96200017c60201b60201c565b6200018460201b60201c565b600073ffffffffffffffffffffffffffffffffffffffff166200011d6200024a60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff160362000176576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200016d90620002d5565b60405180910390fd5b620002f7565b600033905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600082825260208201905092915050565b7f4f776e6572206d75737420626520736574000000000000000000000000000000600082015250565b6000620002bd60118362000274565b9150620002ca8262000285565b602082019050919050565b60006020820190508181036000830152620002f081620002ae565b9050919050565b61308080620003076000396000f3fe6080604052600436106101d05760003560e01c806380faa57d116100f7578063bcdb446b11610095578063df136d6511610064578063df136d651461064c578063e9fad8ee14610677578063ebe2b12b1461068e578063f2fde38b146106b9576101d7565b8063bcdb446b146105b6578063c8f33c91146105cd578063cc1a378f146105f8578063cd3daf9d14610621576101d7565b80638da5cb5b116100d15780638da5cb5b1461050c57806391b4ded914610537578063a694fc3a14610562578063ad5c46481461058b576101d7565b806380faa57d1461047b5780638980f11f146104a65780638b876347146104cf576101d7565b80633c6b16ab1161016f578063715018a61161013e578063715018a6146103d157806372f702f3146103e85780637ae2b5c7146104135780637b0a47ee14610450576101d7565b80633c6b16ab146103295780634e71d92d146103525780635c975abb1461036957806370a0823114610394576101d7565b806318160ddd116101ab57806318160ddd1461027f5780631c1f78eb146102aa5780632e1a7d4d146102d5578063386a9525146102fe576101d7565b80628cc262146101dc5780630700037d1461021957806316c38b3c14610256576101d7565b366101d757005b600080fd5b3480156101e857600080fd5b5061020360048036038101906101fe919061228f565b6106e2565b60405161021091906122d5565b60405180910390f35b34801561022557600080fd5b50610240600480360381019061023b919061228f565b610800565b60405161024d91906122d5565b60405180910390f35b34801561026257600080fd5b5061027d60048036038101906102789190612328565b610818565b005b34801561028b57600080fd5b506102946108bc565b6040516102a191906122d5565b60405180910390f35b3480156102b657600080fd5b506102bf6108c6565b6040516102cc91906122d5565b60405180910390f35b3480156102e157600080fd5b506102fc60048036038101906102f79190612381565b6108e4565b005b34801561030a57600080fd5b50610313610b8d565b60405161032091906122d5565b60405180910390f35b34801561033557600080fd5b50610350600480360381019061034b9190612381565b610b93565b005b34801561035e57600080fd5b5061036761104d565b005b34801561037557600080fd5b5061037e6112e0565b60405161038b91906123bd565b60405180910390f35b3480156103a057600080fd5b506103bb60048036038101906103b6919061228f565b6112f3565b6040516103c891906122d5565b60405180910390f35b3480156103dd57600080fd5b506103e661133c565b005b3480156103f457600080fd5b506103fd611350565b60405161040a9190612437565b60405180910390f35b34801561041f57600080fd5b5061043a60048036038101906104359190612452565b611376565b60405161044791906122d5565b60405180910390f35b34801561045c57600080fd5b5061046561138f565b60405161047291906122d5565b60405180910390f35b34801561048757600080fd5b50610490611395565b60405161049d91906122d5565b60405180910390f35b3480156104b257600080fd5b506104cd60048036038101906104c89190612492565b6113a8565b005b3480156104db57600080fd5b506104f660048036038101906104f1919061228f565b6114af565b60405161050391906122d5565b60405180910390f35b34801561051857600080fd5b506105216114c7565b60405161052e91906124e1565b60405180910390f35b34801561054357600080fd5b5061054c6114f1565b60405161055991906122d5565b60405180910390f35b34801561056e57600080fd5b5061058960048036038101906105849190612381565b6114f7565b005b34801561059757600080fd5b506105a061194c565b6040516105ad919061251d565b60405180910390f35b3480156105c257600080fd5b506105cb611972565b005b3480156105d957600080fd5b506105e261198d565b6040516105ef91906122d5565b60405180910390f35b34801561060457600080fd5b5061061f600480360381019061061a9190612381565b611993565b005b34801561062d57600080fd5b50610636611a22565b60405161064391906122d5565b60405180910390f35b34801561065857600080fd5b50610661611aaf565b60405161066e91906122d5565b60405180910390f35b34801561068357600080fd5b5061068c611ab5565b005b34801561069a57600080fd5b506106a3611b0e565b6040516106b091906122d5565b60405180910390f35b3480156106c557600080fd5b506106e060048036038101906106db919061228f565b611b14565b005b60006107f9600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546107eb670de0b6b3a76400006107dd61078f600a60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610781611a22565b611b9790919063ffffffff16565b600d60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611bad90919063ffffffff16565b611bc390919063ffffffff16565b611bd990919063ffffffff16565b9050919050565b600b6020528060005260406000206000915090505481565b610820611bef565b600360009054906101000a900460ff16151581151503156108b95780600360006101000a81548160ff021916908315150217905550600360009054906101000a900460ff161561087257426002819055505b7f8fb6c181ee25a520cf3dd6565006ef91229fcfe5a989566c2a3b8c115570cec5600360009054906101000a900460ff166040516108b091906123bd565b60405180910390a15b50565b6000600c54905090565b60006108df600754600654611bad90919063ffffffff16565b905090565b6108ec611c6d565b6108f4611cbc565b6108fc611a22565b60098190555061090a611395565b600881905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146109d75761094d816106e2565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600954600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60008211610a1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1190612595565b60405180910390fd5b610a2f82600c54611b9790919063ffffffff16565b600c81905550610a8e82600d6000610a45611cbc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611b9790919063ffffffff16565b600d6000610a9a611cbc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610b2c610ae3611cbc565b83600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611cc49092919063ffffffff16565b610b34611cbc565b73ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d583604051610b7991906122d5565b60405180910390a250610b8a611d4a565b50565b60075481565b610b9b611bef565b6000610ba5611a22565b600981905550610bb3611395565b600881905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c8057610bf6816106e2565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600954600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610cdd91906124e1565b602060405180830381865afa158015610cfa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d1e91906125ca565b9050610d76610d2b611cbc565b3085600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611d54909392919063ffffffff16565b6000600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610dd391906124e1565b602060405180830381865afa158015610df0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1491906125ca565b905060008282610e249190612626565b9050848114610e68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5f906126cc565b60405180910390fd5b6005544210610e9157610e8660075486611bc390919063ffffffff16565b600681905550610ef3565b6000610ea842600554611b9790919063ffffffff16565b90506000610ec160065483611bad90919063ffffffff16565b9050610eea600754610edc838a611bd990919063ffffffff16565b611bc390919063ffffffff16565b60068190555050505b6000600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610f5091906124e1565b602060405180830381865afa158015610f6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f9191906125ca565b9050610fa860075482611bc390919063ffffffff16565b6006541115610fec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe390612738565b60405180910390fd5b4260088190555061100860075442611bd990919063ffffffff16565b6005819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d8660405161103d91906122d5565b60405180910390a1505050505050565b611055611c6d565b61105d611cbc565b611065611a22565b600981905550611073611395565b600881905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611140576110b6816106e2565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600954600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000600b600061114e611cbc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060008111156112d4576000600b60006111a2611cbc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d826040518263ffffffff1660e01b815260040161123b91906122d5565b600060405180830381600087803b15801561125557600080fd5b505af1158015611269573d6000803e3d6000fd5b5050505061127e611278611cbc565b82611ddd565b611286611cbc565b73ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040516112cb91906122d5565b60405180910390a25b50506112de611d4a565b565b600360009054906101000a900460ff1681565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611344611bef565b61134e6000611ed1565b565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008183106113855781611387565b825b905092915050565b60065481565b60006113a342600554611376565b905090565b6113b0611bef565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611440576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611437906127ca565b60405180910390fd5b61147261144b6114c7565b828473ffffffffffffffffffffffffffffffffffffffff16611cc49092919063ffffffff16565b7f8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa2882826040516114a39291906127ea565b60405180910390a15050565b600a6020528060005260406000206000915090505481565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60025481565b6114ff611c6d565b600360009054906101000a900460ff161561154f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154690612885565b60405180910390fd5b611557611cbc565b61155f611a22565b60098190555061156d611395565b600881905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461163a576115b0816106e2565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600954600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000821161167d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611674906128f1565b60405180910390fd5b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016116da91906124e1565b602060405180830381865afa1580156116f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061171b91906125ca565b9050611773611728611cbc565b3085600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611d54909392919063ffffffff16565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016117d091906124e1565b602060405180830381865afa1580156117ed573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061181191906125ca565b905060006118288383611b9790919063ffffffff16565b905061183f81600c54611bd990919063ffffffff16565b600c8190555061189e81600d6000611855611cbc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611bd990919063ffffffff16565b600d60006118aa611cbc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506118f0611cbc565b73ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d8260405161193591906122d5565b60405180910390a250505050611949611d4a565b50565b600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61197a611bef565b61198b6119856114c7565b47611ddd565b565b60085481565b61199b611bef565b60055442116119df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d6906129a9565b60405180910390fd5b806007819055507ffb46ca5a5e06d4540d6387b930a7c978bce0db5f449ec6b3f5d07c6e1d44f2d3600754604051611a1791906122d5565b60405180910390a150565b600080600c5403611a37576009549050611aac565b611aa9611a98600c54611a8a670de0b6b3a7640000611a7c600654611a6e600854611a60611395565b611b9790919063ffffffff16565b611bad90919063ffffffff16565b611bad90919063ffffffff16565b611bc390919063ffffffff16565b600954611bd990919063ffffffff16565b90505b90565b60095481565b611b04600d6000611ac4611cbc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546108e4565b611b0c61104d565b565b60055481565b611b1c611bef565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611b8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8290612a3b565b60405180910390fd5b611b9481611ed1565b50565b60008183611ba59190612626565b905092915050565b60008183611bbb9190612a5b565b905092915050565b60008183611bd19190612acc565b905092915050565b60008183611be79190612afd565b905092915050565b611bf7611cbc565b73ffffffffffffffffffffffffffffffffffffffff16611c156114c7565b73ffffffffffffffffffffffffffffffffffffffff1614611c6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6290612b7d565b60405180910390fd5b565b600260005403611cb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca990612be9565b60405180910390fd5b6002600081905550565b600033905090565b611d458363a9059cbb60e01b8484604051602401611ce39291906127ea565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611f97565b505050565b6001600081905550565b611dd7846323b872dd60e01b858585604051602401611d7593929190612c09565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611f97565b50505050565b80471015611e20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1790612c8c565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611e4690612cdd565b60006040518083038185875af1925050503d8060008114611e83576040519150601f19603f3d011682016040523d82523d6000602084013e611e88565b606091505b5050905080611ecc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec390612d64565b60405180910390fd5b505050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000611ff9826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661205f9092919063ffffffff16565b905060008151148061201b57508080602001905181019061201a9190612d99565b5b61205a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205190612e38565b60405180910390fd5b505050565b606061206e8484600085612077565b90509392505050565b6060824710156120bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b390612eca565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516120e59190612f50565b60006040518083038185875af1925050503d8060008114612122576040519150601f19603f3d011682016040523d82523d6000602084013e612127565b606091505b509150915061213887838387612144565b92505050949350505050565b606083156121a657600083510361219e5761215e856121b9565b61219d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219490612fb3565b60405180910390fd5b5b8290506121b1565b6121b083836121dc565b5b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000825111156121ef5781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122239190613028565b60405180910390fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061225c82612231565b9050919050565b61226c81612251565b811461227757600080fd5b50565b60008135905061228981612263565b92915050565b6000602082840312156122a5576122a461222c565b5b60006122b38482850161227a565b91505092915050565b6000819050919050565b6122cf816122bc565b82525050565b60006020820190506122ea60008301846122c6565b92915050565b60008115159050919050565b612305816122f0565b811461231057600080fd5b50565b600081359050612322816122fc565b92915050565b60006020828403121561233e5761233d61222c565b5b600061234c84828501612313565b91505092915050565b61235e816122bc565b811461236957600080fd5b50565b60008135905061237b81612355565b92915050565b6000602082840312156123975761239661222c565b5b60006123a58482850161236c565b91505092915050565b6123b7816122f0565b82525050565b60006020820190506123d260008301846123ae565b92915050565b6000819050919050565b60006123fd6123f86123f384612231565b6123d8565b612231565b9050919050565b600061240f826123e2565b9050919050565b600061242182612404565b9050919050565b61243181612416565b82525050565b600060208201905061244c6000830184612428565b92915050565b600080604083850312156124695761246861222c565b5b60006124778582860161236c565b92505060206124888582860161236c565b9150509250929050565b600080604083850312156124a9576124a861222c565b5b60006124b78582860161227a565b92505060206124c88582860161236c565b9150509250929050565b6124db81612251565b82525050565b60006020820190506124f660008301846124d2565b92915050565b600061250782612404565b9050919050565b612517816124fc565b82525050565b6000602082019050612532600083018461250e565b92915050565b600082825260208201905092915050565b7f43616e6e6f742077697468647261772030000000000000000000000000000000600082015250565b600061257f601183612538565b915061258a82612549565b602082019050919050565b600060208201905081810360008301526125ae81612572565b9050919050565b6000815190506125c481612355565b92915050565b6000602082840312156125e0576125df61222c565b5b60006125ee848285016125b5565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612631826122bc565b915061263c836122bc565b9250828203905081811115612654576126536125f7565b5b92915050565b7f41637475616c2072656365697665642072657761726420646f6573206e6f742060008201527f6d61746368207468652065787065637465642072657761726400000000000000602082015250565b60006126b6603983612538565b91506126c18261265a565b604082019050919050565b600060208201905081810360008301526126e5816126a9565b9050919050565b7f50726f76696465642072657761726420746f6f20686967680000000000000000600082015250565b6000612722601883612538565b915061272d826126ec565b602082019050919050565b6000602082019050818103600083015261275181612715565b9050919050565b7f43616e6e6f7420776974686472617720746865207374616b696e6720746f6b6560008201527f6e00000000000000000000000000000000000000000000000000000000000000602082015250565b60006127b4602183612538565b91506127bf82612758565b604082019050919050565b600060208201905081810360008301526127e3816127a7565b9050919050565b60006040820190506127ff60008301856124d2565b61280c60208301846122c6565b9392505050565b7f5468697320616374696f6e2063616e6e6f7420626520706572666f726d65642060008201527f7768696c652074686520636f6e74726163742069732070617573656400000000602082015250565b600061286f603c83612538565b915061287a82612813565b604082019050919050565b6000602082019050818103600083015261289e81612862565b9050919050565b7f43616e6e6f74207374616b652030000000000000000000000000000000000000600082015250565b60006128db600e83612538565b91506128e6826128a5565b602082019050919050565b6000602082019050818103600083015261290a816128ce565b9050919050565b7f50726576696f7573207265776172647320706572696f64206d7573742062652060008201527f636f6d706c657465206265666f7265206368616e67696e67207468652064757260208201527f6174696f6e20666f7220746865206e657720706572696f640000000000000000604082015250565b6000612993605883612538565b915061299e82612911565b606082019050919050565b600060208201905081810360008301526129c281612986565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612a25602683612538565b9150612a30826129c9565b604082019050919050565b60006020820190508181036000830152612a5481612a18565b9050919050565b6000612a66826122bc565b9150612a71836122bc565b9250828202612a7f816122bc565b91508282048414831517612a9657612a956125f7565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612ad7826122bc565b9150612ae2836122bc565b925082612af257612af1612a9d565b5b828204905092915050565b6000612b08826122bc565b9150612b13836122bc565b9250828201905080821115612b2b57612b2a6125f7565b5b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612b67602083612538565b9150612b7282612b31565b602082019050919050565b60006020820190508181036000830152612b9681612b5a565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000612bd3601f83612538565b9150612bde82612b9d565b602082019050919050565b60006020820190508181036000830152612c0281612bc6565b9050919050565b6000606082019050612c1e60008301866124d2565b612c2b60208301856124d2565b612c3860408301846122c6565b949350505050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000612c76601d83612538565b9150612c8182612c40565b602082019050919050565b60006020820190508181036000830152612ca581612c69565b9050919050565b600081905092915050565b50565b6000612cc7600083612cac565b9150612cd282612cb7565b600082019050919050565b6000612ce882612cba565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000612d4e603a83612538565b9150612d5982612cf2565b604082019050919050565b60006020820190508181036000830152612d7d81612d41565b9050919050565b600081519050612d93816122fc565b92915050565b600060208284031215612daf57612dae61222c565b5b6000612dbd84828501612d84565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000612e22602a83612538565b9150612e2d82612dc6565b604082019050919050565b60006020820190508181036000830152612e5181612e15565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000612eb4602683612538565b9150612ebf82612e58565b604082019050919050565b60006020820190508181036000830152612ee381612ea7565b9050919050565b600081519050919050565b60005b83811015612f13578082015181840152602081019050612ef8565b60008484015250505050565b6000612f2a82612eea565b612f348185612cac565b9350612f44818560208601612ef5565b80840191505092915050565b6000612f5c8284612f1f565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000612f9d601d83612538565b9150612fa882612f67565b602082019050919050565b60006020820190508181036000830152612fcc81612f90565b9050919050565b600081519050919050565b6000601f19601f8301169050919050565b6000612ffa82612fd3565b6130048185612538565b9350613014818560208601612ef5565b61301d81612fde565b840191505092915050565b600060208201905081810360008301526130428184612fef565b90509291505056fea26469706673582212207e6990da3f09e67b9691081379777130f9921a3ff3e3103a34ec0dafd406d97064736f6c63430008180033
Deployed Bytecode
0x6080604052600436106101d05760003560e01c806380faa57d116100f7578063bcdb446b11610095578063df136d6511610064578063df136d651461064c578063e9fad8ee14610677578063ebe2b12b1461068e578063f2fde38b146106b9576101d7565b8063bcdb446b146105b6578063c8f33c91146105cd578063cc1a378f146105f8578063cd3daf9d14610621576101d7565b80638da5cb5b116100d15780638da5cb5b1461050c57806391b4ded914610537578063a694fc3a14610562578063ad5c46481461058b576101d7565b806380faa57d1461047b5780638980f11f146104a65780638b876347146104cf576101d7565b80633c6b16ab1161016f578063715018a61161013e578063715018a6146103d157806372f702f3146103e85780637ae2b5c7146104135780637b0a47ee14610450576101d7565b80633c6b16ab146103295780634e71d92d146103525780635c975abb1461036957806370a0823114610394576101d7565b806318160ddd116101ab57806318160ddd1461027f5780631c1f78eb146102aa5780632e1a7d4d146102d5578063386a9525146102fe576101d7565b80628cc262146101dc5780630700037d1461021957806316c38b3c14610256576101d7565b366101d757005b600080fd5b3480156101e857600080fd5b5061020360048036038101906101fe919061228f565b6106e2565b60405161021091906122d5565b60405180910390f35b34801561022557600080fd5b50610240600480360381019061023b919061228f565b610800565b60405161024d91906122d5565b60405180910390f35b34801561026257600080fd5b5061027d60048036038101906102789190612328565b610818565b005b34801561028b57600080fd5b506102946108bc565b6040516102a191906122d5565b60405180910390f35b3480156102b657600080fd5b506102bf6108c6565b6040516102cc91906122d5565b60405180910390f35b3480156102e157600080fd5b506102fc60048036038101906102f79190612381565b6108e4565b005b34801561030a57600080fd5b50610313610b8d565b60405161032091906122d5565b60405180910390f35b34801561033557600080fd5b50610350600480360381019061034b9190612381565b610b93565b005b34801561035e57600080fd5b5061036761104d565b005b34801561037557600080fd5b5061037e6112e0565b60405161038b91906123bd565b60405180910390f35b3480156103a057600080fd5b506103bb60048036038101906103b6919061228f565b6112f3565b6040516103c891906122d5565b60405180910390f35b3480156103dd57600080fd5b506103e661133c565b005b3480156103f457600080fd5b506103fd611350565b60405161040a9190612437565b60405180910390f35b34801561041f57600080fd5b5061043a60048036038101906104359190612452565b611376565b60405161044791906122d5565b60405180910390f35b34801561045c57600080fd5b5061046561138f565b60405161047291906122d5565b60405180910390f35b34801561048757600080fd5b50610490611395565b60405161049d91906122d5565b60405180910390f35b3480156104b257600080fd5b506104cd60048036038101906104c89190612492565b6113a8565b005b3480156104db57600080fd5b506104f660048036038101906104f1919061228f565b6114af565b60405161050391906122d5565b60405180910390f35b34801561051857600080fd5b506105216114c7565b60405161052e91906124e1565b60405180910390f35b34801561054357600080fd5b5061054c6114f1565b60405161055991906122d5565b60405180910390f35b34801561056e57600080fd5b5061058960048036038101906105849190612381565b6114f7565b005b34801561059757600080fd5b506105a061194c565b6040516105ad919061251d565b60405180910390f35b3480156105c257600080fd5b506105cb611972565b005b3480156105d957600080fd5b506105e261198d565b6040516105ef91906122d5565b60405180910390f35b34801561060457600080fd5b5061061f600480360381019061061a9190612381565b611993565b005b34801561062d57600080fd5b50610636611a22565b60405161064391906122d5565b60405180910390f35b34801561065857600080fd5b50610661611aaf565b60405161066e91906122d5565b60405180910390f35b34801561068357600080fd5b5061068c611ab5565b005b34801561069a57600080fd5b506106a3611b0e565b6040516106b091906122d5565b60405180910390f35b3480156106c557600080fd5b506106e060048036038101906106db919061228f565b611b14565b005b60006107f9600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546107eb670de0b6b3a76400006107dd61078f600a60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610781611a22565b611b9790919063ffffffff16565b600d60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611bad90919063ffffffff16565b611bc390919063ffffffff16565b611bd990919063ffffffff16565b9050919050565b600b6020528060005260406000206000915090505481565b610820611bef565b600360009054906101000a900460ff16151581151503156108b95780600360006101000a81548160ff021916908315150217905550600360009054906101000a900460ff161561087257426002819055505b7f8fb6c181ee25a520cf3dd6565006ef91229fcfe5a989566c2a3b8c115570cec5600360009054906101000a900460ff166040516108b091906123bd565b60405180910390a15b50565b6000600c54905090565b60006108df600754600654611bad90919063ffffffff16565b905090565b6108ec611c6d565b6108f4611cbc565b6108fc611a22565b60098190555061090a611395565b600881905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146109d75761094d816106e2565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600954600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60008211610a1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1190612595565b60405180910390fd5b610a2f82600c54611b9790919063ffffffff16565b600c81905550610a8e82600d6000610a45611cbc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611b9790919063ffffffff16565b600d6000610a9a611cbc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610b2c610ae3611cbc565b83600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611cc49092919063ffffffff16565b610b34611cbc565b73ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d583604051610b7991906122d5565b60405180910390a250610b8a611d4a565b50565b60075481565b610b9b611bef565b6000610ba5611a22565b600981905550610bb3611395565b600881905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c8057610bf6816106e2565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600954600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610cdd91906124e1565b602060405180830381865afa158015610cfa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d1e91906125ca565b9050610d76610d2b611cbc565b3085600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611d54909392919063ffffffff16565b6000600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610dd391906124e1565b602060405180830381865afa158015610df0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1491906125ca565b905060008282610e249190612626565b9050848114610e68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5f906126cc565b60405180910390fd5b6005544210610e9157610e8660075486611bc390919063ffffffff16565b600681905550610ef3565b6000610ea842600554611b9790919063ffffffff16565b90506000610ec160065483611bad90919063ffffffff16565b9050610eea600754610edc838a611bd990919063ffffffff16565b611bc390919063ffffffff16565b60068190555050505b6000600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610f5091906124e1565b602060405180830381865afa158015610f6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f9191906125ca565b9050610fa860075482611bc390919063ffffffff16565b6006541115610fec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe390612738565b60405180910390fd5b4260088190555061100860075442611bd990919063ffffffff16565b6005819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d8660405161103d91906122d5565b60405180910390a1505050505050565b611055611c6d565b61105d611cbc565b611065611a22565b600981905550611073611395565b600881905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611140576110b6816106e2565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600954600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000600b600061114e611cbc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060008111156112d4576000600b60006111a2611cbc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d826040518263ffffffff1660e01b815260040161123b91906122d5565b600060405180830381600087803b15801561125557600080fd5b505af1158015611269573d6000803e3d6000fd5b5050505061127e611278611cbc565b82611ddd565b611286611cbc565b73ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040516112cb91906122d5565b60405180910390a25b50506112de611d4a565b565b600360009054906101000a900460ff1681565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611344611bef565b61134e6000611ed1565b565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008183106113855781611387565b825b905092915050565b60065481565b60006113a342600554611376565b905090565b6113b0611bef565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611440576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611437906127ca565b60405180910390fd5b61147261144b6114c7565b828473ffffffffffffffffffffffffffffffffffffffff16611cc49092919063ffffffff16565b7f8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa2882826040516114a39291906127ea565b60405180910390a15050565b600a6020528060005260406000206000915090505481565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60025481565b6114ff611c6d565b600360009054906101000a900460ff161561154f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154690612885565b60405180910390fd5b611557611cbc565b61155f611a22565b60098190555061156d611395565b600881905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461163a576115b0816106e2565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600954600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000821161167d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611674906128f1565b60405180910390fd5b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016116da91906124e1565b602060405180830381865afa1580156116f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061171b91906125ca565b9050611773611728611cbc565b3085600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611d54909392919063ffffffff16565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016117d091906124e1565b602060405180830381865afa1580156117ed573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061181191906125ca565b905060006118288383611b9790919063ffffffff16565b905061183f81600c54611bd990919063ffffffff16565b600c8190555061189e81600d6000611855611cbc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611bd990919063ffffffff16565b600d60006118aa611cbc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506118f0611cbc565b73ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d8260405161193591906122d5565b60405180910390a250505050611949611d4a565b50565b600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61197a611bef565b61198b6119856114c7565b47611ddd565b565b60085481565b61199b611bef565b60055442116119df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d6906129a9565b60405180910390fd5b806007819055507ffb46ca5a5e06d4540d6387b930a7c978bce0db5f449ec6b3f5d07c6e1d44f2d3600754604051611a1791906122d5565b60405180910390a150565b600080600c5403611a37576009549050611aac565b611aa9611a98600c54611a8a670de0b6b3a7640000611a7c600654611a6e600854611a60611395565b611b9790919063ffffffff16565b611bad90919063ffffffff16565b611bad90919063ffffffff16565b611bc390919063ffffffff16565b600954611bd990919063ffffffff16565b90505b90565b60095481565b611b04600d6000611ac4611cbc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546108e4565b611b0c61104d565b565b60055481565b611b1c611bef565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611b8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8290612a3b565b60405180910390fd5b611b9481611ed1565b50565b60008183611ba59190612626565b905092915050565b60008183611bbb9190612a5b565b905092915050565b60008183611bd19190612acc565b905092915050565b60008183611be79190612afd565b905092915050565b611bf7611cbc565b73ffffffffffffffffffffffffffffffffffffffff16611c156114c7565b73ffffffffffffffffffffffffffffffffffffffff1614611c6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6290612b7d565b60405180910390fd5b565b600260005403611cb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca990612be9565b60405180910390fd5b6002600081905550565b600033905090565b611d458363a9059cbb60e01b8484604051602401611ce39291906127ea565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611f97565b505050565b6001600081905550565b611dd7846323b872dd60e01b858585604051602401611d7593929190612c09565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611f97565b50505050565b80471015611e20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1790612c8c565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611e4690612cdd565b60006040518083038185875af1925050503d8060008114611e83576040519150601f19603f3d011682016040523d82523d6000602084013e611e88565b606091505b5050905080611ecc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec390612d64565b60405180910390fd5b505050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000611ff9826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661205f9092919063ffffffff16565b905060008151148061201b57508080602001905181019061201a9190612d99565b5b61205a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205190612e38565b60405180910390fd5b505050565b606061206e8484600085612077565b90509392505050565b6060824710156120bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b390612eca565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516120e59190612f50565b60006040518083038185875af1925050503d8060008114612122576040519150601f19603f3d011682016040523d82523d6000602084013e612127565b606091505b509150915061213887838387612144565b92505050949350505050565b606083156121a657600083510361219e5761215e856121b9565b61219d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219490612fb3565b60405180910390fd5b5b8290506121b1565b6121b083836121dc565b5b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000825111156121ef5781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122239190613028565b60405180910390fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061225c82612231565b9050919050565b61226c81612251565b811461227757600080fd5b50565b60008135905061228981612263565b92915050565b6000602082840312156122a5576122a461222c565b5b60006122b38482850161227a565b91505092915050565b6000819050919050565b6122cf816122bc565b82525050565b60006020820190506122ea60008301846122c6565b92915050565b60008115159050919050565b612305816122f0565b811461231057600080fd5b50565b600081359050612322816122fc565b92915050565b60006020828403121561233e5761233d61222c565b5b600061234c84828501612313565b91505092915050565b61235e816122bc565b811461236957600080fd5b50565b60008135905061237b81612355565b92915050565b6000602082840312156123975761239661222c565b5b60006123a58482850161236c565b91505092915050565b6123b7816122f0565b82525050565b60006020820190506123d260008301846123ae565b92915050565b6000819050919050565b60006123fd6123f86123f384612231565b6123d8565b612231565b9050919050565b600061240f826123e2565b9050919050565b600061242182612404565b9050919050565b61243181612416565b82525050565b600060208201905061244c6000830184612428565b92915050565b600080604083850312156124695761246861222c565b5b60006124778582860161236c565b92505060206124888582860161236c565b9150509250929050565b600080604083850312156124a9576124a861222c565b5b60006124b78582860161227a565b92505060206124c88582860161236c565b9150509250929050565b6124db81612251565b82525050565b60006020820190506124f660008301846124d2565b92915050565b600061250782612404565b9050919050565b612517816124fc565b82525050565b6000602082019050612532600083018461250e565b92915050565b600082825260208201905092915050565b7f43616e6e6f742077697468647261772030000000000000000000000000000000600082015250565b600061257f601183612538565b915061258a82612549565b602082019050919050565b600060208201905081810360008301526125ae81612572565b9050919050565b6000815190506125c481612355565b92915050565b6000602082840312156125e0576125df61222c565b5b60006125ee848285016125b5565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612631826122bc565b915061263c836122bc565b9250828203905081811115612654576126536125f7565b5b92915050565b7f41637475616c2072656365697665642072657761726420646f6573206e6f742060008201527f6d61746368207468652065787065637465642072657761726400000000000000602082015250565b60006126b6603983612538565b91506126c18261265a565b604082019050919050565b600060208201905081810360008301526126e5816126a9565b9050919050565b7f50726f76696465642072657761726420746f6f20686967680000000000000000600082015250565b6000612722601883612538565b915061272d826126ec565b602082019050919050565b6000602082019050818103600083015261275181612715565b9050919050565b7f43616e6e6f7420776974686472617720746865207374616b696e6720746f6b6560008201527f6e00000000000000000000000000000000000000000000000000000000000000602082015250565b60006127b4602183612538565b91506127bf82612758565b604082019050919050565b600060208201905081810360008301526127e3816127a7565b9050919050565b60006040820190506127ff60008301856124d2565b61280c60208301846122c6565b9392505050565b7f5468697320616374696f6e2063616e6e6f7420626520706572666f726d65642060008201527f7768696c652074686520636f6e74726163742069732070617573656400000000602082015250565b600061286f603c83612538565b915061287a82612813565b604082019050919050565b6000602082019050818103600083015261289e81612862565b9050919050565b7f43616e6e6f74207374616b652030000000000000000000000000000000000000600082015250565b60006128db600e83612538565b91506128e6826128a5565b602082019050919050565b6000602082019050818103600083015261290a816128ce565b9050919050565b7f50726576696f7573207265776172647320706572696f64206d7573742062652060008201527f636f6d706c657465206265666f7265206368616e67696e67207468652064757260208201527f6174696f6e20666f7220746865206e657720706572696f640000000000000000604082015250565b6000612993605883612538565b915061299e82612911565b606082019050919050565b600060208201905081810360008301526129c281612986565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612a25602683612538565b9150612a30826129c9565b604082019050919050565b60006020820190508181036000830152612a5481612a18565b9050919050565b6000612a66826122bc565b9150612a71836122bc565b9250828202612a7f816122bc565b91508282048414831517612a9657612a956125f7565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612ad7826122bc565b9150612ae2836122bc565b925082612af257612af1612a9d565b5b828204905092915050565b6000612b08826122bc565b9150612b13836122bc565b9250828201905080821115612b2b57612b2a6125f7565b5b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612b67602083612538565b9150612b7282612b31565b602082019050919050565b60006020820190508181036000830152612b9681612b5a565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000612bd3601f83612538565b9150612bde82612b9d565b602082019050919050565b60006020820190508181036000830152612c0281612bc6565b9050919050565b6000606082019050612c1e60008301866124d2565b612c2b60208301856124d2565b612c3860408301846122c6565b949350505050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000612c76601d83612538565b9150612c8182612c40565b602082019050919050565b60006020820190508181036000830152612ca581612c69565b9050919050565b600081905092915050565b50565b6000612cc7600083612cac565b9150612cd282612cb7565b600082019050919050565b6000612ce882612cba565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000612d4e603a83612538565b9150612d5982612cf2565b604082019050919050565b60006020820190508181036000830152612d7d81612d41565b9050919050565b600081519050612d93816122fc565b92915050565b600060208284031215612daf57612dae61222c565b5b6000612dbd84828501612d84565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000612e22602a83612538565b9150612e2d82612dc6565b604082019050919050565b60006020820190508181036000830152612e5181612e15565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000612eb4602683612538565b9150612ebf82612e58565b604082019050919050565b60006020820190508181036000830152612ee381612ea7565b9050919050565b600081519050919050565b60005b83811015612f13578082015181840152602081019050612ef8565b60008484015250505050565b6000612f2a82612eea565b612f348185612cac565b9350612f44818560208601612ef5565b80840191505092915050565b6000612f5c8284612f1f565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000612f9d601d83612538565b9150612fa882612f67565b602082019050919050565b60006020820190508181036000830152612fcc81612f90565b9050919050565b600081519050919050565b6000601f19601f8301169050919050565b6000612ffa82612fd3565b6130048185612538565b9350613014818560208601612ef5565b61301d81612fde565b840191505092915050565b600060208201905081810360008301526130428184612fef565b90509291505056fea26469706673582212207e6990da3f09e67b9691081379777130f9921a3ff3e3103a34ec0dafd406d97064736f6c63430008180033
Loading...
Loading
Loading...
Loading
Net Worth in USD
$3,889.42
Net Worth in ETH
1.85
Token Allocations
WETH
100.00%
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| ETH | 100.00% | $2,102.39 | 1.85 | $3,889.42 |
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ 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.