diff --git a/vm/types/src/account_config/resources/withdraw_capability.rs b/vm/types/src/account_config/resources/withdraw_capability.rs deleted file mode 100644 index d5fff4ea3d..0000000000 --- a/vm/types/src/account_config/resources/withdraw_capability.rs +++ /dev/null @@ -1,26 +0,0 @@ -// Copyright (c) The Diem Core Contributors -// SPDX-License-Identifier: Apache-2.0 - -use crate::{account_address::AccountAddress, account_config::constants::ACCOUNT_MODULE_NAME}; -use move_core_types::ident_str; -use move_core_types::identifier::IdentStr; -use move_core_types::move_resource::{MoveResource, MoveStructType}; -use serde::{Deserialize, Serialize}; - -#[derive(Debug, Serialize, Deserialize)] -pub struct WithdrawCapabilityResource { - account_address: AccountAddress, -} - -impl WithdrawCapabilityResource { - pub fn account_address(&self) -> &AccountAddress { - &self.account_address - } -} - -impl MoveStructType for WithdrawCapabilityResource { - const MODULE_NAME: &'static IdentStr = ident_str!(ACCOUNT_MODULE_NAME); - const STRUCT_NAME: &'static IdentStr = ident_str!("WithdrawCapability"); -} - -impl MoveResource for WithdrawCapabilityResource {}