Skip to main content

MarketMakingPolicyAdapterBase

Git Source - Generated with forge doc

Inherits: CoreAdapter, IMarketMakingPolicyAdapter

Title: MarketMakingPolicyAdapterBase

Bundler3 adapter for market making curve config. Pins onBehalf to initiator().

Functions​

marketMakingSetCurve​

Overwrites the curve for tenorMarketId on policy on behalf of the initiator.

function marketMakingSetCurve(
address policy,
bytes32 tenorMarketId,
IMarketMakingPolicy.CurvePoint[] calldata points
) external onlyBundler3;

Parameters

NameTypeDescription
policyaddress
tenorMarketIdbytes32
pointsIMarketMakingPolicy.CurvePoint[]

marketMakingClearCurve​

Deletes the curve for tenorMarketId on policy on behalf of the initiator.

function marketMakingClearCurve(address policy, bytes32 tenorMarketId) external onlyBundler3;

Parameters

NameTypeDescription
policyaddress
tenorMarketIdbytes32