mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 21:41:12 +00:00
[contracts] Derive useful traits for public types (#14723)
* Types in the pallet * Primitives
This commit is contained in:
committed by
GitHub
parent
adb9f6d71a
commit
90270c91c3
@@ -346,7 +346,17 @@ pub trait Ext: sealing::Sealed {
|
||||
}
|
||||
|
||||
/// Describes the different functions that can be exported by an [`Executable`].
|
||||
#[derive(Clone, Copy, PartialEq, Eq, Debug)]
|
||||
#[derive(
|
||||
Copy,
|
||||
Clone,
|
||||
PartialEq,
|
||||
Eq,
|
||||
sp_core::RuntimeDebug,
|
||||
codec::Decode,
|
||||
codec::Encode,
|
||||
codec::MaxEncodedLen,
|
||||
scale_info::TypeInfo,
|
||||
)]
|
||||
pub enum ExportedFunction {
|
||||
/// The constructor function which is executed on deployment of a contract.
|
||||
Constructor,
|
||||
|
||||
Reference in New Issue
Block a user