Skip to content

Commit

Permalink
update smart contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
H34D committed Sep 27, 2022
1 parent c982359 commit dbbef56
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -65,7 +65,7 @@
}
],
"dependencies": {
"@masa-finance/masa-contracts-identity": "0.1.12",
"@masa-finance/masa-contracts-identity": "0.2.0",
"ethers": "^5.7.0",
"react": "^17.0.2",
"react-query": "^3.39.1",
Expand Down
10 changes: 5 additions & 5 deletions src/common/helpers/contracts/index.ts
Expand Up @@ -7,8 +7,8 @@ import {
SoulName__factory,
SoulLinker,
SoulLinker__factory,
SoulFactory,
SoulFactory__factory,
SoulStore,
SoulStore__factory,
} from '@masa-finance/masa-contracts-identity';
import { ethers } from 'ethers';
import * as goerli from './goerli';
Expand All @@ -22,7 +22,7 @@ export interface IIdentityContracts {
SoulboundCreditReportContract: SoulboundCreditReport;
SoulNameContract: SoulName;
SoulLinkerContract: SoulLinker;
SoulFactoryContract: SoulFactory;
SoulStoreContract: SoulStore;
}

interface LoadContractArgs {
Expand Down Expand Up @@ -63,7 +63,7 @@ export const loadContracts = async ({
p
);

const SoulFactoryContract = SoulFactory__factory.connect(
const SoulStoreContract = SoulStore__factory.connect(
addresses[network].SoulFactoryAddress,
p
);
Expand All @@ -73,7 +73,7 @@ export const loadContracts = async ({
SoulboundCreditReportContract,
SoulNameContract,
SoulLinkerContract,
SoulFactoryContract,
SoulStoreContract,
};
};

Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Expand Up @@ -1988,10 +1988,10 @@
"@jridgewell/resolve-uri" "^3.0.3"
"@jridgewell/sourcemap-codec" "^1.4.10"

"@masa-finance/masa-contracts-identity@0.1.12":
version "0.1.12"
resolved "https://registry.yarnpkg.com/@masa-finance/masa-contracts-identity/-/masa-contracts-identity-0.1.12.tgz#4e6801b88413e4f6623ddd611d8071d81a41ed87"
integrity sha512-N539Xhw0dGTubzIiR9TFmzYDAqrp1tZYXbM8wtMVRVlvRRfGPR782XNCQP8ikXBPM4AkIieXlTwgVKGpneLY7A==
"@masa-finance/masa-contracts-identity@0.2.0":
version "0.2.0"
resolved "https://registry.yarnpkg.com/@masa-finance/masa-contracts-identity/-/masa-contracts-identity-0.2.0.tgz#42e9c8f2904c95d79d1df5a7b1a923b9cd8896f1"
integrity sha512-JzXnroDP9sVJr6ctY1NnT0HFaeERHzEHvjxOh3vOWcsBv4g0uysaj896JtGMioRLdSiYnjP2NZoidzFZgMvP3w==
dependencies:
ethers "^5.6.9"

Expand Down

0 comments on commit dbbef56

Please sign in to comment.