Skip to content

Commit

Permalink
πŸŽ‡ update assets issue generator
Browse files Browse the repository at this point in the history
  • Loading branch information
a17 committed Nov 7, 2024
1 parent 01b7080 commit a55ef21
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stabilitydao/stability",
"version": "0.21.3",
"version": "0.22.0",
"description": "Stability Integration Library",
"main": "out/index.js",
"types": "out/index.d.ts",
Expand Down
12 changes: 9 additions & 3 deletions tools/issue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
strategyStateDescription,
} from "../src";

console.log("== Issue helper ==");
console.log("== Issue generator ==");
console.log("");

// strategy issue for stability-contracts repo
Expand Down Expand Up @@ -97,13 +97,19 @@ for (const chainId in chains) {
Object.keys(asset.addresses).includes(chainId),
);
if (chainAssets.length === 0 && chain.status !== ChainStatus.NOT_SUPPORTED) {
const img = `https://raw.githubusercontent.com/stabilitydao/.github/main/chains/${chain.img}`;

console.log(`------------------ Assets issue for ${chain.name}`);

console.log(
`Title: πŸͺ™ Add blue chip assets for ${chain.name} [${chainId}]`,
);
console.log(`
Need to add blue chip assets for blockchain ${chain.name} to this integration library.
Need to add blue chip assets for the ${chain.name} blockchain to this integration library.
<div>
<img align="right" src="${img}" width="80px" height="80px" />
</div>
We usually consider the following as such assets:
Expand All @@ -114,7 +120,7 @@ We usually consider the following as such assets:
## Task list
* [ ] add assets to \`stability.tokenlist.json\`
* [ ] add addresses to \`assets.ts\`
* [ ] add addresses and info (if necessary) to \`assets.ts\`
`);
console.log("-----------------------------------------------");
}
Expand Down

0 comments on commit a55ef21

Please sign in to comment.