Custom Protocol
Custom protocols allows you to add any functions that the standardized formatting of the other available options don't allow. Any functions that can be useful for this protocol can be implemented.
To create a custom protocol, make a custom.py
file in the directory of your
protocol and create a class that implements the CustomProtocolInterface
. From
there you only need to implement the __init__
and initialize
function using
the standardized format.
Functions
__init__(self, contracts: List[ContractInterface], tokens: List[TokenInterface], settings: dict, metric_helper: MetricHelperInterface)
initialize(self, agent_addresses: List[str])