Skip to content

Commit 340d005

Browse files
authored
Merge pull request #8412 from BitGo/cecho-664
feat: add new tokens usd1 and stgusd1 to tempo
2 parents 52ee286 + 60656a0 commit 340d005

4 files changed

Lines changed: 59 additions & 6 deletions

File tree

modules/sdk-coin-tempo/test/resources/tempo.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,14 @@ export const TESTNET_TOKENS = {
2323
address: '0x20c0000000000000000000000000000000000003',
2424
name: 'ttempo:thetausd',
2525
},
26+
usd1: {
27+
address: '0xc4d0ee0f2b5416b22fdfdcca5f4a02488ea35602',
28+
name: 'ttempo:usd1',
29+
},
30+
stgUSD1: {
31+
address: '0x7d29701e426e5c2fe991338c09c5d5be39522d9e',
32+
name: 'ttempo:stgusd1',
33+
},
2634
};
2735

2836
// Valid checksummed test recipient address

modules/statics/src/allCoinsAndTokens.ts

Lines changed: 33 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3117,7 +3117,7 @@ export const allCoinsAndTokens = [
31173117
6,
31183118
'0x20c0000000000000000000000000000000000000',
31193119
UnderlyingAsset['tempo:pathusd'],
3120-
TEMPO_FEATURES
3120+
[...TEMPO_FEATURES, CoinFeature.STABLECOIN]
31213121
),
31223122
tip20Token(
31233123
'39a57b34-0ce5-40d6-a231-c53a287491a6',
@@ -3126,7 +3126,16 @@ export const allCoinsAndTokens = [
31263126
6,
31273127
'0x20c000000000000000000000b9537d11c60e8b50',
31283128
UnderlyingAsset['tempo:usdc'],
3129-
TEMPO_FEATURES
3129+
[...TEMPO_FEATURES, CoinFeature.STABLECOIN]
3130+
),
3131+
tip20Token(
3132+
'fa9e874b-e1c0-4c40-ab4c-3cfba7b2ca8b',
3133+
'tempo:usd1',
3134+
'USD1',
3135+
18,
3136+
'0x111111d2bf19e43c34263401e0cad979ed1cdb61',
3137+
UnderlyingAsset['tempo:usd1'],
3138+
[...TEMPO_FEATURES, CoinFeature.STABLECOIN]
31303139
),
31313140
// Tempo TIP20 testnet tokens
31323141
ttip20Token(
@@ -3136,7 +3145,7 @@ export const allCoinsAndTokens = [
31363145
6,
31373146
'0x20c0000000000000000000000000000000000000',
31383147
UnderlyingAsset['ttempo:pathusd'],
3139-
TEMPO_FEATURES
3148+
[...TEMPO_FEATURES, CoinFeature.STABLECOIN]
31403149
),
31413150
ttip20Token(
31423151
'3c67eaa8-f073-4e1a-9d3a-c6756a31bef0',
@@ -3145,7 +3154,7 @@ export const allCoinsAndTokens = [
31453154
6,
31463155
'0x20c0000000000000000000000000000000000001',
31473156
UnderlyingAsset['ttempo:alphausd'],
3148-
TEMPO_FEATURES
3157+
[...TEMPO_FEATURES, CoinFeature.STABLECOIN]
31493158
),
31503159
ttip20Token(
31513160
'da6d27bd-ed3b-4b59-b574-6e013e5eb55d',
@@ -3154,7 +3163,7 @@ export const allCoinsAndTokens = [
31543163
6,
31553164
'0x20c0000000000000000000000000000000000002',
31563165
UnderlyingAsset['ttempo:betausd'],
3157-
TEMPO_FEATURES
3166+
[...TEMPO_FEATURES, CoinFeature.STABLECOIN]
31583167
),
31593168
ttip20Token(
31603169
'58cbb592-446e-4753-8c2a-c89f662135ba',
@@ -3163,7 +3172,25 @@ export const allCoinsAndTokens = [
31633172
6,
31643173
'0x20c0000000000000000000000000000000000003',
31653174
UnderlyingAsset['ttempo:thetausd'],
3166-
TEMPO_FEATURES
3175+
[...TEMPO_FEATURES, CoinFeature.STABLECOIN]
3176+
),
3177+
ttip20Token(
3178+
'1b9cb8c9-6eec-4f0a-acd4-3d1881efc85b',
3179+
'ttempo:usd1',
3180+
'Test USD1 Token',
3181+
18,
3182+
'0xc4d0ee0f2b5416b22fdfdcca5f4a02488ea35602',
3183+
UnderlyingAsset['ttempo:usd1'],
3184+
[...TEMPO_FEATURES, CoinFeature.STABLECOIN]
3185+
),
3186+
ttip20Token(
3187+
'b6455ffa-8732-4c61-bb2b-d72e72cb1e63',
3188+
'ttempo:stgusd1',
3189+
'Test USD1 Token',
3190+
18,
3191+
'0x7d29701e426e5c2fe991338c09c5d5be39522d9e',
3192+
UnderlyingAsset['ttempo:stgusd1'],
3193+
[...TEMPO_FEATURES, CoinFeature.STABLECOIN]
31673194
),
31683195
canton(
31693196
'07385320-5a4f-48e9-97a5-86d4be9f24b0',

modules/statics/src/base.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3742,12 +3742,15 @@ export enum UnderlyingAsset {
37423742
// Tempo mainnet tokens
37433743
'tempo:pathusd' = 'tempo:pathusd',
37443744
'tempo:usdc' = 'tempo:usdc',
3745+
'tempo:usd1' = 'tempo:usd1',
37453746

37463747
// Tempo testnet tokens
37473748
'ttempo:pathusd' = 'ttempo:pathusd',
37483749
'ttempo:alphausd' = 'ttempo:alphausd',
37493750
'ttempo:betausd' = 'ttempo:betausd',
37503751
'ttempo:thetausd' = 'ttempo:thetausd',
3752+
'ttempo:usd1' = 'ttempo:usd1',
3753+
'ttempo:stgusd1' = 'ttempo:stgusd1',
37513754

37523755
// fiats
37533756
AED = 'aed',

modules/statics/src/coins/ofcCoins.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4331,6 +4331,7 @@ export const ofcCoins = [
43314331
UnderlyingAsset['tempo:pathusd']
43324332
),
43334333
ofcTempoToken('c9a90ee0-6546-413c-9cbe-94fdc14985c5', 'ofctempo:usdc', 'USDC', 6, UnderlyingAsset['tempo:usdc']),
4334+
ofcTempoToken('05ac1283-5e72-4cba-8b0f-38cbd23a25c6', 'ofctempo:usd1', 'USD1', 18, UnderlyingAsset['tempo:usd1']),
43344335
// Tempo testnet OFC tokens
43354336
tofcTempoToken(
43364337
'7912e76e-5a5c-4f1b-86e9-1fc2a51f5a98',
@@ -4360,6 +4361,20 @@ export const ofcCoins = [
43604361
6,
43614362
UnderlyingAsset['ttempo:thetausd']
43624363
),
4364+
tofcTempoToken(
4365+
'9540a6ee-9c93-473f-a00d-3c7f5e3c21c6',
4366+
'ofcttempo:usd1',
4367+
'Test USD1 Token',
4368+
18,
4369+
UnderlyingAsset['ttempo:usd1']
4370+
),
4371+
tofcTempoToken(
4372+
'a0daa4de-04fa-4b7f-9572-5084754879c2',
4373+
'ofcttempo:stgusd1',
4374+
'Test USD1 Token',
4375+
18,
4376+
UnderlyingAsset['ttempo:stgusd1']
4377+
),
43634378
ofc('6f0246cf-b792-483a-b720-9755b158c614', 'ofcunieth', 'Unichain', 18, UnderlyingAsset.UNIETH, CoinKind.CRYPTO),
43644379
tofc(
43654380
'4efb1377-8439-410a-b460-2aeeff944fb2',

0 commit comments

Comments
 (0)