CW22 Spec: Contract Info
The standard used to declare which interface contract implements. This standard is inspired by the EIP-165 from Ethereum.
For more information on this specification, please check out the README.
Data structures
Required
All CW22-compliant contracts must store the following data:
- key:
contract_supported_interface - data: Json-serialized
ContractSupportedInterface
Below is an example used in cw20 contract, where we declare to implement cw20 interface with version 0.16.0 at instantiate:
use ;