shgraph.hapi.0.54.0.source-code.system_delete.proto Maven / Gradle / Ivy
The newest version!
syntax = "proto3";
package proto;
/*-
*
* Hedera Network Services Protobuf
*
* Copyright (C) 2018 - 2021 Hedera Hashgraph, LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
option java_package = "com.hederahashgraph.api.proto.java";
// <<>> This comment is special code for setting PBJ Compiler java package
option java_multiple_files = true;
import "basic_types.proto";
import "timestamp.proto";
/**
* Delete a file or smart contract - can only be done with a Hedera administrative multisignature.
* When it is deleted, it immediately disappears from the system as seen by the user, but is still
* stored internally until the expiration time, at which time it is truly and permanently deleted.
* Until that time, it can be undeleted by the Hedera administrative multisignature. When a smart
* contract is deleted, the cryptocurrency account within it continues to exist, and is not affected
* by the expiration time here.
*/
message SystemDeleteTransactionBody {
oneof id {
/**
* The file ID of the file to delete, in the format used in transactions
*/
FileID fileID = 1;
/**
* The contract ID instance to delete, in the format used in transactions
*/
ContractID contractID = 2;
}
/**
* The timestamp in seconds at which the "deleted" file should truly be permanently deleted
*/
TimestampSeconds expirationTime = 3;
}