MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / getKmsContract

Function getKmsContract

kms/auth-eth/hardhat.config.ts:82–84  ·  view source on GitHub ↗
(ethers: any)

Source from the content-addressed store, hash-verified

80}
81
82async function getKmsContract(ethers: any) {
83 return await ethers.getContractAt("DstackKms", KMS_CONTRACT_ADDRESS);
84}
85
86async function getAppContract(ethers: any, appId: string) {
87 return await ethers.getContractAt("DstackApp", appId);

Callers 1

hardhat.config.tsFile · 0.85

Calls 1

getContractAtMethod · 0.80

Tested by

no test coverage detected