Implements SIP-4 / SEP-46 contract metadata standard for the RWA Marketplace contract.
- Added
contractmeta!()macro entries embedded in thecontractmetav0Wasm section:name:RWA Marketplaceversion:0.2.0description:Tokenized Fractional RWA Marketplacesep:41(token interface compliance)
- Defined
ContractMetadatastruct withname,version, anddescriptionfields (#[contracttype]) - Added
ContractMetadatavariant toDataKeyenum - Metadata is stored in instance storage during
init() - Added public
get_contract_metadata()query function
test_get_contract_metadata_returns_expected_values— validates name, version, descriptiontest_get_contract_metadata_before_init_panics— confirms panic on uninitialized read
- Updated
docs/architecture.mdwith SIP-4 section, Wasm entries table, and data type reference
closes #168