Skip to content

Commit

Permalink
fix: storage withdraw integration method type
Browse files Browse the repository at this point in the history
  • Loading branch information
VladasZ committed Apr 2, 2024
1 parent 2c5b095 commit 486695f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions model/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use near_contract_standards::storage_management::{StorageBalance, StorageBalance
use near_sdk::AccountId;
use near_sdk::{
json_types::{U128, U64},
PromiseOrValue,
NearToken, PromiseOrValue,
};
#[cfg(feature = "integration-api")]
use nitka::AccountId;
Expand Down Expand Up @@ -73,7 +73,7 @@ pub trait StorageManagement {
/// function-call access-key call (UX wallet security)
///
/// Returns the StorageBalance structure showing updated balances.
fn storage_withdraw(&mut self, amount: Option<U128>) -> StorageBalance;
fn storage_withdraw(&mut self, amount: Option<NearToken>) -> StorageBalance;

/// Unregisters the predecessor account and returns the storage NEAR deposit back.
///
Expand Down

0 comments on commit 486695f

Please sign in to comment.