Skip to content

Commit

Permalink
Merge pull request #114 from ArcBlock/update-protobuf
Browse files Browse the repository at this point in the history
chore: update protobuf
  • Loading branch information
karthuszY authored Feb 21, 2023
2 parents 3b3e17a + 8f0cc16 commit f88d003
Show file tree
Hide file tree
Showing 15 changed files with 1,551 additions and 609 deletions.
2 changes: 1 addition & 1 deletion .jazzy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ github_url: https://github.com/ArcBlock/arcblock-ios-sdk
github_file_prefix: https://github.com/ArcBlock/arcblock-ios-sdk/tree/master
exclude:
- ArcBlockSDK/ABSDKCoreKit/Network/ABSDKPagination.swift
module_version: 0.11.37
module_version: 0.11.38
2 changes: 1 addition & 1 deletion ArcBlockSDK.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'ArcBlockSDK'
s.version = '0.11.37'
s.version = '0.11.38'
s.summary = 'Used to integrate iOS apps with ArcBlock Platform.'

# This description is used to generate tags and improve search results.
Expand Down
528 changes: 388 additions & 140 deletions ArcBlockSDK/ABSDKCoreKit/ABSDKWalletKit/protobuf/rpc.pb.swift

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions ArcBlockSDK/ABSDKCoreKit/ABSDKWalletKit/protobuf/rpc.proto
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ message ResponseListAssets {
message RequestListTopAccounts {
Page paging = 1;
string tokenAddress = 2;
TimeFilter time_filter = 3;
}
message ResponseListTopAccounts {
StatusCode code = 1;
Expand Down Expand Up @@ -187,6 +188,7 @@ message ResponseGetTokenState {
message RequestListTokens {
Page paging = 1;
string issuer_address = 2;
TimeFilter time_filter = 3;
}
message ResponseListTokens {
StatusCode code = 1;
Expand All @@ -203,6 +205,7 @@ message RequestListFactories {
Page paging = 1;
string owner_address = 2;
repeated string address_list = 3;
TimeFilter time_filter = 4;
}
message ResponseListFactories {
StatusCode code = 1;
Expand Down Expand Up @@ -247,6 +250,7 @@ message RequestListRollups {
Page paging = 1;
string token_address = 2;
string foreign_token_address = 3; // same as erc20_token_address
TimeFilter time_filter = 4;
}
message ResponseListRollups {
StatusCode code = 1;
Expand Down
13 changes: 10 additions & 3 deletions ArcBlockSDK/ABSDKCoreKit/ABSDKWalletKit/protobuf/service.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ type RootQueryType {
proposer: String
timeFilter: TimeFilterInput
): ResponseListBlocks
listTopAccounts(paging: PageInput, tokenAddress: String): ResponseListTopAccounts
listTopAccounts(paging: PageInput, tokenAddress: String, timeFilter: TimeFilterInput): ResponseListTopAccounts
listTransactions(
addressFilter: AddressFilterInput
paging: PageInput
Expand All @@ -89,8 +89,13 @@ type RootQueryType {
): ResponseListTransactions

# since 1.7.0
listTokens(issuerAddress: String, paging: PageInput): ResponseListTokens
listFactories(ownerAddress: String, addressList: [String], paging: PageInput): ResponseListFactories
listTokens(issuerAddress: String, paging: PageInput, timeFilter: TimeFilterInput): ResponseListTokens
listFactories(
ownerAddress: String
addressList: [String]
paging: PageInput
timeFilter: TimeFilterInput
): ResponseListFactories

# since v1.8.3
getAccountTokens(address: String, token: String): ResponseGetAccountTokens
Expand All @@ -110,6 +115,7 @@ type RootQueryType {
tokenAddress: String
erc20TokenAddress: String
foreignTokenAddress: String
timeFilter: TimeFilterInput
): ResponseListRollups
getRollupBlock(hash: String, height: String, rollupAddress: String): ResponseGetRollupBlock
listRollupBlocks(
Expand All @@ -119,6 +125,7 @@ type RootQueryType {
proposer: String
validatorFilter: ValidatorFilterInput
txFilter: TxFilterInput
timeFilter: TimeFilterInput
): ResponseListRollupBlocks
listRollupValidators(paging: PageInput, rollupAddress: String): ResponseListRollupValidators

Expand Down
Loading

0 comments on commit f88d003

Please sign in to comment.