-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmonero_destination.pyi
More file actions
37 lines (33 loc) · 997 Bytes
/
monero_destination.pyi
File metadata and controls
37 lines (33 loc) · 997 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
35
36
37
import typing
class MoneroDestination:
"""
Models an outgoing transfer destination.
"""
address: str | None
"""Address of the receiver."""
amount: int | None
"""Amount sent to this destination."""
@typing.overload
def __init__(self) -> None:
"""Initialize a Monero outgoing transfer destination."""
...
@typing.overload
def __init__(self, address: str) -> None:
"""
Initialize a Monero outgoing transfer destination.
:param str address: Address of the destination.
"""
...
@typing.overload
def __init__(self, address: str, amount: int) -> None:
"""
Initialize a Monero outgoing transfer destination.
:param str address: Address of the destination.
:param int amount: Amount sent to the destination.
"""
...
def copy(self) -> MoneroDestination:
"""
Copy a Monero outgoing transfer destination.
"""
...