Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add M token by M^0 - https://m0.org #396

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/adapters/peggedAssets/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ import dckusd from "./dackie-usd";
import skydollar from "./usds";
import deusd from "./elixir-deusd";
import thusd from "./threshold-usd"

import m from "./m0-m"

export default {
tether,
Expand Down Expand Up @@ -422,5 +422,6 @@ export default {
"dackie-usd": dckusd,
"usds": skydollar,
"elixir-deusd": deusd,
"threshold-usd": thusd
"threshold-usd": thusd,
"m-by-m0": m
};
10 changes: 10 additions & 0 deletions src/adapters/peggedAssets/m0-m/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { addChainExports } from "../helper/getSupply";

const chainContracts = {
ethereum: {
issued: ["0x866A2BF4E572CbcF37D5071A7a58503Bfb36be1b"],
},
};

const adapter = addChainExports(chainContracts);
export default adapter;