Skip to content

Instantly share code, notes, and snippets.

View SyedImam1998's full-sized avatar
💭
GO BEYONG

Syed Imam SyedImam1998

💭
GO BEYONG
View GitHub Profile
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
// 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`.
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',