Skip to content

pvptradeorg/exchange-fee-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Polymarket CTF Exchange Fee Module

The FeeModule contract proxies the Exchange's matchOrders function and refunds orders' fees if they are charged more than the operator's intent.

Functions

The contract exposes a single main entry point:

function matchOrders(
    Order memory takerOrder,
    Order[] memory makerOrders,
    uint256 takerFillAmount,
    uint256[] memory makerFillAmounts,
    uint256 takerFeeAmount,
    uint256[] memory makerFeeAmounts
) external;

About

Enables dynamic fees on Exchange

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors