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
| Name | Type | Description |
|---|---|---|
policy | address | |
tenorMarketId | bytes32 | |
points | IMarketMakingPolicy.CurvePoint[] |
marketMakingClearCurve
Deletes the curve for tenorMarketId on policy on behalf of the initiator.
function marketMakingClearCurve(address policy, bytes32 tenorMarketId) external onlyBundler3;
Parameters
| Name | Type | Description |
|---|---|---|
policy | address | |
tenorMarketId | bytes32 |