settle funding
Funding payments occur on an interval to incentivise traders to pick converging positions. the payment is settled between longs and shorts depending on the funding rate and direction.
The funding settlement function can be called by anyone
function settleFunding(address amm) external;
params
amm
amm address