Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
2,040,265.704949665234831789 kUSD
Holders
244
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.200529404521425215 kUSDValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
KineUSD
Compiler Version
v0.5.16+commit.9c3226ce
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.5.16; import "./BlackListRole.sol"; import "./Ownable.sol"; import "./ERC20Pausable.sol"; /** * @title KineUSD * @notice Kine USD is Kine Trading System's stable coin which link the Kine on-chain staking contracts to * Kine off-chain trading platform. It can only be minted on chain when user staking collaterals and is used for * trading multiple synthetic assets in off-chain trading platform. * @dev KineUSD is mint when user stake Kine MCD in KUSDMinter contract and burnt first when user try to unstake Kine MCD. * @author Kine */ contract KineUSD is Ownable, ERC20Pausable, BlackListRole { /// @notice Emitted when KUSD minter is changed by owner event NewMinter(address oldMinter, address newMinter); /// @notice KineUSD token name string public name; /// @notice KineUSD token symbol string public symbol; /// @notice KineUSD token decimals uint8 public decimals; /** * @notice KUSD minter (see KUSDMinter) is responsible to stake/unstake Kine MCD (see KMCD) and call this contract to mint/burn KUSD onbehalf of user. */ address public minter; constructor (string memory name_, string memory symbol_, uint8 decimals_, address minter_) public { name = name_; symbol = symbol_; decimals = decimals_; minter = minter_; } /// @notice Mint/burn can be only called by minter contract modifier onlyMinter { require( msg.sender == minter, "Only minter can call this function." ); _; } /** * @notice Transfer caller's KUSD to target address * @param to Transfer target address * @param value The amount of KUSD to transfer * @return True if transfer succeed, false if failed */ function transfer(address to, uint value) public onlyNotBlacklisted(msg.sender) returns (bool) { return super.transfer(to, value); } /** * @notice Transfer source address's KUSD to target address * @param from Source address * @param to Target address * @param value The amount of KUSD to transfer * @return True if transfer succeed, false if failed */ function transferFrom(address from, address to, uint value) public onlyNotBlacklisted(from) returns (bool) { return super.transferFrom(from, to, value); } /** * @notice Mint KUSD to account, only KUSDMinter can call this function * @param account Account will receive mint KUSD * @param amount The amount of KUSD to mint */ function mint(address account, uint amount) external onlyMinter { _mint(account, amount); } /** * @notice Burn KUSD from account, only KUSDMinter can call this function * @param account Account to burn KUSD from * @param amount The amount of KUSD to burn */ function burn(address account, uint amount) external onlyMinter { _burn(account, amount); } /** * @notice Change minter address to a new one, only KUSD owner can do this * @param newMinter New KUSDMinter contract address */ function _setMinter(address newMinter) external onlyOwner { address oldMinter = minter; minter = newMinter; emit NewMinter(oldMinter, minter); } /// @notice Add new account as blacklist admin member /// @dev Only owner can add new blacklist admin member function addBlacklistAdmin(address account) public onlyOwner { _addBlacklistAdmin(account); } /// @notice Remove account from blacklist admin members /// @dev Besides owner can remove admins, the blacklist admin can also renounce itself function removeBlacklistAdmin(address account) public onlyOwner { _removeBlacklistAdmin(account); } }
pragma solidity ^0.5.16; import "./BlacklistAdminRole.sol"; import "./Context.sol"; import "./Roles.sol"; /** * @title BlackListRole */ contract BlackListRole is BlacklistAdminRole { using Roles for Roles.Role; /// @notice Emitted when blacklist admin add account into blacklist event BlacklistedAdded(address indexed account); /// @notice Emitted when blacklist admin remove account into blacklist event BlacklistedRemoved(address indexed account); /// @dev Blacklist is maintained by blacklist admins Roles.Role private _blacklisteds; /// @notice Prevent blacklisted account modifier onlyNotBlacklisted(address account) { require(!isBlacklisted(account), "BlacklistedRole: account is Blacklisted"); _; } /** * @notice Check if given account is in blacklist * @return True if account is in blacklist, and false if not in blacklist */ function isBlacklisted(address account) public view returns (bool) { return _blacklisteds.has(account); } /// @notice Add account into blacklist, only blacklist admin can do this function addBlacklisted(address account) public onlyBlacklistAdmin { _addBlacklisted(account); } /// @notice Remove account into blacklist, only blacklist admin can do this function removeBlacklisted(address account) public onlyBlacklistAdmin { _removeBlacklisted(account); } function _addBlacklisted(address account) internal { _blacklisteds.add(account); emit BlacklistedAdded(account); } function _removeBlacklisted(address account) internal { _blacklisteds.remove(account); emit BlacklistedRemoved(account); } }
pragma solidity ^0.5.16; import "./Context.sol"; import "./Roles.sol"; /** * @title BlacklistAdminRole */ contract BlacklistAdminRole is Context { using Roles for Roles.Role; /// @notice Emitted when new black list admin is added by existing admin event BlacklistAdminAdded(address indexed account); /// @notice Emitted when black list admin is removed by existing admin event BlacklistAdminRemoved(address indexed account); /// @dev Blacklist admins are responsible to maintain admin members Roles.Role private _blacklistAdmins; constructor () internal { _addBlacklistAdmin(_msgSender()); } /// @notice Prevent non blacklist admin user from managing admin members modifier onlyBlacklistAdmin() { require(isBlacklistAdmin(_msgSender()), "BlacklistAdminRole: caller does not have the BlacklistAdmin role"); _; } /// @notice Check if an account is blacklist admin member function isBlacklistAdmin(address account) public view returns (bool) { return _blacklistAdmins.has(account); } /// @notice Let caller to remove itself from blacklist admin members function renounceBlacklistAdmin() public { _removeBlacklistAdmin(_msgSender()); } function _addBlacklistAdmin(address account) internal { _blacklistAdmins.add(account); emit BlacklistAdminAdded(account); } function _removeBlacklistAdmin(address account) internal { _blacklistAdmins.remove(account); emit BlacklistAdminRemoved(account); } }
pragma solidity ^0.5.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ contract Context { // Empty internal constructor, to prevent people from mistakenly deploying // an instance of this contract, which should be used via inheritance. constructor () internal { } // solhint-disable-previous-line no-empty-blocks function _msgSender() internal view returns (address payable) { return msg.sender; } function _msgData() internal view returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
pragma solidity ^0.5.0; import "./Context.sol"; import "./IERC20.sol"; import "./KineSafeMath.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20Mintable}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { using KineSafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}; * * Requirements: * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for `sender`'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal { require(account != address(0), "ERC20: mint to the zero address"); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal { require(account != address(0), "ERC20: burn from the zero address"); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens. * * This is internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Destroys `amount` tokens from `account`.`amount` is then deducted * from the caller's allowance. * * See {_burn} and {_approve}. */ function _burnFrom(address account, uint256 amount) internal { _burn(account, amount); _approve(account, _msgSender(), _allowances[account][_msgSender()].sub(amount, "ERC20: burn amount exceeds allowance")); } }
pragma solidity ^0.5.0; import "./ERC20.sol"; import "./Pausable.sol"; /** * @title Pausable token * @dev ERC20 with pausable transfers and allowances. * * Useful if you want to stop trades until the end of a crowdsale, or have * an emergency switch for freezing all token transfers in the event of a large * bug. */ contract ERC20Pausable is ERC20, 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 increaseAllowance(address spender, uint256 addedValue) public whenNotPaused returns (bool) { return super.increaseAllowance(spender, addedValue); } function decreaseAllowance(address spender, uint256 subtractedValue) public whenNotPaused returns (bool) { return super.decreaseAllowance(spender, subtractedValue); } }
pragma solidity ^0.5.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. Does not include * the optional functions; to access them see {ERC20Detailed}. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
pragma solidity ^0.5.0; /** * @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. */ /** * Original work from OpenZeppelin: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v2.5.0/contracts/math/SafeMath.sol * changes we made: * 1. add two methods that take errorMessage as input parameter */ library KineSafeMath { /** * @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 addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. * added by Kine */ function add(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, errorMessage); 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 multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * - Multiplication cannot overflow. * added by Kine */ function mul(uint256 a, uint256 b, string memory errorMessage) 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, errorMessage); 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; } }
pragma solidity ^0.5.0; import "./Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(isOwner(), "Ownable: caller is not the owner"); _; } /** * @dev Returns true if the caller is the current owner. */ function isOwner() public view returns (bool) { return _msgSender() == _owner; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public onlyOwner { _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). */ function _transferOwnership(address newOwner) internal { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
pragma solidity ^0.5.0; import "./Context.sol"; import "./PauserRole.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ contract Pausable is Context, PauserRole { /** * @dev Emitted when the pause is triggered by a pauser (`account`). */ event Paused(address account); /** * @dev Emitted when the pause is lifted by a pauser (`account`). */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. Assigns the Pauser role * to the deployer. */ constructor () internal { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. */ modifier whenNotPaused() { require(!_paused, "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. */ modifier whenPaused() { require(_paused, "Pausable: not paused"); _; } /** * @dev Called by a pauser to pause, triggers stopped state. */ function pause() public onlyPauser whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Called by a pauser to unpause, returns to normal state. */ function unpause() public onlyPauser whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
pragma solidity ^0.5.0; import "./Context.sol"; import "./Roles.sol"; contract PauserRole is Context { using Roles for Roles.Role; event PauserAdded(address indexed account); event PauserRemoved(address indexed account); Roles.Role private _pausers; constructor () internal { _addPauser(_msgSender()); } modifier onlyPauser() { require(isPauser(_msgSender()), "PauserRole: caller does not have the Pauser role"); _; } function isPauser(address account) public view returns (bool) { return _pausers.has(account); } function addPauser(address account) public onlyPauser { _addPauser(account); } function renouncePauser() public { _removePauser(_msgSender()); } function _addPauser(address account) internal { _pausers.add(account); emit PauserAdded(account); } function _removePauser(address account) internal { _pausers.remove(account); emit PauserRemoved(account); } }
pragma solidity ^0.5.0; /** * @title Roles * @dev Library for managing addresses assigned to a Role. */ library Roles { struct Role { mapping (address => bool) bearer; } /** * @dev Give an account access to this role. */ function add(Role storage role, address account) internal { require(!has(role, account), "Roles: account already has role"); role.bearer[account] = true; } /** * @dev Remove an account's access to this role. */ function remove(Role storage role, address account) internal { require(has(role, account), "Roles: account does not have role"); role.bearer[account] = false; } /** * @dev Check if an account has this role. * @return bool */ function has(Role storage role, address account) internal view returns (bool) { require(account != address(0), "Roles: account is the zero address"); return role.bearer[account]; } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "istanbul", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint8","name":"decimals_","type":"uint8"},{"internalType":"address","name":"minter_","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"BlacklistAdminAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"BlacklistAdminRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"BlacklistedAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"BlacklistedRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldMinter","type":"address"},{"indexed":false,"internalType":"address","name":"newMinter","type":"address"}],"name":"NewMinter","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"PauserAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"PauserRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"constant":false,"inputs":[{"internalType":"address","name":"newMinter","type":"address"}],"name":"_setMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addBlacklistAdmin","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addBlacklisted","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addPauser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isBlacklistAdmin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isBlacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isPauser","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"minter","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"pause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeBlacklistAdmin","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeBlacklisted","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceBlacklistAdmin","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renouncePauser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051620022b0380380620022b0833981810160405260808110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b9083019060208201858111156200006e57600080fd5b82516401000000008111828201881017156200008957600080fd5b82525081516020918201929091019080838360005b83811015620000b85781810151838201526020016200009e565b50505050905090810190601f168015620000e65780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200010a57600080fd5b9083019060208201858111156200012057600080fd5b82516401000000008111828201881017156200013b57600080fd5b82525081516020918201929091019080838360005b838110156200016a57818101518382015260200162000150565b50505050905090810190601f168015620001985780820380516001836020036101000a031916815260200191505b506040908152602082015191015190925090506000620001c06001600160e01b03620002c816565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35062000230620002216001600160e01b03620002c816565b6001600160e01b03620002cd16565b6005805460ff1916905562000260620002516001600160e01b03620002c816565b6001600160e01b036200031f16565b83516200027590600890602087019062000467565b5082516200028b90600990602086019062000467565b50600a80546001600160a01b0390921661010002610100600160a81b031960ff90941660ff19909316929092179290921617905550620005099050565b335b90565b620002e88160046200037160201b620016a81790919060201c565b6040516001600160a01b038216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b6200033a8160066200037160201b620016a81790919060201c565b6040516001600160a01b038216907fa6124c7f565d239231ddc9de42e684db7443c994c658117542be9c50f561943890600090a250565b6200038682826001600160e01b03620003fe16565b15620003d9576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b60006001600160a01b038216620004475760405162461bcd60e51b81526004018080602001828103825260228152602001806200228e6022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620004aa57805160ff1916838001178555620004da565b82800160010185558215620004da579182015b82811115620004da578251825591602001919060010190620004bd565b50620004e8929150620004ec565b5090565b620002ca91905b80821115620004e85760008155600101620004f3565b611d7580620005196000396000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c80636ef8d66d1161010f5780639dc29fac116100a2578063d3ce790511610071578063d3ce79051461059a578063dd62ed3e146105c0578063f2fde38b146105ee578063fe575a8714610614576101f0565b80639dc29fac146104f0578063a457c2d71461051c578063a9059cbb14610548578063c6a276c214610574576101f0565b80638456cb59116100de5780638456cb59146104d05780638da5cb5b146104d85780638f32d59b146104e057806395d89b41146104e8576101f0565b80636ef8d66d1461047457806370a082311461047c578063715018a6146104a257806382dc1ec4146104aa576101f0565b8063243f24731161018757806340c10f191161015657806340c10f19146103f457806346fbf68e146104205780635c975abb146104465780635e612bab1461044e576101f0565b8063243f24731461039a578063313ce567146103a257806339509351146103c05780633f4ba83a146103ec576101f0565b806318160ddd116101c357806318160ddd146102fc578063188efc16146103165780632373f0911461033e57806323b872dd14610364576101f0565b806306fdde03146101f55780630754617214610272578063095ea7b31461029657806316d2e650146102d6575b600080fd5b6101fd61063a565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561023757818101518382015260200161021f565b50505050905090810190601f1680156102645780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61027a6106c8565b604080516001600160a01b039092168252519081900360200190f35b6102c2600480360360408110156102ac57600080fd5b506001600160a01b0381351690602001356106dc565b604080519115158252519081900360200190f35b6102c2600480360360208110156102ec57600080fd5b50356001600160a01b031661073b565b610304610754565b60408051918252519081900360200190f35b61033c6004803603602081101561032c57600080fd5b50356001600160a01b031661075a565b005b61033c6004803603602081101561035457600080fd5b50356001600160a01b03166107b1565b6102c26004803603606081101561037a57600080fd5b506001600160a01b03813581169160208101359091169060400135610867565b61033c6108c3565b6103aa6108d5565b6040805160ff9092168252519081900360200190f35b6102c2600480360360408110156103d657600080fd5b506001600160a01b0381351690602001356108de565b61033c610936565b61033c6004803603604081101561040a57600080fd5b506001600160a01b038135169060200135610a1f565b6102c26004803603602081101561043657600080fd5b50356001600160a01b0316610a7b565b6102c2610a8e565b61033c6004803603602081101561046457600080fd5b50356001600160a01b0316610a97565b61033c610ae7565b6103046004803603602081101561049257600080fd5b50356001600160a01b0316610af7565b61033c610b12565b61033c600480360360208110156104c057600080fd5b50356001600160a01b0316610ba3565b61033c610bf2565b61027a610cb9565b6102c2610cc8565b6101fd610cec565b61033c6004803603604081101561050657600080fd5b506001600160a01b038135169060200135610d47565b6102c26004803603604081101561053257600080fd5b506001600160a01b038135169060200135610d9f565b6102c26004803603604081101561055e57600080fd5b506001600160a01b038135169060200135610df7565b61033c6004803603602081101561058a57600080fd5b50356001600160a01b0316610e51565b61033c600480360360208110156105b057600080fd5b50356001600160a01b0316610ea0565b610304600480360360408110156105d657600080fd5b506001600160a01b0381358116916020013516610ef0565b61033c6004803603602081101561060457600080fd5b50356001600160a01b0316610f1b565b6102c26004803603602081101561062a57600080fd5b50356001600160a01b0316610f6b565b6008805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106c05780601f10610695576101008083540402835291602001916106c0565b820191906000526020600020905b8154815290600101906020018083116106a357829003601f168201915b505050505081565b600a5461010090046001600160a01b031681565b60055460009060ff161561072a576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6107348383610f7e565b9392505050565b600061074e60068363ffffffff610f9b16565b92915050565b60035490565b61076a610765611002565b61073b565b6107a55760405162461bcd60e51b8152600401808060200182810382526040815260200180611bc06040913960400191505060405180910390fd5b6107ae81611006565b50565b6107b9610cc8565b6107f8576040805162461bcd60e51b81526020600482018190526024820152600080516020611c70833981519152604482015290519081900360640190fd5b600a80546001600160a01b03838116610100908102610100600160a81b03198416179384905560408051938290048316808552919094049091166020830152825190927f0b5e7be615a67a819aff3f47c967d1535cead1b98db60fafdcbf22dcaa8fa5a9928290030190a15050565b60008361087381610f6b565b156108af5760405162461bcd60e51b8152600401808060200182810382526027815260200180611c006027913960400191505060405180910390fd5b6108ba85858561104e565b95945050505050565b6108d36108ce611002565b6110a7565b565b600a5460ff1681565b60055460009060ff161561092c576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b61073483836110ef565b610946610941611002565b610a7b565b6109815760405162461bcd60e51b8152600401808060200182810382526030815260200180611aff6030913960400191505060405180910390fd5b60055460ff166109cf576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b6005805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa610a02611002565b604080516001600160a01b039092168252519081900360200190a1565b600a5461010090046001600160a01b03163314610a6d5760405162461bcd60e51b8152600401808060200182810382526023815260200180611b776023913960400191505060405180910390fd5b610a778282611148565b5050565b600061074e60048363ffffffff610f9b16565b60055460ff1690565b610a9f610cc8565b610ade576040805162461bcd60e51b81526020600482018190526024820152600080516020611c70833981519152604482015290519081900360640190fd5b6107ae816110a7565b6108d3610af2611002565b61123a565b6001600160a01b031660009081526001602052604090205490565b610b1a610cc8565b610b59576040805162461bcd60e51b81526020600482018190526024820152600080516020611c70833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b610bae610941611002565b610be95760405162461bcd60e51b8152600401808060200182810382526030815260200180611aff6030913960400191505060405180910390fd5b6107ae81611282565b610bfd610941611002565b610c385760405162461bcd60e51b8152600401808060200182810382526030815260200180611aff6030913960400191505060405180910390fd5b60055460ff1615610c83576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6005805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610a02611002565b6000546001600160a01b031690565b600080546001600160a01b0316610cdd611002565b6001600160a01b031614905090565b6009805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106c05780601f10610695576101008083540402835291602001916106c0565b600a5461010090046001600160a01b03163314610d955760405162461bcd60e51b8152600401808060200182810382526023815260200180611b776023913960400191505060405180910390fd5b610a7782826112ca565b60055460009060ff1615610ded576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b61073483836113c6565b600033610e0381610f6b565b15610e3f5760405162461bcd60e51b8152600401808060200182810382526027815260200180611c006027913960400191505060405180910390fd5b610e498484611434565b949350505050565b610e5c610765611002565b610e975760405162461bcd60e51b8152600401808060200182810382526040815260200180611bc06040913960400191505060405180910390fd5b6107ae8161148c565b610ea8610cc8565b610ee7576040805162461bcd60e51b81526020600482018190526024820152600080516020611c70833981519152604482015290519081900360640190fd5b6107ae816114d4565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b610f23610cc8565b610f62576040805162461bcd60e51b81526020600482018190526024820152600080516020611c70833981519152604482015290519081900360640190fd5b6107ae8161151c565b600061074e60078363ffffffff610f9b16565b6000610f92610f8b611002565b84846115bc565b50600192915050565b60006001600160a01b038216610fe25760405162461bcd60e51b8152600401808060200182810382526022815260200180611c906022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b3390565b61101760078263ffffffff6116a816565b6040516001600160a01b038216907fdbe320accb74107e8da655fa6a1e2b454c3102a3985d4201aba99308881a410a90600090a250565b60055460009060ff161561109c576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b610e49848484611729565b6110b860068263ffffffff6117b116565b6040516001600160a01b038216907fba73eacdfe215f630abb6a8a78e5be613e50918b52e691bba35d46c06e20d6c890600090a250565b6000610f926110fc611002565b84611143856002600061110d611002565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff61181816565b6115bc565b6001600160a01b0382166111a3576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6003546111b6908263ffffffff61181816565b6003556001600160a01b0382166000908152600160205260409020546111e2908263ffffffff61181816565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b61124b60048263ffffffff6117b116565b6040516001600160a01b038216907fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e90600090a250565b61129360048263ffffffff6116a816565b6040516001600160a01b038216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b6001600160a01b03821661130f5760405162461bcd60e51b8152600401808060200182810382526021815260200180611cb26021913960400191505060405180910390fd5b61135281604051806060016040528060228152602001611add602291396001600160a01b038516600090815260016020526040902054919063ffffffff61187216565b6001600160a01b03831660009081526001602052604090205560035461137e908263ffffffff61190916565b6003556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6000610f926113d3611002565b8461114385604051806060016040528060258152602001611d1c60259139600260006113fd611002565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61187216565b60055460009060ff1615611482576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b610734838361194b565b61149d60078263ffffffff6117b116565b6040516001600160a01b038216907ff38e60871ec534937251cd91cad807e15f55f1f6815128faecc256e71994b49790600090a250565b6114e560068263ffffffff6116a816565b6040516001600160a01b038216907fa6124c7f565d239231ddc9de42e684db7443c994c658117542be9c50f561943890600090a250565b6001600160a01b0381166115615760405162461bcd60e51b8152600401808060200182810382526026815260200180611b2f6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166116015760405162461bcd60e51b8152600401808060200182810382526024815260200180611cf86024913960400191505060405180910390fd5b6001600160a01b0382166116465760405162461bcd60e51b8152600401808060200182810382526022815260200180611b556022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6116b28282610f9b565b15611704576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b600061173684848461195b565b6117a784611742611002565b61114385604051806060016040528060288152602001611c48602891396001600160a01b038a16600090815260026020526040812090611780611002565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61187216565b5060019392505050565b6117bb8282610f9b565b6117f65760405162461bcd60e51b8152600401808060200182810382526021815260200180611c276021913960400191505060405180910390fd5b6001600160a01b0316600090815260209190915260409020805460ff19169055565b600082820183811015610734576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600081848411156119015760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156118c65781810151838201526020016118ae565b50505050905090810190601f1680156118f35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600061073483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611872565b6000610f92611958611002565b84845b6001600160a01b0383166119a05760405162461bcd60e51b8152600401808060200182810382526025815260200180611cd36025913960400191505060405180910390fd5b6001600160a01b0382166119e55760405162461bcd60e51b8152600401808060200182810382526023815260200180611aba6023913960400191505060405180910390fd5b611a2881604051806060016040528060268152602001611b9a602691396001600160a01b038616600090815260016020526040902054919063ffffffff61187216565b6001600160a01b038085166000908152600160205260408082209390935590841681522054611a5d908263ffffffff61181816565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a350505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e6365506175736572526f6c653a2063616c6c657220646f6573206e6f742068617665207468652050617573657220726f6c654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f20616464726573734f6e6c79206d696e7465722063616e2063616c6c20746869732066756e6374696f6e2e45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365426c61636b6c69737441646d696e526f6c653a2063616c6c657220646f6573206e6f7420686176652074686520426c61636b6c69737441646d696e20726f6c65426c61636b6c6973746564526f6c653a206163636f756e7420697320426c61636b6c6973746564526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c6545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572526f6c65733a206163636f756e7420697320746865207a65726f206164647265737345524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa265627a7a72315820058540bd29965cbd4d153cbc128dc634b75e06240568397eb0c5d9c853f3ad3864736f6c63430005100032526f6c65733a206163636f756e7420697320746865207a65726f2061646472657373000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000084b696e652055534400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000046b55534400000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101f05760003560e01c80636ef8d66d1161010f5780639dc29fac116100a2578063d3ce790511610071578063d3ce79051461059a578063dd62ed3e146105c0578063f2fde38b146105ee578063fe575a8714610614576101f0565b80639dc29fac146104f0578063a457c2d71461051c578063a9059cbb14610548578063c6a276c214610574576101f0565b80638456cb59116100de5780638456cb59146104d05780638da5cb5b146104d85780638f32d59b146104e057806395d89b41146104e8576101f0565b80636ef8d66d1461047457806370a082311461047c578063715018a6146104a257806382dc1ec4146104aa576101f0565b8063243f24731161018757806340c10f191161015657806340c10f19146103f457806346fbf68e146104205780635c975abb146104465780635e612bab1461044e576101f0565b8063243f24731461039a578063313ce567146103a257806339509351146103c05780633f4ba83a146103ec576101f0565b806318160ddd116101c357806318160ddd146102fc578063188efc16146103165780632373f0911461033e57806323b872dd14610364576101f0565b806306fdde03146101f55780630754617214610272578063095ea7b31461029657806316d2e650146102d6575b600080fd5b6101fd61063a565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561023757818101518382015260200161021f565b50505050905090810190601f1680156102645780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61027a6106c8565b604080516001600160a01b039092168252519081900360200190f35b6102c2600480360360408110156102ac57600080fd5b506001600160a01b0381351690602001356106dc565b604080519115158252519081900360200190f35b6102c2600480360360208110156102ec57600080fd5b50356001600160a01b031661073b565b610304610754565b60408051918252519081900360200190f35b61033c6004803603602081101561032c57600080fd5b50356001600160a01b031661075a565b005b61033c6004803603602081101561035457600080fd5b50356001600160a01b03166107b1565b6102c26004803603606081101561037a57600080fd5b506001600160a01b03813581169160208101359091169060400135610867565b61033c6108c3565b6103aa6108d5565b6040805160ff9092168252519081900360200190f35b6102c2600480360360408110156103d657600080fd5b506001600160a01b0381351690602001356108de565b61033c610936565b61033c6004803603604081101561040a57600080fd5b506001600160a01b038135169060200135610a1f565b6102c26004803603602081101561043657600080fd5b50356001600160a01b0316610a7b565b6102c2610a8e565b61033c6004803603602081101561046457600080fd5b50356001600160a01b0316610a97565b61033c610ae7565b6103046004803603602081101561049257600080fd5b50356001600160a01b0316610af7565b61033c610b12565b61033c600480360360208110156104c057600080fd5b50356001600160a01b0316610ba3565b61033c610bf2565b61027a610cb9565b6102c2610cc8565b6101fd610cec565b61033c6004803603604081101561050657600080fd5b506001600160a01b038135169060200135610d47565b6102c26004803603604081101561053257600080fd5b506001600160a01b038135169060200135610d9f565b6102c26004803603604081101561055e57600080fd5b506001600160a01b038135169060200135610df7565b61033c6004803603602081101561058a57600080fd5b50356001600160a01b0316610e51565b61033c600480360360208110156105b057600080fd5b50356001600160a01b0316610ea0565b610304600480360360408110156105d657600080fd5b506001600160a01b0381358116916020013516610ef0565b61033c6004803603602081101561060457600080fd5b50356001600160a01b0316610f1b565b6102c26004803603602081101561062a57600080fd5b50356001600160a01b0316610f6b565b6008805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106c05780601f10610695576101008083540402835291602001916106c0565b820191906000526020600020905b8154815290600101906020018083116106a357829003601f168201915b505050505081565b600a5461010090046001600160a01b031681565b60055460009060ff161561072a576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6107348383610f7e565b9392505050565b600061074e60068363ffffffff610f9b16565b92915050565b60035490565b61076a610765611002565b61073b565b6107a55760405162461bcd60e51b8152600401808060200182810382526040815260200180611bc06040913960400191505060405180910390fd5b6107ae81611006565b50565b6107b9610cc8565b6107f8576040805162461bcd60e51b81526020600482018190526024820152600080516020611c70833981519152604482015290519081900360640190fd5b600a80546001600160a01b03838116610100908102610100600160a81b03198416179384905560408051938290048316808552919094049091166020830152825190927f0b5e7be615a67a819aff3f47c967d1535cead1b98db60fafdcbf22dcaa8fa5a9928290030190a15050565b60008361087381610f6b565b156108af5760405162461bcd60e51b8152600401808060200182810382526027815260200180611c006027913960400191505060405180910390fd5b6108ba85858561104e565b95945050505050565b6108d36108ce611002565b6110a7565b565b600a5460ff1681565b60055460009060ff161561092c576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b61073483836110ef565b610946610941611002565b610a7b565b6109815760405162461bcd60e51b8152600401808060200182810382526030815260200180611aff6030913960400191505060405180910390fd5b60055460ff166109cf576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b6005805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa610a02611002565b604080516001600160a01b039092168252519081900360200190a1565b600a5461010090046001600160a01b03163314610a6d5760405162461bcd60e51b8152600401808060200182810382526023815260200180611b776023913960400191505060405180910390fd5b610a778282611148565b5050565b600061074e60048363ffffffff610f9b16565b60055460ff1690565b610a9f610cc8565b610ade576040805162461bcd60e51b81526020600482018190526024820152600080516020611c70833981519152604482015290519081900360640190fd5b6107ae816110a7565b6108d3610af2611002565b61123a565b6001600160a01b031660009081526001602052604090205490565b610b1a610cc8565b610b59576040805162461bcd60e51b81526020600482018190526024820152600080516020611c70833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b610bae610941611002565b610be95760405162461bcd60e51b8152600401808060200182810382526030815260200180611aff6030913960400191505060405180910390fd5b6107ae81611282565b610bfd610941611002565b610c385760405162461bcd60e51b8152600401808060200182810382526030815260200180611aff6030913960400191505060405180910390fd5b60055460ff1615610c83576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6005805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610a02611002565b6000546001600160a01b031690565b600080546001600160a01b0316610cdd611002565b6001600160a01b031614905090565b6009805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106c05780601f10610695576101008083540402835291602001916106c0565b600a5461010090046001600160a01b03163314610d955760405162461bcd60e51b8152600401808060200182810382526023815260200180611b776023913960400191505060405180910390fd5b610a7782826112ca565b60055460009060ff1615610ded576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b61073483836113c6565b600033610e0381610f6b565b15610e3f5760405162461bcd60e51b8152600401808060200182810382526027815260200180611c006027913960400191505060405180910390fd5b610e498484611434565b949350505050565b610e5c610765611002565b610e975760405162461bcd60e51b8152600401808060200182810382526040815260200180611bc06040913960400191505060405180910390fd5b6107ae8161148c565b610ea8610cc8565b610ee7576040805162461bcd60e51b81526020600482018190526024820152600080516020611c70833981519152604482015290519081900360640190fd5b6107ae816114d4565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b610f23610cc8565b610f62576040805162461bcd60e51b81526020600482018190526024820152600080516020611c70833981519152604482015290519081900360640190fd5b6107ae8161151c565b600061074e60078363ffffffff610f9b16565b6000610f92610f8b611002565b84846115bc565b50600192915050565b60006001600160a01b038216610fe25760405162461bcd60e51b8152600401808060200182810382526022815260200180611c906022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b3390565b61101760078263ffffffff6116a816565b6040516001600160a01b038216907fdbe320accb74107e8da655fa6a1e2b454c3102a3985d4201aba99308881a410a90600090a250565b60055460009060ff161561109c576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b610e49848484611729565b6110b860068263ffffffff6117b116565b6040516001600160a01b038216907fba73eacdfe215f630abb6a8a78e5be613e50918b52e691bba35d46c06e20d6c890600090a250565b6000610f926110fc611002565b84611143856002600061110d611002565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff61181816565b6115bc565b6001600160a01b0382166111a3576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6003546111b6908263ffffffff61181816565b6003556001600160a01b0382166000908152600160205260409020546111e2908263ffffffff61181816565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b61124b60048263ffffffff6117b116565b6040516001600160a01b038216907fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e90600090a250565b61129360048263ffffffff6116a816565b6040516001600160a01b038216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b6001600160a01b03821661130f5760405162461bcd60e51b8152600401808060200182810382526021815260200180611cb26021913960400191505060405180910390fd5b61135281604051806060016040528060228152602001611add602291396001600160a01b038516600090815260016020526040902054919063ffffffff61187216565b6001600160a01b03831660009081526001602052604090205560035461137e908263ffffffff61190916565b6003556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6000610f926113d3611002565b8461114385604051806060016040528060258152602001611d1c60259139600260006113fd611002565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61187216565b60055460009060ff1615611482576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b610734838361194b565b61149d60078263ffffffff6117b116565b6040516001600160a01b038216907ff38e60871ec534937251cd91cad807e15f55f1f6815128faecc256e71994b49790600090a250565b6114e560068263ffffffff6116a816565b6040516001600160a01b038216907fa6124c7f565d239231ddc9de42e684db7443c994c658117542be9c50f561943890600090a250565b6001600160a01b0381166115615760405162461bcd60e51b8152600401808060200182810382526026815260200180611b2f6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166116015760405162461bcd60e51b8152600401808060200182810382526024815260200180611cf86024913960400191505060405180910390fd5b6001600160a01b0382166116465760405162461bcd60e51b8152600401808060200182810382526022815260200180611b556022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6116b28282610f9b565b15611704576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b600061173684848461195b565b6117a784611742611002565b61114385604051806060016040528060288152602001611c48602891396001600160a01b038a16600090815260026020526040812090611780611002565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61187216565b5060019392505050565b6117bb8282610f9b565b6117f65760405162461bcd60e51b8152600401808060200182810382526021815260200180611c276021913960400191505060405180910390fd5b6001600160a01b0316600090815260209190915260409020805460ff19169055565b600082820183811015610734576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600081848411156119015760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156118c65781810151838201526020016118ae565b50505050905090810190601f1680156118f35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600061073483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611872565b6000610f92611958611002565b84845b6001600160a01b0383166119a05760405162461bcd60e51b8152600401808060200182810382526025815260200180611cd36025913960400191505060405180910390fd5b6001600160a01b0382166119e55760405162461bcd60e51b8152600401808060200182810382526023815260200180611aba6023913960400191505060405180910390fd5b611a2881604051806060016040528060268152602001611b9a602691396001600160a01b038616600090815260016020526040902054919063ffffffff61187216565b6001600160a01b038085166000908152600160205260408082209390935590841681522054611a5d908263ffffffff61181816565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a350505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e6365506175736572526f6c653a2063616c6c657220646f6573206e6f742068617665207468652050617573657220726f6c654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f20616464726573734f6e6c79206d696e7465722063616e2063616c6c20746869732066756e6374696f6e2e45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365426c61636b6c69737441646d696e526f6c653a2063616c6c657220646f6573206e6f7420686176652074686520426c61636b6c69737441646d696e20726f6c65426c61636b6c6973746564526f6c653a206163636f756e7420697320426c61636b6c6973746564526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c6545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572526f6c65733a206163636f756e7420697320746865207a65726f206164647265737345524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa265627a7a72315820058540bd29965cbd4d153cbc128dc634b75e06240568397eb0c5d9c853f3ad3864736f6c63430005100032
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000084b696e652055534400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000046b55534400000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name_ (string): Kine USD
Arg [1] : symbol_ (string): kUSD
Arg [2] : decimals_ (uint8): 18
Arg [3] : minter_ (address): 0x0000000000000000000000000000000000000000
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [5] : 4b696e6520555344000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [7] : 6b55534400000000000000000000000000000000000000000000000000000000
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.