This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Keyword | RGB hex value | Specification | |
---|---|---|---|
black | #000000 | CSS Level 1 | |
silver | #c0c0c0 | CSS Level 1 | |
gray | #808080 | CSS Level 1 | |
white | #ffffff | CSS Level 1 | |
maroon | #800000 | CSS Level 1 | |
red | #ff0000 | CSS Level 1 | |
purple | #800080 | CSS Level 1 | |
fuchsia | #ff00ff | CSS Level 1 | |
green | #008000 | CSS Level 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: AGPL-3.0-only | |
pragma solidity ^0.8.0; | |
/** | |
* @title Provides addresses of the live contracts implementing certain interfaces. | |
* @dev Examples are the Oracle or Store interfaces. | |
*/ | |
interface FinderInterface { | |
/** | |
* @notice Updates the address of the contract that implements `interfaceName`. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const erc20Abi= [ | |
'function transfer(address to, uint256 amount)', | |
'function balanceOf(address owner) view returns (uint256)', | |
'function decimals() view returns (uint8)', | |
'function symbol() view returns (string)', | |
'function name() view returns (string)', | |
] | |
const provider = new ethers.providers.AlchemyProvider( | |
'goerli', |