File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 11/*!
22CW22 defines a way for a contract to declare which interfaces do the contract implement
3- This standard is inspired by the EIP-165 from Ethereum. Originally it was proposed to
3+ This standard is inspired by the EIP-165 from Ethereum. Originally it was proposed to
44be merged into CW2: Contract Info, then it is splitted to a separated cargo to keep CW2
5- being backward compatible.
5+ being backward compatible.
66
7- Each supported interface contains a string value pointing to the corresponding cargo package
7+ Each supported interface contains a string value pointing to the corresponding cargo package
88and a specific release of the package. There is also a function to check whether the contract
99support a specific version of an interface or not.
1010
1111The version string for each interface follows Semantic Versioning standard. More info is in:
1212https://docs.rs/semver/latest/semver/
13- */
13+ */
1414
1515mod query;
1616
@@ -38,7 +38,7 @@ pub struct ContractSupportedInterface {
3838 pub version : String ,
3939}
4040
41- /// set_contract_supported_interface should be used in instantiate to store the original version
41+ /// set_contract_supported_interface should be used in instantiate to store the original version
4242/// of supported interfaces. It should also be used after every migration.
4343pub fn set_contract_supported_interface (
4444 store : & mut dyn Storage ,
You can’t perform that action at this time.
0 commit comments