Type Alias: OracleSettlementConfig
type OracleSettlementConfig = object;
Defined in: evm-client/src/settlement-layer.ts:508
Decoded EvmChainlinkLayer config, mirroring the contract's
ChainlinkSettlementConfig: the two assets, the feed each is priced off, and
the settlement policy. Every field is a constructor argument, so all of it
lands in the layer's address — the address alone says exactly which assets
settle against which feeds under which policy.
Assets are canonical slots, as core names them everywhere; the feeds are addresses, since a feed proxy never appears in core's canonical form.
The layer also exposes the asset and feed decimals() it cached at
construction. They are derived from the fields above rather than chosen, so
they are left out here and this shape round-trips through
EvmChainlinkLayer.createConfig verbatim.
Properties
collateralAsset
collateralAsset: Bytes32;
Defined in: evm-client/src/settlement-layer.ts:510
collateralFeed
collateralFeed: Address;
Defined in: evm-client/src/settlement-layer.ts:513
Chainlink Data Feed proxy for the collateral leg, quoting in USD.
collMaxStalenessSecs
collMaxStalenessSecs: number;
Defined in: evm-client/src/settlement-layer.ts:517
How old the collateral feed's latest round may be at exercise time.
exerciseMode
exerciseMode: ExerciseMode;
Defined in: evm-client/src/settlement-layer.ts:522
intrinsicResolution
intrinsicResolution: boolean;
Defined in: evm-client/src/settlement-layer.ts:521
true = cash-settled (intrinsic value); false = physical delivery.
kind
kind: "oracle";
Defined in: evm-client/src/settlement-layer.ts:509
settlementAsset
settlementAsset: Bytes32;
Defined in: evm-client/src/settlement-layer.ts:511
settlementFeed
settlementFeed: Address;
Defined in: evm-client/src/settlement-layer.ts:515
Chainlink Data Feed proxy for the settlement leg, in the same currency.
settMaxStalenessSecs
settMaxStalenessSecs: number;
Defined in: evm-client/src/settlement-layer.ts:519
How old the settlement feed's latest round may be at exercise time.