-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmonero_transfer.pyi
More file actions
34 lines (30 loc) · 964 Bytes
/
monero_transfer.pyi
File metadata and controls
34 lines (30 loc) · 964 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
from .monero_tx_wallet import MoneroTxWallet
class MoneroTransfer:
"""
Models a base transfer of funds to or from the wallet.
"""
account_index: int | None
"""Index of the account related to this transfer."""
amount: int | None
"""Transfer amount in atomic-units."""
tx: MoneroTxWallet
"""Related wallet transaction."""
def __init__(self) -> None:
"""Initialize a Monero transfer."""
...
def copy(self) -> MoneroTransfer:
...
def is_incoming(self) -> bool | None:
"""
Indicates if it is an incoming transfer (`True`) or not (`False`). Default `None`.
:return Optional[bool]:
"""
...
def is_outgoing(self) -> bool | None:
"""
Indicates if it is an outgoing transfer (`True`) or not (`False`). Default `None`.
:return Optional[bool]:
"""
...
def merge(self, other: MoneroTransfer) -> None:
...