Skip to content

v2.21.0

Choose a tag to compare

@DZakh DZakh released this 19 May 15:44
8afb15b

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);
  }
});

By @DZakh in #535

Support for accessList and EIP7702 authorizationList fields in EVM transaction 🧬

By @JasoonS in #531

Full Changelog: v2.20.1...v2.21.0