Skip to content

Commit

Permalink
export constant addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
H34D committed Oct 10, 2022
1 parent 455cadc commit ae4bedd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
5 changes: 5 additions & 0 deletions src/common/helpers/contracts/goerli.ts
Expand Up @@ -3,3 +3,8 @@ export { address as SoulboundCreditReportAddress } from '@masa-finance/masa-cont
export { address as SoulNameAddress } from '@masa-finance/masa-contracts-identity/deployments/goerli/SoulName.json';
export { address as SoulStoreAddress } from '@masa-finance/masa-contracts-identity/deployments/goerli/SoulStore.json';
export { address as SoulLinkerAddress } from '@masa-finance/masa-contracts-identity/deployments/goerli/SoulLinker.json';
export {
MASA_GOERLI as MASA,
USDC_GOERLI as USDC,
WETH_GOERLI as WETH,
} from '@masa-finance/masa-contracts-identity/dist/src/constants';
2 changes: 1 addition & 1 deletion src/common/helpers/contracts/index.ts
Expand Up @@ -13,7 +13,7 @@ import {
import { ethers } from 'ethers';
import * as goerli from './goerli';

const addresses = {
export const addresses = {
goerli,
};

Expand Down
6 changes: 5 additions & 1 deletion src/index.tsx
@@ -1,7 +1,11 @@
import { masaToolsProvider, useMasaToolsHook } from './common/helpers/provider';
import { masaRestClient } from './common/rest';

export { useContractCall, loadContracts } from './common/helpers/contracts';
export {
useContractCall,
loadContracts,
addresses,
} from './common/helpers/contracts';

export interface Props {
/** custom content, defaults to 'the snozzberries taste like snozzberries' */
Expand Down

0 comments on commit ae4bedd

Please sign in to comment.