@injectivelabs/mito-proto-ts
Advanced tools
Comparing version 1.0.45 to 1.0.46
@@ -384,2 +384,3 @@ import { grpc } from "@injectivelabs/grpc-web"; | ||
secondBeforeStartToSetQuotePrice: string; | ||
useWhitelist: boolean; | ||
} | ||
@@ -462,2 +463,16 @@ export interface TokenInfo { | ||
} | ||
export interface GetWhitelistRequest { | ||
idoAddress: string; | ||
skip?: number | undefined; | ||
limit?: number | undefined; | ||
} | ||
export interface GetWhitelistResponse { | ||
idoAddress?: string | undefined; | ||
accounts: WhitelistAccount[]; | ||
pagination: Pagination | undefined; | ||
} | ||
export interface WhitelistAccount { | ||
accountAddress: string; | ||
updatedAt: string; | ||
} | ||
export declare const GetVaultsRequest: { | ||
@@ -1111,2 +1126,26 @@ encode(message: GetVaultsRequest, writer?: _m0.Writer): _m0.Writer; | ||
}; | ||
export declare const GetWhitelistRequest: { | ||
encode(message: GetWhitelistRequest, writer?: _m0.Writer): _m0.Writer; | ||
decode(input: _m0.Reader | Uint8Array, length?: number): GetWhitelistRequest; | ||
fromJSON(object: any): GetWhitelistRequest; | ||
toJSON(message: GetWhitelistRequest): unknown; | ||
create(base?: DeepPartial<GetWhitelistRequest>): GetWhitelistRequest; | ||
fromPartial(object: DeepPartial<GetWhitelistRequest>): GetWhitelistRequest; | ||
}; | ||
export declare const GetWhitelistResponse: { | ||
encode(message: GetWhitelistResponse, writer?: _m0.Writer): _m0.Writer; | ||
decode(input: _m0.Reader | Uint8Array, length?: number): GetWhitelistResponse; | ||
fromJSON(object: any): GetWhitelistResponse; | ||
toJSON(message: GetWhitelistResponse): unknown; | ||
create(base?: DeepPartial<GetWhitelistResponse>): GetWhitelistResponse; | ||
fromPartial(object: DeepPartial<GetWhitelistResponse>): GetWhitelistResponse; | ||
}; | ||
export declare const WhitelistAccount: { | ||
encode(message: WhitelistAccount, writer?: _m0.Writer): _m0.Writer; | ||
decode(input: _m0.Reader | Uint8Array, length?: number): WhitelistAccount; | ||
fromJSON(object: any): WhitelistAccount; | ||
toJSON(message: WhitelistAccount): unknown; | ||
create(base?: DeepPartial<WhitelistAccount>): WhitelistAccount; | ||
fromPartial(object: DeepPartial<WhitelistAccount>): WhitelistAccount; | ||
}; | ||
/** Get mito user portfolios, vaults and more */ | ||
@@ -1168,2 +1207,4 @@ export interface MitoAPI { | ||
GetIDOActivities(request: DeepPartial<GetIDOActivitiesRequest>, metadata?: grpc.Metadata): Promise<GetIDOActivitiesResponse>; | ||
/** Get white list accounts of a given IDO */ | ||
GetWhitelist(request: DeepPartial<GetWhitelistRequest>, metadata?: grpc.Metadata): Promise<GetWhitelistResponse>; | ||
} | ||
@@ -1200,2 +1241,3 @@ export declare class MitoAPIClientImpl implements MitoAPI { | ||
GetIDOActivities(request: DeepPartial<GetIDOActivitiesRequest>, metadata?: grpc.Metadata): Promise<GetIDOActivitiesResponse>; | ||
GetWhitelist(request: DeepPartial<GetWhitelistRequest>, metadata?: grpc.Metadata): Promise<GetWhitelistResponse>; | ||
} | ||
@@ -1232,2 +1274,3 @@ export declare const MitoAPIDesc: { | ||
export declare const MitoAPIGetIDOActivitiesDesc: UnaryMethodDefinitionish; | ||
export declare const MitoAPIGetWhitelistDesc: UnaryMethodDefinitionish; | ||
interface UnaryMethodDefinitionishR extends grpc.UnaryMethodDefinition<any, any> { | ||
@@ -1234,0 +1277,0 @@ requestStream: any; |
@@ -384,2 +384,3 @@ import { grpc } from "@injectivelabs/grpc-web"; | ||
secondBeforeStartToSetQuotePrice: string; | ||
useWhitelist: boolean; | ||
} | ||
@@ -462,2 +463,16 @@ export interface TokenInfo { | ||
} | ||
export interface GetWhitelistRequest { | ||
idoAddress: string; | ||
skip?: number | undefined; | ||
limit?: number | undefined; | ||
} | ||
export interface GetWhitelistResponse { | ||
idoAddress?: string | undefined; | ||
accounts: WhitelistAccount[]; | ||
pagination: Pagination | undefined; | ||
} | ||
export interface WhitelistAccount { | ||
accountAddress: string; | ||
updatedAt: string; | ||
} | ||
export declare const GetVaultsRequest: { | ||
@@ -1111,2 +1126,26 @@ encode(message: GetVaultsRequest, writer?: _m0.Writer): _m0.Writer; | ||
}; | ||
export declare const GetWhitelistRequest: { | ||
encode(message: GetWhitelistRequest, writer?: _m0.Writer): _m0.Writer; | ||
decode(input: _m0.Reader | Uint8Array, length?: number): GetWhitelistRequest; | ||
fromJSON(object: any): GetWhitelistRequest; | ||
toJSON(message: GetWhitelistRequest): unknown; | ||
create(base?: DeepPartial<GetWhitelistRequest>): GetWhitelistRequest; | ||
fromPartial(object: DeepPartial<GetWhitelistRequest>): GetWhitelistRequest; | ||
}; | ||
export declare const GetWhitelistResponse: { | ||
encode(message: GetWhitelistResponse, writer?: _m0.Writer): _m0.Writer; | ||
decode(input: _m0.Reader | Uint8Array, length?: number): GetWhitelistResponse; | ||
fromJSON(object: any): GetWhitelistResponse; | ||
toJSON(message: GetWhitelistResponse): unknown; | ||
create(base?: DeepPartial<GetWhitelistResponse>): GetWhitelistResponse; | ||
fromPartial(object: DeepPartial<GetWhitelistResponse>): GetWhitelistResponse; | ||
}; | ||
export declare const WhitelistAccount: { | ||
encode(message: WhitelistAccount, writer?: _m0.Writer): _m0.Writer; | ||
decode(input: _m0.Reader | Uint8Array, length?: number): WhitelistAccount; | ||
fromJSON(object: any): WhitelistAccount; | ||
toJSON(message: WhitelistAccount): unknown; | ||
create(base?: DeepPartial<WhitelistAccount>): WhitelistAccount; | ||
fromPartial(object: DeepPartial<WhitelistAccount>): WhitelistAccount; | ||
}; | ||
/** Get mito user portfolios, vaults and more */ | ||
@@ -1168,2 +1207,4 @@ export interface MitoAPI { | ||
GetIDOActivities(request: DeepPartial<GetIDOActivitiesRequest>, metadata?: grpc.Metadata): Promise<GetIDOActivitiesResponse>; | ||
/** Get white list accounts of a given IDO */ | ||
GetWhitelist(request: DeepPartial<GetWhitelistRequest>, metadata?: grpc.Metadata): Promise<GetWhitelistResponse>; | ||
} | ||
@@ -1200,2 +1241,3 @@ export declare class MitoAPIClientImpl implements MitoAPI { | ||
GetIDOActivities(request: DeepPartial<GetIDOActivitiesRequest>, metadata?: grpc.Metadata): Promise<GetIDOActivitiesResponse>; | ||
GetWhitelist(request: DeepPartial<GetWhitelistRequest>, metadata?: grpc.Metadata): Promise<GetWhitelistResponse>; | ||
} | ||
@@ -1232,2 +1274,3 @@ export declare const MitoAPIDesc: { | ||
export declare const MitoAPIGetIDOActivitiesDesc: UnaryMethodDefinitionish; | ||
export declare const MitoAPIGetWhitelistDesc: UnaryMethodDefinitionish; | ||
interface UnaryMethodDefinitionishR extends grpc.UnaryMethodDefinition<any, any> { | ||
@@ -1234,0 +1277,0 @@ requestStream: any; |
{ | ||
"name": "@injectivelabs/mito-proto-ts", | ||
"version": "1.0.45", | ||
"version": "1.0.46", | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
756618
18429