From 44027b930354b13e639700917f7bb52ea98c6851 Mon Sep 17 00:00:00 2001 From: Prad Nukala Date: Tue, 26 Nov 2024 22:05:50 -0500 Subject: [PATCH] feature/1149 vault allocation error (#1173) - **refactor: update devbox configuration and scripts** - **refactor: remove web documentation** - **refactor: move resolver formatter to services package** - **refactor: Rename x/vault -> x/dwn and x/service -> x/svc** - **refactor: remove unused dependencies and simplify module imports** - **refactor: remove dependency on DWN.pkl** - **refactor: Move IPFS interaction functions to common package** - **refactor: remove unused TUI components** - **feat: add gum package and update devbox configuration** - **refactor: rename Assertion to Account and update related code** - **fix: resolve rendering issue in login modal** - **refactor: migrate build system from Taskfile to Makefile** - **refactor: Deployment setup** - **refactor: Update Credential table to match WebAuthn Credential Descriptor** - **feat: add fast reflection methods for Capability and Resource** - **fix: update devbox lockfile** - **feat: add support for parent field and resources list in Capability message** - **feature/1149-vault-allocation-error** - **fix: adjust fullscreen modal close button margin** --- .gitignore | 4 + Makefile | 46 + Taskfile.yml | 86 - api/did/v1/state.cosmos_orm.go | 690 +--- api/did/v1/state.pulsar.go | 2817 ++----------- api/{vault => dwn}/module/v1/module.pulsar.go | 123 +- api/{vault => dwn}/v1/genesis.pulsar.go | 1753 +++++++-- api/{vault => dwn}/v1/query.pulsar.go | 693 ++-- api/{vault => dwn}/v1/query_grpc.pb.go | 16 +- api/dwn/v1/state.cosmos_orm.go | 292 ++ api/dwn/v1/state.pulsar.go | 1515 +++++++ api/dwn/v1/tx.pulsar.go | 2061 ++++++++++ api/{vault => dwn}/v1/tx_grpc.pb.go | 50 +- .../module/v1/module.pulsar.go | 122 +- api/{service => svc}/v1/genesis.pulsar.go | 523 ++- api/{service => svc}/v1/query.pulsar.go | 204 +- api/{service => svc}/v1/query_grpc.pb.go | 10 +- api/{service => svc}/v1/state.cosmos_orm.go | 396 +- api/{service => svc}/v1/state.pulsar.go | 667 ++-- api/{service => svc}/v1/tx.pulsar.go | 394 +- api/{service => svc}/v1/tx_grpc.pb.go | 12 +- api/vault/v1/state.cosmos_orm.go | 235 -- api/vault/v1/state.pulsar.go | 772 ---- api/vault/v1/tx.pulsar.go | 1086 ----- app/app.go | 90 +- app/cli/dexmodel/dexmodel.go | 165 - app/cli/tui.go | 44 - app/cli/txmodel/txmodel.go | 322 -- cmd/hway/styles.css | 3503 +++++++++++++++++ cmd/sonrd/main.go | 3 - deploy/local/devbox.json | 34 + deploy/local/devbox.lock | 251 ++ deploy/local/process-compose.yaml | 28 + deploy/testnet/devbox.json | 43 + .../testnet/process-compose.yaml | 4 +- devbox.json | 41 +- devbox.lock | 88 +- go.mod | 75 +- go.sum | 371 -- pkg/common/ipfsapi/ipfsapi.go | 1 + pkg/common/ipfsget/ipfsget.go | 1 + pkg/services/credentials/scripts_templ.go | 2 +- pkg/services/payments/scripts_templ.go | 2 +- pkg/services/resolver/formatter.go | 7 + pkg/services/storage/scripts_templ.go | 2 +- pkg/webapp/bun.lockb | Bin 119323 -> 44070 bytes pkg/webapp/components/auth/authorize_templ.go | 2 +- .../components/auth/create_credential.templ | 49 - .../auth/create_credential_templ.go | 71 - pkg/webapp/components/auth/current.templ | 30 + pkg/webapp/components/auth/current_templ.go | 69 + .../components/auth/get_credential.templ | 35 - .../components/auth/get_credential_templ.go | 71 - pkg/webapp/components/auth/login.templ | 1 - pkg/webapp/components/auth/login_templ.go | 6 +- pkg/webapp/components/auth/register.templ | 66 +- .../components/auth/register_start.templ | 53 - .../components/auth/register_start_templ.go | 135 - pkg/webapp/components/auth/register_templ.go | 67 +- pkg/webapp/components/dash/layout.templ | 17 + pkg/webapp/components/dash/layout_templ.go | 58 + pkg/webapp/components/landing/arch_templ.go | 2 +- pkg/webapp/components/landing/cta_templ.go | 2 +- pkg/webapp/components/landing/footer_templ.go | 2 +- pkg/webapp/components/landing/header_templ.go | 2 +- pkg/webapp/components/landing/hero_templ.go | 2 +- .../components/landing/highlights.templ | 28 +- .../components/landing/highlights_templ.go | 54 +- .../components/landing/lowlights_templ.go | 2 +- .../components/landing/mission_templ.go | 2 +- pkg/webapp/components/ui/badges_templ.go | 2 +- pkg/webapp/components/ui/buttons_templ.go | 2 +- pkg/webapp/components/ui/cards_templ.go | 2 +- pkg/webapp/components/ui/icon_templ.go | 2 +- pkg/webapp/components/ui/layout.templ | 10 +- pkg/webapp/components/ui/layout_templ.go | 6 +- pkg/webapp/components/ui/panels_templ.go | 2 +- pkg/webapp/components/ui/scripts_templ.go | 2 +- pkg/webapp/components/ui/sizes_templ.go | 2 +- pkg/webapp/components/ui/typography_templ.go | 2 +- pkg/webapp/{components => }/globals.css | 0 pkg/webapp/package.json | 2 +- pkg/webapp/pages/auth_templ.go | 2 +- pkg/webapp/pages/dashboard_templ.go | 2 +- pkg/webapp/pages/landing_templ.go | 2 +- pkl/README.md | 4 - pkl/base.types/Ctx.pkl | 1 - pkl/pkl.exts/PklProject | 22 + .../PklProject.deps.json | 0 pkl/pkl.exts/json.pkl | 0 pkl/{chain.sonr => sonr.chain}/App.pkl | 0 pkl/{chain.sonr => sonr.chain}/Chain.pkl | 0 pkl/{chain.sonr => sonr.chain}/Genesis.pkl | 0 pkl/{chain.sonr => sonr.chain}/PklProject | 0 pkl/sonr.chain/PklProject.deps.json | 4 + pkl/sonr.dwn/ORM.pkl | 275 ++ pkl/sonr.dwn/PklProject | 22 + pkl/sonr.dwn/PklProject.deps.json | 4 + proto/README.md | 10 +- proto/did/v1/state.proto | 64 +- proto/{service => dwn}/module/v1/module.proto | 8 +- proto/{vault => dwn}/v1/genesis.proto | 24 +- proto/{vault => dwn}/v1/query.proto | 6 +- proto/dwn/v1/state.proto | 33 + proto/{vault => dwn}/v1/tx.proto | 9 +- proto/{vault => svc}/module/v1/module.proto | 8 +- proto/{service => svc}/v1/genesis.proto | 6 +- proto/{service => svc}/v1/query.proto | 8 +- proto/{service => svc}/v1/state.proto | 11 +- proto/{service => svc}/v1/tx.proto | 8 +- proto/vault/v1/state.proto | 21 - scripts/init_env.sh | 1 - scripts/{setup_ipfs.sh => ipfs_config.sh} | 3 +- scripts/protocgen.sh | 14 - scripts/tailwindgen.sh | 17 + scripts/upload_cdn.sh | 17 + slumber.yml | 45 - web/README.md | 40 - web/Taskfile.yml | 86 - web/libs/noble-client | 1 - web/libs/osmosis-client | 1 - web/libs/sonr-client | 1 - x/did/controller/table.go | 29 +- x/did/keeper/genesis.go | 24 +- x/did/types/pubkey.go | 5 - x/did/types/state.pb.go | 1201 +----- x/{vault => dwn}/README.md | 28 +- x/{vault => dwn}/autocli.go | 2 +- x/{vault => dwn}/client/cli/query.go | 2 +- x/{vault => dwn}/client/cli/tx.go | 13 +- x/{vault => dwn}/depinject.go | 24 +- x/{vault => dwn}/keeper/genesis_test.go | 5 +- x/{service => dwn}/keeper/keeper.go | 56 +- x/{vault => dwn}/keeper/keeper_test.go | 52 +- .../rpc.go => dwn/keeper/msg_server.go} | 9 +- .../keeper/msg_server_test.go} | 2 +- x/dwn/keeper/query_server.go | 51 + x/{service => dwn}/module.go | 21 +- x/{vault => dwn}/types/codec.go | 2 - x/{vault => dwn}/types/genesis.go | 31 +- x/{vault => dwn}/types/genesis.pb.go | 632 ++- x/{vault => dwn}/types/genesis_test.go | 10 +- x/{vault => dwn}/types/keys.go | 4 +- x/{vault => dwn}/types/msgs.go | 0 x/{vault => dwn}/types/params.go | 0 x/{vault => dwn}/types/query.pb.go | 124 +- x/{vault => dwn}/types/query.pb.gw.go | 2 +- x/{vault => dwn}/types/spawn.go | 2 +- x/dwn/types/state.pb.go | 781 ++++ x/{vault => dwn}/types/static/index.html | 0 x/{vault => dwn}/types/static/static.go | 0 x/{vault => dwn}/types/static/sw.js | 0 x/{vault => dwn}/types/tx.pb.go | 464 ++- x/service/keeper/genesis.go | 37 - x/service/keeper/orm_test.go | 31 - x/service/types/errors.go | 10 - x/{service => svc}/README.md | 26 +- x/{service => svc}/autocli.go | 2 +- x/{service => svc}/client/cli/query.go | 2 +- x/{service => svc}/client/cli/tx.go | 11 +- x/{service => svc}/depinject.go | 28 +- x/{service => svc}/keeper/genesis_test.go | 5 +- x/svc/keeper/keeper.go | 102 + x/{service => svc}/keeper/keeper_test.go | 58 +- .../rpc.go => svc/keeper/msg_server.go} | 2 +- .../keeper/msg_server_test.go} | 2 +- .../querier.go => svc/keeper/query_server.go} | 2 +- x/{vault => svc}/module.go | 32 +- x/{service => svc}/types/codec.go | 2 - x/{service => svc}/types/genesis.go | 6 +- x/{service => svc}/types/genesis.pb.go | 84 +- x/{service => svc}/types/genesis_test.go | 10 +- x/{service => svc}/types/keys.go | 4 +- x/{service => svc}/types/msgs.go | 0 x/{service => svc}/types/params.go | 0 x/{service => svc}/types/query.pb.go | 56 +- x/{service => svc}/types/query.pb.gw.go | 4 +- x/{service => svc}/types/state.pb.go | 296 +- x/{service => svc}/types/tx.pb.go | 88 +- x/vault/keeper/genesis.go | 61 - x/vault/keeper/keeper.go | 126 - x/vault/keeper/orm_test.go | 14 - x/vault/keeper/querier.go | 128 - x/vault/types/errors.go | 13 - x/vault/types/formatter.go | 1 - x/vault/types/state.pb.go | 457 --- 186 files changed, 15032 insertions(+), 11528 deletions(-) delete mode 100644 Taskfile.yml rename api/{vault => dwn}/module/v1/module.pulsar.go (75%) rename api/{vault => dwn}/v1/genesis.pulsar.go (54%) rename api/{vault => dwn}/v1/query.pulsar.go (85%) rename api/{vault => dwn}/v1/query_grpc.pb.go (96%) create mode 100644 api/dwn/v1/state.cosmos_orm.go create mode 100644 api/dwn/v1/state.pulsar.go create mode 100644 api/dwn/v1/tx.pulsar.go rename api/{vault => dwn}/v1/tx_grpc.pb.go (71%) rename api/{service => svc}/module/v1/module.pulsar.go (75%) rename api/{service => svc}/v1/genesis.pulsar.go (86%) rename api/{service => svc}/v1/query.pulsar.go (80%) rename api/{service => svc}/v1/query_grpc.pb.go (95%) rename api/{service => svc}/v1/state.cosmos_orm.go (56%) rename api/{service => svc}/v1/state.pulsar.go (74%) rename api/{service => svc}/v1/tx.pulsar.go (83%) rename api/{service => svc}/v1/tx_grpc.pb.go (96%) delete mode 100644 api/vault/v1/state.cosmos_orm.go delete mode 100644 api/vault/v1/state.pulsar.go delete mode 100644 api/vault/v1/tx.pulsar.go delete mode 100644 app/cli/dexmodel/dexmodel.go delete mode 100644 app/cli/tui.go delete mode 100644 app/cli/txmodel/txmodel.go create mode 100644 cmd/hway/styles.css create mode 100644 deploy/local/devbox.json create mode 100644 deploy/local/devbox.lock create mode 100644 deploy/local/process-compose.yaml create mode 100644 deploy/testnet/devbox.json rename process-compose.yaml => deploy/testnet/process-compose.yaml (77%) create mode 100644 pkg/common/ipfsapi/ipfsapi.go create mode 100644 pkg/common/ipfsget/ipfsget.go create mode 100644 pkg/services/resolver/formatter.go delete mode 100644 pkg/webapp/components/auth/create_credential.templ delete mode 100644 pkg/webapp/components/auth/create_credential_templ.go create mode 100644 pkg/webapp/components/auth/current.templ create mode 100644 pkg/webapp/components/auth/current_templ.go delete mode 100644 pkg/webapp/components/auth/get_credential.templ delete mode 100644 pkg/webapp/components/auth/get_credential_templ.go delete mode 100644 pkg/webapp/components/auth/register_start.templ delete mode 100644 pkg/webapp/components/auth/register_start_templ.go create mode 100644 pkg/webapp/components/dash/layout.templ create mode 100644 pkg/webapp/components/dash/layout_templ.go rename pkg/webapp/{components => }/globals.css (100%) delete mode 100644 pkl/README.md create mode 100644 pkl/pkl.exts/PklProject rename pkl/{chain.sonr => pkl.exts}/PklProject.deps.json (100%) create mode 100644 pkl/pkl.exts/json.pkl rename pkl/{chain.sonr => sonr.chain}/App.pkl (100%) rename pkl/{chain.sonr => sonr.chain}/Chain.pkl (100%) rename pkl/{chain.sonr => sonr.chain}/Genesis.pkl (100%) rename pkl/{chain.sonr => sonr.chain}/PklProject (100%) create mode 100644 pkl/sonr.chain/PklProject.deps.json create mode 100644 pkl/sonr.dwn/ORM.pkl create mode 100644 pkl/sonr.dwn/PklProject create mode 100644 pkl/sonr.dwn/PklProject.deps.json rename proto/{service => dwn}/module/v1/module.proto (64%) rename proto/{vault => dwn}/v1/genesis.proto (57%) rename proto/{vault => dwn}/v1/query.proto (96%) create mode 100644 proto/dwn/v1/state.proto rename proto/{vault => dwn}/v1/tx.proto (92%) rename proto/{vault => svc}/module/v1/module.proto (64%) rename proto/{service => svc}/v1/genesis.proto (92%) rename proto/{service => svc}/v1/query.proto (75%) rename proto/{service => svc}/v1/state.proto (86%) rename proto/{service => svc}/v1/tx.proto (93%) delete mode 100644 proto/vault/v1/state.proto delete mode 100644 scripts/init_env.sh rename scripts/{setup_ipfs.sh => ipfs_config.sh} (99%) create mode 100755 scripts/tailwindgen.sh create mode 100755 scripts/upload_cdn.sh delete mode 100644 slumber.yml delete mode 100644 web/README.md delete mode 100644 web/Taskfile.yml delete mode 160000 web/libs/noble-client delete mode 160000 web/libs/osmosis-client delete mode 160000 web/libs/sonr-client rename x/{vault => dwn}/README.md (85%) rename x/{vault => dwn}/autocli.go (94%) rename x/{vault => dwn}/client/cli/query.go (96%) rename x/{vault => dwn}/client/cli/tx.go (87%) rename x/{vault => dwn}/depinject.go (78%) rename x/{vault => dwn}/keeper/genesis_test.go (63%) rename x/{service => dwn}/keeper/keeper.go (67%) rename x/{vault => dwn}/keeper/keeper_test.go (68%) rename x/{vault/keeper/rpc.go => dwn/keeper/msg_server.go} (68%) rename x/{vault/keeper/rpc_test.go => dwn/keeper/msg_server_test.go} (96%) create mode 100644 x/dwn/keeper/query_server.go rename x/{service => dwn}/module.go (91%) rename x/{vault => dwn}/types/codec.go (89%) rename x/{vault => dwn}/types/genesis.go (53%) rename x/{vault => dwn}/types/genesis.pb.go (61%) rename x/{vault => dwn}/types/genesis_test.go (69%) rename x/{vault => dwn}/types/keys.go (85%) rename x/{vault => dwn}/types/msgs.go (100%) rename x/{vault => dwn}/types/params.go (100%) rename x/{vault => dwn}/types/query.pb.go (90%) rename x/{vault => dwn}/types/query.pb.gw.go (99%) rename x/{vault => dwn}/types/spawn.go (95%) create mode 100644 x/dwn/types/state.pb.go rename x/{vault => dwn}/types/static/index.html (100%) rename x/{vault => dwn}/types/static/static.go (100%) rename x/{vault => dwn}/types/static/sw.js (100%) rename x/{vault => dwn}/types/tx.pb.go (52%) delete mode 100644 x/service/keeper/genesis.go delete mode 100644 x/service/keeper/orm_test.go delete mode 100644 x/service/types/errors.go rename x/{service => svc}/README.md (57%) rename x/{service => svc}/autocli.go (94%) rename x/{service => svc}/client/cli/query.go (96%) rename x/{service => svc}/client/cli/tx.go (86%) rename x/{service => svc}/depinject.go (70%) rename x/{service => svc}/keeper/genesis_test.go (63%) create mode 100644 x/svc/keeper/keeper.go rename x/{service => svc}/keeper/keeper_test.go (64%) rename x/{service/keeper/rpc.go => svc/keeper/msg_server.go} (96%) rename x/{service/keeper/rpc_test.go => svc/keeper/msg_server_test.go} (95%) rename x/{service/keeper/querier.go => svc/keeper/query_server.go} (92%) rename x/{vault => svc}/module.go (89%) rename x/{service => svc}/types/codec.go (89%) rename x/{service => svc}/types/genesis.go (65%) rename x/{service => svc}/types/genesis.pb.go (90%) rename x/{service => svc}/types/genesis_test.go (69%) rename x/{service => svc}/types/keys.go (84%) rename x/{service => svc}/types/msgs.go (100%) rename x/{service => svc}/types/params.go (100%) rename x/{service => svc}/types/query.pb.go (85%) rename x/{service => svc}/types/query.pb.gw.go (97%) rename x/{service => svc}/types/state.pb.go (82%) rename x/{service => svc}/types/tx.pb.go (87%) delete mode 100644 x/vault/keeper/genesis.go delete mode 100644 x/vault/keeper/keeper.go delete mode 100644 x/vault/keeper/orm_test.go delete mode 100644 x/vault/keeper/querier.go delete mode 100644 x/vault/types/errors.go delete mode 100644 x/vault/types/formatter.go delete mode 100644 x/vault/types/state.pb.go diff --git a/.gitignore b/.gitignore index 204014c97..cc5d07498 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,10 @@ .session.vim aof* dist +**/.haptic +static +pkg/webapp/dist +.agent # Test binary *.test diff --git a/Makefile b/Makefile index 87cf4f835..37d9ab10d 100644 --- a/Makefile +++ b/Makefile @@ -262,6 +262,9 @@ ictest-tokenfactory: ### testnet ### ############################################################################### +setup-ipfs: + ./scripts/ipfs_config.sh + setup-testnet: mod-tidy is-localic-installed install local-image set-testnet-configs setup-testnet-keys # Run this before testnet keys are added @@ -288,6 +291,49 @@ sh-testnet: mod-tidy .PHONY: setup-testnet set-testnet-configs testnet testnet-basic sh-testnet +############################################################################### +### generation ### +############################################################################### +.PHONY: pkl-gen styles-gen templ-gen + +pkl-gen: + go install github.com/apple/pkl-go/cmd/pkl-gen-go@latest + pkl-gen-go pkl/base.types/Ctx.pkl + pkl-gen-go pkl/base.types/DWN.pkl + pkl-gen-go pkl/base.types/ORM.pkl + +styles-gen: + sh ./scripts/tailwindgen.sh + +templ-gen: + @go install github.com/a-h/templ/cmd/templ@latest + templ generate + + +############################################################################### +### custom builds ### +############################################################################### +.PHONY: motr-build hway-build hway-serve + +motr-build: + GOOS=js GOARCH=wasm go build -o static/wasm/app.wasm ./cmd/motr/main.go + +hway-build: styles-gen templ-gen + go build -o build/hway ./cmd/hway/main.go + + +############################################################################### +### help ### +############################################################################### +.PHONY: deploy-buf deploy-cdn + +deploy-buf: + cd ./proto && bunx buf dep update && bunx buf build && bunx buf push + +deploy-cdn: + sh ./scripts/upload_cdn.sh + + ############################################################################### ### help ### ############################################################################### diff --git a/Taskfile.yml b/Taskfile.yml deleted file mode 100644 index 652684c07..000000000 --- a/Taskfile.yml +++ /dev/null @@ -1,86 +0,0 @@ -version: "3" -vars: - ROOT_DIR: - sh: git rev-parse --show-toplevel - -tasks: - clean: - internal: true - cmds: - - rm -rf .task - - rm -rf pkg/design/node_modules - - rm -rf .out - - # ╭──────────────────────────────────────────────────╮ - # │ Generate Commands │ - # ╰──────────────────────────────────────────────────╯ - - gen:tailwind: - cmds: - - cd ./pkg/webapp && bun run build - - cp ./pkg/webapp/components/styles/styles.css ./cmd/hway/styles.css - - gen:pkl: - sources: - - pkl/base.types/Ctx.pkl - - pkl/base.types/DWN.pkl - - pkl/base.types/ORM.pkl - cmds: - - for: sources - cmd: go run github.com/apple/pkl-go/cmd/pkl-gen-go {{ .ITEM }} - - task: clean - - gen:templ: - cmds: - - templ generate - - # ╭──────────────────────────────────────────────────╮ - # │ Build Commands │ - # ╰──────────────────────────────────────────────────╯ - build:motr: - env: - GOOS: js - GOARCH: wasm - cmds: - - go build -o build/app.wasm ./cmd/motr/main.go - - build:hway: - cmds: - - task: gen:tailwind - - task: gen:templ - - go build -o build/hway ./cmd/hway/main.go - - # ╭──────────────────────────────────────────────────╮ - # │ Serve Commands │ - # ╰──────────────────────────────────────────────────╯ - - serve:hway: - cmds: - - task: build:hway - - ./build/hway - - # ╭──────────────────────────────────────────────────╮ - # │ Deploy Commands │ - # ╰──────────────────────────────────────────────────╯ - deploy:buf: - dir: proto - cmds: - - bunx buf dep update - - bunx buf build - - bunx buf push - - deploy:hway: - dir: cmd/hway - cmds: - - task: gen:design - - bunx wrangler deploy - - deploy:pkl: - cmds: - - bunx pkl project package pkl/*/ - - | - for dir in .out/*/; do - folder=$(basename "$dir") - rclone copy "$dir" "r2:pkljar/$folder" - done - - task: clean diff --git a/api/did/v1/state.cosmos_orm.go b/api/did/v1/state.cosmos_orm.go index 39ed930dc..11d080e04 100644 --- a/api/did/v1/state.cosmos_orm.go +++ b/api/did/v1/state.cosmos_orm.go @@ -9,121 +9,121 @@ import ( ormerrors "cosmossdk.io/orm/types/ormerrors" ) -type AssertionTable interface { - Insert(ctx context.Context, assertion *Assertion) error - Update(ctx context.Context, assertion *Assertion) error - Save(ctx context.Context, assertion *Assertion) error - Delete(ctx context.Context, assertion *Assertion) error +type AccountTable interface { + Insert(ctx context.Context, account *Account) error + Update(ctx context.Context, account *Account) error + Save(ctx context.Context, account *Account) error + Delete(ctx context.Context, account *Account) error Has(ctx context.Context, did string) (found bool, err error) // Get returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. - Get(ctx context.Context, did string) (*Assertion, error) + Get(ctx context.Context, did string) (*Account, error) HasByControllerSubject(ctx context.Context, controller string, subject string) (found bool, err error) // GetByControllerSubject returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. - GetByControllerSubject(ctx context.Context, controller string, subject string) (*Assertion, error) - List(ctx context.Context, prefixKey AssertionIndexKey, opts ...ormlist.Option) (AssertionIterator, error) - ListRange(ctx context.Context, from, to AssertionIndexKey, opts ...ormlist.Option) (AssertionIterator, error) - DeleteBy(ctx context.Context, prefixKey AssertionIndexKey) error - DeleteRange(ctx context.Context, from, to AssertionIndexKey) error + GetByControllerSubject(ctx context.Context, controller string, subject string) (*Account, error) + List(ctx context.Context, prefixKey AccountIndexKey, opts ...ormlist.Option) (AccountIterator, error) + ListRange(ctx context.Context, from, to AccountIndexKey, opts ...ormlist.Option) (AccountIterator, error) + DeleteBy(ctx context.Context, prefixKey AccountIndexKey) error + DeleteRange(ctx context.Context, from, to AccountIndexKey) error doNotImplement() } -type AssertionIterator struct { +type AccountIterator struct { ormtable.Iterator } -func (i AssertionIterator) Value() (*Assertion, error) { - var assertion Assertion - err := i.UnmarshalMessage(&assertion) - return &assertion, err +func (i AccountIterator) Value() (*Account, error) { + var account Account + err := i.UnmarshalMessage(&account) + return &account, err } -type AssertionIndexKey interface { +type AccountIndexKey interface { id() uint32 values() []interface{} - assertionIndexKey() + accountIndexKey() } // primary key starting index.. -type AssertionPrimaryKey = AssertionDidIndexKey +type AccountPrimaryKey = AccountDidIndexKey -type AssertionDidIndexKey struct { +type AccountDidIndexKey struct { vs []interface{} } -func (x AssertionDidIndexKey) id() uint32 { return 0 } -func (x AssertionDidIndexKey) values() []interface{} { return x.vs } -func (x AssertionDidIndexKey) assertionIndexKey() {} +func (x AccountDidIndexKey) id() uint32 { return 0 } +func (x AccountDidIndexKey) values() []interface{} { return x.vs } +func (x AccountDidIndexKey) accountIndexKey() {} -func (this AssertionDidIndexKey) WithDid(did string) AssertionDidIndexKey { +func (this AccountDidIndexKey) WithDid(did string) AccountDidIndexKey { this.vs = []interface{}{did} return this } -type AssertionControllerSubjectIndexKey struct { +type AccountControllerSubjectIndexKey struct { vs []interface{} } -func (x AssertionControllerSubjectIndexKey) id() uint32 { return 1 } -func (x AssertionControllerSubjectIndexKey) values() []interface{} { return x.vs } -func (x AssertionControllerSubjectIndexKey) assertionIndexKey() {} +func (x AccountControllerSubjectIndexKey) id() uint32 { return 1 } +func (x AccountControllerSubjectIndexKey) values() []interface{} { return x.vs } +func (x AccountControllerSubjectIndexKey) accountIndexKey() {} -func (this AssertionControllerSubjectIndexKey) WithController(controller string) AssertionControllerSubjectIndexKey { +func (this AccountControllerSubjectIndexKey) WithController(controller string) AccountControllerSubjectIndexKey { this.vs = []interface{}{controller} return this } -func (this AssertionControllerSubjectIndexKey) WithControllerSubject(controller string, subject string) AssertionControllerSubjectIndexKey { +func (this AccountControllerSubjectIndexKey) WithControllerSubject(controller string, subject string) AccountControllerSubjectIndexKey { this.vs = []interface{}{controller, subject} return this } -type assertionTable struct { +type accountTable struct { table ormtable.Table } -func (this assertionTable) Insert(ctx context.Context, assertion *Assertion) error { - return this.table.Insert(ctx, assertion) +func (this accountTable) Insert(ctx context.Context, account *Account) error { + return this.table.Insert(ctx, account) } -func (this assertionTable) Update(ctx context.Context, assertion *Assertion) error { - return this.table.Update(ctx, assertion) +func (this accountTable) Update(ctx context.Context, account *Account) error { + return this.table.Update(ctx, account) } -func (this assertionTable) Save(ctx context.Context, assertion *Assertion) error { - return this.table.Save(ctx, assertion) +func (this accountTable) Save(ctx context.Context, account *Account) error { + return this.table.Save(ctx, account) } -func (this assertionTable) Delete(ctx context.Context, assertion *Assertion) error { - return this.table.Delete(ctx, assertion) +func (this accountTable) Delete(ctx context.Context, account *Account) error { + return this.table.Delete(ctx, account) } -func (this assertionTable) Has(ctx context.Context, did string) (found bool, err error) { +func (this accountTable) Has(ctx context.Context, did string) (found bool, err error) { return this.table.PrimaryKey().Has(ctx, did) } -func (this assertionTable) Get(ctx context.Context, did string) (*Assertion, error) { - var assertion Assertion - found, err := this.table.PrimaryKey().Get(ctx, &assertion, did) +func (this accountTable) Get(ctx context.Context, did string) (*Account, error) { + var account Account + found, err := this.table.PrimaryKey().Get(ctx, &account, did) if err != nil { return nil, err } if !found { return nil, ormerrors.NotFound } - return &assertion, nil + return &account, nil } -func (this assertionTable) HasByControllerSubject(ctx context.Context, controller string, subject string) (found bool, err error) { +func (this accountTable) HasByControllerSubject(ctx context.Context, controller string, subject string) (found bool, err error) { return this.table.GetIndexByID(1).(ormtable.UniqueIndex).Has(ctx, controller, subject, ) } -func (this assertionTable) GetByControllerSubject(ctx context.Context, controller string, subject string) (*Assertion, error) { - var assertion Assertion - found, err := this.table.GetIndexByID(1).(ormtable.UniqueIndex).Get(ctx, &assertion, +func (this accountTable) GetByControllerSubject(ctx context.Context, controller string, subject string) (*Account, error) { + var account Account + found, err := this.table.GetIndexByID(1).(ormtable.UniqueIndex).Get(ctx, &account, controller, subject, ) @@ -133,530 +133,206 @@ func (this assertionTable) GetByControllerSubject(ctx context.Context, controlle if !found { return nil, ormerrors.NotFound } - return &assertion, nil + return &account, nil } -func (this assertionTable) List(ctx context.Context, prefixKey AssertionIndexKey, opts ...ormlist.Option) (AssertionIterator, error) { +func (this accountTable) List(ctx context.Context, prefixKey AccountIndexKey, opts ...ormlist.Option) (AccountIterator, error) { it, err := this.table.GetIndexByID(prefixKey.id()).List(ctx, prefixKey.values(), opts...) - return AssertionIterator{it}, err + return AccountIterator{it}, err } -func (this assertionTable) ListRange(ctx context.Context, from, to AssertionIndexKey, opts ...ormlist.Option) (AssertionIterator, error) { +func (this accountTable) ListRange(ctx context.Context, from, to AccountIndexKey, opts ...ormlist.Option) (AccountIterator, error) { it, err := this.table.GetIndexByID(from.id()).ListRange(ctx, from.values(), to.values(), opts...) - return AssertionIterator{it}, err + return AccountIterator{it}, err } -func (this assertionTable) DeleteBy(ctx context.Context, prefixKey AssertionIndexKey) error { +func (this accountTable) DeleteBy(ctx context.Context, prefixKey AccountIndexKey) error { return this.table.GetIndexByID(prefixKey.id()).DeleteBy(ctx, prefixKey.values()...) } -func (this assertionTable) DeleteRange(ctx context.Context, from, to AssertionIndexKey) error { +func (this accountTable) DeleteRange(ctx context.Context, from, to AccountIndexKey) error { return this.table.GetIndexByID(from.id()).DeleteRange(ctx, from.values(), to.values()) } -func (this assertionTable) doNotImplement() {} +func (this accountTable) doNotImplement() {} -var _ AssertionTable = assertionTable{} +var _ AccountTable = accountTable{} -func NewAssertionTable(db ormtable.Schema) (AssertionTable, error) { - table := db.GetTable(&Assertion{}) +func NewAccountTable(db ormtable.Schema) (AccountTable, error) { + table := db.GetTable(&Account{}) if table == nil { - return nil, ormerrors.TableNotFound.Wrap(string((&Assertion{}).ProtoReflect().Descriptor().FullName())) + return nil, ormerrors.TableNotFound.Wrap(string((&Account{}).ProtoReflect().Descriptor().FullName())) } - return assertionTable{table}, nil + return accountTable{table}, nil } -type AuthenticationTable interface { - Insert(ctx context.Context, authentication *Authentication) error - Update(ctx context.Context, authentication *Authentication) error - Save(ctx context.Context, authentication *Authentication) error - Delete(ctx context.Context, authentication *Authentication) error - Has(ctx context.Context, did string) (found bool, err error) - // Get returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. - Get(ctx context.Context, did string) (*Authentication, error) - HasByControllerSubject(ctx context.Context, controller string, subject string) (found bool, err error) - // GetByControllerSubject returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. - GetByControllerSubject(ctx context.Context, controller string, subject string) (*Authentication, error) - List(ctx context.Context, prefixKey AuthenticationIndexKey, opts ...ormlist.Option) (AuthenticationIterator, error) - ListRange(ctx context.Context, from, to AuthenticationIndexKey, opts ...ormlist.Option) (AuthenticationIterator, error) - DeleteBy(ctx context.Context, prefixKey AuthenticationIndexKey) error - DeleteRange(ctx context.Context, from, to AuthenticationIndexKey) error - - doNotImplement() -} - -type AuthenticationIterator struct { - ormtable.Iterator -} - -func (i AuthenticationIterator) Value() (*Authentication, error) { - var authentication Authentication - err := i.UnmarshalMessage(&authentication) - return &authentication, err -} - -type AuthenticationIndexKey interface { - id() uint32 - values() []interface{} - authenticationIndexKey() -} - -// primary key starting index.. -type AuthenticationPrimaryKey = AuthenticationDidIndexKey - -type AuthenticationDidIndexKey struct { - vs []interface{} -} - -func (x AuthenticationDidIndexKey) id() uint32 { return 0 } -func (x AuthenticationDidIndexKey) values() []interface{} { return x.vs } -func (x AuthenticationDidIndexKey) authenticationIndexKey() {} - -func (this AuthenticationDidIndexKey) WithDid(did string) AuthenticationDidIndexKey { - this.vs = []interface{}{did} - return this -} - -type AuthenticationControllerSubjectIndexKey struct { - vs []interface{} -} - -func (x AuthenticationControllerSubjectIndexKey) id() uint32 { return 1 } -func (x AuthenticationControllerSubjectIndexKey) values() []interface{} { return x.vs } -func (x AuthenticationControllerSubjectIndexKey) authenticationIndexKey() {} - -func (this AuthenticationControllerSubjectIndexKey) WithController(controller string) AuthenticationControllerSubjectIndexKey { - this.vs = []interface{}{controller} - return this -} - -func (this AuthenticationControllerSubjectIndexKey) WithControllerSubject(controller string, subject string) AuthenticationControllerSubjectIndexKey { - this.vs = []interface{}{controller, subject} - return this -} - -type authenticationTable struct { - table ormtable.Table -} - -func (this authenticationTable) Insert(ctx context.Context, authentication *Authentication) error { - return this.table.Insert(ctx, authentication) -} - -func (this authenticationTable) Update(ctx context.Context, authentication *Authentication) error { - return this.table.Update(ctx, authentication) -} - -func (this authenticationTable) Save(ctx context.Context, authentication *Authentication) error { - return this.table.Save(ctx, authentication) -} - -func (this authenticationTable) Delete(ctx context.Context, authentication *Authentication) error { - return this.table.Delete(ctx, authentication) -} - -func (this authenticationTable) Has(ctx context.Context, did string) (found bool, err error) { - return this.table.PrimaryKey().Has(ctx, did) -} - -func (this authenticationTable) Get(ctx context.Context, did string) (*Authentication, error) { - var authentication Authentication - found, err := this.table.PrimaryKey().Get(ctx, &authentication, did) - if err != nil { - return nil, err - } - if !found { - return nil, ormerrors.NotFound - } - return &authentication, nil -} - -func (this authenticationTable) HasByControllerSubject(ctx context.Context, controller string, subject string) (found bool, err error) { - return this.table.GetIndexByID(1).(ormtable.UniqueIndex).Has(ctx, - controller, - subject, - ) -} - -func (this authenticationTable) GetByControllerSubject(ctx context.Context, controller string, subject string) (*Authentication, error) { - var authentication Authentication - found, err := this.table.GetIndexByID(1).(ormtable.UniqueIndex).Get(ctx, &authentication, - controller, - subject, - ) - if err != nil { - return nil, err - } - if !found { - return nil, ormerrors.NotFound - } - return &authentication, nil -} - -func (this authenticationTable) List(ctx context.Context, prefixKey AuthenticationIndexKey, opts ...ormlist.Option) (AuthenticationIterator, error) { - it, err := this.table.GetIndexByID(prefixKey.id()).List(ctx, prefixKey.values(), opts...) - return AuthenticationIterator{it}, err -} - -func (this authenticationTable) ListRange(ctx context.Context, from, to AuthenticationIndexKey, opts ...ormlist.Option) (AuthenticationIterator, error) { - it, err := this.table.GetIndexByID(from.id()).ListRange(ctx, from.values(), to.values(), opts...) - return AuthenticationIterator{it}, err -} - -func (this authenticationTable) DeleteBy(ctx context.Context, prefixKey AuthenticationIndexKey) error { - return this.table.GetIndexByID(prefixKey.id()).DeleteBy(ctx, prefixKey.values()...) -} - -func (this authenticationTable) DeleteRange(ctx context.Context, from, to AuthenticationIndexKey) error { - return this.table.GetIndexByID(from.id()).DeleteRange(ctx, from.values(), to.values()) -} - -func (this authenticationTable) doNotImplement() {} - -var _ AuthenticationTable = authenticationTable{} - -func NewAuthenticationTable(db ormtable.Schema) (AuthenticationTable, error) { - table := db.GetTable(&Authentication{}) - if table == nil { - return nil, ormerrors.TableNotFound.Wrap(string((&Authentication{}).ProtoReflect().Descriptor().FullName())) - } - return authenticationTable{table}, nil -} - -type BiscuitTable interface { - Insert(ctx context.Context, biscuit *Biscuit) error - InsertReturningId(ctx context.Context, biscuit *Biscuit) (uint64, error) +type PublicKeyTable interface { + Insert(ctx context.Context, publicKey *PublicKey) error + InsertReturningNumber(ctx context.Context, publicKey *PublicKey) (uint64, error) LastInsertedSequence(ctx context.Context) (uint64, error) - Update(ctx context.Context, biscuit *Biscuit) error - Save(ctx context.Context, biscuit *Biscuit) error - Delete(ctx context.Context, biscuit *Biscuit) error - Has(ctx context.Context, id uint64) (found bool, err error) - // Get returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. - Get(ctx context.Context, id uint64) (*Biscuit, error) - HasBySubjectOrigin(ctx context.Context, subject string, origin string) (found bool, err error) - // GetBySubjectOrigin returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. - GetBySubjectOrigin(ctx context.Context, subject string, origin string) (*Biscuit, error) - List(ctx context.Context, prefixKey BiscuitIndexKey, opts ...ormlist.Option) (BiscuitIterator, error) - ListRange(ctx context.Context, from, to BiscuitIndexKey, opts ...ormlist.Option) (BiscuitIterator, error) - DeleteBy(ctx context.Context, prefixKey BiscuitIndexKey) error - DeleteRange(ctx context.Context, from, to BiscuitIndexKey) error - - doNotImplement() -} - -type BiscuitIterator struct { - ormtable.Iterator -} - -func (i BiscuitIterator) Value() (*Biscuit, error) { - var biscuit Biscuit - err := i.UnmarshalMessage(&biscuit) - return &biscuit, err -} - -type BiscuitIndexKey interface { - id() uint32 - values() []interface{} - biscuitIndexKey() -} - -// primary key starting index.. -type BiscuitPrimaryKey = BiscuitIdIndexKey - -type BiscuitIdIndexKey struct { - vs []interface{} -} - -func (x BiscuitIdIndexKey) id() uint32 { return 0 } -func (x BiscuitIdIndexKey) values() []interface{} { return x.vs } -func (x BiscuitIdIndexKey) biscuitIndexKey() {} - -func (this BiscuitIdIndexKey) WithId(id uint64) BiscuitIdIndexKey { - this.vs = []interface{}{id} - return this -} - -type BiscuitSubjectOriginIndexKey struct { - vs []interface{} -} - -func (x BiscuitSubjectOriginIndexKey) id() uint32 { return 1 } -func (x BiscuitSubjectOriginIndexKey) values() []interface{} { return x.vs } -func (x BiscuitSubjectOriginIndexKey) biscuitIndexKey() {} - -func (this BiscuitSubjectOriginIndexKey) WithSubject(subject string) BiscuitSubjectOriginIndexKey { - this.vs = []interface{}{subject} - return this -} - -func (this BiscuitSubjectOriginIndexKey) WithSubjectOrigin(subject string, origin string) BiscuitSubjectOriginIndexKey { - this.vs = []interface{}{subject, origin} - return this -} - -type biscuitTable struct { - table ormtable.AutoIncrementTable -} - -func (this biscuitTable) Insert(ctx context.Context, biscuit *Biscuit) error { - return this.table.Insert(ctx, biscuit) -} - -func (this biscuitTable) Update(ctx context.Context, biscuit *Biscuit) error { - return this.table.Update(ctx, biscuit) -} - -func (this biscuitTable) Save(ctx context.Context, biscuit *Biscuit) error { - return this.table.Save(ctx, biscuit) -} - -func (this biscuitTable) Delete(ctx context.Context, biscuit *Biscuit) error { - return this.table.Delete(ctx, biscuit) -} - -func (this biscuitTable) InsertReturningId(ctx context.Context, biscuit *Biscuit) (uint64, error) { - return this.table.InsertReturningPKey(ctx, biscuit) -} - -func (this biscuitTable) LastInsertedSequence(ctx context.Context) (uint64, error) { - return this.table.LastInsertedSequence(ctx) -} - -func (this biscuitTable) Has(ctx context.Context, id uint64) (found bool, err error) { - return this.table.PrimaryKey().Has(ctx, id) -} - -func (this biscuitTable) Get(ctx context.Context, id uint64) (*Biscuit, error) { - var biscuit Biscuit - found, err := this.table.PrimaryKey().Get(ctx, &biscuit, id) - if err != nil { - return nil, err - } - if !found { - return nil, ormerrors.NotFound - } - return &biscuit, nil -} - -func (this biscuitTable) HasBySubjectOrigin(ctx context.Context, subject string, origin string) (found bool, err error) { - return this.table.GetIndexByID(1).(ormtable.UniqueIndex).Has(ctx, - subject, - origin, - ) -} - -func (this biscuitTable) GetBySubjectOrigin(ctx context.Context, subject string, origin string) (*Biscuit, error) { - var biscuit Biscuit - found, err := this.table.GetIndexByID(1).(ormtable.UniqueIndex).Get(ctx, &biscuit, - subject, - origin, - ) - if err != nil { - return nil, err - } - if !found { - return nil, ormerrors.NotFound - } - return &biscuit, nil -} - -func (this biscuitTable) List(ctx context.Context, prefixKey BiscuitIndexKey, opts ...ormlist.Option) (BiscuitIterator, error) { - it, err := this.table.GetIndexByID(prefixKey.id()).List(ctx, prefixKey.values(), opts...) - return BiscuitIterator{it}, err -} - -func (this biscuitTable) ListRange(ctx context.Context, from, to BiscuitIndexKey, opts ...ormlist.Option) (BiscuitIterator, error) { - it, err := this.table.GetIndexByID(from.id()).ListRange(ctx, from.values(), to.values(), opts...) - return BiscuitIterator{it}, err -} - -func (this biscuitTable) DeleteBy(ctx context.Context, prefixKey BiscuitIndexKey) error { - return this.table.GetIndexByID(prefixKey.id()).DeleteBy(ctx, prefixKey.values()...) -} - -func (this biscuitTable) DeleteRange(ctx context.Context, from, to BiscuitIndexKey) error { - return this.table.GetIndexByID(from.id()).DeleteRange(ctx, from.values(), to.values()) -} - -func (this biscuitTable) doNotImplement() {} - -var _ BiscuitTable = biscuitTable{} - -func NewBiscuitTable(db ormtable.Schema) (BiscuitTable, error) { - table := db.GetTable(&Biscuit{}) - if table == nil { - return nil, ormerrors.TableNotFound.Wrap(string((&Biscuit{}).ProtoReflect().Descriptor().FullName())) - } - return biscuitTable{table.(ormtable.AutoIncrementTable)}, nil -} - -type ControllerTable interface { - Insert(ctx context.Context, controller *Controller) error - InsertReturningNumber(ctx context.Context, controller *Controller) (uint64, error) - LastInsertedSequence(ctx context.Context) (uint64, error) - Update(ctx context.Context, controller *Controller) error - Save(ctx context.Context, controller *Controller) error - Delete(ctx context.Context, controller *Controller) error + Update(ctx context.Context, publicKey *PublicKey) error + Save(ctx context.Context, publicKey *PublicKey) error + Delete(ctx context.Context, publicKey *PublicKey) error Has(ctx context.Context, number uint64) (found bool, err error) // Get returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. - Get(ctx context.Context, number uint64) (*Controller, error) + Get(ctx context.Context, number uint64) (*PublicKey, error) HasBySonrAddress(ctx context.Context, sonr_address string) (found bool, err error) // GetBySonrAddress returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. - GetBySonrAddress(ctx context.Context, sonr_address string) (*Controller, error) + GetBySonrAddress(ctx context.Context, sonr_address string) (*PublicKey, error) HasByEthAddress(ctx context.Context, eth_address string) (found bool, err error) // GetByEthAddress returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. - GetByEthAddress(ctx context.Context, eth_address string) (*Controller, error) + GetByEthAddress(ctx context.Context, eth_address string) (*PublicKey, error) HasByBtcAddress(ctx context.Context, btc_address string) (found bool, err error) // GetByBtcAddress returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. - GetByBtcAddress(ctx context.Context, btc_address string) (*Controller, error) + GetByBtcAddress(ctx context.Context, btc_address string) (*PublicKey, error) HasByDid(ctx context.Context, did string) (found bool, err error) // GetByDid returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. - GetByDid(ctx context.Context, did string) (*Controller, error) - List(ctx context.Context, prefixKey ControllerIndexKey, opts ...ormlist.Option) (ControllerIterator, error) - ListRange(ctx context.Context, from, to ControllerIndexKey, opts ...ormlist.Option) (ControllerIterator, error) - DeleteBy(ctx context.Context, prefixKey ControllerIndexKey) error - DeleteRange(ctx context.Context, from, to ControllerIndexKey) error + GetByDid(ctx context.Context, did string) (*PublicKey, error) + List(ctx context.Context, prefixKey PublicKeyIndexKey, opts ...ormlist.Option) (PublicKeyIterator, error) + ListRange(ctx context.Context, from, to PublicKeyIndexKey, opts ...ormlist.Option) (PublicKeyIterator, error) + DeleteBy(ctx context.Context, prefixKey PublicKeyIndexKey) error + DeleteRange(ctx context.Context, from, to PublicKeyIndexKey) error doNotImplement() } -type ControllerIterator struct { +type PublicKeyIterator struct { ormtable.Iterator } -func (i ControllerIterator) Value() (*Controller, error) { - var controller Controller - err := i.UnmarshalMessage(&controller) - return &controller, err +func (i PublicKeyIterator) Value() (*PublicKey, error) { + var publicKey PublicKey + err := i.UnmarshalMessage(&publicKey) + return &publicKey, err } -type ControllerIndexKey interface { +type PublicKeyIndexKey interface { id() uint32 values() []interface{} - controllerIndexKey() + publicKeyIndexKey() } // primary key starting index.. -type ControllerPrimaryKey = ControllerNumberIndexKey +type PublicKeyPrimaryKey = PublicKeyNumberIndexKey -type ControllerNumberIndexKey struct { +type PublicKeyNumberIndexKey struct { vs []interface{} } -func (x ControllerNumberIndexKey) id() uint32 { return 0 } -func (x ControllerNumberIndexKey) values() []interface{} { return x.vs } -func (x ControllerNumberIndexKey) controllerIndexKey() {} +func (x PublicKeyNumberIndexKey) id() uint32 { return 0 } +func (x PublicKeyNumberIndexKey) values() []interface{} { return x.vs } +func (x PublicKeyNumberIndexKey) publicKeyIndexKey() {} -func (this ControllerNumberIndexKey) WithNumber(number uint64) ControllerNumberIndexKey { +func (this PublicKeyNumberIndexKey) WithNumber(number uint64) PublicKeyNumberIndexKey { this.vs = []interface{}{number} return this } -type ControllerSonrAddressIndexKey struct { +type PublicKeySonrAddressIndexKey struct { vs []interface{} } -func (x ControllerSonrAddressIndexKey) id() uint32 { return 1 } -func (x ControllerSonrAddressIndexKey) values() []interface{} { return x.vs } -func (x ControllerSonrAddressIndexKey) controllerIndexKey() {} +func (x PublicKeySonrAddressIndexKey) id() uint32 { return 1 } +func (x PublicKeySonrAddressIndexKey) values() []interface{} { return x.vs } +func (x PublicKeySonrAddressIndexKey) publicKeyIndexKey() {} -func (this ControllerSonrAddressIndexKey) WithSonrAddress(sonr_address string) ControllerSonrAddressIndexKey { +func (this PublicKeySonrAddressIndexKey) WithSonrAddress(sonr_address string) PublicKeySonrAddressIndexKey { this.vs = []interface{}{sonr_address} return this } -type ControllerEthAddressIndexKey struct { +type PublicKeyEthAddressIndexKey struct { vs []interface{} } -func (x ControllerEthAddressIndexKey) id() uint32 { return 2 } -func (x ControllerEthAddressIndexKey) values() []interface{} { return x.vs } -func (x ControllerEthAddressIndexKey) controllerIndexKey() {} +func (x PublicKeyEthAddressIndexKey) id() uint32 { return 2 } +func (x PublicKeyEthAddressIndexKey) values() []interface{} { return x.vs } +func (x PublicKeyEthAddressIndexKey) publicKeyIndexKey() {} -func (this ControllerEthAddressIndexKey) WithEthAddress(eth_address string) ControllerEthAddressIndexKey { +func (this PublicKeyEthAddressIndexKey) WithEthAddress(eth_address string) PublicKeyEthAddressIndexKey { this.vs = []interface{}{eth_address} return this } -type ControllerBtcAddressIndexKey struct { +type PublicKeyBtcAddressIndexKey struct { vs []interface{} } -func (x ControllerBtcAddressIndexKey) id() uint32 { return 3 } -func (x ControllerBtcAddressIndexKey) values() []interface{} { return x.vs } -func (x ControllerBtcAddressIndexKey) controllerIndexKey() {} +func (x PublicKeyBtcAddressIndexKey) id() uint32 { return 3 } +func (x PublicKeyBtcAddressIndexKey) values() []interface{} { return x.vs } +func (x PublicKeyBtcAddressIndexKey) publicKeyIndexKey() {} -func (this ControllerBtcAddressIndexKey) WithBtcAddress(btc_address string) ControllerBtcAddressIndexKey { +func (this PublicKeyBtcAddressIndexKey) WithBtcAddress(btc_address string) PublicKeyBtcAddressIndexKey { this.vs = []interface{}{btc_address} return this } -type ControllerDidIndexKey struct { +type PublicKeyDidIndexKey struct { vs []interface{} } -func (x ControllerDidIndexKey) id() uint32 { return 4 } -func (x ControllerDidIndexKey) values() []interface{} { return x.vs } -func (x ControllerDidIndexKey) controllerIndexKey() {} +func (x PublicKeyDidIndexKey) id() uint32 { return 4 } +func (x PublicKeyDidIndexKey) values() []interface{} { return x.vs } +func (x PublicKeyDidIndexKey) publicKeyIndexKey() {} -func (this ControllerDidIndexKey) WithDid(did string) ControllerDidIndexKey { +func (this PublicKeyDidIndexKey) WithDid(did string) PublicKeyDidIndexKey { this.vs = []interface{}{did} return this } -type controllerTable struct { +type publicKeyTable struct { table ormtable.AutoIncrementTable } -func (this controllerTable) Insert(ctx context.Context, controller *Controller) error { - return this.table.Insert(ctx, controller) +func (this publicKeyTable) Insert(ctx context.Context, publicKey *PublicKey) error { + return this.table.Insert(ctx, publicKey) } -func (this controllerTable) Update(ctx context.Context, controller *Controller) error { - return this.table.Update(ctx, controller) +func (this publicKeyTable) Update(ctx context.Context, publicKey *PublicKey) error { + return this.table.Update(ctx, publicKey) } -func (this controllerTable) Save(ctx context.Context, controller *Controller) error { - return this.table.Save(ctx, controller) +func (this publicKeyTable) Save(ctx context.Context, publicKey *PublicKey) error { + return this.table.Save(ctx, publicKey) } -func (this controllerTable) Delete(ctx context.Context, controller *Controller) error { - return this.table.Delete(ctx, controller) +func (this publicKeyTable) Delete(ctx context.Context, publicKey *PublicKey) error { + return this.table.Delete(ctx, publicKey) } -func (this controllerTable) InsertReturningNumber(ctx context.Context, controller *Controller) (uint64, error) { - return this.table.InsertReturningPKey(ctx, controller) +func (this publicKeyTable) InsertReturningNumber(ctx context.Context, publicKey *PublicKey) (uint64, error) { + return this.table.InsertReturningPKey(ctx, publicKey) } -func (this controllerTable) LastInsertedSequence(ctx context.Context) (uint64, error) { +func (this publicKeyTable) LastInsertedSequence(ctx context.Context) (uint64, error) { return this.table.LastInsertedSequence(ctx) } -func (this controllerTable) Has(ctx context.Context, number uint64) (found bool, err error) { +func (this publicKeyTable) Has(ctx context.Context, number uint64) (found bool, err error) { return this.table.PrimaryKey().Has(ctx, number) } -func (this controllerTable) Get(ctx context.Context, number uint64) (*Controller, error) { - var controller Controller - found, err := this.table.PrimaryKey().Get(ctx, &controller, number) +func (this publicKeyTable) Get(ctx context.Context, number uint64) (*PublicKey, error) { + var publicKey PublicKey + found, err := this.table.PrimaryKey().Get(ctx, &publicKey, number) if err != nil { return nil, err } if !found { return nil, ormerrors.NotFound } - return &controller, nil + return &publicKey, nil } -func (this controllerTable) HasBySonrAddress(ctx context.Context, sonr_address string) (found bool, err error) { +func (this publicKeyTable) HasBySonrAddress(ctx context.Context, sonr_address string) (found bool, err error) { return this.table.GetIndexByID(1).(ormtable.UniqueIndex).Has(ctx, sonr_address, ) } -func (this controllerTable) GetBySonrAddress(ctx context.Context, sonr_address string) (*Controller, error) { - var controller Controller - found, err := this.table.GetIndexByID(1).(ormtable.UniqueIndex).Get(ctx, &controller, +func (this publicKeyTable) GetBySonrAddress(ctx context.Context, sonr_address string) (*PublicKey, error) { + var publicKey PublicKey + found, err := this.table.GetIndexByID(1).(ormtable.UniqueIndex).Get(ctx, &publicKey, sonr_address, ) if err != nil { @@ -665,18 +341,18 @@ func (this controllerTable) GetBySonrAddress(ctx context.Context, sonr_address s if !found { return nil, ormerrors.NotFound } - return &controller, nil + return &publicKey, nil } -func (this controllerTable) HasByEthAddress(ctx context.Context, eth_address string) (found bool, err error) { +func (this publicKeyTable) HasByEthAddress(ctx context.Context, eth_address string) (found bool, err error) { return this.table.GetIndexByID(2).(ormtable.UniqueIndex).Has(ctx, eth_address, ) } -func (this controllerTable) GetByEthAddress(ctx context.Context, eth_address string) (*Controller, error) { - var controller Controller - found, err := this.table.GetIndexByID(2).(ormtable.UniqueIndex).Get(ctx, &controller, +func (this publicKeyTable) GetByEthAddress(ctx context.Context, eth_address string) (*PublicKey, error) { + var publicKey PublicKey + found, err := this.table.GetIndexByID(2).(ormtable.UniqueIndex).Get(ctx, &publicKey, eth_address, ) if err != nil { @@ -685,18 +361,18 @@ func (this controllerTable) GetByEthAddress(ctx context.Context, eth_address str if !found { return nil, ormerrors.NotFound } - return &controller, nil + return &publicKey, nil } -func (this controllerTable) HasByBtcAddress(ctx context.Context, btc_address string) (found bool, err error) { +func (this publicKeyTable) HasByBtcAddress(ctx context.Context, btc_address string) (found bool, err error) { return this.table.GetIndexByID(3).(ormtable.UniqueIndex).Has(ctx, btc_address, ) } -func (this controllerTable) GetByBtcAddress(ctx context.Context, btc_address string) (*Controller, error) { - var controller Controller - found, err := this.table.GetIndexByID(3).(ormtable.UniqueIndex).Get(ctx, &controller, +func (this publicKeyTable) GetByBtcAddress(ctx context.Context, btc_address string) (*PublicKey, error) { + var publicKey PublicKey + found, err := this.table.GetIndexByID(3).(ormtable.UniqueIndex).Get(ctx, &publicKey, btc_address, ) if err != nil { @@ -705,18 +381,18 @@ func (this controllerTable) GetByBtcAddress(ctx context.Context, btc_address str if !found { return nil, ormerrors.NotFound } - return &controller, nil + return &publicKey, nil } -func (this controllerTable) HasByDid(ctx context.Context, did string) (found bool, err error) { +func (this publicKeyTable) HasByDid(ctx context.Context, did string) (found bool, err error) { return this.table.GetIndexByID(4).(ormtable.UniqueIndex).Has(ctx, did, ) } -func (this controllerTable) GetByDid(ctx context.Context, did string) (*Controller, error) { - var controller Controller - found, err := this.table.GetIndexByID(4).(ormtable.UniqueIndex).Get(ctx, &controller, +func (this publicKeyTable) GetByDid(ctx context.Context, did string) (*PublicKey, error) { + var publicKey PublicKey + found, err := this.table.GetIndexByID(4).(ormtable.UniqueIndex).Get(ctx, &publicKey, did, ) if err != nil { @@ -725,37 +401,37 @@ func (this controllerTable) GetByDid(ctx context.Context, did string) (*Controll if !found { return nil, ormerrors.NotFound } - return &controller, nil + return &publicKey, nil } -func (this controllerTable) List(ctx context.Context, prefixKey ControllerIndexKey, opts ...ormlist.Option) (ControllerIterator, error) { +func (this publicKeyTable) List(ctx context.Context, prefixKey PublicKeyIndexKey, opts ...ormlist.Option) (PublicKeyIterator, error) { it, err := this.table.GetIndexByID(prefixKey.id()).List(ctx, prefixKey.values(), opts...) - return ControllerIterator{it}, err + return PublicKeyIterator{it}, err } -func (this controllerTable) ListRange(ctx context.Context, from, to ControllerIndexKey, opts ...ormlist.Option) (ControllerIterator, error) { +func (this publicKeyTable) ListRange(ctx context.Context, from, to PublicKeyIndexKey, opts ...ormlist.Option) (PublicKeyIterator, error) { it, err := this.table.GetIndexByID(from.id()).ListRange(ctx, from.values(), to.values(), opts...) - return ControllerIterator{it}, err + return PublicKeyIterator{it}, err } -func (this controllerTable) DeleteBy(ctx context.Context, prefixKey ControllerIndexKey) error { +func (this publicKeyTable) DeleteBy(ctx context.Context, prefixKey PublicKeyIndexKey) error { return this.table.GetIndexByID(prefixKey.id()).DeleteBy(ctx, prefixKey.values()...) } -func (this controllerTable) DeleteRange(ctx context.Context, from, to ControllerIndexKey) error { +func (this publicKeyTable) DeleteRange(ctx context.Context, from, to PublicKeyIndexKey) error { return this.table.GetIndexByID(from.id()).DeleteRange(ctx, from.values(), to.values()) } -func (this controllerTable) doNotImplement() {} +func (this publicKeyTable) doNotImplement() {} -var _ ControllerTable = controllerTable{} +var _ PublicKeyTable = publicKeyTable{} -func NewControllerTable(db ormtable.Schema) (ControllerTable, error) { - table := db.GetTable(&Controller{}) +func NewPublicKeyTable(db ormtable.Schema) (PublicKeyTable, error) { + table := db.GetTable(&PublicKey{}) if table == nil { - return nil, ormerrors.TableNotFound.Wrap(string((&Controller{}).ProtoReflect().Descriptor().FullName())) + return nil, ormerrors.TableNotFound.Wrap(string((&PublicKey{}).ProtoReflect().Descriptor().FullName())) } - return controllerTable{table.(ormtable.AutoIncrementTable)}, nil + return publicKeyTable{table.(ormtable.AutoIncrementTable)}, nil } type VerificationTable interface { @@ -1016,37 +692,25 @@ func NewVerificationTable(db ormtable.Schema) (VerificationTable, error) { } type StateStore interface { - AssertionTable() AssertionTable - AuthenticationTable() AuthenticationTable - BiscuitTable() BiscuitTable - ControllerTable() ControllerTable + AccountTable() AccountTable + PublicKeyTable() PublicKeyTable VerificationTable() VerificationTable doNotImplement() } type stateStore struct { - assertion AssertionTable - authentication AuthenticationTable - biscuit BiscuitTable - controller ControllerTable - verification VerificationTable + account AccountTable + publicKey PublicKeyTable + verification VerificationTable } -func (x stateStore) AssertionTable() AssertionTable { - return x.assertion +func (x stateStore) AccountTable() AccountTable { + return x.account } -func (x stateStore) AuthenticationTable() AuthenticationTable { - return x.authentication -} - -func (x stateStore) BiscuitTable() BiscuitTable { - return x.biscuit -} - -func (x stateStore) ControllerTable() ControllerTable { - return x.controller +func (x stateStore) PublicKeyTable() PublicKeyTable { + return x.publicKey } func (x stateStore) VerificationTable() VerificationTable { @@ -1058,22 +722,12 @@ func (stateStore) doNotImplement() {} var _ StateStore = stateStore{} func NewStateStore(db ormtable.Schema) (StateStore, error) { - assertionTable, err := NewAssertionTable(db) + accountTable, err := NewAccountTable(db) if err != nil { return nil, err } - authenticationTable, err := NewAuthenticationTable(db) - if err != nil { - return nil, err - } - - biscuitTable, err := NewBiscuitTable(db) - if err != nil { - return nil, err - } - - controllerTable, err := NewControllerTable(db) + publicKeyTable, err := NewPublicKeyTable(db) if err != nil { return nil, err } @@ -1084,10 +738,8 @@ func NewStateStore(db ormtable.Schema) (StateStore, error) { } return stateStore{ - assertionTable, - authenticationTable, - biscuitTable, - controllerTable, + accountTable, + publicKeyTable, verificationTable, }, nil } diff --git a/api/did/v1/state.pulsar.go b/api/did/v1/state.pulsar.go index 7fe1e9a98..af60e7946 100644 --- a/api/did/v1/state.pulsar.go +++ b/api/did/v1/state.pulsar.go @@ -14,20 +14,20 @@ import ( sync "sync" ) -var _ protoreflect.Map = (*_Assertion_6_map)(nil) +var _ protoreflect.Map = (*_Account_6_map)(nil) -type _Assertion_6_map struct { +type _Account_6_map struct { m *map[string][]byte } -func (x *_Assertion_6_map) Len() int { +func (x *_Account_6_map) Len() int { if x.m == nil { return 0 } return len(*x.m) } -func (x *_Assertion_6_map) Range(f func(protoreflect.MapKey, protoreflect.Value) bool) { +func (x *_Account_6_map) Range(f func(protoreflect.MapKey, protoreflect.Value) bool) { if x.m == nil { return } @@ -40,7 +40,7 @@ func (x *_Assertion_6_map) Range(f func(protoreflect.MapKey, protoreflect.Value) } } -func (x *_Assertion_6_map) Has(key protoreflect.MapKey) bool { +func (x *_Account_6_map) Has(key protoreflect.MapKey) bool { if x.m == nil { return false } @@ -50,7 +50,7 @@ func (x *_Assertion_6_map) Has(key protoreflect.MapKey) bool { return ok } -func (x *_Assertion_6_map) Clear(key protoreflect.MapKey) { +func (x *_Account_6_map) Clear(key protoreflect.MapKey) { if x.m == nil { return } @@ -59,7 +59,7 @@ func (x *_Assertion_6_map) Clear(key protoreflect.MapKey) { delete(*x.m, concreteKey) } -func (x *_Assertion_6_map) Get(key protoreflect.MapKey) protoreflect.Value { +func (x *_Account_6_map) Get(key protoreflect.MapKey) protoreflect.Value { if x.m == nil { return protoreflect.Value{} } @@ -72,7 +72,7 @@ func (x *_Assertion_6_map) Get(key protoreflect.MapKey) protoreflect.Value { return protoreflect.ValueOfBytes(v) } -func (x *_Assertion_6_map) Set(key protoreflect.MapKey, value protoreflect.Value) { +func (x *_Account_6_map) Set(key protoreflect.MapKey, value protoreflect.Value) { if !key.IsValid() || !value.IsValid() { panic("invalid key or value provided") } @@ -83,51 +83,51 @@ func (x *_Assertion_6_map) Set(key protoreflect.MapKey, value protoreflect.Value (*x.m)[concreteKey] = concreteValue } -func (x *_Assertion_6_map) Mutable(key protoreflect.MapKey) protoreflect.Value { +func (x *_Account_6_map) Mutable(key protoreflect.MapKey) protoreflect.Value { panic("should not call Mutable on protoreflect.Map whose value is not of type protoreflect.Message") } -func (x *_Assertion_6_map) NewValue() protoreflect.Value { +func (x *_Account_6_map) NewValue() protoreflect.Value { var v []byte return protoreflect.ValueOfBytes(v) } -func (x *_Assertion_6_map) IsValid() bool { +func (x *_Account_6_map) IsValid() bool { return x.m != nil } var ( - md_Assertion protoreflect.MessageDescriptor - fd_Assertion_did protoreflect.FieldDescriptor - fd_Assertion_controller protoreflect.FieldDescriptor - fd_Assertion_subject protoreflect.FieldDescriptor - fd_Assertion_public_key_hex protoreflect.FieldDescriptor - fd_Assertion_assertion_type protoreflect.FieldDescriptor - fd_Assertion_accumulator protoreflect.FieldDescriptor - fd_Assertion_creation_block protoreflect.FieldDescriptor + md_Account protoreflect.MessageDescriptor + fd_Account_did protoreflect.FieldDescriptor + fd_Account_controller protoreflect.FieldDescriptor + fd_Account_subject protoreflect.FieldDescriptor + fd_Account_public_key_hex protoreflect.FieldDescriptor + fd_Account_assertion_type protoreflect.FieldDescriptor + fd_Account_accumulator protoreflect.FieldDescriptor + fd_Account_creation_block protoreflect.FieldDescriptor ) func init() { file_did_v1_state_proto_init() - md_Assertion = File_did_v1_state_proto.Messages().ByName("Assertion") - fd_Assertion_did = md_Assertion.Fields().ByName("did") - fd_Assertion_controller = md_Assertion.Fields().ByName("controller") - fd_Assertion_subject = md_Assertion.Fields().ByName("subject") - fd_Assertion_public_key_hex = md_Assertion.Fields().ByName("public_key_hex") - fd_Assertion_assertion_type = md_Assertion.Fields().ByName("assertion_type") - fd_Assertion_accumulator = md_Assertion.Fields().ByName("accumulator") - fd_Assertion_creation_block = md_Assertion.Fields().ByName("creation_block") + md_Account = File_did_v1_state_proto.Messages().ByName("Account") + fd_Account_did = md_Account.Fields().ByName("did") + fd_Account_controller = md_Account.Fields().ByName("controller") + fd_Account_subject = md_Account.Fields().ByName("subject") + fd_Account_public_key_hex = md_Account.Fields().ByName("public_key_hex") + fd_Account_assertion_type = md_Account.Fields().ByName("assertion_type") + fd_Account_accumulator = md_Account.Fields().ByName("accumulator") + fd_Account_creation_block = md_Account.Fields().ByName("creation_block") } -var _ protoreflect.Message = (*fastReflection_Assertion)(nil) +var _ protoreflect.Message = (*fastReflection_Account)(nil) -type fastReflection_Assertion Assertion +type fastReflection_Account Account -func (x *Assertion) ProtoReflect() protoreflect.Message { - return (*fastReflection_Assertion)(x) +func (x *Account) ProtoReflect() protoreflect.Message { + return (*fastReflection_Account)(x) } -func (x *Assertion) slowProtoReflect() protoreflect.Message { +func (x *Account) slowProtoReflect() protoreflect.Message { mi := &file_did_v1_state_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -139,43 +139,43 @@ func (x *Assertion) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_Assertion_messageType fastReflection_Assertion_messageType -var _ protoreflect.MessageType = fastReflection_Assertion_messageType{} +var _fastReflection_Account_messageType fastReflection_Account_messageType +var _ protoreflect.MessageType = fastReflection_Account_messageType{} -type fastReflection_Assertion_messageType struct{} +type fastReflection_Account_messageType struct{} -func (x fastReflection_Assertion_messageType) Zero() protoreflect.Message { - return (*fastReflection_Assertion)(nil) +func (x fastReflection_Account_messageType) Zero() protoreflect.Message { + return (*fastReflection_Account)(nil) } -func (x fastReflection_Assertion_messageType) New() protoreflect.Message { - return new(fastReflection_Assertion) +func (x fastReflection_Account_messageType) New() protoreflect.Message { + return new(fastReflection_Account) } -func (x fastReflection_Assertion_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_Assertion +func (x fastReflection_Account_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_Account } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_Assertion) Descriptor() protoreflect.MessageDescriptor { - return md_Assertion +func (x *fastReflection_Account) Descriptor() protoreflect.MessageDescriptor { + return md_Account } // Type returns the message type, which encapsulates both Go and protobuf // type information. If the Go type information is not needed, // it is recommended that the message descriptor be used instead. -func (x *fastReflection_Assertion) Type() protoreflect.MessageType { - return _fastReflection_Assertion_messageType +func (x *fastReflection_Account) Type() protoreflect.MessageType { + return _fastReflection_Account_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_Assertion) New() protoreflect.Message { - return new(fastReflection_Assertion) +func (x *fastReflection_Account) New() protoreflect.Message { + return new(fastReflection_Account) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_Assertion) Interface() protoreflect.ProtoMessage { - return (*Assertion)(x) +func (x *fastReflection_Account) Interface() protoreflect.ProtoMessage { + return (*Account)(x) } // Range iterates over every populated field in an undefined order, @@ -183,46 +183,46 @@ func (x *fastReflection_Assertion) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_Assertion) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_Account) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Did != "" { value := protoreflect.ValueOfString(x.Did) - if !f(fd_Assertion_did, value) { + if !f(fd_Account_did, value) { return } } if x.Controller != "" { value := protoreflect.ValueOfString(x.Controller) - if !f(fd_Assertion_controller, value) { + if !f(fd_Account_controller, value) { return } } if x.Subject != "" { value := protoreflect.ValueOfString(x.Subject) - if !f(fd_Assertion_subject, value) { + if !f(fd_Account_subject, value) { return } } if x.PublicKeyHex != "" { value := protoreflect.ValueOfString(x.PublicKeyHex) - if !f(fd_Assertion_public_key_hex, value) { + if !f(fd_Account_public_key_hex, value) { return } } if x.AssertionType != "" { value := protoreflect.ValueOfString(x.AssertionType) - if !f(fd_Assertion_assertion_type, value) { + if !f(fd_Account_assertion_type, value) { return } } if len(x.Accumulator) != 0 { - value := protoreflect.ValueOfMap(&_Assertion_6_map{m: &x.Accumulator}) - if !f(fd_Assertion_accumulator, value) { + value := protoreflect.ValueOfMap(&_Account_6_map{m: &x.Accumulator}) + if !f(fd_Account_accumulator, value) { return } } if x.CreationBlock != int64(0) { value := protoreflect.ValueOfInt64(x.CreationBlock) - if !f(fd_Assertion_creation_block, value) { + if !f(fd_Account_creation_block, value) { return } } @@ -239,27 +239,27 @@ func (x *fastReflection_Assertion) Range(f func(protoreflect.FieldDescriptor, pr // In other cases (aside from the nullable cases above), // a proto3 scalar field is populated if it contains a non-zero value, and // a repeated field is populated if it is non-empty. -func (x *fastReflection_Assertion) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_Account) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "did.v1.Assertion.did": + case "did.v1.Account.did": return x.Did != "" - case "did.v1.Assertion.controller": + case "did.v1.Account.controller": return x.Controller != "" - case "did.v1.Assertion.subject": + case "did.v1.Account.subject": return x.Subject != "" - case "did.v1.Assertion.public_key_hex": + case "did.v1.Account.public_key_hex": return x.PublicKeyHex != "" - case "did.v1.Assertion.assertion_type": + case "did.v1.Account.assertion_type": return x.AssertionType != "" - case "did.v1.Assertion.accumulator": + case "did.v1.Account.accumulator": return len(x.Accumulator) != 0 - case "did.v1.Assertion.creation_block": + case "did.v1.Account.creation_block": return x.CreationBlock != int64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: did.v1.Assertion")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: did.v1.Account")) } - panic(fmt.Errorf("message did.v1.Assertion does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message did.v1.Account does not contain field %s", fd.FullName())) } } @@ -269,27 +269,27 @@ func (x *fastReflection_Assertion) Has(fd protoreflect.FieldDescriptor) bool { // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Assertion) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_Account) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "did.v1.Assertion.did": + case "did.v1.Account.did": x.Did = "" - case "did.v1.Assertion.controller": + case "did.v1.Account.controller": x.Controller = "" - case "did.v1.Assertion.subject": + case "did.v1.Account.subject": x.Subject = "" - case "did.v1.Assertion.public_key_hex": + case "did.v1.Account.public_key_hex": x.PublicKeyHex = "" - case "did.v1.Assertion.assertion_type": + case "did.v1.Account.assertion_type": x.AssertionType = "" - case "did.v1.Assertion.accumulator": + case "did.v1.Account.accumulator": x.Accumulator = nil - case "did.v1.Assertion.creation_block": + case "did.v1.Account.creation_block": x.CreationBlock = int64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: did.v1.Assertion")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: did.v1.Account")) } - panic(fmt.Errorf("message did.v1.Assertion does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message did.v1.Account does not contain field %s", fd.FullName())) } } @@ -299,37 +299,37 @@ func (x *fastReflection_Assertion) Clear(fd protoreflect.FieldDescriptor) { // the default value of a bytes scalar is guaranteed to be a copy. // For unpopulated composite types, it returns an empty, read-only view // of the value; to obtain a mutable reference, use Mutable. -func (x *fastReflection_Assertion) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_Account) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "did.v1.Assertion.did": + case "did.v1.Account.did": value := x.Did return protoreflect.ValueOfString(value) - case "did.v1.Assertion.controller": + case "did.v1.Account.controller": value := x.Controller return protoreflect.ValueOfString(value) - case "did.v1.Assertion.subject": + case "did.v1.Account.subject": value := x.Subject return protoreflect.ValueOfString(value) - case "did.v1.Assertion.public_key_hex": + case "did.v1.Account.public_key_hex": value := x.PublicKeyHex return protoreflect.ValueOfString(value) - case "did.v1.Assertion.assertion_type": + case "did.v1.Account.assertion_type": value := x.AssertionType return protoreflect.ValueOfString(value) - case "did.v1.Assertion.accumulator": + case "did.v1.Account.accumulator": if len(x.Accumulator) == 0 { - return protoreflect.ValueOfMap(&_Assertion_6_map{}) + return protoreflect.ValueOfMap(&_Account_6_map{}) } - mapValue := &_Assertion_6_map{m: &x.Accumulator} + mapValue := &_Account_6_map{m: &x.Accumulator} return protoreflect.ValueOfMap(mapValue) - case "did.v1.Assertion.creation_block": + case "did.v1.Account.creation_block": value := x.CreationBlock return protoreflect.ValueOfInt64(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: did.v1.Assertion")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: did.v1.Account")) } - panic(fmt.Errorf("message did.v1.Assertion does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message did.v1.Account does not contain field %s", descriptor.FullName())) } } @@ -343,29 +343,29 @@ func (x *fastReflection_Assertion) Get(descriptor protoreflect.FieldDescriptor) // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Assertion) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_Account) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "did.v1.Assertion.did": + case "did.v1.Account.did": x.Did = value.Interface().(string) - case "did.v1.Assertion.controller": + case "did.v1.Account.controller": x.Controller = value.Interface().(string) - case "did.v1.Assertion.subject": + case "did.v1.Account.subject": x.Subject = value.Interface().(string) - case "did.v1.Assertion.public_key_hex": + case "did.v1.Account.public_key_hex": x.PublicKeyHex = value.Interface().(string) - case "did.v1.Assertion.assertion_type": + case "did.v1.Account.assertion_type": x.AssertionType = value.Interface().(string) - case "did.v1.Assertion.accumulator": + case "did.v1.Account.accumulator": mv := value.Map() - cmv := mv.(*_Assertion_6_map) + cmv := mv.(*_Account_6_map) x.Accumulator = *cmv.m - case "did.v1.Assertion.creation_block": + case "did.v1.Account.creation_block": x.CreationBlock = value.Int() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: did.v1.Assertion")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: did.v1.Account")) } - panic(fmt.Errorf("message did.v1.Assertion does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message did.v1.Account does not contain field %s", fd.FullName())) } } @@ -379,69 +379,69 @@ func (x *fastReflection_Assertion) Set(fd protoreflect.FieldDescriptor, value pr // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Assertion) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_Account) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "did.v1.Assertion.accumulator": + case "did.v1.Account.accumulator": if x.Accumulator == nil { x.Accumulator = make(map[string][]byte) } - value := &_Assertion_6_map{m: &x.Accumulator} + value := &_Account_6_map{m: &x.Accumulator} return protoreflect.ValueOfMap(value) - case "did.v1.Assertion.did": - panic(fmt.Errorf("field did of message did.v1.Assertion is not mutable")) - case "did.v1.Assertion.controller": - panic(fmt.Errorf("field controller of message did.v1.Assertion is not mutable")) - case "did.v1.Assertion.subject": - panic(fmt.Errorf("field subject of message did.v1.Assertion is not mutable")) - case "did.v1.Assertion.public_key_hex": - panic(fmt.Errorf("field public_key_hex of message did.v1.Assertion is not mutable")) - case "did.v1.Assertion.assertion_type": - panic(fmt.Errorf("field assertion_type of message did.v1.Assertion is not mutable")) - case "did.v1.Assertion.creation_block": - panic(fmt.Errorf("field creation_block of message did.v1.Assertion is not mutable")) + case "did.v1.Account.did": + panic(fmt.Errorf("field did of message did.v1.Account is not mutable")) + case "did.v1.Account.controller": + panic(fmt.Errorf("field controller of message did.v1.Account is not mutable")) + case "did.v1.Account.subject": + panic(fmt.Errorf("field subject of message did.v1.Account is not mutable")) + case "did.v1.Account.public_key_hex": + panic(fmt.Errorf("field public_key_hex of message did.v1.Account is not mutable")) + case "did.v1.Account.assertion_type": + panic(fmt.Errorf("field assertion_type of message did.v1.Account is not mutable")) + case "did.v1.Account.creation_block": + panic(fmt.Errorf("field creation_block of message did.v1.Account is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: did.v1.Assertion")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: did.v1.Account")) } - panic(fmt.Errorf("message did.v1.Assertion does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message did.v1.Account does not contain field %s", fd.FullName())) } } // NewField returns a new value that is assignable to the field // for the given descriptor. For scalars, this returns the default value. // For lists, maps, and messages, this returns a new, empty, mutable value. -func (x *fastReflection_Assertion) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_Account) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "did.v1.Assertion.did": + case "did.v1.Account.did": return protoreflect.ValueOfString("") - case "did.v1.Assertion.controller": + case "did.v1.Account.controller": return protoreflect.ValueOfString("") - case "did.v1.Assertion.subject": + case "did.v1.Account.subject": return protoreflect.ValueOfString("") - case "did.v1.Assertion.public_key_hex": + case "did.v1.Account.public_key_hex": return protoreflect.ValueOfString("") - case "did.v1.Assertion.assertion_type": + case "did.v1.Account.assertion_type": return protoreflect.ValueOfString("") - case "did.v1.Assertion.accumulator": + case "did.v1.Account.accumulator": m := make(map[string][]byte) - return protoreflect.ValueOfMap(&_Assertion_6_map{m: &m}) - case "did.v1.Assertion.creation_block": + return protoreflect.ValueOfMap(&_Account_6_map{m: &m}) + case "did.v1.Account.creation_block": return protoreflect.ValueOfInt64(int64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: did.v1.Assertion")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: did.v1.Account")) } - panic(fmt.Errorf("message did.v1.Assertion does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message did.v1.Account does not contain field %s", fd.FullName())) } } // WhichOneof reports which field within the oneof is populated, // returning nil if none are populated. // It panics if the oneof descriptor does not belong to this message. -func (x *fastReflection_Assertion) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_Account) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in did.v1.Assertion", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in did.v1.Account", d.FullName())) } panic("unreachable") } @@ -449,7 +449,7 @@ func (x *fastReflection_Assertion) WhichOneof(d protoreflect.OneofDescriptor) pr // GetUnknown retrieves the entire list of unknown fields. // The caller may only mutate the contents of the RawFields // if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_Assertion) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_Account) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -460,7 +460,7 @@ func (x *fastReflection_Assertion) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Assertion) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_Account) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -472,7 +472,7 @@ func (x *fastReflection_Assertion) SetUnknown(fields protoreflect.RawFields) { // message type, but the details are implementation dependent. // Validity is not part of the protobuf data model, and may not // be preserved in marshaling or other operations. -func (x *fastReflection_Assertion) IsValid() bool { +func (x *fastReflection_Account) IsValid() bool { return x != nil } @@ -482,9 +482,9 @@ func (x *fastReflection_Assertion) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_Assertion) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_Account) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*Assertion) + x := input.Message.Interface().(*Account) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -551,7 +551,7 @@ func (x *fastReflection_Assertion) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*Assertion) + x := input.Message.Interface().(*Account) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -664,7 +664,7 @@ func (x *fastReflection_Assertion) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*Assertion) + x := input.Message.Interface().(*Account) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -696,10 +696,10 @@ func (x *fastReflection_Assertion) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Assertion: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Account: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Assertion: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Account: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -1044,120 +1044,42 @@ func (x *fastReflection_Assertion) ProtoMethods() *protoiface.Methods { } } -var _ protoreflect.Map = (*_Authentication_6_map)(nil) - -type _Authentication_6_map struct { - m *map[string]string -} - -func (x *_Authentication_6_map) Len() int { - if x.m == nil { - return 0 - } - return len(*x.m) -} - -func (x *_Authentication_6_map) Range(f func(protoreflect.MapKey, protoreflect.Value) bool) { - if x.m == nil { - return - } - for k, v := range *x.m { - mapKey := (protoreflect.MapKey)(protoreflect.ValueOfString(k)) - mapValue := protoreflect.ValueOfString(v) - if !f(mapKey, mapValue) { - break - } - } -} - -func (x *_Authentication_6_map) Has(key protoreflect.MapKey) bool { - if x.m == nil { - return false - } - keyUnwrapped := key.String() - concreteValue := keyUnwrapped - _, ok := (*x.m)[concreteValue] - return ok -} - -func (x *_Authentication_6_map) Clear(key protoreflect.MapKey) { - if x.m == nil { - return - } - keyUnwrapped := key.String() - concreteKey := keyUnwrapped - delete(*x.m, concreteKey) -} - -func (x *_Authentication_6_map) Get(key protoreflect.MapKey) protoreflect.Value { - if x.m == nil { - return protoreflect.Value{} - } - keyUnwrapped := key.String() - concreteKey := keyUnwrapped - v, ok := (*x.m)[concreteKey] - if !ok { - return protoreflect.Value{} - } - return protoreflect.ValueOfString(v) -} - -func (x *_Authentication_6_map) Set(key protoreflect.MapKey, value protoreflect.Value) { - if !key.IsValid() || !value.IsValid() { - panic("invalid key or value provided") - } - keyUnwrapped := key.String() - concreteKey := keyUnwrapped - valueUnwrapped := value.String() - concreteValue := valueUnwrapped - (*x.m)[concreteKey] = concreteValue -} - -func (x *_Authentication_6_map) Mutable(key protoreflect.MapKey) protoreflect.Value { - panic("should not call Mutable on protoreflect.Map whose value is not of type protoreflect.Message") -} - -func (x *_Authentication_6_map) NewValue() protoreflect.Value { - v := "" - return protoreflect.ValueOfString(v) -} - -func (x *_Authentication_6_map) IsValid() bool { - return x.m != nil -} - var ( - md_Authentication protoreflect.MessageDescriptor - fd_Authentication_did protoreflect.FieldDescriptor - fd_Authentication_controller protoreflect.FieldDescriptor - fd_Authentication_subject protoreflect.FieldDescriptor - fd_Authentication_public_key_hex protoreflect.FieldDescriptor - fd_Authentication_credential_id protoreflect.FieldDescriptor - fd_Authentication_metadata protoreflect.FieldDescriptor - fd_Authentication_creation_block protoreflect.FieldDescriptor + md_PublicKey protoreflect.MessageDescriptor + fd_PublicKey_number protoreflect.FieldDescriptor + fd_PublicKey_did protoreflect.FieldDescriptor + fd_PublicKey_sonr_address protoreflect.FieldDescriptor + fd_PublicKey_eth_address protoreflect.FieldDescriptor + fd_PublicKey_btc_address protoreflect.FieldDescriptor + fd_PublicKey_public_key_hex protoreflect.FieldDescriptor + fd_PublicKey_ks_val protoreflect.FieldDescriptor + fd_PublicKey_claimed_block protoreflect.FieldDescriptor + fd_PublicKey_creation_block protoreflect.FieldDescriptor ) func init() { file_did_v1_state_proto_init() - md_Authentication = File_did_v1_state_proto.Messages().ByName("Authentication") - fd_Authentication_did = md_Authentication.Fields().ByName("did") - fd_Authentication_controller = md_Authentication.Fields().ByName("controller") - fd_Authentication_subject = md_Authentication.Fields().ByName("subject") - fd_Authentication_public_key_hex = md_Authentication.Fields().ByName("public_key_hex") - fd_Authentication_credential_id = md_Authentication.Fields().ByName("credential_id") - fd_Authentication_metadata = md_Authentication.Fields().ByName("metadata") - fd_Authentication_creation_block = md_Authentication.Fields().ByName("creation_block") + md_PublicKey = File_did_v1_state_proto.Messages().ByName("PublicKey") + fd_PublicKey_number = md_PublicKey.Fields().ByName("number") + fd_PublicKey_did = md_PublicKey.Fields().ByName("did") + fd_PublicKey_sonr_address = md_PublicKey.Fields().ByName("sonr_address") + fd_PublicKey_eth_address = md_PublicKey.Fields().ByName("eth_address") + fd_PublicKey_btc_address = md_PublicKey.Fields().ByName("btc_address") + fd_PublicKey_public_key_hex = md_PublicKey.Fields().ByName("public_key_hex") + fd_PublicKey_ks_val = md_PublicKey.Fields().ByName("ks_val") + fd_PublicKey_claimed_block = md_PublicKey.Fields().ByName("claimed_block") + fd_PublicKey_creation_block = md_PublicKey.Fields().ByName("creation_block") } -var _ protoreflect.Message = (*fastReflection_Authentication)(nil) +var _ protoreflect.Message = (*fastReflection_PublicKey)(nil) -type fastReflection_Authentication Authentication +type fastReflection_PublicKey PublicKey -func (x *Authentication) ProtoReflect() protoreflect.Message { - return (*fastReflection_Authentication)(x) +func (x *PublicKey) ProtoReflect() protoreflect.Message { + return (*fastReflection_PublicKey)(x) } -func (x *Authentication) slowProtoReflect() protoreflect.Message { +func (x *PublicKey) slowProtoReflect() protoreflect.Message { mi := &file_did_v1_state_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1169,43 +1091,43 @@ func (x *Authentication) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_Authentication_messageType fastReflection_Authentication_messageType -var _ protoreflect.MessageType = fastReflection_Authentication_messageType{} +var _fastReflection_PublicKey_messageType fastReflection_PublicKey_messageType +var _ protoreflect.MessageType = fastReflection_PublicKey_messageType{} -type fastReflection_Authentication_messageType struct{} +type fastReflection_PublicKey_messageType struct{} -func (x fastReflection_Authentication_messageType) Zero() protoreflect.Message { - return (*fastReflection_Authentication)(nil) +func (x fastReflection_PublicKey_messageType) Zero() protoreflect.Message { + return (*fastReflection_PublicKey)(nil) } -func (x fastReflection_Authentication_messageType) New() protoreflect.Message { - return new(fastReflection_Authentication) +func (x fastReflection_PublicKey_messageType) New() protoreflect.Message { + return new(fastReflection_PublicKey) } -func (x fastReflection_Authentication_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_Authentication +func (x fastReflection_PublicKey_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_PublicKey } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_Authentication) Descriptor() protoreflect.MessageDescriptor { - return md_Authentication +func (x *fastReflection_PublicKey) Descriptor() protoreflect.MessageDescriptor { + return md_PublicKey } // Type returns the message type, which encapsulates both Go and protobuf // type information. If the Go type information is not needed, // it is recommended that the message descriptor be used instead. -func (x *fastReflection_Authentication) Type() protoreflect.MessageType { - return _fastReflection_Authentication_messageType +func (x *fastReflection_PublicKey) Type() protoreflect.MessageType { + return _fastReflection_PublicKey_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_Authentication) New() protoreflect.Message { - return new(fastReflection_Authentication) +func (x *fastReflection_PublicKey) New() protoreflect.Message { + return new(fastReflection_PublicKey) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_Authentication) Interface() protoreflect.ProtoMessage { - return (*Authentication)(x) +func (x *fastReflection_PublicKey) Interface() protoreflect.ProtoMessage { + return (*PublicKey)(x) } // Range iterates over every populated field in an undefined order, @@ -1213,1718 +1135,58 @@ func (x *fastReflection_Authentication) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_Authentication) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Did != "" { - value := protoreflect.ValueOfString(x.Did) - if !f(fd_Authentication_did, value) { - return - } - } - if x.Controller != "" { - value := protoreflect.ValueOfString(x.Controller) - if !f(fd_Authentication_controller, value) { - return - } - } - if x.Subject != "" { - value := protoreflect.ValueOfString(x.Subject) - if !f(fd_Authentication_subject, value) { - return - } - } - if x.PublicKeyHex != "" { - value := protoreflect.ValueOfString(x.PublicKeyHex) - if !f(fd_Authentication_public_key_hex, value) { - return - } - } - if len(x.CredentialId) != 0 { - value := protoreflect.ValueOfBytes(x.CredentialId) - if !f(fd_Authentication_credential_id, value) { - return - } - } - if len(x.Metadata) != 0 { - value := protoreflect.ValueOfMap(&_Authentication_6_map{m: &x.Metadata}) - if !f(fd_Authentication_metadata, value) { - return - } - } - if x.CreationBlock != int64(0) { - value := protoreflect.ValueOfInt64(x.CreationBlock) - if !f(fd_Authentication_creation_block, value) { - return - } - } -} - -// Has reports whether a field is populated. -// -// Some fields have the property of nullability where it is possible to -// distinguish between the default value of a field and whether the field -// was explicitly populated with the default value. Singular message fields, -// member fields of a oneof, and proto2 scalar fields are nullable. Such -// fields are populated only if explicitly set. -// -// In other cases (aside from the nullable cases above), -// a proto3 scalar field is populated if it contains a non-zero value, and -// a repeated field is populated if it is non-empty. -func (x *fastReflection_Authentication) Has(fd protoreflect.FieldDescriptor) bool { - switch fd.FullName() { - case "did.v1.Authentication.did": - return x.Did != "" - case "did.v1.Authentication.controller": - return x.Controller != "" - case "did.v1.Authentication.subject": - return x.Subject != "" - case "did.v1.Authentication.public_key_hex": - return x.PublicKeyHex != "" - case "did.v1.Authentication.credential_id": - return len(x.CredentialId) != 0 - case "did.v1.Authentication.metadata": - return len(x.Metadata) != 0 - case "did.v1.Authentication.creation_block": - return x.CreationBlock != int64(0) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: did.v1.Authentication")) - } - panic(fmt.Errorf("message did.v1.Authentication does not contain field %s", fd.FullName())) - } -} - -// Clear clears the field such that a subsequent Has call reports false. -// -// Clearing an extension field clears both the extension type and value -// associated with the given field number. -// -// Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Authentication) Clear(fd protoreflect.FieldDescriptor) { - switch fd.FullName() { - case "did.v1.Authentication.did": - x.Did = "" - case "did.v1.Authentication.controller": - x.Controller = "" - case "did.v1.Authentication.subject": - x.Subject = "" - case "did.v1.Authentication.public_key_hex": - x.PublicKeyHex = "" - case "did.v1.Authentication.credential_id": - x.CredentialId = nil - case "did.v1.Authentication.metadata": - x.Metadata = nil - case "did.v1.Authentication.creation_block": - x.CreationBlock = int64(0) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: did.v1.Authentication")) - } - panic(fmt.Errorf("message did.v1.Authentication does not contain field %s", fd.FullName())) - } -} - -// Get retrieves the value for a field. -// -// For unpopulated scalars, it returns the default value, where -// the default value of a bytes scalar is guaranteed to be a copy. -// For unpopulated composite types, it returns an empty, read-only view -// of the value; to obtain a mutable reference, use Mutable. -func (x *fastReflection_Authentication) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { - switch descriptor.FullName() { - case "did.v1.Authentication.did": - value := x.Did - return protoreflect.ValueOfString(value) - case "did.v1.Authentication.controller": - value := x.Controller - return protoreflect.ValueOfString(value) - case "did.v1.Authentication.subject": - value := x.Subject - return protoreflect.ValueOfString(value) - case "did.v1.Authentication.public_key_hex": - value := x.PublicKeyHex - return protoreflect.ValueOfString(value) - case "did.v1.Authentication.credential_id": - value := x.CredentialId - return protoreflect.ValueOfBytes(value) - case "did.v1.Authentication.metadata": - if len(x.Metadata) == 0 { - return protoreflect.ValueOfMap(&_Authentication_6_map{}) - } - mapValue := &_Authentication_6_map{m: &x.Metadata} - return protoreflect.ValueOfMap(mapValue) - case "did.v1.Authentication.creation_block": - value := x.CreationBlock - return protoreflect.ValueOfInt64(value) - default: - if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: did.v1.Authentication")) - } - panic(fmt.Errorf("message did.v1.Authentication does not contain field %s", descriptor.FullName())) - } -} - -// Set stores the value for a field. -// -// For a field belonging to a oneof, it implicitly clears any other field -// that may be currently set within the same oneof. -// For extension fields, it implicitly stores the provided ExtensionType. -// When setting a composite type, it is unspecified whether the stored value -// aliases the source's memory in any way. If the composite value is an -// empty, read-only value, then it panics. -// -// Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Authentication) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { - switch fd.FullName() { - case "did.v1.Authentication.did": - x.Did = value.Interface().(string) - case "did.v1.Authentication.controller": - x.Controller = value.Interface().(string) - case "did.v1.Authentication.subject": - x.Subject = value.Interface().(string) - case "did.v1.Authentication.public_key_hex": - x.PublicKeyHex = value.Interface().(string) - case "did.v1.Authentication.credential_id": - x.CredentialId = value.Bytes() - case "did.v1.Authentication.metadata": - mv := value.Map() - cmv := mv.(*_Authentication_6_map) - x.Metadata = *cmv.m - case "did.v1.Authentication.creation_block": - x.CreationBlock = value.Int() - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: did.v1.Authentication")) - } - panic(fmt.Errorf("message did.v1.Authentication does not contain field %s", fd.FullName())) - } -} - -// Mutable returns a mutable reference to a composite type. -// -// If the field is unpopulated, it may allocate a composite value. -// For a field belonging to a oneof, it implicitly clears any other field -// that may be currently set within the same oneof. -// For extension fields, it implicitly stores the provided ExtensionType -// if not already stored. -// It panics if the field does not contain a composite type. -// -// Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Authentication) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - case "did.v1.Authentication.metadata": - if x.Metadata == nil { - x.Metadata = make(map[string]string) - } - value := &_Authentication_6_map{m: &x.Metadata} - return protoreflect.ValueOfMap(value) - case "did.v1.Authentication.did": - panic(fmt.Errorf("field did of message did.v1.Authentication is not mutable")) - case "did.v1.Authentication.controller": - panic(fmt.Errorf("field controller of message did.v1.Authentication is not mutable")) - case "did.v1.Authentication.subject": - panic(fmt.Errorf("field subject of message did.v1.Authentication is not mutable")) - case "did.v1.Authentication.public_key_hex": - panic(fmt.Errorf("field public_key_hex of message did.v1.Authentication is not mutable")) - case "did.v1.Authentication.credential_id": - panic(fmt.Errorf("field credential_id of message did.v1.Authentication is not mutable")) - case "did.v1.Authentication.creation_block": - panic(fmt.Errorf("field creation_block of message did.v1.Authentication is not mutable")) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: did.v1.Authentication")) - } - panic(fmt.Errorf("message did.v1.Authentication does not contain field %s", fd.FullName())) - } -} - -// NewField returns a new value that is assignable to the field -// for the given descriptor. For scalars, this returns the default value. -// For lists, maps, and messages, this returns a new, empty, mutable value. -func (x *fastReflection_Authentication) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - case "did.v1.Authentication.did": - return protoreflect.ValueOfString("") - case "did.v1.Authentication.controller": - return protoreflect.ValueOfString("") - case "did.v1.Authentication.subject": - return protoreflect.ValueOfString("") - case "did.v1.Authentication.public_key_hex": - return protoreflect.ValueOfString("") - case "did.v1.Authentication.credential_id": - return protoreflect.ValueOfBytes(nil) - case "did.v1.Authentication.metadata": - m := make(map[string]string) - return protoreflect.ValueOfMap(&_Authentication_6_map{m: &m}) - case "did.v1.Authentication.creation_block": - return protoreflect.ValueOfInt64(int64(0)) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: did.v1.Authentication")) - } - panic(fmt.Errorf("message did.v1.Authentication does not contain field %s", fd.FullName())) - } -} - -// WhichOneof reports which field within the oneof is populated, -// returning nil if none are populated. -// It panics if the oneof descriptor does not belong to this message. -func (x *fastReflection_Authentication) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { - switch d.FullName() { - default: - panic(fmt.Errorf("%s is not a oneof field in did.v1.Authentication", d.FullName())) - } - panic("unreachable") -} - -// GetUnknown retrieves the entire list of unknown fields. -// The caller may only mutate the contents of the RawFields -// if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_Authentication) GetUnknown() protoreflect.RawFields { - return x.unknownFields -} - -// SetUnknown stores an entire list of unknown fields. -// The raw fields must be syntactically valid according to the wire format. -// An implementation may panic if this is not the case. -// Once stored, the caller must not mutate the content of the RawFields. -// An empty RawFields may be passed to clear the fields. -// -// SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Authentication) SetUnknown(fields protoreflect.RawFields) { - x.unknownFields = fields -} - -// IsValid reports whether the message is valid. -// -// An invalid message is an empty, read-only value. -// -// An invalid message often corresponds to a nil pointer of the concrete -// message type, but the details are implementation dependent. -// Validity is not part of the protobuf data model, and may not -// be preserved in marshaling or other operations. -func (x *fastReflection_Authentication) IsValid() bool { - return x != nil -} - -// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. -// This method may return nil. -// -// The returned methods type is identical to -// "google.golang.org/protobuf/runtime/protoiface".Methods. -// Consult the protoiface package documentation for details. -func (x *fastReflection_Authentication) ProtoMethods() *protoiface.Methods { - size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*Authentication) - if x == nil { - return protoiface.SizeOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Size: 0, - } - } - options := runtime.SizeInputToOptions(input) - _ = options - var n int - var l int - _ = l - l = len(x.Did) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.Controller) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.Subject) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.PublicKeyHex) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.CredentialId) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - if len(x.Metadata) > 0 { - SiZeMaP := func(k string, v string) { - mapEntrySize := 1 + len(k) + runtime.Sov(uint64(len(k))) + 1 + len(v) + runtime.Sov(uint64(len(v))) - n += mapEntrySize + 1 + runtime.Sov(uint64(mapEntrySize)) - } - if options.Deterministic { - sortme := make([]string, 0, len(x.Metadata)) - for k := range x.Metadata { - sortme = append(sortme, k) - } - sort.Strings(sortme) - for _, k := range sortme { - v := x.Metadata[k] - SiZeMaP(k, v) - } - } else { - for k, v := range x.Metadata { - SiZeMaP(k, v) - } - } - } - if x.CreationBlock != 0 { - n += 1 + runtime.Sov(uint64(x.CreationBlock)) - } - if x.unknownFields != nil { - n += len(x.unknownFields) - } - return protoiface.SizeOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Size: n, - } - } - - marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*Authentication) - if x == nil { - return protoiface.MarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Buf: input.Buf, - }, nil - } - options := runtime.MarshalInputToOptions(input) - _ = options - size := options.Size(x) - dAtA := make([]byte, size) - i := len(dAtA) - _ = i - var l int - _ = l - if x.unknownFields != nil { - i -= len(x.unknownFields) - copy(dAtA[i:], x.unknownFields) - } - if x.CreationBlock != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.CreationBlock)) - i-- - dAtA[i] = 0x38 - } - if len(x.Metadata) > 0 { - MaRsHaLmAp := func(k string, v string) (protoiface.MarshalOutput, error) { - baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = runtime.EncodeVarint(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = runtime.EncodeVarint(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = runtime.EncodeVarint(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x32 - return protoiface.MarshalOutput{}, nil - } - if options.Deterministic { - keysForMetadata := make([]string, 0, len(x.Metadata)) - for k := range x.Metadata { - keysForMetadata = append(keysForMetadata, string(k)) - } - sort.Slice(keysForMetadata, func(i, j int) bool { - return keysForMetadata[i] < keysForMetadata[j] - }) - for iNdEx := len(keysForMetadata) - 1; iNdEx >= 0; iNdEx-- { - v := x.Metadata[string(keysForMetadata[iNdEx])] - out, err := MaRsHaLmAp(keysForMetadata[iNdEx], v) - if err != nil { - return out, err - } - } - } else { - for k := range x.Metadata { - v := x.Metadata[k] - out, err := MaRsHaLmAp(k, v) - if err != nil { - return out, err - } - } - } - } - if len(x.CredentialId) > 0 { - i -= len(x.CredentialId) - copy(dAtA[i:], x.CredentialId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.CredentialId))) - i-- - dAtA[i] = 0x2a - } - if len(x.PublicKeyHex) > 0 { - i -= len(x.PublicKeyHex) - copy(dAtA[i:], x.PublicKeyHex) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PublicKeyHex))) - i-- - dAtA[i] = 0x22 - } - if len(x.Subject) > 0 { - i -= len(x.Subject) - copy(dAtA[i:], x.Subject) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Subject))) - i-- - dAtA[i] = 0x1a - } - if len(x.Controller) > 0 { - i -= len(x.Controller) - copy(dAtA[i:], x.Controller) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Controller))) - i-- - dAtA[i] = 0x12 - } - if len(x.Did) > 0 { - i -= len(x.Did) - copy(dAtA[i:], x.Did) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Did))) - i-- - dAtA[i] = 0xa - } - if input.Buf != nil { - input.Buf = append(input.Buf, dAtA...) - } else { - input.Buf = dAtA - } - return protoiface.MarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Buf: input.Buf, - }, nil - } - unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*Authentication) - if x == nil { - return protoiface.UnmarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Flags: input.Flags, - }, nil - } - options := runtime.UnmarshalInputToOptions(input) - _ = options - dAtA := input.Buf - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Authentication: wiretype end group for non-group") - } - if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Authentication: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Did", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - if postIndex > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - x.Did = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Controller", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - if postIndex > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - x.Controller = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Subject", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - if postIndex > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - x.Subject = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PublicKeyHex", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - if postIndex > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - x.PublicKeyHex = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CredentialId", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - if postIndex > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - x.CredentialId = append(x.CredentialId[:0], dAtA[iNdEx:postIndex]...) - if x.CredentialId == nil { - x.CredentialId = []byte{} - } - iNdEx = postIndex - case 6: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - if postIndex > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - if x.Metadata == nil { - x.Metadata = make(map[string]string) - } - var mapkey string - var mapvalue string - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - if postStringIndexmapkey > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - if postStringIndexmapvalue > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - } else { - iNdEx = entryPreIndex - skippy, err := runtime.Skip(dAtA[iNdEx:]) - if err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - if (iNdEx + skippy) > postIndex { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - x.Metadata[mapkey] = mapvalue - iNdEx = postIndex - case 7: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CreationBlock", wireType) - } - x.CreationBlock = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - x.CreationBlock |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := runtime.Skip(dAtA[iNdEx:]) - if err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - if (iNdEx + skippy) > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - if !options.DiscardUnknown { - x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - } - iNdEx += skippy - } - } - - if iNdEx > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil - } - return &protoiface.Methods{ - NoUnkeyedLiterals: struct{}{}, - Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, - Size: size, - Marshal: marshal, - Unmarshal: unmarshal, - Merge: nil, - CheckInitialized: nil, - } -} - -var ( - md_Biscuit protoreflect.MessageDescriptor - fd_Biscuit_id protoreflect.FieldDescriptor - fd_Biscuit_controller protoreflect.FieldDescriptor - fd_Biscuit_subject protoreflect.FieldDescriptor - fd_Biscuit_origin protoreflect.FieldDescriptor - fd_Biscuit_expiry_height protoreflect.FieldDescriptor - fd_Biscuit_macaroon protoreflect.FieldDescriptor -) - -func init() { - file_did_v1_state_proto_init() - md_Biscuit = File_did_v1_state_proto.Messages().ByName("Biscuit") - fd_Biscuit_id = md_Biscuit.Fields().ByName("id") - fd_Biscuit_controller = md_Biscuit.Fields().ByName("controller") - fd_Biscuit_subject = md_Biscuit.Fields().ByName("subject") - fd_Biscuit_origin = md_Biscuit.Fields().ByName("origin") - fd_Biscuit_expiry_height = md_Biscuit.Fields().ByName("expiry_height") - fd_Biscuit_macaroon = md_Biscuit.Fields().ByName("macaroon") -} - -var _ protoreflect.Message = (*fastReflection_Biscuit)(nil) - -type fastReflection_Biscuit Biscuit - -func (x *Biscuit) ProtoReflect() protoreflect.Message { - return (*fastReflection_Biscuit)(x) -} - -func (x *Biscuit) slowProtoReflect() protoreflect.Message { - mi := &file_did_v1_state_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -var _fastReflection_Biscuit_messageType fastReflection_Biscuit_messageType -var _ protoreflect.MessageType = fastReflection_Biscuit_messageType{} - -type fastReflection_Biscuit_messageType struct{} - -func (x fastReflection_Biscuit_messageType) Zero() protoreflect.Message { - return (*fastReflection_Biscuit)(nil) -} -func (x fastReflection_Biscuit_messageType) New() protoreflect.Message { - return new(fastReflection_Biscuit) -} -func (x fastReflection_Biscuit_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_Biscuit -} - -// Descriptor returns message descriptor, which contains only the protobuf -// type information for the message. -func (x *fastReflection_Biscuit) Descriptor() protoreflect.MessageDescriptor { - return md_Biscuit -} - -// Type returns the message type, which encapsulates both Go and protobuf -// type information. If the Go type information is not needed, -// it is recommended that the message descriptor be used instead. -func (x *fastReflection_Biscuit) Type() protoreflect.MessageType { - return _fastReflection_Biscuit_messageType -} - -// New returns a newly allocated and mutable empty message. -func (x *fastReflection_Biscuit) New() protoreflect.Message { - return new(fastReflection_Biscuit) -} - -// Interface unwraps the message reflection interface and -// returns the underlying ProtoMessage interface. -func (x *fastReflection_Biscuit) Interface() protoreflect.ProtoMessage { - return (*Biscuit)(x) -} - -// Range iterates over every populated field in an undefined order, -// calling f for each field descriptor and value encountered. -// Range returns immediately if f returns false. -// While iterating, mutating operations may only be performed -// on the current field descriptor. -func (x *fastReflection_Biscuit) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Id != uint64(0) { - value := protoreflect.ValueOfUint64(x.Id) - if !f(fd_Biscuit_id, value) { - return - } - } - if x.Controller != "" { - value := protoreflect.ValueOfString(x.Controller) - if !f(fd_Biscuit_controller, value) { - return - } - } - if x.Subject != "" { - value := protoreflect.ValueOfString(x.Subject) - if !f(fd_Biscuit_subject, value) { - return - } - } - if x.Origin != "" { - value := protoreflect.ValueOfString(x.Origin) - if !f(fd_Biscuit_origin, value) { - return - } - } - if x.ExpiryHeight != int64(0) { - value := protoreflect.ValueOfInt64(x.ExpiryHeight) - if !f(fd_Biscuit_expiry_height, value) { - return - } - } - if x.Macaroon != "" { - value := protoreflect.ValueOfString(x.Macaroon) - if !f(fd_Biscuit_macaroon, value) { - return - } - } -} - -// Has reports whether a field is populated. -// -// Some fields have the property of nullability where it is possible to -// distinguish between the default value of a field and whether the field -// was explicitly populated with the default value. Singular message fields, -// member fields of a oneof, and proto2 scalar fields are nullable. Such -// fields are populated only if explicitly set. -// -// In other cases (aside from the nullable cases above), -// a proto3 scalar field is populated if it contains a non-zero value, and -// a repeated field is populated if it is non-empty. -func (x *fastReflection_Biscuit) Has(fd protoreflect.FieldDescriptor) bool { - switch fd.FullName() { - case "did.v1.Biscuit.id": - return x.Id != uint64(0) - case "did.v1.Biscuit.controller": - return x.Controller != "" - case "did.v1.Biscuit.subject": - return x.Subject != "" - case "did.v1.Biscuit.origin": - return x.Origin != "" - case "did.v1.Biscuit.expiry_height": - return x.ExpiryHeight != int64(0) - case "did.v1.Biscuit.macaroon": - return x.Macaroon != "" - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: did.v1.Biscuit")) - } - panic(fmt.Errorf("message did.v1.Biscuit does not contain field %s", fd.FullName())) - } -} - -// Clear clears the field such that a subsequent Has call reports false. -// -// Clearing an extension field clears both the extension type and value -// associated with the given field number. -// -// Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Biscuit) Clear(fd protoreflect.FieldDescriptor) { - switch fd.FullName() { - case "did.v1.Biscuit.id": - x.Id = uint64(0) - case "did.v1.Biscuit.controller": - x.Controller = "" - case "did.v1.Biscuit.subject": - x.Subject = "" - case "did.v1.Biscuit.origin": - x.Origin = "" - case "did.v1.Biscuit.expiry_height": - x.ExpiryHeight = int64(0) - case "did.v1.Biscuit.macaroon": - x.Macaroon = "" - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: did.v1.Biscuit")) - } - panic(fmt.Errorf("message did.v1.Biscuit does not contain field %s", fd.FullName())) - } -} - -// Get retrieves the value for a field. -// -// For unpopulated scalars, it returns the default value, where -// the default value of a bytes scalar is guaranteed to be a copy. -// For unpopulated composite types, it returns an empty, read-only view -// of the value; to obtain a mutable reference, use Mutable. -func (x *fastReflection_Biscuit) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { - switch descriptor.FullName() { - case "did.v1.Biscuit.id": - value := x.Id - return protoreflect.ValueOfUint64(value) - case "did.v1.Biscuit.controller": - value := x.Controller - return protoreflect.ValueOfString(value) - case "did.v1.Biscuit.subject": - value := x.Subject - return protoreflect.ValueOfString(value) - case "did.v1.Biscuit.origin": - value := x.Origin - return protoreflect.ValueOfString(value) - case "did.v1.Biscuit.expiry_height": - value := x.ExpiryHeight - return protoreflect.ValueOfInt64(value) - case "did.v1.Biscuit.macaroon": - value := x.Macaroon - return protoreflect.ValueOfString(value) - default: - if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: did.v1.Biscuit")) - } - panic(fmt.Errorf("message did.v1.Biscuit does not contain field %s", descriptor.FullName())) - } -} - -// Set stores the value for a field. -// -// For a field belonging to a oneof, it implicitly clears any other field -// that may be currently set within the same oneof. -// For extension fields, it implicitly stores the provided ExtensionType. -// When setting a composite type, it is unspecified whether the stored value -// aliases the source's memory in any way. If the composite value is an -// empty, read-only value, then it panics. -// -// Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Biscuit) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { - switch fd.FullName() { - case "did.v1.Biscuit.id": - x.Id = value.Uint() - case "did.v1.Biscuit.controller": - x.Controller = value.Interface().(string) - case "did.v1.Biscuit.subject": - x.Subject = value.Interface().(string) - case "did.v1.Biscuit.origin": - x.Origin = value.Interface().(string) - case "did.v1.Biscuit.expiry_height": - x.ExpiryHeight = value.Int() - case "did.v1.Biscuit.macaroon": - x.Macaroon = value.Interface().(string) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: did.v1.Biscuit")) - } - panic(fmt.Errorf("message did.v1.Biscuit does not contain field %s", fd.FullName())) - } -} - -// Mutable returns a mutable reference to a composite type. -// -// If the field is unpopulated, it may allocate a composite value. -// For a field belonging to a oneof, it implicitly clears any other field -// that may be currently set within the same oneof. -// For extension fields, it implicitly stores the provided ExtensionType -// if not already stored. -// It panics if the field does not contain a composite type. -// -// Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Biscuit) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - case "did.v1.Biscuit.id": - panic(fmt.Errorf("field id of message did.v1.Biscuit is not mutable")) - case "did.v1.Biscuit.controller": - panic(fmt.Errorf("field controller of message did.v1.Biscuit is not mutable")) - case "did.v1.Biscuit.subject": - panic(fmt.Errorf("field subject of message did.v1.Biscuit is not mutable")) - case "did.v1.Biscuit.origin": - panic(fmt.Errorf("field origin of message did.v1.Biscuit is not mutable")) - case "did.v1.Biscuit.expiry_height": - panic(fmt.Errorf("field expiry_height of message did.v1.Biscuit is not mutable")) - case "did.v1.Biscuit.macaroon": - panic(fmt.Errorf("field macaroon of message did.v1.Biscuit is not mutable")) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: did.v1.Biscuit")) - } - panic(fmt.Errorf("message did.v1.Biscuit does not contain field %s", fd.FullName())) - } -} - -// NewField returns a new value that is assignable to the field -// for the given descriptor. For scalars, this returns the default value. -// For lists, maps, and messages, this returns a new, empty, mutable value. -func (x *fastReflection_Biscuit) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - case "did.v1.Biscuit.id": - return protoreflect.ValueOfUint64(uint64(0)) - case "did.v1.Biscuit.controller": - return protoreflect.ValueOfString("") - case "did.v1.Biscuit.subject": - return protoreflect.ValueOfString("") - case "did.v1.Biscuit.origin": - return protoreflect.ValueOfString("") - case "did.v1.Biscuit.expiry_height": - return protoreflect.ValueOfInt64(int64(0)) - case "did.v1.Biscuit.macaroon": - return protoreflect.ValueOfString("") - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: did.v1.Biscuit")) - } - panic(fmt.Errorf("message did.v1.Biscuit does not contain field %s", fd.FullName())) - } -} - -// WhichOneof reports which field within the oneof is populated, -// returning nil if none are populated. -// It panics if the oneof descriptor does not belong to this message. -func (x *fastReflection_Biscuit) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { - switch d.FullName() { - default: - panic(fmt.Errorf("%s is not a oneof field in did.v1.Biscuit", d.FullName())) - } - panic("unreachable") -} - -// GetUnknown retrieves the entire list of unknown fields. -// The caller may only mutate the contents of the RawFields -// if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_Biscuit) GetUnknown() protoreflect.RawFields { - return x.unknownFields -} - -// SetUnknown stores an entire list of unknown fields. -// The raw fields must be syntactically valid according to the wire format. -// An implementation may panic if this is not the case. -// Once stored, the caller must not mutate the content of the RawFields. -// An empty RawFields may be passed to clear the fields. -// -// SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Biscuit) SetUnknown(fields protoreflect.RawFields) { - x.unknownFields = fields -} - -// IsValid reports whether the message is valid. -// -// An invalid message is an empty, read-only value. -// -// An invalid message often corresponds to a nil pointer of the concrete -// message type, but the details are implementation dependent. -// Validity is not part of the protobuf data model, and may not -// be preserved in marshaling or other operations. -func (x *fastReflection_Biscuit) IsValid() bool { - return x != nil -} - -// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. -// This method may return nil. -// -// The returned methods type is identical to -// "google.golang.org/protobuf/runtime/protoiface".Methods. -// Consult the protoiface package documentation for details. -func (x *fastReflection_Biscuit) ProtoMethods() *protoiface.Methods { - size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*Biscuit) - if x == nil { - return protoiface.SizeOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Size: 0, - } - } - options := runtime.SizeInputToOptions(input) - _ = options - var n int - var l int - _ = l - if x.Id != 0 { - n += 1 + runtime.Sov(uint64(x.Id)) - } - l = len(x.Controller) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.Subject) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.Origin) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - if x.ExpiryHeight != 0 { - n += 1 + runtime.Sov(uint64(x.ExpiryHeight)) - } - l = len(x.Macaroon) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - if x.unknownFields != nil { - n += len(x.unknownFields) - } - return protoiface.SizeOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Size: n, - } - } - - marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*Biscuit) - if x == nil { - return protoiface.MarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Buf: input.Buf, - }, nil - } - options := runtime.MarshalInputToOptions(input) - _ = options - size := options.Size(x) - dAtA := make([]byte, size) - i := len(dAtA) - _ = i - var l int - _ = l - if x.unknownFields != nil { - i -= len(x.unknownFields) - copy(dAtA[i:], x.unknownFields) - } - if len(x.Macaroon) > 0 { - i -= len(x.Macaroon) - copy(dAtA[i:], x.Macaroon) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Macaroon))) - i-- - dAtA[i] = 0x32 - } - if x.ExpiryHeight != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.ExpiryHeight)) - i-- - dAtA[i] = 0x28 - } - if len(x.Origin) > 0 { - i -= len(x.Origin) - copy(dAtA[i:], x.Origin) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Origin))) - i-- - dAtA[i] = 0x22 - } - if len(x.Subject) > 0 { - i -= len(x.Subject) - copy(dAtA[i:], x.Subject) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Subject))) - i-- - dAtA[i] = 0x1a - } - if len(x.Controller) > 0 { - i -= len(x.Controller) - copy(dAtA[i:], x.Controller) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Controller))) - i-- - dAtA[i] = 0x12 - } - if x.Id != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.Id)) - i-- - dAtA[i] = 0x8 - } - if input.Buf != nil { - input.Buf = append(input.Buf, dAtA...) - } else { - input.Buf = dAtA - } - return protoiface.MarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Buf: input.Buf, - }, nil - } - unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*Biscuit) - if x == nil { - return protoiface.UnmarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Flags: input.Flags, - }, nil - } - options := runtime.UnmarshalInputToOptions(input) - _ = options - dAtA := input.Buf - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Biscuit: wiretype end group for non-group") - } - if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Biscuit: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - x.Id = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - x.Id |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Controller", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - if postIndex > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - x.Controller = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Subject", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - if postIndex > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - x.Subject = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Origin", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - if postIndex > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - x.Origin = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ExpiryHeight", wireType) - } - x.ExpiryHeight = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - x.ExpiryHeight |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Macaroon", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - if postIndex > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - x.Macaroon = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := runtime.Skip(dAtA[iNdEx:]) - if err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - if (iNdEx + skippy) > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - if !options.DiscardUnknown { - x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - } - iNdEx += skippy - } - } - - if iNdEx > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil - } - return &protoiface.Methods{ - NoUnkeyedLiterals: struct{}{}, - Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, - Size: size, - Marshal: marshal, - Unmarshal: unmarshal, - Merge: nil, - CheckInitialized: nil, - } -} - -var ( - md_Controller protoreflect.MessageDescriptor - fd_Controller_number protoreflect.FieldDescriptor - fd_Controller_did protoreflect.FieldDescriptor - fd_Controller_sonr_address protoreflect.FieldDescriptor - fd_Controller_eth_address protoreflect.FieldDescriptor - fd_Controller_btc_address protoreflect.FieldDescriptor - fd_Controller_public_key_hex protoreflect.FieldDescriptor - fd_Controller_ks_val protoreflect.FieldDescriptor - fd_Controller_claimed_block protoreflect.FieldDescriptor - fd_Controller_creation_block protoreflect.FieldDescriptor -) - -func init() { - file_did_v1_state_proto_init() - md_Controller = File_did_v1_state_proto.Messages().ByName("Controller") - fd_Controller_number = md_Controller.Fields().ByName("number") - fd_Controller_did = md_Controller.Fields().ByName("did") - fd_Controller_sonr_address = md_Controller.Fields().ByName("sonr_address") - fd_Controller_eth_address = md_Controller.Fields().ByName("eth_address") - fd_Controller_btc_address = md_Controller.Fields().ByName("btc_address") - fd_Controller_public_key_hex = md_Controller.Fields().ByName("public_key_hex") - fd_Controller_ks_val = md_Controller.Fields().ByName("ks_val") - fd_Controller_claimed_block = md_Controller.Fields().ByName("claimed_block") - fd_Controller_creation_block = md_Controller.Fields().ByName("creation_block") -} - -var _ protoreflect.Message = (*fastReflection_Controller)(nil) - -type fastReflection_Controller Controller - -func (x *Controller) ProtoReflect() protoreflect.Message { - return (*fastReflection_Controller)(x) -} - -func (x *Controller) slowProtoReflect() protoreflect.Message { - mi := &file_did_v1_state_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -var _fastReflection_Controller_messageType fastReflection_Controller_messageType -var _ protoreflect.MessageType = fastReflection_Controller_messageType{} - -type fastReflection_Controller_messageType struct{} - -func (x fastReflection_Controller_messageType) Zero() protoreflect.Message { - return (*fastReflection_Controller)(nil) -} -func (x fastReflection_Controller_messageType) New() protoreflect.Message { - return new(fastReflection_Controller) -} -func (x fastReflection_Controller_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_Controller -} - -// Descriptor returns message descriptor, which contains only the protobuf -// type information for the message. -func (x *fastReflection_Controller) Descriptor() protoreflect.MessageDescriptor { - return md_Controller -} - -// Type returns the message type, which encapsulates both Go and protobuf -// type information. If the Go type information is not needed, -// it is recommended that the message descriptor be used instead. -func (x *fastReflection_Controller) Type() protoreflect.MessageType { - return _fastReflection_Controller_messageType -} - -// New returns a newly allocated and mutable empty message. -func (x *fastReflection_Controller) New() protoreflect.Message { - return new(fastReflection_Controller) -} - -// Interface unwraps the message reflection interface and -// returns the underlying ProtoMessage interface. -func (x *fastReflection_Controller) Interface() protoreflect.ProtoMessage { - return (*Controller)(x) -} - -// Range iterates over every populated field in an undefined order, -// calling f for each field descriptor and value encountered. -// Range returns immediately if f returns false. -// While iterating, mutating operations may only be performed -// on the current field descriptor. -func (x *fastReflection_Controller) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_PublicKey) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Number != uint64(0) { value := protoreflect.ValueOfUint64(x.Number) - if !f(fd_Controller_number, value) { + if !f(fd_PublicKey_number, value) { return } } if x.Did != "" { value := protoreflect.ValueOfString(x.Did) - if !f(fd_Controller_did, value) { + if !f(fd_PublicKey_did, value) { return } } if x.SonrAddress != "" { value := protoreflect.ValueOfString(x.SonrAddress) - if !f(fd_Controller_sonr_address, value) { + if !f(fd_PublicKey_sonr_address, value) { return } } if x.EthAddress != "" { value := protoreflect.ValueOfString(x.EthAddress) - if !f(fd_Controller_eth_address, value) { + if !f(fd_PublicKey_eth_address, value) { return } } if x.BtcAddress != "" { value := protoreflect.ValueOfString(x.BtcAddress) - if !f(fd_Controller_btc_address, value) { + if !f(fd_PublicKey_btc_address, value) { return } } if x.PublicKeyHex != "" { value := protoreflect.ValueOfString(x.PublicKeyHex) - if !f(fd_Controller_public_key_hex, value) { + if !f(fd_PublicKey_public_key_hex, value) { return } } if x.KsVal != "" { value := protoreflect.ValueOfString(x.KsVal) - if !f(fd_Controller_ks_val, value) { + if !f(fd_PublicKey_ks_val, value) { return } } if x.ClaimedBlock != int64(0) { value := protoreflect.ValueOfInt64(x.ClaimedBlock) - if !f(fd_Controller_claimed_block, value) { + if !f(fd_PublicKey_claimed_block, value) { return } } if x.CreationBlock != int64(0) { value := protoreflect.ValueOfInt64(x.CreationBlock) - if !f(fd_Controller_creation_block, value) { + if !f(fd_PublicKey_creation_block, value) { return } } @@ -2941,31 +1203,31 @@ func (x *fastReflection_Controller) Range(f func(protoreflect.FieldDescriptor, p // In other cases (aside from the nullable cases above), // a proto3 scalar field is populated if it contains a non-zero value, and // a repeated field is populated if it is non-empty. -func (x *fastReflection_Controller) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_PublicKey) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "did.v1.Controller.number": + case "did.v1.PublicKey.number": return x.Number != uint64(0) - case "did.v1.Controller.did": + case "did.v1.PublicKey.did": return x.Did != "" - case "did.v1.Controller.sonr_address": + case "did.v1.PublicKey.sonr_address": return x.SonrAddress != "" - case "did.v1.Controller.eth_address": + case "did.v1.PublicKey.eth_address": return x.EthAddress != "" - case "did.v1.Controller.btc_address": + case "did.v1.PublicKey.btc_address": return x.BtcAddress != "" - case "did.v1.Controller.public_key_hex": + case "did.v1.PublicKey.public_key_hex": return x.PublicKeyHex != "" - case "did.v1.Controller.ks_val": + case "did.v1.PublicKey.ks_val": return x.KsVal != "" - case "did.v1.Controller.claimed_block": + case "did.v1.PublicKey.claimed_block": return x.ClaimedBlock != int64(0) - case "did.v1.Controller.creation_block": + case "did.v1.PublicKey.creation_block": return x.CreationBlock != int64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: did.v1.Controller")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: did.v1.PublicKey")) } - panic(fmt.Errorf("message did.v1.Controller does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message did.v1.PublicKey does not contain field %s", fd.FullName())) } } @@ -2975,31 +1237,31 @@ func (x *fastReflection_Controller) Has(fd protoreflect.FieldDescriptor) bool { // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Controller) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_PublicKey) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "did.v1.Controller.number": + case "did.v1.PublicKey.number": x.Number = uint64(0) - case "did.v1.Controller.did": + case "did.v1.PublicKey.did": x.Did = "" - case "did.v1.Controller.sonr_address": + case "did.v1.PublicKey.sonr_address": x.SonrAddress = "" - case "did.v1.Controller.eth_address": + case "did.v1.PublicKey.eth_address": x.EthAddress = "" - case "did.v1.Controller.btc_address": + case "did.v1.PublicKey.btc_address": x.BtcAddress = "" - case "did.v1.Controller.public_key_hex": + case "did.v1.PublicKey.public_key_hex": x.PublicKeyHex = "" - case "did.v1.Controller.ks_val": + case "did.v1.PublicKey.ks_val": x.KsVal = "" - case "did.v1.Controller.claimed_block": + case "did.v1.PublicKey.claimed_block": x.ClaimedBlock = int64(0) - case "did.v1.Controller.creation_block": + case "did.v1.PublicKey.creation_block": x.CreationBlock = int64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: did.v1.Controller")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: did.v1.PublicKey")) } - panic(fmt.Errorf("message did.v1.Controller does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message did.v1.PublicKey does not contain field %s", fd.FullName())) } } @@ -3009,40 +1271,40 @@ func (x *fastReflection_Controller) Clear(fd protoreflect.FieldDescriptor) { // the default value of a bytes scalar is guaranteed to be a copy. // For unpopulated composite types, it returns an empty, read-only view // of the value; to obtain a mutable reference, use Mutable. -func (x *fastReflection_Controller) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_PublicKey) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "did.v1.Controller.number": + case "did.v1.PublicKey.number": value := x.Number return protoreflect.ValueOfUint64(value) - case "did.v1.Controller.did": + case "did.v1.PublicKey.did": value := x.Did return protoreflect.ValueOfString(value) - case "did.v1.Controller.sonr_address": + case "did.v1.PublicKey.sonr_address": value := x.SonrAddress return protoreflect.ValueOfString(value) - case "did.v1.Controller.eth_address": + case "did.v1.PublicKey.eth_address": value := x.EthAddress return protoreflect.ValueOfString(value) - case "did.v1.Controller.btc_address": + case "did.v1.PublicKey.btc_address": value := x.BtcAddress return protoreflect.ValueOfString(value) - case "did.v1.Controller.public_key_hex": + case "did.v1.PublicKey.public_key_hex": value := x.PublicKeyHex return protoreflect.ValueOfString(value) - case "did.v1.Controller.ks_val": + case "did.v1.PublicKey.ks_val": value := x.KsVal return protoreflect.ValueOfString(value) - case "did.v1.Controller.claimed_block": + case "did.v1.PublicKey.claimed_block": value := x.ClaimedBlock return protoreflect.ValueOfInt64(value) - case "did.v1.Controller.creation_block": + case "did.v1.PublicKey.creation_block": value := x.CreationBlock return protoreflect.ValueOfInt64(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: did.v1.Controller")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: did.v1.PublicKey")) } - panic(fmt.Errorf("message did.v1.Controller does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message did.v1.PublicKey does not contain field %s", descriptor.FullName())) } } @@ -3056,31 +1318,31 @@ func (x *fastReflection_Controller) Get(descriptor protoreflect.FieldDescriptor) // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Controller) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_PublicKey) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "did.v1.Controller.number": + case "did.v1.PublicKey.number": x.Number = value.Uint() - case "did.v1.Controller.did": + case "did.v1.PublicKey.did": x.Did = value.Interface().(string) - case "did.v1.Controller.sonr_address": + case "did.v1.PublicKey.sonr_address": x.SonrAddress = value.Interface().(string) - case "did.v1.Controller.eth_address": + case "did.v1.PublicKey.eth_address": x.EthAddress = value.Interface().(string) - case "did.v1.Controller.btc_address": + case "did.v1.PublicKey.btc_address": x.BtcAddress = value.Interface().(string) - case "did.v1.Controller.public_key_hex": + case "did.v1.PublicKey.public_key_hex": x.PublicKeyHex = value.Interface().(string) - case "did.v1.Controller.ks_val": + case "did.v1.PublicKey.ks_val": x.KsVal = value.Interface().(string) - case "did.v1.Controller.claimed_block": + case "did.v1.PublicKey.claimed_block": x.ClaimedBlock = value.Int() - case "did.v1.Controller.creation_block": + case "did.v1.PublicKey.creation_block": x.CreationBlock = value.Int() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: did.v1.Controller")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: did.v1.PublicKey")) } - panic(fmt.Errorf("message did.v1.Controller does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message did.v1.PublicKey does not contain field %s", fd.FullName())) } } @@ -3094,72 +1356,72 @@ func (x *fastReflection_Controller) Set(fd protoreflect.FieldDescriptor, value p // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Controller) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_PublicKey) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "did.v1.Controller.number": - panic(fmt.Errorf("field number of message did.v1.Controller is not mutable")) - case "did.v1.Controller.did": - panic(fmt.Errorf("field did of message did.v1.Controller is not mutable")) - case "did.v1.Controller.sonr_address": - panic(fmt.Errorf("field sonr_address of message did.v1.Controller is not mutable")) - case "did.v1.Controller.eth_address": - panic(fmt.Errorf("field eth_address of message did.v1.Controller is not mutable")) - case "did.v1.Controller.btc_address": - panic(fmt.Errorf("field btc_address of message did.v1.Controller is not mutable")) - case "did.v1.Controller.public_key_hex": - panic(fmt.Errorf("field public_key_hex of message did.v1.Controller is not mutable")) - case "did.v1.Controller.ks_val": - panic(fmt.Errorf("field ks_val of message did.v1.Controller is not mutable")) - case "did.v1.Controller.claimed_block": - panic(fmt.Errorf("field claimed_block of message did.v1.Controller is not mutable")) - case "did.v1.Controller.creation_block": - panic(fmt.Errorf("field creation_block of message did.v1.Controller is not mutable")) + case "did.v1.PublicKey.number": + panic(fmt.Errorf("field number of message did.v1.PublicKey is not mutable")) + case "did.v1.PublicKey.did": + panic(fmt.Errorf("field did of message did.v1.PublicKey is not mutable")) + case "did.v1.PublicKey.sonr_address": + panic(fmt.Errorf("field sonr_address of message did.v1.PublicKey is not mutable")) + case "did.v1.PublicKey.eth_address": + panic(fmt.Errorf("field eth_address of message did.v1.PublicKey is not mutable")) + case "did.v1.PublicKey.btc_address": + panic(fmt.Errorf("field btc_address of message did.v1.PublicKey is not mutable")) + case "did.v1.PublicKey.public_key_hex": + panic(fmt.Errorf("field public_key_hex of message did.v1.PublicKey is not mutable")) + case "did.v1.PublicKey.ks_val": + panic(fmt.Errorf("field ks_val of message did.v1.PublicKey is not mutable")) + case "did.v1.PublicKey.claimed_block": + panic(fmt.Errorf("field claimed_block of message did.v1.PublicKey is not mutable")) + case "did.v1.PublicKey.creation_block": + panic(fmt.Errorf("field creation_block of message did.v1.PublicKey is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: did.v1.Controller")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: did.v1.PublicKey")) } - panic(fmt.Errorf("message did.v1.Controller does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message did.v1.PublicKey does not contain field %s", fd.FullName())) } } // NewField returns a new value that is assignable to the field // for the given descriptor. For scalars, this returns the default value. // For lists, maps, and messages, this returns a new, empty, mutable value. -func (x *fastReflection_Controller) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_PublicKey) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "did.v1.Controller.number": + case "did.v1.PublicKey.number": return protoreflect.ValueOfUint64(uint64(0)) - case "did.v1.Controller.did": + case "did.v1.PublicKey.did": return protoreflect.ValueOfString("") - case "did.v1.Controller.sonr_address": + case "did.v1.PublicKey.sonr_address": return protoreflect.ValueOfString("") - case "did.v1.Controller.eth_address": + case "did.v1.PublicKey.eth_address": return protoreflect.ValueOfString("") - case "did.v1.Controller.btc_address": + case "did.v1.PublicKey.btc_address": return protoreflect.ValueOfString("") - case "did.v1.Controller.public_key_hex": + case "did.v1.PublicKey.public_key_hex": return protoreflect.ValueOfString("") - case "did.v1.Controller.ks_val": + case "did.v1.PublicKey.ks_val": return protoreflect.ValueOfString("") - case "did.v1.Controller.claimed_block": + case "did.v1.PublicKey.claimed_block": return protoreflect.ValueOfInt64(int64(0)) - case "did.v1.Controller.creation_block": + case "did.v1.PublicKey.creation_block": return protoreflect.ValueOfInt64(int64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: did.v1.Controller")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: did.v1.PublicKey")) } - panic(fmt.Errorf("message did.v1.Controller does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message did.v1.PublicKey does not contain field %s", fd.FullName())) } } // WhichOneof reports which field within the oneof is populated, // returning nil if none are populated. // It panics if the oneof descriptor does not belong to this message. -func (x *fastReflection_Controller) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_PublicKey) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in did.v1.Controller", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in did.v1.PublicKey", d.FullName())) } panic("unreachable") } @@ -3167,7 +1429,7 @@ func (x *fastReflection_Controller) WhichOneof(d protoreflect.OneofDescriptor) p // GetUnknown retrieves the entire list of unknown fields. // The caller may only mutate the contents of the RawFields // if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_Controller) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_PublicKey) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -3178,7 +1440,7 @@ func (x *fastReflection_Controller) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Controller) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_PublicKey) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -3190,7 +1452,7 @@ func (x *fastReflection_Controller) SetUnknown(fields protoreflect.RawFields) { // message type, but the details are implementation dependent. // Validity is not part of the protobuf data model, and may not // be preserved in marshaling or other operations. -func (x *fastReflection_Controller) IsValid() bool { +func (x *fastReflection_PublicKey) IsValid() bool { return x != nil } @@ -3200,9 +1462,9 @@ func (x *fastReflection_Controller) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_Controller) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_PublicKey) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*Controller) + x := input.Message.Interface().(*PublicKey) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -3257,7 +1519,7 @@ func (x *fastReflection_Controller) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*Controller) + x := input.Message.Interface().(*PublicKey) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -3344,7 +1606,7 @@ func (x *fastReflection_Controller) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*Controller) + x := input.Message.Interface().(*PublicKey) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -3376,10 +1638,10 @@ func (x *fastReflection_Controller) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Controller: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: PublicKey: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Controller: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: PublicKey: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -3784,7 +2046,7 @@ func (x *Verification) ProtoReflect() protoreflect.Message { } func (x *Verification) slowProtoReflect() protoreflect.Message { - mi := &file_did_v1_state_proto_msgTypes[4] + mi := &file_did_v1_state_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4835,7 +3097,7 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -type Assertion struct { +type Account struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -4856,8 +3118,8 @@ type Assertion struct { CreationBlock int64 `protobuf:"varint,7,opt,name=creation_block,json=creationBlock,proto3" json:"creation_block,omitempty"` } -func (x *Assertion) Reset() { - *x = Assertion{} +func (x *Account) Reset() { + *x = Account{} if protoimpl.UnsafeEnabled { mi := &file_did_v1_state_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4865,234 +3127,68 @@ func (x *Assertion) Reset() { } } -func (x *Assertion) String() string { +func (x *Account) String() string { return protoimpl.X.MessageStringOf(x) } -func (*Assertion) ProtoMessage() {} +func (*Account) ProtoMessage() {} -// Deprecated: Use Assertion.ProtoReflect.Descriptor instead. -func (*Assertion) Descriptor() ([]byte, []int) { +// Deprecated: Use Account.ProtoReflect.Descriptor instead. +func (*Account) Descriptor() ([]byte, []int) { return file_did_v1_state_proto_rawDescGZIP(), []int{0} } -func (x *Assertion) GetDid() string { +func (x *Account) GetDid() string { if x != nil { return x.Did } return "" } -func (x *Assertion) GetController() string { +func (x *Account) GetController() string { if x != nil { return x.Controller } return "" } -func (x *Assertion) GetSubject() string { +func (x *Account) GetSubject() string { if x != nil { return x.Subject } return "" } -func (x *Assertion) GetPublicKeyHex() string { +func (x *Account) GetPublicKeyHex() string { if x != nil { return x.PublicKeyHex } return "" } -func (x *Assertion) GetAssertionType() string { +func (x *Account) GetAssertionType() string { if x != nil { return x.AssertionType } return "" } -func (x *Assertion) GetAccumulator() map[string][]byte { +func (x *Account) GetAccumulator() map[string][]byte { if x != nil { return x.Accumulator } return nil } -func (x *Assertion) GetCreationBlock() int64 { +func (x *Account) GetCreationBlock() int64 { if x != nil { return x.CreationBlock } return 0 } -type Authentication struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // The unique identifier of the authentication - Did string `protobuf:"bytes,1,opt,name=did,proto3" json:"did,omitempty"` - // The authentication of the DID - Controller string `protobuf:"bytes,2,opt,name=controller,proto3" json:"controller,omitempty"` - // Origin of the authentication - Subject string `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"` - // string is the verification method - PublicKeyHex string `protobuf:"bytes,4,opt,name=public_key_hex,json=publicKeyHex,proto3" json:"public_key_hex,omitempty"` - // CredentialID is the byte representation of the credential ID - CredentialId []byte `protobuf:"bytes,5,opt,name=credential_id,json=credentialId,proto3" json:"credential_id,omitempty"` - // Metadata of the authentication - Metadata map[string]string `protobuf:"bytes,6,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // CreationBlock is the block number of the creation of the authentication - CreationBlock int64 `protobuf:"varint,7,opt,name=creation_block,json=creationBlock,proto3" json:"creation_block,omitempty"` -} - -func (x *Authentication) Reset() { - *x = Authentication{} - if protoimpl.UnsafeEnabled { - mi := &file_did_v1_state_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Authentication) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Authentication) ProtoMessage() {} - -// Deprecated: Use Authentication.ProtoReflect.Descriptor instead. -func (*Authentication) Descriptor() ([]byte, []int) { - return file_did_v1_state_proto_rawDescGZIP(), []int{1} -} - -func (x *Authentication) GetDid() string { - if x != nil { - return x.Did - } - return "" -} - -func (x *Authentication) GetController() string { - if x != nil { - return x.Controller - } - return "" -} - -func (x *Authentication) GetSubject() string { - if x != nil { - return x.Subject - } - return "" -} - -func (x *Authentication) GetPublicKeyHex() string { - if x != nil { - return x.PublicKeyHex - } - return "" -} - -func (x *Authentication) GetCredentialId() []byte { - if x != nil { - return x.CredentialId - } - return nil -} - -func (x *Authentication) GetMetadata() map[string]string { - if x != nil { - return x.Metadata - } - return nil -} - -func (x *Authentication) GetCreationBlock() int64 { - if x != nil { - return x.CreationBlock - } - return 0 -} - -// Macaroon is a Macaroon message type. -type Biscuit struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` - Controller string `protobuf:"bytes,2,opt,name=controller,proto3" json:"controller,omitempty"` - Subject string `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"` - Origin string `protobuf:"bytes,4,opt,name=origin,proto3" json:"origin,omitempty"` - ExpiryHeight int64 `protobuf:"varint,5,opt,name=expiry_height,json=expiryHeight,proto3" json:"expiry_height,omitempty"` - Macaroon string `protobuf:"bytes,6,opt,name=macaroon,proto3" json:"macaroon,omitempty"` -} - -func (x *Biscuit) Reset() { - *x = Biscuit{} - if protoimpl.UnsafeEnabled { - mi := &file_did_v1_state_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Biscuit) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Biscuit) ProtoMessage() {} - -// Deprecated: Use Biscuit.ProtoReflect.Descriptor instead. -func (*Biscuit) Descriptor() ([]byte, []int) { - return file_did_v1_state_proto_rawDescGZIP(), []int{2} -} - -func (x *Biscuit) GetId() uint64 { - if x != nil { - return x.Id - } - return 0 -} - -func (x *Biscuit) GetController() string { - if x != nil { - return x.Controller - } - return "" -} - -func (x *Biscuit) GetSubject() string { - if x != nil { - return x.Subject - } - return "" -} - -func (x *Biscuit) GetOrigin() string { - if x != nil { - return x.Origin - } - return "" -} - -func (x *Biscuit) GetExpiryHeight() int64 { - if x != nil { - return x.ExpiryHeight - } - return 0 -} - -func (x *Biscuit) GetMacaroon() string { - if x != nil { - return x.Macaroon - } - return "" -} - -// Controller represents a Sonr DWN Vault -type Controller struct { +// PublicKey represents a public key +type PublicKey struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -5117,83 +3213,83 @@ type Controller struct { CreationBlock int64 `protobuf:"varint,9,opt,name=creation_block,json=creationBlock,proto3" json:"creation_block,omitempty"` } -func (x *Controller) Reset() { - *x = Controller{} +func (x *PublicKey) Reset() { + *x = PublicKey{} if protoimpl.UnsafeEnabled { - mi := &file_did_v1_state_proto_msgTypes[3] + mi := &file_did_v1_state_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *Controller) String() string { +func (x *PublicKey) String() string { return protoimpl.X.MessageStringOf(x) } -func (*Controller) ProtoMessage() {} +func (*PublicKey) ProtoMessage() {} -// Deprecated: Use Controller.ProtoReflect.Descriptor instead. -func (*Controller) Descriptor() ([]byte, []int) { - return file_did_v1_state_proto_rawDescGZIP(), []int{3} +// Deprecated: Use PublicKey.ProtoReflect.Descriptor instead. +func (*PublicKey) Descriptor() ([]byte, []int) { + return file_did_v1_state_proto_rawDescGZIP(), []int{1} } -func (x *Controller) GetNumber() uint64 { +func (x *PublicKey) GetNumber() uint64 { if x != nil { return x.Number } return 0 } -func (x *Controller) GetDid() string { +func (x *PublicKey) GetDid() string { if x != nil { return x.Did } return "" } -func (x *Controller) GetSonrAddress() string { +func (x *PublicKey) GetSonrAddress() string { if x != nil { return x.SonrAddress } return "" } -func (x *Controller) GetEthAddress() string { +func (x *PublicKey) GetEthAddress() string { if x != nil { return x.EthAddress } return "" } -func (x *Controller) GetBtcAddress() string { +func (x *PublicKey) GetBtcAddress() string { if x != nil { return x.BtcAddress } return "" } -func (x *Controller) GetPublicKeyHex() string { +func (x *PublicKey) GetPublicKeyHex() string { if x != nil { return x.PublicKeyHex } return "" } -func (x *Controller) GetKsVal() string { +func (x *PublicKey) GetKsVal() string { if x != nil { return x.KsVal } return "" } -func (x *Controller) GetClaimedBlock() int64 { +func (x *PublicKey) GetClaimedBlock() int64 { if x != nil { return x.ClaimedBlock } return 0 } -func (x *Controller) GetCreationBlock() int64 { +func (x *PublicKey) GetCreationBlock() int64 { if x != nil { return x.CreationBlock } @@ -5229,7 +3325,7 @@ type Verification struct { func (x *Verification) Reset() { *x = Verification{} if protoimpl.UnsafeEnabled { - mi := &file_did_v1_state_proto_msgTypes[4] + mi := &file_did_v1_state_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5243,7 +3339,7 @@ func (*Verification) ProtoMessage() {} // Deprecated: Use Verification.ProtoReflect.Descriptor instead. func (*Verification) Descriptor() ([]byte, []int) { - return file_did_v1_state_proto_rawDescGZIP(), []int{4} + return file_did_v1_state_proto_rawDescGZIP(), []int{2} } func (x *Verification) GetDid() string { @@ -5316,132 +3412,95 @@ var file_did_v1_state_proto_rawDesc = []byte{ 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x64, 0x69, 0x64, 0x2e, 0x76, 0x31, 0x1a, 0x17, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x72, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x64, 0x69, 0x64, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, - 0x6e, 0x65, 0x73, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xfc, 0x02, 0x0a, 0x09, - 0x41, 0x73, 0x73, 0x65, 0x72, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x64, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x63, - 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x73, - 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, - 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, - 0x6b, 0x65, 0x79, 0x5f, 0x68, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, - 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x48, 0x65, 0x78, 0x12, 0x25, 0x0a, 0x0e, 0x61, - 0x73, 0x73, 0x65, 0x72, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0d, 0x61, 0x73, 0x73, 0x65, 0x72, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, - 0x70, 0x65, 0x12, 0x44, 0x0a, 0x0b, 0x61, 0x63, 0x63, 0x75, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x6f, - 0x72, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x64, 0x69, 0x64, 0x2e, 0x76, 0x31, - 0x2e, 0x41, 0x73, 0x73, 0x65, 0x72, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x63, 0x63, 0x75, 0x6d, - 0x75, 0x6c, 0x61, 0x74, 0x6f, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x61, 0x63, 0x63, - 0x75, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x1a, - 0x3e, 0x0a, 0x10, 0x41, 0x63, 0x63, 0x75, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x6f, 0x72, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, - 0x29, 0xf2, 0x9e, 0xd3, 0x8e, 0x03, 0x23, 0x0a, 0x05, 0x0a, 0x03, 0x64, 0x69, 0x64, 0x12, 0x18, - 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2c, 0x73, 0x75, 0x62, - 0x6a, 0x65, 0x63, 0x74, 0x10, 0x01, 0x18, 0x01, 0x18, 0x01, 0x22, 0xf8, 0x02, 0x0a, 0x0e, 0x41, - 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, - 0x03, 0x64, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x64, 0x69, 0x64, 0x12, - 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, - 0x18, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x70, 0x75, 0x62, - 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x68, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0c, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x48, 0x65, 0x78, 0x12, - 0x23, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x69, 0x64, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, - 0x61, 0x6c, 0x49, 0x64, 0x12, 0x40, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x64, 0x69, 0x64, 0x2e, 0x76, 0x31, 0x2e, - 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x1a, 0x3b, 0x0a, - 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, - 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, - 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, 0x29, 0xf2, 0x9e, 0xd3, 0x8e, - 0x03, 0x23, 0x0a, 0x05, 0x0a, 0x03, 0x64, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x12, 0x63, 0x6f, 0x6e, - 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2c, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x10, - 0x01, 0x18, 0x01, 0x18, 0x02, 0x22, 0xd4, 0x01, 0x0a, 0x07, 0x42, 0x69, 0x73, 0x63, 0x75, 0x69, - 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, - 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, - 0x72, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, - 0x72, 0x69, 0x67, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x72, 0x69, - 0x67, 0x69, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x5f, 0x68, 0x65, - 0x69, 0x67, 0x68, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x65, 0x78, 0x70, 0x69, - 0x72, 0x79, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x61, 0x63, 0x61, - 0x72, 0x6f, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x63, 0x61, - 0x72, 0x6f, 0x6f, 0x6e, 0x3a, 0x26, 0xf2, 0x9e, 0xd3, 0x8e, 0x03, 0x20, 0x0a, 0x06, 0x0a, 0x02, - 0x69, 0x64, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x0e, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2c, - 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x10, 0x01, 0x18, 0x01, 0x18, 0x05, 0x22, 0xff, 0x02, 0x0a, - 0x0a, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x6e, - 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6e, 0x75, 0x6d, - 0x62, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x64, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x6f, 0x6e, 0x72, 0x5f, 0x61, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x6f, 0x6e, - 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x74, 0x68, 0x5f, - 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, - 0x74, 0x68, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x74, 0x63, - 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, - 0x62, 0x74, 0x63, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x24, 0x0a, 0x0e, 0x70, 0x75, - 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x68, 0x65, 0x78, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0c, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x48, 0x65, 0x78, - 0x12, 0x15, 0x0a, 0x06, 0x6b, 0x73, 0x5f, 0x76, 0x61, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x05, 0x6b, 0x73, 0x56, 0x61, 0x6c, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6c, 0x61, 0x69, 0x6d, - 0x65, 0x64, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, - 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x25, 0x0a, 0x0e, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x09, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6c, - 0x6f, 0x63, 0x6b, 0x3a, 0x59, 0xf2, 0x9e, 0xd3, 0x8e, 0x03, 0x53, 0x0a, 0x0a, 0x0a, 0x06, 0x6e, - 0x75, 0x6d, 0x62, 0x65, 0x72, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0c, 0x73, 0x6f, 0x6e, 0x72, 0x5f, - 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x10, 0x01, 0x18, 0x01, 0x12, 0x11, 0x0a, 0x0b, 0x65, - 0x74, 0x68, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x10, 0x02, 0x18, 0x01, 0x12, 0x11, - 0x0a, 0x0b, 0x62, 0x74, 0x63, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x10, 0x03, 0x18, - 0x01, 0x12, 0x09, 0x0a, 0x03, 0x64, 0x69, 0x64, 0x10, 0x04, 0x18, 0x01, 0x18, 0x03, 0x22, 0xfb, - 0x03, 0x0a, 0x0c, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x10, 0x0a, 0x03, 0x64, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x64, 0x69, - 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, - 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x69, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69, 0x64, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, - 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x06, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x6a, - 0x65, 0x63, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, - 0x63, 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, - 0x5f, 0x68, 0x65, 0x78, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x75, 0x62, 0x6c, - 0x69, 0x63, 0x4b, 0x65, 0x79, 0x48, 0x65, 0x78, 0x12, 0x2b, 0x0a, 0x11, 0x76, 0x65, 0x72, 0x69, - 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x10, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3e, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x64, 0x69, 0x64, 0x2e, 0x76, 0x31, - 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x65, 0x73, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf8, 0x02, 0x0a, 0x07, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x64, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x62, + 0x6a, 0x65, 0x63, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a, + 0x65, 0x63, 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, + 0x79, 0x5f, 0x68, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x75, 0x62, + 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x48, 0x65, 0x78, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x73, 0x73, + 0x65, 0x72, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0d, 0x61, 0x73, 0x73, 0x65, 0x72, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x42, 0x0a, 0x0b, 0x61, 0x63, 0x63, 0x75, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x6f, 0x72, 0x18, + 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, 0x69, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x41, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x41, 0x63, 0x63, 0x75, 0x6d, 0x75, 0x6c, 0x61, 0x74, + 0x6f, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x75, 0x6d, 0x75, 0x6c, + 0x61, 0x74, 0x6f, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x1a, 0x3e, 0x0a, 0x10, 0x41, + 0x63, 0x63, 0x75, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x6f, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, + 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, + 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, 0x29, 0xf2, 0x9e, 0xd3, + 0x8e, 0x03, 0x23, 0x0a, 0x05, 0x0a, 0x03, 0x64, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x12, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2c, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, + 0x10, 0x01, 0x18, 0x01, 0x18, 0x01, 0x22, 0xfe, 0x02, 0x0a, 0x09, 0x50, 0x75, 0x62, 0x6c, 0x69, + 0x63, 0x4b, 0x65, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, + 0x64, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x64, 0x69, 0x64, 0x12, 0x21, + 0x0a, 0x0c, 0x73, 0x6f, 0x6e, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x6f, 0x6e, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x74, 0x68, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x74, 0x68, 0x41, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x74, 0x63, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x62, 0x74, 0x63, 0x41, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x12, 0x24, 0x0a, 0x0e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, + 0x79, 0x5f, 0x68, 0x65, 0x78, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x75, 0x62, + 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x48, 0x65, 0x78, 0x12, 0x15, 0x0a, 0x06, 0x6b, 0x73, 0x5f, + 0x76, 0x61, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6b, 0x73, 0x56, 0x61, 0x6c, + 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x65, 0x64, 0x5f, 0x62, 0x6c, 0x6f, 0x63, + 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x65, 0x64, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x1a, 0x3b, 0x0a, 0x0d, - 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, - 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, - 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, 0x71, 0xf2, 0x9e, 0xd3, 0x8e, 0x03, - 0x6b, 0x0a, 0x05, 0x0a, 0x03, 0x64, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x0e, 0x69, 0x73, 0x73, 0x75, - 0x65, 0x72, 0x2c, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x10, 0x01, 0x18, 0x01, 0x12, 0x22, - 0x0a, 0x1c, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2c, 0x64, 0x69, 0x64, - 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x2c, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x10, 0x02, - 0x18, 0x01, 0x12, 0x26, 0x0a, 0x20, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x2c, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2c, - 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x10, 0x03, 0x18, 0x01, 0x18, 0x06, 0x42, 0x7a, 0x0a, 0x0a, - 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x69, 0x64, 0x2e, 0x76, 0x31, 0x42, 0x0a, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x27, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, - 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x6e, 0x73, 0x6f, 0x6e, 0x72, 0x2f, 0x73, 0x6f, 0x6e, 0x72, - 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x69, 0x64, 0x2f, 0x76, 0x31, 0x3b, 0x64, 0x69, 0x64, 0x76, - 0x31, 0xa2, 0x02, 0x03, 0x44, 0x58, 0x58, 0xaa, 0x02, 0x06, 0x44, 0x69, 0x64, 0x2e, 0x56, 0x31, - 0xca, 0x02, 0x06, 0x44, 0x69, 0x64, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x12, 0x44, 0x69, 0x64, 0x5c, - 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, - 0x07, 0x44, 0x69, 0x64, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x3a, 0x59, 0xf2, 0x9e, + 0xd3, 0x8e, 0x03, 0x53, 0x0a, 0x0a, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x10, 0x01, + 0x12, 0x12, 0x0a, 0x0c, 0x73, 0x6f, 0x6e, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x10, 0x01, 0x18, 0x01, 0x12, 0x11, 0x0a, 0x0b, 0x65, 0x74, 0x68, 0x5f, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x10, 0x02, 0x18, 0x01, 0x12, 0x11, 0x0a, 0x0b, 0x62, 0x74, 0x63, 0x5f, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x10, 0x03, 0x18, 0x01, 0x12, 0x09, 0x0a, 0x03, 0x64, 0x69, + 0x64, 0x10, 0x04, 0x18, 0x01, 0x18, 0x02, 0x22, 0xfb, 0x03, 0x0a, 0x0c, 0x56, 0x65, 0x72, 0x69, + 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x64, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, + 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x69, + 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x64, 0x69, 0x64, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x73, + 0x75, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, 0x73, 0x73, 0x75, 0x65, + 0x72, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x70, + 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x68, 0x65, 0x78, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x48, 0x65, + 0x78, 0x12, 0x2b, 0x0a, 0x11, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x76, 0x65, + 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3e, + 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x22, 0x2e, 0x64, 0x69, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x25, + 0x0a, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, + 0x38, 0x01, 0x3a, 0x71, 0xf2, 0x9e, 0xd3, 0x8e, 0x03, 0x6b, 0x0a, 0x05, 0x0a, 0x03, 0x64, 0x69, + 0x64, 0x12, 0x14, 0x0a, 0x0e, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x2c, 0x73, 0x75, 0x62, 0x6a, + 0x65, 0x63, 0x74, 0x10, 0x01, 0x18, 0x01, 0x12, 0x22, 0x0a, 0x1c, 0x63, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2c, 0x64, 0x69, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, + 0x2c, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x10, 0x02, 0x18, 0x01, 0x12, 0x26, 0x0a, 0x20, 0x76, + 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x2c, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2c, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x10, + 0x03, 0x18, 0x01, 0x18, 0x03, 0x42, 0x7a, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x69, 0x64, + 0x2e, 0x76, 0x31, 0x42, 0x0a, 0x53, 0x74, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, + 0x01, 0x5a, 0x27, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x6e, + 0x73, 0x6f, 0x6e, 0x72, 0x2f, 0x73, 0x6f, 0x6e, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x69, + 0x64, 0x2f, 0x76, 0x31, 0x3b, 0x64, 0x69, 0x64, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x44, 0x58, 0x58, + 0xaa, 0x02, 0x06, 0x44, 0x69, 0x64, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x06, 0x44, 0x69, 0x64, 0x5c, + 0x56, 0x31, 0xe2, 0x02, 0x12, 0x44, 0x69, 0x64, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x07, 0x44, 0x69, 0x64, 0x3a, 0x3a, 0x56, + 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -5456,26 +3515,22 @@ func file_did_v1_state_proto_rawDescGZIP() []byte { return file_did_v1_state_proto_rawDescData } -var file_did_v1_state_proto_msgTypes = make([]protoimpl.MessageInfo, 8) +var file_did_v1_state_proto_msgTypes = make([]protoimpl.MessageInfo, 5) var file_did_v1_state_proto_goTypes = []interface{}{ - (*Assertion)(nil), // 0: did.v1.Assertion - (*Authentication)(nil), // 1: did.v1.Authentication - (*Biscuit)(nil), // 2: did.v1.Biscuit - (*Controller)(nil), // 3: did.v1.Controller - (*Verification)(nil), // 4: did.v1.Verification - nil, // 5: did.v1.Assertion.AccumulatorEntry - nil, // 6: did.v1.Authentication.MetadataEntry - nil, // 7: did.v1.Verification.MetadataEntry + (*Account)(nil), // 0: did.v1.Account + (*PublicKey)(nil), // 1: did.v1.PublicKey + (*Verification)(nil), // 2: did.v1.Verification + nil, // 3: did.v1.Account.AccumulatorEntry + nil, // 4: did.v1.Verification.MetadataEntry } var file_did_v1_state_proto_depIdxs = []int32{ - 5, // 0: did.v1.Assertion.accumulator:type_name -> did.v1.Assertion.AccumulatorEntry - 6, // 1: did.v1.Authentication.metadata:type_name -> did.v1.Authentication.MetadataEntry - 7, // 2: did.v1.Verification.metadata:type_name -> did.v1.Verification.MetadataEntry - 3, // [3:3] is the sub-list for method output_type - 3, // [3:3] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name + 3, // 0: did.v1.Account.accumulator:type_name -> did.v1.Account.AccumulatorEntry + 4, // 1: did.v1.Verification.metadata:type_name -> did.v1.Verification.MetadataEntry + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name } func init() { file_did_v1_state_proto_init() } @@ -5486,7 +3541,7 @@ func file_did_v1_state_proto_init() { file_did_v1_genesis_proto_init() if !protoimpl.UnsafeEnabled { file_did_v1_state_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Assertion); i { + switch v := v.(*Account); i { case 0: return &v.state case 1: @@ -5498,7 +3553,7 @@ func file_did_v1_state_proto_init() { } } file_did_v1_state_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Authentication); i { + switch v := v.(*PublicKey); i { case 0: return &v.state case 1: @@ -5510,30 +3565,6 @@ func file_did_v1_state_proto_init() { } } file_did_v1_state_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Biscuit); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_did_v1_state_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Controller); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_did_v1_state_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Verification); i { case 0: return &v.state @@ -5552,7 +3583,7 @@ func file_did_v1_state_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_did_v1_state_proto_rawDesc, NumEnums: 0, - NumMessages: 8, + NumMessages: 5, NumExtensions: 0, NumServices: 0, }, diff --git a/api/vault/module/v1/module.pulsar.go b/api/dwn/module/v1/module.pulsar.go similarity index 75% rename from api/vault/module/v1/module.pulsar.go rename to api/dwn/module/v1/module.pulsar.go index 1789eae62..501dc07c7 100644 --- a/api/vault/module/v1/module.pulsar.go +++ b/api/dwn/module/v1/module.pulsar.go @@ -18,8 +18,8 @@ var ( ) func init() { - file_vault_module_v1_module_proto_init() - md_Module = File_vault_module_v1_module_proto.Messages().ByName("Module") + file_dwn_module_v1_module_proto_init() + md_Module = File_dwn_module_v1_module_proto.Messages().ByName("Module") } var _ protoreflect.Message = (*fastReflection_Module)(nil) @@ -31,7 +31,7 @@ func (x *Module) ProtoReflect() protoreflect.Message { } func (x *Module) slowProtoReflect() protoreflect.Message { - mi := &file_vault_module_v1_module_proto_msgTypes[0] + mi := &file_dwn_module_v1_module_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -104,9 +104,9 @@ func (x *fastReflection_Module) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.module.v1.Module")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.module.v1.Module")) } - panic(fmt.Errorf("message vault.module.v1.Module does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.module.v1.Module does not contain field %s", fd.FullName())) } } @@ -120,9 +120,9 @@ func (x *fastReflection_Module) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.module.v1.Module")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.module.v1.Module")) } - panic(fmt.Errorf("message vault.module.v1.Module does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.module.v1.Module does not contain field %s", fd.FullName())) } } @@ -136,9 +136,9 @@ func (x *fastReflection_Module) Get(descriptor protoreflect.FieldDescriptor) pro switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.module.v1.Module")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.module.v1.Module")) } - panic(fmt.Errorf("message vault.module.v1.Module does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message dwn.module.v1.Module does not contain field %s", descriptor.FullName())) } } @@ -156,9 +156,9 @@ func (x *fastReflection_Module) Set(fd protoreflect.FieldDescriptor, value proto switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.module.v1.Module")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.module.v1.Module")) } - panic(fmt.Errorf("message vault.module.v1.Module does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.module.v1.Module does not contain field %s", fd.FullName())) } } @@ -176,9 +176,9 @@ func (x *fastReflection_Module) Mutable(fd protoreflect.FieldDescriptor) protore switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.module.v1.Module")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.module.v1.Module")) } - panic(fmt.Errorf("message vault.module.v1.Module does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.module.v1.Module does not contain field %s", fd.FullName())) } } @@ -189,9 +189,9 @@ func (x *fastReflection_Module) NewField(fd protoreflect.FieldDescriptor) protor switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.module.v1.Module")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.module.v1.Module")) } - panic(fmt.Errorf("message vault.module.v1.Module does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.module.v1.Module does not contain field %s", fd.FullName())) } } @@ -201,7 +201,7 @@ func (x *fastReflection_Module) NewField(fd protoreflect.FieldDescriptor) protor func (x *fastReflection_Module) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in vault.module.v1.Module", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in dwn.module.v1.Module", d.FullName())) } panic("unreachable") } @@ -373,7 +373,7 @@ func (x *fastReflection_Module) ProtoMethods() *protoiface.Methods { // versions: // protoc-gen-go v1.27.0 // protoc (unknown) -// source: vault/module/v1/module.proto +// source: dwn/module/v1/module.proto const ( // Verify that this generated code is sufficiently up-to-date. @@ -393,7 +393,7 @@ type Module struct { func (x *Module) Reset() { *x = Module{} if protoimpl.UnsafeEnabled { - mi := &file_vault_module_v1_module_proto_msgTypes[0] + mi := &file_dwn_module_v1_module_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -407,51 +407,50 @@ func (*Module) ProtoMessage() {} // Deprecated: Use Module.ProtoReflect.Descriptor instead. func (*Module) Descriptor() ([]byte, []int) { - return file_vault_module_v1_module_proto_rawDescGZIP(), []int{0} + return file_dwn_module_v1_module_proto_rawDescGZIP(), []int{0} } -var File_vault_module_v1_module_proto protoreflect.FileDescriptor +var File_dwn_module_v1_module_proto protoreflect.FileDescriptor -var file_vault_module_v1_module_proto_rawDesc = []byte{ - 0x0a, 0x1c, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2f, 0x76, - 0x31, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, - 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x1a, - 0x20, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x22, 0x28, 0x0a, 0x06, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x3a, 0x1e, 0xba, 0xc0, 0x96, - 0xda, 0x01, 0x18, 0x0a, 0x16, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, - 0x6f, 0x6e, 0x73, 0x6f, 0x6e, 0x72, 0x2f, 0x73, 0x6f, 0x6e, 0x72, 0x42, 0xb5, 0x01, 0x0a, 0x13, - 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, - 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, - 0x50, 0x01, 0x5a, 0x33, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, - 0x6e, 0x73, 0x6f, 0x6e, 0x72, 0x2f, 0x73, 0x6f, 0x6e, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, - 0x61, 0x75, 0x6c, 0x74, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x6d, - 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x56, 0x4d, 0x58, 0xaa, 0x02, 0x0f, - 0x56, 0x61, 0x75, 0x6c, 0x74, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x56, 0x31, 0xca, - 0x02, 0x0f, 0x56, 0x61, 0x75, 0x6c, 0x74, 0x5c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5c, 0x56, - 0x31, 0xe2, 0x02, 0x1b, 0x56, 0x61, 0x75, 0x6c, 0x74, 0x5c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, - 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, - 0x02, 0x11, 0x56, 0x61, 0x75, 0x6c, 0x74, 0x3a, 0x3a, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x3a, +var file_dwn_module_v1_module_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x64, 0x77, 0x6e, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2f, 0x76, 0x31, 0x2f, + 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x64, 0x77, + 0x6e, 0x2e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x20, 0x63, 0x6f, 0x73, + 0x6d, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x28, 0x0a, + 0x06, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x3a, 0x1e, 0xba, 0xc0, 0x96, 0xda, 0x01, 0x18, 0x0a, + 0x16, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x6e, 0x73, 0x6f, + 0x6e, 0x72, 0x2f, 0x73, 0x6f, 0x6e, 0x72, 0x42, 0xa9, 0x01, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x2e, + 0x64, 0x77, 0x6e, 0x2e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x4d, + 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x31, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x6e, 0x73, 0x6f, 0x6e, 0x72, 0x2f, + 0x73, 0x6f, 0x6e, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x77, 0x6e, 0x2f, 0x6d, 0x6f, 0x64, + 0x75, 0x6c, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x76, 0x31, 0xa2, + 0x02, 0x03, 0x44, 0x4d, 0x58, 0xaa, 0x02, 0x0d, 0x44, 0x77, 0x6e, 0x2e, 0x4d, 0x6f, 0x64, 0x75, + 0x6c, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0d, 0x44, 0x77, 0x6e, 0x5c, 0x4d, 0x6f, 0x64, 0x75, + 0x6c, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x19, 0x44, 0x77, 0x6e, 0x5c, 0x4d, 0x6f, 0x64, 0x75, + 0x6c, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0xea, 0x02, 0x0f, 0x44, 0x77, 0x6e, 0x3a, 0x3a, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_vault_module_v1_module_proto_rawDescOnce sync.Once - file_vault_module_v1_module_proto_rawDescData = file_vault_module_v1_module_proto_rawDesc + file_dwn_module_v1_module_proto_rawDescOnce sync.Once + file_dwn_module_v1_module_proto_rawDescData = file_dwn_module_v1_module_proto_rawDesc ) -func file_vault_module_v1_module_proto_rawDescGZIP() []byte { - file_vault_module_v1_module_proto_rawDescOnce.Do(func() { - file_vault_module_v1_module_proto_rawDescData = protoimpl.X.CompressGZIP(file_vault_module_v1_module_proto_rawDescData) +func file_dwn_module_v1_module_proto_rawDescGZIP() []byte { + file_dwn_module_v1_module_proto_rawDescOnce.Do(func() { + file_dwn_module_v1_module_proto_rawDescData = protoimpl.X.CompressGZIP(file_dwn_module_v1_module_proto_rawDescData) }) - return file_vault_module_v1_module_proto_rawDescData + return file_dwn_module_v1_module_proto_rawDescData } -var file_vault_module_v1_module_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_vault_module_v1_module_proto_goTypes = []interface{}{ - (*Module)(nil), // 0: vault.module.v1.Module +var file_dwn_module_v1_module_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_dwn_module_v1_module_proto_goTypes = []interface{}{ + (*Module)(nil), // 0: dwn.module.v1.Module } -var file_vault_module_v1_module_proto_depIdxs = []int32{ +var file_dwn_module_v1_module_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for method output_type 0, // [0:0] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name @@ -459,13 +458,13 @@ var file_vault_module_v1_module_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for field type_name } -func init() { file_vault_module_v1_module_proto_init() } -func file_vault_module_v1_module_proto_init() { - if File_vault_module_v1_module_proto != nil { +func init() { file_dwn_module_v1_module_proto_init() } +func file_dwn_module_v1_module_proto_init() { + if File_dwn_module_v1_module_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_vault_module_v1_module_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_dwn_module_v1_module_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Module); i { case 0: return &v.state @@ -482,18 +481,18 @@ func file_vault_module_v1_module_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_vault_module_v1_module_proto_rawDesc, + RawDescriptor: file_dwn_module_v1_module_proto_rawDesc, NumEnums: 0, NumMessages: 1, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_vault_module_v1_module_proto_goTypes, - DependencyIndexes: file_vault_module_v1_module_proto_depIdxs, - MessageInfos: file_vault_module_v1_module_proto_msgTypes, + GoTypes: file_dwn_module_v1_module_proto_goTypes, + DependencyIndexes: file_dwn_module_v1_module_proto_depIdxs, + MessageInfos: file_dwn_module_v1_module_proto_msgTypes, }.Build() - File_vault_module_v1_module_proto = out.File - file_vault_module_v1_module_proto_rawDesc = nil - file_vault_module_v1_module_proto_goTypes = nil - file_vault_module_v1_module_proto_depIdxs = nil + File_dwn_module_v1_module_proto = out.File + file_dwn_module_v1_module_proto_rawDesc = nil + file_dwn_module_v1_module_proto_goTypes = nil + file_dwn_module_v1_module_proto_depIdxs = nil } diff --git a/api/vault/v1/genesis.pulsar.go b/api/dwn/v1/genesis.pulsar.go similarity index 54% rename from api/vault/v1/genesis.pulsar.go rename to api/dwn/v1/genesis.pulsar.go index 527134ec6..cb51912b1 100644 --- a/api/vault/v1/genesis.pulsar.go +++ b/api/dwn/v1/genesis.pulsar.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-pulsar. DO NOT EDIT. -package vaultv1 +package dwnv1 import ( _ "cosmossdk.io/api/amino" @@ -20,8 +20,8 @@ var ( ) func init() { - file_vault_v1_genesis_proto_init() - md_GenesisState = File_vault_v1_genesis_proto.Messages().ByName("GenesisState") + file_dwn_v1_genesis_proto_init() + md_GenesisState = File_dwn_v1_genesis_proto.Messages().ByName("GenesisState") fd_GenesisState_params = md_GenesisState.Fields().ByName("params") } @@ -34,7 +34,7 @@ func (x *GenesisState) ProtoReflect() protoreflect.Message { } func (x *GenesisState) slowProtoReflect() protoreflect.Message { - mi := &file_vault_v1_genesis_proto_msgTypes[0] + mi := &file_dwn_v1_genesis_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -111,13 +111,13 @@ func (x *fastReflection_GenesisState) Range(f func(protoreflect.FieldDescriptor, // a repeated field is populated if it is non-empty. func (x *fastReflection_GenesisState) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "vault.v1.GenesisState.params": + case "dwn.v1.GenesisState.params": return x.Params != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.GenesisState")) } - panic(fmt.Errorf("message vault.v1.GenesisState does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.GenesisState does not contain field %s", fd.FullName())) } } @@ -129,13 +129,13 @@ func (x *fastReflection_GenesisState) Has(fd protoreflect.FieldDescriptor) bool // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_GenesisState) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "vault.v1.GenesisState.params": + case "dwn.v1.GenesisState.params": x.Params = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.GenesisState")) } - panic(fmt.Errorf("message vault.v1.GenesisState does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.GenesisState does not contain field %s", fd.FullName())) } } @@ -147,14 +147,14 @@ func (x *fastReflection_GenesisState) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_GenesisState) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "vault.v1.GenesisState.params": + case "dwn.v1.GenesisState.params": value := x.Params return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.GenesisState")) } - panic(fmt.Errorf("message vault.v1.GenesisState does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message dwn.v1.GenesisState does not contain field %s", descriptor.FullName())) } } @@ -170,13 +170,13 @@ func (x *fastReflection_GenesisState) Get(descriptor protoreflect.FieldDescripto // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_GenesisState) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "vault.v1.GenesisState.params": + case "dwn.v1.GenesisState.params": x.Params = value.Message().Interface().(*Params) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.GenesisState")) } - panic(fmt.Errorf("message vault.v1.GenesisState does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.GenesisState does not contain field %s", fd.FullName())) } } @@ -192,16 +192,16 @@ func (x *fastReflection_GenesisState) Set(fd protoreflect.FieldDescriptor, value // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_GenesisState) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "vault.v1.GenesisState.params": + case "dwn.v1.GenesisState.params": if x.Params == nil { x.Params = new(Params) } return protoreflect.ValueOfMessage(x.Params.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.GenesisState")) } - panic(fmt.Errorf("message vault.v1.GenesisState does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.GenesisState does not contain field %s", fd.FullName())) } } @@ -210,14 +210,14 @@ func (x *fastReflection_GenesisState) Mutable(fd protoreflect.FieldDescriptor) p // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_GenesisState) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "vault.v1.GenesisState.params": + case "dwn.v1.GenesisState.params": m := new(Params) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.GenesisState")) } - panic(fmt.Errorf("message vault.v1.GenesisState does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.GenesisState does not contain field %s", fd.FullName())) } } @@ -227,7 +227,7 @@ func (x *fastReflection_GenesisState) NewField(fd protoreflect.FieldDescriptor) func (x *fastReflection_GenesisState) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in vault.v1.GenesisState", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in dwn.v1.GenesisState", d.FullName())) } panic("unreachable") } @@ -457,8 +457,8 @@ var ( ) func init() { - file_vault_v1_genesis_proto_init() - md_Params = File_vault_v1_genesis_proto.Messages().ByName("Params") + file_dwn_v1_genesis_proto_init() + md_Params = File_dwn_v1_genesis_proto.Messages().ByName("Params") fd_Params_ipfs_active = md_Params.Fields().ByName("ipfs_active") fd_Params_local_registration_enabled = md_Params.Fields().ByName("local_registration_enabled") fd_Params_schema = md_Params.Fields().ByName("schema") @@ -473,7 +473,7 @@ func (x *Params) ProtoReflect() protoreflect.Message { } func (x *Params) slowProtoReflect() protoreflect.Message { - mi := &file_vault_v1_genesis_proto_msgTypes[1] + mi := &file_dwn_v1_genesis_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -562,17 +562,17 @@ func (x *fastReflection_Params) Range(f func(protoreflect.FieldDescriptor, proto // a repeated field is populated if it is non-empty. func (x *fastReflection_Params) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "vault.v1.Params.ipfs_active": + case "dwn.v1.Params.ipfs_active": return x.IpfsActive != false - case "vault.v1.Params.local_registration_enabled": + case "dwn.v1.Params.local_registration_enabled": return x.LocalRegistrationEnabled != false - case "vault.v1.Params.schema": + case "dwn.v1.Params.schema": return x.Schema != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.Params")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.Params")) } - panic(fmt.Errorf("message vault.v1.Params does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.Params does not contain field %s", fd.FullName())) } } @@ -584,17 +584,17 @@ func (x *fastReflection_Params) Has(fd protoreflect.FieldDescriptor) bool { // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Params) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "vault.v1.Params.ipfs_active": + case "dwn.v1.Params.ipfs_active": x.IpfsActive = false - case "vault.v1.Params.local_registration_enabled": + case "dwn.v1.Params.local_registration_enabled": x.LocalRegistrationEnabled = false - case "vault.v1.Params.schema": + case "dwn.v1.Params.schema": x.Schema = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.Params")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.Params")) } - panic(fmt.Errorf("message vault.v1.Params does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.Params does not contain field %s", fd.FullName())) } } @@ -606,20 +606,20 @@ func (x *fastReflection_Params) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_Params) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "vault.v1.Params.ipfs_active": + case "dwn.v1.Params.ipfs_active": value := x.IpfsActive return protoreflect.ValueOfBool(value) - case "vault.v1.Params.local_registration_enabled": + case "dwn.v1.Params.local_registration_enabled": value := x.LocalRegistrationEnabled return protoreflect.ValueOfBool(value) - case "vault.v1.Params.schema": + case "dwn.v1.Params.schema": value := x.Schema return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.Params")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.Params")) } - panic(fmt.Errorf("message vault.v1.Params does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message dwn.v1.Params does not contain field %s", descriptor.FullName())) } } @@ -635,17 +635,17 @@ func (x *fastReflection_Params) Get(descriptor protoreflect.FieldDescriptor) pro // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Params) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "vault.v1.Params.ipfs_active": + case "dwn.v1.Params.ipfs_active": x.IpfsActive = value.Bool() - case "vault.v1.Params.local_registration_enabled": + case "dwn.v1.Params.local_registration_enabled": x.LocalRegistrationEnabled = value.Bool() - case "vault.v1.Params.schema": + case "dwn.v1.Params.schema": x.Schema = value.Message().Interface().(*Schema) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.Params")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.Params")) } - panic(fmt.Errorf("message vault.v1.Params does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.Params does not contain field %s", fd.FullName())) } } @@ -661,20 +661,20 @@ func (x *fastReflection_Params) Set(fd protoreflect.FieldDescriptor, value proto // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Params) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "vault.v1.Params.schema": + case "dwn.v1.Params.schema": if x.Schema == nil { x.Schema = new(Schema) } return protoreflect.ValueOfMessage(x.Schema.ProtoReflect()) - case "vault.v1.Params.ipfs_active": - panic(fmt.Errorf("field ipfs_active of message vault.v1.Params is not mutable")) - case "vault.v1.Params.local_registration_enabled": - panic(fmt.Errorf("field local_registration_enabled of message vault.v1.Params is not mutable")) + case "dwn.v1.Params.ipfs_active": + panic(fmt.Errorf("field ipfs_active of message dwn.v1.Params is not mutable")) + case "dwn.v1.Params.local_registration_enabled": + panic(fmt.Errorf("field local_registration_enabled of message dwn.v1.Params is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.Params")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.Params")) } - panic(fmt.Errorf("message vault.v1.Params does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.Params does not contain field %s", fd.FullName())) } } @@ -683,18 +683,18 @@ func (x *fastReflection_Params) Mutable(fd protoreflect.FieldDescriptor) protore // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_Params) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "vault.v1.Params.ipfs_active": + case "dwn.v1.Params.ipfs_active": return protoreflect.ValueOfBool(false) - case "vault.v1.Params.local_registration_enabled": + case "dwn.v1.Params.local_registration_enabled": return protoreflect.ValueOfBool(false) - case "vault.v1.Params.schema": + case "dwn.v1.Params.schema": m := new(Schema) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.Params")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.Params")) } - panic(fmt.Errorf("message vault.v1.Params does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.Params does not contain field %s", fd.FullName())) } } @@ -704,7 +704,7 @@ func (x *fastReflection_Params) NewField(fd protoreflect.FieldDescriptor) protor func (x *fastReflection_Params) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in vault.v1.Params", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in dwn.v1.Params", d.FullName())) } panic("unreachable") } @@ -992,6 +992,1162 @@ func (x *fastReflection_Params) ProtoMethods() *protoiface.Methods { } } +var _ protoreflect.List = (*_Capability_4_list)(nil) + +type _Capability_4_list struct { + list *[]string +} + +func (x *_Capability_4_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_Capability_4_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_Capability_4_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_Capability_4_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_Capability_4_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message Capability at list field Resources as it is not of Message kind")) +} + +func (x *_Capability_4_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_Capability_4_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_Capability_4_list) IsValid() bool { + return x.list != nil +} + +var ( + md_Capability protoreflect.MessageDescriptor + fd_Capability_name protoreflect.FieldDescriptor + fd_Capability_parent protoreflect.FieldDescriptor + fd_Capability_description protoreflect.FieldDescriptor + fd_Capability_resources protoreflect.FieldDescriptor +) + +func init() { + file_dwn_v1_genesis_proto_init() + md_Capability = File_dwn_v1_genesis_proto.Messages().ByName("Capability") + fd_Capability_name = md_Capability.Fields().ByName("name") + fd_Capability_parent = md_Capability.Fields().ByName("parent") + fd_Capability_description = md_Capability.Fields().ByName("description") + fd_Capability_resources = md_Capability.Fields().ByName("resources") +} + +var _ protoreflect.Message = (*fastReflection_Capability)(nil) + +type fastReflection_Capability Capability + +func (x *Capability) ProtoReflect() protoreflect.Message { + return (*fastReflection_Capability)(x) +} + +func (x *Capability) slowProtoReflect() protoreflect.Message { + mi := &file_dwn_v1_genesis_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_Capability_messageType fastReflection_Capability_messageType +var _ protoreflect.MessageType = fastReflection_Capability_messageType{} + +type fastReflection_Capability_messageType struct{} + +func (x fastReflection_Capability_messageType) Zero() protoreflect.Message { + return (*fastReflection_Capability)(nil) +} +func (x fastReflection_Capability_messageType) New() protoreflect.Message { + return new(fastReflection_Capability) +} +func (x fastReflection_Capability_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_Capability +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_Capability) Descriptor() protoreflect.MessageDescriptor { + return md_Capability +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_Capability) Type() protoreflect.MessageType { + return _fastReflection_Capability_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_Capability) New() protoreflect.Message { + return new(fastReflection_Capability) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_Capability) Interface() protoreflect.ProtoMessage { + return (*Capability)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_Capability) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Name != "" { + value := protoreflect.ValueOfString(x.Name) + if !f(fd_Capability_name, value) { + return + } + } + if x.Parent != "" { + value := protoreflect.ValueOfString(x.Parent) + if !f(fd_Capability_parent, value) { + return + } + } + if x.Description != "" { + value := protoreflect.ValueOfString(x.Description) + if !f(fd_Capability_description, value) { + return + } + } + if len(x.Resources) != 0 { + value := protoreflect.ValueOfList(&_Capability_4_list{list: &x.Resources}) + if !f(fd_Capability_resources, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_Capability) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "dwn.v1.Capability.name": + return x.Name != "" + case "dwn.v1.Capability.parent": + return x.Parent != "" + case "dwn.v1.Capability.description": + return x.Description != "" + case "dwn.v1.Capability.resources": + return len(x.Resources) != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.Capability")) + } + panic(fmt.Errorf("message dwn.v1.Capability does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Capability) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "dwn.v1.Capability.name": + x.Name = "" + case "dwn.v1.Capability.parent": + x.Parent = "" + case "dwn.v1.Capability.description": + x.Description = "" + case "dwn.v1.Capability.resources": + x.Resources = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.Capability")) + } + panic(fmt.Errorf("message dwn.v1.Capability does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_Capability) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "dwn.v1.Capability.name": + value := x.Name + return protoreflect.ValueOfString(value) + case "dwn.v1.Capability.parent": + value := x.Parent + return protoreflect.ValueOfString(value) + case "dwn.v1.Capability.description": + value := x.Description + return protoreflect.ValueOfString(value) + case "dwn.v1.Capability.resources": + if len(x.Resources) == 0 { + return protoreflect.ValueOfList(&_Capability_4_list{}) + } + listValue := &_Capability_4_list{list: &x.Resources} + return protoreflect.ValueOfList(listValue) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.Capability")) + } + panic(fmt.Errorf("message dwn.v1.Capability does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Capability) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "dwn.v1.Capability.name": + x.Name = value.Interface().(string) + case "dwn.v1.Capability.parent": + x.Parent = value.Interface().(string) + case "dwn.v1.Capability.description": + x.Description = value.Interface().(string) + case "dwn.v1.Capability.resources": + lv := value.List() + clv := lv.(*_Capability_4_list) + x.Resources = *clv.list + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.Capability")) + } + panic(fmt.Errorf("message dwn.v1.Capability does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Capability) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "dwn.v1.Capability.resources": + if x.Resources == nil { + x.Resources = []string{} + } + value := &_Capability_4_list{list: &x.Resources} + return protoreflect.ValueOfList(value) + case "dwn.v1.Capability.name": + panic(fmt.Errorf("field name of message dwn.v1.Capability is not mutable")) + case "dwn.v1.Capability.parent": + panic(fmt.Errorf("field parent of message dwn.v1.Capability is not mutable")) + case "dwn.v1.Capability.description": + panic(fmt.Errorf("field description of message dwn.v1.Capability is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.Capability")) + } + panic(fmt.Errorf("message dwn.v1.Capability does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_Capability) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "dwn.v1.Capability.name": + return protoreflect.ValueOfString("") + case "dwn.v1.Capability.parent": + return protoreflect.ValueOfString("") + case "dwn.v1.Capability.description": + return protoreflect.ValueOfString("") + case "dwn.v1.Capability.resources": + list := []string{} + return protoreflect.ValueOfList(&_Capability_4_list{list: &list}) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.Capability")) + } + panic(fmt.Errorf("message dwn.v1.Capability does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_Capability) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in dwn.v1.Capability", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_Capability) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Capability) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_Capability) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_Capability) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*Capability) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Name) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Parent) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Description) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if len(x.Resources) > 0 { + for _, s := range x.Resources { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*Capability) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Resources) > 0 { + for iNdEx := len(x.Resources) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.Resources[iNdEx]) + copy(dAtA[i:], x.Resources[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Resources[iNdEx]))) + i-- + dAtA[i] = 0x22 + } + } + if len(x.Description) > 0 { + i -= len(x.Description) + copy(dAtA[i:], x.Description) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Description))) + i-- + dAtA[i] = 0x1a + } + if len(x.Parent) > 0 { + i -= len(x.Parent) + copy(dAtA[i:], x.Parent) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Parent))) + i-- + dAtA[i] = 0x12 + } + if len(x.Name) > 0 { + i -= len(x.Name) + copy(dAtA[i:], x.Name) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Name))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*Capability) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Capability: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Capability: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Parent", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Parent = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Description", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Description = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Resources", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Resources = append(x.Resources, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_Resource protoreflect.MessageDescriptor + fd_Resource_kind protoreflect.FieldDescriptor + fd_Resource_template protoreflect.FieldDescriptor +) + +func init() { + file_dwn_v1_genesis_proto_init() + md_Resource = File_dwn_v1_genesis_proto.Messages().ByName("Resource") + fd_Resource_kind = md_Resource.Fields().ByName("kind") + fd_Resource_template = md_Resource.Fields().ByName("template") +} + +var _ protoreflect.Message = (*fastReflection_Resource)(nil) + +type fastReflection_Resource Resource + +func (x *Resource) ProtoReflect() protoreflect.Message { + return (*fastReflection_Resource)(x) +} + +func (x *Resource) slowProtoReflect() protoreflect.Message { + mi := &file_dwn_v1_genesis_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_Resource_messageType fastReflection_Resource_messageType +var _ protoreflect.MessageType = fastReflection_Resource_messageType{} + +type fastReflection_Resource_messageType struct{} + +func (x fastReflection_Resource_messageType) Zero() protoreflect.Message { + return (*fastReflection_Resource)(nil) +} +func (x fastReflection_Resource_messageType) New() protoreflect.Message { + return new(fastReflection_Resource) +} +func (x fastReflection_Resource_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_Resource +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_Resource) Descriptor() protoreflect.MessageDescriptor { + return md_Resource +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_Resource) Type() protoreflect.MessageType { + return _fastReflection_Resource_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_Resource) New() protoreflect.Message { + return new(fastReflection_Resource) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_Resource) Interface() protoreflect.ProtoMessage { + return (*Resource)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_Resource) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Kind != "" { + value := protoreflect.ValueOfString(x.Kind) + if !f(fd_Resource_kind, value) { + return + } + } + if x.Template != "" { + value := protoreflect.ValueOfString(x.Template) + if !f(fd_Resource_template, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_Resource) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "dwn.v1.Resource.kind": + return x.Kind != "" + case "dwn.v1.Resource.template": + return x.Template != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.Resource")) + } + panic(fmt.Errorf("message dwn.v1.Resource does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Resource) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "dwn.v1.Resource.kind": + x.Kind = "" + case "dwn.v1.Resource.template": + x.Template = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.Resource")) + } + panic(fmt.Errorf("message dwn.v1.Resource does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_Resource) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "dwn.v1.Resource.kind": + value := x.Kind + return protoreflect.ValueOfString(value) + case "dwn.v1.Resource.template": + value := x.Template + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.Resource")) + } + panic(fmt.Errorf("message dwn.v1.Resource does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Resource) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "dwn.v1.Resource.kind": + x.Kind = value.Interface().(string) + case "dwn.v1.Resource.template": + x.Template = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.Resource")) + } + panic(fmt.Errorf("message dwn.v1.Resource does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Resource) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "dwn.v1.Resource.kind": + panic(fmt.Errorf("field kind of message dwn.v1.Resource is not mutable")) + case "dwn.v1.Resource.template": + panic(fmt.Errorf("field template of message dwn.v1.Resource is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.Resource")) + } + panic(fmt.Errorf("message dwn.v1.Resource does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_Resource) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "dwn.v1.Resource.kind": + return protoreflect.ValueOfString("") + case "dwn.v1.Resource.template": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.Resource")) + } + panic(fmt.Errorf("message dwn.v1.Resource does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_Resource) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in dwn.v1.Resource", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_Resource) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Resource) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_Resource) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_Resource) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*Resource) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Kind) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Template) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*Resource) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Template) > 0 { + i -= len(x.Template) + copy(dAtA[i:], x.Template) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Template))) + i-- + dAtA[i] = 0x12 + } + if len(x.Kind) > 0 { + i -= len(x.Kind) + copy(dAtA[i:], x.Kind) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Kind))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*Resource) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Resource: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Resource: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Kind = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Template", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Template = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + var ( md_Schema protoreflect.MessageDescriptor fd_Schema_version protoreflect.FieldDescriptor @@ -1007,8 +2163,8 @@ var ( ) func init() { - file_vault_v1_genesis_proto_init() - md_Schema = File_vault_v1_genesis_proto.Messages().ByName("Schema") + file_dwn_v1_genesis_proto_init() + md_Schema = File_dwn_v1_genesis_proto.Messages().ByName("Schema") fd_Schema_version = md_Schema.Fields().ByName("version") fd_Schema_account = md_Schema.Fields().ByName("account") fd_Schema_asset = md_Schema.Fields().ByName("asset") @@ -1030,7 +2186,7 @@ func (x *Schema) ProtoReflect() protoreflect.Message { } func (x *Schema) slowProtoReflect() protoreflect.Message { - mi := &file_vault_v1_genesis_proto_msgTypes[2] + mi := &file_dwn_v1_genesis_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1161,31 +2317,31 @@ func (x *fastReflection_Schema) Range(f func(protoreflect.FieldDescriptor, proto // a repeated field is populated if it is non-empty. func (x *fastReflection_Schema) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "vault.v1.Schema.version": + case "dwn.v1.Schema.version": return x.Version != int32(0) - case "vault.v1.Schema.account": + case "dwn.v1.Schema.account": return x.Account != "" - case "vault.v1.Schema.asset": + case "dwn.v1.Schema.asset": return x.Asset != "" - case "vault.v1.Schema.chain": + case "dwn.v1.Schema.chain": return x.Chain != "" - case "vault.v1.Schema.credential": + case "dwn.v1.Schema.credential": return x.Credential != "" - case "vault.v1.Schema.did": + case "dwn.v1.Schema.did": return x.Did != "" - case "vault.v1.Schema.jwk": + case "dwn.v1.Schema.jwk": return x.Jwk != "" - case "vault.v1.Schema.grant": + case "dwn.v1.Schema.grant": return x.Grant != "" - case "vault.v1.Schema.keyshare": + case "dwn.v1.Schema.keyshare": return x.Keyshare != "" - case "vault.v1.Schema.profile": + case "dwn.v1.Schema.profile": return x.Profile != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.Schema")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.Schema")) } - panic(fmt.Errorf("message vault.v1.Schema does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.Schema does not contain field %s", fd.FullName())) } } @@ -1197,31 +2353,31 @@ func (x *fastReflection_Schema) Has(fd protoreflect.FieldDescriptor) bool { // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Schema) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "vault.v1.Schema.version": + case "dwn.v1.Schema.version": x.Version = int32(0) - case "vault.v1.Schema.account": + case "dwn.v1.Schema.account": x.Account = "" - case "vault.v1.Schema.asset": + case "dwn.v1.Schema.asset": x.Asset = "" - case "vault.v1.Schema.chain": + case "dwn.v1.Schema.chain": x.Chain = "" - case "vault.v1.Schema.credential": + case "dwn.v1.Schema.credential": x.Credential = "" - case "vault.v1.Schema.did": + case "dwn.v1.Schema.did": x.Did = "" - case "vault.v1.Schema.jwk": + case "dwn.v1.Schema.jwk": x.Jwk = "" - case "vault.v1.Schema.grant": + case "dwn.v1.Schema.grant": x.Grant = "" - case "vault.v1.Schema.keyshare": + case "dwn.v1.Schema.keyshare": x.Keyshare = "" - case "vault.v1.Schema.profile": + case "dwn.v1.Schema.profile": x.Profile = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.Schema")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.Schema")) } - panic(fmt.Errorf("message vault.v1.Schema does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.Schema does not contain field %s", fd.FullName())) } } @@ -1233,41 +2389,41 @@ func (x *fastReflection_Schema) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_Schema) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "vault.v1.Schema.version": + case "dwn.v1.Schema.version": value := x.Version return protoreflect.ValueOfInt32(value) - case "vault.v1.Schema.account": + case "dwn.v1.Schema.account": value := x.Account return protoreflect.ValueOfString(value) - case "vault.v1.Schema.asset": + case "dwn.v1.Schema.asset": value := x.Asset return protoreflect.ValueOfString(value) - case "vault.v1.Schema.chain": + case "dwn.v1.Schema.chain": value := x.Chain return protoreflect.ValueOfString(value) - case "vault.v1.Schema.credential": + case "dwn.v1.Schema.credential": value := x.Credential return protoreflect.ValueOfString(value) - case "vault.v1.Schema.did": + case "dwn.v1.Schema.did": value := x.Did return protoreflect.ValueOfString(value) - case "vault.v1.Schema.jwk": + case "dwn.v1.Schema.jwk": value := x.Jwk return protoreflect.ValueOfString(value) - case "vault.v1.Schema.grant": + case "dwn.v1.Schema.grant": value := x.Grant return protoreflect.ValueOfString(value) - case "vault.v1.Schema.keyshare": + case "dwn.v1.Schema.keyshare": value := x.Keyshare return protoreflect.ValueOfString(value) - case "vault.v1.Schema.profile": + case "dwn.v1.Schema.profile": value := x.Profile return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.Schema")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.Schema")) } - panic(fmt.Errorf("message vault.v1.Schema does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message dwn.v1.Schema does not contain field %s", descriptor.FullName())) } } @@ -1283,31 +2439,31 @@ func (x *fastReflection_Schema) Get(descriptor protoreflect.FieldDescriptor) pro // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Schema) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "vault.v1.Schema.version": + case "dwn.v1.Schema.version": x.Version = int32(value.Int()) - case "vault.v1.Schema.account": + case "dwn.v1.Schema.account": x.Account = value.Interface().(string) - case "vault.v1.Schema.asset": + case "dwn.v1.Schema.asset": x.Asset = value.Interface().(string) - case "vault.v1.Schema.chain": + case "dwn.v1.Schema.chain": x.Chain = value.Interface().(string) - case "vault.v1.Schema.credential": + case "dwn.v1.Schema.credential": x.Credential = value.Interface().(string) - case "vault.v1.Schema.did": + case "dwn.v1.Schema.did": x.Did = value.Interface().(string) - case "vault.v1.Schema.jwk": + case "dwn.v1.Schema.jwk": x.Jwk = value.Interface().(string) - case "vault.v1.Schema.grant": + case "dwn.v1.Schema.grant": x.Grant = value.Interface().(string) - case "vault.v1.Schema.keyshare": + case "dwn.v1.Schema.keyshare": x.Keyshare = value.Interface().(string) - case "vault.v1.Schema.profile": + case "dwn.v1.Schema.profile": x.Profile = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.Schema")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.Schema")) } - panic(fmt.Errorf("message vault.v1.Schema does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.Schema does not contain field %s", fd.FullName())) } } @@ -1323,31 +2479,31 @@ func (x *fastReflection_Schema) Set(fd protoreflect.FieldDescriptor, value proto // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Schema) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "vault.v1.Schema.version": - panic(fmt.Errorf("field version of message vault.v1.Schema is not mutable")) - case "vault.v1.Schema.account": - panic(fmt.Errorf("field account of message vault.v1.Schema is not mutable")) - case "vault.v1.Schema.asset": - panic(fmt.Errorf("field asset of message vault.v1.Schema is not mutable")) - case "vault.v1.Schema.chain": - panic(fmt.Errorf("field chain of message vault.v1.Schema is not mutable")) - case "vault.v1.Schema.credential": - panic(fmt.Errorf("field credential of message vault.v1.Schema is not mutable")) - case "vault.v1.Schema.did": - panic(fmt.Errorf("field did of message vault.v1.Schema is not mutable")) - case "vault.v1.Schema.jwk": - panic(fmt.Errorf("field jwk of message vault.v1.Schema is not mutable")) - case "vault.v1.Schema.grant": - panic(fmt.Errorf("field grant of message vault.v1.Schema is not mutable")) - case "vault.v1.Schema.keyshare": - panic(fmt.Errorf("field keyshare of message vault.v1.Schema is not mutable")) - case "vault.v1.Schema.profile": - panic(fmt.Errorf("field profile of message vault.v1.Schema is not mutable")) + case "dwn.v1.Schema.version": + panic(fmt.Errorf("field version of message dwn.v1.Schema is not mutable")) + case "dwn.v1.Schema.account": + panic(fmt.Errorf("field account of message dwn.v1.Schema is not mutable")) + case "dwn.v1.Schema.asset": + panic(fmt.Errorf("field asset of message dwn.v1.Schema is not mutable")) + case "dwn.v1.Schema.chain": + panic(fmt.Errorf("field chain of message dwn.v1.Schema is not mutable")) + case "dwn.v1.Schema.credential": + panic(fmt.Errorf("field credential of message dwn.v1.Schema is not mutable")) + case "dwn.v1.Schema.did": + panic(fmt.Errorf("field did of message dwn.v1.Schema is not mutable")) + case "dwn.v1.Schema.jwk": + panic(fmt.Errorf("field jwk of message dwn.v1.Schema is not mutable")) + case "dwn.v1.Schema.grant": + panic(fmt.Errorf("field grant of message dwn.v1.Schema is not mutable")) + case "dwn.v1.Schema.keyshare": + panic(fmt.Errorf("field keyshare of message dwn.v1.Schema is not mutable")) + case "dwn.v1.Schema.profile": + panic(fmt.Errorf("field profile of message dwn.v1.Schema is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.Schema")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.Schema")) } - panic(fmt.Errorf("message vault.v1.Schema does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.Schema does not contain field %s", fd.FullName())) } } @@ -1356,31 +2512,31 @@ func (x *fastReflection_Schema) Mutable(fd protoreflect.FieldDescriptor) protore // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_Schema) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "vault.v1.Schema.version": + case "dwn.v1.Schema.version": return protoreflect.ValueOfInt32(int32(0)) - case "vault.v1.Schema.account": + case "dwn.v1.Schema.account": return protoreflect.ValueOfString("") - case "vault.v1.Schema.asset": + case "dwn.v1.Schema.asset": return protoreflect.ValueOfString("") - case "vault.v1.Schema.chain": + case "dwn.v1.Schema.chain": return protoreflect.ValueOfString("") - case "vault.v1.Schema.credential": + case "dwn.v1.Schema.credential": return protoreflect.ValueOfString("") - case "vault.v1.Schema.did": + case "dwn.v1.Schema.did": return protoreflect.ValueOfString("") - case "vault.v1.Schema.jwk": + case "dwn.v1.Schema.jwk": return protoreflect.ValueOfString("") - case "vault.v1.Schema.grant": + case "dwn.v1.Schema.grant": return protoreflect.ValueOfString("") - case "vault.v1.Schema.keyshare": + case "dwn.v1.Schema.keyshare": return protoreflect.ValueOfString("") - case "vault.v1.Schema.profile": + case "dwn.v1.Schema.profile": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.Schema")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.Schema")) } - panic(fmt.Errorf("message vault.v1.Schema does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.Schema does not contain field %s", fd.FullName())) } } @@ -1390,7 +2546,7 @@ func (x *fastReflection_Schema) NewField(fd protoreflect.FieldDescriptor) protor func (x *fastReflection_Schema) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in vault.v1.Schema", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in dwn.v1.Schema", d.FullName())) } panic("unreachable") } @@ -1976,7 +3132,7 @@ func (x *fastReflection_Schema) ProtoMethods() *protoiface.Methods { // versions: // protoc-gen-go v1.27.0 // protoc (unknown) -// source: vault/v1/genesis.proto +// source: dwn/v1/genesis.proto const ( // Verify that this generated code is sufficiently up-to-date. @@ -1998,7 +3154,7 @@ type GenesisState struct { func (x *GenesisState) Reset() { *x = GenesisState{} if protoimpl.UnsafeEnabled { - mi := &file_vault_v1_genesis_proto_msgTypes[0] + mi := &file_dwn_v1_genesis_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2012,7 +3168,7 @@ func (*GenesisState) ProtoMessage() {} // Deprecated: Use GenesisState.ProtoReflect.Descriptor instead. func (*GenesisState) Descriptor() ([]byte, []int) { - return file_vault_v1_genesis_proto_rawDescGZIP(), []int{0} + return file_dwn_v1_genesis_proto_rawDescGZIP(), []int{0} } func (x *GenesisState) GetParams() *Params { @@ -2036,7 +3192,7 @@ type Params struct { func (x *Params) Reset() { *x = Params{} if protoimpl.UnsafeEnabled { - mi := &file_vault_v1_genesis_proto_msgTypes[1] + mi := &file_dwn_v1_genesis_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2050,7 +3206,7 @@ func (*Params) ProtoMessage() {} // Deprecated: Use Params.ProtoReflect.Descriptor instead. func (*Params) Descriptor() ([]byte, []int) { - return file_vault_v1_genesis_proto_rawDescGZIP(), []int{1} + return file_dwn_v1_genesis_proto_rawDescGZIP(), []int{1} } func (x *Params) GetIpfsActive() bool { @@ -2074,6 +3230,111 @@ func (x *Params) GetSchema() *Schema { return nil } +// Capability reprensents the available capabilities of a decentralized web node +type Capability struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"` + Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` + Resources []string `protobuf:"bytes,4,rep,name=resources,proto3" json:"resources,omitempty"` +} + +func (x *Capability) Reset() { + *x = Capability{} + if protoimpl.UnsafeEnabled { + mi := &file_dwn_v1_genesis_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Capability) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Capability) ProtoMessage() {} + +// Deprecated: Use Capability.ProtoReflect.Descriptor instead. +func (*Capability) Descriptor() ([]byte, []int) { + return file_dwn_v1_genesis_proto_rawDescGZIP(), []int{2} +} + +func (x *Capability) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *Capability) GetParent() string { + if x != nil { + return x.Parent + } + return "" +} + +func (x *Capability) GetDescription() string { + if x != nil { + return x.Description + } + return "" +} + +func (x *Capability) GetResources() []string { + if x != nil { + return x.Resources + } + return nil +} + +// Resource reprensents the available resources of a decentralized web node +type Resource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` + Template string `protobuf:"bytes,2,opt,name=template,proto3" json:"template,omitempty"` +} + +func (x *Resource) Reset() { + *x = Resource{} + if protoimpl.UnsafeEnabled { + mi := &file_dwn_v1_genesis_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Resource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Resource) ProtoMessage() {} + +// Deprecated: Use Resource.ProtoReflect.Descriptor instead. +func (*Resource) Descriptor() ([]byte, []int) { + return file_dwn_v1_genesis_proto_rawDescGZIP(), []int{3} +} + +func (x *Resource) GetKind() string { + if x != nil { + return x.Kind + } + return "" +} + +func (x *Resource) GetTemplate() string { + if x != nil { + return x.Template + } + return "" +} + +// Schema is the Database Model for Decentralized Web Nodes type Schema struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2094,7 +3355,7 @@ type Schema struct { func (x *Schema) Reset() { *x = Schema{} if protoimpl.UnsafeEnabled { - mi := &file_vault_v1_genesis_proto_msgTypes[2] + mi := &file_dwn_v1_genesis_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2108,7 +3369,7 @@ func (*Schema) ProtoMessage() {} // Deprecated: Use Schema.ProtoReflect.Descriptor instead. func (*Schema) Descriptor() ([]byte, []int) { - return file_vault_v1_genesis_proto_rawDescGZIP(), []int{2} + return file_dwn_v1_genesis_proto_rawDescGZIP(), []int{4} } func (x *Schema) GetVersion() int32 { @@ -2181,77 +3442,89 @@ func (x *Schema) GetProfile() string { return "" } -var File_vault_v1_genesis_proto protoreflect.FileDescriptor +var File_dwn_v1_genesis_proto protoreflect.FileDescriptor -var file_vault_v1_genesis_proto_rawDesc = []byte{ - 0x0a, 0x16, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x73, - 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2e, - 0x76, 0x31, 0x1a, 0x11, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2f, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3e, 0x0a, 0x0c, 0x47, - 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2e, 0x0a, 0x06, 0x70, - 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x76, 0x61, - 0x75, 0x6c, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x04, 0xc8, - 0xde, 0x1f, 0x00, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0xac, 0x01, 0x0a, 0x06, - 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x70, 0x66, 0x73, 0x5f, 0x61, - 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x70, 0x66, - 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x3c, 0x0a, 0x1a, 0x6c, 0x6f, 0x63, 0x61, 0x6c, - 0x5f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x6e, - 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, 0x6c, 0x6f, 0x63, - 0x61, 0x6c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, - 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x28, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2e, 0x76, 0x31, - 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x3a, - 0x19, 0x98, 0xa0, 0x1f, 0x00, 0xe8, 0xa0, 0x1f, 0x01, 0x8a, 0xe7, 0xb0, 0x2a, 0x0c, 0x76, 0x61, - 0x75, 0x6c, 0x74, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0xf8, 0x01, 0x0a, 0x06, 0x53, - 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, - 0x18, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x73, 0x73, - 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x12, - 0x14, 0x0a, 0x05, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x63, 0x68, 0x61, 0x69, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, - 0x69, 0x61, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x64, 0x65, - 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x03, 0x64, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6a, 0x77, 0x6b, 0x18, 0x07, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6a, 0x77, 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x61, - 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x12, - 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x68, 0x61, 0x72, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x68, 0x61, 0x72, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, - 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, - 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x42, 0x8a, 0x01, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x61, - 0x75, 0x6c, 0x74, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x50, - 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x6f, 0x6e, 0x73, 0x6f, 0x6e, 0x72, 0x2f, 0x73, 0x6f, 0x6e, 0x72, 0x2f, 0x61, - 0x70, 0x69, 0x2f, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2f, 0x76, 0x31, 0x3b, 0x76, 0x61, 0x75, 0x6c, - 0x74, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x56, 0x58, 0x58, 0xaa, 0x02, 0x08, 0x56, 0x61, 0x75, 0x6c, - 0x74, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x08, 0x56, 0x61, 0x75, 0x6c, 0x74, 0x5c, 0x56, 0x31, 0xe2, - 0x02, 0x14, 0x56, 0x61, 0x75, 0x6c, 0x74, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x09, 0x56, 0x61, 0x75, 0x6c, 0x74, 0x3a, 0x3a, - 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +var file_dwn_v1_genesis_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x64, 0x77, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x64, 0x77, 0x6e, 0x2e, 0x76, 0x31, 0x1a, 0x14, + 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2f, 0x61, 0x6d, 0x69, 0x6e, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3c, 0x0a, 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x73, + 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2c, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x64, 0x77, 0x6e, 0x2e, 0x76, 0x31, + 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x70, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0xaa, 0x01, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, + 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x70, 0x66, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x70, 0x66, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, + 0x65, 0x12, 0x3c, 0x0a, 0x1a, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x73, + 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x52, 0x65, 0x67, 0x69, + 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, + 0x26, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x0e, 0x2e, 0x64, 0x77, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, + 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x3a, 0x19, 0x98, 0xa0, 0x1f, 0x00, 0xe8, 0xa0, 0x1f, + 0x01, 0x8a, 0xe7, 0xb0, 0x2a, 0x0c, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2f, 0x70, 0x61, 0x72, 0x61, + 0x6d, 0x73, 0x22, 0x78, 0x0a, 0x0a, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, + 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x0b, + 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, + 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x22, 0x3a, 0x0a, 0x08, + 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x1a, 0x0a, 0x08, + 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x22, 0xf8, 0x01, 0x0a, 0x06, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, + 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x12, 0x14, 0x0a, + 0x05, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x68, + 0x61, 0x69, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, + 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x61, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x03, 0x64, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6a, 0x77, 0x6b, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x03, 0x6a, 0x77, 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x1a, 0x0a, + 0x08, 0x6b, 0x65, 0x79, 0x73, 0x68, 0x61, 0x72, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x6b, 0x65, 0x79, 0x73, 0x68, 0x61, 0x72, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, + 0x66, 0x69, 0x6c, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x66, + 0x69, 0x6c, 0x65, 0x42, 0x7c, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x77, 0x6e, 0x2e, 0x76, + 0x31, 0x42, 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, + 0x01, 0x5a, 0x27, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x6e, + 0x73, 0x6f, 0x6e, 0x72, 0x2f, 0x73, 0x6f, 0x6e, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x77, + 0x6e, 0x2f, 0x76, 0x31, 0x3b, 0x64, 0x77, 0x6e, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x44, 0x58, 0x58, + 0xaa, 0x02, 0x06, 0x44, 0x77, 0x6e, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x06, 0x44, 0x77, 0x6e, 0x5c, + 0x56, 0x31, 0xe2, 0x02, 0x12, 0x44, 0x77, 0x6e, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x07, 0x44, 0x77, 0x6e, 0x3a, 0x3a, 0x56, + 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_vault_v1_genesis_proto_rawDescOnce sync.Once - file_vault_v1_genesis_proto_rawDescData = file_vault_v1_genesis_proto_rawDesc + file_dwn_v1_genesis_proto_rawDescOnce sync.Once + file_dwn_v1_genesis_proto_rawDescData = file_dwn_v1_genesis_proto_rawDesc ) -func file_vault_v1_genesis_proto_rawDescGZIP() []byte { - file_vault_v1_genesis_proto_rawDescOnce.Do(func() { - file_vault_v1_genesis_proto_rawDescData = protoimpl.X.CompressGZIP(file_vault_v1_genesis_proto_rawDescData) +func file_dwn_v1_genesis_proto_rawDescGZIP() []byte { + file_dwn_v1_genesis_proto_rawDescOnce.Do(func() { + file_dwn_v1_genesis_proto_rawDescData = protoimpl.X.CompressGZIP(file_dwn_v1_genesis_proto_rawDescData) }) - return file_vault_v1_genesis_proto_rawDescData + return file_dwn_v1_genesis_proto_rawDescData } -var file_vault_v1_genesis_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_vault_v1_genesis_proto_goTypes = []interface{}{ - (*GenesisState)(nil), // 0: vault.v1.GenesisState - (*Params)(nil), // 1: vault.v1.Params - (*Schema)(nil), // 2: vault.v1.Schema +var file_dwn_v1_genesis_proto_msgTypes = make([]protoimpl.MessageInfo, 5) +var file_dwn_v1_genesis_proto_goTypes = []interface{}{ + (*GenesisState)(nil), // 0: dwn.v1.GenesisState + (*Params)(nil), // 1: dwn.v1.Params + (*Capability)(nil), // 2: dwn.v1.Capability + (*Resource)(nil), // 3: dwn.v1.Resource + (*Schema)(nil), // 4: dwn.v1.Schema } -var file_vault_v1_genesis_proto_depIdxs = []int32{ - 1, // 0: vault.v1.GenesisState.params:type_name -> vault.v1.Params - 2, // 1: vault.v1.Params.schema:type_name -> vault.v1.Schema +var file_dwn_v1_genesis_proto_depIdxs = []int32{ + 1, // 0: dwn.v1.GenesisState.params:type_name -> dwn.v1.Params + 4, // 1: dwn.v1.Params.schema:type_name -> dwn.v1.Schema 2, // [2:2] is the sub-list for method output_type 2, // [2:2] is the sub-list for method input_type 2, // [2:2] is the sub-list for extension type_name @@ -2259,13 +3532,13 @@ var file_vault_v1_genesis_proto_depIdxs = []int32{ 0, // [0:2] is the sub-list for field type_name } -func init() { file_vault_v1_genesis_proto_init() } -func file_vault_v1_genesis_proto_init() { - if File_vault_v1_genesis_proto != nil { +func init() { file_dwn_v1_genesis_proto_init() } +func file_dwn_v1_genesis_proto_init() { + if File_dwn_v1_genesis_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_vault_v1_genesis_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_dwn_v1_genesis_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GenesisState); i { case 0: return &v.state @@ -2277,7 +3550,7 @@ func file_vault_v1_genesis_proto_init() { return nil } } - file_vault_v1_genesis_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_dwn_v1_genesis_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Params); i { case 0: return &v.state @@ -2289,7 +3562,31 @@ func file_vault_v1_genesis_proto_init() { return nil } } - file_vault_v1_genesis_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_dwn_v1_genesis_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Capability); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_dwn_v1_genesis_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Resource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_dwn_v1_genesis_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Schema); i { case 0: return &v.state @@ -2306,18 +3603,18 @@ func file_vault_v1_genesis_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_vault_v1_genesis_proto_rawDesc, + RawDescriptor: file_dwn_v1_genesis_proto_rawDesc, NumEnums: 0, - NumMessages: 3, + NumMessages: 5, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_vault_v1_genesis_proto_goTypes, - DependencyIndexes: file_vault_v1_genesis_proto_depIdxs, - MessageInfos: file_vault_v1_genesis_proto_msgTypes, + GoTypes: file_dwn_v1_genesis_proto_goTypes, + DependencyIndexes: file_dwn_v1_genesis_proto_depIdxs, + MessageInfos: file_dwn_v1_genesis_proto_msgTypes, }.Build() - File_vault_v1_genesis_proto = out.File - file_vault_v1_genesis_proto_rawDesc = nil - file_vault_v1_genesis_proto_goTypes = nil - file_vault_v1_genesis_proto_depIdxs = nil + File_dwn_v1_genesis_proto = out.File + file_dwn_v1_genesis_proto_rawDesc = nil + file_dwn_v1_genesis_proto_goTypes = nil + file_dwn_v1_genesis_proto_depIdxs = nil } diff --git a/api/vault/v1/query.pulsar.go b/api/dwn/v1/query.pulsar.go similarity index 85% rename from api/vault/v1/query.pulsar.go rename to api/dwn/v1/query.pulsar.go index 78343f1a4..e28c752ad 100644 --- a/api/vault/v1/query.pulsar.go +++ b/api/dwn/v1/query.pulsar.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-pulsar. DO NOT EDIT. -package vaultv1 +package dwnv1 import ( fmt "fmt" @@ -18,8 +18,8 @@ var ( ) func init() { - file_vault_v1_query_proto_init() - md_QueryParamsRequest = File_vault_v1_query_proto.Messages().ByName("QueryParamsRequest") + file_dwn_v1_query_proto_init() + md_QueryParamsRequest = File_dwn_v1_query_proto.Messages().ByName("QueryParamsRequest") } var _ protoreflect.Message = (*fastReflection_QueryParamsRequest)(nil) @@ -31,7 +31,7 @@ func (x *QueryParamsRequest) ProtoReflect() protoreflect.Message { } func (x *QueryParamsRequest) slowProtoReflect() protoreflect.Message { - mi := &file_vault_v1_query_proto_msgTypes[0] + mi := &file_dwn_v1_query_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -104,9 +104,9 @@ func (x *fastReflection_QueryParamsRequest) Has(fd protoreflect.FieldDescriptor) switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QueryParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QueryParamsRequest")) } - panic(fmt.Errorf("message vault.v1.QueryParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.QueryParamsRequest does not contain field %s", fd.FullName())) } } @@ -120,9 +120,9 @@ func (x *fastReflection_QueryParamsRequest) Clear(fd protoreflect.FieldDescripto switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QueryParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QueryParamsRequest")) } - panic(fmt.Errorf("message vault.v1.QueryParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.QueryParamsRequest does not contain field %s", fd.FullName())) } } @@ -136,9 +136,9 @@ func (x *fastReflection_QueryParamsRequest) Get(descriptor protoreflect.FieldDes switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QueryParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QueryParamsRequest")) } - panic(fmt.Errorf("message vault.v1.QueryParamsRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message dwn.v1.QueryParamsRequest does not contain field %s", descriptor.FullName())) } } @@ -156,9 +156,9 @@ func (x *fastReflection_QueryParamsRequest) Set(fd protoreflect.FieldDescriptor, switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QueryParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QueryParamsRequest")) } - panic(fmt.Errorf("message vault.v1.QueryParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.QueryParamsRequest does not contain field %s", fd.FullName())) } } @@ -176,9 +176,9 @@ func (x *fastReflection_QueryParamsRequest) Mutable(fd protoreflect.FieldDescrip switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QueryParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QueryParamsRequest")) } - panic(fmt.Errorf("message vault.v1.QueryParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.QueryParamsRequest does not contain field %s", fd.FullName())) } } @@ -189,9 +189,9 @@ func (x *fastReflection_QueryParamsRequest) NewField(fd protoreflect.FieldDescri switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QueryParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QueryParamsRequest")) } - panic(fmt.Errorf("message vault.v1.QueryParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.QueryParamsRequest does not contain field %s", fd.FullName())) } } @@ -201,7 +201,7 @@ func (x *fastReflection_QueryParamsRequest) NewField(fd protoreflect.FieldDescri func (x *fastReflection_QueryParamsRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in vault.v1.QueryParamsRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in dwn.v1.QueryParamsRequest", d.FullName())) } panic("unreachable") } @@ -375,8 +375,8 @@ var ( ) func init() { - file_vault_v1_query_proto_init() - md_QueryParamsResponse = File_vault_v1_query_proto.Messages().ByName("QueryParamsResponse") + file_dwn_v1_query_proto_init() + md_QueryParamsResponse = File_dwn_v1_query_proto.Messages().ByName("QueryParamsResponse") fd_QueryParamsResponse_params = md_QueryParamsResponse.Fields().ByName("params") } @@ -389,7 +389,7 @@ func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message { } func (x *QueryParamsResponse) slowProtoReflect() protoreflect.Message { - mi := &file_vault_v1_query_proto_msgTypes[1] + mi := &file_dwn_v1_query_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -466,13 +466,13 @@ func (x *fastReflection_QueryParamsResponse) Range(f func(protoreflect.FieldDesc // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryParamsResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "vault.v1.QueryParamsResponse.params": + case "dwn.v1.QueryParamsResponse.params": return x.Params != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QueryParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QueryParamsResponse")) } - panic(fmt.Errorf("message vault.v1.QueryParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.QueryParamsResponse does not contain field %s", fd.FullName())) } } @@ -484,13 +484,13 @@ func (x *fastReflection_QueryParamsResponse) Has(fd protoreflect.FieldDescriptor // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryParamsResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "vault.v1.QueryParamsResponse.params": + case "dwn.v1.QueryParamsResponse.params": x.Params = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QueryParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QueryParamsResponse")) } - panic(fmt.Errorf("message vault.v1.QueryParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.QueryParamsResponse does not contain field %s", fd.FullName())) } } @@ -502,14 +502,14 @@ func (x *fastReflection_QueryParamsResponse) Clear(fd protoreflect.FieldDescript // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryParamsResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "vault.v1.QueryParamsResponse.params": + case "dwn.v1.QueryParamsResponse.params": value := x.Params return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QueryParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QueryParamsResponse")) } - panic(fmt.Errorf("message vault.v1.QueryParamsResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message dwn.v1.QueryParamsResponse does not contain field %s", descriptor.FullName())) } } @@ -525,13 +525,13 @@ func (x *fastReflection_QueryParamsResponse) Get(descriptor protoreflect.FieldDe // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryParamsResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "vault.v1.QueryParamsResponse.params": + case "dwn.v1.QueryParamsResponse.params": x.Params = value.Message().Interface().(*Params) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QueryParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QueryParamsResponse")) } - panic(fmt.Errorf("message vault.v1.QueryParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.QueryParamsResponse does not contain field %s", fd.FullName())) } } @@ -547,16 +547,16 @@ func (x *fastReflection_QueryParamsResponse) Set(fd protoreflect.FieldDescriptor // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryParamsResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "vault.v1.QueryParamsResponse.params": + case "dwn.v1.QueryParamsResponse.params": if x.Params == nil { x.Params = new(Params) } return protoreflect.ValueOfMessage(x.Params.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QueryParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QueryParamsResponse")) } - panic(fmt.Errorf("message vault.v1.QueryParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.QueryParamsResponse does not contain field %s", fd.FullName())) } } @@ -565,14 +565,14 @@ func (x *fastReflection_QueryParamsResponse) Mutable(fd protoreflect.FieldDescri // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryParamsResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "vault.v1.QueryParamsResponse.params": + case "dwn.v1.QueryParamsResponse.params": m := new(Params) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QueryParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QueryParamsResponse")) } - panic(fmt.Errorf("message vault.v1.QueryParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.QueryParamsResponse does not contain field %s", fd.FullName())) } } @@ -582,7 +582,7 @@ func (x *fastReflection_QueryParamsResponse) NewField(fd protoreflect.FieldDescr func (x *fastReflection_QueryParamsResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in vault.v1.QueryParamsResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in dwn.v1.QueryParamsResponse", d.FullName())) } panic("unreachable") } @@ -809,8 +809,8 @@ var ( ) func init() { - file_vault_v1_query_proto_init() - md_QuerySchemaRequest = File_vault_v1_query_proto.Messages().ByName("QuerySchemaRequest") + file_dwn_v1_query_proto_init() + md_QuerySchemaRequest = File_dwn_v1_query_proto.Messages().ByName("QuerySchemaRequest") } var _ protoreflect.Message = (*fastReflection_QuerySchemaRequest)(nil) @@ -822,7 +822,7 @@ func (x *QuerySchemaRequest) ProtoReflect() protoreflect.Message { } func (x *QuerySchemaRequest) slowProtoReflect() protoreflect.Message { - mi := &file_vault_v1_query_proto_msgTypes[2] + mi := &file_dwn_v1_query_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -895,9 +895,9 @@ func (x *fastReflection_QuerySchemaRequest) Has(fd protoreflect.FieldDescriptor) switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QuerySchemaRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QuerySchemaRequest")) } - panic(fmt.Errorf("message vault.v1.QuerySchemaRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.QuerySchemaRequest does not contain field %s", fd.FullName())) } } @@ -911,9 +911,9 @@ func (x *fastReflection_QuerySchemaRequest) Clear(fd protoreflect.FieldDescripto switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QuerySchemaRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QuerySchemaRequest")) } - panic(fmt.Errorf("message vault.v1.QuerySchemaRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.QuerySchemaRequest does not contain field %s", fd.FullName())) } } @@ -927,9 +927,9 @@ func (x *fastReflection_QuerySchemaRequest) Get(descriptor protoreflect.FieldDes switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QuerySchemaRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QuerySchemaRequest")) } - panic(fmt.Errorf("message vault.v1.QuerySchemaRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message dwn.v1.QuerySchemaRequest does not contain field %s", descriptor.FullName())) } } @@ -947,9 +947,9 @@ func (x *fastReflection_QuerySchemaRequest) Set(fd protoreflect.FieldDescriptor, switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QuerySchemaRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QuerySchemaRequest")) } - panic(fmt.Errorf("message vault.v1.QuerySchemaRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.QuerySchemaRequest does not contain field %s", fd.FullName())) } } @@ -967,9 +967,9 @@ func (x *fastReflection_QuerySchemaRequest) Mutable(fd protoreflect.FieldDescrip switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QuerySchemaRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QuerySchemaRequest")) } - panic(fmt.Errorf("message vault.v1.QuerySchemaRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.QuerySchemaRequest does not contain field %s", fd.FullName())) } } @@ -980,9 +980,9 @@ func (x *fastReflection_QuerySchemaRequest) NewField(fd protoreflect.FieldDescri switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QuerySchemaRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QuerySchemaRequest")) } - panic(fmt.Errorf("message vault.v1.QuerySchemaRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.QuerySchemaRequest does not contain field %s", fd.FullName())) } } @@ -992,7 +992,7 @@ func (x *fastReflection_QuerySchemaRequest) NewField(fd protoreflect.FieldDescri func (x *fastReflection_QuerySchemaRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in vault.v1.QuerySchemaRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in dwn.v1.QuerySchemaRequest", d.FullName())) } panic("unreachable") } @@ -1166,8 +1166,8 @@ var ( ) func init() { - file_vault_v1_query_proto_init() - md_QuerySchemaResponse = File_vault_v1_query_proto.Messages().ByName("QuerySchemaResponse") + file_dwn_v1_query_proto_init() + md_QuerySchemaResponse = File_dwn_v1_query_proto.Messages().ByName("QuerySchemaResponse") fd_QuerySchemaResponse_schema = md_QuerySchemaResponse.Fields().ByName("schema") } @@ -1180,7 +1180,7 @@ func (x *QuerySchemaResponse) ProtoReflect() protoreflect.Message { } func (x *QuerySchemaResponse) slowProtoReflect() protoreflect.Message { - mi := &file_vault_v1_query_proto_msgTypes[3] + mi := &file_dwn_v1_query_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1257,13 +1257,13 @@ func (x *fastReflection_QuerySchemaResponse) Range(f func(protoreflect.FieldDesc // a repeated field is populated if it is non-empty. func (x *fastReflection_QuerySchemaResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "vault.v1.QuerySchemaResponse.schema": + case "dwn.v1.QuerySchemaResponse.schema": return x.Schema != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QuerySchemaResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QuerySchemaResponse")) } - panic(fmt.Errorf("message vault.v1.QuerySchemaResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.QuerySchemaResponse does not contain field %s", fd.FullName())) } } @@ -1275,13 +1275,13 @@ func (x *fastReflection_QuerySchemaResponse) Has(fd protoreflect.FieldDescriptor // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QuerySchemaResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "vault.v1.QuerySchemaResponse.schema": + case "dwn.v1.QuerySchemaResponse.schema": x.Schema = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QuerySchemaResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QuerySchemaResponse")) } - panic(fmt.Errorf("message vault.v1.QuerySchemaResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.QuerySchemaResponse does not contain field %s", fd.FullName())) } } @@ -1293,14 +1293,14 @@ func (x *fastReflection_QuerySchemaResponse) Clear(fd protoreflect.FieldDescript // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QuerySchemaResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "vault.v1.QuerySchemaResponse.schema": + case "dwn.v1.QuerySchemaResponse.schema": value := x.Schema return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QuerySchemaResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QuerySchemaResponse")) } - panic(fmt.Errorf("message vault.v1.QuerySchemaResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message dwn.v1.QuerySchemaResponse does not contain field %s", descriptor.FullName())) } } @@ -1316,13 +1316,13 @@ func (x *fastReflection_QuerySchemaResponse) Get(descriptor protoreflect.FieldDe // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QuerySchemaResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "vault.v1.QuerySchemaResponse.schema": + case "dwn.v1.QuerySchemaResponse.schema": x.Schema = value.Message().Interface().(*Schema) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QuerySchemaResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QuerySchemaResponse")) } - panic(fmt.Errorf("message vault.v1.QuerySchemaResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.QuerySchemaResponse does not contain field %s", fd.FullName())) } } @@ -1338,16 +1338,16 @@ func (x *fastReflection_QuerySchemaResponse) Set(fd protoreflect.FieldDescriptor // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QuerySchemaResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "vault.v1.QuerySchemaResponse.schema": + case "dwn.v1.QuerySchemaResponse.schema": if x.Schema == nil { x.Schema = new(Schema) } return protoreflect.ValueOfMessage(x.Schema.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QuerySchemaResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QuerySchemaResponse")) } - panic(fmt.Errorf("message vault.v1.QuerySchemaResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.QuerySchemaResponse does not contain field %s", fd.FullName())) } } @@ -1356,14 +1356,14 @@ func (x *fastReflection_QuerySchemaResponse) Mutable(fd protoreflect.FieldDescri // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QuerySchemaResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "vault.v1.QuerySchemaResponse.schema": + case "dwn.v1.QuerySchemaResponse.schema": m := new(Schema) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QuerySchemaResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QuerySchemaResponse")) } - panic(fmt.Errorf("message vault.v1.QuerySchemaResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.QuerySchemaResponse does not contain field %s", fd.FullName())) } } @@ -1373,7 +1373,7 @@ func (x *fastReflection_QuerySchemaResponse) NewField(fd protoreflect.FieldDescr func (x *fastReflection_QuerySchemaResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in vault.v1.QuerySchemaResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in dwn.v1.QuerySchemaResponse", d.FullName())) } panic("unreachable") } @@ -1600,8 +1600,8 @@ var ( ) func init() { - file_vault_v1_query_proto_init() - md_QueryAllocateRequest = File_vault_v1_query_proto.Messages().ByName("QueryAllocateRequest") + file_dwn_v1_query_proto_init() + md_QueryAllocateRequest = File_dwn_v1_query_proto.Messages().ByName("QueryAllocateRequest") } var _ protoreflect.Message = (*fastReflection_QueryAllocateRequest)(nil) @@ -1613,7 +1613,7 @@ func (x *QueryAllocateRequest) ProtoReflect() protoreflect.Message { } func (x *QueryAllocateRequest) slowProtoReflect() protoreflect.Message { - mi := &file_vault_v1_query_proto_msgTypes[4] + mi := &file_dwn_v1_query_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1686,9 +1686,9 @@ func (x *fastReflection_QueryAllocateRequest) Has(fd protoreflect.FieldDescripto switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QueryAllocateRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QueryAllocateRequest")) } - panic(fmt.Errorf("message vault.v1.QueryAllocateRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.QueryAllocateRequest does not contain field %s", fd.FullName())) } } @@ -1702,9 +1702,9 @@ func (x *fastReflection_QueryAllocateRequest) Clear(fd protoreflect.FieldDescrip switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QueryAllocateRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QueryAllocateRequest")) } - panic(fmt.Errorf("message vault.v1.QueryAllocateRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.QueryAllocateRequest does not contain field %s", fd.FullName())) } } @@ -1718,9 +1718,9 @@ func (x *fastReflection_QueryAllocateRequest) Get(descriptor protoreflect.FieldD switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QueryAllocateRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QueryAllocateRequest")) } - panic(fmt.Errorf("message vault.v1.QueryAllocateRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message dwn.v1.QueryAllocateRequest does not contain field %s", descriptor.FullName())) } } @@ -1738,9 +1738,9 @@ func (x *fastReflection_QueryAllocateRequest) Set(fd protoreflect.FieldDescripto switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QueryAllocateRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QueryAllocateRequest")) } - panic(fmt.Errorf("message vault.v1.QueryAllocateRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.QueryAllocateRequest does not contain field %s", fd.FullName())) } } @@ -1758,9 +1758,9 @@ func (x *fastReflection_QueryAllocateRequest) Mutable(fd protoreflect.FieldDescr switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QueryAllocateRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QueryAllocateRequest")) } - panic(fmt.Errorf("message vault.v1.QueryAllocateRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.QueryAllocateRequest does not contain field %s", fd.FullName())) } } @@ -1771,9 +1771,9 @@ func (x *fastReflection_QueryAllocateRequest) NewField(fd protoreflect.FieldDesc switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QueryAllocateRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QueryAllocateRequest")) } - panic(fmt.Errorf("message vault.v1.QueryAllocateRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.QueryAllocateRequest does not contain field %s", fd.FullName())) } } @@ -1783,7 +1783,7 @@ func (x *fastReflection_QueryAllocateRequest) NewField(fd protoreflect.FieldDesc func (x *fastReflection_QueryAllocateRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in vault.v1.QueryAllocateRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in dwn.v1.QueryAllocateRequest", d.FullName())) } panic("unreachable") } @@ -1961,8 +1961,8 @@ var ( ) func init() { - file_vault_v1_query_proto_init() - md_QueryAllocateResponse = File_vault_v1_query_proto.Messages().ByName("QueryAllocateResponse") + file_dwn_v1_query_proto_init() + md_QueryAllocateResponse = File_dwn_v1_query_proto.Messages().ByName("QueryAllocateResponse") fd_QueryAllocateResponse_success = md_QueryAllocateResponse.Fields().ByName("success") fd_QueryAllocateResponse_cid = md_QueryAllocateResponse.Fields().ByName("cid") fd_QueryAllocateResponse_macaroon = md_QueryAllocateResponse.Fields().ByName("macaroon") @@ -1979,7 +1979,7 @@ func (x *QueryAllocateResponse) ProtoReflect() protoreflect.Message { } func (x *QueryAllocateResponse) slowProtoReflect() protoreflect.Message { - mi := &file_vault_v1_query_proto_msgTypes[5] + mi := &file_dwn_v1_query_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2080,21 +2080,21 @@ func (x *fastReflection_QueryAllocateResponse) Range(f func(protoreflect.FieldDe // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryAllocateResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "vault.v1.QueryAllocateResponse.success": + case "dwn.v1.QueryAllocateResponse.success": return x.Success != false - case "vault.v1.QueryAllocateResponse.cid": + case "dwn.v1.QueryAllocateResponse.cid": return x.Cid != "" - case "vault.v1.QueryAllocateResponse.macaroon": + case "dwn.v1.QueryAllocateResponse.macaroon": return x.Macaroon != "" - case "vault.v1.QueryAllocateResponse.public_uri": + case "dwn.v1.QueryAllocateResponse.public_uri": return x.PublicUri != "" - case "vault.v1.QueryAllocateResponse.expiry_block": + case "dwn.v1.QueryAllocateResponse.expiry_block": return x.ExpiryBlock != int64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QueryAllocateResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QueryAllocateResponse")) } - panic(fmt.Errorf("message vault.v1.QueryAllocateResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.QueryAllocateResponse does not contain field %s", fd.FullName())) } } @@ -2106,21 +2106,21 @@ func (x *fastReflection_QueryAllocateResponse) Has(fd protoreflect.FieldDescript // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryAllocateResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "vault.v1.QueryAllocateResponse.success": + case "dwn.v1.QueryAllocateResponse.success": x.Success = false - case "vault.v1.QueryAllocateResponse.cid": + case "dwn.v1.QueryAllocateResponse.cid": x.Cid = "" - case "vault.v1.QueryAllocateResponse.macaroon": + case "dwn.v1.QueryAllocateResponse.macaroon": x.Macaroon = "" - case "vault.v1.QueryAllocateResponse.public_uri": + case "dwn.v1.QueryAllocateResponse.public_uri": x.PublicUri = "" - case "vault.v1.QueryAllocateResponse.expiry_block": + case "dwn.v1.QueryAllocateResponse.expiry_block": x.ExpiryBlock = int64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QueryAllocateResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QueryAllocateResponse")) } - panic(fmt.Errorf("message vault.v1.QueryAllocateResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.QueryAllocateResponse does not contain field %s", fd.FullName())) } } @@ -2132,26 +2132,26 @@ func (x *fastReflection_QueryAllocateResponse) Clear(fd protoreflect.FieldDescri // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryAllocateResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "vault.v1.QueryAllocateResponse.success": + case "dwn.v1.QueryAllocateResponse.success": value := x.Success return protoreflect.ValueOfBool(value) - case "vault.v1.QueryAllocateResponse.cid": + case "dwn.v1.QueryAllocateResponse.cid": value := x.Cid return protoreflect.ValueOfString(value) - case "vault.v1.QueryAllocateResponse.macaroon": + case "dwn.v1.QueryAllocateResponse.macaroon": value := x.Macaroon return protoreflect.ValueOfString(value) - case "vault.v1.QueryAllocateResponse.public_uri": + case "dwn.v1.QueryAllocateResponse.public_uri": value := x.PublicUri return protoreflect.ValueOfString(value) - case "vault.v1.QueryAllocateResponse.expiry_block": + case "dwn.v1.QueryAllocateResponse.expiry_block": value := x.ExpiryBlock return protoreflect.ValueOfInt64(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QueryAllocateResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QueryAllocateResponse")) } - panic(fmt.Errorf("message vault.v1.QueryAllocateResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message dwn.v1.QueryAllocateResponse does not contain field %s", descriptor.FullName())) } } @@ -2167,21 +2167,21 @@ func (x *fastReflection_QueryAllocateResponse) Get(descriptor protoreflect.Field // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryAllocateResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "vault.v1.QueryAllocateResponse.success": + case "dwn.v1.QueryAllocateResponse.success": x.Success = value.Bool() - case "vault.v1.QueryAllocateResponse.cid": + case "dwn.v1.QueryAllocateResponse.cid": x.Cid = value.Interface().(string) - case "vault.v1.QueryAllocateResponse.macaroon": + case "dwn.v1.QueryAllocateResponse.macaroon": x.Macaroon = value.Interface().(string) - case "vault.v1.QueryAllocateResponse.public_uri": + case "dwn.v1.QueryAllocateResponse.public_uri": x.PublicUri = value.Interface().(string) - case "vault.v1.QueryAllocateResponse.expiry_block": + case "dwn.v1.QueryAllocateResponse.expiry_block": x.ExpiryBlock = value.Int() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QueryAllocateResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QueryAllocateResponse")) } - panic(fmt.Errorf("message vault.v1.QueryAllocateResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.QueryAllocateResponse does not contain field %s", fd.FullName())) } } @@ -2197,21 +2197,21 @@ func (x *fastReflection_QueryAllocateResponse) Set(fd protoreflect.FieldDescript // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryAllocateResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "vault.v1.QueryAllocateResponse.success": - panic(fmt.Errorf("field success of message vault.v1.QueryAllocateResponse is not mutable")) - case "vault.v1.QueryAllocateResponse.cid": - panic(fmt.Errorf("field cid of message vault.v1.QueryAllocateResponse is not mutable")) - case "vault.v1.QueryAllocateResponse.macaroon": - panic(fmt.Errorf("field macaroon of message vault.v1.QueryAllocateResponse is not mutable")) - case "vault.v1.QueryAllocateResponse.public_uri": - panic(fmt.Errorf("field public_uri of message vault.v1.QueryAllocateResponse is not mutable")) - case "vault.v1.QueryAllocateResponse.expiry_block": - panic(fmt.Errorf("field expiry_block of message vault.v1.QueryAllocateResponse is not mutable")) + case "dwn.v1.QueryAllocateResponse.success": + panic(fmt.Errorf("field success of message dwn.v1.QueryAllocateResponse is not mutable")) + case "dwn.v1.QueryAllocateResponse.cid": + panic(fmt.Errorf("field cid of message dwn.v1.QueryAllocateResponse is not mutable")) + case "dwn.v1.QueryAllocateResponse.macaroon": + panic(fmt.Errorf("field macaroon of message dwn.v1.QueryAllocateResponse is not mutable")) + case "dwn.v1.QueryAllocateResponse.public_uri": + panic(fmt.Errorf("field public_uri of message dwn.v1.QueryAllocateResponse is not mutable")) + case "dwn.v1.QueryAllocateResponse.expiry_block": + panic(fmt.Errorf("field expiry_block of message dwn.v1.QueryAllocateResponse is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QueryAllocateResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QueryAllocateResponse")) } - panic(fmt.Errorf("message vault.v1.QueryAllocateResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.QueryAllocateResponse does not contain field %s", fd.FullName())) } } @@ -2220,21 +2220,21 @@ func (x *fastReflection_QueryAllocateResponse) Mutable(fd protoreflect.FieldDesc // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryAllocateResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "vault.v1.QueryAllocateResponse.success": + case "dwn.v1.QueryAllocateResponse.success": return protoreflect.ValueOfBool(false) - case "vault.v1.QueryAllocateResponse.cid": + case "dwn.v1.QueryAllocateResponse.cid": return protoreflect.ValueOfString("") - case "vault.v1.QueryAllocateResponse.macaroon": + case "dwn.v1.QueryAllocateResponse.macaroon": return protoreflect.ValueOfString("") - case "vault.v1.QueryAllocateResponse.public_uri": + case "dwn.v1.QueryAllocateResponse.public_uri": return protoreflect.ValueOfString("") - case "vault.v1.QueryAllocateResponse.expiry_block": + case "dwn.v1.QueryAllocateResponse.expiry_block": return protoreflect.ValueOfInt64(int64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QueryAllocateResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QueryAllocateResponse")) } - panic(fmt.Errorf("message vault.v1.QueryAllocateResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.QueryAllocateResponse does not contain field %s", fd.FullName())) } } @@ -2244,7 +2244,7 @@ func (x *fastReflection_QueryAllocateResponse) NewField(fd protoreflect.FieldDes func (x *fastReflection_QueryAllocateResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in vault.v1.QueryAllocateResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in dwn.v1.QueryAllocateResponse", d.FullName())) } panic("unreachable") } @@ -2607,8 +2607,8 @@ var ( ) func init() { - file_vault_v1_query_proto_init() - md_QuerySyncRequest = File_vault_v1_query_proto.Messages().ByName("QuerySyncRequest") + file_dwn_v1_query_proto_init() + md_QuerySyncRequest = File_dwn_v1_query_proto.Messages().ByName("QuerySyncRequest") fd_QuerySyncRequest_did = md_QuerySyncRequest.Fields().ByName("did") } @@ -2621,7 +2621,7 @@ func (x *QuerySyncRequest) ProtoReflect() protoreflect.Message { } func (x *QuerySyncRequest) slowProtoReflect() protoreflect.Message { - mi := &file_vault_v1_query_proto_msgTypes[6] + mi := &file_dwn_v1_query_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2698,13 +2698,13 @@ func (x *fastReflection_QuerySyncRequest) Range(f func(protoreflect.FieldDescrip // a repeated field is populated if it is non-empty. func (x *fastReflection_QuerySyncRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "vault.v1.QuerySyncRequest.did": + case "dwn.v1.QuerySyncRequest.did": return x.Did != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QuerySyncRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QuerySyncRequest")) } - panic(fmt.Errorf("message vault.v1.QuerySyncRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.QuerySyncRequest does not contain field %s", fd.FullName())) } } @@ -2716,13 +2716,13 @@ func (x *fastReflection_QuerySyncRequest) Has(fd protoreflect.FieldDescriptor) b // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QuerySyncRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "vault.v1.QuerySyncRequest.did": + case "dwn.v1.QuerySyncRequest.did": x.Did = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QuerySyncRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QuerySyncRequest")) } - panic(fmt.Errorf("message vault.v1.QuerySyncRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.QuerySyncRequest does not contain field %s", fd.FullName())) } } @@ -2734,14 +2734,14 @@ func (x *fastReflection_QuerySyncRequest) Clear(fd protoreflect.FieldDescriptor) // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QuerySyncRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "vault.v1.QuerySyncRequest.did": + case "dwn.v1.QuerySyncRequest.did": value := x.Did return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QuerySyncRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QuerySyncRequest")) } - panic(fmt.Errorf("message vault.v1.QuerySyncRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message dwn.v1.QuerySyncRequest does not contain field %s", descriptor.FullName())) } } @@ -2757,13 +2757,13 @@ func (x *fastReflection_QuerySyncRequest) Get(descriptor protoreflect.FieldDescr // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QuerySyncRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "vault.v1.QuerySyncRequest.did": + case "dwn.v1.QuerySyncRequest.did": x.Did = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QuerySyncRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QuerySyncRequest")) } - panic(fmt.Errorf("message vault.v1.QuerySyncRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.QuerySyncRequest does not contain field %s", fd.FullName())) } } @@ -2779,13 +2779,13 @@ func (x *fastReflection_QuerySyncRequest) Set(fd protoreflect.FieldDescriptor, v // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QuerySyncRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "vault.v1.QuerySyncRequest.did": - panic(fmt.Errorf("field did of message vault.v1.QuerySyncRequest is not mutable")) + case "dwn.v1.QuerySyncRequest.did": + panic(fmt.Errorf("field did of message dwn.v1.QuerySyncRequest is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QuerySyncRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QuerySyncRequest")) } - panic(fmt.Errorf("message vault.v1.QuerySyncRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.QuerySyncRequest does not contain field %s", fd.FullName())) } } @@ -2794,13 +2794,13 @@ func (x *fastReflection_QuerySyncRequest) Mutable(fd protoreflect.FieldDescripto // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QuerySyncRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "vault.v1.QuerySyncRequest.did": + case "dwn.v1.QuerySyncRequest.did": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QuerySyncRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QuerySyncRequest")) } - panic(fmt.Errorf("message vault.v1.QuerySyncRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.QuerySyncRequest does not contain field %s", fd.FullName())) } } @@ -2810,7 +2810,7 @@ func (x *fastReflection_QuerySyncRequest) NewField(fd protoreflect.FieldDescript func (x *fastReflection_QuerySyncRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in vault.v1.QuerySyncRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in dwn.v1.QuerySyncRequest", d.FullName())) } panic("unreachable") } @@ -3030,8 +3030,8 @@ var ( ) func init() { - file_vault_v1_query_proto_init() - md_QuerySyncResponse = File_vault_v1_query_proto.Messages().ByName("QuerySyncResponse") + file_dwn_v1_query_proto_init() + md_QuerySyncResponse = File_dwn_v1_query_proto.Messages().ByName("QuerySyncResponse") fd_QuerySyncResponse_success = md_QuerySyncResponse.Fields().ByName("success") fd_QuerySyncResponse_schema = md_QuerySyncResponse.Fields().ByName("schema") fd_QuerySyncResponse_address = md_QuerySyncResponse.Fields().ByName("address") @@ -3047,7 +3047,7 @@ func (x *QuerySyncResponse) ProtoReflect() protoreflect.Message { } func (x *QuerySyncResponse) slowProtoReflect() protoreflect.Message { - mi := &file_vault_v1_query_proto_msgTypes[7] + mi := &file_dwn_v1_query_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3142,19 +3142,19 @@ func (x *fastReflection_QuerySyncResponse) Range(f func(protoreflect.FieldDescri // a repeated field is populated if it is non-empty. func (x *fastReflection_QuerySyncResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "vault.v1.QuerySyncResponse.success": + case "dwn.v1.QuerySyncResponse.success": return x.Success != false - case "vault.v1.QuerySyncResponse.schema": + case "dwn.v1.QuerySyncResponse.schema": return x.Schema != nil - case "vault.v1.QuerySyncResponse.address": + case "dwn.v1.QuerySyncResponse.address": return x.Address != "" - case "vault.v1.QuerySyncResponse.chainID": + case "dwn.v1.QuerySyncResponse.chainID": return x.ChainID != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QuerySyncResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QuerySyncResponse")) } - panic(fmt.Errorf("message vault.v1.QuerySyncResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.QuerySyncResponse does not contain field %s", fd.FullName())) } } @@ -3166,19 +3166,19 @@ func (x *fastReflection_QuerySyncResponse) Has(fd protoreflect.FieldDescriptor) // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QuerySyncResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "vault.v1.QuerySyncResponse.success": + case "dwn.v1.QuerySyncResponse.success": x.Success = false - case "vault.v1.QuerySyncResponse.schema": + case "dwn.v1.QuerySyncResponse.schema": x.Schema = nil - case "vault.v1.QuerySyncResponse.address": + case "dwn.v1.QuerySyncResponse.address": x.Address = "" - case "vault.v1.QuerySyncResponse.chainID": + case "dwn.v1.QuerySyncResponse.chainID": x.ChainID = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QuerySyncResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QuerySyncResponse")) } - panic(fmt.Errorf("message vault.v1.QuerySyncResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.QuerySyncResponse does not contain field %s", fd.FullName())) } } @@ -3190,23 +3190,23 @@ func (x *fastReflection_QuerySyncResponse) Clear(fd protoreflect.FieldDescriptor // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QuerySyncResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "vault.v1.QuerySyncResponse.success": + case "dwn.v1.QuerySyncResponse.success": value := x.Success return protoreflect.ValueOfBool(value) - case "vault.v1.QuerySyncResponse.schema": + case "dwn.v1.QuerySyncResponse.schema": value := x.Schema return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "vault.v1.QuerySyncResponse.address": + case "dwn.v1.QuerySyncResponse.address": value := x.Address return protoreflect.ValueOfString(value) - case "vault.v1.QuerySyncResponse.chainID": + case "dwn.v1.QuerySyncResponse.chainID": value := x.ChainID return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QuerySyncResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QuerySyncResponse")) } - panic(fmt.Errorf("message vault.v1.QuerySyncResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message dwn.v1.QuerySyncResponse does not contain field %s", descriptor.FullName())) } } @@ -3222,19 +3222,19 @@ func (x *fastReflection_QuerySyncResponse) Get(descriptor protoreflect.FieldDesc // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QuerySyncResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "vault.v1.QuerySyncResponse.success": + case "dwn.v1.QuerySyncResponse.success": x.Success = value.Bool() - case "vault.v1.QuerySyncResponse.schema": + case "dwn.v1.QuerySyncResponse.schema": x.Schema = value.Message().Interface().(*Schema) - case "vault.v1.QuerySyncResponse.address": + case "dwn.v1.QuerySyncResponse.address": x.Address = value.Interface().(string) - case "vault.v1.QuerySyncResponse.chainID": + case "dwn.v1.QuerySyncResponse.chainID": x.ChainID = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QuerySyncResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QuerySyncResponse")) } - panic(fmt.Errorf("message vault.v1.QuerySyncResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.QuerySyncResponse does not contain field %s", fd.FullName())) } } @@ -3250,22 +3250,22 @@ func (x *fastReflection_QuerySyncResponse) Set(fd protoreflect.FieldDescriptor, // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QuerySyncResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "vault.v1.QuerySyncResponse.schema": + case "dwn.v1.QuerySyncResponse.schema": if x.Schema == nil { x.Schema = new(Schema) } return protoreflect.ValueOfMessage(x.Schema.ProtoReflect()) - case "vault.v1.QuerySyncResponse.success": - panic(fmt.Errorf("field success of message vault.v1.QuerySyncResponse is not mutable")) - case "vault.v1.QuerySyncResponse.address": - panic(fmt.Errorf("field address of message vault.v1.QuerySyncResponse is not mutable")) - case "vault.v1.QuerySyncResponse.chainID": - panic(fmt.Errorf("field chainID of message vault.v1.QuerySyncResponse is not mutable")) + case "dwn.v1.QuerySyncResponse.success": + panic(fmt.Errorf("field success of message dwn.v1.QuerySyncResponse is not mutable")) + case "dwn.v1.QuerySyncResponse.address": + panic(fmt.Errorf("field address of message dwn.v1.QuerySyncResponse is not mutable")) + case "dwn.v1.QuerySyncResponse.chainID": + panic(fmt.Errorf("field chainID of message dwn.v1.QuerySyncResponse is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QuerySyncResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QuerySyncResponse")) } - panic(fmt.Errorf("message vault.v1.QuerySyncResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.QuerySyncResponse does not contain field %s", fd.FullName())) } } @@ -3274,20 +3274,20 @@ func (x *fastReflection_QuerySyncResponse) Mutable(fd protoreflect.FieldDescript // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QuerySyncResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "vault.v1.QuerySyncResponse.success": + case "dwn.v1.QuerySyncResponse.success": return protoreflect.ValueOfBool(false) - case "vault.v1.QuerySyncResponse.schema": + case "dwn.v1.QuerySyncResponse.schema": m := new(Schema) return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "vault.v1.QuerySyncResponse.address": + case "dwn.v1.QuerySyncResponse.address": return protoreflect.ValueOfString("") - case "vault.v1.QuerySyncResponse.chainID": + case "dwn.v1.QuerySyncResponse.chainID": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.QuerySyncResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.QuerySyncResponse")) } - panic(fmt.Errorf("message vault.v1.QuerySyncResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message dwn.v1.QuerySyncResponse does not contain field %s", fd.FullName())) } } @@ -3297,7 +3297,7 @@ func (x *fastReflection_QuerySyncResponse) NewField(fd protoreflect.FieldDescrip func (x *fastReflection_QuerySyncResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in vault.v1.QuerySyncResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in dwn.v1.QuerySyncResponse", d.FullName())) } panic("unreachable") } @@ -3642,7 +3642,7 @@ func (x *fastReflection_QuerySyncResponse) ProtoMethods() *protoiface.Methods { // versions: // protoc-gen-go v1.27.0 // protoc (unknown) -// source: vault/v1/query.proto +// source: dwn/v1/query.proto const ( // Verify that this generated code is sufficiently up-to-date. @@ -3661,7 +3661,7 @@ type QueryParamsRequest struct { func (x *QueryParamsRequest) Reset() { *x = QueryParamsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vault_v1_query_proto_msgTypes[0] + mi := &file_dwn_v1_query_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3675,7 +3675,7 @@ func (*QueryParamsRequest) ProtoMessage() {} // Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead. func (*QueryParamsRequest) Descriptor() ([]byte, []int) { - return file_vault_v1_query_proto_rawDescGZIP(), []int{0} + return file_dwn_v1_query_proto_rawDescGZIP(), []int{0} } // QueryParamsResponse is the response type for the Query/Params RPC method. @@ -3691,7 +3691,7 @@ type QueryParamsResponse struct { func (x *QueryParamsResponse) Reset() { *x = QueryParamsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vault_v1_query_proto_msgTypes[1] + mi := &file_dwn_v1_query_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3705,7 +3705,7 @@ func (*QueryParamsResponse) ProtoMessage() {} // Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead. func (*QueryParamsResponse) Descriptor() ([]byte, []int) { - return file_vault_v1_query_proto_rawDescGZIP(), []int{1} + return file_dwn_v1_query_proto_rawDescGZIP(), []int{1} } func (x *QueryParamsResponse) GetParams() *Params { @@ -3725,7 +3725,7 @@ type QuerySchemaRequest struct { func (x *QuerySchemaRequest) Reset() { *x = QuerySchemaRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vault_v1_query_proto_msgTypes[2] + mi := &file_dwn_v1_query_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3739,7 +3739,7 @@ func (*QuerySchemaRequest) ProtoMessage() {} // Deprecated: Use QuerySchemaRequest.ProtoReflect.Descriptor instead. func (*QuerySchemaRequest) Descriptor() ([]byte, []int) { - return file_vault_v1_query_proto_rawDescGZIP(), []int{2} + return file_dwn_v1_query_proto_rawDescGZIP(), []int{2} } // QuerySchemaResponse is the response type for the Query/Schema RPC method. @@ -3755,7 +3755,7 @@ type QuerySchemaResponse struct { func (x *QuerySchemaResponse) Reset() { *x = QuerySchemaResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vault_v1_query_proto_msgTypes[3] + mi := &file_dwn_v1_query_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3769,7 +3769,7 @@ func (*QuerySchemaResponse) ProtoMessage() {} // Deprecated: Use QuerySchemaResponse.ProtoReflect.Descriptor instead. func (*QuerySchemaResponse) Descriptor() ([]byte, []int) { - return file_vault_v1_query_proto_rawDescGZIP(), []int{3} + return file_dwn_v1_query_proto_rawDescGZIP(), []int{3} } func (x *QuerySchemaResponse) GetSchema() *Schema { @@ -3789,7 +3789,7 @@ type QueryAllocateRequest struct { func (x *QueryAllocateRequest) Reset() { *x = QueryAllocateRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vault_v1_query_proto_msgTypes[4] + mi := &file_dwn_v1_query_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3803,7 +3803,7 @@ func (*QueryAllocateRequest) ProtoMessage() {} // Deprecated: Use QueryAllocateRequest.ProtoReflect.Descriptor instead. func (*QueryAllocateRequest) Descriptor() ([]byte, []int) { - return file_vault_v1_query_proto_rawDescGZIP(), []int{4} + return file_dwn_v1_query_proto_rawDescGZIP(), []int{4} } // AllocateResponse is the response type for the Allocate RPC method. @@ -3822,7 +3822,7 @@ type QueryAllocateResponse struct { func (x *QueryAllocateResponse) Reset() { *x = QueryAllocateResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vault_v1_query_proto_msgTypes[5] + mi := &file_dwn_v1_query_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3836,7 +3836,7 @@ func (*QueryAllocateResponse) ProtoMessage() {} // Deprecated: Use QueryAllocateResponse.ProtoReflect.Descriptor instead. func (*QueryAllocateResponse) Descriptor() ([]byte, []int) { - return file_vault_v1_query_proto_rawDescGZIP(), []int{5} + return file_dwn_v1_query_proto_rawDescGZIP(), []int{5} } func (x *QueryAllocateResponse) GetSuccess() bool { @@ -3886,7 +3886,7 @@ type QuerySyncRequest struct { func (x *QuerySyncRequest) Reset() { *x = QuerySyncRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vault_v1_query_proto_msgTypes[6] + mi := &file_dwn_v1_query_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3900,7 +3900,7 @@ func (*QuerySyncRequest) ProtoMessage() {} // Deprecated: Use QuerySyncRequest.ProtoReflect.Descriptor instead. func (*QuerySyncRequest) Descriptor() ([]byte, []int) { - return file_vault_v1_query_proto_rawDescGZIP(), []int{6} + return file_dwn_v1_query_proto_rawDescGZIP(), []int{6} } func (x *QuerySyncRequest) GetDid() string { @@ -3928,7 +3928,7 @@ type QuerySyncResponse struct { func (x *QuerySyncResponse) Reset() { *x = QuerySyncResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vault_v1_query_proto_msgTypes[7] + mi := &file_dwn_v1_query_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3942,7 +3942,7 @@ func (*QuerySyncResponse) ProtoMessage() {} // Deprecated: Use QuerySyncResponse.ProtoReflect.Descriptor instead. func (*QuerySyncResponse) Descriptor() ([]byte, []int) { - return file_vault_v1_query_proto_rawDescGZIP(), []int{7} + return file_dwn_v1_query_proto_rawDescGZIP(), []int{7} } func (x *QuerySyncResponse) GetSuccess() bool { @@ -3973,122 +3973,119 @@ func (x *QuerySyncResponse) GetChainID() string { return "" } -var File_vault_v1_query_proto protoreflect.FileDescriptor +var File_dwn_v1_query_proto protoreflect.FileDescriptor -var file_vault_v1_query_proto_rawDesc = []byte{ - 0x0a, 0x14, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2e, 0x76, 0x31, - 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, - 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, - 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x14, 0x0a, 0x12, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x3f, 0x0a, 0x13, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x14, 0x0a, - 0x12, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x22, 0x3f, 0x0a, 0x13, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x63, 0x68, 0x65, - 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x06, 0x73, 0x63, - 0x68, 0x65, 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x76, 0x61, 0x75, - 0x6c, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x06, 0x73, 0x63, - 0x68, 0x65, 0x6d, 0x61, 0x22, 0x16, 0x0a, 0x14, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, - 0x6f, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xa1, 0x01, 0x0a, - 0x15, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, - 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, - 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, - 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x61, 0x63, 0x61, 0x72, 0x6f, 0x6f, 0x6e, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x63, 0x61, 0x72, 0x6f, 0x6f, 0x6e, 0x12, 0x1d, - 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x55, 0x72, 0x69, 0x12, 0x21, 0x0a, - 0x0c, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x0b, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, - 0x22, 0x24, 0x0a, 0x10, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x64, 0x69, 0x64, 0x22, 0x8b, 0x01, 0x0a, 0x11, 0x51, 0x75, 0x65, 0x72, 0x79, - 0x53, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, +var file_dwn_v1_query_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x64, 0x77, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x64, 0x77, 0x6e, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x64, 0x77, 0x6e, 0x2f, + 0x76, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x14, 0x0a, 0x12, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x3d, 0x0a, 0x13, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, + 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, + 0x64, 0x77, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x06, 0x70, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x14, 0x0a, 0x12, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x3d, 0x0a, 0x13, 0x51, + 0x75, 0x65, 0x72, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x26, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x64, 0x77, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0x16, 0x0a, 0x14, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x22, 0xa1, 0x01, 0x0a, 0x15, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x6f, + 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, - 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x28, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2e, 0x76, - 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, - 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x68, - 0x61, 0x69, 0x6e, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x68, 0x61, - 0x69, 0x6e, 0x49, 0x44, 0x32, 0x8b, 0x03, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x5f, - 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x1c, 0x2e, 0x76, 0x61, 0x75, 0x6c, 0x74, - 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2e, 0x76, + 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x61, 0x63, 0x61, + 0x72, 0x6f, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x63, 0x61, + 0x72, 0x6f, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x75, + 0x72, 0x69, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, + 0x55, 0x72, 0x69, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x5f, 0x62, 0x6c, + 0x6f, 0x63, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x65, 0x78, 0x70, 0x69, 0x72, + 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x24, 0x0a, 0x10, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, + 0x79, 0x6e, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x64, 0x69, 0x64, 0x22, 0x89, 0x01, 0x0a, + 0x11, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x26, 0x0a, 0x06, + 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x64, + 0x77, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x06, 0x73, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x18, + 0x0a, 0x07, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x44, 0x32, 0xfb, 0x02, 0x0a, 0x05, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x12, 0x5b, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x1a, 0x2e, 0x64, + 0x77, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x64, 0x77, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x18, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x12, 0x12, 0x10, 0x2f, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, - 0x5f, 0x0a, 0x06, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x1c, 0x2e, 0x76, 0x61, 0x75, 0x6c, - 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2e, + 0x5b, 0x0a, 0x06, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x1a, 0x2e, 0x64, 0x77, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x18, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x12, 0x12, 0x10, - 0x2f, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, - 0x12, 0x67, 0x0a, 0x08, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x12, 0x1e, 0x2e, 0x76, - 0x61, 0x75, 0x6c, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, - 0x6f, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x76, - 0x61, 0x75, 0x6c, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, - 0x6f, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1a, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x14, 0x12, 0x12, 0x2f, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2f, 0x76, 0x31, - 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x12, 0x57, 0x0a, 0x04, 0x53, 0x79, 0x6e, - 0x63, 0x12, 0x1a, 0x2e, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x53, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, - 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x79, - 0x6e, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x16, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x10, 0x12, 0x0e, 0x2f, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x79, - 0x6e, 0x63, 0x42, 0x88, 0x01, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x61, 0x75, 0x6c, 0x74, - 0x2e, 0x76, 0x31, 0x42, 0x0a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, - 0x01, 0x5a, 0x2b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x6e, - 0x73, 0x6f, 0x6e, 0x72, 0x2f, 0x73, 0x6f, 0x6e, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x61, - 0x75, 0x6c, 0x74, 0x2f, 0x76, 0x31, 0x3b, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x76, 0x31, 0xa2, 0x02, - 0x03, 0x56, 0x58, 0x58, 0xaa, 0x02, 0x08, 0x56, 0x61, 0x75, 0x6c, 0x74, 0x2e, 0x56, 0x31, 0xca, - 0x02, 0x08, 0x56, 0x61, 0x75, 0x6c, 0x74, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x14, 0x56, 0x61, 0x75, - 0x6c, 0x74, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0xea, 0x02, 0x09, 0x56, 0x61, 0x75, 0x6c, 0x74, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x64, 0x77, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, + 0x75, 0x65, 0x72, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x18, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x12, 0x12, 0x10, 0x2f, 0x76, 0x61, 0x75, + 0x6c, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x63, 0x0a, 0x08, + 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x2e, 0x64, 0x77, 0x6e, 0x2e, 0x76, + 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x64, 0x77, 0x6e, 0x2e, 0x76, 0x31, 0x2e, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x14, 0x12, 0x12, 0x2f, + 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, + 0x65, 0x12, 0x53, 0x0a, 0x04, 0x53, 0x79, 0x6e, 0x63, 0x12, 0x18, 0x2e, 0x64, 0x77, 0x6e, 0x2e, + 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x64, 0x77, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x53, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x16, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x10, 0x12, 0x0e, 0x2f, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2f, 0x76, + 0x31, 0x2f, 0x73, 0x79, 0x6e, 0x63, 0x42, 0x7a, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x77, + 0x6e, 0x2e, 0x76, 0x31, 0x42, 0x0a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, + 0x50, 0x01, 0x5a, 0x27, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, + 0x6e, 0x73, 0x6f, 0x6e, 0x72, 0x2f, 0x73, 0x6f, 0x6e, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, + 0x77, 0x6e, 0x2f, 0x76, 0x31, 0x3b, 0x64, 0x77, 0x6e, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x44, 0x58, + 0x58, 0xaa, 0x02, 0x06, 0x44, 0x77, 0x6e, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x06, 0x44, 0x77, 0x6e, + 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x12, 0x44, 0x77, 0x6e, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x07, 0x44, 0x77, 0x6e, 0x3a, 0x3a, + 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_vault_v1_query_proto_rawDescOnce sync.Once - file_vault_v1_query_proto_rawDescData = file_vault_v1_query_proto_rawDesc + file_dwn_v1_query_proto_rawDescOnce sync.Once + file_dwn_v1_query_proto_rawDescData = file_dwn_v1_query_proto_rawDesc ) -func file_vault_v1_query_proto_rawDescGZIP() []byte { - file_vault_v1_query_proto_rawDescOnce.Do(func() { - file_vault_v1_query_proto_rawDescData = protoimpl.X.CompressGZIP(file_vault_v1_query_proto_rawDescData) +func file_dwn_v1_query_proto_rawDescGZIP() []byte { + file_dwn_v1_query_proto_rawDescOnce.Do(func() { + file_dwn_v1_query_proto_rawDescData = protoimpl.X.CompressGZIP(file_dwn_v1_query_proto_rawDescData) }) - return file_vault_v1_query_proto_rawDescData + return file_dwn_v1_query_proto_rawDescData } -var file_vault_v1_query_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_vault_v1_query_proto_goTypes = []interface{}{ - (*QueryParamsRequest)(nil), // 0: vault.v1.QueryParamsRequest - (*QueryParamsResponse)(nil), // 1: vault.v1.QueryParamsResponse - (*QuerySchemaRequest)(nil), // 2: vault.v1.QuerySchemaRequest - (*QuerySchemaResponse)(nil), // 3: vault.v1.QuerySchemaResponse - (*QueryAllocateRequest)(nil), // 4: vault.v1.QueryAllocateRequest - (*QueryAllocateResponse)(nil), // 5: vault.v1.QueryAllocateResponse - (*QuerySyncRequest)(nil), // 6: vault.v1.QuerySyncRequest - (*QuerySyncResponse)(nil), // 7: vault.v1.QuerySyncResponse - (*Params)(nil), // 8: vault.v1.Params - (*Schema)(nil), // 9: vault.v1.Schema +var file_dwn_v1_query_proto_msgTypes = make([]protoimpl.MessageInfo, 8) +var file_dwn_v1_query_proto_goTypes = []interface{}{ + (*QueryParamsRequest)(nil), // 0: dwn.v1.QueryParamsRequest + (*QueryParamsResponse)(nil), // 1: dwn.v1.QueryParamsResponse + (*QuerySchemaRequest)(nil), // 2: dwn.v1.QuerySchemaRequest + (*QuerySchemaResponse)(nil), // 3: dwn.v1.QuerySchemaResponse + (*QueryAllocateRequest)(nil), // 4: dwn.v1.QueryAllocateRequest + (*QueryAllocateResponse)(nil), // 5: dwn.v1.QueryAllocateResponse + (*QuerySyncRequest)(nil), // 6: dwn.v1.QuerySyncRequest + (*QuerySyncResponse)(nil), // 7: dwn.v1.QuerySyncResponse + (*Params)(nil), // 8: dwn.v1.Params + (*Schema)(nil), // 9: dwn.v1.Schema } -var file_vault_v1_query_proto_depIdxs = []int32{ - 8, // 0: vault.v1.QueryParamsResponse.params:type_name -> vault.v1.Params - 9, // 1: vault.v1.QuerySchemaResponse.schema:type_name -> vault.v1.Schema - 9, // 2: vault.v1.QuerySyncResponse.schema:type_name -> vault.v1.Schema - 0, // 3: vault.v1.Query.Params:input_type -> vault.v1.QueryParamsRequest - 2, // 4: vault.v1.Query.Schema:input_type -> vault.v1.QuerySchemaRequest - 4, // 5: vault.v1.Query.Allocate:input_type -> vault.v1.QueryAllocateRequest - 6, // 6: vault.v1.Query.Sync:input_type -> vault.v1.QuerySyncRequest - 1, // 7: vault.v1.Query.Params:output_type -> vault.v1.QueryParamsResponse - 3, // 8: vault.v1.Query.Schema:output_type -> vault.v1.QuerySchemaResponse - 5, // 9: vault.v1.Query.Allocate:output_type -> vault.v1.QueryAllocateResponse - 7, // 10: vault.v1.Query.Sync:output_type -> vault.v1.QuerySyncResponse +var file_dwn_v1_query_proto_depIdxs = []int32{ + 8, // 0: dwn.v1.QueryParamsResponse.params:type_name -> dwn.v1.Params + 9, // 1: dwn.v1.QuerySchemaResponse.schema:type_name -> dwn.v1.Schema + 9, // 2: dwn.v1.QuerySyncResponse.schema:type_name -> dwn.v1.Schema + 0, // 3: dwn.v1.Query.Params:input_type -> dwn.v1.QueryParamsRequest + 2, // 4: dwn.v1.Query.Schema:input_type -> dwn.v1.QuerySchemaRequest + 4, // 5: dwn.v1.Query.Allocate:input_type -> dwn.v1.QueryAllocateRequest + 6, // 6: dwn.v1.Query.Sync:input_type -> dwn.v1.QuerySyncRequest + 1, // 7: dwn.v1.Query.Params:output_type -> dwn.v1.QueryParamsResponse + 3, // 8: dwn.v1.Query.Schema:output_type -> dwn.v1.QuerySchemaResponse + 5, // 9: dwn.v1.Query.Allocate:output_type -> dwn.v1.QueryAllocateResponse + 7, // 10: dwn.v1.Query.Sync:output_type -> dwn.v1.QuerySyncResponse 7, // [7:11] is the sub-list for method output_type 3, // [3:7] is the sub-list for method input_type 3, // [3:3] is the sub-list for extension type_name @@ -4096,14 +4093,14 @@ var file_vault_v1_query_proto_depIdxs = []int32{ 0, // [0:3] is the sub-list for field type_name } -func init() { file_vault_v1_query_proto_init() } -func file_vault_v1_query_proto_init() { - if File_vault_v1_query_proto != nil { +func init() { file_dwn_v1_query_proto_init() } +func file_dwn_v1_query_proto_init() { + if File_dwn_v1_query_proto != nil { return } - file_vault_v1_genesis_proto_init() + file_dwn_v1_genesis_proto_init() if !protoimpl.UnsafeEnabled { - file_vault_v1_query_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_dwn_v1_query_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryParamsRequest); i { case 0: return &v.state @@ -4115,7 +4112,7 @@ func file_vault_v1_query_proto_init() { return nil } } - file_vault_v1_query_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_dwn_v1_query_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryParamsResponse); i { case 0: return &v.state @@ -4127,7 +4124,7 @@ func file_vault_v1_query_proto_init() { return nil } } - file_vault_v1_query_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_dwn_v1_query_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QuerySchemaRequest); i { case 0: return &v.state @@ -4139,7 +4136,7 @@ func file_vault_v1_query_proto_init() { return nil } } - file_vault_v1_query_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_dwn_v1_query_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QuerySchemaResponse); i { case 0: return &v.state @@ -4151,7 +4148,7 @@ func file_vault_v1_query_proto_init() { return nil } } - file_vault_v1_query_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_dwn_v1_query_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryAllocateRequest); i { case 0: return &v.state @@ -4163,7 +4160,7 @@ func file_vault_v1_query_proto_init() { return nil } } - file_vault_v1_query_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_dwn_v1_query_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryAllocateResponse); i { case 0: return &v.state @@ -4175,7 +4172,7 @@ func file_vault_v1_query_proto_init() { return nil } } - file_vault_v1_query_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_dwn_v1_query_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QuerySyncRequest); i { case 0: return &v.state @@ -4187,7 +4184,7 @@ func file_vault_v1_query_proto_init() { return nil } } - file_vault_v1_query_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_dwn_v1_query_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QuerySyncResponse); i { case 0: return &v.state @@ -4204,18 +4201,18 @@ func file_vault_v1_query_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_vault_v1_query_proto_rawDesc, + RawDescriptor: file_dwn_v1_query_proto_rawDesc, NumEnums: 0, NumMessages: 8, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_vault_v1_query_proto_goTypes, - DependencyIndexes: file_vault_v1_query_proto_depIdxs, - MessageInfos: file_vault_v1_query_proto_msgTypes, + GoTypes: file_dwn_v1_query_proto_goTypes, + DependencyIndexes: file_dwn_v1_query_proto_depIdxs, + MessageInfos: file_dwn_v1_query_proto_msgTypes, }.Build() - File_vault_v1_query_proto = out.File - file_vault_v1_query_proto_rawDesc = nil - file_vault_v1_query_proto_goTypes = nil - file_vault_v1_query_proto_depIdxs = nil + File_dwn_v1_query_proto = out.File + file_dwn_v1_query_proto_rawDesc = nil + file_dwn_v1_query_proto_goTypes = nil + file_dwn_v1_query_proto_depIdxs = nil } diff --git a/api/vault/v1/query_grpc.pb.go b/api/dwn/v1/query_grpc.pb.go similarity index 96% rename from api/vault/v1/query_grpc.pb.go rename to api/dwn/v1/query_grpc.pb.go index 1730f75cf..00eca0d77 100644 --- a/api/vault/v1/query_grpc.pb.go +++ b/api/dwn/v1/query_grpc.pb.go @@ -2,9 +2,9 @@ // versions: // - protoc-gen-go-grpc v1.5.1 // - protoc (unknown) -// source: vault/v1/query.proto +// source: dwn/v1/query.proto -package vaultv1 +package dwnv1 import ( context "context" @@ -19,10 +19,10 @@ import ( const _ = grpc.SupportPackageIsVersion9 const ( - Query_Params_FullMethodName = "/vault.v1.Query/Params" - Query_Schema_FullMethodName = "/vault.v1.Query/Schema" - Query_Allocate_FullMethodName = "/vault.v1.Query/Allocate" - Query_Sync_FullMethodName = "/vault.v1.Query/Sync" + Query_Params_FullMethodName = "/dwn.v1.Query/Params" + Query_Schema_FullMethodName = "/dwn.v1.Query/Schema" + Query_Allocate_FullMethodName = "/dwn.v1.Query/Allocate" + Query_Sync_FullMethodName = "/dwn.v1.Query/Sync" ) // QueryClient is the client API for Query service. @@ -228,7 +228,7 @@ func _Query_Sync_Handler(srv interface{}, ctx context.Context, dec func(interfac // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) var Query_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "vault.v1.Query", + ServiceName: "dwn.v1.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { @@ -249,5 +249,5 @@ var Query_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "vault/v1/query.proto", + Metadata: "dwn/v1/query.proto", } diff --git a/api/dwn/v1/state.cosmos_orm.go b/api/dwn/v1/state.cosmos_orm.go new file mode 100644 index 000000000..5eff57db7 --- /dev/null +++ b/api/dwn/v1/state.cosmos_orm.go @@ -0,0 +1,292 @@ +// Code generated by protoc-gen-go-cosmos-orm. DO NOT EDIT. + +package dwnv1 + +import ( + context "context" + ormlist "cosmossdk.io/orm/model/ormlist" + ormtable "cosmossdk.io/orm/model/ormtable" + ormerrors "cosmossdk.io/orm/types/ormerrors" +) + +type CredentialTable interface { + Insert(ctx context.Context, credential *Credential) error + Update(ctx context.Context, credential *Credential) error + Save(ctx context.Context, credential *Credential) error + Delete(ctx context.Context, credential *Credential) error + Has(ctx context.Context, id []byte) (found bool, err error) + // Get returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. + Get(ctx context.Context, id []byte) (*Credential, error) + List(ctx context.Context, prefixKey CredentialIndexKey, opts ...ormlist.Option) (CredentialIterator, error) + ListRange(ctx context.Context, from, to CredentialIndexKey, opts ...ormlist.Option) (CredentialIterator, error) + DeleteBy(ctx context.Context, prefixKey CredentialIndexKey) error + DeleteRange(ctx context.Context, from, to CredentialIndexKey) error + + doNotImplement() +} + +type CredentialIterator struct { + ormtable.Iterator +} + +func (i CredentialIterator) Value() (*Credential, error) { + var credential Credential + err := i.UnmarshalMessage(&credential) + return &credential, err +} + +type CredentialIndexKey interface { + id() uint32 + values() []interface{} + credentialIndexKey() +} + +// primary key starting index.. +type CredentialPrimaryKey = CredentialIdIndexKey + +type CredentialIdIndexKey struct { + vs []interface{} +} + +func (x CredentialIdIndexKey) id() uint32 { return 0 } +func (x CredentialIdIndexKey) values() []interface{} { return x.vs } +func (x CredentialIdIndexKey) credentialIndexKey() {} + +func (this CredentialIdIndexKey) WithId(id []byte) CredentialIdIndexKey { + this.vs = []interface{}{id} + return this +} + +type credentialTable struct { + table ormtable.Table +} + +func (this credentialTable) Insert(ctx context.Context, credential *Credential) error { + return this.table.Insert(ctx, credential) +} + +func (this credentialTable) Update(ctx context.Context, credential *Credential) error { + return this.table.Update(ctx, credential) +} + +func (this credentialTable) Save(ctx context.Context, credential *Credential) error { + return this.table.Save(ctx, credential) +} + +func (this credentialTable) Delete(ctx context.Context, credential *Credential) error { + return this.table.Delete(ctx, credential) +} + +func (this credentialTable) Has(ctx context.Context, id []byte) (found bool, err error) { + return this.table.PrimaryKey().Has(ctx, id) +} + +func (this credentialTable) Get(ctx context.Context, id []byte) (*Credential, error) { + var credential Credential + found, err := this.table.PrimaryKey().Get(ctx, &credential, id) + if err != nil { + return nil, err + } + if !found { + return nil, ormerrors.NotFound + } + return &credential, nil +} + +func (this credentialTable) List(ctx context.Context, prefixKey CredentialIndexKey, opts ...ormlist.Option) (CredentialIterator, error) { + it, err := this.table.GetIndexByID(prefixKey.id()).List(ctx, prefixKey.values(), opts...) + return CredentialIterator{it}, err +} + +func (this credentialTable) ListRange(ctx context.Context, from, to CredentialIndexKey, opts ...ormlist.Option) (CredentialIterator, error) { + it, err := this.table.GetIndexByID(from.id()).ListRange(ctx, from.values(), to.values(), opts...) + return CredentialIterator{it}, err +} + +func (this credentialTable) DeleteBy(ctx context.Context, prefixKey CredentialIndexKey) error { + return this.table.GetIndexByID(prefixKey.id()).DeleteBy(ctx, prefixKey.values()...) +} + +func (this credentialTable) DeleteRange(ctx context.Context, from, to CredentialIndexKey) error { + return this.table.GetIndexByID(from.id()).DeleteRange(ctx, from.values(), to.values()) +} + +func (this credentialTable) doNotImplement() {} + +var _ CredentialTable = credentialTable{} + +func NewCredentialTable(db ormtable.Schema) (CredentialTable, error) { + table := db.GetTable(&Credential{}) + if table == nil { + return nil, ormerrors.TableNotFound.Wrap(string((&Credential{}).ProtoReflect().Descriptor().FullName())) + } + return credentialTable{table}, nil +} + +type ProfileTable interface { + Insert(ctx context.Context, profile *Profile) error + Update(ctx context.Context, profile *Profile) error + Save(ctx context.Context, profile *Profile) error + Delete(ctx context.Context, profile *Profile) error + Has(ctx context.Context, account []byte) (found bool, err error) + // Get returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. + Get(ctx context.Context, account []byte) (*Profile, error) + List(ctx context.Context, prefixKey ProfileIndexKey, opts ...ormlist.Option) (ProfileIterator, error) + ListRange(ctx context.Context, from, to ProfileIndexKey, opts ...ormlist.Option) (ProfileIterator, error) + DeleteBy(ctx context.Context, prefixKey ProfileIndexKey) error + DeleteRange(ctx context.Context, from, to ProfileIndexKey) error + + doNotImplement() +} + +type ProfileIterator struct { + ormtable.Iterator +} + +func (i ProfileIterator) Value() (*Profile, error) { + var profile Profile + err := i.UnmarshalMessage(&profile) + return &profile, err +} + +type ProfileIndexKey interface { + id() uint32 + values() []interface{} + profileIndexKey() +} + +// primary key starting index.. +type ProfilePrimaryKey = ProfileAccountIndexKey + +type ProfileAccountIndexKey struct { + vs []interface{} +} + +func (x ProfileAccountIndexKey) id() uint32 { return 0 } +func (x ProfileAccountIndexKey) values() []interface{} { return x.vs } +func (x ProfileAccountIndexKey) profileIndexKey() {} + +func (this ProfileAccountIndexKey) WithAccount(account []byte) ProfileAccountIndexKey { + this.vs = []interface{}{account} + return this +} + +type ProfileAmountIndexKey struct { + vs []interface{} +} + +func (x ProfileAmountIndexKey) id() uint32 { return 1 } +func (x ProfileAmountIndexKey) values() []interface{} { return x.vs } +func (x ProfileAmountIndexKey) profileIndexKey() {} + +func (this ProfileAmountIndexKey) WithAmount(amount uint64) ProfileAmountIndexKey { + this.vs = []interface{}{amount} + return this +} + +type profileTable struct { + table ormtable.Table +} + +func (this profileTable) Insert(ctx context.Context, profile *Profile) error { + return this.table.Insert(ctx, profile) +} + +func (this profileTable) Update(ctx context.Context, profile *Profile) error { + return this.table.Update(ctx, profile) +} + +func (this profileTable) Save(ctx context.Context, profile *Profile) error { + return this.table.Save(ctx, profile) +} + +func (this profileTable) Delete(ctx context.Context, profile *Profile) error { + return this.table.Delete(ctx, profile) +} + +func (this profileTable) Has(ctx context.Context, account []byte) (found bool, err error) { + return this.table.PrimaryKey().Has(ctx, account) +} + +func (this profileTable) Get(ctx context.Context, account []byte) (*Profile, error) { + var profile Profile + found, err := this.table.PrimaryKey().Get(ctx, &profile, account) + if err != nil { + return nil, err + } + if !found { + return nil, ormerrors.NotFound + } + return &profile, nil +} + +func (this profileTable) List(ctx context.Context, prefixKey ProfileIndexKey, opts ...ormlist.Option) (ProfileIterator, error) { + it, err := this.table.GetIndexByID(prefixKey.id()).List(ctx, prefixKey.values(), opts...) + return ProfileIterator{it}, err +} + +func (this profileTable) ListRange(ctx context.Context, from, to ProfileIndexKey, opts ...ormlist.Option) (ProfileIterator, error) { + it, err := this.table.GetIndexByID(from.id()).ListRange(ctx, from.values(), to.values(), opts...) + return ProfileIterator{it}, err +} + +func (this profileTable) DeleteBy(ctx context.Context, prefixKey ProfileIndexKey) error { + return this.table.GetIndexByID(prefixKey.id()).DeleteBy(ctx, prefixKey.values()...) +} + +func (this profileTable) DeleteRange(ctx context.Context, from, to ProfileIndexKey) error { + return this.table.GetIndexByID(from.id()).DeleteRange(ctx, from.values(), to.values()) +} + +func (this profileTable) doNotImplement() {} + +var _ ProfileTable = profileTable{} + +func NewProfileTable(db ormtable.Schema) (ProfileTable, error) { + table := db.GetTable(&Profile{}) + if table == nil { + return nil, ormerrors.TableNotFound.Wrap(string((&Profile{}).ProtoReflect().Descriptor().FullName())) + } + return profileTable{table}, nil +} + +type StateStore interface { + CredentialTable() CredentialTable + ProfileTable() ProfileTable + + doNotImplement() +} + +type stateStore struct { + credential CredentialTable + profile ProfileTable +} + +func (x stateStore) CredentialTable() CredentialTable { + return x.credential +} + +func (x stateStore) ProfileTable() ProfileTable { + return x.profile +} + +func (stateStore) doNotImplement() {} + +var _ StateStore = stateStore{} + +func NewStateStore(db ormtable.Schema) (StateStore, error) { + credentialTable, err := NewCredentialTable(db) + if err != nil { + return nil, err + } + + profileTable, err := NewProfileTable(db) + if err != nil { + return nil, err + } + + return stateStore{ + credentialTable, + profileTable, + }, nil +} diff --git a/api/dwn/v1/state.pulsar.go b/api/dwn/v1/state.pulsar.go new file mode 100644 index 000000000..57b079fcd --- /dev/null +++ b/api/dwn/v1/state.pulsar.go @@ -0,0 +1,1515 @@ +// Code generated by protoc-gen-go-pulsar. DO NOT EDIT. +package dwnv1 + +import ( + _ "cosmossdk.io/api/cosmos/orm/v1" + fmt "fmt" + runtime "github.com/cosmos/cosmos-proto/runtime" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoiface "google.golang.org/protobuf/runtime/protoiface" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + io "io" + reflect "reflect" + sync "sync" +) + +var _ protoreflect.List = (*_Credential_3_list)(nil) + +type _Credential_3_list struct { + list *[]string +} + +func (x *_Credential_3_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_Credential_3_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_Credential_3_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_Credential_3_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_Credential_3_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message Credential at list field Transports as it is not of Message kind")) +} + +func (x *_Credential_3_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_Credential_3_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_Credential_3_list) IsValid() bool { + return x.list != nil +} + +var ( + md_Credential protoreflect.MessageDescriptor + fd_Credential_id protoreflect.FieldDescriptor + fd_Credential_kind protoreflect.FieldDescriptor + fd_Credential_transports protoreflect.FieldDescriptor + fd_Credential_public_key protoreflect.FieldDescriptor + fd_Credential_attestation_type protoreflect.FieldDescriptor + fd_Credential_created_at protoreflect.FieldDescriptor +) + +func init() { + file_dwn_v1_state_proto_init() + md_Credential = File_dwn_v1_state_proto.Messages().ByName("Credential") + fd_Credential_id = md_Credential.Fields().ByName("id") + fd_Credential_kind = md_Credential.Fields().ByName("kind") + fd_Credential_transports = md_Credential.Fields().ByName("transports") + fd_Credential_public_key = md_Credential.Fields().ByName("public_key") + fd_Credential_attestation_type = md_Credential.Fields().ByName("attestation_type") + fd_Credential_created_at = md_Credential.Fields().ByName("created_at") +} + +var _ protoreflect.Message = (*fastReflection_Credential)(nil) + +type fastReflection_Credential Credential + +func (x *Credential) ProtoReflect() protoreflect.Message { + return (*fastReflection_Credential)(x) +} + +func (x *Credential) slowProtoReflect() protoreflect.Message { + mi := &file_dwn_v1_state_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_Credential_messageType fastReflection_Credential_messageType +var _ protoreflect.MessageType = fastReflection_Credential_messageType{} + +type fastReflection_Credential_messageType struct{} + +func (x fastReflection_Credential_messageType) Zero() protoreflect.Message { + return (*fastReflection_Credential)(nil) +} +func (x fastReflection_Credential_messageType) New() protoreflect.Message { + return new(fastReflection_Credential) +} +func (x fastReflection_Credential_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_Credential +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_Credential) Descriptor() protoreflect.MessageDescriptor { + return md_Credential +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_Credential) Type() protoreflect.MessageType { + return _fastReflection_Credential_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_Credential) New() protoreflect.Message { + return new(fastReflection_Credential) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_Credential) Interface() protoreflect.ProtoMessage { + return (*Credential)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_Credential) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.Id) != 0 { + value := protoreflect.ValueOfBytes(x.Id) + if !f(fd_Credential_id, value) { + return + } + } + if x.Kind != "" { + value := protoreflect.ValueOfString(x.Kind) + if !f(fd_Credential_kind, value) { + return + } + } + if len(x.Transports) != 0 { + value := protoreflect.ValueOfList(&_Credential_3_list{list: &x.Transports}) + if !f(fd_Credential_transports, value) { + return + } + } + if len(x.PublicKey) != 0 { + value := protoreflect.ValueOfBytes(x.PublicKey) + if !f(fd_Credential_public_key, value) { + return + } + } + if x.AttestationType != "" { + value := protoreflect.ValueOfString(x.AttestationType) + if !f(fd_Credential_attestation_type, value) { + return + } + } + if x.CreatedAt != uint64(0) { + value := protoreflect.ValueOfUint64(x.CreatedAt) + if !f(fd_Credential_created_at, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_Credential) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "dwn.v1.Credential.id": + return len(x.Id) != 0 + case "dwn.v1.Credential.kind": + return x.Kind != "" + case "dwn.v1.Credential.transports": + return len(x.Transports) != 0 + case "dwn.v1.Credential.public_key": + return len(x.PublicKey) != 0 + case "dwn.v1.Credential.attestation_type": + return x.AttestationType != "" + case "dwn.v1.Credential.created_at": + return x.CreatedAt != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.Credential")) + } + panic(fmt.Errorf("message dwn.v1.Credential does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Credential) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "dwn.v1.Credential.id": + x.Id = nil + case "dwn.v1.Credential.kind": + x.Kind = "" + case "dwn.v1.Credential.transports": + x.Transports = nil + case "dwn.v1.Credential.public_key": + x.PublicKey = nil + case "dwn.v1.Credential.attestation_type": + x.AttestationType = "" + case "dwn.v1.Credential.created_at": + x.CreatedAt = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.Credential")) + } + panic(fmt.Errorf("message dwn.v1.Credential does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_Credential) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "dwn.v1.Credential.id": + value := x.Id + return protoreflect.ValueOfBytes(value) + case "dwn.v1.Credential.kind": + value := x.Kind + return protoreflect.ValueOfString(value) + case "dwn.v1.Credential.transports": + if len(x.Transports) == 0 { + return protoreflect.ValueOfList(&_Credential_3_list{}) + } + listValue := &_Credential_3_list{list: &x.Transports} + return protoreflect.ValueOfList(listValue) + case "dwn.v1.Credential.public_key": + value := x.PublicKey + return protoreflect.ValueOfBytes(value) + case "dwn.v1.Credential.attestation_type": + value := x.AttestationType + return protoreflect.ValueOfString(value) + case "dwn.v1.Credential.created_at": + value := x.CreatedAt + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.Credential")) + } + panic(fmt.Errorf("message dwn.v1.Credential does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Credential) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "dwn.v1.Credential.id": + x.Id = value.Bytes() + case "dwn.v1.Credential.kind": + x.Kind = value.Interface().(string) + case "dwn.v1.Credential.transports": + lv := value.List() + clv := lv.(*_Credential_3_list) + x.Transports = *clv.list + case "dwn.v1.Credential.public_key": + x.PublicKey = value.Bytes() + case "dwn.v1.Credential.attestation_type": + x.AttestationType = value.Interface().(string) + case "dwn.v1.Credential.created_at": + x.CreatedAt = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.Credential")) + } + panic(fmt.Errorf("message dwn.v1.Credential does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Credential) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "dwn.v1.Credential.transports": + if x.Transports == nil { + x.Transports = []string{} + } + value := &_Credential_3_list{list: &x.Transports} + return protoreflect.ValueOfList(value) + case "dwn.v1.Credential.id": + panic(fmt.Errorf("field id of message dwn.v1.Credential is not mutable")) + case "dwn.v1.Credential.kind": + panic(fmt.Errorf("field kind of message dwn.v1.Credential is not mutable")) + case "dwn.v1.Credential.public_key": + panic(fmt.Errorf("field public_key of message dwn.v1.Credential is not mutable")) + case "dwn.v1.Credential.attestation_type": + panic(fmt.Errorf("field attestation_type of message dwn.v1.Credential is not mutable")) + case "dwn.v1.Credential.created_at": + panic(fmt.Errorf("field created_at of message dwn.v1.Credential is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.Credential")) + } + panic(fmt.Errorf("message dwn.v1.Credential does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_Credential) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "dwn.v1.Credential.id": + return protoreflect.ValueOfBytes(nil) + case "dwn.v1.Credential.kind": + return protoreflect.ValueOfString("") + case "dwn.v1.Credential.transports": + list := []string{} + return protoreflect.ValueOfList(&_Credential_3_list{list: &list}) + case "dwn.v1.Credential.public_key": + return protoreflect.ValueOfBytes(nil) + case "dwn.v1.Credential.attestation_type": + return protoreflect.ValueOfString("") + case "dwn.v1.Credential.created_at": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.Credential")) + } + panic(fmt.Errorf("message dwn.v1.Credential does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_Credential) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in dwn.v1.Credential", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_Credential) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Credential) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_Credential) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_Credential) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*Credential) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Id) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Kind) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if len(x.Transports) > 0 { + for _, s := range x.Transports { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + l = len(x.PublicKey) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.AttestationType) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.CreatedAt != 0 { + n += 1 + runtime.Sov(uint64(x.CreatedAt)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*Credential) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.CreatedAt != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.CreatedAt)) + i-- + dAtA[i] = 0x30 + } + if len(x.AttestationType) > 0 { + i -= len(x.AttestationType) + copy(dAtA[i:], x.AttestationType) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.AttestationType))) + i-- + dAtA[i] = 0x2a + } + if len(x.PublicKey) > 0 { + i -= len(x.PublicKey) + copy(dAtA[i:], x.PublicKey) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PublicKey))) + i-- + dAtA[i] = 0x22 + } + if len(x.Transports) > 0 { + for iNdEx := len(x.Transports) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.Transports[iNdEx]) + copy(dAtA[i:], x.Transports[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Transports[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if len(x.Kind) > 0 { + i -= len(x.Kind) + copy(dAtA[i:], x.Kind) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Kind))) + i-- + dAtA[i] = 0x12 + } + if len(x.Id) > 0 { + i -= len(x.Id) + copy(dAtA[i:], x.Id) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Id))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*Credential) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Credential: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Credential: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Id = append(x.Id[:0], dAtA[iNdEx:postIndex]...) + if x.Id == nil { + x.Id = []byte{} + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Kind = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Transports", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Transports = append(x.Transports, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PublicKey", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.PublicKey = append(x.PublicKey[:0], dAtA[iNdEx:postIndex]...) + if x.PublicKey == nil { + x.PublicKey = []byte{} + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AttestationType", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.AttestationType = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CreatedAt", wireType) + } + x.CreatedAt = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.CreatedAt |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_Profile protoreflect.MessageDescriptor + fd_Profile_account protoreflect.FieldDescriptor + fd_Profile_amount protoreflect.FieldDescriptor +) + +func init() { + file_dwn_v1_state_proto_init() + md_Profile = File_dwn_v1_state_proto.Messages().ByName("Profile") + fd_Profile_account = md_Profile.Fields().ByName("account") + fd_Profile_amount = md_Profile.Fields().ByName("amount") +} + +var _ protoreflect.Message = (*fastReflection_Profile)(nil) + +type fastReflection_Profile Profile + +func (x *Profile) ProtoReflect() protoreflect.Message { + return (*fastReflection_Profile)(x) +} + +func (x *Profile) slowProtoReflect() protoreflect.Message { + mi := &file_dwn_v1_state_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_Profile_messageType fastReflection_Profile_messageType +var _ protoreflect.MessageType = fastReflection_Profile_messageType{} + +type fastReflection_Profile_messageType struct{} + +func (x fastReflection_Profile_messageType) Zero() protoreflect.Message { + return (*fastReflection_Profile)(nil) +} +func (x fastReflection_Profile_messageType) New() protoreflect.Message { + return new(fastReflection_Profile) +} +func (x fastReflection_Profile_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_Profile +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_Profile) Descriptor() protoreflect.MessageDescriptor { + return md_Profile +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_Profile) Type() protoreflect.MessageType { + return _fastReflection_Profile_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_Profile) New() protoreflect.Message { + return new(fastReflection_Profile) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_Profile) Interface() protoreflect.ProtoMessage { + return (*Profile)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_Profile) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.Account) != 0 { + value := protoreflect.ValueOfBytes(x.Account) + if !f(fd_Profile_account, value) { + return + } + } + if x.Amount != uint64(0) { + value := protoreflect.ValueOfUint64(x.Amount) + if !f(fd_Profile_amount, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_Profile) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "dwn.v1.Profile.account": + return len(x.Account) != 0 + case "dwn.v1.Profile.amount": + return x.Amount != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.Profile")) + } + panic(fmt.Errorf("message dwn.v1.Profile does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Profile) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "dwn.v1.Profile.account": + x.Account = nil + case "dwn.v1.Profile.amount": + x.Amount = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.Profile")) + } + panic(fmt.Errorf("message dwn.v1.Profile does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_Profile) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "dwn.v1.Profile.account": + value := x.Account + return protoreflect.ValueOfBytes(value) + case "dwn.v1.Profile.amount": + value := x.Amount + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.Profile")) + } + panic(fmt.Errorf("message dwn.v1.Profile does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Profile) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "dwn.v1.Profile.account": + x.Account = value.Bytes() + case "dwn.v1.Profile.amount": + x.Amount = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.Profile")) + } + panic(fmt.Errorf("message dwn.v1.Profile does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Profile) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "dwn.v1.Profile.account": + panic(fmt.Errorf("field account of message dwn.v1.Profile is not mutable")) + case "dwn.v1.Profile.amount": + panic(fmt.Errorf("field amount of message dwn.v1.Profile is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.Profile")) + } + panic(fmt.Errorf("message dwn.v1.Profile does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_Profile) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "dwn.v1.Profile.account": + return protoreflect.ValueOfBytes(nil) + case "dwn.v1.Profile.amount": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.Profile")) + } + panic(fmt.Errorf("message dwn.v1.Profile does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_Profile) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in dwn.v1.Profile", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_Profile) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Profile) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_Profile) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_Profile) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*Profile) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Account) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.Amount != 0 { + n += 1 + runtime.Sov(uint64(x.Amount)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*Profile) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Amount != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Amount)) + i-- + dAtA[i] = 0x10 + } + if len(x.Account) > 0 { + i -= len(x.Account) + copy(dAtA[i:], x.Account) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Account))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*Profile) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Profile: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Profile: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Account", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Account = append(x.Account[:0], dAtA[iNdEx:postIndex]...) + if x.Account == nil { + x.Account = []byte{} + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) + } + x.Amount = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.Amount |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.0 +// protoc (unknown) +// source: dwn/v1/state.proto + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Credential struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The credential ID as a byte array + Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` // The credential type (e.g. "public-key") + Transports []string `protobuf:"bytes,3,rep,name=transports,proto3" json:"transports,omitempty"` // Optional transport hints (usb, nfc, ble, internal) + PublicKey []byte `protobuf:"bytes,4,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // The credential's public key + AttestationType string `protobuf:"bytes,5,opt,name=attestation_type,json=attestationType,proto3" json:"attestation_type,omitempty"` // The attestation type used (e.g. "none", "indirect", etc) + CreatedAt uint64 `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Timestamp of when the credential was created +} + +func (x *Credential) Reset() { + *x = Credential{} + if protoimpl.UnsafeEnabled { + mi := &file_dwn_v1_state_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Credential) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Credential) ProtoMessage() {} + +// Deprecated: Use Credential.ProtoReflect.Descriptor instead. +func (*Credential) Descriptor() ([]byte, []int) { + return file_dwn_v1_state_proto_rawDescGZIP(), []int{0} +} + +func (x *Credential) GetId() []byte { + if x != nil { + return x.Id + } + return nil +} + +func (x *Credential) GetKind() string { + if x != nil { + return x.Kind + } + return "" +} + +func (x *Credential) GetTransports() []string { + if x != nil { + return x.Transports + } + return nil +} + +func (x *Credential) GetPublicKey() []byte { + if x != nil { + return x.PublicKey + } + return nil +} + +func (x *Credential) GetAttestationType() string { + if x != nil { + return x.AttestationType + } + return "" +} + +func (x *Credential) GetCreatedAt() uint64 { + if x != nil { + return x.CreatedAt + } + return 0 +} + +type Profile struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Account []byte `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` + Amount uint64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` +} + +func (x *Profile) Reset() { + *x = Profile{} + if protoimpl.UnsafeEnabled { + mi := &file_dwn_v1_state_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Profile) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Profile) ProtoMessage() {} + +// Deprecated: Use Profile.ProtoReflect.Descriptor instead. +func (*Profile) Descriptor() ([]byte, []int) { + return file_dwn_v1_state_proto_rawDescGZIP(), []int{1} +} + +func (x *Profile) GetAccount() []byte { + if x != nil { + return x.Account + } + return nil +} + +func (x *Profile) GetAmount() uint64 { + if x != nil { + return x.Amount + } + return 0 +} + +var File_dwn_v1_state_proto protoreflect.FileDescriptor + +var file_dwn_v1_state_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x64, 0x77, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x64, 0x77, 0x6e, 0x2e, 0x76, 0x31, 0x1a, 0x17, 0x63, 0x6f, + 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x72, 0x6d, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc9, 0x01, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x61, 0x6c, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x72, 0x61, 0x6e, + 0x73, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x72, + 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, + 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x70, 0x75, + 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x29, 0x0a, 0x10, 0x61, 0x74, 0x74, 0x65, 0x73, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, + 0x74, 0x3a, 0x0e, 0xf2, 0x9e, 0xd3, 0x8e, 0x03, 0x08, 0x0a, 0x04, 0x0a, 0x02, 0x69, 0x64, 0x18, + 0x01, 0x22, 0x5c, 0x0a, 0x07, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, + 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x1f, + 0xf2, 0x9e, 0xd3, 0x8e, 0x03, 0x19, 0x0a, 0x09, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x12, 0x0a, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x10, 0x01, 0x18, 0x02, 0x42, + 0x7a, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x77, 0x6e, 0x2e, 0x76, 0x31, 0x42, 0x0a, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x27, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x6e, 0x73, 0x6f, 0x6e, 0x72, 0x2f, 0x73, + 0x6f, 0x6e, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x77, 0x6e, 0x2f, 0x76, 0x31, 0x3b, 0x64, + 0x77, 0x6e, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x44, 0x58, 0x58, 0xaa, 0x02, 0x06, 0x44, 0x77, 0x6e, + 0x2e, 0x56, 0x31, 0xca, 0x02, 0x06, 0x44, 0x77, 0x6e, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x12, 0x44, + 0x77, 0x6e, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0xea, 0x02, 0x07, 0x44, 0x77, 0x6e, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_dwn_v1_state_proto_rawDescOnce sync.Once + file_dwn_v1_state_proto_rawDescData = file_dwn_v1_state_proto_rawDesc +) + +func file_dwn_v1_state_proto_rawDescGZIP() []byte { + file_dwn_v1_state_proto_rawDescOnce.Do(func() { + file_dwn_v1_state_proto_rawDescData = protoimpl.X.CompressGZIP(file_dwn_v1_state_proto_rawDescData) + }) + return file_dwn_v1_state_proto_rawDescData +} + +var file_dwn_v1_state_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_dwn_v1_state_proto_goTypes = []interface{}{ + (*Credential)(nil), // 0: dwn.v1.Credential + (*Profile)(nil), // 1: dwn.v1.Profile +} +var file_dwn_v1_state_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_dwn_v1_state_proto_init() } +func file_dwn_v1_state_proto_init() { + if File_dwn_v1_state_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_dwn_v1_state_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Credential); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_dwn_v1_state_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Profile); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_dwn_v1_state_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_dwn_v1_state_proto_goTypes, + DependencyIndexes: file_dwn_v1_state_proto_depIdxs, + MessageInfos: file_dwn_v1_state_proto_msgTypes, + }.Build() + File_dwn_v1_state_proto = out.File + file_dwn_v1_state_proto_rawDesc = nil + file_dwn_v1_state_proto_goTypes = nil + file_dwn_v1_state_proto_depIdxs = nil +} diff --git a/api/dwn/v1/tx.pulsar.go b/api/dwn/v1/tx.pulsar.go new file mode 100644 index 000000000..c7a328668 --- /dev/null +++ b/api/dwn/v1/tx.pulsar.go @@ -0,0 +1,2061 @@ +// Code generated by protoc-gen-go-pulsar. DO NOT EDIT. +package dwnv1 + +import ( + _ "cosmossdk.io/api/cosmos/msg/v1" + fmt "fmt" + _ "github.com/cosmos/cosmos-proto" + runtime "github.com/cosmos/cosmos-proto/runtime" + _ "github.com/cosmos/gogoproto/gogoproto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoiface "google.golang.org/protobuf/runtime/protoiface" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + io "io" + reflect "reflect" + sync "sync" +) + +var ( + md_MsgUpdateParams protoreflect.MessageDescriptor + fd_MsgUpdateParams_authority protoreflect.FieldDescriptor + fd_MsgUpdateParams_params protoreflect.FieldDescriptor +) + +func init() { + file_dwn_v1_tx_proto_init() + md_MsgUpdateParams = File_dwn_v1_tx_proto.Messages().ByName("MsgUpdateParams") + fd_MsgUpdateParams_authority = md_MsgUpdateParams.Fields().ByName("authority") + fd_MsgUpdateParams_params = md_MsgUpdateParams.Fields().ByName("params") +} + +var _ protoreflect.Message = (*fastReflection_MsgUpdateParams)(nil) + +type fastReflection_MsgUpdateParams MsgUpdateParams + +func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgUpdateParams)(x) +} + +func (x *MsgUpdateParams) slowProtoReflect() protoreflect.Message { + mi := &file_dwn_v1_tx_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_MsgUpdateParams_messageType fastReflection_MsgUpdateParams_messageType +var _ protoreflect.MessageType = fastReflection_MsgUpdateParams_messageType{} + +type fastReflection_MsgUpdateParams_messageType struct{} + +func (x fastReflection_MsgUpdateParams_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgUpdateParams)(nil) +} +func (x fastReflection_MsgUpdateParams_messageType) New() protoreflect.Message { + return new(fastReflection_MsgUpdateParams) +} +func (x fastReflection_MsgUpdateParams_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgUpdateParams +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgUpdateParams) Descriptor() protoreflect.MessageDescriptor { + return md_MsgUpdateParams +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_MsgUpdateParams) Type() protoreflect.MessageType { + return _fastReflection_MsgUpdateParams_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgUpdateParams) New() protoreflect.Message { + return new(fastReflection_MsgUpdateParams) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgUpdateParams) Interface() protoreflect.ProtoMessage { + return (*MsgUpdateParams)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_MsgUpdateParams) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Authority != "" { + value := protoreflect.ValueOfString(x.Authority) + if !f(fd_MsgUpdateParams_authority, value) { + return + } + } + if x.Params != nil { + value := protoreflect.ValueOfMessage(x.Params.ProtoReflect()) + if !f(fd_MsgUpdateParams_params, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_MsgUpdateParams) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "dwn.v1.MsgUpdateParams.authority": + return x.Authority != "" + case "dwn.v1.MsgUpdateParams.params": + return x.Params != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.MsgUpdateParams")) + } + panic(fmt.Errorf("message dwn.v1.MsgUpdateParams does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgUpdateParams) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "dwn.v1.MsgUpdateParams.authority": + x.Authority = "" + case "dwn.v1.MsgUpdateParams.params": + x.Params = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.MsgUpdateParams")) + } + panic(fmt.Errorf("message dwn.v1.MsgUpdateParams does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_MsgUpdateParams) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "dwn.v1.MsgUpdateParams.authority": + value := x.Authority + return protoreflect.ValueOfString(value) + case "dwn.v1.MsgUpdateParams.params": + value := x.Params + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.MsgUpdateParams")) + } + panic(fmt.Errorf("message dwn.v1.MsgUpdateParams does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgUpdateParams) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "dwn.v1.MsgUpdateParams.authority": + x.Authority = value.Interface().(string) + case "dwn.v1.MsgUpdateParams.params": + x.Params = value.Message().Interface().(*Params) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.MsgUpdateParams")) + } + panic(fmt.Errorf("message dwn.v1.MsgUpdateParams does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgUpdateParams) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "dwn.v1.MsgUpdateParams.params": + if x.Params == nil { + x.Params = new(Params) + } + return protoreflect.ValueOfMessage(x.Params.ProtoReflect()) + case "dwn.v1.MsgUpdateParams.authority": + panic(fmt.Errorf("field authority of message dwn.v1.MsgUpdateParams is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.MsgUpdateParams")) + } + panic(fmt.Errorf("message dwn.v1.MsgUpdateParams does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_MsgUpdateParams) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "dwn.v1.MsgUpdateParams.authority": + return protoreflect.ValueOfString("") + case "dwn.v1.MsgUpdateParams.params": + m := new(Params) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.MsgUpdateParams")) + } + panic(fmt.Errorf("message dwn.v1.MsgUpdateParams does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_MsgUpdateParams) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in dwn.v1.MsgUpdateParams", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_MsgUpdateParams) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgUpdateParams) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_MsgUpdateParams) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_MsgUpdateParams) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgUpdateParams) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Authority) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.Params != nil { + l = options.Size(x.Params) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*MsgUpdateParams) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Params != nil { + encoded, err := options.Marshal(x.Params) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x12 + } + if len(x.Authority) > 0 { + i -= len(x.Authority) + copy(dAtA[i:], x.Authority) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Authority))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*MsgUpdateParams) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgUpdateParams: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgUpdateParams: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Authority", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Authority = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Params == nil { + x.Params = &Params{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Params); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_MsgUpdateParamsResponse protoreflect.MessageDescriptor +) + +func init() { + file_dwn_v1_tx_proto_init() + md_MsgUpdateParamsResponse = File_dwn_v1_tx_proto.Messages().ByName("MsgUpdateParamsResponse") +} + +var _ protoreflect.Message = (*fastReflection_MsgUpdateParamsResponse)(nil) + +type fastReflection_MsgUpdateParamsResponse MsgUpdateParamsResponse + +func (x *MsgUpdateParamsResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgUpdateParamsResponse)(x) +} + +func (x *MsgUpdateParamsResponse) slowProtoReflect() protoreflect.Message { + mi := &file_dwn_v1_tx_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_MsgUpdateParamsResponse_messageType fastReflection_MsgUpdateParamsResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgUpdateParamsResponse_messageType{} + +type fastReflection_MsgUpdateParamsResponse_messageType struct{} + +func (x fastReflection_MsgUpdateParamsResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgUpdateParamsResponse)(nil) +} +func (x fastReflection_MsgUpdateParamsResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgUpdateParamsResponse) +} +func (x fastReflection_MsgUpdateParamsResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgUpdateParamsResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgUpdateParamsResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgUpdateParamsResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_MsgUpdateParamsResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgUpdateParamsResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgUpdateParamsResponse) New() protoreflect.Message { + return new(fastReflection_MsgUpdateParamsResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgUpdateParamsResponse) Interface() protoreflect.ProtoMessage { + return (*MsgUpdateParamsResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_MsgUpdateParamsResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_MsgUpdateParamsResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.MsgUpdateParamsResponse")) + } + panic(fmt.Errorf("message dwn.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgUpdateParamsResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.MsgUpdateParamsResponse")) + } + panic(fmt.Errorf("message dwn.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_MsgUpdateParamsResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.MsgUpdateParamsResponse")) + } + panic(fmt.Errorf("message dwn.v1.MsgUpdateParamsResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgUpdateParamsResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.MsgUpdateParamsResponse")) + } + panic(fmt.Errorf("message dwn.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgUpdateParamsResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.MsgUpdateParamsResponse")) + } + panic(fmt.Errorf("message dwn.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_MsgUpdateParamsResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.MsgUpdateParamsResponse")) + } + panic(fmt.Errorf("message dwn.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_MsgUpdateParamsResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in dwn.v1.MsgUpdateParamsResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_MsgUpdateParamsResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgUpdateParamsResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_MsgUpdateParamsResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_MsgUpdateParamsResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgUpdateParamsResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*MsgUpdateParamsResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*MsgUpdateParamsResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgUpdateParamsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgUpdateParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_MsgInitialize protoreflect.MessageDescriptor + fd_MsgInitialize_authority protoreflect.FieldDescriptor + fd_MsgInitialize_params protoreflect.FieldDescriptor +) + +func init() { + file_dwn_v1_tx_proto_init() + md_MsgInitialize = File_dwn_v1_tx_proto.Messages().ByName("MsgInitialize") + fd_MsgInitialize_authority = md_MsgInitialize.Fields().ByName("authority") + fd_MsgInitialize_params = md_MsgInitialize.Fields().ByName("params") +} + +var _ protoreflect.Message = (*fastReflection_MsgInitialize)(nil) + +type fastReflection_MsgInitialize MsgInitialize + +func (x *MsgInitialize) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgInitialize)(x) +} + +func (x *MsgInitialize) slowProtoReflect() protoreflect.Message { + mi := &file_dwn_v1_tx_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_MsgInitialize_messageType fastReflection_MsgInitialize_messageType +var _ protoreflect.MessageType = fastReflection_MsgInitialize_messageType{} + +type fastReflection_MsgInitialize_messageType struct{} + +func (x fastReflection_MsgInitialize_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgInitialize)(nil) +} +func (x fastReflection_MsgInitialize_messageType) New() protoreflect.Message { + return new(fastReflection_MsgInitialize) +} +func (x fastReflection_MsgInitialize_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgInitialize +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgInitialize) Descriptor() protoreflect.MessageDescriptor { + return md_MsgInitialize +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_MsgInitialize) Type() protoreflect.MessageType { + return _fastReflection_MsgInitialize_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgInitialize) New() protoreflect.Message { + return new(fastReflection_MsgInitialize) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgInitialize) Interface() protoreflect.ProtoMessage { + return (*MsgInitialize)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_MsgInitialize) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Authority != "" { + value := protoreflect.ValueOfString(x.Authority) + if !f(fd_MsgInitialize_authority, value) { + return + } + } + if x.Params != nil { + value := protoreflect.ValueOfMessage(x.Params.ProtoReflect()) + if !f(fd_MsgInitialize_params, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_MsgInitialize) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "dwn.v1.MsgInitialize.authority": + return x.Authority != "" + case "dwn.v1.MsgInitialize.params": + return x.Params != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.MsgInitialize")) + } + panic(fmt.Errorf("message dwn.v1.MsgInitialize does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgInitialize) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "dwn.v1.MsgInitialize.authority": + x.Authority = "" + case "dwn.v1.MsgInitialize.params": + x.Params = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.MsgInitialize")) + } + panic(fmt.Errorf("message dwn.v1.MsgInitialize does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_MsgInitialize) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "dwn.v1.MsgInitialize.authority": + value := x.Authority + return protoreflect.ValueOfString(value) + case "dwn.v1.MsgInitialize.params": + value := x.Params + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.MsgInitialize")) + } + panic(fmt.Errorf("message dwn.v1.MsgInitialize does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgInitialize) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "dwn.v1.MsgInitialize.authority": + x.Authority = value.Interface().(string) + case "dwn.v1.MsgInitialize.params": + x.Params = value.Message().Interface().(*Params) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.MsgInitialize")) + } + panic(fmt.Errorf("message dwn.v1.MsgInitialize does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgInitialize) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "dwn.v1.MsgInitialize.params": + if x.Params == nil { + x.Params = new(Params) + } + return protoreflect.ValueOfMessage(x.Params.ProtoReflect()) + case "dwn.v1.MsgInitialize.authority": + panic(fmt.Errorf("field authority of message dwn.v1.MsgInitialize is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.MsgInitialize")) + } + panic(fmt.Errorf("message dwn.v1.MsgInitialize does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_MsgInitialize) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "dwn.v1.MsgInitialize.authority": + return protoreflect.ValueOfString("") + case "dwn.v1.MsgInitialize.params": + m := new(Params) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.MsgInitialize")) + } + panic(fmt.Errorf("message dwn.v1.MsgInitialize does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_MsgInitialize) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in dwn.v1.MsgInitialize", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_MsgInitialize) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgInitialize) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_MsgInitialize) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_MsgInitialize) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgInitialize) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Authority) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.Params != nil { + l = options.Size(x.Params) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*MsgInitialize) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Params != nil { + encoded, err := options.Marshal(x.Params) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x12 + } + if len(x.Authority) > 0 { + i -= len(x.Authority) + copy(dAtA[i:], x.Authority) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Authority))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*MsgInitialize) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgInitialize: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgInitialize: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Authority", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Authority = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Params == nil { + x.Params = &Params{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Params); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_MsgInitializeResponse protoreflect.MessageDescriptor +) + +func init() { + file_dwn_v1_tx_proto_init() + md_MsgInitializeResponse = File_dwn_v1_tx_proto.Messages().ByName("MsgInitializeResponse") +} + +var _ protoreflect.Message = (*fastReflection_MsgInitializeResponse)(nil) + +type fastReflection_MsgInitializeResponse MsgInitializeResponse + +func (x *MsgInitializeResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgInitializeResponse)(x) +} + +func (x *MsgInitializeResponse) slowProtoReflect() protoreflect.Message { + mi := &file_dwn_v1_tx_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_MsgInitializeResponse_messageType fastReflection_MsgInitializeResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgInitializeResponse_messageType{} + +type fastReflection_MsgInitializeResponse_messageType struct{} + +func (x fastReflection_MsgInitializeResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgInitializeResponse)(nil) +} +func (x fastReflection_MsgInitializeResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgInitializeResponse) +} +func (x fastReflection_MsgInitializeResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgInitializeResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgInitializeResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgInitializeResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_MsgInitializeResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgInitializeResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgInitializeResponse) New() protoreflect.Message { + return new(fastReflection_MsgInitializeResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgInitializeResponse) Interface() protoreflect.ProtoMessage { + return (*MsgInitializeResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_MsgInitializeResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_MsgInitializeResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.MsgInitializeResponse")) + } + panic(fmt.Errorf("message dwn.v1.MsgInitializeResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgInitializeResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.MsgInitializeResponse")) + } + panic(fmt.Errorf("message dwn.v1.MsgInitializeResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_MsgInitializeResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.MsgInitializeResponse")) + } + panic(fmt.Errorf("message dwn.v1.MsgInitializeResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgInitializeResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.MsgInitializeResponse")) + } + panic(fmt.Errorf("message dwn.v1.MsgInitializeResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgInitializeResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.MsgInitializeResponse")) + } + panic(fmt.Errorf("message dwn.v1.MsgInitializeResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_MsgInitializeResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: dwn.v1.MsgInitializeResponse")) + } + panic(fmt.Errorf("message dwn.v1.MsgInitializeResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_MsgInitializeResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in dwn.v1.MsgInitializeResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_MsgInitializeResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgInitializeResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_MsgInitializeResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_MsgInitializeResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgInitializeResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*MsgInitializeResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*MsgInitializeResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgInitializeResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgInitializeResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.0 +// protoc (unknown) +// source: dwn/v1/tx.proto + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// MsgUpdateParams is the Msg/UpdateParams request type. +// +// Since: cosmos-sdk 0.47 +type MsgUpdateParams struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // authority is the address of the governance account. + Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` + // params defines the parameters to update. + // + // NOTE: All parameters must be supplied. + Params *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` +} + +func (x *MsgUpdateParams) Reset() { + *x = MsgUpdateParams{} + if protoimpl.UnsafeEnabled { + mi := &file_dwn_v1_tx_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgUpdateParams) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgUpdateParams) ProtoMessage() {} + +// Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead. +func (*MsgUpdateParams) Descriptor() ([]byte, []int) { + return file_dwn_v1_tx_proto_rawDescGZIP(), []int{0} +} + +func (x *MsgUpdateParams) GetAuthority() string { + if x != nil { + return x.Authority + } + return "" +} + +func (x *MsgUpdateParams) GetParams() *Params { + if x != nil { + return x.Params + } + return nil +} + +// MsgUpdateParamsResponse defines the response structure for executing a +// MsgUpdateParams message. +// +// Since: cosmos-sdk 0.47 +type MsgUpdateParamsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *MsgUpdateParamsResponse) Reset() { + *x = MsgUpdateParamsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_dwn_v1_tx_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgUpdateParamsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgUpdateParamsResponse) ProtoMessage() {} + +// Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead. +func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) { + return file_dwn_v1_tx_proto_rawDescGZIP(), []int{1} +} + +// MsgInitialize spawns a New Vault with Unclaimed State. This is a one-time +// operation that must be performed interacting with the Vault. +// +// Since: cosmos-sdk 0.47 +type MsgInitialize struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // authority is the address of the governance account. + Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` + // params defines the parameters to update. + // + // NOTE: All parameters must be supplied. + Params *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` +} + +func (x *MsgInitialize) Reset() { + *x = MsgInitialize{} + if protoimpl.UnsafeEnabled { + mi := &file_dwn_v1_tx_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgInitialize) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgInitialize) ProtoMessage() {} + +// Deprecated: Use MsgInitialize.ProtoReflect.Descriptor instead. +func (*MsgInitialize) Descriptor() ([]byte, []int) { + return file_dwn_v1_tx_proto_rawDescGZIP(), []int{2} +} + +func (x *MsgInitialize) GetAuthority() string { + if x != nil { + return x.Authority + } + return "" +} + +func (x *MsgInitialize) GetParams() *Params { + if x != nil { + return x.Params + } + return nil +} + +// MsgInitializeResponse defines the response structure for executing a +// MsgInitialize message. +// +// Since: cosmos-sdk 0.47 +type MsgInitializeResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *MsgInitializeResponse) Reset() { + *x = MsgInitializeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_dwn_v1_tx_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgInitializeResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgInitializeResponse) ProtoMessage() {} + +// Deprecated: Use MsgInitializeResponse.ProtoReflect.Descriptor instead. +func (*MsgInitializeResponse) Descriptor() ([]byte, []int) { + return file_dwn_v1_tx_proto_rawDescGZIP(), []int{3} +} + +var File_dwn_v1_tx_proto protoreflect.FileDescriptor + +var file_dwn_v1_tx_proto_rawDesc = []byte{ + 0x0a, 0x0f, 0x64, 0x77, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x12, 0x06, 0x64, 0x77, 0x6e, 0x2e, 0x76, 0x31, 0x1a, 0x17, 0x63, 0x6f, 0x73, 0x6d, 0x6f, + 0x73, 0x2f, 0x6d, 0x73, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x14, 0x64, 0x77, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x73, + 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, + 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x73, + 0x6d, 0x6f, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x87, 0x01, 0x0a, 0x0f, 0x4d, 0x73, + 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x36, 0x0a, + 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x09, 0x61, 0x75, 0x74, 0x68, + 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x2c, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x64, 0x77, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x70, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x3a, 0x0e, 0x82, 0xe7, 0xb0, 0x2a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, + 0x69, 0x74, 0x79, 0x22, 0x19, 0x0a, 0x17, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x85, + 0x01, 0x0a, 0x0d, 0x4d, 0x73, 0x67, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, + 0x12, 0x36, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x09, 0x61, + 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x2c, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, + 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x64, 0x77, 0x6e, 0x2e, 0x76, + 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, + 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x3a, 0x0e, 0x82, 0xe7, 0xb0, 0x2a, 0x09, 0x61, 0x75, 0x74, + 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, 0x17, 0x0a, 0x15, 0x4d, 0x73, 0x67, 0x49, 0x6e, 0x69, + 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, + 0x9a, 0x01, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x48, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x17, 0x2e, 0x64, 0x77, 0x6e, 0x2e, 0x76, 0x31, + 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, + 0x1a, 0x1f, 0x2e, 0x64, 0x77, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x42, 0x0a, 0x0a, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x12, + 0x15, 0x2e, 0x64, 0x77, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x49, 0x6e, 0x69, 0x74, + 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x1a, 0x1d, 0x2e, 0x64, 0x77, 0x6e, 0x2e, 0x76, 0x31, 0x2e, + 0x4d, 0x73, 0x67, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x1a, 0x05, 0x80, 0xe7, 0xb0, 0x2a, 0x01, 0x42, 0x77, 0x0a, 0x0a, + 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x77, 0x6e, 0x2e, 0x76, 0x31, 0x42, 0x07, 0x54, 0x78, 0x50, 0x72, + 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x27, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x6f, 0x6e, 0x73, 0x6f, 0x6e, 0x72, 0x2f, 0x73, 0x6f, 0x6e, 0x72, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x64, 0x77, 0x6e, 0x2f, 0x76, 0x31, 0x3b, 0x64, 0x77, 0x6e, 0x76, 0x31, 0xa2, 0x02, + 0x03, 0x44, 0x58, 0x58, 0xaa, 0x02, 0x06, 0x44, 0x77, 0x6e, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x06, + 0x44, 0x77, 0x6e, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x12, 0x44, 0x77, 0x6e, 0x5c, 0x56, 0x31, 0x5c, + 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x07, 0x44, 0x77, + 0x6e, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_dwn_v1_tx_proto_rawDescOnce sync.Once + file_dwn_v1_tx_proto_rawDescData = file_dwn_v1_tx_proto_rawDesc +) + +func file_dwn_v1_tx_proto_rawDescGZIP() []byte { + file_dwn_v1_tx_proto_rawDescOnce.Do(func() { + file_dwn_v1_tx_proto_rawDescData = protoimpl.X.CompressGZIP(file_dwn_v1_tx_proto_rawDescData) + }) + return file_dwn_v1_tx_proto_rawDescData +} + +var file_dwn_v1_tx_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_dwn_v1_tx_proto_goTypes = []interface{}{ + (*MsgUpdateParams)(nil), // 0: dwn.v1.MsgUpdateParams + (*MsgUpdateParamsResponse)(nil), // 1: dwn.v1.MsgUpdateParamsResponse + (*MsgInitialize)(nil), // 2: dwn.v1.MsgInitialize + (*MsgInitializeResponse)(nil), // 3: dwn.v1.MsgInitializeResponse + (*Params)(nil), // 4: dwn.v1.Params +} +var file_dwn_v1_tx_proto_depIdxs = []int32{ + 4, // 0: dwn.v1.MsgUpdateParams.params:type_name -> dwn.v1.Params + 4, // 1: dwn.v1.MsgInitialize.params:type_name -> dwn.v1.Params + 0, // 2: dwn.v1.Msg.UpdateParams:input_type -> dwn.v1.MsgUpdateParams + 2, // 3: dwn.v1.Msg.Initialize:input_type -> dwn.v1.MsgInitialize + 1, // 4: dwn.v1.Msg.UpdateParams:output_type -> dwn.v1.MsgUpdateParamsResponse + 3, // 5: dwn.v1.Msg.Initialize:output_type -> dwn.v1.MsgInitializeResponse + 4, // [4:6] is the sub-list for method output_type + 2, // [2:4] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_dwn_v1_tx_proto_init() } +func file_dwn_v1_tx_proto_init() { + if File_dwn_v1_tx_proto != nil { + return + } + file_dwn_v1_genesis_proto_init() + if !protoimpl.UnsafeEnabled { + file_dwn_v1_tx_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgUpdateParams); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_dwn_v1_tx_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgUpdateParamsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_dwn_v1_tx_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgInitialize); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_dwn_v1_tx_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgInitializeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_dwn_v1_tx_proto_rawDesc, + NumEnums: 0, + NumMessages: 4, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_dwn_v1_tx_proto_goTypes, + DependencyIndexes: file_dwn_v1_tx_proto_depIdxs, + MessageInfos: file_dwn_v1_tx_proto_msgTypes, + }.Build() + File_dwn_v1_tx_proto = out.File + file_dwn_v1_tx_proto_rawDesc = nil + file_dwn_v1_tx_proto_goTypes = nil + file_dwn_v1_tx_proto_depIdxs = nil +} diff --git a/api/vault/v1/tx_grpc.pb.go b/api/dwn/v1/tx_grpc.pb.go similarity index 71% rename from api/vault/v1/tx_grpc.pb.go rename to api/dwn/v1/tx_grpc.pb.go index 1d0528abe..852cb75a5 100644 --- a/api/vault/v1/tx_grpc.pb.go +++ b/api/dwn/v1/tx_grpc.pb.go @@ -2,9 +2,9 @@ // versions: // - protoc-gen-go-grpc v1.5.1 // - protoc (unknown) -// source: vault/v1/tx.proto +// source: dwn/v1/tx.proto -package vaultv1 +package dwnv1 import ( context "context" @@ -19,7 +19,8 @@ import ( const _ = grpc.SupportPackageIsVersion9 const ( - Msg_UpdateParams_FullMethodName = "/vault.v1.Msg/UpdateParams" + Msg_UpdateParams_FullMethodName = "/dwn.v1.Msg/UpdateParams" + Msg_Initialize_FullMethodName = "/dwn.v1.Msg/Initialize" ) // MsgClient is the client API for Msg service. @@ -32,6 +33,8 @@ type MsgClient interface { // // Since: cosmos-sdk 0.47 UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) + // Initialize spawns a new Vault + Initialize(ctx context.Context, in *MsgInitialize, opts ...grpc.CallOption) (*MsgInitializeResponse, error) } type msgClient struct { @@ -52,6 +55,16 @@ func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts return out, nil } +func (c *msgClient) Initialize(ctx context.Context, in *MsgInitialize, opts ...grpc.CallOption) (*MsgInitializeResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(MsgInitializeResponse) + err := c.cc.Invoke(ctx, Msg_Initialize_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + // MsgServer is the server API for Msg service. // All implementations must embed UnimplementedMsgServer // for forward compatibility. @@ -62,6 +75,8 @@ type MsgServer interface { // // Since: cosmos-sdk 0.47 UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) + // Initialize spawns a new Vault + Initialize(context.Context, *MsgInitialize) (*MsgInitializeResponse, error) mustEmbedUnimplementedMsgServer() } @@ -75,6 +90,9 @@ type UnimplementedMsgServer struct{} func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateParams not implemented") } +func (UnimplementedMsgServer) Initialize(context.Context, *MsgInitialize) (*MsgInitializeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Initialize not implemented") +} func (UnimplementedMsgServer) mustEmbedUnimplementedMsgServer() {} func (UnimplementedMsgServer) testEmbeddedByValue() {} @@ -114,18 +132,40 @@ func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(in return interceptor(ctx, in, info, handler) } +func _Msg_Initialize_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgInitialize) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).Initialize(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_Initialize_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).Initialize(ctx, req.(*MsgInitialize)) + } + return interceptor(ctx, in, info, handler) +} + // Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) var Msg_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "vault.v1.Msg", + ServiceName: "dwn.v1.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UpdateParams", Handler: _Msg_UpdateParams_Handler, }, + { + MethodName: "Initialize", + Handler: _Msg_Initialize_Handler, + }, }, Streams: []grpc.StreamDesc{}, - Metadata: "vault/v1/tx.proto", + Metadata: "dwn/v1/tx.proto", } diff --git a/api/service/module/v1/module.pulsar.go b/api/svc/module/v1/module.pulsar.go similarity index 75% rename from api/service/module/v1/module.pulsar.go rename to api/svc/module/v1/module.pulsar.go index 0f7d12fc7..d28ce9067 100644 --- a/api/service/module/v1/module.pulsar.go +++ b/api/svc/module/v1/module.pulsar.go @@ -18,8 +18,8 @@ var ( ) func init() { - file_service_module_v1_module_proto_init() - md_Module = File_service_module_v1_module_proto.Messages().ByName("Module") + file_svc_module_v1_module_proto_init() + md_Module = File_svc_module_v1_module_proto.Messages().ByName("Module") } var _ protoreflect.Message = (*fastReflection_Module)(nil) @@ -31,7 +31,7 @@ func (x *Module) ProtoReflect() protoreflect.Message { } func (x *Module) slowProtoReflect() protoreflect.Message { - mi := &file_service_module_v1_module_proto_msgTypes[0] + mi := &file_svc_module_v1_module_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -104,9 +104,9 @@ func (x *fastReflection_Module) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.module.v1.Module")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.module.v1.Module")) } - panic(fmt.Errorf("message service.module.v1.Module does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.module.v1.Module does not contain field %s", fd.FullName())) } } @@ -120,9 +120,9 @@ func (x *fastReflection_Module) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.module.v1.Module")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.module.v1.Module")) } - panic(fmt.Errorf("message service.module.v1.Module does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.module.v1.Module does not contain field %s", fd.FullName())) } } @@ -136,9 +136,9 @@ func (x *fastReflection_Module) Get(descriptor protoreflect.FieldDescriptor) pro switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.module.v1.Module")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.module.v1.Module")) } - panic(fmt.Errorf("message service.module.v1.Module does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message svc.module.v1.Module does not contain field %s", descriptor.FullName())) } } @@ -156,9 +156,9 @@ func (x *fastReflection_Module) Set(fd protoreflect.FieldDescriptor, value proto switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.module.v1.Module")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.module.v1.Module")) } - panic(fmt.Errorf("message service.module.v1.Module does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.module.v1.Module does not contain field %s", fd.FullName())) } } @@ -176,9 +176,9 @@ func (x *fastReflection_Module) Mutable(fd protoreflect.FieldDescriptor) protore switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.module.v1.Module")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.module.v1.Module")) } - panic(fmt.Errorf("message service.module.v1.Module does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.module.v1.Module does not contain field %s", fd.FullName())) } } @@ -189,9 +189,9 @@ func (x *fastReflection_Module) NewField(fd protoreflect.FieldDescriptor) protor switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.module.v1.Module")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.module.v1.Module")) } - panic(fmt.Errorf("message service.module.v1.Module does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.module.v1.Module does not contain field %s", fd.FullName())) } } @@ -201,7 +201,7 @@ func (x *fastReflection_Module) NewField(fd protoreflect.FieldDescriptor) protor func (x *fastReflection_Module) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in service.module.v1.Module", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in svc.module.v1.Module", d.FullName())) } panic("unreachable") } @@ -373,7 +373,7 @@ func (x *fastReflection_Module) ProtoMethods() *protoiface.Methods { // versions: // protoc-gen-go v1.27.0 // protoc (unknown) -// source: service/module/v1/module.proto +// source: svc/module/v1/module.proto const ( // Verify that this generated code is sufficiently up-to-date. @@ -393,7 +393,7 @@ type Module struct { func (x *Module) Reset() { *x = Module{} if protoimpl.UnsafeEnabled { - mi := &file_service_module_v1_module_proto_msgTypes[0] + mi := &file_svc_module_v1_module_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -407,52 +407,50 @@ func (*Module) ProtoMessage() {} // Deprecated: Use Module.ProtoReflect.Descriptor instead. func (*Module) Descriptor() ([]byte, []int) { - return file_service_module_v1_module_proto_rawDescGZIP(), []int{0} + return file_svc_module_v1_module_proto_rawDescGZIP(), []int{0} } -var File_service_module_v1_module_proto protoreflect.FileDescriptor +var File_svc_module_v1_module_proto protoreflect.FileDescriptor -var file_service_module_v1_module_proto_rawDesc = []byte{ - 0x0a, 0x1e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, - 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x12, 0x11, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, - 0x2e, 0x76, 0x31, 0x1a, 0x20, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x70, 0x2f, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x28, 0x0a, 0x06, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x3a, - 0x1e, 0xba, 0xc0, 0x96, 0xda, 0x01, 0x18, 0x0a, 0x16, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, - 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x6e, 0x73, 0x6f, 0x6e, 0x72, 0x2f, 0x73, 0x6f, 0x6e, 0x72, 0x42, - 0xc1, 0x01, 0x0a, 0x15, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, - 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x4d, 0x6f, 0x64, 0x75, 0x6c, - 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, - 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x6e, 0x73, 0x6f, 0x6e, 0x72, 0x2f, 0x73, 0x6f, 0x6e, 0x72, - 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x6d, 0x6f, 0x64, +var file_svc_module_v1_module_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x73, 0x76, 0x63, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2f, 0x76, 0x31, 0x2f, + 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x73, 0x76, + 0x63, 0x2e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x20, 0x63, 0x6f, 0x73, + 0x6d, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x28, 0x0a, + 0x06, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x3a, 0x1e, 0xba, 0xc0, 0x96, 0xda, 0x01, 0x18, 0x0a, + 0x16, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x6e, 0x73, 0x6f, + 0x6e, 0x72, 0x2f, 0x73, 0x6f, 0x6e, 0x72, 0x42, 0xa9, 0x01, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x2e, + 0x73, 0x76, 0x63, 0x2e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x4d, + 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x31, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x6e, 0x73, 0x6f, 0x6e, 0x72, 0x2f, + 0x73, 0x6f, 0x6e, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x76, 0x63, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x76, 0x31, 0xa2, - 0x02, 0x03, 0x53, 0x4d, 0x58, 0xaa, 0x02, 0x11, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, - 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x11, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x5c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1d, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5c, 0x56, - 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x3a, 0x3a, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x3a, + 0x02, 0x03, 0x53, 0x4d, 0x58, 0xaa, 0x02, 0x0d, 0x53, 0x76, 0x63, 0x2e, 0x4d, 0x6f, 0x64, 0x75, + 0x6c, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0d, 0x53, 0x76, 0x63, 0x5c, 0x4d, 0x6f, 0x64, 0x75, + 0x6c, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x19, 0x53, 0x76, 0x63, 0x5c, 0x4d, 0x6f, 0x64, 0x75, + 0x6c, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0xea, 0x02, 0x0f, 0x53, 0x76, 0x63, 0x3a, 0x3a, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_service_module_v1_module_proto_rawDescOnce sync.Once - file_service_module_v1_module_proto_rawDescData = file_service_module_v1_module_proto_rawDesc + file_svc_module_v1_module_proto_rawDescOnce sync.Once + file_svc_module_v1_module_proto_rawDescData = file_svc_module_v1_module_proto_rawDesc ) -func file_service_module_v1_module_proto_rawDescGZIP() []byte { - file_service_module_v1_module_proto_rawDescOnce.Do(func() { - file_service_module_v1_module_proto_rawDescData = protoimpl.X.CompressGZIP(file_service_module_v1_module_proto_rawDescData) +func file_svc_module_v1_module_proto_rawDescGZIP() []byte { + file_svc_module_v1_module_proto_rawDescOnce.Do(func() { + file_svc_module_v1_module_proto_rawDescData = protoimpl.X.CompressGZIP(file_svc_module_v1_module_proto_rawDescData) }) - return file_service_module_v1_module_proto_rawDescData + return file_svc_module_v1_module_proto_rawDescData } -var file_service_module_v1_module_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_service_module_v1_module_proto_goTypes = []interface{}{ - (*Module)(nil), // 0: service.module.v1.Module +var file_svc_module_v1_module_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_svc_module_v1_module_proto_goTypes = []interface{}{ + (*Module)(nil), // 0: svc.module.v1.Module } -var file_service_module_v1_module_proto_depIdxs = []int32{ +var file_svc_module_v1_module_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for method output_type 0, // [0:0] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name @@ -460,13 +458,13 @@ var file_service_module_v1_module_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for field type_name } -func init() { file_service_module_v1_module_proto_init() } -func file_service_module_v1_module_proto_init() { - if File_service_module_v1_module_proto != nil { +func init() { file_svc_module_v1_module_proto_init() } +func file_svc_module_v1_module_proto_init() { + if File_svc_module_v1_module_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_service_module_v1_module_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_svc_module_v1_module_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Module); i { case 0: return &v.state @@ -483,18 +481,18 @@ func file_service_module_v1_module_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_service_module_v1_module_proto_rawDesc, + RawDescriptor: file_svc_module_v1_module_proto_rawDesc, NumEnums: 0, NumMessages: 1, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_service_module_v1_module_proto_goTypes, - DependencyIndexes: file_service_module_v1_module_proto_depIdxs, - MessageInfos: file_service_module_v1_module_proto_msgTypes, + GoTypes: file_svc_module_v1_module_proto_goTypes, + DependencyIndexes: file_svc_module_v1_module_proto_depIdxs, + MessageInfos: file_svc_module_v1_module_proto_msgTypes, }.Build() - File_service_module_v1_module_proto = out.File - file_service_module_v1_module_proto_rawDesc = nil - file_service_module_v1_module_proto_goTypes = nil - file_service_module_v1_module_proto_depIdxs = nil + File_svc_module_v1_module_proto = out.File + file_svc_module_v1_module_proto_rawDesc = nil + file_svc_module_v1_module_proto_goTypes = nil + file_svc_module_v1_module_proto_depIdxs = nil } diff --git a/api/service/v1/genesis.pulsar.go b/api/svc/v1/genesis.pulsar.go similarity index 86% rename from api/service/v1/genesis.pulsar.go rename to api/svc/v1/genesis.pulsar.go index 608d92d49..1a1a05e3d 100644 --- a/api/service/v1/genesis.pulsar.go +++ b/api/svc/v1/genesis.pulsar.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-pulsar. DO NOT EDIT. -package servicev1 +package svcv1 import ( _ "cosmossdk.io/api/amino" @@ -20,8 +20,8 @@ var ( ) func init() { - file_service_v1_genesis_proto_init() - md_GenesisState = File_service_v1_genesis_proto.Messages().ByName("GenesisState") + file_svc_v1_genesis_proto_init() + md_GenesisState = File_svc_v1_genesis_proto.Messages().ByName("GenesisState") fd_GenesisState_params = md_GenesisState.Fields().ByName("params") } @@ -34,7 +34,7 @@ func (x *GenesisState) ProtoReflect() protoreflect.Message { } func (x *GenesisState) slowProtoReflect() protoreflect.Message { - mi := &file_service_v1_genesis_proto_msgTypes[0] + mi := &file_svc_v1_genesis_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -111,13 +111,13 @@ func (x *fastReflection_GenesisState) Range(f func(protoreflect.FieldDescriptor, // a repeated field is populated if it is non-empty. func (x *fastReflection_GenesisState) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "service.v1.GenesisState.params": + case "svc.v1.GenesisState.params": return x.Params != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.GenesisState")) } - panic(fmt.Errorf("message service.v1.GenesisState does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.GenesisState does not contain field %s", fd.FullName())) } } @@ -129,13 +129,13 @@ func (x *fastReflection_GenesisState) Has(fd protoreflect.FieldDescriptor) bool // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_GenesisState) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "service.v1.GenesisState.params": + case "svc.v1.GenesisState.params": x.Params = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.GenesisState")) } - panic(fmt.Errorf("message service.v1.GenesisState does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.GenesisState does not contain field %s", fd.FullName())) } } @@ -147,14 +147,14 @@ func (x *fastReflection_GenesisState) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_GenesisState) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "service.v1.GenesisState.params": + case "svc.v1.GenesisState.params": value := x.Params return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.GenesisState")) } - panic(fmt.Errorf("message service.v1.GenesisState does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message svc.v1.GenesisState does not contain field %s", descriptor.FullName())) } } @@ -170,13 +170,13 @@ func (x *fastReflection_GenesisState) Get(descriptor protoreflect.FieldDescripto // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_GenesisState) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "service.v1.GenesisState.params": + case "svc.v1.GenesisState.params": x.Params = value.Message().Interface().(*Params) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.GenesisState")) } - panic(fmt.Errorf("message service.v1.GenesisState does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.GenesisState does not contain field %s", fd.FullName())) } } @@ -192,16 +192,16 @@ func (x *fastReflection_GenesisState) Set(fd protoreflect.FieldDescriptor, value // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_GenesisState) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "service.v1.GenesisState.params": + case "svc.v1.GenesisState.params": if x.Params == nil { x.Params = new(Params) } return protoreflect.ValueOfMessage(x.Params.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.GenesisState")) } - panic(fmt.Errorf("message service.v1.GenesisState does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.GenesisState does not contain field %s", fd.FullName())) } } @@ -210,14 +210,14 @@ func (x *fastReflection_GenesisState) Mutable(fd protoreflect.FieldDescriptor) p // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_GenesisState) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "service.v1.GenesisState.params": + case "svc.v1.GenesisState.params": m := new(Params) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.GenesisState")) } - panic(fmt.Errorf("message service.v1.GenesisState does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.GenesisState does not contain field %s", fd.FullName())) } } @@ -227,7 +227,7 @@ func (x *fastReflection_GenesisState) NewField(fd protoreflect.FieldDescriptor) func (x *fastReflection_GenesisState) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in service.v1.GenesisState", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in svc.v1.GenesisState", d.FullName())) } panic("unreachable") } @@ -456,8 +456,8 @@ var ( ) func init() { - file_service_v1_genesis_proto_init() - md_Params = File_service_v1_genesis_proto.Messages().ByName("Params") + file_svc_v1_genesis_proto_init() + md_Params = File_svc_v1_genesis_proto.Messages().ByName("Params") fd_Params_categories = md_Params.Fields().ByName("categories") fd_Params_types = md_Params.Fields().ByName("types") } @@ -471,7 +471,7 @@ func (x *Params) ProtoReflect() protoreflect.Message { } func (x *Params) slowProtoReflect() protoreflect.Message { - mi := &file_service_v1_genesis_proto_msgTypes[1] + mi := &file_svc_v1_genesis_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -554,15 +554,15 @@ func (x *fastReflection_Params) Range(f func(protoreflect.FieldDescriptor, proto // a repeated field is populated if it is non-empty. func (x *fastReflection_Params) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "service.v1.Params.categories": + case "svc.v1.Params.categories": return x.Categories != nil - case "service.v1.Params.types": + case "svc.v1.Params.types": return x.Types != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.Params")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.Params")) } - panic(fmt.Errorf("message service.v1.Params does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.Params does not contain field %s", fd.FullName())) } } @@ -574,15 +574,15 @@ func (x *fastReflection_Params) Has(fd protoreflect.FieldDescriptor) bool { // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Params) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "service.v1.Params.categories": + case "svc.v1.Params.categories": x.Categories = nil - case "service.v1.Params.types": + case "svc.v1.Params.types": x.Types = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.Params")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.Params")) } - panic(fmt.Errorf("message service.v1.Params does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.Params does not contain field %s", fd.FullName())) } } @@ -594,17 +594,17 @@ func (x *fastReflection_Params) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_Params) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "service.v1.Params.categories": + case "svc.v1.Params.categories": value := x.Categories return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "service.v1.Params.types": + case "svc.v1.Params.types": value := x.Types return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.Params")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.Params")) } - panic(fmt.Errorf("message service.v1.Params does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message svc.v1.Params does not contain field %s", descriptor.FullName())) } } @@ -620,15 +620,15 @@ func (x *fastReflection_Params) Get(descriptor protoreflect.FieldDescriptor) pro // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Params) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "service.v1.Params.categories": + case "svc.v1.Params.categories": x.Categories = value.Message().Interface().(*ServiceCategories) - case "service.v1.Params.types": + case "svc.v1.Params.types": x.Types = value.Message().Interface().(*ServiceTypes) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.Params")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.Params")) } - panic(fmt.Errorf("message service.v1.Params does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.Params does not contain field %s", fd.FullName())) } } @@ -644,21 +644,21 @@ func (x *fastReflection_Params) Set(fd protoreflect.FieldDescriptor, value proto // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Params) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "service.v1.Params.categories": + case "svc.v1.Params.categories": if x.Categories == nil { x.Categories = new(ServiceCategories) } return protoreflect.ValueOfMessage(x.Categories.ProtoReflect()) - case "service.v1.Params.types": + case "svc.v1.Params.types": if x.Types == nil { x.Types = new(ServiceTypes) } return protoreflect.ValueOfMessage(x.Types.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.Params")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.Params")) } - panic(fmt.Errorf("message service.v1.Params does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.Params does not contain field %s", fd.FullName())) } } @@ -667,17 +667,17 @@ func (x *fastReflection_Params) Mutable(fd protoreflect.FieldDescriptor) protore // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_Params) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "service.v1.Params.categories": + case "svc.v1.Params.categories": m := new(ServiceCategories) return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "service.v1.Params.types": + case "svc.v1.Params.types": m := new(ServiceTypes) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.Params")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.Params")) } - panic(fmt.Errorf("message service.v1.Params does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.Params does not contain field %s", fd.FullName())) } } @@ -687,7 +687,7 @@ func (x *fastReflection_Params) NewField(fd protoreflect.FieldDescriptor) protor func (x *fastReflection_Params) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in service.v1.Params", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in svc.v1.Params", d.FullName())) } panic("unreachable") } @@ -1015,8 +1015,8 @@ var ( ) func init() { - file_service_v1_genesis_proto_init() - md_ServiceCategories = File_service_v1_genesis_proto.Messages().ByName("ServiceCategories") + file_svc_v1_genesis_proto_init() + md_ServiceCategories = File_svc_v1_genesis_proto.Messages().ByName("ServiceCategories") fd_ServiceCategories_categories = md_ServiceCategories.Fields().ByName("categories") } @@ -1029,7 +1029,7 @@ func (x *ServiceCategories) ProtoReflect() protoreflect.Message { } func (x *ServiceCategories) slowProtoReflect() protoreflect.Message { - mi := &file_service_v1_genesis_proto_msgTypes[2] + mi := &file_svc_v1_genesis_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1106,13 +1106,13 @@ func (x *fastReflection_ServiceCategories) Range(f func(protoreflect.FieldDescri // a repeated field is populated if it is non-empty. func (x *fastReflection_ServiceCategories) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "service.v1.ServiceCategories.categories": + case "svc.v1.ServiceCategories.categories": return len(x.Categories) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.ServiceCategories")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.ServiceCategories")) } - panic(fmt.Errorf("message service.v1.ServiceCategories does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.ServiceCategories does not contain field %s", fd.FullName())) } } @@ -1124,13 +1124,13 @@ func (x *fastReflection_ServiceCategories) Has(fd protoreflect.FieldDescriptor) // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_ServiceCategories) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "service.v1.ServiceCategories.categories": + case "svc.v1.ServiceCategories.categories": x.Categories = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.ServiceCategories")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.ServiceCategories")) } - panic(fmt.Errorf("message service.v1.ServiceCategories does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.ServiceCategories does not contain field %s", fd.FullName())) } } @@ -1142,7 +1142,7 @@ func (x *fastReflection_ServiceCategories) Clear(fd protoreflect.FieldDescriptor // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_ServiceCategories) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "service.v1.ServiceCategories.categories": + case "svc.v1.ServiceCategories.categories": if len(x.Categories) == 0 { return protoreflect.ValueOfList(&_ServiceCategories_1_list{}) } @@ -1150,9 +1150,9 @@ func (x *fastReflection_ServiceCategories) Get(descriptor protoreflect.FieldDesc return protoreflect.ValueOfList(listValue) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.ServiceCategories")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.ServiceCategories")) } - panic(fmt.Errorf("message service.v1.ServiceCategories does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message svc.v1.ServiceCategories does not contain field %s", descriptor.FullName())) } } @@ -1168,15 +1168,15 @@ func (x *fastReflection_ServiceCategories) Get(descriptor protoreflect.FieldDesc // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_ServiceCategories) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "service.v1.ServiceCategories.categories": + case "svc.v1.ServiceCategories.categories": lv := value.List() clv := lv.(*_ServiceCategories_1_list) x.Categories = *clv.list default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.ServiceCategories")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.ServiceCategories")) } - panic(fmt.Errorf("message service.v1.ServiceCategories does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.ServiceCategories does not contain field %s", fd.FullName())) } } @@ -1192,7 +1192,7 @@ func (x *fastReflection_ServiceCategories) Set(fd protoreflect.FieldDescriptor, // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_ServiceCategories) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "service.v1.ServiceCategories.categories": + case "svc.v1.ServiceCategories.categories": if x.Categories == nil { x.Categories = []string{} } @@ -1200,9 +1200,9 @@ func (x *fastReflection_ServiceCategories) Mutable(fd protoreflect.FieldDescript return protoreflect.ValueOfList(value) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.ServiceCategories")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.ServiceCategories")) } - panic(fmt.Errorf("message service.v1.ServiceCategories does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.ServiceCategories does not contain field %s", fd.FullName())) } } @@ -1211,14 +1211,14 @@ func (x *fastReflection_ServiceCategories) Mutable(fd protoreflect.FieldDescript // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_ServiceCategories) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "service.v1.ServiceCategories.categories": + case "svc.v1.ServiceCategories.categories": list := []string{} return protoreflect.ValueOfList(&_ServiceCategories_1_list{list: &list}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.ServiceCategories")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.ServiceCategories")) } - panic(fmt.Errorf("message service.v1.ServiceCategories does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.ServiceCategories does not contain field %s", fd.FullName())) } } @@ -1228,7 +1228,7 @@ func (x *fastReflection_ServiceCategories) NewField(fd protoreflect.FieldDescrip func (x *fastReflection_ServiceCategories) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in service.v1.ServiceCategories", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in svc.v1.ServiceCategories", d.FullName())) } panic("unreachable") } @@ -1495,8 +1495,8 @@ var ( ) func init() { - file_service_v1_genesis_proto_init() - md_ServiceTypes = File_service_v1_genesis_proto.Messages().ByName("ServiceTypes") + file_svc_v1_genesis_proto_init() + md_ServiceTypes = File_svc_v1_genesis_proto.Messages().ByName("ServiceTypes") fd_ServiceTypes_types = md_ServiceTypes.Fields().ByName("types") } @@ -1509,7 +1509,7 @@ func (x *ServiceTypes) ProtoReflect() protoreflect.Message { } func (x *ServiceTypes) slowProtoReflect() protoreflect.Message { - mi := &file_service_v1_genesis_proto_msgTypes[3] + mi := &file_svc_v1_genesis_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1586,13 +1586,13 @@ func (x *fastReflection_ServiceTypes) Range(f func(protoreflect.FieldDescriptor, // a repeated field is populated if it is non-empty. func (x *fastReflection_ServiceTypes) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "service.v1.ServiceTypes.types": + case "svc.v1.ServiceTypes.types": return len(x.Types) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.ServiceTypes")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.ServiceTypes")) } - panic(fmt.Errorf("message service.v1.ServiceTypes does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.ServiceTypes does not contain field %s", fd.FullName())) } } @@ -1604,13 +1604,13 @@ func (x *fastReflection_ServiceTypes) Has(fd protoreflect.FieldDescriptor) bool // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_ServiceTypes) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "service.v1.ServiceTypes.types": + case "svc.v1.ServiceTypes.types": x.Types = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.ServiceTypes")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.ServiceTypes")) } - panic(fmt.Errorf("message service.v1.ServiceTypes does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.ServiceTypes does not contain field %s", fd.FullName())) } } @@ -1622,7 +1622,7 @@ func (x *fastReflection_ServiceTypes) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_ServiceTypes) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "service.v1.ServiceTypes.types": + case "svc.v1.ServiceTypes.types": if len(x.Types) == 0 { return protoreflect.ValueOfList(&_ServiceTypes_1_list{}) } @@ -1630,9 +1630,9 @@ func (x *fastReflection_ServiceTypes) Get(descriptor protoreflect.FieldDescripto return protoreflect.ValueOfList(listValue) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.ServiceTypes")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.ServiceTypes")) } - panic(fmt.Errorf("message service.v1.ServiceTypes does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message svc.v1.ServiceTypes does not contain field %s", descriptor.FullName())) } } @@ -1648,15 +1648,15 @@ func (x *fastReflection_ServiceTypes) Get(descriptor protoreflect.FieldDescripto // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_ServiceTypes) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "service.v1.ServiceTypes.types": + case "svc.v1.ServiceTypes.types": lv := value.List() clv := lv.(*_ServiceTypes_1_list) x.Types = *clv.list default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.ServiceTypes")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.ServiceTypes")) } - panic(fmt.Errorf("message service.v1.ServiceTypes does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.ServiceTypes does not contain field %s", fd.FullName())) } } @@ -1672,7 +1672,7 @@ func (x *fastReflection_ServiceTypes) Set(fd protoreflect.FieldDescriptor, value // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_ServiceTypes) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "service.v1.ServiceTypes.types": + case "svc.v1.ServiceTypes.types": if x.Types == nil { x.Types = []string{} } @@ -1680,9 +1680,9 @@ func (x *fastReflection_ServiceTypes) Mutable(fd protoreflect.FieldDescriptor) p return protoreflect.ValueOfList(value) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.ServiceTypes")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.ServiceTypes")) } - panic(fmt.Errorf("message service.v1.ServiceTypes does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.ServiceTypes does not contain field %s", fd.FullName())) } } @@ -1691,14 +1691,14 @@ func (x *fastReflection_ServiceTypes) Mutable(fd protoreflect.FieldDescriptor) p // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_ServiceTypes) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "service.v1.ServiceTypes.types": + case "svc.v1.ServiceTypes.types": list := []string{} return protoreflect.ValueOfList(&_ServiceTypes_1_list{list: &list}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.ServiceTypes")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.ServiceTypes")) } - panic(fmt.Errorf("message service.v1.ServiceTypes does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.ServiceTypes does not contain field %s", fd.FullName())) } } @@ -1708,7 +1708,7 @@ func (x *fastReflection_ServiceTypes) NewField(fd protoreflect.FieldDescriptor) func (x *fastReflection_ServiceTypes) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in service.v1.ServiceTypes", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in svc.v1.ServiceTypes", d.FullName())) } panic("unreachable") } @@ -1982,8 +1982,8 @@ var ( ) func init() { - file_service_v1_genesis_proto_init() - md_Service = File_service_v1_genesis_proto.Messages().ByName("Service") + file_svc_v1_genesis_proto_init() + md_Service = File_svc_v1_genesis_proto.Messages().ByName("Service") fd_Service_id = md_Service.Fields().ByName("id") fd_Service_authority = md_Service.Fields().ByName("authority") fd_Service_origin = md_Service.Fields().ByName("origin") @@ -2003,7 +2003,7 @@ func (x *Service) ProtoReflect() protoreflect.Message { } func (x *Service) slowProtoReflect() protoreflect.Message { - mi := &file_service_v1_genesis_proto_msgTypes[4] + mi := &file_svc_v1_genesis_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2122,27 +2122,27 @@ func (x *fastReflection_Service) Range(f func(protoreflect.FieldDescriptor, prot // a repeated field is populated if it is non-empty. func (x *fastReflection_Service) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "service.v1.Service.id": + case "svc.v1.Service.id": return x.Id != "" - case "service.v1.Service.authority": + case "svc.v1.Service.authority": return x.Authority != "" - case "service.v1.Service.origin": + case "svc.v1.Service.origin": return x.Origin != "" - case "service.v1.Service.name": + case "svc.v1.Service.name": return x.Name != "" - case "service.v1.Service.description": + case "svc.v1.Service.description": return x.Description != "" - case "service.v1.Service.category": + case "svc.v1.Service.category": return x.Category != "" - case "service.v1.Service.tags": + case "svc.v1.Service.tags": return len(x.Tags) != 0 - case "service.v1.Service.expiry_height": + case "svc.v1.Service.expiry_height": return x.ExpiryHeight != int64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.Service")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.Service")) } - panic(fmt.Errorf("message service.v1.Service does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.Service does not contain field %s", fd.FullName())) } } @@ -2154,27 +2154,27 @@ func (x *fastReflection_Service) Has(fd protoreflect.FieldDescriptor) bool { // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Service) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "service.v1.Service.id": + case "svc.v1.Service.id": x.Id = "" - case "service.v1.Service.authority": + case "svc.v1.Service.authority": x.Authority = "" - case "service.v1.Service.origin": + case "svc.v1.Service.origin": x.Origin = "" - case "service.v1.Service.name": + case "svc.v1.Service.name": x.Name = "" - case "service.v1.Service.description": + case "svc.v1.Service.description": x.Description = "" - case "service.v1.Service.category": + case "svc.v1.Service.category": x.Category = "" - case "service.v1.Service.tags": + case "svc.v1.Service.tags": x.Tags = nil - case "service.v1.Service.expiry_height": + case "svc.v1.Service.expiry_height": x.ExpiryHeight = int64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.Service")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.Service")) } - panic(fmt.Errorf("message service.v1.Service does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.Service does not contain field %s", fd.FullName())) } } @@ -2186,38 +2186,38 @@ func (x *fastReflection_Service) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_Service) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "service.v1.Service.id": + case "svc.v1.Service.id": value := x.Id return protoreflect.ValueOfString(value) - case "service.v1.Service.authority": + case "svc.v1.Service.authority": value := x.Authority return protoreflect.ValueOfString(value) - case "service.v1.Service.origin": + case "svc.v1.Service.origin": value := x.Origin return protoreflect.ValueOfString(value) - case "service.v1.Service.name": + case "svc.v1.Service.name": value := x.Name return protoreflect.ValueOfString(value) - case "service.v1.Service.description": + case "svc.v1.Service.description": value := x.Description return protoreflect.ValueOfString(value) - case "service.v1.Service.category": + case "svc.v1.Service.category": value := x.Category return protoreflect.ValueOfString(value) - case "service.v1.Service.tags": + case "svc.v1.Service.tags": if len(x.Tags) == 0 { return protoreflect.ValueOfList(&_Service_7_list{}) } listValue := &_Service_7_list{list: &x.Tags} return protoreflect.ValueOfList(listValue) - case "service.v1.Service.expiry_height": + case "svc.v1.Service.expiry_height": value := x.ExpiryHeight return protoreflect.ValueOfInt64(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.Service")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.Service")) } - panic(fmt.Errorf("message service.v1.Service does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message svc.v1.Service does not contain field %s", descriptor.FullName())) } } @@ -2233,29 +2233,29 @@ func (x *fastReflection_Service) Get(descriptor protoreflect.FieldDescriptor) pr // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Service) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "service.v1.Service.id": + case "svc.v1.Service.id": x.Id = value.Interface().(string) - case "service.v1.Service.authority": + case "svc.v1.Service.authority": x.Authority = value.Interface().(string) - case "service.v1.Service.origin": + case "svc.v1.Service.origin": x.Origin = value.Interface().(string) - case "service.v1.Service.name": + case "svc.v1.Service.name": x.Name = value.Interface().(string) - case "service.v1.Service.description": + case "svc.v1.Service.description": x.Description = value.Interface().(string) - case "service.v1.Service.category": + case "svc.v1.Service.category": x.Category = value.Interface().(string) - case "service.v1.Service.tags": + case "svc.v1.Service.tags": lv := value.List() clv := lv.(*_Service_7_list) x.Tags = *clv.list - case "service.v1.Service.expiry_height": + case "svc.v1.Service.expiry_height": x.ExpiryHeight = value.Int() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.Service")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.Service")) } - panic(fmt.Errorf("message service.v1.Service does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.Service does not contain field %s", fd.FullName())) } } @@ -2271,31 +2271,31 @@ func (x *fastReflection_Service) Set(fd protoreflect.FieldDescriptor, value prot // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Service) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "service.v1.Service.tags": + case "svc.v1.Service.tags": if x.Tags == nil { x.Tags = []string{} } value := &_Service_7_list{list: &x.Tags} return protoreflect.ValueOfList(value) - case "service.v1.Service.id": - panic(fmt.Errorf("field id of message service.v1.Service is not mutable")) - case "service.v1.Service.authority": - panic(fmt.Errorf("field authority of message service.v1.Service is not mutable")) - case "service.v1.Service.origin": - panic(fmt.Errorf("field origin of message service.v1.Service is not mutable")) - case "service.v1.Service.name": - panic(fmt.Errorf("field name of message service.v1.Service is not mutable")) - case "service.v1.Service.description": - panic(fmt.Errorf("field description of message service.v1.Service is not mutable")) - case "service.v1.Service.category": - panic(fmt.Errorf("field category of message service.v1.Service is not mutable")) - case "service.v1.Service.expiry_height": - panic(fmt.Errorf("field expiry_height of message service.v1.Service is not mutable")) + case "svc.v1.Service.id": + panic(fmt.Errorf("field id of message svc.v1.Service is not mutable")) + case "svc.v1.Service.authority": + panic(fmt.Errorf("field authority of message svc.v1.Service is not mutable")) + case "svc.v1.Service.origin": + panic(fmt.Errorf("field origin of message svc.v1.Service is not mutable")) + case "svc.v1.Service.name": + panic(fmt.Errorf("field name of message svc.v1.Service is not mutable")) + case "svc.v1.Service.description": + panic(fmt.Errorf("field description of message svc.v1.Service is not mutable")) + case "svc.v1.Service.category": + panic(fmt.Errorf("field category of message svc.v1.Service is not mutable")) + case "svc.v1.Service.expiry_height": + panic(fmt.Errorf("field expiry_height of message svc.v1.Service is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.Service")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.Service")) } - panic(fmt.Errorf("message service.v1.Service does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.Service does not contain field %s", fd.FullName())) } } @@ -2304,28 +2304,28 @@ func (x *fastReflection_Service) Mutable(fd protoreflect.FieldDescriptor) protor // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_Service) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "service.v1.Service.id": + case "svc.v1.Service.id": return protoreflect.ValueOfString("") - case "service.v1.Service.authority": + case "svc.v1.Service.authority": return protoreflect.ValueOfString("") - case "service.v1.Service.origin": + case "svc.v1.Service.origin": return protoreflect.ValueOfString("") - case "service.v1.Service.name": + case "svc.v1.Service.name": return protoreflect.ValueOfString("") - case "service.v1.Service.description": + case "svc.v1.Service.description": return protoreflect.ValueOfString("") - case "service.v1.Service.category": + case "svc.v1.Service.category": return protoreflect.ValueOfString("") - case "service.v1.Service.tags": + case "svc.v1.Service.tags": list := []string{} return protoreflect.ValueOfList(&_Service_7_list{list: &list}) - case "service.v1.Service.expiry_height": + case "svc.v1.Service.expiry_height": return protoreflect.ValueOfInt64(int64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.Service")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.Service")) } - panic(fmt.Errorf("message service.v1.Service does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.Service does not contain field %s", fd.FullName())) } } @@ -2335,7 +2335,7 @@ func (x *fastReflection_Service) NewField(fd protoreflect.FieldDescriptor) proto func (x *fastReflection_Service) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in service.v1.Service", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in svc.v1.Service", d.FullName())) } panic("unreachable") } @@ -2839,7 +2839,7 @@ func (x *fastReflection_Service) ProtoMethods() *protoiface.Methods { // versions: // protoc-gen-go v1.27.0 // protoc (unknown) -// source: service/v1/genesis.proto +// source: svc/v1/genesis.proto const ( // Verify that this generated code is sufficiently up-to-date. @@ -2861,7 +2861,7 @@ type GenesisState struct { func (x *GenesisState) Reset() { *x = GenesisState{} if protoimpl.UnsafeEnabled { - mi := &file_service_v1_genesis_proto_msgTypes[0] + mi := &file_svc_v1_genesis_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2875,7 +2875,7 @@ func (*GenesisState) ProtoMessage() {} // Deprecated: Use GenesisState.ProtoReflect.Descriptor instead. func (*GenesisState) Descriptor() ([]byte, []int) { - return file_service_v1_genesis_proto_rawDescGZIP(), []int{0} + return file_svc_v1_genesis_proto_rawDescGZIP(), []int{0} } func (x *GenesisState) GetParams() *Params { @@ -2898,7 +2898,7 @@ type Params struct { func (x *Params) Reset() { *x = Params{} if protoimpl.UnsafeEnabled { - mi := &file_service_v1_genesis_proto_msgTypes[1] + mi := &file_svc_v1_genesis_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2912,7 +2912,7 @@ func (*Params) ProtoMessage() {} // Deprecated: Use Params.ProtoReflect.Descriptor instead. func (*Params) Descriptor() ([]byte, []int) { - return file_service_v1_genesis_proto_rawDescGZIP(), []int{1} + return file_svc_v1_genesis_proto_rawDescGZIP(), []int{1} } func (x *Params) GetCategories() *ServiceCategories { @@ -2940,7 +2940,7 @@ type ServiceCategories struct { func (x *ServiceCategories) Reset() { *x = ServiceCategories{} if protoimpl.UnsafeEnabled { - mi := &file_service_v1_genesis_proto_msgTypes[2] + mi := &file_svc_v1_genesis_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2954,7 +2954,7 @@ func (*ServiceCategories) ProtoMessage() {} // Deprecated: Use ServiceCategories.ProtoReflect.Descriptor instead. func (*ServiceCategories) Descriptor() ([]byte, []int) { - return file_service_v1_genesis_proto_rawDescGZIP(), []int{2} + return file_svc_v1_genesis_proto_rawDescGZIP(), []int{2} } func (x *ServiceCategories) GetCategories() []string { @@ -2975,7 +2975,7 @@ type ServiceTypes struct { func (x *ServiceTypes) Reset() { *x = ServiceTypes{} if protoimpl.UnsafeEnabled { - mi := &file_service_v1_genesis_proto_msgTypes[3] + mi := &file_svc_v1_genesis_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2989,7 +2989,7 @@ func (*ServiceTypes) ProtoMessage() {} // Deprecated: Use ServiceTypes.ProtoReflect.Descriptor instead. func (*ServiceTypes) Descriptor() ([]byte, []int) { - return file_service_v1_genesis_proto_rawDescGZIP(), []int{3} + return file_svc_v1_genesis_proto_rawDescGZIP(), []int{3} } func (x *ServiceTypes) GetTypes() []string { @@ -3018,7 +3018,7 @@ type Service struct { func (x *Service) Reset() { *x = Service{} if protoimpl.UnsafeEnabled { - mi := &file_service_v1_genesis_proto_msgTypes[4] + mi := &file_svc_v1_genesis_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3032,7 +3032,7 @@ func (*Service) ProtoMessage() {} // Deprecated: Use Service.ProtoReflect.Descriptor instead. func (*Service) Descriptor() ([]byte, []int) { - return file_service_v1_genesis_proto_rawDescGZIP(), []int{4} + return file_svc_v1_genesis_proto_rawDescGZIP(), []int{4} } func (x *Service) GetId() string { @@ -3091,87 +3091,84 @@ func (x *Service) GetExpiryHeight() int64 { return 0 } -var File_service_v1_genesis_proto protoreflect.FileDescriptor +var File_svc_v1_genesis_proto protoreflect.FileDescriptor -var file_service_v1_genesis_proto_rawDesc = []byte{ - 0x0a, 0x18, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, 0x6e, - 0x65, 0x73, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x11, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2f, 0x61, 0x6d, - 0x69, 0x6e, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, - 0x40, 0x0a, 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, - 0x30, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x12, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, - 0x61, 0x6d, 0x73, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, - 0x73, 0x22, 0x94, 0x01, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x3d, 0x0a, 0x0a, - 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, +var file_svc_v1_genesis_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x1a, 0x14, + 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2f, 0x61, 0x6d, 0x69, 0x6e, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3c, 0x0a, 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x73, + 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2c, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, + 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x70, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x8c, 0x01, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, + 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x52, - 0x0a, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12, 0x2e, 0x0a, 0x05, 0x74, - 0x79, 0x70, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, - 0x79, 0x70, 0x65, 0x73, 0x52, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x3a, 0x1b, 0x98, 0xa0, 0x1f, - 0x00, 0xe8, 0xa0, 0x1f, 0x01, 0x8a, 0xe7, 0xb0, 0x2a, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x50, 0x0a, 0x11, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12, 0x1e, 0x0a, - 0x0a, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x09, 0x52, 0x0a, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x3a, 0x1b, 0xe8, - 0xa0, 0x1f, 0x01, 0x8a, 0xe7, 0xb0, 0x2a, 0x12, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, - 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x22, 0x3c, 0x0a, 0x0c, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x79, - 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, - 0x3a, 0x16, 0xe8, 0xa0, 0x1f, 0x01, 0x8a, 0xe7, 0xb0, 0x2a, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x22, 0xda, 0x01, 0x0a, 0x07, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x02, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, - 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, - 0x74, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, - 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, - 0x74, 0x61, 0x67, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, - 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, - 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x48, - 0x65, 0x69, 0x67, 0x68, 0x74, 0x42, 0x98, 0x01, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, - 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, - 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x6e, 0x73, 0x6f, 0x6e, 0x72, 0x2f, 0x73, 0x6f, 0x6e, 0x72, - 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x3b, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, - 0x02, 0x0a, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0a, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x16, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0xea, 0x02, 0x0b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x3a, 0x3a, 0x56, 0x31, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x0a, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12, 0x2a, 0x0a, 0x05, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x73, 0x76, 0x63, + 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, + 0x52, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x3a, 0x1b, 0x98, 0xa0, 0x1f, 0x00, 0xe8, 0xa0, 0x1f, + 0x01, 0x8a, 0xe7, 0xb0, 0x2a, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x70, 0x61, + 0x72, 0x61, 0x6d, 0x73, 0x22, 0x50, 0x0a, 0x11, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, + 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x61, 0x74, + 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, + 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x3a, 0x1b, 0xe8, 0xa0, 0x1f, 0x01, 0x8a, + 0xe7, 0xb0, 0x2a, 0x12, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x74, 0x65, + 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x22, 0x3c, 0x0a, 0x0c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x3a, 0x16, 0xe8, 0xa0, + 0x1f, 0x01, 0x8a, 0xe7, 0xb0, 0x2a, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x22, 0xda, 0x01, 0x0a, 0x07, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, + 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x16, + 0x0a, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, + 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, + 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, + 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, + 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x23, 0x0a, 0x0d, + 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0c, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x48, 0x65, 0x69, 0x67, 0x68, + 0x74, 0x42, 0x7c, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x42, + 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, + 0x27, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x6e, 0x73, 0x6f, + 0x6e, 0x72, 0x2f, 0x73, 0x6f, 0x6e, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x76, 0x63, 0x2f, + 0x76, 0x31, 0x3b, 0x73, 0x76, 0x63, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, + 0x06, 0x53, 0x76, 0x63, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x06, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, + 0xe2, 0x02, 0x12, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x07, 0x53, 0x76, 0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_service_v1_genesis_proto_rawDescOnce sync.Once - file_service_v1_genesis_proto_rawDescData = file_service_v1_genesis_proto_rawDesc + file_svc_v1_genesis_proto_rawDescOnce sync.Once + file_svc_v1_genesis_proto_rawDescData = file_svc_v1_genesis_proto_rawDesc ) -func file_service_v1_genesis_proto_rawDescGZIP() []byte { - file_service_v1_genesis_proto_rawDescOnce.Do(func() { - file_service_v1_genesis_proto_rawDescData = protoimpl.X.CompressGZIP(file_service_v1_genesis_proto_rawDescData) +func file_svc_v1_genesis_proto_rawDescGZIP() []byte { + file_svc_v1_genesis_proto_rawDescOnce.Do(func() { + file_svc_v1_genesis_proto_rawDescData = protoimpl.X.CompressGZIP(file_svc_v1_genesis_proto_rawDescData) }) - return file_service_v1_genesis_proto_rawDescData + return file_svc_v1_genesis_proto_rawDescData } -var file_service_v1_genesis_proto_msgTypes = make([]protoimpl.MessageInfo, 5) -var file_service_v1_genesis_proto_goTypes = []interface{}{ - (*GenesisState)(nil), // 0: service.v1.GenesisState - (*Params)(nil), // 1: service.v1.Params - (*ServiceCategories)(nil), // 2: service.v1.ServiceCategories - (*ServiceTypes)(nil), // 3: service.v1.ServiceTypes - (*Service)(nil), // 4: service.v1.Service +var file_svc_v1_genesis_proto_msgTypes = make([]protoimpl.MessageInfo, 5) +var file_svc_v1_genesis_proto_goTypes = []interface{}{ + (*GenesisState)(nil), // 0: svc.v1.GenesisState + (*Params)(nil), // 1: svc.v1.Params + (*ServiceCategories)(nil), // 2: svc.v1.ServiceCategories + (*ServiceTypes)(nil), // 3: svc.v1.ServiceTypes + (*Service)(nil), // 4: svc.v1.Service } -var file_service_v1_genesis_proto_depIdxs = []int32{ - 1, // 0: service.v1.GenesisState.params:type_name -> service.v1.Params - 2, // 1: service.v1.Params.categories:type_name -> service.v1.ServiceCategories - 3, // 2: service.v1.Params.types:type_name -> service.v1.ServiceTypes +var file_svc_v1_genesis_proto_depIdxs = []int32{ + 1, // 0: svc.v1.GenesisState.params:type_name -> svc.v1.Params + 2, // 1: svc.v1.Params.categories:type_name -> svc.v1.ServiceCategories + 3, // 2: svc.v1.Params.types:type_name -> svc.v1.ServiceTypes 3, // [3:3] is the sub-list for method output_type 3, // [3:3] is the sub-list for method input_type 3, // [3:3] is the sub-list for extension type_name @@ -3179,13 +3176,13 @@ var file_service_v1_genesis_proto_depIdxs = []int32{ 0, // [0:3] is the sub-list for field type_name } -func init() { file_service_v1_genesis_proto_init() } -func file_service_v1_genesis_proto_init() { - if File_service_v1_genesis_proto != nil { +func init() { file_svc_v1_genesis_proto_init() } +func file_svc_v1_genesis_proto_init() { + if File_svc_v1_genesis_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_service_v1_genesis_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_svc_v1_genesis_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GenesisState); i { case 0: return &v.state @@ -3197,7 +3194,7 @@ func file_service_v1_genesis_proto_init() { return nil } } - file_service_v1_genesis_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_svc_v1_genesis_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Params); i { case 0: return &v.state @@ -3209,7 +3206,7 @@ func file_service_v1_genesis_proto_init() { return nil } } - file_service_v1_genesis_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_svc_v1_genesis_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ServiceCategories); i { case 0: return &v.state @@ -3221,7 +3218,7 @@ func file_service_v1_genesis_proto_init() { return nil } } - file_service_v1_genesis_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_svc_v1_genesis_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ServiceTypes); i { case 0: return &v.state @@ -3233,7 +3230,7 @@ func file_service_v1_genesis_proto_init() { return nil } } - file_service_v1_genesis_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_svc_v1_genesis_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Service); i { case 0: return &v.state @@ -3250,18 +3247,18 @@ func file_service_v1_genesis_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_service_v1_genesis_proto_rawDesc, + RawDescriptor: file_svc_v1_genesis_proto_rawDesc, NumEnums: 0, NumMessages: 5, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_service_v1_genesis_proto_goTypes, - DependencyIndexes: file_service_v1_genesis_proto_depIdxs, - MessageInfos: file_service_v1_genesis_proto_msgTypes, + GoTypes: file_svc_v1_genesis_proto_goTypes, + DependencyIndexes: file_svc_v1_genesis_proto_depIdxs, + MessageInfos: file_svc_v1_genesis_proto_msgTypes, }.Build() - File_service_v1_genesis_proto = out.File - file_service_v1_genesis_proto_rawDesc = nil - file_service_v1_genesis_proto_goTypes = nil - file_service_v1_genesis_proto_depIdxs = nil + File_svc_v1_genesis_proto = out.File + file_svc_v1_genesis_proto_rawDesc = nil + file_svc_v1_genesis_proto_goTypes = nil + file_svc_v1_genesis_proto_depIdxs = nil } diff --git a/api/service/v1/query.pulsar.go b/api/svc/v1/query.pulsar.go similarity index 80% rename from api/service/v1/query.pulsar.go rename to api/svc/v1/query.pulsar.go index e2f65cead..88deef4ac 100644 --- a/api/service/v1/query.pulsar.go +++ b/api/svc/v1/query.pulsar.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-pulsar. DO NOT EDIT. -package servicev1 +package svcv1 import ( fmt "fmt" @@ -18,8 +18,8 @@ var ( ) func init() { - file_service_v1_query_proto_init() - md_QueryParamsRequest = File_service_v1_query_proto.Messages().ByName("QueryParamsRequest") + file_svc_v1_query_proto_init() + md_QueryParamsRequest = File_svc_v1_query_proto.Messages().ByName("QueryParamsRequest") } var _ protoreflect.Message = (*fastReflection_QueryParamsRequest)(nil) @@ -31,7 +31,7 @@ func (x *QueryParamsRequest) ProtoReflect() protoreflect.Message { } func (x *QueryParamsRequest) slowProtoReflect() protoreflect.Message { - mi := &file_service_v1_query_proto_msgTypes[0] + mi := &file_svc_v1_query_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -104,9 +104,9 @@ func (x *fastReflection_QueryParamsRequest) Has(fd protoreflect.FieldDescriptor) switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.QueryParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.QueryParamsRequest")) } - panic(fmt.Errorf("message service.v1.QueryParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.QueryParamsRequest does not contain field %s", fd.FullName())) } } @@ -120,9 +120,9 @@ func (x *fastReflection_QueryParamsRequest) Clear(fd protoreflect.FieldDescripto switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.QueryParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.QueryParamsRequest")) } - panic(fmt.Errorf("message service.v1.QueryParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.QueryParamsRequest does not contain field %s", fd.FullName())) } } @@ -136,9 +136,9 @@ func (x *fastReflection_QueryParamsRequest) Get(descriptor protoreflect.FieldDes switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.QueryParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.QueryParamsRequest")) } - panic(fmt.Errorf("message service.v1.QueryParamsRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message svc.v1.QueryParamsRequest does not contain field %s", descriptor.FullName())) } } @@ -156,9 +156,9 @@ func (x *fastReflection_QueryParamsRequest) Set(fd protoreflect.FieldDescriptor, switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.QueryParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.QueryParamsRequest")) } - panic(fmt.Errorf("message service.v1.QueryParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.QueryParamsRequest does not contain field %s", fd.FullName())) } } @@ -176,9 +176,9 @@ func (x *fastReflection_QueryParamsRequest) Mutable(fd protoreflect.FieldDescrip switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.QueryParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.QueryParamsRequest")) } - panic(fmt.Errorf("message service.v1.QueryParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.QueryParamsRequest does not contain field %s", fd.FullName())) } } @@ -189,9 +189,9 @@ func (x *fastReflection_QueryParamsRequest) NewField(fd protoreflect.FieldDescri switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.QueryParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.QueryParamsRequest")) } - panic(fmt.Errorf("message service.v1.QueryParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.QueryParamsRequest does not contain field %s", fd.FullName())) } } @@ -201,7 +201,7 @@ func (x *fastReflection_QueryParamsRequest) NewField(fd protoreflect.FieldDescri func (x *fastReflection_QueryParamsRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in service.v1.QueryParamsRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in svc.v1.QueryParamsRequest", d.FullName())) } panic("unreachable") } @@ -375,8 +375,8 @@ var ( ) func init() { - file_service_v1_query_proto_init() - md_QueryParamsResponse = File_service_v1_query_proto.Messages().ByName("QueryParamsResponse") + file_svc_v1_query_proto_init() + md_QueryParamsResponse = File_svc_v1_query_proto.Messages().ByName("QueryParamsResponse") fd_QueryParamsResponse_params = md_QueryParamsResponse.Fields().ByName("params") } @@ -389,7 +389,7 @@ func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message { } func (x *QueryParamsResponse) slowProtoReflect() protoreflect.Message { - mi := &file_service_v1_query_proto_msgTypes[1] + mi := &file_svc_v1_query_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -466,13 +466,13 @@ func (x *fastReflection_QueryParamsResponse) Range(f func(protoreflect.FieldDesc // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryParamsResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "service.v1.QueryParamsResponse.params": + case "svc.v1.QueryParamsResponse.params": return x.Params != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.QueryParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.QueryParamsResponse")) } - panic(fmt.Errorf("message service.v1.QueryParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.QueryParamsResponse does not contain field %s", fd.FullName())) } } @@ -484,13 +484,13 @@ func (x *fastReflection_QueryParamsResponse) Has(fd protoreflect.FieldDescriptor // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryParamsResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "service.v1.QueryParamsResponse.params": + case "svc.v1.QueryParamsResponse.params": x.Params = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.QueryParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.QueryParamsResponse")) } - panic(fmt.Errorf("message service.v1.QueryParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.QueryParamsResponse does not contain field %s", fd.FullName())) } } @@ -502,14 +502,14 @@ func (x *fastReflection_QueryParamsResponse) Clear(fd protoreflect.FieldDescript // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryParamsResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "service.v1.QueryParamsResponse.params": + case "svc.v1.QueryParamsResponse.params": value := x.Params return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.QueryParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.QueryParamsResponse")) } - panic(fmt.Errorf("message service.v1.QueryParamsResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message svc.v1.QueryParamsResponse does not contain field %s", descriptor.FullName())) } } @@ -525,13 +525,13 @@ func (x *fastReflection_QueryParamsResponse) Get(descriptor protoreflect.FieldDe // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryParamsResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "service.v1.QueryParamsResponse.params": + case "svc.v1.QueryParamsResponse.params": x.Params = value.Message().Interface().(*Params) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.QueryParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.QueryParamsResponse")) } - panic(fmt.Errorf("message service.v1.QueryParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.QueryParamsResponse does not contain field %s", fd.FullName())) } } @@ -547,16 +547,16 @@ func (x *fastReflection_QueryParamsResponse) Set(fd protoreflect.FieldDescriptor // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryParamsResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "service.v1.QueryParamsResponse.params": + case "svc.v1.QueryParamsResponse.params": if x.Params == nil { x.Params = new(Params) } return protoreflect.ValueOfMessage(x.Params.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.QueryParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.QueryParamsResponse")) } - panic(fmt.Errorf("message service.v1.QueryParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.QueryParamsResponse does not contain field %s", fd.FullName())) } } @@ -565,14 +565,14 @@ func (x *fastReflection_QueryParamsResponse) Mutable(fd protoreflect.FieldDescri // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryParamsResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "service.v1.QueryParamsResponse.params": + case "svc.v1.QueryParamsResponse.params": m := new(Params) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.QueryParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.QueryParamsResponse")) } - panic(fmt.Errorf("message service.v1.QueryParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.QueryParamsResponse does not contain field %s", fd.FullName())) } } @@ -582,7 +582,7 @@ func (x *fastReflection_QueryParamsResponse) NewField(fd protoreflect.FieldDescr func (x *fastReflection_QueryParamsResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in service.v1.QueryParamsResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in svc.v1.QueryParamsResponse", d.FullName())) } panic("unreachable") } @@ -808,7 +808,7 @@ func (x *fastReflection_QueryParamsResponse) ProtoMethods() *protoiface.Methods // versions: // protoc-gen-go v1.27.0 // protoc (unknown) -// source: service/v1/query.proto +// source: svc/v1/query.proto const ( // Verify that this generated code is sufficiently up-to-date. @@ -827,7 +827,7 @@ type QueryParamsRequest struct { func (x *QueryParamsRequest) Reset() { *x = QueryParamsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_v1_query_proto_msgTypes[0] + mi := &file_svc_v1_query_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -841,7 +841,7 @@ func (*QueryParamsRequest) ProtoMessage() {} // Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead. func (*QueryParamsRequest) Descriptor() ([]byte, []int) { - return file_service_v1_query_proto_rawDescGZIP(), []int{0} + return file_svc_v1_query_proto_rawDescGZIP(), []int{0} } // QueryParamsResponse is the response type for the Query/Params RPC method. @@ -857,7 +857,7 @@ type QueryParamsResponse struct { func (x *QueryParamsResponse) Reset() { *x = QueryParamsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_v1_query_proto_msgTypes[1] + mi := &file_svc_v1_query_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -871,7 +871,7 @@ func (*QueryParamsResponse) ProtoMessage() {} // Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead. func (*QueryParamsResponse) Descriptor() ([]byte, []int) { - return file_service_v1_query_proto_rawDescGZIP(), []int{1} + return file_svc_v1_query_proto_rawDescGZIP(), []int{1} } func (x *QueryParamsResponse) GetParams() *Params { @@ -881,62 +881,58 @@ func (x *QueryParamsResponse) GetParams() *Params { return nil } -var File_service_v1_query_proto protoreflect.FileDescriptor +var File_svc_v1_query_proto protoreflect.FileDescriptor -var file_service_v1_query_proto_rawDesc = []byte{ - 0x0a, 0x16, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x71, 0x75, 0x65, - 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x1a, 0x18, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x67, - 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x14, 0x0a, 0x12, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x22, 0x41, 0x0a, 0x13, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x06, 0x70, 0x61, 0x72, - 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x06, 0x70, - 0x61, 0x72, 0x61, 0x6d, 0x73, 0x32, 0x6e, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x65, - 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x1e, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1a, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x14, 0x12, 0x12, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x70, - 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x96, 0x01, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, - 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x6f, 0x6e, 0x73, 0x6f, 0x6e, 0x72, 0x2f, 0x73, 0x6f, 0x6e, 0x72, 0x2f, 0x61, - 0x70, 0x69, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x0a, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0a, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x16, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0xea, 0x02, 0x0b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +var file_svc_v1_query_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x73, 0x76, 0x63, 0x2f, + 0x76, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x14, 0x0a, 0x12, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x3d, 0x0a, 0x13, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, + 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, + 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x06, 0x70, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x32, 0x62, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x59, + 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x1a, 0x2e, 0x73, 0x76, 0x63, 0x2e, 0x76, + 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x16, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x10, 0x12, 0x0e, 0x2f, 0x73, 0x76, 0x63, 0x2f, + 0x76, 0x31, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x7a, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, + 0x2e, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x42, 0x0a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, + 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x27, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x6f, 0x6e, 0x73, 0x6f, 0x6e, 0x72, 0x2f, 0x73, 0x6f, 0x6e, 0x72, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x3b, 0x73, 0x76, 0x63, 0x76, 0x31, 0xa2, 0x02, + 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x06, 0x53, 0x76, 0x63, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x06, + 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x12, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0x5c, + 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x07, 0x53, 0x76, + 0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_service_v1_query_proto_rawDescOnce sync.Once - file_service_v1_query_proto_rawDescData = file_service_v1_query_proto_rawDesc + file_svc_v1_query_proto_rawDescOnce sync.Once + file_svc_v1_query_proto_rawDescData = file_svc_v1_query_proto_rawDesc ) -func file_service_v1_query_proto_rawDescGZIP() []byte { - file_service_v1_query_proto_rawDescOnce.Do(func() { - file_service_v1_query_proto_rawDescData = protoimpl.X.CompressGZIP(file_service_v1_query_proto_rawDescData) +func file_svc_v1_query_proto_rawDescGZIP() []byte { + file_svc_v1_query_proto_rawDescOnce.Do(func() { + file_svc_v1_query_proto_rawDescData = protoimpl.X.CompressGZIP(file_svc_v1_query_proto_rawDescData) }) - return file_service_v1_query_proto_rawDescData + return file_svc_v1_query_proto_rawDescData } -var file_service_v1_query_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_service_v1_query_proto_goTypes = []interface{}{ - (*QueryParamsRequest)(nil), // 0: service.v1.QueryParamsRequest - (*QueryParamsResponse)(nil), // 1: service.v1.QueryParamsResponse - (*Params)(nil), // 2: service.v1.Params +var file_svc_v1_query_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_svc_v1_query_proto_goTypes = []interface{}{ + (*QueryParamsRequest)(nil), // 0: svc.v1.QueryParamsRequest + (*QueryParamsResponse)(nil), // 1: svc.v1.QueryParamsResponse + (*Params)(nil), // 2: svc.v1.Params } -var file_service_v1_query_proto_depIdxs = []int32{ - 2, // 0: service.v1.QueryParamsResponse.params:type_name -> service.v1.Params - 0, // 1: service.v1.Query.Params:input_type -> service.v1.QueryParamsRequest - 1, // 2: service.v1.Query.Params:output_type -> service.v1.QueryParamsResponse +var file_svc_v1_query_proto_depIdxs = []int32{ + 2, // 0: svc.v1.QueryParamsResponse.params:type_name -> svc.v1.Params + 0, // 1: svc.v1.Query.Params:input_type -> svc.v1.QueryParamsRequest + 1, // 2: svc.v1.Query.Params:output_type -> svc.v1.QueryParamsResponse 2, // [2:3] is the sub-list for method output_type 1, // [1:2] is the sub-list for method input_type 1, // [1:1] is the sub-list for extension type_name @@ -944,14 +940,14 @@ var file_service_v1_query_proto_depIdxs = []int32{ 0, // [0:1] is the sub-list for field type_name } -func init() { file_service_v1_query_proto_init() } -func file_service_v1_query_proto_init() { - if File_service_v1_query_proto != nil { +func init() { file_svc_v1_query_proto_init() } +func file_svc_v1_query_proto_init() { + if File_svc_v1_query_proto != nil { return } - file_service_v1_genesis_proto_init() + file_svc_v1_genesis_proto_init() if !protoimpl.UnsafeEnabled { - file_service_v1_query_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_svc_v1_query_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryParamsRequest); i { case 0: return &v.state @@ -963,7 +959,7 @@ func file_service_v1_query_proto_init() { return nil } } - file_service_v1_query_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_svc_v1_query_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryParamsResponse); i { case 0: return &v.state @@ -980,18 +976,18 @@ func file_service_v1_query_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_service_v1_query_proto_rawDesc, + RawDescriptor: file_svc_v1_query_proto_rawDesc, NumEnums: 0, NumMessages: 2, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_service_v1_query_proto_goTypes, - DependencyIndexes: file_service_v1_query_proto_depIdxs, - MessageInfos: file_service_v1_query_proto_msgTypes, + GoTypes: file_svc_v1_query_proto_goTypes, + DependencyIndexes: file_svc_v1_query_proto_depIdxs, + MessageInfos: file_svc_v1_query_proto_msgTypes, }.Build() - File_service_v1_query_proto = out.File - file_service_v1_query_proto_rawDesc = nil - file_service_v1_query_proto_goTypes = nil - file_service_v1_query_proto_depIdxs = nil + File_svc_v1_query_proto = out.File + file_svc_v1_query_proto_rawDesc = nil + file_svc_v1_query_proto_goTypes = nil + file_svc_v1_query_proto_depIdxs = nil } diff --git a/api/service/v1/query_grpc.pb.go b/api/svc/v1/query_grpc.pb.go similarity index 95% rename from api/service/v1/query_grpc.pb.go rename to api/svc/v1/query_grpc.pb.go index ad87b4ab2..ef7b606c7 100644 --- a/api/service/v1/query_grpc.pb.go +++ b/api/svc/v1/query_grpc.pb.go @@ -2,9 +2,9 @@ // versions: // - protoc-gen-go-grpc v1.5.1 // - protoc (unknown) -// source: service/v1/query.proto +// source: svc/v1/query.proto -package servicev1 +package svcv1 import ( context "context" @@ -19,7 +19,7 @@ import ( const _ = grpc.SupportPackageIsVersion9 const ( - Query_Params_FullMethodName = "/service.v1.Query/Params" + Query_Params_FullMethodName = "/svc.v1.Query/Params" ) // QueryClient is the client API for Query service. @@ -114,7 +114,7 @@ func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interf // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) var Query_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "service.v1.Query", + ServiceName: "svc.v1.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { @@ -123,5 +123,5 @@ var Query_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "service/v1/query.proto", + Metadata: "svc/v1/query.proto", } diff --git a/api/service/v1/state.cosmos_orm.go b/api/svc/v1/state.cosmos_orm.go similarity index 56% rename from api/service/v1/state.cosmos_orm.go rename to api/svc/v1/state.cosmos_orm.go index 2dfc0ecae..894502609 100644 --- a/api/service/v1/state.cosmos_orm.go +++ b/api/svc/v1/state.cosmos_orm.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-cosmos-orm. DO NOT EDIT. -package servicev1 +package svcv1 import ( context "context" @@ -9,19 +9,177 @@ import ( ormerrors "cosmossdk.io/orm/types/ormerrors" ) +type DomainTable interface { + Insert(ctx context.Context, domain *Domain) error + InsertReturningId(ctx context.Context, domain *Domain) (uint64, error) + LastInsertedSequence(ctx context.Context) (uint64, error) + Update(ctx context.Context, domain *Domain) error + Save(ctx context.Context, domain *Domain) error + Delete(ctx context.Context, domain *Domain) error + Has(ctx context.Context, id uint64) (found bool, err error) + // Get returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. + Get(ctx context.Context, id uint64) (*Domain, error) + HasByOrigin(ctx context.Context, origin string) (found bool, err error) + // GetByOrigin returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. + GetByOrigin(ctx context.Context, origin string) (*Domain, error) + List(ctx context.Context, prefixKey DomainIndexKey, opts ...ormlist.Option) (DomainIterator, error) + ListRange(ctx context.Context, from, to DomainIndexKey, opts ...ormlist.Option) (DomainIterator, error) + DeleteBy(ctx context.Context, prefixKey DomainIndexKey) error + DeleteRange(ctx context.Context, from, to DomainIndexKey) error + + doNotImplement() +} + +type DomainIterator struct { + ormtable.Iterator +} + +func (i DomainIterator) Value() (*Domain, error) { + var domain Domain + err := i.UnmarshalMessage(&domain) + return &domain, err +} + +type DomainIndexKey interface { + id() uint32 + values() []interface{} + domainIndexKey() +} + +// primary key starting index.. +type DomainPrimaryKey = DomainIdIndexKey + +type DomainIdIndexKey struct { + vs []interface{} +} + +func (x DomainIdIndexKey) id() uint32 { return 0 } +func (x DomainIdIndexKey) values() []interface{} { return x.vs } +func (x DomainIdIndexKey) domainIndexKey() {} + +func (this DomainIdIndexKey) WithId(id uint64) DomainIdIndexKey { + this.vs = []interface{}{id} + return this +} + +type DomainOriginIndexKey struct { + vs []interface{} +} + +func (x DomainOriginIndexKey) id() uint32 { return 1 } +func (x DomainOriginIndexKey) values() []interface{} { return x.vs } +func (x DomainOriginIndexKey) domainIndexKey() {} + +func (this DomainOriginIndexKey) WithOrigin(origin string) DomainOriginIndexKey { + this.vs = []interface{}{origin} + return this +} + +type domainTable struct { + table ormtable.AutoIncrementTable +} + +func (this domainTable) Insert(ctx context.Context, domain *Domain) error { + return this.table.Insert(ctx, domain) +} + +func (this domainTable) Update(ctx context.Context, domain *Domain) error { + return this.table.Update(ctx, domain) +} + +func (this domainTable) Save(ctx context.Context, domain *Domain) error { + return this.table.Save(ctx, domain) +} + +func (this domainTable) Delete(ctx context.Context, domain *Domain) error { + return this.table.Delete(ctx, domain) +} + +func (this domainTable) InsertReturningId(ctx context.Context, domain *Domain) (uint64, error) { + return this.table.InsertReturningPKey(ctx, domain) +} + +func (this domainTable) LastInsertedSequence(ctx context.Context) (uint64, error) { + return this.table.LastInsertedSequence(ctx) +} + +func (this domainTable) Has(ctx context.Context, id uint64) (found bool, err error) { + return this.table.PrimaryKey().Has(ctx, id) +} + +func (this domainTable) Get(ctx context.Context, id uint64) (*Domain, error) { + var domain Domain + found, err := this.table.PrimaryKey().Get(ctx, &domain, id) + if err != nil { + return nil, err + } + if !found { + return nil, ormerrors.NotFound + } + return &domain, nil +} + +func (this domainTable) HasByOrigin(ctx context.Context, origin string) (found bool, err error) { + return this.table.GetIndexByID(1).(ormtable.UniqueIndex).Has(ctx, + origin, + ) +} + +func (this domainTable) GetByOrigin(ctx context.Context, origin string) (*Domain, error) { + var domain Domain + found, err := this.table.GetIndexByID(1).(ormtable.UniqueIndex).Get(ctx, &domain, + origin, + ) + if err != nil { + return nil, err + } + if !found { + return nil, ormerrors.NotFound + } + return &domain, nil +} + +func (this domainTable) List(ctx context.Context, prefixKey DomainIndexKey, opts ...ormlist.Option) (DomainIterator, error) { + it, err := this.table.GetIndexByID(prefixKey.id()).List(ctx, prefixKey.values(), opts...) + return DomainIterator{it}, err +} + +func (this domainTable) ListRange(ctx context.Context, from, to DomainIndexKey, opts ...ormlist.Option) (DomainIterator, error) { + it, err := this.table.GetIndexByID(from.id()).ListRange(ctx, from.values(), to.values(), opts...) + return DomainIterator{it}, err +} + +func (this domainTable) DeleteBy(ctx context.Context, prefixKey DomainIndexKey) error { + return this.table.GetIndexByID(prefixKey.id()).DeleteBy(ctx, prefixKey.values()...) +} + +func (this domainTable) DeleteRange(ctx context.Context, from, to DomainIndexKey) error { + return this.table.GetIndexByID(from.id()).DeleteRange(ctx, from.values(), to.values()) +} + +func (this domainTable) doNotImplement() {} + +var _ DomainTable = domainTable{} + +func NewDomainTable(db ormtable.Schema) (DomainTable, error) { + table := db.GetTable(&Domain{}) + if table == nil { + return nil, ormerrors.TableNotFound.Wrap(string((&Domain{}).ProtoReflect().Descriptor().FullName())) + } + return domainTable{table.(ormtable.AutoIncrementTable)}, nil +} + type MetadataTable interface { Insert(ctx context.Context, metadata *Metadata) error - InsertReturningId(ctx context.Context, metadata *Metadata) (uint64, error) - LastInsertedSequence(ctx context.Context) (uint64, error) Update(ctx context.Context, metadata *Metadata) error Save(ctx context.Context, metadata *Metadata) error Delete(ctx context.Context, metadata *Metadata) error - Has(ctx context.Context, id uint64) (found bool, err error) + Has(ctx context.Context, id string) (found bool, err error) // Get returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. - Get(ctx context.Context, id uint64) (*Metadata, error) - HasByOrigin(ctx context.Context, origin string) (found bool, err error) - // GetByOrigin returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. - GetByOrigin(ctx context.Context, origin string) (*Metadata, error) + Get(ctx context.Context, id string) (*Metadata, error) + HasBySubjectOrigin(ctx context.Context, subject string, origin string) (found bool, err error) + // GetBySubjectOrigin returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. + GetBySubjectOrigin(ctx context.Context, subject string, origin string) (*Metadata, error) List(ctx context.Context, prefixKey MetadataIndexKey, opts ...ormlist.Option) (MetadataIterator, error) ListRange(ctx context.Context, from, to MetadataIndexKey, opts ...ormlist.Option) (MetadataIterator, error) DeleteBy(ctx context.Context, prefixKey MetadataIndexKey) error @@ -57,26 +215,31 @@ func (x MetadataIdIndexKey) id() uint32 { return 0 } func (x MetadataIdIndexKey) values() []interface{} { return x.vs } func (x MetadataIdIndexKey) metadataIndexKey() {} -func (this MetadataIdIndexKey) WithId(id uint64) MetadataIdIndexKey { +func (this MetadataIdIndexKey) WithId(id string) MetadataIdIndexKey { this.vs = []interface{}{id} return this } -type MetadataOriginIndexKey struct { +type MetadataSubjectOriginIndexKey struct { vs []interface{} } -func (x MetadataOriginIndexKey) id() uint32 { return 1 } -func (x MetadataOriginIndexKey) values() []interface{} { return x.vs } -func (x MetadataOriginIndexKey) metadataIndexKey() {} +func (x MetadataSubjectOriginIndexKey) id() uint32 { return 1 } +func (x MetadataSubjectOriginIndexKey) values() []interface{} { return x.vs } +func (x MetadataSubjectOriginIndexKey) metadataIndexKey() {} -func (this MetadataOriginIndexKey) WithOrigin(origin string) MetadataOriginIndexKey { - this.vs = []interface{}{origin} +func (this MetadataSubjectOriginIndexKey) WithSubject(subject string) MetadataSubjectOriginIndexKey { + this.vs = []interface{}{subject} + return this +} + +func (this MetadataSubjectOriginIndexKey) WithSubjectOrigin(subject string, origin string) MetadataSubjectOriginIndexKey { + this.vs = []interface{}{subject, origin} return this } type metadataTable struct { - table ormtable.AutoIncrementTable + table ormtable.Table } func (this metadataTable) Insert(ctx context.Context, metadata *Metadata) error { @@ -95,19 +258,11 @@ func (this metadataTable) Delete(ctx context.Context, metadata *Metadata) error return this.table.Delete(ctx, metadata) } -func (this metadataTable) InsertReturningId(ctx context.Context, metadata *Metadata) (uint64, error) { - return this.table.InsertReturningPKey(ctx, metadata) -} - -func (this metadataTable) LastInsertedSequence(ctx context.Context) (uint64, error) { - return this.table.LastInsertedSequence(ctx) -} - -func (this metadataTable) Has(ctx context.Context, id uint64) (found bool, err error) { +func (this metadataTable) Has(ctx context.Context, id string) (found bool, err error) { return this.table.PrimaryKey().Has(ctx, id) } -func (this metadataTable) Get(ctx context.Context, id uint64) (*Metadata, error) { +func (this metadataTable) Get(ctx context.Context, id string) (*Metadata, error) { var metadata Metadata found, err := this.table.PrimaryKey().Get(ctx, &metadata, id) if err != nil { @@ -119,15 +274,17 @@ func (this metadataTable) Get(ctx context.Context, id uint64) (*Metadata, error) return &metadata, nil } -func (this metadataTable) HasByOrigin(ctx context.Context, origin string) (found bool, err error) { +func (this metadataTable) HasBySubjectOrigin(ctx context.Context, subject string, origin string) (found bool, err error) { return this.table.GetIndexByID(1).(ormtable.UniqueIndex).Has(ctx, + subject, origin, ) } -func (this metadataTable) GetByOrigin(ctx context.Context, origin string) (*Metadata, error) { +func (this metadataTable) GetBySubjectOrigin(ctx context.Context, subject string, origin string) (*Metadata, error) { var metadata Metadata found, err := this.table.GetIndexByID(1).(ormtable.UniqueIndex).Get(ctx, &metadata, + subject, origin, ) if err != nil { @@ -166,203 +323,46 @@ func NewMetadataTable(db ormtable.Schema) (MetadataTable, error) { if table == nil { return nil, ormerrors.TableNotFound.Wrap(string((&Metadata{}).ProtoReflect().Descriptor().FullName())) } - return metadataTable{table.(ormtable.AutoIncrementTable)}, nil -} - -type ProfileTable interface { - Insert(ctx context.Context, profile *Profile) error - Update(ctx context.Context, profile *Profile) error - Save(ctx context.Context, profile *Profile) error - Delete(ctx context.Context, profile *Profile) error - Has(ctx context.Context, id string) (found bool, err error) - // Get returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. - Get(ctx context.Context, id string) (*Profile, error) - HasBySubjectOrigin(ctx context.Context, subject string, origin string) (found bool, err error) - // GetBySubjectOrigin returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. - GetBySubjectOrigin(ctx context.Context, subject string, origin string) (*Profile, error) - List(ctx context.Context, prefixKey ProfileIndexKey, opts ...ormlist.Option) (ProfileIterator, error) - ListRange(ctx context.Context, from, to ProfileIndexKey, opts ...ormlist.Option) (ProfileIterator, error) - DeleteBy(ctx context.Context, prefixKey ProfileIndexKey) error - DeleteRange(ctx context.Context, from, to ProfileIndexKey) error - - doNotImplement() -} - -type ProfileIterator struct { - ormtable.Iterator -} - -func (i ProfileIterator) Value() (*Profile, error) { - var profile Profile - err := i.UnmarshalMessage(&profile) - return &profile, err -} - -type ProfileIndexKey interface { - id() uint32 - values() []interface{} - profileIndexKey() -} - -// primary key starting index.. -type ProfilePrimaryKey = ProfileIdIndexKey - -type ProfileIdIndexKey struct { - vs []interface{} -} - -func (x ProfileIdIndexKey) id() uint32 { return 0 } -func (x ProfileIdIndexKey) values() []interface{} { return x.vs } -func (x ProfileIdIndexKey) profileIndexKey() {} - -func (this ProfileIdIndexKey) WithId(id string) ProfileIdIndexKey { - this.vs = []interface{}{id} - return this -} - -type ProfileSubjectOriginIndexKey struct { - vs []interface{} -} - -func (x ProfileSubjectOriginIndexKey) id() uint32 { return 1 } -func (x ProfileSubjectOriginIndexKey) values() []interface{} { return x.vs } -func (x ProfileSubjectOriginIndexKey) profileIndexKey() {} - -func (this ProfileSubjectOriginIndexKey) WithSubject(subject string) ProfileSubjectOriginIndexKey { - this.vs = []interface{}{subject} - return this -} - -func (this ProfileSubjectOriginIndexKey) WithSubjectOrigin(subject string, origin string) ProfileSubjectOriginIndexKey { - this.vs = []interface{}{subject, origin} - return this -} - -type profileTable struct { - table ormtable.Table -} - -func (this profileTable) Insert(ctx context.Context, profile *Profile) error { - return this.table.Insert(ctx, profile) -} - -func (this profileTable) Update(ctx context.Context, profile *Profile) error { - return this.table.Update(ctx, profile) -} - -func (this profileTable) Save(ctx context.Context, profile *Profile) error { - return this.table.Save(ctx, profile) -} - -func (this profileTable) Delete(ctx context.Context, profile *Profile) error { - return this.table.Delete(ctx, profile) -} - -func (this profileTable) Has(ctx context.Context, id string) (found bool, err error) { - return this.table.PrimaryKey().Has(ctx, id) -} - -func (this profileTable) Get(ctx context.Context, id string) (*Profile, error) { - var profile Profile - found, err := this.table.PrimaryKey().Get(ctx, &profile, id) - if err != nil { - return nil, err - } - if !found { - return nil, ormerrors.NotFound - } - return &profile, nil -} - -func (this profileTable) HasBySubjectOrigin(ctx context.Context, subject string, origin string) (found bool, err error) { - return this.table.GetIndexByID(1).(ormtable.UniqueIndex).Has(ctx, - subject, - origin, - ) -} - -func (this profileTable) GetBySubjectOrigin(ctx context.Context, subject string, origin string) (*Profile, error) { - var profile Profile - found, err := this.table.GetIndexByID(1).(ormtable.UniqueIndex).Get(ctx, &profile, - subject, - origin, - ) - if err != nil { - return nil, err - } - if !found { - return nil, ormerrors.NotFound - } - return &profile, nil -} - -func (this profileTable) List(ctx context.Context, prefixKey ProfileIndexKey, opts ...ormlist.Option) (ProfileIterator, error) { - it, err := this.table.GetIndexByID(prefixKey.id()).List(ctx, prefixKey.values(), opts...) - return ProfileIterator{it}, err -} - -func (this profileTable) ListRange(ctx context.Context, from, to ProfileIndexKey, opts ...ormlist.Option) (ProfileIterator, error) { - it, err := this.table.GetIndexByID(from.id()).ListRange(ctx, from.values(), to.values(), opts...) - return ProfileIterator{it}, err -} - -func (this profileTable) DeleteBy(ctx context.Context, prefixKey ProfileIndexKey) error { - return this.table.GetIndexByID(prefixKey.id()).DeleteBy(ctx, prefixKey.values()...) -} - -func (this profileTable) DeleteRange(ctx context.Context, from, to ProfileIndexKey) error { - return this.table.GetIndexByID(from.id()).DeleteRange(ctx, from.values(), to.values()) -} - -func (this profileTable) doNotImplement() {} - -var _ ProfileTable = profileTable{} - -func NewProfileTable(db ormtable.Schema) (ProfileTable, error) { - table := db.GetTable(&Profile{}) - if table == nil { - return nil, ormerrors.TableNotFound.Wrap(string((&Profile{}).ProtoReflect().Descriptor().FullName())) - } - return profileTable{table}, nil + return metadataTable{table}, nil } type StateStore interface { + DomainTable() DomainTable MetadataTable() MetadataTable - ProfileTable() ProfileTable doNotImplement() } type stateStore struct { + domain DomainTable metadata MetadataTable - profile ProfileTable +} + +func (x stateStore) DomainTable() DomainTable { + return x.domain } func (x stateStore) MetadataTable() MetadataTable { return x.metadata } -func (x stateStore) ProfileTable() ProfileTable { - return x.profile -} - func (stateStore) doNotImplement() {} var _ StateStore = stateStore{} func NewStateStore(db ormtable.Schema) (StateStore, error) { + domainTable, err := NewDomainTable(db) + if err != nil { + return nil, err + } + metadataTable, err := NewMetadataTable(db) if err != nil { return nil, err } - profileTable, err := NewProfileTable(db) - if err != nil { - return nil, err - } - return stateStore{ + domainTable, metadataTable, - profileTable, }, nil } diff --git a/api/service/v1/state.pulsar.go b/api/svc/v1/state.pulsar.go similarity index 74% rename from api/service/v1/state.pulsar.go rename to api/svc/v1/state.pulsar.go index c40f31343..c42aa9514 100644 --- a/api/service/v1/state.pulsar.go +++ b/api/svc/v1/state.pulsar.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-pulsar. DO NOT EDIT. -package servicev1 +package svcv1 import ( _ "cosmossdk.io/api/cosmos/orm/v1" @@ -13,85 +13,85 @@ import ( sync "sync" ) -var _ protoreflect.List = (*_Metadata_7_list)(nil) +var _ protoreflect.List = (*_Domain_7_list)(nil) -type _Metadata_7_list struct { +type _Domain_7_list struct { list *[]string } -func (x *_Metadata_7_list) Len() int { +func (x *_Domain_7_list) Len() int { if x.list == nil { return 0 } return len(*x.list) } -func (x *_Metadata_7_list) Get(i int) protoreflect.Value { +func (x *_Domain_7_list) Get(i int) protoreflect.Value { return protoreflect.ValueOfString((*x.list)[i]) } -func (x *_Metadata_7_list) Set(i int, value protoreflect.Value) { +func (x *_Domain_7_list) Set(i int, value protoreflect.Value) { valueUnwrapped := value.String() concreteValue := valueUnwrapped (*x.list)[i] = concreteValue } -func (x *_Metadata_7_list) Append(value protoreflect.Value) { +func (x *_Domain_7_list) Append(value protoreflect.Value) { valueUnwrapped := value.String() concreteValue := valueUnwrapped *x.list = append(*x.list, concreteValue) } -func (x *_Metadata_7_list) AppendMutable() protoreflect.Value { - panic(fmt.Errorf("AppendMutable can not be called on message Metadata at list field Tags as it is not of Message kind")) +func (x *_Domain_7_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message Domain at list field Tags as it is not of Message kind")) } -func (x *_Metadata_7_list) Truncate(n int) { +func (x *_Domain_7_list) Truncate(n int) { *x.list = (*x.list)[:n] } -func (x *_Metadata_7_list) NewElement() protoreflect.Value { +func (x *_Domain_7_list) NewElement() protoreflect.Value { v := "" return protoreflect.ValueOfString(v) } -func (x *_Metadata_7_list) IsValid() bool { +func (x *_Domain_7_list) IsValid() bool { return x.list != nil } var ( - md_Metadata protoreflect.MessageDescriptor - fd_Metadata_id protoreflect.FieldDescriptor - fd_Metadata_origin protoreflect.FieldDescriptor - fd_Metadata_name protoreflect.FieldDescriptor - fd_Metadata_description protoreflect.FieldDescriptor - fd_Metadata_category protoreflect.FieldDescriptor - fd_Metadata_icon protoreflect.FieldDescriptor - fd_Metadata_tags protoreflect.FieldDescriptor + md_Domain protoreflect.MessageDescriptor + fd_Domain_id protoreflect.FieldDescriptor + fd_Domain_origin protoreflect.FieldDescriptor + fd_Domain_name protoreflect.FieldDescriptor + fd_Domain_description protoreflect.FieldDescriptor + fd_Domain_category protoreflect.FieldDescriptor + fd_Domain_icon protoreflect.FieldDescriptor + fd_Domain_tags protoreflect.FieldDescriptor ) func init() { - file_service_v1_state_proto_init() - md_Metadata = File_service_v1_state_proto.Messages().ByName("Metadata") - fd_Metadata_id = md_Metadata.Fields().ByName("id") - fd_Metadata_origin = md_Metadata.Fields().ByName("origin") - fd_Metadata_name = md_Metadata.Fields().ByName("name") - fd_Metadata_description = md_Metadata.Fields().ByName("description") - fd_Metadata_category = md_Metadata.Fields().ByName("category") - fd_Metadata_icon = md_Metadata.Fields().ByName("icon") - fd_Metadata_tags = md_Metadata.Fields().ByName("tags") + file_svc_v1_state_proto_init() + md_Domain = File_svc_v1_state_proto.Messages().ByName("Domain") + fd_Domain_id = md_Domain.Fields().ByName("id") + fd_Domain_origin = md_Domain.Fields().ByName("origin") + fd_Domain_name = md_Domain.Fields().ByName("name") + fd_Domain_description = md_Domain.Fields().ByName("description") + fd_Domain_category = md_Domain.Fields().ByName("category") + fd_Domain_icon = md_Domain.Fields().ByName("icon") + fd_Domain_tags = md_Domain.Fields().ByName("tags") } -var _ protoreflect.Message = (*fastReflection_Metadata)(nil) +var _ protoreflect.Message = (*fastReflection_Domain)(nil) -type fastReflection_Metadata Metadata +type fastReflection_Domain Domain -func (x *Metadata) ProtoReflect() protoreflect.Message { - return (*fastReflection_Metadata)(x) +func (x *Domain) ProtoReflect() protoreflect.Message { + return (*fastReflection_Domain)(x) } -func (x *Metadata) slowProtoReflect() protoreflect.Message { - mi := &file_service_v1_state_proto_msgTypes[0] +func (x *Domain) slowProtoReflect() protoreflect.Message { + mi := &file_svc_v1_state_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -102,43 +102,43 @@ func (x *Metadata) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_Metadata_messageType fastReflection_Metadata_messageType -var _ protoreflect.MessageType = fastReflection_Metadata_messageType{} +var _fastReflection_Domain_messageType fastReflection_Domain_messageType +var _ protoreflect.MessageType = fastReflection_Domain_messageType{} -type fastReflection_Metadata_messageType struct{} +type fastReflection_Domain_messageType struct{} -func (x fastReflection_Metadata_messageType) Zero() protoreflect.Message { - return (*fastReflection_Metadata)(nil) +func (x fastReflection_Domain_messageType) Zero() protoreflect.Message { + return (*fastReflection_Domain)(nil) } -func (x fastReflection_Metadata_messageType) New() protoreflect.Message { - return new(fastReflection_Metadata) +func (x fastReflection_Domain_messageType) New() protoreflect.Message { + return new(fastReflection_Domain) } -func (x fastReflection_Metadata_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_Metadata +func (x fastReflection_Domain_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_Domain } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_Metadata) Descriptor() protoreflect.MessageDescriptor { - return md_Metadata +func (x *fastReflection_Domain) Descriptor() protoreflect.MessageDescriptor { + return md_Domain } // Type returns the message type, which encapsulates both Go and protobuf // type information. If the Go type information is not needed, // it is recommended that the message descriptor be used instead. -func (x *fastReflection_Metadata) Type() protoreflect.MessageType { - return _fastReflection_Metadata_messageType +func (x *fastReflection_Domain) Type() protoreflect.MessageType { + return _fastReflection_Domain_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_Metadata) New() protoreflect.Message { - return new(fastReflection_Metadata) +func (x *fastReflection_Domain) New() protoreflect.Message { + return new(fastReflection_Domain) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_Metadata) Interface() protoreflect.ProtoMessage { - return (*Metadata)(x) +func (x *fastReflection_Domain) Interface() protoreflect.ProtoMessage { + return (*Domain)(x) } // Range iterates over every populated field in an undefined order, @@ -146,46 +146,46 @@ func (x *fastReflection_Metadata) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_Metadata) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_Domain) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Id != uint64(0) { value := protoreflect.ValueOfUint64(x.Id) - if !f(fd_Metadata_id, value) { + if !f(fd_Domain_id, value) { return } } if x.Origin != "" { value := protoreflect.ValueOfString(x.Origin) - if !f(fd_Metadata_origin, value) { + if !f(fd_Domain_origin, value) { return } } if x.Name != "" { value := protoreflect.ValueOfString(x.Name) - if !f(fd_Metadata_name, value) { + if !f(fd_Domain_name, value) { return } } if x.Description != "" { value := protoreflect.ValueOfString(x.Description) - if !f(fd_Metadata_description, value) { + if !f(fd_Domain_description, value) { return } } if x.Category != "" { value := protoreflect.ValueOfString(x.Category) - if !f(fd_Metadata_category, value) { + if !f(fd_Domain_category, value) { return } } if x.Icon != "" { value := protoreflect.ValueOfString(x.Icon) - if !f(fd_Metadata_icon, value) { + if !f(fd_Domain_icon, value) { return } } if len(x.Tags) != 0 { - value := protoreflect.ValueOfList(&_Metadata_7_list{list: &x.Tags}) - if !f(fd_Metadata_tags, value) { + value := protoreflect.ValueOfList(&_Domain_7_list{list: &x.Tags}) + if !f(fd_Domain_tags, value) { return } } @@ -202,27 +202,27 @@ func (x *fastReflection_Metadata) Range(f func(protoreflect.FieldDescriptor, pro // In other cases (aside from the nullable cases above), // a proto3 scalar field is populated if it contains a non-zero value, and // a repeated field is populated if it is non-empty. -func (x *fastReflection_Metadata) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_Domain) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "service.v1.Metadata.id": + case "svc.v1.Domain.id": return x.Id != uint64(0) - case "service.v1.Metadata.origin": + case "svc.v1.Domain.origin": return x.Origin != "" - case "service.v1.Metadata.name": + case "svc.v1.Domain.name": return x.Name != "" - case "service.v1.Metadata.description": + case "svc.v1.Domain.description": return x.Description != "" - case "service.v1.Metadata.category": + case "svc.v1.Domain.category": return x.Category != "" - case "service.v1.Metadata.icon": + case "svc.v1.Domain.icon": return x.Icon != "" - case "service.v1.Metadata.tags": + case "svc.v1.Domain.tags": return len(x.Tags) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.Metadata")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.Domain")) } - panic(fmt.Errorf("message service.v1.Metadata does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.Domain does not contain field %s", fd.FullName())) } } @@ -232,27 +232,27 @@ func (x *fastReflection_Metadata) Has(fd protoreflect.FieldDescriptor) bool { // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Metadata) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_Domain) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "service.v1.Metadata.id": + case "svc.v1.Domain.id": x.Id = uint64(0) - case "service.v1.Metadata.origin": + case "svc.v1.Domain.origin": x.Origin = "" - case "service.v1.Metadata.name": + case "svc.v1.Domain.name": x.Name = "" - case "service.v1.Metadata.description": + case "svc.v1.Domain.description": x.Description = "" - case "service.v1.Metadata.category": + case "svc.v1.Domain.category": x.Category = "" - case "service.v1.Metadata.icon": + case "svc.v1.Domain.icon": x.Icon = "" - case "service.v1.Metadata.tags": + case "svc.v1.Domain.tags": x.Tags = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.Metadata")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.Domain")) } - panic(fmt.Errorf("message service.v1.Metadata does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.Domain does not contain field %s", fd.FullName())) } } @@ -262,37 +262,37 @@ func (x *fastReflection_Metadata) Clear(fd protoreflect.FieldDescriptor) { // the default value of a bytes scalar is guaranteed to be a copy. // For unpopulated composite types, it returns an empty, read-only view // of the value; to obtain a mutable reference, use Mutable. -func (x *fastReflection_Metadata) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_Domain) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "service.v1.Metadata.id": + case "svc.v1.Domain.id": value := x.Id return protoreflect.ValueOfUint64(value) - case "service.v1.Metadata.origin": + case "svc.v1.Domain.origin": value := x.Origin return protoreflect.ValueOfString(value) - case "service.v1.Metadata.name": + case "svc.v1.Domain.name": value := x.Name return protoreflect.ValueOfString(value) - case "service.v1.Metadata.description": + case "svc.v1.Domain.description": value := x.Description return protoreflect.ValueOfString(value) - case "service.v1.Metadata.category": + case "svc.v1.Domain.category": value := x.Category return protoreflect.ValueOfString(value) - case "service.v1.Metadata.icon": + case "svc.v1.Domain.icon": value := x.Icon return protoreflect.ValueOfString(value) - case "service.v1.Metadata.tags": + case "svc.v1.Domain.tags": if len(x.Tags) == 0 { - return protoreflect.ValueOfList(&_Metadata_7_list{}) + return protoreflect.ValueOfList(&_Domain_7_list{}) } - listValue := &_Metadata_7_list{list: &x.Tags} + listValue := &_Domain_7_list{list: &x.Tags} return protoreflect.ValueOfList(listValue) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.Metadata")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.Domain")) } - panic(fmt.Errorf("message service.v1.Metadata does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message svc.v1.Domain does not contain field %s", descriptor.FullName())) } } @@ -306,29 +306,29 @@ func (x *fastReflection_Metadata) Get(descriptor protoreflect.FieldDescriptor) p // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Metadata) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_Domain) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "service.v1.Metadata.id": + case "svc.v1.Domain.id": x.Id = value.Uint() - case "service.v1.Metadata.origin": + case "svc.v1.Domain.origin": x.Origin = value.Interface().(string) - case "service.v1.Metadata.name": + case "svc.v1.Domain.name": x.Name = value.Interface().(string) - case "service.v1.Metadata.description": + case "svc.v1.Domain.description": x.Description = value.Interface().(string) - case "service.v1.Metadata.category": + case "svc.v1.Domain.category": x.Category = value.Interface().(string) - case "service.v1.Metadata.icon": + case "svc.v1.Domain.icon": x.Icon = value.Interface().(string) - case "service.v1.Metadata.tags": + case "svc.v1.Domain.tags": lv := value.List() - clv := lv.(*_Metadata_7_list) + clv := lv.(*_Domain_7_list) x.Tags = *clv.list default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.Metadata")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.Domain")) } - panic(fmt.Errorf("message service.v1.Metadata does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.Domain does not contain field %s", fd.FullName())) } } @@ -342,69 +342,69 @@ func (x *fastReflection_Metadata) Set(fd protoreflect.FieldDescriptor, value pro // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Metadata) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_Domain) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "service.v1.Metadata.tags": + case "svc.v1.Domain.tags": if x.Tags == nil { x.Tags = []string{} } - value := &_Metadata_7_list{list: &x.Tags} + value := &_Domain_7_list{list: &x.Tags} return protoreflect.ValueOfList(value) - case "service.v1.Metadata.id": - panic(fmt.Errorf("field id of message service.v1.Metadata is not mutable")) - case "service.v1.Metadata.origin": - panic(fmt.Errorf("field origin of message service.v1.Metadata is not mutable")) - case "service.v1.Metadata.name": - panic(fmt.Errorf("field name of message service.v1.Metadata is not mutable")) - case "service.v1.Metadata.description": - panic(fmt.Errorf("field description of message service.v1.Metadata is not mutable")) - case "service.v1.Metadata.category": - panic(fmt.Errorf("field category of message service.v1.Metadata is not mutable")) - case "service.v1.Metadata.icon": - panic(fmt.Errorf("field icon of message service.v1.Metadata is not mutable")) + case "svc.v1.Domain.id": + panic(fmt.Errorf("field id of message svc.v1.Domain is not mutable")) + case "svc.v1.Domain.origin": + panic(fmt.Errorf("field origin of message svc.v1.Domain is not mutable")) + case "svc.v1.Domain.name": + panic(fmt.Errorf("field name of message svc.v1.Domain is not mutable")) + case "svc.v1.Domain.description": + panic(fmt.Errorf("field description of message svc.v1.Domain is not mutable")) + case "svc.v1.Domain.category": + panic(fmt.Errorf("field category of message svc.v1.Domain is not mutable")) + case "svc.v1.Domain.icon": + panic(fmt.Errorf("field icon of message svc.v1.Domain is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.Metadata")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.Domain")) } - panic(fmt.Errorf("message service.v1.Metadata does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.Domain does not contain field %s", fd.FullName())) } } // NewField returns a new value that is assignable to the field // for the given descriptor. For scalars, this returns the default value. // For lists, maps, and messages, this returns a new, empty, mutable value. -func (x *fastReflection_Metadata) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_Domain) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "service.v1.Metadata.id": + case "svc.v1.Domain.id": return protoreflect.ValueOfUint64(uint64(0)) - case "service.v1.Metadata.origin": + case "svc.v1.Domain.origin": return protoreflect.ValueOfString("") - case "service.v1.Metadata.name": + case "svc.v1.Domain.name": return protoreflect.ValueOfString("") - case "service.v1.Metadata.description": + case "svc.v1.Domain.description": return protoreflect.ValueOfString("") - case "service.v1.Metadata.category": + case "svc.v1.Domain.category": return protoreflect.ValueOfString("") - case "service.v1.Metadata.icon": + case "svc.v1.Domain.icon": return protoreflect.ValueOfString("") - case "service.v1.Metadata.tags": + case "svc.v1.Domain.tags": list := []string{} - return protoreflect.ValueOfList(&_Metadata_7_list{list: &list}) + return protoreflect.ValueOfList(&_Domain_7_list{list: &list}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.Metadata")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.Domain")) } - panic(fmt.Errorf("message service.v1.Metadata does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.Domain does not contain field %s", fd.FullName())) } } // WhichOneof reports which field within the oneof is populated, // returning nil if none are populated. // It panics if the oneof descriptor does not belong to this message. -func (x *fastReflection_Metadata) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_Domain) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in service.v1.Metadata", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in svc.v1.Domain", d.FullName())) } panic("unreachable") } @@ -412,7 +412,7 @@ func (x *fastReflection_Metadata) WhichOneof(d protoreflect.OneofDescriptor) pro // GetUnknown retrieves the entire list of unknown fields. // The caller may only mutate the contents of the RawFields // if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_Metadata) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_Domain) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -423,7 +423,7 @@ func (x *fastReflection_Metadata) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Metadata) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_Domain) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -435,7 +435,7 @@ func (x *fastReflection_Metadata) SetUnknown(fields protoreflect.RawFields) { // message type, but the details are implementation dependent. // Validity is not part of the protobuf data model, and may not // be preserved in marshaling or other operations. -func (x *fastReflection_Metadata) IsValid() bool { +func (x *fastReflection_Domain) IsValid() bool { return x != nil } @@ -445,9 +445,9 @@ func (x *fastReflection_Metadata) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_Metadata) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_Domain) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*Metadata) + x := input.Message.Interface().(*Domain) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -498,7 +498,7 @@ func (x *fastReflection_Metadata) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*Metadata) + x := input.Message.Interface().(*Domain) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -577,7 +577,7 @@ func (x *fastReflection_Metadata) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*Metadata) + x := input.Message.Interface().(*Domain) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -609,10 +609,10 @@ func (x *fastReflection_Metadata) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Metadata: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Domain: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Metadata: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Domain: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -862,32 +862,32 @@ func (x *fastReflection_Metadata) ProtoMethods() *protoiface.Methods { } var ( - md_Profile protoreflect.MessageDescriptor - fd_Profile_id protoreflect.FieldDescriptor - fd_Profile_subject protoreflect.FieldDescriptor - fd_Profile_origin protoreflect.FieldDescriptor - fd_Profile_controller protoreflect.FieldDescriptor + md_Metadata protoreflect.MessageDescriptor + fd_Metadata_id protoreflect.FieldDescriptor + fd_Metadata_subject protoreflect.FieldDescriptor + fd_Metadata_origin protoreflect.FieldDescriptor + fd_Metadata_controller protoreflect.FieldDescriptor ) func init() { - file_service_v1_state_proto_init() - md_Profile = File_service_v1_state_proto.Messages().ByName("Profile") - fd_Profile_id = md_Profile.Fields().ByName("id") - fd_Profile_subject = md_Profile.Fields().ByName("subject") - fd_Profile_origin = md_Profile.Fields().ByName("origin") - fd_Profile_controller = md_Profile.Fields().ByName("controller") + file_svc_v1_state_proto_init() + md_Metadata = File_svc_v1_state_proto.Messages().ByName("Metadata") + fd_Metadata_id = md_Metadata.Fields().ByName("id") + fd_Metadata_subject = md_Metadata.Fields().ByName("subject") + fd_Metadata_origin = md_Metadata.Fields().ByName("origin") + fd_Metadata_controller = md_Metadata.Fields().ByName("controller") } -var _ protoreflect.Message = (*fastReflection_Profile)(nil) +var _ protoreflect.Message = (*fastReflection_Metadata)(nil) -type fastReflection_Profile Profile +type fastReflection_Metadata Metadata -func (x *Profile) ProtoReflect() protoreflect.Message { - return (*fastReflection_Profile)(x) +func (x *Metadata) ProtoReflect() protoreflect.Message { + return (*fastReflection_Metadata)(x) } -func (x *Profile) slowProtoReflect() protoreflect.Message { - mi := &file_service_v1_state_proto_msgTypes[1] +func (x *Metadata) slowProtoReflect() protoreflect.Message { + mi := &file_svc_v1_state_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -898,43 +898,43 @@ func (x *Profile) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_Profile_messageType fastReflection_Profile_messageType -var _ protoreflect.MessageType = fastReflection_Profile_messageType{} +var _fastReflection_Metadata_messageType fastReflection_Metadata_messageType +var _ protoreflect.MessageType = fastReflection_Metadata_messageType{} -type fastReflection_Profile_messageType struct{} +type fastReflection_Metadata_messageType struct{} -func (x fastReflection_Profile_messageType) Zero() protoreflect.Message { - return (*fastReflection_Profile)(nil) +func (x fastReflection_Metadata_messageType) Zero() protoreflect.Message { + return (*fastReflection_Metadata)(nil) } -func (x fastReflection_Profile_messageType) New() protoreflect.Message { - return new(fastReflection_Profile) +func (x fastReflection_Metadata_messageType) New() protoreflect.Message { + return new(fastReflection_Metadata) } -func (x fastReflection_Profile_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_Profile +func (x fastReflection_Metadata_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_Metadata } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_Profile) Descriptor() protoreflect.MessageDescriptor { - return md_Profile +func (x *fastReflection_Metadata) Descriptor() protoreflect.MessageDescriptor { + return md_Metadata } // Type returns the message type, which encapsulates both Go and protobuf // type information. If the Go type information is not needed, // it is recommended that the message descriptor be used instead. -func (x *fastReflection_Profile) Type() protoreflect.MessageType { - return _fastReflection_Profile_messageType +func (x *fastReflection_Metadata) Type() protoreflect.MessageType { + return _fastReflection_Metadata_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_Profile) New() protoreflect.Message { - return new(fastReflection_Profile) +func (x *fastReflection_Metadata) New() protoreflect.Message { + return new(fastReflection_Metadata) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_Profile) Interface() protoreflect.ProtoMessage { - return (*Profile)(x) +func (x *fastReflection_Metadata) Interface() protoreflect.ProtoMessage { + return (*Metadata)(x) } // Range iterates over every populated field in an undefined order, @@ -942,28 +942,28 @@ func (x *fastReflection_Profile) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_Profile) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_Metadata) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Id != "" { value := protoreflect.ValueOfString(x.Id) - if !f(fd_Profile_id, value) { + if !f(fd_Metadata_id, value) { return } } if x.Subject != "" { value := protoreflect.ValueOfString(x.Subject) - if !f(fd_Profile_subject, value) { + if !f(fd_Metadata_subject, value) { return } } if x.Origin != "" { value := protoreflect.ValueOfString(x.Origin) - if !f(fd_Profile_origin, value) { + if !f(fd_Metadata_origin, value) { return } } if x.Controller != "" { value := protoreflect.ValueOfString(x.Controller) - if !f(fd_Profile_controller, value) { + if !f(fd_Metadata_controller, value) { return } } @@ -980,21 +980,21 @@ func (x *fastReflection_Profile) Range(f func(protoreflect.FieldDescriptor, prot // In other cases (aside from the nullable cases above), // a proto3 scalar field is populated if it contains a non-zero value, and // a repeated field is populated if it is non-empty. -func (x *fastReflection_Profile) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_Metadata) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "service.v1.Profile.id": + case "svc.v1.Metadata.id": return x.Id != "" - case "service.v1.Profile.subject": + case "svc.v1.Metadata.subject": return x.Subject != "" - case "service.v1.Profile.origin": + case "svc.v1.Metadata.origin": return x.Origin != "" - case "service.v1.Profile.controller": + case "svc.v1.Metadata.controller": return x.Controller != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.Profile")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.Metadata")) } - panic(fmt.Errorf("message service.v1.Profile does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.Metadata does not contain field %s", fd.FullName())) } } @@ -1004,21 +1004,21 @@ func (x *fastReflection_Profile) Has(fd protoreflect.FieldDescriptor) bool { // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Profile) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_Metadata) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "service.v1.Profile.id": + case "svc.v1.Metadata.id": x.Id = "" - case "service.v1.Profile.subject": + case "svc.v1.Metadata.subject": x.Subject = "" - case "service.v1.Profile.origin": + case "svc.v1.Metadata.origin": x.Origin = "" - case "service.v1.Profile.controller": + case "svc.v1.Metadata.controller": x.Controller = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.Profile")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.Metadata")) } - panic(fmt.Errorf("message service.v1.Profile does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.Metadata does not contain field %s", fd.FullName())) } } @@ -1028,25 +1028,25 @@ func (x *fastReflection_Profile) Clear(fd protoreflect.FieldDescriptor) { // the default value of a bytes scalar is guaranteed to be a copy. // For unpopulated composite types, it returns an empty, read-only view // of the value; to obtain a mutable reference, use Mutable. -func (x *fastReflection_Profile) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_Metadata) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "service.v1.Profile.id": + case "svc.v1.Metadata.id": value := x.Id return protoreflect.ValueOfString(value) - case "service.v1.Profile.subject": + case "svc.v1.Metadata.subject": value := x.Subject return protoreflect.ValueOfString(value) - case "service.v1.Profile.origin": + case "svc.v1.Metadata.origin": value := x.Origin return protoreflect.ValueOfString(value) - case "service.v1.Profile.controller": + case "svc.v1.Metadata.controller": value := x.Controller return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.Profile")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.Metadata")) } - panic(fmt.Errorf("message service.v1.Profile does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message svc.v1.Metadata does not contain field %s", descriptor.FullName())) } } @@ -1060,21 +1060,21 @@ func (x *fastReflection_Profile) Get(descriptor protoreflect.FieldDescriptor) pr // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Profile) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_Metadata) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "service.v1.Profile.id": + case "svc.v1.Metadata.id": x.Id = value.Interface().(string) - case "service.v1.Profile.subject": + case "svc.v1.Metadata.subject": x.Subject = value.Interface().(string) - case "service.v1.Profile.origin": + case "svc.v1.Metadata.origin": x.Origin = value.Interface().(string) - case "service.v1.Profile.controller": + case "svc.v1.Metadata.controller": x.Controller = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.Profile")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.Metadata")) } - panic(fmt.Errorf("message service.v1.Profile does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.Metadata does not contain field %s", fd.FullName())) } } @@ -1088,52 +1088,52 @@ func (x *fastReflection_Profile) Set(fd protoreflect.FieldDescriptor, value prot // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Profile) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_Metadata) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "service.v1.Profile.id": - panic(fmt.Errorf("field id of message service.v1.Profile is not mutable")) - case "service.v1.Profile.subject": - panic(fmt.Errorf("field subject of message service.v1.Profile is not mutable")) - case "service.v1.Profile.origin": - panic(fmt.Errorf("field origin of message service.v1.Profile is not mutable")) - case "service.v1.Profile.controller": - panic(fmt.Errorf("field controller of message service.v1.Profile is not mutable")) + case "svc.v1.Metadata.id": + panic(fmt.Errorf("field id of message svc.v1.Metadata is not mutable")) + case "svc.v1.Metadata.subject": + panic(fmt.Errorf("field subject of message svc.v1.Metadata is not mutable")) + case "svc.v1.Metadata.origin": + panic(fmt.Errorf("field origin of message svc.v1.Metadata is not mutable")) + case "svc.v1.Metadata.controller": + panic(fmt.Errorf("field controller of message svc.v1.Metadata is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.Profile")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.Metadata")) } - panic(fmt.Errorf("message service.v1.Profile does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.Metadata does not contain field %s", fd.FullName())) } } // NewField returns a new value that is assignable to the field // for the given descriptor. For scalars, this returns the default value. // For lists, maps, and messages, this returns a new, empty, mutable value. -func (x *fastReflection_Profile) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_Metadata) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "service.v1.Profile.id": + case "svc.v1.Metadata.id": return protoreflect.ValueOfString("") - case "service.v1.Profile.subject": + case "svc.v1.Metadata.subject": return protoreflect.ValueOfString("") - case "service.v1.Profile.origin": + case "svc.v1.Metadata.origin": return protoreflect.ValueOfString("") - case "service.v1.Profile.controller": + case "svc.v1.Metadata.controller": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.Profile")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.Metadata")) } - panic(fmt.Errorf("message service.v1.Profile does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.Metadata does not contain field %s", fd.FullName())) } } // WhichOneof reports which field within the oneof is populated, // returning nil if none are populated. // It panics if the oneof descriptor does not belong to this message. -func (x *fastReflection_Profile) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_Metadata) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in service.v1.Profile", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in svc.v1.Metadata", d.FullName())) } panic("unreachable") } @@ -1141,7 +1141,7 @@ func (x *fastReflection_Profile) WhichOneof(d protoreflect.OneofDescriptor) prot // GetUnknown retrieves the entire list of unknown fields. // The caller may only mutate the contents of the RawFields // if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_Profile) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_Metadata) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -1152,7 +1152,7 @@ func (x *fastReflection_Profile) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Profile) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_Metadata) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -1164,7 +1164,7 @@ func (x *fastReflection_Profile) SetUnknown(fields protoreflect.RawFields) { // message type, but the details are implementation dependent. // Validity is not part of the protobuf data model, and may not // be preserved in marshaling or other operations. -func (x *fastReflection_Profile) IsValid() bool { +func (x *fastReflection_Metadata) IsValid() bool { return x != nil } @@ -1174,9 +1174,9 @@ func (x *fastReflection_Profile) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_Profile) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_Metadata) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*Profile) + x := input.Message.Interface().(*Metadata) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -1214,7 +1214,7 @@ func (x *fastReflection_Profile) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*Profile) + x := input.Message.Interface().(*Metadata) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -1272,7 +1272,7 @@ func (x *fastReflection_Profile) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*Profile) + x := input.Message.Interface().(*Metadata) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -1304,10 +1304,10 @@ func (x *fastReflection_Profile) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Profile: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Metadata: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Profile: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Metadata: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -1477,7 +1477,7 @@ func (x *fastReflection_Profile) ProtoMethods() *protoiface.Methods { // versions: // protoc-gen-go v1.27.0 // protoc (unknown) -// source: service/v1/state.proto +// source: svc/v1/state.proto const ( // Verify that this generated code is sufficiently up-to-date. @@ -1486,7 +1486,7 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -type Metadata struct { +type Domain struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -1500,77 +1500,77 @@ type Metadata struct { Tags []string `protobuf:"bytes,7,rep,name=tags,proto3" json:"tags,omitempty"` } -func (x *Metadata) Reset() { - *x = Metadata{} +func (x *Domain) Reset() { + *x = Domain{} if protoimpl.UnsafeEnabled { - mi := &file_service_v1_state_proto_msgTypes[0] + mi := &file_svc_v1_state_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *Metadata) String() string { +func (x *Domain) String() string { return protoimpl.X.MessageStringOf(x) } -func (*Metadata) ProtoMessage() {} +func (*Domain) ProtoMessage() {} -// Deprecated: Use Metadata.ProtoReflect.Descriptor instead. -func (*Metadata) Descriptor() ([]byte, []int) { - return file_service_v1_state_proto_rawDescGZIP(), []int{0} +// Deprecated: Use Domain.ProtoReflect.Descriptor instead. +func (*Domain) Descriptor() ([]byte, []int) { + return file_svc_v1_state_proto_rawDescGZIP(), []int{0} } -func (x *Metadata) GetId() uint64 { +func (x *Domain) GetId() uint64 { if x != nil { return x.Id } return 0 } -func (x *Metadata) GetOrigin() string { +func (x *Domain) GetOrigin() string { if x != nil { return x.Origin } return "" } -func (x *Metadata) GetName() string { +func (x *Domain) GetName() string { if x != nil { return x.Name } return "" } -func (x *Metadata) GetDescription() string { +func (x *Domain) GetDescription() string { if x != nil { return x.Description } return "" } -func (x *Metadata) GetCategory() string { +func (x *Domain) GetCategory() string { if x != nil { return x.Category } return "" } -func (x *Metadata) GetIcon() string { +func (x *Domain) GetIcon() string { if x != nil { return x.Icon } return "" } -func (x *Metadata) GetTags() []string { +func (x *Domain) GetTags() []string { if x != nil { return x.Tags } return nil } -// Profile represents a DID alias -type Profile struct { +// Metadata represents a DID alias +type Metadata struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -1585,114 +1585,111 @@ type Profile struct { Controller string `protobuf:"bytes,4,opt,name=controller,proto3" json:"controller,omitempty"` } -func (x *Profile) Reset() { - *x = Profile{} +func (x *Metadata) Reset() { + *x = Metadata{} if protoimpl.UnsafeEnabled { - mi := &file_service_v1_state_proto_msgTypes[1] + mi := &file_svc_v1_state_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *Profile) String() string { +func (x *Metadata) String() string { return protoimpl.X.MessageStringOf(x) } -func (*Profile) ProtoMessage() {} +func (*Metadata) ProtoMessage() {} -// Deprecated: Use Profile.ProtoReflect.Descriptor instead. -func (*Profile) Descriptor() ([]byte, []int) { - return file_service_v1_state_proto_rawDescGZIP(), []int{1} +// Deprecated: Use Metadata.ProtoReflect.Descriptor instead. +func (*Metadata) Descriptor() ([]byte, []int) { + return file_svc_v1_state_proto_rawDescGZIP(), []int{1} } -func (x *Profile) GetId() string { +func (x *Metadata) GetId() string { if x != nil { return x.Id } return "" } -func (x *Profile) GetSubject() string { +func (x *Metadata) GetSubject() string { if x != nil { return x.Subject } return "" } -func (x *Profile) GetOrigin() string { +func (x *Metadata) GetOrigin() string { if x != nil { return x.Origin } return "" } -func (x *Profile) GetController() string { +func (x *Metadata) GetController() string { if x != nil { return x.Controller } return "" } -var File_service_v1_state_proto protoreflect.FileDescriptor +var File_svc_v1_state_proto protoreflect.FileDescriptor -var file_service_v1_state_proto_rawDesc = []byte{ - 0x0a, 0x16, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x74, 0x61, - 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x17, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x6f, 0x72, 0x6d, - 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x72, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xcc, 0x01, - 0x0a, 0x08, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x72, - 0x69, 0x67, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x72, 0x69, 0x67, - 0x69, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x61, 0x74, 0x65, - 0x67, 0x6f, 0x72, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65, - 0x67, 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, - 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x3a, 0x1e, 0xf2, 0x9e, - 0xd3, 0x8e, 0x03, 0x18, 0x0a, 0x06, 0x0a, 0x02, 0x69, 0x64, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x06, - 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x10, 0x01, 0x18, 0x01, 0x18, 0x01, 0x22, 0x91, 0x01, 0x0a, - 0x07, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x6a, - 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, - 0x63, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, - 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, - 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x3a, 0x24, 0xf2, 0x9e, 0xd3, 0x8e, - 0x03, 0x1e, 0x0a, 0x04, 0x0a, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x0e, 0x73, 0x75, 0x62, 0x6a, - 0x65, 0x63, 0x74, 0x2c, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x10, 0x01, 0x18, 0x01, 0x18, 0x02, - 0x42, 0x96, 0x01, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x2e, 0x76, 0x31, 0x42, 0x0a, 0x53, 0x74, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, - 0x01, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x6e, - 0x73, 0x6f, 0x6e, 0x72, 0x2f, 0x73, 0x6f, 0x6e, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x0a, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0a, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5c, - 0x56, 0x31, 0xe2, 0x02, 0x16, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5c, 0x56, 0x31, 0x5c, - 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0b, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, +var file_svc_v1_state_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x1a, 0x17, 0x63, 0x6f, + 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x72, 0x6d, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xca, 0x01, 0x0a, 0x06, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, + 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, + 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, + 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, + 0x0a, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x63, + 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x12, 0x12, + 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, + 0x67, 0x73, 0x3a, 0x1e, 0xf2, 0x9e, 0xd3, 0x8e, 0x03, 0x18, 0x0a, 0x06, 0x0a, 0x02, 0x69, 0x64, + 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x10, 0x01, 0x18, 0x01, + 0x18, 0x01, 0x22, 0x92, 0x01, 0x0a, 0x08, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, + 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, + 0x18, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x72, 0x69, + 0x67, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, + 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, + 0x72, 0x3a, 0x24, 0xf2, 0x9e, 0xd3, 0x8e, 0x03, 0x1e, 0x0a, 0x04, 0x0a, 0x02, 0x69, 0x64, 0x12, + 0x14, 0x0a, 0x0e, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2c, 0x6f, 0x72, 0x69, 0x67, 0x69, + 0x6e, 0x10, 0x01, 0x18, 0x01, 0x18, 0x02, 0x42, 0x7a, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x2e, 0x73, + 0x76, 0x63, 0x2e, 0x76, 0x31, 0x42, 0x0a, 0x53, 0x74, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x74, + 0x6f, 0x50, 0x01, 0x5a, 0x27, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x6f, 0x6e, 0x73, 0x6f, 0x6e, 0x72, 0x2f, 0x73, 0x6f, 0x6e, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x3b, 0x73, 0x76, 0x63, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, + 0x58, 0x58, 0xaa, 0x02, 0x06, 0x53, 0x76, 0x63, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x06, 0x53, 0x76, + 0x63, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x12, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, + 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x07, 0x53, 0x76, 0x63, 0x3a, + 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_service_v1_state_proto_rawDescOnce sync.Once - file_service_v1_state_proto_rawDescData = file_service_v1_state_proto_rawDesc + file_svc_v1_state_proto_rawDescOnce sync.Once + file_svc_v1_state_proto_rawDescData = file_svc_v1_state_proto_rawDesc ) -func file_service_v1_state_proto_rawDescGZIP() []byte { - file_service_v1_state_proto_rawDescOnce.Do(func() { - file_service_v1_state_proto_rawDescData = protoimpl.X.CompressGZIP(file_service_v1_state_proto_rawDescData) +func file_svc_v1_state_proto_rawDescGZIP() []byte { + file_svc_v1_state_proto_rawDescOnce.Do(func() { + file_svc_v1_state_proto_rawDescData = protoimpl.X.CompressGZIP(file_svc_v1_state_proto_rawDescData) }) - return file_service_v1_state_proto_rawDescData + return file_svc_v1_state_proto_rawDescData } -var file_service_v1_state_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_service_v1_state_proto_goTypes = []interface{}{ - (*Metadata)(nil), // 0: service.v1.Metadata - (*Profile)(nil), // 1: service.v1.Profile +var file_svc_v1_state_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_svc_v1_state_proto_goTypes = []interface{}{ + (*Domain)(nil), // 0: svc.v1.Domain + (*Metadata)(nil), // 1: svc.v1.Metadata } -var file_service_v1_state_proto_depIdxs = []int32{ +var file_svc_v1_state_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for method output_type 0, // [0:0] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name @@ -1700,14 +1697,14 @@ var file_service_v1_state_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for field type_name } -func init() { file_service_v1_state_proto_init() } -func file_service_v1_state_proto_init() { - if File_service_v1_state_proto != nil { +func init() { file_svc_v1_state_proto_init() } +func file_svc_v1_state_proto_init() { + if File_svc_v1_state_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_service_v1_state_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Metadata); i { + file_svc_v1_state_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Domain); i { case 0: return &v.state case 1: @@ -1718,8 +1715,8 @@ func file_service_v1_state_proto_init() { return nil } } - file_service_v1_state_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Profile); i { + file_svc_v1_state_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Metadata); i { case 0: return &v.state case 1: @@ -1735,18 +1732,18 @@ func file_service_v1_state_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_service_v1_state_proto_rawDesc, + RawDescriptor: file_svc_v1_state_proto_rawDesc, NumEnums: 0, NumMessages: 2, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_service_v1_state_proto_goTypes, - DependencyIndexes: file_service_v1_state_proto_depIdxs, - MessageInfos: file_service_v1_state_proto_msgTypes, + GoTypes: file_svc_v1_state_proto_goTypes, + DependencyIndexes: file_svc_v1_state_proto_depIdxs, + MessageInfos: file_svc_v1_state_proto_msgTypes, }.Build() - File_service_v1_state_proto = out.File - file_service_v1_state_proto_rawDesc = nil - file_service_v1_state_proto_goTypes = nil - file_service_v1_state_proto_depIdxs = nil + File_svc_v1_state_proto = out.File + file_svc_v1_state_proto_rawDesc = nil + file_svc_v1_state_proto_goTypes = nil + file_svc_v1_state_proto_depIdxs = nil } diff --git a/api/service/v1/tx.pulsar.go b/api/svc/v1/tx.pulsar.go similarity index 83% rename from api/service/v1/tx.pulsar.go rename to api/svc/v1/tx.pulsar.go index feb847c60..f6ff53eca 100644 --- a/api/service/v1/tx.pulsar.go +++ b/api/svc/v1/tx.pulsar.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-pulsar. DO NOT EDIT. -package servicev1 +package svcv1 import ( _ "cosmossdk.io/api/cosmos/msg/v1" @@ -22,8 +22,8 @@ var ( ) func init() { - file_service_v1_tx_proto_init() - md_MsgUpdateParams = File_service_v1_tx_proto.Messages().ByName("MsgUpdateParams") + file_svc_v1_tx_proto_init() + md_MsgUpdateParams = File_svc_v1_tx_proto.Messages().ByName("MsgUpdateParams") fd_MsgUpdateParams_authority = md_MsgUpdateParams.Fields().ByName("authority") fd_MsgUpdateParams_params = md_MsgUpdateParams.Fields().ByName("params") } @@ -37,7 +37,7 @@ func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message { } func (x *MsgUpdateParams) slowProtoReflect() protoreflect.Message { - mi := &file_service_v1_tx_proto_msgTypes[0] + mi := &file_svc_v1_tx_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -120,15 +120,15 @@ func (x *fastReflection_MsgUpdateParams) Range(f func(protoreflect.FieldDescript // a repeated field is populated if it is non-empty. func (x *fastReflection_MsgUpdateParams) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "service.v1.MsgUpdateParams.authority": + case "svc.v1.MsgUpdateParams.authority": return x.Authority != "" - case "service.v1.MsgUpdateParams.params": + case "svc.v1.MsgUpdateParams.params": return x.Params != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.MsgUpdateParams")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.MsgUpdateParams")) } - panic(fmt.Errorf("message service.v1.MsgUpdateParams does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.MsgUpdateParams does not contain field %s", fd.FullName())) } } @@ -140,15 +140,15 @@ func (x *fastReflection_MsgUpdateParams) Has(fd protoreflect.FieldDescriptor) bo // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgUpdateParams) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "service.v1.MsgUpdateParams.authority": + case "svc.v1.MsgUpdateParams.authority": x.Authority = "" - case "service.v1.MsgUpdateParams.params": + case "svc.v1.MsgUpdateParams.params": x.Params = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.MsgUpdateParams")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.MsgUpdateParams")) } - panic(fmt.Errorf("message service.v1.MsgUpdateParams does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.MsgUpdateParams does not contain field %s", fd.FullName())) } } @@ -160,17 +160,17 @@ func (x *fastReflection_MsgUpdateParams) Clear(fd protoreflect.FieldDescriptor) // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_MsgUpdateParams) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "service.v1.MsgUpdateParams.authority": + case "svc.v1.MsgUpdateParams.authority": value := x.Authority return protoreflect.ValueOfString(value) - case "service.v1.MsgUpdateParams.params": + case "svc.v1.MsgUpdateParams.params": value := x.Params return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.MsgUpdateParams")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.MsgUpdateParams")) } - panic(fmt.Errorf("message service.v1.MsgUpdateParams does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message svc.v1.MsgUpdateParams does not contain field %s", descriptor.FullName())) } } @@ -186,15 +186,15 @@ func (x *fastReflection_MsgUpdateParams) Get(descriptor protoreflect.FieldDescri // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgUpdateParams) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "service.v1.MsgUpdateParams.authority": + case "svc.v1.MsgUpdateParams.authority": x.Authority = value.Interface().(string) - case "service.v1.MsgUpdateParams.params": + case "svc.v1.MsgUpdateParams.params": x.Params = value.Message().Interface().(*Params) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.MsgUpdateParams")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.MsgUpdateParams")) } - panic(fmt.Errorf("message service.v1.MsgUpdateParams does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.MsgUpdateParams does not contain field %s", fd.FullName())) } } @@ -210,18 +210,18 @@ func (x *fastReflection_MsgUpdateParams) Set(fd protoreflect.FieldDescriptor, va // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgUpdateParams) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "service.v1.MsgUpdateParams.params": + case "svc.v1.MsgUpdateParams.params": if x.Params == nil { x.Params = new(Params) } return protoreflect.ValueOfMessage(x.Params.ProtoReflect()) - case "service.v1.MsgUpdateParams.authority": - panic(fmt.Errorf("field authority of message service.v1.MsgUpdateParams is not mutable")) + case "svc.v1.MsgUpdateParams.authority": + panic(fmt.Errorf("field authority of message svc.v1.MsgUpdateParams is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.MsgUpdateParams")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.MsgUpdateParams")) } - panic(fmt.Errorf("message service.v1.MsgUpdateParams does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.MsgUpdateParams does not contain field %s", fd.FullName())) } } @@ -230,16 +230,16 @@ func (x *fastReflection_MsgUpdateParams) Mutable(fd protoreflect.FieldDescriptor // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_MsgUpdateParams) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "service.v1.MsgUpdateParams.authority": + case "svc.v1.MsgUpdateParams.authority": return protoreflect.ValueOfString("") - case "service.v1.MsgUpdateParams.params": + case "svc.v1.MsgUpdateParams.params": m := new(Params) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.MsgUpdateParams")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.MsgUpdateParams")) } - panic(fmt.Errorf("message service.v1.MsgUpdateParams does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.MsgUpdateParams does not contain field %s", fd.FullName())) } } @@ -249,7 +249,7 @@ func (x *fastReflection_MsgUpdateParams) NewField(fd protoreflect.FieldDescripto func (x *fastReflection_MsgUpdateParams) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in service.v1.MsgUpdateParams", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in svc.v1.MsgUpdateParams", d.FullName())) } panic("unreachable") } @@ -519,8 +519,8 @@ var ( ) func init() { - file_service_v1_tx_proto_init() - md_MsgUpdateParamsResponse = File_service_v1_tx_proto.Messages().ByName("MsgUpdateParamsResponse") + file_svc_v1_tx_proto_init() + md_MsgUpdateParamsResponse = File_svc_v1_tx_proto.Messages().ByName("MsgUpdateParamsResponse") } var _ protoreflect.Message = (*fastReflection_MsgUpdateParamsResponse)(nil) @@ -532,7 +532,7 @@ func (x *MsgUpdateParamsResponse) ProtoReflect() protoreflect.Message { } func (x *MsgUpdateParamsResponse) slowProtoReflect() protoreflect.Message { - mi := &file_service_v1_tx_proto_msgTypes[1] + mi := &file_svc_v1_tx_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -605,9 +605,9 @@ func (x *fastReflection_MsgUpdateParamsResponse) Has(fd protoreflect.FieldDescri switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.MsgUpdateParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.MsgUpdateParamsResponse")) } - panic(fmt.Errorf("message service.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) } } @@ -621,9 +621,9 @@ func (x *fastReflection_MsgUpdateParamsResponse) Clear(fd protoreflect.FieldDesc switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.MsgUpdateParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.MsgUpdateParamsResponse")) } - panic(fmt.Errorf("message service.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) } } @@ -637,9 +637,9 @@ func (x *fastReflection_MsgUpdateParamsResponse) Get(descriptor protoreflect.Fie switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.MsgUpdateParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.MsgUpdateParamsResponse")) } - panic(fmt.Errorf("message service.v1.MsgUpdateParamsResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message svc.v1.MsgUpdateParamsResponse does not contain field %s", descriptor.FullName())) } } @@ -657,9 +657,9 @@ func (x *fastReflection_MsgUpdateParamsResponse) Set(fd protoreflect.FieldDescri switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.MsgUpdateParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.MsgUpdateParamsResponse")) } - panic(fmt.Errorf("message service.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) } } @@ -677,9 +677,9 @@ func (x *fastReflection_MsgUpdateParamsResponse) Mutable(fd protoreflect.FieldDe switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.MsgUpdateParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.MsgUpdateParamsResponse")) } - panic(fmt.Errorf("message service.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) } } @@ -690,9 +690,9 @@ func (x *fastReflection_MsgUpdateParamsResponse) NewField(fd protoreflect.FieldD switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.MsgUpdateParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.MsgUpdateParamsResponse")) } - panic(fmt.Errorf("message service.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) } } @@ -702,7 +702,7 @@ func (x *fastReflection_MsgUpdateParamsResponse) NewField(fd protoreflect.FieldD func (x *fastReflection_MsgUpdateParamsResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in service.v1.MsgUpdateParamsResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in svc.v1.MsgUpdateParamsResponse", d.FullName())) } panic("unreachable") } @@ -877,8 +877,8 @@ var ( ) func init() { - file_service_v1_tx_proto_init() - md_MsgRegisterService = File_service_v1_tx_proto.Messages().ByName("MsgRegisterService") + file_svc_v1_tx_proto_init() + md_MsgRegisterService = File_svc_v1_tx_proto.Messages().ByName("MsgRegisterService") fd_MsgRegisterService_controller = md_MsgRegisterService.Fields().ByName("controller") fd_MsgRegisterService_service = md_MsgRegisterService.Fields().ByName("service") } @@ -892,7 +892,7 @@ func (x *MsgRegisterService) ProtoReflect() protoreflect.Message { } func (x *MsgRegisterService) slowProtoReflect() protoreflect.Message { - mi := &file_service_v1_tx_proto_msgTypes[2] + mi := &file_svc_v1_tx_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -975,15 +975,15 @@ func (x *fastReflection_MsgRegisterService) Range(f func(protoreflect.FieldDescr // a repeated field is populated if it is non-empty. func (x *fastReflection_MsgRegisterService) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "service.v1.MsgRegisterService.controller": + case "svc.v1.MsgRegisterService.controller": return x.Controller != "" - case "service.v1.MsgRegisterService.service": + case "svc.v1.MsgRegisterService.service": return x.Service != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.MsgRegisterService")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.MsgRegisterService")) } - panic(fmt.Errorf("message service.v1.MsgRegisterService does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.MsgRegisterService does not contain field %s", fd.FullName())) } } @@ -995,15 +995,15 @@ func (x *fastReflection_MsgRegisterService) Has(fd protoreflect.FieldDescriptor) // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgRegisterService) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "service.v1.MsgRegisterService.controller": + case "svc.v1.MsgRegisterService.controller": x.Controller = "" - case "service.v1.MsgRegisterService.service": + case "svc.v1.MsgRegisterService.service": x.Service = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.MsgRegisterService")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.MsgRegisterService")) } - panic(fmt.Errorf("message service.v1.MsgRegisterService does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.MsgRegisterService does not contain field %s", fd.FullName())) } } @@ -1015,17 +1015,17 @@ func (x *fastReflection_MsgRegisterService) Clear(fd protoreflect.FieldDescripto // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_MsgRegisterService) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "service.v1.MsgRegisterService.controller": + case "svc.v1.MsgRegisterService.controller": value := x.Controller return protoreflect.ValueOfString(value) - case "service.v1.MsgRegisterService.service": + case "svc.v1.MsgRegisterService.service": value := x.Service return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.MsgRegisterService")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.MsgRegisterService")) } - panic(fmt.Errorf("message service.v1.MsgRegisterService does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message svc.v1.MsgRegisterService does not contain field %s", descriptor.FullName())) } } @@ -1041,15 +1041,15 @@ func (x *fastReflection_MsgRegisterService) Get(descriptor protoreflect.FieldDes // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgRegisterService) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "service.v1.MsgRegisterService.controller": + case "svc.v1.MsgRegisterService.controller": x.Controller = value.Interface().(string) - case "service.v1.MsgRegisterService.service": + case "svc.v1.MsgRegisterService.service": x.Service = value.Message().Interface().(*Service) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.MsgRegisterService")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.MsgRegisterService")) } - panic(fmt.Errorf("message service.v1.MsgRegisterService does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.MsgRegisterService does not contain field %s", fd.FullName())) } } @@ -1065,18 +1065,18 @@ func (x *fastReflection_MsgRegisterService) Set(fd protoreflect.FieldDescriptor, // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgRegisterService) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "service.v1.MsgRegisterService.service": + case "svc.v1.MsgRegisterService.service": if x.Service == nil { x.Service = new(Service) } return protoreflect.ValueOfMessage(x.Service.ProtoReflect()) - case "service.v1.MsgRegisterService.controller": - panic(fmt.Errorf("field controller of message service.v1.MsgRegisterService is not mutable")) + case "svc.v1.MsgRegisterService.controller": + panic(fmt.Errorf("field controller of message svc.v1.MsgRegisterService is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.MsgRegisterService")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.MsgRegisterService")) } - panic(fmt.Errorf("message service.v1.MsgRegisterService does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.MsgRegisterService does not contain field %s", fd.FullName())) } } @@ -1085,16 +1085,16 @@ func (x *fastReflection_MsgRegisterService) Mutable(fd protoreflect.FieldDescrip // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_MsgRegisterService) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "service.v1.MsgRegisterService.controller": + case "svc.v1.MsgRegisterService.controller": return protoreflect.ValueOfString("") - case "service.v1.MsgRegisterService.service": + case "svc.v1.MsgRegisterService.service": m := new(Service) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.MsgRegisterService")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.MsgRegisterService")) } - panic(fmt.Errorf("message service.v1.MsgRegisterService does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.MsgRegisterService does not contain field %s", fd.FullName())) } } @@ -1104,7 +1104,7 @@ func (x *fastReflection_MsgRegisterService) NewField(fd protoreflect.FieldDescri func (x *fastReflection_MsgRegisterService) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in service.v1.MsgRegisterService", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in svc.v1.MsgRegisterService", d.FullName())) } panic("unreachable") } @@ -1376,8 +1376,8 @@ var ( ) func init() { - file_service_v1_tx_proto_init() - md_MsgRegisterServiceResponse = File_service_v1_tx_proto.Messages().ByName("MsgRegisterServiceResponse") + file_svc_v1_tx_proto_init() + md_MsgRegisterServiceResponse = File_svc_v1_tx_proto.Messages().ByName("MsgRegisterServiceResponse") fd_MsgRegisterServiceResponse_success = md_MsgRegisterServiceResponse.Fields().ByName("success") fd_MsgRegisterServiceResponse_did = md_MsgRegisterServiceResponse.Fields().ByName("did") } @@ -1391,7 +1391,7 @@ func (x *MsgRegisterServiceResponse) ProtoReflect() protoreflect.Message { } func (x *MsgRegisterServiceResponse) slowProtoReflect() protoreflect.Message { - mi := &file_service_v1_tx_proto_msgTypes[3] + mi := &file_svc_v1_tx_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1474,15 +1474,15 @@ func (x *fastReflection_MsgRegisterServiceResponse) Range(f func(protoreflect.Fi // a repeated field is populated if it is non-empty. func (x *fastReflection_MsgRegisterServiceResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "service.v1.MsgRegisterServiceResponse.success": + case "svc.v1.MsgRegisterServiceResponse.success": return x.Success != false - case "service.v1.MsgRegisterServiceResponse.did": + case "svc.v1.MsgRegisterServiceResponse.did": return x.Did != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.MsgRegisterServiceResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.MsgRegisterServiceResponse")) } - panic(fmt.Errorf("message service.v1.MsgRegisterServiceResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.MsgRegisterServiceResponse does not contain field %s", fd.FullName())) } } @@ -1494,15 +1494,15 @@ func (x *fastReflection_MsgRegisterServiceResponse) Has(fd protoreflect.FieldDes // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgRegisterServiceResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "service.v1.MsgRegisterServiceResponse.success": + case "svc.v1.MsgRegisterServiceResponse.success": x.Success = false - case "service.v1.MsgRegisterServiceResponse.did": + case "svc.v1.MsgRegisterServiceResponse.did": x.Did = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.MsgRegisterServiceResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.MsgRegisterServiceResponse")) } - panic(fmt.Errorf("message service.v1.MsgRegisterServiceResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.MsgRegisterServiceResponse does not contain field %s", fd.FullName())) } } @@ -1514,17 +1514,17 @@ func (x *fastReflection_MsgRegisterServiceResponse) Clear(fd protoreflect.FieldD // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_MsgRegisterServiceResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "service.v1.MsgRegisterServiceResponse.success": + case "svc.v1.MsgRegisterServiceResponse.success": value := x.Success return protoreflect.ValueOfBool(value) - case "service.v1.MsgRegisterServiceResponse.did": + case "svc.v1.MsgRegisterServiceResponse.did": value := x.Did return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.MsgRegisterServiceResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.MsgRegisterServiceResponse")) } - panic(fmt.Errorf("message service.v1.MsgRegisterServiceResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message svc.v1.MsgRegisterServiceResponse does not contain field %s", descriptor.FullName())) } } @@ -1540,15 +1540,15 @@ func (x *fastReflection_MsgRegisterServiceResponse) Get(descriptor protoreflect. // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgRegisterServiceResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "service.v1.MsgRegisterServiceResponse.success": + case "svc.v1.MsgRegisterServiceResponse.success": x.Success = value.Bool() - case "service.v1.MsgRegisterServiceResponse.did": + case "svc.v1.MsgRegisterServiceResponse.did": x.Did = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.MsgRegisterServiceResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.MsgRegisterServiceResponse")) } - panic(fmt.Errorf("message service.v1.MsgRegisterServiceResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.MsgRegisterServiceResponse does not contain field %s", fd.FullName())) } } @@ -1564,15 +1564,15 @@ func (x *fastReflection_MsgRegisterServiceResponse) Set(fd protoreflect.FieldDes // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgRegisterServiceResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "service.v1.MsgRegisterServiceResponse.success": - panic(fmt.Errorf("field success of message service.v1.MsgRegisterServiceResponse is not mutable")) - case "service.v1.MsgRegisterServiceResponse.did": - panic(fmt.Errorf("field did of message service.v1.MsgRegisterServiceResponse is not mutable")) + case "svc.v1.MsgRegisterServiceResponse.success": + panic(fmt.Errorf("field success of message svc.v1.MsgRegisterServiceResponse is not mutable")) + case "svc.v1.MsgRegisterServiceResponse.did": + panic(fmt.Errorf("field did of message svc.v1.MsgRegisterServiceResponse is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.MsgRegisterServiceResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.MsgRegisterServiceResponse")) } - panic(fmt.Errorf("message service.v1.MsgRegisterServiceResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.MsgRegisterServiceResponse does not contain field %s", fd.FullName())) } } @@ -1581,15 +1581,15 @@ func (x *fastReflection_MsgRegisterServiceResponse) Mutable(fd protoreflect.Fiel // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_MsgRegisterServiceResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "service.v1.MsgRegisterServiceResponse.success": + case "svc.v1.MsgRegisterServiceResponse.success": return protoreflect.ValueOfBool(false) - case "service.v1.MsgRegisterServiceResponse.did": + case "svc.v1.MsgRegisterServiceResponse.did": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: service.v1.MsgRegisterServiceResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: svc.v1.MsgRegisterServiceResponse")) } - panic(fmt.Errorf("message service.v1.MsgRegisterServiceResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message svc.v1.MsgRegisterServiceResponse does not contain field %s", fd.FullName())) } } @@ -1599,7 +1599,7 @@ func (x *fastReflection_MsgRegisterServiceResponse) NewField(fd protoreflect.Fie func (x *fastReflection_MsgRegisterServiceResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in service.v1.MsgRegisterServiceResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in svc.v1.MsgRegisterServiceResponse", d.FullName())) } panic("unreachable") } @@ -1847,7 +1847,7 @@ func (x *fastReflection_MsgRegisterServiceResponse) ProtoMethods() *protoiface.M // versions: // protoc-gen-go v1.27.0 // protoc (unknown) -// source: service/v1/tx.proto +// source: svc/v1/tx.proto const ( // Verify that this generated code is sufficiently up-to-date. @@ -1875,7 +1875,7 @@ type MsgUpdateParams struct { func (x *MsgUpdateParams) Reset() { *x = MsgUpdateParams{} if protoimpl.UnsafeEnabled { - mi := &file_service_v1_tx_proto_msgTypes[0] + mi := &file_svc_v1_tx_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1889,7 +1889,7 @@ func (*MsgUpdateParams) ProtoMessage() {} // Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead. func (*MsgUpdateParams) Descriptor() ([]byte, []int) { - return file_service_v1_tx_proto_rawDescGZIP(), []int{0} + return file_svc_v1_tx_proto_rawDescGZIP(), []int{0} } func (x *MsgUpdateParams) GetAuthority() string { @@ -1919,7 +1919,7 @@ type MsgUpdateParamsResponse struct { func (x *MsgUpdateParamsResponse) Reset() { *x = MsgUpdateParamsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_v1_tx_proto_msgTypes[1] + mi := &file_svc_v1_tx_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1933,7 +1933,7 @@ func (*MsgUpdateParamsResponse) ProtoMessage() {} // Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead. func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) { - return file_service_v1_tx_proto_rawDescGZIP(), []int{1} + return file_svc_v1_tx_proto_rawDescGZIP(), []int{1} } // MsgRegisterService is the message type for the RegisterService RPC. @@ -1952,7 +1952,7 @@ type MsgRegisterService struct { func (x *MsgRegisterService) Reset() { *x = MsgRegisterService{} if protoimpl.UnsafeEnabled { - mi := &file_service_v1_tx_proto_msgTypes[2] + mi := &file_svc_v1_tx_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1966,7 +1966,7 @@ func (*MsgRegisterService) ProtoMessage() {} // Deprecated: Use MsgRegisterService.ProtoReflect.Descriptor instead. func (*MsgRegisterService) Descriptor() ([]byte, []int) { - return file_service_v1_tx_proto_rawDescGZIP(), []int{2} + return file_svc_v1_tx_proto_rawDescGZIP(), []int{2} } func (x *MsgRegisterService) GetController() string { @@ -1996,7 +1996,7 @@ type MsgRegisterServiceResponse struct { func (x *MsgRegisterServiceResponse) Reset() { *x = MsgRegisterServiceResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_v1_tx_proto_msgTypes[3] + mi := &file_svc_v1_tx_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2010,7 +2010,7 @@ func (*MsgRegisterServiceResponse) ProtoMessage() {} // Deprecated: Use MsgRegisterServiceResponse.ProtoReflect.Descriptor instead. func (*MsgRegisterServiceResponse) Descriptor() ([]byte, []int) { - return file_service_v1_tx_proto_rawDescGZIP(), []int{3} + return file_svc_v1_tx_proto_rawDescGZIP(), []int{3} } func (x *MsgRegisterServiceResponse) GetSuccess() bool { @@ -2027,94 +2027,90 @@ func (x *MsgRegisterServiceResponse) GetDid() string { return "" } -var File_service_v1_tx_proto protoreflect.FileDescriptor +var File_svc_v1_tx_proto protoreflect.FileDescriptor -var file_service_v1_tx_proto_rawDesc = []byte{ - 0x0a, 0x13, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x78, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, - 0x31, 0x1a, 0x17, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x6d, 0x73, 0x67, 0x2f, 0x76, 0x31, - 0x2f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x63, 0x6f, 0x73, 0x6d, - 0x6f, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8b, 0x01, 0x0a, 0x0f, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x36, 0x0a, 0x09, 0x61, 0x75, 0x74, - 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, - 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, - 0x79, 0x12, 0x30, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x12, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, +var file_svc_v1_tx_proto_rawDesc = []byte{ + 0x0a, 0x0f, 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x12, 0x06, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x1a, 0x17, 0x63, 0x6f, 0x73, 0x6d, 0x6f, + 0x73, 0x2f, 0x6d, 0x73, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x14, 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x73, + 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, + 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x73, + 0x6d, 0x6f, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x87, 0x01, 0x0a, 0x0f, 0x4d, 0x73, + 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x36, 0x0a, + 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x09, 0x61, 0x75, 0x74, 0x68, + 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x2c, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x3a, 0x0e, 0x82, 0xe7, 0xb0, 0x2a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, 0x19, 0x0a, 0x17, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x8e, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x8a, 0x01, 0x0a, 0x12, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x38, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, - 0x2d, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x13, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x3a, 0x0f, - 0x82, 0xe7, 0xb0, 0x2a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x22, - 0x48, 0x0a, 0x1a, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, - 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, - 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x69, 0x64, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x64, 0x69, 0x64, 0x32, 0xb9, 0x01, 0x0a, 0x03, 0x4d, 0x73, - 0x67, 0x12, 0x50, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x73, 0x12, 0x1b, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, - 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x23, - 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0f, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x1e, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x29, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x0f, 0x2e, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x3a, 0x0f, 0x82, 0xe7, 0xb0, 0x2a, + 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x22, 0x48, 0x0a, 0x1a, 0x4d, + 0x73, 0x67, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, + 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, + 0x65, 0x73, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x03, 0x64, 0x69, 0x64, 0x32, 0xa9, 0x01, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x48, 0x0a, + 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x17, 0x2e, + 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x1f, 0x2e, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, + 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x0f, 0x52, 0x65, 0x67, 0x69, 0x73, + 0x74, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x1a, 0x2e, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x1a, 0x26, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x1a, 0x05, - 0x80, 0xe7, 0xb0, 0x2a, 0x01, 0x42, 0x93, 0x01, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x07, 0x54, 0x78, 0x50, 0x72, 0x6f, 0x74, - 0x6f, 0x50, 0x01, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, - 0x6f, 0x6e, 0x73, 0x6f, 0x6e, 0x72, 0x2f, 0x73, 0x6f, 0x6e, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x0a, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0a, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x16, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5c, 0x56, - 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0b, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x1a, 0x22, 0x2e, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, + 0x4d, 0x73, 0x67, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x1a, 0x05, 0x80, 0xe7, 0xb0, 0x2a, + 0x01, 0x42, 0x77, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x42, + 0x07, 0x54, 0x78, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x27, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x6e, 0x73, 0x6f, 0x6e, 0x72, 0x2f, 0x73, 0x6f, + 0x6e, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x3b, 0x73, 0x76, + 0x63, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x06, 0x53, 0x76, 0x63, 0x2e, + 0x56, 0x31, 0xca, 0x02, 0x06, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x12, 0x53, 0x76, + 0x63, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0xea, 0x02, 0x07, 0x53, 0x76, 0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, } var ( - file_service_v1_tx_proto_rawDescOnce sync.Once - file_service_v1_tx_proto_rawDescData = file_service_v1_tx_proto_rawDesc + file_svc_v1_tx_proto_rawDescOnce sync.Once + file_svc_v1_tx_proto_rawDescData = file_svc_v1_tx_proto_rawDesc ) -func file_service_v1_tx_proto_rawDescGZIP() []byte { - file_service_v1_tx_proto_rawDescOnce.Do(func() { - file_service_v1_tx_proto_rawDescData = protoimpl.X.CompressGZIP(file_service_v1_tx_proto_rawDescData) +func file_svc_v1_tx_proto_rawDescGZIP() []byte { + file_svc_v1_tx_proto_rawDescOnce.Do(func() { + file_svc_v1_tx_proto_rawDescData = protoimpl.X.CompressGZIP(file_svc_v1_tx_proto_rawDescData) }) - return file_service_v1_tx_proto_rawDescData + return file_svc_v1_tx_proto_rawDescData } -var file_service_v1_tx_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_service_v1_tx_proto_goTypes = []interface{}{ - (*MsgUpdateParams)(nil), // 0: service.v1.MsgUpdateParams - (*MsgUpdateParamsResponse)(nil), // 1: service.v1.MsgUpdateParamsResponse - (*MsgRegisterService)(nil), // 2: service.v1.MsgRegisterService - (*MsgRegisterServiceResponse)(nil), // 3: service.v1.MsgRegisterServiceResponse - (*Params)(nil), // 4: service.v1.Params - (*Service)(nil), // 5: service.v1.Service +var file_svc_v1_tx_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_svc_v1_tx_proto_goTypes = []interface{}{ + (*MsgUpdateParams)(nil), // 0: svc.v1.MsgUpdateParams + (*MsgUpdateParamsResponse)(nil), // 1: svc.v1.MsgUpdateParamsResponse + (*MsgRegisterService)(nil), // 2: svc.v1.MsgRegisterService + (*MsgRegisterServiceResponse)(nil), // 3: svc.v1.MsgRegisterServiceResponse + (*Params)(nil), // 4: svc.v1.Params + (*Service)(nil), // 5: svc.v1.Service } -var file_service_v1_tx_proto_depIdxs = []int32{ - 4, // 0: service.v1.MsgUpdateParams.params:type_name -> service.v1.Params - 5, // 1: service.v1.MsgRegisterService.service:type_name -> service.v1.Service - 0, // 2: service.v1.Msg.UpdateParams:input_type -> service.v1.MsgUpdateParams - 2, // 3: service.v1.Msg.RegisterService:input_type -> service.v1.MsgRegisterService - 1, // 4: service.v1.Msg.UpdateParams:output_type -> service.v1.MsgUpdateParamsResponse - 3, // 5: service.v1.Msg.RegisterService:output_type -> service.v1.MsgRegisterServiceResponse +var file_svc_v1_tx_proto_depIdxs = []int32{ + 4, // 0: svc.v1.MsgUpdateParams.params:type_name -> svc.v1.Params + 5, // 1: svc.v1.MsgRegisterService.service:type_name -> svc.v1.Service + 0, // 2: svc.v1.Msg.UpdateParams:input_type -> svc.v1.MsgUpdateParams + 2, // 3: svc.v1.Msg.RegisterService:input_type -> svc.v1.MsgRegisterService + 1, // 4: svc.v1.Msg.UpdateParams:output_type -> svc.v1.MsgUpdateParamsResponse + 3, // 5: svc.v1.Msg.RegisterService:output_type -> svc.v1.MsgRegisterServiceResponse 4, // [4:6] is the sub-list for method output_type 2, // [2:4] is the sub-list for method input_type 2, // [2:2] is the sub-list for extension type_name @@ -2122,14 +2118,14 @@ var file_service_v1_tx_proto_depIdxs = []int32{ 0, // [0:2] is the sub-list for field type_name } -func init() { file_service_v1_tx_proto_init() } -func file_service_v1_tx_proto_init() { - if File_service_v1_tx_proto != nil { +func init() { file_svc_v1_tx_proto_init() } +func file_svc_v1_tx_proto_init() { + if File_svc_v1_tx_proto != nil { return } - file_service_v1_genesis_proto_init() + file_svc_v1_genesis_proto_init() if !protoimpl.UnsafeEnabled { - file_service_v1_tx_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_svc_v1_tx_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MsgUpdateParams); i { case 0: return &v.state @@ -2141,7 +2137,7 @@ func file_service_v1_tx_proto_init() { return nil } } - file_service_v1_tx_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_svc_v1_tx_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MsgUpdateParamsResponse); i { case 0: return &v.state @@ -2153,7 +2149,7 @@ func file_service_v1_tx_proto_init() { return nil } } - file_service_v1_tx_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_svc_v1_tx_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MsgRegisterService); i { case 0: return &v.state @@ -2165,7 +2161,7 @@ func file_service_v1_tx_proto_init() { return nil } } - file_service_v1_tx_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_svc_v1_tx_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MsgRegisterServiceResponse); i { case 0: return &v.state @@ -2182,18 +2178,18 @@ func file_service_v1_tx_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_service_v1_tx_proto_rawDesc, + RawDescriptor: file_svc_v1_tx_proto_rawDesc, NumEnums: 0, NumMessages: 4, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_service_v1_tx_proto_goTypes, - DependencyIndexes: file_service_v1_tx_proto_depIdxs, - MessageInfos: file_service_v1_tx_proto_msgTypes, + GoTypes: file_svc_v1_tx_proto_goTypes, + DependencyIndexes: file_svc_v1_tx_proto_depIdxs, + MessageInfos: file_svc_v1_tx_proto_msgTypes, }.Build() - File_service_v1_tx_proto = out.File - file_service_v1_tx_proto_rawDesc = nil - file_service_v1_tx_proto_goTypes = nil - file_service_v1_tx_proto_depIdxs = nil + File_svc_v1_tx_proto = out.File + file_svc_v1_tx_proto_rawDesc = nil + file_svc_v1_tx_proto_goTypes = nil + file_svc_v1_tx_proto_depIdxs = nil } diff --git a/api/service/v1/tx_grpc.pb.go b/api/svc/v1/tx_grpc.pb.go similarity index 96% rename from api/service/v1/tx_grpc.pb.go rename to api/svc/v1/tx_grpc.pb.go index 0f5695081..d180765e2 100644 --- a/api/service/v1/tx_grpc.pb.go +++ b/api/svc/v1/tx_grpc.pb.go @@ -2,9 +2,9 @@ // versions: // - protoc-gen-go-grpc v1.5.1 // - protoc (unknown) -// source: service/v1/tx.proto +// source: svc/v1/tx.proto -package servicev1 +package svcv1 import ( context "context" @@ -19,8 +19,8 @@ import ( const _ = grpc.SupportPackageIsVersion9 const ( - Msg_UpdateParams_FullMethodName = "/service.v1.Msg/UpdateParams" - Msg_RegisterService_FullMethodName = "/service.v1.Msg/RegisterService" + Msg_UpdateParams_FullMethodName = "/svc.v1.Msg/UpdateParams" + Msg_RegisterService_FullMethodName = "/svc.v1.Msg/RegisterService" ) // MsgClient is the client API for Msg service. @@ -156,7 +156,7 @@ func _Msg_RegisterService_Handler(srv interface{}, ctx context.Context, dec func // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) var Msg_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "service.v1.Msg", + ServiceName: "svc.v1.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { @@ -169,5 +169,5 @@ var Msg_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "service/v1/tx.proto", + Metadata: "svc/v1/tx.proto", } diff --git a/api/vault/v1/state.cosmos_orm.go b/api/vault/v1/state.cosmos_orm.go deleted file mode 100644 index c4d222026..000000000 --- a/api/vault/v1/state.cosmos_orm.go +++ /dev/null @@ -1,235 +0,0 @@ -// Code generated by protoc-gen-go-cosmos-orm. DO NOT EDIT. - -package vaultv1 - -import ( - context "context" - ormlist "cosmossdk.io/orm/model/ormlist" - ormtable "cosmossdk.io/orm/model/ormtable" - ormerrors "cosmossdk.io/orm/types/ormerrors" -) - -type DWNTable interface { - Insert(ctx context.Context, dWN *DWN) error - InsertReturningId(ctx context.Context, dWN *DWN) (uint64, error) - LastInsertedSequence(ctx context.Context) (uint64, error) - Update(ctx context.Context, dWN *DWN) error - Save(ctx context.Context, dWN *DWN) error - Delete(ctx context.Context, dWN *DWN) error - Has(ctx context.Context, id uint64) (found bool, err error) - // Get returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. - Get(ctx context.Context, id uint64) (*DWN, error) - HasByAlias(ctx context.Context, alias string) (found bool, err error) - // GetByAlias returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. - GetByAlias(ctx context.Context, alias string) (*DWN, error) - HasByCid(ctx context.Context, cid string) (found bool, err error) - // GetByCid returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. - GetByCid(ctx context.Context, cid string) (*DWN, error) - List(ctx context.Context, prefixKey DWNIndexKey, opts ...ormlist.Option) (DWNIterator, error) - ListRange(ctx context.Context, from, to DWNIndexKey, opts ...ormlist.Option) (DWNIterator, error) - DeleteBy(ctx context.Context, prefixKey DWNIndexKey) error - DeleteRange(ctx context.Context, from, to DWNIndexKey) error - - doNotImplement() -} - -type DWNIterator struct { - ormtable.Iterator -} - -func (i DWNIterator) Value() (*DWN, error) { - var dWN DWN - err := i.UnmarshalMessage(&dWN) - return &dWN, err -} - -type DWNIndexKey interface { - id() uint32 - values() []interface{} - dWNIndexKey() -} - -// primary key starting index.. -type DWNPrimaryKey = DWNIdIndexKey - -type DWNIdIndexKey struct { - vs []interface{} -} - -func (x DWNIdIndexKey) id() uint32 { return 0 } -func (x DWNIdIndexKey) values() []interface{} { return x.vs } -func (x DWNIdIndexKey) dWNIndexKey() {} - -func (this DWNIdIndexKey) WithId(id uint64) DWNIdIndexKey { - this.vs = []interface{}{id} - return this -} - -type DWNAliasIndexKey struct { - vs []interface{} -} - -func (x DWNAliasIndexKey) id() uint32 { return 1 } -func (x DWNAliasIndexKey) values() []interface{} { return x.vs } -func (x DWNAliasIndexKey) dWNIndexKey() {} - -func (this DWNAliasIndexKey) WithAlias(alias string) DWNAliasIndexKey { - this.vs = []interface{}{alias} - return this -} - -type DWNCidIndexKey struct { - vs []interface{} -} - -func (x DWNCidIndexKey) id() uint32 { return 2 } -func (x DWNCidIndexKey) values() []interface{} { return x.vs } -func (x DWNCidIndexKey) dWNIndexKey() {} - -func (this DWNCidIndexKey) WithCid(cid string) DWNCidIndexKey { - this.vs = []interface{}{cid} - return this -} - -type dWNTable struct { - table ormtable.AutoIncrementTable -} - -func (this dWNTable) Insert(ctx context.Context, dWN *DWN) error { - return this.table.Insert(ctx, dWN) -} - -func (this dWNTable) Update(ctx context.Context, dWN *DWN) error { - return this.table.Update(ctx, dWN) -} - -func (this dWNTable) Save(ctx context.Context, dWN *DWN) error { - return this.table.Save(ctx, dWN) -} - -func (this dWNTable) Delete(ctx context.Context, dWN *DWN) error { - return this.table.Delete(ctx, dWN) -} - -func (this dWNTable) InsertReturningId(ctx context.Context, dWN *DWN) (uint64, error) { - return this.table.InsertReturningPKey(ctx, dWN) -} - -func (this dWNTable) LastInsertedSequence(ctx context.Context) (uint64, error) { - return this.table.LastInsertedSequence(ctx) -} - -func (this dWNTable) Has(ctx context.Context, id uint64) (found bool, err error) { - return this.table.PrimaryKey().Has(ctx, id) -} - -func (this dWNTable) Get(ctx context.Context, id uint64) (*DWN, error) { - var dWN DWN - found, err := this.table.PrimaryKey().Get(ctx, &dWN, id) - if err != nil { - return nil, err - } - if !found { - return nil, ormerrors.NotFound - } - return &dWN, nil -} - -func (this dWNTable) HasByAlias(ctx context.Context, alias string) (found bool, err error) { - return this.table.GetIndexByID(1).(ormtable.UniqueIndex).Has(ctx, - alias, - ) -} - -func (this dWNTable) GetByAlias(ctx context.Context, alias string) (*DWN, error) { - var dWN DWN - found, err := this.table.GetIndexByID(1).(ormtable.UniqueIndex).Get(ctx, &dWN, - alias, - ) - if err != nil { - return nil, err - } - if !found { - return nil, ormerrors.NotFound - } - return &dWN, nil -} - -func (this dWNTable) HasByCid(ctx context.Context, cid string) (found bool, err error) { - return this.table.GetIndexByID(2).(ormtable.UniqueIndex).Has(ctx, - cid, - ) -} - -func (this dWNTable) GetByCid(ctx context.Context, cid string) (*DWN, error) { - var dWN DWN - found, err := this.table.GetIndexByID(2).(ormtable.UniqueIndex).Get(ctx, &dWN, - cid, - ) - if err != nil { - return nil, err - } - if !found { - return nil, ormerrors.NotFound - } - return &dWN, nil -} - -func (this dWNTable) List(ctx context.Context, prefixKey DWNIndexKey, opts ...ormlist.Option) (DWNIterator, error) { - it, err := this.table.GetIndexByID(prefixKey.id()).List(ctx, prefixKey.values(), opts...) - return DWNIterator{it}, err -} - -func (this dWNTable) ListRange(ctx context.Context, from, to DWNIndexKey, opts ...ormlist.Option) (DWNIterator, error) { - it, err := this.table.GetIndexByID(from.id()).ListRange(ctx, from.values(), to.values(), opts...) - return DWNIterator{it}, err -} - -func (this dWNTable) DeleteBy(ctx context.Context, prefixKey DWNIndexKey) error { - return this.table.GetIndexByID(prefixKey.id()).DeleteBy(ctx, prefixKey.values()...) -} - -func (this dWNTable) DeleteRange(ctx context.Context, from, to DWNIndexKey) error { - return this.table.GetIndexByID(from.id()).DeleteRange(ctx, from.values(), to.values()) -} - -func (this dWNTable) doNotImplement() {} - -var _ DWNTable = dWNTable{} - -func NewDWNTable(db ormtable.Schema) (DWNTable, error) { - table := db.GetTable(&DWN{}) - if table == nil { - return nil, ormerrors.TableNotFound.Wrap(string((&DWN{}).ProtoReflect().Descriptor().FullName())) - } - return dWNTable{table.(ormtable.AutoIncrementTable)}, nil -} - -type StateStore interface { - DWNTable() DWNTable - - doNotImplement() -} - -type stateStore struct { - dWN DWNTable -} - -func (x stateStore) DWNTable() DWNTable { - return x.dWN -} - -func (stateStore) doNotImplement() {} - -var _ StateStore = stateStore{} - -func NewStateStore(db ormtable.Schema) (StateStore, error) { - dWNTable, err := NewDWNTable(db) - if err != nil { - return nil, err - } - - return stateStore{ - dWNTable, - }, nil -} diff --git a/api/vault/v1/state.pulsar.go b/api/vault/v1/state.pulsar.go deleted file mode 100644 index b72016bc9..000000000 --- a/api/vault/v1/state.pulsar.go +++ /dev/null @@ -1,772 +0,0 @@ -// Code generated by protoc-gen-go-pulsar. DO NOT EDIT. -package vaultv1 - -import ( - _ "cosmossdk.io/api/cosmos/orm/v1" - fmt "fmt" - runtime "github.com/cosmos/cosmos-proto/runtime" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoiface "google.golang.org/protobuf/runtime/protoiface" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - io "io" - reflect "reflect" - sync "sync" -) - -var ( - md_DWN protoreflect.MessageDescriptor - fd_DWN_id protoreflect.FieldDescriptor - fd_DWN_alias protoreflect.FieldDescriptor - fd_DWN_cid protoreflect.FieldDescriptor - fd_DWN_resolver protoreflect.FieldDescriptor -) - -func init() { - file_vault_v1_state_proto_init() - md_DWN = File_vault_v1_state_proto.Messages().ByName("DWN") - fd_DWN_id = md_DWN.Fields().ByName("id") - fd_DWN_alias = md_DWN.Fields().ByName("alias") - fd_DWN_cid = md_DWN.Fields().ByName("cid") - fd_DWN_resolver = md_DWN.Fields().ByName("resolver") -} - -var _ protoreflect.Message = (*fastReflection_DWN)(nil) - -type fastReflection_DWN DWN - -func (x *DWN) ProtoReflect() protoreflect.Message { - return (*fastReflection_DWN)(x) -} - -func (x *DWN) slowProtoReflect() protoreflect.Message { - mi := &file_vault_v1_state_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -var _fastReflection_DWN_messageType fastReflection_DWN_messageType -var _ protoreflect.MessageType = fastReflection_DWN_messageType{} - -type fastReflection_DWN_messageType struct{} - -func (x fastReflection_DWN_messageType) Zero() protoreflect.Message { - return (*fastReflection_DWN)(nil) -} -func (x fastReflection_DWN_messageType) New() protoreflect.Message { - return new(fastReflection_DWN) -} -func (x fastReflection_DWN_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_DWN -} - -// Descriptor returns message descriptor, which contains only the protobuf -// type information for the message. -func (x *fastReflection_DWN) Descriptor() protoreflect.MessageDescriptor { - return md_DWN -} - -// Type returns the message type, which encapsulates both Go and protobuf -// type information. If the Go type information is not needed, -// it is recommended that the message descriptor be used instead. -func (x *fastReflection_DWN) Type() protoreflect.MessageType { - return _fastReflection_DWN_messageType -} - -// New returns a newly allocated and mutable empty message. -func (x *fastReflection_DWN) New() protoreflect.Message { - return new(fastReflection_DWN) -} - -// Interface unwraps the message reflection interface and -// returns the underlying ProtoMessage interface. -func (x *fastReflection_DWN) Interface() protoreflect.ProtoMessage { - return (*DWN)(x) -} - -// Range iterates over every populated field in an undefined order, -// calling f for each field descriptor and value encountered. -// Range returns immediately if f returns false. -// While iterating, mutating operations may only be performed -// on the current field descriptor. -func (x *fastReflection_DWN) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Id != uint64(0) { - value := protoreflect.ValueOfUint64(x.Id) - if !f(fd_DWN_id, value) { - return - } - } - if x.Alias != "" { - value := protoreflect.ValueOfString(x.Alias) - if !f(fd_DWN_alias, value) { - return - } - } - if x.Cid != "" { - value := protoreflect.ValueOfString(x.Cid) - if !f(fd_DWN_cid, value) { - return - } - } - if x.Resolver != "" { - value := protoreflect.ValueOfString(x.Resolver) - if !f(fd_DWN_resolver, value) { - return - } - } -} - -// Has reports whether a field is populated. -// -// Some fields have the property of nullability where it is possible to -// distinguish between the default value of a field and whether the field -// was explicitly populated with the default value. Singular message fields, -// member fields of a oneof, and proto2 scalar fields are nullable. Such -// fields are populated only if explicitly set. -// -// In other cases (aside from the nullable cases above), -// a proto3 scalar field is populated if it contains a non-zero value, and -// a repeated field is populated if it is non-empty. -func (x *fastReflection_DWN) Has(fd protoreflect.FieldDescriptor) bool { - switch fd.FullName() { - case "vault.v1.DWN.id": - return x.Id != uint64(0) - case "vault.v1.DWN.alias": - return x.Alias != "" - case "vault.v1.DWN.cid": - return x.Cid != "" - case "vault.v1.DWN.resolver": - return x.Resolver != "" - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.DWN")) - } - panic(fmt.Errorf("message vault.v1.DWN does not contain field %s", fd.FullName())) - } -} - -// Clear clears the field such that a subsequent Has call reports false. -// -// Clearing an extension field clears both the extension type and value -// associated with the given field number. -// -// Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_DWN) Clear(fd protoreflect.FieldDescriptor) { - switch fd.FullName() { - case "vault.v1.DWN.id": - x.Id = uint64(0) - case "vault.v1.DWN.alias": - x.Alias = "" - case "vault.v1.DWN.cid": - x.Cid = "" - case "vault.v1.DWN.resolver": - x.Resolver = "" - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.DWN")) - } - panic(fmt.Errorf("message vault.v1.DWN does not contain field %s", fd.FullName())) - } -} - -// Get retrieves the value for a field. -// -// For unpopulated scalars, it returns the default value, where -// the default value of a bytes scalar is guaranteed to be a copy. -// For unpopulated composite types, it returns an empty, read-only view -// of the value; to obtain a mutable reference, use Mutable. -func (x *fastReflection_DWN) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { - switch descriptor.FullName() { - case "vault.v1.DWN.id": - value := x.Id - return protoreflect.ValueOfUint64(value) - case "vault.v1.DWN.alias": - value := x.Alias - return protoreflect.ValueOfString(value) - case "vault.v1.DWN.cid": - value := x.Cid - return protoreflect.ValueOfString(value) - case "vault.v1.DWN.resolver": - value := x.Resolver - return protoreflect.ValueOfString(value) - default: - if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.DWN")) - } - panic(fmt.Errorf("message vault.v1.DWN does not contain field %s", descriptor.FullName())) - } -} - -// Set stores the value for a field. -// -// For a field belonging to a oneof, it implicitly clears any other field -// that may be currently set within the same oneof. -// For extension fields, it implicitly stores the provided ExtensionType. -// When setting a composite type, it is unspecified whether the stored value -// aliases the source's memory in any way. If the composite value is an -// empty, read-only value, then it panics. -// -// Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_DWN) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { - switch fd.FullName() { - case "vault.v1.DWN.id": - x.Id = value.Uint() - case "vault.v1.DWN.alias": - x.Alias = value.Interface().(string) - case "vault.v1.DWN.cid": - x.Cid = value.Interface().(string) - case "vault.v1.DWN.resolver": - x.Resolver = value.Interface().(string) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.DWN")) - } - panic(fmt.Errorf("message vault.v1.DWN does not contain field %s", fd.FullName())) - } -} - -// Mutable returns a mutable reference to a composite type. -// -// If the field is unpopulated, it may allocate a composite value. -// For a field belonging to a oneof, it implicitly clears any other field -// that may be currently set within the same oneof. -// For extension fields, it implicitly stores the provided ExtensionType -// if not already stored. -// It panics if the field does not contain a composite type. -// -// Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_DWN) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - case "vault.v1.DWN.id": - panic(fmt.Errorf("field id of message vault.v1.DWN is not mutable")) - case "vault.v1.DWN.alias": - panic(fmt.Errorf("field alias of message vault.v1.DWN is not mutable")) - case "vault.v1.DWN.cid": - panic(fmt.Errorf("field cid of message vault.v1.DWN is not mutable")) - case "vault.v1.DWN.resolver": - panic(fmt.Errorf("field resolver of message vault.v1.DWN is not mutable")) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.DWN")) - } - panic(fmt.Errorf("message vault.v1.DWN does not contain field %s", fd.FullName())) - } -} - -// NewField returns a new value that is assignable to the field -// for the given descriptor. For scalars, this returns the default value. -// For lists, maps, and messages, this returns a new, empty, mutable value. -func (x *fastReflection_DWN) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - case "vault.v1.DWN.id": - return protoreflect.ValueOfUint64(uint64(0)) - case "vault.v1.DWN.alias": - return protoreflect.ValueOfString("") - case "vault.v1.DWN.cid": - return protoreflect.ValueOfString("") - case "vault.v1.DWN.resolver": - return protoreflect.ValueOfString("") - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.DWN")) - } - panic(fmt.Errorf("message vault.v1.DWN does not contain field %s", fd.FullName())) - } -} - -// WhichOneof reports which field within the oneof is populated, -// returning nil if none are populated. -// It panics if the oneof descriptor does not belong to this message. -func (x *fastReflection_DWN) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { - switch d.FullName() { - default: - panic(fmt.Errorf("%s is not a oneof field in vault.v1.DWN", d.FullName())) - } - panic("unreachable") -} - -// GetUnknown retrieves the entire list of unknown fields. -// The caller may only mutate the contents of the RawFields -// if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_DWN) GetUnknown() protoreflect.RawFields { - return x.unknownFields -} - -// SetUnknown stores an entire list of unknown fields. -// The raw fields must be syntactically valid according to the wire format. -// An implementation may panic if this is not the case. -// Once stored, the caller must not mutate the content of the RawFields. -// An empty RawFields may be passed to clear the fields. -// -// SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_DWN) SetUnknown(fields protoreflect.RawFields) { - x.unknownFields = fields -} - -// IsValid reports whether the message is valid. -// -// An invalid message is an empty, read-only value. -// -// An invalid message often corresponds to a nil pointer of the concrete -// message type, but the details are implementation dependent. -// Validity is not part of the protobuf data model, and may not -// be preserved in marshaling or other operations. -func (x *fastReflection_DWN) IsValid() bool { - return x != nil -} - -// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. -// This method may return nil. -// -// The returned methods type is identical to -// "google.golang.org/protobuf/runtime/protoiface".Methods. -// Consult the protoiface package documentation for details. -func (x *fastReflection_DWN) ProtoMethods() *protoiface.Methods { - size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*DWN) - if x == nil { - return protoiface.SizeOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Size: 0, - } - } - options := runtime.SizeInputToOptions(input) - _ = options - var n int - var l int - _ = l - if x.Id != 0 { - n += 1 + runtime.Sov(uint64(x.Id)) - } - l = len(x.Alias) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.Cid) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.Resolver) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - if x.unknownFields != nil { - n += len(x.unknownFields) - } - return protoiface.SizeOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Size: n, - } - } - - marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*DWN) - if x == nil { - return protoiface.MarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Buf: input.Buf, - }, nil - } - options := runtime.MarshalInputToOptions(input) - _ = options - size := options.Size(x) - dAtA := make([]byte, size) - i := len(dAtA) - _ = i - var l int - _ = l - if x.unknownFields != nil { - i -= len(x.unknownFields) - copy(dAtA[i:], x.unknownFields) - } - if len(x.Resolver) > 0 { - i -= len(x.Resolver) - copy(dAtA[i:], x.Resolver) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Resolver))) - i-- - dAtA[i] = 0x22 - } - if len(x.Cid) > 0 { - i -= len(x.Cid) - copy(dAtA[i:], x.Cid) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Cid))) - i-- - dAtA[i] = 0x1a - } - if len(x.Alias) > 0 { - i -= len(x.Alias) - copy(dAtA[i:], x.Alias) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Alias))) - i-- - dAtA[i] = 0x12 - } - if x.Id != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.Id)) - i-- - dAtA[i] = 0x8 - } - if input.Buf != nil { - input.Buf = append(input.Buf, dAtA...) - } else { - input.Buf = dAtA - } - return protoiface.MarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Buf: input.Buf, - }, nil - } - unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*DWN) - if x == nil { - return protoiface.UnmarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Flags: input.Flags, - }, nil - } - options := runtime.UnmarshalInputToOptions(input) - _ = options - dAtA := input.Buf - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: DWN: wiretype end group for non-group") - } - if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: DWN: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - x.Id = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - x.Id |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Alias", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - if postIndex > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - x.Alias = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Cid", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - if postIndex > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - x.Cid = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Resolver", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - if postIndex > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - x.Resolver = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := runtime.Skip(dAtA[iNdEx:]) - if err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - if (iNdEx + skippy) > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - if !options.DiscardUnknown { - x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - } - iNdEx += skippy - } - } - - if iNdEx > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil - } - return &protoiface.Methods{ - NoUnkeyedLiterals: struct{}{}, - Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, - Size: size, - Marshal: marshal, - Unmarshal: unmarshal, - Merge: nil, - CheckInitialized: nil, - } -} - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.27.0 -// protoc (unknown) -// source: vault/v1/state.proto - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type DWN struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` - Alias string `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"` - Cid string `protobuf:"bytes,3,opt,name=cid,proto3" json:"cid,omitempty"` - Resolver string `protobuf:"bytes,4,opt,name=resolver,proto3" json:"resolver,omitempty"` -} - -func (x *DWN) Reset() { - *x = DWN{} - if protoimpl.UnsafeEnabled { - mi := &file_vault_v1_state_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DWN) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DWN) ProtoMessage() {} - -// Deprecated: Use DWN.ProtoReflect.Descriptor instead. -func (*DWN) Descriptor() ([]byte, []int) { - return file_vault_v1_state_proto_rawDescGZIP(), []int{0} -} - -func (x *DWN) GetId() uint64 { - if x != nil { - return x.Id - } - return 0 -} - -func (x *DWN) GetAlias() string { - if x != nil { - return x.Alias - } - return "" -} - -func (x *DWN) GetCid() string { - if x != nil { - return x.Cid - } - return "" -} - -func (x *DWN) GetResolver() string { - if x != nil { - return x.Resolver - } - return "" -} - -var File_vault_v1_state_proto protoreflect.FileDescriptor - -var file_vault_v1_state_proto_rawDesc = []byte{ - 0x0a, 0x14, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2e, 0x76, 0x31, - 0x1a, 0x17, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, - 0x6f, 0x72, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x83, 0x01, 0x0a, 0x03, 0x44, 0x57, - 0x4e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, - 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x73, - 0x6f, 0x6c, 0x76, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x73, - 0x6f, 0x6c, 0x76, 0x65, 0x72, 0x3a, 0x28, 0xf2, 0x9e, 0xd3, 0x8e, 0x03, 0x22, 0x0a, 0x06, 0x0a, - 0x02, 0x69, 0x64, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x10, 0x01, - 0x18, 0x01, 0x12, 0x09, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x10, 0x02, 0x18, 0x01, 0x18, 0x01, 0x42, - 0x88, 0x01, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2e, 0x76, 0x31, - 0x42, 0x0a, 0x53, 0x74, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2b, - 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x6e, 0x73, 0x6f, 0x6e, - 0x72, 0x2f, 0x73, 0x6f, 0x6e, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x61, 0x75, 0x6c, 0x74, - 0x2f, 0x76, 0x31, 0x3b, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x56, 0x58, - 0x58, 0xaa, 0x02, 0x08, 0x56, 0x61, 0x75, 0x6c, 0x74, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x08, 0x56, - 0x61, 0x75, 0x6c, 0x74, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x14, 0x56, 0x61, 0x75, 0x6c, 0x74, 0x5c, - 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, - 0x09, 0x56, 0x61, 0x75, 0x6c, 0x74, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, -} - -var ( - file_vault_v1_state_proto_rawDescOnce sync.Once - file_vault_v1_state_proto_rawDescData = file_vault_v1_state_proto_rawDesc -) - -func file_vault_v1_state_proto_rawDescGZIP() []byte { - file_vault_v1_state_proto_rawDescOnce.Do(func() { - file_vault_v1_state_proto_rawDescData = protoimpl.X.CompressGZIP(file_vault_v1_state_proto_rawDescData) - }) - return file_vault_v1_state_proto_rawDescData -} - -var file_vault_v1_state_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_vault_v1_state_proto_goTypes = []interface{}{ - (*DWN)(nil), // 0: vault.v1.DWN -} -var file_vault_v1_state_proto_depIdxs = []int32{ - 0, // [0:0] is the sub-list for method output_type - 0, // [0:0] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_vault_v1_state_proto_init() } -func file_vault_v1_state_proto_init() { - if File_vault_v1_state_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_vault_v1_state_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DWN); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_vault_v1_state_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_vault_v1_state_proto_goTypes, - DependencyIndexes: file_vault_v1_state_proto_depIdxs, - MessageInfos: file_vault_v1_state_proto_msgTypes, - }.Build() - File_vault_v1_state_proto = out.File - file_vault_v1_state_proto_rawDesc = nil - file_vault_v1_state_proto_goTypes = nil - file_vault_v1_state_proto_depIdxs = nil -} diff --git a/api/vault/v1/tx.pulsar.go b/api/vault/v1/tx.pulsar.go deleted file mode 100644 index 3cc1f3899..000000000 --- a/api/vault/v1/tx.pulsar.go +++ /dev/null @@ -1,1086 +0,0 @@ -// Code generated by protoc-gen-go-pulsar. DO NOT EDIT. -package vaultv1 - -import ( - _ "cosmossdk.io/api/cosmos/msg/v1" - fmt "fmt" - _ "github.com/cosmos/cosmos-proto" - runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/cosmos/gogoproto/gogoproto" - _ "google.golang.org/genproto/googleapis/api/annotations" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoiface "google.golang.org/protobuf/runtime/protoiface" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - io "io" - reflect "reflect" - sync "sync" -) - -var ( - md_MsgUpdateParams protoreflect.MessageDescriptor - fd_MsgUpdateParams_authority protoreflect.FieldDescriptor - fd_MsgUpdateParams_params protoreflect.FieldDescriptor -) - -func init() { - file_vault_v1_tx_proto_init() - md_MsgUpdateParams = File_vault_v1_tx_proto.Messages().ByName("MsgUpdateParams") - fd_MsgUpdateParams_authority = md_MsgUpdateParams.Fields().ByName("authority") - fd_MsgUpdateParams_params = md_MsgUpdateParams.Fields().ByName("params") -} - -var _ protoreflect.Message = (*fastReflection_MsgUpdateParams)(nil) - -type fastReflection_MsgUpdateParams MsgUpdateParams - -func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgUpdateParams)(x) -} - -func (x *MsgUpdateParams) slowProtoReflect() protoreflect.Message { - mi := &file_vault_v1_tx_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -var _fastReflection_MsgUpdateParams_messageType fastReflection_MsgUpdateParams_messageType -var _ protoreflect.MessageType = fastReflection_MsgUpdateParams_messageType{} - -type fastReflection_MsgUpdateParams_messageType struct{} - -func (x fastReflection_MsgUpdateParams_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgUpdateParams)(nil) -} -func (x fastReflection_MsgUpdateParams_messageType) New() protoreflect.Message { - return new(fastReflection_MsgUpdateParams) -} -func (x fastReflection_MsgUpdateParams_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgUpdateParams -} - -// Descriptor returns message descriptor, which contains only the protobuf -// type information for the message. -func (x *fastReflection_MsgUpdateParams) Descriptor() protoreflect.MessageDescriptor { - return md_MsgUpdateParams -} - -// Type returns the message type, which encapsulates both Go and protobuf -// type information. If the Go type information is not needed, -// it is recommended that the message descriptor be used instead. -func (x *fastReflection_MsgUpdateParams) Type() protoreflect.MessageType { - return _fastReflection_MsgUpdateParams_messageType -} - -// New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgUpdateParams) New() protoreflect.Message { - return new(fastReflection_MsgUpdateParams) -} - -// Interface unwraps the message reflection interface and -// returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgUpdateParams) Interface() protoreflect.ProtoMessage { - return (*MsgUpdateParams)(x) -} - -// Range iterates over every populated field in an undefined order, -// calling f for each field descriptor and value encountered. -// Range returns immediately if f returns false. -// While iterating, mutating operations may only be performed -// on the current field descriptor. -func (x *fastReflection_MsgUpdateParams) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Authority != "" { - value := protoreflect.ValueOfString(x.Authority) - if !f(fd_MsgUpdateParams_authority, value) { - return - } - } - if x.Params != nil { - value := protoreflect.ValueOfMessage(x.Params.ProtoReflect()) - if !f(fd_MsgUpdateParams_params, value) { - return - } - } -} - -// Has reports whether a field is populated. -// -// Some fields have the property of nullability where it is possible to -// distinguish between the default value of a field and whether the field -// was explicitly populated with the default value. Singular message fields, -// member fields of a oneof, and proto2 scalar fields are nullable. Such -// fields are populated only if explicitly set. -// -// In other cases (aside from the nullable cases above), -// a proto3 scalar field is populated if it contains a non-zero value, and -// a repeated field is populated if it is non-empty. -func (x *fastReflection_MsgUpdateParams) Has(fd protoreflect.FieldDescriptor) bool { - switch fd.FullName() { - case "vault.v1.MsgUpdateParams.authority": - return x.Authority != "" - case "vault.v1.MsgUpdateParams.params": - return x.Params != nil - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.MsgUpdateParams")) - } - panic(fmt.Errorf("message vault.v1.MsgUpdateParams does not contain field %s", fd.FullName())) - } -} - -// Clear clears the field such that a subsequent Has call reports false. -// -// Clearing an extension field clears both the extension type and value -// associated with the given field number. -// -// Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgUpdateParams) Clear(fd protoreflect.FieldDescriptor) { - switch fd.FullName() { - case "vault.v1.MsgUpdateParams.authority": - x.Authority = "" - case "vault.v1.MsgUpdateParams.params": - x.Params = nil - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.MsgUpdateParams")) - } - panic(fmt.Errorf("message vault.v1.MsgUpdateParams does not contain field %s", fd.FullName())) - } -} - -// Get retrieves the value for a field. -// -// For unpopulated scalars, it returns the default value, where -// the default value of a bytes scalar is guaranteed to be a copy. -// For unpopulated composite types, it returns an empty, read-only view -// of the value; to obtain a mutable reference, use Mutable. -func (x *fastReflection_MsgUpdateParams) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { - switch descriptor.FullName() { - case "vault.v1.MsgUpdateParams.authority": - value := x.Authority - return protoreflect.ValueOfString(value) - case "vault.v1.MsgUpdateParams.params": - value := x.Params - return protoreflect.ValueOfMessage(value.ProtoReflect()) - default: - if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.MsgUpdateParams")) - } - panic(fmt.Errorf("message vault.v1.MsgUpdateParams does not contain field %s", descriptor.FullName())) - } -} - -// Set stores the value for a field. -// -// For a field belonging to a oneof, it implicitly clears any other field -// that may be currently set within the same oneof. -// For extension fields, it implicitly stores the provided ExtensionType. -// When setting a composite type, it is unspecified whether the stored value -// aliases the source's memory in any way. If the composite value is an -// empty, read-only value, then it panics. -// -// Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgUpdateParams) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { - switch fd.FullName() { - case "vault.v1.MsgUpdateParams.authority": - x.Authority = value.Interface().(string) - case "vault.v1.MsgUpdateParams.params": - x.Params = value.Message().Interface().(*Params) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.MsgUpdateParams")) - } - panic(fmt.Errorf("message vault.v1.MsgUpdateParams does not contain field %s", fd.FullName())) - } -} - -// Mutable returns a mutable reference to a composite type. -// -// If the field is unpopulated, it may allocate a composite value. -// For a field belonging to a oneof, it implicitly clears any other field -// that may be currently set within the same oneof. -// For extension fields, it implicitly stores the provided ExtensionType -// if not already stored. -// It panics if the field does not contain a composite type. -// -// Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgUpdateParams) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - case "vault.v1.MsgUpdateParams.params": - if x.Params == nil { - x.Params = new(Params) - } - return protoreflect.ValueOfMessage(x.Params.ProtoReflect()) - case "vault.v1.MsgUpdateParams.authority": - panic(fmt.Errorf("field authority of message vault.v1.MsgUpdateParams is not mutable")) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.MsgUpdateParams")) - } - panic(fmt.Errorf("message vault.v1.MsgUpdateParams does not contain field %s", fd.FullName())) - } -} - -// NewField returns a new value that is assignable to the field -// for the given descriptor. For scalars, this returns the default value. -// For lists, maps, and messages, this returns a new, empty, mutable value. -func (x *fastReflection_MsgUpdateParams) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - case "vault.v1.MsgUpdateParams.authority": - return protoreflect.ValueOfString("") - case "vault.v1.MsgUpdateParams.params": - m := new(Params) - return protoreflect.ValueOfMessage(m.ProtoReflect()) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.MsgUpdateParams")) - } - panic(fmt.Errorf("message vault.v1.MsgUpdateParams does not contain field %s", fd.FullName())) - } -} - -// WhichOneof reports which field within the oneof is populated, -// returning nil if none are populated. -// It panics if the oneof descriptor does not belong to this message. -func (x *fastReflection_MsgUpdateParams) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { - switch d.FullName() { - default: - panic(fmt.Errorf("%s is not a oneof field in vault.v1.MsgUpdateParams", d.FullName())) - } - panic("unreachable") -} - -// GetUnknown retrieves the entire list of unknown fields. -// The caller may only mutate the contents of the RawFields -// if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_MsgUpdateParams) GetUnknown() protoreflect.RawFields { - return x.unknownFields -} - -// SetUnknown stores an entire list of unknown fields. -// The raw fields must be syntactically valid according to the wire format. -// An implementation may panic if this is not the case. -// Once stored, the caller must not mutate the content of the RawFields. -// An empty RawFields may be passed to clear the fields. -// -// SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgUpdateParams) SetUnknown(fields protoreflect.RawFields) { - x.unknownFields = fields -} - -// IsValid reports whether the message is valid. -// -// An invalid message is an empty, read-only value. -// -// An invalid message often corresponds to a nil pointer of the concrete -// message type, but the details are implementation dependent. -// Validity is not part of the protobuf data model, and may not -// be preserved in marshaling or other operations. -func (x *fastReflection_MsgUpdateParams) IsValid() bool { - return x != nil -} - -// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. -// This method may return nil. -// -// The returned methods type is identical to -// "google.golang.org/protobuf/runtime/protoiface".Methods. -// Consult the protoiface package documentation for details. -func (x *fastReflection_MsgUpdateParams) ProtoMethods() *protoiface.Methods { - size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgUpdateParams) - if x == nil { - return protoiface.SizeOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Size: 0, - } - } - options := runtime.SizeInputToOptions(input) - _ = options - var n int - var l int - _ = l - l = len(x.Authority) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - if x.Params != nil { - l = options.Size(x.Params) - n += 1 + l + runtime.Sov(uint64(l)) - } - if x.unknownFields != nil { - n += len(x.unknownFields) - } - return protoiface.SizeOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Size: n, - } - } - - marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgUpdateParams) - if x == nil { - return protoiface.MarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Buf: input.Buf, - }, nil - } - options := runtime.MarshalInputToOptions(input) - _ = options - size := options.Size(x) - dAtA := make([]byte, size) - i := len(dAtA) - _ = i - var l int - _ = l - if x.unknownFields != nil { - i -= len(x.unknownFields) - copy(dAtA[i:], x.unknownFields) - } - if x.Params != nil { - encoded, err := options.Marshal(x.Params) - if err != nil { - return protoiface.MarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Buf: input.Buf, - }, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) - i-- - dAtA[i] = 0x12 - } - if len(x.Authority) > 0 { - i -= len(x.Authority) - copy(dAtA[i:], x.Authority) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Authority))) - i-- - dAtA[i] = 0xa - } - if input.Buf != nil { - input.Buf = append(input.Buf, dAtA...) - } else { - input.Buf = dAtA - } - return protoiface.MarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Buf: input.Buf, - }, nil - } - unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgUpdateParams) - if x == nil { - return protoiface.UnmarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Flags: input.Flags, - }, nil - } - options := runtime.UnmarshalInputToOptions(input) - _ = options - dAtA := input.Buf - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgUpdateParams: wiretype end group for non-group") - } - if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgUpdateParams: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Authority", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - if postIndex > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - x.Authority = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - if postIndex > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - if x.Params == nil { - x.Params = &Params{} - } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Params); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := runtime.Skip(dAtA[iNdEx:]) - if err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - if (iNdEx + skippy) > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - if !options.DiscardUnknown { - x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - } - iNdEx += skippy - } - } - - if iNdEx > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil - } - return &protoiface.Methods{ - NoUnkeyedLiterals: struct{}{}, - Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, - Size: size, - Marshal: marshal, - Unmarshal: unmarshal, - Merge: nil, - CheckInitialized: nil, - } -} - -var ( - md_MsgUpdateParamsResponse protoreflect.MessageDescriptor -) - -func init() { - file_vault_v1_tx_proto_init() - md_MsgUpdateParamsResponse = File_vault_v1_tx_proto.Messages().ByName("MsgUpdateParamsResponse") -} - -var _ protoreflect.Message = (*fastReflection_MsgUpdateParamsResponse)(nil) - -type fastReflection_MsgUpdateParamsResponse MsgUpdateParamsResponse - -func (x *MsgUpdateParamsResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgUpdateParamsResponse)(x) -} - -func (x *MsgUpdateParamsResponse) slowProtoReflect() protoreflect.Message { - mi := &file_vault_v1_tx_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -var _fastReflection_MsgUpdateParamsResponse_messageType fastReflection_MsgUpdateParamsResponse_messageType -var _ protoreflect.MessageType = fastReflection_MsgUpdateParamsResponse_messageType{} - -type fastReflection_MsgUpdateParamsResponse_messageType struct{} - -func (x fastReflection_MsgUpdateParamsResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgUpdateParamsResponse)(nil) -} -func (x fastReflection_MsgUpdateParamsResponse_messageType) New() protoreflect.Message { - return new(fastReflection_MsgUpdateParamsResponse) -} -func (x fastReflection_MsgUpdateParamsResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgUpdateParamsResponse -} - -// Descriptor returns message descriptor, which contains only the protobuf -// type information for the message. -func (x *fastReflection_MsgUpdateParamsResponse) Descriptor() protoreflect.MessageDescriptor { - return md_MsgUpdateParamsResponse -} - -// Type returns the message type, which encapsulates both Go and protobuf -// type information. If the Go type information is not needed, -// it is recommended that the message descriptor be used instead. -func (x *fastReflection_MsgUpdateParamsResponse) Type() protoreflect.MessageType { - return _fastReflection_MsgUpdateParamsResponse_messageType -} - -// New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgUpdateParamsResponse) New() protoreflect.Message { - return new(fastReflection_MsgUpdateParamsResponse) -} - -// Interface unwraps the message reflection interface and -// returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgUpdateParamsResponse) Interface() protoreflect.ProtoMessage { - return (*MsgUpdateParamsResponse)(x) -} - -// Range iterates over every populated field in an undefined order, -// calling f for each field descriptor and value encountered. -// Range returns immediately if f returns false. -// While iterating, mutating operations may only be performed -// on the current field descriptor. -func (x *fastReflection_MsgUpdateParamsResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { -} - -// Has reports whether a field is populated. -// -// Some fields have the property of nullability where it is possible to -// distinguish between the default value of a field and whether the field -// was explicitly populated with the default value. Singular message fields, -// member fields of a oneof, and proto2 scalar fields are nullable. Such -// fields are populated only if explicitly set. -// -// In other cases (aside from the nullable cases above), -// a proto3 scalar field is populated if it contains a non-zero value, and -// a repeated field is populated if it is non-empty. -func (x *fastReflection_MsgUpdateParamsResponse) Has(fd protoreflect.FieldDescriptor) bool { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.MsgUpdateParamsResponse")) - } - panic(fmt.Errorf("message vault.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) - } -} - -// Clear clears the field such that a subsequent Has call reports false. -// -// Clearing an extension field clears both the extension type and value -// associated with the given field number. -// -// Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgUpdateParamsResponse) Clear(fd protoreflect.FieldDescriptor) { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.MsgUpdateParamsResponse")) - } - panic(fmt.Errorf("message vault.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) - } -} - -// Get retrieves the value for a field. -// -// For unpopulated scalars, it returns the default value, where -// the default value of a bytes scalar is guaranteed to be a copy. -// For unpopulated composite types, it returns an empty, read-only view -// of the value; to obtain a mutable reference, use Mutable. -func (x *fastReflection_MsgUpdateParamsResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { - switch descriptor.FullName() { - default: - if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.MsgUpdateParamsResponse")) - } - panic(fmt.Errorf("message vault.v1.MsgUpdateParamsResponse does not contain field %s", descriptor.FullName())) - } -} - -// Set stores the value for a field. -// -// For a field belonging to a oneof, it implicitly clears any other field -// that may be currently set within the same oneof. -// For extension fields, it implicitly stores the provided ExtensionType. -// When setting a composite type, it is unspecified whether the stored value -// aliases the source's memory in any way. If the composite value is an -// empty, read-only value, then it panics. -// -// Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgUpdateParamsResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.MsgUpdateParamsResponse")) - } - panic(fmt.Errorf("message vault.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) - } -} - -// Mutable returns a mutable reference to a composite type. -// -// If the field is unpopulated, it may allocate a composite value. -// For a field belonging to a oneof, it implicitly clears any other field -// that may be currently set within the same oneof. -// For extension fields, it implicitly stores the provided ExtensionType -// if not already stored. -// It panics if the field does not contain a composite type. -// -// Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgUpdateParamsResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.MsgUpdateParamsResponse")) - } - panic(fmt.Errorf("message vault.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) - } -} - -// NewField returns a new value that is assignable to the field -// for the given descriptor. For scalars, this returns the default value. -// For lists, maps, and messages, this returns a new, empty, mutable value. -func (x *fastReflection_MsgUpdateParamsResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: vault.v1.MsgUpdateParamsResponse")) - } - panic(fmt.Errorf("message vault.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) - } -} - -// WhichOneof reports which field within the oneof is populated, -// returning nil if none are populated. -// It panics if the oneof descriptor does not belong to this message. -func (x *fastReflection_MsgUpdateParamsResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { - switch d.FullName() { - default: - panic(fmt.Errorf("%s is not a oneof field in vault.v1.MsgUpdateParamsResponse", d.FullName())) - } - panic("unreachable") -} - -// GetUnknown retrieves the entire list of unknown fields. -// The caller may only mutate the contents of the RawFields -// if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_MsgUpdateParamsResponse) GetUnknown() protoreflect.RawFields { - return x.unknownFields -} - -// SetUnknown stores an entire list of unknown fields. -// The raw fields must be syntactically valid according to the wire format. -// An implementation may panic if this is not the case. -// Once stored, the caller must not mutate the content of the RawFields. -// An empty RawFields may be passed to clear the fields. -// -// SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgUpdateParamsResponse) SetUnknown(fields protoreflect.RawFields) { - x.unknownFields = fields -} - -// IsValid reports whether the message is valid. -// -// An invalid message is an empty, read-only value. -// -// An invalid message often corresponds to a nil pointer of the concrete -// message type, but the details are implementation dependent. -// Validity is not part of the protobuf data model, and may not -// be preserved in marshaling or other operations. -func (x *fastReflection_MsgUpdateParamsResponse) IsValid() bool { - return x != nil -} - -// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. -// This method may return nil. -// -// The returned methods type is identical to -// "google.golang.org/protobuf/runtime/protoiface".Methods. -// Consult the protoiface package documentation for details. -func (x *fastReflection_MsgUpdateParamsResponse) ProtoMethods() *protoiface.Methods { - size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgUpdateParamsResponse) - if x == nil { - return protoiface.SizeOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Size: 0, - } - } - options := runtime.SizeInputToOptions(input) - _ = options - var n int - var l int - _ = l - if x.unknownFields != nil { - n += len(x.unknownFields) - } - return protoiface.SizeOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Size: n, - } - } - - marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgUpdateParamsResponse) - if x == nil { - return protoiface.MarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Buf: input.Buf, - }, nil - } - options := runtime.MarshalInputToOptions(input) - _ = options - size := options.Size(x) - dAtA := make([]byte, size) - i := len(dAtA) - _ = i - var l int - _ = l - if x.unknownFields != nil { - i -= len(x.unknownFields) - copy(dAtA[i:], x.unknownFields) - } - if input.Buf != nil { - input.Buf = append(input.Buf, dAtA...) - } else { - input.Buf = dAtA - } - return protoiface.MarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Buf: input.Buf, - }, nil - } - unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgUpdateParamsResponse) - if x == nil { - return protoiface.UnmarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Flags: input.Flags, - }, nil - } - options := runtime.UnmarshalInputToOptions(input) - _ = options - dAtA := input.Buf - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgUpdateParamsResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgUpdateParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := runtime.Skip(dAtA[iNdEx:]) - if err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - if (iNdEx + skippy) > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - if !options.DiscardUnknown { - x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - } - iNdEx += skippy - } - } - - if iNdEx > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil - } - return &protoiface.Methods{ - NoUnkeyedLiterals: struct{}{}, - Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, - Size: size, - Marshal: marshal, - Unmarshal: unmarshal, - Merge: nil, - CheckInitialized: nil, - } -} - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.27.0 -// protoc (unknown) -// source: vault/v1/tx.proto - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// MsgUpdateParams is the Msg/UpdateParams request type. -// -// Since: cosmos-sdk 0.47 -type MsgUpdateParams struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // authority is the address of the governance account. - Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` - // params defines the parameters to update. - // - // NOTE: All parameters must be supplied. - Params *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` -} - -func (x *MsgUpdateParams) Reset() { - *x = MsgUpdateParams{} - if protoimpl.UnsafeEnabled { - mi := &file_vault_v1_tx_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MsgUpdateParams) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MsgUpdateParams) ProtoMessage() {} - -// Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead. -func (*MsgUpdateParams) Descriptor() ([]byte, []int) { - return file_vault_v1_tx_proto_rawDescGZIP(), []int{0} -} - -func (x *MsgUpdateParams) GetAuthority() string { - if x != nil { - return x.Authority - } - return "" -} - -func (x *MsgUpdateParams) GetParams() *Params { - if x != nil { - return x.Params - } - return nil -} - -// MsgUpdateParamsResponse defines the response structure for executing a -// MsgUpdateParams message. -// -// Since: cosmos-sdk 0.47 -type MsgUpdateParamsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *MsgUpdateParamsResponse) Reset() { - *x = MsgUpdateParamsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_vault_v1_tx_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MsgUpdateParamsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MsgUpdateParamsResponse) ProtoMessage() {} - -// Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead. -func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) { - return file_vault_v1_tx_proto_rawDescGZIP(), []int{1} -} - -var File_vault_v1_tx_proto protoreflect.FileDescriptor - -var file_vault_v1_tx_proto_rawDesc = []byte{ - 0x0a, 0x11, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x78, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2e, 0x76, 0x31, 0x1a, 0x17, 0x63, - 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x6d, 0x73, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x73, 0x67, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5f, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, - 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, - 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2f, 0x76, 0x31, 0x2f, - 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x89, 0x01, - 0x0a, 0x0f, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x73, 0x12, 0x36, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, - 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x09, - 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x2e, 0x0a, 0x06, 0x70, 0x61, 0x72, - 0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x76, 0x61, 0x75, 0x6c, - 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x04, 0xc8, 0xde, 0x1f, - 0x00, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x3a, 0x0e, 0x82, 0xe7, 0xb0, 0x2a, 0x09, - 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, 0x19, 0x0a, 0x17, 0x4d, 0x73, 0x67, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x5a, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x4c, 0x0a, 0x0c, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x19, 0x2e, 0x76, 0x61, - 0x75, 0x6c, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x21, 0x2e, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2e, 0x76, - 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x1a, 0x05, 0x80, 0xe7, 0xb0, 0x2a, 0x01, - 0x42, 0x85, 0x01, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2e, 0x76, - 0x31, 0x42, 0x07, 0x54, 0x78, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2b, 0x67, 0x69, - 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x6e, 0x73, 0x6f, 0x6e, 0x72, 0x2f, - 0x73, 0x6f, 0x6e, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2f, 0x76, - 0x31, 0x3b, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x56, 0x58, 0x58, 0xaa, - 0x02, 0x08, 0x56, 0x61, 0x75, 0x6c, 0x74, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x08, 0x56, 0x61, 0x75, - 0x6c, 0x74, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x14, 0x56, 0x61, 0x75, 0x6c, 0x74, 0x5c, 0x56, 0x31, - 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x09, 0x56, - 0x61, 0x75, 0x6c, 0x74, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_vault_v1_tx_proto_rawDescOnce sync.Once - file_vault_v1_tx_proto_rawDescData = file_vault_v1_tx_proto_rawDesc -) - -func file_vault_v1_tx_proto_rawDescGZIP() []byte { - file_vault_v1_tx_proto_rawDescOnce.Do(func() { - file_vault_v1_tx_proto_rawDescData = protoimpl.X.CompressGZIP(file_vault_v1_tx_proto_rawDescData) - }) - return file_vault_v1_tx_proto_rawDescData -} - -var file_vault_v1_tx_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_vault_v1_tx_proto_goTypes = []interface{}{ - (*MsgUpdateParams)(nil), // 0: vault.v1.MsgUpdateParams - (*MsgUpdateParamsResponse)(nil), // 1: vault.v1.MsgUpdateParamsResponse - (*Params)(nil), // 2: vault.v1.Params -} -var file_vault_v1_tx_proto_depIdxs = []int32{ - 2, // 0: vault.v1.MsgUpdateParams.params:type_name -> vault.v1.Params - 0, // 1: vault.v1.Msg.UpdateParams:input_type -> vault.v1.MsgUpdateParams - 1, // 2: vault.v1.Msg.UpdateParams:output_type -> vault.v1.MsgUpdateParamsResponse - 2, // [2:3] is the sub-list for method output_type - 1, // [1:2] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_vault_v1_tx_proto_init() } -func file_vault_v1_tx_proto_init() { - if File_vault_v1_tx_proto != nil { - return - } - file_vault_v1_genesis_proto_init() - if !protoimpl.UnsafeEnabled { - file_vault_v1_tx_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgUpdateParams); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_vault_v1_tx_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgUpdateParamsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_vault_v1_tx_proto_rawDesc, - NumEnums: 0, - NumMessages: 2, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_vault_v1_tx_proto_goTypes, - DependencyIndexes: file_vault_v1_tx_proto_depIdxs, - MessageInfos: file_vault_v1_tx_proto_msgTypes, - }.Build() - File_vault_v1_tx_proto = out.File - file_vault_v1_tx_proto_rawDesc = nil - file_vault_v1_tx_proto_goTypes = nil - file_vault_v1_tx_proto_depIdxs = nil -} diff --git a/app/app.go b/app/app.go index 29a60e11c..6a983b746 100644 --- a/app/app.go +++ b/app/app.go @@ -134,6 +134,15 @@ import ( ibcexported "github.com/cosmos/ibc-go/v8/modules/core/exported" ibckeeper "github.com/cosmos/ibc-go/v8/modules/core/keeper" ibctm "github.com/cosmos/ibc-go/v8/modules/light-clients/07-tendermint" + did "github.com/onsonr/sonr/x/did" + didkeeper "github.com/onsonr/sonr/x/did/keeper" + didtypes "github.com/onsonr/sonr/x/did/types" + dwn "github.com/onsonr/sonr/x/dwn" + dwnkeeper "github.com/onsonr/sonr/x/dwn/keeper" + dwntypes "github.com/onsonr/sonr/x/dwn/types" + svc "github.com/onsonr/sonr/x/svc" + svckeeper "github.com/onsonr/sonr/x/svc/keeper" + svctypes "github.com/onsonr/sonr/x/svc/types" "github.com/spf13/cast" globalfee "github.com/strangelove-ventures/globalfee/x/globalfee" globalfeekeeper "github.com/strangelove-ventures/globalfee/x/globalfee/keeper" @@ -144,16 +153,6 @@ import ( tokenfactory "github.com/strangelove-ventures/tokenfactory/x/tokenfactory" tokenfactorykeeper "github.com/strangelove-ventures/tokenfactory/x/tokenfactory/keeper" tokenfactorytypes "github.com/strangelove-ventures/tokenfactory/x/tokenfactory/types" - - did "github.com/onsonr/sonr/x/did" - didkeeper "github.com/onsonr/sonr/x/did/keeper" - didtypes "github.com/onsonr/sonr/x/did/types" - service "github.com/onsonr/sonr/x/service" - servicekeeper "github.com/onsonr/sonr/x/service/keeper" - servicetypes "github.com/onsonr/sonr/x/service/types" - vault "github.com/onsonr/sonr/x/vault" - vaultkeeper "github.com/onsonr/sonr/x/vault/keeper" - vaulttypes "github.com/onsonr/sonr/x/vault/types" ) const appName = "sonr" @@ -232,8 +231,8 @@ type SonrApp struct { CrisisKeeper *crisiskeeper.Keeper UpgradeKeeper *upgradekeeper.Keeper legacyAmino *codec.LegacyAmino - VaultKeeper vaultkeeper.Keeper - ServiceKeeper servicekeeper.Keeper + DwnKeeper dwnkeeper.Keeper + SvcKeeper svckeeper.Keeper sm *module.SimulationManager BasicModuleManager module.BasicManager ModuleManager *module.Manager @@ -366,8 +365,8 @@ func NewChainApp( globalfeetypes.StoreKey, packetforwardtypes.StoreKey, didtypes.StoreKey, - vaulttypes.StoreKey, - servicetypes.StoreKey, + dwntypes.StoreKey, + svctypes.StoreKey, ) tkeys := storetypes.NewTransientStoreKeys(paramstypes.TStoreKey) @@ -627,28 +626,43 @@ func NewChainApp( app.StakingKeeper, ) - // Create the vault Keeper - app.VaultKeeper = vaultkeeper.NewKeeper( + // Create the svc Keeper + app.SvcKeeper = svckeeper.NewKeeper( appCodec, - sdkruntime.NewKVStoreService(keys[vaulttypes.StoreKey]), + sdkruntime.NewKVStoreService(keys[svctypes.StoreKey]), logger, authtypes.NewModuleAddress(govtypes.ModuleName).String(), - app.AccountKeeper, - app.DidKeeper, ) - // Create the service Keeper - app.ServiceKeeper = servicekeeper.NewKeeper( + // Create the dwn Keeper + app.DwnKeeper = dwnkeeper.NewKeeper( appCodec, - sdkruntime.NewKVStoreService(keys[servicetypes.StoreKey]), + sdkruntime.NewKVStoreService(keys[dwntypes.StoreKey]), logger, authtypes.NewModuleAddress(govtypes.ModuleName).String(), - app.DidKeeper, - app.GroupKeeper, - app.NFTKeeper, - app.VaultKeeper, ) - + // // Create the vault Keeper + // app.VaultKeeper = vaultkeeper.NewKeeper( + // appCodec, + // sdkruntime.NewKVStoreService(keys[vaulttypes.StoreKey]), + // logger, + // authtypes.NewModuleAddress(govtypes.ModuleName).String(), + // app.AccountKeeper, + // app.DidKeeper, + // ) + // + // // Create the service Keeper + // app.ServiceKeeper = servicekeeper.NewKeeper( + // appCodec, + // sdkruntime.NewKVStoreService(keys[servicetypes.StoreKey]), + // logger, + // authtypes.NewModuleAddress(govtypes.ModuleName).String(), + // app.DidKeeper, + // app.GroupKeeper, + // app.NFTKeeper, + // app.VaultKeeper, + // ) + // // Create the globalfee keeper app.GlobalFeeKeeper = globalfeekeeper.NewKeeper( appCodec, @@ -906,10 +920,8 @@ func NewChainApp( ), did.NewAppModule(appCodec, app.DidKeeper, app.NFTKeeper), - - vault.NewAppModule(appCodec, app.VaultKeeper, app.DidKeeper), - - service.NewAppModule(appCodec, app.ServiceKeeper, app.DidKeeper), + dwn.NewAppModule(appCodec, app.DwnKeeper), + svc.NewAppModule(appCodec, app.SvcKeeper), ) // BasicModuleManager defines the module BasicManager is in charge of setting up basic, @@ -958,8 +970,8 @@ func NewChainApp( tokenfactorytypes.ModuleName, packetforwardtypes.ModuleName, didtypes.ModuleName, - vaulttypes.ModuleName, - servicetypes.ModuleName, + dwntypes.ModuleName, + svctypes.ModuleName, ) app.ModuleManager.SetOrderEndBlockers( @@ -979,8 +991,8 @@ func NewChainApp( tokenfactorytypes.ModuleName, packetforwardtypes.ModuleName, didtypes.ModuleName, - vaulttypes.ModuleName, - servicetypes.ModuleName, + dwntypes.ModuleName, + svctypes.ModuleName, ) // NOTE: The genutils module must occur after staking so that pools are @@ -1009,8 +1021,8 @@ func NewChainApp( globalfeetypes.ModuleName, packetforwardtypes.ModuleName, didtypes.ModuleName, - vaulttypes.ModuleName, - servicetypes.ModuleName, + dwntypes.ModuleName, + svctypes.ModuleName, } app.ModuleManager.SetOrderInitGenesis(genesisModuleOrder...) app.ModuleManager.SetOrderExportGenesis(genesisModuleOrder...) @@ -1469,8 +1481,8 @@ func initParamsKeeper( paramsKeeper.Subspace(packetforwardtypes.ModuleName). WithKeyTable(packetforwardtypes.ParamKeyTable()) paramsKeeper.Subspace(didtypes.ModuleName) - paramsKeeper.Subspace(vaulttypes.ModuleName) - paramsKeeper.Subspace(servicetypes.ModuleName) + paramsKeeper.Subspace(dwntypes.ModuleName) + paramsKeeper.Subspace(svctypes.ModuleName) return paramsKeeper } diff --git a/app/cli/dexmodel/dexmodel.go b/app/cli/dexmodel/dexmodel.go deleted file mode 100644 index c6a77a8d8..000000000 --- a/app/cli/dexmodel/dexmodel.go +++ /dev/null @@ -1,165 +0,0 @@ -package dexmodel - -import ( - "fmt" - "time" - - "github.com/charmbracelet/bubbles/table" - tea "github.com/charmbracelet/bubbletea" - "github.com/charmbracelet/lipgloss" - "github.com/spf13/cobra" -) - -var ( - subtle = lipgloss.AdaptiveColor{Light: "#D9DCCF", Dark: "#383838"} - highlight = lipgloss.AdaptiveColor{Light: "#874BFD", Dark: "#7D56F4"} - special = lipgloss.AdaptiveColor{Light: "#43BF6D", Dark: "#73F59F"} - - titleStyle = lipgloss.NewStyle(). - MarginLeft(1). - MarginRight(5). - Padding(0, 1). - Italic(true). - Foreground(lipgloss.Color("#FFF7DB")). - SetString("Cosmos Block Explorer") - - infoStyle = lipgloss.NewStyle(). - BorderStyle(lipgloss.NormalBorder()). - BorderTop(true). - BorderForeground(subtle) -) - -type model struct { - blocks []string - transactionTable table.Model - stats map[string]string - width int - height int -} - -func initialModel() model { - columns := []table.Column{ - {Title: "Hash", Width: 10}, - {Title: "Type", Width: 15}, - {Title: "Height", Width: 10}, - {Title: "Time", Width: 20}, - } - - rows := []table.Row{ - {"abc123", "Transfer", "1000", time.Now().Format(time.RFC3339)}, - {"def456", "Delegate", "999", time.Now().Add(-1 * time.Minute).Format(time.RFC3339)}, - {"ghi789", "Vote", "998", time.Now().Add(-2 * time.Minute).Format(time.RFC3339)}, - } - - t := table.New( - table.WithColumns(columns), - table.WithRows(rows), - table.WithFocused(true), - table.WithHeight(7), - ) - - s := table.DefaultStyles() - s.Header = s.Header. - BorderStyle(lipgloss.NormalBorder()). - BorderForeground(lipgloss.Color("240")). - BorderBottom(true). - Bold(false) - s.Selected = s.Selected. - Foreground(lipgloss.Color("229")). - Background(lipgloss.Color("57")). - Bold(false) - t.SetStyles(s) - - return model{ - blocks: []string{"Block 1", "Block 2", "Block 3"}, - transactionTable: t, - stats: map[string]string{ - "Latest Block": "1000", - "Validators": "100", - "Bonded Tokens": "1,000,000", - }, - } -} - -func (m model) Init() tea.Cmd { - return tick -} - -func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { - var cmd tea.Cmd - switch msg := msg.(type) { - case tea.KeyMsg: - switch msg.String() { - case "q", "ctrl+c": - return m, tea.Quit - case "enter": - return m, tea.Batch( - tea.Printf("Selected transaction: %s", m.transactionTable.SelectedRow()[0]), - ) - } - case tea.WindowSizeMsg: - m.height = msg.Height - m.width = msg.Width - case tickMsg: - // Update data here - m.blocks = append([]string{"New Block"}, m.blocks...) - if len(m.blocks) > 5 { - m.blocks = m.blocks[:5] - } - - // Add a new transaction to the table - newRow := table.Row{ - fmt.Sprintf("tx%d", time.Now().Unix()), - "NewTxType", - fmt.Sprintf("%d", 1000+len(m.transactionTable.Rows())), - time.Now().Format(time.RFC3339), - } - m.transactionTable.SetRows(append([]table.Row{newRow}, m.transactionTable.Rows()...)) - if len(m.transactionTable.Rows()) > 10 { - m.transactionTable.SetRows(m.transactionTable.Rows()[:10]) - } - - return m, tick - } - m.transactionTable, cmd = m.transactionTable.Update(msg) - return m, cmd -} - -func (m model) View() string { - s := titleStyle.Render("Cosmos Block Explorer") - s += "\n\n" - - // Blocks - s += lipgloss.NewStyle().Bold(true).Render("Recent Blocks") + "\n" - for _, block := range m.blocks { - s += "• " + block + "\n" - } - s += "\n" - - // Transactions - s += lipgloss.NewStyle().Bold(true).Render("Recent Transactions") + "\n" - s += m.transactionTable.View() + "\n\n" - - // Stats - s += lipgloss.NewStyle().Bold(true).Render("Network Statistics") + "\n" - for key, value := range m.stats { - s += fmt.Sprintf("%s: %s\n", key, value) - } - - return s -} - -type tickMsg time.Time - -func tick() tea.Msg { - time.Sleep(time.Second) - return tickMsg{} -} - -func RunExplorerTUI(cmd *cobra.Command, args []string) error { - p := tea.NewProgram(initialModel(), tea.WithAltScreen()) - if _, err := p.Run(); err != nil { - return fmt.Errorf("error running explorer: %v", err) - } - return nil -} diff --git a/app/cli/tui.go b/app/cli/tui.go deleted file mode 100644 index b5305baff..000000000 --- a/app/cli/tui.go +++ /dev/null @@ -1,44 +0,0 @@ -package cli - -import ( - "fmt" - - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/onsonr/sonr/app/cli/dexmodel" - "github.com/onsonr/sonr/app/cli/txmodel" - "github.com/spf13/cobra" -) - -func NewBuildTxnTUICmd() *cobra.Command { - return &cobra.Command{ - Use: "dash", - Short: "TUI for managing the local Sonr validator node", - RunE: func(cmd *cobra.Command, args []string) error { - txBody, err := txmodel.RunBuildTxnTUI() - if err != nil { - return err - } - - interfaceRegistry := codectypes.NewInterfaceRegistry() - marshaler := codec.NewProtoCodec(interfaceRegistry) - jsonBytes, err := marshaler.MarshalJSON(txBody) - if err != nil { - return fmt.Errorf("failed to marshal tx body: %w", err) - } - - fmt.Println("Generated Protobuf Message (JSON format):") - fmt.Println(string(jsonBytes)) - - return nil - }, - } -} - -func NewExplorerTUICmd() *cobra.Command { - return &cobra.Command{ - Use: "cosmos-explorer", - Short: "A terminal-based Cosmos blockchain explorer", - RunE: dexmodel.RunExplorerTUI, - } -} diff --git a/app/cli/txmodel/txmodel.go b/app/cli/txmodel/txmodel.go deleted file mode 100644 index 4c493ad24..000000000 --- a/app/cli/txmodel/txmodel.go +++ /dev/null @@ -1,322 +0,0 @@ -package txmodel - -import ( - "fmt" - "strings" - - tea "github.com/charmbracelet/bubbletea" - "github.com/charmbracelet/huh" - "github.com/charmbracelet/lipgloss" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/tx" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" -) - -const maxWidth = 100 - -var ( - red = lipgloss.AdaptiveColor{Light: "#FE5F86", Dark: "#FE5F86"} - indigo = lipgloss.AdaptiveColor{Light: "#5A56E0", Dark: "#7571F9"} - green = lipgloss.AdaptiveColor{Light: "#02BA84", Dark: "#02BF87"} -) - -type Styles struct { - Base, - HeaderText, - Status, - StatusHeader, - Highlight, - ErrorHeaderText, - Help lipgloss.Style -} - -func NewStyles(lg *lipgloss.Renderer) *Styles { - s := Styles{} - s.Base = lg.NewStyle(). - Padding(1, 2, 0, 1) - s.HeaderText = lg.NewStyle(). - Foreground(indigo). - Bold(true). - Padding(0, 1, 0, 1) - s.Status = lg.NewStyle(). - Border(lipgloss.RoundedBorder()). - BorderForeground(indigo). - PaddingLeft(1). - MarginTop(1) - s.StatusHeader = lg.NewStyle(). - Foreground(green). - Bold(true) - s.Highlight = lg.NewStyle(). - Foreground(lipgloss.Color("212")) - s.ErrorHeaderText = s.HeaderText. - Foreground(red) - s.Help = lg.NewStyle(). - Foreground(lipgloss.Color("240")) - return &s -} - -type state int - -const ( - statusNormal state = iota - stateDone -) - -type Model struct { - state state - lg *lipgloss.Renderer - styles *Styles - form *huh.Form - width int - message *tx.TxBody -} - -func NewModel() Model { - m := Model{width: maxWidth} - m.lg = lipgloss.DefaultRenderer() - m.styles = NewStyles(m.lg) - - m.form = huh.NewForm( - huh.NewGroup( - huh.NewInput(). - Key("from"). - Title("From Address"). - Placeholder("cosmos1..."). - Validate(func(s string) error { - if !strings.HasPrefix(s, "cosmos1") { - return fmt.Errorf("invalid address format") - } - return nil - }), - - huh.NewInput(). - Key("to"). - Title("To Address"). - Placeholder("cosmos1..."). - Validate(func(s string) error { - if !strings.HasPrefix(s, "cosmos1") { - return fmt.Errorf("invalid address format") - } - return nil - }), - - huh.NewInput(). - Key("amount"). - Title("Amount"). - Placeholder("100"). - Validate(func(s string) error { - if _, err := sdk.ParseCoinNormalized(s + "atom"); err != nil { - return fmt.Errorf("invalid coin amount") - } - return nil - }), - - huh.NewSelect[string](). - Key("denom"). - Title("Denom"). - Options(huh.NewOptions("atom", "osmo", "usnr", "snr")...), - - huh.NewInput(). - Key("memo"). - Title("Memo"). - Placeholder("Optional"), - - huh.NewConfirm(). - Key("done"). - Title("Ready to convert?"). - Validate(func(v bool) error { - if !v { - return fmt.Errorf("Please confirm when you're ready to convert") - } - return nil - }). - Affirmative("Yes, convert!"). - Negative("Not yet"), - ), - ). - WithWidth(60). - WithShowHelp(false). - WithShowErrors(false) - - return m -} - -func (m Model) Init() tea.Cmd { - return m.form.Init() -} - -func min(x, y int) int { - if x > y { - return y - } - return x -} - -func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { - switch msg := msg.(type) { - case tea.WindowSizeMsg: - m.width = min(msg.Width, maxWidth) - m.styles.Base.GetHorizontalFrameSize() - case tea.KeyMsg: - switch msg.String() { - case "esc", "ctrl+c", "q": - return m, tea.Quit - } - } - - var cmds []tea.Cmd - - form, cmd := m.form.Update(msg) - if f, ok := form.(*huh.Form); ok { - m.form = f - cmds = append(cmds, cmd) - } - - if m.form.State == huh.StateCompleted { - m.buildMessage() - cmds = append(cmds, tea.Quit) - } - - return m, tea.Batch(cmds...) -} - -func (m Model) View() string { - s := m.styles - - switch m.form.State { - case huh.StateCompleted: - pklCode := m.generatePkl() - messageView := m.getMessageView() - var b strings.Builder - fmt.Fprintf(&b, "Final Tx:\n\n%s\n\n%s", pklCode, messageView) - return s.Status.Margin(0, 1).Padding(1, 2).Width(80).Render(b.String()) + "\n\n" - default: - var schemaType string - if m.form.GetString("schemaType") != "" { - schemaType = "Schema Type: " + m.form.GetString("schemaType") - } - - v := strings.TrimSuffix(m.form.View(), "\n\n") - form := m.lg.NewStyle().Margin(1, 0).Render(v) - - var status string - { - preview := "(Preview will appear here)" - if m.form.GetString("schema") != "" { - preview = m.generatePkl() - } - - const statusWidth = 40 - statusMarginLeft := m.width - statusWidth - lipgloss.Width(form) - s.Status.GetMarginRight() - status = s.Status. - Height(lipgloss.Height(form)). - Width(statusWidth). - MarginLeft(statusMarginLeft). - Render(s.StatusHeader.Render("Pkl Preview") + "\n" + - schemaType + "\n\n" + - preview) - } - - errors := m.form.Errors() - header := m.appBoundaryView("Sonr TX Builder") - if len(errors) > 0 { - header = m.appErrorBoundaryView(m.errorView()) - } - body := lipgloss.JoinHorizontal(lipgloss.Top, form, status) - - footer := m.appBoundaryView(m.form.Help().ShortHelpView(m.form.KeyBinds())) - if len(errors) > 0 { - footer = m.appErrorBoundaryView("") - } - - return s.Base.Render(header + "\n" + body + "\n\n" + footer) - } -} - -func (m Model) errorView() string { - var s string - for _, err := range m.form.Errors() { - s += err.Error() - } - return s -} - -func (m Model) appBoundaryView(text string) string { - return lipgloss.PlaceHorizontal( - m.width, - lipgloss.Left, - m.styles.HeaderText.Render(text), - lipgloss.WithWhitespaceChars("="), - lipgloss.WithWhitespaceForeground(indigo), - ) -} - -func (m Model) appErrorBoundaryView(text string) string { - return lipgloss.PlaceHorizontal( - m.width, - lipgloss.Left, - m.styles.ErrorHeaderText.Render(text), - lipgloss.WithWhitespaceChars("="), - lipgloss.WithWhitespaceForeground(red), - ) -} - -func (m Model) generatePkl() string { - schemaType := m.form.GetString("schemaType") - schema := m.form.GetString("schema") - - // This is a placeholder for the actual conversion logic - // In a real implementation, you would parse the schema and generate Pkl code - return fmt.Sprintf("// Converted from %s\n\nclass ConvertedSchema {\n // TODO: Implement conversion from %s\n // Original schema:\n /*\n%s\n */\n}", schemaType, schemaType, schema) -} - -func (m *Model) buildMessage() { - from := m.form.GetString("from") - to := m.form.GetString("to") - amount := m.form.GetString("amount") - denom := m.form.GetString("denom") - memo := m.form.GetString("memo") - - coin, _ := sdk.ParseCoinNormalized(fmt.Sprintf("%s%s", amount, denom)) - sendMsg := &banktypes.MsgSend{ - FromAddress: from, - ToAddress: to, - Amount: sdk.NewCoins(coin), - } - - anyMsg, _ := codectypes.NewAnyWithValue(sendMsg) - m.message = &tx.TxBody{ - Messages: []*codectypes.Any{anyMsg}, - Memo: memo, - } -} - -func (m Model) getMessageView() string { - if m.message == nil { - return "Current Message: None" - } - - interfaceRegistry := codectypes.NewInterfaceRegistry() - marshaler := codec.NewProtoCodec(interfaceRegistry) - jsonBytes, _ := marshaler.MarshalJSON(m.message) - - return fmt.Sprintf("Current Message:\n%s", string(jsonBytes)) -} - -func RunBuildTxnTUI() (*tx.TxBody, error) { - m := NewModel() - p := tea.NewProgram(m) - - finalModel, err := p.Run() - if err != nil { - return nil, fmt.Errorf("failed to run program: %w", err) - } - - finalM, ok := finalModel.(Model) - if !ok || finalM.message == nil { - return nil, fmt.Errorf("form not completed") - } - - return finalM.message, nil -} diff --git a/cmd/hway/styles.css b/cmd/hway/styles.css new file mode 100644 index 000000000..2e3888049 --- /dev/null +++ b/cmd/hway/styles.css @@ -0,0 +1,3503 @@ +@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Inter+Tight:ital,wght@0,500;0,600;0,700;1,700&display=fallback"); + +/* src/css/styles.css */ + +*, ::before, ::after{ + --tw-border-spacing-x: 0; + --tw-border-spacing-y: 0; + --tw-translate-x: 0; + --tw-translate-y: 0; + --tw-rotate: 0; + --tw-skew-x: 0; + --tw-skew-y: 0; + --tw-scale-x: 1; + --tw-scale-y: 1; + --tw-pan-x: ; + --tw-pan-y: ; + --tw-pinch-zoom: ; + --tw-scroll-snap-strictness: proximity; + --tw-gradient-from-position: ; + --tw-gradient-via-position: ; + --tw-gradient-to-position: ; + --tw-ordinal: ; + --tw-slashed-zero: ; + --tw-numeric-figure: ; + --tw-numeric-spacing: ; + --tw-numeric-fraction: ; + --tw-ring-inset: ; + --tw-ring-offset-width: 0px; + --tw-ring-offset-color: #fff; + --tw-ring-color: rgb(59 130 246 / 0.5); + --tw-ring-offset-shadow: 0 0 #0000; + --tw-ring-shadow: 0 0 #0000; + --tw-shadow: 0 0 #0000; + --tw-shadow-colored: 0 0 #0000; + --tw-blur: ; + --tw-brightness: ; + --tw-contrast: ; + --tw-grayscale: ; + --tw-hue-rotate: ; + --tw-invert: ; + --tw-saturate: ; + --tw-sepia: ; + --tw-drop-shadow: ; + --tw-backdrop-blur: ; + --tw-backdrop-brightness: ; + --tw-backdrop-contrast: ; + --tw-backdrop-grayscale: ; + --tw-backdrop-hue-rotate: ; + --tw-backdrop-invert: ; + --tw-backdrop-opacity: ; + --tw-backdrop-saturate: ; + --tw-backdrop-sepia: ; + --tw-contain-size: ; + --tw-contain-layout: ; + --tw-contain-paint: ; + --tw-contain-style: ; + --motion-origin-scale-x: 1; + --motion-origin-scale-y: 1; + --motion-origin-translate-x: 0; + --motion-origin-translate-y: 0; + --motion-origin-rotate: 0; + --motion-origin-blur: 0; + --motion-origin-grayscale: 0; + --motion-origin-opacity: 1; + --motion-origin-background-color: ; + --motion-origin-text-color: ; + --motion-end-scale-x: 1; + --motion-end-scale-y: 1; + --motion-end-translate-x: 0; + --motion-end-translate-y: 0; + --motion-end-rotate: 0; + --motion-end-blur: 0; + --motion-end-grayscale: 0; + --motion-end-opacity: 1; + --motion-end-background-color: ; + --motion-end-text-color: ; + --motion-duration: 750ms; + --motion-timing: var(--motion-default-timing); + --motion-perceptual-duration-multiplier: 1; + --motion-delay: 0ms; + --motion-scale-duration: var(--motion-duration); + --motion-scale-timing: var(--motion-timing); + --motion-scale-perceptual-duration-multiplier: var(--motion-perceptual-duration-multiplier); + --motion-scale-delay: var(--motion-delay); + --motion-translate-duration: var(--motion-duration); + --motion-translate-timing: var(--motion-timing); + --motion-translate-perceptual-duration-multiplier: var(--motion-perceptual-duration-multiplier); + --motion-translate-delay: var(--motion-delay); + --motion-rotate-duration: var(--motion-duration); + --motion-rotate-timing: var(--motion-timing); + --motion-rotate-perceptual-duration-multiplier: var(--motion-perceptual-duration-multiplier); + --motion-rotate-delay: var(--motion-delay); + --motion-filter-duration: var(--motion-duration); + --motion-filter-timing: var(--motion-timing); + --motion-filter-perceptual-duration-multiplier: var(--motion-perceptual-duration-multiplier); + --motion-filter-delay: var(--motion-delay); + --motion-opacity-duration: var(--motion-duration); + --motion-opacity-timing: var(--motion-timing); + --motion-opacity-perceptual-duration-multiplier: var(--motion-perceptual-duration-multiplier); + --motion-opacity-delay: var(--motion-delay); + --motion-background-color-duration: var(--motion-duration); + --motion-background-color-timing: var(--motion-timing); + --motion-background-color-perceptual-duration-multiplier: var(--motion-perceptual-duration-multiplier); + --motion-background-color-delay: var(--motion-delay); + --motion-text-color-duration: var(--motion-duration); + --motion-text-color-timing: var(--motion-timing); + --motion-text-color-perceptual-duration-multiplier: var(--motion-perceptual-duration-multiplier); + --motion-text-color-delay: var(--motion-delay); + --motion-scale-in-animation: none; + --motion-translate-in-animation: none; + --motion-rotate-in-animation: none; + --motion-filter-in-animation: none; + --motion-opacity-in-animation: none; + --motion-background-color-in-animation: none; + --motion-text-color-in-animation: none; + --motion-scale-out-animation: none; + --motion-translate-out-animation: none; + --motion-rotate-out-animation: none; + --motion-filter-out-animation: none; + --motion-opacity-out-animation: none; + --motion-background-color-out-animation: none; + --motion-text-color-out-animation: none; + --motion-all-enter-animations: var(--motion-scale-in-animation), var(--motion-translate-in-animation), var(--motion-rotate-in-animation), var(--motion-filter-in-animation), var(--motion-opacity-in-animation), var(--motion-background-color-in-animation), var(--motion-text-color-in-animation); + --motion-all-exit-animations: var(--motion-scale-out-animation), var(--motion-translate-out-animation), var(--motion-rotate-out-animation), var(--motion-filter-out-animation), var(--motion-opacity-out-animation), var(--motion-background-color-out-animation), var(--motion-text-color-out-animation); +} + +::backdrop{ + --tw-border-spacing-x: 0; + --tw-border-spacing-y: 0; + --tw-translate-x: 0; + --tw-translate-y: 0; + --tw-rotate: 0; + --tw-skew-x: 0; + --tw-skew-y: 0; + --tw-scale-x: 1; + --tw-scale-y: 1; + --tw-pan-x: ; + --tw-pan-y: ; + --tw-pinch-zoom: ; + --tw-scroll-snap-strictness: proximity; + --tw-gradient-from-position: ; + --tw-gradient-via-position: ; + --tw-gradient-to-position: ; + --tw-ordinal: ; + --tw-slashed-zero: ; + --tw-numeric-figure: ; + --tw-numeric-spacing: ; + --tw-numeric-fraction: ; + --tw-ring-inset: ; + --tw-ring-offset-width: 0px; + --tw-ring-offset-color: #fff; + --tw-ring-color: rgb(59 130 246 / 0.5); + --tw-ring-offset-shadow: 0 0 #0000; + --tw-ring-shadow: 0 0 #0000; + --tw-shadow: 0 0 #0000; + --tw-shadow-colored: 0 0 #0000; + --tw-blur: ; + --tw-brightness: ; + --tw-contrast: ; + --tw-grayscale: ; + --tw-hue-rotate: ; + --tw-invert: ; + --tw-saturate: ; + --tw-sepia: ; + --tw-drop-shadow: ; + --tw-backdrop-blur: ; + --tw-backdrop-brightness: ; + --tw-backdrop-contrast: ; + --tw-backdrop-grayscale: ; + --tw-backdrop-hue-rotate: ; + --tw-backdrop-invert: ; + --tw-backdrop-opacity: ; + --tw-backdrop-saturate: ; + --tw-backdrop-sepia: ; + --tw-contain-size: ; + --tw-contain-layout: ; + --tw-contain-paint: ; + --tw-contain-style: ; + --motion-origin-scale-x: 1; + --motion-origin-scale-y: 1; + --motion-origin-translate-x: 0; + --motion-origin-translate-y: 0; + --motion-origin-rotate: 0; + --motion-origin-blur: 0; + --motion-origin-grayscale: 0; + --motion-origin-opacity: 1; + --motion-origin-background-color: ; + --motion-origin-text-color: ; + --motion-end-scale-x: 1; + --motion-end-scale-y: 1; + --motion-end-translate-x: 0; + --motion-end-translate-y: 0; + --motion-end-rotate: 0; + --motion-end-blur: 0; + --motion-end-grayscale: 0; + --motion-end-opacity: 1; + --motion-end-background-color: ; + --motion-end-text-color: ; + --motion-duration: 750ms; + --motion-timing: var(--motion-default-timing); + --motion-perceptual-duration-multiplier: 1; + --motion-delay: 0ms; + --motion-scale-duration: var(--motion-duration); + --motion-scale-timing: var(--motion-timing); + --motion-scale-perceptual-duration-multiplier: var(--motion-perceptual-duration-multiplier); + --motion-scale-delay: var(--motion-delay); + --motion-translate-duration: var(--motion-duration); + --motion-translate-timing: var(--motion-timing); + --motion-translate-perceptual-duration-multiplier: var(--motion-perceptual-duration-multiplier); + --motion-translate-delay: var(--motion-delay); + --motion-rotate-duration: var(--motion-duration); + --motion-rotate-timing: var(--motion-timing); + --motion-rotate-perceptual-duration-multiplier: var(--motion-perceptual-duration-multiplier); + --motion-rotate-delay: var(--motion-delay); + --motion-filter-duration: var(--motion-duration); + --motion-filter-timing: var(--motion-timing); + --motion-filter-perceptual-duration-multiplier: var(--motion-perceptual-duration-multiplier); + --motion-filter-delay: var(--motion-delay); + --motion-opacity-duration: var(--motion-duration); + --motion-opacity-timing: var(--motion-timing); + --motion-opacity-perceptual-duration-multiplier: var(--motion-perceptual-duration-multiplier); + --motion-opacity-delay: var(--motion-delay); + --motion-background-color-duration: var(--motion-duration); + --motion-background-color-timing: var(--motion-timing); + --motion-background-color-perceptual-duration-multiplier: var(--motion-perceptual-duration-multiplier); + --motion-background-color-delay: var(--motion-delay); + --motion-text-color-duration: var(--motion-duration); + --motion-text-color-timing: var(--motion-timing); + --motion-text-color-perceptual-duration-multiplier: var(--motion-perceptual-duration-multiplier); + --motion-text-color-delay: var(--motion-delay); + --motion-scale-in-animation: none; + --motion-translate-in-animation: none; + --motion-rotate-in-animation: none; + --motion-filter-in-animation: none; + --motion-opacity-in-animation: none; + --motion-background-color-in-animation: none; + --motion-text-color-in-animation: none; + --motion-scale-out-animation: none; + --motion-translate-out-animation: none; + --motion-rotate-out-animation: none; + --motion-filter-out-animation: none; + --motion-opacity-out-animation: none; + --motion-background-color-out-animation: none; + --motion-text-color-out-animation: none; + --motion-all-enter-animations: var(--motion-scale-in-animation), var(--motion-translate-in-animation), var(--motion-rotate-in-animation), var(--motion-filter-in-animation), var(--motion-opacity-in-animation), var(--motion-background-color-in-animation), var(--motion-text-color-in-animation); + --motion-all-exit-animations: var(--motion-scale-out-animation), var(--motion-translate-out-animation), var(--motion-rotate-out-animation), var(--motion-filter-out-animation), var(--motion-opacity-out-animation), var(--motion-background-color-out-animation), var(--motion-text-color-out-animation); +} + +/* ! tailwindcss v3.4.15 | MIT License | https://tailwindcss.com */ + +/* +1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4) +2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116) +*/ + +*, +::before, +::after { + box-sizing: border-box; + /* 1 */ + border-width: 0; + /* 2 */ + border-style: solid; + /* 2 */ + border-color: #e5e7eb; + /* 2 */ +} + +::before, +::after { + --tw-content: ''; +} + +/* +1. Use a consistent sensible line-height in all browsers. +2. Prevent adjustments of font size after orientation changes in iOS. +3. Use a more readable tab size. +4. Use the user's configured `sans` font-family by default. +5. Use the user's configured `sans` font-feature-settings by default. +6. Use the user's configured `sans` font-variation-settings by default. +7. Disable tap highlights on iOS +*/ + +html, +:host { + line-height: 1.5; + /* 1 */ + -webkit-text-size-adjust: 100%; + /* 2 */ + -moz-tab-size: 4; + /* 3 */ + -o-tab-size: 4; + tab-size: 4; + /* 3 */ + font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; + /* 4 */ + font-feature-settings: normal; + /* 5 */ + font-variation-settings: normal; + /* 6 */ + -webkit-tap-highlight-color: transparent; + /* 7 */ +} + +/* +1. Remove the margin in all browsers. +2. Inherit line-height from `html` so users can set them as a class directly on the `html` element. +*/ + +body { + margin: 0; + /* 1 */ + line-height: inherit; + /* 2 */ +} + +/* +1. Add the correct height in Firefox. +2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655) +3. Ensure horizontal rules are visible by default. +*/ + +hr { + height: 0; + /* 1 */ + color: inherit; + /* 2 */ + border-top-width: 1px; + /* 3 */ +} + +/* +Add the correct text decoration in Chrome, Edge, and Safari. +*/ + +abbr:where([title]) { + -webkit-text-decoration: underline dotted; + text-decoration: underline dotted; +} + +/* +Remove the default font size and weight for headings. +*/ + +h1, +h2, +h3, +h4, +h5, +h6 { + font-size: inherit; + font-weight: inherit; +} + +/* +Reset links to optimize for opt-in styling instead of opt-out. +*/ + +a { + color: inherit; + text-decoration: inherit; +} + +/* +Add the correct font weight in Edge and Safari. +*/ + +b, +strong { + font-weight: bolder; +} + +/* +1. Use the user's configured `mono` font-family by default. +2. Use the user's configured `mono` font-feature-settings by default. +3. Use the user's configured `mono` font-variation-settings by default. +4. Correct the odd `em` font sizing in all browsers. +*/ + +code, +kbd, +samp, +pre { + font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; + /* 1 */ + font-feature-settings: normal; + /* 2 */ + font-variation-settings: normal; + /* 3 */ + font-size: 1em; + /* 4 */ +} + +/* +Add the correct font size in all browsers. +*/ + +small { + font-size: 80%; +} + +/* +Prevent `sub` and `sup` elements from affecting the line height in all browsers. +*/ + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sub { + bottom: -0.25em; +} + +sup { + top: -0.5em; +} + +/* +1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297) +2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016) +3. Remove gaps between table borders by default. +*/ + +table { + text-indent: 0; + /* 1 */ + border-color: inherit; + /* 2 */ + border-collapse: collapse; + /* 3 */ +} + +/* +1. Change the font styles in all browsers. +2. Remove the margin in Firefox and Safari. +3. Remove default padding in all browsers. +*/ + +button, +input, +optgroup, +select, +textarea { + font-family: inherit; + /* 1 */ + font-feature-settings: inherit; + /* 1 */ + font-variation-settings: inherit; + /* 1 */ + font-size: 100%; + /* 1 */ + font-weight: inherit; + /* 1 */ + line-height: inherit; + /* 1 */ + letter-spacing: inherit; + /* 1 */ + color: inherit; + /* 1 */ + margin: 0; + /* 2 */ + padding: 0; + /* 3 */ +} + +/* +Remove the inheritance of text transform in Edge and Firefox. +*/ + +button, +select { + text-transform: none; +} + +/* +1. Correct the inability to style clickable types in iOS and Safari. +2. Remove default button styles. +*/ + +button, +input:where([type='button']), +input:where([type='reset']), +input:where([type='submit']) { + -webkit-appearance: button; + /* 1 */ + background-color: transparent; + /* 2 */ + background-image: none; + /* 2 */ +} + +/* +Use the modern Firefox focus style for all focusable elements. +*/ + +:-moz-focusring { + outline: auto; +} + +/* +Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737) +*/ + +:-moz-ui-invalid { + box-shadow: none; +} + +/* +Add the correct vertical alignment in Chrome and Firefox. +*/ + +progress { + vertical-align: baseline; +} + +/* +Correct the cursor style of increment and decrement buttons in Safari. +*/ + +::-webkit-inner-spin-button, +::-webkit-outer-spin-button { + height: auto; +} + +/* +1. Correct the odd appearance in Chrome and Safari. +2. Correct the outline style in Safari. +*/ + +[type='search'] { + -webkit-appearance: textfield; + /* 1 */ + outline-offset: -2px; + /* 2 */ +} + +/* +Remove the inner padding in Chrome and Safari on macOS. +*/ + +::-webkit-search-decoration { + -webkit-appearance: none; +} + +/* +1. Correct the inability to style clickable types in iOS and Safari. +2. Change font properties to `inherit` in Safari. +*/ + +::-webkit-file-upload-button { + -webkit-appearance: button; + /* 1 */ + font: inherit; + /* 2 */ +} + +/* +Add the correct display in Chrome and Safari. +*/ + +summary { + display: list-item; +} + +/* +Removes the default spacing and border for appropriate elements. +*/ + +blockquote, +dl, +dd, +h1, +h2, +h3, +h4, +h5, +h6, +hr, +figure, +p, +pre { + margin: 0; +} + +fieldset { + margin: 0; + padding: 0; +} + +legend { + padding: 0; +} + +ol, +ul, +menu { + list-style: none; + margin: 0; + padding: 0; +} + +/* +Reset default styling for dialogs. +*/ + +dialog { + padding: 0; +} + +/* +Prevent resizing textareas horizontally by default. +*/ + +textarea { + resize: vertical; +} + +/* +1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300) +2. Set the default placeholder color to the user's configured gray 400 color. +*/ + +input::-moz-placeholder, textarea::-moz-placeholder { + opacity: 1; + /* 1 */ + color: #9ca3af; + /* 2 */ +} + +input::placeholder, +textarea::placeholder { + opacity: 1; + /* 1 */ + color: #9ca3af; + /* 2 */ +} + +/* +Set the default cursor for buttons. +*/ + +button, +[role="button"] { + cursor: pointer; +} + +/* +Make sure disabled buttons don't get the pointer cursor. +*/ + +:disabled { + cursor: default; +} + +/* +1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14) +2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210) + This can trigger a poorly considered lint error in some tools but is included by design. +*/ + +img, +svg, +video, +canvas, +audio, +iframe, +embed, +object { + display: block; + /* 1 */ + vertical-align: middle; + /* 2 */ +} + +/* +Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14) +*/ + +img, +video { + max-width: 100%; + height: auto; +} + +/* Make elements with the HTML hidden attribute stay hidden by default */ + +[hidden]:where(:not([hidden="until-found"])) { + display: none; +} + +[type='text'],input:where(:not([type])),[type='email'],[type='url'],[type='password'],[type='number'],[type='date'],[type='datetime-local'],[type='month'],[type='search'],[type='tel'],[type='time'],[type='week'],[multiple],textarea,select{ + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + background-color: #fff; + border-color: #6b7280; + border-width: 1px; + border-radius: 0px; + padding-top: 0.5rem; + padding-right: 0.75rem; + padding-bottom: 0.5rem; + padding-left: 0.75rem; + font-size: 1rem; + line-height: 1.5rem; + --tw-shadow: 0 0 #0000; +} + +[type='text']:focus, input:where(:not([type])):focus, [type='email']:focus, [type='url']:focus, [type='password']:focus, [type='number']:focus, [type='date']:focus, [type='datetime-local']:focus, [type='month']:focus, [type='search']:focus, [type='tel']:focus, [type='time']:focus, [type='week']:focus, [multiple]:focus, textarea:focus, select:focus{ + outline: 2px solid transparent; + outline-offset: 2px; + --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/); + --tw-ring-offset-width: 0px; + --tw-ring-offset-color: #fff; + --tw-ring-color: #2563eb; + --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); + --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color); + box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow); + border-color: #2563eb; +} + +input::-moz-placeholder, textarea::-moz-placeholder{ + color: #6b7280; + opacity: 1; +} + +input::placeholder,textarea::placeholder{ + color: #6b7280; + opacity: 1; +} + +::-webkit-datetime-edit-fields-wrapper{ + padding: 0; +} + +::-webkit-date-and-time-value{ + min-height: 1.5em; + text-align: inherit; +} + +::-webkit-datetime-edit{ + display: inline-flex; +} + +::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{ + padding-top: 0; + padding-bottom: 0; +} + +select{ + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e"); + background-position: right 0.5rem center; + background-repeat: no-repeat; + background-size: 1.5em 1.5em; + padding-right: 2.5rem; + -webkit-print-color-adjust: exact; + print-color-adjust: exact; +} + +[multiple],[size]:where(select:not([size="1"])){ + background-image: initial; + background-position: initial; + background-repeat: unset; + background-size: initial; + padding-right: 0.75rem; + -webkit-print-color-adjust: unset; + print-color-adjust: unset; +} + +[type='checkbox'],[type='radio']{ + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + padding: 0; + -webkit-print-color-adjust: exact; + print-color-adjust: exact; + display: inline-block; + vertical-align: middle; + background-origin: border-box; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; + flex-shrink: 0; + height: 1rem; + width: 1rem; + color: #2563eb; + background-color: #fff; + border-color: #6b7280; + border-width: 1px; + --tw-shadow: 0 0 #0000; +} + +[type='checkbox']{ + border-radius: 0px; +} + +[type='radio']{ + border-radius: 100%; +} + +[type='checkbox']:focus,[type='radio']:focus{ + outline: 2px solid transparent; + outline-offset: 2px; + --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/); + --tw-ring-offset-width: 2px; + --tw-ring-offset-color: #fff; + --tw-ring-color: #2563eb; + --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); + --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color); + box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow); +} + +[type='checkbox']:checked,[type='radio']:checked{ + border-color: transparent; + background-color: currentColor; + background-size: 100% 100%; + background-position: center; + background-repeat: no-repeat; +} + +[type='checkbox']:checked{ + background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e"); +} + +@media (forced-colors: active) { + [type='checkbox']:checked{ + -webkit-appearance: auto; + -moz-appearance: auto; + appearance: auto; + } +} + +[type='radio']:checked{ + background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e"); +} + +@media (forced-colors: active) { + [type='radio']:checked{ + -webkit-appearance: auto; + -moz-appearance: auto; + appearance: auto; + } +} + +[type='checkbox']:checked:hover,[type='checkbox']:checked:focus,[type='radio']:checked:hover,[type='radio']:checked:focus{ + border-color: transparent; + background-color: currentColor; +} + +[type='checkbox']:indeterminate{ + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e"); + border-color: transparent; + background-color: currentColor; + background-size: 100% 100%; + background-position: center; + background-repeat: no-repeat; +} + +@media (forced-colors: active) { + [type='checkbox']:indeterminate{ + -webkit-appearance: auto; + -moz-appearance: auto; + appearance: auto; + } +} + +[type='checkbox']:indeterminate:hover,[type='checkbox']:indeterminate:focus{ + border-color: transparent; + background-color: currentColor; +} + +[type='file']{ + background: unset; + border-color: inherit; + border-width: 0; + border-radius: 0; + padding: 0; + font-size: unset; + line-height: inherit; +} + +[type='file']:focus{ + outline: 1px solid ButtonText; + outline: 1px auto -webkit-focus-ring-color; +} + +:root{ + --motion-default-timing: cubic-bezier(.165, .84, .44, 1); + --motion-bounce: linear(0, 0.004, 0.016, 0.035, 0.063, 0.098, 0.141 13.6%, 0.25, 0.391, 0.563, 0.765,1, 0.891 40.9%, 0.848, 0.813, 0.785, 0.766, 0.754, 0.75, 0.754, 0.766, 0.785,0.813, 0.848, 0.891 68.2%, 1 72.7%, 0.973, 0.953, 0.941, 0.938, 0.941, 0.953,0.973, 1, 0.988, 0.984, 0.988, 1); + --motion-spring-smooth: linear(0, 0.001 0.44%, 0.0045 0.94%, 0.0195 2.03%, 0.0446 3.19%, 0.0811 4.5%, 0.1598 6.82%, 0.3685 12.34%, 0.4693 15.17%, 0.5663, 0.6498 21.27%, 0.7215 24.39%, 0.7532 25.98%, 0.7829 27.65%, 0.8105, 0.8349 31.14%, 0.8573 32.95%, 0.8776 34.84%, 0.8964 36.87%, 0.9136 39.05%, 0.929 41.37%, 0.9421 43.77%, 0.9537 46.38%, 0.9636 49.14%, 0.9789 55.31%, 0.9888 62.35%, 0.9949 71.06%, 0.9982 82.52%, 0.9997 99.94%); + --motion-spring-snappy: linear(0, 0.0014, 0.0053 1.02%, 0.0126, 0.0227 2.18%, 0.0517 3.41%, 0.094 4.79%, 0.1865 7.26%, 0.4182 12.77%, 0.5246 15.46%, 0.6249, 0.7112, 0.7831 23.95%, 0.8146 25.4%, 0.844, 0.8699 28.45%, 0.8935, 0.9139 31.64%, 0.932, 0.9473, 0.9601 36.65%, 0.9714 38.47%, 0.9808 40.35%, 0.9948 44.49%, 1.0031 49.43%, 1.0057 53.35%, 1.0063 58.14%, 1.0014 80.78%, 1.0001 99.94%); + --motion-spring-bouncy: linear(0, 0.0018, 0.0069, 0.0151 1.74%, 0.0277 2.4%, 0.062 3.7%, 0.1115 5.15%, 0.2211 7.77%, 0.4778 13.21%, 0.5912 15.75%, 0.6987 18.44%, 0.7862 20.98%, 0.861 23.59%, 0.8926, 0.9205, 0.945 27.51%, 0.9671 28.89%, 0.9868, 1.003 31.79%, 1.0224 34.11%, 1.0358 36.58%, 1.0436 39.27%, 1.046 42.31%, 1.0446 44.71%, 1.0406 47.47%, 1.0118 61.84%, 1.0027 69.53%, 0.9981 80.49%, 0.9991 99.94%); + --motion-spring-bouncier: linear(0, 0.0023, 0.0088, 0.0194 1.59%, 0.035 2.17%, 0.078 3.33%, 0.1415 4.64%, 0.2054 5.75%, 0.2821 6.95%, 0.5912 11.45%, 0.7205 13.43%, 0.8393 15.45%, 0.936 17.39%, 0.9778, 1.015, 1.0477, 1.0759, 1.0998 22.22%, 1.1203, 1.1364, 1.1484 25.26%, 1.1586 26.61%, 1.1629 28.06%, 1.1613 29.56%, 1.1537 31.2%, 1.1434 32.6%, 1.1288 34.19%, 1.0508 41.29%, 1.0174 44.87%, 1.0025 46.89%, 0.9911 48.87%, 0.9826 50.9%, 0.9769 53.03%, 0.9735 56.02%, 0.9748 59.45%, 0.9964 72.64%, 1.0031 79.69%, 1.0042 86.83%, 1.0008 99.97%); + --motion-spring-bounciest: linear(0, 0.0032, 0.0131, 0.0294, 0.0524, 0.0824, 0.1192 1.54%, 0.2134 2.11%, 0.3102 2.59%, 0.4297 3.13%, 0.8732 4.95%, 1.0373, 1.1827 6.36%, 1.2972 7.01%, 1.3444, 1.3859, 1.4215, 1.4504, 1.4735, 1.4908, 1.5024, 1.5084 9.5%, 1.5091, 1.5061, 1.4993, 1.4886, 1.4745, 1.4565 11.11%, 1.4082 11.7%, 1.3585 12.2%, 1.295 12.77%, 1.0623 14.64%, 0.9773, 0.9031 16.08%, 0.8449 16.73%, 0.8014, 0.7701 17.95%, 0.7587, 0.7501, 0.7443, 0.7412 19.16%, 0.7421 19.68%, 0.7508 20.21%, 0.7672 20.77%, 0.7917 21.37%, 0.8169 21.87%, 0.8492 22.43%, 0.9681 24.32%, 1.0114, 1.0492 25.75%, 1.0789 26.41%, 1.1008, 1.1167, 1.1271, 1.1317 28.81%, 1.1314, 1.1271 29.87%, 1.1189 30.43%, 1.1063 31.03%, 1.0769 32.11%, 0.9941 34.72%, 0.9748 35.43%, 0.9597 36.09%, 0.9487, 0.9407, 0.9355, 0.933 38.46%, 0.9344 39.38%, 0.9421 40.38%, 0.9566 41.5%, 0.9989 44.12%, 1.0161 45.37%, 1.029 46.75%, 1.0341 48.1%, 1.0335 49.04%, 1.0295 50.05%, 1.0221 51.18%, 0.992 55.02%, 0.9854 56.38%, 0.9827 57.72%, 0.985 59.73%, 1.004 64.67%, 1.0088 67.34%, 1.0076 69.42%, 0.9981 74.28%, 0.9956 76.85%, 0.9961 79.06%, 1.0023 86.46%, 0.999 95.22%, 0.9994 100%); +} + +.container{ + width: 100%; +} + +@media (min-width: 640px){ + .container{ + max-width: 640px; + } +} + +@media (min-width: 768px){ + .container{ + max-width: 768px; + } +} + +@media (min-width: 1024px){ + .container{ + max-width: 1024px; + } +} + +@media (min-width: 1280px){ + .container{ + max-width: 1280px; + } +} + +@media (min-width: 1536px){ + .container{ + max-width: 1536px; + } +} + +.motion-preset-slide-up{ + --motion-origin-translate-y: 25%; + --motion-origin-opacity: 0; + --motion-opacity-in-animation: motion-opacity-in calc(var(--motion-opacity-duration) * var(--motion-opacity-perceptual-duration-multiplier)) var(--motion-opacity-timing) var(--motion-opacity-delay) both; + --motion-translate-in-animation: motion-translate-in calc(var(--motion-translate-duration) * var(--motion-translate-perceptual-duration-multiplier)) var(--motion-translate-timing) var(--motion-translate-delay) both; + animation: var(--motion-all-enter-animations); +} + +@keyframes RomboConfettiPop{ + 0%{ + opacity: 0; + transform: scale(1); + } + + 33%{ + opacity: 1; + transform: scale(1.15); + } + + 50%{ + transform: scale(0.975); + } + + 65%{ + transform: scale(1.025); + } + + 80%{ + transform: scale(0.99); + } + + 87%{ + transform: scale(1.01); + } + + 100%{ + opacity: 1; + transform: scale(1); + } +} + +@keyframes topfetti{ + 0%{ + background-position: 5% 90%, 10% 90%, 10% 90%, 15% 90%, 25% 90%, 25% 90%, 40% 90%, 55% 90%, 70% 90%; + } + + 50%{ + background-position: 0% 80%, 0% 20%, 10% 40%, 20% 0%, 30% 30%, 22% 50%, 50% 50%, 65% 20%, 90% 30%; + } + + 100%{ + background-position: 0% 70%, 0% 10%, 10% 30%, 20% -10%, 30% 20%, 22% 40%, 50% 40%, 65% 10%, 90% 20%; + background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%; + } +} + +@keyframes bottomfetti{ + 0%{ + background-position: 10% -10%, 30% 10%, 55% -10%, 70% -10%, 85% -10%,70% -10%, 70% 0%; + } + + 50%{ + background-position: 0% 80%, 20% 80%, 45% 60%, 60% 100%, 75% 70%, 95% 60%, 105% 0%; + } + + 100%{ + background-position: 0% 90%, 20% 90%, 45% 70%, 60% 110%, 75% 80%, 95% 70%, 110% 10%; + background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%; + } +} + +.fixed{ + position: fixed; +} + +.absolute{ + position: absolute; +} + +.relative{ + position: relative; +} + +.inset-0{ + inset: 0px; +} + +.bottom-0{ + bottom: 0px; +} + +.left-0{ + left: 0px; +} + +.left-1\/2{ + left: 50%; +} + +.right-0{ + right: 0px; +} + +.top-0{ + top: 0px; +} + +.top-2{ + top: 0.5rem; +} + +.-z-10{ + z-index: -10; +} + +.z-10{ + z-index: 10; +} + +.z-20{ + z-index: 20; +} + +.z-30{ + z-index: 30; +} + +.z-40{ + z-index: 40; +} + +.z-50{ + z-index: 50; +} + +.z-\[99\]{ + z-index: 99; +} + +.order-first{ + order: -9999; +} + +.-m-2{ + margin: -0.5rem; +} + +.m-2{ + margin: 0.5rem; +} + +.mx-auto{ + margin-left: auto; + margin-right: auto; +} + +.mb-1{ + margin-bottom: 0.25rem; +} + +.mb-2{ + margin-bottom: 0.5rem; +} + +.mb-3{ + margin-bottom: 0.75rem; +} + +.mb-4{ + margin-bottom: 1rem; +} + +.mb-6{ + margin-bottom: 1.5rem; +} + +.mb-8{ + margin-bottom: 2rem; +} + +.ml-1{ + margin-left: 0.25rem; +} + +.ml-2{ + margin-left: 0.5rem; +} + +.ml-3{ + margin-left: 0.75rem; +} + +.mr-1{ + margin-right: 0.25rem; +} + +.mr-2{ + margin-right: 0.5rem; +} + +.mr-3{ + margin-right: 0.75rem; +} + +.mr-4{ + margin-right: 1rem; +} + +.mr-5{ + margin-right: 1.25rem; +} + +.mr-7{ + margin-right: 1.75rem; +} + +.mt-1{ + margin-top: 0.25rem; +} + +.mt-12{ + margin-top: 3rem; +} + +.mt-2{ + margin-top: 0.5rem; +} + +.mt-24{ + margin-top: 6rem; +} + +.mt-4{ + margin-top: 1rem; +} + +.mt-5{ + margin-top: 1.25rem; +} + +.mt-6{ + margin-top: 1.5rem; +} + +.box-content{ + box-sizing: content-box; +} + +.block{ + display: block; +} + +.flex{ + display: flex; +} + +.inline-flex{ + display: inline-flex; +} + +.grid{ + display: grid; +} + +.hidden{ + display: none; +} + +.h-0\.5{ + height: 0.125rem; +} + +.h-10{ + height: 2.5rem; +} + +.h-14{ + height: 3.5rem; +} + +.h-20{ + height: 5rem; +} + +.h-3{ + height: 0.75rem; +} + +.h-32{ + height: 8rem; +} + +.h-4{ + height: 1rem; +} + +.h-5{ + height: 1.25rem; +} + +.h-8{ + height: 2rem; +} + +.h-9{ + height: 2.25rem; +} + +.h-\[280px\]{ + height: 280px; +} + +.h-auto{ + height: auto; +} + +.h-full{ + height: 100%; +} + +.h-screen{ + height: 100vh; +} + +.min-h-screen{ + min-height: 100vh; +} + +.w-0{ + width: 0px; +} + +.w-1\/3{ + width: 33.333333%; +} + +.w-14{ + width: 3.5rem; +} + +.w-16{ + width: 4rem; +} + +.w-20{ + width: 5rem; +} + +.w-3{ + width: 0.75rem; +} + +.w-4{ + width: 1rem; +} + +.w-5{ + width: 1.25rem; +} + +.w-8{ + width: 2rem; +} + +.w-\[22rem\]{ + width: 22rem; +} + +.w-\[365px\]{ + width: 365px; +} + +.w-\[calc\(100\%\+1rem\)\]{ + width: calc(100% + 1rem); +} + +.w-\[full\]{ + width: full; +} + +.w-auto{ + width: auto; +} + +.w-fit{ + width: -moz-fit-content; + width: fit-content; +} + +.w-full{ + width: 100%; +} + +.w-screen{ + width: 100vw; +} + +.max-w-2xl{ + max-width: 42rem; +} + +.max-w-3xl{ + max-width: 48rem; +} + +.max-w-4xl{ + max-width: 56rem; +} + +.max-w-5xl{ + max-width: 64rem; +} + +.max-w-6xl{ + max-width: 72rem; +} + +.max-w-\[94rem\]{ + max-width: 94rem; +} + +.max-w-lg{ + max-width: 32rem; +} + +.max-w-md{ + max-width: 28rem; +} + +.max-w-screen-sm{ + max-width: 640px; +} + +.max-w-sm{ + max-width: 24rem; +} + +.max-w-xl{ + max-width: 36rem; +} + +.max-w-xs{ + max-width: 20rem; +} + +.flex-shrink-0{ + flex-shrink: 0; +} + +.shrink-0{ + flex-shrink: 0; +} + +.grow{ + flex-grow: 1; +} + +.-translate-x-0{ + --tw-translate-x: -0px; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} + +.-translate-x-1\/2{ + --tw-translate-x: -50%; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} + +.-translate-x-4{ + --tw-translate-x: -1rem; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} + +.-translate-x-7{ + --tw-translate-x: -1.75rem; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} + +.-translate-x-8{ + --tw-translate-x: -2rem; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} + +.-translate-x-px{ + --tw-translate-x: -1px; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} + +.-translate-y-4{ + --tw-translate-y: -1rem; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} + +.-translate-y-px{ + --tw-translate-y: -1px; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} + +.translate-x-0{ + --tw-translate-x: 0px; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} + +.translate-x-8{ + --tw-translate-x: 2rem; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} + +.translate-y-0{ + --tw-translate-y: 0px; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} + +.translate-y-1\/3{ + --tw-translate-y: 33.333333%; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} + +.translate-y-24{ + --tw-translate-y: 6rem; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} + +.translate-y-3{ + --tw-translate-y: 0.75rem; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} + +.translate-y-4{ + --tw-translate-y: 1rem; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} + +.rotate-1{ + --tw-rotate: 1deg; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} + +.scale-100{ + --tw-scale-x: 1; + --tw-scale-y: 1; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} + +.scale-90{ + --tw-scale-x: .9; + --tw-scale-y: .9; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} + +.transform{ + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} + +@keyframes infinite-scroll{ + from{ + transform: translateX(0); + } + + to{ + transform: translateX(-100%); + } +} + +.animate-infinite-scroll{ + animation: infinite-scroll 60s linear infinite; +} + +@keyframes infinite-scroll-inverse{ + from{ + transform: translateX(-100%); + } + + to{ + transform: translateX(0); + } +} + +.animate-infinite-scroll-inverse{ + animation: infinite-scroll-inverse 60s linear infinite; +} + +.cursor-default{ + cursor: default; +} + +.cursor-pointer{ + cursor: pointer; +} + +.grid-cols-2{ + grid-template-columns: repeat(2, minmax(0, 1fr)); +} + +.flex-row{ + flex-direction: row; +} + +.flex-col{ + flex-direction: column; +} + +.flex-col-reverse{ + flex-direction: column-reverse; +} + +.flex-wrap{ + flex-wrap: wrap; +} + +.flex-nowrap{ + flex-wrap: nowrap; +} + +.items-start{ + align-items: flex-start; +} + +.items-end{ + align-items: flex-end; +} + +.items-center{ + align-items: center; +} + +.justify-end{ + justify-content: flex-end; +} + +.justify-center{ + justify-content: center; +} + +.justify-between{ + justify-content: space-between; +} + +.gap-12{ + gap: 3rem; +} + +.gap-2{ + gap: 0.5rem; +} + +.gap-3{ + gap: 0.75rem; +} + +.gap-4{ + gap: 1rem; +} + +.gap-8{ + gap: 2rem; +} + +.gap-x-3{ + -moz-column-gap: 0.75rem; + column-gap: 0.75rem; +} + +.gap-y-3{ + row-gap: 0.75rem; +} + +.space-x-1 > :not([hidden]) ~ :not([hidden]){ + --tw-space-x-reverse: 0; + margin-right: calc(0.25rem * var(--tw-space-x-reverse)); + margin-left: calc(0.25rem * calc(1 - var(--tw-space-x-reverse))); +} + +.space-x-3 > :not([hidden]) ~ :not([hidden]){ + --tw-space-x-reverse: 0; + margin-right: calc(0.75rem * var(--tw-space-x-reverse)); + margin-left: calc(0.75rem * calc(1 - var(--tw-space-x-reverse))); +} + +.space-x-4 > :not([hidden]) ~ :not([hidden]){ + --tw-space-x-reverse: 0; + margin-right: calc(1rem * var(--tw-space-x-reverse)); + margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse))); +} + +.space-y-1 > :not([hidden]) ~ :not([hidden]){ + --tw-space-y-reverse: 0; + margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse))); + margin-bottom: calc(0.25rem * var(--tw-space-y-reverse)); +} + +.space-y-1\.5 > :not([hidden]) ~ :not([hidden]){ + --tw-space-y-reverse: 0; + margin-top: calc(0.375rem * calc(1 - var(--tw-space-y-reverse))); + margin-bottom: calc(0.375rem * var(--tw-space-y-reverse)); +} + +.space-y-12 > :not([hidden]) ~ :not([hidden]){ + --tw-space-y-reverse: 0; + margin-top: calc(3rem * calc(1 - var(--tw-space-y-reverse))); + margin-bottom: calc(3rem * var(--tw-space-y-reverse)); +} + +.space-y-2 > :not([hidden]) ~ :not([hidden]){ + --tw-space-y-reverse: 0; + margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse))); + margin-bottom: calc(0.5rem * var(--tw-space-y-reverse)); +} + +.space-y-4 > :not([hidden]) ~ :not([hidden]){ + --tw-space-y-reverse: 0; + margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse))); + margin-bottom: calc(1rem * var(--tw-space-y-reverse)); +} + +.space-y-6 > :not([hidden]) ~ :not([hidden]){ + --tw-space-y-reverse: 0; + margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse))); + margin-bottom: calc(1.5rem * var(--tw-space-y-reverse)); +} + +.overflow-hidden{ + overflow: hidden; +} + +.rounded{ + border-radius: 0.25rem; +} + +.rounded-full{ + border-radius: 9999px; +} + +.rounded-lg{ + border-radius: 0.5rem; +} + +.rounded-md{ + border-radius: 0.375rem; +} + +.rounded-xl{ + border-radius: 0.75rem; +} + +.rounded-t-lg{ + border-top-left-radius: 0.5rem; + border-top-right-radius: 0.5rem; +} + +.border{ + border-width: 1px; +} + +.border-2{ + border-width: 2px; +} + +.border-\[2px\]{ + border-width: 2px; +} + +.border-t{ + border-top-width: 1px; +} + +.border-neutral-200\/60{ + border-color: rgb(229 229 229 / 0.6); +} + +.border-neutral-200\/70{ + border-color: rgb(229 229 229 / 0.7); +} + +.border-neutral-300{ + --tw-border-opacity: 1; + border-color: rgb(212 212 212 / var(--tw-border-opacity, 1)); +} + +.border-transparent{ + border-color: transparent; +} + +.border-white{ + --tw-border-opacity: 1; + border-color: rgb(255 255 255 / var(--tw-border-opacity, 1)); +} + +.border-zinc-200{ + --tw-border-opacity: 1; + border-color: rgb(228 228 231 / var(--tw-border-opacity, 1)); +} + +.border-zinc-300{ + --tw-border-opacity: 1; + border-color: rgb(212 212 216 / var(--tw-border-opacity, 1)); +} + +.border-zinc-600{ + --tw-border-opacity: 1; + border-color: rgb(82 82 91 / var(--tw-border-opacity, 1)); +} + +.bg-blue-600{ + --tw-bg-opacity: 1; + background-color: rgb(37 99 235 / var(--tw-bg-opacity, 1)); +} + +.bg-neutral-50{ + --tw-bg-opacity: 1; + background-color: rgb(250 250 250 / var(--tw-bg-opacity, 1)); +} + +.bg-neutral-900{ + --tw-bg-opacity: 1; + background-color: rgb(23 23 23 / var(--tw-bg-opacity, 1)); +} + +.bg-neutral-950{ + --tw-bg-opacity: 1; + background-color: rgb(10 10 10 / var(--tw-bg-opacity, 1)); +} + +.bg-transparent{ + background-color: transparent; +} + +.bg-white{ + --tw-bg-opacity: 1; + background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1)); +} + +.bg-zinc-100{ + --tw-bg-opacity: 1; + background-color: rgb(244 244 245 / var(--tw-bg-opacity, 1)); +} + +.bg-zinc-50{ + --tw-bg-opacity: 1; + background-color: rgb(250 250 250 / var(--tw-bg-opacity, 1)); +} + +.bg-zinc-800{ + --tw-bg-opacity: 1; + background-color: rgb(39 39 42 / var(--tw-bg-opacity, 1)); +} + +.bg-zinc-900{ + --tw-bg-opacity: 1; + background-color: rgb(24 24 27 / var(--tw-bg-opacity, 1)); +} + +.bg-opacity-90{ + --tw-bg-opacity: 0.9; +} + +.bg-gradient-to-r{ + background-image: linear-gradient(to right, var(--tw-gradient-stops)); +} + +.bg-gradient-to-t{ + background-image: linear-gradient(to top, var(--tw-gradient-stops)); +} + +.from-black{ + --tw-gradient-from: #000 var(--tw-gradient-from-position); + --tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position); + --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); +} + +.from-zinc-100{ + --tw-gradient-from: #f4f4f5 var(--tw-gradient-from-position); + --tw-gradient-to: rgb(244 244 245 / 0) var(--tw-gradient-to-position); + --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); +} + +.from-zinc-500{ + --tw-gradient-from: #71717a var(--tw-gradient-from-position); + --tw-gradient-to: rgb(113 113 122 / 0) var(--tw-gradient-to-position); + --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); +} + +.via-zinc-900{ + --tw-gradient-to: rgb(24 24 27 / 0) var(--tw-gradient-to-position); + --tw-gradient-stops: var(--tw-gradient-from), #18181b var(--tw-gradient-via-position), var(--tw-gradient-to); +} + +.to-white{ + --tw-gradient-to: #fff var(--tw-gradient-to-position); +} + +.to-zinc-900{ + --tw-gradient-to: #18181b var(--tw-gradient-to-position); +} + +.bg-cover{ + background-size: cover; +} + +.bg-clip-text{ + -webkit-background-clip: text; + background-clip: text; +} + +.fill-current{ + fill: currentColor; +} + +.fill-zinc-300{ + fill: #d4d4d8; +} + +.fill-zinc-400{ + fill: #a1a1aa; +} + +.object-cover{ + -o-object-fit: cover; + object-fit: cover; +} + +.object-left{ + -o-object-position: left; + object-position: left; +} + +.p-1{ + padding: 0.25rem; +} + +.p-4{ + padding: 1rem; +} + +.p-5{ + padding: 1.25rem; +} + +.p-6{ + padding: 1.5rem; +} + +.p-7{ + padding: 1.75rem; +} + +.px-0\.5{ + padding-left: 0.125rem; + padding-right: 0.125rem; +} + +.px-2{ + padding-left: 0.5rem; + padding-right: 0.5rem; +} + +.px-2\.5{ + padding-left: 0.625rem; + padding-right: 0.625rem; +} + +.px-3{ + padding-left: 0.75rem; + padding-right: 0.75rem; +} + +.px-3\.5{ + padding-left: 0.875rem; + padding-right: 0.875rem; +} + +.px-4{ + padding-left: 1rem; + padding-right: 1rem; +} + +.px-5{ + padding-left: 1.25rem; + padding-right: 1.25rem; +} + +.px-6{ + padding-left: 1.5rem; + padding-right: 1.5rem; +} + +.px-7{ + padding-left: 1.75rem; + padding-right: 1.75rem; +} + +.px-8{ + padding-left: 2rem; + padding-right: 2rem; +} + +.py-0\.5{ + padding-top: 0.125rem; + padding-bottom: 0.125rem; +} + +.py-1{ + padding-top: 0.25rem; + padding-bottom: 0.25rem; +} + +.py-12{ + padding-top: 3rem; + padding-bottom: 3rem; +} + +.py-2{ + padding-top: 0.5rem; + padding-bottom: 0.5rem; +} + +.py-3{ + padding-top: 0.75rem; + padding-bottom: 0.75rem; +} + +.py-4{ + padding-top: 1rem; + padding-bottom: 1rem; +} + +.py-5{ + padding-top: 1.25rem; + padding-bottom: 1.25rem; +} + +.py-6{ + padding-top: 1.5rem; + padding-bottom: 1.5rem; +} + +.py-8{ + padding-top: 2rem; + padding-bottom: 2rem; +} + +.py-px{ + padding-top: 1px; + padding-bottom: 1px; +} + +.pb-1{ + padding-bottom: 0.25rem; +} + +.pb-12{ + padding-bottom: 3rem; +} + +.pb-2{ + padding-bottom: 0.5rem; +} + +.pb-3{ + padding-bottom: 0.75rem; +} + +.pb-4{ + padding-bottom: 1rem; +} + +.pb-6{ + padding-bottom: 1.5rem; +} + +.pb-8{ + padding-bottom: 2rem; +} + +.pl-4{ + padding-left: 1rem; +} + +.pr-2{ + padding-right: 0.5rem; +} + +.pr-4{ + padding-right: 1rem; +} + +.pt-0{ + padding-top: 0px; +} + +.pt-2{ + padding-top: 0.5rem; +} + +.pt-32{ + padding-top: 8rem; +} + +.pt-6{ + padding-top: 1.5rem; +} + +.pt-8{ + padding-top: 2rem; +} + +.text-left{ + text-align: left; +} + +.text-center{ + text-align: center; +} + +.align-top{ + vertical-align: top; +} + +.font-inter{ + font-family: Inter, sans-serif; +} + +.font-inter-tight{ + font-family: Inter Tight, sans-serif; +} + +.font-sans{ + font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; +} + +.text-2xl{ + font-size: 1.5rem; + line-height: 1.415; + letter-spacing: -0.017em; +} + +.text-3xl{ + font-size: 2rem; + line-height: 1.3125; + letter-spacing: -0.017em; +} + +.text-4xl{ + font-size: 2.5rem; + line-height: 1.25; + letter-spacing: -0.017em; +} + +.text-\[0\.6rem\]{ + font-size: 0.6rem; +} + +.text-base{ + font-size: 1rem; + line-height: 1.5; + letter-spacing: -0.017em; +} + +.text-lg{ + font-size: 1.125rem; + line-height: 1.5; + letter-spacing: -0.017em; +} + +.text-sm{ + font-size: 0.875rem; + line-height: 1.5715; +} + +.text-xl{ + font-size: 1.25rem; + line-height: 1.5; + letter-spacing: -0.017em; +} + +.text-xs{ + font-size: 0.75rem; + line-height: 1.5; +} + +.font-bold{ + font-weight: 700; +} + +.font-extrabold{ + font-weight: 800; +} + +.font-medium{ + font-weight: 500; +} + +.font-normal{ + font-weight: 400; +} + +.font-semibold{ + font-weight: 600; +} + +.uppercase{ + text-transform: uppercase; +} + +.italic{ + font-style: italic; +} + +.not-italic{ + font-style: normal; +} + +.tabular-nums{ + --tw-numeric-spacing: tabular-nums; + font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction); +} + +.leading-none{ + line-height: 1; +} + +.tracking-tight{ + letter-spacing: -0.025em; +} + +.tracking-wide{ + letter-spacing: 0.025em; +} + +.text-blue-600{ + --tw-text-opacity: 1; + color: rgb(37 99 235 / var(--tw-text-opacity, 1)); +} + +.text-gray-400{ + --tw-text-opacity: 1; + color: rgb(156 163 175 / var(--tw-text-opacity, 1)); +} + +.text-gray-400\/70{ + color: rgb(156 163 175 / 0.7); +} + +.text-gray-500{ + --tw-text-opacity: 1; + color: rgb(107 114 128 / var(--tw-text-opacity, 1)); +} + +.text-gray-600{ + --tw-text-opacity: 1; + color: rgb(75 85 99 / var(--tw-text-opacity, 1)); +} + +.text-neutral-100{ + --tw-text-opacity: 1; + color: rgb(245 245 245 / var(--tw-text-opacity, 1)); +} + +.text-neutral-500{ + --tw-text-opacity: 1; + color: rgb(115 115 115 / var(--tw-text-opacity, 1)); +} + +.text-neutral-800{ + --tw-text-opacity: 1; + color: rgb(38 38 38 / var(--tw-text-opacity, 1)); +} + +.text-neutral-900{ + --tw-text-opacity: 1; + color: rgb(23 23 23 / var(--tw-text-opacity, 1)); +} + +.text-transparent{ + color: transparent; +} + +.text-white{ + --tw-text-opacity: 1; + color: rgb(255 255 255 / var(--tw-text-opacity, 1)); +} + +.text-zinc-100{ + --tw-text-opacity: 1; + color: rgb(244 244 245 / var(--tw-text-opacity, 1)); +} + +.text-zinc-200{ + --tw-text-opacity: 1; + color: rgb(228 228 231 / var(--tw-text-opacity, 1)); +} + +.text-zinc-400{ + --tw-text-opacity: 1; + color: rgb(161 161 170 / var(--tw-text-opacity, 1)); +} + +.text-zinc-500{ + --tw-text-opacity: 1; + color: rgb(113 113 122 / var(--tw-text-opacity, 1)); +} + +.text-zinc-600{ + --tw-text-opacity: 1; + color: rgb(82 82 91 / var(--tw-text-opacity, 1)); +} + +.text-zinc-700{ + --tw-text-opacity: 1; + color: rgb(63 63 70 / var(--tw-text-opacity, 1)); +} + +.text-zinc-800{ + --tw-text-opacity: 1; + color: rgb(39 39 42 / var(--tw-text-opacity, 1)); +} + +.text-zinc-900{ + --tw-text-opacity: 1; + color: rgb(24 24 27 / var(--tw-text-opacity, 1)); +} + +.underline{ + text-decoration-line: underline; +} + +.no-underline{ + text-decoration-line: none; +} + +.underline-offset-4{ + text-underline-offset: 4px; +} + +.antialiased{ + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.opacity-0{ + opacity: 0; +} + +.opacity-100{ + opacity: 1; +} + +.opacity-60{ + opacity: 0.6; +} + +.opacity-70{ + opacity: 0.7; +} + +.opacity-90{ + opacity: 0.9; +} + +.mix-blend-exclusion{ + mix-blend-mode: exclusion; +} + +.shadow{ + --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); + --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color); + box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); +} + +.shadow-2xl{ + --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25); + --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color); + box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); +} + +.shadow-md{ + --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); + --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color); + box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); +} + +.shadow-sm{ + --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); + --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color); + box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); +} + +.shadow-zinc-950\/20{ + --tw-shadow-color: rgb(9 9 11 / 0.2); + --tw-shadow: var(--tw-shadow-colored); +} + +.drop-shadow-md{ + --tw-drop-shadow: drop-shadow(0 4px 3px rgb(0 0 0 / 0.07)) drop-shadow(0 2px 2px rgb(0 0 0 / 0.06)); + filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); +} + +.backdrop-blur-sm{ + --tw-backdrop-blur: blur(4px); + -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia); + backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia); +} + +.transition{ + transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter; + transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; + transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter; + transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); + transition-duration: 150ms; +} + +.transition-colors{ + transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; + transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); + transition-duration: 150ms; +} + +.duration-100{ + transition-duration: 100ms; +} + +.duration-150{ + transition-duration: 150ms; +} + +.duration-200{ + transition-duration: 200ms; +} + +.duration-300{ + transition-duration: 300ms; +} + +.duration-500{ + transition-duration: 500ms; +} + +.duration-700{ + transition-duration: 700ms; +} + +.ease-in{ + transition-timing-function: cubic-bezier(0.4, 0, 1, 1); +} + +.ease-in-out{ + transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); +} + +.ease-out{ + transition-timing-function: cubic-bezier(0, 0, 0.2, 1); +} + +@media screen and (prefers-reduced-motion: no-preference){ + @keyframes motion-scale-in{ + 0%{ + scale: var(--motion-origin-scale-x) var(--motion-origin-scale-y); + } + + 100%{ + scale: 1 1; + } + } + + @keyframes motion-scale-out{ + 0%{ + scale: 1 1; + } + + 100%{ + scale: var(--motion-end-scale-x) var(--motion-end-scale-y); + } + } + + @keyframes motion-translate-in{ + 0%{ + translate: var(--motion-origin-translate-x) var(--motion-origin-translate-y); + } + + 100%{ + translate: 0 0; + } + } + + @keyframes motion-translate-out{ + 0%{ + translate: 0 0; + } + + 100%{ + translate: var(--motion-end-translate-x) var(--motion-end-translate-y); + } + } + + @keyframes motion-rotate-in{ + 0%{ + rotate: var(--motion-origin-rotate); + } + + 100%{ + rotate: 0; + } + } + + @keyframes motion-rotate-out{ + 0%{ + rotate: 0; + } + + 100%{ + rotate: var(--motion-end-rotate); + } + } +} + +@keyframes motion-filter-in{ + 0%{ + filter: blur(var(--motion-origin-blur)) grayscale(var(--motion-origin-grayscale)); + } + + 100%{ + filter: blur(0) grayscale(0); + } +} + +@keyframes motion-filter-out{ + 0%{ + filter: blur(0) grayscale(0); + } + + 100%{ + filter: blur(var(--motion-end-blur)) grayscale(var(--motion-end-grayscale)); + } +} + +@keyframes motion-opacity-in{ + 0%{ + opacity: var(--motion-origin-opacity); + } +} + +@keyframes motion-opacity-out{ + 100%{ + opacity: var(--motion-end-opacity); + } +} + +@keyframes motion-background-color-in{ + 0%{ + background-color: var(--motion-origin-background-color); + } +} + +@keyframes motion-background-color-out{ + 100%{ + background-color: var(--motion-end-background-color); + } +} + +@keyframes motion-text-color-in{ + 0%{ + color: var(--motion-origin-text-color); + } +} + +@keyframes motion-text-color-out{ + 100%{ + color: var(--motion-end-text-color); + } +} + +.motion-scale-in-50{ + --motion-origin-scale-x: .5; + --motion-origin-scale-y: .5; + --motion-scale-in-animation: motion-scale-in calc(var(--motion-scale-duration) * var(--motion-scale-perceptual-duration-multiplier)) var(--motion-scale-timing) var(--motion-scale-delay) both; + animation: var(--motion-all-enter-animations); +} + +.motion-opacity-in-0{ + --motion-origin-opacity: 0.001; + --motion-opacity-in-animation: motion-opacity-in calc(var(--motion-opacity-duration) * var(--motion-opacity-perceptual-duration-multiplier)) var(--motion-opacity-timing) var(--motion-opacity-delay) both; + animation: var(--motion-all-enter-animations); +} + +.\[animation-delay\:-7\.5s\]{ + animation-delay: -7.5s; +} + +.\[background\:linear-gradient\(\#2E2E32\2c \#2E2E32\)_padding-box\2c linear-gradient\(120deg\2c theme\(colors\.zinc\.700\)\2c theme\(colors\.zinc\.700\/0\)\2c theme\(colors\.zinc\.700\)\)_border-box\]{ + background: linear-gradient(#2E2E32,#2E2E32) padding-box,linear-gradient(120deg,#3f3f46,rgb(63 63 70 / 0),#3f3f46) border-box; +} + +.\[background\:linear-gradient\(\#323237\2c \#323237\)_padding-box\2c linear-gradient\(120deg\2c theme\(colors\.zinc\.700\)\2c theme\(colors\.zinc\.700\/0\)\2c theme\(colors\.zinc\.700\)\)_border-box\]{ + background: linear-gradient(#323237,#323237) padding-box,linear-gradient(120deg,#3f3f46,rgb(63 63 70 / 0),#3f3f46) border-box; +} + +.\[background\:linear-gradient\(theme\(colors\.white\)\2c theme\(colors\.white\)\)_padding-box\2c linear-gradient\(120deg\2c theme\(colors\.zinc\.300\)\2c theme\(colors\.zinc\.100\)\2c theme\(colors\.zinc\.300\)\)_border-box\]{ + background: linear-gradient(#fff,#fff) padding-box,linear-gradient(120deg,#d4d4d8,#f4f4f5,#d4d4d8) border-box; +} + +.\[background\:linear-gradient\(theme\(colors\.white\)\2c theme\(colors\.zinc\.50\)\)_padding-box\2c linear-gradient\(120deg\2c theme\(colors\.zinc\.300\)\2c theme\(colors\.zinc\.100\)\2c theme\(colors\.zinc\.300\)\)_border-box\]{ + background: linear-gradient(#fff,#fafafa) padding-box,linear-gradient(120deg,#d4d4d8,#f4f4f5,#d4d4d8) border-box; +} + +.\[background\:linear-gradient\(theme\(colors\.zinc\.50\)\2c theme\(colors\.zinc\.50\)\)_padding-box\2c linear-gradient\(120deg\2c theme\(colors\.zinc\.300\)\2c theme\(colors\.zinc\.100\)\2c theme\(colors\.zinc\.300\)\)_border-box\]{ + background: linear-gradient(#fafafa,#fafafa) padding-box,linear-gradient(120deg,#d4d4d8,#f4f4f5,#d4d4d8) border-box; +} + +.\[background\:linear-gradient\(theme\(colors\.zinc\.800\)\2c theme\(colors\.zinc\.800\)\)_padding-box\2c linear-gradient\(120deg\2c theme\(colors\.zinc\.700\)\2c theme\(colors\.zinc\.700\/0\)\2c theme\(colors\.zinc\.700\)\)_border-box\]{ + background: linear-gradient(#27272a,#27272a) padding-box,linear-gradient(120deg,#3f3f46,rgb(63 63 70 / 0),#3f3f46) border-box; +} + +.\[mask-image\:_linear-gradient\(to_right\2c transparent_0\2c _black_28\%\2c _black_calc\(100\%-28\%\)\2c transparent_100\%\)\]{ + -webkit-mask-image: linear-gradient(to right,transparent 0, black 28%, black calc(100% - 28%),transparent 100%); + mask-image: linear-gradient(to right,transparent 0, black 28%, black calc(100% - 28%),transparent 100%); +} + +.\[mask-image\:linear-gradient\(to_right\2c transparent_8px\2c _theme\(colors\.white\/\.7\)_64px\2c _theme\(colors\.white\)_50\%\2c _theme\(colors\.white\/\.7\)_calc\(100\%-64px\)\2c _transparent_calc\(100\%-8px\)\)\]{ + -webkit-mask-image: linear-gradient(to right,transparent 8px, rgb(255 255 255 / .7) 64px, #fff 50%, rgb(255 255 255 / .7) calc(100% - 64px), transparent calc(100% - 8px)); + mask-image: linear-gradient(to right,transparent 8px, rgb(255 255 255 / .7) 64px, #fff 50%, rgb(255 255 255 / .7) calc(100% - 64px), transparent calc(100% - 8px)); +} + +/* See Alpine.js: https://github.com/alpinejs/alpine#x-cloak */ + +[x-cloak=""] { + display: none; +} + +/* Custom styles */ + +.form-input:focus, +.form-textarea:focus, +.form-multiselect:focus, +.form-select:focus, +.form-checkbox:focus, +.form-radio:focus{ + --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); + --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color); + box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); +} + +/* Hamburger button */ + +.hamburger svg > *:nth-child(1), +.hamburger svg > *:nth-child(2), +.hamburger svg > *:nth-child(3) { + transform-origin: center; + transform: rotate(0deg); +} + +.hamburger svg > *:nth-child(1) { + transition: + y 0.1s 0.25s ease-in, + transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19), + opacity 0.1s ease-in; +} + +.hamburger svg > *:nth-child(2) { + transition: transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19); +} + +.hamburger svg > *:nth-child(3) { + transition: + y 0.1s 0.25s ease-in, + transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19), + width 0.1s 0.25s ease-in; +} + +.hamburger.active svg > *:nth-child(1) { + opacity: 0; + y: 11; + transform: rotate(225deg); + transition: + y 0.1s ease-out, + transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1), + opacity 0.1s 0.12s ease-out; +} + +.hamburger.active svg > *:nth-child(2) { + transform: rotate(225deg); + transition: transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1); +} + +.hamburger.active svg > *:nth-child(3) { + y: 11; + transform: rotate(135deg); + transition: + y 0.1s ease-out, + transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1), + width 0.1s ease-out; +} + +/* Typography */ + +.h1{ + font-size: 3.25rem; + line-height: 1.2; + letter-spacing: -0.017em; + font-weight: 700; +} + +.h2{ + font-size: 2.5rem; + line-height: 1.25; + letter-spacing: -0.017em; + font-weight: 700; +} + +.h3{ + font-size: 2rem; + line-height: 1.3125; + letter-spacing: -0.017em; + font-weight: 700; +} + +.h4{ + font-size: 1.5rem; + line-height: 1.415; + letter-spacing: -0.017em; + font-weight: 700; +} + +@media (min-width: 768px) { + .h1{ + font-size: 3.75rem; + line-height: 1.1666; + letter-spacing: -0.017em; + } + + .h2{ + font-size: 3.25rem; + line-height: 1.2; + letter-spacing: -0.017em; + } + + .h3{ + font-size: 2.5rem; + line-height: 1.25; + letter-spacing: -0.017em; + } +} + +/* Buttons */ + +.btn, +.btn-sm{ + display: inline-flex; + align-items: center; + justify-content: center; + border-radius: 0.375rem; + border-width: 1px; + border-color: transparent; + font-size: 0.875rem; + line-height: 1.5715; + font-weight: 500; + letter-spacing: 0em; + transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter; + transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; + transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter; + transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); + transition-duration: 150ms; +} + +.btn{ + padding-left: 1rem; + padding-right: 1rem; + padding-top: 0.5rem; + padding-bottom: 0.5rem; +} + +.btn-sm{ + padding-left: 0.5rem; + padding-right: 0.5rem; + padding-top: 0.25rem; + padding-bottom: 0.25rem; +} + +/* Forms */ + +input[type="search"]::-webkit-search-decoration, +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-results-button, +input[type="search"]::-webkit-search-results-decoration { + -webkit-appearance: none; +} + +.form-input, +.form-textarea, +.form-multiselect, +.form-select, +.form-checkbox, +.form-radio{ + border-width: 1px; + --tw-border-opacity: 1; + border-color: rgb(228 228 231 / var(--tw-border-opacity, 1)); + --tw-bg-opacity: 1; + background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1)); + --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); + --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color); + box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); + --tw-shadow-color: rgb(0 0 0 / 0.05); + --tw-shadow: var(--tw-shadow-colored); +} + +.form-input:focus, +.form-textarea:focus, +.form-multiselect:focus, +.form-select:focus, +.form-checkbox:focus, +.form-radio:focus{ + --tw-border-opacity: 1; + border-color: rgb(161 161 170 / var(--tw-border-opacity, 1)); +} + +.form-input, +.form-textarea, +.form-multiselect, +.form-select, +.form-checkbox{ + border-radius: 0.25rem; +} + +.form-input, +.form-textarea, +.form-multiselect, +.form-select{ + padding-left: 1rem; + padding-right: 1rem; + padding-top: 0.5rem; + padding-bottom: 0.5rem; + font-size: 0.875rem; + line-height: 1.5715; + --tw-text-opacity: 1; + color: rgb(82 82 91 / var(--tw-text-opacity, 1)); +} + +.form-input::-moz-placeholder, .form-textarea::-moz-placeholder{ + --tw-placeholder-opacity: 1; + color: rgb(161 161 170 / var(--tw-placeholder-opacity, 1)); +} + +.form-input::placeholder, +.form-textarea::placeholder{ + --tw-placeholder-opacity: 1; + color: rgb(161 161 170 / var(--tw-placeholder-opacity, 1)); +} + +.form-select{ + padding-right: 2.5rem; +} + +.form-checkbox, +.form-radio{ + --tw-text-opacity: 1; + color: rgb(39 39 42 / var(--tw-text-opacity, 1)); +} + +.form-checkbox{ + border-radius: 0.125rem; +} + +/* Chrome, Safari and Opera */ + +.no-scrollbar::-webkit-scrollbar { + display: none; +} + +.no-scrollbar { + -ms-overflow-style: none; + /* IE and Edge */ + scrollbar-width: none; + /* Firefox */ +} + +.placeholder\:text-neutral-500::-moz-placeholder{ + --tw-text-opacity: 1; + color: rgb(115 115 115 / var(--tw-text-opacity, 1)); +} + +.placeholder\:text-neutral-500::placeholder{ + --tw-text-opacity: 1; + color: rgb(115 115 115 / var(--tw-text-opacity, 1)); +} + +.placeholder\:text-zinc-400::-moz-placeholder{ + --tw-text-opacity: 1; + color: rgb(161 161 170 / var(--tw-text-opacity, 1)); +} + +.placeholder\:text-zinc-400::placeholder{ + --tw-text-opacity: 1; + color: rgb(161 161 170 / var(--tw-text-opacity, 1)); +} + +.before\:pointer-events-none::before{ + content: var(--tw-content); + pointer-events: none; +} + +.before\:absolute::before{ + content: var(--tw-content); + position: absolute; +} + +.before\:inset-0::before{ + content: var(--tw-content); + inset: 0px; +} + +.before\:-top-12::before{ + content: var(--tw-content); + top: -3rem; +} + +.before\:-z-10::before{ + content: var(--tw-content); + z-index: -10; +} + +.before\:h-52::before{ + content: var(--tw-content); + height: 13rem; +} + +.before\:h-80::before{ + content: var(--tw-content); + height: 20rem; +} + +.before\:h-96::before{ + content: var(--tw-content); + height: 24rem; +} + +.before\:w-52::before{ + content: var(--tw-content); + width: 13rem; +} + +.before\:w-96::before{ + content: var(--tw-content); + width: 24rem; +} + +.before\:rounded-full::before{ + content: var(--tw-content); + border-radius: 9999px; +} + +.before\:bg-zinc-900::before{ + content: var(--tw-content); + --tw-bg-opacity: 1; + background-color: rgb(24 24 27 / var(--tw-bg-opacity, 1)); +} + +.before\:bg-gradient-to-b::before{ + content: var(--tw-content); + background-image: linear-gradient(to bottom, var(--tw-gradient-stops)); +} + +.before\:from-zinc-100::before{ + content: var(--tw-content); + --tw-gradient-from: #f4f4f5 var(--tw-gradient-from-position); + --tw-gradient-to: rgb(244 244 245 / 0) var(--tw-gradient-to-position); + --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); +} + +.before\:opacity-\[\.08\]::before{ + content: var(--tw-content); + opacity: .08; +} + +.before\:opacity-\[\.15\]::before{ + content: var(--tw-content); + opacity: .15; +} + +.before\:blur-3xl::before{ + content: var(--tw-content); + --tw-blur: blur(64px); + filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); +} + +.before\:content-\[\'\\0022\'\]::before{ + --tw-content: '\0022'; + content: var(--tw-content); +} + +.after\:pointer-events-none::after{ + content: var(--tw-content); + pointer-events: none; +} + +.after\:absolute::after{ + content: var(--tw-content); + position: absolute; +} + +.after\:right-0::after{ + content: var(--tw-content); + right: 0px; +} + +.after\:top-0::after{ + content: var(--tw-content); + top: 0px; +} + +.after\:top-1\/2::after{ + content: var(--tw-content); + top: 50%; +} + +.after\:hidden::after{ + content: var(--tw-content); + display: none; +} + +.after\:h-8::after{ + content: var(--tw-content); + height: 2rem; +} + +.after\:h-full::after{ + content: var(--tw-content); + height: 100%; +} + +.after\:w-96::after{ + content: var(--tw-content); + width: 24rem; +} + +.after\:w-px::after{ + content: var(--tw-content); + width: 1px; +} + +.after\:-translate-y-1\/2::after{ + content: var(--tw-content); + --tw-translate-y: -50%; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} + +.after\:border-l::after{ + content: var(--tw-content); + border-left-width: 1px; +} + +.after\:border-dashed::after{ + content: var(--tw-content); + border-style: dashed; +} + +.after\:border-zinc-300::after{ + content: var(--tw-content); + --tw-border-opacity: 1; + border-color: rgb(212 212 216 / var(--tw-border-opacity, 1)); +} + +.after\:bg-gradient-to-l::after{ + content: var(--tw-content); + background-image: linear-gradient(to left, var(--tw-gradient-stops)); +} + +.after\:from-zinc-800::after{ + content: var(--tw-content); + --tw-gradient-from: #27272a var(--tw-gradient-from-position); + --tw-gradient-to: rgb(39 39 42 / 0) var(--tw-gradient-to-position); + --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); +} + +.after\:content-\[\'\\0022\'\]::after{ + --tw-content: '\0022'; + content: var(--tw-content); +} + +.last\:after\:hidden:last-child::after{ + content: var(--tw-content); + display: none; +} + +.hover\:bg-neutral-100:hover{ + --tw-bg-opacity: 1; + background-color: rgb(245 245 245 / var(--tw-bg-opacity, 1)); +} + +.hover\:bg-neutral-800:hover{ + --tw-bg-opacity: 1; + background-color: rgb(38 38 38 / var(--tw-bg-opacity, 1)); +} + +.hover\:bg-neutral-900:hover{ + --tw-bg-opacity: 1; + background-color: rgb(23 23 23 / var(--tw-bg-opacity, 1)); +} + +.hover\:bg-zinc-200:hover{ + --tw-bg-opacity: 1; + background-color: rgb(228 228 231 / var(--tw-bg-opacity, 1)); +} + +.hover\:bg-zinc-50:hover{ + --tw-bg-opacity: 1; + background-color: rgb(250 250 250 / var(--tw-bg-opacity, 1)); +} + +.hover\:bg-zinc-800:hover{ + --tw-bg-opacity: 1; + background-color: rgb(39 39 42 / var(--tw-bg-opacity, 1)); +} + +.hover\:text-neutral-900:hover{ + --tw-text-opacity: 1; + color: rgb(23 23 23 / var(--tw-text-opacity, 1)); +} + +.hover\:text-white:hover{ + --tw-text-opacity: 1; + color: rgb(255 255 255 / var(--tw-text-opacity, 1)); +} + +.hover\:text-zinc-300:hover{ + --tw-text-opacity: 1; + color: rgb(212 212 216 / var(--tw-text-opacity, 1)); +} + +.hover\:text-zinc-800:hover{ + --tw-text-opacity: 1; + color: rgb(39 39 42 / var(--tw-text-opacity, 1)); +} + +.hover\:text-zinc-900:hover{ + --tw-text-opacity: 1; + color: rgb(24 24 27 / var(--tw-text-opacity, 1)); +} + +.hover\:underline:hover{ + text-decoration-line: underline; +} + +.hover\:opacity-100:hover{ + opacity: 1; +} + +.focus\:border-neutral-300:focus{ + --tw-border-opacity: 1; + border-color: rgb(212 212 212 / var(--tw-border-opacity, 1)); +} + +.focus\:border-zinc-300:focus{ + --tw-border-opacity: 1; + border-color: rgb(212 212 216 / var(--tw-border-opacity, 1)); +} + +.focus\:no-underline:focus{ + text-decoration-line: none; +} + +.focus\:outline-none:focus{ + outline: 2px solid transparent; + outline-offset: 2px; +} + +.focus\:ring-2:focus{ + --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); + --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color); + box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); +} + +.focus\:ring-neutral-100:focus{ + --tw-ring-opacity: 1; + --tw-ring-color: rgb(245 245 245 / var(--tw-ring-opacity, 1)); +} + +.focus\:ring-neutral-400:focus{ + --tw-ring-opacity: 1; + --tw-ring-color: rgb(163 163 163 / var(--tw-ring-opacity, 1)); +} + +.focus\:ring-neutral-900:focus{ + --tw-ring-opacity: 1; + --tw-ring-color: rgb(23 23 23 / var(--tw-ring-opacity, 1)); +} + +.focus\:ring-offset-2:focus{ + --tw-ring-offset-width: 2px; +} + +.focus-visible\:outline-none:focus-visible{ + outline: 2px solid transparent; + outline-offset: 2px; +} + +.focus-visible\:ring-2:focus-visible{ + --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); + --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color); + box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); +} + +.focus-visible\:ring-offset-2:focus-visible{ + --tw-ring-offset-width: 2px; +} + +.disabled\:pointer-events-none:disabled{ + pointer-events: none; +} + +.disabled\:cursor-not-allowed:disabled{ + cursor: not-allowed; +} + +.disabled\:opacity-50:disabled{ + opacity: 0.5; +} + +.group:hover .group-hover\:w-full{ + width: 100%; +} + +.group:hover .group-hover\:-rotate-6{ + --tw-rotate: -6deg; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} + +.group:hover .group-hover\:scale-150{ + --tw-scale-x: 1.5; + --tw-scale-y: 1.5; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} + +.group:hover .group-hover\:opacity-100{ + opacity: 1; +} + +.group:hover .group-hover\:\[animation-play-state\:paused\]{ + animation-play-state: paused; +} + +.peer:disabled ~ .peer-disabled\:cursor-not-allowed{ + cursor: not-allowed; +} + +.peer:disabled ~ .peer-disabled\:opacity-70{ + opacity: 0.7; +} + +@supports (overflow:clip){ + .supports-\[overflow\:clip\]\:overflow-clip{ + overflow: clip; + } +} + +@media not all and (min-width: 1024px){ + .max-lg\:w-32{ + width: 8rem; + } + + .max-lg\:after\:hidden::after{ + content: var(--tw-content); + display: none; + } +} + +@media not all and (min-width: 640px){ + .max-sm\:order-1{ + order: 1; + } +} + +@media (min-width: 640px){ + .sm\:col-span-2{ + grid-column: span 2 / span 2; + } + + .sm\:col-span-6{ + grid-column: span 6 / span 6; + } + + .sm\:mb-0{ + margin-bottom: 0px; + } + + .sm\:inline-flex{ + display: inline-flex; + } + + .sm\:h-auto{ + height: auto; + } + + .sm\:max-w-lg{ + max-width: 32rem; + } + + .sm\:max-w-none{ + max-width: none; + } + + .sm\:grid-cols-12{ + grid-template-columns: repeat(12, minmax(0, 1fr)); + } + + .sm\:grid-cols-2{ + grid-template-columns: repeat(2, minmax(0, 1fr)); + } + + .sm\:flex-row{ + flex-direction: row; + } + + .sm\:justify-center{ + justify-content: center; + } + + .sm\:justify-between{ + justify-content: space-between; + } + + .sm\:gap-4{ + gap: 1rem; + } + + .sm\:space-x-2 > :not([hidden]) ~ :not([hidden]){ + --tw-space-x-reverse: 0; + margin-right: calc(0.5rem * var(--tw-space-x-reverse)); + margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse))); + } + + .sm\:space-x-4 > :not([hidden]) ~ :not([hidden]){ + --tw-space-x-reverse: 0; + margin-right: calc(1rem * var(--tw-space-x-reverse)); + margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse))); + } + + .sm\:space-y-0 > :not([hidden]) ~ :not([hidden]){ + --tw-space-y-reverse: 0; + margin-top: calc(0px * calc(1 - var(--tw-space-y-reverse))); + margin-bottom: calc(0px * var(--tw-space-y-reverse)); + } + + .sm\:rounded-lg{ + border-radius: 0.5rem; + } + + .sm\:object-contain{ + -o-object-fit: contain; + object-fit: contain; + } + + .sm\:px-6{ + padding-left: 1.5rem; + padding-right: 1.5rem; + } +} + +@media (min-width: 768px){ + .md\:top-6{ + top: 1.5rem; + } + + .md\:col-span-3{ + grid-column: span 3 / span 3; + } + + .md\:-mx-5{ + margin-left: -1.25rem; + margin-right: -1.25rem; + } + + .md\:mb-0{ + margin-bottom: 0px; + } + + .md\:max-w-none{ + max-width: none; + } + + .md\:grid-cols-3{ + grid-template-columns: repeat(3, minmax(0, 1fr)); + } + + .md\:grid-cols-4{ + grid-template-columns: repeat(4, minmax(0, 1fr)); + } + + .md\:flex-row{ + flex-direction: row; + } + + .md\:justify-start{ + justify-content: flex-start; + } + + .md\:gap-0{ + gap: 0px; + } + + .md\:gap-4{ + gap: 1rem; + } + + .md\:gap-6{ + gap: 1.5rem; + } + + .md\:px-5{ + padding-left: 1.25rem; + padding-right: 1.25rem; + } + + .md\:py-12{ + padding-top: 3rem; + padding-bottom: 3rem; + } + + .md\:py-20{ + padding-top: 5rem; + padding-bottom: 5rem; + } + + .md\:pb-16{ + padding-bottom: 4rem; + } + + .md\:pb-20{ + padding-bottom: 5rem; + } + + .md\:pt-40{ + padding-top: 10rem; + } + + .md\:text-3xl{ + font-size: 2rem; + line-height: 1.3125; + letter-spacing: -0.017em; + } + + .md\:text-4xl{ + font-size: 2.5rem; + line-height: 1.25; + letter-spacing: -0.017em; + } + + .md\:text-5xl{ + font-size: 3.25rem; + line-height: 1.2; + letter-spacing: -0.017em; + } + + .md\:after\:block::after{ + content: var(--tw-content); + display: block; + } +} + +@media (min-width: 1024px){ + .lg\:col-span-2{ + grid-column: span 2 / span 2; + } + + .lg\:col-span-6{ + grid-column: span 6 / span 6; + } + + .lg\:mb-0{ + margin-bottom: 0px; + } + + .lg\:mt-32{ + margin-top: 8rem; + } + + .lg\:block{ + display: block; + } + + .lg\:flex{ + display: flex; + } + + .lg\:h-5{ + height: 1.25rem; + } + + .lg\:min-w-\[524px\]{ + min-width: 524px; + } + + .lg\:max-w-6xl{ + max-width: 72rem; + } + + .lg\:max-w-none{ + max-width: none; + } + + .lg\:grid-cols-3{ + grid-template-columns: repeat(3, minmax(0, 1fr)); + } + + .lg\:gap-16{ + gap: 4rem; + } + + .lg\:gap-8{ + gap: 2rem; + } + + .lg\:space-x-12 > :not([hidden]) ~ :not([hidden]){ + --tw-space-x-reverse: 0; + margin-right: calc(3rem * var(--tw-space-x-reverse)); + margin-left: calc(3rem * calc(1 - var(--tw-space-x-reverse))); + } + + .lg\:space-y-0 > :not([hidden]) ~ :not([hidden]){ + --tw-space-y-reverse: 0; + margin-top: calc(0px * calc(1 - var(--tw-space-y-reverse))); + margin-bottom: calc(0px * var(--tw-space-y-reverse)); + } + + .lg\:p-24{ + padding: 6rem; + } + + .lg\:px-5{ + padding-left: 1.25rem; + padding-right: 1.25rem; + } + + .lg\:text-2xl{ + font-size: 1.5rem; + line-height: 1.415; + letter-spacing: -0.017em; + } + + .lg\:text-3xl{ + font-size: 2rem; + line-height: 1.3125; + letter-spacing: -0.017em; + } + + .lg\:text-xl{ + font-size: 1.25rem; + line-height: 1.5; + letter-spacing: -0.017em; + } +} + +@media (min-width: 1280px){ + .xl\:space-x-24 > :not([hidden]) ~ :not([hidden]){ + --tw-space-x-reverse: 0; + margin-right: calc(6rem * var(--tw-space-x-reverse)); + margin-left: calc(6rem * calc(1 - var(--tw-space-x-reverse))); + } +} + +.\[\&\>div\]\:mx-3>div{ + margin-left: 0.75rem; + margin-right: 0.75rem; +} + +.\[\&_\.active-breadcrumb\]\:font-medium .active-breadcrumb{ + font-weight: 500; +} + +.\[\&_\.active-breadcrumb\]\:text-neutral-600 .active-breadcrumb{ + --tw-text-opacity: 1; + color: rgb(82 82 82 / var(--tw-text-opacity, 1)); +} diff --git a/cmd/sonrd/main.go b/cmd/sonrd/main.go index d3f50eab5..7080ac6d8 100644 --- a/cmd/sonrd/main.go +++ b/cmd/sonrd/main.go @@ -8,13 +8,10 @@ import ( _ "github.com/joho/godotenv/autoload" "github.com/onsonr/sonr/app" - "github.com/onsonr/sonr/app/cli" ) func main() { rootCmd := NewRootCmd() - rootCmd.AddCommand(cli.NewBuildTxnTUICmd()) - rootCmd.AddCommand(cli.NewExplorerTUICmd()) if err := svrcmd.Execute(rootCmd, "", app.DefaultNodeHome); err != nil { log.NewLogger(rootCmd.OutOrStderr()).Error("failure when running app", "err", err) diff --git a/deploy/local/devbox.json b/deploy/local/devbox.json new file mode 100644 index 000000000..00e5ad434 --- /dev/null +++ b/deploy/local/devbox.json @@ -0,0 +1,34 @@ +{ + "$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.12.0/.schema/devbox.schema.json", + "packages": [ + "go@1.22", + "bun@latest", + "ipfs@latest", + "skate@latest", + "air@latest", + "templ@latest" + ], + "env": { + "GOPATH": "$HOME/go", + "CHAIN_ID": "sonr-testnet-1", + "DENOM": "usnr", + "KEYRING": "test", + "MONIKER": "florence", + "BINARY": "sonrd", + "ACC0_NAME": "acc0", + "ACC1_NAME": "acc1", + "ACC0_ADDRESS": "idx1efd63aw40lxf3n4mhf7dzhjkr453axur9vjt6y", + "ACC1_ADDRESS": "idx1hj5fveer5cjtn4wd6wstzugjfdxzl0xpecp0nd", + "ACC0_MNEMONIC": "$(skate get ACC0_MNEMONIC)", + "ACC1_MNEMONIC": "$(skate get ACC1_MNEMONIC)" + }, + "shell": { + "init_hook": ["export ROOT=$(git rev-parse --show-toplevel)"], + "scripts": { + "devnet": ["cd $ROOT", "make sh-testnet"], + "ipfs": ["cd $ROOT", "make setup-ipfs", "ipfs daemon"], + "air": ["cd $ROOT", "air"], + "gex": ["go install github.com/cosmos/gex@latest", "gex"] + } + } +} diff --git a/deploy/local/devbox.lock b/deploy/local/devbox.lock new file mode 100644 index 000000000..e2633ad0f --- /dev/null +++ b/deploy/local/devbox.lock @@ -0,0 +1,251 @@ +{ + "lockfile_version": "1", + "packages": { + "air@latest": { + "last_modified": "2024-11-16T04:25:12Z", + "resolved": "github:NixOS/nixpkgs/34a626458d686f1b58139620a8b2793e9e123bba#air", + "source": "devbox-search", + "version": "1.61.1", + "systems": { + "aarch64-darwin": { + "outputs": [ + { + "name": "out", + "path": "/nix/store/0s90vbnmsyyixs0991md21pbrw8babfb-air-1.61.1", + "default": true + } + ], + "store_path": "/nix/store/0s90vbnmsyyixs0991md21pbrw8babfb-air-1.61.1" + }, + "aarch64-linux": { + "outputs": [ + { + "name": "out", + "path": "/nix/store/8mpw2asxs297v26fxqy2y1bq438f344l-air-1.61.1", + "default": true + } + ], + "store_path": "/nix/store/8mpw2asxs297v26fxqy2y1bq438f344l-air-1.61.1" + }, + "x86_64-darwin": { + "outputs": [ + { + "name": "out", + "path": "/nix/store/abminkf7ldqf9vm14xx5wvsrdx3wrvy6-air-1.61.1", + "default": true + } + ], + "store_path": "/nix/store/abminkf7ldqf9vm14xx5wvsrdx3wrvy6-air-1.61.1" + }, + "x86_64-linux": { + "outputs": [ + { + "name": "out", + "path": "/nix/store/ajx8v5rbbvglncb97yybg3x9kn95gfrm-air-1.61.1", + "default": true + } + ], + "store_path": "/nix/store/ajx8v5rbbvglncb97yybg3x9kn95gfrm-air-1.61.1" + } + } + }, + "bun@latest": { + "last_modified": "2024-11-18T00:41:09Z", + "resolved": "github:NixOS/nixpkgs/5083ec887760adfe12af64830a66807423a859a7#bun", + "source": "devbox-search", + "version": "1.1.34", + "systems": { + "aarch64-darwin": { + "outputs": [ + { + "name": "out", + "path": "/nix/store/xnj00gq1mfffvgyisghk4m9f38gc5c5c-bun-1.1.34", + "default": true + } + ], + "store_path": "/nix/store/xnj00gq1mfffvgyisghk4m9f38gc5c5c-bun-1.1.34" + }, + "aarch64-linux": { + "outputs": [ + { + "name": "out", + "path": "/nix/store/kccpzv8fb7swmmxbhv805qzq242rhy33-bun-1.1.34", + "default": true + } + ], + "store_path": "/nix/store/kccpzv8fb7swmmxbhv805qzq242rhy33-bun-1.1.34" + }, + "x86_64-darwin": { + "outputs": [ + { + "name": "out", + "path": "/nix/store/8h5k3l4fpgs3al2wvna7x9ybyyc8k36d-bun-1.1.34", + "default": true + } + ], + "store_path": "/nix/store/8h5k3l4fpgs3al2wvna7x9ybyyc8k36d-bun-1.1.34" + }, + "x86_64-linux": { + "outputs": [ + { + "name": "out", + "path": "/nix/store/x089g4srqw71w5jnc87vxbh7m12498i0-bun-1.1.34", + "default": true + } + ], + "store_path": "/nix/store/x089g4srqw71w5jnc87vxbh7m12498i0-bun-1.1.34" + } + } + }, + "go@1.22": { + "last_modified": "2024-11-16T04:25:12Z", + "resolved": "github:NixOS/nixpkgs/34a626458d686f1b58139620a8b2793e9e123bba#go_1_22", + "source": "devbox-search", + "version": "1.22.9", + "systems": { + "aarch64-darwin": { + "outputs": [ + { + "name": "out", + "path": "/nix/store/4nf51i4ah186y2jy3fad2fyvpa49qx6q-go-1.22.9", + "default": true + } + ], + "store_path": "/nix/store/4nf51i4ah186y2jy3fad2fyvpa49qx6q-go-1.22.9" + }, + "aarch64-linux": { + "outputs": [ + { + "name": "out", + "path": "/nix/store/8w8vzwgp55yl8j1ljgm4wzdgjkvkv5v3-go-1.22.9", + "default": true + } + ], + "store_path": "/nix/store/8w8vzwgp55yl8j1ljgm4wzdgjkvkv5v3-go-1.22.9" + }, + "x86_64-darwin": { + "outputs": [ + { + "name": "out", + "path": "/nix/store/vlih7j78ki05i8nvzdsxvws7a7ksq04m-go-1.22.9", + "default": true + } + ], + "store_path": "/nix/store/vlih7j78ki05i8nvzdsxvws7a7ksq04m-go-1.22.9" + }, + "x86_64-linux": { + "outputs": [ + { + "name": "out", + "path": "/nix/store/frc5188kgv3ws0n999c7cy5vi2f8k4jp-go-1.22.9", + "default": true + } + ], + "store_path": "/nix/store/frc5188kgv3ws0n999c7cy5vi2f8k4jp-go-1.22.9" + } + } + }, + "ipfs@latest": { + "last_modified": "2023-02-24T09:01:09Z", + "resolved": "github:NixOS/nixpkgs/7d0ed7f2e5aea07ab22ccb338d27fbe347ed2f11#ipfs", + "source": "devbox-search", + "version": "0.17.0" + }, + "skate@latest": { + "last_modified": "2024-11-16T04:25:12Z", + "resolved": "github:NixOS/nixpkgs/34a626458d686f1b58139620a8b2793e9e123bba#skate", + "source": "devbox-search", + "version": "1.0.0", + "systems": { + "aarch64-darwin": { + "outputs": [ + { + "name": "out", + "path": "/nix/store/q6yhpyfbqiabyic6ymx5rp2db62bnbvr-skate-1.0.0", + "default": true + } + ], + "store_path": "/nix/store/q6yhpyfbqiabyic6ymx5rp2db62bnbvr-skate-1.0.0" + }, + "aarch64-linux": { + "outputs": [ + { + "name": "out", + "path": "/nix/store/q55dbgvc4xwvr2g02dks6j2j699qni2k-skate-1.0.0", + "default": true + } + ], + "store_path": "/nix/store/q55dbgvc4xwvr2g02dks6j2j699qni2k-skate-1.0.0" + }, + "x86_64-darwin": { + "outputs": [ + { + "name": "out", + "path": "/nix/store/s1hy525y8ciya3nrns9kryy3jlcw8igv-skate-1.0.0", + "default": true + } + ], + "store_path": "/nix/store/s1hy525y8ciya3nrns9kryy3jlcw8igv-skate-1.0.0" + }, + "x86_64-linux": { + "outputs": [ + { + "name": "out", + "path": "/nix/store/8s03iazymz77nv6pjxpz7wair0m646wv-skate-1.0.0", + "default": true + } + ], + "store_path": "/nix/store/8s03iazymz77nv6pjxpz7wair0m646wv-skate-1.0.0" + } + } + }, + "templ@latest": { + "last_modified": "2024-11-16T04:25:12Z", + "resolved": "github:NixOS/nixpkgs/34a626458d686f1b58139620a8b2793e9e123bba#templ", + "source": "devbox-search", + "version": "0.2.793", + "systems": { + "aarch64-darwin": { + "outputs": [ + { + "name": "out", + "path": "/nix/store/ivargvf76g71k5gk3iz4al52rsy28w38-templ-0.2.793", + "default": true + } + ], + "store_path": "/nix/store/ivargvf76g71k5gk3iz4al52rsy28w38-templ-0.2.793" + }, + "aarch64-linux": { + "outputs": [ + { + "name": "out", + "path": "/nix/store/03654iddn006yx5j1lqq496hax60v8p5-templ-0.2.793", + "default": true + } + ], + "store_path": "/nix/store/03654iddn006yx5j1lqq496hax60v8p5-templ-0.2.793" + }, + "x86_64-darwin": { + "outputs": [ + { + "name": "out", + "path": "/nix/store/blvd5wbd1ix6m745s4zx3b84kwzprshq-templ-0.2.793", + "default": true + } + ], + "store_path": "/nix/store/blvd5wbd1ix6m745s4zx3b84kwzprshq-templ-0.2.793" + }, + "x86_64-linux": { + "outputs": [ + { + "name": "out", + "path": "/nix/store/sn5h79d36r86i6a8rm1k52c2ij1s32kx-templ-0.2.793", + "default": true + } + ], + "store_path": "/nix/store/sn5h79d36r86i6a8rm1k52c2ij1s32kx-templ-0.2.793" + } + } + } + } +} diff --git a/deploy/local/process-compose.yaml b/deploy/local/process-compose.yaml new file mode 100644 index 000000000..67e41333f --- /dev/null +++ b/deploy/local/process-compose.yaml @@ -0,0 +1,28 @@ +version: "0.6" + +processes: + ipfs: + namespace: testnet + command: "devbox run ipfs" + background: true + availability: + restart: never + max_restarts: 0 + + sonr: + namespace: testnet + background: true + command: "devbox run devnet" + restart: never + max_restarts: 1 + depends: + - ipfs + + hway-air: + namespace: testnet + background: true + command: "devbox run air" + restart: never + max_restarts: 1 + depends: + - sonr diff --git a/deploy/testnet/devbox.json b/deploy/testnet/devbox.json new file mode 100644 index 000000000..637c1b677 --- /dev/null +++ b/deploy/testnet/devbox.json @@ -0,0 +1,43 @@ +{ + "$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.12.0/.schema/devbox.schema.json", + "packages": [ + "go@1.22", + "bun@latest", + "ipfs@latest", + "air@latest", + "templ@latest" + ], + "env": { + "GOPATH": "$HOME/go", + "PATH": "./build:$HOME/go/bin:$PATH", + "CHAIN_ID": "sonr-testnet-1", + "DENOM": "usnr", + "KEYRING": "test", + "MONIKER": "florence", + "BINARY": "sonrd", + "ACC0_NAME": "acc0", + "ACC1_NAME": "acc1", + "ACC0_ADDRESS": "idx1efd63aw40lxf3n4mhf7dzhjkr453axur9vjt6y", + "ACC1_ADDRESS": "idx1hj5fveer5cjtn4wd6wstzugjfdxzl0xpecp0nd", + "ACC0_MNEMONIC": "$(skate get ACC0_MNEMONIC)", + "ACC1_MNEMONIC": "$(skate get ACC1_MNEMONIC)", + "TUNNEL_TOKEN": "$(skate get CLOUDFLARE_TUNNEL_TOKEN)", + "TEMPL_EXPERIMENT": "rawgo", + "R2_CDN_BUCKET": "cdn", + "R2_PKL_BUCKET": "pkljar" + }, + "shell": { + "init_hook": ["export ROOT=$(git rev-parse --show-toplevel)"], + "scripts": { + "start:testnet": ["make sh-testnet"], + "start:ipfs": ["sh scripts/setup_ipfs.sh"], + "start:air": ["air"], + "start:gex": ["go install github.com/cosmos/gex@latest", "gex"], + "gen:pkl": ["make gen-pkl"], + "gen:templ": ["make gen-templ"], + "buf-push": [ + "cd ./proto && bunx buf dep update && bunx buf build && bunx buf push" + ] + } + } +} diff --git a/process-compose.yaml b/deploy/testnet/process-compose.yaml similarity index 77% rename from process-compose.yaml rename to deploy/testnet/process-compose.yaml index 40f822b48..bb0f06d2e 100644 --- a/process-compose.yaml +++ b/deploy/testnet/process-compose.yaml @@ -3,7 +3,7 @@ version: "0.6" processes: ipfs: namespace: testnet - command: "sh scripts/setup_ipfs.sh" + command: "devbox run start:ipfs" background: true availability: restart: never @@ -12,7 +12,7 @@ processes: sonr: namespace: testnet background: true - command: "make sh-testnet" + command: "devbox run start:testnet" restart: never max_restarts: 1 depends: diff --git a/devbox.json b/devbox.json index e767e1d03..e5649f070 100644 --- a/devbox.json +++ b/devbox.json @@ -1,42 +1,23 @@ { "$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.12.0/.schema/devbox.schema.json", - "packages": [ - "go@1.22", - "bun@latest", - "ipfs@latest", - "air@latest", - "templ@latest" - ], + "packages": ["go@1.22", "bun@latest", "gum@latest"], "env": { "GOPATH": "$HOME/go", "PATH": "./build:$HOME/go/bin:$PATH", - "CHAIN_ID": "sonr-testnet-1", - "DENOM": "usnr", - "KEYRING": "test", - "MONIKER": "florence", - "BINARY": "sonrd", - "ACC0_NAME": "acc0", - "ACC1_NAME": "acc1", - "ACC0_ADDRESS": "idx1efd63aw40lxf3n4mhf7dzhjkr453axur9vjt6y", - "ACC1_ADDRESS": "idx1hj5fveer5cjtn4wd6wstzugjfdxzl0xpecp0nd", - "ACC0_MNEMONIC": "$(skate get ACC0_MNEMONIC)", - "ACC1_MNEMONIC": "$(skate get ACC1_MNEMONIC)", - "TUNNEL_TOKEN": "$(skate get CLOUDFLARE_TUNNEL_TOKEN)", - "TEMPL_EXPERIMENT": "rawgo", - "R2_CDN_BUCKET": "cdn", - "R2_PKL_BUCKET": "pkljar" + "TEMPL_EXPERIMENT": "rawgo" }, "shell": { "scripts": { - "gen:pkl": [ - "make gen-pkl" + "deploy-buf": ["gum spin --title='Deploying buf' -- make deploy-buf"], + "deploy-cdn": [ + "gum spin --title='Generating PKL' -- make pkl-gen", + "gum spin --title='Generating Styles' -- make styles-gen", + "gum spin --title='Building Motr WASM' -- make motr-build", + "gum spin --title='Uploading to Bucket' -- make deploy-cdn" ], - "gen:templ": [ - "make gen-templ" - ], - "buf-push": [ - "cd ./proto && bunx buf dep update && bunx buf build && bunx buf push" - ] + "start-local": ["cd deploy/local && devbox services up"], + "start-testnet": ["cd deploy/testnet && devbox services up"], + "start-gex": ["go install github.com/cosmos/gex@latest", "gex"] } } } diff --git a/devbox.lock b/devbox.lock index c2759642a..073867ef6 100644 --- a/devbox.lock +++ b/devbox.lock @@ -1,54 +1,6 @@ { "lockfile_version": "1", "packages": { - "air@latest": { - "last_modified": "2024-11-16T04:25:12Z", - "resolved": "github:NixOS/nixpkgs/34a626458d686f1b58139620a8b2793e9e123bba#air", - "source": "devbox-search", - "version": "1.61.1", - "systems": { - "aarch64-darwin": { - "outputs": [ - { - "name": "out", - "path": "/nix/store/0s90vbnmsyyixs0991md21pbrw8babfb-air-1.61.1", - "default": true - } - ], - "store_path": "/nix/store/0s90vbnmsyyixs0991md21pbrw8babfb-air-1.61.1" - }, - "aarch64-linux": { - "outputs": [ - { - "name": "out", - "path": "/nix/store/8mpw2asxs297v26fxqy2y1bq438f344l-air-1.61.1", - "default": true - } - ], - "store_path": "/nix/store/8mpw2asxs297v26fxqy2y1bq438f344l-air-1.61.1" - }, - "x86_64-darwin": { - "outputs": [ - { - "name": "out", - "path": "/nix/store/abminkf7ldqf9vm14xx5wvsrdx3wrvy6-air-1.61.1", - "default": true - } - ], - "store_path": "/nix/store/abminkf7ldqf9vm14xx5wvsrdx3wrvy6-air-1.61.1" - }, - "x86_64-linux": { - "outputs": [ - { - "name": "out", - "path": "/nix/store/ajx8v5rbbvglncb97yybg3x9kn95gfrm-air-1.61.1", - "default": true - } - ], - "store_path": "/nix/store/ajx8v5rbbvglncb97yybg3x9kn95gfrm-air-1.61.1" - } - } - }, "bun@latest": { "last_modified": "2024-10-23T04:36:58Z", "resolved": "github:NixOS/nixpkgs/dfffb2e7a52d29a0ef8e21ec8a0f30487b227f1a#bun", @@ -145,67 +97,51 @@ } } }, - "ipfs@latest": { - "last_modified": "2023-02-24T09:01:09Z", - "resolved": "github:NixOS/nixpkgs/7d0ed7f2e5aea07ab22ccb338d27fbe347ed2f11#ipfs", + "gum@latest": { + "last_modified": "2024-11-16T04:25:12Z", + "resolved": "github:NixOS/nixpkgs/34a626458d686f1b58139620a8b2793e9e123bba#gum", "source": "devbox-search", - "version": "0.17.0", - "systems": { - "aarch64-darwin": { - "outputs": [ - { - "path": "/nix/store/1azparhiwjzxgpkswpqnapzw0bfb7vl7-kubo-0.17.0", - "default": true - } - ] - } - } - }, - "templ@latest": { - "last_modified": "2024-10-13T23:44:06Z", - "resolved": "github:NixOS/nixpkgs/d4f247e89f6e10120f911e2e2d2254a050d0f732#templ", - "source": "devbox-search", - "version": "0.2.778", + "version": "0.14.5", "systems": { "aarch64-darwin": { "outputs": [ { "name": "out", - "path": "/nix/store/n7bmbwk126kiclzi317yprpnc6rkn0jv-templ-0.2.778", + "path": "/nix/store/rzqm62ixipbzbhfagqlic5xxag9a2v82-gum-0.14.5", "default": true } ], - "store_path": "/nix/store/n7bmbwk126kiclzi317yprpnc6rkn0jv-templ-0.2.778" + "store_path": "/nix/store/rzqm62ixipbzbhfagqlic5xxag9a2v82-gum-0.14.5" }, "aarch64-linux": { "outputs": [ { "name": "out", - "path": "/nix/store/9fi535j2qw60x28vb5wlcz989z2wz959-templ-0.2.778", + "path": "/nix/store/3ick2j8z9jgkk3cyc1ik4zkbs3m4583n-gum-0.14.5", "default": true } ], - "store_path": "/nix/store/9fi535j2qw60x28vb5wlcz989z2wz959-templ-0.2.778" + "store_path": "/nix/store/3ick2j8z9jgkk3cyc1ik4zkbs3m4583n-gum-0.14.5" }, "x86_64-darwin": { "outputs": [ { "name": "out", - "path": "/nix/store/6r17bj68ahbf41xlk87pilbhj394anyy-templ-0.2.778", + "path": "/nix/store/9rh8qxbxgb07v3a62mx9404ynk2yhxrj-gum-0.14.5", "default": true } ], - "store_path": "/nix/store/6r17bj68ahbf41xlk87pilbhj394anyy-templ-0.2.778" + "store_path": "/nix/store/9rh8qxbxgb07v3a62mx9404ynk2yhxrj-gum-0.14.5" }, "x86_64-linux": { "outputs": [ { "name": "out", - "path": "/nix/store/6c1sqrhl7a68npksq7jicsa310qj9k1q-templ-0.2.778", + "path": "/nix/store/1bnivwijzrnzx5h0hd5rywwy8rlhxmw5-gum-0.14.5", "default": true } ], - "store_path": "/nix/store/6c1sqrhl7a68npksq7jicsa310qj9k1q-templ-0.2.778" + "store_path": "/nix/store/1bnivwijzrnzx5h0hd5rywwy8rlhxmw5-gum-0.14.5" } } } diff --git a/go.mod b/go.mod index de1ac9b13..1f8645d49 100644 --- a/go.mod +++ b/go.mod @@ -53,10 +53,6 @@ require ( github.com/apple/pkl-go v0.8.0 github.com/btcsuite/btcd/btcec/v2 v2.3.4 github.com/bwesterb/go-ristretto v1.2.3 - github.com/charmbracelet/bubbles v0.19.0 - github.com/charmbracelet/bubbletea v1.1.0 - github.com/charmbracelet/huh v0.5.3 - github.com/charmbracelet/lipgloss v0.13.0 github.com/cometbft/cometbft v0.38.12 github.com/consensys/gnark-crypto v0.12.1 github.com/cosmos/btcutil v1.0.5 @@ -70,7 +66,6 @@ require ( github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0 github.com/dustinxie/ecc v0.0.0-20210511000915-959544187564 github.com/ecies/go/v2 v2.0.9 - github.com/ethereum/go-ethereum v1.14.6 github.com/go-webauthn/webauthn v0.11.2 github.com/golang-jwt/jwt v3.2.2+incompatible github.com/golang/protobuf v1.5.4 @@ -78,7 +73,6 @@ require ( github.com/grpc-ecosystem/grpc-gateway v1.16.0 github.com/gtank/merlin v0.1.1 github.com/ipfs/boxo v0.24.0 - github.com/ipfs/kubo v0.31.0 github.com/joho/godotenv v1.5.1 github.com/labstack/echo/v4 v4.10.2 github.com/libp2p/go-libp2p v0.36.5 @@ -113,23 +107,15 @@ require ( github.com/99designs/keyring v1.2.1 // indirect github.com/DataDog/datadog-go v3.2.0+incompatible // indirect github.com/DataDog/zstd v1.5.5 // indirect - github.com/alecthomas/units v0.0.0-20240626203959-61d1e3462e30 // indirect - github.com/atotto/clipboard v0.1.4 // indirect github.com/aws/aws-sdk-go v1.44.224 // indirect - github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect github.com/beorn7/perks v1.0.1 // indirect github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect github.com/bgentry/speakeasy v0.1.1-0.20220910012023-760eaf8b6816 // indirect github.com/bits-and-blooms/bitset v1.13.0 // indirect - github.com/blang/semver/v4 v4.0.0 // indirect github.com/btcsuite/btcd v0.20.1-beta // indirect - github.com/catppuccin/go v0.2.0 // indirect github.com/cenkalti/backoff/v4 v4.3.0 // indirect github.com/cespare/xxhash v1.1.0 // indirect github.com/cespare/xxhash/v2 v2.3.0 // indirect - github.com/charmbracelet/x/ansi v0.2.3 // indirect - github.com/charmbracelet/x/exp/strings v0.0.0-20240722160745-212f7b056ed0 // indirect - github.com/charmbracelet/x/term v0.2.0 // indirect github.com/chzyer/readline v1.5.1 // indirect github.com/cockroachdb/apd/v2 v2.0.2 // indirect github.com/cockroachdb/errors v1.11.3 // indirect @@ -157,8 +143,7 @@ require ( github.com/dustin/go-humanize v1.0.1 // indirect github.com/dvsekhvalnov/jose2go v1.6.0 // indirect github.com/emicklei/dot v1.6.1 // indirect - github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect - github.com/facebookgo/atomicfile v0.0.0-20151019160806-2de1f203e7d5 // indirect + github.com/ethereum/go-ethereum v1.14.6 // indirect github.com/fatih/color v1.16.0 // indirect github.com/felixge/httpsnoop v1.0.4 // indirect github.com/fsnotify/fsnotify v1.7.0 // indirect @@ -181,7 +166,6 @@ require ( github.com/google/btree v1.1.2 // indirect github.com/google/go-cmp v0.6.0 // indirect github.com/google/go-tpm v0.9.1 // indirect - github.com/google/gopacket v1.1.19 // indirect github.com/google/orderedcode v0.0.1 // indirect github.com/google/s2a-go v0.1.7 // indirect github.com/google/uuid v1.6.0 // indirect @@ -191,13 +175,11 @@ require ( github.com/gorilla/websocket v1.5.3 // indirect github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 // indirect github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c // indirect - github.com/hashicorp/errwrap v1.1.0 // indirect github.com/hashicorp/go-cleanhttp v0.5.2 // indirect github.com/hashicorp/go-getter v1.7.5 // indirect github.com/hashicorp/go-hclog v1.5.0 // indirect github.com/hashicorp/go-immutable-radix v1.3.1 // indirect github.com/hashicorp/go-metrics v0.5.3 // indirect - github.com/hashicorp/go-multierror v1.1.1 // indirect github.com/hashicorp/go-plugin v1.5.2 // indirect github.com/hashicorp/go-safetemp v1.0.0 // indirect github.com/hashicorp/go-version v1.6.0 // indirect @@ -206,32 +188,12 @@ require ( github.com/hashicorp/hcl v1.0.0 // indirect github.com/hashicorp/yamux v0.1.1 // indirect github.com/hdevalence/ed25519consensus v0.1.0 // indirect - github.com/holiman/uint256 v1.2.4 // indirect github.com/huandu/skiplist v1.2.0 // indirect github.com/iancoleman/orderedmap v0.3.0 // indirect github.com/iancoleman/strcase v0.3.0 // indirect github.com/improbable-eng/grpc-web v0.15.0 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect - github.com/ipfs/bbloom v0.0.4 // indirect - github.com/ipfs/go-bitfield v1.1.0 // indirect - github.com/ipfs/go-block-format v0.2.0 // indirect github.com/ipfs/go-cid v0.4.1 // indirect - github.com/ipfs/go-datastore v0.6.0 // indirect - github.com/ipfs/go-ds-measure v0.2.0 // indirect - github.com/ipfs/go-fs-lock v0.0.7 // indirect - github.com/ipfs/go-ipfs-cmds v0.13.0 // indirect - github.com/ipfs/go-ipfs-util v0.0.3 // indirect - github.com/ipfs/go-ipld-cbor v0.2.0 // indirect - github.com/ipfs/go-ipld-format v0.6.0 // indirect - github.com/ipfs/go-ipld-legacy v0.2.1 // indirect - github.com/ipfs/go-log v1.0.5 // indirect - github.com/ipfs/go-log/v2 v2.5.1 // indirect - github.com/ipfs/go-metrics-interface v0.0.1 // indirect - github.com/ipfs/go-unixfsnode v1.9.1 // indirect - github.com/ipld/go-car/v2 v2.14.2 // indirect - github.com/ipld/go-codec-dagpb v1.6.0 // indirect - github.com/ipld/go-ipld-prime v0.21.0 // indirect - github.com/jbenet/goprocess v0.1.4 // indirect github.com/jmespath/go-jmespath v0.4.0 // indirect github.com/jmhodges/levigo v1.0.0 // indirect github.com/klauspost/compress v1.17.9 // indirect @@ -240,68 +202,42 @@ require ( github.com/kr/text v0.2.0 // indirect github.com/labstack/gommon v0.4.0 // indirect github.com/lib/pq v1.10.7 // indirect - github.com/libp2p/go-buffer-pool v0.1.0 // indirect - github.com/libp2p/go-cidranger v1.1.0 // indirect - github.com/libp2p/go-libp2p-asn-util v0.4.1 // indirect github.com/libp2p/go-libp2p-core v0.7.0 // indirect - github.com/libp2p/go-libp2p-kad-dht v0.26.1 // indirect - github.com/libp2p/go-libp2p-kbucket v0.6.4 // indirect - github.com/libp2p/go-libp2p-record v0.2.0 // indirect - github.com/libp2p/go-libp2p-routing-helpers v0.7.4 // indirect - github.com/libp2p/go-msgio v0.3.0 // indirect - github.com/libp2p/go-netroute v0.2.1 // indirect github.com/libp2p/go-openssl v0.1.0 // indirect github.com/linxGnu/grocksdb v1.8.14 // indirect - github.com/lucasb-eyer/go-colorful v1.2.0 // indirect github.com/magiconair/properties v1.8.7 // indirect github.com/manifoldco/promptui v0.9.0 // indirect github.com/mattn/go-colorable v0.1.13 // indirect github.com/mattn/go-isatty v0.0.20 // indirect - github.com/mattn/go-localereader v0.0.1 // indirect github.com/mattn/go-pointer v0.0.1 // indirect - github.com/mattn/go-runewidth v0.0.16 // indirect - github.com/miekg/dns v1.1.61 // indirect github.com/mimoo/StrobeGo v0.0.0-20181016162300-f8f6d4d2b643 // indirect github.com/minio/highwayhash v1.0.2 // indirect github.com/minio/sha256-simd v1.0.1 // indirect github.com/mitchellh/go-homedir v1.1.0 // indirect github.com/mitchellh/go-testing-interface v1.14.1 // indirect - github.com/mitchellh/hashstructure/v2 v2.0.2 // indirect github.com/mitchellh/mapstructure v1.5.0 // indirect github.com/mmcloughlin/addchain v0.4.0 // indirect github.com/mtibben/percent v0.2.1 // indirect - github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect - github.com/muesli/cancelreader v0.2.2 // indirect - github.com/muesli/termenv v0.15.3-0.20240618155329-98d742f6907a // indirect github.com/multiformats/go-base32 v0.1.0 // indirect github.com/multiformats/go-base36 v0.2.0 // indirect - github.com/multiformats/go-multiaddr v0.13.0 // indirect - github.com/multiformats/go-multiaddr-dns v0.4.0 // indirect github.com/multiformats/go-multihash v0.2.3 // indirect - github.com/multiformats/go-multistream v0.5.0 // indirect github.com/oasisprotocol/curve25519-voi v0.0.0-20230904125328-1f23a7beb09a // indirect github.com/oklog/run v1.1.0 // indirect github.com/onsi/ginkgo v1.16.5 // indirect github.com/onsi/gomega v1.33.1 // indirect - github.com/opentracing/opentracing-go v1.2.0 // indirect - github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58 // indirect github.com/pelletier/go-toml/v2 v2.2.2 // indirect - github.com/petar/GoLLRB v0.0.0-20210522233825-ae3b015fd3e9 // indirect github.com/petermattis/goid v0.0.0-20231207134359-e60b3f734c67 // indirect github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect - github.com/polydawn/refmt v0.89.0 // indirect github.com/prometheus/client_golang v1.20.4 // indirect github.com/prometheus/client_model v0.6.1 // indirect github.com/prometheus/common v0.55.0 // indirect github.com/prometheus/procfs v0.15.1 // indirect github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect - github.com/rivo/uniseg v0.4.7 // indirect github.com/rogpeppe/go-internal v1.12.0 // indirect github.com/rs/cors v1.11.1 // indirect github.com/rs/zerolog v1.32.0 // indirect github.com/sagikazarmark/locafero v0.4.0 // indirect github.com/sagikazarmark/slog-shim v0.1.0 // indirect - github.com/samber/lo v1.46.0 // indirect github.com/sasha-s/go-deadlock v0.3.1 // indirect github.com/sourcegraph/conc v0.3.0 // indirect github.com/spacemonkeygo/spacelog v0.0.0-20180420211403-2296661a0572 // indirect @@ -316,10 +252,6 @@ require ( github.com/valyala/fasttemplate v1.2.2 // indirect github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect - github.com/whyrusleeping/base32 v0.0.0-20170828182744-c30ac30633cc // indirect - github.com/whyrusleeping/cbor v0.0.0-20171005072247-63513f603b11 // indirect - github.com/whyrusleeping/cbor-gen v0.1.2 // indirect - github.com/whyrusleeping/go-keyspace v0.0.0-20160322163242-5b898ac5add1 // indirect github.com/x448/float16 v0.8.4 // indirect github.com/zondax/hid v0.9.2 // indirect github.com/zondax/ledger-go v0.14.3 // indirect @@ -331,10 +263,7 @@ require ( go.opentelemetry.io/otel/metric v1.28.0 // indirect go.opentelemetry.io/otel/trace v1.28.0 // indirect go.uber.org/multierr v1.11.0 // indirect - go.uber.org/zap v1.27.0 // indirect - go4.org v0.0.0-20230225012048-214862532bf5 // indirect golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect - golang.org/x/mod v0.20.0 // indirect golang.org/x/net v0.28.0 // indirect golang.org/x/oauth2 v0.21.0 // indirect golang.org/x/sync v0.8.0 // indirect @@ -342,9 +271,7 @@ require ( golang.org/x/term v0.24.0 // indirect golang.org/x/text v0.18.0 // indirect golang.org/x/time v0.5.0 // indirect - golang.org/x/tools v0.24.0 // indirect golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da // indirect - gonum.org/v1/gonum v0.15.0 // indirect google.golang.org/api v0.169.0 // indirect google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20240617180043-68d350f18fd4 // indirect diff --git a/go.sum b/go.sum index e97a4c572..25044d5c5 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,3 @@ -bazil.org/fuse v0.0.0-20200117225306-7b5117fecadc h1:utDghgcjE8u+EBjHOgYT+dJPcnDF05KqWMBcjuJy510= -bazil.org/fuse v0.0.0-20200117225306-7b5117fecadc/go.mod h1:FbcW6z/2VytnFDhZfumh8Ss8zxHE6qpMP5sHTRe0EaM= cloud.google.com/go v0.0.0-20170206221025-ce650573d812/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= @@ -814,8 +812,6 @@ git.sr.ht/~sircmpwn/go-bare v0.0.0-20210406120253-ab86bc2846d9/go.mod h1:BVJwbDf github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 h1:/vQbFIOMbk2FiG/kXiLl8BRyzTWDw7gX/Hz7Dd5eDMs= github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4/go.mod h1:hN7oaIRCjzsZ2dE+yG5k+rsdt3qcwykqK6HVGcKwsw4= github.com/AndreasBriese/bbloom v0.0.0-20190306092124-e2d15f34fcf9/go.mod h1:bOvUY6CB00SOBii9/FifXqc0awNKxLFCL/+pkDPuyl8= -github.com/AndreasBriese/bbloom v0.0.0-20190825152654-46b345b51c96 h1:cTp8I5+VIoKjsnZuH8vjyaysT/ses3EvZeaV/1UkF2M= -github.com/AndreasBriese/bbloom v0.0.0-20190825152654-46b345b51c96/go.mod h1:bOvUY6CB00SOBii9/FifXqc0awNKxLFCL/+pkDPuyl8= github.com/Azure/azure-sdk-for-go/sdk/azcore v0.21.1/go.mod h1:fBF9PQNqB8scdgpZ3ufzaLntG0AG7C1WjPMsiFOmfHM= github.com/Azure/azure-sdk-for-go/sdk/azcore v1.0.0/go.mod h1:uGG2W01BaETf0Ozp+QxxKJdMBNRWPdstHG0Fmdwn1/U= github.com/Azure/azure-sdk-for-go/sdk/azcore v1.6.0/go.mod h1:bjGvMhVMb+EEm3VRNQawDMUyMMjo+S5ewNjflkep/0Q= @@ -856,10 +852,6 @@ github.com/HdrHistogram/hdrhistogram-go v1.1.2/go.mod h1:yDgFjdqOqDEKOvasDdhWNXY github.com/JohnCGriffin/overflow v0.0.0-20211019200055-46fa312c352c/go.mod h1:X0CRv0ky0k6m906ixxpzmDRLvX58TFUKS2eePweuyxk= github.com/Joker/hpp v1.0.0/go.mod h1:8x5n+M1Hp5hC0g8okX3sR3vFQwynaX/UgSOM9MeBKzY= github.com/Joker/jade v1.0.1-0.20190614124447-d475f43051e7/go.mod h1:6E6s8o2AE4KhCrqr6GRJjdC/gNfTdxkIXvuGZZda2VM= -github.com/Jorropo/jsync v1.0.1 h1:6HgRolFZnsdfzRUj+ImB9og1JYOxQoReSywkHOGSaUU= -github.com/Jorropo/jsync v1.0.1/go.mod h1:jCOZj3vrBCri3bSU3ErUYvevKlnbssrXeCivybS5ABQ= -github.com/MakeNowJust/heredoc v1.0.0 h1:cXCdzVdstXyiTqTvfqk9SDHpKNjxuom+DOlyEeQ4pzQ= -github.com/MakeNowJust/heredoc v1.0.0/go.mod h1:mG5amYoWBHf8vpLOuehzbGGw0EHxpZZ6lCpQ4fNJ8LE= github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM= github.com/Microsoft/go-winio v0.6.2 h1:F2VQgta7ecxGYO8k3ZZz3RS8fVIXVxONVUPlNERoyfY= github.com/Microsoft/go-winio v0.6.2/go.mod h1:yd8OoFMLzJbo9gZq8j5qaps8bJ9aShtEA8Ipt1oGCvU= @@ -893,10 +885,6 @@ github.com/alecthomas/participle/v2 v2.0.0-alpha7/go.mod h1:NumScqsC42o9x+dGj8/Y github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137/go.mod h1:OMCwj8VM1Kc9e19TLln2VL61YJF0x1XFtfdL4JdbSyE= -github.com/alecthomas/units v0.0.0-20240626203959-61d1e3462e30 h1:t3eaIm0rUkzbrIewtiFmMK5RXHej2XnoXNhxVsAYUfg= -github.com/alecthomas/units v0.0.0-20240626203959-61d1e3462e30/go.mod h1:fvzegU4vN3H1qMT+8wDmzjAcDONcgo2/SZ/TyfdUOFs= -github.com/alexbrainman/goissue34681 v0.0.0-20191006012335-3fc7a47baff5 h1:iW0a5ljuFxkLGPNem5Ui+KBjFJzKg4Fv2fnxe4dvzpM= -github.com/alexbrainman/goissue34681 v0.0.0-20191006012335-3fc7a47baff5/go.mod h1:Y2QMoi1vgtOIfc+6DhrMOGkLoGzqSV2rKp4Sm+opsyA= github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156/go.mod h1:Cb/ax3seSYIx7SuZdm2G2xzfwmv3TPSk2ucNfQESPXM= github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo29Kk6CurOXKm700vrz8f0KW0JNfpkRJY/8= github.com/andybalholm/brotli v1.0.4/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig= @@ -913,8 +901,6 @@ github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmV github.com/armon/go-metrics v0.4.1/go.mod h1:E6amYzXo6aW1tqzoZGT755KkbgrJsSdpwZ+3JqfkOG4= github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= -github.com/atotto/clipboard v0.1.4 h1:EH0zSVneZPSuFR11BlR9YppQTVDbh5+16AmcJi4g1z4= -github.com/atotto/clipboard v0.1.4/go.mod h1:ZY9tmq7sm5xIbd9bOK4onWV4S6X0u6GY7Vn0Yu86PYI= github.com/aws/aws-sdk-go v1.44.122/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= github.com/aws/aws-sdk-go v1.44.224 h1:09CiaaF35nRmxrzWZ2uRq5v6Ghg/d2RiPjZnSgtt+RQ= github.com/aws/aws-sdk-go v1.44.224/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI= @@ -940,14 +926,8 @@ github.com/aws/aws-sdk-go-v2/service/sts v1.1.1/go.mod h1:Wi0EBZwiz/K44YliU0EKxq github.com/aws/aws-sdk-go-v2/service/sts v1.23.2/go.mod h1:Eows6e1uQEsc4ZaHANmsPRzAKcVDrcmjjWiih2+HUUQ= github.com/aws/smithy-go v1.1.0/go.mod h1:EzMw8dbp/YJL4A5/sbhGddag+NPT7q084agLbB9LgIw= github.com/aws/smithy-go v1.15.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= -github.com/aymanbagabas/go-osc52/v2 v2.0.1 h1:HwpRHbFMcZLEVr42D4p7XBqjyuxQH5SMiErDT4WkJ2k= -github.com/aymanbagabas/go-osc52/v2 v2.0.1/go.mod h1:uYgXzlJ7ZpABp8OJ+exZzJJhRNQ2ASbcXHWsFqH8hp8= -github.com/aymanbagabas/go-udiff v0.2.0 h1:TK0fH4MteXUDspT88n8CKzvK0X9O2xu9yQjWpi6yML8= -github.com/aymanbagabas/go-udiff v0.2.0/go.mod h1:RE4Ex0qsGkTAJoQdQQCA0uG+nAzJO/pI/QwceO5fgrA= github.com/aymerick/raymond v2.0.3-0.20180322193309-b565731e1464+incompatible/go.mod h1:osfaiScAUVup+UC9Nfq76eWqDhXlp+4UYaA8uhTBO6g= github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= -github.com/benbjohnson/clock v1.3.5 h1:VvXlSJBzZpA/zum6Sj74hxwYI2DIxRWuNIoXAzHZz5o= -github.com/benbjohnson/clock v1.3.5/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= @@ -960,8 +940,6 @@ github.com/bits-and-blooms/bitset v1.5.0/go.mod h1:gIdJ4wp64HaoK2YrL1Q5/N7Y16edY github.com/bits-and-blooms/bitset v1.7.0/go.mod h1:gIdJ4wp64HaoK2YrL1Q5/N7Y16edYb8uY+O0FJTyyDA= github.com/bits-and-blooms/bitset v1.13.0 h1:bAQ9OPNFYbGHV6Nez0tmNI0RiEu7/hxlYJRUA0wFAVE= github.com/bits-and-blooms/bitset v1.13.0/go.mod h1:7hO7Gc7Pp1vODcmWvKMRA9BNmbv6a/7QIWpPxHddWR8= -github.com/blang/semver/v4 v4.0.0 h1:1PFHFE6yCCTv8C1TeyNNarDzntLi7wMI5i/pzqYIsAM= -github.com/blang/semver/v4 v4.0.0/go.mod h1:IbckMUScFkM3pff0VJDNKRiT6TG/YpiHIM2yvyW5YoQ= github.com/bmizerany/pat v0.0.0-20170815010413-6226ea591a40/go.mod h1:8rLXio+WjiTceGBHIoTvn60HIbs7Hm7bcHjyrSqYB9c= github.com/boltdb/bolt v1.3.1/go.mod h1:clJnj/oiGkjum5o1McbSZDSLxVThjynRyGBgiAx27Ps= github.com/boombuler/barcode v1.0.0/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl3JlRe0mD8= @@ -986,8 +964,6 @@ github.com/bufbuild/protocompile v0.6.0/go.mod h1:YNP35qEYoYGme7QMtz5SBCoN4kL4g1 github.com/bwesterb/go-ristretto v1.2.3 h1:1w53tCkGhCQ5djbat3+MH0BAQ5Kfgbt56UZQ/JMzngw= github.com/bwesterb/go-ristretto v1.2.3/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0= github.com/c-bata/go-prompt v0.2.2/go.mod h1:VzqtzE2ksDBcdln8G7mk2RX9QyGjH+OVqOCSiVIqS34= -github.com/catppuccin/go v0.2.0 h1:ktBeIrIP42b/8FGiScP9sgrWOss3lw0Z5SktRoithGA= -github.com/catppuccin/go v0.2.0/go.mod h1:8IHJuMGaUUjQM82qBrGNBv7LFq6JI3NnQCF6MOlZjpc= github.com/cenkalti/backoff v2.2.1+incompatible h1:tNowT99t7UNflLxfYYSlKYsBpXdEet03Pg2g16Swow4= github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM= github.com/cenkalti/backoff/v4 v4.1.1/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw= @@ -996,8 +972,6 @@ github.com/cenkalti/backoff/v4 v4.3.0/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyY github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/census-instrumentation/opencensus-proto v0.3.0/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/census-instrumentation/opencensus-proto v0.4.1/go.mod h1:4T9NM4+4Vw91VeyqjLS6ao50K5bOcLKN6Q42XnYaRYw= -github.com/ceramicnetwork/go-dag-jose v0.1.0 h1:yJ/HVlfKpnD3LdYP03AHyTvbm3BpPiz2oZiOeReJRdU= -github.com/ceramicnetwork/go-dag-jose v0.1.0/go.mod h1:qYA1nYt0X8u4XoMAVoOV3upUVKtrxy/I670Dg5F0wjI= github.com/cespare/cp v0.1.0/go.mod h1:SOGHArjBr4JWaSDEVpWpo/hNg6RoKrls6Oh40hiwW+s= github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko= github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= @@ -1005,22 +979,6 @@ github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XL github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs= github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/charmbracelet/bubbles v0.19.0 h1:gKZkKXPP6GlDk6EcfujDK19PCQqRjaJZQ7QRERx1UF0= -github.com/charmbracelet/bubbles v0.19.0/go.mod h1:WILteEqZ+krG5c3ntGEMeG99nCupcuIk7V0/zOP0tOA= -github.com/charmbracelet/bubbletea v1.1.0 h1:FjAl9eAL3HBCHenhz/ZPjkKdScmaS5SK69JAK2YJK9c= -github.com/charmbracelet/bubbletea v1.1.0/go.mod h1:9Ogk0HrdbHolIKHdjfFpyXJmiCzGwy+FesYkZr7hYU4= -github.com/charmbracelet/huh v0.5.3 h1:3KLP4a/K1/S4dq4xFMTNMt3XWhgMl/yx8NYtygQ0bmg= -github.com/charmbracelet/huh v0.5.3/go.mod h1:OZC3lshuF+/y8laj//DoZdFSHxC51OrtXLJI8xWVouQ= -github.com/charmbracelet/lipgloss v0.13.0 h1:4X3PPeoWEDCMvzDvGmTajSyYPcZM4+y8sCA/SsA3cjw= -github.com/charmbracelet/lipgloss v0.13.0/go.mod h1:nw4zy0SBX/F/eAO1cWdcvy6qnkDUxr8Lw7dvFrAIbbY= -github.com/charmbracelet/x/ansi v0.2.3 h1:VfFN0NUpcjBRd4DnKfRaIRo53KRgey/nhOoEqosGDEY= -github.com/charmbracelet/x/ansi v0.2.3/go.mod h1:dk73KoMTT5AX5BsX0KrqhsTqAnhZZoCBjs7dGWp4Ktw= -github.com/charmbracelet/x/exp/golden v0.0.0-20240815200342-61de596daa2b h1:MnAMdlwSltxJyULnrYbkZpp4k58Co7Tah3ciKhSNo0Q= -github.com/charmbracelet/x/exp/golden v0.0.0-20240815200342-61de596daa2b/go.mod h1:wDlXFlCrmJ8J+swcL/MnGUuYnqgQdW9rhSD61oNMb6U= -github.com/charmbracelet/x/exp/strings v0.0.0-20240722160745-212f7b056ed0 h1:qko3AQ4gK1MTS/de7F5hPGx6/k1u0w4TeYmBFwzYVP4= -github.com/charmbracelet/x/exp/strings v0.0.0-20240722160745-212f7b056ed0/go.mod h1:pBhA0ybfXv6hDjQUZ7hk1lVxBiUbupdw5R31yPUViVQ= -github.com/charmbracelet/x/term v0.2.0 h1:cNB9Ot9q8I711MyZ7myUR5HFWL/lc3OpU8jZ4hwm0x0= -github.com/charmbracelet/x/term v0.2.0/go.mod h1:GVxgxAbjUrmpvIINHIQnJJKpMlHiZ4cktEQCN6GWyF0= github.com/cheggaaa/pb v1.0.27/go.mod h1:pQciLPpbU0oxA0h+VJYYLxO+XeDQb5pZijXscXHm81s= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= github.com/chzyer/logex v1.2.0/go.mod h1:9+9sk7u7pGNWYMkh0hdiL++6OeibzJccyQU4p4MedaY= @@ -1091,13 +1049,10 @@ github.com/consensys/gnark-crypto v0.4.1-0.20210426202927-39ac3d4b3f1f/go.mod h1 github.com/consensys/gnark-crypto v0.10.0/go.mod h1:Iq/P3HHl0ElSjsg2E1gsMwhAyxnxoKK5nVyZKd+/KhU= github.com/consensys/gnark-crypto v0.12.1 h1:lHH39WuuFgVHONRl3J0LRBtuYdQTumFSDtJF7HpyG8M= github.com/consensys/gnark-crypto v0.12.1/go.mod h1:v2Gy7L/4ZRosZ7Ivs+9SfUDr0f5UlG+EM5t7MPHiLuY= -github.com/containerd/cgroups v1.1.0 h1:v8rEWFl6EoqHB+swVNjVoCJE8o3jX7e8nqBGPLaDFBM= -github.com/containerd/cgroups v1.1.0/go.mod h1:6ppBcbh/NOOUU+dMKrykgaBnK9lCIBxHqJDGwsa1mIw= github.com/containerd/continuity v0.3.0 h1:nisirsYROK15TAMVukJOUyGJjz4BNQJBVsNvAXZJ/eg= github.com/containerd/continuity v0.3.0/go.mod h1:wJEAIwKOm/pBZuBd0JmeTvnLquTB1Ag8espWhkykbPM= github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= github.com/coreos/go-systemd/v22 v22.3.2/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= -github.com/coreos/go-systemd/v22 v22.5.0 h1:RrqgGjYQKalulkV8NGVIfkXQf6YYmOyiJKk8iXXhfZs= github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= github.com/cosmos/btcutil v1.0.5 h1:t+ZFcX77LpKtDBhjucvnOH8C2l2ioGsBNEQ3jef8xFk= github.com/cosmos/btcutil v1.0.5/go.mod h1:IyB7iuqZMJlthe2tkIFL33xPyzbFYP0XVdS8P5lUPis= @@ -1142,8 +1097,6 @@ github.com/creachadair/atomicfile v0.3.1/go.mod h1:mwfrkRxFKwpNAflYZzytbSwxvbK6f github.com/creachadair/tomledit v0.0.24 h1:5Xjr25R2esu1rKCbQEmjZYlrhFkDspoAbAKb6QKQDhQ= github.com/creachadair/tomledit v0.0.24/go.mod h1:9qHbShRWQzSCcn617cMzg4eab1vbLCOjOshAWSzWr8U= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/cskr/pubsub v1.0.2 h1:vlOzMhl6PFn60gRlTQQsIfVwaPB/B/8MziK8FhEPt/0= -github.com/cskr/pubsub v1.0.2/go.mod h1:/8MzYXk/NJAz782G8RPkFzXTZVu63VotefPnR9TIRis= github.com/cucumber/common/gherkin/go/v22 v22.0.0 h1:4K8NqptbvdOrjL9DEea6HFjSpbdT9+Q5kgLpmmsHYl0= github.com/cucumber/common/gherkin/go/v22 v22.0.0/go.mod h1:3mJT10B2GGn3MvVPd3FwR7m2u4tLhSRhWUqJU4KN4Fg= github.com/cucumber/common/messages/go/v17 v17.1.1 h1:RNqopvIFyLWnKv0LfATh34SWBhXeoFTJnSrgm9cT/Ts= @@ -1157,8 +1110,6 @@ github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM= github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davidlazar/go-crypto v0.0.0-20200604182044-b73af7476f6c h1:pFUpOrbxDR6AkioZ1ySsx5yxlDQZ8stG2b88gTPxgJU= -github.com/davidlazar/go-crypto v0.0.0-20200604182044-b73af7476f6c/go.mod h1:6UhI8N9EjYm1c2odKpFpAYeR8dsBeM7PtzQhRgxRr9U= github.com/deckarep/golang-set v1.8.0/go.mod h1:5nI87KwE7wgsBU1F4GKAw2Qod7p5kyS383rP6+o6qqo= github.com/deckarep/golang-set/v2 v2.1.0/go.mod h1:VAky9rY/yGXJOLEDv3OMci+7wtDpOF4IN+y82NBOac4= github.com/decred/dcrd/crypto/blake256 v1.0.0/go.mod h1:sQl2p6Y26YV+ZOcSTP6thNdn47hh8kt6rqSlvmrXFAc= @@ -1173,8 +1124,6 @@ github.com/deepmap/oapi-codegen v1.8.2/go.mod h1:YLgSKSDv/bZQB7N4ws6luhozi3cEdRk github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f h1:U5y3Y5UE0w7amNe7Z5G/twsBW0KEalRQXZzf8ufSh9I= github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f/go.mod h1:xH/i4TFMt8koVQZ6WFms69WAsDWr2XsYL3Hkl7jkoLE= github.com/dgraph-io/badger v1.6.0/go.mod h1:zwt7syl517jmP8s94KqSxTlM6IMsdhYy6psNgSztDR4= -github.com/dgraph-io/badger v1.6.2 h1:mNw0qs90GVgGGWylh0umH5iag1j6n/PeJtNvL6KY/x8= -github.com/dgraph-io/badger v1.6.2/go.mod h1:JW2yswe3V058sS0kZ2h/AXeDSqFjxnZcRrVH//y2UQE= github.com/dgraph-io/badger/v2 v2.2007.4 h1:TRWBQg8UrlUhaFdco01nO2uXwzKS7zd+HVdwV/GHc4o= github.com/dgraph-io/badger/v2 v2.2007.4/go.mod h1:vSw/ax2qojzbN6eXHIx6KPKtCSHJN/Uz0X0VPruTIhk= github.com/dgraph-io/ristretto v0.0.3-0.20200630154024-f66de99634de/go.mod h1:KPxhHT9ZxKefz+PCeOGsrHpl1qZ7i70dGTu2u+Ahh6E= @@ -1214,8 +1163,6 @@ github.com/ecies/go/v2 v2.0.9/go.mod h1:HOVvjxPPx/HilLI8q7JRZ2ZTE4WzQU/RVvhUKPG3 github.com/eclipse/paho.mqtt.golang v1.2.0/go.mod h1:H9keYFcgq3Qr5OUJm/JZI/i6U7joQ8SYLhZwfeOo6Ts= github.com/edsrzf/mmap-go v1.0.0/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaBNrHW5M= github.com/eknkc/amber v0.0.0-20171010120322-cdade1c07385/go.mod h1:0vRUJqYpeSZifjYj7uP3BG/gKcuzL9xWVV/Y+cK33KM= -github.com/elastic/gosigar v0.14.3 h1:xwkKwPia+hSfg9GqrCUKYdId102m9qTJIIr7egmK/uo= -github.com/elastic/gosigar v0.14.3/go.mod h1:iXRIGg2tLnu7LBdpqzyQfGDEidKCfWcCMS0WKyPWoMs= github.com/emicklei/dot v1.6.1 h1:ujpDlBkkwgWUY+qPId5IwapRW/xEoligRSYjioR6DFI= github.com/emicklei/dot v1.6.1/go.mod h1:DeV7GvQtIw4h2u73RKBkkFdvVAz0D9fzeJrgPW6gy/s= github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= @@ -1238,16 +1185,12 @@ github.com/envoyproxy/protoc-gen-validate v0.10.0/go.mod h1:DRjgyB0I43LtJapqN6Ni github.com/envoyproxy/protoc-gen-validate v0.10.1/go.mod h1:DRjgyB0I43LtJapqN6NiRwroiAU2PaFuvk/vjgh61ss= github.com/envoyproxy/protoc-gen-validate v1.0.1/go.mod h1:0vj8bNkYbSTNS2PIyH87KZaeN4x9zpL9Qt8fQC7d+vs= github.com/envoyproxy/protoc-gen-validate v1.0.2/go.mod h1:GpiZQP3dDbg4JouG/NNS7QWXpgx6x8QiMKdmN72jogE= -github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f h1:Y/CXytFA4m6baUTXGLOoWe4PQhGxaX0KpnayAqC48p4= -github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f/go.mod h1:vw97MGsxSvLiUE2X8qFplwetxpGLQrlU1Q9AUEIzCaM= github.com/etcd-io/bbolt v1.3.3/go.mod h1:ZF2nL25h33cCyBtcyWeZ2/I3HQOfTP+0PIEvHjkjCrw= github.com/ethereum/c-kzg-4844 v0.4.0/go.mod h1:VewdlzQmpT5QSrVhbBuGoCdFJkpaJlO1aQputP83wc0= github.com/ethereum/go-ethereum v1.10.26/go.mod h1:EYFyF19u3ezGLD4RqOkLq+ZCXzYbLoNDdZlMt7kyKFg= github.com/ethereum/go-ethereum v1.13.5/go.mod h1:yMTu38GSuyxaYzQMViqNmQ1s3cE84abZexQmTgenWk0= github.com/ethereum/go-ethereum v1.14.6 h1:ZTxnErSopkDyxdvB8zW/KcK+/AVrdil/TzoWXVKaaC8= github.com/ethereum/go-ethereum v1.14.6/go.mod h1:hglUZo/5pVIYXNyYjWzsAUDpT/zI+WbWo/Nih7ot+G0= -github.com/facebookgo/atomicfile v0.0.0-20151019160806-2de1f203e7d5 h1:BBso6MBKW8ncyZLv37o+KNyy0HrrHgfnOaGQC2qvN+A= -github.com/facebookgo/atomicfile v0.0.0-20151019160806-2de1f203e7d5/go.mod h1:JpoxHjuQauoxiFMl1ie8Xc/7TfLuMZ5eOCONd1sUBHg= github.com/fasthttp-contrib/websocket v0.0.0-20160511215533-1f3b11f56072/go.mod h1:duJ4Jxv5lDcvg4QuQr0oowTf7dz4/CR8NtyCooz9HL8= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= @@ -1262,14 +1205,10 @@ github.com/fjl/gencodec v0.0.0-20220412091415-8bb9e558978c/go.mod h1:AzA8Lj6Ytix github.com/fjl/gencodec v0.0.0-20230517082657-f9840df7b83e/go.mod h1:AzA8Lj6YtixmJWL+wkKoBGsLWy9gFrAzi4g+5bCKwpY= github.com/fjl/memsize v0.0.0-20190710130421-bcb5799ab5e5/go.mod h1:VvhXpOYNQvB+uIk2RvXzuaQtkQJzzIx6lSBe1xv7hi0= github.com/flosch/pongo2 v0.0.0-20190707114632-bbf5a6c351f4/go.mod h1:T9YF2M40nIgbVgp3rreNmTged+9HrbNTIQf1PsaIiTA= -github.com/flynn/noise v1.1.0 h1:KjPQoQCEFdZDiP03phOvGi11+SVVhBG2wOWAorLsstg= -github.com/flynn/noise v1.1.0/go.mod h1:xbMo+0i6+IGbYdJhF31t2eR1BIU0CYc12+BNAKwUTag= github.com/fogleman/gg v1.2.1-0.20190220221249-0403632d5b90/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k= github.com/fogleman/gg v1.3.0/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k= github.com/fortytw2/leaktest v1.3.0 h1:u8491cBMTQ8ft8aeV+adlcytMZylmA5nnwwkRZjI8vw= github.com/fortytw2/leaktest v1.3.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g= -github.com/francoispqt/gojay v1.2.13 h1:d2m3sFjloqoIUQU3TsHBgj6qg/BVGlTBeHDUmyJnXKk= -github.com/francoispqt/gojay v1.2.13/go.mod h1:ehT5mTG4ua4581f1++1WLG0vPdaA9HaiDsoyrBGkyDY= github.com/frankban/quicktest v1.14.4/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0= github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHkI4W8= github.com/frankban/quicktest v1.14.6/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0= @@ -1280,8 +1219,6 @@ github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nos github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM= github.com/fxamacker/cbor/v2 v2.7.0 h1:iM5WgngdRBanHcxugY4JySA0nk1wZorNOpTgCMedv5E= github.com/fxamacker/cbor/v2 v2.7.0/go.mod h1:pxXPTn3joSm21Gbwsv0w9OSA2y1HFR9qXEeXQVeNoDQ= -github.com/gabriel-vasile/mimetype v1.4.4 h1:QjV6pZ7/XZ7ryI2KuyeEDE8wnh7fHP9YnQy+R0LnH8I= -github.com/gabriel-vasile/mimetype v1.4.4/go.mod h1:JwLei5XPtWdGiMFB5Pjle1oEeoSeEuJfJE+TtfvdB/s= github.com/garslo/gogen v0.0.0-20170306192744-1d203ffc1f61/go.mod h1:Q0X6pkwTILDlzrGEckF6HKjXe48EgsY/l7K7vhY4MW8= github.com/gavv/httpexpect v2.0.0+incompatible/go.mod h1:x+9tiU1YnrOvnB725RkpoLv1M62hOWzwo5OXotisrKc= github.com/gballet/go-libpcsclite v0.0.0-20190607065134-2772fd86a8ff/go.mod h1:x7DCsMOv1taUwEWCzT4cmDeAkigA5/QCwUodaVOe8Ww= @@ -1344,15 +1281,11 @@ github.com/go-sourcemap/sourcemap v2.1.3+incompatible/go.mod h1:F8jJfvm2KbVjc5Nq github.com/go-sql-driver/mysql v1.4.1/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= github.com/go-stack/stack v1.8.1/go.mod h1:dcoOX6HbPZSZptuspn9bctJ+N/CnF5gGygcUP3XYfe4= -github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0 h1:p104kn46Q8WdvHunIJ9dAyjPVtrBPhSr3KT2yUst43I= github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE= -github.com/go-task/slim-sprig/v3 v3.0.0 h1:sUs3vkvUymDpBKi3qH1YSqBQk9+9D/8M2mN1vB6EwHI= -github.com/go-task/slim-sprig/v3 v3.0.0/go.mod h1:W848ghGpv3Qj3dhTPRyJypKRiqCdHZiAzKg9hl15HA8= github.com/go-webauthn/webauthn v0.11.2 h1:Fgx0/wlmkClTKlnOsdOQ+K5HcHDsDcYIvtYmfhEOSUc= github.com/go-webauthn/webauthn v0.11.2/go.mod h1:aOtudaF94pM71g3jRwTYYwQTG1KyTILTcZqN1srkmD0= github.com/go-webauthn/x v0.1.14 h1:1wrB8jzXAofojJPAaRxnZhRgagvLGnLjhCAwg3kTpT0= github.com/go-webauthn/x v0.1.14/go.mod h1:UuVvFZ8/NbOnkDz3y1NaxtUN87pmtpC1PQ+/5BBQRdc= -github.com/go-yaml/yaml v2.1.0+incompatible/go.mod h1:w2MrLa16VYP0jy6N7M5kHaCkaLENm+P+Tv+MfurjSw0= github.com/gobwas/httphead v0.0.0-20180130184737-2c6c146eadee/go.mod h1:L0fX3K22YWvt/FAX9NnzrNzcI4wNYi9Yku4O0LKYflo= github.com/gobwas/pool v0.2.0/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6WezmKEw= github.com/gobwas/ws v1.0.2/go.mod h1:szmBTxLgaFppYjEmNtny/v3w89xOydFnnZMcgRRu/EM= @@ -1362,8 +1295,6 @@ github.com/goccy/go-json v0.10.2/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MG github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 h1:ZpnhV/YsD2/4cESfV5+Hoeu/iUR3ruzNvZ+yQfO03a0= github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2/go.mod h1:bBOAhwG1umN6/6ZUMtDFBMQR8jRg9O75tm9K00oMsK4= github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= -github.com/godbus/dbus/v5 v5.1.0 h1:4KLkAxT3aOY8Li4FRJe/KvhoNFFxo0m6fNuFUO8QJUk= -github.com/godbus/dbus/v5 v5.1.0/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= github.com/gofrs/flock v0.8.1/go.mod h1:F1TvTiK9OcQqauNUHlbJvyl9Qa1QvF/gOUDKA14jxHU= github.com/gofrs/uuid v3.3.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= github.com/gofrs/uuid v4.4.0+incompatible h1:3qXRTX8/NbyulANqlc0lchS1gqAVxRgsuW1YrTJupqA= @@ -1472,8 +1403,6 @@ github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/ github.com/google/gofuzz v1.1.1-0.20200604201612-c04b05f3adfa/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0= github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/google/gopacket v1.1.19 h1:ves8RnFZPGiFnTS0uPQStjwru6uO6h+nlr9j6fL7kF8= -github.com/google/gopacket v1.1.19/go.mod h1:iJ8V8n6KS+z2U1A8pUwu8bW5SyEMkXJB8Yo/Vo+TKTo= github.com/google/martian v2.1.0+incompatible h1:/CP5g8u/VJHijgedC/Legn3BAbAaWPgecwXBIDzw5no= github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= @@ -1499,8 +1428,6 @@ github.com/google/pprof v0.0.0-20210601050228-01bbb1931b22/go.mod h1:kpwsk12EmLe github.com/google/pprof v0.0.0-20210609004039-a478d1d731e9/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20230207041349-798e818bf904/go.mod h1:uglQLonpP8qtYCYyzA+8c/9qtqgA3qsXGYqCPKARAFg= -github.com/google/pprof v0.0.0-20240727154555-813a5fbdbec8 h1:FKHo8hFI3A+7w0aUQuYXQ+6EN5stWmeY/AZqtM8xk9k= -github.com/google/pprof v0.0.0-20240727154555-813a5fbdbec8/go.mod h1:K1liHPHnj73Fdn/EKuT8nrFqBihUSKXoLYU0BuatOYo= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= github.com/google/s2a-go v0.1.0/go.mod h1:OJpEgntRZo8ugHpF9hkoLJbS5dSI20XZeXJ9JVywLlM= github.com/google/s2a-go v0.1.3/go.mod h1:Ej+mSEMGRnqRzjc7VtF+jdBwYG5fuJfiZ8ELkjEwM0A= @@ -1546,8 +1473,6 @@ github.com/googleapis/gax-go/v2 v2.12.2/go.mod h1:61M8vcyyXR2kqKFxKrfA22jaA8JGF7 github.com/googleapis/go-type-adapters v1.0.0/go.mod h1:zHW75FOG2aur7gAO2B+MLby+cLsWGBF62rFAi7WjWO4= github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= -github.com/gopherjs/gopherjs v0.0.0-20190430165422-3e4dfb77656c h1:7lF+Vz0LqiRidnzC1Oq86fpX1q/iEv2KJdrCtttYjT4= -github.com/gopherjs/gopherjs v0.0.0-20190430165422-3e4dfb77656c/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= github.com/gorilla/handlers v1.5.2 h1:cLTUSsNkgcwhgRqvCNmdbRWG0A3N4F+M2nWKdScwyEE= github.com/gorilla/handlers v1.5.2/go.mod h1:dX+xVpaxdSw+q0Qek8SSsl3dfMk3jNddUkMzo0GtH0w= github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= @@ -1567,8 +1492,6 @@ github.com/grpc-ecosystem/grpc-gateway v1.16.0 h1:gmcG1KaJ57LophUzW0Hy8NmPhnMZb4 github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.0/go.mod h1:hgWBS7lorOAVIJEQMi4ZsPv9hVvWI6+ch50m39Pf2Ks= github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3/go.mod h1:o//XUCC/F+yRGJoPO/VU0GSB0f8Nhgmxx0VIRUvaC0w= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 h1:bkypFPDjIYGfCYD5mRBvpqxfYX1YCS1PXdKYWi8FsN0= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0/go.mod h1:P+Lt/0by1T8bfcF3z737NnSbmxQAppXMRziHUxPOC8k= github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c h1:6rhixN/i8ZofjG1Y75iExal34USq5p+wiN1tpie8IrU= github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c/go.mod h1:NMPJylDgVpX0MLRlPy15sqSwOFv/U1GZ2m21JhFfek0= github.com/gtank/merlin v0.1.1 h1:eQ90iG7K9pOhtereWsmyRJ6RAwcP4tHTDBHXNg+u5is= @@ -1577,7 +1500,6 @@ github.com/guptarohit/asciigraph v0.5.5/go.mod h1:dYl5wwK4gNsnFf9Zp+l06rFiDZ5YtX github.com/hashicorp/consul/api v1.25.1/go.mod h1:iiLVwR/htV7mas/sy0O+XSuEnrdBUUydemjxcUrAt4g= github.com/hashicorp/consul/sdk v0.14.1/go.mod h1:vFt03juSzocLRFo59NkeQHHmQa6+g7oU0pfzdI1mUhg= github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= -github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I= github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/go-bexpr v0.1.10/go.mod h1:oxlubA2vC/gFVfX1A6JGp7ls7uCDlfJn732ehYYg+g0= github.com/hashicorp/go-cleanhttp v0.5.0/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= @@ -1598,7 +1520,6 @@ github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iP github.com/hashicorp/go-msgpack v0.5.5/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM= github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= github.com/hashicorp/go-multierror v1.1.0/go.mod h1:spPvp8C1qA32ftKqdAHm4hHTbPw+vmowP0z+KUhOZdA= -github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= github.com/hashicorp/go-plugin v1.5.2 h1:aWv8eimFqWlsEiMrYZdPYl+FdHaBJSN4AWwGWfT1G2Y= github.com/hashicorp/go-plugin v1.5.2/go.mod h1:w1sAEES3g3PuV/RzUrgow20W2uErMly84hhD3um1WL4= @@ -1640,15 +1561,12 @@ github.com/holiman/billy v0.0.0-20230718173358-1c7e68d277a7/go.mod h1:5GuXa7vkL8 github.com/holiman/bloomfilter/v2 v2.0.3/go.mod h1:zpoh+gs7qcpqrHr3dB55AMiJwo0iURXE7ZOP9L9hSkA= github.com/holiman/uint256 v1.2.0/go.mod h1:y4ga/t+u+Xwd7CpDgZESaRcWy0I7XMlTMA25ApIH5Jw= github.com/holiman/uint256 v1.2.3/go.mod h1:SC8Ryt4n+UBbPbIBKaG9zbbDlp4jOru9xFZmPzLUTxw= -github.com/holiman/uint256 v1.2.4 h1:jUc4Nk8fm9jZabQuqr2JzednajVmBpC+oiTiXZJEApU= -github.com/holiman/uint256 v1.2.4/go.mod h1:EOMSn4q6Nyt9P6efbI3bueV4e1b3dGlUCXeiRV4ng7E= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/huandu/go-assert v1.1.5 h1:fjemmA7sSfYHJD7CUqs9qTwwfdNAx7/j2/ZlHXzNB3c= github.com/huandu/go-assert v1.1.5/go.mod h1:yOLvuqZwmcHIC5rIzrBhT7D3Q9c3GFnd0JrPVhn/06U= github.com/huandu/skiplist v1.2.0 h1:gox56QD77HzSC0w+Ws3MH3iie755GBJU1OER3h5VsYw= github.com/huandu/skiplist v1.2.0/go.mod h1:7v3iFjLcSAzO4fN5B8dvebvo/qsfumiLiDXMrPiHF9w= github.com/huin/goupnp v1.0.3/go.mod h1:ZxNlw5WqJj6wSsRK5+YfflQGXYfccj5VgQsMNixHM7Y= -github.com/huin/goupnp v1.3.0 h1:UvLUlWDNpoUdYzb2TCn+MuTWtcjXKSza2n6CBdQ0xXc= github.com/huin/goupnp v1.3.0/go.mod h1:gnGPsThkYa7bFi/KWmEysQRf48l2dvR5bxr2OFckNX8= github.com/huin/goutil v0.0.0-20170803182201-1ca381bf3150/go.mod h1:PpLOETDnJ0o3iZrZfqZzyLl6l7F3c6L1oWn7OICBi6o= github.com/hydrogen18/memlistener v0.0.0-20141126152155-54553eb933fb/go.mod h1:qEIFzExnS6016fRpRfxrExeVn2gbClQA99gQhnIcdhE= @@ -1678,112 +1596,17 @@ github.com/influxdata/promql/v2 v2.12.0/go.mod h1:fxOPu+DY0bqCTCECchSRtWfc+0X19y github.com/influxdata/roaring v0.4.13-0.20180809181101-fc520f41fab6/go.mod h1:bSgUQ7q5ZLSO+bKBGqJiCBGAl+9DxyW63zLTujjUlOE= github.com/influxdata/tdigest v0.0.0-20181121200506-bf2b5ad3c0a9/go.mod h1:Js0mqiSBE6Ffsg94weZZ2c+v/ciT8QRHFOap7EKDrR0= github.com/influxdata/usage-client v0.0.0-20160829180054-6d3895376368/go.mod h1:Wbbw6tYNvwa5dlB6304Sd+82Z3f7PmVZHVKU637d4po= -github.com/ipfs-shipyard/nopfs v0.0.12 h1:mvwaoefDF5VI9jyvgWCmaoTJIJFAfrbyQV5fJz35hlk= -github.com/ipfs-shipyard/nopfs v0.0.12/go.mod h1:mQyd0BElYI2gB/kq/Oue97obP4B3os4eBmgfPZ+hnrE= -github.com/ipfs-shipyard/nopfs/ipfs v0.13.2-0.20231027223058-cde3b5ba964c h1:7UynTbtdlt+w08ggb1UGLGaGjp1mMaZhoTZSctpn5Ak= -github.com/ipfs-shipyard/nopfs/ipfs v0.13.2-0.20231027223058-cde3b5ba964c/go.mod h1:6EekK/jo+TynwSE/ZOiOJd4eEvRXoavEC3vquKtv4yI= -github.com/ipfs/bbloom v0.0.4 h1:Gi+8EGJ2y5qiD5FbsbpX/TMNcJw8gSqr7eyjHa4Fhvs= -github.com/ipfs/bbloom v0.0.4/go.mod h1:cS9YprKXpoZ9lT0n/Mw/a6/aFV6DTjTLYHeA+gyqMG0= github.com/ipfs/boxo v0.24.0 h1:D9gTU3QdxyjPMlJ6QfqhHTG3TIJPplKzjXLO2J30h9U= github.com/ipfs/boxo v0.24.0/go.mod h1:iP7xUPpHq2QAmVAjwtQvsNBTxTwLpFuy6ZpiRFwmzDA= -github.com/ipfs/go-bitfield v1.1.0 h1:fh7FIo8bSwaJEh6DdTWbCeZ1eqOaOkKFI74SCnsWbGA= -github.com/ipfs/go-bitfield v1.1.0/go.mod h1:paqf1wjq/D2BBmzfTVFlJQ9IlFOZpg422HL0HqsGWHU= -github.com/ipfs/go-block-format v0.2.0 h1:ZqrkxBA2ICbDRbK8KJs/u0O3dlp6gmAuuXUJNiW1Ycs= -github.com/ipfs/go-block-format v0.2.0/go.mod h1:+jpL11nFx5A/SPpsoBn6Bzkra/zaArfSmsknbPMYgzM= -github.com/ipfs/go-blockservice v0.5.2 h1:in9Bc+QcXwd1apOVM7Un9t8tixPKdaHQFdLSUM1Xgk8= -github.com/ipfs/go-blockservice v0.5.2/go.mod h1:VpMblFEqG67A/H2sHKAemeH9vlURVavlysbdUI632yk= github.com/ipfs/go-cid v0.0.7/go.mod h1:6Ux9z5e+HpkQdckYoX1PG/6xqKspzlEIR5SDmgqgC/I= github.com/ipfs/go-cid v0.4.1 h1:A/T3qGvxi4kpKWWcPC/PgbvDA2bjVLO7n4UeVwnbs/s= github.com/ipfs/go-cid v0.4.1/go.mod h1:uQHwDeX4c6CtyrFwdqyhpNcxVewur1M7l7fNU7LKwZk= -github.com/ipfs/go-cidutil v0.1.0 h1:RW5hO7Vcf16dplUU60Hs0AKDkQAVPVplr7lk97CFL+Q= -github.com/ipfs/go-cidutil v0.1.0/go.mod h1:e7OEVBMIv9JaOxt9zaGEmAoSlXW9jdFZ5lP/0PwcfpA= -github.com/ipfs/go-datastore v0.5.0/go.mod h1:9zhEApYMTl17C8YDp7JmU7sQZi2/wqiYh73hakZ90Bk= -github.com/ipfs/go-datastore v0.6.0 h1:JKyz+Gvz1QEZw0LsX1IBn+JFCJQH4SJVFtM4uWU0Myk= -github.com/ipfs/go-datastore v0.6.0/go.mod h1:rt5M3nNbSO/8q1t4LNkLyUwRs8HupMeN/8O4Vn9YAT8= -github.com/ipfs/go-detect-race v0.0.1 h1:qX/xay2W3E4Q1U7d9lNs1sU9nvguX0a7319XbyQ6cOk= -github.com/ipfs/go-detect-race v0.0.1/go.mod h1:8BNT7shDZPo99Q74BpGMK+4D8Mn4j46UU0LZ723meps= -github.com/ipfs/go-ds-badger v0.3.0 h1:xREL3V0EH9S219kFFueOYJJTcjgNSZ2HY1iSvN7U1Ro= -github.com/ipfs/go-ds-badger v0.3.0/go.mod h1:1ke6mXNqeV8K3y5Ak2bAA0osoTfmxUdupVCGm4QUIek= -github.com/ipfs/go-ds-flatfs v0.5.1 h1:ZCIO/kQOS/PSh3vcF1H6a8fkRGS7pOfwfPdx4n/KJH4= -github.com/ipfs/go-ds-flatfs v0.5.1/go.mod h1:RWTV7oZD/yZYBKdbVIFXTX2fdY2Tbvl94NsWqmoyAX4= -github.com/ipfs/go-ds-leveldb v0.5.0 h1:s++MEBbD3ZKc9/8/njrn4flZLnCuY9I79v94gBUNumo= -github.com/ipfs/go-ds-leveldb v0.5.0/go.mod h1:d3XG9RUDzQ6V4SHi8+Xgj9j1XuEk1z82lquxrVbml/Q= -github.com/ipfs/go-ds-measure v0.2.0 h1:sG4goQe0KDTccHMyT45CY1XyUbxe5VwTKpg2LjApYyQ= -github.com/ipfs/go-ds-measure v0.2.0/go.mod h1:SEUD/rE2PwRa4IQEC5FuNAmjJCyYObZr9UvVh8V3JxE= -github.com/ipfs/go-ds-pebble v0.4.0 h1:88lgFAs2ck8jCQ8lMYRBtksEg18r9BlvTxIMnNJkZaQ= -github.com/ipfs/go-ds-pebble v0.4.0/go.mod h1:ZyYU+weIni+4NG/Yjva+cPkU3ghlsU1HA2R/VLHJ9sM= -github.com/ipfs/go-fs-lock v0.0.7 h1:6BR3dajORFrFTkb5EpCUFIAypsoxpGpDSVUdFwzgL9U= -github.com/ipfs/go-fs-lock v0.0.7/go.mod h1:Js8ka+FNYmgQRLrRXzU3CB/+Csr1BwrRilEcvYrHhhc= -github.com/ipfs/go-ipfs-blockstore v1.3.1 h1:cEI9ci7V0sRNivqaOr0elDsamxXFxJMMMy7PTTDQNsQ= -github.com/ipfs/go-ipfs-blockstore v1.3.1/go.mod h1:KgtZyc9fq+P2xJUiCAzbRdhhqJHvsw8u2Dlqy2MyRTE= -github.com/ipfs/go-ipfs-cmds v0.13.0 h1:+WVHZMrQNkPqwAQdrSFGbJgHpOc8H2G8eszNxnvoCQA= -github.com/ipfs/go-ipfs-cmds v0.13.0/go.mod h1:GYqjGSt6u9k9tyxIDT7M0ROWeB2raPGH94uuVnpWgY0= -github.com/ipfs/go-ipfs-delay v0.0.0-20181109222059-70721b86a9a8/go.mod h1:8SP1YXK1M1kXuc4KJZINY3TQQ03J2rwBG9QfXmbRPrw= -github.com/ipfs/go-ipfs-delay v0.0.1 h1:r/UXYyRcddO6thwOnhiznIAiSvxMECGgtv35Xs1IeRQ= -github.com/ipfs/go-ipfs-delay v0.0.1/go.mod h1:8SP1YXK1M1kXuc4KJZINY3TQQ03J2rwBG9QfXmbRPrw= -github.com/ipfs/go-ipfs-ds-help v1.1.1 h1:B5UJOH52IbcfS56+Ul+sv8jnIV10lbjLF5eOO0C66Nw= -github.com/ipfs/go-ipfs-ds-help v1.1.1/go.mod h1:75vrVCkSdSFidJscs8n4W+77AtTpCIAdDGAwjitJMIo= -github.com/ipfs/go-ipfs-exchange-interface v0.2.1 h1:jMzo2VhLKSHbVe+mHNzYgs95n0+t0Q69GQ5WhRDZV/s= -github.com/ipfs/go-ipfs-exchange-interface v0.2.1/go.mod h1:MUsYn6rKbG6CTtsDp+lKJPmVt3ZrCViNyH3rfPGsZ2E= -github.com/ipfs/go-ipfs-exchange-offline v0.3.0 h1:c/Dg8GDPzixGd0MC8Jh6mjOwU57uYokgWRFidfvEkuA= -github.com/ipfs/go-ipfs-exchange-offline v0.3.0/go.mod h1:MOdJ9DChbb5u37M1IcbrRB02e++Z7521fMxqCNRrz9s= -github.com/ipfs/go-ipfs-pq v0.0.3 h1:YpoHVJB+jzK15mr/xsWC574tyDLkezVrDNeaalQBsTE= -github.com/ipfs/go-ipfs-pq v0.0.3/go.mod h1:btNw5hsHBpRcSSgZtiNm/SLj5gYIZ18AKtv3kERkRb4= -github.com/ipfs/go-ipfs-redirects-file v0.1.1 h1:Io++k0Vf/wK+tfnhEh63Yte1oQK5VGT2hIEYpD0Rzx8= -github.com/ipfs/go-ipfs-redirects-file v0.1.1/go.mod h1:tAwRjCV0RjLTjH8DR/AU7VYvfQECg+lpUy2Mdzv7gyk= -github.com/ipfs/go-ipfs-util v0.0.2/go.mod h1:CbPtkWJzjLdEcezDns2XYaehFVNXG9zrdrtMecczcsQ= -github.com/ipfs/go-ipfs-util v0.0.3 h1:2RFdGez6bu2ZlZdI+rWfIdbQb1KudQp3VGwPtdNCmE0= -github.com/ipfs/go-ipfs-util v0.0.3/go.mod h1:LHzG1a0Ig4G+iZ26UUOMjHd+lfM84LZCrn17xAKWBvs= -github.com/ipfs/go-ipld-cbor v0.2.0 h1:VHIW3HVIjcMd8m4ZLZbrYpwjzqlVUfjLM7oK4T5/YF0= -github.com/ipfs/go-ipld-cbor v0.2.0/go.mod h1:Cp8T7w1NKcu4AQJLqK0tWpd1nkgTxEVB5C6kVpLW6/0= -github.com/ipfs/go-ipld-format v0.6.0 h1:VEJlA2kQ3LqFSIm5Vu6eIlSxD/Ze90xtc4Meten1F5U= -github.com/ipfs/go-ipld-format v0.6.0/go.mod h1:g4QVMTn3marU3qXchwjpKPKgJv+zF+OlaKMyhJ4LHPg= -github.com/ipfs/go-ipld-git v0.1.1 h1:TWGnZjS0htmEmlMFEkA3ogrNCqWjIxwr16x1OsdhG+Y= -github.com/ipfs/go-ipld-git v0.1.1/go.mod h1:+VyMqF5lMcJh4rwEppV0e6g4nCCHXThLYYDpKUkJubI= -github.com/ipfs/go-ipld-legacy v0.2.1 h1:mDFtrBpmU7b//LzLSypVrXsD8QxkEWxu5qVxN99/+tk= -github.com/ipfs/go-ipld-legacy v0.2.1/go.mod h1:782MOUghNzMO2DER0FlBR94mllfdCJCkTtDtPM51otM= -github.com/ipfs/go-log v1.0.5 h1:2dOuUCB1Z7uoczMWgAyDck5JLb72zHzrMnGnCNNbvY8= -github.com/ipfs/go-log v1.0.5/go.mod h1:j0b8ZoR+7+R99LD9jZ6+AJsrzkPbSXbZfGakb5JPtIo= -github.com/ipfs/go-log/v2 v2.1.3/go.mod h1:/8d0SH3Su5Ooc31QlL1WysJhvyOTDCjcCZ9Axpmri6g= -github.com/ipfs/go-log/v2 v2.3.0/go.mod h1:QqGoj30OTpnKaG/LKTGTxoP2mmQtjVMEnK72gynbe/g= -github.com/ipfs/go-log/v2 v2.5.1 h1:1XdUzF7048prq4aBjDQQ4SL5RxftpRGdXhNRwKSAlcY= -github.com/ipfs/go-log/v2 v2.5.1/go.mod h1:prSpmC1Gpllc9UYWxDiZDreBYw7zp4Iqp1kOLU9U5UI= -github.com/ipfs/go-merkledag v0.11.0 h1:DgzwK5hprESOzS4O1t/wi6JDpyVQdvm9Bs59N/jqfBY= -github.com/ipfs/go-merkledag v0.11.0/go.mod h1:Q4f/1ezvBiJV0YCIXvt51W/9/kqJGH4I1LsA7+djsM4= -github.com/ipfs/go-metrics-interface v0.0.1 h1:j+cpbjYvu4R8zbleSs36gvB7jR+wsL2fGD6n0jO4kdg= -github.com/ipfs/go-metrics-interface v0.0.1/go.mod h1:6s6euYU4zowdslK0GKHmqaIZ3j/b/tL7HTWtJ4VPgWY= -github.com/ipfs/go-peertaskqueue v0.8.1 h1:YhxAs1+wxb5jk7RvS0LHdyiILpNmRIRnZVztekOF0pg= -github.com/ipfs/go-peertaskqueue v0.8.1/go.mod h1:Oxxd3eaK279FxeydSPPVGHzbwVeHjatZ2GA8XD+KbPU= -github.com/ipfs/go-test v0.0.4 h1:DKT66T6GBB6PsDFLoO56QZPrOmzJkqU1FZH5C9ySkew= -github.com/ipfs/go-test v0.0.4/go.mod h1:qhIM1EluEfElKKM6fnWxGn822/z9knUGM1+I/OAQNKI= -github.com/ipfs/go-unixfs v0.4.5 h1:wj8JhxvV1G6CD7swACwSKYa+NgtdWC1RUit+gFnymDU= -github.com/ipfs/go-unixfs v0.4.5/go.mod h1:BIznJNvt/gEx/ooRMI4Us9K8+qeGO7vx1ohnbk8gjFg= -github.com/ipfs/go-unixfsnode v1.9.1 h1:2cdSIDQCt7emNhlyUqUFQnKo2XvecARoIcurIKFjPD8= -github.com/ipfs/go-unixfsnode v1.9.1/go.mod h1:u8WxhmXzyrq3xfSYkhfx+uI+n91O+0L7KFjq3TS7d6g= -github.com/ipfs/go-verifcid v0.0.3 h1:gmRKccqhWDocCRkC+a59g5QW7uJw5bpX9HWBevXa0zs= -github.com/ipfs/go-verifcid v0.0.3/go.mod h1:gcCtGniVzelKrbk9ooUSX/pM3xlH73fZZJDzQJRvOUw= -github.com/ipfs/kubo v0.31.0 h1:as8MrXyYN0G6YfcipeTmiJaiUNvJLlAsgQ/KIwo8SEY= -github.com/ipfs/kubo v0.31.0/go.mod h1:7rsi1jvjqjFVxccKAtNf9c/lwk2GbR1p9PaKwQ/HoyA= -github.com/ipld/go-car v0.6.2 h1:Hlnl3Awgnq8icK+ze3iRghk805lu8YNq3wlREDTF2qc= -github.com/ipld/go-car v0.6.2/go.mod h1:oEGXdwp6bmxJCZ+rARSkDliTeYnVzv3++eXajZ+Bmr8= -github.com/ipld/go-car/v2 v2.14.2 h1:9ERr7KXpCC7If0rChZLhYDlyr6Bes6yRKPJnCO3hdHY= -github.com/ipld/go-car/v2 v2.14.2/go.mod h1:0iPB/825lTZLU2zPK5bVTk/R3V2612E1VI279OGSXWA= -github.com/ipld/go-codec-dagpb v1.6.0 h1:9nYazfyu9B1p3NAgfVdpRco3Fs2nFC72DqVsMj6rOcc= -github.com/ipld/go-codec-dagpb v1.6.0/go.mod h1:ANzFhfP2uMJxRBr8CE+WQWs5UsNa0pYtmKZ+agnUw9s= -github.com/ipld/go-ipld-prime v0.21.0 h1:n4JmcpOlPDIxBcY037SVfpd1G+Sj1nKZah0m6QH9C2E= -github.com/ipld/go-ipld-prime v0.21.0/go.mod h1:3RLqy//ERg/y5oShXXdx5YIp50cFGOanyMctpPjsvxQ= -github.com/ipld/go-ipld-prime/storage/bsadapter v0.0.0-20230102063945-1a409dc236dd h1:gMlw/MhNr2Wtp5RwGdsW23cs+yCuj9k2ON7i9MiJlRo= -github.com/ipld/go-ipld-prime/storage/bsadapter v0.0.0-20230102063945-1a409dc236dd/go.mod h1:wZ8hH8UxeryOs4kJEJaiui/s00hDSbE37OKsL47g+Sw= github.com/iris-contrib/blackfriday v2.0.0+incompatible/go.mod h1:UzZ2bDEoaSGPbkg6SAB4att1aAwTmVIx/5gCVqeyUdI= github.com/iris-contrib/go.uuid v2.0.0+incompatible/go.mod h1:iz2lgM/1UnEf1kP0L/+fafWORmlnuysV2EMP8MW+qe0= github.com/iris-contrib/i18n v0.0.0-20171121225848-987a633949d0/go.mod h1:pMCz62A0xJL6I+umB2YTlFRwWXaDFA0jy+5HzGiJjqI= github.com/iris-contrib/schema v0.0.1/go.mod h1:urYA3uvUNG1TIIjOSCzHr9/LmbQo8LrOcOqfqxa4hXw= -github.com/jackpal/go-nat-pmp v1.0.2 h1:KzKSgb7qkJvOUTqYl9/Hg/me3pWgBmERKrTGD7BdWus= github.com/jackpal/go-nat-pmp v1.0.2/go.mod h1:QPH045xvCAeXUZOxsnwmrtiCoxIr9eob+4orBN1SBKc= github.com/jbenet/go-cienv v0.1.0/go.mod h1:TqNnHUmJgXau0nCzC7kXWeotg3J9W34CUv5Djy1+FlA= -github.com/jbenet/go-temp-err-catcher v0.1.0 h1:zpb3ZH6wIE8Shj2sKS+khgRvf7T7RABoLk/+KKHggpk= -github.com/jbenet/go-temp-err-catcher v0.1.0/go.mod h1:0kJRvmDZXNMIiJirNPEYfhpPwbGVtZVWC34vc5WLsDk= -github.com/jbenet/goprocess v0.1.4 h1:DRGOFReOMqqDNXwW70QkacFW0YN9QnwLV0Vqk+3oU0o= github.com/jbenet/goprocess v0.1.4/go.mod h1:5yspPrukOVuOLORacaBi858NqyClJPQxYZlqdZVfqY4= github.com/jedisct1/go-minisign v0.0.0-20190909160543-45766022959e/go.mod h1:G1CVv03EnqU1wYL2dFwXxW2An0az9JTl/ZsqXQeBlkU= github.com/jedisct1/go-minisign v0.0.0-20230811132847-661be99b8267/go.mod h1:h1nSAbGFqGVzn6Jyl1R/iCcBUHN4g+gW1u9CoBTrb9E= @@ -1806,7 +1629,6 @@ github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHm github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= github.com/jsternberg/zap-logfmt v1.0.0/go.mod h1:uvPs/4X51zdkcm5jXl5SYoN+4RK21K8mysFmDaM/h+o= -github.com/jtolds/gls v4.20.0+incompatible h1:xdiiI2gbIgH/gLH7ADydsJ1uDOEzR8yvV7C0MuV77Wo= github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= github.com/juju/errors v0.0.0-20181118221551-089d3ea4e4d5/go.mod h1:W54LbzXuIE0boCoNJfwqpmkKJ1O4TCTZMetAt6jGk7Q= github.com/juju/loggo v0.0.0-20180524022052-584905176618/go.mod h1:vgyd7OREkbtVEN/8IXZe5Ooef3LQePvuBm9UWj6ZL8U= @@ -1849,12 +1671,9 @@ github.com/klauspost/cpuid/v2 v2.2.8/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZY github.com/klauspost/crc32 v0.0.0-20161016154125-cb6bfca970f6/go.mod h1:+ZoRqAPRLkC4NPOvfYeR5KNOrY6TD+/sAC3HXPZgDYg= github.com/klauspost/pgzip v1.0.2-0.20170402124221-0bf5dcad4ada/go.mod h1:Ch1tH69qFZu15pkjo5kYi6mth2Zzwzt50oCQKQE9RUs= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -github.com/koron/go-ssdp v0.0.4 h1:1IDwrghSKYM7yLf7XCzbByg2sJ/JcNOZRXS2jczTwz0= -github.com/koron/go-ssdp v0.0.4/go.mod h1:oDXq+E5IL5q0U8uSBcoAXzTzInwy5lEgC91HoKtbmZk= github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= -github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk= github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= @@ -1881,55 +1700,17 @@ github.com/lib/pq v1.10.7/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= github.com/libp2p/go-buffer-pool v0.0.2/go.mod h1:MvaB6xw5vOrDl8rYZGLFdKAuk/hRoRZd1Vi32+RXyFM= github.com/libp2p/go-buffer-pool v0.1.0 h1:oK4mSFcQz7cTQIfqbe4MIj9gLW+mnanjyFtc6cdF0Y8= github.com/libp2p/go-buffer-pool v0.1.0/go.mod h1:N+vh8gMqimBzdKkSMVuydVDq+UV5QTWy5HSiZacSbPg= -github.com/libp2p/go-cidranger v1.1.0 h1:ewPN8EZ0dd1LSnrtuwd4709PXVcITVeuwbag38yPW7c= -github.com/libp2p/go-cidranger v1.1.0/go.mod h1:KWZTfSr+r9qEo9OkI9/SIEeAtw+NNoU0dXIXt15Okic= -github.com/libp2p/go-doh-resolver v0.4.0 h1:gUBa1f1XsPwtpE1du0O+nnZCUqtG7oYi7Bb+0S7FQqw= -github.com/libp2p/go-doh-resolver v0.4.0/go.mod h1:v1/jwsFusgsWIGX/c6vCRrnJ60x7bhTiq/fs2qt0cAg= github.com/libp2p/go-flow-metrics v0.0.3/go.mod h1:HeoSNUrOJVK1jEpDqVEiUOIXqhbnS27omG0uWU5slZs= -github.com/libp2p/go-flow-metrics v0.1.0 h1:0iPhMI8PskQwzh57jB9WxIuIOQ0r+15PChFGkx3Q3WM= -github.com/libp2p/go-flow-metrics v0.1.0/go.mod h1:4Xi8MX8wj5aWNDAZttg6UPmc0ZrnFNsMtpsYUClFtro= github.com/libp2p/go-libp2p v0.36.5 h1:DoABsaHO0VXwH6pwCs2F6XKAXWYjFMO4HFBoVxTnF9g= github.com/libp2p/go-libp2p v0.36.5/go.mod h1:CpszAtXxHYOcyvB7K8rSHgnNlh21eKjYbEfLoMerbEI= -github.com/libp2p/go-libp2p-asn-util v0.4.1 h1:xqL7++IKD9TBFMgnLPZR6/6iYhawHKHl950SO9L6n94= -github.com/libp2p/go-libp2p-asn-util v0.4.1/go.mod h1:d/NI6XZ9qxw67b4e+NgpQexCIiFYJjErASrYW4PFDN8= github.com/libp2p/go-libp2p-core v0.7.0 h1:4a0TMjrWNTZlNvcqxZmrMRDi/NQWrhwO2pkTuLSQ/IQ= github.com/libp2p/go-libp2p-core v0.7.0/go.mod h1:FfewUH/YpvWbEB+ZY9AQRQ4TAD8sJBt/G1rVvhz5XT8= -github.com/libp2p/go-libp2p-kad-dht v0.26.1 h1:AazV3LCImYVkDUGAHx5lIEgZ9iUI2QQKH5GMRQU8uEA= -github.com/libp2p/go-libp2p-kad-dht v0.26.1/go.mod h1:mqRUGJ/+7ziQ3XknU2kKHfsbbgb9xL65DXjPOJwmZF8= -github.com/libp2p/go-libp2p-kbucket v0.6.4 h1:OjfiYxU42TKQSB8t8WYd8MKhYhMJeO2If+NiuKfb6iQ= -github.com/libp2p/go-libp2p-kbucket v0.6.4/go.mod h1:jp6w82sczYaBsAypt5ayACcRJi0lgsba7o4TzJKEfWA= -github.com/libp2p/go-libp2p-pubsub v0.11.0 h1:+JvS8Kty0OiyUiN0i8H5JbaCgjnJTRnTHe4rU88dLFc= -github.com/libp2p/go-libp2p-pubsub v0.11.0/go.mod h1:QEb+hEV9WL9wCiUAnpY29FZR6W3zK8qYlaml8R4q6gQ= -github.com/libp2p/go-libp2p-pubsub-router v0.6.0 h1:D30iKdlqDt5ZmLEYhHELCMRj8b4sFAqrUcshIUvVP/s= -github.com/libp2p/go-libp2p-pubsub-router v0.6.0/go.mod h1:FY/q0/RBTKsLA7l4vqC2cbRbOvyDotg8PJQ7j8FDudE= -github.com/libp2p/go-libp2p-record v0.2.0 h1:oiNUOCWno2BFuxt3my4i1frNrt7PerzB3queqa1NkQ0= -github.com/libp2p/go-libp2p-record v0.2.0/go.mod h1:I+3zMkvvg5m2OcSdoL0KPljyJyvNDFGKX7QdlpYUcwk= -github.com/libp2p/go-libp2p-routing-helpers v0.7.4 h1:6LqS1Bzn5CfDJ4tzvP9uwh42IB7TJLNFJA6dEeGBv84= -github.com/libp2p/go-libp2p-routing-helpers v0.7.4/go.mod h1:we5WDj9tbolBXOuF1hGOkR+r7Uh1408tQbAKaT5n1LE= -github.com/libp2p/go-libp2p-testing v0.12.0 h1:EPvBb4kKMWO29qP4mZGyhVzUyR25dvfUIK5WDu6iPUA= -github.com/libp2p/go-libp2p-testing v0.12.0/go.mod h1:KcGDRXyN7sQCllucn1cOOS+Dmm7ujhfEyXQL5lvkcPg= -github.com/libp2p/go-libp2p-xor v0.1.0 h1:hhQwT4uGrBcuAkUGXADuPltalOdpf9aag9kaYNT2tLA= -github.com/libp2p/go-libp2p-xor v0.1.0/go.mod h1:LSTM5yRnjGZbWNTA/hRwq2gGFrvRIbQJscoIL/u6InY= github.com/libp2p/go-msgio v0.0.6/go.mod h1:4ecVB6d9f4BDSL5fqvPiC4A3KivjWn+Venn/1ALLMWA= -github.com/libp2p/go-msgio v0.3.0 h1:mf3Z8B1xcFN314sWX+2vOTShIE0Mmn2TXn3YCUQGNj0= -github.com/libp2p/go-msgio v0.3.0/go.mod h1:nyRM819GmVaF9LX3l03RMh10QdOroF++NBbxAb0mmDM= -github.com/libp2p/go-nat v0.2.0 h1:Tyz+bUFAYqGyJ/ppPPymMGbIgNRH+WqC5QrT5fKrrGk= -github.com/libp2p/go-nat v0.2.0/go.mod h1:3MJr+GRpRkyT65EpVPBstXLvOlAPzUVlG6Pwg9ohLJk= -github.com/libp2p/go-netroute v0.2.1 h1:V8kVrpD8GK0Riv15/7VN6RbUQ3URNZVosw7H2v9tksU= -github.com/libp2p/go-netroute v0.2.1/go.mod h1:hraioZr0fhBjG0ZRXJJ6Zj2IVEVNx6tDTFQfSmcq7mQ= github.com/libp2p/go-openssl v0.0.7/go.mod h1:unDrJpgy3oFr+rqXsarWifmJuNnJR4chtO1HmaZjggc= github.com/libp2p/go-openssl v0.1.0 h1:LBkKEcUv6vtZIQLVTegAil8jbNpJErQ9AnT+bWV+Ooo= github.com/libp2p/go-openssl v0.1.0/go.mod h1:OiOxwPpL3n4xlenjx2h7AwSGaFSC/KZvf6gNdOBQMtc= -github.com/libp2p/go-reuseport v0.4.0 h1:nR5KU7hD0WxXCJbmw7r2rhRYruNRl2koHw8fQscQm2s= -github.com/libp2p/go-reuseport v0.4.0/go.mod h1:ZtI03j/wO5hZVDFo2jKywN6bYKWLOy8Se6DrI2E1cLU= -github.com/libp2p/go-yamux/v4 v4.0.1 h1:FfDR4S1wj6Bw2Pqbc8Uz7pCxeRBPbwsBbEdfwiCypkQ= -github.com/libp2p/go-yamux/v4 v4.0.1/go.mod h1:NWjl8ZTLOGlozrXSOZ/HlfG++39iKNnM5wwmtQP1YB4= -github.com/libp2p/zeroconf/v2 v2.2.0 h1:Cup06Jv6u81HLhIj1KasuNM/RHHrJ8T7wOTS4+Tv53Q= -github.com/libp2p/zeroconf/v2 v2.2.0/go.mod h1:fuJqLnUwZTshS3U/bMRJ3+ow/v9oid1n0DmyYyNO1Xs= github.com/linxGnu/grocksdb v1.8.14 h1:HTgyYalNwBSG/1qCQUIott44wU5b2Y9Kr3z7SK5OfGQ= github.com/linxGnu/grocksdb v1.8.14/go.mod h1:QYiYypR2d4v63Wj1adOOfzglnoII0gLj3PNh4fZkcFA= -github.com/lucasb-eyer/go-colorful v1.2.0 h1:1nnpGOrhyZZuNyfu1QjKiUICQ74+3FNCN69Aj6K7nkY= -github.com/lucasb-eyer/go-colorful v1.2.0/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0= github.com/lyft/protoc-gen-star v0.6.0/go.mod h1:TGAoBVkt8w7MPG72TrKIu85MIdXwDuzJYeZuUPFPNwA= github.com/lyft/protoc-gen-star v0.6.1/go.mod h1:TGAoBVkt8w7MPG72TrKIu85MIdXwDuzJYeZuUPFPNwA= github.com/lyft/protoc-gen-star/v2 v2.0.1/go.mod h1:RcCdONR2ScXaYnQC5tUzxzlpA3WVYF7/opLeUgcQs/o= @@ -1940,8 +1721,6 @@ github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/manifoldco/promptui v0.9.0 h1:3V4HzJk1TtXW1MTZMP7mdlwbBpIinw3HztaIlYthEiA= github.com/manifoldco/promptui v0.9.0/go.mod h1:ka04sppxSGFAtxX0qhlYQjISsg9mR4GWtQEhdbn6Pgg= -github.com/marten-seemann/tcp v0.0.0-20210406111302-dfbc87cc63fd h1:br0buuQ854V8u83wA0rVZ8ttrq5CpaPZdvrK0LP2lOk= -github.com/marten-seemann/tcp v0.0.0-20210406111302-dfbc87cc63fd/go.mod h1:QuCEs1Nt24+FYQEqAAncTDPJIuGs+LxK1MCiFL25pMU= github.com/matryer/moq v0.0.0-20190312154309-6cfb0558e1bd/go.mod h1:9ELz6aaclSIGnZBoaSLZ3NAl1VTufbOrXBPvtcy6WiQ= github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= @@ -1961,23 +1740,18 @@ github.com/mattn/go-isatty v0.0.9/go.mod h1:YNRxwqDuOph6SZLI9vUUz6OYw3QyUt7WiY2y github.com/mattn/go-isatty v0.0.10/go.mod h1:qgIWMr58cqv1PHHyhnkY9lrL7etaEgOFcMEpPG5Rm84= github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE= github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= -github.com/mattn/go-isatty v0.0.13/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= github.com/mattn/go-isatty v0.0.17/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= -github.com/mattn/go-localereader v0.0.1 h1:ygSAOl7ZXTx4RdPYinUpg6W99U8jWvWi9Ye2JC/oIi4= -github.com/mattn/go-localereader v0.0.1/go.mod h1:8fBrzywKY7BI3czFoHkuzRoWE9C+EiG4R1k4Cjx5p88= github.com/mattn/go-pointer v0.0.1 h1:n+XhsuGeVO6MEAp7xyEukFINEa+Quek5psIR/ylA6o0= github.com/mattn/go-pointer v0.0.1/go.mod h1:2zXcozF6qYGgmsG+SeTZz3oAbFLdD3OWqnUbNvJZAlc= github.com/mattn/go-runewidth v0.0.3/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= github.com/mattn/go-runewidth v0.0.13/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= -github.com/mattn/go-runewidth v0.0.16 h1:E5ScNMtiwvlvB5paMFdw9p4kSQzbXFikJ5SQO6TULQc= -github.com/mattn/go-runewidth v0.0.16/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= github.com/mattn/go-sqlite3 v1.11.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc= github.com/mattn/go-sqlite3 v1.14.5/go.mod h1:WVKg1VTActs4Qso6iwGbiFih2UIHo0ENGwNd0Lj+XmI= github.com/mattn/go-sqlite3 v1.14.14/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU= @@ -1992,12 +1766,6 @@ github.com/mediocregopher/radix/v3 v3.3.0/go.mod h1:EmfVyvspXz1uZEyPBMyGK+kjWiKQ github.com/microcosm-cc/bluemonday v1.0.2/go.mod h1:iVP4YcDBq+n/5fb23BhYFvIMq/leAFZyRl6bYmGDlGc= github.com/miekg/dns v1.1.26/go.mod h1:bPDLeHnStXmXAq1m/Ch/hvfNHr14JKNPMBo3VZKjuso= github.com/miekg/dns v1.1.41/go.mod h1:p6aan82bvRIyn+zDIv9xYNUpwa73JcSh9BKwknJysuI= -github.com/miekg/dns v1.1.61 h1:nLxbwF3XxhwVSm8g9Dghm9MHPaUZuqhPiGL+675ZmEs= -github.com/miekg/dns v1.1.61/go.mod h1:mnAarhS3nWaW+NVP2wTkYVIZyHNJ098SJZUki3eykwQ= -github.com/mikioh/tcpinfo v0.0.0-20190314235526-30a79bb1804b h1:z78hV3sbSMAUoyUMM0I83AUIT6Hu17AWfgjzIbtrYFc= -github.com/mikioh/tcpinfo v0.0.0-20190314235526-30a79bb1804b/go.mod h1:lxPUiZwKoFL8DUUmalo2yJJUCxbPKtm8OKfqr2/FTNU= -github.com/mikioh/tcpopt v0.0.0-20190314235656-172688c1accc h1:PTfri+PuQmWDqERdnNMiD9ZejrlswWrCpBEZgWOiTrc= -github.com/mikioh/tcpopt v0.0.0-20190314235656-172688c1accc/go.mod h1:cGKTAVKx4SxOuR/czcZ/E2RSJ3sfHs8FpHhQ5CWMf9s= github.com/mimoo/StrobeGo v0.0.0-20181016162300-f8f6d4d2b643 h1:hLDRPB66XQT/8+wG9WsDpiCvZf1yKO7sz7scAjSlBa0= github.com/mimoo/StrobeGo v0.0.0-20181016162300-f8f6d4d2b643/go.mod h1:43+3pMjjKimDBf5Kr4ZFNGbLql1zKkbImw+fZbw3geM= github.com/minio/asm2plan9s v0.0.0-20200509001527-cdd76441f9d8/go.mod h1:mC1jAcsrzbxHt8iiaC+zU4b1ylILSosueou12R++wfY= @@ -2016,8 +1784,6 @@ github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrk github.com/mitchellh/go-testing-interface v1.14.1 h1:jrgshOhYAUVNMAJiKbEu7EqAwgJJ2JqpQmpLJOu07cU= github.com/mitchellh/go-testing-interface v1.14.1/go.mod h1:gfgS7OtZj6MA4U1UrDRp04twqAjfvlZyCfX3sDjEym8= github.com/mitchellh/go-wordwrap v1.0.0/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo= -github.com/mitchellh/hashstructure/v2 v2.0.2 h1:vGKWl0YJqUNxE8d+h8f6NJLcCJrgbhC4NcD46KavDd4= -github.com/mitchellh/hashstructure/v2 v2.0.2/go.mod h1:MG3aRVU/N29oo/V/IhBX8GR/zz4kQkprJgF2EVszyDE= github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/mitchellh/mapstructure v1.4.1/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= @@ -2042,12 +1808,6 @@ github.com/mr-tron/base58 v1.2.0/go.mod h1:BinMc/sQntlIE1frQmRFPUoPA1Zkr8VRgBdjW github.com/mschoch/smat v0.0.0-20160514031455-90eadee771ae/go.mod h1:qAyveg+e4CE+eKJXWVjKXM4ck2QobLqTDytGJbLLhJg= github.com/mtibben/percent v0.2.1 h1:5gssi8Nqo8QU/r2pynCm+hBQHpkB/uNK7BJCFogWdzs= github.com/mtibben/percent v0.2.1/go.mod h1:KG9uO+SZkUp+VkRHsCdYQV3XSZrrSpR3O9ibNBTZrns= -github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 h1:ZK8zHtRHOkbHy6Mmr5D264iyp3TiX5OmNcI5cIARiQI= -github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6/go.mod h1:CJlz5H+gyd6CUWT45Oy4q24RdLyn7Md9Vj2/ldJBSIo= -github.com/muesli/cancelreader v0.2.2 h1:3I4Kt4BQjOR54NavqnDogx/MIoWBFa0StPA8ELUXHmA= -github.com/muesli/cancelreader v0.2.2/go.mod h1:3XuTXfFS2VjM+HTLZY9Ak0l6eUKfijIfMUZ4EgX0QYo= -github.com/muesli/termenv v0.15.3-0.20240618155329-98d742f6907a h1:2MaM6YC3mGu54x+RKAA6JiFFHlHDY1UbkxqppT7wYOg= -github.com/muesli/termenv v0.15.3-0.20240618155329-98d742f6907a/go.mod h1:hxSnBBYLK21Vtq/PHd0S2FYCxBXzBua8ov5s1RobyRQ= github.com/multiformats/go-base32 v0.0.3/go.mod h1:pLiuGC8y0QR3Ue4Zug5UzK9LjgbkL8NSQj0zQ5Nz/AA= github.com/multiformats/go-base32 v0.1.0 h1:pVx9xoSPqEIQG8o+UbAe7DNi51oej1NtK+aGkbLYxPE= github.com/multiformats/go-base32 v0.1.0/go.mod h1:Kj3tFY6zNr+ABYMqeUNeGvkIC/UYgtWibDcT0rExnbI= @@ -2057,10 +1817,6 @@ github.com/multiformats/go-base36 v0.2.0/go.mod h1:qvnKE++v+2MWCfePClUEjE78Z7P2a github.com/multiformats/go-multiaddr v0.2.2/go.mod h1:NtfXiOtHvghW9KojvtySjH5y0u0xW5UouOmQQrn6a3Y= github.com/multiformats/go-multiaddr v0.13.0 h1:BCBzs61E3AGHcYYTv8dqRH43ZfyrqM8RXVPT8t13tLQ= github.com/multiformats/go-multiaddr v0.13.0/go.mod h1:sBXrNzucqkFJhvKOiwwLyqamGa/P5EIXNPLovyhQCII= -github.com/multiformats/go-multiaddr-dns v0.4.0 h1:P76EJ3qzBXpUXZ3twdCDx/kvagMsNo0LMFXpyms/zgU= -github.com/multiformats/go-multiaddr-dns v0.4.0/go.mod h1:7hfthtB4E4pQwirrz+J0CcDUfbWzTqEzVyYKKIKpgkc= -github.com/multiformats/go-multiaddr-fmt v0.1.0 h1:WLEFClPycPkp4fnIzoFoV9FVd49/eQsuaL3/CWe167E= -github.com/multiformats/go-multiaddr-fmt v0.1.0/go.mod h1:hGtDIW4PU4BqJ50gW2quDuPVjyWNZxToGUh/HwTZYJo= github.com/multiformats/go-multibase v0.0.3/go.mod h1:5+1R4eQrT3PkYZ24C3W2Ue2tPwIdYQD509ZjSb5y9Oc= github.com/multiformats/go-multibase v0.2.0 h1:isdYCVLvksgWlMW9OZRYJEa9pZETFivncJHmHnnd87g= github.com/multiformats/go-multibase v0.2.0/go.mod h1:bFBZX4lKCA/2lyOFSAoKH5SS6oPyjtnzK/XTFDPkNuk= @@ -2070,8 +1826,6 @@ github.com/multiformats/go-multihash v0.0.13/go.mod h1:VdAWLKTwram9oKAatUcLxBNUj github.com/multiformats/go-multihash v0.0.14/go.mod h1:VdAWLKTwram9oKAatUcLxBNUjdtcVwxObEQBtRfuyjc= github.com/multiformats/go-multihash v0.2.3 h1:7Lyc8XfX/IY2jWb/gI7JP+o7JEq9hOa7BFvVU9RSh+U= github.com/multiformats/go-multihash v0.2.3/go.mod h1:dXgKXCXjBzdscBLk9JkjINiEsCKRVch90MdaGiKsvSM= -github.com/multiformats/go-multistream v0.5.0 h1:5htLSLl7lvJk3xx3qT/8Zm9J4K8vEOf/QGkvOGQAyiE= -github.com/multiformats/go-multistream v0.5.0/go.mod h1:n6tMZiwiP2wUsR8DgfDWw1dydlEqV3l6N3/GBsX6ILA= github.com/multiformats/go-varint v0.0.5/go.mod h1:3Ls8CIEsrijN6+B7PbrXRPxHRPuXSrVKRY101jdMZYE= github.com/multiformats/go-varint v0.0.6/go.mod h1:3Ls8CIEsrijN6+B7PbrXRPxHRPuXSrVKRY101jdMZYE= github.com/multiformats/go-varint v0.0.7 h1:sWSGR+f/eu5ABZA2ZpYKBILXTTs9JWpdEM/nEGOHFS8= @@ -2109,8 +1863,6 @@ github.com/onsi/ginkgo v1.13.0/go.mod h1:+REjRxOmWfHCjfv9TTWB1jD1Frx4XydAD3zm1ls github.com/onsi/ginkgo v1.14.0/go.mod h1:iSB4RoI2tjJc9BBv4NKIKWKya62Rps+oPG/Lv9klQyY= github.com/onsi/ginkgo v1.16.5 h1:8xi0RTUf59SOSfEtZMvwTvXYMzG4gV23XVHOZiXNtnE= github.com/onsi/ginkgo v1.16.5/go.mod h1:+E8gABHa3K6zRBolWtd+ROzc/U5bkGt0FwiG042wbpU= -github.com/onsi/ginkgo/v2 v2.19.1 h1:QXgq3Z8Crl5EL1WBAC98A5sEBHARrAJNzAmMxzLcRF0= -github.com/onsi/ginkgo/v2 v2.19.1/go.mod h1:O3DtEWQkPa/F7fBMgmZQKKsluAy8pd3rEQdrjkPb9zA= github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= @@ -2122,29 +1874,19 @@ github.com/opencontainers/image-spec v1.1.0-rc5 h1:Ygwkfw9bpDvs+c9E34SdgGOj41dX/ github.com/opencontainers/image-spec v1.1.0-rc5/go.mod h1:X4pATf0uXsnn3g5aiGIsVnJBR4mxhKzfwmvK/B2NTm8= github.com/opencontainers/runc v1.1.5 h1:L44KXEpKmfWDcS02aeGm8QNTFXTo2D+8MYGDIJ/GDEs= github.com/opencontainers/runc v1.1.5/go.mod h1:1J5XiS+vdZ3wCyZybsuxXZWGrgSr8fFJHLXuG2PsnNg= -github.com/opencontainers/runtime-spec v1.2.0 h1:z97+pHb3uELt/yiAWD691HNHQIF07bE7dzrbT927iTk= -github.com/opencontainers/runtime-spec v1.2.0/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= github.com/opentracing/opentracing-go v1.0.2/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= github.com/opentracing/opentracing-go v1.0.3-0.20180606204148-bd9c31933947/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= -github.com/opentracing/opentracing-go v1.2.0 h1:uEJPy/1a5RIPAJ0Ov+OIO8OxWu77jEv+1B0VhjKrZUs= -github.com/opentracing/opentracing-go v1.2.0/go.mod h1:GxEUsuufX4nBwe+T+Wl9TAgYrxe9dPLANfrWvHYVTgc= -github.com/openzipkin/zipkin-go v0.4.3 h1:9EGwpqkgnwdEIJ+Od7QVSEIH+ocmm5nPat0G7sjsSdg= -github.com/openzipkin/zipkin-go v0.4.3/go.mod h1:M9wCJZFWCo2RiY+o1eBCEMe0Dp2S5LDHcMZmk3RmK7c= github.com/ory/dockertest v3.3.5+incompatible h1:iLLK6SQwIhcbrG783Dghaaa3WPzGc+4Emza6EbVUUGA= github.com/ory/dockertest v3.3.5+incompatible/go.mod h1:1vX4m9wsvi00u5bseYwXaSnhNrne+V0E6LAcBILJdPs= github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= github.com/pascaldekloe/goe v0.1.0 h1:cBOtyMzM9HTpWjXfbbunk26uA6nG3a8n06Wieeh0MwY= github.com/pascaldekloe/goe v0.1.0/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= github.com/paulbellamy/ratecounter v0.2.0/go.mod h1:Hfx1hDpSGoqxkVVpBi/IlYD7kChlfo5C6hzIHwPqfFE= -github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58 h1:onHthvaw9LFnH4t2DcNVpwGmV9E1BkGknEliJkfwQj0= -github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58/go.mod h1:DXv8WO4yhMYhSNPKjeNKa5WY9YCIEBRbNzFFPJbWO6Y= github.com/pelletier/go-toml/v2 v2.0.1/go.mod h1:r9LEWfGN8R5k0VXJ+0BkIe7MYkRdwZOjgMj2KwnJFUo= github.com/pelletier/go-toml/v2 v2.1.0/go.mod h1:tJU2Z3ZkXwnxa4DPO899bsyIoywizdUvyaeZurnPPDc= github.com/pelletier/go-toml/v2 v2.2.2 h1:aYUidT7k73Pcl9nb2gScu7NSrKCSHIDE89b3+6Wq+LM= github.com/pelletier/go-toml/v2 v2.2.2/go.mod h1:1t835xjRzz80PqgE6HHgN2JOsmgYu/h4qDAS4n929Rs= -github.com/petar/GoLLRB v0.0.0-20210522233825-ae3b015fd3e9 h1:1/WtZae0yGtPq+TI6+Tv1WTxkukpXeMlviSxvL7SRgk= -github.com/petar/GoLLRB v0.0.0-20210522233825-ae3b015fd3e9/go.mod h1:x3N5drFsm2uilKKuuYo6LdyD8vZAW55sH/9w+pbo1sw= github.com/peterh/liner v1.0.1-0.20180619022028-8c1271fcf47f/go.mod h1:xIteQHvHuaLYG9IFj6mSxM0fCKrs34IrEQUhOYuGPHc= github.com/peterh/liner v1.1.1-0.20190123174540-a2c9a5303de7/go.mod h1:CRroGNssyjTd/qIG2FyxByd2S8JEAZXBl4qUrZf8GS0= github.com/petermattis/goid v0.0.0-20180202154549-b0b1615b78e5/go.mod h1:jvVRKCrJTQWu0XVbaOlby/2lO20uSCHEMzzplHXte1o= @@ -2158,38 +1900,6 @@ github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi github.com/pierrec/lz4/v4 v4.1.15/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4= github.com/pingcap/errors v0.11.4 h1:lFuQV/oaUMGcD2tqt+01ROSmJs75VG1ToEOkZIZ4nE4= github.com/pingcap/errors v0.11.4/go.mod h1:Oi8TUi2kEtXXLMJk9l1cGmz20kV3TaQ0usTwv5KuLY8= -github.com/pion/datachannel v1.5.8 h1:ph1P1NsGkazkjrvyMfhRBUAWMxugJjq2HfQifaOoSNo= -github.com/pion/datachannel v1.5.8/go.mod h1:PgmdpoaNBLX9HNzNClmdki4DYW5JtI7Yibu8QzbL3tI= -github.com/pion/dtls/v2 v2.2.12 h1:KP7H5/c1EiVAAKUmXyCzPiQe5+bCJrpOeKg/L05dunk= -github.com/pion/dtls/v2 v2.2.12/go.mod h1:d9SYc9fch0CqK90mRk1dC7AkzzpwJj6u2GU3u+9pqFE= -github.com/pion/ice/v2 v2.3.34 h1:Ic1ppYCj4tUOcPAp76U6F3fVrlSw8A9JtRXLqw6BbUM= -github.com/pion/ice/v2 v2.3.34/go.mod h1:mBF7lnigdqgtB+YHkaY/Y6s6tsyRyo4u4rPGRuOjUBQ= -github.com/pion/interceptor v0.1.29 h1:39fsnlP1U8gw2JzOFWdfCU82vHvhW9o0rZnZF56wF+M= -github.com/pion/interceptor v0.1.29/go.mod h1:ri+LGNjRUc5xUNtDEPzfdkmSqISixVTBF/z/Zms/6T4= -github.com/pion/logging v0.2.2 h1:M9+AIj/+pxNsDfAT64+MAVgJO0rsyLnoJKCqf//DoeY= -github.com/pion/logging v0.2.2/go.mod h1:k0/tDVsRCX2Mb2ZEmTqNa7CWsQPc+YYCB7Q+5pahoms= -github.com/pion/mdns v0.0.12 h1:CiMYlY+O0azojWDmxdNr7ADGrnZ+V6Ilfner+6mSVK8= -github.com/pion/mdns v0.0.12/go.mod h1:VExJjv8to/6Wqm1FXK+Ii/Z9tsVk/F5sD/N70cnYFbk= -github.com/pion/randutil v0.1.0 h1:CFG1UdESneORglEsnimhUjf33Rwjubwj6xfiOXBa3mA= -github.com/pion/randutil v0.1.0/go.mod h1:XcJrSMMbbMRhASFVOlj/5hQial/Y8oH/HVo7TBZq+j8= -github.com/pion/rtcp v1.2.14 h1:KCkGV3vJ+4DAJmvP0vaQShsb0xkRfWkO540Gy102KyE= -github.com/pion/rtcp v1.2.14/go.mod h1:sn6qjxvnwyAkkPzPULIbVqSKI5Dv54Rv7VG0kNxh9L4= -github.com/pion/rtp v1.8.8 h1:EtYFHI0rpUEjT/RMnGfb1vdJhbYmPG77szD72uUnSxs= -github.com/pion/rtp v1.8.8/go.mod h1:pBGHaFt/yW7bf1jjWAoUjpSNoDnw98KTMg+jWWvziqU= -github.com/pion/sctp v1.8.20 h1:sOc3lkV/tQaP57ZUEXIMdM2V92IIB2ia5v/ygnBxaEg= -github.com/pion/sctp v1.8.20/go.mod h1:oTxw8i5m+WbDHZJL/xUpe6CPIn1Y0GIKKwTLF4h53H8= -github.com/pion/sdp/v3 v3.0.9 h1:pX++dCHoHUwq43kuwf3PyJfHlwIj4hXA7Vrifiq0IJY= -github.com/pion/sdp/v3 v3.0.9/go.mod h1:B5xmvENq5IXJimIO4zfp6LAe1fD9N+kFv+V/1lOdz8M= -github.com/pion/srtp/v2 v2.0.20 h1:HNNny4s+OUmG280ETrCdgFndp4ufx3/uy85EawYEhTk= -github.com/pion/srtp/v2 v2.0.20/go.mod h1:0KJQjA99A6/a0DOVTu1PhDSw0CXF2jTkqOoMg3ODqdA= -github.com/pion/stun v0.6.1 h1:8lp6YejULeHBF8NmV8e2787BogQhduZugh5PdhDyyN4= -github.com/pion/stun v0.6.1/go.mod h1:/hO7APkX4hZKu/D0f2lHzNyvdkTGtIy3NDmLR7kSz/8= -github.com/pion/transport/v2 v2.2.10 h1:ucLBLE8nuxiHfvkFKnkDQRYWYfp8ejf4YBOPfaQpw6Q= -github.com/pion/transport/v2 v2.2.10/go.mod h1:sq1kSLWs+cHW9E+2fJP95QudkzbK7wscs8yYgQToO5E= -github.com/pion/turn/v2 v2.1.6 h1:Xr2niVsiPTB0FPtt+yAWKFUkU1eotQbGgpTIld4x1Gc= -github.com/pion/turn/v2 v2.1.6/go.mod h1:huEpByKKHix2/b9kmTAM3YoX6MKP+/D//0ClgUYR2fY= -github.com/pion/webrtc/v3 v3.3.0 h1:Rf4u6n6U5t5sUxhYPQk/samzU/oDv7jk6BA5hyO2F9I= -github.com/pion/webrtc/v3 v3.3.0/go.mod h1:hVmrDJvwhEertRWObeb1xzulzHGeVUoPlWvxdGzcfU0= github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4/go.mod h1:N6UoU20jOqggOuDwUaBQpluzLNDqif3kq9z2wpdYEfQ= github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8/go.mod h1:HKlIX3XHQyzLZPlr7++PzdhaXEj94dEiJgZDTsxEqUI= github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= @@ -2203,8 +1913,6 @@ github.com/pkg/term v0.0.0-20180730021639-bffc007b7fd5/go.mod h1:eCbImbZ95eXtAUI github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U= github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/polydawn/refmt v0.89.0 h1:ADJTApkvkeBZsN0tBTx8QjpD9JkmxbKp0cxfr9qszm4= -github.com/polydawn/refmt v0.89.0/go.mod h1:/zvteZs/GwLtCgZ4BL6CBsk9IKIlexP43ObX9AxTqTw= github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= github.com/posener/complete v1.2.3/go.mod h1:WZIdtGGp+qx0sLrYKtIRAruyNpv6hFCicSgv7Sy7s/s= github.com/prashantv/gostub v1.1.0/go.mod h1:A5zLQHz7ieHGG7is6LLXLz7I8+3LZzsrV0P1IAHhP5U= @@ -2231,14 +1939,6 @@ github.com/prometheus/procfs v0.15.1 h1:YagwOFzUgYfKKHX6Dr+sHT7km/hxC76UB0leargg github.com/prometheus/procfs v0.15.1/go.mod h1:fB45yRUv8NstnjriLhBQLuOUt+WW4BsoGhij/e3PBqk= github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= github.com/protolambda/bls12-381-util v0.0.0-20220416220906-d8552aa452c7/go.mod h1:IToEjHuttnUzwZI5KBSM/LOOW3qLbbrHOEfp3SbECGY= -github.com/quic-go/qpack v0.4.0 h1:Cr9BXA1sQS2SmDUWjSofMPNKmvF6IiIfDRmgU0w1ZCo= -github.com/quic-go/qpack v0.4.0/go.mod h1:UZVnYIfi5GRk+zI9UMaCPsmZ2xKJP7XBUvVyT1Knj9A= -github.com/quic-go/quic-go v0.45.2 h1:DfqBmqjb4ExSdxRIb/+qXhPC+7k6+DUNZha4oeiC9fY= -github.com/quic-go/quic-go v0.45.2/go.mod h1:1dLehS7TIR64+vxGR70GDcatWTOtMX2PUtnKsjbTurI= -github.com/quic-go/webtransport-go v0.8.0 h1:HxSrwun11U+LlmwpgM1kEqIqH90IT4N8auv/cD7QFJg= -github.com/quic-go/webtransport-go v0.8.0/go.mod h1:N99tjprW432Ut5ONql/aUhSLT0YVSlwHohQsuac9WaM= -github.com/raulk/go-watchdog v1.3.0 h1:oUmdlHxdkXRJlwfG0O9omj8ukerm8MEQavSiDTEtBsk= -github.com/raulk/go-watchdog v1.3.0/go.mod h1:fIvOnLbF0b0ZwkB9YU4mOW9Did//4vPZtDqv66NfsMU= github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 h1:N/ElC8H3+5XpJzTSTfLsJV/mx9Q9g7kxmchpfZyxgzM= github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/regen-network/gocuke v0.6.2 h1:pHviZ0kKAq2U2hN2q3smKNxct6hS0mGByFMHGnWA97M= @@ -2249,8 +1949,6 @@ github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0/go.mod h1:qq github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= github.com/retailnext/hllpp v1.0.1-0.20180308014038-101a6d2f8b52/go.mod h1:RDpi1RftBQPUCDRw6SmxeaREsAaRKnOclghuzp/WRzc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= -github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ= -github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= github.com/rjeczalik/notify v0.9.1/go.mod h1:rKwnCoCGeuQnwBtTSPL9Dad03Vh2n40ePRrjvIXnJho= github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= @@ -2272,7 +1970,6 @@ github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQD github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/ruudk/golang-pdf417 v0.0.0-20181029194003-1af4ab5afa58/go.mod h1:6lfFZQK844Gfx8o5WFuvpxWRwnSoipWe/p622j1v06w= github.com/ruudk/golang-pdf417 v0.0.0-20201230142125-a7e3863a1245/go.mod h1:pQAZKsJ8yyVxGRWYNEm9oFB8ieLgKFnamEyDmSA0BRk= -github.com/rwcarlsen/goexif v0.0.0-20190401172101-9e8deecbddbd/go.mod h1:hPqNNc0+uJM6H+SuU8sEs5K5IQeKccPqeSjfgcKGgPk= github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= github.com/ryanuber/columnize v2.1.0+incompatible/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= github.com/sagikazarmark/crypt v0.15.0/go.mod h1:5rwNNax6Mlk9sZ40AcyVtiEw24Z4J04cfSioF2COKmc= @@ -2281,8 +1978,6 @@ github.com/sagikazarmark/locafero v0.4.0 h1:HApY1R9zGo4DBgr7dqsTH/JJxLTTsOt7u6ke github.com/sagikazarmark/locafero v0.4.0/go.mod h1:Pe1W6UlPYUk/+wc/6KFhbORCfqzgYEpgQ3O5fPuL3H4= github.com/sagikazarmark/slog-shim v0.1.0 h1:diDBnUNK9N/354PgrxMywXnAwEr1QZcOr6gto+ugjYE= github.com/sagikazarmark/slog-shim v0.1.0/go.mod h1:SrcSrq8aKtyuqEI1uvTDTK1arOWRIczQRv+GVI1AkeQ= -github.com/samber/lo v1.46.0 h1:w8G+oaCPgz1PoCJztqymCFaKwXt+5cCXn51uPxExFfQ= -github.com/samber/lo v1.46.0/go.mod h1:RmDH9Ct32Qy3gduHQuKJ3gW1fMHAnE/fAzQuf6He5cU= github.com/sasha-s/go-deadlock v0.3.1 h1:sqv7fDNShgjcaxkO0JNcOAlr8B9+cV5Ey/OB71efZx0= github.com/sasha-s/go-deadlock v0.3.1/go.mod h1:F73l+cr82YSh10GxyRI6qZiCgK64VaZjwesgfQ1/iLM= github.com/sclevine/agouti v3.0.0+incompatible/go.mod h1:b4WX9W9L1sfQKXeJf1mUTLZKJ48R1S7H23Ji7oFO5Bw= @@ -2301,11 +1996,7 @@ github.com/sirupsen/logrus v1.9.0/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVs github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ= github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= -github.com/smartystreets/assertions v1.2.0 h1:42S6lae5dvLc7BrLu/0ugRtcFVjoJNMC/N3yZFZkDFs= -github.com/smartystreets/assertions v1.2.0/go.mod h1:tcbTF8ujkAEcZ8TElKY+i30BzYlVhC/LOxJk7iOWnoo= github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= -github.com/smartystreets/goconvey v1.7.2 h1:9RBaZCeXEQ3UselpuwUQHltGVXvdwm6cv1hgR6gDIPg= -github.com/smartystreets/goconvey v1.7.2/go.mod h1:Vw0tHAZW6lzCRk3xgdin6fKYcG+G3Pg9vgXWeJpQFMM= github.com/sourcegraph/conc v0.3.0 h1:OQTbbt6P72L20UqAkXXuLOj79LfEanQ+YQFNpLA9ySo= github.com/sourcegraph/conc v0.3.0/go.mod h1:Sdozi7LEKbFPqYX2/J+iBAM6HpqSLTASQIKqDmF7Mt0= github.com/spacemonkeygo/spacelog v0.0.0-20180420211403-2296661a0572 h1:RC6RW7j+1+HkWaX/Yh71Ee5ZHaHYt7ZP4sQgUrm6cDU= @@ -2386,14 +2077,11 @@ github.com/tyler-smith/go-bip39 v1.0.1-0.20181017060643-dbb3b84ba2ef/go.mod h1:s github.com/tyler-smith/go-bip39 v1.1.0/go.mod h1:gUYDtqQw1JS3ZJ8UWVcGTGqqr6YIN3CWg+kkNaLt55U= github.com/ucan-wg/go-ucan v0.7.0 h1:88A6rbd222Bi1zO6vANvQwDveBnpcUArdjVL0sdwr0w= github.com/ucan-wg/go-ucan v0.7.0/go.mod h1:e6jS6eb29JevZ8Pb3DpwPXYHqQai87ohwcIfQkEgM1Y= -github.com/ucarion/urlpath v0.0.0-20200424170820-7ccc79b76bbb h1:Ywfo8sUltxogBpFuMOFRrrSifO788kAFxmvVw31PtQQ= -github.com/ucarion/urlpath v0.0.0-20200424170820-7ccc79b76bbb/go.mod h1:ikPs9bRWicNw3S7XpJ8sK/smGwU9WcSVU3dy9qahYBM= github.com/ugorji/go v1.2.7/go.mod h1:nF9osbDWLy6bDVv/Rtoh6QgnvNDpmCalQV5urGCCS6M= github.com/ugorji/go/codec v1.2.7/go.mod h1:WGN1fab3R1fzQlVQTkfxVtIBhWDRqOviHU95kRgeqEY= github.com/ulikunitz/xz v0.5.10/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14= github.com/ulikunitz/xz v0.5.11 h1:kpFauv27b6ynzBNT/Xy+1k+fK4WswhN/6PN5WhFAGw8= github.com/ulikunitz/xz v0.5.11/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14= -github.com/urfave/cli v1.22.10/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= github.com/urfave/cli/v2 v2.3.0/go.mod h1:LJmUH05zAU44vOAcrfzZQKsZbVcdbOG8rtL3/XcUArI= github.com/urfave/cli/v2 v2.10.2/go.mod h1:f8iq5LtQ/bLxafbdBSLPPNsgaW0l/2fYYEHhAyPlwvo= github.com/urfave/cli/v2 v2.24.1/go.mod h1:GHupkWPMM0M/sj1a2b4wUrWBPzazNrIjouW6fmdJLxc= @@ -2411,25 +2099,7 @@ github.com/vmihailenco/msgpack/v5 v5.4.1 h1:cQriyiUvjTwOHg8QZaPihLWeRAAVoCpE00IU github.com/vmihailenco/msgpack/v5 v5.4.1/go.mod h1:GaZTsDaehaPpQVyxrf5mtQlH+pc21PIudVV/E3rRQok= github.com/vmihailenco/tagparser/v2 v2.0.0 h1:y09buUbR+b5aycVFQs/g70pqKVZNBmxwAhO7/IwNM9g= github.com/vmihailenco/tagparser/v2 v2.0.0/go.mod h1:Wri+At7QHww0WTrCBeu4J6bNtoV6mEfg5OIWRZA9qds= -github.com/warpfork/go-testmark v0.12.1 h1:rMgCpJfwy1sJ50x0M0NgyphxYYPMOODIJHhsXyEHU0s= -github.com/warpfork/go-testmark v0.12.1/go.mod h1:kHwy7wfvGSPh1rQJYKayD4AbtNaeyZdcGi9tNJTaa5Y= -github.com/warpfork/go-wish v0.0.0-20220906213052-39a1cc7a02d0 h1:GDDkbFiaK8jsSDJfjId/PEGEShv6ugrt4kYsC5UIDaQ= -github.com/warpfork/go-wish v0.0.0-20220906213052-39a1cc7a02d0/go.mod h1:x6AKhvSSexNrVSrViXSHUEbICjmGXhtgABaHIySUSGw= -github.com/whyrusleeping/base32 v0.0.0-20170828182744-c30ac30633cc h1:BCPnHtcboadS0DvysUuJXZ4lWVv5Bh5i7+tbIyi+ck4= -github.com/whyrusleeping/base32 v0.0.0-20170828182744-c30ac30633cc/go.mod h1:r45hJU7yEoA81k6MWNhpMj/kms0n14dkzkxYHoB96UM= -github.com/whyrusleeping/cbor v0.0.0-20171005072247-63513f603b11 h1:5HZfQkwe0mIfyDmc1Em5GqlNRzcdtlv4HTNmdpt7XH0= -github.com/whyrusleeping/cbor v0.0.0-20171005072247-63513f603b11/go.mod h1:Wlo/SzPmxVp6vXpGt/zaXhHH0fn4IxgqZc82aKg6bpQ= -github.com/whyrusleeping/cbor-gen v0.1.2 h1:WQFlrPhpcQl+M2/3dP5cvlTLWPVsL6LGBb9jJt6l/cA= -github.com/whyrusleeping/cbor-gen v0.1.2/go.mod h1:pM99HXyEbSQHcosHc0iW7YFmwnscr+t9Te4ibko05so= -github.com/whyrusleeping/chunker v0.0.0-20181014151217-fe64bd25879f h1:jQa4QT2UP9WYv2nzyawpKMOCl+Z/jW7djv2/J50lj9E= -github.com/whyrusleeping/chunker v0.0.0-20181014151217-fe64bd25879f/go.mod h1:p9UJB6dDgdPgMJZs7UjUOdulKyRr9fqkS+6JKAInPy8= -github.com/whyrusleeping/go-keyspace v0.0.0-20160322163242-5b898ac5add1 h1:EKhdznlJHPMoKr0XTrX+IlJs1LH3lyx2nfr1dOlZ79k= -github.com/whyrusleeping/go-keyspace v0.0.0-20160322163242-5b898ac5add1/go.mod h1:8UvriyWtv5Q5EOgjHaSseUEdkQfvwFv1I/In/O2M9gc= -github.com/whyrusleeping/multiaddr-filter v0.0.0-20160516205228-e903e4adabd7 h1:E9S12nwJwEOXe2d6gT6qxdvqMnNq+VnSsKPgm2ZZNds= -github.com/whyrusleeping/multiaddr-filter v0.0.0-20160516205228-e903e4adabd7/go.mod h1:X2c0RVCI1eSUFI8eLcY3c0423ykwiUdxLJtkDvruhjI= github.com/willf/bitset v1.1.3/go.mod h1:RjeCKbqT1RxIR/KWY6phxZiaY1IyutSBfGjNPySAYV4= -github.com/wlynxg/anet v0.0.3 h1:PvR53psxFXstc12jelG6f1Lv4MWqE0tI76/hHGjh9rg= -github.com/wlynxg/anet v0.0.3/go.mod h1:eay5PRQr7fIVAMbTbchTnO9gG65Hg/uYGdc7mguHxoA= github.com/x448/float16 v0.8.4 h1:qLwI1I70+NjRFUR3zs1JPUCgaCXSh3SW62uAKT1mSBM= github.com/x448/float16 v0.8.4/go.mod h1:14CWIYCyZA/cWjXOioeEpHeN/83MdbZDRQHoFcYsOfg= github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU= @@ -2476,16 +2146,6 @@ go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.52.0 h1:9l89oX4 go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.52.0/go.mod h1:XLZfZboOJWHNKUv7eH0inh0E9VV6eWDFB/9yJyTLPp0= go.opentelemetry.io/otel v1.28.0 h1:/SqNcYk+idO0CxKEUOtKQClMK/MimZihKYMruSMViUo= go.opentelemetry.io/otel v1.28.0/go.mod h1:q68ijF8Fc8CnMHKyzqL6akLO46ePnjkgfIMIjUIX9z4= -go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.27.0 h1:R9DE4kQ4k+YtfLI2ULwX82VtNQ2J8yZmA7ZIF/D+7Mc= -go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.27.0/go.mod h1:OQFyQVrDlbe+R7xrEyDr/2Wr67Ol0hRUgsfA+V5A95s= -go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0 h1:qFffATk0X+HD+f1Z8lswGiOQYKHRlzfmdJm0wEaVrFA= -go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0/go.mod h1:MOiCmryaYtc+V0Ei+Tx9o5S1ZjA7kzLucuVuyzBZloQ= -go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.27.0 h1:QY7/0NeRPKlzusf40ZE4t1VlMKbqSNT7cJRYzWuja0s= -go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.27.0/go.mod h1:HVkSiDhTM9BoUJU8qE6j2eSWLLXvi1USXjyd2BXT8PY= -go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.27.0 h1:/0YaXu3755A/cFbtXp+21lkXgI0QE5avTWA2HjU9/WE= -go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.27.0/go.mod h1:m7SFxp0/7IxmJPLIY3JhOcU9CoFzDaCPL6xxQIxhA+o= -go.opentelemetry.io/otel/exporters/zipkin v1.27.0 h1:aXcxb7F6ZDC1o2Z52LDfS2g6M2FB5CrxdR2gzY4QRNs= -go.opentelemetry.io/otel/exporters/zipkin v1.27.0/go.mod h1:+WMURoi4KmVB7ypbFPx3xtZTWen2Ca3lRK9u6DVTO5M= go.opentelemetry.io/otel/metric v1.28.0 h1:f0HGvSl1KRAU1DLgLGFjrwVyismPlnuU6JD6bOeuA5Q= go.opentelemetry.io/otel/metric v1.28.0/go.mod h1:Fb1eVBFZmLVTMb6PPohq3TO9IIhUisDsbJoL/+uQW4s= go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI= @@ -2495,48 +2155,27 @@ go.opentelemetry.io/otel/trace v1.28.0/go.mod h1:jPyXzNPg6da9+38HEwElrQiHlVMTnVf go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= go.opentelemetry.io/proto/otlp v0.15.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U= go.opentelemetry.io/proto/otlp v0.19.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U= -go.opentelemetry.io/proto/otlp v1.3.1 h1:TrMUixzpM0yuc/znrFTP9MMRh8trP93mkCiDVeXrui0= -go.opentelemetry.io/proto/otlp v1.3.1/go.mod h1:0X1WI4de4ZsLrrJNLAQbFeLCm3T7yBkR0XqQ7niQU+8= go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= -go.uber.org/atomic v1.6.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= go.uber.org/atomic v1.9.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= -go.uber.org/atomic v1.11.0 h1:ZvwS0R+56ePWxUNi+Atn9dWONBPp/AUETXlHW0DxSjE= -go.uber.org/atomic v1.11.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0= go.uber.org/automaxprocs v1.5.1/go.mod h1:BF4eumQw0P9GtnuxxovUd06vwm1o18oMzFtK66vU6XU= go.uber.org/automaxprocs v1.5.2/go.mod h1:eRbA25aqJrxAbsLO0xy5jVwPt7FQnRgjW+efnwa1WM0= -go.uber.org/dig v1.17.1 h1:Tga8Lz8PcYNsWsyHMZ1Vm0OQOUaJNDyvPImgbAu9YSc= -go.uber.org/dig v1.17.1/go.mod h1:Us0rSJiThwCv2GteUN0Q7OKvU7n5J4dxZ9JKUXozFdE= -go.uber.org/fx v1.22.1 h1:nvvln7mwyT5s1q201YE29V/BFrGor6vMiDNpU/78Mys= -go.uber.org/fx v1.22.1/go.mod h1:HT2M7d7RHo+ebKGh9NRcrsrHHfpZ60nW3QRubMRfv48= go.uber.org/goleak v1.1.10/go.mod h1:8a7PlsEVH3e/a/GLqe5IIrQx6GzcnRmZEufDUTk4A7A= -go.uber.org/goleak v1.1.11-0.20210813005559-691160354723/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= go.uber.org/goleak v1.1.11/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= -go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= -go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= go.uber.org/mock v0.4.0 h1:VcM4ZOtdbR4f6VXfiOpwpVJDL6lCReaZ6mw31wqh7KU= go.uber.org/mock v0.4.0/go.mod h1:a6FSlNadKUHUa9IP5Vyt1zh4fC7uAwxMutEAscFbkZc= go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= -go.uber.org/multierr v1.5.0/go.mod h1:FeouvMocqHpRaaGuG9EjoKcStLC43Zu/fmqdUMPcKYU= go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= go.uber.org/multierr v1.8.0/go.mod h1:7EAYxJLBy9rStEaz58O2t4Uvip6FSURkq8/ppBp95ak= go.uber.org/multierr v1.9.0/go.mod h1:X2jQV1h+kxSjClGpnseKVIxpmcjrj7MNnI0bnlfKTVQ= go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0= go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= -go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA= go.uber.org/zap v1.9.1/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= -go.uber.org/zap v1.16.0/go.mod h1:MA8QOfq0BHJwdXa996Y4dYkAqRKB8/1K1QMMZVaNZjQ= go.uber.org/zap v1.17.0/go.mod h1:MXVU+bhUf/A7Xi2HNOnopQOrmycQ5Ih87HtOu4q5SSo= go.uber.org/zap v1.18.1/go.mod h1:xg/QME4nWcxGxrpdeYfq7UvYrLh66cuVKdrbD1XF/NI= -go.uber.org/zap v1.19.1/go.mod h1:j3DNczoxDZroyBnOT1L/Q79cfUMGZxlv/9dzN7SM1rI= go.uber.org/zap v1.21.0/go.mod h1:wjWOCqI0f2ZZrJF/UufIOkiC8ii6tm1iqIsLo76RfJw= -go.uber.org/zap v1.27.0 h1:aJMhYGrd5QSmlpLMr2MftRKl7t8J8PTZPA732ud/XR8= -go.uber.org/zap v1.27.0/go.mod h1:GB2qFLM7cTU87MWRP2mPIjqfIDnGu+VIO4V/SdhGo2E= -go4.org v0.0.0-20200411211856-f5505b9728dd/go.mod h1:CIiUVy99QCPfoE13bO4EZaz5GZMZXMSBGhxRdsvzbkg= -go4.org v0.0.0-20230225012048-214862532bf5 h1:nifaUDeh+rPaBCMPMQHZmvJf+QdpLFnuQPwx+LxVmtc= -go4.org v0.0.0-20230225012048-214862532bf5/go.mod h1:F57wTi5Lrj6WLyswp5EYV1ncrEbFGHD4hhz6S1ZYeaU= golang.org/x/crypto v0.0.0-20170930174604-9419663f5a44/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= @@ -2642,8 +2281,6 @@ golang.org/x/mod v0.9.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.10.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.11.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.20.0 h1:utOm6MM3R3dnawAiJgn0y+xvuYRsm1RKM/4giyfDgV0= -golang.org/x/mod v0.20.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -2992,8 +2629,6 @@ golang.org/x/tools v0.0.0-20190907020128-2ca718005c18/go.mod h1:b+2E5dAYhXwXZwtn golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20190927191325-030b2cf1153e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191108193012-7d206e10da11/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= @@ -3049,8 +2684,6 @@ golang.org/x/tools v0.8.0/go.mod h1:JxBZ99ISMI5ViVkT1tr6tdNmXeTrcpVSD3vZ1RsRdN4= golang.org/x/tools v0.9.1/go.mod h1:owI94Op576fPu3cIGQeHs3joujW/2Oc6MtlxbF5dfNc= golang.org/x/tools v0.10.0/go.mod h1:UJwyiVBsOA2uwvK/e5OY3GTpDUJriEd+/YlqAwLPmyM= golang.org/x/tools v0.13.0/go.mod h1:HvlwmtVNQAhOuCjW7xxvovg8wbNq7LwfXh/k7wXUl58= -golang.org/x/tools v0.24.0 h1:J1shsA93PJUEVaUSaay7UXAyE8aimq3GW0pjlolpa24= -golang.org/x/tools v0.24.0/go.mod h1:YhNqVBIfWHdzvTLs0d8LCuMhkKUgSUKldakyV7W/WDQ= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -3067,8 +2700,6 @@ gonum.org/v1/gonum v0.6.0/go.mod h1:9mxDZsDKxgMAuccQkewq682L+0eCu4dCN2yonUJTCLU= gonum.org/v1/gonum v0.8.2/go.mod h1:oe/vMfY3deqTw+1EZJhuvEW2iwGF1bW9wwu7XCu0+v0= gonum.org/v1/gonum v0.9.3/go.mod h1:TZumC3NeyVQskjXqmyWt4S3bINhy7B4eYwW69EbyX+0= gonum.org/v1/gonum v0.11.0/go.mod h1:fSG4YDCxxUZQJ7rKsQrj0gMOg00Il0Z96/qMA4bVQhA= -gonum.org/v1/gonum v0.15.0 h1:2lYxjRbTYyxkJxlhC+LvJIx3SsANPdRybu1tGj9/OrQ= -gonum.org/v1/gonum v0.15.0/go.mod h1:xzZVBJBtS+Mz4q0Yl2LJTk+OxOg4jiXZ7qBoM0uISGo= gonum.org/v1/netlib v0.0.0-20181029234149-ec6d1f5cefe6/go.mod h1:wa6Ws7BG/ESfp6dHfk7C6KdzKA7wR7u/rKwOGE66zvw= gonum.org/v1/netlib v0.0.0-20190313105609-8cb42192e0e0/go.mod h1:wa6Ws7BG/ESfp6dHfk7C6KdzKA7wR7u/rKwOGE66zvw= gonum.org/v1/plot v0.0.0-20190515093506-e2840ee46a6b/go.mod h1:Wt8AAjI+ypCyYX3nZBvf6cAIx93T+c/OS2HFAYskSZc= @@ -3420,8 +3051,6 @@ gopkg.in/ini.v1 v1.67.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce/go.mod h1:yeKp02qBN3iKW1OzL3MGk2IdtZzaj7SFntXj72NppTA= gopkg.in/natefinch/lumberjack.v2 v2.0.0/go.mod h1:l0ndWWf7gzL7RNwBG7wST/UCcT4T24xpD6X8LsfU/+k= gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce/go.mod h1:5AcXVHNjg+BDxry382+8OKon8SEWiKktQR07RKPsv1c= -gopkg.in/square/go-jose.v2 v2.5.1 h1:7odma5RETjNHWJnR32wx8t+Io4djHE1PqxCFx3iiZ2w= -gopkg.in/square/go-jose.v2 v2.5.1/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/pkg/common/ipfsapi/ipfsapi.go b/pkg/common/ipfsapi/ipfsapi.go new file mode 100644 index 000000000..f017ba8b8 --- /dev/null +++ b/pkg/common/ipfsapi/ipfsapi.go @@ -0,0 +1 @@ +package ipfsapi diff --git a/pkg/common/ipfsget/ipfsget.go b/pkg/common/ipfsget/ipfsget.go new file mode 100644 index 000000000..c77e53a5d --- /dev/null +++ b/pkg/common/ipfsget/ipfsget.go @@ -0,0 +1 @@ +package ipfsget diff --git a/pkg/services/credentials/scripts_templ.go b/pkg/services/credentials/scripts_templ.go index a12f1871e..a6646451f 100644 --- a/pkg/services/credentials/scripts_templ.go +++ b/pkg/services/credentials/scripts_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.2.778 +// templ: version: v0.2.793 package credentials //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/pkg/services/payments/scripts_templ.go b/pkg/services/payments/scripts_templ.go index 63f0fa290..d75fc7134 100644 --- a/pkg/services/payments/scripts_templ.go +++ b/pkg/services/payments/scripts_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.2.778 +// templ: version: v0.2.793 package payments diff --git a/pkg/services/resolver/formatter.go b/pkg/services/resolver/formatter.go new file mode 100644 index 000000000..2f9b78686 --- /dev/null +++ b/pkg/services/resolver/formatter.go @@ -0,0 +1,7 @@ +package resolver + +type DID string + +func (d DID) String() string { + return string(d) +} diff --git a/pkg/services/storage/scripts_templ.go b/pkg/services/storage/scripts_templ.go index aeed45ca9..b413849b6 100644 --- a/pkg/services/storage/scripts_templ.go +++ b/pkg/services/storage/scripts_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.2.778 +// templ: version: v0.2.793 package storage //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/pkg/webapp/bun.lockb b/pkg/webapp/bun.lockb index 8f3a1229b7226e632aa1c3f292150fd125c37edc..4320dae9ef164aad2f36ec0f70a35dccd745dbf6 100755 GIT binary patch delta 6519 zcmeHLdsJ0b8bA90!a+sB3s<=E7DJND+Y6x_>X?P?mX1UD9sa znvPmN8q;YgYmt*KO`8XfjiF7=64RX4)T+!L)67^-IKS^ajMccBHS^!B)n4m&zWdwf z+xz?W_wC2Id)pr0eSeZS+Y?I0y9$<_K6m&J@$u(lMqRiOT5)jIc)!gR&%8FU>8HNG zD17pOq?Id*qyus&%-plIVT4+g;X`&XwPFNoXh0~BDAg>w?s%x9;>z24$ zm%3|K)HJoZx4=3%5W~mIksYhiCylqIuGQ5BKO0w46eMYWpg!)l+L|UZlW*{8kTlGC zw8PI%Ef~;`KoǾc!Gen^Vjn})1{5%Q`BlG?Yp+G-Q)Yxr;Fzz#1%Cm0=QL$7P9 zYjL^V-(Ut2|2^udZ4_n@dH#h_e;Ax>9fYJl_m0-}+aW2`GeUJ)2u_i?3{I2qZAkJ> z(Pc;HsW82RP@CT1KXp_-Mt9_U9d%a08*;c5k_`2QOA@;5d<7D=IyXk>^}E4?!I#yw z)kzY6+bbwD3NfT6=0ZtD1?43MlExSUNn^nHwT0Cmt;hdG|5`8J9hAvCM-{V5-aATV zZ*aw;vg6!|=UDEss7fnVT{;?j@jk0V*#|Za%$s*v9LiTYqo?w+N;=RGD zveQeF3h-tK?+bRY_qj7fWw&t;o^`wz&qG|Xs`7{4yu_NrD!9k0vXi_Q&+%Ltt+E>K z9IYzPVV#j_Su^$tSRNSTFs3B>O41~ab&b#D&QMj^ikcay@g|eXM_}ZD?sg(pT+U5a zZ?GZMFWb*OVXE>G>Zm`N_k}oE99L|r(u91FMVSZM9ITsrY^wY>g`cwJC`p(jdQ`f? z97-b?HTI>(N)H&B_Mv8qH)adP2=A;8mcx~BRat4&!B|2j_k^n~fcK(44_P8NeQ1cR zlRG0+c9wha^x?gDW^*M{RW@M0=0b~UvF+!cNR>tNUOX3bB}!%cxHC#sE+X6Hh0M#X z4xcovff8O8nk}yx!TqCh*vs4*tuhPu;JKOi;(3`XF)FiiXN;;W#quOa7!QncDBWNa z!4OLf=!2W@%0nH>Sga?C5u%Q`E#;nAnm)a;s!uvr=1jgZYmy&+6l=|?!3SW}wKw^t zjKw@9=F0zFYkwWFsn~Y+7ggeKnEP{K+ zsmfd|e`@8cO`0w+%7w!FA|1+kFx?vRB-^e0QA>`}iiM<4>8^1O*2|T6RT+vsfa?4- zV`mJeB~-CsZBpuoXvv;uFg^88f>ENdSYYlN*eo!8IMc%Pf%|Dg-C!^T1tEF|j0UdH zyIAf?P?bvT1-cIuwyj|Lgd_GxgALI_8aPI`s!bxL5{#ySq^*kGU=(hJ2ZlS8%LcAtQh z^`|v(fKx+EYE5Pt?{6h3Jjk|INK!i$AVX6Oo(D;VB-Iy?eNrq0s0^0aBc(E}R+prQ z(?BaEiBAWpqjCUyurvptGFVb%=L4j_z>o_esVvmTj~_bMB({F3+TbL~K#jpkQirtw zb%;|@D}yD~FEi>%Qu_vj50<3IyImG1DYO_0B*}pl02#UuAjOpc6_QlHh6u`F$#`5< zq?5GQYVUMO+UpGdLz477h8{_oZ>);s+p9))_<(Ju8sKq&%B>{5e?oh!KWJ_f$Rq0G ze_TC5XsRzOG7t;=xO}u+{J4DnAC`~(zgs?sR<`mu9(T5s&)G7ZuQ^*PH%t7~*;(9g z>u{cUu2fzw@s;Oh@mE0K1$9e2;jL+W?WlO1RNj0-e*vrI%li-c?8VXx;N=&r{J6zi zG5>Cs94fnT&I{j{(eDW*2cI(jI17spz4jiL<@88C?ZQ4%_tC!EdCJGxhd%$(J7j3B zo0cH<)iz07pTH(}4BXHQRW<^&#A$U>8O-sGsg))?NryI>;aZI(H5+xbMc_k7E42NY z+XX&hw6ff&qivCXqjX5Ec#=Wd^$q8wHvFc>baLDSP$5Z16@d0m>ZBbYJq%sC7a)Ce zpT)vjBY2Xouuf$YP)b_z6HK@*Th=fc#1Y z#sRkh;Xop=4tNAuPw}GzZxK)lECyUa6+kEFTwoqB5hw%b7|#XhyTcC9=|Bmk1U3Nm zKsB%gpp%w98}flE040=?M){&VQ7G@BW4{qUYJjD{-9RQ#06YXd46Fto1n7jW18M;} z?CuA`04I?0HuH+f?I|93Y46z8&`W_Hrq(3U0fh|nW@g8_SMz`V zZNNS#OtdH4F-Ocxqeokp9bH)R(Qoi34R2s#fp~-ZHgBtvo6l_RvaZRXzB4o@+6Bvn z59@>t!e(BNP5=7j%SXJco`PPwZeqWfp3Bl$hzKmlV{0x8XThQ;mz6Q?O^C2fVU8ad zLzrls0t4oC*Iv)A*o0}%4(W-ID)k75wUr2 z7kHa25Qjey|_B66oC2o+3dXZLy zkgpaG6v1x3*al%UFWm0*y#0K{oDzSuqA37_^TnAWcDu4CP#>YLFUCw|VHxHP+3~Qr zA+J_0eh-b(^g)?-YLW7v7nNVV+JZM(=nh_biTbIqXI|ii1_d?Dj2-co(NtR=J4wO3 z(VKC9!;uRw96AUE2YP@)zc@D){#S|UV))-9vWr=vay?kvSUQ7+I*SEIrb5xY&zpPf zs?YX|pT?sHRMU{6#8EW0nHPFHo_qY0kl?cqLm?9ih}2>61@&DhhB~2FJ6gXSyY|hh z+7ol0z-Cd78Y?z|cA-L{PJjl0E}47s#EucWd}Q_@YT(h$yTXcdSH`Yv9ywPtq3r@E zpn*x#nd1M&CkaIsZ<#%h8VhQS`@+s?Nhh8OJ$2H8Hk1mCyimLbbF5vAC}ANHs4%Y{ z=dtbmMgQ1IVb0KpsOf}em{*5amdvYochd0!V~A*K-clZHPI;-}YV{7hF*c7=VqpnJ zZQfG$&3W!k=T|%bBD4ExV?qiQ(FFxW=Ku*k25g47^c}O^!fuv5Rok>gVkvqz?M8(-FEq{S~YB%svnmdJTLSnmu5x2)JQMzvw+upOL@L ss=P~GamPFHbf}|jIv|Mytt?%9-pb;8V%)4dvgh>gScfdu_OUJh0@f;UwEzGB literal 119323 zcmeFa2{cw+`v-i-om7S>WXx2i$dpoKOlBD}B+5L`Lm87yWk{n)MKXj)LS%}_P#H2s zWN0FDh?Ks)bMNOl|7X2#-JZU+zO}yf?)990_CD9|cU}8Bd+)Q)aeCt7*x}{jzQf$k zd54v=H@mr)^Ez+{I=WamSlc;T30k|jJDGV3dJC^3!QpT$z9AJ`-go9+DlZS9vpMtR z@QrnA*0p(3wX0-)N{+y-j%-;4tZ+EtWx$dDtl|E`AVPg|JHg;*oeGBwvIRfU0@MMx z9^eyTzyMGLxP|8}JUpyCEO59y(7qAWp@+2qeaxI3p-3{QZvgd+0HM9Bi-#xR;CAA1 zI7(300PX7lI-5DW*jeImp#(d3D-Rb(Z!28IY8-A0I9~t|+NA^h8JC%d%W-EMZh>rB z$Cz;5)y~=n`aJ;Zn}Gdsf}SHl7{3_-?K}i+99_(DUqLFMt^sI==nsO2aVZe$Yd|CH zkGZ>m7YORm?g{t<#z7B6;dx1dJ?cLXsKa(AD|Z_!Q5+8WWu#cnhqal9ryGdV z-O9@YhTIL>Vg9ZG=itYn4*;nFt|i!8*t$5_S(>?9dsul}IeU8K1Lx4cG%%t8=x$|Z zX=&%~YUb<%#)XBghnI!BnTHiF4kRDu!PU;)%oB9L$rok^hw}y`m=8}|D`)86lu)+= z2>Txfcu@Cel7PJ=2#y}q`2fP}IR_B(KM^nhIDzrD0)%{5Gf!JV2P>cBwssb94B2^D zov;GPMz9wKVn6d^=WOR{=HWpH+F|`YXoos`!61YEqad`mfjad26d=^E+`Mdm5g@!C z4vfoq4Af!%zJWR%r&9o7oZJL_$F$5BXI{4dosJ{RavcBE2>`*sc&!0KKclQT9FPop z2@tpn%3xb=F9&rxP`9`9v;*D8Svq<{z?r$*{6r5IXLmtxT~gVX^&$a+5QCm_fLRSt zlXDp#0ff4q9*%bAfGG~@&@LC)fi4Gy0)&240fLkTB@pVR+{@=(?VMep!w*}Rx< z>@Oc6%-3yzFz@?$mirqA5a!L!+1AS4&eJ0foQHXLakhY$5qI3(%+=Kghx2fCwDSbx zy9MaN@lgs8#*qOKj=MO3a2!Pdg!+B}f9e2)ek}-S2oUsE->;w! zudA2!&vfBjtgXOo!r|_M^HA5)%EQwg^xx6W15O>Bmm93%a9+-yUd{mFxVHjm;o=My zFf*Kmou?;A6VAiaQV=ZUxQ*h=ew-W~VKc6F=dwRwZ*A^!0%vC7;tqAtcp(G!l)$g8 z7_^3dpb8G>Wak9k;4H1Iy&!ryTe$nUdb+rqS=yZdwl2129&p}??ON`?g}aM~$8irF zKd8h0eE~M`db|M$^KIuLA#QHxiR+VG&L>zOk9#EA!zN~2>iqAOuldVd?_KWC7I>xJOB`0 z_iBJ}9NY%D1z-q3c7PTD!KDn^4-lT;25<{N3V?8aOaWbHfL#C?0hR)U^Xe8rc>WSV zDu8DI!tuAfy5ex^V4T3~eQ*Ere4$lZUVr!r?RyE>3)*2GnL!<*`GIAm1a+vp3LphQ zBjx3ODg%VNdjP`o!T@1@<^-1g*QhMp?*g6L2->fx;&5OJ2Z2lXvm6I?*gsQ%us?Y9 z<@>V%K&X2Vv_oANkQ~_0(;CbDwyf199)hI z4ksad4_p$c!??_>JOn`%X94`c{;30m`P%^y>KPE)8FiNHQlP#8w6g-F1qkj}7M?f| zi|#Vt10Wn9ARRyRL8Z6cA3VTypuGs-CV**#_Gw@bbu1h`P5=r{1Zsgg+MgWIU$)-` z5c(AW2;&5~`^lR$Sk|Wkb(l9UqhI)2A&-M%9DIS-Lk@_f(JvtQ$69l}U>F z+UilU)UG47_L)=6mlUmOrHt(c-MX|RouM0!I68)`N}PNW;F{R^?4<`;Y=FhpJtwx1 z44P_>kGmRGjIU1Y8{;+5ZqqQCt{$1U!m2-fraxG`^;Z=z}N?&fees^4T&y`cLJKII%f#bNvjZw?PhkB(d6*YHM-C}I0 z-em5^EiJpAdUuOqX0yu7&3C`kF{+i&8Btvr{ijX`m83H*otnxux}p)L&{Bs58Y_n- z@#pbAQw3c;GNpmXR4mqWo;lP#u=G5KSDfy_Kiex(Ye~@}{xL7?kBR$DwoM(eXv6rF8}brp3a}&fC=n*;I`C_y;$RW_)Ga=xbfW zC(0A>O6t&Mhc3V8P3O{Q+M3Hp1q}=+jW6%1P$^DOPk*7vBYxTAhpf{9k&*ZI?)dob z7c}mH0$<*e#(XpONmhFI@$GwAntu-g4(=T?3 zJ@<%ua7?{apRv%NVkt||K2alNm*`+n?#YLh*EsWOzOTuf4>abN=+ZpvO?sIIugRCRRl60eB=t1ss)OOoDBq4Co2a!*c7>LOBp=?Us@d?2cdBo~gJH6$LsKdJ)42h0gFRVCqiI&f<(epRt&d9_ zaXaSXpyMV$rm*(WEi%VV=Upa`E7G6UBi+9pw=L<_t7Ah7F=uLCXk2DyE-o^{ z)^*hr2Cw9d?vI=~O8qEwhhDE_OOL!<9d}>G!?cFLH+wWC^rjSCf~h`d^bWR`T*X*s(k_wx+6C`E8V)UGEeU804+h?AtKa-_Nl5LSSFP=We-K`#;J}+TY4ZC? zCU54|Ja6Ik^}d^IS!))?`-L~*U7HS>k=@NVIl0cd6!!-_=D4q>2*r2&c&AJ3uHI8O#QG)tI<-%`*Q#b1w+DJ> ziK%ETq$ZLEUSu&Y6zw0TAMMO&toMGfue>+&%dVSLsT0qiOEd(O+$c$&{uHwYuM+Su zMyk<}J(25pvFFzU9&uVZsolI}I$TQ$Ss7!g8Ns#I)w(0LJ|r^5EdwSx>!as7a=?GP>BX%uIRy+Nn?k?W41 zUvt&&|N7ClElFlXZs6OIs%w_VznfZaXo`1`wmthbyzA4a7uR|f&If*crL6tbo4#`o z|MtLV`>skEWDyH(4^aEJY?J(w0^b+XFEpK8-VsFNi8L=EmY1i@zrJ%u?8`< z&I^+B8umKOWi%hsizpOQTa!mbIfq1~c^Dm;qgq-c{WkCYY8S3&tuvJ7aLGJZU+Z(_ zJ;T`J4D*%m>V&%@_xjtKkA_D$G_&O}*c+7>+|PI5>dn_y^K_AG^AvMwXK2*F^1QVz z_$XSR%WPQ|#TKfAuM8d8a5*aLuA%|Uwv$(>m0zui{$LOuoxvDtsKC0~w9QPrCvmVl zQ09&nYfIvV)<@(E+1>`j--cI#ec_)J5(3#5pf=dw!73^IgHX(^Jk8*bJ8wFt@m^{J zyXya25dR}+29Gj9kc$Tg*i#Z!5Wfd>1Z;hS$N&rW3AO)D1lh@e9~1!} zVg4W&Jg@!r#vI!Gsvv$J;9C>;zq0@5ImA~47arvg+N`wyaNxlHL%o&c0Qs*0e3*Y! zNBGZp|5-yCBzTp@qHU`8u0em?BVg4Z(wSymj zS&-c|z=!)s#9it59RqwZ0w27`TygyD;AJpeKTyBXJpN_y;3SG)AMnxr3u>ToNGv}c z@MSUm{~ZsVNB-vkUkSrs>HL!dFPLHek={z<_XGUhfDiqmH5|qGD@6Vt6Zo)>#_+Fr z=p5oN06v`mu#T=FviTJvz9!gos1o?Z<__v2{#C&Llm0hj_%MEAV?h3QY*^m^K^_+j zjL3rcS%8n8|Db;`oQNuj{|)f5_g`Yi0OE^+NxPkp|COx4h<^(3;rat(C)PLYAmTRy zK8zpc4<5vhA;ez=erbaILq4$u@nryC9{5LV?@Ilj0(>}rArESyjX0bh!9VQ#O5;xfd}Y8#`G*?B6qLVJo0jvB@<$98+919Rfse)>v117FqX1tC z#EKmWz#_1N<@+tv@jLE6u+L;EQ77C$=BRF7+RLV*7yjoq&(-|6nV# z;`k-$aX9d+`@hC7v2zgl_XK>HKeYcu?Z4{>vdad1xPJuO@SkO+^Jfjv;Uuyx z2Yfhw;Q9yKQ2XyRkli-|ANC)%5t{?V-^03m{or+n+?Db@0Uz$40QKkGL-QEce^rqG zHEcMX4&Xz-#B!l7;u`_J7REnV4u~p+3)LjQr;Sz6ya4+g8f|0{9Al;C~PI-}_$}CyMJo z#f)u3c0Pa){iE1XJJ$9;{fz9|03Y=q+M)LU#KE>9JJzks^B>;-{>}bx3Gnqn{7@Us zVfgd!3i5BV?fGr-ArNe9QX>SpPTU|0>`g#Q6W6 zUvwV%{|NYK|AX3)&94yIit_)xfB2RCKhGil3BXqX@x$}rRp?)Nh4o(*#D4_%vIIV{ zV;|}w{vv_D5-yg%S73Sm!MXcyuAdL!OM&=dJmgTA$b#Z80DL(NAFe^f6vS@?FJBJ< zKI%Wh-)SH|yC4py`v-iFKje#m&Euck{{sOZjz83Igv9p$G2rk01O7L_m-z$!-W`9& zj{tnhKk)w;@c*d)fUk=2PwXB7jXx!D^N<64ScmgxrQ<&p@X`2(*M6nfUjjV*!1;^r z{VV0W13tdB8{g zNA1501KE8Cd~gf@$%pF~u?6wvz{iWQ|Iq(BV#&Y`@jU?__Mh16j$9!AZ2}*Tdl&<; zIYj(6z=zLIP#5xvjRWy102xfdpZ!PI0BZfNAigZ%!}SMp|4sbvfUij4LrthbOhNt& z0Ur#3AjpAzUnzeS@Uim`=|a6<6=b&!Y+jUrf8-mr|B4IGAv;IFhwBfq*B$91eg@#f z{-ZiN|2stXQ-H4t_|Tr%+(BE!mjTIx;|KL0o+G9pei-0G|10qg^%1`p@Zt3%cHE=b z5T5~Te&F~;>n5>rApRx5hw=Yg|AT-p5BMv2cEk3c8w?&<0)Hhjp!h8TA54Lue>?sX z3I35D%J1(G*}n#S@ZZ1A|7PhwyZ$H(|~{M z5BNiXZ~h1T{qld-|75`blm7nze7!%2UsvJJ#?KwV*ZBkgi-2$V2Yg+{KkI)w;Di7E z`u+#bVPXmi!RQAd!}*JNq{NVc4dP4h|NH(;EEl>!d^f;J|-_$&243ix0P@UP?NIq+wEw?E`(13nzT@ZLr2 zwTHPyd7cD(S-@Wd+FD8CtA0z)O9sjm~k6piz&hJ7%{?h>;&R-Ze%pb7@@jn5+HsGWBO8GZ5mcKvxxBRg` zle%iv9ZG(q5RncK74+ITzJ5BfS7{#`G5~D!C&zc8w296 z0)rp>{sXoDE(T<`6Y#++n4kWMT|1yQ;yVLAcm?=Z|A}405kD31(f)(jv5WQJkBR@^ z@V9}@JMvHLy#wpt4DjVZ|6zZKy>?jsEx?y2F+zCWe~1hfYHjtkEt zK9?>ICrj}EZ?3;T;KS$tm2k2C3jrVQKVa>yW!r z{s19<7$2N})bIx)3i2PUkHZ-N|7h;5^!mL5e3*Z9{gKY^LO}lcfOGi%3-Xc1@3`|DiS*%kK)Z z-EOqJe*W9_$Cbc`{usc4bcyw!1^Dp(59b~nJ1fnf0C@Qa*N=b8_Xd3ApC0%p_8x@# zDQ>*H{zLyv;2^djzBk~*@$+x_^%(y!e=CiDJ$U&E*H0MtznT9B0ACdFVSnKB+e+6T zAHawAAJ~6*?N_}20(_Lejet*VLHVBsd^tk@;q_x7QULLdP5z$$Cc?NFN)t03Fi@ipXuN4zaSr8Lt+Zz`vLxL;D04+C(?)48y+xr zICkOuV+RM+<^%^UScL22wx6y486l4s9B?cN5bXXFLY*B1J1};C7A(Se#J~X&?9G1` zh_JqMx%x|lb`k{pT?BiGFg~zX|5+fyI@r7ZED#|NT+5#b-bwyMu(tm!{|VuIRUn*) z2>FWOfVxVAIv86&3q;ti0uE>g?m0gT7U8wmA+$q;c3^w=vp|G(uwDA818&gmy7Mt(FnS8%wAYgK&<;6YL?v`Ymuk-BfTuy>xKEf<+i_1~{Ny z7C4~YU2wqm976pbp`HhDJvd4U?d1UBJgWi+ED)hi4LBgb796l(5w<@C2gEvX!18Yp z^6P)H|1-k#4d9>xM;AC?zq-Kz+k3zPum1ozV1WqF55Wp35MlitIH3J|aKM5^*!}?= zP-hGrFb`AUfCVDlCy_%V0>ZqkC)BY>3))!;?GT|IJE4w6*u+6-$0GE*mB8aAoc|TB z1NNf84z4S^2=*&MNZC!`VG+i?7qr7uQiSsm;g8Y;+(&4K2*>9ELLG~+Ntw|8D}*L0 z1Urb(zdE4~kp|RF2=)Ij5yo{4!~sJwBg6v{jxP&<@Vqsl9U`pT5fJ`+E3iO>*V&a& z{}nf|g#K0mBWOno{(z_O zutF$sp1}jQ!)y7!{n!8YU$$Tzz#(D}4p<<E2NcfoN3&;S2x|FuMo_G++y|F0B~qgA+N zUGU>y1@Fn2aDidFPmCpu2+y37+J7IJn;UM@}wzM{`X_1d%4SSlX6nrtr0r|^F!{* zI+WHKbBfRkd1G|pGY2a84U-F5#&LB=RBrP(Ci3h|^cm?RP53Awmt0965q;5)J!tIU znRa;vkqnY&XBZ@EHv3DP*yjEa6xr~3bA)r=m!eZH%o6~m2zrNAUeDt-=09JnJn<<~FE09#@|~t^1*fbGmB*@FIj6;5 z9Sl@3xSk+H9(a#B_0Fw#hmMJ0bk`tJfOy}tftA8LZb#}hJYRiSu8yz2tiDh{-MVe) zkfcDxwZaY~-w2oMG0$c@d}3J(Hn-oRlg?}#q1Ie@EyYVKsau?a(S^@`sNl!T7-V*5 z?3$52@9K~;+muLk`-P|9Ymt$8tAV#ee%4Vfd()z#i*Jz)W*3azyRTOhD`e9CTAb-D z)!GrGBiApGV07Vg2`YG6pLnqZ591HW6w{>{c&Z@al-B~}4%Qxd6t_>&_j$qC| zv*TFJ%hS37w|t)VGEz&%tW`J87*{))|8DQP9T;8soP!FUm29l1D(8}rERRUJ+ck?h zwT3mlRhxL!$|H6f>bz-_$-COv#B|WHP*s;EuHi#JqKkbXhI@cy#$aUJNk1}-We#$<+ZA|BW z#q>bPBsWF*L(TN{pD9?lTF7;F(?+b(SvHAj{~R09~|unN|>z< z{OsmDd-)CP{f|6~+I7LIl}{yFO3gNSmM!?>pEn3aP`v@cMa>J zOGa<@QtVdOP4aaYct5@AYKO$yM7pVGNexub#I`x8v6W`UFjmK8-uZFPY4YHDKa4KC z2cv>dO1&Yq-9EK1^wOhRgF|{R*?M9Z(#X5FKHdH7VmtA@@FU-%A)7*A1^N&C(m5^%W^e zTIX-i{DK4bEgz%15s3oCH>r)8Y!`Bqcfz&NU+yw4c;rXsK2xzdG%8$SJK5c;4P8Zo z*X;VTzdlT%zHL4bd3D?S#%IB5Iy~~>TBhw?PYz*pH(_;KY4v8=&y`z?Q@@>WY~H)_rTSRLx<$1r7aG;ile&~mA-W;KW1x`d@< z-3JWiyU!@oe736>nJR?u5>bBPI}lXxd)K&pGxp;YOS(4yp!TzZjm{@UQtg1z-7fYH z3?5fRNTviAi=1|>*58nQmpw}0jP{2#>H6FtO{R^vg)ctgyQ7HFh3|Y(!54RJUv=)L zrr*T4{9e0kCGO{a+t%9 zMk_zx7U_Hoqq`Z20>rnyl+Vw~xw}B;^saVb$67iWr_NUo-v*_h`5|UlJGnmeEVqE;pSWSyza~jhUxBL z%~Vy23_7GHU2C5aGCVr&qUqJ8m|x%}e2^{pWAHV3C5e6BKd$bhH;%zH-Xr8#yLuU>bU3X7l)mv4Y+${;n-|3o@j$UI$4^^*T4?a^!SN zIO_*Y8qr_AnrnR}M@63$qsxqq_b3bbq(br`a{Ba)(>um`S}XRP4EJ3Xn6IMg!#a7Q zzB#1Wz0>3T5woG3uRgVbZ4cFz$A6eO6a}A=7Grl>$nD4IVt*fuuNl^H;CT8b?byab z{V>BvsZR4D9na&cQz|Z8PLNj^++afOXEwF#?c5yGz5IRgUNP1*mZ##TLLQ{&;vEKt zbyP9Btk`%}?q9>bqWq-M9vSh(dP!RFor-9nDD!&e=ZU=8s-m<4cklIn*cxuUH!wet z=FIRa(%bKq>1D@mg+Y+ZnR?2ZE<+!7%9>%_B=}P zv*p3#dIj2aeO(*V6Sx)|uFrl&pA~FITWSl2+oiTJ9~B9 z*>OwqT%j#SmmRAs?Z1VLUZ{10ybLwzO}TxB63k=iU%WWm4Ks>Z9KQ93?;nr~O%fE% zr!i@^7pX38tqA!cBeGV3dGkHxQ1VO(JVuuTtGiWW?1bm@7&8eyj?fqHrD*)CD39PX zSQDle$t%b%JUAh1c%JQ0uWdW-Tl3aE3vr4jo{>%hLOVz-V%hcYY}$mqzj0!9>&ZHU zCSIsqR_Kc46gvEIG4IVVrT>P624ywYq-PB$rsLdu`%7hb1*>B{qiRbM7U*R{C@0wW zF1UFd^zd(RgYUf2y2FLlHGh1^&ntX;E~B}Spy6%_9>G2*mbtsW!qklKj)%RKWfga8 znzf;pJ?#1*^7R4M=DRh`U$ifT?g4zJLb}{o-A@-6BlpF9;1Fnk#u7Xu z;&fklOl4QlXt8Iwlg-)cvcZwCA{Cjz!EgS)MVt@Bm6p1W-M`)+wT&Y)8&{?LN-7Vd zyA`WDbnsT7@*ck@)0g>83ig-^>hhPdD;kK8J@9*?xNp95#KxwQvO+_=|B2d==Q=4# z)!E0n5;vl)to6wBYfYluZeVn`VRcV4y9cJQkDA{PU3=~2jkBZAr}CvLu5o;;?mw|# zCicjt?WLsGJ-nt9lB%Wry~s%W^O|w*I5`8)bbsy;RK!;|VRU)0x+U!~MN{D~-iajM z&s&pj`B~3aa)k243Ff;ea+owl>rCx0vn)k~>OZ;>^6G0C%i+!@MM@po$3N;DGG`8a zx~0m9(dEVJCI@6aTy^mAj~6*I+a?0L-le-yl0Mju^ZPEOesjZh_2%Be8>jL)>F)nf zk+0n7B%V2$+;Y2=oVCE}V8`8>HwDYTBU^rcH6vxEKR%OeV8 zCN8TKGZ`w3;(57tfB4~9OTAumZKMJ7hFyCbwO+)Dk+b(#49&?TK4`h1xd#(3KUNnv z$gYCBk;Z9Q`MpxfEpPF%jpkVR>TnN7i}`nhlO12bJY$`(EV}R0>$twl#;H2-%S@IS zm!#s1K&<1u-3}w{bASL=H|bcQF5@wyx(yd7cqeV}%xlt;MVwyiP|c=wJ2ECPudYj? zji0xiZoN4B`AQ!XRpS-jlRG(D4Xi5jjci`{vS8QA?O5GBI)%PNmpQzWKC+ZdUGytw zl6E+J(Dh9RUO$MWvYJ6sCFU#HQ-yC$1ztsEN!dC_w=owTo0BUUD?WKYq1yI&CngVq zSY6#$Pe0cd1vK@=a(KmQwaMu4-WP~C$2~B`de_P57ZaL~H->KbaN+uC zfo`voTP^b<<2f$RCHIK)IzK(;wbwU6)mr*lLz<8Ow0>+r#oKH^OFuqtYb2g zcO{wL!Z~o>a`g^|cTBe_Xe!6cIeeuXW-$2`!Rjh0Ywf$9pOaK6OFb9WW%Htwn#B0) zz;QFq8{HEzCrA@^aNTphxLI(tX0iA+?va0g+b%w74S^=FL+v~XnRC16F}k8y-7&q{ z-i4G~t#_FC<&9evW!GnKnA%6XgC{PxzyF}@)iVz^4@HW;FB2F3_-*H%mRON>Wv}<; z7~N({lftu8b`;7Gbm2P!F|6(fCenbDH+K|uuafKzwmO%Z=Tx<&WuhQWxFM6pvgEDc zL@DcLwuh_dSqkR|9yq`YW^LVP@{$3-4OSDn_2j=(Q?G@4CyDDM)N>Qt!tBz4~=luz1<$z%|9|OEt z-}{6%rK6ZUpzn}=>aP75I3DG5XS{LS;M3&jExxS7Z0|@}*3f8=M!wQ#4^7;Xrl8#T zqg1j^+`&soHB8KY;eOouNF&mleT<$lVief>Jp6766@19s2cNrnrWl;>bPSYH8NInD zPQyEzwJ-BJ!fTm(7)}y!&g4`P^G8Uh5gei3OOG8K!tr1PQ81i4>794cXlWb z=sPH=jpu!0N~b!rCNhwE=+p)A<9ugxlN-EEZs+g4q36n$c8Zksb=vEV!&kHf+70gg zc=1%x@m2e9I-|}f%Lq?~vOTl#n*gK>zCHV^;3t*ZsRYU*-h80hF5gR?Y46+D*;-Lc}*?bm8||sNgN; zvdW5=a!S8&bEeJ+aqD%y4B#tVGUI!zm;Y9cQJGXpn(tuFCFQp-sCkd3ZF7_C7K{0! z@Ijhqmrhxa28DPKMi+eR_*cQ_-5T9eaKr5MAhoj^)nLp1bAyY?-O^{jGV5Nt)cgI` z>$fUWsyE)Z%x;=eJK1pY`t}aWGn%Ww7q`s~@$w&L!r?aoC=c-aF;wtP&y~c-KU_bJ z56erQDY~Cc{q&iv{Ap^WQ7d8#&tQ+K6qZdRDO{<>0}G5X4p4jHoB3lB}zFuLeF zIjD^vQ+v;MM_;MeHCS|3DK9UXQ~!q|IAalK>i6Aj6jrRpT^L;%6fD%uzPeG~XH#N;BLlUlR;rG!e|29?+M_JSkVrO* z8iRRD=hsW2qsHaj%^yt`w$kc1ZsmLZ`p^begNJUKX6O2k=wNhZvAPp{?w3C?DtvD5 z=^EG|d0cz`N7*pC@>t!2O3G>{dm2v%Pfvf5vC%c5*_isik;}rI z>snoo#OWWG1#{#KmR=fHiMJ}Q3jQ%(MG}37qw=uQ>NM942i$9evFnZkR#&h$X}YAc zu6Fg2&59Y%zFDq%92tC~SkV02b|qoSp}IrYJ!={dRSv(ru3)uTUR06bQjj~$#h+?- ze^bPQc2P|^CSFCXu8UNB`-D{W%YukjV}6g+vXD=PlkbL73LKqCd);{|CY)lwPG!I0 z(pDU#Klt{7`IX=R^^ZJtq$aHo?PDBTGjcJy`?0#kCb5zhbJrb58?B?#YtNr~Xg>SO zgW-IC_@!{$Et+RULh8f^xfAnRM~mB6_tsmF;XIrjLhGN)CpviK^Bp*jeGX8<>c;vz z^hns5cUoun+EeZMbac+^E~_PT<Ik4ZkllCxA^ol zAYV4<)7a8_mYfz!@U81AkSeq=?O94}6u=*Bwy zAj_mHq)|ARS@YFU=w{Cc$wumNMHginSibolU~a?cDr0qTN#59{dVNulD_=w~IYug1 zp)V`WRak}m5?9VJ)zKlNqZghrJj^o8+03hX;X_^cnrqIR!mhB)%T6_)n+-dD)v&rIIh56=HEPX#vN{1J z=7U>>c(ZNak0nm(lrqIXj(zBvPc2|JTe6NaJJGE9wdLN-WBAVMQ#Gb!nMS(=jTdKG zF!6%F8}wJfb2p1w)qGmlC!uFPZXqq^Pf_i^zTU_=DBz63YKqeau~nC%)81EZ6Bvrv z`$%&3_^47%c)CUkE}_NlWeek8Ulok5#$T#nJF)cFMs^-IW@&$YSYQ3v&Kc9f z4s}-NN|sHj{d{t-4nHf8kGZwOc#Rfa$foUgvGd{}R<|$Y#=)_TBBqZ*dS&AaMg^i0 z?r4t1aJ+Nbq+mI6pgFZ{o+obLfvjBs?k2Nm5o=V=B|Bq0lMKmL4vw{MkC#jBcKhrEN-X$=Z4#(?0K;9?1^b{yG=(0Mm;L zYP{Je3wh<&ujT!`|5j$Cym9#<>ajxt93pI~NuPP9w65>N=;~s1_tw3RPV2Nch+%GS ze%ViBVlAh!&@^Bno3-~Ach0-G7~D0QvlY|cVj)fEHg~;|e7tt?@sT6r?oLjRUx(J` z*>Aw;!tcdV!JBDEoU>!P`rzVIs_49{AJ;InR@KkcKQ+B?vpfB*MEeVmeeb=}jz*uP zGkLOT!nP2t_jZrTHnRTJf(>tKBJa&&*M~z$6d>N>B%L(J>r6R^b?0pqdd5|JGD|)! zBzv5_ZF6xrIV;z97h{v`W&ILvhBoE?bQhX1%cB*oXURu1n~K3p%L96EG4aCh+EKx0 z4jwesYdvT_xBaA!wy%`I`ptt4OgA?3e$3ao_5$B_@5si+U3=B}ytzH7Bd;{Iuw*H3PD)LRLcaeq3y%>#}vwC^*->NfGEefU&^nGb^n~82D87D@7erMF?8$Bwd`B_sdFl< z=wo6Zr|xrV{3Fj^F;iNHwe31)A@Ey96z^fI?(=&A*_^UkhkIhSD!AC%^J+goR(h;Z zi&C4#=yjMYwVSWRYh#m3BsV;7wH1rZ2Yn2E`Hud2Vb5yW?GdJymuP7*y2e=D{WK)| z>K4yVOt~biGizMU%5S&n)#$k;Z%MrtzH%{{1fHX-_rKX`9lwXt^+WCY{_|9E4c|5W z2R^gEsXeeZc`F}A_Xt+kbF}>R`YXM6@9iu+z&XU2x{E!^AyRko)Q-h#Zs!9ey{l86 zzUiM3)xRNk^1w~C#*pN*l3AzR#yX_;;K@vJ+hsAj=dCc;Gp*A2P&;mbV=s;C;?Urhk{mnS1ccnMmI&V+DxYKg>eL8tx$js*39iMQI zHq>3tz{G2Y)#Ym1Xm&Yq_QX}zO}l>_m(1DyCRll3$JW9t0}-JEA^YR8%AuqwiGIN9JFx*Rr*z zms1>+E~p$%a#GE)7{w zdeu?6lev+UEff5;Moj71y%|b!+&a78^kFwwGYywZ!U*52k(IZ264*GsBiu-AkG{&!tBR+H%h?t-X6WtE+3r_t_Lj z&N)Xp())Gv&qoa|>#RTLF>;lAob+a{a_{_LdX{Qx(^LX>-Lb~% z27iCG{}!$8@gXU4%KHybDJ5T#Ezf*-#B<;@weh#=DUbDe8gmI7f}Q4Gd`#Ofw72W_ zHvcB}C&5|lCx<4bQ}$xt)7oHlOJD7=RTp)1IQ-b|{H^Ke*{H^yiibY7vFq-&#s<#qrzoWvkkjhPp$Vh`f}`x`|L@(g#)dTq$k%M@Vz7nzhOsta6qB} z@$)|JMZE8%?$j~Yj4Qg(mmkym%q%5S=DxsrRxQoo@F{ko59ex|KOR&LAG2dUF`K1u zLGHF@Lh|98R?~X&%AJ)MT}Q00bj0+g!3Krb#iQ4nhe7(?^W%te3#{0qvvs1buVZ4z ziEmw2eB8H4sd*ezo-#9k?i9g(Pk{b@8r!zH6>efwBmy27CNU!{6_En z%yZAYt&NkdPn~tLz8gKE%ihbM@6cjM{+eP{gd*E>+#7)n2CWxqZeznH07_-RA0Nrc*z2z>yFi(?u+f+wN)W9zQNsa=2TYC+iZ5n zbu;H*@6F^bl&jiINpcr=zVV&qt@o6B9nD=8zq)j!j*;Z2zJH!Vopd2KavG!Sfz>rV zQS`PoKZaD`@u%r~o>e4|)Tk~_)K7>Re8=~zU%eUKG_f>NMnN6ktQ33vo?~OGzMt{g zwTW6Ky+>U&QeM++!{~Zqb+w{Pwii0F$*@fq^6-5dt=13wG$g)S+NdTw%KOLgXD)FO ztsC5;v>6?{z8A67FwG0)1-Lgnc(vKSNQ>OrgiZ;g3;&)XD){;%llgajYbzUhn8SX! ztj_H4$=&mkG-6Y93x!6(sdwk-+TB_bG9UU(imazH_bW(oa?{aeKVWC4eqgL(-6fKD z7+r593J@@<#rFP&wml)P#&I&(LIjUeYDHu%Q{lm>$0}=+F{wn+0A8_Gp}q`ed7`C zM%qz2Zqdv8kzQCvGXAmcZ0lyu9vPl>EGO5_jLMd5+_jbe{aft*_XJkgmTYb^x^?6V zgQe%Tw~D70OtYwNZ4Rt|YDbYzSGwsSjbVQP)zK|o1(N<(=Jg~tQUp}!)s*5_3l{fE z8fXXWW8WkCV0HJ9Epj=(wQ+A+f8yHBdXsw9g%2@;Z)Ps0PzT0IEvkH#dRa?4#;$+y zK~P@v{>u^6J;E)GwmN-P=iT3)7gM;1eedau)%C0-@f|N>Yg4<*QL2~jKJX-&d^+Kn z_=$$d_{@+iI~aYKCIVR1rCg{M3hA3FUYe&5EXjp_OYv55+I7h4`bF$_gML`u`6Tvu zgG`gKmjxQ3D$l%31mEuBdG&5jr-f$wm)ktr9QG-;xJ={s4m4j!A1-u(JxUlK+)0INHZa{hqqi;ifsOW7NpcT|hH zF&Nr>vAjYxRnz&7*7e4)H-)l93O{3m=<{S!sl$!0B6NcHPZsQz_lpo1^z$@|$LI!P zb>}8VZ?I=sxGos=;1&I!Zah_ZZ0ksp^L}+NPI4hyj*_n?Rj*b@OV;Nq@=LH?d|CXY zUpUIXye&=%kAI}lmWYk_Bvv;}(O^nLKkB^6qMx$3EU-b~($fo5CNLqt>oIz1i6PMs{b}WH2~C7a4wWiSgNbZr(bhuH2Bs z%@@R8*Qy4uKG9$xK>yGyJf36SjmH?>V65)f(Vb`A*XYgg+8KvGXNf!RWbWFOc%zTx z***v3A^A@77uwt}^56E2>gJA;YmCp7J^f1FK-=_o#%s%nne3`@?7DLrt9z;AOwhSP zh08Ruj4ZD5;Tojp?2hZzdK=N|ZM2G}ppzA{RlU)s72Pn;+B6qY*HvQkQfzOWOWR4F z4^6cjN{%mL;tj#-#)aJZChq8a_IqV{NSR5w=3Aam$JJx!UoABRm@0FqE49zu(Na62 zmv?=9VtT{gD3OB4asvt1ueyL}_yk|Cw>=<^X*k3GC6 z=y+ezeX^EvxOSD&_zdt3s4kig8$Rpc7?#?W@%d5L8~ZwU z!=-`Qt8!ix`7LY8F}mScT^HZsRME6qnR9suPi=TdGn9OVtEhL+b8)>iuf@)tG{?Fr z8i(Xw+|^wlT6fkV$abTfJsm4&mhR&(?dL0BjnQD=Pex#MUGMVw9@xn*Rb1Wfy>zlv zRLQlZwq)b>ynwePYbpZP;?0!aRNV=_b@;_$uTQ0_%zdve9u53b_2a&8Kjpb?(fZ#p z@t(ozdZ*?0jqjFwU?6{%QE=xv-Dsm+2?6)%Iu%3aT#0G&XLj+N^<~#z*_*HBxLzic zl5BZ~l7l28uQO_-SIz96bQnhW?Eldn7xphr8DfvmI^>+@rDJXBD0PkU5fiDbf&3=- zZgURiO&bta7Z}`beNx$s6Z6$8(?WKG~OD;-{3mDyKtZwYf6sjbS@kCD(3+2TS<`)s?mptFHtd1`3 z%_(=ce<*$O>6J$`Wa?X`aUOflwyga+9wwt9zEiMZoxOxzy1R4%MmGkldwe~wyxybm zE_I(!{&tu09uEaq+V=j;7zy`{lt&e!XNt1)k|?YkR`*P(7w{H1XesaO&O6rrWil=A z;`HS4#b%7|Ijru55uR#&Dznp?W#i_oZ3&?sF9gmhW#RS-UR54;{1KOOu};&(Gx^6cJ%&o;)j{AXTOYP2eF zIOkGry|VG%PKFBFxY?sulx~!6Il@ViJ~i0;L{O*Z1X*%_VN(A0R-dQXecySk?wsnz zERHNO8-6;v;?8?o7V{wmvQynWW&KXZnU8Kay4@78^*eEkJpG zNsOFPda|C&&%Mjy2)oJNk&x_{ZDgJv8QnIeQS76!@~7Q#STQ z9iGoMSzC^r>`o};>j>UZs9p5pm<-PSk+Jq#|HDy-vA-X>g4H$pdh_U)I3{-1URu+E zLlXB-oV5HVs47}J#MituCst0b8(wsPu4-r1(e#}CVI$hfB?@_aYSsk)VAb|rn3QJ1 zzTb(%>h801$fx+!8tXw7-b??^v?Hg%`*A}Uoy5Qdd#pN-x<%S0p(dPEqXEtJn-(8; z9+a~yI@Wr$&i{VW$m2>UaiL&L9-fW;xt{TJW#$$C|_`lAc9HnX= ztt#dz@+wzqpIW=I@pkzM+HR7!tNrhP)EpLi zKj0L>6D#5}e3Zo~`^d)753PNXMpc&B{9eQAKFEKPqu%$;=l@~vOW?8k+O;1-%2=ib zMJhz*nIs`a36&{io*)h*G?b;?j@boY&JzLAGcXSfWl^K9}N^(wC=a=sHyPEfn_bDJ*(c3v(8tIK%5V2?ZhMh(rQ zK?>oj(Gp#LEY4l$(w+}&ou8inm||0_y@_eb{jmV)W~to@!C59DKUFqI~O5p{6RvM&V+ab4gBHZw+F9rTEouWz4Q97@T)dRV5iE7iS&_*gbiOfz`S|^Ek@HW2EpPk^4EH|8 zS-^ho#e2`bh!-*#dv9WOU-vwgQIS3qwBz8<(xQZ#k6XV}$bK(vdr}l3R_)F4vp=QM zBCNcpmT}#K#0%wSk>NK6ij)$$%f9f4uc&pZOUB;ky@l1?TF?4+kY+H=W=f(--%onD z$@9JSmfD&pW8C>WzrWg>z`5#y=$>;SPbYSLqYFJx;afpoLVq$?nUT9*{Pp@XJE$=B zrek%56U*x_jeMfI9cZklB0W;@v}kWiN2lSiw#Kc8wyN{>ZYXIlI5WEHY~zU`sXeBcyHb` zzf3xeZWdN|YeGS$==j1D(?eRk0zrm{oDww{pX{!?(=yq#gIE7qPD9DHbjkP(Z?QK% zX~(B8$-5g>ug^?uNOwF}AvIys`y8X2jnyrA&amso&ad(j@|kV*i8Dd$s}$-2WYVl? znxglZ1}Q!sH}aQyY7|3@OWLj<|5E*Ot(wNSOleVrs@^-hnH^7)VRUn_x|B_?t8r)M zK7Vj))G)kET_Knx&yxG2LL>7cxjV&+=pVNhdspe39nah0OxgR2M>J-Fvix2=d*G_; zrG?MSR(b!z=;mT|-6jNN287t!51tAMXt(-7y}&}|YdicTGN!ibeyCB7X^!Ug6va!r z(H)1PyH5CgKNM|mpcc}%ICV&Z|J|MTulF#zx3Ri4>LMQlK1!)a2ZVSJRM#tgTpLWU zu;t|Ht-AW>itKlB)qY=Bv_|rohEhWNFNNAszwJz)CY1$6Pk&3hy-kB_7&{Ms2di7K zn$NyA{jm45Nc$^M{i(9P12;prN2#ZHv@|A-ou~NqRh1?v_QJ_aH#UheUJBiENj_8P zmz<>)t~t@_JM*gGM;Lqau)4|(R@M7ME)9B_o=DLg%yTIX+|%(hsIf*hIZ}_`a=t2F z`sg8{+r29Tyeodx1n(b632m(LO}@5wC~h+3r(OLhM)xjO*TuMO#yR{@w1ZIZ3$}3P zy^bay8B5A|Enar(^_bG(1ei=)Xms|7a_k7a{#sR`yP^tzDr<`OAnZc3!RktE=A48lBR9;9|g)h@{Aq(-URklI2BAXC@EqS1~*A zHQ@`m*q67kuc~t~CB&V=H@D)5#s0LKq`R*QKk%qX{nW+yp%ANEp@l2|kussg?7VsB zfNKI>R;o*mrl+x}op)4Wz=cyRvx_vB`8-9L>|U5{s89~w5}44e*8DOo)F@f}RePry zIYze#tNS?Wc;OyR=111usvACdzvoCx)V?_8KQElvntkf!U4hKNFW1gUl-zab4}ZQz zSm~IXvVUkrmp1O`k&JI6fwwfV^Dy_Yx)(UFj!!Fg7*Ol68h4%xHgQ+@evFpUXM z0riIiat!+d{b!C+W@j=PUN~GZedkuUMHr>4T8$fJ_QrAR^3iULy~SAFYs%!J4y(%j zd~fXhL9=qdOgBd#6Ia0TlVQy?8bedAUb2@sD&@!Sk95;a%Ga67t9-V86==;mTvO0= zt$|BDlnbLL)#D}KND z;#1@nC9b|_Me;F+SRU8S)KL4xMF%jfn!xDZ$Lcy=l-|1db~68|J7>L%@?{E!ZAtZp z9yMP)v=nx>EcA6#rn=+{6l~k0qpG)0m{vg8UQtb}>e`$M<+z7$HPbO>jBY7bmsNB0 zdGvTw%%UJ_PnRPR_*fy`4(x)KbGP$$fXlKE8_2)m_rwrWcaLMD1 z4J(Bb!o&({PWEGTA7FL;1|o-bF5k_0irWz2CDmTgUwE);Z0<(3*QR+j73=9;nJ@Y7 z>eNaxk&8dNR+030lKb?NEi1oYZ@iy*;mGd2`q=r0GOX_AS`%-b4I4ksH!@Vp7cy+f z+s*SeyxzspJ7+TbJKM960Ixb1rAsSx=&G)mDq6McuHJgSd|Hlc=Za0TKZO~>u=fkg zvAXk)?FrlWi*pn{F;ZRcqMJ~5OLl|W?XVb2<2!pHo|B?!ifBtWo^IEb>bnssc;<2L zwPQa{7#q`gi=KAd$NGR3Hg2{Geg7oq%UljuJrm)&27qd>GOsGoP8-D z#p0Uk$b#DAE_CW4gH?uC4XY2iKE&~CS-*O-k4`Ba&y+hxw-T%S(L7y3fIGxbuC-`p z>%RD|6W!O`Ddc7w#)k5?S{#IIFLV|GWcS*6TWE7hX1pRUP)^SqAp zHTKd^@9a8WXBc~LYrGj}bYJGbm?*Qnd-7evrZv}Zimif1q{TAYIJ*7W!rOZi*{W%}tA66BvIS)~ z4SiR1-Y!RJx4>$WfC&cRh#viLSvLkfSziwXNWOWyae=D<-f9q1m)+Yw3zxB zWa5u#*C%}5bxGk~(wT9-!c^7@_-S5%M@W(z{ra4m=&wrl%-Nepi#ReaHl)qeY1fWn zpC@>Z)jgKJsxbP5e?WsU*Rj-w7P79}&PkWsb8mh~Ouz1b^hW5qA-|&r*3Ka;x17x~ z*B|ywywqa&OI^YKwroW%RU0q%d4hVZuAtkR_a%OuxN4OhLK!!y9`=nf#w5kbY?q|S zAE@zWqzd$s^2xGqniwv-lHgYILtE8&TF10-^I$)2Xo9TlM>NL24OrbaeXRxRPX6LW z@~V}E7v@DzUl`0eS9R6wm*0u|x81}}c%AEQStt&y>}}rMAYa23*?4F};ZNJTGjFy> zJftj1!j9J)vAPel&bFrJ1v9s~Us_ZNKb>#T(As->t7{!0_<)1KpL$!{zI7)h!)~(eHe2K! zdmNqQ$JWrCt@QqFxKn%zwIPF9bHIYV{~hZsc6(~YZYecf7CshvZ*BiEjP47pZs;P9 zu>Hyl(ND}QSj6Ae-3cT=niBRcO~AqFUZG&@qWDcWh65)}hL4c$}#wm|}2DR&B50sh+x? zR-6qV?rt@iyi9ZG$lFcQ&J?=$?UWKEZVL6J9U@2f$#B%vp!pK3Tg2ZNk~AsyoFb2| zo$a8l?lZHeDVLgxH`rKRcPbAmmtWDXT{%71@QnEX`&Y;s;oZ7ip z{xIHN3cUC$tZvS+Id6fAld6oX-t;?ob1t&w3XI=d(dJ?zl#yuOnc>NGzj5BlyCuug zRk+P_wf!Dh3da&|x32zG+$(-L=>@akb;uka5j=Z0I%q7;`eD}QVo<`mD5|52; zzAF;F!d71I>8H1`;c()oemmTotQ@vpbogt(_k+8+KYuWgc+*JM(m8Og-&-23Hbx=_X|j{&X)t8z4P#gElSTSkll#fnKG{(V2HO?;D-sa7~dv z;&NawQ^DA9i%8VBk)1?8FoI?qR#)91Q2AzdC|f_p0bzlC&my_yDb0Hf+$%5M|Gug6 z=I(gMiG7~QqjE2f6zK%DX z>!Q7VUB8-YsrY>`am_j2>|&(EIZV~qPWYWWLAMjD>-m!Y@~EgGg$48OGWFXZ)}JnV zcGbyzXv@K02Qm+49}uqe40nCLQ9f-VDeXEj9Md$FOHG7O^IZ;>hmfNX3MmJ3UD@M;lu`4nrsT*&=f)RFVcO3)xEkfQ916> zsMvF6sIMn0uOIh$X^K#8&x0#qq}7nlC|R_~+_CR#*JbG}2Lt8U#~db44y>W{ z|JYbWZ5;ZvH%!1`ee%>B369>T?+SYqWAkSVC5{{++KY6%mqcMrF;i;!xc5gvT1w}$ z)~UMz8Ij3*?yk!@CizK>OOn2d>q{?Hih)PQbF1uR=FyGTaXf<8bt^Z>KYnZ_?zPh0 z>YNE)m+<@U9<1)ilW&Xo23SlbY8Ho@OW53c1wGtP8s9SvRb#Z0YayrhqU9I6Yt`Je3?23K7<>D$y79ET zyXF}k$fuNw-9#=>XLogq4_&#p$lr3ruQ?xQkBd8-nJ|{$fBq!StdQ)sZUDz7+Sfy3 zp9I|7xI-?fZhVE&eTUWMb9>8Yxn=j7H;-iDKEi=LjuvJ7&lXY}(#NI4H^g;wjq;`J zYJcoLy4T4tEHMvfH6 z2QKvndQ4TjRAsv~HSd@ACf=AP?hvvbcafAUS{=o=IGupl7ZJ6=vr4`=fV52 zx_tLb&BHf689D!z*@Nlzv7ehAWQ(^BcVt>-m=&q`#Q3|sNWCAtF=oF+8|Q}TN8iaa z>|^(BX?T)#r6VCH>YeTlj2{NDy0_0$Ou2t@y1$)$TI=e%A6cCbgr2P3^LgMbD`VoU z{+LeW>l?4DY983Wei>EKYQeLG)pf7rdf^h+Gxo1qg`>l!FuH?S-F0VI_I!!p7q-*ofF)4{%1F?X)W}h8?;c~ z``vI%#E%w~?y8ylFNtya4k?R@GPl|nSpK-jUXw&}SgR{hi!@|GrZA#kWw%VLq zTHb2x=q<|4((-nVn+~OqJX*Jgtnn;H_ajz!|C*I1hkPu(RUf23PqhRJh+lmSZf5MJA~EMHDO?A z)xOSRtNV@C3>PDOZgu#XG6BB)cEJbLEH)9PM}H;nS%QR(5xFkLax;8QqjdN28sMn`?LViGF*TYm#aYqp`(Uud_}_zWMz-nA=B zPm7Ij67+n3GpgdFu~I-xfbCh<+7QaHZ|8^OoL84^ZFkL#8xYpClz#iBPPjM+$h-0eRk$L8mF(5Q=oTxFFkKGiq%!3jA$^$(_z8&+JeyXR9kTyz@a%_Pxd! zOVyqC7R9Rjol4w9Pb$>a?Vz%D{)CL4VDP7Hp?fuU%5yy| zxgJU$V;{$LC!A|DbMYPay-!dCjkm zU$E8k46fyf!j#)rtZtrLPNH_WK%?;D;zP}VRX*G=qm!TV(O#vUeaf#cu>S!6mc8so zH!O2c2}}sxJ#%8??zQ3~$F`8KQ6KEr@9oLO-jAKY>T*B#IW6c-7P>LI-J+^hmiuC! zf5TbD4KZPZyDXTV&0N)DJoWSOr{h%oVh=<|7_UV;k1rTaD8*$=QD5G6dw+!?#@q#wnH0X8n#YdC`=$kVS~>Fz z3%vH<{Bf0$g~veQShQ*U$ta!8B!|B%4dC|6sL3vci+$0ExR%Wet}S%E^9|8{DHcYMGqa z>AMM|JB`)N=%>|B|GD?5gCqM1x)){(=7&Wt-qWz4C{)ihH|Szy>Tk~^TXht7&Uf1{ zt-+x^wY%FLtX{J2rKe-JJ!Uhmiftceu)3XI+ZVa>H=S^;5KRgzlkj68JL`9`a`A<3 zMushmTEv}C7wFoqsp;0(1p1v2Fq7EfoiMy|qsv_yqqJbAMS=I&_oB>Vb#KW^#g4BE znH!0HaW1-UhuucXnLUN}ye9SgCwEq>98Awm*WI(XLv&?$9lcwuk zWNcEwIqCkfn_?g%yzSVc@+s=mv^BzpGi**NYZ*@o-KiSurrVR+nRf3mHqI8Xy7?dM zR}{3l7fQ&H7w#HlZvEO*DIUXmoXsG5+v_{A6+f@vks;HYV&cwAdSqg?!~|e zANlgkKho>IwDEK~#@_E(-PILqsY*w9%08`M$t2{>JQtcW$0k_b`fT{}3#ZSt!!1lF zw64@}G@kC}QJhof%_~S}6usy)B&I&U%5XLQMn9Rwk8{QDd5?Z^r2D^=d)_@LF)if#t!cZ>{m#h;6!*3b%?zc3K%_L4+{$l~dVUvgF*w{b$tE<19iR27S{&tQf z!p(W7_*9bJ^ZA=EbzTkKv`U-tJ>M9`D01WEz){Z?BUatm-yQtI>VCKBkzxF9L?btR zAc-v;Sl`Qv~x^c#*g>)9)*-FH_uM=d=+_c%#k2C!Ki(f)E0^P+@ zGH-QzL&=y|?`QGjX;sK8-(R_y@YbsjYcHBZT3RS7!#%@3EWYEqYVdjA`Sxw+c*^|i z+PX%vlt=IfbJIHC+xF#5dxBS6GEKTXuj<_m@fiP-V|9yf zCKM{(8Q8s6dc~oFfxF>>tIXM5 z{`DOju1oy*xjo+)+pe#`>T0(b;&zL!xp60Qw#ZV3=HiYt zt6=_pKqNBNf{cexITYfGw`ND---T(8PAcV z&y@RU<(ySUe8RtZ^@JvWQ$Ci!#e{7q(K8lH3&q6Q8*z_A!&(&555smZZhJL{iu3Da__)9KBoZU4rYPI+g1 zOjh*Q=8QLOyEA`1HH^O{`u>-9HkrMg$u6~rg^ru)u-9*^u(}#Lp(@V3!HJh7IF9&5 zHz`F~39EX0QVJ*V?6jSwJ`sFdk}s3m_#Dbwm)hJ4z3CtlCIm1 zv3E6A*RX(bPp5(7k$Xm0!me-8jIfC-h;DkE!70?6Y>j*Hp6*+OMI!F~iSCv=K5@HG zozAmd)NFH3bg`hR3^4qeylYG5^B7LakvAA!)F&-16pw{&kdteN zY+4@gh9rw+Zl`=5>TvIt-99`x9Xn{4*i~GG9yY6r~ zo81u|g_3ZLE_#M#X`zVYFW6=GOMlKj=2Hpvqc#_J_D(52UUF`VU0*Imy&gOH8wGv1BFDGtpaR4^+H+$DLQ;)Vu?u z%YfB&XY`${Z(1}?&9+as0ZVU`w(aZbit@>hkE z8qRBuJSqz@bA4;`!`E^`ZFnxMhMvJ+@nT(fde?rD`MY1@)p)Mu+zfuPB6+5(; zDs^g>?Oy&41!XZoOQs*b7gxm;t}I+PozUoYTT*VmhU@0bm9Fh#9oG^SJv&XcSiYw&tq!(J$_rbTZ1OmreE*1!1w{(`(9co$g?b0 zdHYYUZfkDHVcIw^BWIE!7qgY@$N{&}(8kKeB-vc+TVs>{=C#VY^iNlsJaKs!b#H&) zEZriH&s0g1L@7p>4Xe9_zSZ*0hU|NbJNdNF(aT189E)WMdP|?C7|3qw`HYO!_r&o4 zO&ilwgDZ++zB$`PREDdHkKXJc^>w@1I>YEM9d^_Va-hN3s{;A_>yobxSk-ozGJZ6@nf`XvA#N4Rq1Ka;iN1r|1q62#_POdN z7bXg%rD$g}&&4OL2t3RWXfYp7OW1j7H>|u%M>YC{yiU1?gdzE=HdzER2t8G3n z#E$2?L{i(3G45Kk(A?I$n@{^Dyh_({&m9$o*V@A_CUQ5oV06*F`lW^9-U~LJ%7DWw#D&pi$LikgG^QK39n?N5AHA)c-ml8^JC~4No^(g`{*Tr3W(NvByx!9P+-rfQ zs*`>!qDQ)&%qMMoM}8l>b4;xLH;qi}{Va4Xx3o~G3I_-EcNX@`UGut}W-qviJD?`( znBf@Mk+%M0%}vijQ!*w?(QSeKdsDchBOV_<$@IB#UuW*Q4b9_0zqnedp*x zCYinet*=(H#FdukZCf#Z;K1r?4&KQBA@=!Aqjr|oNY54n5u>uHBFDGiO9G#D&h5YR z?GUH1brMVR%blwZ+P7wSvBWx1t!n-GGd`f$pgOzZS`$W>6RRuZT2i{MCX1fhu`;Sp zV4bKpzlv#$WTwz2%8whS1c%R7xUgDwFH}E0*0Vl2%}P0!Z_}^reY~t0o9Ed*dNwe( zV02MzEG-n#>v?$li{b};ulC(NkZG{P@{NGNTFXlh({eNy4~r{h$txdNXj;?qGj`MM z$Y<9ty=$0_EjqNeOs-e6uXek9&S8u$ijAd(BD#?ar=a{we8;@2wQQ5;b8VAzJ1f>G z(7dW0^cj37e$glY-Hu;(p7LmE-dKu(bn)tk8fx9I&9V1eOy%T+y?Lu0{GqS9D#Ob?)W7YQlUcqO zW!{Th>3$!YRUh8W#OQ9r>I&|&DYdwHfsTJ|jeJH7{FE{@ zQ%<&si%;A1vyDcjIyo*ReB@wxK5J**`=X?9&k zW9g-Kha0QAo&HE^UFqOwu7R)ng~=6fY~zI|W8MVaTEwl$(Pb8DQFe1a{fM_stC_+NF?e;)!>`xlbCT!J=f6`( zqV{pRv9c8xoO(y$+HBmBOsT5W_9@qGvhSOfeYFkKuFkfQ*^58I{+$>uFOh zZ=}bEeKcvl6ZUe?pkRWFO^}|khh(PLt9;v6@q_PPY*FZMy>?;ytqY2!H-!hT{!k9H zCw~HurR7`Am7un9$q#7kv$RkIPx!6zVOAX6-hQEYv84UAKc%~}$D=O_TMv(~9B1yi zH%*;VjMJMAX&%kp6qI#v#nprK?0vxlpDx)kbH{Oyyu|3DYl5YPqHa*L?45wlwM$V~ zwzxM5bIZ#*wWvguQ1<8ejVL^PWUiQATDD&?Wb6%(W^$`2&-FX>IXZiUI$raCe#rl^ zj42nRi=IVWS}3mUC|3(ToZ0*}HZ(~#j$6$=JU_4TrG`#W4LdVKo?M_`QJh-?<%_jt z3SV92pQ&}s%b2UmrT;Q!HkWUW8Jvy4=Pvn#;426}icxf*W%w zAHBe-ELLoFeiM6z@5k$BoD-Eo7Xs+HV^ta^)FR{aM=5>pM{VQJX8nxOMRjj!p%DKi z<*GQ4rb=~GY4Z(!lRo2ihW2tVnSJ~ZWyV^`a2@q4ZiHKQ%H_%3^jKYV==RTE8LBfc z4lhc@o=go*sy6(N(G|q%j=A_bPw%d~5bbsEA@jEMtXKNncQ@pH7xtcCf9I^kbKG(N zZdo?IE;-h{ytP-&`a{R|u=SD%Ypi!Qp7UtJ#!yTYQXR z7~KuEZMV-|c`Mp|b^Cxy-^Lrs;;kXly!;9Uva80U%L=*_pF7x^dCXIVrL-Rn@x^E@ z`GC|K-2+9-(wgw!f9x+jW`Q$zb+vRghwmc8KdW)L!2eiE!Z)G3O;0+YmX!E!9|!)YPQ09W*#rNBJb>DZ zCH!~E7OKt0FvF)xe?EBA-1(4oJ+mn{C!kIhR{(spHAs@KP z;&4ph-z6WQeQmH0`Fv>~^3n3L?14Xd0L4rAZo)WdR2he3{%_E}{3##H`<6ZMKivbU zuCg7$;b@oJ_J6mik*~h$;&5x0ef979>c8Rv|H732e?{|`ZCdugvImwuuSAfR zn^RPn)793;(#dKkr#PpngRQlrlNG$YacNonMOe`Pgm>%Xa4U)A(*Nl9!th&R{DR); zihh5(0sya7!!PK4tY{y4Ukf{77mn~94;&6&r-<83+(&o^JPt<%|D*42p@r~W1Hw7c zw<*v<_!c(d9WV*RedyhxXcOMuflDUtBfN7L{|+_Wb>cqs&Q7#R14tq6LvBKw@Y`@) zA^s{v?vkxWf5br6gdEv)w|rqM0Z1|kqA0;6tWlDg5m|m2Z{$2bLgEv=)0gDfKI?` z0DA8)ytWnB2xtPl05k(?0nY$+fTw_HNP7uz8E^$~6%Yf61;hca0Z`bZxIl4$${m$6 zDpypFsN7IFp>jdxfc%bp#0EfqL4HGiLViJh*aSdvjoyd806_1J{RWr@%m4-e=-uvb z0j~h)eb)7W20#s<3J?p31E9KqVjsnNA|MHXVjRUZis5)TPXYkNZV~{+D~it)Kq^2I zzzg652myovA^;r#{LCMx2hax?0FDC;0cwDQfJ1=804>07fC4}fAPbNJ@B?-NxB!b_ z%U1w;_wF4)9^ft@A5aJ=0-*X(0>}ZNcM7ApcLBHpya6cY{Q)S>0|8B-`vTAmcnN3+ z+y>+UL;>dkk$?*TGXT7P7H0vl1XuyA0Y(60zzKjHKpOzBYr&}i!~tXwa20T_NH#9&iA_32Au&s2xV_E^1Rz8;aUY)E=Vtj|M;spa-l4pl?2~ z0?;=P)&bT7HUiMQ^dEv|72q)-91sCG0|*5K0~`S-0jOy>2sjMT1ZV-Y0Y?Bw0mlG3 z09}9{Kp$WLI1Vrb8~{iIWB{@N^gej>j`dp5t_GY1?1ujp0DAzaZ9?so3Sb{#7eEex z`m<+nY!F~SY@;@j1GY5)djQ;kt$+g9pAE=|?KHp}z-z!AKm#BbkOjyD+=t`RVI2YM zPyh=c0R9gI_yc?arvZM%{{x9@RXA=KIR=(FWFRd6Ufa0|4nw|2<$=z_06=Ahd<-Fu zgH8Mzl{qSV6a(x48UQ0e8i48)YAbjED8HNlI>2VYM!*KZdH`w{R|8OgO9fZ~paf6= zr~xYh#G%74#G!N01CSOiU>$%JfX<6JCcs+28UQnZ1;7SC_H6>7azMv%0k!~8Icx)L z2Z#Xp0epZR08Ri(CkWUH5CEWKmfAj~fq2w@NdizhaRAB}s+SS~bPfcx&k|q(Pz3A& z$N^*lGJxFx1;8!PmLjWxRiW_x+5@0Vt1)vN-b#19$tHQP#0HrwyKy9ri;0Qn) zU;@wu7z2(0i~vUg1^~1l?b9Ky^mF09$}HzzSePT%)?Z z60jOT1)v5{0_K2s0yqNt0AB%~fFwXP0JSk*0C#{hz!l&II7Qq>?G4(8fYPDk(e~1Q zAK3OL?z;%A*4Pk>>-N5BAJ5bzGLl&?hCMmAjmTn1bMAe+%PS|nF4?8IS_F4nXHZ^+gKSqJV6`O+X>w768RY8sG*X6|hvd{*^V-LmDW3GoT58 z&Ql4<0+a!Y0Tlpr-U2{A;5Hx^kO{~EqyjPk=>U`-r9~WC-z9F}fpsb%4}j7mz8tW0 z4rI#%Kq=rpAQeyoC;}iIWXC-KvKOUATs5Ey@DT6_@EGs}&;Y0hJO`)%lmT^sT0jlp zDc~8P5%2=Q4&VgzVzzr=yBqKp@CMKYcn#Ob^`c` z|D*GvF&g5~HX5rT4uKa9U|@+pMOd%ibzD@^$XyyP`X&GE`b*^ZML#_py9Sy}p7jnJ zBVV=zIK#jEDrhS=1E; zE$&F~@qyz#fi%E~3W^Ad5coy?grG38&BDP0&pbM7QIwmY zu8VAg{D1{Z@5ByI>d>Xop{>F*q9THlI9pc%{7dFNgRMRa9(I=iMjX^2jkA-h8+dJ@6Bvloz|&MliSm)@j=z}@A|ve79Dj+;5BXX|0-vEPL`FY%>j+(lM+N>oqDbuq zFpQwaF1A*B`^#;~z(_z&fk9(@6c2~ztBWfr%o2b>IR)FE0)ry{X`biawPeb^cs20P z@9&=++21uu;V%&n4AE*4s7c7`G_ekil=OKiV8GKT&C+*I#208Qbz=&Qff0p(7yo1V z5Y_%Mc9_X_%S(ft49?9}z|qOV5*Mr|X|<-V*BCJ}c*l{j8cN|G)fiDELL`X)+qY3p z9Ol@@^`zrGK0jip){`!631~d&AgBE8H(g%Y7aHPo3Til!ueIJeql67GQji~Dp2BYAQ3^fLqfJyfHNc=Y5g1me zzDSKvX#bD7tgBX?|_8ZfAJ0o(r2 z9-s;g9zAL4Vr>cQZy9To$S+$(Dfz{qjzH}<)#rcU$$qLS;A5kgi^<6#4c>3ipITVhx;S%j#I4`Nr42P07<_*I>T7?ZuZy6lQE4kP zm#|(6lm_3U%R@HTfSN^QiH>de z^)HZ9hL!0!BisoXB#2WJ5@WJ)8&P9r?`<7!;!&^fHcX zS=0{zLu_}JzW-vSd*RCleGL^<3Mi3?@Ht3>toC`!!Psan;EfpYfh0tt531R44WQi? zGNI?L1dOO4#5}6?E~ai!=>ootdhb$WO(C8K$|nxgP|G)>W$vqap4T53C^r-b#&8nU z1E$Y-SsbCSrNf^GpC4ObP_5Sv@5tM%r?&dHng=lr<*dcv$UwO8?=)^UmX0V!C#PGPblb+mOhb#-;6iuNu_`{LmN>I z{3ZhoD=;~<9gDw|+Qso{@IDwNs%iQ=RCE^<-3Er(y37!nhuXH)(lz^5UUkE^AZC7dT~r|z30YezbNr}?W#Ss{BHKt&kV$fIAM z`Z*_cHnu_H0c5GWuh#d`~Cu!^JtC=AU zv7Y|HYH>oz{lPXgf`l@)2Q_510a?=9eX}VjMu~kEi8PR(38Dp`EewwJ?5a}6Ta8!y z0SxlRZ6}d?4qwc#14C?gK0v{u{Ft5ECclS7>Yz#(=>mgV zP4{}kxlLJKtADGR6B+;EuKiliJXrAz-Um*=fa?OaX)f5l;l9%K`#k4?LABrdsgnNP zTDk&87;Q+St^}7345}qLtJoR%1UENB8t{!24B!a8Da_=o%-E|!{uT8l=n5IKDz$|$ zc1fX6A8%@stVd%Pf|?qUaWqsP5gPo2S~1j8fDep-K{f1dKxtJXSJ9f^X-*ND0}m1o zX1-A7`OSm?gKBclvC_DWbRwwjMQTvm2}FkdTcJKhaE%!-#E8EO3{>X8XzShzhd#xv z*64v`tdUDd(%I6Rx0$zX_c`kzA?CDBR zIJ~Q*`fY&*Fi1_rhJEA5&1N@Emp&;th5lIDw<-`ZY2MC}2w7laD~2K9iQowurWZ_}^;triE&8epER_RcQ!D5pGRxAyrI??zWf(Doyb+B(`;y4bq8u1OeSTi4fS4GgM3V8Ja& zgM831MyaRB{YVlR)FwijB4CiOvoceizVI+222~(94{0?O9zsiA-ty5b%k^F;J`G-t z#B2ndCl1n}(%$k`$e71?%MkQg#Q6{>M{`T4rntKNz46z)Owo800;{a>UzO*+T%OaV00iXq~m~e?9A{JEO_^c^>b%d11dRUzd*K=-~*b{ma`I0(J+UC2CCpT z933#I&vM-;&lhmE9mZ7>gvJuL5g6pr9FCuUZw~B-ctdVO_VEF;2AICQyN*X_3zx=K z;88gu<2tkL+D+joOqzp4rl6+j6|axS9bzef38dQt(rvF1sG-)97GPGpj7wjLB5W-R*63<85np|_>ROFr|;>)*^Y zkx_}>tZM6;ulbvy5+q)|?;iZ|U}XgwClU*FJut|lKO*K{g=j0G`B5T6+Je86hP2f_ zLWD>ZYjTaeXL7LOw*@5nEQmMKeLd;EC~PEMv~BDkceJ5o(`}B(liJb9=DaI zz0C}@(F@N1rx^@s&up99y17BKg9|;Cx2K^j1hwR-mw|zmg{7;T3owB*pPrd- z-~QD()gaKlr&p2U}Nk`HYk9fBw}>hs_wz;B)%tt2S})+#Sfz z8aU0YeA?kWCjn}F8c8(5ce1jC`55RuOWNt!;|$3048HYuw{pT;K>neBM*qI=BA$^z zX&!cr!_yV%a~+F(F@~sxc>+Y9WYmQUO!9g_RIwa^)j$`0I(Jq_Qx^#YFC-7 zQ5qQbLdP%-3~KpKh6dpV)$YaO)8KnE3Wzz>&+$5ZJ)p|RYK3R;Io${h6ELm8*Y&eT zcYQ@_poOkLfI+<`|EV;&t~}-fV9+%N>@^0Uwl~iBywg_A#;eR^%CHBGcO77j`ryD5 zh8I`fe7PN|35uW-ogt=aSTDVC?zP}HJR^oYdJz~DRo0$?%By5(t?>-L!T!g1!&`tK zq1ZaPSX$V+;&#Oiet5Z`lNA{7C-M&II3Qheq|2uQVh4HD>8qzQYsAqNP;#P#^E3d1 z#v!Lnob0tv@uQI{ks%$UeUJv_)G7av^>yDxbj42`QN#?0Nfhi6~)5F;9kp({#=s#&7dmBort zUv_Ul3=HZ|!OwrL3us_P1?f<{)wjy#MMZz3gEZ(u3)1}IP8S+i0dvy90aZpE>m%+r zYiR^H@oAughKK?+l+%K%;V*?Z`|iLqU;|-B1`R3%gUYw*bG>83Gk7&uHwytvM-Q9@ zr(uEfxuG#&;JyQ@3#7|u=}V6mWy-0L2DJx}fA>=^$TZyDsY81<1ZcwiD4qeU zNtBNSFeFO>%_IH6YRC`iG)rG}?3%r3QI|5aWQ)G8w%NRuodI1h>Z0K+Fmu;6JCi^mF;pD-d` zii5usiKJ_z7@P-1ak}@#(4P)R2|YSKr%rJD1;c}pIGw*Vj4E~XZ?UQo6k zj)NE1-ZR}oWWZ|D-f?#{cky<1bNc>*uT!@<0No*6iV#N>ZSb^;*%gj8lIscge_(D7 z?yQoG1JZSF>D!uCThDclF`PlIKk=H0bh|^k6i8bQGmz${V6~sV{w9-eSJ>e^Xa*1> z5$+Xux;ns93t!XUDqrpD$6Em1Jz^xq&1~Ip3y%B4uG|=D1P1ku!1Th%lL<;egZ4w* zEMKrCFvvT=EPW?a<&s6Yx2qJ)*+CrO(=2^0(`)$VRgT3ebk~ZQQzu7DH}r{7UD@0d z7uJx)0YjXbJ0M4hst%2PnWGoqi~mle4Gd~2cqe+tUD>|g2Zop*5;MV2{(qba##?O& zYP6u%K>dkZO`{%@QyU`Vp)0!S!f6edL&492LQdU)K`mc;?Dfx-oF=ZS^1Km5D7m#DT53fR*E2Bjv3$aY^V(oXAk`Cip;URe2hf1M?+dpl>9U z52+^xNZjdyR$}QJls5CH11S`WRq<;0q1|8a8R0DezmZnE3bvuzxNdk+Q2nBNEvTVc zL-0--FsNteKlG{JKfmoc1iBj0!NDfvMZp zn^l@o@Bf=I2L`5}0)>wD$h>;H7iPnktPTc-6Bzx%k?<1?W6 zM8W@CYG$g0^Vo;IZrS_v7yp0cJb%YF(pP%I`w8t%(hC18?8i$)@fP4~qbx9}F8F)o ziXAvKkLGufN1-n42WAa0T0t(gYFWqIfg!e|`oN&kV9%NBV(%n1|&TnqNzr(&BmKt;lZo-aIadNSR4P&Yy|0<;J1$d~I1j4ZdYnmHJs-HiJw1FSfi^J~7?^qq z^eekwc4KlBW>*OHM+66hZv3*6;(%Xi)UF0#q`=uw=SY_viR)k}?Y~-$KM!2F9#AJl zqK#|buLXu&Tey}%JqDcT2rwuTUrI0^)$jhc5`UG0zXBsYBl9m?0OLf`YJZGGd|e>X zR)N(N2MO1wRN7k?6LPcAI3770d_X!zNmvbPq+2l(7QlIQ!Gbm5xAd&DwN}+fP#=sh zZXE9Kv>~Kh%fHS}qAM^lcn;*Rvy(8|z~9T+b%=0<{K`(Z^Ppj}1JO2!L@i*@HTs+g zm&z-8Cp5An`i-=AY#ARaJdgx z;^;yghHtpProo>F68%5vnczI6^J8l1Dqsh#-|NxQ7l}PeXr#I{e*l+efTsR|>C?|&HL;~MJ8 zKdV2aE%@ubkEN>u()Uc6IeXhUNE_8n~U&QpPLilT%O z7v68KM+ny?!&wmw9UWBg)Pyz`WF7 zpTlP)qtPd*Y=t$NmGWIDw_qE3)ao~5O=PqOGVHIK-PIx3h91IL`tJH)~ z6L_of)ub61bp2Cl!~R`tzWOZQJ2L3m<6dBpuZ!%r_7rKUyWtrq1!3GcFigN~&SSIF ze^^}joB3-_$&cfI=@m$t`QtAr@O9zuSWVitVz30&1t-NeH!-JnLL9*Cm&6}Dx@0wJ z3rOeZuPr%@P+*1!e%VE`6iBQ69q;^|lKXT0fjNYK;vF|rGc!{&2TSVt+a9`~etd#B zAkKb?84;p)eTbgYCd&WS-1+-TvRrkX3?d5w5+Xosgag#~?!Ei=@!penJwmb&A^>Dr z4v?PJccy1<@9pWH*WI&sXKf)60g)3D5(fl;Ku8EgNNi$kkSwrd0STG;4}i}(Rb5@x z(^J*^HsL*Kr>eTnw@#hOR`o-^k=a0Yt z4~nKM(`BwNfBAQNAL&n9rds|B-zVvc{p+H=`pTQWXzRTCYTuUi?&Xu4@ygOi*gVo_?R+tNAGeCoA+1zxK^P z`}$u$`Gub)E_1{m{QTFx@V`Iz!H<54xXAXqAAjSkUw-|`55#te>F_6h`-|V*|MM6A z=Ih+ta#OV8 z4|ct-N>s~brA>+h#FDyK+fBOPyPLnyWAg|wjW|Orsra_;+>slef`<7 zTt8%0dmO%2O}@ztD??IORNyzQ6xS7Pq{TD8dOxevZ5}rq_cM3livaUI{>mu9d z2ReA9;z2%;f;b&OR;vUTZbS(qE&{Fm53O{bIhi;d4#7EycaC)8eySu8ziTcahE zHl$PiGdrY;H@yHxS|2K#$w1hM^u6@lWrhB#gLY_vSDkX8bJsfG7uA|u*cppjgoz*@ zSV3HSbZQzMRTRj_h_a&di%hMm!bI3`d89f+e(ja1;>|@w$V@=nUE6@S1FNjf>s?Hd z7&Cz|Mlx~P)sp)rLy0WjB$2|5poIynt>UF%rrY|szl-WnbPbaS92bTuHr0tiI;xJ4 zju9pVOnV7hr+Gl?!rC2Er8*TBN*C5;P|IA21~2;Zw!7kS$KH=W=G8-_W0)JYz?uN{ z5SPOEMCA=+2)!7Mkk+WC%t@8HD`8WGs9oC6)2;KGyQ`5p=xtpqna==`@{A9 zYzQ)LE+(jE*fQK(9popG|o2s8kr*FFrdK=p{Px`@D-a<|HSG zlN1Hj(HmhZs3pD0R*{g-S6aUa`QWJw*$||s%7kwQCu?@zo{&y|A3+&z5^LecxT@1t zig`w}R{+#u!Z_M&E*6D?4JSM42s3AS!97b;_EG~`R0z3<4Zsi_g%jamxY`Zf5QL7y zTM;U(pz!INAofRJfAEqu9)Y)Hpbr4%K@mY;y=u$Nu6Qh}>UvkyvUA|l(T+7|&%i8N zG*)aw1krM<vI7GA!1B2D=8 z$(NpdkVf)QWc!nv;5_c3^kS5sRz-sfLm$KuXIglL7!rRj8}lP-?i{dLjpWmsKt zloXMNtT%w^vcuuDIJ?kVuk!UncPR1)xpr+1bY#cUt&eSc;_$23warob=zUpj4rI=E z1sh=Y5L?4Yn$~JYRQm*nKQlhld@TPCa(v9k19#IL!*WBa@Xl?zIS zTsg?Z*IKK@$vz8x_E>KEdk*+N@#8DZmn=TX6)jUGg1ea5B^kJ|@ZAG1}mZCNpYFJ|oj8!kl2Urjv2fj(JIlYO9YRu$-ghD3S`0>|4nsohgGRzG`J^jY4v`N>c0 zT_8I=XjqZ!O2$F^L^ zw?{!4UQG41)Y|Kp?W8PqA0$q#ttm@1J-OHzw>V1<=;cR9Wj7a>81IFWpMQ1wNGVaQ z`Q+wbT{Tj*v#+5_eayS4NL`$YMd)|O?cI^h&NZ7@%-6>)=Q_Beh%x29=xn4b)`#2Y zA3ofyM2{@cZn|O!mWOAzUijk`XLJ?!nVY)CRDE3)yL^4h&>1j~Prk{1!+xon4F&RK zYoxhd9xCF(GUntBoP>BUmn>2l`Ctj)eH@icSP!wyO+e(v+BE5OKxiSQ7{#Y)=BR3t zv1)d^qMan-uF>{)1*f$ks%%Qz!#Y#+h|pqWR6T&9>+#IaOy#-mShh{QKX1Z;9ygI_ z+g)Ho$vieRu54)UWV@yItPYn4*@?RYqez7>(ooFBZ(3w(Qd5UCQ1n-ZY5EL&Qf*I; z;CL}D{~i0V>lr|~FhFUO`;;qvj8PcUz~|vbhJr|jA0&jiaWt6a6s+Zs)ZGbK5k$tq5xI9-BL3X-erSour!9BMn|7?p|{ znNOmCVJ0@7BI2sWS^JS=)pdR-HcFn~kqd@0{;hFQit54_D26(pW9hP?qhxbDRB*pN zMH<580nmk2MKZe-j@g>6)C$>%n1)IcHHlewUv6W{yq`^)SD_4*ws2|{osuo3<@(4)|$VpgUwqv6Vl)ICnh zf>ro!191?i3gQ(XS7+n_C<_sYW6nr7@VJUVJVsReObKtYz^MWV zivB8qs;@_MrH^#8*kRqpl4>TVP0@>k>RsDBvdpYZ?-ZYa`-jcei?V!dn!T6M-RJB8 zyo5Km&!68+wf(lJ@>7-{N-yL39tXMn_UWOiPB+hWFE1Uj{jfd@2|Kr%5BEC(xY5(u+Qp2R37>BS=HC zKgDqFB^XRE!8OE4#BPm9joyF;7nAY@5@Fqk82MfXHn0TF5PVk%5ra0#!Kk3gw)Lu_ zJ=BT+T}w6+huj24a!=;*L)S1PNMs*jmWfb$1(fo$j5OR&x{(Wp3mc%MBtxWOPiOXW zm-f?>tyrv%A^e08b|)z?ZEajfI<;;b%gvow@z_hQSSXnP>bx)Uq|LiijoNN9T?erU zLnE5Bl!I2E>y)e6U%tDY^!n%&8eYuH}jVKZN`naFwQs%cr-3zX9W6|TcB!=g6Y z2sNaq)hk}^sl9 z8=_dTYs&E)raBSUqu3u=ufr%?$!^cd+TpIr+s*0a3)SGBd`VQ+rz}bsds_ZshuP_* z&erJIv)I_`jqNpQYU>lEm0%QBgA!&ubQZ1sjZlptY!MvU+Qo7 z|B)^t>kSXzL1RNGUe*8>qmpMJg+_jrv(&+?eOwM28=@Ssea5@wC}9Z42sKMP<;dfB zP{|MZf7QqigKwrYYNT>557aIUM0%qrQwuM_L1#lM8a)b>HrEH~A_ePri1k;jSh8(G zK%$T65jdSR(PjJtb9oLiC1Byk^=FC>;#%j_4&wfqkUb+Wldl%HZuq-c1&7db*qJ>R zcjf`ONX0pQspZ^We+4OR3YF*HppYMWQaZmp97lfnVTDOs7KaDmlq*w#MI+EWkq4Ct zNM(|nFnw?j68%+*)MOb-7Sb>Qj0K(5JZuTEx*R=r)Gs}%T;mGe(9l|5s-sM1Qs^fs zv}0OU<2)@4xJi4_{@p&q2cZq=GNXOAJ8^|@k693xHQCysEJXV2Om0ADQnkyZ#vmR6 zyc?)oNkGM*G<-1kGeu|Ns%ITN3yba^Zk{Q=*T$Yb`y=KOr&U(9S*_TyWT|A0^W2}kPHzvppE3$h( zWI^hpssxOH6U5bcm}+FdS^)S_=Ux8dCqd9#L467}wdWfv-aa7H*j3z}Y?(%@* z!aA|16u1d19v6-Qd-jAD|OWYc;GKn3JMhacV(TYJVVxPEy*bb6jN?i{@R z^xpUv`5$`ydz2s}XO{or!+T=S^X|s$=R!9Vh0F$?)W^j4z|^6525QE?n;+j{m@w_(hoEY5`7|khyE3#t+|HXW~v;UPeH@m@1m770-A} zKxo}2^iOUjjs?7fUSmIj+yurVy*!-P3d zpfxL)`a6OxBR2LVs7*l0Q~NHDO=Eq6+yutby*%Qvwu~9c36}hfNDE0ZlL;w5BdO2C z9%I+#XKyAs1qp%?DMD(yr?uQc873^!#eGX42!2!tk#>3RUt@{OxXh(?^$ZSqJWkKz<<50xXGY+^+f zr$=D)T@q)=F|L^u7#sz07kDiXH(mJ5VGc(I;yD_BKWYg% zoDZc2ux7ZWPO2W|O$X@o(++st2Ja}a{Z;gDpQORYT< z+)?TvjuFMudV2Ftu~EZ)tP_mOiOmeE4Jo8@=RqB`GWGC4zzaY@ zTv<+?*7(aN0De?X=+m~xiRetP0?D4%%VJ}OSlD7lbxLY%7l|mrgBVA$ml)|jUakp{ zoY<#iCb|~NIFvR-@nYM;NMtT{is=&>z6XeoA;^#FahmAX|>ec zf#Bl9$57tMFNLK|R>Lg`tg%8TuL6k>^u4u+;DZYp5Q+eKN@3A89D7|u?r2z6Z%0B4 zOl@Ar_WR+l;Ulpn?GZuP7#vwlqaD2=7ASOBBF75Ky~3or@qFVEPpZ( z(lJ8k6$>~cO8r1Yp?34DI!I*Vq9Hn@eiuJ0d1@)b;#pqGJ4;iRv3tht;UfcrA-pR$ z@N8R9>w(K*@n&5dMES$~Y7HwqeV68SE;~idC99xP8rB&h45^1L;GI!`om zOo&llF@{=xboiv^w+m0X0>S!e-*siP#e+<`Y+AiaZ7nv;<7K@r+fL`g#fO^;`q1gj zd#o}DUcS&#z&j>~`~2$mX{3t{kETr?Hif|pU(}wG>~3?+f;pG0a!)ydOocIGIr)H- zUIHwR3V6gYwyh6_y9N<)1??$AQC3v_)mGG{MApKrd%eqsKIXNOJ|;t#wM}zlTI_fTF+*c=i+sezWLbx$necteBs0?kdYk`z02bmC4V-qCmjx2@^WYN za>$Se43}RHJM6?ADgHu@95c3tqQUUGy-Xt`#qdq`@t>Nfz)k)2y$=%x9T7s;vRL^wSH8$Mm9nA2c2v(aXLJ&Gi`pQ zonQWd02L3r!_`fidmmp~QwtK77brzu4TjyE{(9uL7WCo1z#B|Iri_@% diff --git a/pkg/webapp/components/auth/authorize_templ.go b/pkg/webapp/components/auth/authorize_templ.go index 961b0b757..ad2c23bf7 100644 --- a/pkg/webapp/components/auth/authorize_templ.go +++ b/pkg/webapp/components/auth/authorize_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.2.778 +// templ: version: v0.2.793 package auth //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/pkg/webapp/components/auth/create_credential.templ b/pkg/webapp/components/auth/create_credential.templ deleted file mode 100644 index 65f99c078..000000000 --- a/pkg/webapp/components/auth/create_credential.templ +++ /dev/null @@ -1,49 +0,0 @@ -package auth - -import "github.com/labstack/echo/v4" - -templ RegisterCredentialForm() { -
-
-
-
-
-
-
-} - -templ NavigatorCredentialsCreate(c echo.Context) { - -} diff --git a/pkg/webapp/components/auth/create_credential_templ.go b/pkg/webapp/components/auth/create_credential_templ.go deleted file mode 100644 index eea1973f6..000000000 --- a/pkg/webapp/components/auth/create_credential_templ.go +++ /dev/null @@ -1,71 +0,0 @@ -// Code generated by templ - DO NOT EDIT. - -// templ: version: v0.2.778 -package auth - -//lint:file-ignore SA4006 This context is only used if a nested component is present. - -import "github.com/a-h/templ" -import templruntime "github.com/a-h/templ/runtime" - -import "github.com/labstack/echo/v4" - -func RegisterCredentialForm() templ.Component { - return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { - return templ_7745c5c3_CtxErr - } - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() - } - ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var1 := templ.GetChildren(ctx) - if templ_7745c5c3_Var1 == nil { - templ_7745c5c3_Var1 = templ.NopComponent - } - ctx = templ.ClearChildren(ctx) - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("
") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - return templ_7745c5c3_Err - }) -} - -func NavigatorCredentialsCreate(c echo.Context) templ.Component { - return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { - return templ_7745c5c3_CtxErr - } - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() - } - ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var2 := templ.GetChildren(ctx) - if templ_7745c5c3_Var2 == nil { - templ_7745c5c3_Var2 = templ.NopComponent - } - ctx = templ.ClearChildren(ctx) - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - return templ_7745c5c3_Err - }) -} - -var _ = templruntime.GeneratedTemplate diff --git a/pkg/webapp/components/auth/current.templ b/pkg/webapp/components/auth/current.templ new file mode 100644 index 000000000..f8a8fb931 --- /dev/null +++ b/pkg/webapp/components/auth/current.templ @@ -0,0 +1,30 @@ +package auth + +import "github.com/onsonr/sonr/pkg/webapp/components/ui" + +// RedirectModal returns the Modal with a QR code to scan. +templ RedirectModal() { + @ui.FullScreenModal() { +
+
+
+ + + +

Continue with your phone

+

Creating a Sonr Vault requires a smartphone with W3C compliant biometrics enabled.

+
+ @ui.Separator("Or Reserve Handle") +
+ + + +
+
+

Already have an account? Login here

+

By continuing, you agree to our Terms and Policy.

+
+ } +} diff --git a/pkg/webapp/components/auth/current_templ.go b/pkg/webapp/components/auth/current_templ.go new file mode 100644 index 000000000..9caad89f3 --- /dev/null +++ b/pkg/webapp/components/auth/current_templ.go @@ -0,0 +1,69 @@ +// Code generated by templ - DO NOT EDIT. + +// templ: version: v0.2.793 +package auth + +//lint:file-ignore SA4006 This context is only used if a nested component is present. + +import "github.com/a-h/templ" +import templruntime "github.com/a-h/templ/runtime" + +import "github.com/onsonr/sonr/pkg/webapp/components/ui" + +// RedirectModal returns the Modal with a QR code to scan. +func RedirectModal() templ.Component { + return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { + return templ_7745c5c3_CtxErr + } + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var1 := templ.GetChildren(ctx) + if templ_7745c5c3_Var1 == nil { + templ_7745c5c3_Var1 = templ.NopComponent + } + ctx = templ.ClearChildren(ctx) + templ_7745c5c3_Var2 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("

Continue with your phone

Creating a Sonr Vault requires a smartphone with W3C compliant biometrics enabled.

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = ui.Separator("Or Reserve Handle").Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("

Already have an account? Login here

By continuing, you agree to our Terms and Policy.

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return templ_7745c5c3_Err + }) + templ_7745c5c3_Err = ui.FullScreenModal().Render(templ.WithChildren(ctx, templ_7745c5c3_Var2), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return templ_7745c5c3_Err + }) +} + +var _ = templruntime.GeneratedTemplate diff --git a/pkg/webapp/components/auth/get_credential.templ b/pkg/webapp/components/auth/get_credential.templ deleted file mode 100644 index ed684b025..000000000 --- a/pkg/webapp/components/auth/get_credential.templ +++ /dev/null @@ -1,35 +0,0 @@ -package auth - -import "github.com/labstack/echo/v4" - -templ AssertCredentialForm() { -
-
-
-
-
-
-
-} - -templ NavigatorCredentialsGetAll(c echo.Context) { - -} diff --git a/pkg/webapp/components/auth/get_credential_templ.go b/pkg/webapp/components/auth/get_credential_templ.go deleted file mode 100644 index 75368de9a..000000000 --- a/pkg/webapp/components/auth/get_credential_templ.go +++ /dev/null @@ -1,71 +0,0 @@ -// Code generated by templ - DO NOT EDIT. - -// templ: version: v0.2.778 -package auth - -//lint:file-ignore SA4006 This context is only used if a nested component is present. - -import "github.com/a-h/templ" -import templruntime "github.com/a-h/templ/runtime" - -import "github.com/labstack/echo/v4" - -func AssertCredentialForm() templ.Component { - return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { - return templ_7745c5c3_CtxErr - } - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() - } - ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var1 := templ.GetChildren(ctx) - if templ_7745c5c3_Var1 == nil { - templ_7745c5c3_Var1 = templ.NopComponent - } - ctx = templ.ClearChildren(ctx) - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("
") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - return templ_7745c5c3_Err - }) -} - -func NavigatorCredentialsGetAll(c echo.Context) templ.Component { - return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { - return templ_7745c5c3_CtxErr - } - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() - } - ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var2 := templ.GetChildren(ctx) - if templ_7745c5c3_Var2 == nil { - templ_7745c5c3_Var2 = templ.NopComponent - } - ctx = templ.ClearChildren(ctx) - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - return templ_7745c5c3_Err - }) -} - -var _ = templruntime.GeneratedTemplate diff --git a/pkg/webapp/components/auth/login.templ b/pkg/webapp/components/auth/login.templ index bfd1ecca7..ad6f53750 100644 --- a/pkg/webapp/components/auth/login.templ +++ b/pkg/webapp/components/auth/login.templ @@ -14,7 +14,6 @@ templ LoginModal() { templ loginStart() { @ui.Breadcrumbs() - @BasicDetailsForm() @ui.Spacer()
diff --git a/pkg/webapp/components/auth/login_templ.go b/pkg/webapp/components/auth/login_templ.go index 6951af203..bda45eefa 100644 --- a/pkg/webapp/components/auth/login_templ.go +++ b/pkg/webapp/components/auth/login_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.2.778 +// templ: version: v0.2.793 package auth //lint:file-ignore SA4006 This context is only used if a nested component is present. @@ -86,10 +86,6 @@ func loginStart() templ.Component { if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = BasicDetailsForm().Render(ctx, templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } templ_7745c5c3_Err = ui.Spacer().Render(ctx, templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err diff --git a/pkg/webapp/components/auth/register.templ b/pkg/webapp/components/auth/register.templ index d1e7c65fb..8568241d3 100644 --- a/pkg/webapp/components/auth/register.templ +++ b/pkg/webapp/components/auth/register.templ @@ -1,6 +1,7 @@ package auth import ( + "github.com/labstack/echo/v4" "github.com/onsonr/sonr/pkg/common/middleware/session" "github.com/onsonr/sonr/pkg/webapp/components/ui" ) @@ -8,7 +9,6 @@ import ( // RegisterModal returns the Register Modal. templ RegisterModal() { @ui.OpenModal(session.GetData(ctx).Id, "Sign up") { - @BasicDetailsForm()
@@ -16,26 +16,48 @@ templ RegisterModal() { } } -// RedirectModal returns the Modal with a QR code to scan. -templ RedirectModal() { - @ui.FullScreenModal() { -
-
-
-

Continue with your phone

-

Creating a Sonr Vault requires a smartphone with W3C compliant biometrics enabled.

-
-
- - - @ui.Separator("Or Scan QR Code") - -
-
-

Already have an account? Login here

-

By continuing, you agree to our Terms and Policy.

+templ RegisterCredentialForm() { +
+
+
+
+
- } +
+} + +templ NavigatorCredentialsCreate(c echo.Context) { + } diff --git a/pkg/webapp/components/auth/register_start.templ b/pkg/webapp/components/auth/register_start.templ deleted file mode 100644 index 08ead730c..000000000 --- a/pkg/webapp/components/auth/register_start.templ +++ /dev/null @@ -1,53 +0,0 @@ -package auth - -templ BasicDetailsForm() { -
-
- @roleSelectInput() -
-
-} - -templ roleSelectInput() { -
- -
-} - -templ nameInput() { -
-} - -templ usernameInput() { -
-} diff --git a/pkg/webapp/components/auth/register_start_templ.go b/pkg/webapp/components/auth/register_start_templ.go deleted file mode 100644 index 717370e4d..000000000 --- a/pkg/webapp/components/auth/register_start_templ.go +++ /dev/null @@ -1,135 +0,0 @@ -// Code generated by templ - DO NOT EDIT. - -// templ: version: v0.2.778 -package auth - -//lint:file-ignore SA4006 This context is only used if a nested component is present. - -import "github.com/a-h/templ" -import templruntime "github.com/a-h/templ/runtime" - -func BasicDetailsForm() templ.Component { - return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { - return templ_7745c5c3_CtxErr - } - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() - } - ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var1 := templ.GetChildren(ctx) - if templ_7745c5c3_Var1 == nil { - templ_7745c5c3_Var1 = templ.NopComponent - } - ctx = templ.ClearChildren(ctx) - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("
") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = roleSelectInput().Render(ctx, templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("
") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - return templ_7745c5c3_Err - }) -} - -func roleSelectInput() templ.Component { - return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { - return templ_7745c5c3_CtxErr - } - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() - } - ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var2 := templ.GetChildren(ctx) - if templ_7745c5c3_Var2 == nil { - templ_7745c5c3_Var2 = templ.NopComponent - } - ctx = templ.ClearChildren(ctx) - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("
") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - return templ_7745c5c3_Err - }) -} - -func nameInput() templ.Component { - return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { - return templ_7745c5c3_CtxErr - } - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() - } - ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var3 := templ.GetChildren(ctx) - if templ_7745c5c3_Var3 == nil { - templ_7745c5c3_Var3 = templ.NopComponent - } - ctx = templ.ClearChildren(ctx) - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("
") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - return templ_7745c5c3_Err - }) -} - -func usernameInput() templ.Component { - return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { - return templ_7745c5c3_CtxErr - } - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() - } - ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var4 := templ.GetChildren(ctx) - if templ_7745c5c3_Var4 == nil { - templ_7745c5c3_Var4 = templ.NopComponent - } - ctx = templ.ClearChildren(ctx) - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("
") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - return templ_7745c5c3_Err - }) -} - -var _ = templruntime.GeneratedTemplate diff --git a/pkg/webapp/components/auth/register_templ.go b/pkg/webapp/components/auth/register_templ.go index 17449b7c6..89cd4607c 100644 --- a/pkg/webapp/components/auth/register_templ.go +++ b/pkg/webapp/components/auth/register_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.2.778 +// templ: version: v0.2.793 package auth //lint:file-ignore SA4006 This context is only used if a nested component is present. @@ -9,6 +9,7 @@ import "github.com/a-h/templ" import templruntime "github.com/a-h/templ/runtime" import ( + "github.com/labstack/echo/v4" "github.com/onsonr/sonr/pkg/common/middleware/session" "github.com/onsonr/sonr/pkg/webapp/components/ui" ) @@ -47,11 +48,7 @@ func RegisterModal() templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = BasicDetailsForm().Render(ctx, templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("
") + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -65,8 +62,7 @@ func RegisterModal() templ.Component { }) } -// RedirectModal returns the Modal with a QR code to scan. -func RedirectModal() templ.Component { +func RegisterCredentialForm() templ.Component { return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { @@ -87,33 +83,36 @@ func RedirectModal() templ.Component { templ_7745c5c3_Var3 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var4 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() - } - ctx = templ.InitializeContext(ctx) - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("

Continue with your phone

Creating a Sonr Vault requires a smartphone with W3C compliant biometrics enabled.

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = ui.Separator("Or Scan QR Code").Render(ctx, templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("

Already have an account? Login here

By continuing, you agree to our Terms and Policy.

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("
") + if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err - }) - templ_7745c5c3_Err = ui.FullScreenModal().Render(templ.WithChildren(ctx, templ_7745c5c3_Var4), templ_7745c5c3_Buffer) + } + return templ_7745c5c3_Err + }) +} + +func NavigatorCredentialsCreate(c echo.Context) templ.Component { + return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { + return templ_7745c5c3_CtxErr + } + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var4 := templ.GetChildren(ctx) + if templ_7745c5c3_Var4 == nil { + templ_7745c5c3_Var4 = templ.NopComponent + } + ctx = templ.ClearChildren(ctx) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } diff --git a/pkg/webapp/components/dash/layout.templ b/pkg/webapp/components/dash/layout.templ new file mode 100644 index 000000000..fa07135a8 --- /dev/null +++ b/pkg/webapp/components/dash/layout.templ @@ -0,0 +1,17 @@ +package ui + +// Variant is a component that has attributes +type Variant interface { + Attributes() templ.Attributes +} + +// ╭───────────────────────────────────────────────────────────╮ +// │ General Layout Components │ +// ╰───────────────────────────────────────────────────────────╯ + +// Columns is a component that renders a flex container with a gap of 3 and a max width of 100% +templ Columns() { +
+ { children... } +
+} diff --git a/pkg/webapp/components/dash/layout_templ.go b/pkg/webapp/components/dash/layout_templ.go new file mode 100644 index 000000000..addc76889 --- /dev/null +++ b/pkg/webapp/components/dash/layout_templ.go @@ -0,0 +1,58 @@ +// Code generated by templ - DO NOT EDIT. + +// templ: version: v0.2.793 +package ui + +//lint:file-ignore SA4006 This context is only used if a nested component is present. + +import "github.com/a-h/templ" +import templruntime "github.com/a-h/templ/runtime" + +// Variant is a component that has attributes +type Variant interface { + Attributes() templ.Attributes +} + +// ╭───────────────────────────────────────────────────────────╮ +// │ General Layout Components │ +// ╰───────────────────────────────────────────────────────────╯ + +// Columns is a component that renders a flex container with a gap of 3 and a max width of 100% +func Columns() templ.Component { + return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { + return templ_7745c5c3_CtxErr + } + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var1 := templ.GetChildren(ctx) + if templ_7745c5c3_Var1 == nil { + templ_7745c5c3_Var1 = templ.NopComponent + } + ctx = templ.ClearChildren(ctx) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templ_7745c5c3_Var1.Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return templ_7745c5c3_Err + }) +} + +var _ = templruntime.GeneratedTemplate diff --git a/pkg/webapp/components/landing/arch_templ.go b/pkg/webapp/components/landing/arch_templ.go index e5e8a1b2e..81225c9f9 100644 --- a/pkg/webapp/components/landing/arch_templ.go +++ b/pkg/webapp/components/landing/arch_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.2.778 +// templ: version: v0.2.793 package landing //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/pkg/webapp/components/landing/cta_templ.go b/pkg/webapp/components/landing/cta_templ.go index a3a12ab86..8414bbef0 100644 --- a/pkg/webapp/components/landing/cta_templ.go +++ b/pkg/webapp/components/landing/cta_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.2.778 +// templ: version: v0.2.793 package landing //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/pkg/webapp/components/landing/footer_templ.go b/pkg/webapp/components/landing/footer_templ.go index c3000b9d2..2621849e4 100644 --- a/pkg/webapp/components/landing/footer_templ.go +++ b/pkg/webapp/components/landing/footer_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.2.778 +// templ: version: v0.2.793 package landing diff --git a/pkg/webapp/components/landing/header_templ.go b/pkg/webapp/components/landing/header_templ.go index bd4e740f3..2a948dbb9 100644 --- a/pkg/webapp/components/landing/header_templ.go +++ b/pkg/webapp/components/landing/header_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.2.778 +// templ: version: v0.2.793 package landing //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/pkg/webapp/components/landing/hero_templ.go b/pkg/webapp/components/landing/hero_templ.go index fb3bd7f42..d3cd16ae9 100644 --- a/pkg/webapp/components/landing/hero_templ.go +++ b/pkg/webapp/components/landing/hero_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.2.778 +// templ: version: v0.2.793 package landing //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/pkg/webapp/components/landing/highlights.templ b/pkg/webapp/components/landing/highlights.templ index 841a52b87..6b1436c6f 100644 --- a/pkg/webapp/components/landing/highlights.templ +++ b/pkg/webapp/components/landing/highlights.templ @@ -15,24 +15,44 @@ var highlights = &models.Highlights{ Subtitle: "Sonr is a comprehensive system for Identity Management which proteects users across their digital personas while providing Developers a cost-effective solution for decentralized authentication.", Features: []*models.Feature{ { - Title: "∞ Factor Auth", + Title: "Crypto Wallet", Desc: "Sonr is designed to work across all platforms and devices, building a encrypted and anonymous identity layer for each user on the internet.", Icon: nil, + Image: &models.Image{ + Src: "", + Width: "44", + Height: "44", + }, }, { - Title: "Control Your Data", + Title: "PassKey Authenticator", Desc: "Sonr leverages advanced cryptography to permit facilitating Wallet Operations directly on-chain, without the need for a centralized server.", Icon: nil, + Image: &models.Image{ + Src: "", + Width: "44", + Height: "44", + }, }, { - Title: "Crypto Enabled", + Title: "Anonymous Identity", Desc: "Sonr follows the latest specifications from W3C, DIF, and ICF to essentially have an Interchain-Connected, Smart Account System - seamlessly authenticated with PassKeys.", Icon: nil, + Image: &models.Image{ + Src: "", + Width: "44", + Height: "44", + }, }, { - Title: "Works Everywhere", + Title: "Tokenized Authorization", Desc: "Sonr anonymously associates your online identities with a Quantum-Resistant Vault which only you can access.", Icon: nil, + Image: &models.Image{ + Src: "", + Width: "44", + Height: "44", + }, }, }, } diff --git a/pkg/webapp/components/landing/highlights_templ.go b/pkg/webapp/components/landing/highlights_templ.go index 2d3b62e7d..242587cc9 100644 --- a/pkg/webapp/components/landing/highlights_templ.go +++ b/pkg/webapp/components/landing/highlights_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.2.778 +// templ: version: v0.2.793 package landing //lint:file-ignore SA4006 This context is only used if a nested component is present. @@ -23,24 +23,44 @@ var highlights = &models.Highlights{ Subtitle: "Sonr is a comprehensive system for Identity Management which proteects users across their digital personas while providing Developers a cost-effective solution for decentralized authentication.", Features: []*models.Feature{ { - Title: "∞ Factor Auth", + Title: "Crypto Wallet", Desc: "Sonr is designed to work across all platforms and devices, building a encrypted and anonymous identity layer for each user on the internet.", Icon: nil, + Image: &models.Image{ + Src: "", + Width: "44", + Height: "44", + }, }, { - Title: "Control Your Data", + Title: "PassKey Authenticator", Desc: "Sonr leverages advanced cryptography to permit facilitating Wallet Operations directly on-chain, without the need for a centralized server.", Icon: nil, + Image: &models.Image{ + Src: "", + Width: "44", + Height: "44", + }, }, { - Title: "Crypto Enabled", + Title: "Anonymous Identity", Desc: "Sonr follows the latest specifications from W3C, DIF, and ICF to essentially have an Interchain-Connected, Smart Account System - seamlessly authenticated with PassKeys.", Icon: nil, + Image: &models.Image{ + Src: "", + Width: "44", + Height: "44", + }, }, { - Title: "Works Everywhere", + Title: "Tokenized Authorization", Desc: "Sonr anonymously associates your online identities with a Quantum-Resistant Vault which only you can access.", Icon: nil, + Image: &models.Image{ + Src: "", + Width: "44", + Height: "44", + }, }, }, } @@ -76,7 +96,7 @@ func Highlights() templ.Component { var templ_7745c5c3_Var2 string templ_7745c5c3_Var2, templ_7745c5c3_Err = templ.JoinStringErrs(highlights.Heading) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `pkg/webapp/components/landing/highlights.templ`, Line: 52, Col: 26} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `pkg/webapp/components/landing/highlights.templ`, Line: 72, Col: 26} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var2)) if templ_7745c5c3_Err != nil { @@ -89,7 +109,7 @@ func Highlights() templ.Component { var templ_7745c5c3_Var3 string templ_7745c5c3_Var3, templ_7745c5c3_Err = templ.JoinStringErrs(highlights.Subtitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `pkg/webapp/components/landing/highlights.templ`, Line: 55, Col: 27} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `pkg/webapp/components/landing/highlights.templ`, Line: 75, Col: 27} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var3)) if templ_7745c5c3_Err != nil { @@ -151,7 +171,7 @@ func highlightTab(index int, highlight *models.Feature) templ.Component { var templ_7745c5c3_Var5 string templ_7745c5c3_Var5, templ_7745c5c3_Err = templ.JoinStringErrs(getSelectedClass(index)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `pkg/webapp/components/landing/highlights.templ`, Line: 74, Col: 34} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `pkg/webapp/components/landing/highlights.templ`, Line: 94, Col: 34} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var5)) if templ_7745c5c3_Err != nil { @@ -164,7 +184,7 @@ func highlightTab(index int, highlight *models.Feature) templ.Component { var templ_7745c5c3_Var6 string templ_7745c5c3_Var6, templ_7745c5c3_Err = templ.JoinStringErrs(getClickPrevent(index)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `pkg/webapp/components/landing/highlights.templ`, Line: 76, Col: 41} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `pkg/webapp/components/landing/highlights.templ`, Line: 96, Col: 41} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var6)) if templ_7745c5c3_Err != nil { @@ -177,7 +197,7 @@ func highlightTab(index int, highlight *models.Feature) templ.Component { var templ_7745c5c3_Var7 string templ_7745c5c3_Var7, templ_7745c5c3_Err = templ.JoinStringErrs(highlight.Title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `pkg/webapp/components/landing/highlights.templ`, Line: 80, Col: 21} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `pkg/webapp/components/landing/highlights.templ`, Line: 100, Col: 21} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var7)) if templ_7745c5c3_Err != nil { @@ -190,7 +210,7 @@ func highlightTab(index int, highlight *models.Feature) templ.Component { var templ_7745c5c3_Var8 string templ_7745c5c3_Var8, templ_7745c5c3_Err = templ.JoinStringErrs(getShowBorder(index)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `pkg/webapp/components/landing/highlights.templ`, Line: 83, Col: 33} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `pkg/webapp/components/landing/highlights.templ`, Line: 103, Col: 33} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var8)) if templ_7745c5c3_Err != nil { @@ -203,7 +223,7 @@ func highlightTab(index int, highlight *models.Feature) templ.Component { var templ_7745c5c3_Var9 string templ_7745c5c3_Var9, templ_7745c5c3_Err = templ.JoinStringErrs(highlight.Desc) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `pkg/webapp/components/landing/highlights.templ`, Line: 95, Col: 19} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `pkg/webapp/components/landing/highlights.templ`, Line: 115, Col: 19} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var9)) if templ_7745c5c3_Err != nil { @@ -245,7 +265,7 @@ func highlightCard(index int, highlight *models.Feature) templ.Component { var templ_7745c5c3_Var11 string templ_7745c5c3_Var11, templ_7745c5c3_Err = templ.JoinStringErrs(getXShow(index)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `pkg/webapp/components/landing/highlights.templ`, Line: 103, Col: 26} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `pkg/webapp/components/landing/highlights.templ`, Line: 123, Col: 26} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var11)) if templ_7745c5c3_Err != nil { @@ -258,7 +278,7 @@ func highlightCard(index int, highlight *models.Feature) templ.Component { var templ_7745c5c3_Var12 string templ_7745c5c3_Var12, templ_7745c5c3_Err = templ.JoinStringErrs(highlight.Image.Src) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `pkg/webapp/components/landing/highlights.templ`, Line: 114, Col: 29} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `pkg/webapp/components/landing/highlights.templ`, Line: 134, Col: 29} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var12)) if templ_7745c5c3_Err != nil { @@ -271,7 +291,7 @@ func highlightCard(index int, highlight *models.Feature) templ.Component { var templ_7745c5c3_Var13 string templ_7745c5c3_Var13, templ_7745c5c3_Err = templ.JoinStringErrs(highlight.Image.Width) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `pkg/webapp/components/landing/highlights.templ`, Line: 115, Col: 33} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `pkg/webapp/components/landing/highlights.templ`, Line: 135, Col: 33} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var13)) if templ_7745c5c3_Err != nil { @@ -284,7 +304,7 @@ func highlightCard(index int, highlight *models.Feature) templ.Component { var templ_7745c5c3_Var14 string templ_7745c5c3_Var14, templ_7745c5c3_Err = templ.JoinStringErrs(highlight.Image.Height) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `pkg/webapp/components/landing/highlights.templ`, Line: 116, Col: 35} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `pkg/webapp/components/landing/highlights.templ`, Line: 136, Col: 35} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var14)) if templ_7745c5c3_Err != nil { @@ -297,7 +317,7 @@ func highlightCard(index int, highlight *models.Feature) templ.Component { var templ_7745c5c3_Var15 string templ_7745c5c3_Var15, templ_7745c5c3_Err = templ.JoinStringErrs(highlight.Title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `pkg/webapp/components/landing/highlights.templ`, Line: 117, Col: 25} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `pkg/webapp/components/landing/highlights.templ`, Line: 137, Col: 25} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var15)) if templ_7745c5c3_Err != nil { diff --git a/pkg/webapp/components/landing/lowlights_templ.go b/pkg/webapp/components/landing/lowlights_templ.go index ad8b1b5a7..1bd2e3dfb 100644 --- a/pkg/webapp/components/landing/lowlights_templ.go +++ b/pkg/webapp/components/landing/lowlights_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.2.778 +// templ: version: v0.2.793 package landing //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/pkg/webapp/components/landing/mission_templ.go b/pkg/webapp/components/landing/mission_templ.go index 33347e3c0..2fccf7548 100644 --- a/pkg/webapp/components/landing/mission_templ.go +++ b/pkg/webapp/components/landing/mission_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.2.778 +// templ: version: v0.2.793 package landing //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/pkg/webapp/components/ui/badges_templ.go b/pkg/webapp/components/ui/badges_templ.go index 606c77c21..ffc481bfa 100644 --- a/pkg/webapp/components/ui/badges_templ.go +++ b/pkg/webapp/components/ui/badges_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.2.778 +// templ: version: v0.2.793 package ui //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/pkg/webapp/components/ui/buttons_templ.go b/pkg/webapp/components/ui/buttons_templ.go index 899f2633b..e53fd6e65 100644 --- a/pkg/webapp/components/ui/buttons_templ.go +++ b/pkg/webapp/components/ui/buttons_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.2.778 +// templ: version: v0.2.793 package ui //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/pkg/webapp/components/ui/cards_templ.go b/pkg/webapp/components/ui/cards_templ.go index fdae71090..ca641cded 100644 --- a/pkg/webapp/components/ui/cards_templ.go +++ b/pkg/webapp/components/ui/cards_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.2.778 +// templ: version: v0.2.793 package ui //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/pkg/webapp/components/ui/icon_templ.go b/pkg/webapp/components/ui/icon_templ.go index c19814e20..616b2de8c 100644 --- a/pkg/webapp/components/ui/icon_templ.go +++ b/pkg/webapp/components/ui/icon_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.2.778 +// templ: version: v0.2.793 package ui //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/pkg/webapp/components/ui/layout.templ b/pkg/webapp/components/ui/layout.templ index d7d1b9ae3..cc6254dbe 100644 --- a/pkg/webapp/components/ui/layout.templ +++ b/pkg/webapp/components/ui/layout.templ @@ -147,17 +147,9 @@ document.body.classList.remove('overflow-hidden'); x-transition:leave-end="opacity-0" class="flex fixed inset-0 z-[99] w-screen h-screen bg-white" > - -
{ children... }
diff --git a/pkg/webapp/components/ui/layout_templ.go b/pkg/webapp/components/ui/layout_templ.go index 093fe9b8b..dd39932d6 100644 --- a/pkg/webapp/components/ui/layout_templ.go +++ b/pkg/webapp/components/ui/layout_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.2.778 +// templ: version: v0.2.793 package ui //lint:file-ignore SA4006 This context is only used if a nested component is present. @@ -334,7 +334,7 @@ func FullScreenModal() templ.Component { templ_7745c5c3_Var11 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("