UNPKG

@okutrade/account-api

Version:

TypeScript client for OKU Account API using Connect-ES

82 lines (81 loc) 6.74 kB
// @generated by protoc-gen-es v2.2.2 with parameter "target=ts,import_extension=.js" // @generated from file gfxcafe/oku/account/v1/rewards.proto (package gfxcafe.oku.account.v1, syntax proto3) /* eslint-disable */ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1"; import { file_buf_validate_validate } from "../../../../buf/validate/validate_pb.js"; import { file_google_protobuf_struct, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt"; /** * Describes the file gfxcafe/oku/account/v1/rewards.proto. */ export const file_gfxcafe_oku_account_v1_rewards = /*@__PURE__*/ fileDesc("CiRnZnhjYWZlL29rdS9hY2NvdW50L3YxL3Jld2FyZHMucHJvdG8SFmdmeGNhZmUub2t1LmFjY291bnQudjEiXQoVQ2hhaW5UaW1lc3RhbXBSZXF1ZXN0EhUKBWNoYWluGAEgASgJQga6SAPIAQESLQoJdGltZXN0YW1wGAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcCJSCgxVc2VyQXNzZXRUdmwSFAoMdXNlcl9hZGRyZXNzGAEgASgJEhUKDXRva2VuX2FkZHJlc3MYAiABKAkSFQoNdG9rZW5fYmFsYW5jZRgDIAEoCSIsCgdVc2VyVHZsEhQKDHVzZXJfYWRkcmVzcxgBIAEoCRILCgN0dmwYAiABKAEiiwEKFkNoYWluVGltZXN0YW1wUmVzcG9uc2USPQoPdXNlcl9hc3NldF90dmxzGAEgAygLMiQuZ2Z4Y2FmZS5va3UuYWNjb3VudC52MS5Vc2VyQXNzZXRUdmwSMgoJdXNlcl90dmxzGAIgAygLMh8uZ2Z4Y2FmZS5va3UuYWNjb3VudC52MS5Vc2VyVHZsIm8KGVNvbHZDaGFpblRpbWVzdGFtcFJlcXVlc3QSFQoFY2hhaW4YASABKAlCBrpIA8gBARItCgl0aW1lc3RhbXAYAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1w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ZvbHVtZTLtAwoOUmV3YXJkc1NlcnZpY2USewoSU29sdkNoYWluVGltZXN0YW1wEjEuZ2Z4Y2FmZS5va3UuYWNjb3VudC52MS5Tb2x2Q2hhaW5UaW1lc3RhbXBSZXF1ZXN0GjIuZ2Z4Y2FmZS5va3UuYWNjb3VudC52MS5Tb2x2Q2hhaW5UaW1lc3RhbXBSZXNwb25zZRKEAQoVQmVkcm9ja0NoYWluVGltZXN0YW1wEjQuZ2Z4Y2FmZS5va3UuYWNjb3VudC52MS5CZWRyb2NrQ2hhaW5UaW1lc3RhbXBSZXF1ZXN0GjUuZ2Z4Y2FmZS5va3UuYWNjb3VudC52MS5CZWRyb2NrQ2hhaW5UaW1lc3RhbXBSZXNwb25zZRJvCg5DaGFpblRpbWVzdGFtcBItLmdmeGNhZmUub2t1LmFjY291bnQudjEuQ2hhaW5UaW1lc3RhbXBSZXF1ZXN0Gi4uZ2Z4Y2FmZS5va3UuYWNjb3VudC52MS5DaGFpblRpbWVzdGFtcFJlc3BvbnNlEmYKC1ZvbHVtZUNoYWluEiouZ2Z4Y2FmZS5va3UuYWNjb3VudC52MS5Wb2x1bWVDaGFpblJlcXVlc3QaKy5nZnhjYWZlLm9rdS5hY2NvdW50LnYxLlZvbHVtZUNoYWluUmVzcG9uc2VCN1o1Z2Z4LmNhZmUvb2t1L2FjY291bnQvZ2VuL2dvL2dmeGNhZmUvb2t1L2FjY291bnQvdjE7djFiBnByb3RvMw", [file_buf_validate_validate, file_google_protobuf_struct, file_google_protobuf_timestamp]); /** * Describes the message gfxcafe.oku.account.v1.ChainTimestampRequest. * Use `create(ChainTimestampRequestSchema)` to create a new message. */ export const ChainTimestampRequestSchema = /*@__PURE__*/ messageDesc(file_gfxcafe_oku_account_v1_rewards, 0); /** * Describes the message gfxcafe.oku.account.v1.UserAssetTvl. * Use `create(UserAssetTvlSchema)` to create a new message. */ export const UserAssetTvlSchema = /*@__PURE__*/ messageDesc(file_gfxcafe_oku_account_v1_rewards, 1); /** * Describes the message gfxcafe.oku.account.v1.UserTvl. * Use `create(UserTvlSchema)` to create a new message. */ export const UserTvlSchema = /*@__PURE__*/ messageDesc(file_gfxcafe_oku_account_v1_rewards, 2); /** * Describes the message gfxcafe.oku.account.v1.ChainTimestampResponse. * Use `create(ChainTimestampResponseSchema)` to create a new message. */ export const ChainTimestampResponseSchema = /*@__PURE__*/ messageDesc(file_gfxcafe_oku_account_v1_rewards, 3); /** * Describes the message gfxcafe.oku.account.v1.SolvChainTimestampRequest. * Use `create(SolvChainTimestampRequestSchema)` to create a new message. */ export const SolvChainTimestampRequestSchema = /*@__PURE__*/ messageDesc(file_gfxcafe_oku_account_v1_rewards, 4); /** * Describes the message gfxcafe.oku.account.v1.SolvPosition. * Use `create(SolvPositionSchema)` to create a new message. */ export const SolvPositionSchema = /*@__PURE__*/ messageDesc(file_gfxcafe_oku_account_v1_rewards, 5); /** * Describes the message gfxcafe.oku.account.v1.SolvChainTimestampResponse. * Use `create(SolvChainTimestampResponseSchema)` to create a new message. */ export const SolvChainTimestampResponseSchema = /*@__PURE__*/ messageDesc(file_gfxcafe_oku_account_v1_rewards, 6); /** * Describes the message gfxcafe.oku.account.v1.BedrockChainTimestampRequest. * Use `create(BedrockChainTimestampRequestSchema)` to create a new message. */ export const BedrockChainTimestampRequestSchema = /*@__PURE__*/ messageDesc(file_gfxcafe_oku_account_v1_rewards, 7); /** * Describes the message gfxcafe.oku.account.v1.UserTotal. * Use `create(UserTotalSchema)` to create a new message. */ export const UserTotalSchema = /*@__PURE__*/ messageDesc(file_gfxcafe_oku_account_v1_rewards, 8); /** * Describes the message gfxcafe.oku.account.v1.BedrockChainTimestampResponse. * Use `create(BedrockChainTimestampResponseSchema)` to create a new message. */ export const BedrockChainTimestampResponseSchema = /*@__PURE__*/ messageDesc(file_gfxcafe_oku_account_v1_rewards, 9); /** * Describes the message gfxcafe.oku.account.v1.VolumeChainRequest. * Use `create(VolumeChainRequestSchema)` to create a new message. */ export const VolumeChainRequestSchema = /*@__PURE__*/ messageDesc(file_gfxcafe_oku_account_v1_rewards, 10); /** * Describes the message gfxcafe.oku.account.v1.UserVolume. * Use `create(UserVolumeSchema)` to create a new message. */ export const UserVolumeSchema = /*@__PURE__*/ messageDesc(file_gfxcafe_oku_account_v1_rewards, 11); /** * Describes the message gfxcafe.oku.account.v1.VolumeChainResponse. * Use `create(VolumeChainResponseSchema)` to create a new message. */ export const VolumeChainResponseSchema = /*@__PURE__*/ messageDesc(file_gfxcafe_oku_account_v1_rewards, 12); /** * RewardsService provides rewards data * * @generated from service gfxcafe.oku.account.v1.RewardsService */ export const RewardsService = /*@__PURE__*/ serviceDesc(file_gfxcafe_oku_account_v1_rewards, 0);