Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@injectivelabs/mito-proto-ts

Package Overview
Dependencies
Maintainers
10
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@injectivelabs/mito-proto-ts - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

64

cjs/goadesign_goagen_mito_api.d.ts

@@ -134,2 +134,30 @@ import { grpc } from "@injectivelabs/grpc-web";

}
export interface TransfersHistoryRequest {
vault?: string | undefined;
account?: string | undefined;
pageSize?: string | undefined;
fromNumber?: string | undefined;
toNumber?: string | undefined;
}
export interface TransfersHistoryResponse {
transfers: Transfer[];
pagination: Pagination | undefined;
}
export interface Transfer {
lpAmount: string;
coins: Coin[];
usdValue: string;
isDeposit: boolean;
/** time in unix milli */
executedAt: string;
account: string;
vault: string;
txHash: string;
tidByVault: string;
tidByAccount: string;
}
export interface Coin {
amount: string;
denom: string;
}
export declare const GetVaultsRequest: {

@@ -335,2 +363,34 @@ encode(message: GetVaultsRequest, writer?: _m0.Writer): _m0.Writer;

};
export declare const TransfersHistoryRequest: {
encode(message: TransfersHistoryRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): TransfersHistoryRequest;
fromJSON(object: any): TransfersHistoryRequest;
toJSON(message: TransfersHistoryRequest): unknown;
create(base?: DeepPartial<TransfersHistoryRequest>): TransfersHistoryRequest;
fromPartial(object: DeepPartial<TransfersHistoryRequest>): TransfersHistoryRequest;
};
export declare const TransfersHistoryResponse: {
encode(message: TransfersHistoryResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): TransfersHistoryResponse;
fromJSON(object: any): TransfersHistoryResponse;
toJSON(message: TransfersHistoryResponse): unknown;
create(base?: DeepPartial<TransfersHistoryResponse>): TransfersHistoryResponse;
fromPartial(object: DeepPartial<TransfersHistoryResponse>): TransfersHistoryResponse;
};
export declare const Transfer: {
encode(message: Transfer, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): Transfer;
fromJSON(object: any): Transfer;
toJSON(message: Transfer): unknown;
create(base?: DeepPartial<Transfer>): Transfer;
fromPartial(object: DeepPartial<Transfer>): Transfer;
};
export declare const Coin: {
encode(message: Coin, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): Coin;
fromJSON(object: any): Coin;
toJSON(message: Coin): unknown;
create(base?: DeepPartial<Coin>): Coin;
fromPartial(object: DeepPartial<Coin>): Coin;
};
/** Get mito user portfolios, vaults and more */

@@ -354,2 +414,4 @@ export interface MitoAPI {

Leaderboard(request: DeepPartial<LeaderboardRequest>, metadata?: grpc.Metadata): Promise<LeaderboardResponse>;
/** Return historical transfers (i.e Subscribe - Deposit / Redeem - withdrawal) */
TransfersHistory(request: DeepPartial<TransfersHistoryRequest>, metadata?: grpc.Metadata): Promise<TransfersHistoryResponse>;
}

@@ -367,2 +429,3 @@ export declare class MitoAPIClientImpl implements MitoAPI {

Leaderboard(request: DeepPartial<LeaderboardRequest>, metadata?: grpc.Metadata): Promise<LeaderboardResponse>;
TransfersHistory(request: DeepPartial<TransfersHistoryRequest>, metadata?: grpc.Metadata): Promise<TransfersHistoryResponse>;
}

@@ -380,2 +443,3 @@ export declare const MitoAPIDesc: {

export declare const MitoAPILeaderboardDesc: UnaryMethodDefinitionish;
export declare const MitoAPITransfersHistoryDesc: UnaryMethodDefinitionish;
interface UnaryMethodDefinitionishR extends grpc.UnaryMethodDefinition<any, any> {

@@ -382,0 +446,0 @@ requestStream: any;

@@ -134,2 +134,30 @@ import { grpc } from "@injectivelabs/grpc-web";

}
export interface TransfersHistoryRequest {
vault?: string | undefined;
account?: string | undefined;
pageSize?: string | undefined;
fromNumber?: string | undefined;
toNumber?: string | undefined;
}
export interface TransfersHistoryResponse {
transfers: Transfer[];
pagination: Pagination | undefined;
}
export interface Transfer {
lpAmount: string;
coins: Coin[];
usdValue: string;
isDeposit: boolean;
/** time in unix milli */
executedAt: string;
account: string;
vault: string;
txHash: string;
tidByVault: string;
tidByAccount: string;
}
export interface Coin {
amount: string;
denom: string;
}
export declare const GetVaultsRequest: {

@@ -335,2 +363,34 @@ encode(message: GetVaultsRequest, writer?: _m0.Writer): _m0.Writer;

};
export declare const TransfersHistoryRequest: {
encode(message: TransfersHistoryRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): TransfersHistoryRequest;
fromJSON(object: any): TransfersHistoryRequest;
toJSON(message: TransfersHistoryRequest): unknown;
create(base?: DeepPartial<TransfersHistoryRequest>): TransfersHistoryRequest;
fromPartial(object: DeepPartial<TransfersHistoryRequest>): TransfersHistoryRequest;
};
export declare const TransfersHistoryResponse: {
encode(message: TransfersHistoryResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): TransfersHistoryResponse;
fromJSON(object: any): TransfersHistoryResponse;
toJSON(message: TransfersHistoryResponse): unknown;
create(base?: DeepPartial<TransfersHistoryResponse>): TransfersHistoryResponse;
fromPartial(object: DeepPartial<TransfersHistoryResponse>): TransfersHistoryResponse;
};
export declare const Transfer: {
encode(message: Transfer, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): Transfer;
fromJSON(object: any): Transfer;
toJSON(message: Transfer): unknown;
create(base?: DeepPartial<Transfer>): Transfer;
fromPartial(object: DeepPartial<Transfer>): Transfer;
};
export declare const Coin: {
encode(message: Coin, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): Coin;
fromJSON(object: any): Coin;
toJSON(message: Coin): unknown;
create(base?: DeepPartial<Coin>): Coin;
fromPartial(object: DeepPartial<Coin>): Coin;
};
/** Get mito user portfolios, vaults and more */

@@ -354,2 +414,4 @@ export interface MitoAPI {

Leaderboard(request: DeepPartial<LeaderboardRequest>, metadata?: grpc.Metadata): Promise<LeaderboardResponse>;
/** Return historical transfers (i.e Subscribe - Deposit / Redeem - withdrawal) */
TransfersHistory(request: DeepPartial<TransfersHistoryRequest>, metadata?: grpc.Metadata): Promise<TransfersHistoryResponse>;
}

@@ -367,2 +429,3 @@ export declare class MitoAPIClientImpl implements MitoAPI {

Leaderboard(request: DeepPartial<LeaderboardRequest>, metadata?: grpc.Metadata): Promise<LeaderboardResponse>;
TransfersHistory(request: DeepPartial<TransfersHistoryRequest>, metadata?: grpc.Metadata): Promise<TransfersHistoryResponse>;
}

@@ -380,2 +443,3 @@ export declare const MitoAPIDesc: {

export declare const MitoAPILeaderboardDesc: UnaryMethodDefinitionish;
export declare const MitoAPITransfersHistoryDesc: UnaryMethodDefinitionish;
interface UnaryMethodDefinitionishR extends grpc.UnaryMethodDefinition<any, any> {

@@ -382,0 +446,0 @@ requestStream: any;

2

package.json
{
"name": "@injectivelabs/mito-proto-ts",
"version": "1.0.4",
"version": "1.0.5",
"description": "Injective Mito API client with generated gRPC bindings.",

@@ -5,0 +5,0 @@ "sideEffects": "false",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc