Dynamic primitives
This primitive allows registering new extensions in runtime, without changing the configuration files. These are triggered by a generic smart contract event. A use-case for this would be a factory contract.
Currently the dynamic extensions can be one of:
Configuration
ERC721 example
# extensions.yaml
extensions:
- name: "Dynamic erc721"
type: "dynamic-primitive"
startBlockHeight: 100
contractAddress: "0x5FbDB2315678afecb367f032d93F642f64180aa3"
eventSignature: "ERC721Created(address)"
abiPath: "./FactoryERC721.json"
targetConfig:
type: "erc721"
scheduledPrefix: "nft"
burnScheduledPrefix: "nftburn"
dynamicFields:
contractAddress: nftAddress