Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
9,996,360 WIN
Holders
18
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.000000000000000029 WINValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
NguyeningDAO
Compiler Version
v0.8.7+commit.e28d00a7
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.0; //OpenZEPP import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; library IterableMapping { // Iterable mapping from address to uint; struct Map { address[] keys; mapping(address => uint256) values; mapping(address => uint256) indexOf; mapping(address => bool) inserted; } function get(Map storage map, address key) public view returns (uint256) { return map.values[key]; } function getIndexOfKey(Map storage map, address key) public view returns (int256) { if (!map.inserted[key]) { return -1; } return int256(map.indexOf[key]); } function getKeyAtIndex(Map storage map, uint256 index) public view returns (address) { return map.keys[index]; } function size(Map storage map) public view returns (uint256) { return map.keys.length; } function set( Map storage map, address key, uint256 val ) public { if (map.inserted[key]) { map.values[key] = val; } else { map.inserted[key] = true; map.values[key] = val; map.indexOf[key] = map.keys.length; map.keys.push(key); } } function remove(Map storage map, address key) public { if (!map.inserted[key]) { return; } delete map.inserted[key]; delete map.values[key]; uint256 index = map.indexOf[key]; uint256 lastIndex = map.keys.length - 1; address lastKey = map.keys[lastIndex]; map.indexOf[lastKey] = index; delete map.indexOf[key]; map.keys[index] = lastKey; map.keys.pop(); } } contract NodeManager is Ownable { // Declare all necessary variables using IterableMapping for IterableMapping.Map; uint256 public setupFee = 0.01 ether; // ONE-TIME ETH-USD FEE TO SETUP NODE uint256 public nodeFee = 100 * (10**18); // COST TO SETUP EACH NODE IN $WIN TOKENS uint256 public nodeReward = 1 * (10**18); // MAXIMUM REWARDS FOR NODE PER DAY uint256 public burnCount; // Keep track of total tokens burned uint256 public nodeLimit = 100; // Node Limit Per account uint256 public minAgeReduction = 8 hours; uint256 public totalNodes; uint256 public burnAmount = 20; // Tokent amount to be burned per node creation address public gateKeeper; address public token; struct RewardModel { uint256 rewardRate; uint256 lastUpdated; } struct NodeModel { uint256 creationTime; uint256 lastClaimTime; uint256 nodeLevel; uint256 rewards; } IterableMapping.Map private nodeOwners; mapping(address => NodeModel[]) private userNodes; RewardModel public rewardManager; constructor(address _gate, address _token) { token = _token; gateKeeper = _gate; rewardManager.rewardRate = nodeReward; rewardManager.lastUpdated = block.timestamp; } modifier onlyController() { require( msg.sender == token || msg.sender == gateKeeper || msg.sender == owner(), "ERROR: You are not authorized." ); _; } function uint2str(uint _i) internal pure returns (string memory _uintAsString) { if (_i == 0) { return "0"; } uint j = _i; uint len; while (j != 0) { len++; j /= 10; } bytes memory bstr = new bytes(len); uint k = len; while (_i != 0) { k = k-1; uint8 temp = (48 + uint8(_i - _i / 10 * 10)); bytes1 b1 = bytes1(temp); bstr[k] = b1; _i /= 10; } return string(bstr); } function setRewardRate(uint256 _amount) external onlyController{ require(_amount > 0 && _amount <= nodeReward, "Set Reward ERROR: Amount is not within boundaries."); rewardManager.rewardRate = _amount; rewardManager.lastUpdated = block.timestamp; } function totalRewards(address _account, uint256 _timeStamp) external view returns (uint256) { //REQUIRE TO BE A NODE OWNER require( nodeOwners.get(_account) > 0, "NODE ERROR: USER DO NOT OWN ANY NODES." ); uint256 rewardCount; NodeModel[] memory nodes = userNodes[_account]; for (uint256 i = 0; i < nodes.length; i++) { //NEED GET TOTAL AMOUNT OF REWARDS rewardCount += getRewardWithDecay(nodes[i], _timeStamp); rewardCount += nodes[i].rewards; } return rewardCount; } function claimAll(address _account, uint256 _timeStamp) external onlyController { //Need to add requirement to the GateKeeper NodeModel[] storage nodes = userNodes[_account]; for (uint256 i = 0; i < nodes.length; i++) { //Update node last claim time nodes[i].lastClaimTime = _timeStamp; nodes[i].rewards = 0; } //Last claim updated for all nodes, now rewards will be sent via main contract. //Rewards will be send from distribution pool which could be the token contract itself. } function updatePendingRewards(address _account, uint256 _amount) external onlyController{ userNodes[_account][0].rewards += _amount; } function createNode( uint256 _amount, address _account, uint256 _level ) external onlyController { for (uint256 i = 0; i < _amount; i++) { userNodes[_account].push( NodeModel({ creationTime: block.timestamp, lastClaimTime: block.timestamp, nodeLevel: _level, rewards: 0 }) ); } totalNodes = totalNodes + _amount; nodeOwners.set(_account, userNodes[_account].length); } function levelUp(address _account, uint256 _index, uint256 _level) external onlyController{ NodeModel[] storage nodes = userNodes[_account]; nodes[_index].rewards = nodes[_index].rewards + getRewardWithDecay(nodes[_index], block.timestamp); uint256 currentLevel = nodes[_index].nodeLevel; nodes[_index].nodeLevel = currentLevel + _level; currentLevel++; nodes[_index].lastClaimTime = block.timestamp; totalNodes = totalNodes + _level; uint256 creationTime = nodes[_index].creationTime; uint256 newCreationTime; for(uint256 i = 0; i < _level; i++){ uint256 addAge = (block.timestamp - creationTime)/(currentLevel + i); if(addAge < minAgeReduction) newCreationTime += minAgeReduction; else newCreationTime += addAge; } if(creationTime + newCreationTime >= block.timestamp) nodes[_index].creationTime = block.timestamp; else nodes[_index].creationTime += newCreationTime; } function getAllUserNodes(address _account) external view returns(string memory){ require(nodeOwners.get(_account) > 0, "GET NODE ERROR: USER DO NOT OWN ANY NODES."); NodeModel[] memory nodes = userNodes[_account]; string memory separator = "#"; string memory insep = ","; string memory data; {data = string(abi.encodePacked(uint2str(0), insep, uint2str(nodes[0].creationTime), insep, uint2str(nodes[0].lastClaimTime)));} {data = string(abi.encodePacked(data, insep, uint2str(nodes[0].nodeLevel), insep, uint2str(nodes[0].rewards)));} for (uint256 i = 1; i < nodes.length; i++) { {data = string(abi.encodePacked(data, separator, uint2str(i), insep, uint2str(nodes[i].creationTime))); } {data = string(abi.encodePacked(data, insep, uint2str(nodes[i].lastClaimTime), insep, uint2str(nodes[i].nodeLevel), insep, uint2str(nodes[i].rewards))); } } return data; } function getRangeUserNodes(address _account, uint256 _start, uint256 _end) external view returns(string memory){ require(nodeOwners.get(_account) > 0, "GET NODE ERROR: USER DO NOT OWN ANY NODES."); NodeModel[] memory nodes = userNodes[_account]; uint256 nodesCount = nodes.length; require(_end <= nodesCount && _start <= nodesCount && _start < _end, "Get Node ERROR: Need start or end to be within range."); string memory separator = "#"; string memory insep = ","; string memory data; {data = string(abi.encodePacked(uint2str(_start), insep, uint2str(nodes[_start].creationTime), insep, uint2str(nodes[_start].lastClaimTime))); } {data = string(abi.encodePacked(data, insep, uint2str(nodes[_start].nodeLevel), insep, uint2str(nodes[_start].rewards)));} for (uint256 i = _start+1; i <= _end; i++) { {data = string(abi.encodePacked(data, separator, uint2str(i), insep, uint2str(nodes[i].creationTime)));} {data = string(abi.encodePacked(data, insep, uint2str(nodes[i].lastClaimTime), insep, uint2str(nodes[i].nodeLevel), insep, uint2str(nodes[i].rewards)));} } return data; } function getNodeByIndex(address _account, uint256 _index) external view returns(string memory){ require(nodeOwners.get(_account) > 0, "GET NODE ERROR: USER DO NOT OWN ANY NODES."); NodeModel[] memory nodes = userNodes[_account]; require(_index < nodes.length, "Get Node ERROR: Index is not within range."); string memory insep = ","; return string(abi.encodePacked(uint2str(_index), insep, uint2str(nodes[_index].creationTime), insep, uint2str(nodes[_index].lastClaimTime), insep, uint2str(nodes[_index].nodeLevel), insep, uint2str(nodes[_index].rewards))); } function getRewardWithDecay(NodeModel memory node, uint256 _timeStamp) private view returns (uint256) { uint256 rewardCount; uint256 decay; if(_timeStamp >= node.creationTime + 540 days){ decay = (((_timeStamp - node.lastClaimTime) * ((rewardManager.rewardRate * node.nodeLevel) / 1 days)) / 10) * 9; } else if(_timeStamp >= node.creationTime + 360 days){ decay = (((_timeStamp - node.lastClaimTime) * ((rewardManager.rewardRate * node.nodeLevel) / 1 days)) / 4) * 3; } else if(_timeStamp >= node.creationTime + 180 days){ decay = ((_timeStamp - node.lastClaimTime) * ((rewardManager.rewardRate * node.nodeLevel) / 1 days)) / 2; } else if(_timeStamp >= node.creationTime + 90 days){ decay = ((_timeStamp - node.lastClaimTime) * ((rewardManager.rewardRate * node.nodeLevel) / 1 days)) / 4; } else { decay = 0; } rewardCount = (_timeStamp - node.lastClaimTime) * ((rewardManager.rewardRate * node.nodeLevel) / 1 days) - decay; return rewardCount; } function getRewardsByIndex(address _account, uint256 _timeStamp, uint256 _index) external view returns (uint256){ require(nodeOwners.get(_account) > 0, "GET NODE ERROR: USER DO NOT OWN ANY NODES."); NodeModel[] memory nodes = userNodes[_account]; require(_index < nodes.length, "Get Node ERROR: Index is not within range."); return getRewardWithDecay(nodes[_index], _timeStamp) + nodes[_index].rewards; } function getNodeNumberOf(address _account) external view returns (uint256) { return nodeOwners.get(_account); } function getLastRewardRateUpdate() external view returns (uint256){ return rewardManager.lastUpdated; } function setSetupFee(uint256 _amount) external onlyController { setupFee = _amount; } function setNodeFee(uint256 _amount) external onlyController { nodeFee = _amount; } function setReward(uint256 _amount) external onlyController { nodeReward = _amount; } function setBurnAmount(uint256 _amount) external onlyController { burnAmount = _amount; } function setNodeLimit(uint256 _amount) external onlyController { nodeLimit = _amount; } function setGateKeeper(address _account) external onlyController { gateKeeper = _account; } function setToken(address _account) external onlyController { token = _account; } function updateBurnCount(uint256 _amount) external onlyController { burnCount += _amount; } function setBurnCount(uint256 _amount) external onlyController { burnCount = _amount; } function setMinAgeReduction(uint256 _amount) external onlyController { minAgeReduction = _amount; } function getRewardRate() external view onlyController returns(uint256){ return rewardManager.rewardRate; } } contract NguyeningDAO is Ownable, ERC20, ERC20Burnable { NodeManager public nodeManager; address public distributionPool; uint256 public rewardTimer = 1 days; bool isPaused; mapping(address => bool) private blackList; constructor(address _distributionPool) ERC20("NguyeningDAO", "WIN") { _mint(msg.sender, 10000000 * (10**18)); distributionPool = _distributionPool; isPaused = false; } modifier contractPaused() { require(isPaused == false); _; } function _transfer( address from, address to, uint256 amount ) internal override contractPaused { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(!blackList[from] && !blackList[to], "Blacklisted address"); super._transfer(from, to, amount); } function claimAllRewards() public contractPaused { address account = msg.sender; uint256 time = block.timestamp; require( nodeManager.getNodeNumberOf(account) > 0, "CLAIM ERROR: YOU DONT HAVE ANY NODES." ); require( account != address(0), "CLAIM ERROR: ADDRESS CANNOT BE A ZERO ADDRESS." ); require(!blackList[account], "CLAIM ERROR: BLACKLISTED ADDRESS."); uint256 rewardAmount = nodeManager.totalRewards(account, time); require(rewardAmount > 0, "CLAIM ERROR: NOT ENOUGH REWARDS."); require( balanceOf(distributionPool) >= rewardAmount, "CLAIM ERROR: POOL DOES NOT HAVE ENOUGH REWARDS. WAIT TILL REPLENISH." ); nodeManager.claimAll(account, time); _transfer(distributionPool, account, rewardAmount); updateRewardRate(); } function makeNodes(uint256 _amount, uint256 _level) public payable contractPaused { address account = msg.sender; require( nodeManager.getNodeNumberOf(account) + _amount <= nodeManager.nodeLimit(), "NODE CREATION: YOU WILL EXCEEDED THE NODE LIMIT." ); require( account != address(0), "NODE CREATION: ADDRESS CANNOT BE A ZERO ADDRESS." ); require(_level > 0, "NODE CREATION: LEVEL MUST BE GREATER THAN ZERO."); require(!blackList[account], "NODE CREATION: BLACKLISTED ADDRESS."); uint256 nodePrice = nodeManager.nodeFee() * _amount * _level; uint256 setupFee = nodeManager.setupFee() * _amount * _level; require(msg.value >= setupFee, "NODE CREATION: User did not send enough ETH."); require( balanceOf(account) >= nodePrice, "NODE CREATION: Not enough tokens to create node(s)." ); super._transfer(account, distributionPool, nodePrice); nodeManager.createNode(_amount, account, _level); uint256 burnAmount = (nodeManager.burnAmount() * (10**18)) * _amount * _level; if (burnAmount >= 0 && balanceOf(distributionPool) > burnAmount) { super._burn(distributionPool, burnAmount); nodeManager.updateBurnCount(nodeManager.burnAmount() * _amount * _level); } updateRewardRate(); } function levelUpNode(uint256 _index, uint256 _level) public payable contractPaused { address account = msg.sender; uint256 myNodes = nodeManager.getNodeNumberOf(account); require( myNodes > 0, "LEVEL UP ERROR: YOU DONT HAVE ANY NODES." ); require((_index+1) <= myNodes, "LEVEL UP ERROR: THIS NODE INDEX DOES NOT EXIST."); require( account != address(0), "LEVEL UP ERROR: ADDRESS CANNOT BE A ZERO ADDRESS." ); require(_level > 0, "LEVEL UP ERROR: LEVEL MUST BE GREATER THAN ZERO."); require(!blackList[account], "CLAIM ERROR: BLACKLISTED ADDRESS."); uint256 nodePrice = nodeManager.nodeFee() * _level; uint256 setupFee = nodeManager.setupFee() * _level; require(msg.value >= setupFee, "LEVEL UP ERROR: User did not send enough ETH."); require( balanceOf(account) >= nodePrice, "LEVEL UP ERROR: Not enough tokens to create node(s)." ); super._transfer(account, distributionPool, nodePrice); nodeManager.levelUp(account, _index, _level); uint256 burnAmount = (nodeManager.burnAmount() * (10**18)) * _level; if (burnAmount >= 0 && balanceOf(distributionPool) > burnAmount) { super._burn(distributionPool, burnAmount); nodeManager.updateBurnCount(nodeManager.burnAmount() * _level); } updateRewardRate(); } function compoundRewardsToLevel(uint256 _index) public payable contractPaused { address account = msg.sender; uint256 myNodes = nodeManager.getNodeNumberOf(account); require( myNodes > 0, "COMPOUND ERROR: YOU DONT HAVE ANY NODES." ); require( account != address(0), "COMPOUND ERROR: ADDRESS CANNOT BE A ZERO ADDRESS." ); require(!blackList[account], "COMPOUND ERROR: BLACKLISTED ADDRESS."); uint256 totalReward = nodeManager.totalRewards(account,block.timestamp); uint256 level = totalReward / nodeManager.nodeFee(); require( level > 0, "COMPOUND ERROR: NOT ENOUGH REWARDS TO COMPUND TO LEVEL" ); require((_index+1) <= myNodes, "COMPOUND ERROR: THIS NODE INDEX DOES NOT EXIST."); uint256 setupFee = nodeManager.setupFee() * level; require(msg.value >= setupFee, "COMPOUNED ERROR: DID NOT SEND ENOUGH ETH FOR SETUP FEE."); nodeManager.claimAll(account, block.timestamp); nodeManager.levelUp(account, _index, level); nodeManager.updatePendingRewards(account, totalReward % nodeManager.nodeFee()); uint256 burnAmount = (nodeManager.burnAmount() * (10**18)) * level; if (burnAmount >= 0 && balanceOf(distributionPool) > burnAmount) { super._burn(distributionPool, burnAmount); nodeManager.updateBurnCount( nodeManager.burnAmount() * level ); } updateRewardRate(); } function compoundRewards(uint256 _level) public payable contractPaused{ address account = msg.sender; require( nodeManager.getNodeNumberOf(account) > 0, "COMPOUND ERROR: YOU DONT HAVE ANY NODES." ); require(_level > 0, "COMPOUND ERROR: THE LEVEL MUST BE GREATER THAN ZERO."); require( account != address(0), "COMPOUND ERROR: ADDRESS CANNOT BE A ZERO ADDRESS." ); require(!blackList[account], "COMPOUND ERROR: BLACKLISTED ADDRESS."); uint256 totalReward = nodeManager.totalRewards(account, block.timestamp); uint256 amountOfNodes = totalReward / (nodeManager.nodeFee() * _level); require( amountOfNodes > 0, "COMPOUND ERROR: NOT ENOUGH REWARDS TO COMPUND TO NODE" ); require( nodeManager.getNodeNumberOf(account) + amountOfNodes <= nodeManager.nodeLimit(), "COMPOUND ERROR: YOU WILL EXCEEDED THE NODE LIMIT." ); uint256 setupFee = nodeManager.setupFee() * amountOfNodes * _level; require(msg.value >= setupFee, "COMPOUNED ERROR: DID NOT SEND ENOUGH ETH FOR SETUP FEE."); nodeManager.claimAll(account, block.timestamp); nodeManager.createNode(amountOfNodes, account, _level); nodeManager.updatePendingRewards(account, totalReward % nodeManager.nodeFee()); uint256 burnAmount = (nodeManager.burnAmount() * (10**18)) * amountOfNodes * _level; if (burnAmount >= 0 && balanceOf(distributionPool) > burnAmount) { super._burn(distributionPool, burnAmount); nodeManager.updateBurnCount( nodeManager.burnAmount() * amountOfNodes * _level ); } updateRewardRate(); } function getNodeRewards(address _account) public view contractPaused returns (uint256) { return nodeManager.totalRewards(_account, block.timestamp); } function updateRewardRate() private { uint256 lastUpdated = nodeManager.getLastRewardRateUpdate(); if(block.timestamp >= (lastUpdated + rewardTimer)){ uint256 poolBalance = balanceOf(distributionPool); uint256 nodeReward = nodeManager.nodeReward(); uint256 totalDailyRewards = getTotalNodeCount() * nodeReward; uint256 newReward; if(poolBalance/totalDailyRewards >= 75){ newReward = nodeReward; } else if(poolBalance/totalDailyRewards >= 60){ newReward = (nodeReward / 10) * 8; } else if(poolBalance/totalDailyRewards >= 40){ newReward = (nodeReward / 10) * 6; } else if(poolBalance/totalDailyRewards >= 25){ newReward = (nodeReward / 10) * 4; } else { newReward = (nodeReward / 10) * 2; } nodeManager.setRewardRate(newReward); } } function getNodeCount(address _account) public view contractPaused returns (uint256) { return nodeManager.getNodeNumberOf(_account); } function getTotalNodeCount() public view contractPaused returns (uint256) { return nodeManager.totalNodes(); } function getNodeSetupFee() public view contractPaused returns (uint256) { return nodeManager.setupFee(); } function getNodeFee() public view contractPaused returns (uint256) { return nodeManager.nodeFee(); } function getRewardAmountPerNode() public view contractPaused returns (uint256) { return nodeManager.getRewardRate(); } function getBurnAmount() public view contractPaused returns (uint256) { return nodeManager.burnAmount(); } function getAllUserNodes(address _account) public view contractPaused returns(string memory){ return nodeManager.getAllUserNodes(_account); } function getNodeByIndex(address _account, uint256 _index) public view contractPaused returns(string memory){ return nodeManager.getNodeByIndex(_account, _index); } function getRangeUserNodes(address _account, uint256 _start, uint256 _end) public view contractPaused returns(string memory){ return nodeManager.getRangeUserNodes(_account, _start, _end); } function getRewardByIndex(address _account, uint256 _index) public view contractPaused returns(uint256){ return nodeManager.getRewardsByIndex(_account, block.timestamp, _index); } function getBurnCount() public view contractPaused returns(uint256){ return nodeManager.burnCount(); } function getNodeLimit() public view contractPaused returns(uint256){ return nodeManager.nodeLimit(); } function getBalanceOfDistPool() public view contractPaused returns(uint256){ return balanceOf(distributionPool); } function getBaseReward() public view contractPaused returns(uint256){ return nodeManager.nodeReward(); } function getMinAgeReduction() public view contractPaused returns(uint256 age){ return nodeManager.minAgeReduction(); } //Owner Functions function pauseContract(bool _pause) public onlyOwner { isPaused = _pause; } function setRewardRate(uint256 _amount) public onlyOwner{ nodeManager.setRewardRate(_amount); } function setDistributionPool(address _contract) public onlyOwner { distributionPool = _contract; } function setNodeManager(address _contract) external onlyOwner { nodeManager = NodeManager(_contract); } function claimETH() public payable onlyOwner { require(payable(msg.sender).send(address(this).balance)); } function setSetupFee(uint256 _amount) public onlyOwner { nodeManager.setSetupFee(_amount); } function setNodeFee(uint256 _amount) public onlyOwner { nodeManager.setNodeFee(_amount); } function setBaseReward(uint256 _amount) public onlyOwner { nodeManager.setReward(_amount); } function setBurnAmount(uint256 _amount) public onlyOwner { nodeManager.setBurnAmount(_amount); } function setNodeLimit(uint256 _amount) public onlyOwner { nodeManager.setNodeLimit(_amount); } function setGateKeeper(address _account) public onlyOwner { nodeManager.setGateKeeper(_account); } function setToken(address _account) public onlyOwner { nodeManager.setToken(_account); } function setBurnCount(uint256 _amount) public onlyOwner { nodeManager.setBurnCount(_amount); } function setRewardTimer(uint256 _amount) public onlyOwner { rewardTimer = _amount; } function ageReduction(uint256 _amount) public onlyOwner { nodeManager.setMinAgeReduction(_amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.0; import "../ERC20.sol"; import "../../../utils/Context.sol"; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { uint256 currentAllowance = allowance(account, _msgSender()); require(currentAllowance >= amount, "ERC20: burn amount exceeds allowance"); unchecked { _approve(account, _msgSender(), currentAllowance - amount); } _burn(account, amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev 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 { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_distributionPool","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","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":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"ageReduction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimAllRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_level","type":"uint256"}],"name":"compoundRewards","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_index","type":"uint256"}],"name":"compoundRewardsToLevel","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"distributionPool","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"getAllUserNodes","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBalanceOfDistPool","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBurnAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBurnCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMinAgeReduction","outputs":[{"internalType":"uint256","name":"age","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_index","type":"uint256"}],"name":"getNodeByIndex","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"getNodeCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNodeFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNodeLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"getNodeRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNodeSetupFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_start","type":"uint256"},{"internalType":"uint256","name":"_end","type":"uint256"}],"name":"getRangeUserNodes","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRewardAmountPerNode","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_index","type":"uint256"}],"name":"getRewardByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalNodeCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_index","type":"uint256"},{"internalType":"uint256","name":"_level","type":"uint256"}],"name":"levelUpNode","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_level","type":"uint256"}],"name":"makeNodes","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nodeManager","outputs":[{"internalType":"contract NodeManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_pause","type":"bool"}],"name":"pauseContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardTimer","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setBaseReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setBurnAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setBurnCount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"}],"name":"setDistributionPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"setGateKeeper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setNodeFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setNodeLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"}],"name":"setNodeManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setRewardRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setRewardTimer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setSetupFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"setToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052620151806008553480156200001857600080fd5b5060405162004afd38038062004afd8339810160408190526200003b91620002f3565b6040518060400160405280600c81526020016b4e677579656e696e6744414f60a01b815250604051806040016040528060038152602001622ba4a760e91b81525062000096620000906200011160201b60201c565b62000115565b8151620000ab9060049060208501906200024d565b508051620000c19060059060208401906200024d565b505050620000e1336a084595161401484a0000006200016560201b60201c565b600780546001600160a01b0319166001600160a01b03929092169190911790556009805460ff1916905562000389565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216620001c05760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060036000828254620001d4919062000325565b90915550506001600160a01b038216600090815260016020526040812080548392906200020390849062000325565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b8280546200025b906200034c565b90600052602060002090601f0160209004810192826200027f5760008555620002ca565b82601f106200029a57805160ff1916838001178555620002ca565b82800160010185558215620002ca579182015b82811115620002ca578251825591602001919060010190620002ad565b50620002d8929150620002dc565b5090565b5b80821115620002d85760008155600101620002dd565b6000602082840312156200030657600080fd5b81516001600160a01b03811681146200031e57600080fd5b9392505050565b600082198211156200034757634e487b7160e01b600052601160045260246000fd5b500190565b600181811c908216806200036157607f821691505b602082108114156200038357634e487b7160e01b600052602260045260246000fd5b50919050565b61476480620003996000396000f3fe6080604052600436106103505760003560e01c806379cc6790116101c6578063c76c77a1116100f7578063e272b89211610095578063f2fde38b1161006f578063f2fde38b1461092b578063f4887f151461094b578063f90f0eaa1461096b578063fd2a95721461098057600080fd5b8063e272b892146108e1578063e715013414610901578063e7cf548c1461091657600080fd5b8063d02cfe3b116100d1578063d02cfe3b14610853578063d0c5c58514610873578063d90a962614610888578063dd62ed3e1461089b57600080fd5b8063c76c77a1146107f3578063c802b83014610813578063cc43f3d31461083357600080fd5b80639d5b9c6a11610164578063a9059cbb1161013e578063a9059cbb1461077e578063b98e652a1461079e578063c5ca7d6d146107b3578063c6943dae146107d357600080fd5b80639d5b9c6a1461071e5780639e447fc61461073e578063a457c2d71461075e57600080fd5b806395d89b41116101a057806395d89b41146106b4578063997f8491146106c95780639b20007a146106e95780639bb5cd3f146106fe57600080fd5b806379cc67901461064257806389093310146106625780638da5cb5b1461068257600080fd5b806339509351116102a05780635be645c61161023e578063672729991161021857806367272999146105e55780636f493dff146105ed57806370a082311461060d578063715018a61461062d57600080fd5b80635be645c61461059d5780635c38dd46146105bd578063656c579f146105d257600080fd5b806342966c681161027a57806342966c681461052a5780634e9acc3b1461054a578063519f6a4d1461056a5780635a06627b1461058a57600080fd5b806339509351146104d55780634110fe25146104f557806342431fb61461050a57600080fd5b8063144fa6d71161030d57806325f18e9e116102e757806325f18e9e1461047b57806327e08a3f1461049157806328f57936146104a4578063313ce567146104b957600080fd5b8063144fa6d71461042657806318160ddd1461044657806323b872dd1461045b57600080fd5b80630373a23a14610355578063053186411461037757806306fdde031461039f578063095ea7b3146103c15780630b83a727146103f15780631319e7e114610406575b600080fd5b34801561036157600080fd5b50610375610370366004614316565b6109a0565b005b34801561038357600080fd5b5061038c610a35565b6040519081526020015b60405180910390f35b3480156103ab57600080fd5b506103b4610ad3565b60405161039691906143a4565b3480156103cd57600080fd5b506103e16103dc3660046141ea565b610b65565b6040519015158152602001610396565b3480156103fd57600080fd5b50610375610b7b565b34801561041257600080fd5b50610375610421366004614160565b610f04565b34801561043257600080fd5b50610375610441366004614160565b610f50565b34801561045257600080fd5b5060035461038c565b34801561046757600080fd5b506103e16104763660046141ae565b610fac565b34801561048757600080fd5b5061038c60085481565b61037561049f366004614316565b611056565b3480156104b057600080fd5b5061038c61178c565b3480156104c557600080fd5b5060405160128152602001610396565b3480156104e157600080fd5b506103e16104f03660046141ea565b6117ed565b34801561050157600080fd5b5061038c611829565b34801561051657600080fd5b50610375610525366004614316565b61188a565b34801561053657600080fd5b50610375610545366004614316565b6118e5565b34801561055657600080fd5b50610375610565366004614316565b6118f2565b34801561057657600080fd5b5061038c610585366004614160565b61194d565b610375610598366004614348565b6119ea565b3480156105a957600080fd5b506103b46105b8366004614160565b61200d565b3480156105c957600080fd5b5061038c6120a1565b6103756105e0366004614316565b6120c9565b61037561299d565b3480156105f957600080fd5b5061038c610608366004614160565b6129ed565b34801561061957600080fd5b5061038c610628366004614160565b612a32565b34801561063957600080fd5b50610375612a4d565b34801561064e57600080fd5b5061037561065d3660046141ea565b612a81565b34801561066e57600080fd5b5061037561067d366004614316565b612b02565b34801561068e57600080fd5b506000546001600160a01b03165b6040516001600160a01b039091168152602001610396565b3480156106c057600080fd5b506103b4612b5d565b3480156106d557600080fd5b506103756106e4366004614316565b612b6c565b3480156106f557600080fd5b5061038c612b9b565b34801561070a57600080fd5b5060065461069c906001600160a01b031681565b34801561072a57600080fd5b506103b4610739366004614214565b612bfc565b34801561074a57600080fd5b50610375610759366004614316565b612c9f565b34801561076a57600080fd5b506103e16107793660046141ea565b612cfa565b34801561078a57600080fd5b506103e16107993660046141ea565b612d93565b3480156107aa57600080fd5b5061038c612da0565b3480156107bf57600080fd5b5060075461069c906001600160a01b031681565b3480156107df57600080fd5b506103b46107ee3660046141ea565b612e01565b3480156107ff57600080fd5b5061037561080e366004614316565b612ea1565b34801561081f57600080fd5b5061038c61082e3660046141ea565b612efc565b34801561083f57600080fd5b5061037561084e366004614316565b612f93565b34801561085f57600080fd5b5061037561086e366004614316565b612fee565b34801561087f57600080fd5b5061038c613049565b610375610896366004614348565b6130aa565b3480156108a757600080fd5b5061038c6108b636600461417b565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b3480156108ed57600080fd5b506103756108fc366004614247565b613744565b34801561090d57600080fd5b5061038c613781565b34801561092257600080fd5b5061038c6137e2565b34801561093757600080fd5b50610375610946366004614160565b613843565b34801561095757600080fd5b50610375610966366004614160565b6138db565b34801561097757600080fd5b5061038c613937565b34801561098c57600080fd5b5061037561099b366004614160565b613998565b6000546001600160a01b031633146109d35760405162461bcd60e51b81526004016109ca90614462565b60405180910390fd5b60065460405163149df22b60e11b8152600481018390526001600160a01b039091169063293be456906024015b600060405180830381600087803b158015610a1a57600080fd5b505af1158015610a2e573d6000803e3d6000fd5b5050505050565b60095460009060ff1615610a4857600080fd5b600660009054906101000a90046001600160a01b03166001600160a01b0316635de3c6ce6040518163ffffffff1660e01b815260040160206040518083038186803b158015610a9657600080fd5b505afa158015610aaa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ace919061432f565b905090565b606060048054610ae29061469d565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0e9061469d565b8015610b5b5780601f10610b3057610100808354040283529160200191610b5b565b820191906000526020600020905b815481529060010190602001808311610b3e57829003601f168201915b5050505050905090565b6000610b723384846139e4565b50600192915050565b60095460ff1615610b8b57600080fd5b600654604051633dd3264d60e21b815233600482018190529142916000916001600160a01b03169063f74c99349060240160206040518083038186803b158015610bd457600080fd5b505afa158015610be8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0c919061432f565b11610c675760405162461bcd60e51b815260206004820152602560248201527f434c41494d204552524f523a20594f5520444f4e54204841564520414e59204e60448201526427a222a99760d91b60648201526084016109ca565b6001600160a01b038216610cd45760405162461bcd60e51b815260206004820152602e60248201527f434c41494d204552524f523a20414444524553532043414e4e4f54204245204160448201526d102d22a9279020a2222922a9a99760911b60648201526084016109ca565b6001600160a01b0382166000908152600a602052604090205460ff1615610d0d5760405162461bcd60e51b81526004016109ca90614571565b60065460405163227df59960e21b81526000916001600160a01b0316906389f7d66490610d40908690869060040161436a565b60206040518083038186803b158015610d5857600080fd5b505afa158015610d6c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d90919061432f565b905060008111610de25760405162461bcd60e51b815260206004820181905260248201527f434c41494d204552524f523a204e4f5420454e4f55474820524557415244532e60448201526064016109ca565b6007548190610df9906001600160a01b0316612a32565b1015610e7b5760405162461bcd60e51b8152602060048201526044602482018190527f434c41494d204552524f523a20504f4f4c20444f4553204e4f54204841564520908201527f454e4f55474820524557415244532e20574149542054494c4c205245504c454e60648201526324a9a41760e11b608482015260a4016109ca565b600654604051635cf20c7b60e01b81526001600160a01b0390911690635cf20c7b90610ead908690869060040161436a565b600060405180830381600087803b158015610ec757600080fd5b505af1158015610edb573d6000803e3d6000fd5b5050600754610ef792506001600160a01b031690508483613b08565b610eff613bf3565b505050565b6000546001600160a01b03163314610f2e5760405162461bcd60e51b81526004016109ca90614462565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610f7a5760405162461bcd60e51b81526004016109ca90614462565b60065460405163144fa6d760e01b81526001600160a01b0383811660048301529091169063144fa6d790602401610a00565b6000610fb9848484613b08565b6001600160a01b03841660009081526002602090815260408083203384529091529020548281101561103e5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084016109ca565b61104b85338584036139e4565b506001949350505050565b60095460ff161561106657600080fd5b600654604051633dd3264d60e21b81523360048201819052916000916001600160a01b039091169063f74c99349060240160206040518083038186803b1580156110af57600080fd5b505afa1580156110c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e7919061432f565b9050600081116111095760405162461bcd60e51b81526004016109ca9061441a565b6001600160a01b03821661112f5760405162461bcd60e51b81526004016109ca906144db565b6001600160a01b0382166000908152600a602052604090205460ff16156111685760405162461bcd60e51b81526004016109ca90614497565b60065460405163227df59960e21b81526000916001600160a01b0316906389f7d6649061119b908690429060040161436a565b60206040518083038186803b1580156111b357600080fd5b505afa1580156111c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111eb919061432f565b90506000600660009054906101000a90046001600160a01b03166001600160a01b031663f41625306040518163ffffffff1660e01b815260040160206040518083038186803b15801561123d57600080fd5b505afa158015611251573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611275919061432f565b61127f9083614627565b9050600081116112f05760405162461bcd60e51b815260206004820152603660248201527f434f4d504f554e44204552524f523a204e4f5420454e4f5547482052455741526044820152751114c81513c810d3d354155391081513c8131155915360521b60648201526084016109ca565b826112fc86600161460f565b11156113625760405162461bcd60e51b815260206004820152602f60248201527f434f4d504f554e44204552524f523a2054484953204e4f444520494e4445582060448201526e2227a2a9902727aa1022ac24a9aa1760891b60648201526084016109ca565b600081600660009054906101000a90046001600160a01b03166001600160a01b031663a40b56b96040518163ffffffff1660e01b815260040160206040518083038186803b1580156113b357600080fd5b505afa1580156113c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113eb919061432f565b6113f5919061463b565b9050803410156114175760405162461bcd60e51b81526004016109ca906145b2565b600654604051635cf20c7b60e01b81526001600160a01b0390911690635cf20c7b90611449908890429060040161436a565b600060405180830381600087803b15801561146357600080fd5b505af1158015611477573d6000803e3d6000fd5b50506006546040516335a42fa760e01b81526001600160a01b0390911692506335a42fa791506114af9088908a908790600401614383565b600060405180830381600087803b1580156114c957600080fd5b505af11580156114dd573d6000803e3d6000fd5b505060065460408051630f41625360e41b815290516001600160a01b03909216935063614e474f92508891849163f4162530916004808301926020929190829003018186803b15801561152f57600080fd5b505afa158015611543573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611567919061432f565b61157190876146d8565b6040518363ffffffff1660e01b815260040161158e92919061436a565b600060405180830381600087803b1580156115a857600080fd5b505af11580156115bc573d6000803e3d6000fd5b50505050600082600660009054906101000a90046001600160a01b03166001600160a01b031663486a7e6b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561161157600080fd5b505afa158015611625573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611649919061432f565b61165b90670de0b6b3a764000061463b565b611665919061463b565b9050600754819061167e906001600160a01b0316612a32565b111561177b5760075461169a906001600160a01b031682613e55565b6006546040805163486a7e6b60e01b815290516001600160a01b039092169163a87037c3918691849163486a7e6b916004808301926020929190829003018186803b1580156116e857600080fd5b505afa1580156116fc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611720919061432f565b61172a919061463b565b6040518263ffffffff1660e01b815260040161174891815260200190565b600060405180830381600087803b15801561176257600080fd5b505af1158015611776573d6000803e3d6000fd5b505050505b611783613bf3565b50505050505050565b60095460009060ff161561179f57600080fd5b600660009054906101000a90046001600160a01b03166001600160a01b031663a40b56b96040518163ffffffff1660e01b815260040160206040518083038186803b158015610a9657600080fd5b3360008181526002602090815260408083206001600160a01b03871684529091528120549091610b7291859061182490869061460f565b6139e4565b60095460009060ff161561183c57600080fd5b600660009054906101000a90046001600160a01b03166001600160a01b0316639592d4246040518163ffffffff1660e01b815260040160206040518083038186803b158015610a9657600080fd5b6000546001600160a01b031633146118b45760405162461bcd60e51b81526004016109ca90614462565b6006546040516321218fdb60e11b8152600481018390526001600160a01b03909116906342431fb690602401610a00565b6118ef3382613e55565b50565b6000546001600160a01b0316331461191c5760405162461bcd60e51b81526004016109ca90614462565b600654604051634e9acc3b60e01b8152600481018390526001600160a01b0390911690634e9acc3b90602401610a00565b60095460009060ff161561196057600080fd5b60065460405163227df59960e21b81526001600160a01b03909116906389f7d66490611992908590429060040161436a565b60206040518083038186803b1580156119aa57600080fd5b505afa1580156119be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119e2919061432f565b90505b919050565b60095460ff16156119fa57600080fd5b600654604051633dd3264d60e21b81523360048201819052916000916001600160a01b039091169063f74c99349060240160206040518083038186803b158015611a4357600080fd5b505afa158015611a57573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a7b919061432f565b905060008111611ade5760405162461bcd60e51b815260206004820152602860248201527f4c4556454c205550204552524f523a20594f5520444f4e54204841564520414e6044820152672c902727a222a99760c11b60648201526084016109ca565b80611aea85600161460f565b1115611b505760405162461bcd60e51b815260206004820152602f60248201527f4c4556454c205550204552524f523a2054484953204e4f444520494e4445582060448201526e2227a2a9902727aa1022ac24a9aa1760891b60648201526084016109ca565b6001600160a01b038216611bc05760405162461bcd60e51b815260206004820152603160248201527f4c4556454c205550204552524f523a20414444524553532043414e4e4f542042604482015270229020902d22a9279020a2222922a9a99760791b60648201526084016109ca565b60008311611c295760405162461bcd60e51b815260206004820152603060248201527f4c4556454c205550204552524f523a204c4556454c204d55535420424520475260448201526f22a0aa22a9102a2420a7102d22a9279760811b60648201526084016109ca565b6001600160a01b0382166000908152600a602052604090205460ff1615611c625760405162461bcd60e51b81526004016109ca90614571565b600083600660009054906101000a90046001600160a01b03166001600160a01b031663f41625306040518163ffffffff1660e01b815260040160206040518083038186803b158015611cb357600080fd5b505afa158015611cc7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ceb919061432f565b611cf5919061463b565b9050600084600660009054906101000a90046001600160a01b03166001600160a01b031663a40b56b96040518163ffffffff1660e01b815260040160206040518083038186803b158015611d4857600080fd5b505afa158015611d5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d80919061432f565b611d8a919061463b565b905080341015611df25760405162461bcd60e51b815260206004820152602d60248201527f4c4556454c205550204552524f523a205573657220646964206e6f742073656e60448201526c321032b737bab3b41022aa241760991b60648201526084016109ca565b81611dfc85612a32565b1015611e675760405162461bcd60e51b815260206004820152603460248201527f4c4556454c205550204552524f523a204e6f7420656e6f75676820746f6b656e60448201527339903a379031b932b0ba32903737b2329439949760611b60648201526084016109ca565b600754611e7f9085906001600160a01b031684613fa3565b6006546040516335a42fa760e01b81526001600160a01b03909116906335a42fa790611eb39087908a908a90600401614383565b600060405180830381600087803b158015611ecd57600080fd5b505af1158015611ee1573d6000803e3d6000fd5b50505050600085600660009054906101000a90046001600160a01b03166001600160a01b031663486a7e6b6040518163ffffffff1660e01b815260040160206040518083038186803b158015611f3657600080fd5b505afa158015611f4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f6e919061432f565b611f8090670de0b6b3a764000061463b565b611f8a919061463b565b90506007548190611fa3906001600160a01b0316612a32565b111561177b57600754611fbf906001600160a01b031682613e55565b6006546040805163486a7e6b60e01b815290516001600160a01b039092169163a87037c3918991849163486a7e6b916004808301926020929190829003018186803b1580156116e857600080fd5b60095460609060ff161561202057600080fd5b600654604051632df322e360e11b81526001600160a01b03848116600483015290911690635be645c69060240160006040518083038186803b15801561206557600080fd5b505afa158015612079573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526119e29190810190614269565b60095460009060ff16156120b457600080fd5b600754610ace906001600160a01b0316612a32565b60095460ff16156120d957600080fd5b600654604051633dd3264d60e21b81523360048201819052916000916001600160a01b039091169063f74c99349060240160206040518083038186803b15801561212257600080fd5b505afa158015612136573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061215a919061432f565b116121775760405162461bcd60e51b81526004016109ca9061441a565b600082116121e45760405162461bcd60e51b815260206004820152603460248201527f434f4d504f554e44204552524f523a20544845204c4556454c204d5553542042604482015273229023a922a0aa22a9102a2420a7102d22a9279760611b60648201526084016109ca565b6001600160a01b03811661220a5760405162461bcd60e51b81526004016109ca906144db565b6001600160a01b0381166000908152600a602052604090205460ff16156122435760405162461bcd60e51b81526004016109ca90614497565b60065460405163227df59960e21b81526000916001600160a01b0316906389f7d66490612276908590429060040161436a565b60206040518083038186803b15801561228e57600080fd5b505afa1580156122a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122c6919061432f565b9050600083600660009054906101000a90046001600160a01b03166001600160a01b031663f41625306040518163ffffffff1660e01b815260040160206040518083038186803b15801561231957600080fd5b505afa15801561232d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612351919061432f565b61235b919061463b565b6123659083614627565b9050600081116123d55760405162461bcd60e51b815260206004820152603560248201527f434f4d504f554e44204552524f523a204e4f5420454e4f554748205245574152604482015274445320544f20434f4d50554e4420544f204e4f444560581b60648201526084016109ca565b600660009054906101000a90046001600160a01b03166001600160a01b03166353f1959b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561242357600080fd5b505afa158015612437573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061245b919061432f565b600654604051633dd3264d60e21b81526001600160a01b0386811660048301528492169063f74c99349060240160206040518083038186803b1580156124a057600080fd5b505afa1580156124b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124d8919061432f565b6124e2919061460f565b111561254a5760405162461bcd60e51b815260206004820152603160248201527f434f4d504f554e44204552524f523a20594f552057494c4c204558434545444560448201527022102a2422902727a222902624a6a4aa1760791b60648201526084016109ca565b60008482600660009054906101000a90046001600160a01b03166001600160a01b031663a40b56b96040518163ffffffff1660e01b815260040160206040518083038186803b15801561259c57600080fd5b505afa1580156125b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125d4919061432f565b6125de919061463b565b6125e8919061463b565b90508034101561260a5760405162461bcd60e51b81526004016109ca906145b2565b600654604051635cf20c7b60e01b81526001600160a01b0390911690635cf20c7b9061263c908790429060040161436a565b600060405180830381600087803b15801561265657600080fd5b505af115801561266a573d6000803e3d6000fd5b50506006546040516377ab551f60e11b8152600481018690526001600160a01b038881166024830152604482018a9052909116925063ef56aa3e9150606401600060405180830381600087803b1580156126c357600080fd5b505af11580156126d7573d6000803e3d6000fd5b505060065460408051630f41625360e41b815290516001600160a01b03909216935063614e474f92508791849163f4162530916004808301926020929190829003018186803b15801561272957600080fd5b505afa15801561273d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612761919061432f565b61276b90876146d8565b6040518363ffffffff1660e01b815260040161278892919061436a565b600060405180830381600087803b1580156127a257600080fd5b505af11580156127b6573d6000803e3d6000fd5b5050505060008583600660009054906101000a90046001600160a01b03166001600160a01b031663486a7e6b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561280c57600080fd5b505afa158015612820573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612844919061432f565b61285690670de0b6b3a764000061463b565b612860919061463b565b61286a919061463b565b90506007548190612883906001600160a01b0316612a32565b111561298d5760075461289f906001600160a01b031682613e55565b6006546040805163486a7e6b60e01b815290516001600160a01b039092169163a87037c39189918791859163486a7e6b91600480820192602092909190829003018186803b1580156128f057600080fd5b505afa158015612904573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612928919061432f565b612932919061463b565b61293c919061463b565b6040518263ffffffff1660e01b815260040161295a91815260200190565b600060405180830381600087803b15801561297457600080fd5b505af1158015612988573d6000803e3d6000fd5b505050505b612995613bf3565b505050505050565b6000546001600160a01b031633146129c75760405162461bcd60e51b81526004016109ca90614462565b60405133904780156108fc02916000818181858888f193505050506129eb57600080fd5b565b60095460009060ff1615612a0057600080fd5b600654604051633dd3264d60e21b81526001600160a01b0384811660048301529091169063f74c993490602401611992565b6001600160a01b031660009081526001602052604090205490565b6000546001600160a01b03163314612a775760405162461bcd60e51b81526004016109ca90614462565b6129eb60006140f9565b6000612a8d83336108b6565b905081811015612aeb5760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b60648201526084016109ca565b612af883338484036139e4565b610eff8383613e55565b6000546001600160a01b03163314612b2c5760405162461bcd60e51b81526004016109ca90614462565b600654604051630890933160e41b8152600481018390526001600160a01b0390911690638909331090602401610a00565b606060058054610ae29061469d565b6000546001600160a01b03163314612b965760405162461bcd60e51b81526004016109ca90614462565b600855565b60095460009060ff1615612bae57600080fd5b600660009054906101000a90046001600160a01b03166001600160a01b0316637e1a37866040518163ffffffff1660e01b815260040160206040518083038186803b158015610a9657600080fd5b60095460609060ff1615612c0f57600080fd5b600654604051634eadce3560e11b81526001600160a01b0390911690639d5b9c6a90612c4390879087908790600401614383565b60006040518083038186803b158015612c5b57600080fd5b505afa158015612c6f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612c979190810190614269565b949350505050565b6000546001600160a01b03163314612cc95760405162461bcd60e51b81526004016109ca90614462565b600654604051634f223fe360e11b8152600481018390526001600160a01b0390911690639e447fc690602401610a00565b3360009081526002602090815260408083206001600160a01b038616845290915281205482811015612d7c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016109ca565b612d8933858584036139e4565b5060019392505050565b6000610b72338484613b08565b60095460009060ff1615612db357600080fd5b600660009054906101000a90046001600160a01b03166001600160a01b031663ea1e9e406040518163ffffffff1660e01b815260040160206040518083038186803b158015610a9657600080fd5b60095460609060ff1615612e1457600080fd5b60065460405163634a1ed760e11b81526001600160a01b039091169063c6943dae90612e46908690869060040161436a565b60006040518083038186803b158015612e5e57600080fd5b505afa158015612e72573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612e9a9190810190614269565b9392505050565b6000546001600160a01b03163314612ecb5760405162461bcd60e51b81526004016109ca90614462565b60065460405163c76c77a160e01b8152600481018390526001600160a01b039091169063c76c77a190602401610a00565b60095460009060ff1615612f0f57600080fd5b60065460405163ce9e317560e01b81526001600160a01b039091169063ce9e317590612f4390869042908790600401614383565b60206040518083038186803b158015612f5b57600080fd5b505afa158015612f6f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e9a919061432f565b6000546001600160a01b03163314612fbd5760405162461bcd60e51b81526004016109ca90614462565b60065460405163cc43f3d360e01b8152600481018390526001600160a01b039091169063cc43f3d390602401610a00565b6000546001600160a01b031633146130185760405162461bcd60e51b81526004016109ca90614462565b6006546040516372a5963360e11b8152600481018390526001600160a01b039091169063e54b2c6690602401610a00565b60095460009060ff161561305c57600080fd5b600660009054906101000a90046001600160a01b03166001600160a01b031663486a7e6b6040518163ffffffff1660e01b815260040160206040518083038186803b158015610a9657600080fd5b60095460ff16156130ba57600080fd5b600654604080516353f1959b60e01b8152905133926001600160a01b0316916353f1959b916004808301926020929190829003018186803b1580156130fe57600080fd5b505afa158015613112573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613136919061432f565b600654604051633dd3264d60e21b81526001600160a01b0384811660048301528692169063f74c99349060240160206040518083038186803b15801561317b57600080fd5b505afa15801561318f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131b3919061432f565b6131bd919061460f565b11156132245760405162461bcd60e51b815260206004820152603060248201527f4e4f4445204352454154494f4e3a20594f552057494c4c20455843454544454460448201526f102a2422902727a222902624a6a4aa1760811b60648201526084016109ca565b6001600160a01b0381166132935760405162461bcd60e51b815260206004820152603060248201527f4e4f4445204352454154494f4e3a20414444524553532043414e4e4f5420424560448201526f1020902d22a9279020a2222922a9a99760811b60648201526084016109ca565b600082116132fb5760405162461bcd60e51b815260206004820152602f60248201527f4e4f4445204352454154494f4e3a204c4556454c204d5553542042452047524560448201526e20aa22a9102a2420a7102d22a9279760891b60648201526084016109ca565b6001600160a01b0381166000908152600a602052604090205460ff16156133705760405162461bcd60e51b815260206004820152602360248201527f4e4f4445204352454154494f4e3a20424c41434b4c495354454420414444524560448201526229a99760e91b60648201526084016109ca565b60008284600660009054906101000a90046001600160a01b03166001600160a01b031663f41625306040518163ffffffff1660e01b815260040160206040518083038186803b1580156133c257600080fd5b505afa1580156133d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133fa919061432f565b613404919061463b565b61340e919061463b565b905060008385600660009054906101000a90046001600160a01b03166001600160a01b031663a40b56b96040518163ffffffff1660e01b815260040160206040518083038186803b15801561346257600080fd5b505afa158015613476573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061349a919061432f565b6134a4919061463b565b6134ae919061463b565b9050803410156135155760405162461bcd60e51b815260206004820152602c60248201527f4e4f4445204352454154494f4e3a205573657220646964206e6f742073656e6460448201526b1032b737bab3b41022aa241760a11b60648201526084016109ca565b8161351f84612a32565b10156135895760405162461bcd60e51b815260206004820152603360248201527f4e4f4445204352454154494f4e3a204e6f7420656e6f75676820746f6b656e73604482015272103a379031b932b0ba32903737b2329439949760691b60648201526084016109ca565b6007546135a19084906001600160a01b031684613fa3565b6006546040516377ab551f60e11b8152600481018790526001600160a01b038581166024830152604482018790529091169063ef56aa3e90606401600060405180830381600087803b1580156135f657600080fd5b505af115801561360a573d6000803e3d6000fd5b5050505060008486600660009054906101000a90046001600160a01b03166001600160a01b031663486a7e6b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561366057600080fd5b505afa158015613674573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613698919061432f565b6136aa90670de0b6b3a764000061463b565b6136b4919061463b565b6136be919061463b565b905060075481906136d7906001600160a01b0316612a32565b111561298d576007546136f3906001600160a01b031682613e55565b6006546040805163486a7e6b60e01b815290516001600160a01b039092169163a87037c39188918a91859163486a7e6b91600480820192602092909190829003018186803b1580156128f057600080fd5b6000546001600160a01b0316331461376e5760405162461bcd60e51b81526004016109ca90614462565b6009805460ff1916911515919091179055565b60095460009060ff161561379457600080fd5b600660009054906101000a90046001600160a01b03166001600160a01b031663f41625306040518163ffffffff1660e01b815260040160206040518083038186803b158015610a9657600080fd5b60095460009060ff16156137f557600080fd5b600660009054906101000a90046001600160a01b03166001600160a01b031663524773ce6040518163ffffffff1660e01b815260040160206040518083038186803b158015610a9657600080fd5b6000546001600160a01b0316331461386d5760405162461bcd60e51b81526004016109ca90614462565b6001600160a01b0381166138d25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109ca565b6118ef816140f9565b6000546001600160a01b031633146139055760405162461bcd60e51b81526004016109ca90614462565b60065460405163f4887f1560e01b81526001600160a01b0383811660048301529091169063f4887f1590602401610a00565b60095460009060ff161561394a57600080fd5b600660009054906101000a90046001600160a01b03166001600160a01b03166353f1959b6040518163ffffffff1660e01b815260040160206040518083038186803b158015610a9657600080fd5b6000546001600160a01b031633146139c25760405162461bcd60e51b81526004016109ca90614462565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316613a465760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016109ca565b6001600160a01b038216613aa75760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016109ca565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60095460ff1615613b1857600080fd5b6001600160a01b038316613b3e5760405162461bcd60e51b81526004016109ca9061452c565b6001600160a01b038216613b645760405162461bcd60e51b81526004016109ca906143d7565b6001600160a01b0383166000908152600a602052604090205460ff16158015613ba657506001600160a01b0382166000908152600a602052604090205460ff16155b613be85760405162461bcd60e51b8152602060048201526013602482015272426c61636b6c6973746564206164647265737360681b60448201526064016109ca565b610eff838383613fa3565b6006546040805163dacb632160e01b815290516000926001600160a01b03169163dacb6321916004808301926020929190829003018186803b158015613c3857600080fd5b505afa158015613c4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c70919061432f565b905060085481613c80919061460f565b42106118ef57600754600090613c9e906001600160a01b0316612a32565b90506000600660009054906101000a90046001600160a01b03166001600160a01b031663ea1e9e406040518163ffffffff1660e01b815260040160206040518083038186803b158015613cf057600080fd5b505afa158015613d04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d28919061432f565b9050600081613d35611829565b613d3f919061463b565b90506000604b613d4f8386614627565b10613d5b575081613df0565b603c613d678386614627565b10613d8957613d77600a84614627565b613d8290600861463b565b9050613df0565b6028613d958386614627565b10613db057613da5600a84614627565b613d8290600661463b565b6019613dbc8386614627565b10613dd757613dcc600a84614627565b613d8290600461463b565b613de2600a84614627565b613ded90600261463b565b90505b600654604051634f223fe360e11b8152600481018390526001600160a01b0390911690639e447fc690602401600060405180830381600087803b158015613e3657600080fd5b505af1158015613e4a573d6000803e3d6000fd5b505050505050505050565b6001600160a01b038216613eb55760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016109ca565b6001600160a01b03821660009081526001602052604090205481811015613f295760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016109ca565b6001600160a01b0383166000908152600160205260408120838303905560038054849290613f5890849061465a565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b6001600160a01b038316613fc95760405162461bcd60e51b81526004016109ca9061452c565b6001600160a01b038216613fef5760405162461bcd60e51b81526004016109ca906143d7565b6001600160a01b038316600090815260016020526040902054818110156140675760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016109ca565b6001600160a01b0380851660009081526001602052604080822085850390559185168152908120805484929061409e90849061460f565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516140ea91815260200190565b60405180910390a35b50505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b03811681146119e557600080fd5b60006020828403121561417257600080fd5b612e9a82614149565b6000806040838503121561418e57600080fd5b61419783614149565b91506141a560208401614149565b90509250929050565b6000806000606084860312156141c357600080fd5b6141cc84614149565b92506141da60208501614149565b9150604084013590509250925092565b600080604083850312156141fd57600080fd5b61420683614149565b946020939093013593505050565b60008060006060848603121561422957600080fd5b61423284614149565b95602085013595506040909401359392505050565b60006020828403121561425957600080fd5b81358015158114612e9a57600080fd5b60006020828403121561427b57600080fd5b815167ffffffffffffffff8082111561429357600080fd5b818401915084601f8301126142a757600080fd5b8151818111156142b9576142b9614718565b604051601f8201601f19908116603f011681019083821181831017156142e1576142e1614718565b816040528281528760208487010111156142fa57600080fd5b61430b836020830160208801614671565b979650505050505050565b60006020828403121561432857600080fd5b5035919050565b60006020828403121561434157600080fd5b5051919050565b6000806040838503121561435b57600080fd5b50508035926020909101359150565b6001600160a01b03929092168252602082015260400190565b6001600160a01b039390931683526020830191909152604082015260600190565b60208152600082518060208401526143c3816040850160208701614671565b601f01601f19169190910160400192915050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526028908201527f434f4d504f554e44204552524f523a20594f5520444f4e54204841564520414e6040820152672c902727a222a99760c11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526024908201527f434f4d504f554e44204552524f523a20424c41434b4c4953544544204144445260408201526322a9a99760e11b606082015260800190565b60208082526031908201527f434f4d504f554e44204552524f523a20414444524553532043414e4e4f542042604082015270229020902d22a9279020a2222922a9a99760791b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526021908201527f434c41494d204552524f523a20424c41434b4c495354454420414444524553536040820152601760f91b606082015260800190565b60208082526037908201527f434f4d504f554e4544204552524f523a20444944204e4f542053454e4420454e60408201527f4f5547482045544820464f52205345545550204645452e000000000000000000606082015260800190565b60008219821115614622576146226146ec565b500190565b60008261463657614636614702565b500490565b6000816000190483118215151615614655576146556146ec565b500290565b60008282101561466c5761466c6146ec565b500390565b60005b8381101561468c578181015183820152602001614674565b838111156140f35750506000910152565b600181811c908216806146b157607f821691505b602082108114156146d257634e487b7160e01b600052602260045260246000fd5b50919050565b6000826146e7576146e7614702565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220d75eca05baac6de9bb36ac79f269ca6d18a30a245e34eee50bfad54dc862d63164736f6c634300080700330000000000000000000000004e37178859a49eb91b6745c264d86f36f099a4fd
Deployed Bytecode
0x6080604052600436106103505760003560e01c806379cc6790116101c6578063c76c77a1116100f7578063e272b89211610095578063f2fde38b1161006f578063f2fde38b1461092b578063f4887f151461094b578063f90f0eaa1461096b578063fd2a95721461098057600080fd5b8063e272b892146108e1578063e715013414610901578063e7cf548c1461091657600080fd5b8063d02cfe3b116100d1578063d02cfe3b14610853578063d0c5c58514610873578063d90a962614610888578063dd62ed3e1461089b57600080fd5b8063c76c77a1146107f3578063c802b83014610813578063cc43f3d31461083357600080fd5b80639d5b9c6a11610164578063a9059cbb1161013e578063a9059cbb1461077e578063b98e652a1461079e578063c5ca7d6d146107b3578063c6943dae146107d357600080fd5b80639d5b9c6a1461071e5780639e447fc61461073e578063a457c2d71461075e57600080fd5b806395d89b41116101a057806395d89b41146106b4578063997f8491146106c95780639b20007a146106e95780639bb5cd3f146106fe57600080fd5b806379cc67901461064257806389093310146106625780638da5cb5b1461068257600080fd5b806339509351116102a05780635be645c61161023e578063672729991161021857806367272999146105e55780636f493dff146105ed57806370a082311461060d578063715018a61461062d57600080fd5b80635be645c61461059d5780635c38dd46146105bd578063656c579f146105d257600080fd5b806342966c681161027a57806342966c681461052a5780634e9acc3b1461054a578063519f6a4d1461056a5780635a06627b1461058a57600080fd5b806339509351146104d55780634110fe25146104f557806342431fb61461050a57600080fd5b8063144fa6d71161030d57806325f18e9e116102e757806325f18e9e1461047b57806327e08a3f1461049157806328f57936146104a4578063313ce567146104b957600080fd5b8063144fa6d71461042657806318160ddd1461044657806323b872dd1461045b57600080fd5b80630373a23a14610355578063053186411461037757806306fdde031461039f578063095ea7b3146103c15780630b83a727146103f15780631319e7e114610406575b600080fd5b34801561036157600080fd5b50610375610370366004614316565b6109a0565b005b34801561038357600080fd5b5061038c610a35565b6040519081526020015b60405180910390f35b3480156103ab57600080fd5b506103b4610ad3565b60405161039691906143a4565b3480156103cd57600080fd5b506103e16103dc3660046141ea565b610b65565b6040519015158152602001610396565b3480156103fd57600080fd5b50610375610b7b565b34801561041257600080fd5b50610375610421366004614160565b610f04565b34801561043257600080fd5b50610375610441366004614160565b610f50565b34801561045257600080fd5b5060035461038c565b34801561046757600080fd5b506103e16104763660046141ae565b610fac565b34801561048757600080fd5b5061038c60085481565b61037561049f366004614316565b611056565b3480156104b057600080fd5b5061038c61178c565b3480156104c557600080fd5b5060405160128152602001610396565b3480156104e157600080fd5b506103e16104f03660046141ea565b6117ed565b34801561050157600080fd5b5061038c611829565b34801561051657600080fd5b50610375610525366004614316565b61188a565b34801561053657600080fd5b50610375610545366004614316565b6118e5565b34801561055657600080fd5b50610375610565366004614316565b6118f2565b34801561057657600080fd5b5061038c610585366004614160565b61194d565b610375610598366004614348565b6119ea565b3480156105a957600080fd5b506103b46105b8366004614160565b61200d565b3480156105c957600080fd5b5061038c6120a1565b6103756105e0366004614316565b6120c9565b61037561299d565b3480156105f957600080fd5b5061038c610608366004614160565b6129ed565b34801561061957600080fd5b5061038c610628366004614160565b612a32565b34801561063957600080fd5b50610375612a4d565b34801561064e57600080fd5b5061037561065d3660046141ea565b612a81565b34801561066e57600080fd5b5061037561067d366004614316565b612b02565b34801561068e57600080fd5b506000546001600160a01b03165b6040516001600160a01b039091168152602001610396565b3480156106c057600080fd5b506103b4612b5d565b3480156106d557600080fd5b506103756106e4366004614316565b612b6c565b3480156106f557600080fd5b5061038c612b9b565b34801561070a57600080fd5b5060065461069c906001600160a01b031681565b34801561072a57600080fd5b506103b4610739366004614214565b612bfc565b34801561074a57600080fd5b50610375610759366004614316565b612c9f565b34801561076a57600080fd5b506103e16107793660046141ea565b612cfa565b34801561078a57600080fd5b506103e16107993660046141ea565b612d93565b3480156107aa57600080fd5b5061038c612da0565b3480156107bf57600080fd5b5060075461069c906001600160a01b031681565b3480156107df57600080fd5b506103b46107ee3660046141ea565b612e01565b3480156107ff57600080fd5b5061037561080e366004614316565b612ea1565b34801561081f57600080fd5b5061038c61082e3660046141ea565b612efc565b34801561083f57600080fd5b5061037561084e366004614316565b612f93565b34801561085f57600080fd5b5061037561086e366004614316565b612fee565b34801561087f57600080fd5b5061038c613049565b610375610896366004614348565b6130aa565b3480156108a757600080fd5b5061038c6108b636600461417b565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b3480156108ed57600080fd5b506103756108fc366004614247565b613744565b34801561090d57600080fd5b5061038c613781565b34801561092257600080fd5b5061038c6137e2565b34801561093757600080fd5b50610375610946366004614160565b613843565b34801561095757600080fd5b50610375610966366004614160565b6138db565b34801561097757600080fd5b5061038c613937565b34801561098c57600080fd5b5061037561099b366004614160565b613998565b6000546001600160a01b031633146109d35760405162461bcd60e51b81526004016109ca90614462565b60405180910390fd5b60065460405163149df22b60e11b8152600481018390526001600160a01b039091169063293be456906024015b600060405180830381600087803b158015610a1a57600080fd5b505af1158015610a2e573d6000803e3d6000fd5b5050505050565b60095460009060ff1615610a4857600080fd5b600660009054906101000a90046001600160a01b03166001600160a01b0316635de3c6ce6040518163ffffffff1660e01b815260040160206040518083038186803b158015610a9657600080fd5b505afa158015610aaa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ace919061432f565b905090565b606060048054610ae29061469d565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0e9061469d565b8015610b5b5780601f10610b3057610100808354040283529160200191610b5b565b820191906000526020600020905b815481529060010190602001808311610b3e57829003601f168201915b5050505050905090565b6000610b723384846139e4565b50600192915050565b60095460ff1615610b8b57600080fd5b600654604051633dd3264d60e21b815233600482018190529142916000916001600160a01b03169063f74c99349060240160206040518083038186803b158015610bd457600080fd5b505afa158015610be8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0c919061432f565b11610c675760405162461bcd60e51b815260206004820152602560248201527f434c41494d204552524f523a20594f5520444f4e54204841564520414e59204e60448201526427a222a99760d91b60648201526084016109ca565b6001600160a01b038216610cd45760405162461bcd60e51b815260206004820152602e60248201527f434c41494d204552524f523a20414444524553532043414e4e4f54204245204160448201526d102d22a9279020a2222922a9a99760911b60648201526084016109ca565b6001600160a01b0382166000908152600a602052604090205460ff1615610d0d5760405162461bcd60e51b81526004016109ca90614571565b60065460405163227df59960e21b81526000916001600160a01b0316906389f7d66490610d40908690869060040161436a565b60206040518083038186803b158015610d5857600080fd5b505afa158015610d6c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d90919061432f565b905060008111610de25760405162461bcd60e51b815260206004820181905260248201527f434c41494d204552524f523a204e4f5420454e4f55474820524557415244532e60448201526064016109ca565b6007548190610df9906001600160a01b0316612a32565b1015610e7b5760405162461bcd60e51b8152602060048201526044602482018190527f434c41494d204552524f523a20504f4f4c20444f4553204e4f54204841564520908201527f454e4f55474820524557415244532e20574149542054494c4c205245504c454e60648201526324a9a41760e11b608482015260a4016109ca565b600654604051635cf20c7b60e01b81526001600160a01b0390911690635cf20c7b90610ead908690869060040161436a565b600060405180830381600087803b158015610ec757600080fd5b505af1158015610edb573d6000803e3d6000fd5b5050600754610ef792506001600160a01b031690508483613b08565b610eff613bf3565b505050565b6000546001600160a01b03163314610f2e5760405162461bcd60e51b81526004016109ca90614462565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610f7a5760405162461bcd60e51b81526004016109ca90614462565b60065460405163144fa6d760e01b81526001600160a01b0383811660048301529091169063144fa6d790602401610a00565b6000610fb9848484613b08565b6001600160a01b03841660009081526002602090815260408083203384529091529020548281101561103e5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084016109ca565b61104b85338584036139e4565b506001949350505050565b60095460ff161561106657600080fd5b600654604051633dd3264d60e21b81523360048201819052916000916001600160a01b039091169063f74c99349060240160206040518083038186803b1580156110af57600080fd5b505afa1580156110c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e7919061432f565b9050600081116111095760405162461bcd60e51b81526004016109ca9061441a565b6001600160a01b03821661112f5760405162461bcd60e51b81526004016109ca906144db565b6001600160a01b0382166000908152600a602052604090205460ff16156111685760405162461bcd60e51b81526004016109ca90614497565b60065460405163227df59960e21b81526000916001600160a01b0316906389f7d6649061119b908690429060040161436a565b60206040518083038186803b1580156111b357600080fd5b505afa1580156111c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111eb919061432f565b90506000600660009054906101000a90046001600160a01b03166001600160a01b031663f41625306040518163ffffffff1660e01b815260040160206040518083038186803b15801561123d57600080fd5b505afa158015611251573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611275919061432f565b61127f9083614627565b9050600081116112f05760405162461bcd60e51b815260206004820152603660248201527f434f4d504f554e44204552524f523a204e4f5420454e4f5547482052455741526044820152751114c81513c810d3d354155391081513c8131155915360521b60648201526084016109ca565b826112fc86600161460f565b11156113625760405162461bcd60e51b815260206004820152602f60248201527f434f4d504f554e44204552524f523a2054484953204e4f444520494e4445582060448201526e2227a2a9902727aa1022ac24a9aa1760891b60648201526084016109ca565b600081600660009054906101000a90046001600160a01b03166001600160a01b031663a40b56b96040518163ffffffff1660e01b815260040160206040518083038186803b1580156113b357600080fd5b505afa1580156113c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113eb919061432f565b6113f5919061463b565b9050803410156114175760405162461bcd60e51b81526004016109ca906145b2565b600654604051635cf20c7b60e01b81526001600160a01b0390911690635cf20c7b90611449908890429060040161436a565b600060405180830381600087803b15801561146357600080fd5b505af1158015611477573d6000803e3d6000fd5b50506006546040516335a42fa760e01b81526001600160a01b0390911692506335a42fa791506114af9088908a908790600401614383565b600060405180830381600087803b1580156114c957600080fd5b505af11580156114dd573d6000803e3d6000fd5b505060065460408051630f41625360e41b815290516001600160a01b03909216935063614e474f92508891849163f4162530916004808301926020929190829003018186803b15801561152f57600080fd5b505afa158015611543573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611567919061432f565b61157190876146d8565b6040518363ffffffff1660e01b815260040161158e92919061436a565b600060405180830381600087803b1580156115a857600080fd5b505af11580156115bc573d6000803e3d6000fd5b50505050600082600660009054906101000a90046001600160a01b03166001600160a01b031663486a7e6b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561161157600080fd5b505afa158015611625573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611649919061432f565b61165b90670de0b6b3a764000061463b565b611665919061463b565b9050600754819061167e906001600160a01b0316612a32565b111561177b5760075461169a906001600160a01b031682613e55565b6006546040805163486a7e6b60e01b815290516001600160a01b039092169163a87037c3918691849163486a7e6b916004808301926020929190829003018186803b1580156116e857600080fd5b505afa1580156116fc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611720919061432f565b61172a919061463b565b6040518263ffffffff1660e01b815260040161174891815260200190565b600060405180830381600087803b15801561176257600080fd5b505af1158015611776573d6000803e3d6000fd5b505050505b611783613bf3565b50505050505050565b60095460009060ff161561179f57600080fd5b600660009054906101000a90046001600160a01b03166001600160a01b031663a40b56b96040518163ffffffff1660e01b815260040160206040518083038186803b158015610a9657600080fd5b3360008181526002602090815260408083206001600160a01b03871684529091528120549091610b7291859061182490869061460f565b6139e4565b60095460009060ff161561183c57600080fd5b600660009054906101000a90046001600160a01b03166001600160a01b0316639592d4246040518163ffffffff1660e01b815260040160206040518083038186803b158015610a9657600080fd5b6000546001600160a01b031633146118b45760405162461bcd60e51b81526004016109ca90614462565b6006546040516321218fdb60e11b8152600481018390526001600160a01b03909116906342431fb690602401610a00565b6118ef3382613e55565b50565b6000546001600160a01b0316331461191c5760405162461bcd60e51b81526004016109ca90614462565b600654604051634e9acc3b60e01b8152600481018390526001600160a01b0390911690634e9acc3b90602401610a00565b60095460009060ff161561196057600080fd5b60065460405163227df59960e21b81526001600160a01b03909116906389f7d66490611992908590429060040161436a565b60206040518083038186803b1580156119aa57600080fd5b505afa1580156119be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119e2919061432f565b90505b919050565b60095460ff16156119fa57600080fd5b600654604051633dd3264d60e21b81523360048201819052916000916001600160a01b039091169063f74c99349060240160206040518083038186803b158015611a4357600080fd5b505afa158015611a57573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a7b919061432f565b905060008111611ade5760405162461bcd60e51b815260206004820152602860248201527f4c4556454c205550204552524f523a20594f5520444f4e54204841564520414e6044820152672c902727a222a99760c11b60648201526084016109ca565b80611aea85600161460f565b1115611b505760405162461bcd60e51b815260206004820152602f60248201527f4c4556454c205550204552524f523a2054484953204e4f444520494e4445582060448201526e2227a2a9902727aa1022ac24a9aa1760891b60648201526084016109ca565b6001600160a01b038216611bc05760405162461bcd60e51b815260206004820152603160248201527f4c4556454c205550204552524f523a20414444524553532043414e4e4f542042604482015270229020902d22a9279020a2222922a9a99760791b60648201526084016109ca565b60008311611c295760405162461bcd60e51b815260206004820152603060248201527f4c4556454c205550204552524f523a204c4556454c204d55535420424520475260448201526f22a0aa22a9102a2420a7102d22a9279760811b60648201526084016109ca565b6001600160a01b0382166000908152600a602052604090205460ff1615611c625760405162461bcd60e51b81526004016109ca90614571565b600083600660009054906101000a90046001600160a01b03166001600160a01b031663f41625306040518163ffffffff1660e01b815260040160206040518083038186803b158015611cb357600080fd5b505afa158015611cc7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ceb919061432f565b611cf5919061463b565b9050600084600660009054906101000a90046001600160a01b03166001600160a01b031663a40b56b96040518163ffffffff1660e01b815260040160206040518083038186803b158015611d4857600080fd5b505afa158015611d5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d80919061432f565b611d8a919061463b565b905080341015611df25760405162461bcd60e51b815260206004820152602d60248201527f4c4556454c205550204552524f523a205573657220646964206e6f742073656e60448201526c321032b737bab3b41022aa241760991b60648201526084016109ca565b81611dfc85612a32565b1015611e675760405162461bcd60e51b815260206004820152603460248201527f4c4556454c205550204552524f523a204e6f7420656e6f75676820746f6b656e60448201527339903a379031b932b0ba32903737b2329439949760611b60648201526084016109ca565b600754611e7f9085906001600160a01b031684613fa3565b6006546040516335a42fa760e01b81526001600160a01b03909116906335a42fa790611eb39087908a908a90600401614383565b600060405180830381600087803b158015611ecd57600080fd5b505af1158015611ee1573d6000803e3d6000fd5b50505050600085600660009054906101000a90046001600160a01b03166001600160a01b031663486a7e6b6040518163ffffffff1660e01b815260040160206040518083038186803b158015611f3657600080fd5b505afa158015611f4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f6e919061432f565b611f8090670de0b6b3a764000061463b565b611f8a919061463b565b90506007548190611fa3906001600160a01b0316612a32565b111561177b57600754611fbf906001600160a01b031682613e55565b6006546040805163486a7e6b60e01b815290516001600160a01b039092169163a87037c3918991849163486a7e6b916004808301926020929190829003018186803b1580156116e857600080fd5b60095460609060ff161561202057600080fd5b600654604051632df322e360e11b81526001600160a01b03848116600483015290911690635be645c69060240160006040518083038186803b15801561206557600080fd5b505afa158015612079573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526119e29190810190614269565b60095460009060ff16156120b457600080fd5b600754610ace906001600160a01b0316612a32565b60095460ff16156120d957600080fd5b600654604051633dd3264d60e21b81523360048201819052916000916001600160a01b039091169063f74c99349060240160206040518083038186803b15801561212257600080fd5b505afa158015612136573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061215a919061432f565b116121775760405162461bcd60e51b81526004016109ca9061441a565b600082116121e45760405162461bcd60e51b815260206004820152603460248201527f434f4d504f554e44204552524f523a20544845204c4556454c204d5553542042604482015273229023a922a0aa22a9102a2420a7102d22a9279760611b60648201526084016109ca565b6001600160a01b03811661220a5760405162461bcd60e51b81526004016109ca906144db565b6001600160a01b0381166000908152600a602052604090205460ff16156122435760405162461bcd60e51b81526004016109ca90614497565b60065460405163227df59960e21b81526000916001600160a01b0316906389f7d66490612276908590429060040161436a565b60206040518083038186803b15801561228e57600080fd5b505afa1580156122a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122c6919061432f565b9050600083600660009054906101000a90046001600160a01b03166001600160a01b031663f41625306040518163ffffffff1660e01b815260040160206040518083038186803b15801561231957600080fd5b505afa15801561232d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612351919061432f565b61235b919061463b565b6123659083614627565b9050600081116123d55760405162461bcd60e51b815260206004820152603560248201527f434f4d504f554e44204552524f523a204e4f5420454e4f554748205245574152604482015274445320544f20434f4d50554e4420544f204e4f444560581b60648201526084016109ca565b600660009054906101000a90046001600160a01b03166001600160a01b03166353f1959b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561242357600080fd5b505afa158015612437573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061245b919061432f565b600654604051633dd3264d60e21b81526001600160a01b0386811660048301528492169063f74c99349060240160206040518083038186803b1580156124a057600080fd5b505afa1580156124b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124d8919061432f565b6124e2919061460f565b111561254a5760405162461bcd60e51b815260206004820152603160248201527f434f4d504f554e44204552524f523a20594f552057494c4c204558434545444560448201527022102a2422902727a222902624a6a4aa1760791b60648201526084016109ca565b60008482600660009054906101000a90046001600160a01b03166001600160a01b031663a40b56b96040518163ffffffff1660e01b815260040160206040518083038186803b15801561259c57600080fd5b505afa1580156125b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125d4919061432f565b6125de919061463b565b6125e8919061463b565b90508034101561260a5760405162461bcd60e51b81526004016109ca906145b2565b600654604051635cf20c7b60e01b81526001600160a01b0390911690635cf20c7b9061263c908790429060040161436a565b600060405180830381600087803b15801561265657600080fd5b505af115801561266a573d6000803e3d6000fd5b50506006546040516377ab551f60e11b8152600481018690526001600160a01b038881166024830152604482018a9052909116925063ef56aa3e9150606401600060405180830381600087803b1580156126c357600080fd5b505af11580156126d7573d6000803e3d6000fd5b505060065460408051630f41625360e41b815290516001600160a01b03909216935063614e474f92508791849163f4162530916004808301926020929190829003018186803b15801561272957600080fd5b505afa15801561273d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612761919061432f565b61276b90876146d8565b6040518363ffffffff1660e01b815260040161278892919061436a565b600060405180830381600087803b1580156127a257600080fd5b505af11580156127b6573d6000803e3d6000fd5b5050505060008583600660009054906101000a90046001600160a01b03166001600160a01b031663486a7e6b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561280c57600080fd5b505afa158015612820573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612844919061432f565b61285690670de0b6b3a764000061463b565b612860919061463b565b61286a919061463b565b90506007548190612883906001600160a01b0316612a32565b111561298d5760075461289f906001600160a01b031682613e55565b6006546040805163486a7e6b60e01b815290516001600160a01b039092169163a87037c39189918791859163486a7e6b91600480820192602092909190829003018186803b1580156128f057600080fd5b505afa158015612904573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612928919061432f565b612932919061463b565b61293c919061463b565b6040518263ffffffff1660e01b815260040161295a91815260200190565b600060405180830381600087803b15801561297457600080fd5b505af1158015612988573d6000803e3d6000fd5b505050505b612995613bf3565b505050505050565b6000546001600160a01b031633146129c75760405162461bcd60e51b81526004016109ca90614462565b60405133904780156108fc02916000818181858888f193505050506129eb57600080fd5b565b60095460009060ff1615612a0057600080fd5b600654604051633dd3264d60e21b81526001600160a01b0384811660048301529091169063f74c993490602401611992565b6001600160a01b031660009081526001602052604090205490565b6000546001600160a01b03163314612a775760405162461bcd60e51b81526004016109ca90614462565b6129eb60006140f9565b6000612a8d83336108b6565b905081811015612aeb5760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b60648201526084016109ca565b612af883338484036139e4565b610eff8383613e55565b6000546001600160a01b03163314612b2c5760405162461bcd60e51b81526004016109ca90614462565b600654604051630890933160e41b8152600481018390526001600160a01b0390911690638909331090602401610a00565b606060058054610ae29061469d565b6000546001600160a01b03163314612b965760405162461bcd60e51b81526004016109ca90614462565b600855565b60095460009060ff1615612bae57600080fd5b600660009054906101000a90046001600160a01b03166001600160a01b0316637e1a37866040518163ffffffff1660e01b815260040160206040518083038186803b158015610a9657600080fd5b60095460609060ff1615612c0f57600080fd5b600654604051634eadce3560e11b81526001600160a01b0390911690639d5b9c6a90612c4390879087908790600401614383565b60006040518083038186803b158015612c5b57600080fd5b505afa158015612c6f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612c979190810190614269565b949350505050565b6000546001600160a01b03163314612cc95760405162461bcd60e51b81526004016109ca90614462565b600654604051634f223fe360e11b8152600481018390526001600160a01b0390911690639e447fc690602401610a00565b3360009081526002602090815260408083206001600160a01b038616845290915281205482811015612d7c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016109ca565b612d8933858584036139e4565b5060019392505050565b6000610b72338484613b08565b60095460009060ff1615612db357600080fd5b600660009054906101000a90046001600160a01b03166001600160a01b031663ea1e9e406040518163ffffffff1660e01b815260040160206040518083038186803b158015610a9657600080fd5b60095460609060ff1615612e1457600080fd5b60065460405163634a1ed760e11b81526001600160a01b039091169063c6943dae90612e46908690869060040161436a565b60006040518083038186803b158015612e5e57600080fd5b505afa158015612e72573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612e9a9190810190614269565b9392505050565b6000546001600160a01b03163314612ecb5760405162461bcd60e51b81526004016109ca90614462565b60065460405163c76c77a160e01b8152600481018390526001600160a01b039091169063c76c77a190602401610a00565b60095460009060ff1615612f0f57600080fd5b60065460405163ce9e317560e01b81526001600160a01b039091169063ce9e317590612f4390869042908790600401614383565b60206040518083038186803b158015612f5b57600080fd5b505afa158015612f6f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e9a919061432f565b6000546001600160a01b03163314612fbd5760405162461bcd60e51b81526004016109ca90614462565b60065460405163cc43f3d360e01b8152600481018390526001600160a01b039091169063cc43f3d390602401610a00565b6000546001600160a01b031633146130185760405162461bcd60e51b81526004016109ca90614462565b6006546040516372a5963360e11b8152600481018390526001600160a01b039091169063e54b2c6690602401610a00565b60095460009060ff161561305c57600080fd5b600660009054906101000a90046001600160a01b03166001600160a01b031663486a7e6b6040518163ffffffff1660e01b815260040160206040518083038186803b158015610a9657600080fd5b60095460ff16156130ba57600080fd5b600654604080516353f1959b60e01b8152905133926001600160a01b0316916353f1959b916004808301926020929190829003018186803b1580156130fe57600080fd5b505afa158015613112573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613136919061432f565b600654604051633dd3264d60e21b81526001600160a01b0384811660048301528692169063f74c99349060240160206040518083038186803b15801561317b57600080fd5b505afa15801561318f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131b3919061432f565b6131bd919061460f565b11156132245760405162461bcd60e51b815260206004820152603060248201527f4e4f4445204352454154494f4e3a20594f552057494c4c20455843454544454460448201526f102a2422902727a222902624a6a4aa1760811b60648201526084016109ca565b6001600160a01b0381166132935760405162461bcd60e51b815260206004820152603060248201527f4e4f4445204352454154494f4e3a20414444524553532043414e4e4f5420424560448201526f1020902d22a9279020a2222922a9a99760811b60648201526084016109ca565b600082116132fb5760405162461bcd60e51b815260206004820152602f60248201527f4e4f4445204352454154494f4e3a204c4556454c204d5553542042452047524560448201526e20aa22a9102a2420a7102d22a9279760891b60648201526084016109ca565b6001600160a01b0381166000908152600a602052604090205460ff16156133705760405162461bcd60e51b815260206004820152602360248201527f4e4f4445204352454154494f4e3a20424c41434b4c495354454420414444524560448201526229a99760e91b60648201526084016109ca565b60008284600660009054906101000a90046001600160a01b03166001600160a01b031663f41625306040518163ffffffff1660e01b815260040160206040518083038186803b1580156133c257600080fd5b505afa1580156133d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133fa919061432f565b613404919061463b565b61340e919061463b565b905060008385600660009054906101000a90046001600160a01b03166001600160a01b031663a40b56b96040518163ffffffff1660e01b815260040160206040518083038186803b15801561346257600080fd5b505afa158015613476573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061349a919061432f565b6134a4919061463b565b6134ae919061463b565b9050803410156135155760405162461bcd60e51b815260206004820152602c60248201527f4e4f4445204352454154494f4e3a205573657220646964206e6f742073656e6460448201526b1032b737bab3b41022aa241760a11b60648201526084016109ca565b8161351f84612a32565b10156135895760405162461bcd60e51b815260206004820152603360248201527f4e4f4445204352454154494f4e3a204e6f7420656e6f75676820746f6b656e73604482015272103a379031b932b0ba32903737b2329439949760691b60648201526084016109ca565b6007546135a19084906001600160a01b031684613fa3565b6006546040516377ab551f60e11b8152600481018790526001600160a01b038581166024830152604482018790529091169063ef56aa3e90606401600060405180830381600087803b1580156135f657600080fd5b505af115801561360a573d6000803e3d6000fd5b5050505060008486600660009054906101000a90046001600160a01b03166001600160a01b031663486a7e6b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561366057600080fd5b505afa158015613674573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613698919061432f565b6136aa90670de0b6b3a764000061463b565b6136b4919061463b565b6136be919061463b565b905060075481906136d7906001600160a01b0316612a32565b111561298d576007546136f3906001600160a01b031682613e55565b6006546040805163486a7e6b60e01b815290516001600160a01b039092169163a87037c39188918a91859163486a7e6b91600480820192602092909190829003018186803b1580156128f057600080fd5b6000546001600160a01b0316331461376e5760405162461bcd60e51b81526004016109ca90614462565b6009805460ff1916911515919091179055565b60095460009060ff161561379457600080fd5b600660009054906101000a90046001600160a01b03166001600160a01b031663f41625306040518163ffffffff1660e01b815260040160206040518083038186803b158015610a9657600080fd5b60095460009060ff16156137f557600080fd5b600660009054906101000a90046001600160a01b03166001600160a01b031663524773ce6040518163ffffffff1660e01b815260040160206040518083038186803b158015610a9657600080fd5b6000546001600160a01b0316331461386d5760405162461bcd60e51b81526004016109ca90614462565b6001600160a01b0381166138d25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109ca565b6118ef816140f9565b6000546001600160a01b031633146139055760405162461bcd60e51b81526004016109ca90614462565b60065460405163f4887f1560e01b81526001600160a01b0383811660048301529091169063f4887f1590602401610a00565b60095460009060ff161561394a57600080fd5b600660009054906101000a90046001600160a01b03166001600160a01b03166353f1959b6040518163ffffffff1660e01b815260040160206040518083038186803b158015610a9657600080fd5b6000546001600160a01b031633146139c25760405162461bcd60e51b81526004016109ca90614462565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316613a465760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016109ca565b6001600160a01b038216613aa75760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016109ca565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60095460ff1615613b1857600080fd5b6001600160a01b038316613b3e5760405162461bcd60e51b81526004016109ca9061452c565b6001600160a01b038216613b645760405162461bcd60e51b81526004016109ca906143d7565b6001600160a01b0383166000908152600a602052604090205460ff16158015613ba657506001600160a01b0382166000908152600a602052604090205460ff16155b613be85760405162461bcd60e51b8152602060048201526013602482015272426c61636b6c6973746564206164647265737360681b60448201526064016109ca565b610eff838383613fa3565b6006546040805163dacb632160e01b815290516000926001600160a01b03169163dacb6321916004808301926020929190829003018186803b158015613c3857600080fd5b505afa158015613c4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c70919061432f565b905060085481613c80919061460f565b42106118ef57600754600090613c9e906001600160a01b0316612a32565b90506000600660009054906101000a90046001600160a01b03166001600160a01b031663ea1e9e406040518163ffffffff1660e01b815260040160206040518083038186803b158015613cf057600080fd5b505afa158015613d04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d28919061432f565b9050600081613d35611829565b613d3f919061463b565b90506000604b613d4f8386614627565b10613d5b575081613df0565b603c613d678386614627565b10613d8957613d77600a84614627565b613d8290600861463b565b9050613df0565b6028613d958386614627565b10613db057613da5600a84614627565b613d8290600661463b565b6019613dbc8386614627565b10613dd757613dcc600a84614627565b613d8290600461463b565b613de2600a84614627565b613ded90600261463b565b90505b600654604051634f223fe360e11b8152600481018390526001600160a01b0390911690639e447fc690602401600060405180830381600087803b158015613e3657600080fd5b505af1158015613e4a573d6000803e3d6000fd5b505050505050505050565b6001600160a01b038216613eb55760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016109ca565b6001600160a01b03821660009081526001602052604090205481811015613f295760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016109ca565b6001600160a01b0383166000908152600160205260408120838303905560038054849290613f5890849061465a565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b6001600160a01b038316613fc95760405162461bcd60e51b81526004016109ca9061452c565b6001600160a01b038216613fef5760405162461bcd60e51b81526004016109ca906143d7565b6001600160a01b038316600090815260016020526040902054818110156140675760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016109ca565b6001600160a01b0380851660009081526001602052604080822085850390559185168152908120805484929061409e90849061460f565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516140ea91815260200190565b60405180910390a35b50505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b03811681146119e557600080fd5b60006020828403121561417257600080fd5b612e9a82614149565b6000806040838503121561418e57600080fd5b61419783614149565b91506141a560208401614149565b90509250929050565b6000806000606084860312156141c357600080fd5b6141cc84614149565b92506141da60208501614149565b9150604084013590509250925092565b600080604083850312156141fd57600080fd5b61420683614149565b946020939093013593505050565b60008060006060848603121561422957600080fd5b61423284614149565b95602085013595506040909401359392505050565b60006020828403121561425957600080fd5b81358015158114612e9a57600080fd5b60006020828403121561427b57600080fd5b815167ffffffffffffffff8082111561429357600080fd5b818401915084601f8301126142a757600080fd5b8151818111156142b9576142b9614718565b604051601f8201601f19908116603f011681019083821181831017156142e1576142e1614718565b816040528281528760208487010111156142fa57600080fd5b61430b836020830160208801614671565b979650505050505050565b60006020828403121561432857600080fd5b5035919050565b60006020828403121561434157600080fd5b5051919050565b6000806040838503121561435b57600080fd5b50508035926020909101359150565b6001600160a01b03929092168252602082015260400190565b6001600160a01b039390931683526020830191909152604082015260600190565b60208152600082518060208401526143c3816040850160208701614671565b601f01601f19169190910160400192915050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526028908201527f434f4d504f554e44204552524f523a20594f5520444f4e54204841564520414e6040820152672c902727a222a99760c11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526024908201527f434f4d504f554e44204552524f523a20424c41434b4c4953544544204144445260408201526322a9a99760e11b606082015260800190565b60208082526031908201527f434f4d504f554e44204552524f523a20414444524553532043414e4e4f542042604082015270229020902d22a9279020a2222922a9a99760791b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526021908201527f434c41494d204552524f523a20424c41434b4c495354454420414444524553536040820152601760f91b606082015260800190565b60208082526037908201527f434f4d504f554e4544204552524f523a20444944204e4f542053454e4420454e60408201527f4f5547482045544820464f52205345545550204645452e000000000000000000606082015260800190565b60008219821115614622576146226146ec565b500190565b60008261463657614636614702565b500490565b6000816000190483118215151615614655576146556146ec565b500290565b60008282101561466c5761466c6146ec565b500390565b60005b8381101561468c578181015183820152602001614674565b838111156140f35750506000910152565b600181811c908216806146b157607f821691505b602082108114156146d257634e487b7160e01b600052602260045260246000fd5b50919050565b6000826146e7576146e7614702565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220d75eca05baac6de9bb36ac79f269ca6d18a30a245e34eee50bfad54dc862d63164736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000004e37178859a49eb91b6745c264d86f36f099a4fd
-----Decoded View---------------
Arg [0] : _distributionPool (address): 0x4e37178859A49eb91B6745C264d86f36f099A4FD
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000004e37178859a49eb91b6745c264d86f36f099a4fd
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.