Helpers

BalanceHelper

It provides a utility function to batch requests to check the balances and allowances of a user for a given list of ERC20 tokens.

PayoutHelper

It provides a utility function to query the execution payout of a given derivative recipe with different results.

HasCommission

It provides a set of functions that can be implemented by a derivative recipe contract in order to query and set the data related to the commission that the derivative recipe’s author should receive.

ExecutableByThirdParty

It provides a set of functions that can be implemented by a derivative recipe contract in order to allow a third-party to request its execution after maturity and to query whether the third party execution has already been allowed.
Last modified 1mo ago