forked from trustwallet/wallet-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTWNEARAccount.h
More file actions
28 lines (20 loc) · 785 Bytes
/
Copy pathTWNEARAccount.h
File metadata and controls
28 lines (20 loc) · 785 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
// Copyright © 2017-2020 Trust Wallet.
//
// This file is part of Trust. The full Trust copyright notice, including
// terms governing use, modification, and redistribution, is contained in the
// file LICENSE at the root of the source code distribution tree.
#pragma once
#include "TWBase.h"
#include "TWString.h"
TW_EXTERN_C_BEGIN
/// Represents a NEAR Account name
TW_EXPORT_CLASS
struct TWNEARAccount;
TW_EXPORT_STATIC_METHOD
struct TWNEARAccount *_Nullable TWNEARAccountCreateWithString(TWString *_Nonnull string);
TW_EXPORT_METHOD
void TWNEARAccountDelete(struct TWNEARAccount *_Nonnull account);
/// Returns the user friendly string representation.
TW_EXPORT_PROPERTY
TWString *_Nonnull TWNEARAccountDescription(struct TWNEARAccount *_Nonnull account);
TW_EXTERN_C_END