@injectivelabs/chain-api
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -205,289 +205,1 @@ // package: injective.evm.v1beta1 | ||
export class MsgEthereumTx extends jspb.Message { | ||
hasData(): boolean; | ||
clearData(): void; | ||
getData(): TxData | undefined; | ||
setData(value?: TxData): void; | ||
getSize(): number; | ||
setSize(value: number): void; | ||
hasFrom(): boolean; | ||
clearFrom(): void; | ||
getFrom(): SigCache | undefined; | ||
setFrom(value?: SigCache): void; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): MsgEthereumTx.AsObject; | ||
static toObject(includeInstance: boolean, msg: MsgEthereumTx): MsgEthereumTx.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: MsgEthereumTx, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): MsgEthereumTx; | ||
static deserializeBinaryFromReader(message: MsgEthereumTx, reader: jspb.BinaryReader): MsgEthereumTx; | ||
} | ||
export namespace MsgEthereumTx { | ||
export type AsObject = { | ||
data?: TxData.AsObject, | ||
size: number, | ||
from?: SigCache.AsObject, | ||
} | ||
} | ||
export class ExtensionOptionsEthermintTx extends jspb.Message { | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): ExtensionOptionsEthermintTx.AsObject; | ||
static toObject(includeInstance: boolean, msg: ExtensionOptionsEthermintTx): ExtensionOptionsEthermintTx.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: ExtensionOptionsEthermintTx, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): ExtensionOptionsEthermintTx; | ||
static deserializeBinaryFromReader(message: ExtensionOptionsEthermintTx, reader: jspb.BinaryReader): ExtensionOptionsEthermintTx; | ||
} | ||
export namespace ExtensionOptionsEthermintTx { | ||
export type AsObject = { | ||
} | ||
} | ||
export class ExtensionOptionsEthereumTxContract extends jspb.Message { | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): ExtensionOptionsEthereumTxContract.AsObject; | ||
static toObject(includeInstance: boolean, msg: ExtensionOptionsEthereumTxContract): ExtensionOptionsEthereumTxContract.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: ExtensionOptionsEthereumTxContract, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): ExtensionOptionsEthereumTxContract; | ||
static deserializeBinaryFromReader(message: ExtensionOptionsEthereumTxContract, reader: jspb.BinaryReader): ExtensionOptionsEthereumTxContract; | ||
} | ||
export namespace ExtensionOptionsEthereumTxContract { | ||
export type AsObject = { | ||
} | ||
} | ||
export class ExtensionOptionsEthereumTx extends jspb.Message { | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): ExtensionOptionsEthereumTx.AsObject; | ||
static toObject(includeInstance: boolean, msg: ExtensionOptionsEthereumTx): ExtensionOptionsEthereumTx.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: ExtensionOptionsEthereumTx, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): ExtensionOptionsEthereumTx; | ||
static deserializeBinaryFromReader(message: ExtensionOptionsEthereumTx, reader: jspb.BinaryReader): ExtensionOptionsEthereumTx; | ||
} | ||
export namespace ExtensionOptionsEthereumTx { | ||
export type AsObject = { | ||
} | ||
} | ||
export class TxData extends jspb.Message { | ||
getNonce(): number; | ||
setNonce(value: number): void; | ||
getPrice(): Uint8Array | string; | ||
getPrice_asU8(): Uint8Array; | ||
getPrice_asB64(): string; | ||
setPrice(value: Uint8Array | string): void; | ||
getGas(): number; | ||
setGas(value: number): void; | ||
getTo(): string; | ||
setTo(value: string): void; | ||
getValue(): Uint8Array | string; | ||
getValue_asU8(): Uint8Array; | ||
getValue_asB64(): string; | ||
setValue(value: Uint8Array | string): void; | ||
getInput(): Uint8Array | string; | ||
getInput_asU8(): Uint8Array; | ||
getInput_asB64(): string; | ||
setInput(value: Uint8Array | string): void; | ||
getV(): Uint8Array | string; | ||
getV_asU8(): Uint8Array; | ||
getV_asB64(): string; | ||
setV(value: Uint8Array | string): void; | ||
getR(): Uint8Array | string; | ||
getR_asU8(): Uint8Array; | ||
getR_asB64(): string; | ||
setR(value: Uint8Array | string): void; | ||
getS(): Uint8Array | string; | ||
getS_asU8(): Uint8Array; | ||
getS_asB64(): string; | ||
setS(value: Uint8Array | string): void; | ||
getHash(): string; | ||
setHash(value: string): void; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): TxData.AsObject; | ||
static toObject(includeInstance: boolean, msg: TxData): TxData.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: TxData, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): TxData; | ||
static deserializeBinaryFromReader(message: TxData, reader: jspb.BinaryReader): TxData; | ||
} | ||
export namespace TxData { | ||
export type AsObject = { | ||
nonce: number, | ||
price: Uint8Array | string, | ||
gas: number, | ||
to: string, | ||
value: Uint8Array | string, | ||
input: Uint8Array | string, | ||
v: Uint8Array | string, | ||
r: Uint8Array | string, | ||
s: Uint8Array | string, | ||
hash: string, | ||
} | ||
} | ||
export class SigCache extends jspb.Message { | ||
hasSigner(): boolean; | ||
clearSigner(): void; | ||
getSigner(): EIP155Signer | undefined; | ||
setSigner(value?: EIP155Signer): void; | ||
getAddress(): Uint8Array | string; | ||
getAddress_asU8(): Uint8Array; | ||
getAddress_asB64(): string; | ||
setAddress(value: Uint8Array | string): void; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): SigCache.AsObject; | ||
static toObject(includeInstance: boolean, msg: SigCache): SigCache.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: SigCache, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): SigCache; | ||
static deserializeBinaryFromReader(message: SigCache, reader: jspb.BinaryReader): SigCache; | ||
} | ||
export namespace SigCache { | ||
export type AsObject = { | ||
signer?: EIP155Signer.AsObject, | ||
address: Uint8Array | string, | ||
} | ||
} | ||
export class EIP155Signer extends jspb.Message { | ||
getChainId(): Uint8Array | string; | ||
getChainId_asU8(): Uint8Array; | ||
getChainId_asB64(): string; | ||
setChainId(value: Uint8Array | string): void; | ||
getChainIdMul(): Uint8Array | string; | ||
getChainIdMul_asU8(): Uint8Array; | ||
getChainIdMul_asB64(): string; | ||
setChainIdMul(value: Uint8Array | string): void; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): EIP155Signer.AsObject; | ||
static toObject(includeInstance: boolean, msg: EIP155Signer): EIP155Signer.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: EIP155Signer, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): EIP155Signer; | ||
static deserializeBinaryFromReader(message: EIP155Signer, reader: jspb.BinaryReader): EIP155Signer; | ||
} | ||
export namespace EIP155Signer { | ||
export type AsObject = { | ||
chainId: Uint8Array | string, | ||
chainIdMul: Uint8Array | string, | ||
} | ||
} | ||
export class MsgEthermint extends jspb.Message { | ||
getNonce(): number; | ||
setNonce(value: number): void; | ||
getPrice(): string; | ||
setPrice(value: string): void; | ||
getGas(): number; | ||
setGas(value: number): void; | ||
getTo(): string; | ||
setTo(value: string): void; | ||
getValue(): string; | ||
setValue(value: string): void; | ||
getInput(): Uint8Array | string; | ||
getInput_asU8(): Uint8Array; | ||
getInput_asB64(): string; | ||
setInput(value: Uint8Array | string): void; | ||
getFrom(): string; | ||
setFrom(value: string): void; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): MsgEthermint.AsObject; | ||
static toObject(includeInstance: boolean, msg: MsgEthermint): MsgEthermint.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: MsgEthermint, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): MsgEthermint; | ||
static deserializeBinaryFromReader(message: MsgEthermint, reader: jspb.BinaryReader): MsgEthermint; | ||
} | ||
export namespace MsgEthermint { | ||
export type AsObject = { | ||
nonce: number, | ||
price: string, | ||
gas: number, | ||
to: string, | ||
value: string, | ||
input: Uint8Array | string, | ||
from: string, | ||
} | ||
} | ||
export class ResultData extends jspb.Message { | ||
getContractAddress(): string; | ||
setContractAddress(value: string): void; | ||
getBloom(): Uint8Array | string; | ||
getBloom_asU8(): Uint8Array; | ||
getBloom_asB64(): string; | ||
setBloom(value: Uint8Array | string): void; | ||
hasTxLogs(): boolean; | ||
clearTxLogs(): void; | ||
getTxLogs(): TransactionLogs | undefined; | ||
setTxLogs(value?: TransactionLogs): void; | ||
getRet(): Uint8Array | string; | ||
getRet_asU8(): Uint8Array; | ||
getRet_asB64(): string; | ||
setRet(value: Uint8Array | string): void; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): ResultData.AsObject; | ||
static toObject(includeInstance: boolean, msg: ResultData): ResultData.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: ResultData, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): ResultData; | ||
static deserializeBinaryFromReader(message: ResultData, reader: jspb.BinaryReader): ResultData; | ||
} | ||
export namespace ResultData { | ||
export type AsObject = { | ||
contractAddress: string, | ||
bloom: Uint8Array | string, | ||
txLogs?: TransactionLogs.AsObject, | ||
ret: Uint8Array | string, | ||
} | ||
} | ||
@@ -52,11 +52,2 @@ // package: injective.evm.v1beta1 | ||
type QueryBlockNumber = { | ||
readonly methodName: string; | ||
readonly service: typeof Query; | ||
readonly requestStream: false; | ||
readonly responseStream: false; | ||
readonly requestType: typeof injective_evm_v1beta1_query_pb.QueryBlockNumberRequest; | ||
readonly responseType: typeof injective_evm_v1beta1_query_pb.QueryBlockNumberResponse; | ||
}; | ||
type QueryBlockLogs = { | ||
@@ -96,3 +87,2 @@ readonly methodName: string; | ||
static readonly TxLogs: QueryTxLogs; | ||
static readonly BlockNumber: QueryBlockNumber; | ||
static readonly BlockLogs: QueryBlockLogs; | ||
@@ -180,11 +170,2 @@ static readonly BlockBloom: QueryBlockBloom; | ||
): UnaryResponse; | ||
blockNumber( | ||
requestMessage: injective_evm_v1beta1_query_pb.QueryBlockNumberRequest, | ||
metadata: grpc.Metadata, | ||
callback: (error: ServiceError|null, responseMessage: injective_evm_v1beta1_query_pb.QueryBlockNumberResponse|null) => void | ||
): UnaryResponse; | ||
blockNumber( | ||
requestMessage: injective_evm_v1beta1_query_pb.QueryBlockNumberRequest, | ||
callback: (error: ServiceError|null, responseMessage: injective_evm_v1beta1_query_pb.QueryBlockNumberResponse|null) => void | ||
): UnaryResponse; | ||
blockLogs( | ||
@@ -191,0 +172,0 @@ requestMessage: injective_evm_v1beta1_query_pb.QueryBlockLogsRequest, |
@@ -58,11 +58,2 @@ // package: injective.evm.v1beta1 | ||
Query.BlockNumber = { | ||
methodName: "BlockNumber", | ||
service: Query, | ||
requestStream: false, | ||
responseStream: false, | ||
requestType: injective_evm_v1beta1_query_pb.QueryBlockNumberRequest, | ||
responseType: injective_evm_v1beta1_query_pb.QueryBlockNumberResponse | ||
}; | ||
Query.BlockLogs = { | ||
@@ -257,33 +248,2 @@ methodName: "BlockLogs", | ||
QueryClient.prototype.blockNumber = function blockNumber(requestMessage, metadata, callback) { | ||
if (arguments.length === 2) { | ||
callback = arguments[1]; | ||
} | ||
var client = grpc.unary(Query.BlockNumber, { | ||
request: requestMessage, | ||
host: this.serviceHost, | ||
metadata: metadata, | ||
transport: this.options.transport, | ||
debug: this.options.debug, | ||
onEnd: function (response) { | ||
if (callback) { | ||
if (response.status !== grpc.Code.OK) { | ||
var err = new Error(response.statusMessage); | ||
err.code = response.status; | ||
err.metadata = response.trailers; | ||
callback(err, null); | ||
} else { | ||
callback(null, response.message); | ||
} | ||
} | ||
} | ||
}); | ||
return { | ||
cancel: function () { | ||
callback = null; | ||
client.close(); | ||
} | ||
}; | ||
}; | ||
QueryClient.prototype.blockLogs = function blockLogs(requestMessage, metadata, callback) { | ||
@@ -290,0 +250,0 @@ if (arguments.length === 2) { |
@@ -311,38 +311,2 @@ // package: injective.evm.v1beta1 | ||
export class QueryBlockNumberRequest extends jspb.Message { | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): QueryBlockNumberRequest.AsObject; | ||
static toObject(includeInstance: boolean, msg: QueryBlockNumberRequest): QueryBlockNumberRequest.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: QueryBlockNumberRequest, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): QueryBlockNumberRequest; | ||
static deserializeBinaryFromReader(message: QueryBlockNumberRequest, reader: jspb.BinaryReader): QueryBlockNumberRequest; | ||
} | ||
export namespace QueryBlockNumberRequest { | ||
export type AsObject = { | ||
} | ||
} | ||
export class QueryBlockNumberResponse extends jspb.Message { | ||
getBlockNumber(): number; | ||
setBlockNumber(value: number): void; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): QueryBlockNumberResponse.AsObject; | ||
static toObject(includeInstance: boolean, msg: QueryBlockNumberResponse): QueryBlockNumberResponse.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: QueryBlockNumberResponse, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): QueryBlockNumberResponse; | ||
static deserializeBinaryFromReader(message: QueryBlockNumberResponse, reader: jspb.BinaryReader): QueryBlockNumberResponse; | ||
} | ||
export namespace QueryBlockNumberResponse { | ||
export type AsObject = { | ||
blockNumber: number, | ||
} | ||
} | ||
export class QueryParamsRequest extends jspb.Message { | ||
@@ -349,0 +313,0 @@ serializeBinary(): Uint8Array; |
{ | ||
"name": "@injectivelabs/chain-api", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Injective Chain API Query client with generated gRPC bindings.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
65
1322135
34690
16