@routerprotocol/chain-api
Version:
Router Chain API Query client with generated gRPC bindings.
389 lines (321 loc) • 15 kB
TypeScript
// package: routerprotocol.routerchain.rwasm
// file: routerprotocol/routerchain/rwasm/tx.proto
import * as jspb from "google-protobuf";
import * as gogoproto_gogo_pb from "../../../gogoproto/gogo_pb";
export class MsgExecuteCwContract extends jspb.Message {
getSender(): string;
setSender(value: string): void;
getContract(): string;
setContract(value: string): void;
getMsg(): string;
setMsg(value: string): void;
getFunds(): string;
setFunds(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): MsgExecuteCwContract.AsObject;
static toObject(includeInstance: boolean, msg: MsgExecuteCwContract): MsgExecuteCwContract.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: MsgExecuteCwContract, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): MsgExecuteCwContract;
static deserializeBinaryFromReader(message: MsgExecuteCwContract, reader: jspb.BinaryReader): MsgExecuteCwContract;
}
export namespace MsgExecuteCwContract {
export type AsObject = {
sender: string,
contract: string,
msg: string,
funds: string,
}
}
export class MsgExecuteCwContractResponse extends jspb.Message {
getData(): Uint8Array | string;
getData_asU8(): Uint8Array;
getData_asB64(): string;
setData(value: Uint8Array | string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): MsgExecuteCwContractResponse.AsObject;
static toObject(includeInstance: boolean, msg: MsgExecuteCwContractResponse): MsgExecuteCwContractResponse.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: MsgExecuteCwContractResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): MsgExecuteCwContractResponse;
static deserializeBinaryFromReader(message: MsgExecuteCwContractResponse, reader: jspb.BinaryReader): MsgExecuteCwContractResponse;
}
export namespace MsgExecuteCwContractResponse {
export type AsObject = {
data: Uint8Array | string,
}
}
export class MsgInstantiateCwContract extends jspb.Message {
getSender(): string;
setSender(value: string): void;
getAdmin(): string;
setAdmin(value: string): void;
getCodeId(): number;
setCodeId(value: number): void;
getLabel(): string;
setLabel(value: string): void;
getMsg(): string;
setMsg(value: string): void;
getFunds(): string;
setFunds(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): MsgInstantiateCwContract.AsObject;
static toObject(includeInstance: boolean, msg: MsgInstantiateCwContract): MsgInstantiateCwContract.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: MsgInstantiateCwContract, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): MsgInstantiateCwContract;
static deserializeBinaryFromReader(message: MsgInstantiateCwContract, reader: jspb.BinaryReader): MsgInstantiateCwContract;
}
export namespace MsgInstantiateCwContract {
export type AsObject = {
sender: string,
admin: string,
codeId: number,
label: string,
msg: string,
funds: string,
}
}
export class MsgInstantiateCwContractResponse extends jspb.Message {
getAddress(): string;
setAddress(value: string): void;
getData(): Uint8Array | string;
getData_asU8(): Uint8Array;
getData_asB64(): string;
setData(value: Uint8Array | string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): MsgInstantiateCwContractResponse.AsObject;
static toObject(includeInstance: boolean, msg: MsgInstantiateCwContractResponse): MsgInstantiateCwContractResponse.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: MsgInstantiateCwContractResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): MsgInstantiateCwContractResponse;
static deserializeBinaryFromReader(message: MsgInstantiateCwContractResponse, reader: jspb.BinaryReader): MsgInstantiateCwContractResponse;
}
export namespace MsgInstantiateCwContractResponse {
export type AsObject = {
address: string,
data: Uint8Array | string,
}
}
export class MsgInstantiateCwContract2 extends jspb.Message {
getSender(): string;
setSender(value: string): void;
getAdmin(): string;
setAdmin(value: string): void;
getCodeId(): number;
setCodeId(value: number): void;
getLabel(): string;
setLabel(value: string): void;
getMsg(): string;
setMsg(value: string): void;
getFunds(): string;
setFunds(value: string): void;
getSalt(): string;
setSalt(value: string): void;
getFixMsg(): boolean;
setFixMsg(value: boolean): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): MsgInstantiateCwContract2.AsObject;
static toObject(includeInstance: boolean, msg: MsgInstantiateCwContract2): MsgInstantiateCwContract2.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: MsgInstantiateCwContract2, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): MsgInstantiateCwContract2;
static deserializeBinaryFromReader(message: MsgInstantiateCwContract2, reader: jspb.BinaryReader): MsgInstantiateCwContract2;
}
export namespace MsgInstantiateCwContract2 {
export type AsObject = {
sender: string,
admin: string,
codeId: number,
label: string,
msg: string,
funds: string,
salt: string,
fixMsg: boolean,
}
}
export class MsgInstantiateCwContract2Response extends jspb.Message {
getAddress(): string;
setAddress(value: string): void;
getData(): Uint8Array | string;
getData_asU8(): Uint8Array;
getData_asB64(): string;
setData(value: Uint8Array | string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): MsgInstantiateCwContract2Response.AsObject;
static toObject(includeInstance: boolean, msg: MsgInstantiateCwContract2Response): MsgInstantiateCwContract2Response.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: MsgInstantiateCwContract2Response, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): MsgInstantiateCwContract2Response;
static deserializeBinaryFromReader(message: MsgInstantiateCwContract2Response, reader: jspb.BinaryReader): MsgInstantiateCwContract2Response;
}
export namespace MsgInstantiateCwContract2Response {
export type AsObject = {
address: string,
data: Uint8Array | string,
}
}
export class MsgCwStoreCode extends jspb.Message {
getSender(): string;
setSender(value: string): void;
getWasmByteCode(): string;
setWasmByteCode(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): MsgCwStoreCode.AsObject;
static toObject(includeInstance: boolean, msg: MsgCwStoreCode): MsgCwStoreCode.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: MsgCwStoreCode, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): MsgCwStoreCode;
static deserializeBinaryFromReader(message: MsgCwStoreCode, reader: jspb.BinaryReader): MsgCwStoreCode;
}
export namespace MsgCwStoreCode {
export type AsObject = {
sender: string,
wasmByteCode: string,
}
}
export class MsgCwStoreCodeResponse extends jspb.Message {
getCodeId(): number;
setCodeId(value: number): void;
getChecksum(): Uint8Array | string;
getChecksum_asU8(): Uint8Array;
getChecksum_asB64(): string;
setChecksum(value: Uint8Array | string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): MsgCwStoreCodeResponse.AsObject;
static toObject(includeInstance: boolean, msg: MsgCwStoreCodeResponse): MsgCwStoreCodeResponse.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: MsgCwStoreCodeResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): MsgCwStoreCodeResponse;
static deserializeBinaryFromReader(message: MsgCwStoreCodeResponse, reader: jspb.BinaryReader): MsgCwStoreCodeResponse;
}
export namespace MsgCwStoreCodeResponse {
export type AsObject = {
codeId: number,
checksum: Uint8Array | string,
}
}
export class MsgMigrateCwContract extends jspb.Message {
getSender(): string;
setSender(value: string): void;
getContract(): string;
setContract(value: string): void;
getCodeId(): number;
setCodeId(value: number): void;
getMsg(): string;
setMsg(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): MsgMigrateCwContract.AsObject;
static toObject(includeInstance: boolean, msg: MsgMigrateCwContract): MsgMigrateCwContract.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: MsgMigrateCwContract, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): MsgMigrateCwContract;
static deserializeBinaryFromReader(message: MsgMigrateCwContract, reader: jspb.BinaryReader): MsgMigrateCwContract;
}
export namespace MsgMigrateCwContract {
export type AsObject = {
sender: string,
contract: string,
codeId: number,
msg: string,
}
}
export class MsgMigrateCwContractResponse extends jspb.Message {
getData(): Uint8Array | string;
getData_asU8(): Uint8Array;
getData_asB64(): string;
setData(value: Uint8Array | string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): MsgMigrateCwContractResponse.AsObject;
static toObject(includeInstance: boolean, msg: MsgMigrateCwContractResponse): MsgMigrateCwContractResponse.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: MsgMigrateCwContractResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): MsgMigrateCwContractResponse;
static deserializeBinaryFromReader(message: MsgMigrateCwContractResponse, reader: jspb.BinaryReader): MsgMigrateCwContractResponse;
}
export namespace MsgMigrateCwContractResponse {
export type AsObject = {
data: Uint8Array | string,
}
}
export class MsgUpdateAdmin extends jspb.Message {
getSender(): string;
setSender(value: string): void;
getNewAdmin(): string;
setNewAdmin(value: string): void;
getContract(): string;
setContract(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): MsgUpdateAdmin.AsObject;
static toObject(includeInstance: boolean, msg: MsgUpdateAdmin): MsgUpdateAdmin.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: MsgUpdateAdmin, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): MsgUpdateAdmin;
static deserializeBinaryFromReader(message: MsgUpdateAdmin, reader: jspb.BinaryReader): MsgUpdateAdmin;
}
export namespace MsgUpdateAdmin {
export type AsObject = {
sender: string,
newAdmin: string,
contract: string,
}
}
export class MsgUpdateAdminResponse extends jspb.Message {
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): MsgUpdateAdminResponse.AsObject;
static toObject(includeInstance: boolean, msg: MsgUpdateAdminResponse): MsgUpdateAdminResponse.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: MsgUpdateAdminResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): MsgUpdateAdminResponse;
static deserializeBinaryFromReader(message: MsgUpdateAdminResponse, reader: jspb.BinaryReader): MsgUpdateAdminResponse;
}
export namespace MsgUpdateAdminResponse {
export type AsObject = {
}
}
export class MsgClearAdmin extends jspb.Message {
getSender(): string;
setSender(value: string): void;
getContract(): string;
setContract(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): MsgClearAdmin.AsObject;
static toObject(includeInstance: boolean, msg: MsgClearAdmin): MsgClearAdmin.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: MsgClearAdmin, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): MsgClearAdmin;
static deserializeBinaryFromReader(message: MsgClearAdmin, reader: jspb.BinaryReader): MsgClearAdmin;
}
export namespace MsgClearAdmin {
export type AsObject = {
sender: string,
contract: string,
}
}
export class MsgClearAdminResponse extends jspb.Message {
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): MsgClearAdminResponse.AsObject;
static toObject(includeInstance: boolean, msg: MsgClearAdminResponse): MsgClearAdminResponse.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: MsgClearAdminResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): MsgClearAdminResponse;
static deserializeBinaryFromReader(message: MsgClearAdminResponse, reader: jspb.BinaryReader): MsgClearAdminResponse;
}
export namespace MsgClearAdminResponse {
export type AsObject = {
}
}