MCPcopy Index your code
hub / github.com/subquery/subql / getContractSDK

Function getContractSDK

packages/cli/src/controller/network/constants.ts:92–94  ·  view source on GitHub ↗
(signerOrProvider: Signer | Provider, network: SQNetworks)

Source from the content-addressed store, hash-verified

90}
91
92export function getContractSDK(signerOrProvider: Signer | Provider, network: SQNetworks): ContractSDK {
93 return new ContractSDK(signerOrProvider, {network});
94}
95
96export function requireSigner(signerOrProvider: Signer | Provider): asserts signerOrProvider is Signer {
97 if (!isSigner(signerOrProvider)) {

Callers 7

listDeploymentBoostsFunction · 0.90
createDeploymentAdapterFunction · 0.90
createProjectAdapterFunction · 0.90
createFlexPlanAdapterFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected