Skip to content

Commit

Permalink
Upgrade to SDK version 1.5.0.
Browse files Browse the repository at this point in the history
New functions ([v] indicates test coverage):

[v] net.fetch_endpoints
[v] net.set_endpoints

+ Module error code enums.
+ TonUtil utility class containing two methods ATM: `LoadAbi` and `LoadTvc`.
+ `JsonExtensions` containing `ToJson` extension method to construct `JToken`'s from anonymous types (the recommended way).

TODO:

1. Get rid of `Newtonsoft.Json` dependency (maybe). Currently it's only used because it provides a useful API for selecting
   data from the arbitrary-typed objects (JToken) returned by the SDK. While `System.Text.Json` still lacks support of
   dynamic type objects dotnet/runtime#29690.
2. More examples.
  • Loading branch information
andy-a-o committed Dec 26, 2020
1 parent 7d2bb47 commit cf7184a
Show file tree
Hide file tree
Showing 27 changed files with 1,421 additions and 180 deletions.
13 changes: 12 additions & 1 deletion generator/api.index.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
1.4.0
1.5.0
TYPES
client.ClientErrorCode
client.ClientError
client.ClientConfig
client.NetworkConfig
Expand All @@ -12,6 +13,7 @@ client.ResultOfGetApiReference
client.ResultOfVersion
client.ResultOfBuildInfo
client.ParamsOfResolveAppRequest
crypto.CryptoErrorCode
crypto.SigningBoxHandle
crypto.ParamsOfFactorize
crypto.ResultOfFactorize
Expand Down Expand Up @@ -72,6 +74,7 @@ crypto.ResultOfAppSigningBox
crypto.ResultOfSigningBoxGetPublicKey
crypto.ParamsOfSigningBoxSign
crypto.ResultOfSigningBoxSign
abi.AbiErrorCode
abi.Abi
abi.AbiHandle
abi.FunctionHeader
Expand Down Expand Up @@ -100,6 +103,7 @@ abi.DecodedMessageBody
abi.ParamsOfDecodeMessageBody
abi.ParamsOfEncodeAccount
abi.ResultOfEncodeAccount
boc.BocErrorCode
boc.ParamsOfParse
boc.ResultOfParse
boc.ParamsOfParseShardstate
Expand All @@ -109,6 +113,7 @@ boc.ParamsOfGetBocHash
boc.ResultOfGetBocHash
boc.ParamsOfGetCodeFromTvc
boc.ResultOfGetCodeFromTvc
processing.ProcessingErrorCode
processing.ProcessingEvent
processing.ResultOfProcessMessage
processing.DecodedOutput
Expand All @@ -119,6 +124,7 @@ processing.ParamsOfProcessMessage
utils.AddressStringFormat
utils.ParamsOfConvertAddress
utils.ResultOfConvertAddress
tvm.TvmErrorCode
tvm.ExecutionOptions
tvm.AccountForExecutor
tvm.TransactionFees
Expand All @@ -128,6 +134,7 @@ tvm.ParamsOfRunTvm
tvm.ResultOfRunTvm
tvm.ParamsOfRunGet
tvm.ResultOfRunGet
net.NetErrorCode
net.OrderBy
net.SortDirection
net.ParamsOfQuery
Expand All @@ -140,6 +147,8 @@ net.ResultOfSubscribeCollection
net.ParamsOfSubscribeCollection
net.ParamsOfFindLastShardBlock
net.ResultOfFindLastShardBlock
net.EndpointsSet
debot.DebotErrorCode
debot.DebotHandle
debot.DebotAction
debot.ParamsOfStart
Expand Down Expand Up @@ -220,6 +229,8 @@ net.subscribe_collection
net.suspend
net.resume
net.find_last_shard_block
net.fetch_endpoints
net.set_endpoints
debot.start
debot.fetch
debot.execute
Expand Down
Loading

0 comments on commit cf7184a

Please sign in to comment.