Config: { assetIdToTickerMap: { [
assetId:
number]
: string; }; assets: { [
assetTicker:
string]
: [{ id: string; priceSource: string; }]; }; attestations: { enableAttestations: boolean; ethereum: { attestationVerifierAddress: string | undefined; name: string | undefined; privateKey: string | undefined; rpc: string; }; }; bidding: BiddingStrategy; circuit: Circuit; gateways: Gateway[]; name: string; pricing: { [
source:
string]
: { endpoint: string; endpointDefaults: string; frequency: number; }; }; strategies: { [
targetId:
string]
: Strategy; }; vendors: string[]; }
Type declaration
-
assetIdToTickerMap: {
[assetId: number]: string;
}
-
[assetId: number]: string
-
assets: {
[assetTicker: string]: [{
id: string;
priceSource: string;
}];
}
-
[assetTicker: string]: [{
id: string;
priceSource: string;
}]
-
attestations: {
enableAttestations: boolean;
ethereum: {
attestationVerifierAddress: string | undefined;
name: string | undefined;
privateKey: string | undefined;
rpc: string;
};
}
-
enableAttestations: boolean
-
ethereum: {
attestationVerifierAddress: string | undefined;
name: string | undefined;
privateKey: string | undefined;
rpc: string;
}
-
attestationVerifierAddress: string | undefined
-
name: string | undefined
-
privateKey: string | undefined
-
rpc: string
-
-
-
-
name: string
-
pricing: {
[source: string]: {
endpoint: string;
endpointDefaults: string;
frequency: number;
};
}
-
[source: string]: {
endpoint: string;
endpointDefaults: string;
frequency: number;
}
-
endpoint: string
-
endpointDefaults: string
-
frequency: number
-
strategies: {
[targetId: string]: Strategy;
}
-
vendors: string[]
The configuration for the executor.
Example Configuration: