Skip to content

ServiceRegistryOptions

Defined in: packages/synapse-core/src/mocks/jsonrpc/service-registry.ts:44

optional activeProviderCount?: (args) => readonly [bigint]

Defined in: packages/synapse-core/src/mocks/jsonrpc/service-registry.ts:57

Parameter Type
args readonly []

readonly [bigint]


optional addProduct?: (args, value, from) => readonly []

Defined in: packages/synapse-core/src/mocks/jsonrpc/service-registry.ts:76

Parameter Type
args readonly [number, readonly string[], readonly `0x${string}`[]]
value `0x${string}`
from `0x${string}`

readonly []


optional getProvider?: (args) => readonly [{ info: { description: string; isActive: boolean; name: string; payee: `0x${string}`; serviceProvider: `0x${string}`; }; providerId: bigint; }]

Defined in: packages/synapse-core/src/mocks/jsonrpc/service-registry.ts:49

Parameter Type
args readonly [bigint]

readonly [{ info: { description: string; isActive: boolean; name: string; payee: `0x${string}`; serviceProvider: `0x${string}`; }; providerId: bigint; }]


optional getProviderByAddress?: (args) => readonly [{ info: { description: string; isActive: boolean; name: string; payee: `0x${string}`; serviceProvider: `0x${string}`; }; providerId: bigint; }]

Defined in: packages/synapse-core/src/mocks/jsonrpc/service-registry.ts:45

Parameter Type
args readonly [`0x${string}`]

readonly [{ info: { description: string; isActive: boolean; name: string; payee: `0x${string}`; serviceProvider: `0x${string}`; }; providerId: bigint; }]


optional getProviderCount?: (args) => readonly [bigint]

Defined in: packages/synapse-core/src/mocks/jsonrpc/service-registry.ts:56

Parameter Type
args readonly []

readonly [bigint]


optional getProviderIdByAddress?: (args) => readonly [bigint]

Defined in: packages/synapse-core/src/mocks/jsonrpc/service-registry.ts:46

Parameter Type
args readonly [`0x${string}`]

readonly [bigint]


optional getProvidersByProductType?: (args) => readonly [{ hasMore: boolean; providers: readonly object[]; }]

Defined in: packages/synapse-core/src/mocks/jsonrpc/service-registry.ts:53

Parameter Type
args readonly [number, boolean, bigint, bigint]

readonly [{ hasMore: boolean; providers: readonly object[]; }]


optional getProviderWithProduct?: (args) => readonly [{ product: { capabilityKeys: readonly string[]; isActive: boolean; productType: number; }; productCapabilityValues: readonly `0x${string}`[]; providerId: bigint; providerInfo: { description: string; isActive: boolean; name: string; payee: `0x${string}`; serviceProvider: `0x${string}`; }; }]

Defined in: packages/synapse-core/src/mocks/jsonrpc/service-registry.ts:50

Parameter Type
args readonly [bigint, number]

readonly [{ product: { capabilityKeys: readonly string[]; isActive: boolean; productType: number; }; productCapabilityValues: readonly `0x${string}`[]; providerId: bigint; providerInfo: { description: string; isActive: boolean; name: string; payee: `0x${string}`; serviceProvider: `0x${string}`; }; }]


optional isProviderActive?: (args) => readonly [boolean]

Defined in: packages/synapse-core/src/mocks/jsonrpc/service-registry.ts:58

Parameter Type
args readonly [bigint]

readonly [boolean]


optional isRegisteredProvider?: (args) => readonly [boolean]

Defined in: packages/synapse-core/src/mocks/jsonrpc/service-registry.ts:59

Parameter Type
args readonly [`0x${string}`]

readonly [boolean]


optional registerProvider?: (args, value, from) => readonly [bigint]

Defined in: packages/synapse-core/src/mocks/jsonrpc/service-registry.ts:61

Parameter Type
args readonly [`0x${string}`, string, string, number, readonly string[], readonly `0x${string}`[]]
value `0x${string}`
from `0x${string}`

readonly [bigint]


optional REGISTRATION_FEE?: () => bigint

Defined in: packages/synapse-core/src/mocks/jsonrpc/service-registry.ts:60

bigint


optional removeProduct?: (args, value, from) => readonly []

Defined in: packages/synapse-core/src/mocks/jsonrpc/service-registry.ts:82

Parameter Type
args readonly [number]
value `0x${string}`
from `0x${string}`

readonly []


optional removeProvider?: (args, value, from) => readonly []

Defined in: packages/synapse-core/src/mocks/jsonrpc/service-registry.ts:71

Parameter Type
args readonly []
value `0x${string}`
from `0x${string}`

readonly []


optional updateProduct?: (args, value, from) => readonly []

Defined in: packages/synapse-core/src/mocks/jsonrpc/service-registry.ts:77

Parameter Type
args readonly [number, readonly string[], readonly `0x${string}`[]]
value `0x${string}`
from `0x${string}`

readonly []


optional updateProviderInfo?: (args, value, from) => readonly []

Defined in: packages/synapse-core/src/mocks/jsonrpc/service-registry.ts:66

Parameter Type
args readonly [string, string]
value `0x${string}`
from `0x${string}`

readonly []