Transactions
Token Transfers
Tokens
Internal Transactions
Coin Balance History
Logs
Code
Read Contract
Write Contract
Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
This contract has been partially verified via Sourcify.
View contract in Sourcify repository
- Contract name:
- PolkamarketsToken
- Optimization enabled
- true
- Compiler version
- v0.5.8+commit.23d335f2
- Optimization runs
- 200
- EVM Version
- petersburg
- Verified at
- 2026-02-09T11:23:20.529546Z
Constructor Arguments
000000000000000000000000763e3ee4ee9cac68200e0d358ab10f5136206008000000000000000000000000531a9f9f384be2a3acd9581d574bd47e65ac8273000000000000000000000000afea4511e634928f3a70b18ae565cd07736b7a04000000000000000000000000126b53a1b0f6d036f4ef93a4e5af984bb4b95861000000000000000000000000a6972fd8b71e7af7173e18a3ed986114bb721805
Arg [0] (address) : 0x763e3ee4ee9cac68200e0d358ab10f5136206008
Arg [1] (address) : 0x531a9f9f384be2a3acd9581d574bd47e65ac8273
Arg [2] (address) : 0xafea4511e634928f3a70b18ae565cd07736b7a04
Arg [3] (address) : 0x126b53a1b0f6d036f4ef93a4e5af984bb4b95861
Arg [4] (address) : 0xa6972fd8b71e7af7173e18a3ed986114bb721805
PolkamarketsToken.sol
/**
*Submitted for verification at Etherscan.io on 2020-09-28
*/
/**
*Submitted for verification at Etherscan.io on 2018-09-01
*/
pragma solidity 0.5.8;
// File: openzeppelin-solidity/contracts/token/ERC20/ERC20Basic.sol
/**
* @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);
}
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually assume that an overflow raises an
* error, which is the standard behavior in high level programming languages.
* `SafeMath` restores this intuition by reverting the transaction when an
* operation overflows.
*
* Using this library instead of the unchecked operations eliminates an entire
* class of bugs, so it's recommended to use it always.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return sub(a, b, "SafeMath: subtraction overflow");
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
* - Subtraction cannot overflow.
*
* _Available since v2.4.0._
*/
function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b <= a, errorMessage);
uint256 c = a - b;
return c;
}
/**
* @dev Returns the multiplication of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `*` operator.
*
* Requirements:
* - Multiplication cannot overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) {
return 0;
}
uint256 c = a * b;
require(c / a == b, "SafeMath: multiplication overflow");
return c;
}
/**
* @dev Returns the integer division of two unsigned integers. Reverts on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return div(a, b, "SafeMath: division by zero");
}
/**
* @dev Returns the integer division of two unsigned integers. Reverts with custom message on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
* - The divisor cannot be zero.
*
* _Available since v2.4.0._
*/
function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
// Solidity only automatically asserts when dividing by 0
require(b > 0, errorMessage);
uint256 c = a / b;
// assert(a == b * c + a % b); // There is no case in which this doesn't hold
return c;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* Reverts when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return mod(a, b, "SafeMath: modulo by zero");
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* Reverts with custom message when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
* - The divisor cannot be zero.
*
* _Available since v2.4.0._
*/
function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b != 0, errorMessage);
return a % b;
}
}
// File: openzeppelin-solidity/contracts/token/ERC20/BasicToken.sol
/**
* @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_;
/**
* @dev total number of tokens in existence
*/
function totalSupply() public view returns (uint256) {
return totalSupply_;
}
/**
* @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));
require(_value <= balances[msg.sender]);
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];
}
}
// File: openzeppelin-solidity/contracts/token/ERC20/ERC20.sol
/**
* @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);
}
// File: openzeppelin-solidity/contracts/token/ERC20/StandardToken.sol
/**
* @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 {
mapping (address => mapping (address => uint256)) internal 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));
require(_value <= balances[_from]);
require(_value <= allowed[_from][msg.sender]);
balances[_from] = balances[_from].sub(_value);
balances[_to] = balances[_to].add(_value);
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;
}
}
// File: openzeppelin-solidity/contracts/ownership/Ownable.sol
/**
* @title Ownable
* @dev The Ownable contract has an owner address, and provides basic authorization control
* functions, this simplifies the implementation of "user permissions".
*/
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.
*/
constructor() public {
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));
emit OwnershipTransferred(owner, newOwner);
owner = newOwner;
}
}
// File: openzeppelin-solidity/contracts/token/ERC20/CappedToken.sol
/**
* @title Capped token
* @dev Mintable token with a token cap.
*/
contract CappedToken is StandardToken, Ownable{
uint256 public cap;
address public distributionContract1;
address public distributionContract2;
address public distributionContract3;
address public distributionContract4;
address public distributionContract5;
constructor(uint256 _cap,
address _distributionContract1,
address _distributionContract2,
address _distributionContract3,
address _distributionContract4,
address _distributionContract5
) public {
require(_cap > 0);
cap = _cap;
totalSupply_ = _cap;
distributionContract1 = _distributionContract1;
distributionContract2 = _distributionContract2;
distributionContract3 = _distributionContract3;
distributionContract4 = _distributionContract4;
distributionContract5 = _distributionContract5;
balances[_distributionContract1] = 9990000 * 1 ether; /* Private 1 */
balances[_distributionContract2] = 6060000 * 1 ether; /* Private 2 */
balances[_distributionContract3] = 3090000 * 1 ether; /* Private 3 */
balances[_distributionContract4] = 2610000 * 1 ether; /* Private 4 */
balances[_distributionContract5] = 78250000 * 1 ether; /* Rest */
}
}
// File: openzeppelin-solidity/contracts/lifecycle/Pausable.sol
/**
* @title Pausable
* @dev Base contract which allows children to implement an emergency stop mechanism.
*/
contract Pausable is Ownable {
event Pause();
event Unpause();
bool public paused = false;
/**
* @dev Modifier to make a function callable only when the contract is not paused.
*/
modifier whenNotPaused() {
require(!paused);
_;
}
/**
* @dev Modifier to make a function callable only when the contract is paused.
*/
modifier whenPaused() {
require(paused);
_;
}
/**
* @dev called by the owner to pause, triggers stopped state
*/
function pause() onlyOwner whenNotPaused public {
paused = true;
emit Pause();
}
/**
* @dev called by the owner to unpause, returns to normal state
*/
function unpause() onlyOwner whenPaused public {
paused = false;
emit Unpause();
}
}
// File: openzeppelin-solidity/contracts/token/ERC20/PausableToken.sol
/**
* @title Pausable token
* @dev StandardToken modified with pausable transfers.
**/
contract PausableToken is StandardToken, Pausable {
function transfer(address _to, uint256 _value) public whenNotPaused returns (bool) {
return super.transfer(_to, _value);
}
function transferFrom(address _from, address _to, uint256 _value) public whenNotPaused returns (bool) {
return super.transferFrom(_from, _to, _value);
}
function approve(address _spender, uint256 _value) public whenNotPaused returns (bool) {
return super.approve(_spender, _value);
}
function increaseApproval(address _spender, uint _addedValue) public whenNotPaused returns (bool success) {
return super.increaseApproval(_spender, _addedValue);
}
function decreaseApproval(address _spender, uint _subtractedValue) public whenNotPaused returns (bool success) {
return super.decreaseApproval(_spender, _subtractedValue);
}
}
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
contract PolkamarketsToken is PausableToken, CappedToken {
string public name = "Polkamarkets";
string public symbol = "POLK";
uint8 public decimals = 18;
// 100 Million <---------| |-----------------> 10^18
uint256 constant TOTAL_CAP = 100000000 * 1 ether;
constructor(
address _distributionContract1,
address _distributionContract2,
address _distributionContract3,
address _distributionContract4,
address _distributionContract5
) public CappedToken(TOTAL_CAP, _distributionContract1, _distributionContract2, _distributionContract3, _distributionContract4, _distributionContract5) {
}
}
Compiler Settings
{"remappings":[],"optimizer":{"runs":200,"enabled":true},"libraries":{},"evmVersion":"petersburg","compilationTarget":{"PolkamarketsToken.sol":"PolkamarketsToken"}}
Contract ABI
[{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"string","name":""}],"name":"name","inputs":[],"constant":true},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[{"type":"bool","name":""}],"name":"approve","inputs":[{"type":"address","name":"_spender"},{"type":"uint256","name":"_value"}],"constant":false},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint256","name":""}],"name":"totalSupply","inputs":[],"constant":true},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[{"type":"bool","name":""}],"name":"transferFrom","inputs":[{"type":"address","name":"_from"},{"type":"address","name":"_to"},{"type":"uint256","name":"_value"}],"constant":false},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"address","name":""}],"name":"distributionContract5","inputs":[],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint8","name":""}],"name":"decimals","inputs":[],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint256","name":""}],"name":"cap","inputs":[],"constant":true},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[],"name":"unpause","inputs":[],"constant":false},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"bool","name":""}],"name":"paused","inputs":[],"constant":true},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[{"type":"bool","name":"success"}],"name":"decreaseApproval","inputs":[{"type":"address","name":"_spender"},{"type":"uint256","name":"_subtractedValue"}],"constant":false},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint256","name":""}],"name":"balanceOf","inputs":[{"type":"address","name":"_owner"}],"constant":true},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[],"name":"pause","inputs":[],"constant":false},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"address","name":""}],"name":"owner","inputs":[],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"address","name":""}],"name":"distributionContract4","inputs":[],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"string","name":""}],"name":"symbol","inputs":[],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"address","name":""}],"name":"distributionContract2","inputs":[],"constant":true},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[{"type":"bool","name":""}],"name":"transfer","inputs":[{"type":"address","name":"_to"},{"type":"uint256","name":"_value"}],"constant":false},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[{"type":"bool","name":"success"}],"name":"increaseApproval","inputs":[{"type":"address","name":"_spender"},{"type":"uint256","name":"_addedValue"}],"constant":false},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint256","name":""}],"name":"allowance","inputs":[{"type":"address","name":"_owner"},{"type":"address","name":"_spender"}],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"address","name":""}],"name":"distributionContract3","inputs":[],"constant":true},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner"}],"constant":false},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"address","name":""}],"name":"distributionContract1","inputs":[],"constant":true},{"type":"constructor","stateMutability":"nonpayable","payable":false,"inputs":[{"type":"address","name":"_distributionContract1"},{"type":"address","name":"_distributionContract2"},{"type":"address","name":"_distributionContract3"},{"type":"address","name":"_distributionContract4"},{"type":"address","name":"_distributionContract5"}]},{"type":"event","name":"Pause","inputs":[],"anonymous":false},{"type":"event","name":"Unpause","inputs":[],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","indexed":true},{"type":"address","name":"newOwner","indexed":true}],"anonymous":false},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","indexed":true},{"type":"address","name":"spender","indexed":true},{"type":"uint256","name":"value","indexed":false}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","indexed":true},{"type":"address","name":"to","indexed":true},{"type":"uint256","name":"value","indexed":false}],"anonymous":false}]
Contract Creation Code
0x60038054600160a01b60ff021916905560c0604052600c60808190527f506f6c6b616d61726b657473000000000000000000000000000000000000000060a090815261004e91600a91906101ce565b506040805180820190915260048082527f504f4c4b00000000000000000000000000000000000000000000000000000000602090920191825261009391600b916101ce565b50600c805460ff191660121790553480156100ad57600080fd5b5060405160a080610fd5833981018060405260a08110156100cd57600080fd5b508051602080830151604080850151606086015160809096015160038054336001600160a01b0319918216179091556a52b7d2dcc80cd2e400000060048190556001556005805482166001600160a01b0398891690811790915560068054831696891696871790556007805483169489169485179055600880548316998916998a179055600980549092169790921696871790556000908152938490528184206a084376fc33378d97c0000090559183528083206a050341421d87f1f380000090559082528082206a028e553c537e592740000090559281528281206a0228b0622dab57bb4000009055908152206a40ba14fff623a2764000009055610269565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061020f57805160ff191683800117855561023c565b8280016001018555821561023c579182015b8281111561023c578251825591602001919060010190610221565b5061024892915061024c565b5090565b61026691905b808211156102485760008155600101610252565b90565b610d5d806102786000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c80638456cb59116100b8578063a9059cbb1161007c578063a9059cbb1461032a578063d73dd62314610356578063dd62ed3e14610382578063f00430c2146103b0578063f2fde38b146103b8578063f792a56e146103de57610142565b80638456cb59146103025780638da5cb5b1461030a57806392d81e901461031257806395d89b411461031a578063996351871461032257610142565b8063313ce5671161010a578063313ce56714610278578063355274ea146102965780633f4ba83a1461029e5780635c975abb146102a857806366188463146102b057806370a08231146102dc57610142565b806306fdde0314610147578063095ea7b3146101c457806318160ddd1461020457806323b872dd1461021e5780632b208d2d14610254575b600080fd5b61014f6103e6565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610189578181015183820152602001610171565b50505050905090810190601f1680156101b65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101f0600480360360408110156101da57600080fd5b506001600160a01b038135169060200135610474565b604080519115158252519081900360200190f35b61020c61049f565b60408051918252519081900360200190f35b6101f06004803603606081101561023457600080fd5b506001600160a01b038135811691602081013590911690604001356104a5565b61025c6104d2565b604080516001600160a01b039092168252519081900360200190f35b6102806104e1565b6040805160ff9092168252519081900360200190f35b61020c6104ea565b6102a66104f0565b005b6101f0610558565b6101f0600480360360408110156102c657600080fd5b506001600160a01b038135169060200135610568565b61020c600480360360208110156102f257600080fd5b50356001600160a01b031661058c565b6102a66105a7565b61025c610616565b61025c610625565b61014f610634565b61025c61068f565b6101f06004803603604081101561034057600080fd5b506001600160a01b03813516906020013561069e565b6101f06004803603604081101561036c57600080fd5b506001600160a01b0381351690602001356106c2565b61020c6004803603604081101561039857600080fd5b506001600160a01b03813581169160200135166106e6565b61025c610711565b6102a6600480360360208110156103ce57600080fd5b50356001600160a01b0316610720565b61025c6107a6565b600a805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561046c5780601f106104415761010080835404028352916020019161046c565b820191906000526020600020905b81548152906001019060200180831161044f57829003601f168201915b505050505081565b600354600090600160a01b900460ff161561048e57600080fd5b61049883836107b5565b9392505050565b60015490565b600354600090600160a01b900460ff16156104bf57600080fd5b6104ca84848461081b565b949350505050565b6009546001600160a01b031681565b600c5460ff1681565b60045481565b6003546001600160a01b0316331461050757600080fd5b600354600160a01b900460ff1661051d57600080fd5b60038054600160a01b60ff02191690556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b600354600160a01b900460ff1681565b600354600090600160a01b900460ff161561058257600080fd5b6104988383610990565b6001600160a01b031660009081526020819052604090205490565b6003546001600160a01b031633146105be57600080fd5b600354600160a01b900460ff16156105d557600080fd5b60038054600160a01b60ff021916600160a01b1790556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b6003546001600160a01b031681565b6008546001600160a01b031681565b600b805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561046c5780601f106104415761010080835404028352916020019161046c565b6006546001600160a01b031681565b600354600090600160a01b900460ff16156106b857600080fd5b6104988383610a80565b600354600090600160a01b900460ff16156106dc57600080fd5b6104988383610b5f565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6007546001600160a01b031681565b6003546001600160a01b0316331461073757600080fd5b6001600160a01b03811661074a57600080fd5b6003546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600380546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031681565b3360008181526002602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60006001600160a01b03831661083057600080fd5b6001600160a01b03841660009081526020819052604090205482111561085557600080fd5b6001600160a01b038416600090815260026020908152604080832033845290915290205482111561088557600080fd5b6001600160a01b0384166000908152602081905260409020546108ae908363ffffffff610bf816565b6001600160a01b0380861660009081526020819052604080822093909355908516815220546108e3908363ffffffff610c3a16565b6001600160a01b03808516600090815260208181526040808320949094559187168152600282528281203382529091522054610925908363ffffffff610bf816565b6001600160a01b03808616600081815260026020908152604080832033845282529182902094909455805186815290519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060019392505050565b3360009081526002602090815260408083206001600160a01b0386168452909152812054808311156109e5573360009081526002602090815260408083206001600160a01b0388168452909152812055610a1a565b6109f5818463ffffffff610bf816565b3360009081526002602090815260408083206001600160a01b03891684529091529020555b3360008181526002602090815260408083206001600160a01b0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b60006001600160a01b038316610a9557600080fd5b33600090815260208190526040902054821115610ab157600080fd5b33600090815260208190526040902054610ad1908363ffffffff610bf816565b33600090815260208190526040808220929092556001600160a01b03851681522054610b03908363ffffffff610c3a16565b6001600160a01b038416600081815260208181526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b3360009081526002602090815260408083206001600160a01b0386168452909152812054610b93908363ffffffff610c3a16565b3360008181526002602090815260408083206001600160a01b0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b600061049883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610c97565b6000828201838110156104985760408051600160e51b62461bcd02815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60008184841115610d2957604051600160e51b62461bcd0281526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610cee578181015183820152602001610cd6565b50505050905090810190601f168015610d1b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50505090039056fea165627a7a7230582085a58e26fbd5f35aee5578f79cea013c3461138e45989b0cd2e3eadb8332b2e60029000000000000000000000000763e3ee4ee9cac68200e0d358ab10f5136206008000000000000000000000000531a9f9f384be2a3acd9581d574bd47e65ac8273000000000000000000000000afea4511e634928f3a70b18ae565cd07736b7a04000000000000000000000000126b53a1b0f6d036f4ef93a4e5af984bb4b95861000000000000000000000000a6972fd8b71e7af7173e18a3ed986114bb721805
Deployed ByteCode
0x608060405234801561001057600080fd5b50600436106101425760003560e01c80638456cb59116100b8578063a9059cbb1161007c578063a9059cbb1461032a578063d73dd62314610356578063dd62ed3e14610382578063f00430c2146103b0578063f2fde38b146103b8578063f792a56e146103de57610142565b80638456cb59146103025780638da5cb5b1461030a57806392d81e901461031257806395d89b411461031a578063996351871461032257610142565b8063313ce5671161010a578063313ce56714610278578063355274ea146102965780633f4ba83a1461029e5780635c975abb146102a857806366188463146102b057806370a08231146102dc57610142565b806306fdde0314610147578063095ea7b3146101c457806318160ddd1461020457806323b872dd1461021e5780632b208d2d14610254575b600080fd5b61014f6103e6565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610189578181015183820152602001610171565b50505050905090810190601f1680156101b65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101f0600480360360408110156101da57600080fd5b506001600160a01b038135169060200135610474565b604080519115158252519081900360200190f35b61020c61049f565b60408051918252519081900360200190f35b6101f06004803603606081101561023457600080fd5b506001600160a01b038135811691602081013590911690604001356104a5565b61025c6104d2565b604080516001600160a01b039092168252519081900360200190f35b6102806104e1565b6040805160ff9092168252519081900360200190f35b61020c6104ea565b6102a66104f0565b005b6101f0610558565b6101f0600480360360408110156102c657600080fd5b506001600160a01b038135169060200135610568565b61020c600480360360208110156102f257600080fd5b50356001600160a01b031661058c565b6102a66105a7565b61025c610616565b61025c610625565b61014f610634565b61025c61068f565b6101f06004803603604081101561034057600080fd5b506001600160a01b03813516906020013561069e565b6101f06004803603604081101561036c57600080fd5b506001600160a01b0381351690602001356106c2565b61020c6004803603604081101561039857600080fd5b506001600160a01b03813581169160200135166106e6565b61025c610711565b6102a6600480360360208110156103ce57600080fd5b50356001600160a01b0316610720565b61025c6107a6565b600a805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561046c5780601f106104415761010080835404028352916020019161046c565b820191906000526020600020905b81548152906001019060200180831161044f57829003601f168201915b505050505081565b600354600090600160a01b900460ff161561048e57600080fd5b61049883836107b5565b9392505050565b60015490565b600354600090600160a01b900460ff16156104bf57600080fd5b6104ca84848461081b565b949350505050565b6009546001600160a01b031681565b600c5460ff1681565b60045481565b6003546001600160a01b0316331461050757600080fd5b600354600160a01b900460ff1661051d57600080fd5b60038054600160a01b60ff02191690556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b600354600160a01b900460ff1681565b600354600090600160a01b900460ff161561058257600080fd5b6104988383610990565b6001600160a01b031660009081526020819052604090205490565b6003546001600160a01b031633146105be57600080fd5b600354600160a01b900460ff16156105d557600080fd5b60038054600160a01b60ff021916600160a01b1790556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b6003546001600160a01b031681565b6008546001600160a01b031681565b600b805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561046c5780601f106104415761010080835404028352916020019161046c565b6006546001600160a01b031681565b600354600090600160a01b900460ff16156106b857600080fd5b6104988383610a80565b600354600090600160a01b900460ff16156106dc57600080fd5b6104988383610b5f565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6007546001600160a01b031681565b6003546001600160a01b0316331461073757600080fd5b6001600160a01b03811661074a57600080fd5b6003546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600380546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031681565b3360008181526002602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60006001600160a01b03831661083057600080fd5b6001600160a01b03841660009081526020819052604090205482111561085557600080fd5b6001600160a01b038416600090815260026020908152604080832033845290915290205482111561088557600080fd5b6001600160a01b0384166000908152602081905260409020546108ae908363ffffffff610bf816565b6001600160a01b0380861660009081526020819052604080822093909355908516815220546108e3908363ffffffff610c3a16565b6001600160a01b03808516600090815260208181526040808320949094559187168152600282528281203382529091522054610925908363ffffffff610bf816565b6001600160a01b03808616600081815260026020908152604080832033845282529182902094909455805186815290519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060019392505050565b3360009081526002602090815260408083206001600160a01b0386168452909152812054808311156109e5573360009081526002602090815260408083206001600160a01b0388168452909152812055610a1a565b6109f5818463ffffffff610bf816565b3360009081526002602090815260408083206001600160a01b03891684529091529020555b3360008181526002602090815260408083206001600160a01b0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b60006001600160a01b038316610a9557600080fd5b33600090815260208190526040902054821115610ab157600080fd5b33600090815260208190526040902054610ad1908363ffffffff610bf816565b33600090815260208190526040808220929092556001600160a01b03851681522054610b03908363ffffffff610c3a16565b6001600160a01b038416600081815260208181526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b3360009081526002602090815260408083206001600160a01b0386168452909152812054610b93908363ffffffff610c3a16565b3360008181526002602090815260408083206001600160a01b0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b600061049883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610c97565b6000828201838110156104985760408051600160e51b62461bcd02815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60008184841115610d2957604051600160e51b62461bcd0281526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610cee578181015183820152602001610cd6565b50505050905090810190601f168015610d1b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50505090039056fea165627a7a7230582085a58e26fbd5f35aee5578f79cea013c3461138e45989b0cd2e3eadb8332b2e60029