Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 357 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Update Proposal ... | 13861222 | 1162 days ago | IN | 0 ETH | 0.00224187 | ||||
Vote | 13857309 | 1163 days ago | IN | 0 ETH | 0.01597207 | ||||
Vote | 13854714 | 1163 days ago | IN | 0 ETH | 0.00342637 | ||||
Update Proposal ... | 13854502 | 1163 days ago | IN | 0 ETH | 0.00170891 | ||||
Update Proposal ... | 13854490 | 1163 days ago | IN | 0 ETH | 0.0020931 | ||||
Vote | 13851896 | 1164 days ago | IN | 0 ETH | 0.00614869 | ||||
Vote | 13849644 | 1164 days ago | IN | 0 ETH | 0.00667681 | ||||
Vote | 13842982 | 1165 days ago | IN | 0 ETH | 0.00645693 | ||||
Vote | 13840556 | 1166 days ago | IN | 0 ETH | 0.00415959 | ||||
Vote | 13840556 | 1166 days ago | IN | 0 ETH | 0.00429897 | ||||
Vote | 13839490 | 1166 days ago | IN | 0 ETH | 0.00565627 | ||||
Vote | 13839464 | 1166 days ago | IN | 0 ETH | 0.00567777 | ||||
Vote | 13835979 | 1166 days ago | IN | 0 ETH | 0.00491442 | ||||
Vote | 13835677 | 1166 days ago | IN | 0 ETH | 0.00340668 | ||||
Vote | 13835618 | 1166 days ago | IN | 0 ETH | 0.00474215 | ||||
Vote | 13834914 | 1166 days ago | IN | 0 ETH | 0.00368226 | ||||
Vote | 13831496 | 1167 days ago | IN | 0 ETH | 0.00734863 | ||||
Vote | 13830697 | 1167 days ago | IN | 0 ETH | 0.00859366 | ||||
Update Proposal ... | 13830664 | 1167 days ago | IN | 0 ETH | 0.00335248 | ||||
Vote | 13828741 | 1167 days ago | IN | 0 ETH | 0.00405229 | ||||
Vote | 13827292 | 1168 days ago | IN | 0 ETH | 0.00381313 | ||||
Vote | 13823479 | 1168 days ago | IN | 0 ETH | 0.00840692 | ||||
Vote | 13823475 | 1168 days ago | IN | 0 ETH | 0.00794928 | ||||
Vote | 13823436 | 1168 days ago | IN | 0 ETH | 0.01021713 | ||||
Vote | 13822982 | 1168 days ago | IN | 0 ETH | 0.00654184 |
Advanced mode: Intended for advanced users or developers and will display all Internal Transactions including zero value transfers. Name tag integration is not available in advanced view.
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
||||
---|---|---|---|---|---|---|---|
19333849 | 364 days ago | 0 ETH | |||||
19333849 | 364 days ago | 0 ETH | |||||
19241104 | 377 days ago | 0 ETH | |||||
19241104 | 377 days ago | 0 ETH | |||||
15712494 | 872 days ago | 0 ETH | |||||
15712494 | 872 days ago | 0 ETH | |||||
15709886 | 872 days ago | 0 ETH | |||||
15709886 | 872 days ago | 0 ETH | |||||
14455252 | 1070 days ago | 0 ETH | |||||
14455252 | 1070 days ago | 0 ETH | |||||
14455252 | 1070 days ago | 0 ETH | |||||
13857309 | 1163 days ago | 0 ETH | |||||
13857309 | 1163 days ago | 0 ETH | |||||
13854714 | 1163 days ago | 0 ETH | |||||
13854714 | 1163 days ago | 0 ETH | |||||
13851896 | 1164 days ago | 0 ETH | |||||
13851896 | 1164 days ago | 0 ETH | |||||
13849644 | 1164 days ago | 0 ETH | |||||
13849644 | 1164 days ago | 0 ETH | |||||
13842982 | 1165 days ago | 0 ETH | |||||
13842982 | 1165 days ago | 0 ETH | |||||
13840556 | 1166 days ago | 0 ETH | |||||
13840556 | 1166 days ago | 0 ETH | |||||
13840556 | 1166 days ago | 0 ETH | |||||
13840556 | 1166 days ago | 0 ETH |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
Raphael
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/utils/ERC721Holder.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "./IStaking.sol"; import "./IVITA.sol"; contract Raphael is ERC721Holder, Ownable, ReentrancyGuard { // Different stages of a proposal enum ProposalStatus { VOTING_NOT_STARTED, VOTING, VOTES_FINISHED, RESOLVED, CANCELLED, QUORUM_FAILED } struct Proposal { string details; uint256 votesFor; uint256 votesAgainst; uint256 startBlock; uint256 endBlock; ProposalStatus status; } // key is a self-incrementing number mapping(uint256 => Proposal) private proposals; mapping(uint256 => mapping(address => bool)) private voted; //global voted mapping uint256 public proposalCount; uint256 private minVotesNeeded; address private nativeTokenAddress; address private stakingContractAddress; address[] private nftContractAddresses; bool private shutdown = false; uint256 public CREATE_TO_VOTE_PROPOSAL_DELAY = 13091; // ~2 days uint256 public VOTING_DURATION = 91636; // ~14 days uint256 public constant MIN_DURATION = 5; // ~ 1 minute uint256 public constant MAX_DURATION = 200000; // ~1 month event VotingDelayChanged(uint256 newDuration); event VotingDurationChanged(uint256 newDuration); event NativeTokenChanged( address newAddress, address oldAddress, address changedBy ); event StakingAddressChanged( address newAddress, address oldAddress, address changedBy ); event NativeTokenTransferred( address authorizedBy, address to, uint256 amount ); event NFTReceived(address nftContract, address sender, uint256 tokenId); event NFTTransferred(address nftContract, address to, uint256 tokenId); event EmergencyShutdown(address triggeredBy, uint256 currentBlock); event EmergencyNFTApproval( address triggeredBy, address[] nftContractAddresses, uint256 startIndex, uint256 endIndex ); event EmergencyNFTApprovalFail(address nftContractAddress); event ProposalCreated( uint256 proposalId, string details, uint256 vote_start, uint256 vote_end ); event ProposalStatusChanged(uint256 proposalId, ProposalStatus newStatus); event Voted(address voter, uint256 proposalId, uint256 weight, bool direction); modifier notShutdown() { require(!shutdown, "cannot be called after shutdown"); _; } modifier onlyShutdown() { require(shutdown, "can only call after shutdown"); _; } constructor() Ownable() { proposalCount = 0; //starts with 0 proposals minVotesNeeded = 965390 * 1e18; // 5% of initial distribution } function getDidVote(uint256 proposalIndex) public view returns (bool) { return voted[proposalIndex][_msgSender()]; } /** * @dev returns all data for a specified proposal * @param proposalIndex uint index of proposal * @return string, 5 x uint (the parts of a Proposal object) */ function getProposalData(uint256 proposalIndex) public view returns ( string memory, uint256, uint256, uint256, uint256, uint8 ) { require(proposalIndex <= proposalCount && proposalIndex !=0, "Proposal doesn't exist"); return ( proposals[proposalIndex].details, proposals[proposalIndex].votesFor, proposals[proposalIndex].votesAgainst, proposals[proposalIndex].startBlock, proposals[proposalIndex].endBlock, uint8(proposals[proposalIndex].status) ); } /** * @dev returns result of a proposal * @param proposalIndex uint index of proposal * @return true if proposal passed, otherwise false */ function getProposalResult(uint256 proposalIndex) public view returns (bool) { require(proposalIndex <= proposalCount && proposalIndex !=0, "Proposal doesn't exist"); require( proposals[proposalIndex].status == ProposalStatus.VOTES_FINISHED || proposals[proposalIndex].status == ProposalStatus.RESOLVED || proposals[proposalIndex].status == ProposalStatus.QUORUM_FAILED, "Proposal must be after voting" ); bool result; // is already false, only need to cover the true case if (proposals[proposalIndex].votesFor > proposals[proposalIndex].votesAgainst && ( proposals[proposalIndex].status == ProposalStatus.VOTES_FINISHED || proposals[proposalIndex].status == ProposalStatus.RESOLVED )) { result = true; } return result; } /** * @dev returns minimum amount of votes needed for a proposal to pass * @return minVotesNeeded value */ function getMinVotesNeeded() public view returns (uint256) { return minVotesNeeded; } /** * @dev returns address of the token associated with the DAO * * @return the address of the token contract */ function getNativeTokenAddress() public view returns (address) { return nativeTokenAddress; } /** * @dev returns the DAO's balance of the native token */ function getNativeTokenBalance() public view returns (uint256) { IVITA nativeTokenContract = IVITA(nativeTokenAddress); return nativeTokenContract.balanceOf(address(this)); } /** * @dev returns an array of the NFTs owned by the DAO * * @return an array of nft structs */ function getNftContractAddresses() public view returns (address[] memory) { return nftContractAddresses; } function getStakingAddress() public view returns (address) { return stakingContractAddress; } /** * @dev returns if DAO is shutdown or not */ function isShutdown() public view returns (bool) { return shutdown; } /**************************** * STATE CHANGING FUNCTIONS * ***************************/ //////////////////////// // PLATFORM VARIABLES // //////////////////////// function setVotingDelayDuration(uint256 newDuration) public onlyOwner { require( newDuration > MIN_DURATION && newDuration < MAX_DURATION, "duration must be >5 <190000" ); CREATE_TO_VOTE_PROPOSAL_DELAY = newDuration; emit VotingDelayChanged(newDuration); } function setVotingDuration(uint256 newDuration) public onlyOwner { require( newDuration > MIN_DURATION && newDuration < MAX_DURATION, "duration must be >5 <190000" ); VOTING_DURATION = newDuration; emit VotingDurationChanged(newDuration); } /** * @dev Updates the min total votes needed for a proposal to pass * @param newVotesNeeded uint new min vote threshold */ function setMinVotesNeeded(uint256 newVotesNeeded) public onlyOwner notShutdown { IVITA nativeTokenContract = IVITA(nativeTokenAddress); require(newVotesNeeded > 0, "quorum cannot be 0"); require( newVotesNeeded <= nativeTokenContract.totalSupply(), "votes needed > token supply" ); minVotesNeeded = newVotesNeeded; } /** * @dev allows admins to set the address of the staking contract associated with the DAO * * @param _stakingContractAddress the (new) address of the staking contract */ function setStakingAddress(address _stakingContractAddress) public onlyOwner notShutdown { address oldAddress = stakingContractAddress; stakingContractAddress = _stakingContractAddress; emit StakingAddressChanged( stakingContractAddress, oldAddress, _msgSender() ); } /** * @dev allows admins to set the address of the token associated with the DAO * * @param tokenContractAddress the address of the ERC20 asset */ function setNativeTokenAddress(address tokenContractAddress) public onlyOwner notShutdown { address oldAddress = nativeTokenAddress; nativeTokenAddress = tokenContractAddress; emit NativeTokenChanged(nativeTokenAddress, oldAddress, _msgSender()); } ////////////////////////// // PROPOSALS AND VOTING // ////////////////////////// /** * @dev Creates a proposal * @param details string with proposal details * */ function createProposal(string memory details) public notShutdown nonReentrant { IStaking stakingContract = IStaking(stakingContractAddress); require( stakingContract.getStakedBalance(_msgSender()) > 0, "must stake to create proposal" ); uint256 start_block = block.number + CREATE_TO_VOTE_PROPOSAL_DELAY; uint256 end_block = start_block + VOTING_DURATION; Proposal memory newProposal = Proposal( details, 0, //votesFor 0, //votesAgainst start_block, end_block, ProposalStatus.VOTING_NOT_STARTED ); require( stakingContract.voted(_msgSender(), newProposal.endBlock), "createProposal: token lock fail" ); proposalCount += 1; // Add new Proposal instance proposals[proposalCount] = newProposal; // lock staked tokens for duration of proposal emit ProposalCreated(proposalCount, details, start_block, end_block); } /** * @dev Moves proposal to the status it should be in * * @param proposalIndex uint proposal key */ function updateProposalStatus(uint256 proposalIndex) public notShutdown { require(proposalIndex <= proposalCount && proposalIndex !=0, "Proposal doesn't exist"); Proposal storage currentProp = proposals[proposalIndex]; // Can't change status of CANCELLED or RESOLVED proposals require( currentProp.status != ProposalStatus.CANCELLED, "Proposal cancelled" ); require( currentProp.status != ProposalStatus.RESOLVED, "Proposal already resolved" ); require( currentProp.status != ProposalStatus.QUORUM_FAILED, "Proposal failed to meet quorum" ); // revert if no change needed if ( // still before voting period currentProp.status == ProposalStatus.VOTING_NOT_STARTED && block.number < currentProp.startBlock ) { revert("Too early to move to voting"); } else if ( // still in voting period currentProp.status == ProposalStatus.VOTING && block.number >= currentProp.startBlock && block.number <= currentProp.endBlock ) { revert("Still in voting period"); } if ( block.number >= currentProp.startBlock && block.number <= currentProp.endBlock && currentProp.status != ProposalStatus.VOTING ) { currentProp.status = ProposalStatus.VOTING; } else if ( block.number < currentProp.startBlock && currentProp.status != ProposalStatus.VOTING_NOT_STARTED ) { currentProp.status = ProposalStatus.VOTING_NOT_STARTED; } else if ( block.number > currentProp.endBlock && currentProp.status != ProposalStatus.VOTES_FINISHED ) { if ( currentProp.votesFor + currentProp.votesAgainst >= minVotesNeeded ) { currentProp.status = ProposalStatus.VOTES_FINISHED; } else { currentProp.status = ProposalStatus.QUORUM_FAILED; } } // Save changes in the proposal mapping proposals[proposalIndex] = currentProp; emit ProposalStatusChanged(proposalIndex, currentProp.status); } /** * @dev Only for setting proposal to RESOLVED. * @dev Only callable from the multi-sig * @param proposalIndex uint proposal key * */ function setProposalToResolved(uint256 proposalIndex) public onlyOwner notShutdown { require(proposalIndex <= proposalCount && proposalIndex !=0, "Proposal doesn't exist"); require( proposals[proposalIndex].status == ProposalStatus.VOTES_FINISHED, "Proposal not in VOTES_FINISHED" ); proposals[proposalIndex].status = ProposalStatus.RESOLVED; emit ProposalStatusChanged(proposalIndex, ProposalStatus.RESOLVED); } /** * @dev Only for setting proposal to CANCELLED. * @dev Only callable from the multi-sig * @param proposalIndex uint proposal key * */ function setProposalToCancelled(uint256 proposalIndex) public onlyOwner notShutdown { require(proposalIndex <= proposalCount && proposalIndex !=0, "Proposal doesn't exist"); require( proposals[proposalIndex].status != ProposalStatus.VOTES_FINISHED, "Can't cancel if vote finished" ); require( proposals[proposalIndex].status != ProposalStatus.RESOLVED, "Proposal already resolved" ); require( proposals[proposalIndex].status != ProposalStatus.QUORUM_FAILED, "Proposal already failed quorum" ); require( proposals[proposalIndex].status != ProposalStatus.CANCELLED, "Proposal already cancelled" ); proposals[proposalIndex].status = ProposalStatus.CANCELLED; emit ProposalStatusChanged(proposalIndex, ProposalStatus.CANCELLED); } /** * @dev Allows any address to vote on a proposal * @param proposalIndex key to proposal in mapping * @param _vote true = for, false = against */ function vote(uint256 proposalIndex, bool _vote) public notShutdown nonReentrant { require(proposalIndex <= proposalCount && proposalIndex !=0, "Proposal doesn't exist"); IStaking stakingContract = IStaking(stakingContractAddress); uint256 stakedBalance = stakingContract.getStakedBalance(_msgSender()); require(stakedBalance > 0, "must stake to vote"); // check msg.sender hasn't already voted require( voted[proposalIndex][_msgSender()] == false, "Already voted from this address" ); Proposal storage currentProp = proposals[proposalIndex]; // Call updateProposalStatus() if proposal should be in VOTING stage require( currentProp.status == ProposalStatus.VOTING && block.number <= currentProp.endBlock, "Proposal not in voting period" ); if (_vote) { currentProp.votesFor += stakedBalance; } else { currentProp.votesAgainst += stakedBalance; } voted[proposalIndex][_msgSender()] = true; require( stakingContract.voted( _msgSender(), proposals[proposalIndex].endBlock ), "vote: token lock fail" ); // Save changes in the proposal mapping proposals[proposalIndex] = currentProp; emit Voted(_msgSender(), proposalIndex, stakedBalance, _vote); } ////////////////////// // ASSET MANAGEMENT // ////////////////////// /** * @dev enables DAO to mint native tokens * @param _amount the amount of tokens to mint */ function mintNativeToken(uint256 _amount) public onlyOwner notShutdown { require(_amount > 0, "Can't mint 0 tokens"); IVITA nativeTokenContract = IVITA(nativeTokenAddress); nativeTokenContract.mint(address(this), _amount); } /** * @dev enables DAO to transfer the token it is associated with * * @param to the address to send tokens to * @param amount the amount to send * * @return success or fail bool */ function transferNativeToken(address to, uint256 amount) public onlyOwner notShutdown returns (bool) { IVITA nativeTokenContract = IVITA(nativeTokenAddress); require( nativeTokenContract.transfer(to, amount), "ERC20 transfer failed" ); emit NativeTokenTransferred(_msgSender(), to, amount); return true; } /** * @dev enables DAO to transfer NFTs received * * @param nftContractAddress the address of the NFT contract * @param recipient the address to send the NFT to * @param tokenId the id of the token in the NFT contract * * @return success or fail bool */ function transferNFT( address nftContractAddress, address recipient, uint256 tokenId ) public onlyOwner notShutdown returns (bool) { IERC721 nftContract = IERC721(nftContractAddress); nftContract.safeTransferFrom( address(this), recipient, tokenId // what if there isn't one? ); require( nftContract.ownerOf(tokenId) == recipient, "NFT transfer failed" ); emit NFTTransferred(nftContractAddress, recipient, tokenId); return true; } //////////////////////// // EMERGENCY SHUTDOWN // //////////////////////// /** * @dev cancels unfinished proposals in a specific range * @param startIndex the index to start cancelling from * @param endIndex the index the cancelling will stop before * * @notice can only be called after shutdown, is called during shutdown */ function emergencyProposalCancellation(uint256 startIndex, uint256 endIndex) external onlyShutdown onlyOwner { require(endIndex > startIndex, "end index must be > start index"); // there is no proposal in the zero slot require(startIndex > 0, "starting index must exceed 0"); // needs to be proposal count + 1 since end index is one past the last cancelled proposal require(endIndex <= proposalCount + 1, "end index > proposal count + 1"); for (uint256 i = startIndex; i < endIndex; i++) { if ( proposals[i].status != ProposalStatus.RESOLVED && proposals[i].status != ProposalStatus.QUORUM_FAILED ) { proposals[i].status = ProposalStatus.CANCELLED; emit ProposalStatusChanged(i, ProposalStatus.CANCELLED); } } } /** * @dev approves admin on all NFT contracts * @param startIndex the index to start cancelling from * @param endIndex the index the cancelling will stop before * * @notice can only be called after shutdown, is called during shutdown */ function emergencyNftApproval(uint256 startIndex, uint256 endIndex) external onlyOwner onlyShutdown nonReentrant { require(endIndex > startIndex, "end index must be > start index"); require(endIndex <= nftContractAddresses.length, "end index > nft array len"); for (uint256 i = startIndex; i < endIndex; i++) { if (nftContractAddresses[i] != address(0)) { IERC721 nftContract = IERC721(nftContractAddresses[i]); if (!nftContract.isApprovedForAll(address(this), owner())) { try nftContract.setApprovalForAll(owner(), true) { } catch { emit EmergencyNFTApprovalFail(nftContractAddresses[i]); } } } } emit EmergencyNFTApproval(_msgSender(), nftContractAddresses, startIndex, endIndex); } /** * @dev allows the admins to shut down the DAO (proposals, voting, transfers) * and also sweeps out any NFTs and native tokens owned by the DAO * * @notice this is an irreversible process! */ function emergencyShutdown() public onlyOwner notShutdown nonReentrant { IStaking stakingContract = IStaking(stakingContractAddress); stakingContract.emergencyShutdown(_msgSender()); shutdown = true; emit EmergencyShutdown(_msgSender(), block.number); } /** * @dev function for receiving and recording an NFT * @notice calls "super" to the OpenZeppelin function inherited * * @param operator the sender of the NFT (I think) * @param from not really sure, has generally been the zero address * @param tokenId the tokenId of the NFT * @param data any additional data sent with the NFT * * @return `IERC721Receiver.onERC721Received.selector` */ function onERC721Received( address operator, address from, uint256 tokenId, bytes memory data ) public override notShutdown returns (bytes4) { nftContractAddresses.push(_msgSender()); emit NFTReceived(_msgSender(), operator, tokenId); return super.onERC721Received(operator, from, tokenId, data); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 tokenId) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721Receiver.sol"; /** * @dev Implementation of the {IERC721Receiver} interface. * * Accepts all token transfers. * Make sure the contract is able to use its token with {IERC721-safeTransferFrom}, {IERC721-approve} or {IERC721-setApprovalForAll}. */ contract ERC721Holder is IERC721Receiver { /** * @dev See {IERC721Receiver-onERC721Received}. * * Always returns `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received(address, address, uint256, bytes memory) public virtual override returns (bytes4) { return this.onERC721Received.selector; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor () { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
//SPDX-License-Identifier: MIT pragma solidity ^0.8.4; interface IStaking{ function getStakedBalance(address staker) external view returns(uint256); function getUnlockTime(address staker) external view returns(uint256); function isShutdown() external view returns(bool); function voted(address voter, uint256 endBlock) external returns(bool); function stake(uint256 amount) external; function withdraw(uint256 amount) external; function emergencyShutdown(address admin) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; interface IVITA is IERC20 { function mint(address account, uint256 amount) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * 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[EIP 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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"triggeredBy","type":"address"},{"indexed":false,"internalType":"address[]","name":"nftContractAddresses","type":"address[]"},{"indexed":false,"internalType":"uint256","name":"startIndex","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"endIndex","type":"uint256"}],"name":"EmergencyNFTApproval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"nftContractAddress","type":"address"}],"name":"EmergencyNFTApprovalFail","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"triggeredBy","type":"address"},{"indexed":false,"internalType":"uint256","name":"currentBlock","type":"uint256"}],"name":"EmergencyShutdown","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"nftContract","type":"address"},{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"NFTReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"nftContract","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"NFTTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newAddress","type":"address"},{"indexed":false,"internalType":"address","name":"oldAddress","type":"address"},{"indexed":false,"internalType":"address","name":"changedBy","type":"address"}],"name":"NativeTokenChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"authorizedBy","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"NativeTokenTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"proposalId","type":"uint256"},{"indexed":false,"internalType":"string","name":"details","type":"string"},{"indexed":false,"internalType":"uint256","name":"vote_start","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"vote_end","type":"uint256"}],"name":"ProposalCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"proposalId","type":"uint256"},{"indexed":false,"internalType":"enum Raphael.ProposalStatus","name":"newStatus","type":"uint8"}],"name":"ProposalStatusChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newAddress","type":"address"},{"indexed":false,"internalType":"address","name":"oldAddress","type":"address"},{"indexed":false,"internalType":"address","name":"changedBy","type":"address"}],"name":"StakingAddressChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"voter","type":"address"},{"indexed":false,"internalType":"uint256","name":"proposalId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"weight","type":"uint256"},{"indexed":false,"internalType":"bool","name":"direction","type":"bool"}],"name":"Voted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newDuration","type":"uint256"}],"name":"VotingDelayChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newDuration","type":"uint256"}],"name":"VotingDurationChanged","type":"event"},{"inputs":[],"name":"CREATE_TO_VOTE_PROPOSAL_DELAY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_DURATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_DURATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"VOTING_DURATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"details","type":"string"}],"name":"createProposal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"startIndex","type":"uint256"},{"internalType":"uint256","name":"endIndex","type":"uint256"}],"name":"emergencyNftApproval","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"startIndex","type":"uint256"},{"internalType":"uint256","name":"endIndex","type":"uint256"}],"name":"emergencyProposalCancellation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencyShutdown","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"proposalIndex","type":"uint256"}],"name":"getDidVote","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMinVotesNeeded","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNativeTokenAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNativeTokenBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNftContractAddresses","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"proposalIndex","type":"uint256"}],"name":"getProposalData","outputs":[{"internalType":"string","name":"","type":"string"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"proposalIndex","type":"uint256"}],"name":"getProposalResult","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getStakingAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isShutdown","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mintNativeToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proposalCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newVotesNeeded","type":"uint256"}],"name":"setMinVotesNeeded","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenContractAddress","type":"address"}],"name":"setNativeTokenAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"proposalIndex","type":"uint256"}],"name":"setProposalToCancelled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"proposalIndex","type":"uint256"}],"name":"setProposalToResolved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_stakingContractAddress","type":"address"}],"name":"setStakingAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newDuration","type":"uint256"}],"name":"setVotingDelayDuration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newDuration","type":"uint256"}],"name":"setVotingDuration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"nftContractAddress","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferNFT","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferNativeToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"proposalIndex","type":"uint256"}],"name":"updateProposalStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"proposalIndex","type":"uint256"},{"internalType":"bool","name":"_vote","type":"bool"}],"name":"vote","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526009805460ff19169055613323600a55620165f4600b5534801561002757600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060018055600060045569cc6de5926091337800006005556132378061008f6000396000f3fe608060405234801561001057600080fd5b50600436106102055760003560e01c8063a6f0f7c71161011a578063c5089dc0116100ad578063e82368ab1161007c578063e82368ab14610442578063ee8bcce614610455578063f2fde38b14610468578063f4e0d9ac1461047b578063f91f88f71461048e57600080fd5b8063c5089dc0146103fe578063c851ed6c14610413578063c9d27afe14610426578063da35c6641461043957600080fd5b8063b426d991116100e9578063b426d991146103c5578063b6a6d177146103d8578063b8c62ab8146103e0578063bf86d690146103f357600080fd5b8063a6f0f7c714610382578063aa12b59314610395578063ae77a708146103a8578063b1724b46146103bb57600080fd5b80635bcfadb51161019d578063715018a61161016c578063715018a61461034457806376014a401461034c5780638337f8da1461035f5780638da5cb5b14610368578063a438d2081461037957600080fd5b80635bcfadb5146102bb57806369e9cae1146102ce5780636e768530146102f1578063706edc0f1461031657600080fd5b806319cd0575116101d957806319cd0575146102865780633403c2fc14610298578063441a39f3146102a057806349c2a1a6146102a857600080fd5b806276796e1461020a5780630e9ed68b1461021f57806311ced45c14610249578063150b7a021461025a575b600080fd5b61021d610218366004612e0f565b6104a1565b005b6007546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b6006546001600160a01b031661022c565b61026d610268366004612cfd565b61056e565b6040516001600160e01b03199091168152602001610240565b6005545b604051908152602001610240565b61021d610624565b61028a610762565b61021d6102b6366004612dc1565b6107e6565b61021d6102c9366004612e0f565b610b52565b6102e16102dc366004612cbd565b610c0f565b6040519015158152602001610240565b6103046102ff366004612e0f565b610dcf565b60405161024096959493929190612fb1565b6102e1610324366004612e0f565b600090815260036020908152604080832033845290915290205460ff1690565b61021d610ef5565b61021d61035a366004612e6e565b610f69565b61028a600a5481565b6000546001600160a01b031661022c565b61028a600b5481565b61021d610390366004612e0f565b6111c7565b61021d6103a3366004612e6e565b6112c4565b6102e16103b6366004612d7a565b611670565b61028a62030d4081565b61021d6103d3366004612e0f565b6117cf565b61028a600581565b61021d6103ee366004612e0f565b611a96565b60095460ff166102e1565b610406611bd3565b6040516102409190612f64565b61021d610421366004612e0f565b611c35565b61021d610434366004612e3f565b612106565b61028a60045481565b61021d610450366004612c7e565b612578565b61021d610463366004612e0f565b61263a565b61021d610476366004612c7e565b61279b565b61021d610489366004612c7e565b612885565b6102e161049c366004612e0f565b61291d565b6000546001600160a01b031633146104d45760405162461bcd60e51b81526004016104cb90613020565b60405180910390fd5b6005811180156104e6575062030d4081105b6105325760405162461bcd60e51b815260206004820152601b60248201527f6475726174696f6e206d757374206265203e35203c313930303030000000000060448201526064016104cb565b600a8190556040518181527fbb3349c4ee7b53daeca1d3dc1890a839f0a436f8856eafd80f6e8e64bfd31510906020015b60405180910390a150565b60095460009060ff16156105945760405162461bcd60e51b81526004016104cb90613055565b600880546001810182556000919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30180546001600160a01b031916339081179091556040517ff45de2a4efbdd3cb1d3639c28f1798f2e4c60ff4cd9031fd2097ef76aebc15369161060b9188908790612eda565b60405180910390a1630a85bd0160e11b95945050505050565b6000546001600160a01b0316331461064e5760405162461bcd60e51b81526004016104cb90613020565b60095460ff16156106715760405162461bcd60e51b81526004016104cb90613055565b600260015414156106945760405162461bcd60e51b81526004016104cb9061308c565b60026001556007546001600160a01b0316806351ae58af336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401600060405180830381600087803b1580156106ed57600080fd5b505af1158015610701573d6000803e3d6000fd5b50506009805460ff19166001179055507f077382e0341a6d8666d1f8ed15b8c933a01f5c1a3e6c5229e2db8c5dc1c06ae1905061073b3390565b604080516001600160a01b0390921682524360208301520160405180910390a15060018055565b6006546040516370a0823160e01b81523060048201526000916001600160a01b03169081906370a082319060240160206040518083038186803b1580156107a857600080fd5b505afa1580156107bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e09190612e27565b91505090565b60095460ff16156108095760405162461bcd60e51b81526004016104cb90613055565b6002600154141561082c5760405162461bcd60e51b81526004016104cb9061308c565b60026001556007546001600160a01b0316600081633a02a42d336040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260240160206040518083038186803b15801561088557600080fd5b505afa158015610899573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108bd9190612e27565b1161090a5760405162461bcd60e51b815260206004820152601d60248201527f6d757374207374616b6520746f206372656174652070726f706f73616c00000060448201526064016104cb565b6000600a544361091a9190613121565b90506000600b548261092c9190613121565b905060006040518060c0016040528086815260200160008152602001600081526020018481526020018381526020016000600581111561097c57634e487b7160e01b600052602160045260246000fd5b905290506001600160a01b03841663c591aa983360808401516040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b1580156109db57600080fd5b505af11580156109ef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a139190612da5565b610a5f5760405162461bcd60e51b815260206004820152601f60248201527f63726561746550726f706f73616c3a20746f6b656e206c6f636b206661696c0060448201526064016104cb565b600160046000828254610a729190613121565b90915550506004546000908152600260209081526040909120825180518493610a9f928492910190612af4565b506020820151816001015560408201518160020155606082015181600301556080820151816004015560a08201518160050160006101000a81548160ff02191690836005811115610b0057634e487b7160e01b600052602160045260246000fd5b02179055509050507f5d072faeaf3fe9518eca824577834e1efc3ff209025796dd8819b72706cd0bd5600454868585604051610b3f94939291906130f5565b60405180910390a1505060018055505050565b6000546001600160a01b03163314610b7c5760405162461bcd60e51b81526004016104cb90613020565b600581118015610b8e575062030d4081105b610bda5760405162461bcd60e51b815260206004820152601b60248201527f6475726174696f6e206d757374206265203e35203c313930303030000000000060448201526064016104cb565b600b8190556040518181527f7b618bdde7807a5fed51719c1d5af2441afd29bee82e35b7c4f2e95b0cac9bca90602001610563565b600080546001600160a01b03163314610c3a5760405162461bcd60e51b81526004016104cb90613020565b60095460ff1615610c5d5760405162461bcd60e51b81526004016104cb90613055565b604051632142170760e11b815284906001600160a01b038216906342842e0e90610c8f90309088908890600401612eda565b600060405180830381600087803b158015610ca957600080fd5b505af1158015610cbd573d6000803e3d6000fd5b50506040516331a9108f60e11b8152600481018690526001600160a01b03878116935084169150636352211e9060240160206040518083038186803b158015610d0557600080fd5b505afa158015610d19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3d9190612ca1565b6001600160a01b031614610d895760405162461bcd60e51b8152602060048201526013602482015272139195081d1c985b9cd9995c8819985a5b1959606a1b60448201526064016104cb565b7f209eb5082bc3bcbd509ae679a680b3bb2a11b77fea542a93e205020af76529fc858585604051610dbc93929190612eda565b60405180910390a1506001949350505050565b606060008060008060006004548711158015610dea57508615155b610e065760405162461bcd60e51b81526004016104cb90612ff0565b60008781526002602081905260409091206001810154918101546003820154600483015460058085015494959460ff1690811115610e5457634e487b7160e01b600052602160045260246000fd5b858054610e6090613139565b80601f0160208091040260200160405190810160405280929190818152602001828054610e8c90613139565b8015610ed95780601f10610eae57610100808354040283529160200191610ed9565b820191906000526020600020905b815481529060010190602001808311610ebc57829003601f168201915b5050505050955095509550955095509550955091939550919395565b6000546001600160a01b03163314610f1f5760405162461bcd60e51b81526004016104cb90613020565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60095460ff16610fbb5760405162461bcd60e51b815260206004820152601c60248201527f63616e206f6e6c792063616c6c2061667465722073687574646f776e0000000060448201526064016104cb565b6000546001600160a01b03163314610fe55760405162461bcd60e51b81526004016104cb90613020565b8181116110345760405162461bcd60e51b815260206004820152601f60248201527f656e6420696e646578206d757374206265203e20737461727420696e6465780060448201526064016104cb565b600082116110845760405162461bcd60e51b815260206004820152601c60248201527f7374617274696e6720696e646578206d7573742065786365656420300000000060448201526064016104cb565b600454611092906001613121565b8111156110e15760405162461bcd60e51b815260206004820152601e60248201527f656e6420696e646578203e2070726f706f73616c20636f756e74202b2031000060448201526064016104cb565b815b818110156111c2576003600082815260026020526040902060059081015460ff169081111561112257634e487b7160e01b600052602160045260246000fd5b141580156111635750600081815260026020526040902060059081015460ff168181111561116057634e487b7160e01b600052602160045260246000fd5b14155b156111b05760008181526002602052604090819020600501805460ff1916600490811790915590516000805160206131e2833981519152916111a7918491906130c3565b60405180910390a15b806111ba81613174565b9150506110e3565b505050565b6000546001600160a01b031633146111f15760405162461bcd60e51b81526004016104cb90613020565b60095460ff16156112145760405162461bcd60e51b81526004016104cb90613055565b6000811161125a5760405162461bcd60e51b815260206004820152601360248201527243616e2774206d696e74203020746f6b656e7360681b60448201526064016104cb565b6006546040516340c10f1960e01b8152306004820152602481018390526001600160a01b039091169081906340c10f1990604401600060405180830381600087803b1580156112a857600080fd5b505af11580156112bc573d6000803e3d6000fd5b505050505050565b6000546001600160a01b031633146112ee5760405162461bcd60e51b81526004016104cb90613020565b60095460ff166113405760405162461bcd60e51b815260206004820152601c60248201527f63616e206f6e6c792063616c6c2061667465722073687574646f776e0000000060448201526064016104cb565b600260015414156113635760405162461bcd60e51b81526004016104cb9061308c565b60026001558181116113b75760405162461bcd60e51b815260206004820152601f60248201527f656e6420696e646578206d757374206265203e20737461727420696e6465780060448201526064016104cb565b6008548111156114095760405162461bcd60e51b815260206004820152601960248201527f656e6420696e646578203e206e6674206172726179206c656e0000000000000060448201526064016104cb565b815b818110156116295760006001600160a01b03166008828154811061143f57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0316146116175760006008828154811061147c57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031690508063e985e9c5306114ac6000546001600160a01b031690565b6040516001600160e01b031960e085901b1681526001600160a01b0392831660048201529116602482015260440160206040518083038186803b1580156114f257600080fd5b505afa158015611506573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061152a9190612da5565b61161557806001600160a01b031663a22cb46561154f6000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260016024820152604401600060405180830381600087803b15801561159757600080fd5b505af19250505080156115a8575060015b611615577f15ef0a22b447828793e3868ea14156162193975f53e135e369c5d9978213ab36600883815481106115ee57634e487b7160e01b600052603260045260246000fd5b600091825260209182902001546040516001600160a01b0390911681520160405180910390a15b505b8061162181613174565b91505061140b565b507f9a4cf90f374bfa2b06856f7b406b41f10091357588ba80d132fbb77a693ab89033600884846040516116609493929190612efe565b60405180910390a1505060018055565b600080546001600160a01b0316331461169b5760405162461bcd60e51b81526004016104cb90613020565b60095460ff16156116be5760405162461bcd60e51b81526004016104cb90613055565b60065460405163a9059cbb60e01b81526001600160a01b0385811660048301526024820185905290911690819063a9059cbb90604401602060405180830381600087803b15801561170e57600080fd5b505af1158015611722573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117469190612da5565b61178a5760405162461bcd60e51b8152602060048201526015602482015274115490cc8c081d1c985b9cd9995c8819985a5b1959605a1b60448201526064016104cb565b7f011c182fcc25e52151bf452608f627a605269882587c25b326e9eb16819557b63385856040516117bd93929190612eda565b60405180910390a15060019392505050565b6000546001600160a01b031633146117f95760405162461bcd60e51b81526004016104cb90613020565b60095460ff161561181c5760405162461bcd60e51b81526004016104cb90613055565b600454811115801561182d57508015155b6118495760405162461bcd60e51b81526004016104cb90612ff0565b6002600082815260026020526040902060059081015460ff169081111561188057634e487b7160e01b600052602160045260246000fd5b14156118ce5760405162461bcd60e51b815260206004820152601d60248201527f43616e27742063616e63656c20696620766f74652066696e697368656400000060448201526064016104cb565b6003600082815260026020526040902060059081015460ff169081111561190557634e487b7160e01b600052602160045260246000fd5b141561194f5760405162461bcd60e51b8152602060048201526019602482015278141c9bdc1bdcd85b08185b1c9958591e481c995cdbdb1d9959603a1b60448201526064016104cb565b600081815260026020526040902060059081015460ff168181111561198457634e487b7160e01b600052602160045260246000fd5b14156119d25760405162461bcd60e51b815260206004820152601e60248201527f50726f706f73616c20616c7265616479206661696c65642071756f72756d000060448201526064016104cb565b6004600082815260026020526040902060059081015460ff1690811115611a0957634e487b7160e01b600052602160045260246000fd5b1415611a575760405162461bcd60e51b815260206004820152601a60248201527f50726f706f73616c20616c72656164792063616e63656c6c656400000000000060448201526064016104cb565b60008181526002602052604090819020600501805460ff1916600490811790915590516000805160206131e283398151915291610563918491906130c3565b6000546001600160a01b03163314611ac05760405162461bcd60e51b81526004016104cb90613020565b60095460ff1615611ae35760405162461bcd60e51b81526004016104cb90613055565b6004548111158015611af457508015155b611b105760405162461bcd60e51b81526004016104cb90612ff0565b6002600082815260026020526040902060059081015460ff1690811115611b4757634e487b7160e01b600052602160045260246000fd5b14611b945760405162461bcd60e51b815260206004820152601e60248201527f50726f706f73616c206e6f7420696e20564f5445535f46494e4953484544000060448201526064016104cb565b60008181526002602052604090819020600501805460ff1916600390811790915590516000805160206131e283398151915291610563918491906130c3565b60606008805480602002602001604051908101604052809291908181526020018280548015611c2b57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611c0d575b5050505050905090565b60095460ff1615611c585760405162461bcd60e51b81526004016104cb90613055565b6004548111158015611c6957508015155b611c855760405162461bcd60e51b81526004016104cb90612ff0565b6000818152600260205260409020600460058083015460ff1690811115611cbc57634e487b7160e01b600052602160045260246000fd5b1415611cff5760405162461bcd60e51b8152602060048201526012602482015271141c9bdc1bdcd85b0818d85b98d95b1b195960721b60448201526064016104cb565b600360058083015460ff1690811115611d2857634e487b7160e01b600052602160045260246000fd5b1415611d725760405162461bcd60e51b8152602060048201526019602482015278141c9bdc1bdcd85b08185b1c9958591e481c995cdbdb1d9959603a1b60448201526064016104cb565b60058181015460ff1681811115611d9957634e487b7160e01b600052602160045260246000fd5b1415611de75760405162461bcd60e51b815260206004820152601e60248201527f50726f706f73616c206661696c656420746f206d6565742071756f72756d000060448201526064016104cb565b600060058083015460ff1690811115611e1057634e487b7160e01b600052602160045260246000fd5b148015611e205750806003015443105b15611e6d5760405162461bcd60e51b815260206004820152601b60248201527f546f6f206561726c7920746f206d6f766520746f20766f74696e67000000000060448201526064016104cb565b600160058083015460ff1690811115611e9657634e487b7160e01b600052602160045260246000fd5b148015611ea7575080600301544310155b8015611eb7575080600401544311155b15611efd5760405162461bcd60e51b815260206004820152601660248201527514dd1a5b1b081a5b881d9bdd1a5b99c81c195c9a5bd960521b60448201526064016104cb565b80600301544310158015611f15575080600401544311155b8015611f485750600160058083015460ff1690811115611f4557634e487b7160e01b600052602160045260246000fd5b14155b15611f68576005810180546001919060ff191682805b021790555061203f565b806003015443108015611fa25750600060058083015460ff1690811115611f9f57634e487b7160e01b600052602160045260246000fd5b14155b15611fbd576005810180546000919060ff1916600183611f5e565b806004015443118015611ff75750600260058083015460ff1690811115611ff457634e487b7160e01b600052602160045260246000fd5b14155b1561203f57600554816002015482600101546120139190613121565b1061202e576005810180546002919060ff1916600183611f5e565b6005818101805460ff191690911790555b600082815260026020526040902081548291908190839061205f90613139565b61206a929190612b78565b5060018281015482820155600280840154908301556003808401549083015560048084015490830155600580840154818401805460ff90921693909260ff199092169184908111156120cc57634e487b7160e01b600052602160045260246000fd5b0217905550505060058101546040516000805160206131e2833981519152916120fa91859160ff16906130c3565b60405180910390a15050565b60095460ff16156121295760405162461bcd60e51b81526004016104cb90613055565b6002600154141561214c5760405162461bcd60e51b81526004016104cb9061308c565b6002600155600454821180159061216257508115155b61217e5760405162461bcd60e51b81526004016104cb90612ff0565b6007546001600160a01b0316600081633a02a42d336040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260240160206040518083038186803b1580156121d257600080fd5b505afa1580156121e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061220a9190612e27565b9050600081116122515760405162461bcd60e51b81526020600482015260126024820152716d757374207374616b6520746f20766f746560701b60448201526064016104cb565b600084815260036020908152604080832033845290915290205460ff16156122bb5760405162461bcd60e51b815260206004820152601f60248201527f416c726561647920766f7465642066726f6d207468697320616464726573730060448201526064016104cb565b6000848152600260205260409020600160058083015460ff16908111156122f257634e487b7160e01b600052602160045260246000fd5b148015612303575080600401544311155b61234f5760405162461bcd60e51b815260206004820152601d60248201527f50726f706f73616c206e6f7420696e20766f74696e6720706572696f6400000060448201526064016104cb565b831561237457818160010160008282546123699190613121565b9091555061238e9050565b818160020160008282546123889190613121565b90915550505b600085815260036020908152604080832033808552908352818420805460ff191660011790558884526002835281842060049081015483516318b2355360e31b815291820192909252602481019190915290516001600160a01b0387169363c591aa9893604480850194919392918390030190829087803b15801561241257600080fd5b505af1158015612426573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061244a9190612da5565b61248e5760405162461bcd60e51b81526020600482015260156024820152741d9bdd194e881d1bdad95b881b1bd8dac819985a5b605a1b60448201526064016104cb565b60008581526002602052604090208154829190819083906124ae90613139565b6124b9929190612b78565b5060018281015482820155600280840154908301556003808401549083015560048084015490830155600580840154818401805460ff90921693909260ff1990921691849081111561251b57634e487b7160e01b600052602160045260246000fd5b02179055509050507fab63e912f390a63c02e4c6743df4f3705588d446bab0abcd0f4840df1a03ac2161254b3390565b604080516001600160a01b0390921682526020820188905281018490528515156060820152608001610b3f565b6000546001600160a01b031633146125a25760405162461bcd60e51b81526004016104cb90613020565b60095460ff16156125c55760405162461bcd60e51b81526004016104cb90613055565b600680546001600160a01b038381166001600160a01b03198316811790935516907f1b736919e446059718572a81155f93b87161eec8f2f468e0a2c4f97cff2ec9c090826126103390565b604080516001600160a01b03948516815292841660208401529216918101919091526060016120fa565b6000546001600160a01b031633146126645760405162461bcd60e51b81526004016104cb90613020565b60095460ff16156126875760405162461bcd60e51b81526004016104cb90613055565b6006546001600160a01b0316816126d55760405162461bcd60e51b8152602060048201526012602482015271071756f72756d2063616e6e6f7420626520360741b60448201526064016104cb565b806001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561270e57600080fd5b505afa158015612722573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127469190612e27565b8211156127955760405162461bcd60e51b815260206004820152601b60248201527f766f746573206e6565646564203e20746f6b656e20737570706c79000000000060448201526064016104cb565b50600555565b6000546001600160a01b031633146127c55760405162461bcd60e51b81526004016104cb90613020565b6001600160a01b03811661282a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104cb565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146128af5760405162461bcd60e51b81526004016104cb90613020565b60095460ff16156128d25760405162461bcd60e51b81526004016104cb90613055565b600780546001600160a01b038381166001600160a01b03198316811790935516907fa47a663187732da575fa498cee4f254ed77b7bc0baa7bf09a7da9f55dd604df190826126103390565b6000600454821115801561293057508115155b61294c5760405162461bcd60e51b81526004016104cb90612ff0565b6002600083815260026020526040902060059081015460ff169081111561298357634e487b7160e01b600052602160045260246000fd5b14806129c357506003600083815260026020526040902060059081015460ff16908111156129c157634e487b7160e01b600052602160045260246000fd5b145b80612a005750600082815260026020526040902060059081015460ff16818111156129fe57634e487b7160e01b600052602160045260246000fd5b145b612a4c5760405162461bcd60e51b815260206004820152601d60248201527f50726f706f73616c206d75737420626520616674657220766f74696e6700000060448201526064016104cb565b6000828152600260208190526040822090810154600190910154118015612ae557506002600084815260026020526040902060059081015460ff1690811115612aa557634e487b7160e01b600052602160045260246000fd5b1480612ae557506003600084815260026020526040902060059081015460ff1690811115612ae357634e487b7160e01b600052602160045260246000fd5b145b15612aee575060015b92915050565b828054612b0090613139565b90600052602060002090601f016020900481019282612b225760008555612b68565b82601f10612b3b57805160ff1916838001178555612b68565b82800160010185558215612b68579182015b82811115612b68578251825591602001919060010190612b4d565b50612b74929150612bf3565b5090565b828054612b8490613139565b90600052602060002090601f016020900481019282612ba65760008555612b68565b82601f10612bb75780548555612b68565b82800160010185558215612b6857600052602060002091601f016020900482015b82811115612b68578254825591600101919060010190612bd8565b5b80821115612b745760008155600101612bf4565b600067ffffffffffffffff80841115612c2357612c236131a5565b604051601f8501601f19908116603f01168101908282118183101715612c4b57612c4b6131a5565b81604052809350858152868686011115612c6457600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612c8f578081fd5b8135612c9a816131bb565b9392505050565b600060208284031215612cb2578081fd5b8151612c9a816131bb565b600080600060608486031215612cd1578182fd5b8335612cdc816131bb565b92506020840135612cec816131bb565b929592945050506040919091013590565b60008060008060808587031215612d12578081fd5b8435612d1d816131bb565b93506020850135612d2d816131bb565b925060408501359150606085013567ffffffffffffffff811115612d4f578182fd5b8501601f81018713612d5f578182fd5b612d6e87823560208401612c08565b91505092959194509250565b60008060408385031215612d8c578182fd5b8235612d97816131bb565b946020939093013593505050565b600060208284031215612db6578081fd5b8151612c9a816131d3565b600060208284031215612dd2578081fd5b813567ffffffffffffffff811115612de8578182fd5b8201601f81018413612df8578182fd5b612e0784823560208401612c08565b949350505050565b600060208284031215612e20578081fd5b5035919050565b600060208284031215612e38578081fd5b5051919050565b60008060408385031215612e51578182fd5b823591506020830135612e63816131d3565b809150509250929050565b60008060408385031215612e80578182fd5b50508035926020909101359150565b60008151808452815b81811015612eb457602081850181015186830182015201612e98565b81811115612ec55782602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b039384168152919092166020820152604081019190915260600190565b60006080820160018060a01b038088168452602060808186015282885480855260a0870191508986528286209450855b81811015612f4c578554851683526001958601959284019201612f2e565b50506040860197909752505050506060015292915050565b6020808252825182820181905260009190848201906040850190845b81811015612fa55783516001600160a01b031683529284019291840191600101612f80565b50909695505050505050565b60c081526000612fc460c0830189612e8f565b60208301979097525060408101949094526060840192909252608083015260ff1660a090910152919050565b602080825260169082015275141c9bdc1bdcd85b08191bd95cdb89dd08195e1a5cdd60521b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601f908201527f63616e6e6f742062652063616c6c65642061667465722073687574646f776e00604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b82815260408101600683106130e857634e487b7160e01b600052602160045260246000fd5b8260208301529392505050565b84815260806020820152600061310e6080830186612e8f565b6040830194909452506060015292915050565b600082198211156131345761313461318f565b500190565b600181811c9082168061314d57607f821691505b6020821081141561316e57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156131885761318861318f565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146131d057600080fd5b50565b80151581146131d057600080fdfe3346abf262ac5179e9052765fb72484e0baab1f356f08442bb7a3054147631dea2646970667358221220a63d79cb02dd2a0605a67a957b1a3b9fb3f1576c7bc98ace05fad8c943cf178e64736f6c63430008040033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102055760003560e01c8063a6f0f7c71161011a578063c5089dc0116100ad578063e82368ab1161007c578063e82368ab14610442578063ee8bcce614610455578063f2fde38b14610468578063f4e0d9ac1461047b578063f91f88f71461048e57600080fd5b8063c5089dc0146103fe578063c851ed6c14610413578063c9d27afe14610426578063da35c6641461043957600080fd5b8063b426d991116100e9578063b426d991146103c5578063b6a6d177146103d8578063b8c62ab8146103e0578063bf86d690146103f357600080fd5b8063a6f0f7c714610382578063aa12b59314610395578063ae77a708146103a8578063b1724b46146103bb57600080fd5b80635bcfadb51161019d578063715018a61161016c578063715018a61461034457806376014a401461034c5780638337f8da1461035f5780638da5cb5b14610368578063a438d2081461037957600080fd5b80635bcfadb5146102bb57806369e9cae1146102ce5780636e768530146102f1578063706edc0f1461031657600080fd5b806319cd0575116101d957806319cd0575146102865780633403c2fc14610298578063441a39f3146102a057806349c2a1a6146102a857600080fd5b806276796e1461020a5780630e9ed68b1461021f57806311ced45c14610249578063150b7a021461025a575b600080fd5b61021d610218366004612e0f565b6104a1565b005b6007546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b6006546001600160a01b031661022c565b61026d610268366004612cfd565b61056e565b6040516001600160e01b03199091168152602001610240565b6005545b604051908152602001610240565b61021d610624565b61028a610762565b61021d6102b6366004612dc1565b6107e6565b61021d6102c9366004612e0f565b610b52565b6102e16102dc366004612cbd565b610c0f565b6040519015158152602001610240565b6103046102ff366004612e0f565b610dcf565b60405161024096959493929190612fb1565b6102e1610324366004612e0f565b600090815260036020908152604080832033845290915290205460ff1690565b61021d610ef5565b61021d61035a366004612e6e565b610f69565b61028a600a5481565b6000546001600160a01b031661022c565b61028a600b5481565b61021d610390366004612e0f565b6111c7565b61021d6103a3366004612e6e565b6112c4565b6102e16103b6366004612d7a565b611670565b61028a62030d4081565b61021d6103d3366004612e0f565b6117cf565b61028a600581565b61021d6103ee366004612e0f565b611a96565b60095460ff166102e1565b610406611bd3565b6040516102409190612f64565b61021d610421366004612e0f565b611c35565b61021d610434366004612e3f565b612106565b61028a60045481565b61021d610450366004612c7e565b612578565b61021d610463366004612e0f565b61263a565b61021d610476366004612c7e565b61279b565b61021d610489366004612c7e565b612885565b6102e161049c366004612e0f565b61291d565b6000546001600160a01b031633146104d45760405162461bcd60e51b81526004016104cb90613020565b60405180910390fd5b6005811180156104e6575062030d4081105b6105325760405162461bcd60e51b815260206004820152601b60248201527f6475726174696f6e206d757374206265203e35203c313930303030000000000060448201526064016104cb565b600a8190556040518181527fbb3349c4ee7b53daeca1d3dc1890a839f0a436f8856eafd80f6e8e64bfd31510906020015b60405180910390a150565b60095460009060ff16156105945760405162461bcd60e51b81526004016104cb90613055565b600880546001810182556000919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30180546001600160a01b031916339081179091556040517ff45de2a4efbdd3cb1d3639c28f1798f2e4c60ff4cd9031fd2097ef76aebc15369161060b9188908790612eda565b60405180910390a1630a85bd0160e11b95945050505050565b6000546001600160a01b0316331461064e5760405162461bcd60e51b81526004016104cb90613020565b60095460ff16156106715760405162461bcd60e51b81526004016104cb90613055565b600260015414156106945760405162461bcd60e51b81526004016104cb9061308c565b60026001556007546001600160a01b0316806351ae58af336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401600060405180830381600087803b1580156106ed57600080fd5b505af1158015610701573d6000803e3d6000fd5b50506009805460ff19166001179055507f077382e0341a6d8666d1f8ed15b8c933a01f5c1a3e6c5229e2db8c5dc1c06ae1905061073b3390565b604080516001600160a01b0390921682524360208301520160405180910390a15060018055565b6006546040516370a0823160e01b81523060048201526000916001600160a01b03169081906370a082319060240160206040518083038186803b1580156107a857600080fd5b505afa1580156107bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e09190612e27565b91505090565b60095460ff16156108095760405162461bcd60e51b81526004016104cb90613055565b6002600154141561082c5760405162461bcd60e51b81526004016104cb9061308c565b60026001556007546001600160a01b0316600081633a02a42d336040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260240160206040518083038186803b15801561088557600080fd5b505afa158015610899573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108bd9190612e27565b1161090a5760405162461bcd60e51b815260206004820152601d60248201527f6d757374207374616b6520746f206372656174652070726f706f73616c00000060448201526064016104cb565b6000600a544361091a9190613121565b90506000600b548261092c9190613121565b905060006040518060c0016040528086815260200160008152602001600081526020018481526020018381526020016000600581111561097c57634e487b7160e01b600052602160045260246000fd5b905290506001600160a01b03841663c591aa983360808401516040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b1580156109db57600080fd5b505af11580156109ef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a139190612da5565b610a5f5760405162461bcd60e51b815260206004820152601f60248201527f63726561746550726f706f73616c3a20746f6b656e206c6f636b206661696c0060448201526064016104cb565b600160046000828254610a729190613121565b90915550506004546000908152600260209081526040909120825180518493610a9f928492910190612af4565b506020820151816001015560408201518160020155606082015181600301556080820151816004015560a08201518160050160006101000a81548160ff02191690836005811115610b0057634e487b7160e01b600052602160045260246000fd5b02179055509050507f5d072faeaf3fe9518eca824577834e1efc3ff209025796dd8819b72706cd0bd5600454868585604051610b3f94939291906130f5565b60405180910390a1505060018055505050565b6000546001600160a01b03163314610b7c5760405162461bcd60e51b81526004016104cb90613020565b600581118015610b8e575062030d4081105b610bda5760405162461bcd60e51b815260206004820152601b60248201527f6475726174696f6e206d757374206265203e35203c313930303030000000000060448201526064016104cb565b600b8190556040518181527f7b618bdde7807a5fed51719c1d5af2441afd29bee82e35b7c4f2e95b0cac9bca90602001610563565b600080546001600160a01b03163314610c3a5760405162461bcd60e51b81526004016104cb90613020565b60095460ff1615610c5d5760405162461bcd60e51b81526004016104cb90613055565b604051632142170760e11b815284906001600160a01b038216906342842e0e90610c8f90309088908890600401612eda565b600060405180830381600087803b158015610ca957600080fd5b505af1158015610cbd573d6000803e3d6000fd5b50506040516331a9108f60e11b8152600481018690526001600160a01b03878116935084169150636352211e9060240160206040518083038186803b158015610d0557600080fd5b505afa158015610d19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3d9190612ca1565b6001600160a01b031614610d895760405162461bcd60e51b8152602060048201526013602482015272139195081d1c985b9cd9995c8819985a5b1959606a1b60448201526064016104cb565b7f209eb5082bc3bcbd509ae679a680b3bb2a11b77fea542a93e205020af76529fc858585604051610dbc93929190612eda565b60405180910390a1506001949350505050565b606060008060008060006004548711158015610dea57508615155b610e065760405162461bcd60e51b81526004016104cb90612ff0565b60008781526002602081905260409091206001810154918101546003820154600483015460058085015494959460ff1690811115610e5457634e487b7160e01b600052602160045260246000fd5b858054610e6090613139565b80601f0160208091040260200160405190810160405280929190818152602001828054610e8c90613139565b8015610ed95780601f10610eae57610100808354040283529160200191610ed9565b820191906000526020600020905b815481529060010190602001808311610ebc57829003601f168201915b5050505050955095509550955095509550955091939550919395565b6000546001600160a01b03163314610f1f5760405162461bcd60e51b81526004016104cb90613020565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60095460ff16610fbb5760405162461bcd60e51b815260206004820152601c60248201527f63616e206f6e6c792063616c6c2061667465722073687574646f776e0000000060448201526064016104cb565b6000546001600160a01b03163314610fe55760405162461bcd60e51b81526004016104cb90613020565b8181116110345760405162461bcd60e51b815260206004820152601f60248201527f656e6420696e646578206d757374206265203e20737461727420696e6465780060448201526064016104cb565b600082116110845760405162461bcd60e51b815260206004820152601c60248201527f7374617274696e6720696e646578206d7573742065786365656420300000000060448201526064016104cb565b600454611092906001613121565b8111156110e15760405162461bcd60e51b815260206004820152601e60248201527f656e6420696e646578203e2070726f706f73616c20636f756e74202b2031000060448201526064016104cb565b815b818110156111c2576003600082815260026020526040902060059081015460ff169081111561112257634e487b7160e01b600052602160045260246000fd5b141580156111635750600081815260026020526040902060059081015460ff168181111561116057634e487b7160e01b600052602160045260246000fd5b14155b156111b05760008181526002602052604090819020600501805460ff1916600490811790915590516000805160206131e2833981519152916111a7918491906130c3565b60405180910390a15b806111ba81613174565b9150506110e3565b505050565b6000546001600160a01b031633146111f15760405162461bcd60e51b81526004016104cb90613020565b60095460ff16156112145760405162461bcd60e51b81526004016104cb90613055565b6000811161125a5760405162461bcd60e51b815260206004820152601360248201527243616e2774206d696e74203020746f6b656e7360681b60448201526064016104cb565b6006546040516340c10f1960e01b8152306004820152602481018390526001600160a01b039091169081906340c10f1990604401600060405180830381600087803b1580156112a857600080fd5b505af11580156112bc573d6000803e3d6000fd5b505050505050565b6000546001600160a01b031633146112ee5760405162461bcd60e51b81526004016104cb90613020565b60095460ff166113405760405162461bcd60e51b815260206004820152601c60248201527f63616e206f6e6c792063616c6c2061667465722073687574646f776e0000000060448201526064016104cb565b600260015414156113635760405162461bcd60e51b81526004016104cb9061308c565b60026001558181116113b75760405162461bcd60e51b815260206004820152601f60248201527f656e6420696e646578206d757374206265203e20737461727420696e6465780060448201526064016104cb565b6008548111156114095760405162461bcd60e51b815260206004820152601960248201527f656e6420696e646578203e206e6674206172726179206c656e0000000000000060448201526064016104cb565b815b818110156116295760006001600160a01b03166008828154811061143f57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0316146116175760006008828154811061147c57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031690508063e985e9c5306114ac6000546001600160a01b031690565b6040516001600160e01b031960e085901b1681526001600160a01b0392831660048201529116602482015260440160206040518083038186803b1580156114f257600080fd5b505afa158015611506573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061152a9190612da5565b61161557806001600160a01b031663a22cb46561154f6000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260016024820152604401600060405180830381600087803b15801561159757600080fd5b505af19250505080156115a8575060015b611615577f15ef0a22b447828793e3868ea14156162193975f53e135e369c5d9978213ab36600883815481106115ee57634e487b7160e01b600052603260045260246000fd5b600091825260209182902001546040516001600160a01b0390911681520160405180910390a15b505b8061162181613174565b91505061140b565b507f9a4cf90f374bfa2b06856f7b406b41f10091357588ba80d132fbb77a693ab89033600884846040516116609493929190612efe565b60405180910390a1505060018055565b600080546001600160a01b0316331461169b5760405162461bcd60e51b81526004016104cb90613020565b60095460ff16156116be5760405162461bcd60e51b81526004016104cb90613055565b60065460405163a9059cbb60e01b81526001600160a01b0385811660048301526024820185905290911690819063a9059cbb90604401602060405180830381600087803b15801561170e57600080fd5b505af1158015611722573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117469190612da5565b61178a5760405162461bcd60e51b8152602060048201526015602482015274115490cc8c081d1c985b9cd9995c8819985a5b1959605a1b60448201526064016104cb565b7f011c182fcc25e52151bf452608f627a605269882587c25b326e9eb16819557b63385856040516117bd93929190612eda565b60405180910390a15060019392505050565b6000546001600160a01b031633146117f95760405162461bcd60e51b81526004016104cb90613020565b60095460ff161561181c5760405162461bcd60e51b81526004016104cb90613055565b600454811115801561182d57508015155b6118495760405162461bcd60e51b81526004016104cb90612ff0565b6002600082815260026020526040902060059081015460ff169081111561188057634e487b7160e01b600052602160045260246000fd5b14156118ce5760405162461bcd60e51b815260206004820152601d60248201527f43616e27742063616e63656c20696620766f74652066696e697368656400000060448201526064016104cb565b6003600082815260026020526040902060059081015460ff169081111561190557634e487b7160e01b600052602160045260246000fd5b141561194f5760405162461bcd60e51b8152602060048201526019602482015278141c9bdc1bdcd85b08185b1c9958591e481c995cdbdb1d9959603a1b60448201526064016104cb565b600081815260026020526040902060059081015460ff168181111561198457634e487b7160e01b600052602160045260246000fd5b14156119d25760405162461bcd60e51b815260206004820152601e60248201527f50726f706f73616c20616c7265616479206661696c65642071756f72756d000060448201526064016104cb565b6004600082815260026020526040902060059081015460ff1690811115611a0957634e487b7160e01b600052602160045260246000fd5b1415611a575760405162461bcd60e51b815260206004820152601a60248201527f50726f706f73616c20616c72656164792063616e63656c6c656400000000000060448201526064016104cb565b60008181526002602052604090819020600501805460ff1916600490811790915590516000805160206131e283398151915291610563918491906130c3565b6000546001600160a01b03163314611ac05760405162461bcd60e51b81526004016104cb90613020565b60095460ff1615611ae35760405162461bcd60e51b81526004016104cb90613055565b6004548111158015611af457508015155b611b105760405162461bcd60e51b81526004016104cb90612ff0565b6002600082815260026020526040902060059081015460ff1690811115611b4757634e487b7160e01b600052602160045260246000fd5b14611b945760405162461bcd60e51b815260206004820152601e60248201527f50726f706f73616c206e6f7420696e20564f5445535f46494e4953484544000060448201526064016104cb565b60008181526002602052604090819020600501805460ff1916600390811790915590516000805160206131e283398151915291610563918491906130c3565b60606008805480602002602001604051908101604052809291908181526020018280548015611c2b57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611c0d575b5050505050905090565b60095460ff1615611c585760405162461bcd60e51b81526004016104cb90613055565b6004548111158015611c6957508015155b611c855760405162461bcd60e51b81526004016104cb90612ff0565b6000818152600260205260409020600460058083015460ff1690811115611cbc57634e487b7160e01b600052602160045260246000fd5b1415611cff5760405162461bcd60e51b8152602060048201526012602482015271141c9bdc1bdcd85b0818d85b98d95b1b195960721b60448201526064016104cb565b600360058083015460ff1690811115611d2857634e487b7160e01b600052602160045260246000fd5b1415611d725760405162461bcd60e51b8152602060048201526019602482015278141c9bdc1bdcd85b08185b1c9958591e481c995cdbdb1d9959603a1b60448201526064016104cb565b60058181015460ff1681811115611d9957634e487b7160e01b600052602160045260246000fd5b1415611de75760405162461bcd60e51b815260206004820152601e60248201527f50726f706f73616c206661696c656420746f206d6565742071756f72756d000060448201526064016104cb565b600060058083015460ff1690811115611e1057634e487b7160e01b600052602160045260246000fd5b148015611e205750806003015443105b15611e6d5760405162461bcd60e51b815260206004820152601b60248201527f546f6f206561726c7920746f206d6f766520746f20766f74696e67000000000060448201526064016104cb565b600160058083015460ff1690811115611e9657634e487b7160e01b600052602160045260246000fd5b148015611ea7575080600301544310155b8015611eb7575080600401544311155b15611efd5760405162461bcd60e51b815260206004820152601660248201527514dd1a5b1b081a5b881d9bdd1a5b99c81c195c9a5bd960521b60448201526064016104cb565b80600301544310158015611f15575080600401544311155b8015611f485750600160058083015460ff1690811115611f4557634e487b7160e01b600052602160045260246000fd5b14155b15611f68576005810180546001919060ff191682805b021790555061203f565b806003015443108015611fa25750600060058083015460ff1690811115611f9f57634e487b7160e01b600052602160045260246000fd5b14155b15611fbd576005810180546000919060ff1916600183611f5e565b806004015443118015611ff75750600260058083015460ff1690811115611ff457634e487b7160e01b600052602160045260246000fd5b14155b1561203f57600554816002015482600101546120139190613121565b1061202e576005810180546002919060ff1916600183611f5e565b6005818101805460ff191690911790555b600082815260026020526040902081548291908190839061205f90613139565b61206a929190612b78565b5060018281015482820155600280840154908301556003808401549083015560048084015490830155600580840154818401805460ff90921693909260ff199092169184908111156120cc57634e487b7160e01b600052602160045260246000fd5b0217905550505060058101546040516000805160206131e2833981519152916120fa91859160ff16906130c3565b60405180910390a15050565b60095460ff16156121295760405162461bcd60e51b81526004016104cb90613055565b6002600154141561214c5760405162461bcd60e51b81526004016104cb9061308c565b6002600155600454821180159061216257508115155b61217e5760405162461bcd60e51b81526004016104cb90612ff0565b6007546001600160a01b0316600081633a02a42d336040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260240160206040518083038186803b1580156121d257600080fd5b505afa1580156121e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061220a9190612e27565b9050600081116122515760405162461bcd60e51b81526020600482015260126024820152716d757374207374616b6520746f20766f746560701b60448201526064016104cb565b600084815260036020908152604080832033845290915290205460ff16156122bb5760405162461bcd60e51b815260206004820152601f60248201527f416c726561647920766f7465642066726f6d207468697320616464726573730060448201526064016104cb565b6000848152600260205260409020600160058083015460ff16908111156122f257634e487b7160e01b600052602160045260246000fd5b148015612303575080600401544311155b61234f5760405162461bcd60e51b815260206004820152601d60248201527f50726f706f73616c206e6f7420696e20766f74696e6720706572696f6400000060448201526064016104cb565b831561237457818160010160008282546123699190613121565b9091555061238e9050565b818160020160008282546123889190613121565b90915550505b600085815260036020908152604080832033808552908352818420805460ff191660011790558884526002835281842060049081015483516318b2355360e31b815291820192909252602481019190915290516001600160a01b0387169363c591aa9893604480850194919392918390030190829087803b15801561241257600080fd5b505af1158015612426573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061244a9190612da5565b61248e5760405162461bcd60e51b81526020600482015260156024820152741d9bdd194e881d1bdad95b881b1bd8dac819985a5b605a1b60448201526064016104cb565b60008581526002602052604090208154829190819083906124ae90613139565b6124b9929190612b78565b5060018281015482820155600280840154908301556003808401549083015560048084015490830155600580840154818401805460ff90921693909260ff1990921691849081111561251b57634e487b7160e01b600052602160045260246000fd5b02179055509050507fab63e912f390a63c02e4c6743df4f3705588d446bab0abcd0f4840df1a03ac2161254b3390565b604080516001600160a01b0390921682526020820188905281018490528515156060820152608001610b3f565b6000546001600160a01b031633146125a25760405162461bcd60e51b81526004016104cb90613020565b60095460ff16156125c55760405162461bcd60e51b81526004016104cb90613055565b600680546001600160a01b038381166001600160a01b03198316811790935516907f1b736919e446059718572a81155f93b87161eec8f2f468e0a2c4f97cff2ec9c090826126103390565b604080516001600160a01b03948516815292841660208401529216918101919091526060016120fa565b6000546001600160a01b031633146126645760405162461bcd60e51b81526004016104cb90613020565b60095460ff16156126875760405162461bcd60e51b81526004016104cb90613055565b6006546001600160a01b0316816126d55760405162461bcd60e51b8152602060048201526012602482015271071756f72756d2063616e6e6f7420626520360741b60448201526064016104cb565b806001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561270e57600080fd5b505afa158015612722573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127469190612e27565b8211156127955760405162461bcd60e51b815260206004820152601b60248201527f766f746573206e6565646564203e20746f6b656e20737570706c79000000000060448201526064016104cb565b50600555565b6000546001600160a01b031633146127c55760405162461bcd60e51b81526004016104cb90613020565b6001600160a01b03811661282a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104cb565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146128af5760405162461bcd60e51b81526004016104cb90613020565b60095460ff16156128d25760405162461bcd60e51b81526004016104cb90613055565b600780546001600160a01b038381166001600160a01b03198316811790935516907fa47a663187732da575fa498cee4f254ed77b7bc0baa7bf09a7da9f55dd604df190826126103390565b6000600454821115801561293057508115155b61294c5760405162461bcd60e51b81526004016104cb90612ff0565b6002600083815260026020526040902060059081015460ff169081111561298357634e487b7160e01b600052602160045260246000fd5b14806129c357506003600083815260026020526040902060059081015460ff16908111156129c157634e487b7160e01b600052602160045260246000fd5b145b80612a005750600082815260026020526040902060059081015460ff16818111156129fe57634e487b7160e01b600052602160045260246000fd5b145b612a4c5760405162461bcd60e51b815260206004820152601d60248201527f50726f706f73616c206d75737420626520616674657220766f74696e6700000060448201526064016104cb565b6000828152600260208190526040822090810154600190910154118015612ae557506002600084815260026020526040902060059081015460ff1690811115612aa557634e487b7160e01b600052602160045260246000fd5b1480612ae557506003600084815260026020526040902060059081015460ff1690811115612ae357634e487b7160e01b600052602160045260246000fd5b145b15612aee575060015b92915050565b828054612b0090613139565b90600052602060002090601f016020900481019282612b225760008555612b68565b82601f10612b3b57805160ff1916838001178555612b68565b82800160010185558215612b68579182015b82811115612b68578251825591602001919060010190612b4d565b50612b74929150612bf3565b5090565b828054612b8490613139565b90600052602060002090601f016020900481019282612ba65760008555612b68565b82601f10612bb75780548555612b68565b82800160010185558215612b6857600052602060002091601f016020900482015b82811115612b68578254825591600101919060010190612bd8565b5b80821115612b745760008155600101612bf4565b600067ffffffffffffffff80841115612c2357612c236131a5565b604051601f8501601f19908116603f01168101908282118183101715612c4b57612c4b6131a5565b81604052809350858152868686011115612c6457600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612c8f578081fd5b8135612c9a816131bb565b9392505050565b600060208284031215612cb2578081fd5b8151612c9a816131bb565b600080600060608486031215612cd1578182fd5b8335612cdc816131bb565b92506020840135612cec816131bb565b929592945050506040919091013590565b60008060008060808587031215612d12578081fd5b8435612d1d816131bb565b93506020850135612d2d816131bb565b925060408501359150606085013567ffffffffffffffff811115612d4f578182fd5b8501601f81018713612d5f578182fd5b612d6e87823560208401612c08565b91505092959194509250565b60008060408385031215612d8c578182fd5b8235612d97816131bb565b946020939093013593505050565b600060208284031215612db6578081fd5b8151612c9a816131d3565b600060208284031215612dd2578081fd5b813567ffffffffffffffff811115612de8578182fd5b8201601f81018413612df8578182fd5b612e0784823560208401612c08565b949350505050565b600060208284031215612e20578081fd5b5035919050565b600060208284031215612e38578081fd5b5051919050565b60008060408385031215612e51578182fd5b823591506020830135612e63816131d3565b809150509250929050565b60008060408385031215612e80578182fd5b50508035926020909101359150565b60008151808452815b81811015612eb457602081850181015186830182015201612e98565b81811115612ec55782602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b039384168152919092166020820152604081019190915260600190565b60006080820160018060a01b038088168452602060808186015282885480855260a0870191508986528286209450855b81811015612f4c578554851683526001958601959284019201612f2e565b50506040860197909752505050506060015292915050565b6020808252825182820181905260009190848201906040850190845b81811015612fa55783516001600160a01b031683529284019291840191600101612f80565b50909695505050505050565b60c081526000612fc460c0830189612e8f565b60208301979097525060408101949094526060840192909252608083015260ff1660a090910152919050565b602080825260169082015275141c9bdc1bdcd85b08191bd95cdb89dd08195e1a5cdd60521b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601f908201527f63616e6e6f742062652063616c6c65642061667465722073687574646f776e00604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b82815260408101600683106130e857634e487b7160e01b600052602160045260246000fd5b8260208301529392505050565b84815260806020820152600061310e6080830186612e8f565b6040830194909452506060015292915050565b600082198211156131345761313461318f565b500190565b600181811c9082168061314d57607f821691505b6020821081141561316e57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156131885761318861318f565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146131d057600080fd5b50565b80151581146131d057600080fdfe3346abf262ac5179e9052765fb72484e0baab1f356f08442bb7a3054147631dea2646970667358221220a63d79cb02dd2a0605a67a957b1a3b9fb3f1576c7bc98ace05fad8c943cf178e64736f6c63430008040033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.