ERC-20
Overview
Max Total Supply
2,603,728.983432375737983362 LGL
Holders
1,641
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
59.019329806095309082 LGLValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
LegalToken
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-11-22 */ pragma solidity ^0.4.13; library Math { function max64(uint64 a, uint64 b) internal constant returns (uint64) { return a >= b ? a : b; } function min64(uint64 a, uint64 b) internal constant returns (uint64) { return a < b ? a : b; } function max256(uint256 a, uint256 b) internal constant returns (uint256) { return a >= b ? a : b; } function min256(uint256 a, uint256 b) internal constant returns (uint256) { return a < b ? a : b; } } contract Ownable { address public owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ 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) public onlyOwner { require(newOwner != address(0)); OwnershipTransferred(owner, newOwner); owner = newOwner; } } 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 ERC20Basic { uint256 public totalSupply; function balanceOf(address who) public constant returns (uint256); function transfer(address to, uint256 value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } contract LegalLazyScheduler is Ownable { uint64 public lastUpdate; uint64 public intervalDuration; bool schedulerEnabled = false; function() internal callback; event LogRegisteredInterval(uint64 date, uint64 duration); event LogProcessedInterval(uint64 date, uint64 intervals); /** * Triggers the registered callback function for the number of periods passed since last update */ modifier intervalTrigger() { uint64 currentTime = uint64(now); uint64 requiredIntervals = (currentTime - lastUpdate) / intervalDuration; if( schedulerEnabled && (requiredIntervals > 0)) { LogProcessedInterval(lastUpdate, requiredIntervals); while (requiredIntervals-- > 0) { callback(); } lastUpdate = currentTime; } _; } function LegalLazyScheduler() { lastUpdate = uint64(now); } function enableScheduler() onlyOwner public { schedulerEnabled = true; } function registerIntervalCall(uint64 _intervalDuration, function() internal _callback) internal { lastUpdate = uint64(now); intervalDuration = _intervalDuration; callback = _callback; LogRegisteredInterval(lastUpdate, intervalDuration); } } contract ERC20 is ERC20Basic { function allowance(address owner, address spender) public constant returns (uint256); function transferFrom(address from, address to, uint256 value) public returns (bool); function approve(address spender, uint256 value) public returns (bool); event Approval(address indexed owner, address indexed spender, uint256 value); } contract LimitedTransferToken is ERC20 { /** * @dev Checks whether it can transfer or otherwise throws. */ modifier canTransfer(address _sender, uint256 _value) { require(_value <= transferableTokens(_sender, uint64(now))); _; } /** * @dev Checks modifier and allows transfer if tokens are not locked. * @param _to The address that will receive the tokens. * @param _value The amount of tokens to be transferred. */ function transfer(address _to, uint256 _value) canTransfer(msg.sender, _value) public returns (bool) { return super.transfer(_to, _value); } /** * @dev Checks modifier and allows transfer if tokens are not locked. * @param _from The address that will send the tokens. * @param _to The address that will receive the tokens. * @param _value The amount of tokens to be transferred. */ function transferFrom(address _from, address _to, uint256 _value) canTransfer(_from, _value) public returns (bool) { return super.transferFrom(_from, _to, _value); } /** * @dev Default transferable tokens function returns all tokens for a holder (no limit). * @dev Overwriting transferableTokens(address holder, uint64 time) is the way to provide the * specific logic for limiting token transferability for a holder over time. */ function transferableTokens(address holder, uint64 time) public constant returns (uint256) { return balanceOf(holder); } } contract BasicToken is ERC20Basic { using SafeMath for uint256; mapping(address => uint256) balances; /** * @dev transfer token for a specified address * @param _to The address to transfer to. * @param _value The amount to be transferred. */ function transfer(address _to, uint256 _value) public returns (bool) { require(_to != address(0)); // SafeMath.sub will throw if there is not enough balance. balances[msg.sender] = balances[msg.sender].sub(_value); balances[_to] = balances[_to].add(_value); Transfer(msg.sender, _to, _value); return true; } /** * @dev Gets the balance of the specified address. * @param _owner The address to query the the balance of. * @return An uint256 representing the amount owned by the passed address. */ function balanceOf(address _owner) public constant returns (uint256 balance) { return balances[_owner]; } } contract StandardToken is ERC20, BasicToken { mapping (address => mapping (address => uint256)) allowed; /** * @dev Transfer tokens from one address to another * @param _from address The address which you want to send tokens from * @param _to address The address which you want to transfer to * @param _value uint256 the amount of tokens to be transferred */ function transferFrom(address _from, address _to, uint256 _value) public returns (bool) { require(_to != address(0)); uint256 _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); return true; } /** * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender. * * 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 * @param _spender The address which will spend the funds. * @param _value The amount of tokens to be spent. */ function approve(address _spender, uint256 _value) public returns (bool) { allowed[msg.sender][_spender] = _value; Approval(msg.sender, _spender, _value); return true; } /** * @dev Function to check the amount of tokens that an owner allowed to a spender. * @param _owner address The address which owns the funds. * @param _spender address The address which will spend the funds. * @return A uint256 specifying the amount of tokens still available for the spender. */ function allowance(address _owner, address _spender) public constant returns (uint256 remaining) { return allowed[_owner][_spender]; } /** * approve should be called when allowed[_spender] == 0. To increment * allowed value is better to use this function to avoid 2 calls (and wait until * the first transaction is mined) * From MonolithDAO Token.sol */ function increaseApproval (address _spender, uint _addedValue) returns (bool success) { allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue); Approval(msg.sender, _spender, allowed[msg.sender][_spender]); return true; } function decreaseApproval (address _spender, uint _subtractedValue) returns (bool success) { uint oldValue = allowed[msg.sender][_spender]; if (_subtractedValue > oldValue) { allowed[msg.sender][_spender] = 0; } else { allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue); } Approval(msg.sender, _spender, allowed[msg.sender][_spender]); return true; } } contract MintableToken is StandardToken, Ownable { event Mint(address indexed to, uint256 amount); event MintFinished(); bool public mintingFinished = false; modifier canMint() { require(!mintingFinished); _; } /** * @dev Function to mint tokens * @param _to The address that will receive the minted tokens. * @param _amount The amount of tokens to mint. * @return A boolean that indicates if the operation was successful. */ function mint(address _to, uint256 _amount) onlyOwner canMint public returns (bool) { totalSupply = totalSupply.add(_amount); balances[_to] = balances[_to].add(_amount); Mint(_to, _amount); Transfer(0x0, _to, _amount); return true; } /** * @dev Function to stop minting new tokens. * @return True if the operation was successful. */ function finishMinting() onlyOwner public returns (bool) { mintingFinished = true; MintFinished(); return true; } } contract VestedToken is StandardToken, LimitedTransferToken, Ownable { uint256 MAX_GRANTS_PER_ADDRESS = 20; struct TokenGrant { address granter; // 20 bytes uint256 value; // 32 bytes uint64 cliff; uint64 vesting; uint64 start; // 3 * 8 = 24 bytes bool revokable; bool burnsOnRevoke; // 2 * 1 = 2 bits? or 2 bytes? } // total 78 bytes = 3 sstore per operation (32 per sstore) mapping (address => TokenGrant[]) public grants; event NewTokenGrant(address indexed from, address indexed to, uint256 value, uint256 grantId); /** * @dev Grant tokens to a specified address * @param _to address The address which the tokens will be granted to. * @param _value uint256 The amount of tokens to be granted. * @param _start uint64 Time of the beginning of the grant. * @param _cliff uint64 Time of the cliff period. * @param _vesting uint64 The vesting period. */ function grantVestedTokens( address _to, uint256 _value, uint64 _start, uint64 _cliff, uint64 _vesting, bool _revokable, bool _burnsOnRevoke ) onlyOwner public { // Check for date inconsistencies that may cause unexpected behavior require(_cliff >= _start && _vesting >= _cliff); require(tokenGrantsCount(_to) < MAX_GRANTS_PER_ADDRESS); // To prevent a user being spammed and have his balance locked (out of gas attack when calculating vesting). uint256 count = grants[_to].push( TokenGrant( _revokable ? msg.sender : 0, // avoid storing an extra 20 bytes when it is non-revokable _value, _cliff, _vesting, _start, _revokable, _burnsOnRevoke ) ); transfer(_to, _value); NewTokenGrant(msg.sender, _to, _value, count - 1); } /** * @dev Revoke the grant of tokens of a specifed address. * @param _holder The address which will have its tokens revoked. * @param _grantId The id of the token grant. */ function revokeTokenGrant(address _holder, uint256 _grantId) public { TokenGrant storage grant = grants[_holder][_grantId]; require(grant.revokable); require(grant.granter == msg.sender); // Only granter can revoke it address receiver = grant.burnsOnRevoke ? 0xdead : msg.sender; uint256 nonVested = nonVestedTokens(grant, uint64(now)); // remove grant from array delete grants[_holder][_grantId]; grants[_holder][_grantId] = grants[_holder][grants[_holder].length.sub(1)]; grants[_holder].length -= 1; balances[receiver] = balances[receiver].add(nonVested); balances[_holder] = balances[_holder].sub(nonVested); Transfer(_holder, receiver, nonVested); } /** * @dev Calculate the total amount of transferable tokens of a holder at a given time * @param holder address The address of the holder * @param time uint64 The specific time. * @return An uint256 representing a holder's total amount of transferable tokens. */ function transferableTokens(address holder, uint64 time) public constant returns (uint256) { uint256 grantIndex = tokenGrantsCount(holder); if (grantIndex == 0) return super.transferableTokens(holder, time); // shortcut for holder without grants // Iterate through all the grants the holder has, and add all non-vested tokens uint256 nonVested = 0; for (uint256 i = 0; i < grantIndex; i++) { nonVested = SafeMath.add(nonVested, nonVestedTokens(grants[holder][i], time)); } // Balance - totalNonVested is the amount of tokens a holder can transfer at any given time uint256 vestedTransferable = SafeMath.sub(balanceOf(holder), nonVested); // Return the minimum of how many vested can transfer and other value // in case there are other limiting transferability factors (default is balanceOf) return Math.min256(vestedTransferable, super.transferableTokens(holder, time)); } /** * @dev Check the amount of grants that an address has. * @param _holder The holder of the grants. * @return A uint256 representing the total amount of grants. */ function tokenGrantsCount(address _holder) public constant returns (uint256 index) { return grants[_holder].length; } /** * @dev Calculate amount of vested tokens at a specific time * @param tokens uint256 The amount of tokens granted * @param time uint64 The time to be checked * @param start uint64 The time representing the beginning of the grant * @param cliff uint64 The cliff period, the period before nothing can be paid out * @param vesting uint64 The vesting period * @return An uint256 representing the amount of vested tokens of a specific grant * transferableTokens * | _/-------- vestedTokens rect * | _/ * | _/ * | _/ * | _/ * | / * | .| * | . | * | . | * | . | * | . | * | . | * +===+===========+---------+----------> time * Start Cliff Vesting */ function calculateVestedTokens( uint256 tokens, uint256 time, uint256 start, uint256 cliff, uint256 vesting) public constant returns (uint256) { // Shortcuts for before cliff and after vesting cases. if (time < cliff) return 0; if (time >= vesting) return tokens; // Interpolate all vested tokens. // As before cliff the shortcut returns 0, we can use just calculate a value // in the vesting rect (as shown in above's figure) // vestedTokens = (tokens * (time - start)) / (vesting - start) uint256 vestedTokens = SafeMath.div( SafeMath.mul( tokens, SafeMath.sub(time, start) ), SafeMath.sub(vesting, start) ); return vestedTokens; } /** * @dev Get all information about a specific grant. * @param _holder The address which will have its tokens revoked. * @param _grantId The id of the token grant. * @return Returns all the values that represent a TokenGrant(address, value, start, cliff, * revokability, burnsOnRevoke, and vesting) plus the vested value at the current time. */ function tokenGrant(address _holder, uint256 _grantId) public constant returns (address granter, uint256 value, uint256 vested, uint64 start, uint64 cliff, uint64 vesting, bool revokable, bool burnsOnRevoke) { TokenGrant storage grant = grants[_holder][_grantId]; granter = grant.granter; value = grant.value; start = grant.start; cliff = grant.cliff; vesting = grant.vesting; revokable = grant.revokable; burnsOnRevoke = grant.burnsOnRevoke; vested = vestedTokens(grant, uint64(now)); } /** * @dev Get the amount of vested tokens at a specific time. * @param grant TokenGrant The grant to be checked. * @param time The time to be checked * @return An uint256 representing the amount of vested tokens of a specific grant at a specific time. */ function vestedTokens(TokenGrant grant, uint64 time) private constant returns (uint256) { return calculateVestedTokens( grant.value, uint256(time), uint256(grant.start), uint256(grant.cliff), uint256(grant.vesting) ); } /** * @dev Calculate the amount of non vested tokens at a specific time. * @param grant TokenGrant The grant to be checked. * @param time uint64 The time to be checked * @return An uint256 representing the amount of non vested tokens of a specific grant on the * passed time frame. */ function nonVestedTokens(TokenGrant grant, uint64 time) private constant returns (uint256) { return grant.value.sub(vestedTokens(grant, time)); } /** * @dev Calculate the date when the holder can transfer all its tokens * @param holder address The address of the holder * @return An uint256 representing the date of the last transferable tokens. */ function lastTokenIsTransferableDate(address holder) public constant returns (uint64 date) { date = uint64(now); uint256 grantIndex = grants[holder].length; for (uint256 i = 0; i < grantIndex; i++) { date = Math.max64(grants[holder][i].vesting, date); } } } contract LegalToken is LegalLazyScheduler, MintableToken, VestedToken { /** * The name of the token */ bytes32 public name; /** * The symbol used for exchange */ bytes32 public symbol; /** * Use to convert to number of tokens. */ uint public decimals = 18; /** * The yearly expected inflation rate in base points. */ uint32 public inflationCompBPS; /** * The tokens are locked until the end of the TGE. * The contract can release the tokens if TGE successful. If false we are in transfer lock up period. */ bool public released = false; /** * Annually new minted tokens will be transferred to this wallet. * Publications will be rewarded with funds (incentives). */ address public rewardWallet; /** * Name and symbol were updated. */ event UpdatedTokenInformation(bytes32 newName, bytes32 newSymbol); /** * @dev Constructor that gives msg.sender all of existing tokens. */ function LegalToken(address _rewardWallet, uint32 _inflationCompBPS, uint32 _inflationCompInterval) onlyOwner public { setTokenInformation("Legal Token", "LGL"); totalSupply = 0; rewardWallet = _rewardWallet; inflationCompBPS = _inflationCompBPS; registerIntervalCall(_inflationCompInterval, mintInflationPeriod); } /** * This function allows the token owner to rename the token after the operations * have been completed and then point the audience to use the token contract. */ function setTokenInformation(bytes32 _name, bytes32 _symbol) onlyOwner public { name = _name; symbol = _symbol; UpdatedTokenInformation(name, symbol); } /** * Mint new tokens for the predefined inflation period and assign them to the reward wallet. */ function mintInflationPeriod() private { uint256 tokensToMint = totalSupply.mul(inflationCompBPS).div(10000); totalSupply = totalSupply.add(tokensToMint); balances[rewardWallet] = balances[rewardWallet].add(tokensToMint); Mint(rewardWallet, tokensToMint); Transfer(0x0, rewardWallet, tokensToMint); } function setRewardWallet(address _rewardWallet) public onlyOwner { rewardWallet = _rewardWallet; } /** * Limit token transfer until the TGE is over. */ modifier tokenReleased(address _sender) { require(released); _; } /** * This will make the tokens transferable */ function releaseTokenTransfer() public onlyOwner { released = true; } // error: canTransfer(msg.sender, _value) function transfer(address _to, uint _value) public tokenReleased(msg.sender) intervalTrigger returns (bool success) { // Calls StandardToken.transfer() // error: super.transfer(_to, _value); return super.transfer(_to, _value); } function transferFrom(address _from, address _to, uint _value) public tokenReleased(_from) intervalTrigger returns (bool success) { // Calls StandardToken.transferForm() return super.transferFrom(_from, _to, _value); } function approve(address _spender, uint256 _value) public tokenReleased(msg.sender) intervalTrigger returns (bool) { // calls StandardToken.approve(..) return super.approve(_spender, _value); } function allowance(address _owner, address _spender) public constant returns (uint256 remaining) { // calls StandardToken.allowance(..) return super.allowance(_owner, _spender); } function increaseApproval (address _spender, uint _addedValue) public tokenReleased(msg.sender) intervalTrigger returns (bool success) { // calls StandardToken.increaseApproval(..) return super.increaseApproval(_spender, _addedValue); } function decreaseApproval (address _spender, uint _subtractedValue) public tokenReleased(msg.sender) intervalTrigger returns (bool success) { // calls StandardToken.decreaseApproval(..) return super.decreaseApproval(_spender, _subtractedValue); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[{"name":"_holder","type":"address"}],"name":"tokenGrantsCount","outputs":[{"name":"index","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"mintingFinished","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"bytes32"}],"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":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","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":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"uint256"}],"name":"grants","outputs":[{"name":"granter","type":"address"},{"name":"value","type":"uint256"},{"name":"cliff","type":"uint64"},{"name":"vesting","type":"uint64"},{"name":"start","type":"uint64"},{"name":"revokable","type":"bool"},{"name":"burnsOnRevoke","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"intervalDuration","outputs":[{"name":"","type":"uint64"}],"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":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"mint","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_rewardWallet","type":"address"}],"name":"setRewardWallet","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"releaseTokenTransfer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_holder","type":"address"},{"name":"_grantId","type":"uint256"}],"name":"tokenGrant","outputs":[{"name":"granter","type":"address"},{"name":"value","type":"uint256"},{"name":"vested","type":"uint256"},{"name":"start","type":"uint64"},{"name":"cliff","type":"uint64"},{"name":"vesting","type":"uint64"},{"name":"revokable","type":"bool"},{"name":"burnsOnRevoke","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"}],"name":"decreaseApproval","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"holder","type":"address"}],"name":"lastTokenIsTransferableDate","outputs":[{"name":"date","type":"uint64"}],"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":false,"inputs":[],"name":"finishMinting","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"inflationCompBPS","outputs":[{"name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"bytes32"},{"name":"_symbol","type":"bytes32"}],"name":"setTokenInformation","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"released","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"},{"name":"_start","type":"uint64"},{"name":"_cliff","type":"uint64"},{"name":"_vesting","type":"uint64"},{"name":"_revokable","type":"bool"},{"name":"_burnsOnRevoke","type":"bool"}],"name":"grantVestedTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"enableScheduler","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"lastUpdate","outputs":[{"name":"","type":"uint64"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"holder","type":"address"},{"name":"time","type":"uint64"}],"name":"transferableTokens","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"}],"name":"increaseApproval","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","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":"tokens","type":"uint256"},{"name":"time","type":"uint256"},{"name":"start","type":"uint256"},{"name":"cliff","type":"uint256"},{"name":"vesting","type":"uint256"}],"name":"calculateVestedTokens","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_holder","type":"address"},{"name":"_grantId","type":"uint256"}],"name":"revokeTokenGrant","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"rewardWallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_rewardWallet","type":"address"},{"name":"_inflationCompBPS","type":"uint32"},{"name":"_inflationCompInterval","type":"uint32"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"newName","type":"bytes32"},{"indexed":false,"name":"newSymbol","type":"bytes32"}],"name":"UpdatedTokenInformation","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"},{"indexed":false,"name":"grantId","type":"uint256"}],"name":"NewTokenGrant","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[],"name":"MintFinished","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"date","type":"uint64"},{"indexed":false,"name":"duration","type":"uint64"}],"name":"LogRegisteredInterval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"date","type":"uint64"},{"indexed":false,"name":"intervals","type":"uint64"}],"name":"LogProcessedInterval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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
606060405260048054604060020a69ff0000000000000000ff021916905560146005556012600955600a805464ff000000001916905534156200004157600080fd5b6040516060806200285e83398101604052808051919060200180519190602001805160038054600160a060020a03191633600160a060020a0390811691821760a060020a60e060020a03191674010000000000000000000000000000000000000000426001604060020a03160217928390559294509116149050620000c557600080fd5b6200011f7f4c6567616c20546f6b656e0000000000000000000000000000000000000000007f4c474c000000000000000000000000000000000000000000000000000000000064010000000062000f2a6200018e82021704565b60008055600a8054602860020a60c860020a03191665010000000000600160a060020a038616021763ffffffff191663ffffffff8481169190911790915562000185908216620001f26401000000009081026200218b17906200034b8102620022a21704565b50505062000463565b60035433600160a060020a03908116911614620001aa57600080fd5b600782905560088190557fc465e742f7ad62135e227f5f2eef5d2c1329a0def3989ef6601f8201bcdaf873828260405191825260208201526040908101905180910390a15050565b600a5460008054909162000239916127109162000224919063ffffffff1664010000000062001ee26200040d82021704565b9064010000000062001f066200043b82021704565b60005490915062000259908264010000000062001c1f6200045382021704565b6000908155600a54650100000000009004600160a060020a031681526001602052604090205462000299908264010000000062000453810262001c1f1704565b600a8054600160a060020a0365010000000000918290048116600090815260016020526040908190209490945591540416907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968859083905190815260200160405180910390a2600a54650100000000009004600160a060020a031660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405190815260200160405180910390a350565b6003805460a060020a60e060020a03191674010000000000000000000000000000000000000000426001604060020a03908116820292909217928390556004805467ffffffffffffffff191686841617604860020a608860020a03191669010000000000000000008685160217908190557fe777b97bc7b463a02e50722e497fe2d9114e125f69521f01d519190b13a3cd8f9391909104821691166040516001604060020a039283168152911660208201526040908101905180910390a15050565b60008282028315806200042b57508284828115156200042857fe5b04145b15156200043457fe5b9392505050565b60008082848115156200044a57fe5b04949350505050565b6000828201838110156200043457fe5b6123eb80620004736000396000f3006060604052600436106101a05763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166302a72a4c81146101a557806305d2035b146101d657806306fdde03146101fd578063095ea7b31461021057806318160ddd1461023257806323b872dd146102455780632c71e60a1461026d5780633076dc42146102e8578063313ce5671461031857806340c10f191461032b5780635958621e1461034d5780635f412d4f1461036e578063600e85b71461038157806366188463146104025780636c182e991461042457806370a08231146104435780637d64bcb4146104625780638031233c14610475578063814c25fc146104a15780638da5cb5b146104ba57806395d89b41146104e957806396132521146104fc5780639754a4d91461050f578063a9059cbb14610554578063bfea879014610576578063c046371114610589578063d347c2051461059c578063d73dd623146105c8578063dd62ed3e146105ea578063df3c211b1461060f578063eb944e4c14610631578063f2fde38b14610653578063fb75b2c714610672575b600080fd5b34156101b057600080fd5b6101c4600160a060020a0360043516610685565b60405190815260200160405180910390f35b34156101e157600080fd5b6101e96106a0565b604051901515815260200160405180910390f35b341561020857600080fd5b6101c46106be565b341561021b57600080fd5b6101e9600160a060020a03600435166024356106c4565b341561023d57600080fd5b6101c4610804565b341561025057600080fd5b6101e9600160a060020a036004358116906024351660443561080a565b341561027857600080fd5b61028f600160a060020a036004351660243561094c565b604051600160a060020a039097168752602087019590955267ffffffffffffffff93841660408088019190915292841660608701529216608085015290151560a084015290151560c083015260e0909101905180910390f35b34156102f357600080fd5b6102fb6109d0565b60405167ffffffffffffffff909116815260200160405180910390f35b341561032357600080fd5b6101c46109e0565b341561033657600080fd5b6101e9600160a060020a03600435166024356109e6565b341561035857600080fd5b61036c600160a060020a0360043516610aef565b005b341561037957600080fd5b61036c610b47565b341561038c57600080fd5b6103a3600160a060020a0360043516602435610b79565b604051600160a060020a039098168852602088019690965260408088019590955267ffffffffffffffff9384166060880152918316608087015290911660a0850152151560c084015290151560e0830152610100909101905180910390f35b341561040d57600080fd5b6101e9600160a060020a0360043516602435610cc3565b341561042f57600080fd5b6102fb600160a060020a0360043516610df9565b341561044e57600080fd5b6101c4600160a060020a0360043516610e83565b341561046d57600080fd5b6101e9610e9e565b341561048057600080fd5b610488610f1e565b60405163ffffffff909116815260200160405180910390f35b34156104ac57600080fd5b61036c600435602435610f2a565b34156104c557600080fd5b6104cd610f8d565b604051600160a060020a03909116815260200160405180910390f35b34156104f457600080fd5b6101c4610f9c565b341561050757600080fd5b6101e9610fa2565b341561051a57600080fd5b61036c600160a060020a036004351660243567ffffffffffffffff6044358116906064358116906084351660a435151560c4351515610fb3565b341561055f57600080fd5b6101e9600160a060020a0360043516602435611258565b341561058157600080fd5b61036c61138e565b341561059457600080fd5b6102fb6113c8565b34156105a757600080fd5b6101c4600160a060020a036004351667ffffffffffffffff602435166113df565b34156105d357600080fd5b6101e9600160a060020a0360043516602435611527565b34156105f557600080fd5b6101c4600160a060020a036004358116906024351661165d565b341561061a57600080fd5b6101c4600435602435604435606435608435611670565b341561063c57600080fd5b61036c600160a060020a03600435166024356116c8565b341561065e57600080fd5b61036c600160a060020a0360043516611adb565b341561067d57600080fd5b6104cd611b76565b600160a060020a031660009081526006602052604090205490565b60045471010000000000000000000000000000000000900460ff1681565b60075481565b600a546000903390640100000000900460ff1615156106e257600080fd5b600454600354429160009167ffffffffffffffff9182169160a060020a909104811684031681151561071057fe5b600454919004915068010000000000000000900460ff16801561073d575060008167ffffffffffffffff16115b156107f0576003546000805160206123808339815191529060a060020a900467ffffffffffffffff168260405167ffffffffffffffff9283168152911660208201526040908101905180910390a15b600019810190600067ffffffffffffffff90911611156107c7576004546107c2906901000000000000000000900463ffffffff16565b61078c565b600380546000805160206123608339815191521660a060020a67ffffffffffffffff8516021790555b6107fa8686611b8e565b9695505050505050565b60005481565b600a546000908490640100000000900460ff16151561082857600080fd5b600454600354429160009167ffffffffffffffff9182169160a060020a909104811684031681151561085657fe5b600454919004915068010000000000000000900460ff168015610883575060008167ffffffffffffffff16115b15610936576003546000805160206123808339815191529060a060020a900467ffffffffffffffff168260405167ffffffffffffffff9283168152911660208201526040908101905180910390a15b600019810190600067ffffffffffffffff909116111561090d57600454610908906901000000000000000000900463ffffffff16565b6108d2565b600380546000805160206123608339815191521660a060020a67ffffffffffffffff8516021790555b610941878787611bfa565b979650505050505050565b60066020528160005260406000208181548110151561096757fe5b6000918252602090912060039091020180546001820154600290920154600160a060020a03909116935090915067ffffffffffffffff80821691680100000000000000008104821691608060020a8204169060ff60c060020a820481169160c860020a90041687565b60045467ffffffffffffffff1681565b60095481565b60035460009033600160a060020a03908116911614610a0457600080fd5b60045471010000000000000000000000000000000000900460ff1615610a2957600080fd5b600054610a3c908363ffffffff611c1f16565b6000908155600160a060020a038416815260016020526040902054610a67908363ffffffff611c1f16565b600160a060020a0384166000818152600160205260409081902092909255907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968859084905190815260200160405180910390a282600160a060020a031660006000805160206123a08339815191528460405190815260200160405180910390a350600192915050565b60035433600160a060020a03908116911614610b0a57600080fd5b600a8054600160a060020a03909216650100000000000278ffffffffffffffffffffffffffffffffffffffff000000000019909216919091179055565b60035433600160a060020a03908116911614610b6257600080fd5b600a805464ff000000001916640100000000179055565b6000806000806000806000806000600660008c600160a060020a0316600160a060020a031681526020019081526020016000208a815481101515610bb957fe5b60009182526020909120600390910201805460018201546002830154600160a060020a039092169b50995067ffffffffffffffff608060020a820481169850808216975068010000000000000000820416955060ff60c060020a82048116955060c860020a9091041692509050610cb38160e060405190810160409081528254600160a060020a031682526001830154602083015260029092015467ffffffffffffffff8082169383019390935268010000000000000000810483166060830152608060020a8104909216608082015260ff60c060020a83048116151560a083015260c860020a909204909116151560c082015242611c2e565b9650509295985092959890939650565b600a546000903390640100000000900460ff161515610ce157600080fd5b600454600354429160009167ffffffffffffffff9182169160a060020a9091048116840316811515610d0f57fe5b600454919004915068010000000000000000900460ff168015610d3c575060008167ffffffffffffffff16115b15610def576003546000805160206123808339815191529060a060020a900467ffffffffffffffff168260405167ffffffffffffffff9283168152911660208201526040908101905180910390a15b600019810190600067ffffffffffffffff9091161115610dc657600454610dc1906901000000000000000000900463ffffffff16565b610d8b565b600380546000805160206123608339815191521660a060020a67ffffffffffffffff8516021790555b6107fa8686611c75565b600160a060020a03811660009081526006602052604081205442915b81811015610e7c57600160a060020a03841660009081526006602052604090208054610e72919083908110610e4657fe5b906000526020600020906003020160020160089054906101000a900467ffffffffffffffff1684611d6f565b9250600101610e15565b5050919050565b600160a060020a031660009081526001602052604090205490565b60035460009033600160a060020a03908116911614610ebc57600080fd5b6004805471ff00000000000000000000000000000000001916710100000000000000000000000000000000001790557fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0860405160405180910390a15060015b90565b600a5463ffffffff1681565b60035433600160a060020a03908116911614610f4557600080fd5b600782905560088190557fc465e742f7ad62135e227f5f2eef5d2c1329a0def3989ef6601f8201bcdaf873828260405191825260208201526040908101905180910390a15050565b600354600160a060020a031681565b60085481565b600a54640100000000900460ff1681565b60035460009033600160a060020a03908116911614610fd157600080fd5b8567ffffffffffffffff168567ffffffffffffffff161015801561100957508467ffffffffffffffff168467ffffffffffffffff1610155b151561101457600080fd5b60055461102089610685565b1061102a57600080fd5b600160a060020a038816600090815260066020526040902080546001810161105283826120f9565b9160005260206000209060030201600060e0604051908101604052808761107a57600061107c565b335b600160a060020a03168152602081018c905267ffffffffffffffff808b16604083015289811660608301528b16608082015287151560a082015286151560c0909101529190508151815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039190911617815560208201518160010155604082015160028201805467ffffffffffffffff191667ffffffffffffffff9290921691909117905560608201518160020160086101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060808201518160020160106101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060a082015160028201805491151560c060020a0278ff0000000000000000000000000000000000000000000000001990921691909117905560c08201516002909101805491151560c860020a0279ff00000000000000000000000000000000000000000000000000199092169190911790555090506111fc8888611258565b5087600160a060020a031633600160a060020a03167ff9565aecd648a0466ffb964a79eeccdf1120ad6276189c687a6e9fe73984d9bb896001850360405191825260208201526040908101905180910390a35050505050505050565b600a546000903390640100000000900460ff16151561127657600080fd5b600454600354429160009167ffffffffffffffff9182169160a060020a90910481168403168115156112a457fe5b600454919004915068010000000000000000900460ff1680156112d1575060008167ffffffffffffffff16115b15611384576003546000805160206123808339815191529060a060020a900467ffffffffffffffff168260405167ffffffffffffffff9283168152911660208201526040908101905180910390a15b600019810190600067ffffffffffffffff909116111561135b57600454611356906901000000000000000000900463ffffffff16565b611320565b600380546000805160206123608339815191521660a060020a67ffffffffffffffff8516021790555b6107fa8686611d9a565b60035433600160a060020a039081169116146113a957600080fd5b6004805468ff0000000000000000191668010000000000000000179055565b60035460a060020a900467ffffffffffffffff1681565b60008060008060006113f087610685565b935083151561140a576114038787611dc7565b945061151d565b60009250600091505b838210156114f357600160a060020a038716600090815260066020526040902080546114e69185916114e191908690811061144a57fe5b906000526020600020906003020160e060405190810160409081528254600160a060020a031682526001830154602083015260029092015467ffffffffffffffff8082169383019390935268010000000000000000810483166060830152608060020a8104909216608082015260ff60c060020a83048116151560a083015260c860020a909204909116151560c082015289611dd2565b611c1f565b9250600190910190611413565b6115056114ff88610e83565b84611df2565b905061151a816115158989611dc7565b611e04565b94505b5050505092915050565b600a546000903390640100000000900460ff16151561154557600080fd5b600454600354429160009167ffffffffffffffff9182169160a060020a909104811684031681151561157357fe5b600454919004915068010000000000000000900460ff1680156115a0575060008167ffffffffffffffff16115b15611653576003546000805160206123808339815191529060a060020a900467ffffffffffffffff168260405167ffffffffffffffff9283168152911660208201526040908101905180910390a15b600019810190600067ffffffffffffffff909116111561162a57600454611625906901000000000000000000900463ffffffff16565b6115ef565b600380546000805160206123608339815191521660a060020a67ffffffffffffffff8516021790555b6107fa8686611e13565b60006116698383611eb7565b9392505050565b6000808386101561168457600091506116be565b828610611693578691506116be565b6116b86116a9886116a48989611df2565b611ee2565b6116b38588611df2565b611f06565b90508091505b5095945050505050565b600160a060020a0382166000908152600660205260408120805482918291859081106116f057fe5b906000526020600020906003020192508260020160189054906101000a900460ff16151561171d57600080fd5b825433600160a060020a0390811691161461173757600080fd5b600283015460c860020a900460ff166117505733611754565b61dead5b91506117e38360e060405190810160409081528254600160a060020a031682526001830154602083015260029092015467ffffffffffffffff8082169383019390935268010000000000000000810483166060830152608060020a8104909216608082015260ff60c060020a83048116151560a083015260c860020a909204909116151560c082015242611dd2565b600160a060020a03861660009081526006602052604090208054919250908590811061180b57fe5b600091825260208083206003909202909101805473ffffffffffffffffffffffffffffffffffffffff1916815560018082018490556002909101805479ffffffffffffffffffffffffffffffffffffffffffffffffffff19169055600160a060020a03881683526006909152604090912080549091611890919063ffffffff611df216565b8154811061189a57fe5b90600052602060002090600302016006600087600160a060020a0316600160a060020a03168152602001908152602001600020858154811015156118da57fe5b600091825260208083208454600390930201805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03938416178155600180860154908201556002948501805495909101805467ffffffffffffffff191667ffffffffffffffff96871617808255825468010000000000000000908190048816026fffffffffffffffff000000000000000019909116178082558254608060020a9081900490971690960277ffffffffffffffff000000000000000000000000000000001990961695909517808655815460ff60c060020a918290048116151590910278ff0000000000000000000000000000000000000000000000001990921691909117808755915460c860020a9081900490911615150279ff0000000000000000000000000000000000000000000000000019909116179093558716815260069091526040902080546000190190611a3190826120f9565b50600160a060020a038216600090815260016020526040902054611a5b908263ffffffff611c1f16565b600160a060020a038084166000908152600160205260408082209390935590871681522054611a90908263ffffffff611df216565b600160a060020a038087166000818152600160205260409081902093909355908416916000805160206123a08339815191529084905190815260200160405180910390a35050505050565b60035433600160a060020a03908116911614611af657600080fd5b600160a060020a0381161515611b0b57600080fd5b600354600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600a54650100000000009004600160a060020a031681565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60008382611c0882426113df565b811115611c1457600080fd5b6107fa868686611f1d565b60008282018381101561166957fe5b600061166983602001518367ffffffffffffffff16856080015167ffffffffffffffff16866040015167ffffffffffffffff16876060015167ffffffffffffffff16611670565b600160a060020a03338116600090815260026020908152604080832093861683529290529081205480831115611cd257600160a060020a033381166000908152600260209081526040808320938816835292905290812055611d09565b611ce2818463ffffffff611df216565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b60008167ffffffffffffffff168367ffffffffffffffff161015611d935781611669565b5090919050565b60003382611da882426113df565b811115611db457600080fd5b611dbe8585612035565b95945050505050565b600061166983610e83565b6000611669611de18484611c2e565b84602001519063ffffffff611df216565b600082821115611dfe57fe5b50900390565b6000818310611d935781611669565b600160a060020a033381166000908152600260209081526040808320938616835292905290812054611e4b908363ffffffff611c1f16565b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b6000828202831580611efe5750828482811515611efb57fe5b04145b151561166957fe5b6000808284811515611f1457fe5b04949350505050565b600080600160a060020a0384161515611f3557600080fd5b50600160a060020a03808516600081815260026020908152604080832033909516835293815283822054928252600190529190912054611f7b908463ffffffff611df216565b600160a060020a038087166000908152600160205260408082209390935590861681522054611fb0908463ffffffff611c1f16565b600160a060020a038516600090815260016020526040902055611fd9818463ffffffff611df216565b600160a060020a03808716600081815260026020908152604080832033861684529091529081902093909355908616916000805160206123a08339815191529086905190815260200160405180910390a3506001949350505050565b6000600160a060020a038316151561204c57600080fd5b600160a060020a033316600090815260016020526040902054612075908363ffffffff611df216565b600160a060020a0333811660009081526001602052604080822093909355908516815220546120aa908363ffffffff611c1f16565b600160a060020a0380851660008181526001602052604090819020939093559133909116906000805160206123a08339815191529085905190815260200160405180910390a350600192915050565b81548183558181151161212557600302816003028360005260206000209182019101612125919061212a565b505050565b610f1b91905b8082111561218757805473ffffffffffffffffffffffffffffffffffffffff191681556000600182015560028101805479ffffffffffffffffffffffffffffffffffffffffffffffffffff19169055600301612130565b5090565b600a546000805490916121bc91612710916121b0919063ffffffff90811690611ee216565b9063ffffffff611f0616565b6000549091506121d2908263ffffffff611c1f16565b6000908155600a54650100000000009004600160a060020a03168152600160205260409020546122029082611c1f565b600a8054600160a060020a0365010000000000918290048116600090815260016020526040908190209490945591540416907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968859083905190815260200160405180910390a2600a54650100000000009004600160a060020a031660006000805160206123a08339815191528360405190815260200160405180910390a350565b600380546000805160206123608339815191521660a060020a4267ffffffffffffffff908116820292909217928390556004805467ffffffffffffffff19168684161770ffffffffffffffff000000000000000000191669010000000000000000008685160217908190557fe777b97bc7b463a02e50722e497fe2d9114e125f69521f01d519190b13a3cd8f93919091048216911660405167ffffffffffffffff9283168152911660208201526040908101905180910390a150505600ffffffff0000000000000000ffffffffffffffffffffffffffffffffffffffff0e4649fd54ac3323b8d9a0cf1633d2612cabd43a7a6741189e4c5b1434469c91ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a723058208603301c6ed3d57ebeb335d5c69ca21fff184c4031bf6e20be81794a5cf9fb8600290000000000000000000000006c49b2b8359b2b5bd984bd373821c6d31bd2e50a0000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000028206f
Deployed Bytecode
0x6060604052600436106101a05763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166302a72a4c81146101a557806305d2035b146101d657806306fdde03146101fd578063095ea7b31461021057806318160ddd1461023257806323b872dd146102455780632c71e60a1461026d5780633076dc42146102e8578063313ce5671461031857806340c10f191461032b5780635958621e1461034d5780635f412d4f1461036e578063600e85b71461038157806366188463146104025780636c182e991461042457806370a08231146104435780637d64bcb4146104625780638031233c14610475578063814c25fc146104a15780638da5cb5b146104ba57806395d89b41146104e957806396132521146104fc5780639754a4d91461050f578063a9059cbb14610554578063bfea879014610576578063c046371114610589578063d347c2051461059c578063d73dd623146105c8578063dd62ed3e146105ea578063df3c211b1461060f578063eb944e4c14610631578063f2fde38b14610653578063fb75b2c714610672575b600080fd5b34156101b057600080fd5b6101c4600160a060020a0360043516610685565b60405190815260200160405180910390f35b34156101e157600080fd5b6101e96106a0565b604051901515815260200160405180910390f35b341561020857600080fd5b6101c46106be565b341561021b57600080fd5b6101e9600160a060020a03600435166024356106c4565b341561023d57600080fd5b6101c4610804565b341561025057600080fd5b6101e9600160a060020a036004358116906024351660443561080a565b341561027857600080fd5b61028f600160a060020a036004351660243561094c565b604051600160a060020a039097168752602087019590955267ffffffffffffffff93841660408088019190915292841660608701529216608085015290151560a084015290151560c083015260e0909101905180910390f35b34156102f357600080fd5b6102fb6109d0565b60405167ffffffffffffffff909116815260200160405180910390f35b341561032357600080fd5b6101c46109e0565b341561033657600080fd5b6101e9600160a060020a03600435166024356109e6565b341561035857600080fd5b61036c600160a060020a0360043516610aef565b005b341561037957600080fd5b61036c610b47565b341561038c57600080fd5b6103a3600160a060020a0360043516602435610b79565b604051600160a060020a039098168852602088019690965260408088019590955267ffffffffffffffff9384166060880152918316608087015290911660a0850152151560c084015290151560e0830152610100909101905180910390f35b341561040d57600080fd5b6101e9600160a060020a0360043516602435610cc3565b341561042f57600080fd5b6102fb600160a060020a0360043516610df9565b341561044e57600080fd5b6101c4600160a060020a0360043516610e83565b341561046d57600080fd5b6101e9610e9e565b341561048057600080fd5b610488610f1e565b60405163ffffffff909116815260200160405180910390f35b34156104ac57600080fd5b61036c600435602435610f2a565b34156104c557600080fd5b6104cd610f8d565b604051600160a060020a03909116815260200160405180910390f35b34156104f457600080fd5b6101c4610f9c565b341561050757600080fd5b6101e9610fa2565b341561051a57600080fd5b61036c600160a060020a036004351660243567ffffffffffffffff6044358116906064358116906084351660a435151560c4351515610fb3565b341561055f57600080fd5b6101e9600160a060020a0360043516602435611258565b341561058157600080fd5b61036c61138e565b341561059457600080fd5b6102fb6113c8565b34156105a757600080fd5b6101c4600160a060020a036004351667ffffffffffffffff602435166113df565b34156105d357600080fd5b6101e9600160a060020a0360043516602435611527565b34156105f557600080fd5b6101c4600160a060020a036004358116906024351661165d565b341561061a57600080fd5b6101c4600435602435604435606435608435611670565b341561063c57600080fd5b61036c600160a060020a03600435166024356116c8565b341561065e57600080fd5b61036c600160a060020a0360043516611adb565b341561067d57600080fd5b6104cd611b76565b600160a060020a031660009081526006602052604090205490565b60045471010000000000000000000000000000000000900460ff1681565b60075481565b600a546000903390640100000000900460ff1615156106e257600080fd5b600454600354429160009167ffffffffffffffff9182169160a060020a909104811684031681151561071057fe5b600454919004915068010000000000000000900460ff16801561073d575060008167ffffffffffffffff16115b156107f0576003546000805160206123808339815191529060a060020a900467ffffffffffffffff168260405167ffffffffffffffff9283168152911660208201526040908101905180910390a15b600019810190600067ffffffffffffffff90911611156107c7576004546107c2906901000000000000000000900463ffffffff16565b61078c565b600380546000805160206123608339815191521660a060020a67ffffffffffffffff8516021790555b6107fa8686611b8e565b9695505050505050565b60005481565b600a546000908490640100000000900460ff16151561082857600080fd5b600454600354429160009167ffffffffffffffff9182169160a060020a909104811684031681151561085657fe5b600454919004915068010000000000000000900460ff168015610883575060008167ffffffffffffffff16115b15610936576003546000805160206123808339815191529060a060020a900467ffffffffffffffff168260405167ffffffffffffffff9283168152911660208201526040908101905180910390a15b600019810190600067ffffffffffffffff909116111561090d57600454610908906901000000000000000000900463ffffffff16565b6108d2565b600380546000805160206123608339815191521660a060020a67ffffffffffffffff8516021790555b610941878787611bfa565b979650505050505050565b60066020528160005260406000208181548110151561096757fe5b6000918252602090912060039091020180546001820154600290920154600160a060020a03909116935090915067ffffffffffffffff80821691680100000000000000008104821691608060020a8204169060ff60c060020a820481169160c860020a90041687565b60045467ffffffffffffffff1681565b60095481565b60035460009033600160a060020a03908116911614610a0457600080fd5b60045471010000000000000000000000000000000000900460ff1615610a2957600080fd5b600054610a3c908363ffffffff611c1f16565b6000908155600160a060020a038416815260016020526040902054610a67908363ffffffff611c1f16565b600160a060020a0384166000818152600160205260409081902092909255907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968859084905190815260200160405180910390a282600160a060020a031660006000805160206123a08339815191528460405190815260200160405180910390a350600192915050565b60035433600160a060020a03908116911614610b0a57600080fd5b600a8054600160a060020a03909216650100000000000278ffffffffffffffffffffffffffffffffffffffff000000000019909216919091179055565b60035433600160a060020a03908116911614610b6257600080fd5b600a805464ff000000001916640100000000179055565b6000806000806000806000806000600660008c600160a060020a0316600160a060020a031681526020019081526020016000208a815481101515610bb957fe5b60009182526020909120600390910201805460018201546002830154600160a060020a039092169b50995067ffffffffffffffff608060020a820481169850808216975068010000000000000000820416955060ff60c060020a82048116955060c860020a9091041692509050610cb38160e060405190810160409081528254600160a060020a031682526001830154602083015260029092015467ffffffffffffffff8082169383019390935268010000000000000000810483166060830152608060020a8104909216608082015260ff60c060020a83048116151560a083015260c860020a909204909116151560c082015242611c2e565b9650509295985092959890939650565b600a546000903390640100000000900460ff161515610ce157600080fd5b600454600354429160009167ffffffffffffffff9182169160a060020a9091048116840316811515610d0f57fe5b600454919004915068010000000000000000900460ff168015610d3c575060008167ffffffffffffffff16115b15610def576003546000805160206123808339815191529060a060020a900467ffffffffffffffff168260405167ffffffffffffffff9283168152911660208201526040908101905180910390a15b600019810190600067ffffffffffffffff9091161115610dc657600454610dc1906901000000000000000000900463ffffffff16565b610d8b565b600380546000805160206123608339815191521660a060020a67ffffffffffffffff8516021790555b6107fa8686611c75565b600160a060020a03811660009081526006602052604081205442915b81811015610e7c57600160a060020a03841660009081526006602052604090208054610e72919083908110610e4657fe5b906000526020600020906003020160020160089054906101000a900467ffffffffffffffff1684611d6f565b9250600101610e15565b5050919050565b600160a060020a031660009081526001602052604090205490565b60035460009033600160a060020a03908116911614610ebc57600080fd5b6004805471ff00000000000000000000000000000000001916710100000000000000000000000000000000001790557fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0860405160405180910390a15060015b90565b600a5463ffffffff1681565b60035433600160a060020a03908116911614610f4557600080fd5b600782905560088190557fc465e742f7ad62135e227f5f2eef5d2c1329a0def3989ef6601f8201bcdaf873828260405191825260208201526040908101905180910390a15050565b600354600160a060020a031681565b60085481565b600a54640100000000900460ff1681565b60035460009033600160a060020a03908116911614610fd157600080fd5b8567ffffffffffffffff168567ffffffffffffffff161015801561100957508467ffffffffffffffff168467ffffffffffffffff1610155b151561101457600080fd5b60055461102089610685565b1061102a57600080fd5b600160a060020a038816600090815260066020526040902080546001810161105283826120f9565b9160005260206000209060030201600060e0604051908101604052808761107a57600061107c565b335b600160a060020a03168152602081018c905267ffffffffffffffff808b16604083015289811660608301528b16608082015287151560a082015286151560c0909101529190508151815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039190911617815560208201518160010155604082015160028201805467ffffffffffffffff191667ffffffffffffffff9290921691909117905560608201518160020160086101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060808201518160020160106101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060a082015160028201805491151560c060020a0278ff0000000000000000000000000000000000000000000000001990921691909117905560c08201516002909101805491151560c860020a0279ff00000000000000000000000000000000000000000000000000199092169190911790555090506111fc8888611258565b5087600160a060020a031633600160a060020a03167ff9565aecd648a0466ffb964a79eeccdf1120ad6276189c687a6e9fe73984d9bb896001850360405191825260208201526040908101905180910390a35050505050505050565b600a546000903390640100000000900460ff16151561127657600080fd5b600454600354429160009167ffffffffffffffff9182169160a060020a90910481168403168115156112a457fe5b600454919004915068010000000000000000900460ff1680156112d1575060008167ffffffffffffffff16115b15611384576003546000805160206123808339815191529060a060020a900467ffffffffffffffff168260405167ffffffffffffffff9283168152911660208201526040908101905180910390a15b600019810190600067ffffffffffffffff909116111561135b57600454611356906901000000000000000000900463ffffffff16565b611320565b600380546000805160206123608339815191521660a060020a67ffffffffffffffff8516021790555b6107fa8686611d9a565b60035433600160a060020a039081169116146113a957600080fd5b6004805468ff0000000000000000191668010000000000000000179055565b60035460a060020a900467ffffffffffffffff1681565b60008060008060006113f087610685565b935083151561140a576114038787611dc7565b945061151d565b60009250600091505b838210156114f357600160a060020a038716600090815260066020526040902080546114e69185916114e191908690811061144a57fe5b906000526020600020906003020160e060405190810160409081528254600160a060020a031682526001830154602083015260029092015467ffffffffffffffff8082169383019390935268010000000000000000810483166060830152608060020a8104909216608082015260ff60c060020a83048116151560a083015260c860020a909204909116151560c082015289611dd2565b611c1f565b9250600190910190611413565b6115056114ff88610e83565b84611df2565b905061151a816115158989611dc7565b611e04565b94505b5050505092915050565b600a546000903390640100000000900460ff16151561154557600080fd5b600454600354429160009167ffffffffffffffff9182169160a060020a909104811684031681151561157357fe5b600454919004915068010000000000000000900460ff1680156115a0575060008167ffffffffffffffff16115b15611653576003546000805160206123808339815191529060a060020a900467ffffffffffffffff168260405167ffffffffffffffff9283168152911660208201526040908101905180910390a15b600019810190600067ffffffffffffffff909116111561162a57600454611625906901000000000000000000900463ffffffff16565b6115ef565b600380546000805160206123608339815191521660a060020a67ffffffffffffffff8516021790555b6107fa8686611e13565b60006116698383611eb7565b9392505050565b6000808386101561168457600091506116be565b828610611693578691506116be565b6116b86116a9886116a48989611df2565b611ee2565b6116b38588611df2565b611f06565b90508091505b5095945050505050565b600160a060020a0382166000908152600660205260408120805482918291859081106116f057fe5b906000526020600020906003020192508260020160189054906101000a900460ff16151561171d57600080fd5b825433600160a060020a0390811691161461173757600080fd5b600283015460c860020a900460ff166117505733611754565b61dead5b91506117e38360e060405190810160409081528254600160a060020a031682526001830154602083015260029092015467ffffffffffffffff8082169383019390935268010000000000000000810483166060830152608060020a8104909216608082015260ff60c060020a83048116151560a083015260c860020a909204909116151560c082015242611dd2565b600160a060020a03861660009081526006602052604090208054919250908590811061180b57fe5b600091825260208083206003909202909101805473ffffffffffffffffffffffffffffffffffffffff1916815560018082018490556002909101805479ffffffffffffffffffffffffffffffffffffffffffffffffffff19169055600160a060020a03881683526006909152604090912080549091611890919063ffffffff611df216565b8154811061189a57fe5b90600052602060002090600302016006600087600160a060020a0316600160a060020a03168152602001908152602001600020858154811015156118da57fe5b600091825260208083208454600390930201805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03938416178155600180860154908201556002948501805495909101805467ffffffffffffffff191667ffffffffffffffff96871617808255825468010000000000000000908190048816026fffffffffffffffff000000000000000019909116178082558254608060020a9081900490971690960277ffffffffffffffff000000000000000000000000000000001990961695909517808655815460ff60c060020a918290048116151590910278ff0000000000000000000000000000000000000000000000001990921691909117808755915460c860020a9081900490911615150279ff0000000000000000000000000000000000000000000000000019909116179093558716815260069091526040902080546000190190611a3190826120f9565b50600160a060020a038216600090815260016020526040902054611a5b908263ffffffff611c1f16565b600160a060020a038084166000908152600160205260408082209390935590871681522054611a90908263ffffffff611df216565b600160a060020a038087166000818152600160205260409081902093909355908416916000805160206123a08339815191529084905190815260200160405180910390a35050505050565b60035433600160a060020a03908116911614611af657600080fd5b600160a060020a0381161515611b0b57600080fd5b600354600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600a54650100000000009004600160a060020a031681565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60008382611c0882426113df565b811115611c1457600080fd5b6107fa868686611f1d565b60008282018381101561166957fe5b600061166983602001518367ffffffffffffffff16856080015167ffffffffffffffff16866040015167ffffffffffffffff16876060015167ffffffffffffffff16611670565b600160a060020a03338116600090815260026020908152604080832093861683529290529081205480831115611cd257600160a060020a033381166000908152600260209081526040808320938816835292905290812055611d09565b611ce2818463ffffffff611df216565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b60008167ffffffffffffffff168367ffffffffffffffff161015611d935781611669565b5090919050565b60003382611da882426113df565b811115611db457600080fd5b611dbe8585612035565b95945050505050565b600061166983610e83565b6000611669611de18484611c2e565b84602001519063ffffffff611df216565b600082821115611dfe57fe5b50900390565b6000818310611d935781611669565b600160a060020a033381166000908152600260209081526040808320938616835292905290812054611e4b908363ffffffff611c1f16565b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b6000828202831580611efe5750828482811515611efb57fe5b04145b151561166957fe5b6000808284811515611f1457fe5b04949350505050565b600080600160a060020a0384161515611f3557600080fd5b50600160a060020a03808516600081815260026020908152604080832033909516835293815283822054928252600190529190912054611f7b908463ffffffff611df216565b600160a060020a038087166000908152600160205260408082209390935590861681522054611fb0908463ffffffff611c1f16565b600160a060020a038516600090815260016020526040902055611fd9818463ffffffff611df216565b600160a060020a03808716600081815260026020908152604080832033861684529091529081902093909355908616916000805160206123a08339815191529086905190815260200160405180910390a3506001949350505050565b6000600160a060020a038316151561204c57600080fd5b600160a060020a033316600090815260016020526040902054612075908363ffffffff611df216565b600160a060020a0333811660009081526001602052604080822093909355908516815220546120aa908363ffffffff611c1f16565b600160a060020a0380851660008181526001602052604090819020939093559133909116906000805160206123a08339815191529085905190815260200160405180910390a350600192915050565b81548183558181151161212557600302816003028360005260206000209182019101612125919061212a565b505050565b610f1b91905b8082111561218757805473ffffffffffffffffffffffffffffffffffffffff191681556000600182015560028101805479ffffffffffffffffffffffffffffffffffffffffffffffffffff19169055600301612130565b5090565b600a546000805490916121bc91612710916121b0919063ffffffff90811690611ee216565b9063ffffffff611f0616565b6000549091506121d2908263ffffffff611c1f16565b6000908155600a54650100000000009004600160a060020a03168152600160205260409020546122029082611c1f565b600a8054600160a060020a0365010000000000918290048116600090815260016020526040908190209490945591540416907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968859083905190815260200160405180910390a2600a54650100000000009004600160a060020a031660006000805160206123a08339815191528360405190815260200160405180910390a350565b600380546000805160206123608339815191521660a060020a4267ffffffffffffffff908116820292909217928390556004805467ffffffffffffffff19168684161770ffffffffffffffff000000000000000000191669010000000000000000008685160217908190557fe777b97bc7b463a02e50722e497fe2d9114e125f69521f01d519190b13a3cd8f93919091048216911660405167ffffffffffffffff9283168152911660208201526040908101905180910390a150505600ffffffff0000000000000000ffffffffffffffffffffffffffffffffffffffff0e4649fd54ac3323b8d9a0cf1633d2612cabd43a7a6741189e4c5b1434469c91ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a723058208603301c6ed3d57ebeb335d5c69ca21fff184c4031bf6e20be81794a5cf9fb860029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000006c49b2b8359b2b5bd984bd373821c6d31bd2e50a0000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000028206f
-----Decoded View---------------
Arg [0] : _rewardWallet (address): 0x6c49B2B8359B2b5bd984bd373821C6d31bd2E50a
Arg [1] : _inflationCompBPS (uint32): 8
Arg [2] : _inflationCompInterval (uint32): 2629743
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000006c49b2b8359b2b5bd984bd373821c6d31bd2e50a
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [2] : 000000000000000000000000000000000000000000000000000000000028206f
Swarm Source
bzzr://8603301c6ed3d57ebeb335d5c69ca21fff184c4031bf6e20be81794a5cf9fb86
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.