Type Alias pallet_contracts::CodeUploadResult
source · pub type CodeUploadResult<CodeHash, Balance> = Result<CodeUploadReturnValue<CodeHash, Balance>, DispatchError>;
Expand description
Result type of a bare_code_upload
call.
Aliased Type§
enum CodeUploadResult<CodeHash, Balance> {
Ok(CodeUploadReturnValue<CodeHash, Balance>),
Err(DispatchError),
}
Variants§
Ok(CodeUploadReturnValue<CodeHash, Balance>)
Contains the success value
Err(DispatchError)
Contains the error value