Skip to content

Commit 319dc62

Browse files
feat: onboard Hoodi wbtc contracts for staging and test
TICKET: SCAAS-3366
1 parent ade84e8 commit 319dc62

5 files changed

Lines changed: 68 additions & 12 deletions

File tree

modules/statics/src/base.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1867,9 +1867,11 @@ export enum UnderlyingAsset {
18671867
'hteth:fyusd' = 'hteth:fyusd',
18681868
'hteth:stgcusd' = 'hteth:stgcusd',
18691869
'hteth:stgfyusd' = 'hteth:stgfyusd',
1870+
'hteth:stgwbtc' = 'hteth:stgwbtc',
18701871
'hteth:tsteth' = 'hteth:tsteth',
18711872
'hteth:grtxp' = 'hteth:grtxp',
18721873
'hteth:testeigen' = 'hteth:testeigen',
1874+
'hteth:wbtc' = 'hteth:wbtc',
18731875
THKD = 'thkd',
18741876
THUNDER = 'thunder',
18751877
TIO = 'tio',

modules/statics/src/coins/erc20Coins.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14650,4 +14650,28 @@ export const erc20Coins = [
1465014650
undefined,
1465114651
Networks.test.hoodi
1465214652
),
14653+
terc20(
14654+
'da73251f-33fa-4490-baab-7f925823fd3b',
14655+
'hteth:wbtc',
14656+
'Hoodi Testnet Wrapped Bitcoin',
14657+
8,
14658+
'0xbe19716adc7e0b8bb75f5ba12657ecff05c531cb',
14659+
UnderlyingAsset['hteth:wbtc'],
14660+
undefined,
14661+
undefined,
14662+
undefined,
14663+
Networks.test.hoodi
14664+
),
14665+
terc20(
14666+
'28cef0a0-f912-4703-b64a-dcf4dd437f30',
14667+
'hteth:stgwbtc',
14668+
'Hoodi Testnet Wrapped Bitcoin',
14669+
8,
14670+
'0x29b0341048b2d83dc19821793f1dc93c1744ceb7',
14671+
UnderlyingAsset['hteth:stgwbtc'],
14672+
undefined,
14673+
undefined,
14674+
undefined,
14675+
Networks.test.hoodi
14676+
),
1465314677
];

modules/statics/src/coins/ofcErc20Coins.ts

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4405,6 +4405,34 @@ export const tOfcErc20Coins = [
44054405
undefined,
44064406
'hteth'
44074407
),
4408+
tofcerc20(
4409+
'495184dd-bfb6-477e-8519-62bb9f0d5d0d',
4410+
'ofchteth:wbtc',
4411+
'Hoodi Testnet Wrapped Bitcoin',
4412+
8,
4413+
UnderlyingAsset['hteth:wbtc'],
4414+
undefined,
4415+
undefined,
4416+
undefined,
4417+
undefined,
4418+
undefined,
4419+
undefined,
4420+
'hteth'
4421+
),
4422+
tofcerc20(
4423+
'304cca0a-2400-47de-a538-3fd1d7b2373f',
4424+
'ofchteth:stgwbtc',
4425+
'Hoodi Testnet Wrapped Bitcoin',
4426+
8,
4427+
UnderlyingAsset['hteth:stgwbtc'],
4428+
undefined,
4429+
undefined,
4430+
undefined,
4431+
undefined,
4432+
undefined,
4433+
undefined,
4434+
'hteth'
4435+
),
44084436

44094437
ofcerc20(
44104438
'cc2a92cf-d799-463b-b08c-e9a4d5e87934',

modules/statics/test/unit/tokenNamingConvention.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ describe('Token Naming Convention Tests', function () {
6666
'hteth:grtx',
6767
'hteth:grtxp',
6868
'hteth:testeigen',
69+
'hteth:wbtc',
70+
'hteth:stgwbtc',
6971
'hterc6dp',
7072
'hterc2dp',
7173
'fixed',

yarn.lock

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12386,10 +12386,10 @@ handle-thing@^2.0.0:
1238612386
resolved "https://registry.npmjs.org/handle-thing/-/handle-thing-2.0.1.tgz"
1238712387
integrity sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg==
1238812388

12389-
handlebars@^4.7.7:
12390-
version "4.7.8"
12391-
resolved "https://registry.npmjs.org/handlebars/-/handlebars-4.7.8.tgz"
12392-
integrity sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ==
12389+
handlebars@4.7.9, handlebars@^4.7.7:
12390+
version "4.7.9"
12391+
resolved "https://registry.npmjs.org/handlebars/-/handlebars-4.7.9.tgz#6f139082ab58dc4e5a0e51efe7db5ae890d56a0f"
12392+
integrity sha512-4E71E0rpOaQuJR2A3xDZ+GM1HyWYv1clR58tC8emQNeQe3RH7MAzSbat+V0wG78LQBo6m6bzSG/L4pBuCsgnUQ==
1239312393
dependencies:
1239412394
minimist "^1.2.5"
1239512395
neo-async "^2.6.2"
@@ -16730,15 +16730,15 @@ path-scurry@^2.0.0:
1673016730
lru-cache "^11.0.0"
1673116731
minipass "^7.1.2"
1673216732

16733-
path-to-regexp@0.1.12:
16734-
version "0.1.12"
16735-
resolved "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.12.tgz"
16736-
integrity sha512-RA1GjUVMnvYFxuqovrEqZoxxW5NUZqbwKtYz/Tt7nXerk0LbLblQmrsgdeOxV5SFHf0UDggjS/bSeOZwt1pmEQ==
16733+
path-to-regexp@0.1.12, path-to-regexp@0.1.13:
16734+
version "0.1.13"
16735+
resolved "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.13.tgz#9b22ec16bc3ab88d05a0c7e369869421401ab17d"
16736+
integrity sha512-A/AGNMFN3c8bOlvV9RreMdrv7jsmF9XIfDeCd87+I8RNg6s78BhJxMu69NEMHBSJFxKidViTEdruRwEk/WIKqA==
1673716737

16738-
path-to-regexp@8.0.0, path-to-regexp@^1.7.0, path-to-regexp@^6.2.1:
16739-
version "8.0.0"
16740-
resolved "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.0.0.tgz#92076ec6b2eaf08be7c3233484142c05e8866cf5"
16741-
integrity sha512-GAWaqWlTjYK/7SVpIUA6CTxmcg65SP30sbjdCvyYReosRkk7Z/LyHWwkK3Vu0FcIi0FNTADUs4eh1AsU5s10cg==
16738+
path-to-regexp@8.4.0, path-to-regexp@^1.7.0, path-to-regexp@^6.2.1:
16739+
version "8.4.0"
16740+
resolved "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.4.0.tgz#8e98fcd94826aff01a90c544ef74ffbaca3a78ed"
16741+
integrity sha512-PuseHIvAnz3bjrM2rGJtSgo1zjgxapTLZ7x2pjhzWwlp4SJQgK3f3iZIQwkpEnBaKz6seKBADpM4B4ySkuYypg==
1674216742

1674316743
path-type@^3.0.0:
1674416744
version "3.0.0"

0 commit comments

Comments
 (0)