Function pallet_collective_content::pallet::dispatchables::announce
source · pub fn announce<T: Config<I>, I: 'static>(
cid: OpaqueCid,
maybe_expire: Option<DispatchTime<BlockNumberFor<T>>>,
)
Expand description
Publish an announcement.
Parameters:
origin
: Must be the Config::AnnouncementOrigin.cid
: CID of the IPFS document to announce.maybe_expire
: Expiration block of the announcement. IfNone
Config::AnnouncementLifetime
used as a default.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::announce
.