Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maticnetwork/testnet-token-contracts
https://github.com/maticnetwork/testnet-token-contracts
erc20 maticnetwork
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/maticnetwork/testnet-token-contracts
- Owner: maticnetwork
- Created: 2019-01-25T11:42:07.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T04:06:23.000Z (almost 2 years ago)
- Last Synced: 2023-02-28T13:16:52.845Z (almost 2 years ago)
- Topics: erc20, maticnetwork
- Language: Solidity
- Size: 1010 KB
- Stars: 9
- Watchers: 13
- Forks: 11
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Matic (MATIC) testnet token contracts
Details:
Name: Testnet Matic
Symbol: MATIC
Decimals: 18
Total Supply: 10,000,000,000The contracts are created with the OpenZeppelin library v2.0. The token is a standard ERC20 token implementing the IERC20 interface.
```
/**
* @title ERC20 interface
* @dev see https://github.com/ethereum/EIPs/issues/20
*/
interface IERC20 {
function totalSupply() external view returns (uint256);function balanceOf(address who) external view returns (uint256);
function allowance(address owner, address spender) external view returns (uint256);
function transfer(address to, uint256 value) external returns (bool);
function approve(address spender, uint256 value) external returns (bool);
function transferFrom(address from, address to, uint256 value) external returns (bool);
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(address indexed owner, address indexed spender, uint256 value);
}
```