File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
/*!
2
2
CW22 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
4
4
be merged into CW2: Contract Info, then it is splitted to a separated cargo to keep CW2
5
- being backward compatible.
5
+ being backward compatible.
6
6
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
8
8
and a specific release of the package. There is also a function to check whether the contract
9
9
support a specific version of an interface or not.
10
10
11
11
The version string for each interface follows Semantic Versioning standard. More info is in:
12
12
https://docs.rs/semver/latest/semver/
13
- */
13
+ */
14
14
15
15
mod query;
16
16
@@ -38,7 +38,7 @@ pub struct ContractSupportedInterface {
38
38
pub version : String ,
39
39
}
40
40
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
42
42
/// of supported interfaces. It should also be used after every migration.
43
43
pub fn set_contract_supported_interface (
44
44
store : & mut dyn Storage ,
You can’t perform that action at this time.
0 commit comments