v2.21.0
Async Contract Registrer 🌊
Starting from version 2.21, you can use async contract registration.
This is a unique feature of Envio that allows you to perform an external call to determine the address of the contract to register.
NftFactory.SimpleNftCreated.contractRegister(async ({ event, context }) => {
const version = await getContractVersion(event.params.contractAddress);
if (version === "v2") {
context.addSimpleNftV2(event.params.contractAddress);
} else {
context.addSimpleNft(event.params.contractAddress);
}
});Support for accessList and EIP7702 authorizationList fields in EVM transaction 🧬
Full Changelog: v2.20.1...v2.21.0