Skip to main content

CrossContractInputs

For the complete documentation index, see llms.txt

@midnight-ntwrk/compact-runtime v0.20.0


@midnight-ntwrk/compact-runtime / CrossContractInputs

Type Alias: CrossContractInputs

type CrossContractInputs = {
moduleProvider: ContractModuleProvider;
stateProvider: ContractStateProvider;
};

The inputs that let an execution make cross-contract calls.

Properties​

moduleProvider​

readonly moduleProvider: ContractModuleProvider;

The ContractModuleProvider.


stateProvider​

readonly stateProvider: ContractStateProvider;

Fetches a callee's deployed state at CircuitContextOptions.parentBlockHash.