You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Chains <see cref="LoadDict"/> and <see cref="ParseDictRef"/> calls and returns actual dict with data.
75
+
/// </summary>
76
+
/// <remarks>
77
+
/// Sometimes <see href="https://github.com/ton-blockchain/dns-contract/blob/main/func/nft-item.fc#L21">arbitrary cells are stored using store_dict()</see>, so not every <see cref="LoadDict"/> result should be parsed.
78
+
/// </remarks>
79
+
/// <exception cref="InvalidOperationException">Dictionary is empty</exception>
/// Parses dictionary from Cell (previously loaded by <see cref="LoadDict(Slice)"/>).
101
+
/// Chains <see cref="TryLoadDict"/> and <see cref="ParseDictRef"/> calls and returns actual dict with data (or null).
102
+
/// </summary>
103
+
/// <remarks>
104
+
/// Sometimes <see href="https://github.com/ton-blockchain/dns-contract/blob/main/func/nft-item.fc#L21">arbitrary cells are stored using store_dict()</see>, so not every <see cref="TryLoadDict"/> result should be parsed.
@@ -112,6 +139,31 @@ public static Dictionary<TKey, TValue> ParseDict<TKey, TValue>(this Cell cell, i
112
139
comparer);
113
140
}
114
141
142
+
/// <summary>
143
+
/// Parses dictionary from Cell (previously loaded by <see cref="LoadDict(Slice)"/>) where values are <see cref="Cell">Cells</see> (stored using dict_set_ref in FunC).
0 commit comments