MCPcopy Create free account
hub / github.com/PageLeay/celestial-runtime / func

Function func

lib.commonjs/_tests/test-contract.js:346–352  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

344 const contract = new index_js_1.Contract(address, abi, provider);
345 it(`test contract fallback checks: ${group} - ${name}`, async function () {
346 const func = async function () {
347 if (abi.length === 0) {
348 throw new Error("no fallback");
349 }
350 assert_1.default.ok(contract.fallback);
351 return await contract.fallback.populateTransaction(tx);
352 };
353 if ("data" in send) {
354 await func();
355 //const result = await func();

Callers 3

forEachFunction · 0.70
test-contract.jsFile · 0.70
setupProvidersFunction · 0.70

Calls 2

populateTransactionMethod · 0.65
okMethod · 0.45

Tested by

no test coverage detected