Balmy
Transformers
Transformers
  • Transformers
  • Architecture
    • Transformer
    • Base Transformer
    • Transformers
      • Protocol Token Wrapper
      • ERC4626
        • AaveV3
        • AaveV2
        • Beefy
      • Transformer Registry
  • Tech Guides
    • Interacting with the transformers
    • Smart Contract Registry
    • Github
Powered by GitBook
On this page

Was this helpful?

  1. Architecture

Base Transformer

PreviousTransformerNextTransformers

Last updated 2 years ago

Was this helpful?

is an abstract contract that will standardize and extend useful features while inheriting the interface .

Some of the features implemented are:

  • : Declares support of contract interfaces (such as ITransformer, Multicall, Governable, etc.), which can then be queried by others.

  • support: Provides a function to batch together multiple calls in a single external call, allowing multiple actions to be taken in one transaction.

  • : Similar to by Open Zeppelin, but transferring ownerships requires new owner to accept pending transfer of ownership.

  • : 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.

BaseTransformer
ITransformer
ERC165
Multicall
Governable
Ownable
CollectableDust