Skip to content

Commit

Permalink
Merge pull request #29 from GincoInc/update-protobuf
Browse files Browse the repository at this point in the history
👍 Update: protobuf v1.110.10
  • Loading branch information
R-Yoshi0701 authored Jul 25, 2024
2 parents 6248f14 + a8be2e5 commit 127c9b4
Show file tree
Hide file tree
Showing 22 changed files with 9,022 additions and 3,115 deletions.
11 changes: 11 additions & 0 deletions gen/gincoinc/adamant/global/v1/adamantglobalv1/enum_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,17 @@ export enum EthereumContractMethodIDType {
ETHEREUM_CONTRACT_METHOD_ID_TYPE_INVALID = 0,
ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_APPROVE = 1,
ETHEREUM_CONTRACT_METHOD_ID_TYPE_UNISWAP_MULTICALL = 2,
ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_INITIALIZE = 3,
ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_CONFIGURE_MINTER = 4,
ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_MINT_AND_TRANSFER = 5,
ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_MINT = 6,
ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_BURN = 7,
ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_BULK_UPDATE_TO_WHITELIST = 8,
ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_BULK_UPDATE_TO_UNSET = 9,
ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_BULK_UPDATE_TO_BLACKLIST = 10,
ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_CONFISCATE = 11,
ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_PAUSE = 12,
ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_UNPAUSE = 13,
}

export enum IOSTActionType {
Expand Down
13 changes: 12 additions & 1 deletion gen/gincoinc/adamant/global/v1/adamantglobalv1/enum_pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,18 @@ proto.adamant.global.v1.WalletConnectCallRequestType = {
proto.adamant.global.v1.EthereumContractMethodIDType = {
ETHEREUM_CONTRACT_METHOD_ID_TYPE_INVALID: 0,
ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_APPROVE: 1,
ETHEREUM_CONTRACT_METHOD_ID_TYPE_UNISWAP_MULTICALL: 2
ETHEREUM_CONTRACT_METHOD_ID_TYPE_UNISWAP_MULTICALL: 2,
ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_INITIALIZE: 3,
ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_CONFIGURE_MINTER: 4,
ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_MINT_AND_TRANSFER: 5,
ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_MINT: 6,
ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_BURN: 7,
ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_BULK_UPDATE_TO_WHITELIST: 8,
ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_BULK_UPDATE_TO_UNSET: 9,
ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_BULK_UPDATE_TO_BLACKLIST: 10,
ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_CONFISCATE: 11,
ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_PAUSE: 12,
ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_UNPAUSE: 13
};

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ interface IGlobalAPIService extends grpc.ServiceDefinition<grpc.UntypedServiceIm
getTransactionByTxID: IGlobalAPIService_IGetTransactionByTxID;
listTransactions: IGlobalAPIService_IListTransactions;
listTransactionsByFilter: IGlobalAPIService_IListTransactionsByFilter;
listUnconfirmedTransactionsByFilter: IGlobalAPIService_IListUnconfirmedTransactionsByFilter;
getSignInfo: IGlobalAPIService_IGetSignInfo;
listSignInfo: IGlobalAPIService_IListSignInfo;
listXRPInitSignInfo: IGlobalAPIService_IListXRPInitSignInfo;
Expand Down Expand Up @@ -650,6 +651,15 @@ interface IGlobalAPIService_IListTransactionsByFilter extends grpc.MethodDefinit
responseSerialize: grpc.serialize<gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransactionsResponse>;
responseDeserialize: grpc.deserialize<gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransactionsResponse>;
}
interface IGlobalAPIService_IListUnconfirmedTransactionsByFilter extends grpc.MethodDefinition<gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsByFilterRequest, gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsResponse> {
path: "/adamant.global.v1.GlobalAPI/ListUnconfirmedTransactionsByFilter";
requestStream: false;
responseStream: false;
requestSerialize: grpc.serialize<gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsByFilterRequest>;
requestDeserialize: grpc.deserialize<gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsByFilterRequest>;
responseSerialize: grpc.serialize<gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsResponse>;
responseDeserialize: grpc.deserialize<gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsResponse>;
}
interface IGlobalAPIService_IGetSignInfo extends grpc.MethodDefinition<gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.GetSignInfoRequest, gincoinc_adamant_global_v1_adamantglobalv1_model_pb.SignInfo> {
path: "/adamant.global.v1.GlobalAPI/GetSignInfo";
requestStream: false;
Expand Down Expand Up @@ -1189,6 +1199,7 @@ export interface IGlobalAPIServer {
getTransactionByTxID: grpc.handleUnaryCall<gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.GetTransactionByTxIDRequest, gincoinc_adamant_global_v1_adamantglobalv1_model_pb.Transaction>;
listTransactions: grpc.handleUnaryCall<gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransactionsRequest, gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransactionsResponse>;
listTransactionsByFilter: grpc.handleUnaryCall<gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransactionsByFilterRequest, gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransactionsResponse>;
listUnconfirmedTransactionsByFilter: grpc.handleUnaryCall<gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsByFilterRequest, gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsResponse>;
getSignInfo: grpc.handleUnaryCall<gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.GetSignInfoRequest, gincoinc_adamant_global_v1_adamantglobalv1_model_pb.SignInfo>;
listSignInfo: grpc.handleUnaryCall<gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListSignInfoRequest, gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListSignInfoResponse>;
listXRPInitSignInfo: grpc.handleUnaryCall<gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListXRPInitSignInfoRequest, gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListXRPInitSignInfoResponse>;
Expand Down Expand Up @@ -1419,6 +1430,9 @@ export interface IGlobalAPIClient {
listTransactionsByFilter(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransactionsByFilterRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransactionsResponse) => void): grpc.ClientUnaryCall;
listTransactionsByFilter(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransactionsByFilterRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransactionsResponse) => void): grpc.ClientUnaryCall;
listTransactionsByFilter(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransactionsByFilterRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransactionsResponse) => void): grpc.ClientUnaryCall;
listUnconfirmedTransactionsByFilter(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsByFilterRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsResponse) => void): grpc.ClientUnaryCall;
listUnconfirmedTransactionsByFilter(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsByFilterRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsResponse) => void): grpc.ClientUnaryCall;
listUnconfirmedTransactionsByFilter(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsByFilterRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsResponse) => void): grpc.ClientUnaryCall;
getSignInfo(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.GetSignInfoRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_model_pb.SignInfo) => void): grpc.ClientUnaryCall;
getSignInfo(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.GetSignInfoRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_model_pb.SignInfo) => void): grpc.ClientUnaryCall;
getSignInfo(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.GetSignInfoRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_model_pb.SignInfo) => void): grpc.ClientUnaryCall;
Expand Down Expand Up @@ -1756,6 +1770,9 @@ export class GlobalAPIClient extends grpc.Client implements IGlobalAPIClient {
public listTransactionsByFilter(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransactionsByFilterRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransactionsResponse) => void): grpc.ClientUnaryCall;
public listTransactionsByFilter(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransactionsByFilterRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransactionsResponse) => void): grpc.ClientUnaryCall;
public listTransactionsByFilter(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransactionsByFilterRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransactionsResponse) => void): grpc.ClientUnaryCall;
public listUnconfirmedTransactionsByFilter(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsByFilterRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsResponse) => void): grpc.ClientUnaryCall;
public listUnconfirmedTransactionsByFilter(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsByFilterRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsResponse) => void): grpc.ClientUnaryCall;
public listUnconfirmedTransactionsByFilter(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsByFilterRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsResponse) => void): grpc.ClientUnaryCall;
public getSignInfo(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.GetSignInfoRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_model_pb.SignInfo) => void): grpc.ClientUnaryCall;
public getSignInfo(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.GetSignInfoRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_model_pb.SignInfo) => void): grpc.ClientUnaryCall;
public getSignInfo(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.GetSignInfoRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_model_pb.SignInfo) => void): grpc.ClientUnaryCall;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1320,6 +1320,28 @@ function deserialize_adamant_global_v1_ListTransfersResponse(buffer_arg) {
return gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransfersResponse.deserializeBinary(new Uint8Array(buffer_arg));
}

function serialize_adamant_global_v1_ListUnconfirmedTransactionsByFilterRequest(arg) {
if (!(arg instanceof gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsByFilterRequest)) {
throw new Error('Expected argument of type adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest');
}
return Buffer.from(arg.serializeBinary());
}

function deserialize_adamant_global_v1_ListUnconfirmedTransactionsByFilterRequest(buffer_arg) {
return gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsByFilterRequest.deserializeBinary(new Uint8Array(buffer_arg));
}

function serialize_adamant_global_v1_ListUnconfirmedTransactionsResponse(arg) {
if (!(arg instanceof gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsResponse)) {
throw new Error('Expected argument of type adamant.global.v1.ListUnconfirmedTransactionsResponse');
}
return Buffer.from(arg.serializeBinary());
}

function deserialize_adamant_global_v1_ListUnconfirmedTransactionsResponse(buffer_arg) {
return gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsResponse.deserializeBinary(new Uint8Array(buffer_arg));
}

function serialize_adamant_global_v1_ListWalletGroupsRequest(arg) {
if (!(arg instanceof gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListWalletGroupsRequest)) {
throw new Error('Expected argument of type adamant.global.v1.ListWalletGroupsRequest');
Expand Down Expand Up @@ -2655,6 +2677,18 @@ createTransaction: {
responseSerialize: serialize_adamant_global_v1_ListTransactionsResponse,
responseDeserialize: deserialize_adamant_global_v1_ListTransactionsResponse,
},
// UnconfirmedTransaction
listUnconfirmedTransactionsByFilter: {
path: '/adamant.global.v1.GlobalAPI/ListUnconfirmedTransactionsByFilter',
requestStream: false,
responseStream: false,
requestType: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsByFilterRequest,
responseType: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsResponse,
requestSerialize: serialize_adamant_global_v1_ListUnconfirmedTransactionsByFilterRequest,
requestDeserialize: deserialize_adamant_global_v1_ListUnconfirmedTransactionsByFilterRequest,
responseSerialize: serialize_adamant_global_v1_ListUnconfirmedTransactionsResponse,
responseDeserialize: deserialize_adamant_global_v1_ListUnconfirmedTransactionsResponse,
},
// SignInfo
getSignInfo: {
path: '/adamant.global.v1.GlobalAPI/GetSignInfo',
Expand Down
Loading

0 comments on commit 127c9b4

Please sign in to comment.