Private ERC20
Usage
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;
import "@coti-io/coti-contracts/contracts/token/PrivateERC20/PrivateERC20.sol";
contract MyToken is PrivateERC20 {
constructor() PrivateERC20("Private Token", "PTOK") {}
}Functions
constructor(string memory name_, string memory symbol_)function name() view returns (string memory)function symbol() view returns (string memory)function decimals() view returns (uint8)function totalSupply() view returns (uint256)function accountEncryptionAddress(address account) view returns (address)Errors
Last updated
Was this helpful?