diff --git a/package.json b/package.json index 2ae32e2c..9e1110d9 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/common/helpers/contracts/index.ts b/src/common/helpers/contracts/index.ts index 46664022..327f8c34 100644 --- a/src/common/helpers/contracts/index.ts +++ b/src/common/helpers/contracts/index.ts @@ -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'; @@ -22,7 +22,7 @@ export interface IIdentityContracts { SoulboundCreditReportContract: SoulboundCreditReport; SoulNameContract: SoulName; SoulLinkerContract: SoulLinker; - SoulFactoryContract: SoulFactory; + SoulStoreContract: SoulStore; } interface LoadContractArgs { @@ -63,7 +63,7 @@ export const loadContracts = async ({ p ); - const SoulFactoryContract = SoulFactory__factory.connect( + const SoulStoreContract = SoulStore__factory.connect( addresses[network].SoulFactoryAddress, p ); @@ -73,7 +73,7 @@ export const loadContracts = async ({ SoulboundCreditReportContract, SoulNameContract, SoulLinkerContract, - SoulFactoryContract, + SoulStoreContract, }; }; diff --git a/yarn.lock b/yarn.lock index c7c4fd6a..1208bc87 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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"