Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
githubotoro committed Dec 11, 2024
2 parents 5b1b63a + 1e1f2cb commit 3866de6
Show file tree
Hide file tree
Showing 10 changed files with 43 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .changeset/automated-patch-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"royco": patch
---

New SDK version @ 2024-12-10 20:50:22 UTC
New SDK version @ 2024-12-11 18:23:12 UTC
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "royco",
"description": "SDK for building frontends on top of Royco Protocol",
"version": "0.9.38",
"version": "0.9.43",
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
Expand Down Expand Up @@ -119,5 +119,5 @@
"zod": "^3.23.8"
},
"dist-hash": "27382c05a5b66ae03c57558dd4ce90fd263683c40902a735efdc4a16916af2da",
"lastPublishedCommit": "70a450cb5b485d84e71eb7e9469d5c381ac81b6d"
"lastPublishedCommit": "da5e9e055dfeb3e5e69dc3b549f365e7a524cb05"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { defineMarket } from "@/sdk/constants";

export default defineMarket({
id: "1_0_0x83c459782b2ff36629401b1a592354fc085f29ae00cf97b803f73cac464d389b",
name: "Swap USDC for GHO on Balancer V2 and stake for stkGHO",
name: "Swap USDC to stkGHO for 1 mo",
description: `Swap USDC for GHO on Balancer V2, receiving a minimum of .999 GHO per USDC, then stake the GHO for stkGHO and lock for 1 month.`,
is_verified: true,
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { defineMarket } from "@/sdk/constants";

export default defineMarket({
id: "1_1_0x6402d18a46e56f37edbbe0f6a0aa9e83ee2d34a2",
name: "Lend WBTC on Gearbox",
description:
"When WBTC is supplied to the market, it is deposited into the Gearbox WBTC Mainnet Pool to earn yield. Users may withdraw at any time. As an additional incentive, depositors receive 2,000 Lombard LUX points per day for depositing.",
is_verified: true,
});
3 changes: 3 additions & 0 deletions sdk/constants/market-map/1/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import market_1_1_0x1c0b7b379dede9cc83201620725ba733fc52971f from "./definitions
import market_1_1_0x2120adcdcf8e0ed9d6dd3df683f076402b79e3bd from "./definitions/1_1_0x2120adcdcf8e0ed9d6dd3df683f076402b79e3bd";
import market_1_1_0x2785a8814434a589ce47949f4c4d3beea13760af from "./definitions/1_1_0x2785a8814434a589ce47949f4c4d3beea13760af";
import market_1_1_0x562113d1608a60807e2a474d037465b7868409fc from "./definitions/1_1_0x562113d1608a60807e2a474d037465b7868409fc";
import market_1_1_0x6402d18a46e56f37edbbe0f6a0aa9e83ee2d34a2 from "./definitions/1_1_0x6402d18a46e56f37edbbe0f6a0aa9e83ee2d34a2";
import market_1_1_0x78c4fe43b09402a28cb1aa45c2d041f2474018fd from "./definitions/1_1_0x78c4fe43b09402a28cb1aa45c2d041f2474018fd";
import market_1_1_0x93359f581040f8c176131529d0d68ddf6ea793c8 from "./definitions/1_1_0x93359f581040f8c176131529d0d68ddf6ea793c8";
import market_1_1_0x957e8d86b31847b55f4589999407aeb15b7ada54 from "./definitions/1_1_0x957e8d86b31847b55f4589999407aeb15b7ada54";
Expand All @@ -30,6 +31,8 @@ export const MarketMap1 = {
market_1_1_0x2785a8814434a589ce47949f4c4d3beea13760af,
[market_1_1_0x562113d1608a60807e2a474d037465b7868409fc.id]:
market_1_1_0x562113d1608a60807e2a474d037465b7868409fc,
[market_1_1_0x6402d18a46e56f37edbbe0f6a0aa9e83ee2d34a2.id]:
market_1_1_0x6402d18a46e56f37edbbe0f6a0aa9e83ee2d34a2,
[market_1_1_0x78c4fe43b09402a28cb1aa45c2d041f2474018fd.id]:
market_1_1_0x78c4fe43b09402a28cb1aa45c2d041f2474018fd,
[market_1_1_0x93359f581040f8c176131529d0d68ddf6ea793c8.id]:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { defineMarket } from "@/sdk/constants";

export default defineMarket({
id: "11155111_0_0xa8f8410870203a2cee840e9fa43bb0ab95efe5096c8d8274f2e0505d88e31ec3",
name: "Sepolia Recipe Market for USDT",
description: "Sepolia Recipe Market for USDT",
is_verified: false,
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { defineMarket } from "@/sdk/constants";

export default defineMarket({
id: "11155111_1_0xbe2a22476b6e3658fddd04c20928f52929aa4019",
name: "Sepolia Test Vault USDC Market",
description: "Sepolia Test Vault USDC Market",
is_verified: false,
});
6 changes: 6 additions & 0 deletions sdk/constants/market-map/11155111/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ import market_11155111_0_0x51fdc106de3f98aad14186309f7aafa60705efb5e3d72cf79d271
import market_11155111_0_0x74eae4e2f69884d79c215ce66c500646cfd5da937283983e1d151cb657116625 from "./definitions/11155111_0_0x74eae4e2f69884d79c215ce66c500646cfd5da937283983e1d151cb657116625";
import market_11155111_0_0x836cf6113898237f5abd2ee613e8603f8d85a7ec5301e72bc556620209e6fb17 from "./definitions/11155111_0_0x836cf6113898237f5abd2ee613e8603f8d85a7ec5301e72bc556620209e6fb17";
import market_11155111_0_0x9d8c3dbb66cbd7a70755d487aeb86f03f46c87b883f11acd6ba2e48b33da0fd7 from "./definitions/11155111_0_0x9d8c3dbb66cbd7a70755d487aeb86f03f46c87b883f11acd6ba2e48b33da0fd7";
import market_11155111_0_0xa8f8410870203a2cee840e9fa43bb0ab95efe5096c8d8274f2e0505d88e31ec3 from "./definitions/11155111_0_0xa8f8410870203a2cee840e9fa43bb0ab95efe5096c8d8274f2e0505d88e31ec3";
import market_11155111_0_0xb7a4762722bc11627db15058c2067772831a6c869955784f79db9ecd90bec87a from "./definitions/11155111_0_0xb7a4762722bc11627db15058c2067772831a6c869955784f79db9ecd90bec87a";
import market_11155111_0_0xda51d0e8b23511146ab4c2058859473536fef2f7ae7edb52c99c947b292cbbc1 from "./definitions/11155111_0_0xda51d0e8b23511146ab4c2058859473536fef2f7ae7edb52c99c947b292cbbc1";
import market_11155111_1_0xb51ae13ed205542da886164148cd8c4d4366dd73 from "./definitions/11155111_1_0xb51ae13ed205542da886164148cd8c4d4366dd73";
import market_11155111_1_0xbe2a22476b6e3658fddd04c20928f52929aa4019 from "./definitions/11155111_1_0xbe2a22476b6e3658fddd04c20928f52929aa4019";

export const MarketMap11155111 = {
[market_11155111_0_0x51fa99609612b4c64362bca94eee8a435a5f56002d90643c666ee47accdda6f1.id]:
Expand All @@ -18,10 +20,14 @@ export const MarketMap11155111 = {
market_11155111_0_0x836cf6113898237f5abd2ee613e8603f8d85a7ec5301e72bc556620209e6fb17,
[market_11155111_0_0x9d8c3dbb66cbd7a70755d487aeb86f03f46c87b883f11acd6ba2e48b33da0fd7.id]:
market_11155111_0_0x9d8c3dbb66cbd7a70755d487aeb86f03f46c87b883f11acd6ba2e48b33da0fd7,
[market_11155111_0_0xa8f8410870203a2cee840e9fa43bb0ab95efe5096c8d8274f2e0505d88e31ec3.id]:
market_11155111_0_0xa8f8410870203a2cee840e9fa43bb0ab95efe5096c8d8274f2e0505d88e31ec3,
[market_11155111_0_0xb7a4762722bc11627db15058c2067772831a6c869955784f79db9ecd90bec87a.id]:
market_11155111_0_0xb7a4762722bc11627db15058c2067772831a6c869955784f79db9ecd90bec87a,
[market_11155111_0_0xda51d0e8b23511146ab4c2058859473536fef2f7ae7edb52c99c947b292cbbc1.id]:
market_11155111_0_0xda51d0e8b23511146ab4c2058859473536fef2f7ae7edb52c99c947b292cbbc1,
[market_11155111_1_0xb51ae13ed205542da886164148cd8c4d4366dd73.id]:
market_11155111_1_0xb51ae13ed205542da886164148cd8c4d4366dd73,
[market_11155111_1_0xbe2a22476b6e3658fddd04c20928f52929aa4019.id]:
market_11155111_1_0xbe2a22476b6e3658fddd04c20928f52929aa4019,
};
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ export default defineToken({
contract_address: "0x57ab1ec28d129707052df4df418d58a2d46d5f51",
name: "sUSD",
symbol: "SUSD",
image: "https://s2.coinmarketcap.com/static/img/coins/64x64/2927.png",
image:
"https://assets.coingecko.com/coins/images/5013/standard/sUSD.png?1696505546",
decimals: 18,
source: "coinmarketcap",
search_id: "2927",
Expand Down
6 changes: 3 additions & 3 deletions sdk/constants/token-map/1/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1123,7 +1123,7 @@ import token_1_0xf3586684107ce0859c44aa2b2e0fb8cd8731a15a from "./definitions/1-
import token_1_0xf3ae5d769e153ef72b4e3591ac004e89f48107a1 from "./definitions/1-0xf3ae5d769e153ef72b4e3591ac004e89f48107a1";
import token_1_0xf3b9569f82b18aef890de263b84189bd33ebe452 from "./definitions/1-0xf3b9569f82b18aef890de263b84189bd33ebe452";
import token_1_0xf3db5fa2c66b7af3eb0c0b782510816cbe4813b8 from "./definitions/1-0xf3db5fa2c66b7af3eb0c0b782510816cbe4813b8";
import token_1_0xf3e621395fc714b90da337aa9108771597b4e696 from "./definitions/1-0xf3e621395fc714b90da337aa9108771597b4e696";
import token_1_0xf3e621395fc714B90dA337AA9108771597b4E696 from "./definitions/1-0xf3e621395fc714B90dA337AA9108771597b4E696";
import token_1_0xf411903cbc70a74d22900a5de66a2dda66507255 from "./definitions/1-0xf411903cbc70a74d22900a5de66a2dda66507255";
import token_1_0xf4134146af2d511dd5ea8cdb1c4ac88c57d60404 from "./definitions/1-0xf4134146af2d511dd5ea8cdb1c4ac88c57d60404";
import token_1_0xf418588522d5dd018b425e472991e52ebbeeeeee from "./definitions/1-0xf418588522d5dd018b425e472991e52ebbeeeeee";
Expand Down Expand Up @@ -3435,8 +3435,8 @@ export const TokenMap1 = {
token_1_0xf3b9569f82b18aef890de263b84189bd33ebe452,
[token_1_0xf3db5fa2c66b7af3eb0c0b782510816cbe4813b8.id]:
token_1_0xf3db5fa2c66b7af3eb0c0b782510816cbe4813b8,
[token_1_0xf3e621395fc714b90da337aa9108771597b4e696.id]:
token_1_0xf3e621395fc714b90da337aa9108771597b4e696,
[token_1_0xf3e621395fc714B90dA337AA9108771597b4E696.id]:
token_1_0xf3e621395fc714B90dA337AA9108771597b4E696,
[token_1_0xf411903cbc70a74d22900a5de66a2dda66507255.id]:
token_1_0xf411903cbc70a74d22900a5de66a2dda66507255,
[token_1_0xf4134146af2d511dd5ea8cdb1c4ac88c57d60404.id]:
Expand Down

0 comments on commit 3866de6

Please sign in to comment.