Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00Token Holdings
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
0x1a4bebec229586e457b55e387937820854f627c4277a8e34f2e57d00bd94397d | Approve | (pending) | 19 days ago | IN | 0 ETH | (Pending) | |||
Approve | 21244056 | 16 hrs ago | IN | 0 ETH | 0.00074611 | ||||
Approve | 21242580 | 21 hrs ago | IN | 0 ETH | 0.00065772 | ||||
Transfer | 21194742 | 7 days ago | IN | 0 ETH | 0.00421908 | ||||
Approve | 21188043 | 8 days ago | IN | 0 ETH | 0.00072528 | ||||
Approve | 21151989 | 13 days ago | IN | 0 ETH | 0.0003065 | ||||
Approve | 21136121 | 15 days ago | IN | 0 ETH | 0.00032799 | ||||
Approve | 21127934 | 16 days ago | IN | 0 ETH | 0.00032689 | ||||
Approve | 21032655 | 30 days ago | IN | 0 ETH | 0.00046218 | ||||
Transfer | 21013813 | 32 days ago | IN | 0 ETH | 0.00086088 | ||||
Approve | 20947516 | 42 days ago | IN | 0 ETH | 0.00044069 | ||||
Approve | 20870635 | 52 days ago | IN | 0 ETH | 0.00050338 | ||||
Transfer | 20794500 | 63 days ago | IN | 0 ETH | 0.00368066 | ||||
Transfer | 20764008 | 67 days ago | IN | 0 ETH | 0.00127413 | ||||
Transfer | 20758259 | 68 days ago | IN | 0 ETH | 0.00057189 | ||||
Transfer | 20757665 | 68 days ago | IN | 0 ETH | 0.00047501 | ||||
Approve | 20756491 | 68 days ago | IN | 0 ETH | 0.00011275 | ||||
Approve | 20756033 | 68 days ago | IN | 0 ETH | 0.00007987 | ||||
Approve | 20694534 | 77 days ago | IN | 0 ETH | 0.00015757 | ||||
Approve | 20639813 | 85 days ago | IN | 0 ETH | 0.0000351 | ||||
Approve | 20638461 | 85 days ago | IN | 0 ETH | 0.00013499 | ||||
Transfer | 20615960 | 88 days ago | IN | 0 ETH | 0.00004157 | ||||
Transfer | 20615860 | 88 days ago | IN | 0 ETH | 0.00010759 | ||||
Approve | 20600581 | 90 days ago | IN | 0 ETH | 0.00004168 | ||||
Transfer | 20591474 | 91 days ago | IN | 0 ETH | 0.00014048 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
KnsToken
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-10-06 */ // File: @openzeppelin/contracts/utils/EnumerableSet.sol // SPDX-License-Identifier: MIT AND GPL-3.0-or-later pragma solidity ^0.6.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.0.0, only sets of type `address` (`AddressSet`) and `uint256` * (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping (bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { require(set._values.length > index, "EnumerableSet: index out of bounds"); return set._values[index]; } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(value))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(value))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(value))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint256(_at(set._inner, index))); } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } } // File: @openzeppelin/contracts/utils/Address.sol pragma solidity ^0.6.2; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != accountHash && codehash != 0x0); } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return _functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/GSN/Context.sol pragma solidity ^0.6.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. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: @openzeppelin/contracts/access/AccessControl.sol pragma solidity ^0.6.0; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context { using EnumerableSet for EnumerableSet.AddressSet; using Address for address; struct RoleData { EnumerableSet.AddressSet members; bytes32 adminRole; } mapping (bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view returns (bool) { return _roles[role].members.contains(account); } /** * @dev Returns the number of accounts that have `role`. Can be used * together with {getRoleMember} to enumerate all bearers of a role. */ function getRoleMemberCount(bytes32 role) public view returns (uint256) { return _roles[role].members.length(); } /** * @dev Returns one of the accounts that have `role`. `index` must be a * value between 0 and {getRoleMemberCount}, non-inclusive. * * Role bearers are not sorted in any particular way, and their ordering may * change at any point. * * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure * you perform all queries on the same block. See the following * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] * for more information. */ function getRoleMember(bytes32 role, uint256 index) public view returns (address) { return _roles[role].members.at(index); } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual { require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to grant"); _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual { require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to revoke"); _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { emit RoleAdminChanged(role, _roles[role].adminRole, adminRole); _roles[role].adminRole = adminRole; } function _grantRole(bytes32 role, address account) private { if (_roles[role].members.add(account)) { emit RoleGranted(role, account, _msgSender()); } } function _revokeRole(bytes32 role, address account) private { if (_roles[role].members.remove(account)) { emit RoleRevoked(role, account, _msgSender()); } } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol pragma solidity ^0.6.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ 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); } // File: @openzeppelin/contracts/math/SafeMath.sol pragma solidity ^0.6.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. */ 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. */ 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. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { 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. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol pragma solidity ^0.6.0; /** * @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 {ERC20PresetMinterPauser}. * * 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 SafeMath for uint256; using Address for address; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name, string memory symbol) public { _name = name; _symbol = symbol; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view override 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 virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override 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 virtual override 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 virtual 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 virtual 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 virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _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 virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _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 virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _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 virtual { 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 Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } } // File: @openzeppelin/contracts/token/ERC20/ERC20Capped.sol pragma solidity ^0.6.0; /** * @dev Extension of {ERC20} that adds a cap to the supply of tokens. */ abstract contract ERC20Capped is ERC20 { uint256 private _cap; /** * @dev Sets the value of the `cap`. This value is immutable, it can only be * set once during construction. */ constructor (uint256 cap) public { require(cap > 0, "ERC20Capped: cap is 0"); _cap = cap; } /** * @dev Returns the cap on the token's total supply. */ function cap() public view returns (uint256) { return _cap; } /** * @dev See {ERC20-_beforeTokenTransfer}. * * Requirements: * * - minted tokens must not cause the total supply to go over the cap. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual override { super._beforeTokenTransfer(from, to, amount); if (from == address(0)) { // When minting tokens require(totalSupply().add(amount) <= _cap, "ERC20Capped: cap exceeded"); } } } // File: @openzeppelin/contracts/token/ERC20/ERC20Burnable.sol pragma solidity ^0.6.0; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { uint256 decreasedAllowance = allowance(account, _msgSender()).sub(amount, "ERC20: burn amount exceeds allowance"); _approve(account, _msgSender(), decreasedAllowance); _burn(account, amount); } } // File: @openzeppelin/contracts/math/Math.sol pragma solidity ^0.6.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a >= b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow, so we distribute return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2); } } // File: @openzeppelin/contracts/utils/Arrays.sol pragma solidity ^0.6.0; /** * @dev Collection of functions related to array types. */ library Arrays { /** * @dev Searches a sorted `array` and returns the first index that contains * a value greater or equal to `element`. If no such index exists (i.e. all * values in the array are strictly less than `element`), the array length is * returned. Time complexity O(log n). * * `array` is expected to be sorted in ascending order, and to contain no * repeated elements. */ function findUpperBound(uint256[] storage array, uint256 element) internal view returns (uint256) { if (array.length == 0) { return 0; } uint256 low = 0; uint256 high = array.length; while (low < high) { uint256 mid = Math.average(low, high); // Note that mid will always be strictly less than high (i.e. it will be a valid array index) // because Math.average rounds down (it does integer division with truncation). if (array[mid] > element) { high = mid; } else { low = mid + 1; } } // At this point `low` is the exclusive upper bound. We will return the inclusive upper bound. if (low > 0 && array[low - 1] == element) { return low - 1; } else { return low; } } } // File: @openzeppelin/contracts/utils/Counters.sol pragma solidity ^0.6.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` * Since it is not possible to overflow a 256 bit integer with increments of one, `increment` can skip the {SafeMath} * overflow check, thereby saving gas. This does assume however correct usage, in that the underlying `_value` is never * directly accessed. */ library Counters { using SafeMath for uint256; struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { // The {SafeMath} overflow check can be skipped here, see the comment at the top counter._value += 1; } function decrement(Counter storage counter) internal { counter._value = counter._value.sub(1); } } // File: @openzeppelin/contracts/token/ERC20/ERC20Snapshot.sol pragma solidity ^0.6.0; /** * @dev This contract extends an ERC20 token with a snapshot mechanism. When a snapshot is created, the balances and * total supply at the time are recorded for later access. * * This can be used to safely create mechanisms based on token balances such as trustless dividends or weighted voting. * In naive implementations it's possible to perform a "double spend" attack by reusing the same balance from different * accounts. By using snapshots to calculate dividends or voting power, those attacks no longer apply. It can also be * used to create an efficient ERC20 forking mechanism. * * Snapshots are created by the internal {_snapshot} function, which will emit the {Snapshot} event and return a * snapshot id. To get the total supply at the time of a snapshot, call the function {totalSupplyAt} with the snapshot * id. To get the balance of an account at the time of a snapshot, call the {balanceOfAt} function with the snapshot id * and the account address. * * ==== Gas Costs * * Snapshots are efficient. Snapshot creation is _O(1)_. Retrieval of balances or total supply from a snapshot is _O(log * n)_ in the number of snapshots that have been created, although _n_ for a specific account will generally be much * smaller since identical balances in subsequent snapshots are stored as a single entry. * * There is a constant overhead for normal ERC20 transfers due to the additional snapshot bookkeeping. This overhead is * only significant for the first transfer that immediately follows a snapshot for a particular account. Subsequent * transfers will have normal cost until the next snapshot, and so on. */ abstract contract ERC20Snapshot is ERC20 { // Inspired by Jordi Baylina's MiniMeToken to record historical balances: // https://github.com/Giveth/minimd/blob/ea04d950eea153a04c51fa510b068b9dded390cb/contracts/MiniMeToken.sol using SafeMath for uint256; using Arrays for uint256[]; using Counters for Counters.Counter; // Snapshotted values have arrays of ids and the value corresponding to that id. These could be an array of a // Snapshot struct, but that would impede usage of functions that work on an array. struct Snapshots { uint256[] ids; uint256[] values; } mapping (address => Snapshots) private _accountBalanceSnapshots; Snapshots private _totalSupplySnapshots; // Snapshot ids increase monotonically, with the first value being 1. An id of 0 is invalid. Counters.Counter private _currentSnapshotId; /** * @dev Emitted by {_snapshot} when a snapshot identified by `id` is created. */ event Snapshot(uint256 id); /** * @dev Creates a new snapshot and returns its snapshot id. * * Emits a {Snapshot} event that contains the same id. * * {_snapshot} is `internal` and you have to decide how to expose it externally. Its usage may be restricted to a * set of accounts, for example using {AccessControl}, or it may be open to the public. * * [WARNING] * ==== * While an open way of calling {_snapshot} is required for certain trust minimization mechanisms such as forking, * you must consider that it can potentially be used by attackers in two ways. * * First, it can be used to increase the cost of retrieval of values from snapshots, although it will grow * logarithmically thus rendering this attack ineffective in the long term. Second, it can be used to target * specific accounts and increase the cost of ERC20 transfers for them, in the ways specified in the Gas Costs * section above. * * We haven't measured the actual numbers; if this is something you're interested in please reach out to us. * ==== */ function _snapshot() internal virtual returns (uint256) { _currentSnapshotId.increment(); uint256 currentId = _currentSnapshotId.current(); emit Snapshot(currentId); return currentId; } /** * @dev Retrieves the balance of `account` at the time `snapshotId` was created. */ function balanceOfAt(address account, uint256 snapshotId) public view returns (uint256) { (bool snapshotted, uint256 value) = _valueAt(snapshotId, _accountBalanceSnapshots[account]); return snapshotted ? value : balanceOf(account); } /** * @dev Retrieves the total supply at the time `snapshotId` was created. */ function totalSupplyAt(uint256 snapshotId) public view returns(uint256) { (bool snapshotted, uint256 value) = _valueAt(snapshotId, _totalSupplySnapshots); return snapshotted ? value : totalSupply(); } // _transfer, _mint and _burn are the only functions where the balances are modified, so it is there that the // snapshots are updated. Note that the update happens _before_ the balance change, with the pre-modified value. // The same is true for the total supply and _mint and _burn. function _transfer(address from, address to, uint256 value) internal virtual override { _updateAccountSnapshot(from); _updateAccountSnapshot(to); super._transfer(from, to, value); } function _mint(address account, uint256 value) internal virtual override { _updateAccountSnapshot(account); _updateTotalSupplySnapshot(); super._mint(account, value); } function _burn(address account, uint256 value) internal virtual override { _updateAccountSnapshot(account); _updateTotalSupplySnapshot(); super._burn(account, value); } function _valueAt(uint256 snapshotId, Snapshots storage snapshots) private view returns (bool, uint256) { require(snapshotId > 0, "ERC20Snapshot: id is 0"); // solhint-disable-next-line max-line-length require(snapshotId <= _currentSnapshotId.current(), "ERC20Snapshot: nonexistent id"); // When a valid snapshot is queried, there are three possibilities: // a) The queried value was not modified after the snapshot was taken. Therefore, a snapshot entry was never // created for this id, and all stored snapshot ids are smaller than the requested one. The value that corresponds // to this id is the current one. // b) The queried value was modified after the snapshot was taken. Therefore, there will be an entry with the // requested id, and its value is the one to return. // c) More snapshots were created after the requested one, and the queried value was later modified. There will be // no entry for the requested id: the value that corresponds to it is that of the smallest snapshot id that is // larger than the requested one. // // In summary, we need to find an element in an array, returning the index of the smallest value that is larger if // it is not found, unless said value doesn't exist (e.g. when all values are smaller). Arrays.findUpperBound does // exactly this. uint256 index = snapshots.ids.findUpperBound(snapshotId); if (index == snapshots.ids.length) { return (false, 0); } else { return (true, snapshots.values[index]); } } function _updateAccountSnapshot(address account) private { _updateSnapshot(_accountBalanceSnapshots[account], balanceOf(account)); } function _updateTotalSupplySnapshot() private { _updateSnapshot(_totalSupplySnapshots, totalSupply()); } function _updateSnapshot(Snapshots storage snapshots, uint256 currentValue) private { uint256 currentId = _currentSnapshotId.current(); if (_lastSnapshotId(snapshots.ids) < currentId) { snapshots.ids.push(currentId); snapshots.values.push(currentValue); } } function _lastSnapshotId(uint256[] storage ids) private view returns (uint256) { if (ids.length == 0) { return 0; } else { return ids[ids.length - 1]; } } } // File: contracts/KnsToken.sol pragma solidity ^0.6.0; contract KnsToken is AccessControl, ERC20, ERC20Capped, ERC20Burnable, ERC20Snapshot { bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); bytes32 public constant SNAPSHOTTER_ROLE = keccak256("SNAPSHOTTER_ROLE"); uint256 public constant ONE_KNS = 100000000; uint8 public constant KNS_DECIMALS = 8; uint256 public constant KNS_CAP = 100 * 1000000 * ONE_KNS; constructor(string memory name, string memory symbol, address minter) ERC20( name, symbol ) ERC20Capped( KNS_CAP ) public { _setupDecimals( KNS_DECIMALS ); _setupRole( DEFAULT_ADMIN_ROLE, _msgSender() ); if( minter != address(0) ) _setupRole( MINTER_ROLE, minter ); } /** * @dev Creates `amount` new tokens for `to`. * * See {ERC20-_mint}. * * Requirements: * * - the caller must have the `MINTER_ROLE`. */ function mint(address to, uint256 amount) public { require(hasRole(MINTER_ROLE, _msgSender()), "KnsToken: mint() requires MINTER_ROLE"); _mint(to, amount); } /** * @dev Creates a snapshot of current token balances. * * See {ERC20Snapsot-_snapshot}. * * Requirements: * * - the caller must have the 'SNAPSHOTTER_ROLE'. */ function snapshot() public { require(hasRole(SNAPSHOTTER_ROLE, _msgSender()), "KnsToken: snapshot() requires SNAPSHOTTER_ROLE"); _snapshot(); } function _beforeTokenTransfer(address from, address to, uint256 amount) internal override(ERC20, ERC20Capped) { super._beforeTokenTransfer(from, to, amount); } function _burn(address account, uint256 value) internal override(ERC20, ERC20Snapshot) { super._burn(account, value); } function _mint(address account, uint256 amount) internal override(ERC20, ERC20Snapshot) { super._mint(account, amount); } function _transfer(address sender, address recipient, uint256 amount) internal override(ERC20, ERC20Snapshot) { super._transfer(sender, recipient, amount); } }
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":"address","name":"minter","type":"address"}],"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":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Snapshot","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"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"KNS_CAP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"KNS_DECIMALS","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ONE_KNS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SNAPSHOTTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"snapshotId","type":"uint256"}],"name":"balanceOfAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"snapshot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"snapshotId","type":"uint256"}],"name":"totalSupplyAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162002fe038038062002fe0833981810160405260608110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b838201915060208201858111156200006f57600080fd5b82518660018202830111640100000000821117156200008d57600080fd5b8083526020830192505050908051906020019080838360005b83811015620000c3578082015181840152602081019050620000a6565b50505050905090810190601f168015620000f15780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200011557600080fd5b838201915060208201858111156200012c57600080fd5b82518660018202830111640100000000821117156200014a57600080fd5b8083526020830192505050908051906020019080838360005b838110156200018057808201518184015260208101905062000163565b50505050905090810190601f168015620001ae5780820380516001836020036101000a031916815260200191505b50604052602001805190602001909291905050506305f5e100800283838160049080519060200190620001e3929190620004f5565b508060059080519060200190620001fc929190620004f5565b506012600660006101000a81548160ff021916908360ff16021790555050506000811162000292576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f45524332304361707065643a206361702069732030000000000000000000000081525060200191505060405180910390fd5b8060078190555050620002ac60086200034160201b60201c565b620002d06000801b620002c46200035f60201b60201c565b6200036760201b60201c565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146200033857620003377f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6826200036760201b60201c565b5b5050506200059b565b80600660006101000a81548160ff021916908360ff16021790555050565b600033905090565b6200037982826200037d60201b60201c565b5050565b620003ab816000808581526020019081526020016000206000016200042060201b6200145c1790919060201c565b156200041c57620003c16200035f60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600062000450836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6200045860201b60201c565b905092915050565b60006200046c8383620004d260201b60201c565b620004c7578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050620004cc565b600090505b92915050565b600080836001016000848152602001908152602001600020541415905092915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200053857805160ff191683800117855562000569565b8280016001018555821562000569579182015b82811115620005685782518255916020019190600101906200054b565b5b5090506200057891906200057c565b5090565b5b80821115620005975760008160009055506001016200057d565b5090565b612a3580620005ab6000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c80636af1ccb51161010f578063a217fddf116100a2578063cb2db43711610071578063cb2db43714610992578063d5391393146109b0578063d547741f146109ce578063dd62ed3e14610a1c576101e5565b8063a217fddf1461086a578063a457c2d714610888578063a9059cbb146108ec578063ca15c87314610950576101e5565b806391d14854116100de57806391d148541461073757806395d89b411461079b5780639711715a1461081e578063981b24d014610828576101e5565b80636af1ccb51461060e57806370a082311461062f57806379cc6790146106875780639010d07c146106d5576101e5565b80632f2ff15d11610187578063395093511161015657806339509351146104cc57806340c10f191461053057806342966c681461057e5780634ee2cd7e146105ac576101e5565b80632f2ff15d146103f1578063313ce5671461043f578063355274ea1461046057806336568abe1461047e576101e5565b806318160ddd116101c357806318160ddd146102ef57806323b872dd1461030d578063248a9ca3146103915780632c7dbed6146103d3576101e5565b806306fdde03146101ea578063095ea7b31461026d5780630c8afe3a146102d1575b600080fd5b6101f2610a94565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610232578082015181840152602081019050610217565b50505050905090810190601f16801561025f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102b96004803603604081101561028357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610b36565b60405180821515815260200191505060405180910390f35b6102d9610b54565b6040518082815260200191505060405180910390f35b6102f7610b5e565b6040518082815260200191505060405180910390f35b6103796004803603606081101561032357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610b68565b60405180821515815260200191505060405180910390f35b6103bd600480360360208110156103a757600080fd5b8101908080359060200190929190505050610c41565b6040518082815260200191505060405180910390f35b6103db610c60565b6040518082815260200191505060405180910390f35b61043d6004803603604081101561040757600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610c68565b005b610447610cf1565b604051808260ff16815260200191505060405180910390f35b610468610d08565b6040518082815260200191505060405180910390f35b6104ca6004803603604081101561049457600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610d12565b005b610518600480360360408110156104e257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610dab565b60405180821515815260200191505060405180910390f35b61057c6004803603604081101561054657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610e5e565b005b6105aa6004803603602081101561059457600080fd5b8101908080359060200190929190505050610ef2565b005b6105f8600480360360408110156105c257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610f06565b6040518082815260200191505060405180910390f35b610616610f76565b604051808260ff16815260200191505060405180910390f35b6106716004803603602081101561064557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610f7b565b6040518082815260200191505060405180910390f35b6106d36004803603604081101561069d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610fc4565b005b61070b600480360360408110156106eb57600080fd5b810190808035906020019092919080359060200190929190505050611026565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6107836004803603604081101561074d57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611057565b60405180821515815260200191505060405180910390f35b6107a3611088565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156107e35780820151818401526020810190506107c8565b50505050905090810190601f1680156108105780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61082661112a565b005b6108546004803603602081101561083e57600080fd5b81019080803590602001909291905050506111bb565b6040518082815260200191505060405180910390f35b6108726111ec565b6040518082815260200191505060405180910390f35b6108d46004803603604081101561089e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506111f3565b60405180821515815260200191505060405180910390f35b6109386004803603604081101561090257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506112c0565b60405180821515815260200191505060405180910390f35b61097c6004803603602081101561096657600080fd5b81019080803590602001909291905050506112de565b6040518082815260200191505060405180910390f35b61099a611304565b6040518082815260200191505060405180910390f35b6109b8611328565b6040518082815260200191505060405180910390f35b610a1a600480360360408110156109e457600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061134c565b005b610a7e60048036036040811015610a3257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506113d5565b6040518082815260200191505060405180910390f35b606060048054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610b2c5780601f10610b0157610100808354040283529160200191610b2c565b820191906000526020600020905b815481529060010190602001808311610b0f57829003601f168201915b5050505050905090565b6000610b4a610b4361148c565b8484611494565b6001905092915050565b6305f5e100800281565b6000600354905090565b6000610b7584848461168b565b610c3684610b8161148c565b610c31856040518060600160405280602881526020016128f660289139600260008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610be761148c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461169b9092919063ffffffff16565b611494565b600190509392505050565b6000806000838152602001908152602001600020600201549050919050565b6305f5e10081565b610c8e60008084815260200190815260200160002060020154610c8961148c565b611057565b610ce3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f8152602001806127da602f913960400191505060405180910390fd5b610ced828261175b565b5050565b6000600660009054906101000a900460ff16905090565b6000600754905090565b610d1a61148c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d9d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f8152602001806129d1602f913960400191505060405180910390fd5b610da782826117ee565b5050565b6000610e54610db861148c565b84610e4f8560026000610dc961148c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461188190919063ffffffff16565b611494565b6001905092915050565b610e8f7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610e8a61148c565b611057565b610ee4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806128d16025913960400191505060405180910390fd5b610eee8282611909565b5050565b610f03610efd61148c565b82611917565b50565b6000806000610f5384600860008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611925565b9150915081610f6a57610f6585610f7b565b610f6c565b805b9250505092915050565b600881565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60006110038260405180606001604052806024815260200161291e60249139610ff486610fef61148c565b6113d5565b61169b9092919063ffffffff16565b90506110178361101161148c565b83611494565b6110218383611917565b505050565b600061104f82600080868152602001908152602001600020600001611a7c90919063ffffffff16565b905092915050565b600061108082600080868152602001908152602001600020600001611a9690919063ffffffff16565b905092915050565b606060058054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156111205780601f106110f557610100808354040283529160200191611120565b820191906000526020600020905b81548152906001019060200180831161110357829003601f168201915b5050505050905090565b61115b7f1aa1fd5f7b0f7c50bfda2b3788dca5be0ff1c53a5be56745dadbd234c0ff987c61115661148c565b611057565b6111b0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e815260200180612873602e913960400191505060405180910390fd5b6111b8611ac6565b50565b60008060006111cb846009611925565b91509150816111e1576111dc610b5e565b6111e3565b805b92505050919050565b6000801b81565b60006112b661120061148c565b846112b1856040518060600160405280602581526020016129ac602591396002600061122a61148c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461169b9092919063ffffffff16565b611494565b6001905092915050565b60006112d46112cd61148c565b848461168b565b6001905092915050565b60006112fd600080848152602001908152602001600020600001611b1e565b9050919050565b7f1aa1fd5f7b0f7c50bfda2b3788dca5be0ff1c53a5be56745dadbd234c0ff987c81565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6113726000808481526020019081526020016000206002015461136d61148c565b611057565b6113c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806128a16030913960400191505060405180910390fd5b6113d182826117ee565b5050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000611484836000018373ffffffffffffffffffffffffffffffffffffffff1660001b611b33565b905092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561151a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806129886024913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602281526020018061282b6022913960400191505060405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b611696838383611ba3565b505050565b6000838311158290611748576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561170d5780820151818401526020810190506116f2565b50505050905090810190601f16801561173a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b6117828160008085815260200190815260200160002060000161145c90919063ffffffff16565b156117ea5761178f61148c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b61181581600080858152602001908152602001600020600001611bc590919063ffffffff16565b1561187d5761182261148c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000808284019050838110156118ff576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6119138282611bf5565b5050565b6119218282611c14565b5050565b6000806000841161199e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f4552433230536e617073686f743a20696420697320300000000000000000000081525060200191505060405180910390fd5b6119a8600b611c33565b841115611a1d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f4552433230536e617073686f743a206e6f6e6578697374656e7420696400000081525060200191505060405180910390fd5b6000611a358585600001611c4190919063ffffffff16565b90508360000180549050811415611a53576000809250925050611a75565b6001846001018281548110611a6457fe5b906000526020600020015492509250505b9250929050565b6000611a8b8360000183611cf2565b60001c905092915050565b6000611abe836000018373ffffffffffffffffffffffffffffffffffffffff1660001b611d75565b905092915050565b6000611ad2600b611d98565b6000611ade600b611c33565b90507f8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb67816040518082815260200191505060405180910390a18091505090565b6000611b2c82600001611dae565b9050919050565b6000611b3f8383611d75565b611b98578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050611b9d565b600090505b92915050565b611bac83611dbf565b611bb582611dbf565b611bc0838383611e12565b505050565b6000611bed836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6120d7565b905092915050565b611bfe82611dbf565b611c066121bf565b611c1082826121d3565b5050565b611c1d82611dbf565b611c256121bf565b611c2f828261239c565b5050565b600081600001549050919050565b60008083805490501415611c585760009050611cec565b600080848054905090505b80821015611cac576000611c778383612562565b905084868281548110611c8657fe5b90600052602060002001541115611c9f57809150611ca6565b6001810192505b50611c63565b600082118015611cd4575083856001840381548110611cc757fe5b9060005260206000200154145b15611ce6576001820392505050611cec565b81925050505b92915050565b600081836000018054905011611d53576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806127956022913960400191505060405180910390fd5b826000018281548110611d6257fe5b9060005260206000200154905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b6001816000016000828254019250508190555050565b600081600001805490509050919050565b611e0f600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611e0a83610f7b565b6125a4565b50565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611e98576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806129636025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f1e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806127b76023913960400191505060405180910390fd5b611f29838383612621565b611f958160405180606001604052806026815260200161284d60269139600160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461169b9092919063ffffffff16565b600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061202a81600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461188190919063ffffffff16565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b600080836001016000848152602001908152602001600020549050600081146121b3576000600182039050600060018660000180549050039050600086600001828154811061212257fe5b906000526020600020015490508087600001848154811061213f57fe5b906000526020600020018190555060018301876001016000838152602001908152602001600020819055508660000180548061217757fe5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506121b9565b60009150505b92915050565b6121d160096121cc610b5e565b6125a4565b565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612276576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45524332303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b61228260008383612621565b6122978160035461188190919063ffffffff16565b6003819055506122ef81600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461188190919063ffffffff16565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612422576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806129426021913960400191505060405180910390fd5b61242e82600083612621565b61249a8160405180606001604052806022815260200161280960229139600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461169b9092919063ffffffff16565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506124f28160035461263190919063ffffffff16565b600381905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b6000600280838161256f57fe5b066002858161257a57fe5b06018161258357fe5b046002838161258e57fe5b046002858161259957fe5b040101905092915050565b60006125b0600b611c33565b9050806125bf8460000161267b565b101561261c5782600001819080600181540180825580915050600190039060005260206000200160009091909190915055826001018290806001815401808255809150506001900390600052602060002001600090919091909150555b505050565b61262c8383836126b8565b505050565b600061267383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061169b565b905092915050565b6000808280549050141561269257600090506126b3565b816001838054905003815481106126a557fe5b906000526020600020015490505b919050565b6126c383838361278f565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561278a5760075461271582612707610b5e565b61188190919063ffffffff16565b1115612789576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f45524332304361707065643a206361702065786365656465640000000000000081525060200191505060405180910390fd5b5b505050565b50505056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e647345524332303a207472616e7366657220746f20746865207a65726f2061646472657373416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e7445524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654b6e73546f6b656e3a20736e617073686f74282920726571756972657320534e415053484f545445525f524f4c45416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b654b6e73546f6b656e3a206d696e742829207265717569726573204d494e5445525f524f4c4545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a26469706673582212208dc4ad6ca72df4531ab7ffe0d4bb0237fdcf4ef1fdd4f93c9e9de7b81d006ee364736f6c634300060c0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064b6f696e6f73000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044b4f494e00000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101e55760003560e01c80636af1ccb51161010f578063a217fddf116100a2578063cb2db43711610071578063cb2db43714610992578063d5391393146109b0578063d547741f146109ce578063dd62ed3e14610a1c576101e5565b8063a217fddf1461086a578063a457c2d714610888578063a9059cbb146108ec578063ca15c87314610950576101e5565b806391d14854116100de57806391d148541461073757806395d89b411461079b5780639711715a1461081e578063981b24d014610828576101e5565b80636af1ccb51461060e57806370a082311461062f57806379cc6790146106875780639010d07c146106d5576101e5565b80632f2ff15d11610187578063395093511161015657806339509351146104cc57806340c10f191461053057806342966c681461057e5780634ee2cd7e146105ac576101e5565b80632f2ff15d146103f1578063313ce5671461043f578063355274ea1461046057806336568abe1461047e576101e5565b806318160ddd116101c357806318160ddd146102ef57806323b872dd1461030d578063248a9ca3146103915780632c7dbed6146103d3576101e5565b806306fdde03146101ea578063095ea7b31461026d5780630c8afe3a146102d1575b600080fd5b6101f2610a94565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610232578082015181840152602081019050610217565b50505050905090810190601f16801561025f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102b96004803603604081101561028357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610b36565b60405180821515815260200191505060405180910390f35b6102d9610b54565b6040518082815260200191505060405180910390f35b6102f7610b5e565b6040518082815260200191505060405180910390f35b6103796004803603606081101561032357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610b68565b60405180821515815260200191505060405180910390f35b6103bd600480360360208110156103a757600080fd5b8101908080359060200190929190505050610c41565b6040518082815260200191505060405180910390f35b6103db610c60565b6040518082815260200191505060405180910390f35b61043d6004803603604081101561040757600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610c68565b005b610447610cf1565b604051808260ff16815260200191505060405180910390f35b610468610d08565b6040518082815260200191505060405180910390f35b6104ca6004803603604081101561049457600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610d12565b005b610518600480360360408110156104e257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610dab565b60405180821515815260200191505060405180910390f35b61057c6004803603604081101561054657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610e5e565b005b6105aa6004803603602081101561059457600080fd5b8101908080359060200190929190505050610ef2565b005b6105f8600480360360408110156105c257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610f06565b6040518082815260200191505060405180910390f35b610616610f76565b604051808260ff16815260200191505060405180910390f35b6106716004803603602081101561064557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610f7b565b6040518082815260200191505060405180910390f35b6106d36004803603604081101561069d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610fc4565b005b61070b600480360360408110156106eb57600080fd5b810190808035906020019092919080359060200190929190505050611026565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6107836004803603604081101561074d57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611057565b60405180821515815260200191505060405180910390f35b6107a3611088565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156107e35780820151818401526020810190506107c8565b50505050905090810190601f1680156108105780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61082661112a565b005b6108546004803603602081101561083e57600080fd5b81019080803590602001909291905050506111bb565b6040518082815260200191505060405180910390f35b6108726111ec565b6040518082815260200191505060405180910390f35b6108d46004803603604081101561089e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506111f3565b60405180821515815260200191505060405180910390f35b6109386004803603604081101561090257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506112c0565b60405180821515815260200191505060405180910390f35b61097c6004803603602081101561096657600080fd5b81019080803590602001909291905050506112de565b6040518082815260200191505060405180910390f35b61099a611304565b6040518082815260200191505060405180910390f35b6109b8611328565b6040518082815260200191505060405180910390f35b610a1a600480360360408110156109e457600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061134c565b005b610a7e60048036036040811015610a3257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506113d5565b6040518082815260200191505060405180910390f35b606060048054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610b2c5780601f10610b0157610100808354040283529160200191610b2c565b820191906000526020600020905b815481529060010190602001808311610b0f57829003601f168201915b5050505050905090565b6000610b4a610b4361148c565b8484611494565b6001905092915050565b6305f5e100800281565b6000600354905090565b6000610b7584848461168b565b610c3684610b8161148c565b610c31856040518060600160405280602881526020016128f660289139600260008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610be761148c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461169b9092919063ffffffff16565b611494565b600190509392505050565b6000806000838152602001908152602001600020600201549050919050565b6305f5e10081565b610c8e60008084815260200190815260200160002060020154610c8961148c565b611057565b610ce3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f8152602001806127da602f913960400191505060405180910390fd5b610ced828261175b565b5050565b6000600660009054906101000a900460ff16905090565b6000600754905090565b610d1a61148c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d9d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f8152602001806129d1602f913960400191505060405180910390fd5b610da782826117ee565b5050565b6000610e54610db861148c565b84610e4f8560026000610dc961148c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461188190919063ffffffff16565b611494565b6001905092915050565b610e8f7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610e8a61148c565b611057565b610ee4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806128d16025913960400191505060405180910390fd5b610eee8282611909565b5050565b610f03610efd61148c565b82611917565b50565b6000806000610f5384600860008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611925565b9150915081610f6a57610f6585610f7b565b610f6c565b805b9250505092915050565b600881565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60006110038260405180606001604052806024815260200161291e60249139610ff486610fef61148c565b6113d5565b61169b9092919063ffffffff16565b90506110178361101161148c565b83611494565b6110218383611917565b505050565b600061104f82600080868152602001908152602001600020600001611a7c90919063ffffffff16565b905092915050565b600061108082600080868152602001908152602001600020600001611a9690919063ffffffff16565b905092915050565b606060058054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156111205780601f106110f557610100808354040283529160200191611120565b820191906000526020600020905b81548152906001019060200180831161110357829003601f168201915b5050505050905090565b61115b7f1aa1fd5f7b0f7c50bfda2b3788dca5be0ff1c53a5be56745dadbd234c0ff987c61115661148c565b611057565b6111b0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e815260200180612873602e913960400191505060405180910390fd5b6111b8611ac6565b50565b60008060006111cb846009611925565b91509150816111e1576111dc610b5e565b6111e3565b805b92505050919050565b6000801b81565b60006112b661120061148c565b846112b1856040518060600160405280602581526020016129ac602591396002600061122a61148c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461169b9092919063ffffffff16565b611494565b6001905092915050565b60006112d46112cd61148c565b848461168b565b6001905092915050565b60006112fd600080848152602001908152602001600020600001611b1e565b9050919050565b7f1aa1fd5f7b0f7c50bfda2b3788dca5be0ff1c53a5be56745dadbd234c0ff987c81565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6113726000808481526020019081526020016000206002015461136d61148c565b611057565b6113c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806128a16030913960400191505060405180910390fd5b6113d182826117ee565b5050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000611484836000018373ffffffffffffffffffffffffffffffffffffffff1660001b611b33565b905092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561151a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806129886024913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602281526020018061282b6022913960400191505060405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b611696838383611ba3565b505050565b6000838311158290611748576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561170d5780820151818401526020810190506116f2565b50505050905090810190601f16801561173a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b6117828160008085815260200190815260200160002060000161145c90919063ffffffff16565b156117ea5761178f61148c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b61181581600080858152602001908152602001600020600001611bc590919063ffffffff16565b1561187d5761182261148c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000808284019050838110156118ff576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6119138282611bf5565b5050565b6119218282611c14565b5050565b6000806000841161199e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f4552433230536e617073686f743a20696420697320300000000000000000000081525060200191505060405180910390fd5b6119a8600b611c33565b841115611a1d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f4552433230536e617073686f743a206e6f6e6578697374656e7420696400000081525060200191505060405180910390fd5b6000611a358585600001611c4190919063ffffffff16565b90508360000180549050811415611a53576000809250925050611a75565b6001846001018281548110611a6457fe5b906000526020600020015492509250505b9250929050565b6000611a8b8360000183611cf2565b60001c905092915050565b6000611abe836000018373ffffffffffffffffffffffffffffffffffffffff1660001b611d75565b905092915050565b6000611ad2600b611d98565b6000611ade600b611c33565b90507f8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb67816040518082815260200191505060405180910390a18091505090565b6000611b2c82600001611dae565b9050919050565b6000611b3f8383611d75565b611b98578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050611b9d565b600090505b92915050565b611bac83611dbf565b611bb582611dbf565b611bc0838383611e12565b505050565b6000611bed836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6120d7565b905092915050565b611bfe82611dbf565b611c066121bf565b611c1082826121d3565b5050565b611c1d82611dbf565b611c256121bf565b611c2f828261239c565b5050565b600081600001549050919050565b60008083805490501415611c585760009050611cec565b600080848054905090505b80821015611cac576000611c778383612562565b905084868281548110611c8657fe5b90600052602060002001541115611c9f57809150611ca6565b6001810192505b50611c63565b600082118015611cd4575083856001840381548110611cc757fe5b9060005260206000200154145b15611ce6576001820392505050611cec565b81925050505b92915050565b600081836000018054905011611d53576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806127956022913960400191505060405180910390fd5b826000018281548110611d6257fe5b9060005260206000200154905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b6001816000016000828254019250508190555050565b600081600001805490509050919050565b611e0f600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611e0a83610f7b565b6125a4565b50565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611e98576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806129636025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f1e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806127b76023913960400191505060405180910390fd5b611f29838383612621565b611f958160405180606001604052806026815260200161284d60269139600160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461169b9092919063ffffffff16565b600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061202a81600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461188190919063ffffffff16565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b600080836001016000848152602001908152602001600020549050600081146121b3576000600182039050600060018660000180549050039050600086600001828154811061212257fe5b906000526020600020015490508087600001848154811061213f57fe5b906000526020600020018190555060018301876001016000838152602001908152602001600020819055508660000180548061217757fe5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506121b9565b60009150505b92915050565b6121d160096121cc610b5e565b6125a4565b565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612276576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45524332303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b61228260008383612621565b6122978160035461188190919063ffffffff16565b6003819055506122ef81600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461188190919063ffffffff16565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612422576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806129426021913960400191505060405180910390fd5b61242e82600083612621565b61249a8160405180606001604052806022815260200161280960229139600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461169b9092919063ffffffff16565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506124f28160035461263190919063ffffffff16565b600381905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b6000600280838161256f57fe5b066002858161257a57fe5b06018161258357fe5b046002838161258e57fe5b046002858161259957fe5b040101905092915050565b60006125b0600b611c33565b9050806125bf8460000161267b565b101561261c5782600001819080600181540180825580915050600190039060005260206000200160009091909190915055826001018290806001815401808255809150506001900390600052602060002001600090919091909150555b505050565b61262c8383836126b8565b505050565b600061267383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061169b565b905092915050565b6000808280549050141561269257600090506126b3565b816001838054905003815481106126a557fe5b906000526020600020015490505b919050565b6126c383838361278f565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561278a5760075461271582612707610b5e565b61188190919063ffffffff16565b1115612789576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f45524332304361707065643a206361702065786365656465640000000000000081525060200191505060405180910390fd5b5b505050565b50505056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e647345524332303a207472616e7366657220746f20746865207a65726f2061646472657373416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e7445524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654b6e73546f6b656e3a20736e617073686f74282920726571756972657320534e415053484f545445525f524f4c45416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b654b6e73546f6b656e3a206d696e742829207265717569726573204d494e5445525f524f4c4545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a26469706673582212208dc4ad6ca72df4531ab7ffe0d4bb0237fdcf4ef1fdd4f93c9e9de7b81d006ee364736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064b6f696e6f73000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044b4f494e00000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): Koinos
Arg [1] : symbol (string): KOIN
Arg [2] : minter (address): 0x0000000000000000000000000000000000000000
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [4] : 4b6f696e6f730000000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [6] : 4b4f494e00000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
56752:2154:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33246:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35352:169;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;57115:57;;;:::i;:::-;;;;;;;;;;;;;;;;;;;34321:100;;;:::i;:::-;;;;;;;;;;;;;;;;;;;35995:321;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;19651:114;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;57022:43;;;:::i;:::-;;;;;;;;;;;;;;;;;;;20027:227;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;34173:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;42650:75;;;:::i;:::-;;;;;;;;;;;;;;;;;;;21236:209;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;36725:218;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;57697:179;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;43715:91;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;52618:258;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;57071:38;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;34484:119;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;44125:295;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;19324:138;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;18285:139;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;33448:87;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58090:165;;;:::i;:::-;;52980:225;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;17030:49;;;:::i;:::-;;;;;;;;;;;;;;;;;;;37446:269;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;34816:175;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;18598:127;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;56944:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;56876:62;;;:::i;:::-;;;;;;;;;;;;;;;;;;;20499:230;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;35054:151;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;33246:83;33283:13;33316:5;33309:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33246:83;:::o;35352:169::-;35435:4;35452:39;35461:12;:10;:12::i;:::-;35475:7;35484:6;35452:8;:39::i;:::-;35509:4;35502:11;;35352:169;;;;:::o;57115:57::-;57056:9;57149:13;:23;57115:57;:::o;34321:100::-;34374:7;34401:12;;34394:19;;34321:100;:::o;35995:321::-;36101:4;36118:36;36128:6;36136:9;36147:6;36118:9;:36::i;:::-;36165:121;36174:6;36182:12;:10;:12::i;:::-;36196:89;36234:6;36196:89;;;;;;;;;;;;;;;;;:11;:19;36208:6;36196:19;;;;;;;;;;;;;;;:33;36216:12;:10;:12::i;:::-;36196:33;;;;;;;;;;;;;;;;:37;;:89;;;;;:::i;:::-;36165:8;:121::i;:::-;36304:4;36297:11;;35995:321;;;;;:::o;19651:114::-;19708:7;19735:6;:12;19742:4;19735:12;;;;;;;;;;;:22;;;19728:29;;19651:114;;;:::o;57022:43::-;57056:9;57022:43;:::o;20027:227::-;20111:45;20119:6;:12;20126:4;20119:12;;;;;;;;;;;:22;;;20143:12;:10;:12::i;:::-;20111:7;:45::i;:::-;20103:105;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20221:25;20232:4;20238:7;20221:10;:25::i;:::-;20027:227;;:::o;34173:83::-;34214:5;34239:9;;;;;;;;;;;34232:16;;34173:83;:::o;42650:75::-;42686:7;42713:4;;42706:11;;42650:75;:::o;21236:209::-;21334:12;:10;:12::i;:::-;21323:23;;:7;:23;;;21315:83;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21411:26;21423:4;21429:7;21411:11;:26::i;:::-;21236:209;;:::o;36725:218::-;36813:4;36830:83;36839:12;:10;:12::i;:::-;36853:7;36862:50;36901:10;36862:11;:25;36874:12;:10;:12::i;:::-;36862:25;;;;;;;;;;;;;;;:34;36888:7;36862:34;;;;;;;;;;;;;;;;:38;;:50;;;;:::i;:::-;36830:8;:83::i;:::-;36931:4;36924:11;;36725:218;;;;:::o;57697:179::-;57767:34;56914:24;57788:12;:10;:12::i;:::-;57767:7;:34::i;:::-;57759:84;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57852:17;57858:2;57862:6;57852:5;:17::i;:::-;57697:179;;:::o;43715:91::-;43771:27;43777:12;:10;:12::i;:::-;43791:6;43771:5;:27::i;:::-;43715:91;:::o;52618:258::-;52697:7;52718:16;52736:13;52753:55;52762:10;52774:24;:33;52799:7;52774:33;;;;;;;;;;;;;;;52753:8;:55::i;:::-;52717:91;;;;52828:11;:40;;52850:18;52860:7;52850:9;:18::i;:::-;52828:40;;;52842:5;52828:40;52821:47;;;;52618:258;;;;:::o;57071:38::-;57108:1;57071:38;:::o;34484:119::-;34550:7;34577:9;:18;34587:7;34577:18;;;;;;;;;;;;;;;;34570:25;;34484:119;;;:::o;44125:295::-;44202:26;44231:84;44268:6;44231:84;;;;;;;;;;;;;;;;;:32;44241:7;44250:12;:10;:12::i;:::-;44231:9;:32::i;:::-;:36;;:84;;;;;:::i;:::-;44202:113;;44328:51;44337:7;44346:12;:10;:12::i;:::-;44360:18;44328:8;:51::i;:::-;44390:22;44396:7;44405:6;44390:5;:22::i;:::-;44125:295;;;:::o;19324:138::-;19397:7;19424:30;19448:5;19424:6;:12;19431:4;19424:12;;;;;;;;;;;:20;;:23;;:30;;;;:::i;:::-;19417:37;;19324:138;;;;:::o;18285:139::-;18354:4;18378:38;18408:7;18378:6;:12;18385:4;18378:12;;;;;;;;;;;:20;;:29;;:38;;;;:::i;:::-;18371:45;;18285:139;;;;:::o;33448:87::-;33487:13;33520:7;33513:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33448:87;:::o;58090:165::-;58138:39;56987:29;58164:12;:10;:12::i;:::-;58138:7;:39::i;:::-;58130:98;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58237:11;:9;:11::i;:::-;;58090:165::o;52980:225::-;53043:7;53064:16;53082:13;53099:43;53108:10;53120:21;53099:8;:43::i;:::-;53063:79;;;;53162:11;:35;;53184:13;:11;:13::i;:::-;53162:35;;;53176:5;53162:35;53155:42;;;;52980:225;;;:::o;17030:49::-;17075:4;17030:49;;;:::o;37446:269::-;37539:4;37556:129;37565:12;:10;:12::i;:::-;37579:7;37588:96;37627:15;37588:96;;;;;;;;;;;;;;;;;:11;:25;37600:12;:10;:12::i;:::-;37588:25;;;;;;;;;;;;;;;:34;37614:7;37588:34;;;;;;;;;;;;;;;;:38;;:96;;;;;:::i;:::-;37556:8;:129::i;:::-;37703:4;37696:11;;37446:269;;;;:::o;34816:175::-;34902:4;34919:42;34929:12;:10;:12::i;:::-;34943:9;34954:6;34919:9;:42::i;:::-;34979:4;34972:11;;34816:175;;;;:::o;18598:127::-;18661:7;18688:29;:6;:12;18695:4;18688:12;;;;;;;;;;;:20;;:27;:29::i;:::-;18681:36;;18598:127;;;:::o;56944:72::-;56987:29;56944:72;:::o;56876:62::-;56914:24;56876:62;:::o;20499:230::-;20584:45;20592:6;:12;20599:4;20592:12;;;;;;;;;;;:22;;;20616:12;:10;:12::i;:::-;20584:7;:45::i;:::-;20576:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20695:26;20707:4;20713:7;20695:11;:26::i;:::-;20499:230;;:::o;35054:151::-;35143:7;35170:11;:18;35182:5;35170:18;;;;;;;;;;;;;;;:27;35189:7;35170:27;;;;;;;;;;;;;;;;35163:34;;35054:151;;;;:::o;5091:143::-;5161:4;5185:41;5190:3;:10;;5218:5;5210:14;;5202:23;;5185:4;:41::i;:::-;5178:48;;5091:143;;;;:::o;14975:106::-;15028:15;15063:10;15056:17;;14975:106;:::o;40593:346::-;40712:1;40695:19;;:5;:19;;;;40687:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40793:1;40774:21;;:7;:21;;;;40766:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40877:6;40847:11;:18;40859:5;40847:18;;;;;;;;;;;;;;;:27;40866:7;40847:27;;;;;;;;;;;;;;;:36;;;;40915:7;40899:32;;40908:5;40899:32;;;40924:6;40899:32;;;;;;;;;;;;;;;;;;40593:346;;;:::o;58730:173::-;58854:42;58870:6;58878:9;58889:6;58854:15;:42::i;:::-;58730:173;;;:::o;27501:192::-;27587:7;27620:1;27615;:6;;27623:12;27607:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27647:9;27663:1;27659;:5;27647:17;;27684:1;27677:8;;;27501:192;;;;;:::o;22479:188::-;22553:33;22578:7;22553:6;:12;22560:4;22553:12;;;;;;;;;;;:20;;:24;;:33;;;;:::i;:::-;22549:111;;;22635:12;:10;:12::i;:::-;22608:40;;22626:7;22608:40;;22620:4;22608:40;;;;;;;;;;22549:111;22479:188;;:::o;22675:192::-;22750:36;22778:7;22750:6;:12;22757:4;22750:12;;;;;;;;;;;:20;;:27;;:36;;;;:::i;:::-;22746:114;;;22835:12;:10;:12::i;:::-;22808:40;;22826:7;22808:40;;22820:4;22808:40;;;;;;;;;;22746:114;22675:192;;:::o;26598:181::-;26656:7;26676:9;26692:1;26688;:5;26676:17;;26717:1;26712;:6;;26704:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26770:1;26763:8;;;26598:181;;;;:::o;58586:137::-;58688:28;58700:7;58709:6;58688:11;:28::i;:::-;58586:137;;:::o;58444:135::-;58545:27;58557:7;58566:5;58545:11;:27::i;:::-;58444:135;;:::o;54156:1692::-;54254:4;54260:7;54306:1;54293:10;:14;54285:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54421:28;:18;:26;:28::i;:::-;54407:10;:42;;54399:84;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55622:13;55638:40;55667:10;55638:9;:13;;:28;;:40;;;;:::i;:::-;55622:56;;55704:9;:13;;:20;;;;55695:5;:29;55691:150;;;55749:5;55756:1;55741:17;;;;;;;55691:150;55799:4;55805:9;:16;;55822:5;55805:23;;;;;;;;;;;;;;;;55791:38;;;;;54156:1692;;;;;;:::o;6350:149::-;6424:7;6467:22;6471:3;:10;;6483:5;6467:3;:22::i;:::-;6459:31;;6444:47;;6350:149;;;;:::o;5645:158::-;5725:4;5749:46;5759:3;:10;;5787:5;5779:14;;5771:23;;5749:9;:46::i;:::-;5742:53;;5645:158;;;;:::o;52278:228::-;52325:7;52345:30;:18;:28;:30::i;:::-;52388:17;52408:28;:18;:26;:28::i;:::-;52388:48;;52452:19;52461:9;52452:19;;;;;;;;;;;;;;;;;;52489:9;52482:16;;;52278:228;:::o;5889:117::-;5952:7;5979:19;5987:3;:10;;5979:7;:19::i;:::-;5972:26;;5889:117;;;:::o;1745:414::-;1808:4;1830:21;1840:3;1845:5;1830:9;:21::i;:::-;1825:327;;1868:3;:11;;1885:5;1868:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2051:3;:11;;:18;;;;2029:3;:12;;:19;2042:5;2029:19;;;;;;;;;;;:40;;;;2091:4;2084:11;;;;1825:327;2135:5;2128:12;;1745:414;;;;;:::o;53513:215::-;53610:28;53633:4;53610:22;:28::i;:::-;53649:26;53672:2;53649:22;:26::i;:::-;53688:32;53704:4;53710:2;53714:5;53688:15;:32::i;:::-;53513:215;;;:::o;5410:149::-;5483:4;5507:44;5515:3;:10;;5543:5;5535:14;;5527:23;;5507:7;:44::i;:::-;5500:51;;5410:149;;;;:::o;53736:202::-;53820:31;53843:7;53820:22;:31::i;:::-;53862:28;:26;:28::i;:::-;53903:27;53915:7;53924:5;53903:11;:27::i;:::-;53736:202;;:::o;53946:::-;54030:31;54053:7;54030:22;:31::i;:::-;54072:28;:26;:28::i;:::-;54113:27;54125:7;54134:5;54113:11;:27::i;:::-;53946:202;;:::o;47911:114::-;47976:7;48003;:14;;;47996:21;;47911:114;;;:::o;45871:918::-;45960:7;46000:1;45984:5;:12;;;;:17;45980:58;;;46025:1;46018:8;;;;45980:58;46050:11;46076:12;46091:5;:12;;;;46076:27;;46116:424;46129:4;46123:3;:10;46116:424;;;46150:11;46164:23;46177:3;46182:4;46164:12;:23::i;:::-;46150:37;;46421:7;46408:5;46414:3;46408:10;;;;;;;;;;;;;;;;:20;46404:125;;;46456:3;46449:10;;46404:125;;;46512:1;46506:3;:7;46500:13;;46404:125;46116:424;;;;46666:1;46660:3;:7;:36;;;;;46689:7;46671:5;46683:1;46677:3;:7;46671:14;;;;;;;;;;;;;;;;:25;46660:36;46656:126;;;46726:1;46720:3;:7;46713:14;;;;;;46656:126;46767:3;46760:10;;;;45871:918;;;;;:::o;4633:204::-;4700:7;4749:5;4728:3;:11;;:18;;;;:26;4720:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4811:3;:11;;4823:5;4811:18;;;;;;;;;;;;;;;;4804:25;;4633:204;;;;:::o;3965:129::-;4038:4;4085:1;4062:3;:12;;:19;4075:5;4062:19;;;;;;;;;;;;:24;;4055:31;;3965:129;;;;:::o;48033:181::-;48205:1;48187:7;:14;;;:19;;;;;;;;;;;48033:181;:::o;4180:109::-;4236:7;4263:3;:11;;:18;;;;4256:25;;4180:109;;;:::o;55856:146::-;55924:70;55940:24;:33;55965:7;55940:33;;;;;;;;;;;;;;;55975:18;55985:7;55975:9;:18::i;:::-;55924:15;:70::i;:::-;55856:146;:::o;38205:539::-;38329:1;38311:20;;:6;:20;;;;38303:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38413:1;38392:23;;:9;:23;;;;38384:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38468:47;38489:6;38497:9;38508:6;38468:20;:47::i;:::-;38548:71;38570:6;38548:71;;;;;;;;;;;;;;;;;:9;:17;38558:6;38548:17;;;;;;;;;;;;;;;;:21;;:71;;;;;:::i;:::-;38528:9;:17;38538:6;38528:17;;;;;;;;;;;;;;;:91;;;;38653:32;38678:6;38653:9;:20;38663:9;38653:20;;;;;;;;;;;;;;;;:24;;:32;;;;:::i;:::-;38630:9;:20;38640:9;38630:20;;;;;;;;;;;;;;;:55;;;;38718:9;38701:35;;38710:6;38701:35;;;38729:6;38701:35;;;;;;;;;;;;;;;;;;38205:539;;;:::o;2335:1544::-;2401:4;2519:18;2540:3;:12;;:19;2553:5;2540:19;;;;;;;;;;;;2519:40;;2590:1;2576:10;:15;2572:1300;;2938:21;2975:1;2962:10;:14;2938:38;;2991:17;3032:1;3011:3;:11;;:18;;;;:22;2991:42;;3278:17;3298:3;:11;;3310:9;3298:22;;;;;;;;;;;;;;;;3278:42;;3444:9;3415:3;:11;;3427:13;3415:26;;;;;;;;;;;;;;;:38;;;;3563:1;3547:13;:17;3521:3;:12;;:23;3534:9;3521:23;;;;;;;;;;;:43;;;;3673:3;:11;;:17;;;;;;;;;;;;;;;;;;;;;;;;3768:3;:12;;:19;3781:5;3768:19;;;;;;;;;;;3761:26;;;3811:4;3804:11;;;;;;;;2572:1300;3855:5;3848:12;;;2335:1544;;;;;:::o;56010:118::-;56067:53;56083:21;56106:13;:11;:13::i;:::-;56067:15;:53::i;:::-;56010:118::o;39025:378::-;39128:1;39109:21;;:7;:21;;;;39101:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39179:49;39208:1;39212:7;39221:6;39179:20;:49::i;:::-;39256:24;39273:6;39256:12;;:16;;:24;;;;:::i;:::-;39241:12;:39;;;;39312:30;39335:6;39312:9;:18;39322:7;39312:18;;;;;;;;;;;;;;;;:22;;:30;;;;:::i;:::-;39291:9;:18;39301:7;39291:18;;;;;;;;;;;;;;;:51;;;;39379:7;39358:37;;39375:1;39358:37;;;39388:6;39358:37;;;;;;;;;;;;;;;;;;39025:378;;:::o;39735:418::-;39838:1;39819:21;;:7;:21;;;;39811:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39891:49;39912:7;39929:1;39933:6;39891:20;:49::i;:::-;39974:68;39997:6;39974:68;;;;;;;;;;;;;;;;;:9;:18;39984:7;39974:18;;;;;;;;;;;;;;;;:22;;:68;;;;;:::i;:::-;39953:9;:18;39963:7;39953:18;;;;;;;;;;;;;;;:89;;;;40068:24;40085:6;40068:12;;:16;;:24;;;;:::i;:::-;40053:12;:39;;;;40134:1;40108:37;;40117:7;40108:37;;;40138:6;40108:37;;;;;;;;;;;;;;;;;;39735:418;;:::o;45078:193::-;45140:7;45261:1;45256;45252;:5;;;;;;45248:1;45244;:5;;;;;;:13;45243:19;;;;;;45237:1;45233;:5;;;;;;45227:1;45223;:5;;;;;;45222:17;:41;45215:48;;45078:193;;;;:::o;56136:315::-;56231:17;56251:28;:18;:26;:28::i;:::-;56231:48;;56327:9;56294:30;56310:9;:13;;56294:15;:30::i;:::-;:42;56290:154;;;56353:9;:13;;56372:9;56353:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56397:9;:16;;56419:12;56397:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56290:154;56136:315;;;:::o;58262:175::-;58386:44;58413:4;58419:2;58423:6;58386:26;:44::i;:::-;58262:175;;;:::o;27062:136::-;27120:7;27147:43;27151:1;27154;27147:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;27140:50;;27062:136;;;;:::o;56459:212::-;56529:7;56567:1;56553:3;:10;;;;:15;56549:115;;;56592:1;56585:8;;;;56549:115;56633:3;56650:1;56637:3;:10;;;;:14;56633:19;;;;;;;;;;;;;;;;56626:26;;56459:212;;;;:::o;42912:318::-;43021:44;43048:4;43054:2;43058:6;43021:26;:44::i;:::-;43098:1;43082:18;;:4;:18;;;43078:145;;;43177:4;;43148:25;43166:6;43148:13;:11;:13::i;:::-;:17;;:25;;;;:::i;:::-;:33;;43140:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43078:145;42912:318;;;:::o;41964:92::-;;;;:::o
Swarm Source
ipfs://8dc4ad6ca72df4531ab7ffe0d4bb0237fdcf4ef1fdd4f93c9e9de7b81d006ee3
Loading...
Loading
Loading...
Loading
OVERVIEW
Koinos is a new blockchain technology designed from the ground up to give developers the tools they need to deliver amazing user experiences through unrivaled upgradeability and scalability.Multichain Portfolio | 30 Chains
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.