Source Code
Latest 13 from a total of 13 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Claim Payout | 41732237 | 32 days ago | IN | 0 ETH | 0.00000101 | ||||
| Mark Built | 41732196 | 32 days ago | IN | 0 ETH | 0.00000253 | ||||
| Burn Idea | 41731958 | 32 days ago | IN | 0 ETH | 0.00000082 | ||||
| Submit Idea | 41729077 | 32 days ago | IN | 0 ETH | 0.00000163 | ||||
| Stake On Idea | 41728080 | 32 days ago | IN | 0 ETH | 0.00000343 | ||||
| Submit Idea | 41728035 | 32 days ago | IN | 0 ETH | 0.0000035 | ||||
| Stake On Idea | 41720085 | 32 days ago | IN | 0 ETH | 0.00001809 | ||||
| Submit Idea | 41719865 | 32 days ago | IN | 0 ETH | 0.00002761 | ||||
| Submit Idea | 41719856 | 32 days ago | IN | 0 ETH | 0.00002197 | ||||
| Burn Idea | 41718838 | 32 days ago | IN | 0 ETH | 0.00001855 | ||||
| Burn Idea | 41718800 | 32 days ago | IN | 0 ETH | 0.00004382 | ||||
| Stake On Idea | 41714975 | 32 days ago | IN | 0 ETH | 0.00000358 | ||||
| Submit Idea | 41714916 | 32 days ago | IN | 0 ETH | 0.00000469 |
Cross-Chain Transactions
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x06779e41...Ee92E9F4d The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
IdeaLabs
Compiler Version
v0.8.33+commit.64118f21
Optimization Enabled:
No with 200 runs
Other Settings:
prague EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
/**
* @title IdeaLabs
* @notice Submit ideas (burn $10 CLAWD), stake on ideas ($25 CLAWD),
* admin can mark as built (with payout) or burn offensive content.
*/
contract IdeaLabs is ReentrancyGuard {
using SafeERC20 for IERC20;
// =============================================================
// CONSTANTS
// =============================================================
IERC20 public immutable clawdToken;
address public immutable admin;
address public constant DEAD_ADDRESS = 0x000000000000000000000000000000000000dEaD;
uint256 public constant SUBMIT_COST = 10 * 10**18; // 10 CLAWD (~$10)
uint256 public constant STAKE_COST = 25 * 10**18; // 25 CLAWD (~$25)
// =============================================================
// STORAGE
// =============================================================
struct Idea {
uint256 id;
address creator;
string content;
uint256 totalStaked;
uint256 stakerCount;
bool isBuilt;
bool isBurned;
uint256 payoutPool;
uint256 createdAt;
}
uint256 public nextIdeaId;
mapping(uint256 => Idea) public ideas;
mapping(uint256 => mapping(address => bool)) public hasStaked;
mapping(uint256 => mapping(address => bool)) public hasClaimed;
mapping(uint256 => address[]) public ideaStakers;
// =============================================================
// EVENTS
// =============================================================
event IdeaSubmitted(uint256 indexed ideaId, address indexed creator, string content);
event IdeaStaked(uint256 indexed ideaId, address indexed staker, uint256 totalStaked, uint256 stakerCount);
event IdeaMarkedBuilt(uint256 indexed ideaId, uint256 payoutPool);
event IdeaBurned(uint256 indexed ideaId, uint256 burnedAmount);
event PayoutClaimed(uint256 indexed ideaId, address indexed staker, uint256 amount);
// =============================================================
// CONSTRUCTOR
// =============================================================
constructor(address _clawdToken, address _admin) {
clawdToken = IERC20(_clawdToken);
admin = _admin;
nextIdeaId = 1;
}
// =============================================================
// MODIFIERS
// =============================================================
modifier onlyAdmin() {
require(msg.sender == admin, "Only admin");
_;
}
// =============================================================
// USER FUNCTIONS
// =============================================================
/**
* @notice Submit a new idea. Burns SUBMIT_COST CLAWD.
* @param _content The idea text content
*/
function submitIdea(string calldata _content) external nonReentrant {
require(bytes(_content).length > 0, "Content cannot be empty");
require(bytes(_content).length <= 2000, "Content too long");
// Transfer CLAWD from user and burn it
clawdToken.safeTransferFrom(msg.sender, DEAD_ADDRESS, SUBMIT_COST);
uint256 ideaId = nextIdeaId++;
ideas[ideaId] = Idea({
id: ideaId,
creator: msg.sender,
content: _content,
totalStaked: 0,
stakerCount: 0,
isBuilt: false,
isBurned: false,
payoutPool: 0,
createdAt: block.timestamp
});
emit IdeaSubmitted(ideaId, msg.sender, _content);
}
/**
* @notice Stake on an idea. Pays STAKE_COST CLAWD.
* ONE stake per address per idea (no sybil stacking).
* @param _ideaId The idea to stake on
*/
function stakeOnIdea(uint256 _ideaId) external nonReentrant {
Idea storage idea = ideas[_ideaId];
require(idea.creator != address(0), "Idea does not exist");
require(!idea.isBuilt, "Idea already built");
require(!idea.isBurned, "Idea was burned");
require(!hasStaked[_ideaId][msg.sender], "Already staked on this idea");
// Transfer CLAWD from user to contract (held until built or burned)
clawdToken.safeTransferFrom(msg.sender, address(this), STAKE_COST);
hasStaked[_ideaId][msg.sender] = true;
ideaStakers[_ideaId].push(msg.sender);
idea.totalStaked += STAKE_COST;
idea.stakerCount++;
emit IdeaStaked(_ideaId, msg.sender, idea.totalStaked, idea.stakerCount);
}
/**
* @notice Claim payout share from a built idea.
* Payout is split equally among stakers.
* @param _ideaId The idea to claim from
*/
function claimPayout(uint256 _ideaId) external nonReentrant {
Idea storage idea = ideas[_ideaId];
require(idea.isBuilt, "Idea not built yet");
require(hasStaked[_ideaId][msg.sender], "Not a staker");
require(!hasClaimed[_ideaId][msg.sender], "Already claimed");
require(idea.payoutPool > 0, "No payout available");
hasClaimed[_ideaId][msg.sender] = true;
// Equal share for each staker
uint256 share = idea.payoutPool / idea.stakerCount;
require(share > 0, "Share too small");
clawdToken.safeTransfer(msg.sender, share);
emit PayoutClaimed(_ideaId, msg.sender, share);
}
// =============================================================
// ADMIN FUNCTIONS
// =============================================================
/**
* @notice Mark an idea as built and set the payout pool amount.
* Admin must have transferred CLAWD to this contract first.
* @param _ideaId The idea to mark as built
* @param _payoutAmount Total CLAWD to distribute to stakers
*/
function markBuilt(uint256 _ideaId, uint256 _payoutAmount) external onlyAdmin nonReentrant {
Idea storage idea = ideas[_ideaId];
require(idea.creator != address(0), "Idea does not exist");
require(!idea.isBuilt, "Already built");
require(!idea.isBurned, "Idea was burned");
// If there's a payout, ensure contract has enough CLAWD
if (_payoutAmount > 0 && idea.stakerCount > 0) {
require(
clawdToken.balanceOf(address(this)) >= idea.totalStaked + _payoutAmount,
"Insufficient CLAWD for payout"
);
}
idea.isBuilt = true;
idea.payoutPool = _payoutAmount;
emit IdeaMarkedBuilt(_ideaId, _payoutAmount);
}
/**
* @notice Burn an idea's stake pool (for offensive content).
* Sends all staked CLAWD to the dead address.
* @param _ideaId The idea to burn
*/
function burnIdea(uint256 _ideaId) external onlyAdmin nonReentrant {
Idea storage idea = ideas[_ideaId];
require(idea.creator != address(0), "Idea does not exist");
require(!idea.isBuilt, "Already built");
require(!idea.isBurned, "Already burned");
uint256 burnAmount = idea.totalStaked;
idea.isBurned = true;
if (burnAmount > 0) {
clawdToken.safeTransfer(DEAD_ADDRESS, burnAmount);
}
emit IdeaBurned(_ideaId, burnAmount);
}
/**
* @notice Deposit CLAWD into contract for payouts.
* Admin must approve contract first.
* @param _amount Amount of CLAWD to deposit
*/
function depositClawdForPayouts(uint256 _amount) external {
clawdToken.safeTransferFrom(msg.sender, address(this), _amount);
}
/**
* @notice Withdraw excess CLAWD from contract (admin only).
* Cannot withdraw staked amounts.
* @param _amount Amount to withdraw
*/
function withdrawExcessClawd(uint256 _amount) external onlyAdmin {
clawdToken.safeTransfer(admin, _amount);
}
// =============================================================
// VIEW FUNCTIONS
// =============================================================
/**
* @notice Get idea details by ID
*/
function getIdea(uint256 _ideaId) external view returns (Idea memory) {
return ideas[_ideaId];
}
/**
* @notice Get all stakers for an idea
*/
function getIdeaStakers(uint256 _ideaId) external view returns (address[] memory) {
return ideaStakers[_ideaId];
}
/**
* @notice Get total number of ideas
*/
function getTotalIdeas() external view returns (uint256) {
return nextIdeaId - 1;
}
/**
* @notice Check if user can claim from an idea
*/
function canClaim(uint256 _ideaId, address _user) external view returns (bool) {
Idea storage idea = ideas[_ideaId];
return idea.isBuilt &&
hasStaked[_ideaId][_user] &&
!hasClaimed[_ideaId][_user] &&
idea.payoutPool > 0;
}
/**
* @notice Get user's claimable amount for an idea
*/
function getClaimableAmount(uint256 _ideaId, address _user) external view returns (uint256) {
Idea storage idea = ideas[_ideaId];
if (!idea.isBuilt || !hasStaked[_ideaId][_user] || hasClaimed[_ideaId][_user] || idea.payoutPool == 0) {
return 0;
}
return idea.payoutPool / idea.stakerCount;
}
/**
* @notice Get contract's CLAWD balance
*/
function getContractBalance() external view returns (uint256) {
return clawdToken.balanceOf(address(this));
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/IERC20.sol)
pragma solidity >=0.4.16;
/**
* @dev Interface of the ERC-20 standard as defined in the ERC.
*/
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 value of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the value of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from `from` to `to` using the
* allowance mechanism. `value` 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 value) external returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.5.0) (token/ERC20/utils/SafeERC20.sol)
pragma solidity ^0.8.20;
import {IERC20} from "../IERC20.sol";
import {IERC1363} from "../../../interfaces/IERC1363.sol";
/**
* @title SafeERC20
* @dev Wrappers around ERC-20 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 {
/**
* @dev An operation with an ERC-20 token failed.
*/
error SafeERC20FailedOperation(address token);
/**
* @dev Indicates a failed `decreaseAllowance` request.
*/
error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);
/**
* @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 {
if (!_safeTransfer(token, to, value, true)) {
revert SafeERC20FailedOperation(address(token));
}
}
/**
* @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 {
if (!_safeTransferFrom(token, from, to, value, true)) {
revert SafeERC20FailedOperation(address(token));
}
}
/**
* @dev Variant of {safeTransfer} that returns a bool instead of reverting if the operation is not successful.
*/
function trySafeTransfer(IERC20 token, address to, uint256 value) internal returns (bool) {
return _safeTransfer(token, to, value, false);
}
/**
* @dev Variant of {safeTransferFrom} that returns a bool instead of reverting if the operation is not successful.
*/
function trySafeTransferFrom(IERC20 token, address from, address to, uint256 value) internal returns (bool) {
return _safeTransferFrom(token, from, to, value, false);
}
/**
* @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
* non-reverting calls are assumed to be successful.
*
* IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the "client"
* smart contract uses ERC-7674 to set temporary allowances, then the "client" smart contract should avoid using
* this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract
* that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.
*/
function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
uint256 oldAllowance = token.allowance(address(this), spender);
forceApprove(token, spender, oldAllowance + value);
}
/**
* @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no
* value, non-reverting calls are assumed to be successful.
*
* IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the "client"
* smart contract uses ERC-7674 to set temporary allowances, then the "client" smart contract should avoid using
* this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract
* that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.
*/
function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {
unchecked {
uint256 currentAllowance = token.allowance(address(this), spender);
if (currentAllowance < requestedDecrease) {
revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);
}
forceApprove(token, spender, currentAllowance - requestedDecrease);
}
}
/**
* @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.
*
* NOTE: If the token implements ERC-7674, this function will not modify any temporary allowance. This function
* only sets the "standard" allowance. Any temporary allowance will remain active, in addition to the value being
* set here.
*/
function forceApprove(IERC20 token, address spender, uint256 value) internal {
if (!_safeApprove(token, spender, value, false)) {
if (!_safeApprove(token, spender, 0, true)) revert SafeERC20FailedOperation(address(token));
if (!_safeApprove(token, spender, value, true)) revert SafeERC20FailedOperation(address(token));
}
}
/**
* @dev Performs an {ERC1363} transferAndCall, with a fallback to the simple {ERC20} transfer if the target has no
* code. This can be used to implement an {ERC721}-like safe transfer that relies on {ERC1363} checks when
* targeting contracts.
*
* Reverts if the returned value is other than `true`.
*/
function transferAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {
if (to.code.length == 0) {
safeTransfer(token, to, value);
} else if (!token.transferAndCall(to, value, data)) {
revert SafeERC20FailedOperation(address(token));
}
}
/**
* @dev Performs an {ERC1363} transferFromAndCall, with a fallback to the simple {ERC20} transferFrom if the target
* has no code. This can be used to implement an {ERC721}-like safe transfer that relies on {ERC1363} checks when
* targeting contracts.
*
* Reverts if the returned value is other than `true`.
*/
function transferFromAndCallRelaxed(
IERC1363 token,
address from,
address to,
uint256 value,
bytes memory data
) internal {
if (to.code.length == 0) {
safeTransferFrom(token, from, to, value);
} else if (!token.transferFromAndCall(from, to, value, data)) {
revert SafeERC20FailedOperation(address(token));
}
}
/**
* @dev Performs an {ERC1363} approveAndCall, with a fallback to the simple {ERC20} approve if the target has no
* code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
* targeting contracts.
*
* NOTE: When the recipient address (`to`) has no code (i.e. is an EOA), this function behaves as {forceApprove}.
* Oppositely, when the recipient address (`to`) has code, this function only attempts to call {ERC1363-approveAndCall}
* once without retrying, and relies on the returned value to be true.
*
* Reverts if the returned value is other than `true`.
*/
function approveAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {
if (to.code.length == 0) {
forceApprove(token, to, value);
} else if (!token.approveAndCall(to, value, data)) {
revert SafeERC20FailedOperation(address(token));
}
}
/**
* @dev Imitates a Solidity `token.transfer(to, value)` call, 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 to The recipient of the tokens
* @param value The amount of token to transfer
* @param bubble Behavior switch if the transfer call reverts: bubble the revert reason or return a false boolean.
*/
function _safeTransfer(IERC20 token, address to, uint256 value, bool bubble) private returns (bool success) {
bytes4 selector = IERC20.transfer.selector;
assembly ("memory-safe") {
let fmp := mload(0x40)
mstore(0x00, selector)
mstore(0x04, and(to, shr(96, not(0))))
mstore(0x24, value)
success := call(gas(), token, 0, 0x00, 0x44, 0x00, 0x20)
// if call success and return is true, all is good.
// otherwise (not success or return is not true), we need to perform further checks
if iszero(and(success, eq(mload(0x00), 1))) {
// if the call was a failure and bubble is enabled, bubble the error
if and(iszero(success), bubble) {
returndatacopy(fmp, 0x00, returndatasize())
revert(fmp, returndatasize())
}
// if the return value is not true, then the call is only successful if:
// - the token address has code
// - the returndata is empty
success := and(success, and(iszero(returndatasize()), gt(extcodesize(token), 0)))
}
mstore(0x40, fmp)
}
}
/**
* @dev Imitates a Solidity `token.transferFrom(from, to, value)` call, 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 from The sender of the tokens
* @param to The recipient of the tokens
* @param value The amount of token to transfer
* @param bubble Behavior switch if the transfer call reverts: bubble the revert reason or return a false boolean.
*/
function _safeTransferFrom(
IERC20 token,
address from,
address to,
uint256 value,
bool bubble
) private returns (bool success) {
bytes4 selector = IERC20.transferFrom.selector;
assembly ("memory-safe") {
let fmp := mload(0x40)
mstore(0x00, selector)
mstore(0x04, and(from, shr(96, not(0))))
mstore(0x24, and(to, shr(96, not(0))))
mstore(0x44, value)
success := call(gas(), token, 0, 0x00, 0x64, 0x00, 0x20)
// if call success and return is true, all is good.
// otherwise (not success or return is not true), we need to perform further checks
if iszero(and(success, eq(mload(0x00), 1))) {
// if the call was a failure and bubble is enabled, bubble the error
if and(iszero(success), bubble) {
returndatacopy(fmp, 0x00, returndatasize())
revert(fmp, returndatasize())
}
// if the return value is not true, then the call is only successful if:
// - the token address has code
// - the returndata is empty
success := and(success, and(iszero(returndatasize()), gt(extcodesize(token), 0)))
}
mstore(0x40, fmp)
mstore(0x60, 0)
}
}
/**
* @dev Imitates a Solidity `token.approve(spender, value)` call, 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 spender The spender of the tokens
* @param value The amount of token to transfer
* @param bubble Behavior switch if the transfer call reverts: bubble the revert reason or return a false boolean.
*/
function _safeApprove(IERC20 token, address spender, uint256 value, bool bubble) private returns (bool success) {
bytes4 selector = IERC20.approve.selector;
assembly ("memory-safe") {
let fmp := mload(0x40)
mstore(0x00, selector)
mstore(0x04, and(spender, shr(96, not(0))))
mstore(0x24, value)
success := call(gas(), token, 0, 0x00, 0x44, 0x00, 0x20)
// if call success and return is true, all is good.
// otherwise (not success or return is not true), we need to perform further checks
if iszero(and(success, eq(mload(0x00), 1))) {
// if the call was a failure and bubble is enabled, bubble the error
if and(iszero(success), bubble) {
returndatacopy(fmp, 0x00, returndatasize())
revert(fmp, returndatasize())
}
// if the return value is not true, then the call is only successful if:
// - the token address has code
// - the returndata is empty
success := and(success, and(iszero(returndatasize()), gt(extcodesize(token), 0)))
}
mstore(0x40, fmp)
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.5.0) (utils/ReentrancyGuard.sol)
pragma solidity ^0.8.20;
import {StorageSlot} from "./StorageSlot.sol";
/**
* @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 EIP-1153 (transient storage) is available on the chain you're deploying at,
* consider using {ReentrancyGuardTransient} instead.
*
* 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].
*
* IMPORTANT: Deprecated. This storage-based reentrancy guard will be removed and replaced
* by the {ReentrancyGuardTransient} variant in v6.0.
*
* @custom:stateless
*/
abstract contract ReentrancyGuard {
using StorageSlot for bytes32;
// keccak256(abi.encode(uint256(keccak256("openzeppelin.storage.ReentrancyGuard")) - 1)) & ~bytes32(uint256(0xff))
bytes32 private constant REENTRANCY_GUARD_STORAGE =
0x9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00;
// 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;
/**
* @dev Unauthorized reentrant call.
*/
error ReentrancyGuardReentrantCall();
constructor() {
_reentrancyGuardStorageSlot().getUint256Slot().value = 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();
}
/**
* @dev A `view` only version of {nonReentrant}. Use to block view functions
* from being called, preventing reading from inconsistent contract state.
*
* CAUTION: This is a "view" modifier and does not change the reentrancy
* status. Use it only on view functions. For payable or non-payable functions,
* use the standard {nonReentrant} modifier instead.
*/
modifier nonReentrantView() {
_nonReentrantBeforeView();
_;
}
function _nonReentrantBeforeView() private view {
if (_reentrancyGuardEntered()) {
revert ReentrancyGuardReentrantCall();
}
}
function _nonReentrantBefore() private {
// On the first call to nonReentrant, _status will be NOT_ENTERED
_nonReentrantBeforeView();
// Any calls to nonReentrant after this point will fail
_reentrancyGuardStorageSlot().getUint256Slot().value = ENTERED;
}
function _nonReentrantAfter() private {
// By storing the original value once again, a refund is triggered (see
// https://eips.ethereum.org/EIPS/eip-2200)
_reentrancyGuardStorageSlot().getUint256Slot().value = 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 _reentrancyGuardStorageSlot().getUint256Slot().value == ENTERED;
}
function _reentrancyGuardStorageSlot() internal pure virtual returns (bytes32) {
return REENTRANCY_GUARD_STORAGE;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC1363.sol)
pragma solidity >=0.6.2;
import {IERC20} from "./IERC20.sol";
import {IERC165} from "./IERC165.sol";
/**
* @title IERC1363
* @dev Interface of the ERC-1363 standard as defined in the https://eips.ethereum.org/EIPS/eip-1363[ERC-1363].
*
* Defines an extension interface for ERC-20 tokens that supports executing code on a recipient contract
* after `transfer` or `transferFrom`, or code on a spender contract after `approve`, in a single transaction.
*/
interface IERC1363 is IERC20, IERC165 {
/*
* Note: the ERC-165 identifier for this interface is 0xb0202a11.
* 0xb0202a11 ===
* bytes4(keccak256('transferAndCall(address,uint256)')) ^
* bytes4(keccak256('transferAndCall(address,uint256,bytes)')) ^
* bytes4(keccak256('transferFromAndCall(address,address,uint256)')) ^
* bytes4(keccak256('transferFromAndCall(address,address,uint256,bytes)')) ^
* bytes4(keccak256('approveAndCall(address,uint256)')) ^
* bytes4(keccak256('approveAndCall(address,uint256,bytes)'))
*/
/**
* @dev Moves a `value` amount of tokens from the caller's account to `to`
* and then calls {IERC1363Receiver-onTransferReceived} on `to`.
* @param to The address which you want to transfer to.
* @param value The amount of tokens to be transferred.
* @return A boolean value indicating whether the operation succeeded unless throwing.
*/
function transferAndCall(address to, uint256 value) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from the caller's account to `to`
* and then calls {IERC1363Receiver-onTransferReceived} on `to`.
* @param to The address which you want to transfer to.
* @param value The amount of tokens to be transferred.
* @param data Additional data with no specified format, sent in call to `to`.
* @return A boolean value indicating whether the operation succeeded unless throwing.
*/
function transferAndCall(address to, uint256 value, bytes calldata data) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism
* and then calls {IERC1363Receiver-onTransferReceived} on `to`.
* @param from The address which you want to send tokens from.
* @param to The address which you want to transfer to.
* @param value The amount of tokens to be transferred.
* @return A boolean value indicating whether the operation succeeded unless throwing.
*/
function transferFromAndCall(address from, address to, uint256 value) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism
* and then calls {IERC1363Receiver-onTransferReceived} on `to`.
* @param from The address which you want to send tokens from.
* @param to The address which you want to transfer to.
* @param value The amount of tokens to be transferred.
* @param data Additional data with no specified format, sent in call to `to`.
* @return A boolean value indicating whether the operation succeeded unless throwing.
*/
function transferFromAndCall(address from, address to, uint256 value, bytes calldata data) external returns (bool);
/**
* @dev Sets a `value` amount of tokens as the allowance of `spender` over the
* caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.
* @param spender The address which will spend the funds.
* @param value The amount of tokens to be spent.
* @return A boolean value indicating whether the operation succeeded unless throwing.
*/
function approveAndCall(address spender, uint256 value) external returns (bool);
/**
* @dev Sets a `value` amount of tokens as the allowance of `spender` over the
* caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.
* @param spender The address which will spend the funds.
* @param value The amount of tokens to be spent.
* @param data Additional data with no specified format, sent in call to `spender`.
* @return A boolean value indicating whether the operation succeeded unless throwing.
*/
function approveAndCall(address spender, uint256 value, bytes calldata data) external returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (utils/StorageSlot.sol)
// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.
pragma solidity ^0.8.20;
/**
* @dev Library for reading and writing primitive types to specific storage slots.
*
* Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.
* This library helps with reading and writing to such slots without the need for inline assembly.
*
* The functions in this library return Slot structs that contain a `value` member that can be used to read or write.
*
* Example usage to set ERC-1967 implementation slot:
* ```solidity
* contract ERC1967 {
* // Define the slot. Alternatively, use the SlotDerivation library to derive the slot.
* bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
*
* function _getImplementation() internal view returns (address) {
* return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
* }
*
* function _setImplementation(address newImplementation) internal {
* require(newImplementation.code.length > 0);
* StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
* }
* }
* ```
*
* TIP: Consider using this library along with {SlotDerivation}.
*/
library StorageSlot {
struct AddressSlot {
address value;
}
struct BooleanSlot {
bool value;
}
struct Bytes32Slot {
bytes32 value;
}
struct Uint256Slot {
uint256 value;
}
struct Int256Slot {
int256 value;
}
struct StringSlot {
string value;
}
struct BytesSlot {
bytes value;
}
/**
* @dev Returns an `AddressSlot` with member `value` located at `slot`.
*/
function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {
assembly ("memory-safe") {
r.slot := slot
}
}
/**
* @dev Returns a `BooleanSlot` with member `value` located at `slot`.
*/
function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {
assembly ("memory-safe") {
r.slot := slot
}
}
/**
* @dev Returns a `Bytes32Slot` with member `value` located at `slot`.
*/
function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {
assembly ("memory-safe") {
r.slot := slot
}
}
/**
* @dev Returns a `Uint256Slot` with member `value` located at `slot`.
*/
function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {
assembly ("memory-safe") {
r.slot := slot
}
}
/**
* @dev Returns a `Int256Slot` with member `value` located at `slot`.
*/
function getInt256Slot(bytes32 slot) internal pure returns (Int256Slot storage r) {
assembly ("memory-safe") {
r.slot := slot
}
}
/**
* @dev Returns a `StringSlot` with member `value` located at `slot`.
*/
function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {
assembly ("memory-safe") {
r.slot := slot
}
}
/**
* @dev Returns an `StringSlot` representation of the string storage pointer `store`.
*/
function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {
assembly ("memory-safe") {
r.slot := store.slot
}
}
/**
* @dev Returns a `BytesSlot` with member `value` located at `slot`.
*/
function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {
assembly ("memory-safe") {
r.slot := slot
}
}
/**
* @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.
*/
function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {
assembly ("memory-safe") {
r.slot := store.slot
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC20.sol)
pragma solidity >=0.4.16;
import {IERC20} from "../token/ERC20/IERC20.sol";// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC165.sol)
pragma solidity >=0.4.16;
import {IERC165} from "../utils/introspection/IERC165.sol";// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (utils/introspection/IERC165.sol)
pragma solidity >=0.4.16;
/**
* @dev Interface of the ERC-165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[ERC].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}{
"remappings": [
"@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
"ds-test/=lib/solidity-bytes-utils/lib/forge-std/lib/ds-test/src/",
"erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
"forge-std/=lib/forge-std/src/",
"halmos-cheatcodes/=lib/openzeppelin-contracts/lib/halmos-cheatcodes/src/",
"openzeppelin-contracts/=lib/openzeppelin-contracts/",
"solidity-bytes-utils/=lib/solidity-bytes-utils/contracts/"
],
"optimizer": {
"enabled": false,
"runs": 200
},
"metadata": {
"useLiteralContent": false,
"bytecodeHash": "ipfs",
"appendCBOR": true
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"evmVersion": "prague",
"viaIR": false
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_clawdToken","type":"address"},{"internalType":"address","name":"_admin","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"ideaId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"burnedAmount","type":"uint256"}],"name":"IdeaBurned","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"ideaId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"payoutPool","type":"uint256"}],"name":"IdeaMarkedBuilt","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"ideaId","type":"uint256"},{"indexed":true,"internalType":"address","name":"staker","type":"address"},{"indexed":false,"internalType":"uint256","name":"totalStaked","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"stakerCount","type":"uint256"}],"name":"IdeaStaked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"ideaId","type":"uint256"},{"indexed":true,"internalType":"address","name":"creator","type":"address"},{"indexed":false,"internalType":"string","name":"content","type":"string"}],"name":"IdeaSubmitted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"ideaId","type":"uint256"},{"indexed":true,"internalType":"address","name":"staker","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PayoutClaimed","type":"event"},{"inputs":[],"name":"DEAD_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STAKE_COST","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SUBMIT_COST","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_ideaId","type":"uint256"}],"name":"burnIdea","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_ideaId","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"canClaim","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_ideaId","type":"uint256"}],"name":"claimPayout","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"clawdToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"depositClawdForPayouts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_ideaId","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"getClaimableAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getContractBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_ideaId","type":"uint256"}],"name":"getIdea","outputs":[{"components":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"address","name":"creator","type":"address"},{"internalType":"string","name":"content","type":"string"},{"internalType":"uint256","name":"totalStaked","type":"uint256"},{"internalType":"uint256","name":"stakerCount","type":"uint256"},{"internalType":"bool","name":"isBuilt","type":"bool"},{"internalType":"bool","name":"isBurned","type":"bool"},{"internalType":"uint256","name":"payoutPool","type":"uint256"},{"internalType":"uint256","name":"createdAt","type":"uint256"}],"internalType":"struct IdeaLabs.Idea","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_ideaId","type":"uint256"}],"name":"getIdeaStakers","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalIdeas","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"hasClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"hasStaked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"ideaStakers","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"ideas","outputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"address","name":"creator","type":"address"},{"internalType":"string","name":"content","type":"string"},{"internalType":"uint256","name":"totalStaked","type":"uint256"},{"internalType":"uint256","name":"stakerCount","type":"uint256"},{"internalType":"bool","name":"isBuilt","type":"bool"},{"internalType":"bool","name":"isBurned","type":"bool"},{"internalType":"uint256","name":"payoutPool","type":"uint256"},{"internalType":"uint256","name":"createdAt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_ideaId","type":"uint256"},{"internalType":"uint256","name":"_payoutAmount","type":"uint256"}],"name":"markBuilt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"nextIdeaId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_ideaId","type":"uint256"}],"name":"stakeOnIdea","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_content","type":"string"}],"name":"submitIdea","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawExcessClawd","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
0x60c060405234801561000f575f5ffd5b506040516132893803806132898339818101604052810190610031919061015b565b600161004f6100446100cb60201b60201c565b6100f460201b60201c565b5f01819055508173ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff16815250508073ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff168152505060015f819055505050610199565b5f7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005f1b905090565b5f819050919050565b5f5ffd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61012a82610101565b9050919050565b61013a81610120565b8114610144575f5ffd5b50565b5f8151905061015581610131565b92915050565b5f5f60408385031215610171576101706100fd565b5b5f61017e85828601610147565b925050602061018f85828601610147565b9150509250929050565b60805160a05161307b61020e5f395f818161048d01528181610a1401528181610aa501528181610c500152611c6d01525f818161069f0152818161085301528181610ac701528181610bb301528181610e550152818161138a0152818161142c015281816116020152611a7c015261307b5ff3fe608060405234801561000f575f5ffd5b506004361061014b575f3560e01c806378c5195e116100c1578063b5a820ed1161007a578063b5a820ed146103b7578063b8edf2ce146103d3578063c017d99414610403578063de3607151461041f578063f0ed94b41461044f578063f851a4401461046d5761014b565b806378c5195e146102c7578063873f6f9e146102f75780638a69614e1461032757806390111b0d1461034357806395b5383714610361578063980bf25d146103995761014b565b806344de6b2f1161011357806344de6b2f146101f357806348fbe760146102235780634e6fd6c41461023f578063565c26bd1461025d5780636f9fb98a1461028d578063763af89c146102ab5761014b565b80630512a7831461014f578063115a4bac1461016b57806329a2e8e61461018957806332f0f09c146101b95780633f9c665f146101d7575b5f5ffd5b61016960048036038101906101649190611f6e565b61048b565b005b610173610729565b6040516101809190611fa8565b60405180910390f35b6101a3600480360381019061019e919061201b565b61073d565b6040516101b09190612073565b60405180910390f35b6101c161083e565b6040516101ce9190611fa8565b60405180910390f35b6101f160048036038101906101ec9190611f6e565b61084b565b005b61020d60048036038101906102089190611f6e565b61089b565b60405161021a91906121eb565b60405180910390f35b61023d60048036038101906102389190611f6e565b610a12565b005b610247610b0e565b604051610254919061221a565b60405180910390f35b61027760048036038101906102729190611f6e565b610b14565b60405161028491906122db565b60405180910390f35b610295610bb0565b6040516102a29190611fa8565b60405180910390f35b6102c560048036038101906102c091906122fb565b610c4e565b005b6102e160048036038101906102dc919061201b565b610f97565b6040516102ee9190611fa8565b60405180910390f35b610311600480360381019061030c919061201b565b6110b9565b60405161031e9190612073565b60405180910390f35b610341600480360381019061033c9190611f6e565b6110e3565b005b61034b61142a565b6040516103589190612394565b60405180910390f35b61037b60048036038101906103769190611f6e565b61144e565b604051610390999897969594939291906123f5565b60405180910390f35b6103a1611556565b6040516103ae9190611fa8565b60405180910390f35b6103d160048036038101906103cc91906124e8565b61155b565b005b6103ed60048036038101906103e891906122fb565b61183a565b6040516103fa919061221a565b60405180910390f35b61041d60048036038101906104189190611f6e565b611882565b005b6104396004803603810190610434919061201b565b611c35565b6040516104469190612073565b60405180910390f35b610457611c5f565b6040516104649190611fa8565b60405180910390f35b610475611c6b565b604051610482919061221a565b60405180910390f35b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610519576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105109061257d565b60405180910390fd5b610521611c8f565b5f60015f8381526020019081526020015f2090505f73ffffffffffffffffffffffffffffffffffffffff16816001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036105c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105bd906125e5565b60405180910390fd5b806005015f9054906101000a900460ff1615610617576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161060e9061264d565b60405180910390fd5b8060050160019054906101000a900460ff1615610669576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610660906126b5565b60405180910390fd5b5f8160030154905060018260050160016101000a81548160ff0219169083151502179055505f8111156106e4576106e361dead827f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16611cb19092919063ffffffff16565b5b827f8d2705b1008e7c650cf8739ad3bbaa95b4f35e06f7f282a7488cd5a1fe27099a826040516107149190611fa8565b60405180910390a25050610726611d04565b50565b5f60015f546107389190612700565b905090565b5f5f60015f8581526020019081526020015f209050806005015f9054906101000a900460ff1680156107c4575060025f8581526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b8015610826575060035f8581526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b801561083557505f8160060154115b91505092915050565b68015af1d78b58c4000081565b6108983330837f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16611d1e909392919063ffffffff16565b50565b6108a3611ed5565b60015f8381526020019081526020015f20604051806101200160405290815f8201548152602001600182015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160028201805461092e90612760565b80601f016020809104026020016040519081016040528092919081815260200182805461095a90612760565b80156109a55780601f1061097c576101008083540402835291602001916109a5565b820191905f5260205f20905b81548152906001019060200180831161098857829003601f168201915b505050505081526020016003820154815260200160048201548152602001600582015f9054906101000a900460ff161515151581526020016005820160019054906101000a900460ff16151515158152602001600682015481526020016007820154815250509050919050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610aa0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a979061257d565b60405180910390fd5b610b0b7f0000000000000000000000000000000000000000000000000000000000000000827f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16611cb19092919063ffffffff16565b50565b61dead81565b606060045f8381526020019081526020015f20805480602002602001604051908101604052809291908181526020018280548015610ba457602002820191905f5260205f20905b815f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311610b5b575b50505050509050919050565b5f7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610c0a919061221a565b602060405180830381865afa158015610c25573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c4991906127a4565b905090565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610cdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd39061257d565b60405180910390fd5b610ce4611c8f565b5f60015f8481526020019081526020015f2090505f73ffffffffffffffffffffffffffffffffffffffff16816001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610d89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d80906125e5565b60405180910390fd5b806005015f9054906101000a900460ff1615610dda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd19061264d565b60405180910390fd5b8060050160019054906101000a900460ff1615610e2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2390612819565b60405180910390fd5b5f82118015610e3e57505f8160040154115b15610f2d57818160030154610e539190612837565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610eac919061221a565b602060405180830381865afa158015610ec7573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eeb91906127a4565b1015610f2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f23906128b4565b60405180910390fd5b5b6001816005015f6101000a81548160ff021916908315150217905550818160060181905550827fd7d59d87d9596394c1c23e9da884310508ada24e0a44488efb1f5b58e436524183604051610f829190611fa8565b60405180910390a250610f93611d04565b5050565b5f5f60015f8581526020019081526020015f209050806005015f9054906101000a900460ff16158061101f575060025f8581526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b8061107f575060035f8581526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b8061108d57505f8160060154145b1561109b575f9150506110b3565b806004015481600601546110af91906128ff565b9150505b92915050565b6003602052815f5260405f20602052805f5260405f205f915091509054906101000a900460ff1681565b6110eb611c8f565b5f60015f8381526020019081526020015f209050806005015f9054906101000a900460ff1661114f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114690612979565b60405180910390fd5b60025f8381526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff166111e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111de906129e1565b60405180910390fd5b60035f8381526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1615611280576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127790612a49565b60405180910390fd5b5f8160060154116112c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112bd90612ab1565b60405180910390fd5b600160035f8481526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055505f8160040154826006015461133f91906128ff565b90505f8111611383576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137a90612b19565b60405180910390fd5b6113ce33827f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16611cb19092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff16837fe97cee5a4c0549d3fdc81e322b718ddf0aeb3418ec87dce4f9a7fb28d117c312836040516114159190611fa8565b60405180910390a35050611427611d04565b50565b7f000000000000000000000000000000000000000000000000000000000000000081565b6001602052805f5260405f205f91509050805f015490806001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169080600201805461149890612760565b80601f01602080910402602001604051908101604052809291908181526020018280546114c490612760565b801561150f5780601f106114e65761010080835404028352916020019161150f565b820191905f5260205f20905b8154815290600101906020018083116114f257829003601f168201915b505050505090806003015490806004015490806005015f9054906101000a900460ff16908060050160019054906101000a900460ff16908060060154908060070154905089565b5f5481565b611563611c8f565b5f82829050116115a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159f90612b81565b60405180910390fd5b6107d08282905011156115f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e790612be9565b60405180910390fd5b6116473361dead678ac7230489e800007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16611d1e909392919063ffffffff16565b5f5f5f81548092919061165990612c07565b9190505590506040518061012001604052808281526020013373ffffffffffffffffffffffffffffffffffffffff16815260200184848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f81840152601f19601f8201169050808301925050505050505081526020015f81526020015f81526020015f151581526020015f151581526020015f81526020014281525060015f8381526020019081526020015f205f820151815f01556020820151816001015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160020190816117709190612e23565b50606082015181600301556080820151816004015560a0820151816005015f6101000a81548160ff02191690831515021790555060c08201518160050160016101000a81548160ff02191690831515021790555060e0820151816006015561010082015181600701559050503373ffffffffffffffffffffffffffffffffffffffff16817fe9933f20dadd222b086c1e5e82ffcc7c8b0c111dde5274637b82707bf28359d98585604051611825929190612f2c565b60405180910390a350611836611d04565b5050565b6004602052815f5260405f208181548110611853575f80fd5b905f5260205f20015f915091509054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61188a611c8f565b5f60015f8381526020019081526020015f2090505f73ffffffffffffffffffffffffffffffffffffffff16816001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff160361192f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611926906125e5565b60405180910390fd5b806005015f9054906101000a900460ff1615611980576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197790612f98565b60405180910390fd5b8060050160019054906101000a900460ff16156119d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c990612819565b60405180910390fd5b60025f8381526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1615611a6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6290613000565b60405180910390fd5b611ac1333068015af1d78b58c400007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16611d1e909392919063ffffffff16565b600160025f8481526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff02191690831515021790555060045f8381526020019081526020015f2033908060018154018082558091505060019003905f5260205f20015f9091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555068015af1d78b58c40000816003015f828254611bb09190612837565b92505081905550806004015f815480929190611bcb90612c07565b91905055503373ffffffffffffffffffffffffffffffffffffffff16827ff7a2dfdbb1206c1660192fe0383d78aeafd9b629e82f828c0b7ebf92e9529d8f83600301548460040154604051611c2192919061301e565b60405180910390a350611c32611d04565b50565b6002602052815f5260405f20602052805f5260405f205f915091509054906101000a900460ff1681565b678ac7230489e8000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b611c97611d73565b6002611ca9611ca4611db4565b611ddd565b5f0181905550565b611cbe8383836001611de6565b611cff57826040517f5274afe7000000000000000000000000000000000000000000000000000000008152600401611cf6919061221a565b60405180910390fd5b505050565b6001611d16611d11611db4565b611ddd565b5f0181905550565b611d2c848484846001611e48565b611d6d57836040517f5274afe7000000000000000000000000000000000000000000000000000000008152600401611d64919061221a565b60405180910390fd5b50505050565b611d7b611eb9565b15611db2576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b5f7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005f1b905090565b5f819050919050565b5f5f63a9059cbb60e01b9050604051815f525f1960601c86166004528460245260205f60445f5f8b5af1925060015f51148316611e3a578383151615611e2e573d5f823e3d81fd5b5f873b113d1516831692505b806040525050949350505050565b5f5f6323b872dd60e01b9050604051815f525f1960601c87166004525f1960601c86166024528460445260205f60645f5f8c5af1925060015f51148316611ea6578383151615611e9a573d5f823e3d81fd5b5f883b113d1516831692505b806040525f606052505095945050505050565b5f6002611ecc611ec7611db4565b611ddd565b5f015414905090565b6040518061012001604052805f81526020015f73ffffffffffffffffffffffffffffffffffffffff168152602001606081526020015f81526020015f81526020015f151581526020015f151581526020015f81526020015f81525090565b5f5ffd5b5f5ffd5b5f819050919050565b611f4d81611f3b565b8114611f57575f5ffd5b50565b5f81359050611f6881611f44565b92915050565b5f60208284031215611f8357611f82611f33565b5b5f611f9084828501611f5a565b91505092915050565b611fa281611f3b565b82525050565b5f602082019050611fbb5f830184611f99565b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f611fea82611fc1565b9050919050565b611ffa81611fe0565b8114612004575f5ffd5b50565b5f8135905061201581611ff1565b92915050565b5f5f6040838503121561203157612030611f33565b5b5f61203e85828601611f5a565b925050602061204f85828601612007565b9150509250929050565b5f8115159050919050565b61206d81612059565b82525050565b5f6020820190506120865f830184612064565b92915050565b61209581611f3b565b82525050565b6120a481611fe0565b82525050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f6120ec826120aa565b6120f681856120b4565b93506121068185602086016120c4565b61210f816120d2565b840191505092915050565b61212381612059565b82525050565b5f61012083015f83015161213f5f86018261208c565b506020830151612152602086018261209b565b506040830151848203604086015261216a82826120e2565b915050606083015161217f606086018261208c565b506080830151612192608086018261208c565b5060a08301516121a560a086018261211a565b5060c08301516121b860c086018261211a565b5060e08301516121cb60e086018261208c565b506101008301516121e061010086018261208c565b508091505092915050565b5f6020820190508181035f8301526122038184612129565b905092915050565b61221481611fe0565b82525050565b5f60208201905061222d5f83018461220b565b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b5f612267838361209b565b60208301905092915050565b5f602082019050919050565b5f61228982612233565b612293818561223d565b935061229e8361224d565b805f5b838110156122ce5781516122b5888261225c565b97506122c083612273565b9250506001810190506122a1565b5085935050505092915050565b5f6020820190508181035f8301526122f3818461227f565b905092915050565b5f5f6040838503121561231157612310611f33565b5b5f61231e85828601611f5a565b925050602061232f85828601611f5a565b9150509250929050565b5f819050919050565b5f61235c61235761235284611fc1565b612339565b611fc1565b9050919050565b5f61236d82612342565b9050919050565b5f61237e82612363565b9050919050565b61238e81612374565b82525050565b5f6020820190506123a75f830184612385565b92915050565b5f82825260208201905092915050565b5f6123c7826120aa565b6123d181856123ad565b93506123e18185602086016120c4565b6123ea816120d2565b840191505092915050565b5f610120820190506124095f83018c611f99565b612416602083018b61220b565b8181036040830152612428818a6123bd565b90506124376060830189611f99565b6124446080830188611f99565b61245160a0830187612064565b61245e60c0830186612064565b61246b60e0830185611f99565b612479610100830184611f99565b9a9950505050505050505050565b5f5ffd5b5f5ffd5b5f5ffd5b5f5f83601f8401126124a8576124a7612487565b5b8235905067ffffffffffffffff8111156124c5576124c461248b565b5b6020830191508360018202830111156124e1576124e061248f565b5b9250929050565b5f5f602083850312156124fe576124fd611f33565b5b5f83013567ffffffffffffffff81111561251b5761251a611f37565b5b61252785828601612493565b92509250509250929050565b7f4f6e6c792061646d696e000000000000000000000000000000000000000000005f82015250565b5f612567600a836123ad565b915061257282612533565b602082019050919050565b5f6020820190508181035f8301526125948161255b565b9050919050565b7f4964656120646f6573206e6f74206578697374000000000000000000000000005f82015250565b5f6125cf6013836123ad565b91506125da8261259b565b602082019050919050565b5f6020820190508181035f8301526125fc816125c3565b9050919050565b7f416c7265616479206275696c74000000000000000000000000000000000000005f82015250565b5f612637600d836123ad565b915061264282612603565b602082019050919050565b5f6020820190508181035f8301526126648161262b565b9050919050565b7f416c7265616479206275726e65640000000000000000000000000000000000005f82015250565b5f61269f600e836123ad565b91506126aa8261266b565b602082019050919050565b5f6020820190508181035f8301526126cc81612693565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61270a82611f3b565b915061271583611f3b565b925082820390508181111561272d5761272c6126d3565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061277757607f821691505b60208210810361278a57612789612733565b5b50919050565b5f8151905061279e81611f44565b92915050565b5f602082840312156127b9576127b8611f33565b5b5f6127c684828501612790565b91505092915050565b7f4964656120776173206275726e656400000000000000000000000000000000005f82015250565b5f612803600f836123ad565b915061280e826127cf565b602082019050919050565b5f6020820190508181035f830152612830816127f7565b9050919050565b5f61284182611f3b565b915061284c83611f3b565b9250828201905080821115612864576128636126d3565b5b92915050565b7f496e73756666696369656e7420434c41574420666f72207061796f75740000005f82015250565b5f61289e601d836123ad565b91506128a98261286a565b602082019050919050565b5f6020820190508181035f8301526128cb81612892565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f61290982611f3b565b915061291483611f3b565b925082612924576129236128d2565b5b828204905092915050565b7f49646561206e6f74206275696c742079657400000000000000000000000000005f82015250565b5f6129636012836123ad565b915061296e8261292f565b602082019050919050565b5f6020820190508181035f83015261299081612957565b9050919050565b7f4e6f742061207374616b657200000000000000000000000000000000000000005f82015250565b5f6129cb600c836123ad565b91506129d682612997565b602082019050919050565b5f6020820190508181035f8301526129f8816129bf565b9050919050565b7f416c726561647920636c61696d656400000000000000000000000000000000005f82015250565b5f612a33600f836123ad565b9150612a3e826129ff565b602082019050919050565b5f6020820190508181035f830152612a6081612a27565b9050919050565b7f4e6f207061796f757420617661696c61626c65000000000000000000000000005f82015250565b5f612a9b6013836123ad565b9150612aa682612a67565b602082019050919050565b5f6020820190508181035f830152612ac881612a8f565b9050919050565b7f536861726520746f6f20736d616c6c00000000000000000000000000000000005f82015250565b5f612b03600f836123ad565b9150612b0e82612acf565b602082019050919050565b5f6020820190508181035f830152612b3081612af7565b9050919050565b7f436f6e74656e742063616e6e6f7420626520656d7074790000000000000000005f82015250565b5f612b6b6017836123ad565b9150612b7682612b37565b602082019050919050565b5f6020820190508181035f830152612b9881612b5f565b9050919050565b7f436f6e74656e7420746f6f206c6f6e67000000000000000000000000000000005f82015250565b5f612bd36010836123ad565b9150612bde82612b9f565b602082019050919050565b5f6020820190508181035f830152612c0081612bc7565b9050919050565b5f612c1182611f3b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612c4357612c426126d3565b5b600182019050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302612cd77fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612c9c565b612ce18683612c9c565b95508019841693508086168417925050509392505050565b5f612d13612d0e612d0984611f3b565b612339565b611f3b565b9050919050565b5f819050919050565b612d2c83612cf9565b612d40612d3882612d1a565b848454612ca8565b825550505050565b5f5f905090565b612d57612d48565b612d62818484612d23565b505050565b5f5b82811015612d8857612d7d5f828401612d4f565b600181019050612d69565b505050565b601f821115612ddb5782821115612dda57612da781612c7b565b612db083612c8d565b612db985612c8d565b6020861015612dc6575f90505b808301612dd582840382612d67565b505050505b5b505050565b5f82821c905092915050565b5f612dfb5f1984600802612de0565b1980831691505092915050565b5f612e138383612dec565b9150826002028217905092915050565b612e2c826120aa565b67ffffffffffffffff811115612e4557612e44612c4e565b5b612e4f8254612760565b612e5a828285612d8d565b5f60209050601f831160018114612e8b575f8415612e79578287015190505b612e838582612e08565b865550612eea565b601f198416612e9986612c7b565b5f5b82811015612ec057848901518255600182019150602085019450602081019050612e9b565b86831015612edd5784890151612ed9601f891682612dec565b8355505b6001600288020188555050505b505050505050565b828183375f83830152505050565b5f612f0b83856123ad565b9350612f18838584612ef2565b612f21836120d2565b840190509392505050565b5f6020820190508181035f830152612f45818486612f00565b90509392505050565b7f4964656120616c7265616479206275696c7400000000000000000000000000005f82015250565b5f612f826012836123ad565b9150612f8d82612f4e565b602082019050919050565b5f6020820190508181035f830152612faf81612f76565b9050919050565b7f416c7265616479207374616b6564206f6e2074686973206964656100000000005f82015250565b5f612fea601b836123ad565b9150612ff582612fb6565b602082019050919050565b5f6020820190508181035f83015261301781612fde565b9050919050565b5f6040820190506130315f830185611f99565b61303e6020830184611f99565b939250505056fea2646970667358221220d859d6baf21e0a920cb40eb419c604e1041f5a275286729ecee8fd258375ceb764736f6c634300082100330000000000000000000000009f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b0700000000000000000000000011ce532845ce0eacda41f72fdc1c88c335981442
Deployed Bytecode
0x608060405234801561000f575f5ffd5b506004361061014b575f3560e01c806378c5195e116100c1578063b5a820ed1161007a578063b5a820ed146103b7578063b8edf2ce146103d3578063c017d99414610403578063de3607151461041f578063f0ed94b41461044f578063f851a4401461046d5761014b565b806378c5195e146102c7578063873f6f9e146102f75780638a69614e1461032757806390111b0d1461034357806395b5383714610361578063980bf25d146103995761014b565b806344de6b2f1161011357806344de6b2f146101f357806348fbe760146102235780634e6fd6c41461023f578063565c26bd1461025d5780636f9fb98a1461028d578063763af89c146102ab5761014b565b80630512a7831461014f578063115a4bac1461016b57806329a2e8e61461018957806332f0f09c146101b95780633f9c665f146101d7575b5f5ffd5b61016960048036038101906101649190611f6e565b61048b565b005b610173610729565b6040516101809190611fa8565b60405180910390f35b6101a3600480360381019061019e919061201b565b61073d565b6040516101b09190612073565b60405180910390f35b6101c161083e565b6040516101ce9190611fa8565b60405180910390f35b6101f160048036038101906101ec9190611f6e565b61084b565b005b61020d60048036038101906102089190611f6e565b61089b565b60405161021a91906121eb565b60405180910390f35b61023d60048036038101906102389190611f6e565b610a12565b005b610247610b0e565b604051610254919061221a565b60405180910390f35b61027760048036038101906102729190611f6e565b610b14565b60405161028491906122db565b60405180910390f35b610295610bb0565b6040516102a29190611fa8565b60405180910390f35b6102c560048036038101906102c091906122fb565b610c4e565b005b6102e160048036038101906102dc919061201b565b610f97565b6040516102ee9190611fa8565b60405180910390f35b610311600480360381019061030c919061201b565b6110b9565b60405161031e9190612073565b60405180910390f35b610341600480360381019061033c9190611f6e565b6110e3565b005b61034b61142a565b6040516103589190612394565b60405180910390f35b61037b60048036038101906103769190611f6e565b61144e565b604051610390999897969594939291906123f5565b60405180910390f35b6103a1611556565b6040516103ae9190611fa8565b60405180910390f35b6103d160048036038101906103cc91906124e8565b61155b565b005b6103ed60048036038101906103e891906122fb565b61183a565b6040516103fa919061221a565b60405180910390f35b61041d60048036038101906104189190611f6e565b611882565b005b6104396004803603810190610434919061201b565b611c35565b6040516104469190612073565b60405180910390f35b610457611c5f565b6040516104649190611fa8565b60405180910390f35b610475611c6b565b604051610482919061221a565b60405180910390f35b7f00000000000000000000000011ce532845ce0eacda41f72fdc1c88c33598144273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610519576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105109061257d565b60405180910390fd5b610521611c8f565b5f60015f8381526020019081526020015f2090505f73ffffffffffffffffffffffffffffffffffffffff16816001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036105c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105bd906125e5565b60405180910390fd5b806005015f9054906101000a900460ff1615610617576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161060e9061264d565b60405180910390fd5b8060050160019054906101000a900460ff1615610669576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610660906126b5565b60405180910390fd5b5f8160030154905060018260050160016101000a81548160ff0219169083151502179055505f8111156106e4576106e361dead827f0000000000000000000000009f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b0773ffffffffffffffffffffffffffffffffffffffff16611cb19092919063ffffffff16565b5b827f8d2705b1008e7c650cf8739ad3bbaa95b4f35e06f7f282a7488cd5a1fe27099a826040516107149190611fa8565b60405180910390a25050610726611d04565b50565b5f60015f546107389190612700565b905090565b5f5f60015f8581526020019081526020015f209050806005015f9054906101000a900460ff1680156107c4575060025f8581526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b8015610826575060035f8581526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b801561083557505f8160060154115b91505092915050565b68015af1d78b58c4000081565b6108983330837f0000000000000000000000009f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b0773ffffffffffffffffffffffffffffffffffffffff16611d1e909392919063ffffffff16565b50565b6108a3611ed5565b60015f8381526020019081526020015f20604051806101200160405290815f8201548152602001600182015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160028201805461092e90612760565b80601f016020809104026020016040519081016040528092919081815260200182805461095a90612760565b80156109a55780601f1061097c576101008083540402835291602001916109a5565b820191905f5260205f20905b81548152906001019060200180831161098857829003601f168201915b505050505081526020016003820154815260200160048201548152602001600582015f9054906101000a900460ff161515151581526020016005820160019054906101000a900460ff16151515158152602001600682015481526020016007820154815250509050919050565b7f00000000000000000000000011ce532845ce0eacda41f72fdc1c88c33598144273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610aa0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a979061257d565b60405180910390fd5b610b0b7f00000000000000000000000011ce532845ce0eacda41f72fdc1c88c335981442827f0000000000000000000000009f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b0773ffffffffffffffffffffffffffffffffffffffff16611cb19092919063ffffffff16565b50565b61dead81565b606060045f8381526020019081526020015f20805480602002602001604051908101604052809291908181526020018280548015610ba457602002820191905f5260205f20905b815f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311610b5b575b50505050509050919050565b5f7f0000000000000000000000009f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b0773ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610c0a919061221a565b602060405180830381865afa158015610c25573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c4991906127a4565b905090565b7f00000000000000000000000011ce532845ce0eacda41f72fdc1c88c33598144273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610cdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd39061257d565b60405180910390fd5b610ce4611c8f565b5f60015f8481526020019081526020015f2090505f73ffffffffffffffffffffffffffffffffffffffff16816001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610d89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d80906125e5565b60405180910390fd5b806005015f9054906101000a900460ff1615610dda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd19061264d565b60405180910390fd5b8060050160019054906101000a900460ff1615610e2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2390612819565b60405180910390fd5b5f82118015610e3e57505f8160040154115b15610f2d57818160030154610e539190612837565b7f0000000000000000000000009f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b0773ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610eac919061221a565b602060405180830381865afa158015610ec7573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eeb91906127a4565b1015610f2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f23906128b4565b60405180910390fd5b5b6001816005015f6101000a81548160ff021916908315150217905550818160060181905550827fd7d59d87d9596394c1c23e9da884310508ada24e0a44488efb1f5b58e436524183604051610f829190611fa8565b60405180910390a250610f93611d04565b5050565b5f5f60015f8581526020019081526020015f209050806005015f9054906101000a900460ff16158061101f575060025f8581526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b8061107f575060035f8581526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b8061108d57505f8160060154145b1561109b575f9150506110b3565b806004015481600601546110af91906128ff565b9150505b92915050565b6003602052815f5260405f20602052805f5260405f205f915091509054906101000a900460ff1681565b6110eb611c8f565b5f60015f8381526020019081526020015f209050806005015f9054906101000a900460ff1661114f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114690612979565b60405180910390fd5b60025f8381526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff166111e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111de906129e1565b60405180910390fd5b60035f8381526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1615611280576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127790612a49565b60405180910390fd5b5f8160060154116112c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112bd90612ab1565b60405180910390fd5b600160035f8481526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055505f8160040154826006015461133f91906128ff565b90505f8111611383576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137a90612b19565b60405180910390fd5b6113ce33827f0000000000000000000000009f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b0773ffffffffffffffffffffffffffffffffffffffff16611cb19092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff16837fe97cee5a4c0549d3fdc81e322b718ddf0aeb3418ec87dce4f9a7fb28d117c312836040516114159190611fa8565b60405180910390a35050611427611d04565b50565b7f0000000000000000000000009f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b0781565b6001602052805f5260405f205f91509050805f015490806001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169080600201805461149890612760565b80601f01602080910402602001604051908101604052809291908181526020018280546114c490612760565b801561150f5780601f106114e65761010080835404028352916020019161150f565b820191905f5260205f20905b8154815290600101906020018083116114f257829003601f168201915b505050505090806003015490806004015490806005015f9054906101000a900460ff16908060050160019054906101000a900460ff16908060060154908060070154905089565b5f5481565b611563611c8f565b5f82829050116115a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159f90612b81565b60405180910390fd5b6107d08282905011156115f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e790612be9565b60405180910390fd5b6116473361dead678ac7230489e800007f0000000000000000000000009f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b0773ffffffffffffffffffffffffffffffffffffffff16611d1e909392919063ffffffff16565b5f5f5f81548092919061165990612c07565b9190505590506040518061012001604052808281526020013373ffffffffffffffffffffffffffffffffffffffff16815260200184848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f81840152601f19601f8201169050808301925050505050505081526020015f81526020015f81526020015f151581526020015f151581526020015f81526020014281525060015f8381526020019081526020015f205f820151815f01556020820151816001015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160020190816117709190612e23565b50606082015181600301556080820151816004015560a0820151816005015f6101000a81548160ff02191690831515021790555060c08201518160050160016101000a81548160ff02191690831515021790555060e0820151816006015561010082015181600701559050503373ffffffffffffffffffffffffffffffffffffffff16817fe9933f20dadd222b086c1e5e82ffcc7c8b0c111dde5274637b82707bf28359d98585604051611825929190612f2c565b60405180910390a350611836611d04565b5050565b6004602052815f5260405f208181548110611853575f80fd5b905f5260205f20015f915091509054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61188a611c8f565b5f60015f8381526020019081526020015f2090505f73ffffffffffffffffffffffffffffffffffffffff16816001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff160361192f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611926906125e5565b60405180910390fd5b806005015f9054906101000a900460ff1615611980576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197790612f98565b60405180910390fd5b8060050160019054906101000a900460ff16156119d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c990612819565b60405180910390fd5b60025f8381526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1615611a6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6290613000565b60405180910390fd5b611ac1333068015af1d78b58c400007f0000000000000000000000009f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b0773ffffffffffffffffffffffffffffffffffffffff16611d1e909392919063ffffffff16565b600160025f8481526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff02191690831515021790555060045f8381526020019081526020015f2033908060018154018082558091505060019003905f5260205f20015f9091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555068015af1d78b58c40000816003015f828254611bb09190612837565b92505081905550806004015f815480929190611bcb90612c07565b91905055503373ffffffffffffffffffffffffffffffffffffffff16827ff7a2dfdbb1206c1660192fe0383d78aeafd9b629e82f828c0b7ebf92e9529d8f83600301548460040154604051611c2192919061301e565b60405180910390a350611c32611d04565b50565b6002602052815f5260405f20602052805f5260405f205f915091509054906101000a900460ff1681565b678ac7230489e8000081565b7f00000000000000000000000011ce532845ce0eacda41f72fdc1c88c33598144281565b611c97611d73565b6002611ca9611ca4611db4565b611ddd565b5f0181905550565b611cbe8383836001611de6565b611cff57826040517f5274afe7000000000000000000000000000000000000000000000000000000008152600401611cf6919061221a565b60405180910390fd5b505050565b6001611d16611d11611db4565b611ddd565b5f0181905550565b611d2c848484846001611e48565b611d6d57836040517f5274afe7000000000000000000000000000000000000000000000000000000008152600401611d64919061221a565b60405180910390fd5b50505050565b611d7b611eb9565b15611db2576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b5f7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005f1b905090565b5f819050919050565b5f5f63a9059cbb60e01b9050604051815f525f1960601c86166004528460245260205f60445f5f8b5af1925060015f51148316611e3a578383151615611e2e573d5f823e3d81fd5b5f873b113d1516831692505b806040525050949350505050565b5f5f6323b872dd60e01b9050604051815f525f1960601c87166004525f1960601c86166024528460445260205f60645f5f8c5af1925060015f51148316611ea6578383151615611e9a573d5f823e3d81fd5b5f883b113d1516831692505b806040525f606052505095945050505050565b5f6002611ecc611ec7611db4565b611ddd565b5f015414905090565b6040518061012001604052805f81526020015f73ffffffffffffffffffffffffffffffffffffffff168152602001606081526020015f81526020015f81526020015f151581526020015f151581526020015f81526020015f81525090565b5f5ffd5b5f5ffd5b5f819050919050565b611f4d81611f3b565b8114611f57575f5ffd5b50565b5f81359050611f6881611f44565b92915050565b5f60208284031215611f8357611f82611f33565b5b5f611f9084828501611f5a565b91505092915050565b611fa281611f3b565b82525050565b5f602082019050611fbb5f830184611f99565b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f611fea82611fc1565b9050919050565b611ffa81611fe0565b8114612004575f5ffd5b50565b5f8135905061201581611ff1565b92915050565b5f5f6040838503121561203157612030611f33565b5b5f61203e85828601611f5a565b925050602061204f85828601612007565b9150509250929050565b5f8115159050919050565b61206d81612059565b82525050565b5f6020820190506120865f830184612064565b92915050565b61209581611f3b565b82525050565b6120a481611fe0565b82525050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f6120ec826120aa565b6120f681856120b4565b93506121068185602086016120c4565b61210f816120d2565b840191505092915050565b61212381612059565b82525050565b5f61012083015f83015161213f5f86018261208c565b506020830151612152602086018261209b565b506040830151848203604086015261216a82826120e2565b915050606083015161217f606086018261208c565b506080830151612192608086018261208c565b5060a08301516121a560a086018261211a565b5060c08301516121b860c086018261211a565b5060e08301516121cb60e086018261208c565b506101008301516121e061010086018261208c565b508091505092915050565b5f6020820190508181035f8301526122038184612129565b905092915050565b61221481611fe0565b82525050565b5f60208201905061222d5f83018461220b565b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b5f612267838361209b565b60208301905092915050565b5f602082019050919050565b5f61228982612233565b612293818561223d565b935061229e8361224d565b805f5b838110156122ce5781516122b5888261225c565b97506122c083612273565b9250506001810190506122a1565b5085935050505092915050565b5f6020820190508181035f8301526122f3818461227f565b905092915050565b5f5f6040838503121561231157612310611f33565b5b5f61231e85828601611f5a565b925050602061232f85828601611f5a565b9150509250929050565b5f819050919050565b5f61235c61235761235284611fc1565b612339565b611fc1565b9050919050565b5f61236d82612342565b9050919050565b5f61237e82612363565b9050919050565b61238e81612374565b82525050565b5f6020820190506123a75f830184612385565b92915050565b5f82825260208201905092915050565b5f6123c7826120aa565b6123d181856123ad565b93506123e18185602086016120c4565b6123ea816120d2565b840191505092915050565b5f610120820190506124095f83018c611f99565b612416602083018b61220b565b8181036040830152612428818a6123bd565b90506124376060830189611f99565b6124446080830188611f99565b61245160a0830187612064565b61245e60c0830186612064565b61246b60e0830185611f99565b612479610100830184611f99565b9a9950505050505050505050565b5f5ffd5b5f5ffd5b5f5ffd5b5f5f83601f8401126124a8576124a7612487565b5b8235905067ffffffffffffffff8111156124c5576124c461248b565b5b6020830191508360018202830111156124e1576124e061248f565b5b9250929050565b5f5f602083850312156124fe576124fd611f33565b5b5f83013567ffffffffffffffff81111561251b5761251a611f37565b5b61252785828601612493565b92509250509250929050565b7f4f6e6c792061646d696e000000000000000000000000000000000000000000005f82015250565b5f612567600a836123ad565b915061257282612533565b602082019050919050565b5f6020820190508181035f8301526125948161255b565b9050919050565b7f4964656120646f6573206e6f74206578697374000000000000000000000000005f82015250565b5f6125cf6013836123ad565b91506125da8261259b565b602082019050919050565b5f6020820190508181035f8301526125fc816125c3565b9050919050565b7f416c7265616479206275696c74000000000000000000000000000000000000005f82015250565b5f612637600d836123ad565b915061264282612603565b602082019050919050565b5f6020820190508181035f8301526126648161262b565b9050919050565b7f416c7265616479206275726e65640000000000000000000000000000000000005f82015250565b5f61269f600e836123ad565b91506126aa8261266b565b602082019050919050565b5f6020820190508181035f8301526126cc81612693565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61270a82611f3b565b915061271583611f3b565b925082820390508181111561272d5761272c6126d3565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061277757607f821691505b60208210810361278a57612789612733565b5b50919050565b5f8151905061279e81611f44565b92915050565b5f602082840312156127b9576127b8611f33565b5b5f6127c684828501612790565b91505092915050565b7f4964656120776173206275726e656400000000000000000000000000000000005f82015250565b5f612803600f836123ad565b915061280e826127cf565b602082019050919050565b5f6020820190508181035f830152612830816127f7565b9050919050565b5f61284182611f3b565b915061284c83611f3b565b9250828201905080821115612864576128636126d3565b5b92915050565b7f496e73756666696369656e7420434c41574420666f72207061796f75740000005f82015250565b5f61289e601d836123ad565b91506128a98261286a565b602082019050919050565b5f6020820190508181035f8301526128cb81612892565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f61290982611f3b565b915061291483611f3b565b925082612924576129236128d2565b5b828204905092915050565b7f49646561206e6f74206275696c742079657400000000000000000000000000005f82015250565b5f6129636012836123ad565b915061296e8261292f565b602082019050919050565b5f6020820190508181035f83015261299081612957565b9050919050565b7f4e6f742061207374616b657200000000000000000000000000000000000000005f82015250565b5f6129cb600c836123ad565b91506129d682612997565b602082019050919050565b5f6020820190508181035f8301526129f8816129bf565b9050919050565b7f416c726561647920636c61696d656400000000000000000000000000000000005f82015250565b5f612a33600f836123ad565b9150612a3e826129ff565b602082019050919050565b5f6020820190508181035f830152612a6081612a27565b9050919050565b7f4e6f207061796f757420617661696c61626c65000000000000000000000000005f82015250565b5f612a9b6013836123ad565b9150612aa682612a67565b602082019050919050565b5f6020820190508181035f830152612ac881612a8f565b9050919050565b7f536861726520746f6f20736d616c6c00000000000000000000000000000000005f82015250565b5f612b03600f836123ad565b9150612b0e82612acf565b602082019050919050565b5f6020820190508181035f830152612b3081612af7565b9050919050565b7f436f6e74656e742063616e6e6f7420626520656d7074790000000000000000005f82015250565b5f612b6b6017836123ad565b9150612b7682612b37565b602082019050919050565b5f6020820190508181035f830152612b9881612b5f565b9050919050565b7f436f6e74656e7420746f6f206c6f6e67000000000000000000000000000000005f82015250565b5f612bd36010836123ad565b9150612bde82612b9f565b602082019050919050565b5f6020820190508181035f830152612c0081612bc7565b9050919050565b5f612c1182611f3b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612c4357612c426126d3565b5b600182019050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302612cd77fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612c9c565b612ce18683612c9c565b95508019841693508086168417925050509392505050565b5f612d13612d0e612d0984611f3b565b612339565b611f3b565b9050919050565b5f819050919050565b612d2c83612cf9565b612d40612d3882612d1a565b848454612ca8565b825550505050565b5f5f905090565b612d57612d48565b612d62818484612d23565b505050565b5f5b82811015612d8857612d7d5f828401612d4f565b600181019050612d69565b505050565b601f821115612ddb5782821115612dda57612da781612c7b565b612db083612c8d565b612db985612c8d565b6020861015612dc6575f90505b808301612dd582840382612d67565b505050505b5b505050565b5f82821c905092915050565b5f612dfb5f1984600802612de0565b1980831691505092915050565b5f612e138383612dec565b9150826002028217905092915050565b612e2c826120aa565b67ffffffffffffffff811115612e4557612e44612c4e565b5b612e4f8254612760565b612e5a828285612d8d565b5f60209050601f831160018114612e8b575f8415612e79578287015190505b612e838582612e08565b865550612eea565b601f198416612e9986612c7b565b5f5b82811015612ec057848901518255600182019150602085019450602081019050612e9b565b86831015612edd5784890151612ed9601f891682612dec565b8355505b6001600288020188555050505b505050505050565b828183375f83830152505050565b5f612f0b83856123ad565b9350612f18838584612ef2565b612f21836120d2565b840190509392505050565b5f6020820190508181035f830152612f45818486612f00565b90509392505050565b7f4964656120616c7265616479206275696c7400000000000000000000000000005f82015250565b5f612f826012836123ad565b9150612f8d82612f4e565b602082019050919050565b5f6020820190508181035f830152612faf81612f76565b9050919050565b7f416c7265616479207374616b6564206f6e2074686973206964656100000000005f82015250565b5f612fea601b836123ad565b9150612ff582612fb6565b602082019050919050565b5f6020820190508181035f83015261301781612fde565b9050919050565b5f6040820190506130315f830185611f99565b61303e6020830184611f99565b939250505056fea2646970667358221220d859d6baf21e0a920cb40eb419c604e1041f5a275286729ecee8fd258375ceb764736f6c63430008210033
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.