LRC_v2
Signup to DeployContract Information
The following smart contract is called LRC_v2 and is a token contract that inherits from the StandardToken contract. It uses the SafeMath library for arithmetic operations. The contract has a fixed total supply of 1395076054523857892274603100 tokens with 18 decimal places. It also includes a batchTransfer function to transfer tokens to multiple addresses at once. The fallback function is disabled.
More Info
## Public Information - `name`: A public string variable that represents the name of the token. - `symbol`: A public string variable that represents the symbol of the token. - `decimals`: A public uint8 variable that represents the number of decimals of the token. - `totalSupply_`: A private uint256 variable that represents the total supply of the token. ## Public or External Functions - `batchTransfer`: A public function that allows batch transfer of tokens to multiple addresses. - `fallback`: A payable external function that reverts any incoming ether. ## Events None ## Inherits - `StandardToken`: The contract inherits from the `StandardToken` contract, which implements the ERC20 standard token interface.
## Public Information
- `name`: A public string variable that represents the name of the token.
- `symbol`: A public string variable that represents the symbol of the token.
- `decimals`: A public uint8 variable that represents the number of decimals of the token.
- `totalSupply_`: A private uint256 variable that represents the total supply of the token.
## Public or External Functions
- `batchTransfer`: A public function that allows batch transfer of tokens to multiple addresses.
- `fallback`: A payable external function that reverts any incoming ether.
## Events
None
## Inherits
- `StandardToken`: The contract inherits from the `StandardToken` contract, which implements the ERC20 standard token interface.
- `name`: A public string variable that represents the name of the token.
- `symbol`: A public string variable that represents the symbol of the token.
- `decimals`: A public uint8 variable that represents the number of decimals of the token.
- `totalSupply_`: A private uint256 variable that represents the total supply of the token.
## Public or External Functions
- `batchTransfer`: A public function that allows batch transfer of tokens to multiple addresses.
- `fallback`: A payable external function that reverts any incoming ether.
## Events
None
## Inherits
- `StandardToken`: The contract inherits from the `StandardToken` contract, which implements the ERC20 standard token interface.
/**
*Submitted for verification at Etherscan.io on 2019-04-09
*/
pragma solidity 0.5.7;
/**
* @title ERC20Basic
* @dev Simpler version of ERC20 interface
* @dev see https://github.com/ethereum/EIPs/issues/179
*/
contract ERC20Basic {
function totalSupply() public view returns (uint256);
function balanceOf(address who) public view returns (uint256);
function transfer(address to, uint256 value) public returns (bool);
event Transfer(address indexed from, address indexed to, uint256 value);
event Burn(address indexed burner, uint256 value);
}
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
assert(c / a == b);
return c;
}
/**
* @dev Integer division of two numbers, truncating the quotient.
*/
function div(uint256 a, uint256 b) internal pure 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;
}
/**
* @dev Subtracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
assert(b <= a);
return a - b;
}
/**
* @dev Adds two numbers, throws on overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
assert(c >= a);
return c;
}
}
/**
* @title Basic token
* @dev Basic version of StandardToken, with no allowances.
*/
contract BasicToken is ERC20Basic {
using SafeMath for uint256;
mapping(address => uint256) balances;
uint256 totalSupply_;
uint256 burnedTotalNum_;
/**
* @dev total number of tokens in existence
*/
function totalSupply() public view returns (uint256) {
return totalSupply_;
}
/**
* @dev total number of tokens already burned
*/
function totalBurned() public view returns (uint256) {
return burnedTotalNum_;
}
function burn(uint256 _value) public returns (bool) {
require(_value <= balances[msg.sender]);
address burner = msg.sender;
balances[burner] = balances[burner].sub(_value);
totalSupply_ = totalSupply_.sub(_value);
burnedTotalNum_ = burnedTotalNum_.add(_value);
emit Burn(burner, _value);
return true;
}
/**
* @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) {
// if _to is address(0), invoke burn function.
if (_to == address(0)) {
return burn(_value);
}
require(_value <= balances[msg.sender]);
// SafeMath.sub will throw if there is not enough balance.
balances[msg.sender] = balances[msg.sender].sub(_value);
balances[_to] = balances[_to].add(_value);
emit 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 view returns (uint256) {
return balances[_owner];
}
}
/**
* @title ERC20 interface
* @dev see https://github.com/ethereum/EIPs/issues/20
*/
contract ERC20 is ERC20Basic {
function allowance(address owner, address spender) public view 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);
}
/**
* @title Standard ERC20 token
*
* @dev Implementation of the basic standard token.
* @dev https://github.com/ethereum/EIPs/issues/20
* @dev Based on code by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol
*/
contract StandardToken is ERC20, BasicToken {
uint private constant MAX_UINT = 2**256 - 1;
mapping (address => mapping (address => uint256)) internal allowed;
function burnFrom(address _owner, uint256 _value) public returns (bool) {
require(_owner != address(0));
require(_value <= balances[_owner]);
require(_value <= allowed[_owner][msg.sender]);
balances[_owner] = balances[_owner].sub(_value);
if (allowed[_owner][msg.sender] < MAX_UINT) {
allowed[_owner][msg.sender] = allowed[_owner][msg.sender].sub(_value);
}
totalSupply_ = totalSupply_.sub(_value);
burnedTotalNum_ = burnedTotalNum_.add(_value);
emit Burn(_owner, _value);
return true;
}
/**
* @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) {
if (_to == address(0)) {
return burnFrom(_from, _value);
}
require(_value <= balances[_from]);
require(_value <= allowed[_from][msg.sender]);
balances[_from] = balances[_from].sub(_value);
balances[_to] = balances[_to].add(_value);
/// an allowance of MAX_UINT represents an unlimited allowance.
/// @dev see https://github.com/ethereum/EIPs/issues/717
if (allowed[_from][msg.sender] < MAX_UINT) {
allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value);
}
emit 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;
emit 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 view returns (uint256) {
return allowed[_owner][_spender];
}
/**
* @dev Increase the amount of tokens that an owner allowed to a 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
* @param _spender The address which will spend the funds.
* @param _addedValue The amount of tokens to increase the allowance by.
*/
function increaseApproval(address _spender, uint _addedValue) public returns (bool) {
allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue);
emit Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
return true;
}
/**
* @dev Decrease the amount of tokens that an owner allowed to a spender.
*
* approve should be called when allowed[_spender] == 0. To decrement
* allowed value is better to use this function to avoid 2 calls (and wait until
* the first transaction is mined)
* From MonolithDAO Token.sol
* @param _spender The address which will spend the funds.
* @param _subtractedValue The amount of tokens to decrease the allowance by.
*/
function decreaseApproval(address _spender, uint _subtractedValue) public returns (bool) {
uint oldValue = allowed[msg.sender][_spender];
if (_subtractedValue > oldValue) {
allowed[msg.sender][_spender] = 0;
} else {
allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue);
}
emit Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
return true;
}
}
contract LRC_v2 is StandardToken {
using SafeMath for uint256;
string public name = "LoopringCoin V2";
string public symbol = "LRC";
uint8 public decimals = 18;
constructor() public {
// @See https://etherscan.io/address/0xEF68e7C694F40c8202821eDF525dE3782458639f#readContract
totalSupply_ = 1395076054523857892274603100;
balances[msg.sender] = totalSupply_;
}
function batchTransfer(address[] calldata accounts, uint256[] calldata amounts)
external
returns (bool)
{
require(accounts.length == amounts.length);
for (uint i = 0; i < accounts.length; i++) {
require(transfer(accounts[i], amounts[i]), "transfer failed");
}
return true;
}
function () payable external {
revert();
}
}
[{"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":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":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"burn","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"}],"name":"decreaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_owner","type":"address"},{"name":"_value","type":"uint256"}],"name":"burnFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"accounts","type":"address[]"},{"name":"amounts","type":"uint256[]"}],"name":"batchTransfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"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":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"}],"name":"increaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalBurned","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":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"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"},{"anonymous":false,"inputs":[{"indexed":true,"name":"burner","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","type":"event"}]
[{"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":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":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"burn","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"}],"name":"decreaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_owner","type":"address"},{"name":"_value","type":"uint256"}],"name":"burnFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"accounts","type":"address[]"},{"name":"amounts","type":"uint256[]"}],"name":"batchTransfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"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":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"}],"name":"increaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalBurned","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":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"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"},{"anonymous":false,"inputs":[{"indexed":true,"name":"burner","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","type":"event"}]
60c0604052600f60808190527f4c6f6f7072696e67436f696e205632000000000000000000000000000000000060a090815261003e91600491906100c5565b506040805180820190915260038082527f4c524300000000000000000000000000000000000000000000000000000000006020909201918252610083916005916100c5565b506006805460ff1916601217905534801561009d57600080fd5b506b0481fad87471f181f768045c600181905533600090815260208190526040902055610160565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061010657805160ff1916838001178555610133565b82800160010185558215610133579182015b82811115610133578251825591602001919060010190610118565b5061013f929150610143565b5090565b61015d91905b8082111561013f5760008155600101610149565b90565b610e0c8061016f6000396000f3fe6080604052600436106100e85760003560e01c806370a082311161008a578063a9059cbb11610059578063a9059cbb1461040c578063d73dd62314610445578063d89135cd1461047e578063dd62ed3e14610493576100e8565b806370a08231146102bc57806379cc6790146102ef57806388d695b21461032857806395d89b41146103f7576100e8565b806323b872dd116100c657806323b872dd146101eb578063313ce5671461022e57806342966c68146102595780636618846314610283576100e8565b806306fdde03146100ed578063095ea7b31461017757806318160ddd146101c4575b600080fd5b3480156100f957600080fd5b506101026104ce565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561013c578181015183820152602001610124565b50505050905090810190601f1680156101695780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561018357600080fd5b506101b06004803603604081101561019a57600080fd5b506001600160a01b03813516906020013561055c565b604080519115158252519081900360200190f35b3480156101d057600080fd5b506101d96105c3565b60408051918252519081900360200190f35b3480156101f757600080fd5b506101b06004803603606081101561020e57600080fd5b506001600160a01b038135811691602081013590911690604001356105c9565b34801561023a57600080fd5b50610243610787565b6040805160ff9092168252519081900360200190f35b34801561026557600080fd5b506101b06004803603602081101561027c57600080fd5b5035610790565b34801561028f57600080fd5b506101b0600480360360408110156102a657600080fd5b506001600160a01b038135169060200135610859565b3480156102c857600080fd5b506101d9600480360360208110156102df57600080fd5b50356001600160a01b0316610949565b3480156102fb57600080fd5b506101b06004803603604081101561031257600080fd5b506001600160a01b038135169060200135610964565b34801561033457600080fd5b506101b06004803603604081101561034b57600080fd5b81019060208101813564010000000081111561036657600080fd5b82018360208201111561037857600080fd5b8035906020019184602083028401116401000000008311171561039a57600080fd5b9193909290916020810190356401000000008111156103b857600080fd5b8201836020820111156103ca57600080fd5b803590602001918460208302840111640100000000831117156103ec57600080fd5b509092509050610af8565b34801561040357600080fd5b50610102610bb0565b34801561041857600080fd5b506101b06004803603604081101561042f57600080fd5b506001600160a01b038135169060200135610c0b565b34801561045157600080fd5b506101b06004803603604081101561046857600080fd5b506001600160a01b038135169060200135610cf5565b34801561048a57600080fd5b506101d9610d8e565b34801561049f57600080fd5b506101d9600480360360408110156104b657600080fd5b506001600160a01b0381358116916020013516610d94565b6004805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105545780601f1061052957610100808354040283529160200191610554565b820191906000526020600020905b81548152906001019060200180831161053757829003601f168201915b505050505081565b3360008181526003602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b60015490565b60006001600160a01b0383166105ea576105e38483610964565b9050610780565b6001600160a01b03841660009081526020819052604090205482111561060f57600080fd5b6001600160a01b038416600090815260036020908152604080832033845290915290205482111561063f57600080fd5b6001600160a01b038416600090815260208190526040902054610668908363ffffffff610dbf16565b6001600160a01b03808616600090815260208190526040808220939093559085168152205461069d908363ffffffff610dd116565b6001600160a01b038085166000908152602081815260408083209490945591871681526003825282812033825290915220546000191115610731576001600160a01b038416600090815260036020908152604080832033845290915290205461070c908363ffffffff610dbf16565b6001600160a01b03851660009081526003602090815260408083203384529091529020555b826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a35060015b9392505050565b60065460ff1681565b336000908152602081905260408120548211156107ac57600080fd5b336000818152602081905260409020546107cc908463ffffffff610dbf16565b6001600160a01b0382166000908152602081905260409020556001546107f8908463ffffffff610dbf16565b60015560025461080e908463ffffffff610dd116565b6002556040805184815290516001600160a01b038316917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a250600192915050565b3360009081526003602090815260408083206001600160a01b0386168452909152812054808311156108ae573360009081526003602090815260408083206001600160a01b03881684529091528120556108e3565b6108be818463ffffffff610dbf16565b3360009081526003602090815260408083206001600160a01b03891684529091529020555b3360008181526003602090815260408083206001600160a01b0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b6001600160a01b031660009081526020819052604090205490565b60006001600160a01b03831661097957600080fd5b6001600160a01b03831660009081526020819052604090205482111561099e57600080fd5b6001600160a01b03831660009081526003602090815260408083203384529091529020548211156109ce57600080fd5b6001600160a01b0383166000908152602081905260409020546109f7908363ffffffff610dbf16565b6001600160a01b0384166000908152602081815260408083209390935560038152828220338352905220546000191115610a84576001600160a01b0383166000908152600360209081526040808320338452909152902054610a5f908363ffffffff610dbf16565b6001600160a01b03841660009081526003602090815260408083203384529091529020555b600154610a97908363ffffffff610dbf16565b600155600254610aad908363ffffffff610dd116565b6002556040805183815290516001600160a01b038516917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a250600192915050565b6000838214610b0657600080fd5b60005b84811015610ba457610b48868683818110610b2057fe5b905060200201356001600160a01b0316858584818110610b3c57fe5b90506020020135610c0b565b610b9c5760408051600160e51b62461bcd02815260206004820152600f60248201527f7472616e73666572206661696c65640000000000000000000000000000000000604482015290519081900360640190fd5b600101610b09565b50600195945050505050565b6005805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105545780601f1061052957610100808354040283529160200191610554565b60006001600160a01b038316610c2b57610c2482610790565b90506105bd565b33600090815260208190526040902054821115610c4757600080fd5b33600090815260208190526040902054610c67908363ffffffff610dbf16565b33600090815260208190526040808220929092556001600160a01b03851681522054610c99908363ffffffff610dd116565b6001600160a01b038416600081815260208181526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b3360009081526003602090815260408083206001600160a01b0386168452909152812054610d29908363ffffffff610dd116565b3360008181526003602090815260408083206001600160a01b0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b60025490565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b600082821115610dcb57fe5b50900390565b60008282018381101561078057fefea165627a7a7230582003831a05eef9554b28a0275d37c8ad0ff27e6bb2a227f1cce439c4251d309d740029
60c0604052600f60808190527f4c6f6f7072696e67436f696e205632000000000000000000000000000000000060a090815261003e91600491906100c5565b506040805180820190915260038082527f4c524300000000000000000000000000000000000000000000000000000000006020909201918252610083916005916100c5565b506006805460ff1916601217905534801561009d57600080fd5b506b0481fad87471f181f768045c600181905533600090815260208190526040902055610160565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061010657805160ff1916838001178555610133565b82800160010185558215610133579182015b82811115610133578251825591602001919060010190610118565b5061013f929150610143565b5090565b61015d91905b8082111561013f5760008155600101610149565b90565b610e0c8061016f6000396000f3fe6080604052600436106100e85760003560e01c806370a082311161008a578063a9059cbb11610059578063a9059cbb1461040c578063d73dd62314610445578063d89135cd1461047e578063dd62ed3e14610493576100e8565b806370a08231146102bc57806379cc6790146102ef57806388d695b21461032857806395d89b41146103f7576100e8565b806323b872dd116100c657806323b872dd146101eb578063313ce5671461022e57806342966c68146102595780636618846314610283576100e8565b806306fdde03146100ed578063095ea7b31461017757806318160ddd146101c4575b600080fd5b3480156100f957600080fd5b506101026104ce565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561013c578181015183820152602001610124565b50505050905090810190601f1680156101695780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561018357600080fd5b506101b06004803603604081101561019a57600080fd5b506001600160a01b03813516906020013561055c565b604080519115158252519081900360200190f35b3480156101d057600080fd5b506101d96105c3565b60408051918252519081900360200190f35b3480156101f757600080fd5b506101b06004803603606081101561020e57600080fd5b506001600160a01b038135811691602081013590911690604001356105c9565b34801561023a57600080fd5b50610243610787565b6040805160ff9092168252519081900360200190f35b34801561026557600080fd5b506101b06004803603602081101561027c57600080fd5b5035610790565b34801561028f57600080fd5b506101b0600480360360408110156102a657600080fd5b506001600160a01b038135169060200135610859565b3480156102c857600080fd5b506101d9600480360360208110156102df57600080fd5b50356001600160a01b0316610949565b3480156102fb57600080fd5b506101b06004803603604081101561031257600080fd5b506001600160a01b038135169060200135610964565b34801561033457600080fd5b506101b06004803603604081101561034b57600080fd5b81019060208101813564010000000081111561036657600080fd5b82018360208201111561037857600080fd5b8035906020019184602083028401116401000000008311171561039a57600080fd5b9193909290916020810190356401000000008111156103b857600080fd5b8201836020820111156103ca57600080fd5b803590602001918460208302840111640100000000831117156103ec57600080fd5b509092509050610af8565b34801561040357600080fd5b50610102610bb0565b34801561041857600080fd5b506101b06004803603604081101561042f57600080fd5b506001600160a01b038135169060200135610c0b565b34801561045157600080fd5b506101b06004803603604081101561046857600080fd5b506001600160a01b038135169060200135610cf5565b34801561048a57600080fd5b506101d9610d8e565b34801561049f57600080fd5b506101d9600480360360408110156104b657600080fd5b506001600160a01b0381358116916020013516610d94565b6004805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105545780601f1061052957610100808354040283529160200191610554565b820191906000526020600020905b81548152906001019060200180831161053757829003601f168201915b505050505081565b3360008181526003602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b60015490565b60006001600160a01b0383166105ea576105e38483610964565b9050610780565b6001600160a01b03841660009081526020819052604090205482111561060f57600080fd5b6001600160a01b038416600090815260036020908152604080832033845290915290205482111561063f57600080fd5b6001600160a01b038416600090815260208190526040902054610668908363ffffffff610dbf16565b6001600160a01b03808616600090815260208190526040808220939093559085168152205461069d908363ffffffff610dd116565b6001600160a01b038085166000908152602081815260408083209490945591871681526003825282812033825290915220546000191115610731576001600160a01b038416600090815260036020908152604080832033845290915290205461070c908363ffffffff610dbf16565b6001600160a01b03851660009081526003602090815260408083203384529091529020555b826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a35060015b9392505050565b60065460ff1681565b336000908152602081905260408120548211156107ac57600080fd5b336000818152602081905260409020546107cc908463ffffffff610dbf16565b6001600160a01b0382166000908152602081905260409020556001546107f8908463ffffffff610dbf16565b60015560025461080e908463ffffffff610dd116565b6002556040805184815290516001600160a01b038316917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a250600192915050565b3360009081526003602090815260408083206001600160a01b0386168452909152812054808311156108ae573360009081526003602090815260408083206001600160a01b03881684529091528120556108e3565b6108be818463ffffffff610dbf16565b3360009081526003602090815260408083206001600160a01b03891684529091529020555b3360008181526003602090815260408083206001600160a01b0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b6001600160a01b031660009081526020819052604090205490565b60006001600160a01b03831661097957600080fd5b6001600160a01b03831660009081526020819052604090205482111561099e57600080fd5b6001600160a01b03831660009081526003602090815260408083203384529091529020548211156109ce57600080fd5b6001600160a01b0383166000908152602081905260409020546109f7908363ffffffff610dbf16565b6001600160a01b0384166000908152602081815260408083209390935560038152828220338352905220546000191115610a84576001600160a01b0383166000908152600360209081526040808320338452909152902054610a5f908363ffffffff610dbf16565b6001600160a01b03841660009081526003602090815260408083203384529091529020555b600154610a97908363ffffffff610dbf16565b600155600254610aad908363ffffffff610dd116565b6002556040805183815290516001600160a01b038516917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a250600192915050565b6000838214610b0657600080fd5b60005b84811015610ba457610b48868683818110610b2057fe5b905060200201356001600160a01b0316858584818110610b3c57fe5b90506020020135610c0b565b610b9c5760408051600160e51b62461bcd02815260206004820152600f60248201527f7472616e73666572206661696c65640000000000000000000000000000000000604482015290519081900360640190fd5b600101610b09565b50600195945050505050565b6005805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105545780601f1061052957610100808354040283529160200191610554565b60006001600160a01b038316610c2b57610c2482610790565b90506105bd565b33600090815260208190526040902054821115610c4757600080fd5b33600090815260208190526040902054610c67908363ffffffff610dbf16565b33600090815260208190526040808220929092556001600160a01b03851681522054610c99908363ffffffff610dd116565b6001600160a01b038416600081815260208181526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b3360009081526003602090815260408083206001600160a01b0386168452909152812054610d29908363ffffffff610dd116565b3360008181526003602090815260408083206001600160a01b0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b60025490565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b600082821115610dcb57fe5b50900390565b60008282018381101561078057fefea165627a7a7230582003831a05eef9554b28a0275d37c8ad0ff27e6bb2a227f1cce439c4251d309d740029