Skip to content

Commit

Permalink
Merge branch 'master' into add-GRG-token
Browse files Browse the repository at this point in the history
  • Loading branch information
MRabenda authored Sep 12, 2023
2 parents 36862c6 + c66dcd3 commit 4cda75c
Show file tree
Hide file tree
Showing 664 changed files with 7,323 additions and 3,981 deletions.
40 changes: 0 additions & 40 deletions .circleci/config.yml

This file was deleted.

9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* text=auto

yarn.lock linguist-generated=false
4 changes: 4 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Lines starting with '#' are comments.
# Each line is a file pattern followed by one or more owners.

* @MRabenda @MetaMask/engineering
43 changes: 43 additions & 0 deletions .github/workflows/create-release-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Create Release Pull Request

on:
workflow_dispatch:
inputs:
base-branch:
description: 'The base branch for git operations and the pull request.'
default: 'master'
required: true
release-type:
description: 'A SemVer version diff, i.e. major, minor, patch, prerelease etc. Mutually exclusive with "release-version".'
required: false
release-version:
description: 'A specific version to bump to. Mutually exclusive with "release-type".'
required: false

jobs:
create-release-pr:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v2
with:
# This is to guarantee that the most recent tag is fetched.
# This can be configured to a more reasonable value by consumers.
fetch-depth: 0
# We check out the specified branch, which will be used as the base
# branch for all git operations and the release PR.
ref: ${{ github.event.inputs.base-branch }}
- name: Get Node.js version
id: nvm
run: echo ::set-output name=NODE_VERSION::$(cat .nvmrc)
- uses: actions/setup-node@v2
with:
node-version: ${{ steps.nvm.outputs.NODE_VERSION }}
- uses: MetaMask/action-create-release-pr@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
release-type: ${{ github.event.inputs.release-type }}
release-version: ${{ github.event.inputs.release-version }}
61 changes: 61 additions & 0 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: Publish Release

on:
push:
branches: [master]

jobs:
is-release:
# release merge commits come from github-actions
if: startsWith(github.event.commits[0].author.name, 'github-actions')
outputs:
IS_RELEASE: ${{ steps.is-release.outputs.IS_RELEASE }}
runs-on: ubuntu-latest
steps:
- uses: MetaMask/[email protected]
id: is-release

publish-release:
permissions:
contents: write
if: needs.is-release.outputs.IS_RELEASE == 'true'
runs-on: ubuntu-latest
needs: is-release
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.sha }}
- name: Get Node.js version
id: nvm
run: echo ::set-output name=NODE_VERSION::$(cat .nvmrc)
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: ${{ steps.nvm.outputs.NODE_VERSION }}
- uses: MetaMask/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

publish-npm-dry-run:
runs-on: ubuntu-latest
needs: publish-release
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.sha }}
- name: Dry Run Publish
# omit npm-token token to perform dry run publish
uses: MetaMask/[email protected]

publish-npm:
environment: npm-publish
runs-on: ubuntu-latest
needs: publish-npm-dry-run
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.sha }}
- name: Publish
uses: MetaMask/[email protected]
with:
npm-token: ${{ secrets.NPM_TOKEN }}
29 changes: 29 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Test

on:
push:
branches: [ master ]
pull_request:

jobs:
test:
name: Test
runs-on: ubuntu-20.04
strategy:
matrix:
node-version: [14.x, 16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn --frozen-lockfile
- run: yarn test
all-jobs-pass:
name: All jobs pass
runs-on: ubuntu-20.04
needs:
- test
steps:
- run: echo "Great success!"
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v12
133 changes: 133 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [2.4.0]
### Added
- Add PayPal USD (PYUSD) ([#1214](https://github.com/MetaMask/contract-metadata/pull/1214))
- Add 3space ([#1202](https://github.com/MetaMask/contract-metadata/pull/1202))
- Add MATIC logo ([#1200](https://github.com/MetaMask/contract-metadata/pull/1200))
- Add INFibit Token ([#1197](https://github.com/MetaMask/contract-metadata/pull/1197))
- Add Bens Finale Token ([#1196](https://github.com/MetaMask/contract-metadata/pull/1196))
- Add RWA Token ([#1177](https://github.com/MetaMask/contract-metadata/pull/1177))
- Add PepeInu Token ([#1193](https://github.com/MetaMask/contract-metadata/pull/1193))
- Add EscoCoin Token (#1190) ([#1190](https://github.com/MetaMask/contract-metadata/pull/1190))
- Add PeterPan Token Logo ([#1192](https://github.com/MetaMask/contract-metadata/pull/1192))
- Add Cope Token ([#1189](https://github.com/MetaMask/contract-metadata/pull/1189))
- Add MagicCraft Token ([#1188](https://github.com/MetaMask/contract-metadata/pull/1188))
- Add Axelar token ([#1182](https://github.com/MetaMask/contract-metadata/pull/1182))
- Add Origin Ether (OETH) ([#1178](https://github.com/MetaMask/contract-metadata/pull/1178))
- Add Genieswap.com (GENIE) ([#1176](https://github.com/MetaMask/contract-metadata/pull/1176))
- Add DHN ([#928](https://github.com/MetaMask/contract-metadata/pull/928))
- Add ZKT token ([#942](https://github.com/MetaMask/contract-metadata/pull/942))
- Add TEMPLE ([#1147](https://github.com/MetaMask/contract-metadata/pull/1147))

### Changed
- Update $BEN Coin ([#1198](https://github.com/MetaMask/contract-metadata/pull/1198))
- Update DIA logo after rebranding ([#1180](https://github.com/MetaMask/contract-metadata/pull/1180))
- Update CIG token logo to add missing pixel ([#1179](https://github.com/MetaMask/contract-metadata/pull/1179))

### Fixed
- Fix stretched UMA logo ([#1185](https://github.com/MetaMask/contract-metadata/pull/1185))
- Fix decimals for QUID and GPO ([#1175](https://github.com/MetaMask/contract-metadata/pull/1175))

## [2.3.1]
### Changed
- This release fixes an error that prevented the publishing of v2.3.0. No functional changes.

## [2.3.0]
### Added
- Add Ethereum Swarm ([#1166](https://github.com/MetaMask/contract-metadata/pull/1166))
- Add Illuvium token ([#1164](https://github.com/MetaMask/contract-metadata/pull/1164))
- Add PUBLISH Token ([#1163](https://github.com/MetaMask/contract-metadata/pull/1163))
- Add Shina Inu (SHI) token and logo ([#1033](https://github.com/MetaMask/contract-metadata/pull/1033))
- Add EUL token ([#1154](https://github.com/MetaMask/contract-metadata/pull/1154))
- Add LAMB icon and info ([#1153](https://github.com/MetaMask/contract-metadata/pull/1153))
- Add kibble token ([#1150](https://github.com/MetaMask/contract-metadata/pull/1150))
- Add Fasttoken ([#1129](https://github.com/MetaMask/contract-metadata/pull/1129))
- add perion credits ([#1149](https://github.com/MetaMask/contract-metadata/pull/1149))
- Add Gearbox Protocol (GEAR) ([#1145](https://github.com/MetaMask/contract-metadata/pull/1145))

### Changed
- Update BZR.svg ([#1168](https://github.com/MetaMask/contract-metadata/pull/1168))
- Update CoW Protocol Tokens Logos ([#1148](https://github.com/MetaMask/contract-metadata/pull/1148))

## [2.2.0]
### Added
- Add METAOASIS Token ([#1139](https://github.com/MetaMask/contract-metadata/pull/1139))
- Updated the contract address for $MAHA and added $ARTH logo ([#1137](https://github.com/MetaMask/contract-metadata/pull/1137))
- Add Aventus ([#1133](https://github.com/MetaMask/contract-metadata/pull/1133))
- Add VIDT DAO ([#1093](https://github.com/MetaMask/contract-metadata/pull/1093))
- Add SHIB, CHZ, GALA, MASK, CRV, DYDX, HIFI ([#1131](https://github.com/MetaMask/contract-metadata/pull/1131))
- Add CTX, TCAP tokens ([#850](https://github.com/MetaMask/contract-metadata/pull/850))
- Add Tidex Token ([#1130](https://github.com/MetaMask/contract-metadata/pull/1130))
- Add PREMA ([#1127](https://github.com/MetaMask/contract-metadata/pull/1127))
- Add Energi token ([#627](https://github.com/MetaMask/contract-metadata/pull/627))
- Add Verse Token ([#1125](https://github.com/MetaMask/contract-metadata/pull/1125))
- Changed Ooki logo ([#1124](https://github.com/MetaMask/contract-metadata/pull/1124))
- Updated StormX to the new address ([#1123](https://github.com/MetaMask/contract-metadata/pull/1123))

### Changed
- Optimize SVG icons ([#1132](https://github.com/MetaMask/contract-metadata/pull/1132))
- Remove not used tokens with .png logos ([#1126](https://github.com/MetaMask/contract-metadata/pull/1126))
- Updated logo extension to using .svg ([#1122](https://github.com/MetaMask/contract-metadata/pull/1122))
- Updated AirSwap logo ([#1120](https://github.com/MetaMask/contract-metadata/pull/1120))

## [2.1.0]
### Added
- Add TrueGBP, TrueAUD, TrueCAD and TrueHKD ([#1116](https://github.com/MetaMask/contract-metadata/pull/1116))
- Add STAT ([#1114](https://github.com/MetaMask/contract-metadata/pull/1114))
- Add Realio Network RIO token ([#624](https://github.com/MetaMask/contract-metadata/pull/624))
- Add HOME and BACON ([#1115](https://github.com/MetaMask/contract-metadata/pull/1115))
- Add Elyfi ([#952](https://github.com/MetaMask/contract-metadata/pull/952))
- Add Vodra ERC-20 Token ([#960](https://github.com/MetaMask/contract-metadata/pull/960))
- New BitDAO logo ([#1110](https://github.com/MetaMask/contract-metadata/pull/1110))
- Add several Creator Tokens from the P00LS ecosystem ([#1095](https://github.com/MetaMask/contract-metadata/pull/1095))
- add Bend Token to metamask ([#1108](https://github.com/MetaMask/contract-metadata/pull/1108))
- Add stMATIC ([#1105](https://github.com/MetaMask/contract-metadata/pull/1105))
- Add BZR token info and logo to Metamask ([#1102](https://github.com/MetaMask/contract-metadata/pull/1102))
- add usdd logo to metamask ([#1051](https://github.com/MetaMask/contract-metadata/pull/1051))

## [2.0.0]
### Added
- Add Safe Token Logo ([#1089](https://github.com/MetaMask/contract-metadata/pull/1089))
- Add TRB token ([#1087](https://github.com/MetaMask/contract-metadata/pull/1087))
- Add XCAD Network Token (XCAD) logo ([#1070](https://github.com/MetaMask/contract-metadata/pull/1070))
- Adding the 00 token icon to Metamask ([#1079](https://github.com/MetaMask/contract-metadata/pull/1079))
- Add GPO to Metamask contract map ([#1019](https://github.com/MetaMask/contract-metadata/pull/1019))
- Add NEAR Erc20 token. ([#859](https://github.com/MetaMask/contract-metadata/pull/859))
- Add Quid Ika Token ([#1043](https://github.com/MetaMask/contract-metadata/pull/1043))

### Changed
- Updated FKX logo & details ([#1088](https://github.com/MetaMask/contract-metadata/pull/1088))
- Updating the 00.svg icon ([#1080](https://github.com/MetaMask/contract-metadata/pull/1080))
- Update `is-release` filter ([#1075](https://github.com/MetaMask/contract-metadata/pull/1075))
- **BREAKING:** Removed support for Node v12 in favor of v14 ([#137](https://github.com/MetaMask/eth-json-rpc-middleware/pull/137))

## [1.36.0]
### Uncategorized
- Add release workflows ([#1071](https://github.com/MetaMask/contract-metadata/pull/1071))
- Add icons for OGV, veOGV and wOUSD ([#1058](https://github.com/MetaMask/contract-metadata/pull/1058))
- Add Panther Protocol (ZKP) token and logo ([#1066](https://github.com/MetaMask/contract-metadata/pull/1066))
- add hollaex token ([#1056](https://github.com/MetaMask/contract-metadata/pull/1056))
- Fixing SVG icon for sETH and sUSD token ([#1050](https://github.com/MetaMask/contract-metadata/pull/1050))
- feat(map): add Sushiswap (#1) ([#1](https://github.com/MetaMask/contract-metadata/pull/1))
- Add GTON ([#1060](https://github.com/MetaMask/contract-metadata/pull/1060))
- Add Privilege (PRVG) token ([#1048](https://github.com/MetaMask/contract-metadata/pull/1048))
- Added CryptoFranc (XCHF) ([#401](https://github.com/MetaMask/contract-metadata/pull/401))
- Version 1.35.0 ([#1053](https://github.com/MetaMask/contract-metadata/pull/1053))
- Adding top nfts contracts on opensea by floor price ([#1052](https://github.com/MetaMask/contract-metadata/pull/1052))
- New release ([#1045](https://github.com/MetaMask/contract-metadata/pull/1045))

[Unreleased]: https://github.com/MetaMask/contract-metadata/compare/v2.4.0...HEAD
[2.4.0]: https://github.com/MetaMask/contract-metadata/compare/v2.3.1...v2.4.0
[2.3.1]: https://github.com/MetaMask/contract-metadata/compare/v2.3.0...v2.3.1
[2.3.0]: https://github.com/MetaMask/contract-metadata/compare/v2.2.0...v2.3.0
[2.2.0]: https://github.com/MetaMask/contract-metadata/compare/v2.1.0...v2.2.0
[2.1.0]: https://github.com/MetaMask/contract-metadata/compare/v2.0.0...v2.1.0
[2.0.0]: https://github.com/MetaMask/contract-metadata/compare/v1.36.0...v2.0.0
[1.36.0]: https://github.com/MetaMask/contract-metadata/releases/tag/v1.36.0
15 changes: 15 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
ISC License

Copyright (c) 2020 MetaMask

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Loading

0 comments on commit 4cda75c

Please sign in to comment.