mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-26 05:35:03 +00:00
AccountTouch: deposit_required requires asset id (#14147)
This commit is contained in:
1 parent
f7bd1f0713
commit
0a105eed6f
2 files changed
+3
-3
No files matched your search
@@ -1160,8 +1160,8 @@ pub trait AccountTouch<AssetId, AccountId> {
|
||||
/// The type for currency units of the deposit.
|
||||
type Balance;
|
||||
|
||||
/// The deposit amount of a native currency required for creating an asset account.
|
||||
fn deposit_required() -> Self::Balance;
|
||||
/// The deposit amount of a native currency required for creating an account of the `asset`.
|
||||
fn deposit_required(asset: AssetId) -> Self::Balance;
|
||||
|
||||
/// Create an account for `who` of the `asset` with a deposit taken from the `depositor`.
|
||||
fn touch(asset: AssetId, who: AccountId, depositor: AccountId) -> DispatchResult;
|
||||
|
||||
Reference in new issue
Block a user