-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: update changed values for bsctestnet
- Loading branch information
Showing
3 changed files
with
32 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,27 @@ | ||
import { Address } from '@graphprotocol/graph-ts'; | ||
|
||
import { comptrollerAddress as comptrollerAddressString } from './config'; | ||
import { | ||
comptrollerAddress as comptrollerAddressString, | ||
vwbETHAddress as vwbETHAddressString, | ||
vTRXAddress as vTRXAddressString, | ||
vTUSDOldAddress as vTUSDOldAddressString, | ||
} from './config'; | ||
|
||
export const comptrollerAddress = Address.fromString(comptrollerAddressString); | ||
|
||
export const nullAddress = Address.fromString('0x0000000000000000000000000000000000000000'); | ||
export const nullAddressString = '0x0000000000000000000000000000000000000000'; | ||
export const nullAddress = Address.fromString(nullAddressString); | ||
|
||
export const nativeAddress = Address.fromString('0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE'); | ||
|
||
export const vwbETHAddress = Address.fromString( | ||
vwbETHAddressString.length > 0 ? vwbETHAddressString : nullAddressString, | ||
); | ||
|
||
export const vTRXAddressAddress = Address.fromString( | ||
vTRXAddressString.length > 0 ? vTRXAddressString : nullAddressString, | ||
); | ||
|
||
export const vTUSDOldAddress = Address.fromString( | ||
vTUSDOldAddressString.length > 0 ? vTUSDOldAddressString : nullAddressString, | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
// Use yarn prepare commands to generate config typescript file per env | ||
|
||
export const comptrollerAddress = '{{ comptrollerAddress }}'; | ||
|
||
export const vwbETHAddress = '{{ vwbETHAddress }}'; | ||
|
||
export const vTRXAddress = '{{ vTRXAddress }}'; | ||
|
||
export const vTUSDOldAddress = '{{ vTUSDOldAddress }}'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters