ERC-20
Overview
Max Total Supply
1,001,078.087152296420049392 MERI
Holders
1,712
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
200 MERIValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Meristem
Compiler Version
v0.4.18+commit.9cf6e910
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2017-10-27 */ pragma solidity ^0.4.11; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint256 a, uint256 b) internal constant returns (uint256) { // assert(b > 0); // Solidity automatically throws when dividing by 0 uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } function sub(uint256 a, uint256 b) internal constant returns (uint256) { assert(b <= a); return a - b; } function add(uint256 a, uint256 b) internal constant returns (uint256) { uint256 c = a + b; assert(c >= a); return c; } } contract Ownable { address public owner; function Ownable() { owner = msg.sender; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(msg.sender == owner); _; } /** * @dev Allows the current owner to transfer control of the contract to a newOwner. * @param newOwner The address to transfer ownership to. */ function transferOwnership(address newOwner) onlyOwner { require(newOwner != address(0)); owner = newOwner; } } /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/179 */ contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) constant returns (uint256); function transfer(address to, uint256 value) returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } /** * @title ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/20 */ contract ERC20 is ERC20Basic { function allowance(address owner, address spender) constant returns (uint256); function transferFrom(address from, address to, uint256 value) returns (bool); function approve(address spender, uint256 value) returns (bool); event Approval(address indexed owner, address indexed spender, uint256 value); } contract PoSStandard { uint256 public stakeStartTime; uint256 public stakeMinAge; uint256 public stakeMaxAge; function mint() returns (bool); function coinAge() constant returns (uint256); function annualInterest() constant returns (uint256); event Mint(address indexed _address, uint _reward); } contract Meristem is ERC20,PoSStandard,Ownable { using SafeMath for uint256; string public name = "Meristem"; string public symbol = "MERI"; uint public decimals = 18; uint public chainStartTime; //chain start time uint public chainStartBlockNumber; //chain start block number uint public stakeStartTime; //stake start time uint public stakeMinAge = 3 days; // minimum age for coin age: 3D uint public stakeMaxAge = 90 days; // stake age of full weight: 90D uint public maxMintProofOfStake = 10**17; // default 10% annual interest uint public totalSupply; uint public maxTotalSupply; uint public totalInitialSupply; struct transferInStruct{ uint128 amount; uint64 time; } mapping(address => uint256) balances; mapping(address => mapping (address => uint256)) allowed; mapping(address => transferInStruct[]) transferIns; event Burn(address indexed burner, uint256 value); /** * @dev Fix for the ERC20 short address attack. */ modifier onlyPayloadSize(uint size) { require(msg.data.length >= size + 4); _; } modifier canPoSMint() { require(totalSupply < maxTotalSupply); _; } function Meristem() { maxTotalSupply = 10**25; totalInitialSupply = 10**24; chainStartTime = now; chainStartBlockNumber = block.number; balances[msg.sender] = totalInitialSupply; totalSupply = totalInitialSupply; } function transfer(address _to, uint256 _value) onlyPayloadSize(2 * 32) returns (bool) { if(msg.sender == _to) return mint(); balances[msg.sender] = balances[msg.sender].sub(_value); balances[_to] = balances[_to].add(_value); Transfer(msg.sender, _to, _value); if(transferIns[msg.sender].length > 0) delete transferIns[msg.sender]; uint64 _now = uint64(now); transferIns[msg.sender].push(transferInStruct(uint128(balances[msg.sender]),_now)); transferIns[_to].push(transferInStruct(uint128(_value),_now)); return true; } function balanceOf(address _owner) constant returns (uint256 balance) { return balances[_owner]; } function transferFrom(address _from, address _to, uint256 _value) onlyPayloadSize(3 * 32) returns (bool) { require(_to != address(0)); var _allowance = allowed[_from][msg.sender]; // Check is not needed because sub(_allowance, _value) will already throw if this condition is not met // require (_value <= _allowance); balances[_from] = balances[_from].sub(_value); balances[_to] = balances[_to].add(_value); allowed[_from][msg.sender] = _allowance.sub(_value); Transfer(_from, _to, _value); if(transferIns[_from].length > 0) delete transferIns[_from]; uint64 _now = uint64(now); transferIns[_from].push(transferInStruct(uint128(balances[_from]),_now)); transferIns[_to].push(transferInStruct(uint128(_value),_now)); return true; } function approve(address _spender, uint256 _value) returns (bool) { require((_value == 0) || (allowed[msg.sender][_spender] == 0)); allowed[msg.sender][_spender] = _value; Approval(msg.sender, _spender, _value); return true; } function allowance(address _owner, address _spender) constant returns (uint256 remaining) { return allowed[_owner][_spender]; } function mint() canPoSMint returns (bool) { if(balances[msg.sender] <= 0) return false; if(transferIns[msg.sender].length <= 0) return false; uint reward = getProofOfStakeReward(msg.sender); if(reward <= 0) return false; totalSupply = totalSupply.add(reward); balances[msg.sender] = balances[msg.sender].add(reward); delete transferIns[msg.sender]; transferIns[msg.sender].push(transferInStruct(uint128(balances[msg.sender]),uint64(now))); Mint(msg.sender, reward); return true; } function getBlockNumber() returns (uint blockNumber) { blockNumber = block.number.sub(chainStartBlockNumber); } function coinAge() constant returns (uint myCoinAge) { myCoinAge = getCoinAge(msg.sender,now); } function annualInterest() constant returns(uint interest) { uint _now = now; interest = maxMintProofOfStake; if((_now.sub(stakeStartTime)).div(1 years) == 0) { interest = (1650 * maxMintProofOfStake).div(100); } else if((_now.sub(stakeStartTime)).div(1 years) == 1){ interest = (770 * maxMintProofOfStake).div(100); } } function getProofOfStakeReward(address _address) internal returns (uint) { require( (now >= stakeStartTime) && (stakeStartTime > 0) ); uint _now = now; uint _coinAge = getCoinAge(_address, _now); if(_coinAge <= 0) return 0; uint interest = maxMintProofOfStake; if((_now.sub(stakeStartTime)).div(1 years) == 0) { // 1st year effective annual interest rate is 300% when we select the stakeMaxAge (90 days) as the compounding period. interest = (1650 * maxMintProofOfStake).div(100); } else if((_now.sub(stakeStartTime)).div(1 years) == 1){ // 2nd year effective annual interest rate is 100% interest = (770 * maxMintProofOfStake).div(100); } return (_coinAge * interest).div(365 * (10**decimals)); } function getCoinAge(address _address, uint _now) internal returns (uint _coinAge) { if(transferIns[_address].length <= 0) return 0; for (uint i = 0; i < transferIns[_address].length; i++){ if( _now < uint(transferIns[_address][i].time).add(stakeMinAge) ) continue; uint nCoinSeconds = _now.sub(uint(transferIns[_address][i].time)); if( nCoinSeconds > stakeMaxAge ) nCoinSeconds = stakeMaxAge; _coinAge = _coinAge.add(uint(transferIns[_address][i].amount) * nCoinSeconds.div(1 days)); } } function ownerSetStakeStartTime(uint timestamp) onlyOwner { require((stakeStartTime <= 0) && (timestamp >= chainStartTime)); stakeStartTime = timestamp; } function ownerBurnToken(uint _value) onlyOwner { require(_value > 0); balances[msg.sender] = balances[msg.sender].sub(_value); delete transferIns[msg.sender]; transferIns[msg.sender].push(transferInStruct(uint128(balances[msg.sender]),uint64(now))); totalSupply = totalSupply.sub(_value); totalInitialSupply = totalInitialSupply.sub(_value); maxTotalSupply = maxTotalSupply.sub(_value*10); Burn(msg.sender, _value); } /* Batch token transfer. Used by contract creator to distribute initial tokens to holders */ function batchTransfer(address[] _recipients, uint[] _values) onlyOwner returns (bool) { require( _recipients.length > 0 && _recipients.length == _values.length); uint total = 0; for(uint i = 0; i < _values.length; i++){ total = total.add(_values[i]); } require(total <= balances[msg.sender]); uint64 _now = uint64(now); for(uint j = 0; j < _recipients.length; j++){ balances[_recipients[j]] = balances[_recipients[j]].add(_values[j]); transferIns[_recipients[j]].push(transferInStruct(uint128(_values[j]),_now)); Transfer(msg.sender, _recipients[j], _values[j]); } balances[msg.sender] = balances[msg.sender].sub(total); if(transferIns[msg.sender].length > 0) delete transferIns[msg.sender]; if(balances[msg.sender] > 0) transferIns[msg.sender].push(transferInStruct(uint128(balances[msg.sender]),_now)); return true; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"mint","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"coinAge","outputs":[{"name":"myCoinAge","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"timestamp","type":"uint256"}],"name":"ownerSetStakeStartTime","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"maxTotalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"getBlockNumber","outputs":[{"name":"blockNumber","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"chainStartTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"stakeStartTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_recipients","type":"address[]"},{"name":"_values","type":"uint256[]"}],"name":"batchTransfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"ownerBurnToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalInitialSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"annualInterest","outputs":[{"name":"interest","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"stakeMinAge","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"chainStartBlockNumber","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"stakeMaxAge","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"maxMintProofOfStake","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"burner","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_address","type":"address"},{"indexed":false,"name":"_reward","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"}]
Contract Creation Code
606060405260408051908101604052600881527f4d6572697374656d000000000000000000000000000000000000000000000000602082015260059080516200004d92916020019062000123565b5060408051908101604052600481527f4d45524900000000000000000000000000000000000000000000000000000000602082015260069080516200009792916020019062000123565b5060126007556203f480600b556276a700600c5567016345785d8a0000600d553415620000c357600080fd5b60048054600160a060020a03191633600160a060020a03169081179091556a084595161401484a000000600f5569d3c21bcecceda100000060108190554260085543600955600091825260116020526040909120819055600e55620001c8565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200016657805160ff191683800117855562000196565b8280016001018555821562000196579182015b828111156200019657825182559160200191906001019062000179565b50620001a4929150620001a8565b5090565b620001c591905b80821115620001a45760008155600101620001af565b90565b61197c80620001d86000396000f3006060604052600436106101535763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610158578063095ea7b3146101e25780631249c58b1461021857806318160ddd1461022b5780631e1b13c01461025057806323b872dd146102635780632a9edf6f1461028b5780632ab4d052146102a3578063313ce567146102b657806342cbb15c146102c95780635b054f9b146102dc57806370a08231146102ef5780637419f1901461030e57806388d695b2146103215780638da5cb5b146103b057806390762a8b146103df57806395d89b41146103f55780639fd4da4014610408578063a9059cbb1461041b578063b2552fc41461043d578063cbd8877e14610450578063cd474b0414610463578063dd62ed3e14610476578063e1c3bac61461049b578063f2bb5ce1146104ae578063f2fde38b146104c1575b600080fd5b341561016357600080fd5b61016b6104e0565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101a757808201518382015260200161018f565b50505050905090810190601f1680156101d45780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101ed57600080fd5b610204600160a060020a036004351660243561057e565b604051901515815260200160405180910390f35b341561022357600080fd5b610204610624565b341561023657600080fd5b61023e61081d565b60405190815260200160405180910390f35b341561025b57600080fd5b61023e610823565b341561026e57600080fd5b610204600160a060020a0360043581169060243516604435610834565b341561029657600080fd5b6102a1600435610b29565b005b34156102ae57600080fd5b61023e610b69565b34156102c157600080fd5b61023e610b6f565b34156102d457600080fd5b61023e610b75565b34156102e757600080fd5b61023e610b8c565b34156102fa57600080fd5b61023e600160a060020a0360043516610b92565b341561031957600080fd5b61023e610bad565b341561032c57600080fd5b610204600460248135818101908301358060208181020160405190810160405280939291908181526020018383602002808284378201915050505050509190803590602001908201803590602001908080602002602001604051908101604052809392919081815260200183836020028082843750949650610bb395505050505050565b34156103bb57600080fd5b6103c3610fc9565b604051600160a060020a03909116815260200160405180910390f35b34156103ea57600080fd5b6102a1600435610fd8565b341561040057600080fd5b61016b6111a3565b341561041357600080fd5b61023e61120e565b341561042657600080fd5b610204600160a060020a0360043516602435611214565b341561044857600080fd5b61023e6114c8565b341561045b57600080fd5b61023e61155f565b341561046e57600080fd5b61023e611565565b341561048157600080fd5b61023e600160a060020a036004358116906024351661156b565b34156104a657600080fd5b61023e611596565b34156104b957600080fd5b61023e61159c565b34156104cc57600080fd5b6102a1600160a060020a03600435166115a2565b60058054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105765780601f1061054b57610100808354040283529160200191610576565b820191906000526020600020905b81548152906001019060200180831161055957829003601f168201915b505050505081565b60008115806105b05750600160a060020a03338116600090815260126020908152604080832093871683529290522054155b15156105bb57600080fd5b600160a060020a03338116600081815260126020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b600080600f54600e5410151561063957600080fd5b600160a060020a033316600090815260116020526040812054116106605760009150610819565b600160a060020a033316600090815260136020526040812054116106875760009150610819565b61069033611601565b9050600081116106a35760009150610819565b600e546106b6908263ffffffff6116f616565b600e55600160a060020a0333166000908152601160205260409020546106e2908263ffffffff6116f616565b600160a060020a03331660009081526011602090815260408083209390935560139052908120610711916118ae565b600160a060020a033316600090815260136020526040902080546001810161073983826118cf565b91600052602060002090016000604080519081016040908152600160a060020a033316600090815260116020908152919020546001608060020a0316825267ffffffffffffffff421690820152919050815181546001608060020a0319166001608060020a03919091161781556020820151815467ffffffffffffffff91909116608060020a026000805160206119318339815191529091161790555050600160a060020a0333167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405190815260200160405180910390a2600191505b5090565b600e5481565b600061082f334261170c565b905090565b600080806060606436101561084857600080fd5b600160a060020a038616151561085d57600080fd5b600160a060020a038088166000818152601260209081526040808320339095168352938152838220549282526011905291909120549093506108a5908663ffffffff61188516565b600160a060020a0380891660009081526011602052604080822093909355908816815220546108da908663ffffffff6116f616565b600160a060020a038716600090815260116020526040902055610903838663ffffffff61188516565b600160a060020a03808916600081815260126020908152604080832033861684529091529081902093909355908816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9088905190815260200160405180910390a3600160a060020a03871660009081526013602052604081205411156109a657600160a060020a03871660009081526013602052604081206109a6916118ae565b600160a060020a03871660009081526013602052604090208054429350600181016109d183826118cf565b91600052602060002090016000604080519081016040908152600160a060020a038c16600090815260116020908152919020546001608060020a0316825267ffffffffffffffff871690820152919050815181546001608060020a0319166001608060020a03919091161781556020820151815467ffffffffffffffff91909116608060020a026000805160206119318339815191529091161790555050600160a060020a0386166000908152601360205260409020805460018101610a9783826118cf565b91600052602060002090016000604080519081016040526001608060020a038916815267ffffffffffffffff86166020820152919050815181546001608060020a0319166001608060020a03919091161781556020820151815467ffffffffffffffff91909116608060020a026000805160206119318339815191529091161790555060019450505050509392505050565b60045433600160a060020a03908116911614610b4457600080fd5b6000600a5411158015610b5957506008548110155b1515610b6457600080fd5b600a55565b600f5481565b60075481565b600061082f6009544361188590919063ffffffff16565b60085481565b600160a060020a031660009081526011602052604090205490565b600a5481565b600454600090819081908190819033600160a060020a03908116911614610bd957600080fd5b60008751118015610beb575085518751145b1515610bf657600080fd5b60009350600092505b8551831015610c3b57610c2e868481518110610c1757fe5b90602001906020020151859063ffffffff6116f616565b9350600190920191610bff565b600160a060020a033316600090815260116020526040902054841115610c6057600080fd5b5042905060005b8651811015610e5f57610cc9868281518110610c7f57fe5b90602001906020020151601160008a8581518110610c9957fe5b90602001906020020151600160a060020a031681526020810191909152604001600020549063ffffffff6116f616565b60116000898481518110610cd957fe5b90602001906020020151600160a060020a0316600160a060020a031681526020019081526020016000208190555060136000888381518110610d1757fe5b90602001906020020151600160a060020a031681526020810191909152604001600020805460018101610d4a83826118cf565b9160005260206000209001600060408051908101604052808a8681518110610d6e57fe5b906020019060200201516001608060020a0316815267ffffffffffffffff8716602090910152919050815181546001608060020a0319166001608060020a03919091161781556020820151815467ffffffffffffffff91909116608060020a02600080516020611931833981519152909116179055508790508181518110610df257fe5b90602001906020020151600160a060020a031633600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef888481518110610e3c57fe5b9060200190602002015160405190815260200160405180910390a3600101610c67565b600160a060020a033316600090815260116020526040902054610e88908563ffffffff61188516565b600160a060020a03331660009081526011602090815260408083209390935560139052908120541115610ed657600160a060020a0333166000908152601360205260408120610ed6916118ae565b600160a060020a0333166000908152601160205260408120541115610fbc57600160a060020a0333166000908152601360205260409020805460018101610f1d83826118cf565b91600052602060002090016000604080519081016040908152600160a060020a033316600090815260116020908152919020546001608060020a0316825267ffffffffffffffff871690820152919050815181546001608060020a0319166001608060020a03919091161781556020820151815467ffffffffffffffff91909116608060020a0260008051602061193183398151915290911617905550505b5060019695505050505050565b600454600160a060020a031681565b60045433600160a060020a03908116911614610ff357600080fd5b6000811161100057600080fd5b600160a060020a033316600090815260116020526040902054611029908263ffffffff61188516565b600160a060020a03331660009081526011602090815260408083209390935560139052908120611058916118ae565b600160a060020a033316600090815260136020526040902080546001810161108083826118cf565b91600052602060002090016000604080519081016040908152600160a060020a033316600090815260116020908152919020546001608060020a0316825267ffffffffffffffff421690820152919050815181546001608060020a0319166001608060020a03919091161781556020820151815467ffffffffffffffff91909116608060020a026000805160206119318339815191529091161790555050600e54611131908263ffffffff61188516565b600e55601054611147908263ffffffff61188516565b601055600f5461116090600a830263ffffffff61188516565b600f55600160a060020a0333167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405190815260200160405180910390a250565b60068054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105765780601f1061054b57610100808354040283529160200191610576565b60105481565b6000806040604436101561122757600080fd5b84600160a060020a031633600160a060020a0316141561125057611249610624565b92506114c0565b600160a060020a033316600090815260116020526040902054611279908563ffffffff61188516565b600160a060020a0333811660009081526011602052604080822093909355908716815220546112ae908563ffffffff6116f616565b600160a060020a0380871660008181526011602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9087905190815260200160405180910390a3600160a060020a033316600090815260136020526040812054111561134657600160a060020a0333166000908152601360205260408120611346916118ae565b600160a060020a033316600090815260136020526040902080544293506001810161137183826118cf565b91600052602060002090016000604080519081016040908152600160a060020a033316600090815260116020908152919020546001608060020a0316825267ffffffffffffffff871690820152919050815181546001608060020a0319166001608060020a03919091161781556020820151815467ffffffffffffffff91909116608060020a026000805160206119318339815191529091161790555050600160a060020a038516600090815260136020526040902080546001810161143783826118cf565b91600052602060002090016000604080519081016040526001608060020a038816815267ffffffffffffffff86166020820152919050815181546001608060020a0319166001608060020a03919091161781556020820151815467ffffffffffffffff91909116608060020a026000805160206119318339815191529091161790555060019350505b505092915050565b600d54600a5442906114f7906301e13380906114eb90849063ffffffff61188516565b9063ffffffff61189716565b151561151c57600d546115159061067202606463ffffffff61189716565b9150610819565b6115396301e133806114eb600a548461188590919063ffffffff16565b6001141561081957600d546115599061030202606463ffffffff61189716565b91505090565b600b5481565b60095481565b600160a060020a03918216600090815260126020908152604080832093909416825291909152205490565b600c5481565b600d5481565b60045433600160a060020a039081169116146115bd57600080fd5b600160a060020a03811615156115d257600080fd5b6004805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600080600080600a54421015801561161b57506000600a54115b151561162657600080fd5b429250611633858461170c565b91506000821161164657600093506116ee565b600d5490506116686301e133806114eb600a548661188590919063ffffffff16565b151561168d57600d546116869061067202606463ffffffff61189716565b90506116cd565b6116aa6301e133806114eb600a548661188590919063ffffffff16565b600114156116cd57600d546116ca9061030202606463ffffffff61189716565b90505b6116eb600754600a0a61016d0282840261189790919063ffffffff16565b93505b505050919050565b60008282018381101561170557fe5b9392505050565b600160a060020a0382166000908152601360205260408120548190819081901161173957600092506114c0565b600091505b600160a060020a0385166000908152601360205260409020548210156114c057600b54600160a060020a038616600090815260136020526040902080546117ae9291908590811061178b57fe5b600091825260209091200154608060020a900467ffffffffffffffff16906116f6565b8410156117ba5761187a565b600160a060020a038516600090815260136020526040902080546118079190849081106117e357fe5b6000918252602090912001548590608060020a900467ffffffffffffffff16611885565b9050600c548111156118185750600c545b61187761182e826201518063ffffffff61189716565b600160a060020a038716600090815260136020526040902080548590811061185257fe5b60009182526020909120015485916001608060020a039091160263ffffffff6116f616565b92505b60019091019061173e565b60008282111561189157fe5b50900390565b60008082848115156118a557fe5b04949350505050565b50805460008255906000526020600020908101906118cc91906118f8565b50565b8154818355818115116118f3576000838152602090206118f39181019083016118f8565b505050565b61192d91905b8082111561081957805477ffffffffffffffffffffffffffffffffffffffffffffffff191681556001016118fe565b905600ffffffffffffffff0000000000000000ffffffffffffffffffffffffffffffffa165627a7a72305820df568d943d9df483f67113d2ac8cc9d113567dbc9d9c58973cb6738ac02c9ea20029
Deployed Bytecode
0x6060604052600436106101535763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610158578063095ea7b3146101e25780631249c58b1461021857806318160ddd1461022b5780631e1b13c01461025057806323b872dd146102635780632a9edf6f1461028b5780632ab4d052146102a3578063313ce567146102b657806342cbb15c146102c95780635b054f9b146102dc57806370a08231146102ef5780637419f1901461030e57806388d695b2146103215780638da5cb5b146103b057806390762a8b146103df57806395d89b41146103f55780639fd4da4014610408578063a9059cbb1461041b578063b2552fc41461043d578063cbd8877e14610450578063cd474b0414610463578063dd62ed3e14610476578063e1c3bac61461049b578063f2bb5ce1146104ae578063f2fde38b146104c1575b600080fd5b341561016357600080fd5b61016b6104e0565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101a757808201518382015260200161018f565b50505050905090810190601f1680156101d45780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101ed57600080fd5b610204600160a060020a036004351660243561057e565b604051901515815260200160405180910390f35b341561022357600080fd5b610204610624565b341561023657600080fd5b61023e61081d565b60405190815260200160405180910390f35b341561025b57600080fd5b61023e610823565b341561026e57600080fd5b610204600160a060020a0360043581169060243516604435610834565b341561029657600080fd5b6102a1600435610b29565b005b34156102ae57600080fd5b61023e610b69565b34156102c157600080fd5b61023e610b6f565b34156102d457600080fd5b61023e610b75565b34156102e757600080fd5b61023e610b8c565b34156102fa57600080fd5b61023e600160a060020a0360043516610b92565b341561031957600080fd5b61023e610bad565b341561032c57600080fd5b610204600460248135818101908301358060208181020160405190810160405280939291908181526020018383602002808284378201915050505050509190803590602001908201803590602001908080602002602001604051908101604052809392919081815260200183836020028082843750949650610bb395505050505050565b34156103bb57600080fd5b6103c3610fc9565b604051600160a060020a03909116815260200160405180910390f35b34156103ea57600080fd5b6102a1600435610fd8565b341561040057600080fd5b61016b6111a3565b341561041357600080fd5b61023e61120e565b341561042657600080fd5b610204600160a060020a0360043516602435611214565b341561044857600080fd5b61023e6114c8565b341561045b57600080fd5b61023e61155f565b341561046e57600080fd5b61023e611565565b341561048157600080fd5b61023e600160a060020a036004358116906024351661156b565b34156104a657600080fd5b61023e611596565b34156104b957600080fd5b61023e61159c565b34156104cc57600080fd5b6102a1600160a060020a03600435166115a2565b60058054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105765780601f1061054b57610100808354040283529160200191610576565b820191906000526020600020905b81548152906001019060200180831161055957829003601f168201915b505050505081565b60008115806105b05750600160a060020a03338116600090815260126020908152604080832093871683529290522054155b15156105bb57600080fd5b600160a060020a03338116600081815260126020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b600080600f54600e5410151561063957600080fd5b600160a060020a033316600090815260116020526040812054116106605760009150610819565b600160a060020a033316600090815260136020526040812054116106875760009150610819565b61069033611601565b9050600081116106a35760009150610819565b600e546106b6908263ffffffff6116f616565b600e55600160a060020a0333166000908152601160205260409020546106e2908263ffffffff6116f616565b600160a060020a03331660009081526011602090815260408083209390935560139052908120610711916118ae565b600160a060020a033316600090815260136020526040902080546001810161073983826118cf565b91600052602060002090016000604080519081016040908152600160a060020a033316600090815260116020908152919020546001608060020a0316825267ffffffffffffffff421690820152919050815181546001608060020a0319166001608060020a03919091161781556020820151815467ffffffffffffffff91909116608060020a026000805160206119318339815191529091161790555050600160a060020a0333167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405190815260200160405180910390a2600191505b5090565b600e5481565b600061082f334261170c565b905090565b600080806060606436101561084857600080fd5b600160a060020a038616151561085d57600080fd5b600160a060020a038088166000818152601260209081526040808320339095168352938152838220549282526011905291909120549093506108a5908663ffffffff61188516565b600160a060020a0380891660009081526011602052604080822093909355908816815220546108da908663ffffffff6116f616565b600160a060020a038716600090815260116020526040902055610903838663ffffffff61188516565b600160a060020a03808916600081815260126020908152604080832033861684529091529081902093909355908816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9088905190815260200160405180910390a3600160a060020a03871660009081526013602052604081205411156109a657600160a060020a03871660009081526013602052604081206109a6916118ae565b600160a060020a03871660009081526013602052604090208054429350600181016109d183826118cf565b91600052602060002090016000604080519081016040908152600160a060020a038c16600090815260116020908152919020546001608060020a0316825267ffffffffffffffff871690820152919050815181546001608060020a0319166001608060020a03919091161781556020820151815467ffffffffffffffff91909116608060020a026000805160206119318339815191529091161790555050600160a060020a0386166000908152601360205260409020805460018101610a9783826118cf565b91600052602060002090016000604080519081016040526001608060020a038916815267ffffffffffffffff86166020820152919050815181546001608060020a0319166001608060020a03919091161781556020820151815467ffffffffffffffff91909116608060020a026000805160206119318339815191529091161790555060019450505050509392505050565b60045433600160a060020a03908116911614610b4457600080fd5b6000600a5411158015610b5957506008548110155b1515610b6457600080fd5b600a55565b600f5481565b60075481565b600061082f6009544361188590919063ffffffff16565b60085481565b600160a060020a031660009081526011602052604090205490565b600a5481565b600454600090819081908190819033600160a060020a03908116911614610bd957600080fd5b60008751118015610beb575085518751145b1515610bf657600080fd5b60009350600092505b8551831015610c3b57610c2e868481518110610c1757fe5b90602001906020020151859063ffffffff6116f616565b9350600190920191610bff565b600160a060020a033316600090815260116020526040902054841115610c6057600080fd5b5042905060005b8651811015610e5f57610cc9868281518110610c7f57fe5b90602001906020020151601160008a8581518110610c9957fe5b90602001906020020151600160a060020a031681526020810191909152604001600020549063ffffffff6116f616565b60116000898481518110610cd957fe5b90602001906020020151600160a060020a0316600160a060020a031681526020019081526020016000208190555060136000888381518110610d1757fe5b90602001906020020151600160a060020a031681526020810191909152604001600020805460018101610d4a83826118cf565b9160005260206000209001600060408051908101604052808a8681518110610d6e57fe5b906020019060200201516001608060020a0316815267ffffffffffffffff8716602090910152919050815181546001608060020a0319166001608060020a03919091161781556020820151815467ffffffffffffffff91909116608060020a02600080516020611931833981519152909116179055508790508181518110610df257fe5b90602001906020020151600160a060020a031633600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef888481518110610e3c57fe5b9060200190602002015160405190815260200160405180910390a3600101610c67565b600160a060020a033316600090815260116020526040902054610e88908563ffffffff61188516565b600160a060020a03331660009081526011602090815260408083209390935560139052908120541115610ed657600160a060020a0333166000908152601360205260408120610ed6916118ae565b600160a060020a0333166000908152601160205260408120541115610fbc57600160a060020a0333166000908152601360205260409020805460018101610f1d83826118cf565b91600052602060002090016000604080519081016040908152600160a060020a033316600090815260116020908152919020546001608060020a0316825267ffffffffffffffff871690820152919050815181546001608060020a0319166001608060020a03919091161781556020820151815467ffffffffffffffff91909116608060020a0260008051602061193183398151915290911617905550505b5060019695505050505050565b600454600160a060020a031681565b60045433600160a060020a03908116911614610ff357600080fd5b6000811161100057600080fd5b600160a060020a033316600090815260116020526040902054611029908263ffffffff61188516565b600160a060020a03331660009081526011602090815260408083209390935560139052908120611058916118ae565b600160a060020a033316600090815260136020526040902080546001810161108083826118cf565b91600052602060002090016000604080519081016040908152600160a060020a033316600090815260116020908152919020546001608060020a0316825267ffffffffffffffff421690820152919050815181546001608060020a0319166001608060020a03919091161781556020820151815467ffffffffffffffff91909116608060020a026000805160206119318339815191529091161790555050600e54611131908263ffffffff61188516565b600e55601054611147908263ffffffff61188516565b601055600f5461116090600a830263ffffffff61188516565b600f55600160a060020a0333167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405190815260200160405180910390a250565b60068054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105765780601f1061054b57610100808354040283529160200191610576565b60105481565b6000806040604436101561122757600080fd5b84600160a060020a031633600160a060020a0316141561125057611249610624565b92506114c0565b600160a060020a033316600090815260116020526040902054611279908563ffffffff61188516565b600160a060020a0333811660009081526011602052604080822093909355908716815220546112ae908563ffffffff6116f616565b600160a060020a0380871660008181526011602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9087905190815260200160405180910390a3600160a060020a033316600090815260136020526040812054111561134657600160a060020a0333166000908152601360205260408120611346916118ae565b600160a060020a033316600090815260136020526040902080544293506001810161137183826118cf565b91600052602060002090016000604080519081016040908152600160a060020a033316600090815260116020908152919020546001608060020a0316825267ffffffffffffffff871690820152919050815181546001608060020a0319166001608060020a03919091161781556020820151815467ffffffffffffffff91909116608060020a026000805160206119318339815191529091161790555050600160a060020a038516600090815260136020526040902080546001810161143783826118cf565b91600052602060002090016000604080519081016040526001608060020a038816815267ffffffffffffffff86166020820152919050815181546001608060020a0319166001608060020a03919091161781556020820151815467ffffffffffffffff91909116608060020a026000805160206119318339815191529091161790555060019350505b505092915050565b600d54600a5442906114f7906301e13380906114eb90849063ffffffff61188516565b9063ffffffff61189716565b151561151c57600d546115159061067202606463ffffffff61189716565b9150610819565b6115396301e133806114eb600a548461188590919063ffffffff16565b6001141561081957600d546115599061030202606463ffffffff61189716565b91505090565b600b5481565b60095481565b600160a060020a03918216600090815260126020908152604080832093909416825291909152205490565b600c5481565b600d5481565b60045433600160a060020a039081169116146115bd57600080fd5b600160a060020a03811615156115d257600080fd5b6004805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600080600080600a54421015801561161b57506000600a54115b151561162657600080fd5b429250611633858461170c565b91506000821161164657600093506116ee565b600d5490506116686301e133806114eb600a548661188590919063ffffffff16565b151561168d57600d546116869061067202606463ffffffff61189716565b90506116cd565b6116aa6301e133806114eb600a548661188590919063ffffffff16565b600114156116cd57600d546116ca9061030202606463ffffffff61189716565b90505b6116eb600754600a0a61016d0282840261189790919063ffffffff16565b93505b505050919050565b60008282018381101561170557fe5b9392505050565b600160a060020a0382166000908152601360205260408120548190819081901161173957600092506114c0565b600091505b600160a060020a0385166000908152601360205260409020548210156114c057600b54600160a060020a038616600090815260136020526040902080546117ae9291908590811061178b57fe5b600091825260209091200154608060020a900467ffffffffffffffff16906116f6565b8410156117ba5761187a565b600160a060020a038516600090815260136020526040902080546118079190849081106117e357fe5b6000918252602090912001548590608060020a900467ffffffffffffffff16611885565b9050600c548111156118185750600c545b61187761182e826201518063ffffffff61189716565b600160a060020a038716600090815260136020526040902080548590811061185257fe5b60009182526020909120015485916001608060020a039091160263ffffffff6116f616565b92505b60019091019061173e565b60008282111561189157fe5b50900390565b60008082848115156118a557fe5b04949350505050565b50805460008255906000526020600020908101906118cc91906118f8565b50565b8154818355818115116118f3576000838152602090206118f39181019083016118f8565b505050565b61192d91905b8082111561081957805477ffffffffffffffffffffffffffffffffffffffffffffffff191681556001016118fe565b905600ffffffffffffffff0000000000000000ffffffffffffffffffffffffffffffffa165627a7a72305820df568d943d9df483f67113d2ac8cc9d113567dbc9d9c58973cb6738ac02c9ea20029
Swarm Source
bzzr://df568d943d9df483f67113d2ac8cc9d113567dbc9d9c58973cb6738ac02c9ea2
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.