Base Transformer
BaseTransformer is an abstract contract that will standardize and extend useful features while inheriting the interface ITransformer.
Some of the features implemented are:
ERC165: Declares support of contract interfaces (such as ITransformer, Multicall, Governable, etc.), which can then be queried by others.
Multicall support: Provides a function to batch together multiple calls in a single external call, allowing multiple actions to be taken in one transaction.
Governable: Similar to Ownable by Open Zeppelin, but transferring ownerships requires new owner to accept pending transfer of ownership.
CollectableDust: Transformer contracts should never hold any token balance or native protocol assets. CollectableDust lets governors sweep any unintended tokens or native protocol assets on the contract.
Last updated
Was this helpful?