import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; /** * @generated from message protocol.TransferContract */ export declare class TransferContract extends Message { /** * @generated from field: bytes owner_address = 1; */ ownerAddress: Uint8Array; /** * @generated from field: bytes to_address = 2; */ toAddress: Uint8Array; /** * @generated from field: int64 amount = 3; */ amount: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "protocol.TransferContract"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TransferContract; static fromJson(jsonValue: JsonValue, options?: Partial): TransferContract; static fromJsonString(jsonString: string, options?: Partial): TransferContract; static equals(a: TransferContract | PlainMessage | undefined, b: TransferContract | PlainMessage | undefined): boolean; } /** * @generated from message protocol.TransferAssetContract */ export declare class TransferAssetContract extends Message { /** * this field is token name before the proposal ALLOW_SAME_TOKEN_NAME is active, otherwise it is token id and token is should be in string format. * * @generated from field: bytes asset_name = 1; */ assetName: Uint8Array; /** * @generated from field: bytes owner_address = 2; */ ownerAddress: Uint8Array; /** * @generated from field: bytes to_address = 3; */ toAddress: Uint8Array; /** * @generated from field: int64 amount = 4; */ amount: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "protocol.TransferAssetContract"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TransferAssetContract; static fromJson(jsonValue: JsonValue, options?: Partial): TransferAssetContract; static fromJsonString(jsonString: string, options?: Partial): TransferAssetContract; static equals(a: TransferAssetContract | PlainMessage | undefined, b: TransferAssetContract | PlainMessage | undefined): boolean; } /** * @generated from message protocol.TriggerSmartContract */ export declare class TriggerSmartContract extends Message { /** * @generated from field: bytes owner_address = 1; */ ownerAddress: Uint8Array; /** * @generated from field: bytes contract_address = 2; */ contractAddress: Uint8Array; /** * @generated from field: int64 call_value = 3; */ callValue: bigint; /** * @generated from field: bytes data = 4; */ data: Uint8Array; /** * @generated from field: int64 call_token_value = 5; */ callTokenValue: bigint; /** * @generated from field: int64 token_id = 6; */ tokenId: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "protocol.TriggerSmartContract"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TriggerSmartContract; static fromJson(jsonValue: JsonValue, options?: Partial): TriggerSmartContract; static fromJsonString(jsonString: string, options?: Partial): TriggerSmartContract; static equals(a: TriggerSmartContract | PlainMessage | undefined, b: TriggerSmartContract | PlainMessage | undefined): boolean; }