Skip to content

Commit

Permalink
Merge pull request #4142 from BitGo/hteth-contracts
Browse files Browse the repository at this point in the history
feat(statics): add test token on holesky
  • Loading branch information
DinshawKothari authored Dec 11, 2023
2 parents 17ba4b6 + 82389aa commit 490a95d
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
2 changes: 1 addition & 1 deletion modules/sdk-coin-eth/src/erc20Token.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export class Erc20Token extends Eth {
protected readonly sendMethodName: 'sendMultiSig' | 'sendMultiSigToken';
static coinNames: CoinNames = {
Mainnet: 'eth',
Testnet: 'gteth',
Testnet: 'hteth',
};

constructor(bitgo: BitGoBase, tokenConfig: Erc20TokenConfig) {
Expand Down
1 change: 1 addition & 0 deletions modules/statics/src/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1067,6 +1067,7 @@ export enum UnderlyingAsset {
TERC18DP13 = 'terc18dp13',
TERC18DP14 = 'terc18dp14',
TERC18DP15 = 'terc18dp15',
BGERCH = 'bgerch',
TGBP = 'tgbp',
THKD = 'thkd',
TIOX = 'tiox',
Expand Down
12 changes: 12 additions & 0 deletions modules/statics/src/coins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8772,6 +8772,18 @@ export const coins = CoinMap.fromCoins([
'0xc2c527c0cacf457746bd31b2a698fe89de2b6d49',
UnderlyingAsset.TUSDT
),
terc20(
'031e6052-ed7a-42cf-a6e6-2107d8e448ed',
'bgerch',
'Test ERC Token on Holesky',
18,
'0xebe8b46a42f05072b723b00013ff822b2af1b5cb',
UnderlyingAsset.BGERCH,
undefined,
undefined,
undefined,
Networks.test.holesky
),
tceloToken(
'a7fb510c-de32-4cd5-9215-4e55c81d5489',
'tcusd',
Expand Down
6 changes: 3 additions & 3 deletions modules/statics/src/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -479,9 +479,9 @@ class Holesky extends Testnet implements EthereumNetwork {
blockExplorerUrl = 'https://holesky.beaconcha.in/block/';
// https://chainlist.org/chain/17000
chainId = 17000;
batcherContractAddress = '0xe8e847cf573fc8ed75621660a36affd18c543d7e';
forwarderFactoryAddress = '0xf5caa5e3e93afbc21bd19ef4f2691a37121f7917';
forwarderImplementationAddress = '0x80d5c91e8cc21df69fc4d64f21dc2d83121c3999';
batcherContractAddress = '0x8ae286c75a339ffabaed3a22088c52eb4f589780';
forwarderFactoryAddress = '0x31f17917ea6132c9a2265f514970492bae3ed668';
forwarderImplementationAddress = '0x1a924814eaeee4aee5d687c8cc1ba57eb8db7477';
nativeCoinOperationHashPrefix = 'ETHER';
tokenOperationHashPrefix = 'ERC20';
}
Expand Down

0 comments on commit 490a95d

Please sign in to comment.