-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #291 from energywebfoundation/bug/IS-16_approved_c…
…laim_not_verified bug/IS-16 approved claim not verified
- Loading branch information
Showing
10 changed files
with
956 additions
and
1,626 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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,46 @@ | ||
import { | ||
EWC_CHAIN_ID, | ||
EWC_PUBLIC_RESOLVER_ADDRESS, | ||
EWC_RESOLVER_V2_ADDRESS, | ||
ResolverContractType, | ||
VOLTA_CHAIN_ID, | ||
VOLTA_PUBLIC_RESOLVER_ADDRESS, | ||
VOLTA_RESOLVER_V1_ADDRESS, | ||
VOLTA_RESOLVER_V2_ADDRESS, | ||
} from '@energyweb/credential-governance'; | ||
|
||
export interface ResolverInfo { | ||
chainId: number; | ||
resolverType: ResolverContractType; | ||
address: string; | ||
} | ||
|
||
export const knownResolvers = [ | ||
{ | ||
chainId: VOLTA_CHAIN_ID, | ||
resolverType: ResolverContractType.PublicResolver, | ||
address: VOLTA_PUBLIC_RESOLVER_ADDRESS, | ||
}, | ||
|
||
{ | ||
chainId: VOLTA_CHAIN_ID, | ||
resolverType: ResolverContractType.RoleDefinitionResolver_v1, | ||
address: VOLTA_RESOLVER_V1_ADDRESS, | ||
}, | ||
{ | ||
chainId: VOLTA_CHAIN_ID, | ||
resolverType: ResolverContractType.RoleDefinitionResolver_v1, | ||
address: VOLTA_RESOLVER_V2_ADDRESS, | ||
}, | ||
{ | ||
chainId: EWC_CHAIN_ID, | ||
resolverType: ResolverContractType.PublicResolver, | ||
address: EWC_PUBLIC_RESOLVER_ADDRESS, | ||
}, | ||
|
||
{ | ||
chainId: EWC_CHAIN_ID, | ||
resolverType: ResolverContractType.RoleDefinitionResolver_v2, | ||
address: EWC_RESOLVER_V2_ADDRESS, | ||
}, | ||
]; |
Oops, something went wrong.